Tweaks
parent
b9cb3ea16f
commit
62ae6c14a2
|
@ -20,10 +20,6 @@ $modules: () !default;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@function mix($color1, $color2, $amount) {
|
|
||||||
@return unquote("mix(#{$color1},#{$color2},#{$amount})");
|
|
||||||
}
|
|
||||||
|
|
||||||
@function border_normal($color) {
|
@function border_normal($color) {
|
||||||
@return shade($color, $contrast);
|
@return shade($color, $contrast);
|
||||||
}
|
}
|
||||||
|
|
|
@ -79,7 +79,7 @@
|
||||||
@extend %linked_button;
|
@extend %linked_button;
|
||||||
|
|
||||||
box-shadow: inset -1px 0 border_normal(rgba(0, 0, 0, .12 + $border_strength)),
|
box-shadow: inset -1px 0 border_normal(rgba(0, 0, 0, .12 + $border_strength)),
|
||||||
0 1px 2px -1px fade-out($dark_shadow, .98 + $shadow_strength);
|
0 1px 2px -1px fade-out($dark_shadow, .88 + $shadow_strength);
|
||||||
|
|
||||||
&:focus, &:hover {
|
&:focus, &:hover {
|
||||||
box-shadow: inset -1px 0 border_focus(rgba(0, 0, 0, .12 + $border_strength)),
|
box-shadow: inset -1px 0 border_focus(rgba(0, 0, 0, .12 + $border_strength)),
|
||||||
|
@ -97,7 +97,7 @@
|
||||||
|
|
||||||
&:insensitive { box-shadow: inset -1px 0 shade($bg, .8); }
|
&:insensitive { box-shadow: inset -1px 0 shade($bg, .8); }
|
||||||
|
|
||||||
&:last-child, &:only-child { box-shadow: 0 1px 2px -1px fade-out($dark_shadow, .98 + $shadow_strength); }
|
&:last-child, &:only-child { box-shadow: 0 1px 2px -1px fade-out($dark_shadow, .88 + $shadow_strength); }
|
||||||
|
|
||||||
&:last-child:hover, &:only-child:hover { box-shadow: 0 1px 2px -1px fade-out($dark_shadow, .78 + $shadow_strength); }
|
&:last-child:hover, &:only-child:hover { box-shadow: 0 1px 2px -1px fade-out($dark_shadow, .78 + $shadow_strength); }
|
||||||
|
|
||||||
|
|
|
@ -99,9 +99,9 @@
|
||||||
-GtkWidget-vertical-separator: 0;
|
-GtkWidget-vertical-separator: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
GtkLabel:last-child { color: fade-out(currentColor, .3); }
|
GtkLabel:last-child { color: currentColor; }
|
||||||
|
|
||||||
GtkImage:last-child { color: fade-out(currentColor, .3); }
|
GtkImage:last-child { color: currentColor; }
|
||||||
}
|
}
|
||||||
|
|
||||||
GtkFileChooser {
|
GtkFileChooser {
|
||||||
|
|
|
@ -238,7 +238,7 @@
|
||||||
|
|
||||||
GtkModelButton.button {
|
GtkModelButton.button {
|
||||||
&, &:backdrop {
|
&, &:backdrop {
|
||||||
@include button(transparent, currentColor);
|
@include button(transparent, $menu_fg_color);
|
||||||
|
|
||||||
&:focus:hover, &:active:hover, &:hover, &:selected {
|
&:focus:hover, &:active:hover, &:hover, &:selected {
|
||||||
background-image: none;
|
background-image: none;
|
||||||
|
|
|
@ -81,18 +81,12 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.expander {
|
.expander {
|
||||||
color: fade-out(currentColor, .3);
|
color: currentColor;
|
||||||
border: fade-out(currentColor, .3);
|
opacity: .7;
|
||||||
|
|
||||||
&:hover {
|
&:hover { opacity: .8; }
|
||||||
color: fade-out(currentColor, .2);
|
|
||||||
border-color: fade-out(currentColor, .2);
|
|
||||||
}
|
|
||||||
|
|
||||||
&:active {
|
&:active { opacity: .7; }
|
||||||
color: fade-out(currentColor, .1);
|
|
||||||
border-color: fade-out(currentColor, .1);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -103,11 +97,15 @@
|
||||||
|
|
||||||
@include exports("symbolicimage") {
|
@include exports("symbolicimage") {
|
||||||
.image {
|
.image {
|
||||||
color: fade-out(currentColor, .5);
|
color: currentColor;
|
||||||
|
opacity: .5;
|
||||||
|
|
||||||
&:hover { color: fade-out(currentColor, .1); }
|
&:hover { opacity: .9; }
|
||||||
|
|
||||||
&:selected, &:selected:hover { color: $selected_fg_color; }
|
&:selected, &:selected:hover {
|
||||||
|
color: $selected_fg_color;
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -77,14 +77,14 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.dim-label {
|
.dim-label {
|
||||||
&, &.view { color: fade-out(currentColor, .5); }
|
&, &.view { opacity: .3; }
|
||||||
}
|
}
|
||||||
|
|
||||||
.dnd { border: 1px solid $selected_bg_color; }
|
.dnd { border: 1px solid $selected_bg_color; }
|
||||||
|
|
||||||
.grip { background-color: transparent; }
|
.grip { background-color: transparent; }
|
||||||
|
|
||||||
.arrow { color: fade-out(currentColor, .3); }
|
.arrow { opacity: .3; }
|
||||||
|
|
||||||
.rubberband {
|
.rubberband {
|
||||||
&, &.view, &.content-view.view {
|
&, &.view, &.content-view.view {
|
||||||
|
|
Loading…
Reference in New Issue