Skip to content

Commit

Permalink
Some code cleaning(x2)
Browse files Browse the repository at this point in the history
  • Loading branch information
thekomer committed Mar 13, 2022
1 parent 06ceced commit b229450
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 42 deletions.
2 changes: 1 addition & 1 deletion gtk-3.0/_drawing.scss
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@
//background: linear-gradient(to right, transparentize($theme-gradient-start, 0.4), transparentize($theme-gradient-end, 0.4));
border:none;
} @else if $t==active-header {
color: $selected_bg_color;
color: $selected_fg_color;
border-radius: 1em; // 23px;
background: linear-gradient(to right, $theme-gradient-start, $theme-gradient-end);
//box-shadow: 0px 0px 0px transparentize($selected_bg_color, 0.02);
Expand Down
20 changes: 10 additions & 10 deletions gtk-3.0/gtk-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -1261,7 +1261,7 @@ calendar {
calendar:disabled {
color: #676a75; }
calendar:selected {
color: #ff6a00;
color: #ffffff;
border-radius: 1em;
background: linear-gradient(to right, #ff3300, #ffa100);
font-weight: bold; }
Expand Down Expand Up @@ -1879,7 +1879,7 @@ dialog #pathbarbox {
color: inherit;
background: transparent; }
dialog #pathbarbox .linked.path-bar button:selected, dialog #pathbarbox .linked.path-bar button:active, dialog #pathbarbox .linked.path-bar button:checked {
color: #ff6a00;
color: #ffffff;
border-radius: 1em;
background: linear-gradient(to right, #ff3300, #ffa100); }
dialog #pathbarbox .linked.path-bar button:selected:hover, dialog #pathbarbox .linked.path-bar button:active:hover, dialog #pathbarbox .linked.path-bar button:checked:hover {
Expand Down Expand Up @@ -5490,7 +5490,7 @@ button.raven-trigger {
min-height: 20px;
padding: 3px; }
.raven .raven-header button.text-button.radio:active, .raven .raven-header button.text-button.radio:checked {
color: #ff6a00;
color: #ffffff;
border-radius: 1em;
background: linear-gradient(to right, #ff3300, #ffa100); }
.raven .raven-header button.text-button.radio:active:hover, .raven .raven-header button.text-button.radio:checked:hover {
Expand Down Expand Up @@ -5883,7 +5883,7 @@ window.background.budgie-settings-window.csd > box.horizontal > stack > scrolled
.nautilus-window .titlebar .path-bar-box widget > .text-button:last-child:active,
.nautilus-window .titlebar .path-bar-box widget > .text-button:last-child:checked,
.nautilus-window .titlebar .path-bar-box button:active, .nautilus-window .titlebar .path-bar-box button:checked {
color: #ff6a00;
color: #ffffff;
border-radius: 1em;
background: linear-gradient(to right, #ff3300, #ffa100); }
.nautilus-window .titlebar .path-bar-box widget > .text-button:last-child:hover,
Expand Down Expand Up @@ -6123,7 +6123,7 @@ wnck-pager {
box-shadow: none;
-gtk-icon-effect: highlight; }
#whiskermenu-window button:checked {
color: #ff6a00;
color: #ffffff;
border-radius: 1em;
background: linear-gradient(to right, #ff3300, #ffa100);
box-shadow: none; }
Expand Down Expand Up @@ -6189,7 +6189,7 @@ wnck-pager {
color: inherit;
background: transparent; }
.thunar toolbar button:selected, .thunar toolbar button:active, .thunar toolbar button:checked {
color: #ff6a00;
color: #ffffff;
border-radius: 1em;
background: linear-gradient(to right, #ff3300, #ffa100); }
.thunar toolbar button:selected:hover, .thunar toolbar button:active:hover, .thunar toolbar button:checked:hover {
Expand Down Expand Up @@ -6218,7 +6218,7 @@ window.thunar toolbar#location-toolbar > toolitem > widget > widget.linked.path-
window.thunar toolbar#location-toolbar > toolitem > widget > widget.linked.path-bar > button.toggle.path-bar-button:hover {
color: #ff6a00; }
window.thunar toolbar#location-toolbar > toolitem > widget > widget.linked.path-bar > button.toggle.path-bar-button:checked {
color: #ff6a00;
color: #ffffff;
border-radius: 1em;
background: linear-gradient(to right, #ff3300, #ffa100); }
window.thunar toolbar#location-toolbar > toolitem > widget > widget.linked.path-bar > button.toggle.path-bar-button:checked:hover {
Expand All @@ -6245,7 +6245,7 @@ window.thunar paned > scrolledwindow treeview.view {
border-radius: 0;
box-shadow: none; }
window.thunar paned > scrolledwindow treeview.view:selected, window.thunar paned > scrolledwindow treeview.view:active, window.thunar paned > scrolledwindow treeview.view:checked {
color: #ff6a00;
color: #ffffff;
border-radius: 1em;
background: linear-gradient(to right, #ff3300, #ffa100);
border-radius: 0;
Expand Down Expand Up @@ -6997,7 +6997,7 @@ ConversationListView {
background: transparent; }
.nemo-window .sidebar button:selected, .nemo-window .sidebar button:active, .nemo-window .sidebar button:checked, .nemo-window .NemoSidebar button:selected, .nemo-window .NemoSidebar button:active, .nemo-window .NemoSidebar button:checked, .nemo-window .nemo-places-sidebar button:selected, .nemo-window .nemo-places-sidebar button:active, .nemo-window .nemo-places-sidebar button:checked, .nemo-window statusbar button:selected, .nemo-window statusbar button:active, .nemo-window statusbar button:checked, .nemo-window box.toolbar button:selected, .nemo-window box.toolbar button:active, .nemo-window box.toolbar button:checked, .nemo-window toolbar.primary-toolbar button:selected, .nemo-window toolbar.primary-toolbar button:active, .nemo-window toolbar.primary-toolbar button:checked {
transition-duration: 50ms;
color: #ff6a00;
color: #ffffff;
border-radius: 1em;
background: linear-gradient(to right, #ff3300, #ffa100); }
.nemo-window .sidebar button:selected:hover, .nemo-window .sidebar button:active:hover, .nemo-window .sidebar button:checked:hover, .nemo-window .NemoSidebar button:selected:hover, .nemo-window .NemoSidebar button:active:hover, .nemo-window .NemoSidebar button:checked:hover, .nemo-window .nemo-places-sidebar button:selected:hover, .nemo-window .nemo-places-sidebar button:active:hover, .nemo-window .nemo-places-sidebar button:checked:hover, .nemo-window statusbar button:selected:hover, .nemo-window statusbar button:active:hover, .nemo-window statusbar button:checked:hover, .nemo-window box.toolbar button:selected:hover, .nemo-window box.toolbar button:active:hover, .nemo-window box.toolbar button:checked:hover, .nemo-window toolbar.primary-toolbar button:selected:hover, .nemo-window toolbar.primary-toolbar button:active:hover, .nemo-window toolbar.primary-toolbar button:checked:hover {
Expand Down Expand Up @@ -7117,7 +7117,7 @@ ConversationListView {
.caja-pathbar button:hover {
color: #ff6a00; }
.caja-pathbar button:checked {
color: #ff6a00;
color: #ffffff;
border-radius: 1em;
background: linear-gradient(to right, #ff3300, #ffa100); }
.caja-pathbar button:checked:hover {
Expand Down
20 changes: 10 additions & 10 deletions gtk-3.0/gtk.css
Original file line number Diff line number Diff line change
Expand Up @@ -1261,7 +1261,7 @@ calendar {
calendar:disabled {
color: #676a75; }
calendar:selected {
color: #ff6a00;
color: #ffffff;
border-radius: 1em;
background: linear-gradient(to right, #ff3300, #ffa100);
font-weight: bold; }
Expand Down Expand Up @@ -1879,7 +1879,7 @@ dialog #pathbarbox {
color: inherit;
background: transparent; }
dialog #pathbarbox .linked.path-bar button:selected, dialog #pathbarbox .linked.path-bar button:active, dialog #pathbarbox .linked.path-bar button:checked {
color: #ff6a00;
color: #ffffff;
border-radius: 1em;
background: linear-gradient(to right, #ff3300, #ffa100); }
dialog #pathbarbox .linked.path-bar button:selected:hover, dialog #pathbarbox .linked.path-bar button:active:hover, dialog #pathbarbox .linked.path-bar button:checked:hover {
Expand Down Expand Up @@ -5490,7 +5490,7 @@ button.raven-trigger {
min-height: 20px;
padding: 3px; }
.raven .raven-header button.text-button.radio:active, .raven .raven-header button.text-button.radio:checked {
color: #ff6a00;
color: #ffffff;
border-radius: 1em;
background: linear-gradient(to right, #ff3300, #ffa100); }
.raven .raven-header button.text-button.radio:active:hover, .raven .raven-header button.text-button.radio:checked:hover {
Expand Down Expand Up @@ -5883,7 +5883,7 @@ window.background.budgie-settings-window.csd > box.horizontal > stack > scrolled
.nautilus-window .titlebar .path-bar-box widget > .text-button:last-child:active,
.nautilus-window .titlebar .path-bar-box widget > .text-button:last-child:checked,
.nautilus-window .titlebar .path-bar-box button:active, .nautilus-window .titlebar .path-bar-box button:checked {
color: #ff6a00;
color: #ffffff;
border-radius: 1em;
background: linear-gradient(to right, #ff3300, #ffa100); }
.nautilus-window .titlebar .path-bar-box widget > .text-button:last-child:hover,
Expand Down Expand Up @@ -6123,7 +6123,7 @@ wnck-pager {
box-shadow: none;
-gtk-icon-effect: highlight; }
#whiskermenu-window button:checked {
color: #ff6a00;
color: #ffffff;
border-radius: 1em;
background: linear-gradient(to right, #ff3300, #ffa100);
box-shadow: none; }
Expand Down Expand Up @@ -6189,7 +6189,7 @@ wnck-pager {
color: inherit;
background: transparent; }
.thunar toolbar button:selected, .thunar toolbar button:active, .thunar toolbar button:checked {
color: #ff6a00;
color: #ffffff;
border-radius: 1em;
background: linear-gradient(to right, #ff3300, #ffa100); }
.thunar toolbar button:selected:hover, .thunar toolbar button:active:hover, .thunar toolbar button:checked:hover {
Expand Down Expand Up @@ -6218,7 +6218,7 @@ window.thunar toolbar#location-toolbar > toolitem > widget > widget.linked.path-
window.thunar toolbar#location-toolbar > toolitem > widget > widget.linked.path-bar > button.toggle.path-bar-button:hover {
color: #ff6a00; }
window.thunar toolbar#location-toolbar > toolitem > widget > widget.linked.path-bar > button.toggle.path-bar-button:checked {
color: #ff6a00;
color: #ffffff;
border-radius: 1em;
background: linear-gradient(to right, #ff3300, #ffa100); }
window.thunar toolbar#location-toolbar > toolitem > widget > widget.linked.path-bar > button.toggle.path-bar-button:checked:hover {
Expand All @@ -6245,7 +6245,7 @@ window.thunar paned > scrolledwindow treeview.view {
border-radius: 0;
box-shadow: none; }
window.thunar paned > scrolledwindow treeview.view:selected, window.thunar paned > scrolledwindow treeview.view:active, window.thunar paned > scrolledwindow treeview.view:checked {
color: #ff6a00;
color: #ffffff;
border-radius: 1em;
background: linear-gradient(to right, #ff3300, #ffa100);
border-radius: 0;
Expand Down Expand Up @@ -6997,7 +6997,7 @@ ConversationListView {
background: transparent; }
.nemo-window .sidebar button:selected, .nemo-window .sidebar button:active, .nemo-window .sidebar button:checked, .nemo-window .NemoSidebar button:selected, .nemo-window .NemoSidebar button:active, .nemo-window .NemoSidebar button:checked, .nemo-window .nemo-places-sidebar button:selected, .nemo-window .nemo-places-sidebar button:active, .nemo-window .nemo-places-sidebar button:checked, .nemo-window statusbar button:selected, .nemo-window statusbar button:active, .nemo-window statusbar button:checked, .nemo-window box.toolbar button:selected, .nemo-window box.toolbar button:active, .nemo-window box.toolbar button:checked, .nemo-window toolbar.primary-toolbar button:selected, .nemo-window toolbar.primary-toolbar button:active, .nemo-window toolbar.primary-toolbar button:checked {
transition-duration: 50ms;
color: #ff6a00;
color: #ffffff;
border-radius: 1em;
background: linear-gradient(to right, #ff3300, #ffa100); }
.nemo-window .sidebar button:selected:hover, .nemo-window .sidebar button:active:hover, .nemo-window .sidebar button:checked:hover, .nemo-window .NemoSidebar button:selected:hover, .nemo-window .NemoSidebar button:active:hover, .nemo-window .NemoSidebar button:checked:hover, .nemo-window .nemo-places-sidebar button:selected:hover, .nemo-window .nemo-places-sidebar button:active:hover, .nemo-window .nemo-places-sidebar button:checked:hover, .nemo-window statusbar button:selected:hover, .nemo-window statusbar button:active:hover, .nemo-window statusbar button:checked:hover, .nemo-window box.toolbar button:selected:hover, .nemo-window box.toolbar button:active:hover, .nemo-window box.toolbar button:checked:hover, .nemo-window toolbar.primary-toolbar button:selected:hover, .nemo-window toolbar.primary-toolbar button:active:hover, .nemo-window toolbar.primary-toolbar button:checked:hover {
Expand Down Expand Up @@ -7117,7 +7117,7 @@ ConversationListView {
.caja-pathbar button:hover {
color: #ff6a00; }
.caja-pathbar button:checked {
color: #ff6a00;
color: #ffffff;
border-radius: 1em;
background: linear-gradient(to right, #ff3300, #ffa100); }
.caja-pathbar button:checked:hover {
Expand Down
2 changes: 1 addition & 1 deletion gtk-4.0/_drawing.scss
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@
//background: linear-gradient(to right, transparentize($theme-gradient-start, 0.4), transparentize($theme-gradient-end, 0.4));
border:none;
} @else if $t==active-header {
color: $selected_bg_color;
color: $selected_fg_color;
border-radius: 1em; // 23px;
background: linear-gradient(to right, $theme-gradient-start, $theme-gradient-end);
//box-shadow: 0px 0px 0px transparentize($selected_bg_color, 0.02);
Expand Down
20 changes: 10 additions & 10 deletions gtk-4.0/gtk-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -1240,7 +1240,7 @@ calendar {
calendar:disabled {
color: #676a75; }
calendar:selected {
color: #ff6a00;
color: #ffffff;
border-radius: 1em;
background: linear-gradient(to right, #ff3300, #ffa100);
font-weight: bold; }
Expand Down Expand Up @@ -1858,7 +1858,7 @@ dialog #pathbarbox {
color: inherit;
background: transparent; }
dialog #pathbarbox .linked.path-bar button:selected, dialog #pathbarbox .linked.path-bar button:active, dialog #pathbarbox .linked.path-bar button:checked {
color: #ff6a00;
color: #ffffff;
border-radius: 1em;
background: linear-gradient(to right, #ff3300, #ffa100); }
dialog #pathbarbox .linked.path-bar button:selected:hover, dialog #pathbarbox .linked.path-bar button:active:hover, dialog #pathbarbox .linked.path-bar button:checked:hover {
Expand Down Expand Up @@ -5453,7 +5453,7 @@ button.raven-trigger {
min-height: 20px;
padding: 3px; }
.raven .raven-header button.text-button.radio:active, .raven .raven-header button.text-button.radio:checked {
color: #ff6a00;
color: #ffffff;
border-radius: 1em;
background: linear-gradient(to right, #ff3300, #ffa100); }
.raven .raven-header button.text-button.radio:active:hover, .raven .raven-header button.text-button.radio:checked:hover {
Expand Down Expand Up @@ -5846,7 +5846,7 @@ window.background.budgie-settings-window.csd > box.horizontal > stack > scrolled
.nautilus-window .titlebar .path-bar-box widget > .text-button:last-child:active,
.nautilus-window .titlebar .path-bar-box widget > .text-button:last-child:checked,
.nautilus-window .titlebar .path-bar-box button:active, .nautilus-window .titlebar .path-bar-box button:checked {
color: #ff6a00;
color: #ffffff;
border-radius: 1em;
background: linear-gradient(to right, #ff3300, #ffa100); }
.nautilus-window .titlebar .path-bar-box widget > .text-button:last-child:hover,
Expand Down Expand Up @@ -6085,7 +6085,7 @@ wnck-pager {
box-shadow: none;
-gtk-icon-effect: highlight; }
#whiskermenu-window button:checked {
color: #ff6a00;
color: #ffffff;
border-radius: 1em;
background: linear-gradient(to right, #ff3300, #ffa100);
box-shadow: none; }
Expand Down Expand Up @@ -6151,7 +6151,7 @@ wnck-pager {
color: inherit;
background: transparent; }
.thunar toolbar button:selected, .thunar toolbar button:active, .thunar toolbar button:checked {
color: #ff6a00;
color: #ffffff;
border-radius: 1em;
background: linear-gradient(to right, #ff3300, #ffa100); }
.thunar toolbar button:selected:hover, .thunar toolbar button:active:hover, .thunar toolbar button:checked:hover {
Expand Down Expand Up @@ -6180,7 +6180,7 @@ window.thunar toolbar#location-toolbar > toolitem > widget > widget.linked.path-
window.thunar toolbar#location-toolbar > toolitem > widget > widget.linked.path-bar > button.toggle.path-bar-button:hover {
color: #ff6a00; }
window.thunar toolbar#location-toolbar > toolitem > widget > widget.linked.path-bar > button.toggle.path-bar-button:checked {
color: #ff6a00;
color: #ffffff;
border-radius: 1em;
background: linear-gradient(to right, #ff3300, #ffa100); }
window.thunar toolbar#location-toolbar > toolitem > widget > widget.linked.path-bar > button.toggle.path-bar-button:checked:hover {
Expand All @@ -6207,7 +6207,7 @@ window.thunar paned > scrolledwindow treeview.view {
border-radius: 0;
box-shadow: none; }
window.thunar paned > scrolledwindow treeview.view:selected, window.thunar paned > scrolledwindow treeview.view:active, window.thunar paned > scrolledwindow treeview.view:checked {
color: #ff6a00;
color: #ffffff;
border-radius: 1em;
background: linear-gradient(to right, #ff3300, #ffa100);
border-radius: 0;
Expand Down Expand Up @@ -6922,7 +6922,7 @@ ConversationListView {
background: transparent; }
.nemo-window .sidebar button:selected, .nemo-window .sidebar button:active, .nemo-window .sidebar button:checked, .nemo-window .NemoSidebar button:selected, .nemo-window .NemoSidebar button:active, .nemo-window .NemoSidebar button:checked, .nemo-window .nemo-places-sidebar button:selected, .nemo-window .nemo-places-sidebar button:active, .nemo-window .nemo-places-sidebar button:checked, .nemo-window statusbar button:selected, .nemo-window statusbar button:active, .nemo-window statusbar button:checked, .nemo-window box.toolbar button:selected, .nemo-window box.toolbar button:active, .nemo-window box.toolbar button:checked, .nemo-window toolbar.primary-toolbar button:selected, .nemo-window toolbar.primary-toolbar button:active, .nemo-window toolbar.primary-toolbar button:checked {
transition-duration: 50ms;
color: #ff6a00;
color: #ffffff;
border-radius: 1em;
background: linear-gradient(to right, #ff3300, #ffa100); }
.nemo-window .sidebar button:selected:hover, .nemo-window .sidebar button:active:hover, .nemo-window .sidebar button:checked:hover, .nemo-window .NemoSidebar button:selected:hover, .nemo-window .NemoSidebar button:active:hover, .nemo-window .NemoSidebar button:checked:hover, .nemo-window .nemo-places-sidebar button:selected:hover, .nemo-window .nemo-places-sidebar button:active:hover, .nemo-window .nemo-places-sidebar button:checked:hover, .nemo-window statusbar button:selected:hover, .nemo-window statusbar button:active:hover, .nemo-window statusbar button:checked:hover, .nemo-window box.toolbar button:selected:hover, .nemo-window box.toolbar button:active:hover, .nemo-window box.toolbar button:checked:hover, .nemo-window toolbar.primary-toolbar button:selected:hover, .nemo-window toolbar.primary-toolbar button:active:hover, .nemo-window toolbar.primary-toolbar button:checked:hover {
Expand Down Expand Up @@ -7042,7 +7042,7 @@ ConversationListView {
.caja-pathbar button:hover {
color: #ff6a00; }
.caja-pathbar button:checked {
color: #ff6a00;
color: #ffffff;
border-radius: 1em;
background: linear-gradient(to right, #ff3300, #ffa100); }
.caja-pathbar button:checked:hover {
Expand Down
Loading

0 comments on commit b229450

Please sign in to comment.