mirror of
https://github.com/horst3180/arc-theme.git
synced 2024-10-27 19:04:02 +00:00
lots of fixes
This commit is contained in:
parent
a5dc6aa589
commit
bb58312bdc
@ -1,18 +1,5 @@
|
|||||||
// Drawing mixins
|
// Drawing mixins
|
||||||
|
|
||||||
// generic drawing of more complex things
|
|
||||||
|
|
||||||
@mixin _shadows($shadow1, $shadow2:none, $shadow3:none, $shadow4:none) {
|
|
||||||
//
|
|
||||||
// Helper function to stack up to 4 box-shadows;
|
|
||||||
//
|
|
||||||
|
|
||||||
@if $shadow4!=none { box-shadow: $shadow1, $shadow2, $shadow3, $shadow4; }
|
|
||||||
@else if $shadow3!=none { box-shadow: $shadow1, $shadow2, $shadow3; }
|
|
||||||
@else if $shadow2!=none { box-shadow: $shadow1, $shadow2; }
|
|
||||||
@else { box-shadow: $shadow1; }
|
|
||||||
}
|
|
||||||
|
|
||||||
// Entries
|
// Entries
|
||||||
|
|
||||||
@mixin entry($t) {
|
@mixin entry($t) {
|
||||||
|
@ -1,18 +1,5 @@
|
|||||||
// Drawing mixins
|
// Drawing mixins
|
||||||
|
|
||||||
// generic drawing of more complex things
|
|
||||||
|
|
||||||
@mixin _shadows($shadow1, $shadow2:none, $shadow3:none, $shadow4:none) {
|
|
||||||
//
|
|
||||||
// Helper function to stack up to 4 box-shadows;
|
|
||||||
//
|
|
||||||
|
|
||||||
@if $shadow4!=none { box-shadow: $shadow1, $shadow2, $shadow3, $shadow4; }
|
|
||||||
@else if $shadow3!=none { box-shadow: $shadow1, $shadow2, $shadow3; }
|
|
||||||
@else if $shadow2!=none { box-shadow: $shadow1, $shadow2; }
|
|
||||||
@else { box-shadow: $shadow1; }
|
|
||||||
}
|
|
||||||
|
|
||||||
// Entries
|
// Entries
|
||||||
|
|
||||||
@mixin entry($t) {
|
@mixin entry($t) {
|
||||||
|
@ -1,18 +1,5 @@
|
|||||||
// Drawing mixins
|
// Drawing mixins
|
||||||
|
|
||||||
// generic drawing of more complex things
|
|
||||||
|
|
||||||
@mixin _shadows($shadow1, $shadow2:none, $shadow3:none, $shadow4:none) {
|
|
||||||
//
|
|
||||||
// Helper function to stack up to 4 box-shadows;
|
|
||||||
//
|
|
||||||
|
|
||||||
@if $shadow4!=none { box-shadow: $shadow1, $shadow2, $shadow3, $shadow4; }
|
|
||||||
@else if $shadow3!=none { box-shadow: $shadow1, $shadow2, $shadow3; }
|
|
||||||
@else if $shadow2!=none { box-shadow: $shadow1, $shadow2; }
|
|
||||||
@else { box-shadow: $shadow1; }
|
|
||||||
}
|
|
||||||
|
|
||||||
// Entries
|
// Entries
|
||||||
|
|
||||||
@mixin entry($t) {
|
@mixin entry($t) {
|
||||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -24,6 +24,8 @@ $success_color: #73d216;
|
|||||||
$destructive_color: #F04A50;
|
$destructive_color: #F04A50;
|
||||||
$suggested_color: #4DADD4;
|
$suggested_color: #4DADD4;
|
||||||
|
|
||||||
|
$drop_target_color: #4e9a06;
|
||||||
|
|
||||||
//insensitive state derived colors
|
//insensitive state derived colors
|
||||||
$insensitive_fg_color: if($variant == 'light', transparentize($fg_color, 0.45), transparentize($fg_color, 0.55));
|
$insensitive_fg_color: if($variant == 'light', transparentize($fg_color, 0.45), transparentize($fg_color, 0.55));
|
||||||
$insensitive_bg_color: if($variant == 'light', mix($bg_color, $base_color, 40%), lighten($bg_color, 2%));
|
$insensitive_bg_color: if($variant == 'light', mix($bg_color, $base_color, 40%), lighten($bg_color, 2%));
|
||||||
|
@ -41,9 +41,7 @@ $darker_asset_suffix: if($darker=='true', '-dark', $asset_suffix);
|
|||||||
background-color: if($transparency == 'true', transparentize($bg_color, 0.001), $bg_color); // without this headerbar transparency doesn't seem to work
|
background-color: if($transparency == 'true', transparentize($bg_color, 0.001), $bg_color); // without this headerbar transparency doesn't seem to work
|
||||||
}
|
}
|
||||||
|
|
||||||
*:disabled {
|
*:disabled { -gtk-icon-effect: dim; }
|
||||||
-gtk-icon-effect: dim;
|
|
||||||
}
|
|
||||||
|
|
||||||
.gtkstyle-fallback {
|
.gtkstyle-fallback {
|
||||||
background-color: $bg_color;
|
background-color: $bg_color;
|
||||||
@ -67,41 +65,29 @@ $darker_asset_suffix: if($darker=='true', '-dark', $asset_suffix);
|
|||||||
}
|
}
|
||||||
|
|
||||||
.view,
|
.view,
|
||||||
textview text {
|
%view {
|
||||||
color: $text_color;
|
color: $text_color;
|
||||||
background-color: $base_color;
|
background-color: $base_color;
|
||||||
|
|
||||||
&:selected,
|
&:selected {
|
||||||
selection,
|
&, &:focus {
|
||||||
selection:focus,
|
@extend %selected_items;
|
||||||
selection:hover {
|
border-radius: 2px;
|
||||||
@extend %selected_items;
|
|
||||||
}
|
|
||||||
&.dim-label {
|
|
||||||
color: transparentize($text_color, 0.45);
|
|
||||||
|
|
||||||
selection, selection:focus {
|
|
||||||
color: transparentize($selected_fg_color, 0.35);
|
|
||||||
text-shadow: none;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
textview { // This will get overridden by .view, needed by gedit line numbers
|
.view,
|
||||||
background-color: mix($bg_color, $base_color, 50%);
|
textview {
|
||||||
}
|
text {
|
||||||
|
@extend %view;
|
||||||
|
|
||||||
iconview {
|
selection { &:focus, & { @extend %selected_items; }}
|
||||||
color: $text_color;
|
|
||||||
background-color: $base_color;
|
|
||||||
|
|
||||||
&:selected,
|
|
||||||
&:selected:focus {
|
|
||||||
border-radius: 2px;
|
|
||||||
@extend %selected_items;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
iconview { @extend .view; }
|
||||||
|
|
||||||
rubberband,
|
rubberband,
|
||||||
.rubberband {
|
.rubberband {
|
||||||
border: 1px solid darken($selected_bg_color, 10%);
|
border: 1px solid darken($selected_bg_color, 10%);
|
||||||
@ -116,26 +102,32 @@ flowbox {
|
|||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
|
|
||||||
&:selected {
|
&:selected {
|
||||||
outline-offset: -2px;
|
|
||||||
|
|
||||||
@extend %selected_items;
|
@extend %selected_items;
|
||||||
|
|
||||||
|
outline-offset: -2px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
label {
|
label {
|
||||||
&.separator {
|
&.separator {
|
||||||
color: $fg_color;
|
|
||||||
@extend .dim-label;
|
@extend .dim-label;
|
||||||
|
|
||||||
|
color: $fg_color;
|
||||||
}
|
}
|
||||||
&:selected,
|
|
||||||
selection,
|
row:selected &,
|
||||||
selection:focus,
|
&:selected { @extend %nobg_selected_items; }
|
||||||
selection:hover {
|
|
||||||
@extend %selected_items;
|
selection {
|
||||||
|
color: $selected_fg_color;
|
||||||
|
background-color: $selected_bg_color;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:disabled {
|
&:disabled {
|
||||||
color: $insensitive_fg_color;
|
color: $insensitive_fg_color;
|
||||||
|
|
||||||
|
selection { @extend %selected_items:disabled; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -150,6 +142,7 @@ assistant {
|
|||||||
}
|
}
|
||||||
|
|
||||||
&.csd .sidebar { border-top-style: none; }
|
&.csd .sidebar { border-top-style: none; }
|
||||||
|
|
||||||
.sidebar label { padding: 6px 12px; }
|
.sidebar label { padding: 6px 12px; }
|
||||||
|
|
||||||
.sidebar label.highlight {
|
.sidebar label.highlight {
|
||||||
@ -158,6 +151,10 @@ assistant {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
textview { // This will get overridden by .view, needed by gedit line numbers
|
||||||
|
background-color: $base_color;
|
||||||
|
}
|
||||||
|
|
||||||
%osd, .osd {
|
%osd, .osd {
|
||||||
color: $osd_fg_color;
|
color: $osd_fg_color;
|
||||||
border: none;
|
border: none;
|
||||||
@ -212,12 +209,14 @@ entry {
|
|||||||
&.right { padding-right: 0; padding-left: 5px; }
|
&.right { padding-right: 0; padding-left: 5px; }
|
||||||
}
|
}
|
||||||
|
|
||||||
&.flat, &.flat:focus {
|
&.flat {
|
||||||
@include entry(normal);
|
&, &:focus {
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
border: none;
|
background-image: none;
|
||||||
border-radius: 0;
|
border-color: transparent;
|
||||||
|
border-radius: 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&:focus {
|
&:focus {
|
||||||
@ -227,23 +226,9 @@ entry {
|
|||||||
|
|
||||||
&:disabled { @include entry(insensitive); }
|
&:disabled { @include entry(insensitive); }
|
||||||
|
|
||||||
selection,
|
selection { &:focus, & { @extend %selected_items; }}
|
||||||
selection:focus {
|
|
||||||
background-color: $selected_bg_color;
|
|
||||||
color: $selected_fg_color;
|
|
||||||
}
|
|
||||||
|
|
||||||
progress {
|
|
||||||
margin: 0 -6px;
|
|
||||||
border-radius: 0;
|
|
||||||
border-width: 0 0 2px;
|
|
||||||
border-color: $selected_bg_color;
|
|
||||||
border-style: solid;
|
|
||||||
background-image: none;
|
|
||||||
background-color: transparent;
|
|
||||||
box-shadow: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
// error and warning style
|
||||||
@each $e_type, $e_color in (warning, $warning_color),
|
@each $e_type, $e_color in (warning, $warning_color),
|
||||||
(error, $error_color) {
|
(error, $error_color) {
|
||||||
&.#{$e_type} {
|
&.#{$e_type} {
|
||||||
@ -265,12 +250,31 @@ entry {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&:drop(active) {
|
||||||
|
&:focus, & {
|
||||||
|
border-color: $drop_target_color;
|
||||||
|
box-shadow: inset 0 0 0 1px $drop_target_color;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.osd & {
|
.osd & {
|
||||||
@include entry(osd);
|
@include entry(osd);
|
||||||
&:focus { @include entry(osd-focus); }
|
&:focus { @include entry(osd-focus); }
|
||||||
&:disabled { @include entry(osd-insensitive); }
|
&:disabled { @include entry(osd-insensitive); }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
progress {
|
||||||
|
margin: 0 -6px;
|
||||||
|
border-radius: 0;
|
||||||
|
border-width: 0 0 2px;
|
||||||
|
border-color: $selected_bg_color;
|
||||||
|
border-style: solid;
|
||||||
|
background-image: none;
|
||||||
|
background-color: transparent;
|
||||||
|
box-shadow: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
// linked entries
|
||||||
.linked:not(.vertical) > &,
|
.linked:not(.vertical) > &,
|
||||||
.linked:not(.vertical) > &:focus { @extend %linked; }
|
.linked:not(.vertical) > &:focus { @extend %linked; }
|
||||||
|
|
||||||
@ -278,6 +282,16 @@ entry {
|
|||||||
.linked.vertical > &:focus { @extend %linked_vertical; }
|
.linked.vertical > &:focus { @extend %linked_vertical; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
treeview entry {
|
||||||
|
&.flat, & {
|
||||||
|
border-radius: 0;
|
||||||
|
background-image: none;
|
||||||
|
background-color: $base_color;
|
||||||
|
|
||||||
|
&:focus { border-color: $selected_bg_color; }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// Buttons
|
// Buttons
|
||||||
//
|
//
|
||||||
@ -317,26 +331,29 @@ button {
|
|||||||
|
|
||||||
&.flat {
|
&.flat {
|
||||||
@include button(undecorated);
|
@include button(undecorated);
|
||||||
background-color: transparentize($button_bg, 1);
|
|
||||||
border-color: transparentize($button_border, 1);
|
|
||||||
// to avoid adiacent buttons borders clashing when transitioning, the transition on the normal state is set
|
// to avoid adiacent buttons borders clashing when transitioning, the transition on the normal state is set
|
||||||
// to none, while it's added back in the hover state, so the button decoration will fade in on hover, but
|
// to none, while it's added back in the hover state, so the button decoration will fade in on hover, but
|
||||||
// it won't fade out when the pointer leave the button allocation area. To make the transition more evident
|
// it won't fade out when the pointer leave the button allocation area. To make the transition more evident
|
||||||
// in this case the duration is increased.
|
// in this case the duration is increased.
|
||||||
transition: none;
|
transition: none;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
transition: $_button_transition;
|
transition: $_button_transition;
|
||||||
transition-duration: 350ms;
|
transition-duration: 350ms;
|
||||||
|
|
||||||
&:active { transition: $_button_transition; }
|
&:active { transition: $_button_transition; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
@include button(hover);
|
@include button(hover);
|
||||||
-gtk-icon-effect: highlight;
|
-gtk-icon-effect: highlight;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:active, &:checked {
|
&:active, &:checked {
|
||||||
background-clip: if($variant=='light', border-box, padding-box);
|
|
||||||
@include button(active);
|
@include button(active);
|
||||||
|
|
||||||
|
background-clip: if($variant=='light', border-box, padding-box);
|
||||||
transition-duration: 50ms;
|
transition-duration: 50ms;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -345,15 +362,43 @@ button {
|
|||||||
&:active:hover, &:checked { color: $selected_fg_color; }
|
&:active:hover, &:checked { color: $selected_fg_color; }
|
||||||
//Webkitgtk workaround end
|
//Webkitgtk workaround end
|
||||||
|
|
||||||
&.flat:disabled {
|
&.flat:disabled { @include button(undecorated); }
|
||||||
@include button(undecorated);
|
|
||||||
}
|
|
||||||
&:disabled {
|
&:disabled {
|
||||||
@include button(insensitive);
|
@include button(insensitive);
|
||||||
|
|
||||||
&:active, &:checked {
|
&:active, &:checked {
|
||||||
@include button(insensitive-active);
|
@include button(insensitive-active);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&.image-button {
|
||||||
|
min-width: 32px;
|
||||||
|
padding-left: 0;
|
||||||
|
padding-right: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
&.text-button {
|
||||||
|
padding-left: 16px;
|
||||||
|
padding-right: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
&.text-button.image-button {
|
||||||
|
padding-left: 8px;
|
||||||
|
padding-right: 8px;
|
||||||
|
|
||||||
|
label {
|
||||||
|
padding-left: 8px;
|
||||||
|
padding-right: 8px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
&:drop(active) {
|
||||||
|
color: $drop_target_color;
|
||||||
|
border-color: $drop_target_color;
|
||||||
|
box-shadow: inset 0 0 0 1px $drop_target_color;
|
||||||
|
}
|
||||||
|
|
||||||
// big standalone buttons like in Documents pager
|
// big standalone buttons like in Documents pager
|
||||||
&.osd {
|
&.osd {
|
||||||
color: $osd_fg_color;
|
color: $osd_fg_color;
|
||||||
@ -422,27 +467,6 @@ button {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.image-button {
|
|
||||||
min-width: 32px;
|
|
||||||
padding-left: 0;
|
|
||||||
padding-right: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
&.text-button {
|
|
||||||
padding-left: 16px;
|
|
||||||
padding-right: 16px;
|
|
||||||
}
|
|
||||||
|
|
||||||
&.text-button.image-button {
|
|
||||||
padding-left: 8px;
|
|
||||||
padding-right: 8px;
|
|
||||||
|
|
||||||
label {
|
|
||||||
padding-left: 8px;
|
|
||||||
padding-right: 8px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.stack-switcher > & {
|
.stack-switcher > & {
|
||||||
// to position the needs attention dot, padding is added to the button
|
// to position the needs attention dot, padding is added to the button
|
||||||
// child, a label needs just lateral padding while an icon needs vertical
|
// child, a label needs just lateral padding while an icon needs vertical
|
||||||
@ -509,16 +533,12 @@ button {
|
|||||||
.linked:not(.vertical) > &,
|
.linked:not(.vertical) > &,
|
||||||
.linked:not(.vertical) > &:hover,
|
.linked:not(.vertical) > &:hover,
|
||||||
.linked:not(.vertical) > &:active,
|
.linked:not(.vertical) > &:active,
|
||||||
.linked:not(.vertical) > &:checked {
|
.linked:not(.vertical) > &:checked { @extend %linked; }
|
||||||
@extend %linked;
|
|
||||||
}
|
|
||||||
|
|
||||||
.linked.vertical > &,
|
.linked.vertical > &,
|
||||||
.linked.vertical > &:hover,
|
.linked.vertical > &:hover,
|
||||||
.linked.vertical > &:active,
|
.linked.vertical > &:active,
|
||||||
.linked.vertical > &:checked {
|
.linked.vertical > &:checked { @extend %linked_vertical; }
|
||||||
@extend %linked_vertical;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// all the following is for the +|- buttons on inline toolbars, that way
|
// all the following is for the +|- buttons on inline toolbars, that way
|
||||||
@ -686,7 +706,8 @@ modelbutton.flat {
|
|||||||
}
|
}
|
||||||
|
|
||||||
modelbutton.flat arrow {
|
modelbutton.flat arrow {
|
||||||
&, &:hover { background: none; }
|
& { background: none; }
|
||||||
|
|
||||||
&.left { -gtk-icon-source: -gtk-icontheme("pan-start-symbolic"); }
|
&.left { -gtk-icon-source: -gtk-icontheme("pan-start-symbolic"); }
|
||||||
&.right { -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); }
|
&.right { -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); }
|
||||||
}
|
}
|
||||||
@ -696,6 +717,7 @@ modelbutton.flat arrow {
|
|||||||
//
|
//
|
||||||
*:link {
|
*:link {
|
||||||
color: $link_color;
|
color: $link_color;
|
||||||
|
|
||||||
&:visited {
|
&:visited {
|
||||||
color: $link_visited_color;
|
color: $link_visited_color;
|
||||||
*:selected & { color: mix($selected_fg_color, $selected_bg_color, 60%); }
|
*:selected & { color: mix($selected_fg_color, $selected_bg_color, 60%); }
|
||||||
@ -708,9 +730,10 @@ modelbutton.flat arrow {
|
|||||||
color: $link_color;
|
color: $link_color;
|
||||||
*:selected & { color: mix($selected_fg_color, $selected_bg_color, 80%); }
|
*:selected & { color: mix($selected_fg_color, $selected_bg_color, 80%); }
|
||||||
}
|
}
|
||||||
&:selected, *:selected & {
|
|
||||||
color: mix($selected_fg_color, $selected_bg_color, 80%);
|
@at-root %link_selected,
|
||||||
}
|
&:selected,
|
||||||
|
*:selected & { color: mix($selected_fg_color, $selected_bg_color, 80%); }
|
||||||
}
|
}
|
||||||
|
|
||||||
button:link, button:visited {
|
button:link, button:visited {
|
||||||
@ -780,6 +803,8 @@ combobox {
|
|||||||
min-width: 16px;
|
min-width: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&:drop(active) button.combo { @extend button:drop(active); }
|
||||||
|
|
||||||
&.linked {
|
&.linked {
|
||||||
button:nth-child(2) {
|
button:nth-child(2) {
|
||||||
&:dir(ltr) { @extend %linked:last-child; }
|
&:dir(ltr) { @extend %linked:last-child; }
|
||||||
@ -816,11 +841,29 @@ toolbar {
|
|||||||
&.horizontal separator { margin: 0 6px; }
|
&.horizontal separator { margin: 0 6px; }
|
||||||
&.vertical separator { margin: 6px 0; }
|
&.vertical separator { margin: 6px 0; }
|
||||||
|
|
||||||
.osd &, &.osd {
|
.osd & { background-color: transparent; }
|
||||||
|
|
||||||
|
&.osd {
|
||||||
padding: 7px;
|
padding: 7px;
|
||||||
border: 1px solid transparentize(black, 0.5);
|
border: 1px solid transparentize(black, 0.5);
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
background-color: transparentize($osd_bg_color, 0.1);
|
background-color: transparentize($osd_bg_color, 0.1);
|
||||||
|
|
||||||
|
&.left,
|
||||||
|
&.right,
|
||||||
|
&.top,
|
||||||
|
&.bottom { border-radius: 0; } // positional classes for `attached` osd toolbars
|
||||||
|
}
|
||||||
|
|
||||||
|
&:not(.inline-toolbar):not(.osd) {
|
||||||
|
switch,
|
||||||
|
scale,
|
||||||
|
entry,
|
||||||
|
spinbutton,
|
||||||
|
button {
|
||||||
|
margin-right: 1px;
|
||||||
|
margin-bottom: 1px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1319,8 +1362,8 @@ headerbar {
|
|||||||
}
|
}
|
||||||
|
|
||||||
&.slider-button {
|
&.slider-button {
|
||||||
padding-left: 2px;
|
padding-left: 1px;
|
||||||
padding-right: 2px;
|
padding-right: 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
image {
|
image {
|
||||||
@ -1333,7 +1376,6 @@ headerbar {
|
|||||||
// Tree Views
|
// Tree Views
|
||||||
//
|
//
|
||||||
treeview.view {
|
treeview.view {
|
||||||
|
|
||||||
-GtkTreeView-grid-line-width: 1;
|
-GtkTreeView-grid-line-width: 1;
|
||||||
-GtkTreeView-grid-line-pattern: '';
|
-GtkTreeView-grid-line-pattern: '';
|
||||||
-GtkTreeView-tree-line-width: 1;
|
-GtkTreeView-tree-line-width: 1;
|
||||||
@ -1346,15 +1388,18 @@ treeview.view {
|
|||||||
rubberband { @extend rubberband; } // to avoid borders being overridden by the previously set props
|
rubberband { @extend rubberband; } // to avoid borders being overridden by the previously set props
|
||||||
|
|
||||||
&:selected {
|
&:selected {
|
||||||
border-radius: 0;
|
&, &:focus {
|
||||||
border-left-color: mix($selected_fg_color, $selected_bg_color, 50%);
|
border-radius: 0;
|
||||||
border-top-color: transparentize($fg_color, 0.9); // doesn't work unfortunately
|
border-left-color: mix($selected_fg_color, $selected_bg_color, 50%);
|
||||||
|
border-top-color: transparentize($fg_color, 0.9); // doesn't work unfortunately
|
||||||
|
|
||||||
@extend %selected_items;
|
@extend %selected_items;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&:disabled {
|
&:disabled {
|
||||||
color: $insensitive_fg_color;
|
color: $insensitive_fg_color;
|
||||||
|
|
||||||
&:selected {
|
&:selected {
|
||||||
color: mix($selected_fg_color, $selected_bg_color, 40%);
|
color: mix($selected_fg_color, $selected_bg_color, 40%);
|
||||||
}
|
}
|
||||||
@ -1365,10 +1410,13 @@ treeview.view {
|
|||||||
color: transparentize(black, 0.9);
|
color: transparentize(black, 0.9);
|
||||||
}
|
}
|
||||||
|
|
||||||
&.dnd {
|
&:drop(active) {
|
||||||
border-style: solid none;
|
border-style: solid none;
|
||||||
border-width: 1px;
|
border-width: 1px;
|
||||||
border-color: mix($fg_color, $selected_bg_color, 50%);
|
border-color: mix($fg_color, $selected_bg_color, 50%);
|
||||||
|
|
||||||
|
&.after { border-top-style: none; }
|
||||||
|
&.before { border-bottom-style: none; }
|
||||||
}
|
}
|
||||||
|
|
||||||
&.expander {
|
&.expander {
|
||||||
@ -1593,8 +1641,7 @@ popover.background {
|
|||||||
|
|
||||||
> list,
|
> list,
|
||||||
> .view,
|
> .view,
|
||||||
> toolbar,
|
> toolbar {
|
||||||
&.osd > toolbar {
|
|
||||||
border-style: none;
|
border-style: none;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
@ -1602,6 +1649,8 @@ popover.background {
|
|||||||
&, .csd & {
|
&, .csd & {
|
||||||
&.osd, &.magnifier { @extend %osd; }
|
&.osd, &.magnifier { @extend %osd; }
|
||||||
&.touch-selection { @extend .context-menu }
|
&.touch-selection { @extend .context-menu }
|
||||||
|
|
||||||
|
&.osd { @extend %osd; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1620,7 +1669,6 @@ cursor-handle {
|
|||||||
//
|
//
|
||||||
notebook {
|
notebook {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
transition: all 200ms $ease-out-quad;
|
|
||||||
|
|
||||||
&.frame {
|
&.frame {
|
||||||
border: 1px solid $borders_color;
|
border: 1px solid $borders_color;
|
||||||
@ -1748,22 +1796,14 @@ scrollbar {
|
|||||||
|
|
||||||
button { border: none; }
|
button { border: none; }
|
||||||
|
|
||||||
&.vertical {
|
&.vertical button {
|
||||||
button.down {
|
&.down { -gtk-icon-source: -gtk-icontheme('pan-down-symbolic'); }
|
||||||
-gtk-icon-source: -gtk-icontheme('pan-down-symbolic');
|
&.up { -gtk-icon-source: -gtk-icontheme('pan-up-symbolic'); }
|
||||||
}
|
|
||||||
button.up {
|
|
||||||
-gtk-icon-source: -gtk-icontheme('pan-up-symbolic');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&.horizontal {
|
&.horizontal button {
|
||||||
button.down {
|
&.down { -gtk-icon-source: -gtk-icontheme('pan-right-symbolic'); }
|
||||||
-gtk-icon-source: -gtk-icontheme('pan-right-symbolic');
|
&.up { -gtk-icon-source: -gtk-icontheme('pan-left-symbolic'); }
|
||||||
}
|
|
||||||
button.up {
|
|
||||||
-gtk-icon-source: -gtk-icontheme('pan-left-symbolic');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&.overlay-indicator {
|
&.overlay-indicator {
|
||||||
@ -1908,7 +1948,7 @@ switch {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// Check and Radio items *
|
// Check and Radio items
|
||||||
//
|
//
|
||||||
@each $w,$a in ('check', 'checkbox'),
|
@each $w,$a in ('check', 'checkbox'),
|
||||||
('radio','radio') {
|
('radio','radio') {
|
||||||
@ -1958,29 +1998,24 @@ switch {
|
|||||||
checkbutton, radiobutton {
|
checkbutton, radiobutton {
|
||||||
// this is for a nice focus on check and radios text
|
// this is for a nice focus on check and radios text
|
||||||
&.text-button {
|
&.text-button {
|
||||||
padding: 2px 0;
|
padding: 2px 0;
|
||||||
outline-offset: 0;
|
outline-offset: 0;
|
||||||
|
}
|
||||||
|
|
||||||
label:not(:only-child) {
|
label:not(:only-child) {
|
||||||
&:first-child { margin-left: 4px; }
|
&:first-child { margin-left: 4px; }
|
||||||
&:last-child { margin-right: 4px; }
|
&:last-child { margin-right: 4px; }
|
||||||
}
|
}
|
||||||
|
|
||||||
&:disabled,
|
|
||||||
&:disabled:active,
|
|
||||||
&:disabled:indeterminate {
|
|
||||||
// set insensitive color, which is overriden otherwise
|
|
||||||
color: $insensitive_fg_color;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
radiobutton radio,
|
check,
|
||||||
checkbutton check {
|
radio {
|
||||||
min-width: 16px;
|
min-width: 16px;
|
||||||
min-height: 16px;
|
min-height: 16px;
|
||||||
margin: 0 2px;
|
margin: 0 2px;
|
||||||
&:only-child { margin: 0; }
|
|
||||||
|
&:only-child,
|
||||||
|
menu menuitem & { margin: 0; }
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
@ -2117,7 +2152,7 @@ scale {
|
|||||||
}
|
}
|
||||||
fill {
|
fill {
|
||||||
background: none;
|
background: none;
|
||||||
background-color: red;
|
background-color: transparentize($selected_bg_color, 0.5);
|
||||||
}
|
}
|
||||||
&:disabled {
|
&:disabled {
|
||||||
background-image: linear-gradient(to bottom, transparentize($_scale_trough_bg, 0.45));
|
background-image: linear-gradient(to bottom, transparentize($_scale_trough_bg, 0.45));
|
||||||
@ -2127,6 +2162,7 @@ scale {
|
|||||||
.osd & {
|
.osd & {
|
||||||
background-image: linear-gradient(to bottom, lighten($osd_bg_color, 7%));
|
background-image: linear-gradient(to bottom, lighten($osd_bg_color, 7%));
|
||||||
outline-color: transparentize($osd_fg_color, 0.8);
|
outline-color: transparentize($osd_fg_color, 0.8);
|
||||||
|
|
||||||
highlight {
|
highlight {
|
||||||
background-image: none;
|
background-image: none;
|
||||||
background-image: linear-gradient(to bottom, $selected_bg_color);
|
background-image: linear-gradient(to bottom, $selected_bg_color);
|
||||||
@ -2188,11 +2224,6 @@ progressbar {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// FIXME
|
|
||||||
//.osd .scale.progressbar {
|
|
||||||
// background-color: $selected_bg_color;
|
|
||||||
//}
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Level Bar
|
// Level Bar
|
||||||
//
|
//
|
||||||
@ -2261,13 +2292,12 @@ frame > border,
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
border: 1px solid $borders_color;
|
border: 1px solid $borders_color;
|
||||||
|
|
||||||
&.flat { border-style: none; }
|
&.flat { border-style: none; }
|
||||||
padding: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
scrolledwindow {
|
scrolledwindow {
|
||||||
viewport.frame { // avoid double borders when viewport inside
|
viewport.frame { // avoid double borders when viewport inside scrolled window
|
||||||
// scrolled window
|
|
||||||
border-style: none;
|
border-style: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2315,37 +2345,34 @@ list {
|
|||||||
row { padding: 2px; }
|
row { padding: 2px; }
|
||||||
}
|
}
|
||||||
|
|
||||||
row.activatable {
|
row {
|
||||||
&.has-open-popup,
|
&:not(:hover) { transition: all 150ms $ease-out-quad; }
|
||||||
&:hover { background-color: if($variant == 'light', transparentize(black, 0.95), transparentize(white, 0.97)); }
|
|
||||||
|
|
||||||
&:active { color: $fg_color; }
|
|
||||||
|
|
||||||
&:selected {
|
&:selected {
|
||||||
&:active { color: $selected_fg_color; }
|
@extend %selected_items;
|
||||||
|
|
||||||
|
button { @extend %selected-button; }
|
||||||
|
}
|
||||||
|
|
||||||
|
&.activatable {
|
||||||
&.has-open-popup,
|
&.has-open-popup,
|
||||||
&:hover { background-color: mix(black, $selected_bg_color, 10%); }
|
&:hover { background-color: if($variant == 'light', transparentize(black, 0.95), transparentize(white, 0.97)); }
|
||||||
|
|
||||||
|
&:active { color: $fg_color; }
|
||||||
&:disabled {
|
&:disabled {
|
||||||
color: transparentize($selected_fg_color, 0.3);
|
color: $insensitive_fg_color;
|
||||||
background-color: transparentize($selected_bg_color, 0.3);
|
image { color: inherit; }
|
||||||
label { color: inherit; }
|
}
|
||||||
|
|
||||||
|
&:selected {
|
||||||
|
&:active { color: $selected_fg_color; }
|
||||||
|
|
||||||
|
&.has-open-popup,
|
||||||
|
&:hover { background-color: mix(black, $selected_bg_color, 10%); }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
row:selected {
|
|
||||||
@extend %selected_items;
|
|
||||||
button { @extend %selected-button }
|
|
||||||
}
|
|
||||||
|
|
||||||
// transition
|
|
||||||
row {
|
|
||||||
transition: all 150ms $ease-out-quad;
|
|
||||||
&:hover { transition: none; }
|
|
||||||
}
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// App Notifications
|
// App Notifications
|
||||||
//
|
//
|
||||||
@ -2354,10 +2381,10 @@ row {
|
|||||||
color: $dark_sidebar_fg;
|
color: $dark_sidebar_fg;
|
||||||
background-color: $dark_sidebar_bg;
|
background-color: $dark_sidebar_bg;
|
||||||
background-clip: border-box;
|
background-clip: border-box;
|
||||||
border-radius: 0 0 2px 2px;
|
border-radius: 0 0 2px 2px;
|
||||||
border-width: 0 1px 1px 1px;
|
border-width: 0 1px 1px 1px;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
border-color: darken($dark_sidebar_bg, 10%);
|
border-color: darken($dark_sidebar_bg, 10%);
|
||||||
|
|
||||||
border { border: none; }
|
border { border: none; }
|
||||||
|
|
||||||
@ -2423,9 +2450,7 @@ calendar {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
&:indeterminate { color: gtkalpha(currentColor,0.55); }
|
&:indeterminate { color: gtkalpha(currentColor,0.55); }
|
||||||
&.highlight {
|
&.highlight { color: $fg_color; }
|
||||||
color: $fg_color;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
@ -2478,6 +2503,11 @@ filechooser {
|
|||||||
#pathbarbox { border-bottom: 1px solid transparentize($borders_color, 0.5); }
|
#pathbarbox { border-bottom: 1px solid transparentize($borders_color, 0.5); }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
filechooserbutton:drop(active) {
|
||||||
|
box-shadow: none;
|
||||||
|
border-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// Sidebar
|
// Sidebar
|
||||||
//
|
//
|
||||||
@ -2495,13 +2525,12 @@ filechooser {
|
|||||||
|
|
||||||
@at-root %sidebar_right,
|
@at-root %sidebar_right,
|
||||||
&:dir(rtl),
|
&:dir(rtl),
|
||||||
&.left {
|
&.right {
|
||||||
border-left: 1px solid $borders_color;
|
border-left: 1px solid $borders_color;
|
||||||
border-right-style: none;
|
border-right-style: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:selected { @extend %selected_items; }
|
list { background-color: transparent; }
|
||||||
separator { @extend separator; }
|
|
||||||
|
|
||||||
paned & { &.left, &.right, &.left:dir(rtl), &:dir(rtl), &:dir(ltr), & { border-style: none; }}
|
paned & { &.left, &.right, &.left:dir(rtl), &:dir(rtl), &:dir(ltr), & { border-style: none; }}
|
||||||
}
|
}
|
||||||
@ -2531,11 +2560,8 @@ stacksidebar {
|
|||||||
}
|
}
|
||||||
|
|
||||||
placessidebar {
|
placessidebar {
|
||||||
|
|
||||||
> viewport.frame { border-style: none; }
|
> viewport.frame { border-style: none; }
|
||||||
|
|
||||||
list { background-color: transparent; }
|
|
||||||
|
|
||||||
row {
|
row {
|
||||||
// Needs overriding of the GtkListBoxRow padding
|
// Needs overriding of the GtkListBoxRow padding
|
||||||
min-height: 30px;
|
min-height: 30px;
|
||||||
@ -2565,11 +2591,27 @@ placessidebar {
|
|||||||
|
|
||||||
&:not(:hover):not(:active) > image { opacity: 0.5 };
|
&:not(:hover):not(:active) > image { opacity: 0.5 };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&.sidebar-placeholder-row {
|
||||||
|
padding: 0 8px;
|
||||||
|
min-height: 2px;
|
||||||
|
background-image: linear-gradient(to top, $drop_target_color);
|
||||||
|
background-clip: content-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
&.sidebar-new-bookmark-row { color: $selected_bg_color; }
|
||||||
|
|
||||||
|
&:drop(active):not(:disabled) {
|
||||||
|
color: $drop_target_color;
|
||||||
|
box-shadow: inset 0 1px $drop_target_color,
|
||||||
|
inset 0 -1px $drop_target_color;
|
||||||
|
|
||||||
|
&:selected {
|
||||||
|
color: $selected_fg_color;
|
||||||
|
background-color: $drop_target_color;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
row.sidebar-placeholder-row { border: solid 1px $selected_bg_color; }
|
|
||||||
|
|
||||||
row.sidebar-new-bookmark-row { background-color: darken($bg_color, 10%); }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
@ -2649,19 +2691,25 @@ paned {
|
|||||||
//
|
//
|
||||||
// GtkInfoBar
|
// GtkInfoBar
|
||||||
//
|
//
|
||||||
infobar {
|
infobar { border-style: none; }
|
||||||
border-style: none;
|
|
||||||
|
|
||||||
button { @extend %selected-button }
|
|
||||||
}
|
|
||||||
|
|
||||||
.info,
|
.info,
|
||||||
.question,
|
.question,
|
||||||
.warning,
|
.warning,
|
||||||
.error,
|
.error {
|
||||||
infobar {
|
|
||||||
background-color: $selected_bg_color;
|
background-color: $selected_bg_color;
|
||||||
color: $selected_fg_color;
|
color: $selected_fg_color;
|
||||||
|
|
||||||
|
button { @extend %selected-button }
|
||||||
|
|
||||||
|
label:selected {
|
||||||
|
&:focus, &:hover, & {
|
||||||
|
color: $selected_bg_color;
|
||||||
|
background-color: $selected_fg_color;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
*:link { @extend %link_selected; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -2837,9 +2885,13 @@ colorchooser .popover.osd { border-radius: 3px; }
|
|||||||
rubberband { @extend rubberband; }
|
rubberband { @extend rubberband; }
|
||||||
}
|
}
|
||||||
|
|
||||||
.scale-popup button { // +/- buttons on GtkVolumeButton popup
|
.scale-popup {
|
||||||
&:hover {
|
.osd & { @extend %osd; }
|
||||||
@include button(hover);
|
|
||||||
|
button { // +/- buttons on GtkVolumeButton popup
|
||||||
|
&:hover {
|
||||||
|
@include button(hover);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2884,8 +2936,8 @@ stackswitcher button {
|
|||||||
//
|
//
|
||||||
*:drop(active):focus,
|
*:drop(active):focus,
|
||||||
*:drop(active) {
|
*:drop(active) {
|
||||||
border-color: black;
|
border-color: $drop_target_color;
|
||||||
box-shadow: inset 0 0 0 1px black;
|
box-shadow: inset 0 0 0 1px $drop_target_color;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
@ -2915,8 +2967,7 @@ decoration {
|
|||||||
.tiled & {
|
.tiled & {
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
}
|
}
|
||||||
.popup &,
|
.popup & {
|
||||||
&.popup {
|
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
}
|
}
|
||||||
@ -2995,8 +3046,12 @@ headerbar,
|
|||||||
|
|
||||||
// catch all extend
|
// catch all extend
|
||||||
%selected_items {
|
%selected_items {
|
||||||
background-image: none;
|
|
||||||
background-color: $selected_bg_color;
|
background-color: $selected_bg_color;
|
||||||
color: $selected_fg_color;
|
|
||||||
outline-color: transparentize($selected_fg_color, 0.7);
|
@at-root %nobg_selected_items, & {
|
||||||
|
color: $selected_fg_color;
|
||||||
|
outline-color: transparentize($selected_fg_color, 0.7);
|
||||||
|
|
||||||
|
&:disabled { color: mix($selected_fg_color, $selected_bg_color, 50%); }
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,18 +1,5 @@
|
|||||||
// Drawing mixins
|
// Drawing mixins
|
||||||
|
|
||||||
// generic drawing of more complex things
|
|
||||||
|
|
||||||
@mixin _shadows($shadow1, $shadow2:none, $shadow3:none, $shadow4:none) {
|
|
||||||
//
|
|
||||||
// Helper function to stack up to 4 box-shadows;
|
|
||||||
//
|
|
||||||
|
|
||||||
@if $shadow4!=none { box-shadow: $shadow1, $shadow2, $shadow3, $shadow4; }
|
|
||||||
@else if $shadow3!=none { box-shadow: $shadow1, $shadow2, $shadow3; }
|
|
||||||
@else if $shadow2!=none { box-shadow: $shadow1, $shadow2; }
|
|
||||||
@else { box-shadow: $shadow1; }
|
|
||||||
}
|
|
||||||
|
|
||||||
// Entries
|
// Entries
|
||||||
|
|
||||||
@mixin entry($t) {
|
@mixin entry($t) {
|
||||||
@ -163,24 +150,22 @@
|
|||||||
//
|
//
|
||||||
// insensitive button
|
// insensitive button
|
||||||
//
|
//
|
||||||
color: $insensitive_fg_color;
|
label, & { color: $insensitive_fg_color; }
|
||||||
|
|
||||||
border-color: transparentize($button_border, 0.45);
|
border-color: transparentize($button_border, 0.45);
|
||||||
background-color: transparentize($button_bg, 0.45);
|
background-color: transparentize($button_bg, 0.45);
|
||||||
|
|
||||||
> label { color: inherit; }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@else if $t==insensitive-active {
|
@else if $t==insensitive-active {
|
||||||
//
|
//
|
||||||
// insensitive pushed button
|
// insensitive pushed button
|
||||||
//
|
//
|
||||||
color: transparentize($selected_fg_color, 0.2);
|
label, & { color: transparentize($selected_fg_color, 0.2); }
|
||||||
|
|
||||||
border-color: transparentize($selected_bg_color, 0.25);
|
border-color: transparentize($selected_bg_color, 0.25);
|
||||||
background-color: transparentize($selected_bg_color, 0.25);
|
background-color: transparentize($selected_bg_color, 0.25);
|
||||||
|
|
||||||
opacity: 0.6;
|
opacity: 0.6;
|
||||||
|
|
||||||
> label { color: inherit; }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@if $t==header-normal {
|
@if $t==header-normal {
|
||||||
@ -218,11 +203,10 @@
|
|||||||
//
|
//
|
||||||
// insensitive header-bar button
|
// insensitive header-bar button
|
||||||
//
|
//
|
||||||
color: transparentize($header_fg, 0.45);
|
label, & { color: transparentize($header_fg, 0.45); }
|
||||||
|
|
||||||
background-color: transparentize($header_bg, 1);
|
background-color: transparentize($header_bg, 1);
|
||||||
border-color: transparentize($header_bg, 1);
|
border-color: transparentize($header_bg, 1);
|
||||||
|
|
||||||
> label { color: inherit; }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@else if $t==header-insensitive-active {
|
@else if $t==header-insensitive-active {
|
||||||
|
@ -21,22 +21,26 @@
|
|||||||
|
|
||||||
background-color: $dark_sidebar_bg;
|
background-color: $dark_sidebar_bg;
|
||||||
|
|
||||||
row.sidebar-placeholder-row { border: 1px solid $selected_bg_color; }
|
row.sidebar-new-bookmark-row {
|
||||||
|
&, image { color: $selected_bg_color; }
|
||||||
|
}
|
||||||
|
|
||||||
row.sidebar-new-bookmark-row { background-color: lighten($dark_sidebar_bg, 10%); }
|
row {
|
||||||
|
|
||||||
row.activatable {
|
|
||||||
border: none;
|
border: none;
|
||||||
color: $dark_sidebar_fg;
|
color: $dark_sidebar_fg;
|
||||||
|
|
||||||
.sidebar-icon { color: transparentize($dark_sidebar_fg, 0.4); }
|
&:not(:selected):not(:disabled):not(:active):not(.sidebar-new-bookmark-row) {
|
||||||
|
.sidebar-icon { color: transparentize($dark_sidebar_fg, 0.4); }
|
||||||
|
}
|
||||||
|
|
||||||
&.has-open-popup,
|
&.has-open-popup,
|
||||||
&:hover { background-color: transparentize($dark_sidebar_fg, 0.85); }
|
&:hover { background-color: transparentize($dark_sidebar_fg, 0.85); }
|
||||||
|
&:disabled {
|
||||||
|
&, label, image { color: transparentize($dark_sidebar_fg, 0.6); }
|
||||||
|
}
|
||||||
|
|
||||||
&:selected, &:selected:hover, &:active:hover {
|
&:selected, &:selected:hover, &:active:hover {
|
||||||
@extend %selected_items;
|
@extend %selected_items;
|
||||||
.sidebar-icon { color: inherit; }
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user