"stylelint-declaration-use-variable"
],
"rules": {
- "declaration-property-value-blacklist": null,
"function-parentheses-space-inside": null,
"indentation": null,
- "property-no-vendor-prefix": null,
"selector-no-qualifying-type": null,
"selector-class-pattern": null,
"selector-pseudo-element-no-unknown": null,
"selector-max-id": null,
"selector-max-compound-selectors": null,
- "scss/selector-no-redundant-nesting-selector": null,
- "scss/dollar-variable-pattern": null,
"scss/at-extend-no-missing-placeholder": null,
"max-nesting-depth": null,
"scss/at-import-partial-extension-blacklist": null,
"value-no-vendor-prefix": null,
+ "scss/dollar-variable-pattern": [
+ "^([a-z][a-z0-9]*)(-[a-z0-9]+)*$",
+ "message": "Variable name should be written in lower kebab-case (scss/dollar-variable-pattern)"
+ ],
"sh-waqar/declaration-use-variable": [
[
"/color/",
.form-control,
.form-control:focus {
background-color: $color-password-toggle-bg;
- border: none;
- -webkit-box-shadow: none;
+ border: 0;
box-shadow: none;
color: $color-password-toggle-text;
filter: none;
}
.modal-header {
- border-bottom: none;
+ border-bottom: 0;
}
.modal-header .close {
}
.modal-footer {
- border-top: none;
+ border-top: 0;
display: block;
padding: 15px 80px 35px;
}
background-color: $color-nav-active-link-bg;
}
- & > li > a:hover {
+ > li > a:hover {
background-color: $color-nav-active-link-bg;
}
}
color: $color-solid-white;
}
- & > .badge {
+ > .badge {
margin-left: 5px;
}
}
.dataTables_header {
background-color: $color-table-header-bg;
border: 1px solid $color-table-header-border;
- border-bottom: none;
+ border-bottom: 0;
padding: 5px;
position: relative;
.datatable-header {
background-clip: padding-box;
background-color: $color-table-datatable-header;
- background-image: -webkit-linear-gradient(
- top,
- $color-table-gradient-1 0,
- $color-table-gradient-2 100%
- );
- background-image: -o-linear-gradient(
- top,
- $color-table-gradient-1 0,
- $color-table-gradient-2 100%
- );
background-image: linear-gradient(
to bottom,
$color-table-gradient-1 0,
}
&:first-child {
- border-left: none;
+ border-left: 0;
}
}
}
@include table-cell;
&:first-child {
- border-left: none;
+ border-left: 0;
}
.datatable-body-cell-label {
/* Notification icons */
.toast-message .custom-icon {
/* Display icons in white, regardless of their origin color. */
- -webkit-filter: brightness(0) invert(1);
- -moz-filter: brightness(0) invert(1);
- -o-filter: brightness(0) invert(1);
- -ms-filter: brightness(0) invert(1);
filter: brightness(0) invert(1);
}
/* Block UI */
}
canvas {
- -moz-user-select: none;
- -webkit-user-select: none;
- -ms-user-select: none;
user-select: none;
}
pointer-events: none;
position: absolute;
- -webkit-transform: translate(-50%, 0);
transform: translate(-50%, 0);
- -webkit-transition: all 0.1s ease;
transition: all 0.1s ease;
&.transform-left {
$color-rgw-icon: $color-blue-gray !default;
@mixin table-cell {
- border: none;
+ border: 0;
border-bottom: 1px solid $color-light-gray;
border-left: 1px solid $color-light-gray;
padding: 5px;
$u4: unit($max-font-size);
@if $u1 == $u2 and $u1 == $u3 and $u1 == $u4 {
- & {
- font-size: $min-font-size;
- @media screen and (min-width: $min-vw) {
- font-size: calc(
- #{$min-font-size} + #{strip-unit($max-font-size - $min-font-size)} *
- ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)})
- );
- }
- @media screen and (min-width: $max-vw) {
- font-size: $max-font-size;
- }
+ font-size: $min-font-size;
+ @media screen and (min-width: $min-vw) {
+ font-size: calc(
+ #{$min-font-size} + #{strip-unit($max-font-size - $min-font-size)} *
+ ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)})
+ );
+ }
+ @media screen and (min-width: $max-vw) {
+ font-size: $max-font-size;
}
}
}