fixed update colors

This commit is contained in:
Andy Miller
2016-03-04 23:17:21 -07:00
parent 6fa90d3755
commit 5d323ed7f3
5 changed files with 27 additions and 10 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -353,15 +353,18 @@ tr {
}
#admin-main {
.grav-update {
background: $update-bg;
color: $update-text;
.admin-block {
.grav-update {
background: $update-bg;
color: $update-text;
.button {
@include button-color(shade($update-bg, 20%));
.button {
@include button-color(shade($update-bg, 20%), $update-text, true);
}
}
}
.titlebar {
background: $toolbar-bg;
color: $toolbar-text;
@@ -972,6 +975,16 @@ form {
color: lighten($content-text, 10%);
}
.gpm-ribbon, .badge.update {
background: $update-bg;
a, & {
color: $update-text !important;
&:hover {
background: shade($update-bg, 15%);
}
}
}
.gpm-update {
.gpm-name {
color: $button-bg;

View File

@@ -26,12 +26,16 @@
}
@mixin button-color($color, $text:$white) {
@mixin button-color($color, $text:$white, $lighter:null) {
color: rgba($text, 0.85);
border-radius: $border-radius;
background: $color;
@if (lightness($color) > 50) {
@if ($lighter == null) {
$lighter: lightness($color) > 50;
}
@if ($lighter) {
&:hover {
background: shade($color,15%);
color: $text;