forked from AuroraMiddleware/gtk
improve Calendar styling
slightly https://bugzilla.gnome.org/show_bug.cgi?id=729620
This commit is contained in:
parent
fa90b41fe4
commit
dfb4757f54
@ -1749,7 +1749,7 @@ GtkCalendar {
|
||||
border: 1px solid $borders_color;
|
||||
&.button {
|
||||
@extend %undecorated_button;
|
||||
padding: 0 4px;
|
||||
padding: 0 4px; //FIXME no effect on these pseudobuttons
|
||||
color: mix($fg_color, $base_color, 40%); //we need a dimmed stuff var
|
||||
&:hover {
|
||||
@extend %undecorated_button;
|
||||
@ -1760,6 +1760,13 @@ GtkCalendar {
|
||||
color: mix($backdrop_fg_color, $backdrop_base_color, 50%);
|
||||
}
|
||||
}
|
||||
&.view { border-radius: 2px; }
|
||||
&.header {
|
||||
background: linear-gradient(to bottom,
|
||||
lighten($bg_color,2%),
|
||||
darken($bg_color,2%));
|
||||
border-bottom-color: mix($borders_color,$bg_color,50%);
|
||||
}
|
||||
}
|
||||
|
||||
/***********
|
||||
|
@ -2338,6 +2338,11 @@ GtkCalendar {
|
||||
color: #eeeeec; }
|
||||
GtkCalendar.button:backdrop, GtkCalendar.button:backdrop:hover {
|
||||
color: #7a7b7a; }
|
||||
GtkCalendar.view {
|
||||
border-radius: 2px; }
|
||||
GtkCalendar.header {
|
||||
background: linear-gradient(to bottom, #3e4444, #343a3a);
|
||||
border-bottom-color: #2a2f2f; }
|
||||
|
||||
/***********
|
||||
* Dialogs *
|
||||
|
@ -2336,6 +2336,11 @@ GtkCalendar {
|
||||
color: #2e3436; }
|
||||
GtkCalendar.button:backdrop, GtkCalendar.button:backdrop:hover {
|
||||
color: #a8aaab; }
|
||||
GtkCalendar.view {
|
||||
border-radius: 2px; }
|
||||
GtkCalendar.header {
|
||||
background: linear-gradient(to bottom, #f2f2f2, #e8e8e8);
|
||||
border-bottom-color: #c7c7c7; }
|
||||
|
||||
/***********
|
||||
* Dialogs *
|
||||
|
Loading…
Reference in New Issue
Block a user