♻️ enable order/properties-order

pull/4133/head
Daniel 2021-12-12 20:20:53 +05:30
parent ed66ff8c9f
commit dd4f1d7029
39 changed files with 275 additions and 275 deletions

View File

@ -10,7 +10,6 @@
"darken" "darken"
], ],
"keyframes-name-pattern": null, "keyframes-name-pattern": null,
"order/properties-order": null,
"selector-max-class": null, "selector-max-class": null,
"selector-max-combinators": null, "selector-max-combinators": null,
"selector-max-compound-selectors": null, "selector-max-compound-selectors": null,

View File

@ -8,11 +8,11 @@
display: grid; display: grid;
grid-template-areas: "brand-link pushmenu"; grid-template-areas: "brand-link pushmenu";
justify-content: space-between; justify-content: space-between;
font-size: $navbar-brand-font-size;
transition: width $lte-transition-speed $lte-transition-fn;
padding: $lte-brand-link-padding-y $lte-sidebar-padding-x; padding: $lte-brand-link-padding-y $lte-sidebar-padding-x;
white-space: nowrap;
overflow: hidden; overflow: hidden;
font-size: $navbar-brand-font-size;
white-space: nowrap;
transition: width $lte-transition-speed $lte-transition-fn;
.brand-link { .brand-link {
grid-area: brand-link; grid-area: brand-link;
@ -23,12 +23,12 @@
.brand-image { .brand-image {
float: left; float: left;
line-height: .8;
margin-left: .8rem;
margin-right: .5rem;
margin-top: -3px;
max-height: 33px;
width: auto; width: auto;
max-height: 33px;
margin-top: -3px;
margin-right: .5rem;
margin-left: .8rem;
line-height: .8;
} }
} }

View File

@ -27,14 +27,14 @@
} }
&.maximized-card { &.maximized-card {
height: 100% !important;
left: 0;
max-height: 100% !important;
max-width: 100% !important;
position: fixed; position: fixed;
top: 0; top: 0;
width: 100% !important; left: 0;
z-index: $zindex-modal-backdrop; z-index: $zindex-modal-backdrop;
width: 100% !important;
max-width: 100% !important;
height: 100% !important;
max-height: 100% !important;
&.was-collapsed .card-body { &.was-collapsed .card-body {
display: block !important; display: block !important;
@ -64,8 +64,8 @@
.nav.flex-column { .nav.flex-column {
> li { > li {
border-bottom: 1px solid $card-border-color;
margin: 0; margin: 0;
border-bottom: 1px solid $card-border-color;
&:last-of-type { &:last-of-type {
border-bottom: 0; border-bottom: 0;
@ -107,8 +107,8 @@
border-bottom: 0; border-bottom: 0;
&:first-child .nav-link { &:first-child .nav-link {
border-left: 0;
margin-left: 0; margin-left: 0;
border-left: 0;
} }
} }
} }
@ -148,8 +148,8 @@
.card-header { .card-header {
.nav-item { .nav-item {
&:first-child .nav-link { &:first-child .nav-link {
border-left: 0;
margin-left: 0; margin-left: 0;
border-left: 0;
} }
} }
@ -211,10 +211,10 @@ html.maximized-card {
// Box header // Box header
.card-header { .card-header {
position: relative;
padding: (($card-spacer-y * .5) * 2) $card-spacer-x;
background-color: transparent; background-color: transparent;
border-bottom: 1px solid $card-border-color; border-bottom: 1px solid $card-border-color;
padding: (($card-spacer-y * .5) * 2) $card-spacer-x;
position: relative;
@if $enable-rounded { @if $enable-rounded {
@include border-top-radius($border-radius); @include border-top-radius($border-radius);
@ -231,8 +231,8 @@ html.maximized-card {
.input-group, .input-group,
.nav, .nav,
.pagination { .pagination {
margin-bottom: -$card-spacer-y & .4;
margin-top: -$card-spacer-y & .4; margin-top: -$card-spacer-y & .4;
margin-bottom: -$card-spacer-y & .4;
} }
[data-bs-toggle="tooltip"] { [data-bs-toggle="tooltip"] {
@ -243,9 +243,9 @@ html.maximized-card {
.card-title { .card-title {
float: left; float: left;
margin: 0;
font-size: $lte-card-title-font-size; font-size: $lte-card-title-font-size;
font-weight: $lte-card-title-font-weight; font-weight: $lte-card-title-font-weight;
margin: 0;
} }
.card-text { .card-text {
@ -255,11 +255,11 @@ html.maximized-card {
// Box Tools Buttons // Box Tools Buttons
.btn-tool { .btn-tool {
background-color: transparent;
color: $gray-500;
font-size: $font-size-sm;
margin: -(($card-spacer-y * .5) * 2) 0;
padding: .25rem .5rem; padding: .25rem .5rem;
margin: -(($card-spacer-y * .5) * 2) 0;
font-size: $font-size-sm;
color: $gray-500;
background-color: transparent;
.btn-group.show &, .btn-group.show &,
&:hover { &:hover {
@ -331,8 +331,8 @@ html.maximized-card {
.card-comment { .card-comment {
@include clearfix (); @include clearfix ();
border-bottom: 1px solid $gray-200;
padding: 8px 0; padding: 8px 0;
border-bottom: 1px solid $gray-200;
&:last-of-type { &:last-of-type {
border-bottom: 0; border-bottom: 0;
@ -343,21 +343,21 @@ html.maximized-card {
} }
img { img {
height: $lte-card-img-size;
width: $lte-card-img-size;
float: left; float: left;
width: $lte-card-img-size;
height: $lte-card-img-size;
} }
} }
.comment-text { .comment-text {
color: tint-color($gray-700, 20%);
margin-left: 40px; margin-left: 40px;
color: tint-color($gray-700, 20%);
} }
.username { .username {
color: $gray-700;
display: block; display: block;
font-weight: 600; font-weight: 600;
color: $gray-700;
} }
.text-muted { .text-muted {
@ -371,19 +371,19 @@ html.maximized-card {
// Widget: TODO LIST // Widget: TODO LIST
.todo-list { .todo-list {
list-style: none; padding: 0;
margin: 0; margin: 0;
overflow: auto; overflow: auto;
padding: 0; list-style: none;
// Todo list element // Todo list element
> li { > li {
@include border-radius(2px); @include border-radius(2px);
padding: 10px;
margin-bottom: 2px;
color: $gray-700;
background-color: $gray-100; background-color: $gray-100;
border-left: 2px solid $gray-200; border-left: 2px solid $gray-200;
color: $gray-700;
margin-bottom: 2px;
padding: 10px;
&:last-of-type { &:last-of-type {
margin-bottom: 0; margin-bottom: 0;
@ -395,21 +395,21 @@ html.maximized-card {
.text { .text {
display: inline-block; display: inline-block;
font-weight: 600;
margin-left: 5px; margin-left: 5px;
font-weight: 600;
} }
// Time labels // Time labels
.badge { .badge {
font-size: .7rem;
margin-left: 10px; margin-left: 10px;
font-size: .7rem;
} }
// Tools and options box // Tools and options box
.tools { .tools {
color: $danger;
display: none; display: none;
float: right; float: right;
color: $danger;
// TODO: create new class for reduce files // TODO: create new class for reduce files
// icons // icons
@ -418,8 +418,8 @@ html.maximized-card {
> img, > img,
> object, > object,
> iframe { > iframe {
cursor: pointer;
margin-right: 5px; margin-right: 5px;
cursor: pointer;
} }
} }
@ -455,9 +455,9 @@ html.maximized-card {
} }
.handle { .handle {
cursor: move;
display: inline-block; display: inline-block;
margin: 0 5px; margin: 0 5px;
cursor: move;
} }
} }

View File

@ -13,23 +13,23 @@
} }
.bg-gray { .bg-gray {
background-color: $gray-500;
color: color-contrast($gray-500); color: color-contrast($gray-500);
background-color: $gray-500;
} }
.bg-gray-light { .bg-gray-light {
background-color: tint-color($gray-200, 3%);
color: color-contrast(tint-color($gray-200, 3%)) !important; color: color-contrast(tint-color($gray-200, 3%)) !important;
background-color: tint-color($gray-200, 3%);
} }
.bg-black { .bg-black {
background-color: $black;
color: color-contrast($black) !important; color: color-contrast($black) !important;
background-color: $black;
} }
.bg-white { .bg-white {
background-color: $white;
color: color-contrast($white) !important; color: color-contrast($white) !important;
background-color: $white;
} }
// Backgrund Color Disabled // Backgrund Color Disabled

View File

@ -2,8 +2,8 @@
padding: 1rem $lte-content-padding-x; padding: 1rem $lte-content-padding-x;
.breadcrumb { .breadcrumb {
margin-bottom: 0;
padding: 0; padding: 0;
margin-bottom: 0;
line-height: 2.5rem; line-height: 2.5rem;
} }
} }

View File

@ -1,6 +1,6 @@
.content-wrapper { .content-wrapper {
grid-area: content-wrapper; grid-area: content-wrapper;
background-color: $lte-main-bg;
color: $lte-main-color;
padding-bottom: 1rem; padding-bottom: 1rem;
color: $lte-main-color;
background-color: $lte-main-bg;
} }

View File

@ -4,9 +4,9 @@
.direct-chat { .direct-chat {
.card-body { .card-body {
overflow-x: hidden;
padding: 0;
position: relative; position: relative;
padding: 0;
overflow-x: hidden;
} }
&.chat-pane-open { &.chat-pane-open {
@ -32,8 +32,8 @@
.direct-chat-messages { .direct-chat-messages {
@include translate(0, 0); @include translate(0, 0);
height: 250px; height: 250px;
overflow: auto;
padding: 10px; padding: 10px;
overflow: auto;
} }
.direct-chat-msg, .direct-chat-msg,
@ -56,47 +56,47 @@
@include border-radius($border-radius-lg); @include border-radius($border-radius-lg);
} }
position: relative;
padding: 5px 10px;
margin: 5px 0 0 50px;
color: $lte-direct-chat-default-font-color;
background-color: $lte-direct-chat-default-msg-bg; background-color: $lte-direct-chat-default-msg-bg;
border: 1px solid $lte-direct-chat-default-msg-border-color; border: 1px solid $lte-direct-chat-default-msg-border-color;
color: $lte-direct-chat-default-font-color;
margin: 5px 0 0 50px;
padding: 5px 10px;
position: relative;
//Create the arrow //Create the arrow
&::after, &::after,
&::before { &::before {
border: solid transparent; position: absolute;
border-right-color: $lte-direct-chat-default-msg-border-color; top: 15px;
content: " "; right: 100%;
width: 0;
height: 0; height: 0;
pointer-events: none; pointer-events: none;
position: absolute; content: " ";
right: 100%; border: solid transparent;
top: 15px; border-right-color: $lte-direct-chat-default-msg-border-color;
width: 0;
} }
&::after { &::after {
border-width: 5px;
margin-top: -5px; margin-top: -5px;
border-width: 5px;
} }
&::before { &::before {
border-width: 6px;
margin-top: -6px; margin-top: -6px;
border-width: 6px;
} }
.end & { .end & {
margin-left: 0;
margin-right: 50px; margin-right: 50px;
margin-left: 0;
&::after, &::after,
&::before { &::before {
border-left-color: $lte-direct-chat-default-msg-border-color;
border-right-color: transparent;
left: 100%;
right: auto; right: auto;
left: 100%;
border-right-color: transparent;
border-left-color: $lte-direct-chat-default-msg-border-color;
} }
} }
} }
@ -104,8 +104,8 @@
.direct-chat-img { .direct-chat-img {
@include border-radius(50%); @include border-radius(50%);
float: left; float: left;
height: 40px;
width: 40px; width: 40px;
height: 40px;
.end & { .end & {
float: right; float: right;
@ -114,8 +114,8 @@
.direct-chat-infos { .direct-chat-infos {
display: block; display: block;
font-size: $font-size-sm;
margin-bottom: 2px; margin-bottom: 2px;
font-size: $font-size-sm;
} }
.direct-chat-name { .direct-chat-name {
@ -135,14 +135,14 @@
.direct-chat-contacts { .direct-chat-contacts {
@include translate(101%, 0); @include translate(101%, 0);
background-color: $dark;
bottom: 0;
color: $white;
height: 250px;
overflow: auto;
position: absolute; position: absolute;
top: 0; top: 0;
bottom: 0;
width: 100%; width: 100%;
height: 250px;
overflow: auto;
color: $white;
background-color: $dark;
} }
.direct-chat-contacts-light { .direct-chat-contacts-light {
@ -167,9 +167,9 @@
> li { > li {
@include clearfix (); @include clearfix ();
border-bottom: 1px solid rgba($black, .2);
margin: 0;
padding: 10px; padding: 10px;
margin: 0;
border-bottom: 1px solid rgba($black, .2);
&:last-of-type { &:last-of-type {
border-bottom: 0; border-bottom: 0;
@ -184,8 +184,8 @@
} }
.contacts-list-info { .contacts-list-info {
color: $white;
margin-left: 45px; margin-left: 45px;
color: $white;
} }
.contacts-list-name, .contacts-list-name,
@ -202,8 +202,8 @@
} }
.contacts-list-date { .contacts-list-date {
color: $gray-400;
font-weight: 400; font-weight: 400;
color: $gray-400;
} }
.contacts-list-msg { .contacts-list-msg {

View File

@ -23,8 +23,8 @@
} }
.dropdown-item-title { .dropdown-item-title {
font-size: $font-size-base;
margin: 0; margin: 0;
font-size: $font-size-base;
} }
.dropdown-icon { .dropdown-icon {
@ -35,8 +35,8 @@
// Dropdown Sizes // Dropdown Sizes
.dropdown-menu-lg { .dropdown-menu-lg {
max-width: 300px;
min-width: 280px; min-width: 280px;
max-width: 300px;
padding: 0; padding: 0;
.dropdown-divider { .dropdown-divider {
@ -60,15 +60,15 @@
> a::after { > a::after {
@include caret-end (); @include caret-end ();
float: right; float: right;
margin-left: .5rem;
margin-top: .5rem; margin-top: .5rem;
margin-left: .5rem;
} }
> .dropdown-menu { > .dropdown-menu {
left: 100%;
margin-left: 0;
margin-top: 0;
top: 0; top: 0;
left: 100%;
margin-top: 0;
margin-left: 0;
} }
} }
@ -87,8 +87,8 @@
// Dropdown Sizes // Dropdown Sizes
.dropdown-menu-xl { .dropdown-menu-xl {
max-width: 420px;
min-width: 360px; min-width: 360px;
max-width: 420px;
padding: 0; padding: 0;
.dropdown-divider { .dropdown-divider {
@ -109,8 +109,8 @@
.dropdown-footer, .dropdown-footer,
.dropdown-header { .dropdown-header {
display: block; display: block;
font-size: $font-size-sm;
padding: .5rem $dropdown-item-padding-x; padding: .5rem $dropdown-item-padding-x;
font-size: $font-size-sm;
text-align: center; text-align: center;
} }
@ -142,8 +142,8 @@
position: absolute; position: absolute;
right: 5%; right: 5%;
left: auto; left: auto;
border: 1px solid #ddd;
background-color: $white; background-color: $white;
border: 1px solid #ddd;
} }
} }
} }
@ -157,8 +157,8 @@
> .dropdown-menu { > .dropdown-menu {
@include border-top-radius(0); @include border-top-radius(0);
padding: 0;
width: 280px; width: 280px;
padding: 0;
&, &,
> .user-body { > .user-body {
@ -174,8 +174,8 @@
// User image // User image
> img { > img {
z-index: 5; z-index: 5;
height: 90px;
width: 90px; width: 90px;
height: 90px;
border: 3px solid; border: 3px solid;
border-color: transparent; border-color: transparent;
border-color: rgba(255, 255, 255, .2); border-color: rgba(255, 255, 255, .2);
@ -183,9 +183,9 @@
> p { > p {
z-index: 5; z-index: 5;
margin-top: 10px;
font-size: 17px; font-size: 17px;
//text-shadow: 2px 2px 3px #333333; //text-shadow: 2px 2px 3px #333333;
margin-top: 10px;
> small { > small {
display: block; display: block;
@ -197,14 +197,14 @@
// Menu Body // Menu Body
> .user-body { > .user-body {
@include clearfix (); @include clearfix ();
border-bottom: 1px solid $gray-700;
border-top: 1px solid $gray-300;
padding: 15px; padding: 15px;
border-top: 1px solid $gray-300;
border-bottom: 1px solid $gray-700;
a { a {
@include media-breakpoint-up(sm) { @include media-breakpoint-up(sm) {
background-color: $white !important;
color: $gray-700 !important; color: $gray-700 !important;
background-color: $white !important;
} }
} }
} }
@ -212,8 +212,8 @@
// Menu Footer // Menu Footer
> .user-footer { > .user-footer {
@include clearfix (); @include clearfix ();
background-color: $gray-100;
padding: 10px; padding: 10px;
background-color: $gray-100;
.btn-default { .btn-default {
color: $gray-600; color: $gray-600;
@ -230,16 +230,16 @@
.user-image { .user-image {
@include media-breakpoint-up(sm) { @include media-breakpoint-up(sm) {
float: none; float: none;
line-height: 10px;
margin-right: .4rem;
margin-top: -8px; margin-top: -8px;
margin-right: .4rem;
line-height: 10px;
} }
border-radius: 50%;
float: left; float: left;
height: $lte-sidebar-user-image-width;
// margin-right: 10px;
margin-top: -2px;
width: $lte-sidebar-user-image-width; width: $lte-sidebar-user-image-width;
height: $lte-sidebar-user-image-width;
margin-top: -2px;
// margin-right: 10px;
border-radius: 50%;
} }
} }

View File

@ -6,18 +6,18 @@
@include box-shadow($lte-card-shadow); @include box-shadow($lte-card-shadow);
@include border-radius($border-radius); @include border-radius($border-radius);
background-color: $white; position: relative;
display: flex; display: flex;
margin-bottom: map-get($spacers, 3); width: 100%;
min-height: 80px; min-height: 80px;
padding: .5rem; padding: .5rem;
position: relative; margin-bottom: map-get($spacers, 3);
width: 100%; background-color: $white;
.progress { .progress {
background-color: rgba($black, .125);
height: 2px; height: 2px;
margin: 5px 0; margin: 5px 0;
background-color: rgba($black, .125);
.progress-bar { .progress-bar {
background-color: $white; background-color: $white;
@ -29,12 +29,12 @@
border-radius: $border-radius; border-radius: $border-radius;
} }
align-items: center;
display: flex; display: flex;
font-size: 1.875rem; align-items: center;
justify-content: center; justify-content: center;
text-align: center;
width: 70px; width: 70px;
font-size: 1.875rem;
text-align: center;
> img { > img {
max-width: 100%; max-width: 100%;
@ -43,11 +43,11 @@
.info-box-content { .info-box-content {
display: flex; display: flex;
flex: 1;
flex-direction: column; flex-direction: column;
justify-content: center; justify-content: center;
line-height: 1.8;
flex: 1;
padding: 0 10px; padding: 0 10px;
line-height: 1.8;
} }
.info-box-number { .info-box-number {

View File

@ -1,11 +1,11 @@
@include media-breakpoint-up(lg) { @include media-breakpoint-up(lg) {
.layout-fixed:not(.sidebar-horizontal) { .layout-fixed:not(.sidebar-horizontal) {
.main-sidebar { .main-sidebar {
bottom: 0;
float: none;
left: 0;
position: fixed; position: fixed;
top: auto; top: auto;
bottom: 0;
left: 0;
float: none;
.sidebar { .sidebar {
height: subtract(100vh, add($lte-main-header-height-inner, $lte-main-header-bottom-border-width)); height: subtract(100vh, add($lte-main-header-height-inner, $lte-main-header-bottom-border-width));

View File

@ -4,8 +4,8 @@
position: fixed; position: fixed;
top: 0; top: 0;
bottom: 0; bottom: 0;
margin-left: -#{$lte-sidebar-width};
min-height: 100vh; min-height: 100vh;
margin-left: -#{$lte-sidebar-width};
.sidebar { .sidebar {
overflow-x: hidden; overflow-x: hidden;

View File

@ -4,11 +4,11 @@
.main-footer { .main-footer {
grid-area: main-footer; grid-area: main-footer;
width: inherit;
padding: $lte-main-footer-padding;
color: $lte-main-footer-color;
background-color: $lte-main-footer-bg; background-color: $lte-main-footer-bg;
border-top: $lte-main-footer-border-top; border-top: $lte-main-footer-border-top;
color: $lte-main-footer-color;
padding: $lte-main-footer-padding;
width: inherit;
// .fs-7 &, // .fs-7 &,
// &.fs-7 { // &.fs-7 {

View File

@ -10,24 +10,24 @@
); );
.main-header { .main-header {
z-index: $lte-zindex-main-header;
grid-area: main-header; grid-area: main-header;
border-bottom: $lte-main-header-bottom-border; border-bottom: $lte-main-header-bottom-border;
z-index: $lte-zindex-main-header;
.nav-link { .nav-link {
height: $nav-link-height;
position: relative; position: relative;
height: $nav-link-height;
} }
} }
// Navbar badge // Navbar badge
.navbar-badge { .navbar-badge {
position: absolute;
top: 9px;
right: 5px;
padding: 2px 4px;
font-size: .6rem; font-size: .6rem;
font-weight: 300; font-weight: 300;
padding: 2px 4px;
position: absolute;
right: 5px;
top: 9px;
} }
.layout-navbar-fixed { .layout-navbar-fixed {

View File

@ -41,23 +41,23 @@
// } // }
.main-sidebar { .main-sidebar {
grid-area: main-sidebar;
@include transition($lte-sidebar-transition); @include transition($lte-sidebar-transition);
z-index: $lte-zindex-sidebar; z-index: $lte-zindex-sidebar;
grid-area: main-sidebar;
min-width: $lte-sidebar-width; min-width: $lte-sidebar-width;
max-width: $lte-sidebar-width; max-width: $lte-sidebar-width;
.nav-sidebar > .nav-item { .nav-sidebar > .nav-item {
> .nav-link.active { > .nav-link.active {
background-color: var(--lte-sidebar-menu-active-bg);
color: var(--lte-sidebar-menu-active-color); color: var(--lte-sidebar-menu-active-color);
background-color: var(--lte-sidebar-menu-active-bg);
} }
} }
} }
.hold-transition { .hold-transition {
.main-sidebar { .main-sidebar {
animation: none !important;
transition: none !important; transition: none !important;
animation: none !important;
} }
} }

View File

@ -17,10 +17,10 @@
} }
> .description-header { > .description-header {
padding: 0;
margin: 0;
font-size: 16px; font-size: 16px;
font-weight: 600; font-weight: 600;
margin: 0;
padding: 0;
} }
> .description-text { > .description-text {
@ -36,31 +36,31 @@
// List utility classes // List utility classes
.list-group-unbordered { .list-group-unbordered {
> .list-group-item { > .list-group-item {
padding-right: 0;
padding-left: 0;
border-right: 0;
border-left: 0; border-left: 0;
border-radius: 0; border-radius: 0;
border-right: 0;
padding-left: 0;
padding-right: 0;
} }
} }
.list-header { .list-header {
color: $gray-600; padding: 10px 4px;
font-size: 15px; font-size: 15px;
font-weight: 700; font-weight: 700;
padding: 10px 4px; color: $gray-600;
} }
.list-seperator { .list-seperator {
background-color: $card-border-color;
height: 1px; height: 1px;
margin: 15px 0 9px; margin: 15px 0 9px;
background-color: $card-border-color;
} }
.list-link { .list-link {
> a { > a {
color: $gray-600;
padding: 4px; padding: 4px;
color: $gray-600;
&:hover { &:hover {
color: $gray-900; color: $gray-900;
@ -74,8 +74,8 @@
img { img {
float: left; float: left;
height: 40px;
width: 40px; width: 40px;
height: 40px;
} }
.username, .username,
@ -86,15 +86,15 @@
} }
.username { .username {
margin-top: -1px;
font-size: 16px; font-size: 16px;
font-weight: 600; font-weight: 600;
margin-top: -1px;
} }
.description { .description {
color: $gray-600;
font-size: 13px;
margin-top: -3px; margin-top: -3px;
font-size: 13px;
color: $gray-600;
} }
&.user-block-sm { &.user-block-sm {
@ -123,8 +123,8 @@
} }
.img-sm { .img-sm {
height: $lte-img-size-sm;
width: $lte-img-size-sm; width: $lte-img-size-sm;
height: $lte-img-size-sm;
+ .img-push { + .img-push {
margin-left: $lte-img-size-sm + $lte-img-size-push; margin-left: $lte-img-size-sm + $lte-img-size-push;
@ -151,13 +151,13 @@
// Image bordered // Image bordered
.img-bordered { .img-bordered {
border: 3px solid $gray-500;
padding: 3px; padding: 3px;
border: 3px solid $gray-500;
} }
.img-bordered-sm { .img-bordered-sm {
border: 2px solid $gray-500;
padding: 2px; padding: 2px;
border: 2px solid $gray-500;
} }
// Rounded and Circle Images // Rounded and Circle Images
@ -197,35 +197,35 @@
} }
.size-32 { .size-32 {
width: 32px;
height: 32px; height: 32px;
line-height: 32px; line-height: 32px;
width: 32px;
} }
.size-40 { .size-40 {
width: 40px;
height: 40px; height: 40px;
line-height: 40px; line-height: 40px;
width: 40px;
} }
.size-50 { .size-50 {
width: 50px;
height: 50px; height: 50px;
line-height: 50px; line-height: 50px;
width: 50px;
} }
// General attachemnt block // General attachemnt block
.attachment-block { .attachment-block {
padding: 5px;
margin-bottom: 10px;
background-color: $gray-100; background-color: $gray-100;
border: 1px solid $card-border-color; border: 1px solid $card-border-color;
margin-bottom: 10px;
padding: 5px;
.attachment-img { .attachment-img {
float: left; float: left;
max-width: 100px;
height: auto; height: auto;
max-height: 100px; max-height: 100px;
max-width: 100px;
} }
.attachment-pushed { .attachment-pushed {
@ -249,20 +249,20 @@
// Box overlay for LOADING STATE effect // Box overlay for LOADING STATE effect
> .overlay, > .overlay,
> .loading-img { > .loading-img {
height: 100%;
left: 0;
position: absolute; position: absolute;
top: 0; top: 0;
left: 0;
width: 100%; width: 100%;
height: 100%;
} }
.overlay { .overlay {
@include border-radius($border-radius); @include border-radius($border-radius);
align-items: center;
background-color: rgba($white, .7);
display: flex;
justify-content: center;
z-index: 50; z-index: 50;
display: flex;
align-items: center;
justify-content: center;
background-color: rgba($white, .7);
> i, > i,
> svg, > svg,
@ -291,13 +291,13 @@
> .overlay-wrapper { > .overlay-wrapper {
position: relative; position: relative;
> .overlay { > .overlay {
border-top-left-radius: 0;
border-top-right-radius: 0;
flex-direction: column; flex-direction: column;
width: add(100%, (2 * $card-spacer-x));
height: add(100%, (2 * $card-spacer-x));
margin-top: -$card-spacer-x; margin-top: -$card-spacer-x;
margin-left: -$card-spacer-x; margin-left: -$card-spacer-x;
height: add(100%, (2 * $card-spacer-x)); border-top-left-radius: 0;
width: add(100%, (2 * $card-spacer-x)); border-top-right-radius: 0;
&.dark { &.dark {
color: $white; color: $white;
} }
@ -307,58 +307,58 @@
// Ribbon // Ribbon
.ribbon-wrapper { .ribbon-wrapper {
position: absolute;
top: -2px;
right: -2px;
z-index: 10;
width: $lte-ribbon-wrapper-size;
height: $lte-ribbon-wrapper-size; height: $lte-ribbon-wrapper-size;
overflow: hidden; overflow: hidden;
position: absolute;
right: -2px;
top: -2px;
width: $lte-ribbon-wrapper-size;
z-index: 10;
&.ribbon-lg { &.ribbon-lg {
height: $lte-ribbon-lg-wrapper-size;
width: $lte-ribbon-lg-wrapper-size; width: $lte-ribbon-lg-wrapper-size;
height: $lte-ribbon-lg-wrapper-size;
.ribbon { .ribbon {
right: $lte-ribbon-lg-right;
top: $lte-ribbon-lg-top; top: $lte-ribbon-lg-top;
right: $lte-ribbon-lg-right;
width: $lte-ribbon-lg-width; width: $lte-ribbon-lg-width;
} }
} }
&.ribbon-xl { &.ribbon-xl {
height: $lte-ribbon-xl-wrapper-size;
width: $lte-ribbon-xl-wrapper-size; width: $lte-ribbon-xl-wrapper-size;
height: $lte-ribbon-xl-wrapper-size;
.ribbon { .ribbon {
right: $lte-ribbon-xl-right;
top: $lte-ribbon-xl-top; top: $lte-ribbon-xl-top;
right: $lte-ribbon-xl-right;
width: $lte-ribbon-xl-width; width: $lte-ribbon-xl-width;
} }
} }
.ribbon { .ribbon {
box-shadow: 0 0 $lte-ribbon-border-size rgba($black, .3); position: relative;
top: $lte-ribbon-top;
right: $lte-ribbon-right;
width: $lte-ribbon-width;
padding: $lte-ribbon-padding;
font-size: $lte-ribbon-font-size; font-size: $lte-ribbon-font-size;
line-height: $lte-ribbon-line-height; line-height: $lte-ribbon-line-height;
padding: $lte-ribbon-padding;
position: relative;
right: $lte-ribbon-right;
text-align: center; text-align: center;
text-shadow: 0 -1px 0 rgba($black, .4); text-shadow: 0 -1px 0 rgba($black, .4);
text-transform: uppercase; text-transform: uppercase;
top: $lte-ribbon-top; box-shadow: 0 0 $lte-ribbon-border-size rgba($black, .3);
transform: rotate(45deg); transform: rotate(45deg);
width: $lte-ribbon-width;
&::before, &::before,
&::after { &::after {
border-left: $lte-ribbon-border-size solid transparent; position: absolute;
border-right: $lte-ribbon-border-size solid transparent;
border-top: $lte-ribbon-border-size solid #9e9e9e;
bottom: -$lte-ribbon-border-size; bottom: -$lte-ribbon-border-size;
content: ""; content: "";
position: absolute; border-top: $lte-ribbon-border-size solid #9e9e9e;
border-right: $lte-ribbon-border-size solid transparent;
border-left: $lte-ribbon-border-size solid transparent;
} }
&::before { &::before {
@ -373,9 +373,9 @@
// Scroll To Top // Scroll To Top
.back-to-top { .back-to-top {
bottom: 1.25rem;
position: fixed; position: fixed;
right: 1.25rem; right: 1.25rem;
bottom: 1.25rem;
z-index: $lte-zindex-control-sidebar + 1; z-index: $lte-zindex-control-sidebar + 1;
&:focus { &:focus {
@ -390,10 +390,10 @@ pre {
// Blockquotes styles // Blockquotes styles
blockquote { blockquote {
padding: .5em .7rem;
margin: 1.5em .7rem;
background-color: $white; background-color: $white;
border-left: .7rem solid $primary; border-left: .7rem solid $primary;
margin: 1.5em .7rem;
padding: .5em .7rem;
.box & { .box & {
background-color: $gray-200; background-color: $gray-200;
@ -409,9 +409,9 @@ blockquote {
h4, h4,
h5, h5,
h6 { h6 {
color: $primary;
font-size: 1.25rem; font-size: 1.25rem;
font-weight: 600; font-weight: 600;
color: $primary;
} }
@each $color, $value in $theme-colors { @each $color, $value in $theme-colors {
@ -449,26 +449,26 @@ blockquote {
// Tab Custom Content // Tab Custom Content
.tab-custom-content { .tab-custom-content {
border-top: $nav-tabs-border-width solid $nav-tabs-border-color;
margin-top: .5rem;
padding-top: .5rem; padding-top: .5rem;
margin-top: .5rem;
border-top: $nav-tabs-border-width solid $nav-tabs-border-color;
} }
.nav + .tab-custom-content { .nav + .tab-custom-content {
border-top: none; padding-bottom: .5rem;
border-bottom: $nav-tabs-border-width solid $nav-tabs-border-color;
margin-top: 0; margin-top: 0;
margin-bottom: .5rem; margin-bottom: .5rem;
padding-bottom: .5rem; border-top: none;
border-bottom: $nav-tabs-border-width solid $nav-tabs-border-color;
} }
// Badge BTN Style // Badge BTN Style
.badge-btn { .badge-btn {
border-radius: $lte-button-border-radius-xs; padding: $lte-button-padding-y-xs * 2 $lte-button-padding-x-xs * 2;
font-size: $lte-button-font-size-xs; font-size: $lte-button-font-size-xs;
font-weight: 400; font-weight: 400;
padding: $lte-button-padding-y-xs * 2 $lte-button-padding-x-xs * 2; border-radius: $lte-button-border-radius-xs;
} }
.badge-btn.badge-pill { .badge-btn.badge-pill {

View File

@ -16,8 +16,8 @@
.nav-link > .end, .nav-link > .end,
.nav-link > p > .end { .nav-link > p > .end {
position: absolute; position: absolute;
right: 1rem;
top: .7rem; top: .7rem;
right: 1rem;
} }
.nav-link { .nav-link {
@ -37,15 +37,15 @@
} }
.nav-header { .nav-header {
font-size: .9rem;
padding: $nav-link-padding-y ($nav-link-padding-y * 1.5); padding: $nav-link-padding-y ($nav-link-padding-y * 1.5);
font-size: .9rem;
} }
// Tree view menu // Tree view menu
.nav-treeview { .nav-treeview {
display: none; display: none;
list-style: none;
padding: 0; padding: 0;
list-style: none;
} }
.menu-open { .menu-open {

View File

@ -3,9 +3,9 @@
// //
.products-list { .products-list {
list-style: none;
margin: 0;
padding: 0; padding: 0;
margin: 0;
list-style: none;
> .item { > .item {
@include clearfix (); @include clearfix ();
@ -14,8 +14,8 @@
@include border-radius($border-radius); @include border-radius($border-radius);
} }
background-color: $white;
padding: 10px 0; padding: 10px 0;
background-color: $white;
} }
@ -23,8 +23,8 @@
float: left; float: left;
img { img {
height: 50px;
width: 50px; width: 50px;
height: 50px;
} }
} }
@ -37,9 +37,9 @@
} }
.product-description { .product-description {
color: $gray-600;
display: block; display: block;
overflow: hidden; overflow: hidden;
color: $gray-600;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
} }

View File

@ -9,15 +9,15 @@
// Vertical bars // Vertical bars
&.vertical { &.vertical {
position: relative;
display: inline-block; display: inline-block;
width: 30px;
height: 200px; height: 200px;
margin-right: 10px; margin-right: 10px;
position: relative;
width: 30px;
> .progress-bar { > .progress-bar {
bottom: 0;
position: absolute; position: absolute;
bottom: 0;
width: 100%; width: 100%;
} }

View File

@ -34,10 +34,10 @@
.nav-sidebar .nav-link p, .nav-sidebar .nav-link p,
.brand-link { .brand-link {
margin-left: -10px; margin-left: -10px;
visibility: hidden;
animation-name: fadeOut; animation-name: fadeOut;
animation-duration: $lte-transition-speed; animation-duration: $lte-transition-speed;
animation-fill-mode: both; animation-fill-mode: both;
visibility: hidden;
} }
&.sidebar-is-hover { &.sidebar-is-hover {
@ -57,10 +57,10 @@
.nav-sidebar .nav-link p, .nav-sidebar .nav-link p,
.brand-link { .brand-link {
margin-left: 0; margin-left: 0;
visibility: visible;
animation-name: fadeIn; animation-name: fadeIn;
animation-duration: $lte-transition-speed; animation-duration: $lte-transition-speed;
animation-fill-mode: both; animation-fill-mode: both;
visibility: visible;
} }
} }
} }

View File

@ -6,17 +6,17 @@
"main-sidebar" "main-sidebar"
"content-wrapper" "content-wrapper"
"main-footer"; "main-footer";
grid-template-columns: auto;
grid-template-rows: max-content max-content auto max-content; grid-template-rows: max-content max-content auto max-content;
grid-template-columns: auto;
} }
.main-sidebar { .main-sidebar {
z-index: $lte-zindex-sidebar-horizontal;
display: grid; display: grid;
height: $lte-sidebar-horizontal-height; justify-content: start;
min-width: $lte-sidebar-horizontal-width; min-width: $lte-sidebar-horizontal-width;
max-width: $lte-sidebar-horizontal-width; max-width: $lte-sidebar-horizontal-width;
justify-content: start; height: $lte-sidebar-horizontal-height;
z-index: $lte-zindex-sidebar-horizontal;
} }
.brand-container { .brand-container {
@ -32,9 +32,9 @@
.nav-sidebar { .nav-sidebar {
display: grid; display: grid;
list-style-type: none;
grid-auto-columns: 130px; grid-auto-columns: 130px;
grid-auto-flow: column; grid-auto-flow: column;
list-style-type: none;
// grid-gap: 5px; // grid-gap: 5px;
.nav-header { .nav-header {
@ -47,8 +47,8 @@
justify-content: center; justify-content: center;
.nav-icon { .nav-icon {
text-align: center;
padding-left: 0; padding-left: 0;
text-align: center;
} }
p { p {

View File

@ -1,11 +1,11 @@
.sidebar { .sidebar {
// min-height: 100%; // min-height: 100%;
overflow-x: hidden; padding-top: $lte-sidebar-padding-y;
overflow-y: auto; padding-right: $lte-sidebar-padding-x;
padding-bottom: $lte-sidebar-padding-y; padding-bottom: $lte-sidebar-padding-y;
padding-left: $lte-sidebar-padding-x; padding-left: $lte-sidebar-padding-x;
padding-right: $lte-sidebar-padding-x; overflow-x: hidden;
padding-top: $lte-sidebar-padding-y; overflow-y: auto;
@include scrollbar-color-gray(); @include scrollbar-color-gray();
@include scrollbar-width-thin(); @include scrollbar-width-thin();
} }

View File

@ -6,9 +6,9 @@
@include border-radius($border-radius); @include border-radius($border-radius);
@include box-shadow($lte-card-shadow); @include box-shadow($lte-card-shadow);
position: relative;
display: block; display: block;
margin-bottom: 1.25rem; margin-bottom: 1.25rem;
position: relative;
// content wrapper // content wrapper
> .inner { > .inner {
@ -16,26 +16,26 @@
} }
> .small-box-footer { > .small-box-footer {
background-color: rgba($black, .1); position: relative;
color: rgba($white, .8); z-index: 10;
display: block; display: block;
padding: 3px 0; padding: 3px 0;
position: relative; color: rgba($white, .8);
text-align: center; text-align: center;
text-decoration: none; text-decoration: none;
z-index: 10; background-color: rgba($black, .1);
&:hover { &:hover {
background-color: rgba($black, .15);
color: $white; color: $white;
background-color: rgba($black, .15);
} }
} }
h3 { h3 {
@include font-size(2.2rem); @include font-size(2.2rem);
font-weight: 700;
margin: 0 0 10px;
padding: 0; padding: 0;
margin: 0 0 10px;
font-weight: 700;
white-space: nowrap; white-space: nowrap;
} }
@ -79,10 +79,10 @@
font-size: 1rem; font-size: 1rem;
> small { > small {
color: $gray-100;
display: block; display: block;
font-size: .9rem;
margin-top: 5px; margin-top: 5px;
font-size: .9rem;
color: $gray-100;
} }
} }
@ -93,27 +93,27 @@
// the icon // the icon
.icon { .icon {
color: rgba($black, .15);
z-index: 0; z-index: 0;
color: rgba($black, .15);
> i { > i {
font-size: 90px;
position: absolute; position: absolute;
right: 15px;
top: 15px; top: 15px;
right: 15px;
font-size: 90px;
transition: transform $lte-transition-speed linear; transition: transform $lte-transition-speed linear;
&.inner-icon { &.inner-icon {
font-size: 70px;
top: 20px; top: 20px;
font-size: 70px;
} }
} }
svg { svg {
font-size: 70px;
position: absolute; position: absolute;
right: 15px;
top: 15px; top: 15px;
right: 15px;
font-size: 70px;
transition: transform $lte-transition-speed linear; transition: transform $lte-transition-speed linear;
} }
} }

View File

@ -10,12 +10,12 @@
// fixed table head // fixed table head
&.table-head-fixed { &.table-head-fixed {
thead tr:nth-child(1) th { thead tr:nth-child(1) th {
background-color: $white;
border-bottom: 0;
box-shadow: inset 0 1px 0 $table-border-color, inset 0 -1px 0 $table-border-color;
position: sticky; position: sticky;
top: 0; top: 0;
z-index: 10; z-index: 10;
background-color: $white;
border-bottom: 0;
box-shadow: inset 0 1px 0 $table-border-color, inset 0 -1px 0 $table-border-color;
} }
// TODO: add $table-dark // TODO: add $table-dark
@ -102,8 +102,8 @@
.expandable-body { .expandable-body {
> td { > td {
padding: 0 !important;
width: 100%; width: 100%;
padding: 0 !important;
> div, > div,
> p { > p {

View File

@ -7,14 +7,14 @@
> li { > li {
float: left; float: left;
width: 25%;
padding: 10px; padding: 10px;
text-align: center; text-align: center;
width: 25%;
img { img {
@include border-radius(50%); @include border-radius(50%);
height: auto;
max-width: 100%; max-width: 100%;
height: auto;
} }
> a:hover { > a:hover {
@ -32,14 +32,14 @@
} }
.users-list-name { .users-list-name {
color: $gray-700;
font-size: $font-size-sm;
overflow: hidden; overflow: hidden;
font-size: $font-size-sm;
color: $gray-700;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
} }
.users-list-date { .users-list-date {
color: shade-color($gray-500, 20%);
font-size: 12px; font-size: 12px;
color: shade-color($gray-500, 20%);
} }

View File

@ -4,15 +4,16 @@
.wrapper { .wrapper {
position: relative; position: relative;
align-content: stretch;
align-items: stretch;
display: grid; display: grid;
grid-gap: 0;
grid-template-areas: grid-template-areas:
"main-sidebar main-header" "main-sidebar main-header"
"main-sidebar content-wrapper" "main-sidebar content-wrapper"
"main-sidebar main-footer"; "main-sidebar main-footer";
grid-template-columns: auto minmax(100%, max-content);
grid-template-rows: min-content 100% min-content; grid-template-rows: min-content 100% min-content;
grid-template-columns: auto minmax(100%, max-content);
grid-gap: 0;
align-content: stretch;
align-items: stretch;
min-height: 100vh; min-height: 100vh;
} }

View File

@ -37,9 +37,9 @@
} }
.todo-list > li { .todo-list > li {
color: $white-alt;
background-color: tint-colors($gray-900-alt, 5%); background-color: tint-colors($gray-900-alt, 5%);
border-color: tint-colors($gray-900-alt, 7.5%); border-color: tint-colors($gray-900-alt, 7.5%);
color: $white-alt;
} }
.todo-list { .todo-list {

View File

@ -1,4 +1,4 @@
.content-wrapper { .content-wrapper {
background-color: $lte-main-bg-alt;
color: $lte-main-color-alt; color: $lte-main-color-alt;
background-color: $lte-main-bg-alt;
} }

View File

@ -1,7 +1,7 @@
.direct-chat-text { .direct-chat-text {
color: $white-alt;
background-color: $gray-800-alt; background-color: $gray-800-alt;
border-color: tint-color($gray-800-alt, 10%); border-color: tint-color($gray-800-alt, 10%);
color: $white-alt;
&::after, &::after,
&::before { &::before {
@ -21,8 +21,8 @@
} }
.direct-chat-contacts { .direct-chat-contacts {
background-color: $gray-800-alt;
color: $white-alt; color: $white-alt;
background-color: $gray-800-alt;
} }
.direct-chat-contacts-light { .direct-chat-contacts-light {

View File

@ -1,6 +1,6 @@
.info-box { .info-box {
background-color: $dark-alt;
color: $white-alt; color: $white-alt;
background-color: $dark-alt;
@each $name, $color in $theme-colors-alt { @each $name, $color in $theme-colors-alt {
.info-box { .info-box {
.bg-#{$name} { .bg-#{$name} {

View File

@ -1,6 +1,6 @@
.products-list > .item { .products-list > .item {
background-color: $body-bg-alt;
color: $body-color-alt; color: $body-color-alt;
background-color: $body-bg-alt;
border-bottom-color: $gray-600-alt; border-bottom-color: $gray-600-alt;
} }

View File

@ -5,19 +5,19 @@
@keyframes flipInX { @keyframes flipInX {
0% { 0% {
transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
transition-timing-function: ease-in;
opacity: 0; opacity: 0;
transition-timing-function: ease-in;
transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
} }
40% { 40% {
transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
transition-timing-function: ease-in; transition-timing-function: ease-in;
transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
} }
60% { 60% {
transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
opacity: 1; opacity: 1;
transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
} }
80% { 80% {

View File

@ -14,17 +14,17 @@
&.btn { &.btn {
&:hover { &:hover {
border-color: shade-color($color, 10%);
color: shade-color(color-contrast($color), 7.5%); color: shade-color(color-contrast($color), 7.5%);
border-color: shade-color($color, 10%);
} }
&:not(:disabled):not(.disabled):active, &:not(:disabled):not(.disabled):active,
&:not(:disabled):not(.disabled).active, &:not(:disabled):not(.disabled).active,
&:active, &:active,
&.active { &.active {
color: color-contrast(shade-color($color, 10%));
background-color: shade-color($color, 10%) !important; background-color: shade-color($color, 10%) !important;
border-color: shade-color($color, 12.5%); border-color: shade-color($color, 12.5%);
color: color-contrast(shade-color($color, 10%));
} }
} }
} }

View File

@ -3,7 +3,7 @@
$brand-color $brand-color
) { ) {
.brand-container { .brand-container {
background-color: $brand-bg;
color: $brand-color; color: $brand-color;
background-color: $brand-bg;
} }
} }

View File

@ -5,9 +5,9 @@
// Direct Chat Variant // Direct Chat Variant
@mixin direct-chat-variant($bg-color, $color: $white) { @mixin direct-chat-variant($bg-color, $color: $white) {
.end > .direct-chat-text { .end > .direct-chat-text {
color: color-contrast($bg-color);
background-color: $bg-color; background-color: $bg-color;
border-color: $bg-color; border-color: $bg-color;
color: color-contrast($bg-color);
&::after, &::after,
&::before { &::before {

View File

@ -9,8 +9,8 @@
$lte-header-mobile-color $lte-header-mobile-color
) { ) {
.main-header { .main-header {
background-color: $lte-header-bg;
color: $lte-header-color; color: $lte-header-color;
background-color: $lte-header-bg;
.nav-link { .nav-link {
color: $dark; color: $dark;
@ -24,8 +24,8 @@
@include media-breakpoint-down(lg) { @include media-breakpoint-down(lg) {
.main-header { .main-header {
background-color: $lte-header-mobile-bg;
color: $lte-header-mobile-color; color: $lte-header-mobile-color;
background-color: $lte-header-mobile-bg;
} }
} }
} }

View File

@ -29,8 +29,8 @@
&.menu-open > .nav-link, &.menu-open > .nav-link,
&:hover > .nav-link, &:hover > .nav-link,
> .nav-link:focus { > .nav-link:focus {
background-color: $lte-sidebar-hover-bg;
color: $lte-sidebar-hover-color; color: $lte-sidebar-hover-color;
background-color: $lte-sidebar-hover-bg;
} }
> .nav-link.active { > .nav-link.active {
@ -45,8 +45,8 @@
// Section Heading // Section Heading
.nav-header { .nav-header {
background-color: inherit; //darken($lte-sidebar-bg, 3%);
color: $lte-sidebar-header-color; color: $lte-sidebar-header-color;
background-color: inherit; //darken($lte-sidebar-bg, 3%);
} }
// All links within the sidebar menu // All links within the sidebar menu
@ -69,8 +69,8 @@
&:hover, &:hover,
&:focus { &:focus {
background-color: $lte-sidebar-submenu-hover-bg;
color: $lte-sidebar-submenu-hover-color; color: $lte-sidebar-submenu-hover-color;
background-color: $lte-sidebar-submenu-hover-bg;
} }
} }
@ -78,8 +78,8 @@
&, &,
&:hover, &:hover,
&:focus { &:focus {
background-color: $lte-sidebar-submenu-active-bg;
color: $lte-sidebar-submenu-active-color; color: $lte-sidebar-submenu-active-color;
background-color: $lte-sidebar-submenu-active-bg;
} }
} }
} }

View File

@ -29,8 +29,8 @@
// Hover and active states // Hover and active states
&.menu-open > .nav-link, &.menu-open > .nav-link,
&:hover > .nav-link { &:hover > .nav-link {
background-color: $lte-sidebar-hover-bg;
color: $lte-sidebar-hover-color; color: $lte-sidebar-hover-color;
background-color: $lte-sidebar-hover-bg;
} }
> .nav-link.active { > .nav-link.active {
@ -45,8 +45,8 @@
// Section Heading // Section Heading
.nav-header { .nav-header {
background-color: inherit;
color: $lte-sidebar-header-color; color: $lte-sidebar-header-color;
background-color: inherit;
} }
// All links within the sidebar menu // All links within the sidebar menu
@ -68,16 +68,16 @@
&:hover, &:hover,
&:focus { &:focus {
background-color: $lte-sidebar-submenu-hover-bg;
color: $lte-sidebar-submenu-hover-color; color: $lte-sidebar-submenu-hover-color;
background-color: $lte-sidebar-submenu-hover-bg;
} }
} }
> .nav-link.active { > .nav-link.active {
&, &,
&:hover { &:hover {
background-color: $lte-sidebar-submenu-active-bg;
color: $lte-sidebar-submenu-active-color; color: $lte-sidebar-submenu-active-color;
background-color: $lte-sidebar-submenu-active-bg;
} }
} }

View File

@ -2,8 +2,8 @@
@mixin sidebar-color($color) { @mixin sidebar-color($color) {
.nav-sidebar > .nav-item { .nav-sidebar > .nav-item {
> .nav-link.active { > .nav-link.active {
background-color: $color;
color: color-contrast($color); color: color-contrast($color);
background-color: $color;
} }
} }
} }

View File

@ -4,9 +4,9 @@
.login-logo, .login-logo,
.register-logo { .register-logo {
margin-bottom: .9rem;
font-size: 2.1rem; font-size: 2.1rem;
font-weight: 300; font-weight: 300;
margin-bottom: .9rem;
text-align: center; text-align: center;
a { a {
@ -16,12 +16,12 @@
.login-page, .login-page,
.register-page { .register-page {
align-items: center;
background-color: $gray-200;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
height: 100vh; align-items: center;
justify-content: center; justify-content: center;
height: 100vh;
background-color: $gray-200;
} }
.login-box, .login-box,
@ -29,8 +29,8 @@
width: 360px; width: 360px;
@media (max-width: map-get($grid-breakpoints, sm)) { @media (max-width: map-get($grid-breakpoints, sm)) {
margin-top: .5rem;
width: 90%; width: 90%;
margin-top: .5rem;
} }
.card { .card {
@ -40,10 +40,10 @@
.login-card-body, .login-card-body,
.register-card-body { .register-card-body {
padding: 20px;
color: #666;
background-color: $white; background-color: $white;
border-top: 0; border-top: 0;
color: #666;
padding: 20px;
.input-group { .input-group {
.form-control { .form-control {
@ -81,11 +81,11 @@
} }
.input-group-text { .input-group-text {
color: #777;
background-color: transparent; background-color: transparent;
border-bottom-right-radius: $border-radius;
border-left: 0; border-left: 0;
border-top-right-radius: $border-radius; border-top-right-radius: $border-radius;
color: #777; border-bottom-right-radius: $border-radius;
transition: $input-transition; transition: $input-transition;
} }
} }
@ -93,8 +93,8 @@
.login-box-msg, .login-box-msg,
.register-box-msg { .register-box-msg {
margin: 0;
padding: 0 20px 20px; padding: 0 20px 20px;
margin: 0;
text-align: center; text-align: center;
} }