by roundabout, Thursday, 17 November 2016, 07:32:08 (1479367928), pushed by roundabout, Sunday, 11 May 2025, 13:22:02 (1746969722)
Author identity: nana-4 <hnmaigo@gmail.com>
e7f8e1008d5d9f76a49a0d7c5160da7db0e2b3e5
gtk-3.0/gtk-dark.css
@@ -486,7 +486,7 @@ button.suggested-action {
button.suggested-action:disabled {
box-shadow: none;
background-color: alpha(currentColor, 0.3);
color: rgba(255, 255, 255, 0.3); }
color: rgba(255, 255, 255, 0.4); }
button.suggested-action:checked {
background-color: #ff79a7; }
button.suggested-action.flat {
@@ -495,14 +495,16 @@ button.suggested-action {
button.suggested-action.flat:disabled {
box-shadow: none;
background-color: transparent;
color: alpha(currentColor, 0.3); }
color: alpha(currentColor, 0.4); }
button.suggested-action.flat:checked {
background-color: alpha(currentColor, 0.3); }
button.destructive-action {
background-color: #FF5252;
color: #FFFFFF; }
button.destructive-action:disabled {
box-shadow: none;
background-color: alpha(currentColor, 0.3);
color: rgba(255, 255, 255, 0.3); }
color: rgba(255, 255, 255, 0.4); }
button.destructive-action:checked {
background-color: #ff8686; }
button.destructive-action.flat {
@@ -511,7 +513,9 @@ button.destructive-action {
button.destructive-action.flat:disabled {
box-shadow: none;
background-color: transparent;
color: alpha(currentColor, 0.3); }
color: alpha(currentColor, 0.4); }
button.destructive-action.flat:checked {
background-color: alpha(currentColor, 0.3); }
.stack-switcher >
button {
outline-offset: -4px; }
@@ -1188,9 +1192,9 @@ menuitem radio:dir(rtl) {
margin-right: -16px;
margin-left: -8px; }
/***************
* Popovers *
***************/
/************
* Popovers *
************/
popover.background {
transition: box-shadow 0.2s cubic-bezier(0, 0, 0.2, 1);
padding: 2px;
@@ -3588,7 +3592,7 @@ base background color of selections on backdrop windows */
text/foreground color of selections on backdrop windows */
@define-color theme_unfocused_selected_fg_color #FFFFFF;
/*
insensitive color on backdrop windows*/
insensitive color on backdrop windows */
@define-color unfocused_insensitive_color rgba(255, 255, 255, 0.4);
/*
widgets main borders color */
@@ -3601,5 +3605,7 @@ these are pretty self explicative */
@define-color warning_color #FF6D00;
@define-color error_color #DD2C00;
@define-color success_color #00C853;
/*
FIXME this is really an API */
@define-color content_view_bg #546E7A;
@define-color placeholder_text_color #bbc5ca;
gtk-3.0/gtk-dark_laptop.css
@@ -486,7 +486,7 @@ button.suggested-action {
button.suggested-action:disabled {
box-shadow: none;
background-color: alpha(currentColor, 0.3);
color: rgba(255, 255, 255, 0.3); }
color: rgba(255, 255, 255, 0.4); }
button.suggested-action:checked {
background-color: #ff79a7; }
button.suggested-action.flat {
@@ -495,14 +495,16 @@ button.suggested-action {
button.suggested-action.flat:disabled {
box-shadow: none;
background-color: transparent;
color: alpha(currentColor, 0.3); }
color: alpha(currentColor, 0.4); }
button.suggested-action.flat:checked {
background-color: alpha(currentColor, 0.3); }
button.destructive-action {
background-color: #FF5252;
color: #FFFFFF; }
button.destructive-action:disabled {
box-shadow: none;
background-color: alpha(currentColor, 0.3);
color: rgba(255, 255, 255, 0.3); }
color: rgba(255, 255, 255, 0.4); }
button.destructive-action:checked {
background-color: #ff8686; }
button.destructive-action.flat {
@@ -511,7 +513,9 @@ button.destructive-action {
button.destructive-action.flat:disabled {
box-shadow: none;
background-color: transparent;
color: alpha(currentColor, 0.3); }
color: alpha(currentColor, 0.4); }
button.destructive-action.flat:checked {
background-color: alpha(currentColor, 0.3); }
.stack-switcher >
button {
outline-offset: -4px; }
@@ -1188,9 +1192,9 @@ menuitem radio:dir(rtl) {
margin-right: -16px;
margin-left: -8px; }
/***************
* Popovers *
***************/
/************
* Popovers *
************/
popover.background {
transition: box-shadow 0.2s cubic-bezier(0, 0, 0.2, 1);
padding: 2px;
@@ -3588,7 +3592,7 @@ base background color of selections on backdrop windows */
text/foreground color of selections on backdrop windows */
@define-color theme_unfocused_selected_fg_color #FFFFFF;
/*
insensitive color on backdrop windows*/
insensitive color on backdrop windows */
@define-color unfocused_insensitive_color rgba(255, 255, 255, 0.4);
/*
widgets main borders color */
@@ -3601,5 +3605,7 @@ these are pretty self explicative */
@define-color warning_color #FF6D00;
@define-color error_color #DD2C00;
@define-color success_color #00C853;
/*
FIXME this is really an API */
@define-color content_view_bg #546E7A;
@define-color placeholder_text_color #bbc5ca;
gtk-3.0/gtk-dark_light.css
@@ -486,7 +486,7 @@ button.suggested-action {
button.suggested-action:disabled {
box-shadow: none;
background-color: alpha(currentColor, 0.3);
color: rgba(255, 255, 255, 0.3); }
color: rgba(255, 255, 255, 0.4); }
button.suggested-action:checked {
background-color: #ff79a7; }
button.suggested-action.flat {
@@ -495,14 +495,16 @@ button.suggested-action {
button.suggested-action.flat:disabled {
box-shadow: none;
background-color: transparent;
color: alpha(currentColor, 0.3); }
color: alpha(currentColor, 0.4); }
button.suggested-action.flat:checked {
background-color: alpha(currentColor, 0.3); }
button.destructive-action {
background-color: #FF5252;
color: #FFFFFF; }
button.destructive-action:disabled {
box-shadow: none;
background-color: alpha(currentColor, 0.3);
color: rgba(255, 255, 255, 0.3); }
color: rgba(255, 255, 255, 0.4); }
button.destructive-action:checked {
background-color: #ff8686; }
button.destructive-action.flat {
@@ -511,7 +513,9 @@ button.destructive-action {
button.destructive-action.flat:disabled {
box-shadow: none;
background-color: transparent;
color: alpha(currentColor, 0.3); }
color: alpha(currentColor, 0.4); }
button.destructive-action.flat:checked {
background-color: alpha(currentColor, 0.3); }
.stack-switcher >
button {
outline-offset: -4px; }
@@ -1188,9 +1192,9 @@ menuitem radio:dir(rtl) {
margin-right: -16px;
margin-left: -8px; }
/***************
* Popovers *
***************/
/************
* Popovers *
************/
popover.background {
transition: box-shadow 0.2s cubic-bezier(0, 0, 0.2, 1);
padding: 2px;
@@ -3588,7 +3592,7 @@ base background color of selections on backdrop windows */
text/foreground color of selections on backdrop windows */
@define-color theme_unfocused_selected_fg_color #FFFFFF;
/*
insensitive color on backdrop windows*/
insensitive color on backdrop windows */
@define-color unfocused_insensitive_color rgba(255, 255, 255, 0.4);
/*
widgets main borders color */
@@ -3601,5 +3605,7 @@ these are pretty self explicative */
@define-color warning_color #FF6D00;
@define-color error_color #DD2C00;
@define-color success_color #00C853;
/*
FIXME this is really an API */
@define-color content_view_bg #546E7A;
@define-color placeholder_text_color #bbc5ca;
gtk-3.0/gtk-dark_light_laptop.css
@@ -486,7 +486,7 @@ button.suggested-action {
button.suggested-action:disabled {
box-shadow: none;
background-color: alpha(currentColor, 0.3);
color: rgba(255, 255, 255, 0.3); }
color: rgba(255, 255, 255, 0.4); }
button.suggested-action:checked {
background-color: #ff79a7; }
button.suggested-action.flat {
@@ -495,14 +495,16 @@ button.suggested-action {
button.suggested-action.flat:disabled {
box-shadow: none;
background-color: transparent;
color: alpha(currentColor, 0.3); }
color: alpha(currentColor, 0.4); }
button.suggested-action.flat:checked {
background-color: alpha(currentColor, 0.3); }
button.destructive-action {
background-color: #FF5252;
color: #FFFFFF; }
button.destructive-action:disabled {
box-shadow: none;
background-color: alpha(currentColor, 0.3);
color: rgba(255, 255, 255, 0.3); }
color: rgba(255, 255, 255, 0.4); }
button.destructive-action:checked {
background-color: #ff8686; }
button.destructive-action.flat {
@@ -511,7 +513,9 @@ button.destructive-action {
button.destructive-action.flat:disabled {
box-shadow: none;
background-color: transparent;
color: alpha(currentColor, 0.3); }
color: alpha(currentColor, 0.4); }
button.destructive-action.flat:checked {
background-color: alpha(currentColor, 0.3); }
.stack-switcher >
button {
outline-offset: -4px; }
@@ -1188,9 +1192,9 @@ menuitem radio:dir(rtl) {
margin-right: -16px;
margin-left: -8px; }
/***************
* Popovers *
***************/
/************
* Popovers *
************/
popover.background {
transition: box-shadow 0.2s cubic-bezier(0, 0, 0.2, 1);
padding: 2px;
@@ -3588,7 +3592,7 @@ base background color of selections on backdrop windows */
text/foreground color of selections on backdrop windows */
@define-color theme_unfocused_selected_fg_color #FFFFFF;
/*
insensitive color on backdrop windows*/
insensitive color on backdrop windows */
@define-color unfocused_insensitive_color rgba(255, 255, 255, 0.4);
/*
widgets main borders color */
@@ -3601,5 +3605,7 @@ these are pretty self explicative */
@define-color warning_color #FF6D00;
@define-color error_color #DD2C00;
@define-color success_color #00C853;
/*
FIXME this is really an API */
@define-color content_view_bg #546E7A;
@define-color placeholder_text_color #bbc5ca;
gtk-3.0/gtk.css
@@ -496,6 +496,8 @@ button.suggested-action {
box-shadow: none;
background-color: transparent;
color: alpha(currentColor, 0.4); }
button.suggested-action.flat:checked {
background-color: alpha(currentColor, 0.3); }
button.destructive-action {
background-color: #FF5252;
color: #FFFFFF; }
@@ -512,6 +514,8 @@ button.destructive-action {
box-shadow: none;
background-color: transparent;
color: alpha(currentColor, 0.4); }
button.destructive-action.flat:checked {
background-color: alpha(currentColor, 0.3); }
.stack-switcher >
button {
outline-offset: -4px; }
@@ -1188,9 +1192,9 @@ menuitem radio:dir(rtl) {
margin-right: -16px;
margin-left: -8px; }
/***************
* Popovers *
***************/
/************
* Popovers *
************/
popover.background {
transition: box-shadow 0.2s cubic-bezier(0, 0, 0.2, 1);
padding: 2px;
@@ -3588,7 +3592,7 @@ base background color of selections on backdrop windows */
text/foreground color of selections on backdrop windows */
@define-color theme_unfocused_selected_fg_color #FFFFFF;
/*
insensitive color on backdrop windows*/
insensitive color on backdrop windows */
@define-color unfocused_insensitive_color rgba(0, 0, 0, 0.32);
/*
widgets main borders color */
@@ -3601,5 +3605,7 @@ these are pretty self explicative */
@define-color warning_color #FF6D00;
@define-color error_color #DD2C00;
@define-color success_color #00C853;
/*
FIXME this is really an API */
@define-color content_view_bg #FFFFFF;
@define-color placeholder_text_color rgba(128, 128, 128, 0.88);
gtk-3.0/gtk_laptop.css
@@ -496,6 +496,8 @@ button.suggested-action {
box-shadow: none;
background-color: transparent;
color: alpha(currentColor, 0.4); }
button.suggested-action.flat:checked {
background-color: alpha(currentColor, 0.3); }
button.destructive-action {
background-color: #FF5252;
color: #FFFFFF; }
@@ -512,6 +514,8 @@ button.destructive-action {
box-shadow: none;
background-color: transparent;
color: alpha(currentColor, 0.4); }
button.destructive-action.flat:checked {
background-color: alpha(currentColor, 0.3); }
.stack-switcher >
button {
outline-offset: -4px; }
@@ -1188,9 +1192,9 @@ menuitem radio:dir(rtl) {
margin-right: -16px;
margin-left: -8px; }
/***************
* Popovers *
***************/
/************
* Popovers *
************/
popover.background {
transition: box-shadow 0.2s cubic-bezier(0, 0, 0.2, 1);
padding: 2px;
@@ -3588,7 +3592,7 @@ base background color of selections on backdrop windows */
text/foreground color of selections on backdrop windows */
@define-color theme_unfocused_selected_fg_color #FFFFFF;
/*
insensitive color on backdrop windows*/
insensitive color on backdrop windows */
@define-color unfocused_insensitive_color rgba(0, 0, 0, 0.32);
/*
widgets main borders color */
@@ -3601,5 +3605,7 @@ these are pretty self explicative */
@define-color warning_color #FF6D00;
@define-color error_color #DD2C00;
@define-color success_color #00C853;
/*
FIXME this is really an API */
@define-color content_view_bg #FFFFFF;
@define-color placeholder_text_color rgba(128, 128, 128, 0.88);
gtk-3.0/gtk_light.css
@@ -496,6 +496,8 @@ button.suggested-action {
box-shadow: none;
background-color: transparent;
color: alpha(currentColor, 0.4); }
button.suggested-action.flat:checked {
background-color: alpha(currentColor, 0.3); }
button.destructive-action {
background-color: #FF5252;
color: #FFFFFF; }
@@ -512,6 +514,8 @@ button.destructive-action {
box-shadow: none;
background-color: transparent;
color: alpha(currentColor, 0.4); }
button.destructive-action.flat:checked {
background-color: alpha(currentColor, 0.3); }
.stack-switcher >
button {
outline-offset: -4px; }
@@ -1188,9 +1192,9 @@ menuitem radio:dir(rtl) {
margin-right: -16px;
margin-left: -8px; }
/***************
* Popovers *
***************/
/************
* Popovers *
************/
popover.background {
transition: box-shadow 0.2s cubic-bezier(0, 0, 0.2, 1);
padding: 2px;
@@ -3588,7 +3592,7 @@ base background color of selections on backdrop windows */
text/foreground color of selections on backdrop windows */
@define-color theme_unfocused_selected_fg_color #FFFFFF;
/*
insensitive color on backdrop windows*/
insensitive color on backdrop windows */
@define-color unfocused_insensitive_color rgba(0, 0, 0, 0.32);
/*
widgets main borders color */
@@ -3601,5 +3605,7 @@ these are pretty self explicative */
@define-color warning_color #FF6D00;
@define-color error_color #DD2C00;
@define-color success_color #00C853;
/*
FIXME this is really an API */
@define-color content_view_bg #FFFFFF;
@define-color placeholder_text_color rgba(128, 128, 128, 0.88);
gtk-3.0/gtk_light_laptop.css
@@ -496,6 +496,8 @@ button.suggested-action {
box-shadow: none;
background-color: transparent;
color: alpha(currentColor, 0.4); }
button.suggested-action.flat:checked {
background-color: alpha(currentColor, 0.3); }
button.destructive-action {
background-color: #FF5252;
color: #FFFFFF; }
@@ -512,6 +514,8 @@ button.destructive-action {
box-shadow: none;
background-color: transparent;
color: alpha(currentColor, 0.4); }
button.destructive-action.flat:checked {
background-color: alpha(currentColor, 0.3); }
.stack-switcher >
button {
outline-offset: -4px; }
@@ -1188,9 +1192,9 @@ menuitem radio:dir(rtl) {
margin-right: -16px;
margin-left: -8px; }
/***************
* Popovers *
***************/
/************
* Popovers *
************/
popover.background {
transition: box-shadow 0.2s cubic-bezier(0, 0, 0.2, 1);
padding: 2px;
@@ -3588,7 +3592,7 @@ base background color of selections on backdrop windows */
text/foreground color of selections on backdrop windows */
@define-color theme_unfocused_selected_fg_color #FFFFFF;
/*
insensitive color on backdrop windows*/
insensitive color on backdrop windows */
@define-color unfocused_insensitive_color rgba(0, 0, 0, 0.32);
/*
widgets main borders color */
@@ -3601,5 +3605,7 @@ these are pretty self explicative */
@define-color warning_color #FF6D00;
@define-color error_color #DD2C00;
@define-color success_color #00C853;
/*
FIXME this is really an API */
@define-color content_view_bg #FFFFFF;
@define-color placeholder_text_color rgba(128, 128, 128, 0.88);
gtk-3.0/sass/_colors-public.scss
@@ -1,4 +1,4 @@
//apps rely on some named colors to be exported
// apps rely on some named colors to be exported
/* GTK NAMED COLORS
----------------
use responsibly! */
@@ -7,86 +7,84 @@
// warning, it's innocuous and can be defeated by using "" + $var
/*
widget text/foreground color */
@define-color theme_fg_color #{"" +$fg_color};
@define-color theme_fg_color #{"" + $fg_color};
/*
text color for entries, views and content in general */
@define-color theme_text_color #{"" +$fg_color};
@define-color theme_text_color #{"" + $fg_color};
/*
widget base background color */
@define-color theme_bg_color #{"" +$bg_color};
@define-color theme_bg_color #{"" + $bg_color};
/*
text widgets and the like base background color */
@define-color theme_base_color #{"" +$base_color};
@define-color theme_base_color #{"" + $base_color};
/*
base background color of selections */
@define-color theme_selected_bg_color #{"" +$primary_color};
@define-color theme_selected_bg_color #{"" + $primary_color};
/*
text/foreground color of selections */
@define-color theme_selected_fg_color #{"" +$inverse_fg_color};
@define-color theme_selected_fg_color #{"" + $inverse_fg_color};
/*
base background color of insensitive widgets */
@define-color insensitive_bg_color #{"" +$bg_color};
@define-color insensitive_bg_color #{"" + $bg_color};
/*
text foreground color of insensitive widgets */
@define-color insensitive_fg_color #{"" +$disabled_fg_color};
@define-color insensitive_fg_color #{"" + $disabled_fg_color};
/*
insensitive text widgets and the like base background color */
@define-color insensitive_base_color #{"" +$alt_base_color};
@define-color insensitive_base_color #{"" + $alt_base_color};
/*
widget text/foreground color on backdrop windows */
@define-color theme_unfocused_fg_color #{"" +$fg_color};
@define-color theme_unfocused_fg_color #{"" + $fg_color};
/*
text color for entries, views and content in general on backdrop windows */
@define-color theme_unfocused_text_color #{"" +$fg_color};
@define-color theme_unfocused_text_color #{"" + $fg_color};
/*
widget base background color on backdrop windows */
@define-color theme_unfocused_bg_color #{"" +$bg_color};
@define-color theme_unfocused_bg_color #{"" + $bg_color};
/*
text widgets and the like base background color on backdrop windows */
@define-color theme_unfocused_base_color #{"" +$base_color};
@define-color theme_unfocused_base_color #{"" + $base_color};
/*
base background color of selections on backdrop windows */
@define-color theme_unfocused_selected_bg_color #{"" +$primary_color};
@define-color theme_unfocused_selected_bg_color #{"" + $primary_color};
/*
text/foreground color of selections on backdrop windows */
@define-color theme_unfocused_selected_fg_color #{"" + $inverse_fg_color};
/*
insensitive color on backdrop windows*/
insensitive color on backdrop windows */
@define-color unfocused_insensitive_color #{"" + $disabled_fg_color};
/*
widgets main borders color */
@define-color borders #{"" +$border_color};
@define-color borders #{"" + $border_color};
/*
widgets main borders color on backdrop windows */
@define-color unfocused_borders #{"" +$border_color};
@define-color unfocused_borders #{"" + $border_color};
/*
these are pretty self explicative */
@define-color warning_color #{"" +$warning_color};
@define-color error_color #{"" +$error_color};
@define-color success_color #{"" +$success_color};
//@define-color destructive_color #{"" +$destructive_color}
//FIXME this is really an API
@define-color warning_color #{"" + $warning_color};
@define-color error_color #{"" + $error_color};
@define-color success_color #{"" + $success_color};
// @define-color destructive_color #{"" + $destructive_color};
/*
FIXME this is really an API */
@define-color content_view_bg #{"" + $base_color};
@define-color placeholder_text_color #{"" + $placeholder_text_color};
gtk-3.0/sass/_common.scss
@@ -479,13 +479,7 @@ button {
background-color: $b_color;
color: $inverse_fg_color;
// @include button(normal, $b_color, $inverse_fg_color);
// &:hover { @include button(hover, $b_color, $inverse_fg_color); }
// &:active, &:checked { @include button(active, $b_color, $inverse_fg_color); }
&:disabled { @include button(disabled, $b_color, $inverse_fg_color); }
&:disabled { @include button(disabled, $b_color); }
&:checked { background-color: mix($inverse_fg_color, $b_color, percentage($lower_opacity)); }
@@ -493,13 +487,9 @@ button {
background-color: transparent;
color: $b_color;
// @include button(flat-normal, $b_color, $inverse_fg_color);
// &:hover { @include button(flat-hover, $b_color, $inverse_fg_color); }
// &:active, &:checked { @include button(flat-active, $b_color, $inverse_fg_color); }
&:disabled { @include button(flat-disabled, $b_color); }
&:disabled { @include button(flat-disabled, $b_color, $inverse_fg_color); }
&:checked { background-color: $fill_color; }
}
.osd & {
@@ -1445,13 +1435,13 @@ menuitem {
}
/***************
* Popovers *
***************/
/************
* Popovers *
************/
popover.background {
transition: $shadow_transition;
padding: 2px;
box-shadow: $shadow_2; // TODO: this should really have a highlight
box-shadow: $shadow_2; // TODO: this should really have a highlight
background-color: $lighter_bg_color;
&:backdrop { box-shadow: $shadow_1; }
@@ -3125,7 +3115,7 @@ colorswatch {
colorchooser .popover.osd {
transition: $shadow_transition;
border-radius: 2px;
box-shadow: $shadow_2, inset 0 1px $highlight_color;
box-shadow: $shadow_2, inset 0 1px $highlight_color;
background-color: $base_color;
&:backdrop { box-shadow: $shadow_1, inset 0 1px $highlight_color; }
gtk-3.0/sass/_drawing.scss
@@ -1,5 +1,3 @@
// Drawing mixins
// generic drawing of more complex things
@@ -24,23 +22,20 @@
}
@mixin entry($t, $fc:$primary_color) {
@mixin entry($t, $fc: $primary_color) {
//
// Entries drawing function
// entry
//
// $t: entry type
// $fc: focus color
//
// possible $t values:
// normal, focus, disabled, flat-normal, flat-focus, flat-disabled;
//
@if $t == normal {
transition: $longer_transition, $shadow_transition;
border-image: none;
box-shadow: $shadow_1;
background-color: if($fc != $primary_color, $fc, $base_color);
color: if($fc != $primary_color, $inverse_fg_color, $fg_color);
background-color: if($fc == $primary_color, $base_color, $fc);
color: if($fc == $primary_color, $fg_color, $inverse_fg_color);
}
@if $t == focus {
@@ -60,7 +55,7 @@
$fc 0%,
transparent 0%)
0 0 0 / 0 0 0px;
box-shadow: inset 0 -1px if($fc != $primary_color, $fc, $fill_color);
box-shadow: inset 0 -1px if($fc == $primary_color, $fill_color, $fc);
background-color: transparent;
color: $fg_color;
}
@@ -70,7 +65,7 @@
$fc 100%,
transparent 0%)
0 0 2 / 0 0 2px;
box-shadow: inset 0 -1px if($fc != $primary_color, $fc, $fill_color);
box-shadow: inset 0 -1px if($fc == $primary_color, $fill_color, $fc);
}
@if $t == flat-disabled {
@@ -81,17 +76,12 @@
}
@mixin button($t, $c:$lighter_bg_color, $tc:$fg_color) {
@mixin button($t, $c: $lighter_bg_color) {
//
// Button drawing function
// button
//
// $t: button type,
// $c: base button color for colored* types
// $tc: optional text color for colored* types
//
// possible $t values:
// normal, hover, active, disabled, checked, checked-disabled,
// flat-normal, flat-hover, flat-active, flat-disabled, flat-checked, flat-checked-disabled;
// $t: button type
// $c: base color
//
@if $t == normal {
@@ -131,7 +121,7 @@
@if $t == disabled {
box-shadow: none;
background-color: $fill_color;
color: if($tc != $fg_color, $disabled_fg_color, $disabled_secondary_fg_color);
color: if($c == $lighter_bg_color, $disabled_secondary_fg_color, $disabled_fg_color);
}
@if $t == checked {
@@ -180,7 +170,9 @@
@if $t == flat-disabled {
box-shadow: none;
background-color: transparent;
color: if($tc != $fg_color, gtkalpha(currentColor, $disabled_opacity), gtkalpha(currentColor, $secondary_opacity * $disabled_opacity));
color: if($c == $lighter_bg_color,
gtkalpha(currentColor, $secondary_opacity * $disabled_opacity),
gtkalpha(currentColor, $disabled_opacity));
}
@if $t == flat-checked {
@@ -195,19 +187,14 @@
}
@mixin overshoot($p, $t:normal, $c:$alt_primary_color) {
@mixin overshoot($p) {
//
// overshoot
//
// $p: position
// $t: type
// $c: base color
//
// possible $p values:
// top, bottom, right, left
//
// possible $t values:
// normal, backdrop
//
$_position: center $p;
@@ -219,7 +206,7 @@
background-image: -gtk-gradient(radial,
$_position, 0,
$_position, 0.75,
to(scale-alpha($c, $lower_opacity)),
to(scale-alpha($alt_primary_color, $lower_opacity)),
to(transparent));
background-repeat: no-repeat;
@@ -249,8 +236,6 @@
$_gradient_repeat: repeat-x;
$_bg_pos: left $p;
background-color: transparent; // shouldn't be needed, but better to be sure;
@if ($p == left) or ($p == right) {
$_gradient_dir: top;
$_dash_bg_size: 1px 12px;
@@ -258,6 +243,8 @@
$_bg_pos: $p top;
}
background-color: transparent; // shouldn't be needed, but better to be sure
background-image: linear-gradient(to $_gradient_dir, // this is the dashed line
$_undershoot_color_light 50%,
$_undershoot_color_dark 50%);