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) {
|
||||
margin: .25rem 0;
|
||||
&:hover {
|
||||
background-color: rgba(0, 0, 0, 0.05);
|
||||
background-color: rgba($black, 0.05);
|
||||
border-radius: 0.2rem;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -39,13 +39,9 @@ export default {
|
|||
@each $color, $value in $theme-colors {
|
||||
&.#{$color} {
|
||||
background-color: $value;
|
||||
color: $white;
|
||||
color: color-yiq($value);
|
||||
}
|
||||
}
|
||||
|
||||
&.warning {
|
||||
color: $black;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -150,7 +150,7 @@ export default {
|
|||
padding-top: .5rem;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
background-color: white;
|
||||
background-color: $white;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -101,8 +101,6 @@ $b-toast-background-opacity: 100%;
|
|||
@import '~bootstrap-vue/src/variables';
|
||||
|
||||
|
||||
$body-color: $gray-800;
|
||||
|
||||
$hr-border-color: $gray-200;
|
||||
|
||||
$list-group-action-color: $gray-800;
|
||||
|
|
|
@ -178,7 +178,7 @@ body {
|
|||
.row-line {
|
||||
@include media-breakpoint-up(md) {
|
||||
&:hover {
|
||||
background-color: rgba(0, 0, 0, 0.05);
|
||||
background-color: rgba($black, 0.05);
|
||||
border-radius: 0.2rem;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue