some tweaks including spinbuttons and checks/radios
This commit is contained in:
parent
6959ccfe12
commit
3287e4fe67
|
@ -81,8 +81,8 @@ these are pretty self explicative */
|
||||||
@define-color success_color #73d216;
|
@define-color success_color #73d216;
|
||||||
|
|
||||||
/*Window headers*/
|
/*Window headers*/
|
||||||
@define-color theme_header_bg @theme_selected_bg_color;
|
@define-color theme_header_bg mix(@theme_selected_bg_color, @theme_bg_color, 0.5);
|
||||||
@define-color theme_header_unfocused_bg #16371b;
|
@define-color theme_header_unfocused_bg @theme_bg_color;
|
||||||
@define-color theme_header_fg @theme_selected_fg_color;
|
@define-color theme_header_fg @theme_selected_fg_color;
|
||||||
@define-color theme_header_unfocused_fg #949c3c;
|
@define-color theme_header_unfocused_fg #949c3c;
|
||||||
|
|
||||||
|
@ -308,7 +308,9 @@ entry {
|
||||||
color: @theme_fg_color;
|
color: @theme_fg_color;
|
||||||
border-color: @borders;
|
border-color: @borders;
|
||||||
background-color: @theme_base_color;
|
background-color: @theme_base_color;
|
||||||
box-shadow: inset 0 0 0 1px rgba(42, 145, 250, 0); }
|
/*box-shadow: inset 0 0 0 1px rgba(42, 145, 250, 0);*/
|
||||||
|
box-shadow: inset 0 5px 6px -3px alpha(black,0.5);
|
||||||
|
}
|
||||||
spinbutton:not(.vertical) image.left,
|
spinbutton:not(.vertical) image.left,
|
||||||
entry image.left {
|
entry image.left {
|
||||||
margin-right: 6px; }
|
margin-right: 6px; }
|
||||||
|
@ -340,6 +342,11 @@ entry {
|
||||||
background-position: right center;
|
background-position: right center;
|
||||||
border: none;
|
border: none;
|
||||||
box-shadow: none; }*/
|
box-shadow: none; }*/
|
||||||
|
|
||||||
|
spinbutton:focus button {
|
||||||
|
background-color: @theme_base_color;
|
||||||
|
}
|
||||||
|
|
||||||
spinbutton.flat:focus:not(.vertical), spinbutton.flat:backdrop:not(.vertical), spinbutton.flat:disabled:not(.vertical), spinbutton.flat:backdrop:disabled:not(.vertical), spinbutton.flat:not(.vertical),
|
spinbutton.flat:focus:not(.vertical), spinbutton.flat:backdrop:not(.vertical), spinbutton.flat:disabled:not(.vertical), spinbutton.flat:backdrop:disabled:not(.vertical), spinbutton.flat:not(.vertical),
|
||||||
entry.flat:focus,
|
entry.flat:focus,
|
||||||
entry.flat:backdrop,
|
entry.flat:backdrop,
|
||||||
|
@ -665,10 +672,10 @@ button, button.flat:hover, button.flat:focus {
|
||||||
/*border-color: shade (@borders, 0.6);*/
|
/*border-color: shade (@borders, 0.6);*/
|
||||||
border-bottom-color: alpha(@highlight_color, 0.5);
|
border-bottom-color: alpha(@highlight_color, 0.5);
|
||||||
/*background: linear-gradient(to top, shade (@theme_bg_color, 0.85), shade (@theme_bg_color, 0.9));*/
|
/*background: linear-gradient(to top, shade (@theme_bg_color, 0.85), shade (@theme_bg_color, 0.9));*/
|
||||||
background-image: linear-gradient(to top, alpha(shade (@button_bg_color, 0.85), 0.6), alpha (shade (@button_bg_color, 0.9), 0.6));
|
background-image: linear-gradient(to top, alpha(shade (@button_bg_color, 0.75), 0.6), alpha (shade (@button_bg_color, 0.8), 0.6));
|
||||||
-gtk-icon-shadow: none;
|
-gtk-icon-shadow: none;
|
||||||
/*box-shadow: inset 0px 0px 2px 0px shade (@theme_bg_color, 0.6);*/
|
/*box-shadow: inset 0px 0px 2px 0px shade (@theme_bg_color, 0.6);*/
|
||||||
box-shadow: inset 0px 0px 2px 0px shade (@button_bg_color, 0.6);
|
box-shadow: inset 0px 0px 2px 0px shade (@button_bg_color, 0.6), inset 0px 2px 2px 0px shade (@button_bg_color, 0.3);
|
||||||
transition-duration: 50ms; }
|
transition-duration: 50ms; }
|
||||||
/* notebook > header > tabs > arrow:backdrop, button.sidebar-button:backdrop, button.titlebutton:backdrop, notebook > header > tabs > arrow:backdrop, button.titlebutton:backdrop,
|
/* notebook > header > tabs > arrow:backdrop, button.sidebar-button:backdrop, button.titlebutton:backdrop, notebook > header > tabs > arrow:backdrop, button.titlebutton:backdrop,
|
||||||
button:backdrop.flat,
|
button:backdrop.flat,
|
||||||
|
@ -765,7 +772,8 @@ button, button.flat:hover, button.flat:focus {
|
||||||
outline-color: rgba(0, 0, 0, 0.1);
|
outline-color: rgba(0, 0, 0, 0.1);
|
||||||
text-shadow: none;
|
text-shadow: none;
|
||||||
background-image: image(@insensitive_bg_color);
|
background-image: image(@insensitive_bg_color);
|
||||||
box-shadow: inset 0px 0px 2px 0px shade (@button_bg_color, 0.6) ;
|
box-shadow: inset 0px 2px 2px 0px shade (@button_bg_color, 0.3) ;
|
||||||
|
border-bottom-color: alpha(@highlight_color, 0.5);
|
||||||
-gtk-icon-shadow: none; }
|
-gtk-icon-shadow: none; }
|
||||||
notebook > header > tabs > arrow.image-button, button.image-button.titlebutton,
|
notebook > header > tabs > arrow.image-button, button.image-button.titlebutton,
|
||||||
button.image-button {
|
button.image-button {
|
||||||
|
@ -3338,7 +3346,7 @@ check,
|
||||||
radio {
|
radio {
|
||||||
margin: 0 4px;
|
margin: 0 4px;
|
||||||
background: @theme_base_color;
|
background: @theme_base_color;
|
||||||
box-shadow: inset 0px 0px 0px 1px rgba(0, 0, 0, 0.2);
|
box-shadow: inset 0px 0px 0px 1px rgba(0, 0, 0, 0.5), inset 0 3px 3px 0px alpha (black, 0.5);
|
||||||
color: #FFF;
|
color: #FFF;
|
||||||
min-height: 14px;
|
min-height: 14px;
|
||||||
min-width: 14px;
|
min-width: 14px;
|
||||||
|
@ -3362,7 +3370,7 @@ radio {
|
||||||
box-shadow: none; }
|
box-shadow: none; }
|
||||||
check:hover,
|
check:hover,
|
||||||
radio:hover {
|
radio:hover {
|
||||||
box-shadow: inset 0px 0px 0px 1px rgba(0, 0, 0, 0.4); }
|
box-shadow: inset 0px 0px 0px 1px alpha (@theme_selected_bg_color, 0.8), inset 0 3px 3px 0px alpha (black, 0.5);}
|
||||||
check:active, check:checked,
|
check:active, check:checked,
|
||||||
radio:active,
|
radio:active,
|
||||||
radio:checked {
|
radio:checked {
|
||||||
|
|
Loading…
Reference in New Issue