theme: regular buttons to match gtk
This commit is contained in:
parent
d44da2c370
commit
6cab54f5f5
@ -29,6 +29,7 @@ $osd_borders_color: transparentize(black, 0.3);
|
|||||||
$osd_outer_borders_color: if($variant=='light', transparentize(black, 0.6), #3d3d3d);
|
$osd_outer_borders_color: if($variant=='light', transparentize(black, 0.6), #3d3d3d);
|
||||||
|
|
||||||
$tooltip_borders_color: $osd_outer_borders_color;
|
$tooltip_borders_color: $osd_outer_borders_color;
|
||||||
|
$shadow_color: transparentize(black, 0.9);
|
||||||
|
|
||||||
//insensitive state derived colors
|
//insensitive state derived colors
|
||||||
$insensitive_fg_color: mix($fg_color, $bg_color, 50%);
|
$insensitive_fg_color: mix($fg_color, $bg_color, 50%);
|
||||||
|
@ -45,7 +45,7 @@ stage {
|
|||||||
/* WIDGETS */
|
/* WIDGETS */
|
||||||
|
|
||||||
/* Buttons */
|
/* Buttons */
|
||||||
.button {
|
.button, %button {
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
border-width: 1px;
|
border-width: 1px;
|
||||||
min-height: 22px;
|
min-height: 22px;
|
||||||
@ -1067,15 +1067,7 @@ StScrollBar {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.message-list-clear-button.button {
|
.message-list-clear-button.button {
|
||||||
background-color: $bg_color;
|
@extend %button;
|
||||||
color: $fg_color;
|
|
||||||
box-shadow: none;
|
|
||||||
border-color: $_bubble_borders_color;
|
|
||||||
&:hover,&:focus { background-color: $_hover_bg_color; }
|
|
||||||
&:active {
|
|
||||||
background-color: $selected_bg_color;
|
|
||||||
color: $selected_fg_color;
|
|
||||||
}
|
|
||||||
margin: 1.5em 1.5em 0;
|
margin: 1.5em 1.5em 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -127,7 +127,7 @@
|
|||||||
$_hilight_color: _button_hilight_color($c);
|
$_hilight_color: _button_hilight_color($c);
|
||||||
$_button_edge: if($edge == none, none, _widget_edge($edge));
|
$_button_edge: if($edge == none, none, _widget_edge($edge));
|
||||||
$_blank_edge: if($edge == none, none, _widget_edge(transparentize($edge,1)));
|
$_blank_edge: if($edge == none, none, _widget_edge(transparentize($edge,1)));
|
||||||
|
$_button_shadow: 0 1px 2px transparentize($shadow_color, 0.03);
|
||||||
|
|
||||||
@if $t==normal {
|
@if $t==normal {
|
||||||
//
|
//
|
||||||
@ -137,7 +137,7 @@
|
|||||||
color: $tc;
|
color: $tc;
|
||||||
background-color: $c;
|
background-color: $c;
|
||||||
border-color: $borders_color;
|
border-color: $borders_color;
|
||||||
box-shadow: none;
|
box-shadow: $_button_shadow;
|
||||||
text-shadow: 0 1px black;
|
text-shadow: 0 1px black;
|
||||||
icon-shadow: 0 1px black;
|
icon-shadow: 0 1px black;
|
||||||
}
|
}
|
||||||
@ -148,7 +148,7 @@
|
|||||||
color: $tc;
|
color: $tc;
|
||||||
text-shadow: 0 1px black;
|
text-shadow: 0 1px black;
|
||||||
icon-shadow: 0 1px black;
|
icon-shadow: 0 1px black;
|
||||||
box-shadow: inset 0px 0px 0px 1px $selected_bg_color;
|
box-shadow: $_button_shadow, inset 0px 0px 0px 1px $selected_bg_color;
|
||||||
}
|
}
|
||||||
|
|
||||||
@else if $t==hover {
|
@else if $t==hover {
|
||||||
@ -158,7 +158,7 @@
|
|||||||
color: $tc;
|
color: $tc;
|
||||||
border-color: $borders_color;
|
border-color: $borders_color;
|
||||||
background-color: $c;
|
background-color: $c;
|
||||||
box-shadow: none;
|
box-shadow: $_button_shadow;
|
||||||
text-shadow: 0 1px black;
|
text-shadow: 0 1px black;
|
||||||
icon-shadow: 0 1px black;
|
icon-shadow: 0 1px black;
|
||||||
|
|
||||||
@ -172,6 +172,7 @@
|
|||||||
background-color: $c;
|
background-color: $c;
|
||||||
text-shadow: none;
|
text-shadow: none;
|
||||||
icon-shadow: none;
|
icon-shadow: none;
|
||||||
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
@else if $t==insensitive {
|
@else if $t==insensitive {
|
||||||
|
|
||||||
|
@ -26,6 +26,7 @@ $osd_borders_color: transparentize(black, 0.3);
|
|||||||
$osd_outer_borders_color: transparentize(white, 0.9);
|
$osd_outer_borders_color: transparentize(white, 0.9);
|
||||||
|
|
||||||
$tooltip_borders_color: $osd_outer_borders_color;
|
$tooltip_borders_color: $osd_outer_borders_color;
|
||||||
|
$shadow_color: transparentize(black, 0.9);
|
||||||
|
|
||||||
//insensitive state derived colors
|
//insensitive state derived colors
|
||||||
$insensitive_fg_color: mix($fg_color, $bg_color, 50%);
|
$insensitive_fg_color: mix($fg_color, $bg_color, 50%);
|
||||||
|
Loading…
Reference in New Issue
Block a user