mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
scss: fix hardcoded colors
This commit is contained in:
parent
b193e2d715
commit
7c7ab64e15
5 changed files with 4 additions and 10 deletions
|
@ -37,7 +37,7 @@ export default {
|
||||||
@include media-breakpoint-up(md) {
|
@include media-breakpoint-up(md) {
|
||||||
margin: .25rem 0;
|
margin: .25rem 0;
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: rgba(0, 0, 0, 0.05);
|
background-color: rgba($black, 0.05);
|
||||||
border-radius: 0.2rem;
|
border-radius: 0.2rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,13 +39,9 @@ export default {
|
||||||
@each $color, $value in $theme-colors {
|
@each $color, $value in $theme-colors {
|
||||||
&.#{$color} {
|
&.#{$color} {
|
||||||
background-color: $value;
|
background-color: $value;
|
||||||
color: $white;
|
color: color-yiq($value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.warning {
|
|
||||||
color: $black;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -150,7 +150,7 @@ export default {
|
||||||
padding-top: .5rem;
|
padding-top: .5rem;
|
||||||
position: sticky;
|
position: sticky;
|
||||||
top: 0;
|
top: 0;
|
||||||
background-color: white;
|
background-color: $white;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -101,8 +101,6 @@ $b-toast-background-opacity: 100%;
|
||||||
@import '~bootstrap-vue/src/variables';
|
@import '~bootstrap-vue/src/variables';
|
||||||
|
|
||||||
|
|
||||||
$body-color: $gray-800;
|
|
||||||
|
|
||||||
$hr-border-color: $gray-200;
|
$hr-border-color: $gray-200;
|
||||||
|
|
||||||
$list-group-action-color: $gray-800;
|
$list-group-action-color: $gray-800;
|
||||||
|
|
|
@ -178,7 +178,7 @@ body {
|
||||||
.row-line {
|
.row-line {
|
||||||
@include media-breakpoint-up(md) {
|
@include media-breakpoint-up(md) {
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: rgba(0, 0, 0, 0.05);
|
background-color: rgba($black, 0.05);
|
||||||
border-radius: 0.2rem;
|
border-radius: 0.2rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue