* Calendar rewirte.

pull/412/head
Megax 2016-05-08 11:54:48 +02:00
parent b9ed4f709b
commit 965fc01fb4
3 changed files with 59 additions and 14 deletions

View File

@ -53,6 +53,13 @@
outline-color: transparent; outline-color: transparent;
} }
%undecorated_button {
border-color: transparent;
background-color: transparent;
background-image: none;
box-shadow: none;
}
%linked_middle { %linked_middle {
border-radius: 0; border-radius: 0;
border-left-style: none; border-left-style: none;

View File

@ -7,17 +7,62 @@
padding: $spacing; padding: $spacing;
outline-offset: -1px; outline-offset: -1px;
&:indeterminate { color: mix($fg_color, $bg_color, .5); } color: $text_color;
&.view, &.highlight, &.header, &.button { &.view {
&, &:focus, &:hover, &:disabled { &, &:backdrop { @extend %undecorated_button; }
border: 0; }
background-color: transparent;
background-image: none; &:selected {
@extend %selected_items;
padding: 5px;
border-radius: $roundness;
}
&.header {
border-bottom: 1px solid transparentize($black, .9);
border-radius: 0;
&:backdrop { border-color: transparentize($black, .9); }
}
&.button {
@extend %undecorated_button;
color: alpha($fg_color, .55);
&:hover {
@extend %undecorated_button;
color: $fg_color;
}
&:backdrop {
@extend %undecorated_button;
color: alpha($backdrop_fg_color, .55);
}
&:disabled {
@extend %undecorated_button;
color: alpha($insensitive_fg_color, .55);
} }
} }
&.highlight { color: $selected_bg_color; } &:indeterminate,
&:indeterminate:backdrop { color: mix($fg_color, $bg_color, .5); }
&.highlight,
&.highlight:backdrop {
font-size: smaller;
color: $selected_bg_color;
}
&:backdrop {
color: $backdrop_text_color;
}
} }
/* gnome-calendar */ /* gnome-calendar */

View File

@ -185,13 +185,6 @@
} }
} }
%undecorated_button {
border-color: transparent;
background-color: transparent;
background-image: none;
box-shadow: none;
}
/********* /*********
! Popover ! Popover