by roundabout, Wednesday, 26 September 2018, 16:15:13 (1537978513), pushed by roundabout, Sunday, 11 May 2025, 13:22:27 (1746969747)
Author identity: nana-4 <hnmaigo@gmail.com>
23667ec4f2a388007041bf22a71fa69e8ba8c45c
src/_sass/gtk/_common-3.18.scss
@@ -539,7 +539,7 @@ GtkColorButton.button {
&:hover, &:active { color: $fg_color; }
&:insensitive { color: $disabled_secondary_fg_color; }
&:active { // add fallback
background-color: $fill_color;
background-color: $semi_fill_color;
}
@extend %image_button;
@extend %simple_flat_button;
@@ -829,6 +829,15 @@ GtkComboBox {
border-width: 0;
.button { padding: 4px; }
}
// workaround for non-animatable buttons
.background:not(.csd) & .button.titlebutton:active {
background-image: -gtk-gradient(radial,
center center, 0,
center center, 0.4,
to($semi_fill_color),
to(transparent));
}
}
/************
@@ -1170,6 +1179,7 @@ column-header.button.dnd { // for treeview-like derive widgets
}
}
&:hover, &.prelight-page { background-color: $semi_fill_color; }
&:active, &.active-page { background-color: transparent; }
&.top {
&:active, &.active-page { box-shadow: inset 0 -2px $primary_color; }
}
@@ -2184,14 +2194,6 @@ GtkVolumeButton.button {
.titlebar .button.titlebutton {
// @extend %simple_flat_button;
@extend %image_button;
&:active { // add fallback
background-image: -gtk-gradient(radial,
center center, 0,
center center, 0.4,
to($semi_fill_color),
to(transparent));
}
}
// catch all extend :)
src/gtk/3.18/gtk-dark.css
@@ -816,7 +816,7 @@ GtkColorButton.button GtkColorSwatch:first-child:last-child {
}
.spinbutton .button:active {
background-color: alpha(currentColor, 0.24);
background-color: alpha(currentColor, 0.08);
}
.spinbutton.vertical .button {
@@ -1105,6 +1105,11 @@ GtkComboBox.combobox-entry .button:dir(rtl) {
padding: 4px;
}
.background:not(.csd) .titlebar .button.titlebutton:active, .background:not(.csd)
.header-bar .button.titlebutton:active {
background-image: -gtk-gradient(radial, center center, 0, center center, 0.4, to(alpha(currentColor, 0.08)), to(transparent));
}
/************
* Pathbars *
************/
@@ -1498,6 +1503,10 @@ column-header.button.dnd, column-header .button.dnd {
background-color: alpha(currentColor, 0.08);
}
.notebook tab:active, .notebook tab.active-page {
background-color: transparent;
}
.notebook tab.top:active, .notebook tab.top.active-page {
box-shadow: inset 0 -2px #4285F4;
}
@@ -2592,11 +2601,6 @@ GtkColorSwatch#add-color-button {
box-shadow: none;
}
.header-bar .button.titlebutton:active,
.titlebar .button.titlebutton:active {
background-image: -gtk-gradient(radial, center center, 0, center center, 0.4, to(alpha(currentColor, 0.08)), to(transparent));
}
.view:selected, GtkCalendar:selected, .label:selected, .grid-child:selected, .entry:selected, .menuitem.button.flat:selected, .list-row:selected, .sidebar:selected {
background-color: #4285F4;
color: white;
src/gtk/3.18/gtk-light.css
@@ -816,7 +816,7 @@ GtkColorButton.button GtkColorSwatch:first-child:last-child {
}
.spinbutton .button:active {
background-color: alpha(currentColor, 0.24);
background-color: alpha(currentColor, 0.08);
}
.spinbutton.vertical .button {
@@ -1105,6 +1105,11 @@ GtkComboBox.combobox-entry .button:dir(rtl) {
padding: 4px;
}
.background:not(.csd) .titlebar .button.titlebutton:active, .background:not(.csd)
.header-bar .button.titlebutton:active {
background-image: -gtk-gradient(radial, center center, 0, center center, 0.4, to(alpha(currentColor, 0.08)), to(transparent));
}
/************
* Pathbars *
************/
@@ -1498,6 +1503,10 @@ column-header.button.dnd, column-header .button.dnd {
background-color: alpha(currentColor, 0.08);
}
.notebook tab:active, .notebook tab.active-page {
background-color: transparent;
}
.notebook tab.top:active, .notebook tab.top.active-page {
box-shadow: inset 0 -2px #4285F4;
}
@@ -2592,11 +2601,6 @@ GtkColorSwatch#add-color-button {
box-shadow: none;
}
.header-bar .button.titlebutton:active,
.titlebar .button.titlebutton:active {
background-image: -gtk-gradient(radial, center center, 0, center center, 0.4, to(alpha(currentColor, 0.08)), to(transparent));
}
.view:selected, GtkCalendar:selected, .label:selected, .grid-child:selected, .entry:selected, .menuitem.button.flat:selected, .list-row:selected, .sidebar:selected {
background-color: #4285F4;
color: white;
src/gtk/3.18/gtk.css
@@ -816,7 +816,7 @@ GtkColorButton.button GtkColorSwatch:first-child:last-child {
}
.spinbutton .button:active {
background-color: alpha(currentColor, 0.24);
background-color: alpha(currentColor, 0.08);
}
.spinbutton.vertical .button {
@@ -1105,6 +1105,11 @@ GtkComboBox.combobox-entry .button:dir(rtl) {
padding: 4px;
}
.background:not(.csd) .titlebar .button.titlebutton:active, .background:not(.csd)
.header-bar .button.titlebutton:active {
background-image: -gtk-gradient(radial, center center, 0, center center, 0.4, to(alpha(currentColor, 0.08)), to(transparent));
}
/************
* Pathbars *
************/
@@ -1498,6 +1503,10 @@ column-header.button.dnd, column-header .button.dnd {
background-color: alpha(currentColor, 0.08);
}
.notebook tab:active, .notebook tab.active-page {
background-color: transparent;
}
.notebook tab.top:active, .notebook tab.top.active-page {
box-shadow: inset 0 -2px #4285F4;
}
@@ -2592,11 +2601,6 @@ GtkColorSwatch#add-color-button {
box-shadow: none;
}
.header-bar .button.titlebutton:active,
.titlebar .button.titlebutton:active {
background-image: -gtk-gradient(radial, center center, 0, center center, 0.4, to(alpha(currentColor, 0.08)), to(transparent));
}
.view:selected, GtkCalendar:selected, .label:selected, .grid-child:selected, .entry:selected, .menuitem.button.flat:selected, .list-row:selected, .sidebar:selected {
background-color: #4285F4;
color: white;