Use or create variables
This commit is contained in:
parent
9c185c4361
commit
80fbb8af7c
3 changed files with 9 additions and 8 deletions
|
@ -7,7 +7,7 @@
|
|||
&:focus,
|
||||
&:active {
|
||||
outline: none;
|
||||
@include box-shadow(inset 0 0 4px rgba(0, 0, 0, 0.12));
|
||||
@include box-shadow($gl-btn-active-background);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -28,7 +28,7 @@
|
|||
}
|
||||
|
||||
&:active {
|
||||
@include box-shadow (inset 0 0 4px rgba(0, 0, 0, 0.12));
|
||||
@include box-shadow ($gl-btn-active-background);
|
||||
|
||||
background-color: $dark;
|
||||
border-color: $border-dark;
|
||||
|
@ -190,7 +190,7 @@
|
|||
}
|
||||
|
||||
.active {
|
||||
@include box-shadow(inset 0 0 4px rgba(0, 0, 0, 0.12));
|
||||
@include box-shadow($gl-btn-active-background);
|
||||
|
||||
border: 1px solid #c6cacf !important;
|
||||
background-color: #e4e7ed !important;
|
||||
|
|
|
@ -32,11 +32,10 @@
|
|||
margin-right: 15px;
|
||||
}
|
||||
|
||||
|
||||
&:hover {
|
||||
background-color: $gray-dark;
|
||||
border-color: $border-white-normal;
|
||||
color: #313236;
|
||||
color: $gl-text-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -61,7 +60,7 @@
|
|||
|
||||
.select2-results li.select2-result-with-children > .select2-result-label {
|
||||
font-weight: 600;
|
||||
color: #313236;
|
||||
color: $gl-text-color;
|
||||
}
|
||||
|
||||
.select2-container-active {
|
||||
|
@ -76,7 +75,7 @@
|
|||
outline: 0;
|
||||
background-image: none;
|
||||
background-color: $white-dark;
|
||||
@include box-shadow (inset 0 0 4px rgba(0, 0, 0, 0.12));
|
||||
@include box-shadow($gl-btn-active-gradient);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -117,7 +116,7 @@
|
|||
&.select2-container-active .select2-choices,
|
||||
&.select2-dropdown-open .select2-choices {
|
||||
border-color: $border-white-normal;
|
||||
@include box-shadow (inset 0 0 4px rgba(0, 0, 0, 0.12));
|
||||
@include box-shadow($gl-btn-active-gradient);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -101,6 +101,8 @@ $gl-success: $green-normal;
|
|||
$gl-info: $blue-normal;
|
||||
$gl-warning: $orange-normal;
|
||||
$gl-danger: $red-normal;
|
||||
$gl-btn-active-background: rgba(0, 0, 0, 0.12);
|
||||
$gl-btn-active-gradient: inset 0 0 4px $gl-btn-active-background;
|
||||
|
||||
/*
|
||||
* Commit Diff Colors
|
||||
|
|
Loading…
Reference in a new issue