scss bugs fix

pull/4884/head
Daniel 2023-01-29 17:17:56 +05:30
parent 3eba216098
commit 1058fae717
13 changed files with 8 additions and 191 deletions

View File

@ -1,81 +0,0 @@
//
// Misc: Colors
//
// Background colors (theme colors)
@each $name, $color in $theme-colors {
@include background-variant($name, $color);
}
// Background colors (colors)
@each $name, $color in $colors {
@include background-variant($name, $color);
}
.bg-gray {
color: color-contrast($gray-500);
background-color: $gray-500;
}
.bg-gray-light {
color: color-contrast(tint-color($gray-200, 3%)) !important;
background-color: tint-color($gray-200, 3%);
}
.bg-black {
color: color-contrast($black) !important;
background-color: $black;
}
.bg-white {
color: color-contrast($white) !important;
background-color: $white;
}
// Backgrund Color Disabled
[class^="bg-"].disabled {
opacity: .65;
}
// Text muted hover
a.text-muted:hover {
color: $primary !important;
}
// Link Styles
.link-muted {
color: shade-color($gray-500, 30%);
&:hover,
&:focus {
color: shade-color($gray-500, 40%);
}
}
.link-black {
color: $gray-600;
&:hover,
&:focus {
color: tint-color($gray-500, 20%);
}
}
// // Accent colors (theme colors)
// @each $name, $color in $theme-colors {
// @include accent-variant($name, $color);
// }
// // Accent colors (colors)
// @each $name, $color in $colors {
// @include accent-variant($name, $color);
// }
// Accent button override fix
[class*="accent-"] {
@each $name, $color in $theme-colors {
a.btn-#{$name} {
color: color-contrast($color);
}
}
}

View File

@ -1,25 +0,0 @@
// Custom Utilities
$utilities: () !default;
// stylelint-disable-next-line scss/dollar-variable-default
$utilities: map-merge(
(
// util-opacity
"opacity": (
property: opacity,
values: (
0: 0,
20: .2,
30: .3,
40: .4,
50: .5,
60: .6,
70: .7,
80: .8,
90: .9,
100: 1,
)
)
),
$utilities
);

View File

@ -11,7 +11,7 @@
&.chat-pane-open {
.direct-chat-contacts {
@include translate(0, 0);
transform: translate(0, 0);
}
}
@ -30,10 +30,10 @@
}
.direct-chat-messages {
@include translate(0, 0);
height: 250px;
padding: 10px;
overflow: auto;
transform: translate(0, 0);
}
.direct-chat-msg,
@ -129,12 +129,11 @@
//Direct chat contacts pane
.direct-chat-contacts-open {
.direct-chat-contacts {
@include translate(0, 0);
transform: translate(0, 0);
}
}
.direct-chat-contacts {
@include translate(101%, 0);
position: absolute;
top: 0;
bottom: 0;
@ -143,6 +142,7 @@
overflow: auto;
color: var(--#{$prefix}body-bg);
background-color: var(--#{$prefix}body-color);
transform: translate(101%, 0);
}
.direct-chat-contacts-light {

View File

@ -117,7 +117,7 @@
// Add fade animation to dropdown menus by appending
// the class .animated-dropdown-menu to the .dropdown-menu ul (or ol)
.open:not(.dropup) > .animated-dropdown-menu {
@include animation(flipInX .7s both);
animation: flipInX .7s both;
backface-visibility: visible !important;
}

View File

@ -9,6 +9,4 @@
@import "mixins/nav-treeview-dark";
@import "mixins/nav-treeview-light";
@import "mixins/cards";
@import "mixins/backgrounds";
@import "mixins/direct-chat";
@import "mixins/miscellaneous";

View File

@ -1,10 +0,0 @@
//
// Component: Text
//
// text color variations
@each $name, $color in $colors {
.text-#{$name} {
color: #{$color} !important;
}
}

View File

@ -1,5 +1,5 @@
// Body background (Affects main content background only)
$lte-main-bg-dark: $body-bg-dark !default;
$lte-main-bg-dark: $body-tertiary-bg-dark !default;
$lte-main-color-dark: $body-color-dark !default;
// Dark sidebar

View File

@ -150,7 +150,7 @@ $lte-progress-bar-border-radius: 1px !default;
// DIRECT CHAT
// --------------------------------------------------------
$lte-direct-chat-default-msg-bg: var(--#{$prefix}secondary-bg) !default;
$lte-direct-chat-default-font-color: var(--#{$prefix}body-color) !default;
$lte-direct-chat-default-font-color: var(--#{$prefix}emphasis-color) !default;
$lte-direct-chat-default-msg-border-color: var(--#{$prefix}border-color) !default;
// Z-INDEX

View File

@ -9,7 +9,7 @@
"main-sidebar main-header"
"main-sidebar content-wrapper"
"main-sidebar main-footer";
grid-template-rows: min-content 100% min-content;
grid-template-rows: min-content 1fr min-content;
grid-template-columns: auto minmax(100%, max-content);
grid-gap: 0;
align-content: stretch;

View File

@ -12,7 +12,6 @@
// AdminLTE Configuration
// ---------------------------------------------------
@import "bootstrap-variables"; // little modified are here
@import "custom-utilities";
// Bootstrap Configuration
// ---------------------------------------------------

View File

@ -1,31 +0,0 @@
//
// Mixins: Backgrounds
//
// Background Variant
@mixin background-variant($name, $color) {
.bg-#{$name} {
background-color: #{$color} !important;
&,
> a {
color: color-contrast($color) !important;
}
&.btn {
&:hover {
color: shade-color(color-contrast($color), 7.5%);
border-color: shade-color($color, 10%);
}
&:not(:disabled):not(.disabled):active,
&:not(:disabled):not(.disabled).active,
&:active,
&.active {
color: color-contrast(shade-color($color, 10%));
background-color: shade-color($color, 10%) !important;
border-color: shade-color($color, 12.5%);
}
}
}
}

View File

@ -1,31 +0,0 @@
//
// Mixins: Miscellaneous
//
// ETC
@mixin translate($x, $y) {
transform: translate($x, $y);
}
// Different radius each side
// @mixin border-radius-sides($top-left, $top-right, $bottom-left, $bottom-right) {
// border-radius: $top-left $top-right $bottom-left $bottom-right;
// }
// @mixin calc($property, $expression) {
// #{$property}: calc(#{$expression});
// }
@mixin rotate($value) {
transform: rotate($value);
}
@mixin animation($animation) {
animation: $animation;
}
// Gradient background
// @mixin gradient($color: #f5f5f5, $start: #eee, $stop: $white) {
// background-color: $color;
// background-image: gradient(linear, left bottom, left top, color-stop(0, $start), color-stop(1, $stop));
// }

View File

@ -3,5 +3,3 @@
//
@import "../miscellaneous";
@import "../text";
@import "../colors";