mirror of
https://github.com/tabler/tabler.git
synced 2025-12-21 17:34:25 +04:00
code cleanup
This commit is contained in:
@@ -3,7 +3,7 @@ $code-yellow: #ffe484;
|
||||
$code-purple: #d9a9ff;
|
||||
$code-red: #ff8383;
|
||||
$code-blue: #93ddfd;
|
||||
//$code-white: #ffffff;
|
||||
//$code-white: $white;
|
||||
$code-gray: #a0aec0;
|
||||
|
||||
pre.highlight,
|
||||
|
||||
@@ -196,7 +196,7 @@ Navbar
|
||||
.navbar-dark {
|
||||
.nav-item.active {
|
||||
.nav-link {
|
||||
background-color: rgba(#000, .1);
|
||||
background-color: rgba($black, .1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
background: $gray-500;
|
||||
|
||||
@if ($is-dark) {
|
||||
background: mix(#ffffff, $dark, 20%);
|
||||
background: mix($white, $dark, 20%);
|
||||
} @else {
|
||||
background: $gray-500;
|
||||
}
|
||||
|
||||
@@ -8,10 +8,10 @@
|
||||
}
|
||||
}
|
||||
|
||||
.alert{
|
||||
a{
|
||||
.alert {
|
||||
a {
|
||||
display: inline-block;
|
||||
height:100%;
|
||||
height: 100%;
|
||||
|
||||
.icon {
|
||||
height: 100%;
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
border-radius: $border-radius-full;
|
||||
box-shadow: 0 0 0 2px #fff;
|
||||
box-shadow: 0 0 0 2px $white;
|
||||
}
|
||||
|
||||
@at-root a#{&} {
|
||||
@@ -73,7 +73,7 @@
|
||||
.avatar-list-stacked {
|
||||
.avatar {
|
||||
margin-right: -.5rem !important;
|
||||
box-shadow: 0 0 0 2px #fff;
|
||||
box-shadow: 0 0 0 2px $white;
|
||||
|
||||
@at-root .card-footer & {
|
||||
box-shadow: 0 0 0 2px $card-cap-bg;
|
||||
|
||||
@@ -88,7 +88,7 @@
|
||||
&.range-start,
|
||||
&.range-end {
|
||||
.date-item {
|
||||
color: #fff;
|
||||
color: $white;
|
||||
background: $primary;
|
||||
border-color: $primary;
|
||||
}
|
||||
|
||||
@@ -347,7 +347,7 @@ Card code
|
||||
|
||||
pre {
|
||||
margin: 0;
|
||||
color: #ffffff;
|
||||
color: $white;
|
||||
text-shadow: none;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
@@ -88,7 +88,7 @@
|
||||
}
|
||||
|
||||
.dropright {
|
||||
>.dropdown-menu {
|
||||
> .dropdown-menu {
|
||||
margin-top: subtract(-$dropdown-padding-y, 1px);
|
||||
margin-left: 0;
|
||||
}
|
||||
@@ -103,7 +103,7 @@
|
||||
.dropdown-menu-card {
|
||||
padding: 0;
|
||||
|
||||
>.card {
|
||||
> .card {
|
||||
margin: 0;
|
||||
border: 0;
|
||||
box-shadow: none;
|
||||
|
||||
@@ -61,7 +61,7 @@ Form control
|
||||
*/
|
||||
.form-control {
|
||||
&:-webkit-autofill {
|
||||
box-shadow: 0 0 0 1000px #ffffff inset;
|
||||
box-shadow: 0 0 0 1000px $white inset;
|
||||
}
|
||||
|
||||
&:disabled,
|
||||
@@ -143,7 +143,7 @@ Form help
|
||||
|
||||
&:hover,
|
||||
&[aria-describedby] {
|
||||
color: #ffffff;
|
||||
color: $white;
|
||||
background: $primary;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -85,7 +85,7 @@
|
||||
justify-content: center;
|
||||
width: 2.5rem;
|
||||
height: 2.5rem;
|
||||
color: #ffffff;
|
||||
color: $white;
|
||||
text-align: center;
|
||||
background: $text-muted;
|
||||
border-radius: $border-radius-full;
|
||||
@@ -198,7 +198,7 @@ Inline list
|
||||
|
||||
.list-inline-dots {
|
||||
.list-inline-item + .list-inline-item:before {
|
||||
content: ' · ';
|
||||
margin-inline-end: $list-inline-padding;
|
||||
content: ' · ';
|
||||
margin-inline-end: $list-inline-padding;
|
||||
}
|
||||
}
|
||||
@@ -40,7 +40,7 @@ Markdown
|
||||
}
|
||||
}
|
||||
|
||||
>hr {
|
||||
> hr {
|
||||
@include media-breakpoint-up(md) {
|
||||
margin-top: 3em;
|
||||
margin-bottom: 3em;
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
color: $text-muted;
|
||||
text-transform: uppercase;
|
||||
|
||||
.page-item.disabled &{
|
||||
.page-item.disabled & {
|
||||
color: $pagination-disabled-color;
|
||||
}
|
||||
}
|
||||
@@ -46,7 +46,7 @@
|
||||
color: $link-color;
|
||||
}
|
||||
|
||||
.page-item.disabled &{
|
||||
.page-item.disabled & {
|
||||
color: $pagination-disabled-color;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
font-size: $h6-font-size;
|
||||
font-weight: $font-weight-bold;
|
||||
line-height: 1.5rem;
|
||||
color: #fff;
|
||||
color: $white;
|
||||
text-align: center;
|
||||
text-transform: uppercase;
|
||||
background: $primary;
|
||||
|
||||
@@ -81,7 +81,7 @@
|
||||
box-sizing: content-box;
|
||||
display: block;
|
||||
content: "";
|
||||
border: 2px solid #fff;
|
||||
border: 2px solid $white;
|
||||
border-radius: $border-radius-full;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
@@ -90,7 +90,7 @@
|
||||
font-weight: $font-weight-bold;
|
||||
|
||||
&:before {
|
||||
background: #fff;
|
||||
background: $white;
|
||||
}
|
||||
|
||||
& ~ .step-item {
|
||||
@@ -123,7 +123,7 @@
|
||||
|
||||
&.active ~ .step-item {
|
||||
&:before {
|
||||
background: #fff;
|
||||
background: $white;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
.toast-header {
|
||||
user-select: none;
|
||||
}
|
||||
.toast button[data-dismiss="toast"]{
|
||||
|
||||
.toast button[data-dismiss="toast"] {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
@@ -111,7 +111,7 @@ pre {
|
||||
tab-size: 3;
|
||||
border-radius: $border-radius;
|
||||
white-space: pre-wrap;
|
||||
background: mix($light, #fff, 50%);
|
||||
background: mix($light, #ffffff, 50%);
|
||||
-webkit-font-smoothing: auto;
|
||||
|
||||
code {
|
||||
@@ -131,7 +131,7 @@ img {
|
||||
Selection
|
||||
*/
|
||||
::selection {
|
||||
color: #fff;
|
||||
color: $white;
|
||||
background-color: lighten($primary, 8%);
|
||||
}
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ Color Input
|
||||
display: block;
|
||||
width: 1.5rem;
|
||||
height: 1.5rem;
|
||||
color: #fff;
|
||||
color: $white;
|
||||
border: 1px solid $border-color-transparent;
|
||||
border-radius: 3px;
|
||||
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .05);
|
||||
|
||||
@@ -38,7 +38,7 @@ Image check
|
||||
display: block;
|
||||
width: $form-check-input-width;
|
||||
height: $form-check-input-width;
|
||||
color: #fff;
|
||||
color: $white;
|
||||
pointer-events: none;
|
||||
content: "";
|
||||
user-select: none;
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
.bg-white-overlay {
|
||||
color: #fff;
|
||||
color: $white;
|
||||
background-color: $light-white;
|
||||
}
|
||||
|
||||
.bg-dark-overlay {
|
||||
color: #fff;
|
||||
color: $white;
|
||||
background-color: $light-black;
|
||||
}
|
||||
|
||||
|
||||
2
src/scss/vendor/_apexcharts.scss
vendored
2
src/scss/vendor/_apexcharts.scss
vendored
@@ -15,7 +15,7 @@
|
||||
|
||||
.apexcharts-tooltip {
|
||||
line-height: 1;
|
||||
color: #fff;
|
||||
color: $white;
|
||||
background: $dark !important;
|
||||
border: 0 !important;
|
||||
border-radius: 3px !important;
|
||||
|
||||
2
src/scss/vendor/_fullcalendar.scss
vendored
2
src/scss/vendor/_fullcalendar.scss
vendored
@@ -21,7 +21,7 @@
|
||||
}
|
||||
|
||||
.fc-button {
|
||||
//@include button-variant(#ffffff, $border-color, $text-muted);
|
||||
//@include button-variant($white, $border-color, $text-muted);
|
||||
//@include button-size($btn-padding-y, $btn-padding-x, $btn-font-size, $btn-border-radius);
|
||||
//@include transition($btn-transition);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user