Penambahan FrontEnd All-New-Manufacture

This commit is contained in:
pand03
2026-01-31 14:23:04 +07:00
parent 1b2e320b2b
commit 4feb21dcbc
2891 changed files with 426849 additions and 135 deletions

View File

@@ -0,0 +1,56 @@
/////////////////
// Header
/////////////////
.header {
height: var(--dz-header-height);
z-index: 1;
position: var(--dz-header-pos);
padding: 0rem;
background:var(--headerbg);
z-index: 3;
top: 0;
width: 100%;
padding-#{$dlab-pos-left}: var(--dz-sidebar-width);
transition: all .2s ease;
.header-content {
position: relative;
height: 100%;
padding-#{$dlab-pos-left}: 5rem;
padding-#{$dlab-pos-right}: 1.875rem;
align-items: center;
display: flex;
@include custommq($max: 47.9375rem) {
padding-#{$dlab-pos-left}: 3.75rem;
padding-#{$dlab-pos-right}: 0.938rem;
}
@include respond ('phone'){
padding-#{$dlab-pos-right}:0.538rem;
}
.nav-control{
#{$dlab-pos-right}: auto;
#{$dlab-pos-left}: 1rem;
}
}
.navbar {
padding: 0;
height: 100%;
width: 100%;
.navbar-collapse {
height: 100%;
width: 100%;
}
}
@include respond('phone-land'){
padding-#{$dlab-pos-left}: 5rem;
}
}
[data-header-position="fixed"] {
--dz-header-pos : fixed;
.content-body {
padding-top: var(--dz-header-height);
}
}

View File

@@ -0,0 +1,57 @@
.header-left {
height: 100%;
display: flex;
align-items: center;
.breadcrumb{
margin-bottom:0;
}
.dashboard_bar {
font-size: var(--dz-head-title-size);
font-weight: 600;
color:var(--text-dark);
@include respond('phone-land') {
display:none;
}
&.sub-bar{
font-size:1.875rem;
}
}
.search-area{
margin-#{$dlab-pos-left}: 7rem;
}
}
.search-area{
width:18.875rem;
border-radius: 2.375rem;
@include respond('tab-land') {
display:none;
}
.form-control{
border:0;
background:var(--body-bg);
height:3rem;
&:hover,&:focus{
background:var(--body-bg);
}
}
.input-group-text{
border-top-#{$dlab-pos-right}-radius: $radius !important;
border-bottom-#{$dlab-pos-right}-radius: $radius !important;
border-radius: 0;
padding: 0.4rem 0.75rem;
background:var(--body-bg);
.btn{
padding: 0;
border: 0;
i{
font-size:1.3rem;
}
&:active{
color: var(--text-dark);
}
}
}
}

View File

@@ -0,0 +1,289 @@
.header-right {
height: 100%;
.nav-item {
height: 100%;
display: flex;
align-items: center;
.nav-link {
color: var(--text-gray);
font-size: 1.125rem;
padding-#{$dlab-pos-right}: 0;
padding-#{$dlab-pos-left}: 0;
}
}
&>li {
&:not(:first-child) {
padding-#{$dlab-pos-left}:1rem;
@include respond('phone') {
padding-#{$dlab-pos-left}:0.4rem;
}
}
}
.notification_dropdown {
@include respond('phone-land') {
position: static;
}
.nav-link {
position: relative;
border-radius: $radius;
padding: 0.9375rem;
line-height: 1;
svg{
width:1.25rem;
height:1.25rem;
path{
fill : var(--text-gray);
}
}
@include respond('laptop') {
padding:0.625rem;
}
i {
font-size: 1.5rem;
@include respond('laptop') {
font-size: 1.125rem;
}
}
.badge {
position: absolute;
font-size: 0.625rem;
border-radius: 50%;
#{$dlab-pos-right}: 0rem;
top: 0rem;
font-weight: normal;
height: 1.3rem;
width: 1.3rem;
line-height: 1.7;
text-align: center;
padding: 0;
font-size: 0.7rem;
box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
min-width: 1.3rem;
min-height: 1.3rem;
@include respond('phone-land') {
height: 1.125rem;
width:1.125rem;
padding: 0;
line-height: 1.2rem;
}
}
}
.dropdown-item {
&:focus,
&:active {
a {
color: $white;
}
}
a {
color: $dark;
&:hover {
text-decoration: none;
}
}
}
}
.dropdown-menu {
border-width:0;
box-shadow: 0 0 2.3125rem rgba(8,21,66,0.05);
// @at-root [data-theme-version="dark"] & {
// box-shadow: none;
// }
}
}
.dlab-fullscreen{
#icon-minimize{
display:none;
}
&.active{
#icon-full{
display:none;
}
#icon-minimize{
display:inline-block;
}
}
}
.dlab-theme-mode{
#icon-light{
display:none;
}
&.active{
#icon-light{
display:inline-block;
}
#icon-dark{
display:none;
}
}
}
.moon{
path{
fill:var(--priamry);
}
}
.notification_dropdown {
.dropdown-menu-end {
min-width: 19.375rem;
padding: 0rem 0 1rem;
top: 100%;
text-align: #{$dlab-pos-left};
.notification_title {
background: var(--primary);
color: $white;
padding: 0.625rem 1.25rem;
h5 {
color: $white;
margin-bottom: 0.1875rem;
}
}
.media {
width: 2.8125rem ;
height: 2.8125rem ;
font-size: 1.125rem ;
&>span {
width: 2.1875rem;
height: 2.1875rem;
border-radius: 3.125rem;
display: inline-block;
padding: 0.4375rem 0.5625rem;
margin-#{$dlab-pos-right}: 0.625rem;
&.success {
background: $success-light;
color: $success;
}
&.primary {
background: var(--rgba-primary-1);
color: var(--primary);
}
&.danger {
background: $danger-light;
color: $danger;
}
}
.notify-time {
width: 100%;
margin-#{$dlab-pos-right}: 0;
color: $l-ctl;
}
p {
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
max-width: 12.5rem;
margin-bottom: 0;
margin-top: 0.3125rem;
@include respond('phone') {
max-width: 6.25rem;
}
}
}
.all-notification {
display: block;
padding: 0.9375rem 1.875rem 0;
color:var(--primary);
text-align: center;
border-top: 0.0625rem solid $light;
i {
margin-#{$dlab-pos-left}: 0.625rem;
}
}
}
}
.header-profile {
&>a.nav-link {
padding:0;
display: flex;
align-items: center;
margin-#{$dlab-pos-left}: 0.9375rem;
i {
font-weight: 700;
}
.header-info{
padding-#{$dlab-pos-left}: 0rem;
text-align: left;
@include respond('laptop') {
padding-#{$dlab-pos-left}: 0.625rem;
}
@include respond('phone') {
display:none;
}
span{
font-size:1rem;
color:$black;
display: block;
font-weight: 600;
}
strong{
color:$dark;
}
small{
display:block;
font-size: 0.8125rem;
color:$muted;
font-weight:400;
line-height: 1.2;
}
}
@include respond ('laptop'){
margin-#{$dlab-pos-left}: 0rem;
padding-#{$dlab-pos-left}:0rem;
.header-info{
span{
font-size:1rem;
}
}
}
}
.dropdown-menu {
padding: 0.9375rem 0;
min-width: 12.5rem;
a {
&:hover,
&:focus,
&.active {
color: $primary;
}
}
}
img {
width: 3rem;
height: 3rem;
border-radius: $radius;
@include respond ('phone-land'){
width: 2.5rem;
height: 2.5rem;
}
}
.dropdown-toggle {
i {
font-size: 1.25rem;
}
span {
@include respond('phone') {
display: none;
}
}
}
.profile_title {
background: $primary;
color: $white;
padding: 0.625rem 1.25rem;
h5 {
color: $white;
margin-bottom: 0.1875rem;
}
}
.dropdown-item {
padding: 0.5rem 1.5rem;
}
}

View File

@@ -0,0 +1,7 @@
@import './nav-header/nav-header';
@import './header-global';
@import './header-left';
@import './header-right';

View File

@@ -0,0 +1,186 @@
.nav-header {
height: var(--dz-header-height);
width: var(--dz-sidebar-width);
display: inline-block;
text-align: #{$dlab-pos-left};
position: absolute;
top:0;
background-color:var(--nav-headbg);
transition: all .2s ease;
z-index: 7;
.logo-abbr {
max-width: 2.9375rem;
@include respond('laptop') {
max-width: 2.8125rem;
}
@include respond('phone') {
width:2.1875rem;
height:2.1875rem;
}
}
.logo-compact {
display: none;
}
.brand-logo {
display: flex;
height: 100%;
width: 100%;
justify-content: flex-start;
align-items: center;
font-size: 1.125rem;
color: $white;
text-decoration: none;
padding-left: 1.5rem;
padding-right: 1.5rem;
font-weight: 700;
@include respond('laptop') {
padding-left: 1.25rem;
padding-right:1.25rem;
}
@include respond('phone-land') {
padding-left: 0;
padding-right: 0;
justify-content: center;
}
}
.brand-title {
margin-#{$dlab-pos-left}: 0.9375rem;
max-width: 8.75rem;
@include respond('phone-land'){
display: none;
}
}
.rect-primary-rect{
fill:var(--primary);
}
@include respond('phone-land'){
width: 5rem;
background-color: transparent;
}
}
.nav-control {
cursor: pointer;
position: absolute;
#{$dlab-pos-right}: -4rem;
text-align: center;
top: 55%;
transform: translateY(-50%);
z-index: 9999;
font-size: 1.4rem;
padding: 0.125rem 0.5rem 0;
border-radius: 0.125rem;
@include respond('phone-land') {
#{$dlab-pos-right}: -3rem;
}
@include respond('phone') {
#{$dlab-pos-right}: -3rem;
}
}
////////////////////
// Humbuger Icon
////////////////////
.hamburger {
display: inline-block;
#{$dlab-pos-left}: 0rem;
position: relative;
top: 0rem;
-webkit-transition: all 0.3s ease-in-out 0s;
transition: all 0.3s ease-in-out 0s;
width: 1.625rem;
z-index: 999;
}
.hamburger .line {
background: var(--text-gray);
display: block;
height: 2px;
border-radius: 0.1875rem;
margin-top: 0.375rem;
margin-bottom: 0.375rem;
margin-#{$dlab-pos-right}: auto;
-webkit-transition: all 0.3s ease-in-out;
transition: all 0.3s ease-in-out;
}
.hamburger .line:nth-child(1) {
width: 1.625rem;
}
.hamburger .line:nth-child(2) {
width: 1.625rem;
}
.hamburger .line:nth-child(3) {
width: 0.9375rem;
}
.hamburger:hover {
cursor: pointer;
}
.hamburger:hover .line {
width: 1.625rem;
}
.hamburger.is-active .line:nth-child(1),
.hamburger.is-active .line:nth-child(3) {
width: 0.625rem;
height: 0.125rem;
}
.hamburger.is-active .line:nth-child(2) {
-webkit-transform: translateX(0px);
transform: translateX(0px);
width: 1.375rem;
height: 0.125rem;
}
.hamburger.is-active .line:nth-child(1) {
-webkit-transform: translateY(4px) translateX(12px) rotate(45deg);
transform: translateY(4px) translateX(12px) rotate(45deg);
}
.hamburger.is-active .line:nth-child(3) {
-webkit-transform: translateY(-4px) translateX(12px) rotate(-45deg);
transform: translateY(-4px) translateX(12px) rotate(-45deg);
}
[data-header-position="fixed"],
[data-sidebar-position="fixed"][data-layout="vertical"],
[data-sidebar-position="fixed"][data-header-position="fixed"]{
.nav-header{
position: fixed;
}
}
[data-sidebar-style="compact"][data-layout="vertical"] {
.nav-header {
.brand-title {
display: none;
}
.logo-compact {
max-width: 4.6875rem;
}
.brand-logo{
justify-content: center;
}
}
}
[data-sidebar-style="modern"][data-layout="vertical"] {
.nav-header {
.brand-title {
display: none;
}
.brand-logo{
justify-content: center;
}
.logo-compact {
display: none;
}
}
}

View File

@@ -0,0 +1 @@
@import './nav-control';