From f453d93512145b48afa4122d9be29e61235def65 Mon Sep 17 00:00:00 2001 From: Vince Date: Mon, 28 Jun 2021 11:42:17 +0800 Subject: [PATCH] Add gtk-4.o support! --- install.sh | 10 +- parse-sass.sh | 6 +- src/_sass/_colors.scss | 13 +- src/_sass/gtk/_apps-3.0.scss | 6 + src/_sass/gtk/_apps-4.0.scss | 2 + src/_sass/gtk/_apps.scss | 6 - .../gtk/{_common.scss => _common-3.0.scss} | 20 +- src/_sass/gtk/_common-4.0.scss | 4018 +++++++++++++++ .../gtk/{_drawing.scss => _drawing-3.0.scss} | 0 src/_sass/gtk/_drawing-4.0.scss | 255 + src/_sass/gtk/{apps => apps-3.0}/_budgie.scss | 0 src/_sass/gtk/{apps => apps-3.0}/_gnome.scss | 2 + .../gtk/{apps => apps-3.0}/_lightdm.scss | 0 src/_sass/gtk/{apps => apps-3.0}/_mate.scss | 0 src/_sass/gtk/{apps => apps-3.0}/_misc.scss | 0 src/_sass/gtk/{apps => apps-3.0}/_unity.scss | 0 .../shell-3-36/gnome-shell-dark.css | 88 +- src/gnome-shell/shell-3-36/gnome-shell.css | 166 +- .../shell-40-0/gnome-shell-dark.css | 84 +- src/gnome-shell/shell-40-0/gnome-shell.css | 156 +- src/gtk/{ => 3.0}/gtk-dark-solid.css | 216 +- src/gtk/3.0/gtk-dark-solid.scss | 11 + src/gtk/{ => 3.0}/gtk-dark.css | 216 +- src/gtk/3.0/gtk-dark.scss | 11 + src/gtk/{ => 3.0}/gtk-light-solid.css | 252 +- src/gtk/3.0/gtk-light-solid.scss | 11 + src/gtk/{ => 3.0}/gtk-light.css | 252 +- src/gtk/3.0/gtk-light.scss | 11 + src/gtk/{ => 3.0}/gtk-solid.css | 250 +- src/gtk/3.0/gtk-solid.scss | 11 + src/gtk/{ => 3.0}/gtk.css | 250 +- src/gtk/3.0/gtk.scss | 11 + src/gtk/4.0/gtk-dark-solid.css | 4481 +++++++++++++++++ src/gtk/4.0/gtk-dark-solid.scss | 11 + src/gtk/4.0/gtk-dark.css | 4481 +++++++++++++++++ src/gtk/4.0/gtk-dark.scss | 11 + src/gtk/4.0/gtk-light-solid.css | 4481 +++++++++++++++++ src/gtk/4.0/gtk-light-solid.scss | 11 + src/gtk/4.0/gtk-light.css | 4481 +++++++++++++++++ src/gtk/4.0/gtk-light.scss | 11 + src/gtk/4.0/gtk-solid.css | 4481 +++++++++++++++++ src/gtk/4.0/gtk-solid.scss | 11 + src/gtk/4.0/gtk.css | 4481 +++++++++++++++++ src/gtk/4.0/gtk.scss | 11 + src/gtk/gtk-dark-solid.scss | 11 - src/gtk/gtk-dark.scss | 11 - src/gtk/gtk-light-solid.scss | 11 - src/gtk/gtk-light.scss | 11 - src/gtk/gtk-solid.scss | 11 - src/gtk/gtk.scss | 11 - 50 files changed, 32208 insertions(+), 1144 deletions(-) create mode 100644 src/_sass/gtk/_apps-3.0.scss create mode 100644 src/_sass/gtk/_apps-4.0.scss delete mode 100644 src/_sass/gtk/_apps.scss rename src/_sass/gtk/{_common.scss => _common-3.0.scss} (99%) create mode 100644 src/_sass/gtk/_common-4.0.scss rename src/_sass/gtk/{_drawing.scss => _drawing-3.0.scss} (100%) create mode 100644 src/_sass/gtk/_drawing-4.0.scss rename src/_sass/gtk/{apps => apps-3.0}/_budgie.scss (100%) rename src/_sass/gtk/{apps => apps-3.0}/_gnome.scss (99%) rename src/_sass/gtk/{apps => apps-3.0}/_lightdm.scss (100%) rename src/_sass/gtk/{apps => apps-3.0}/_mate.scss (100%) rename src/_sass/gtk/{apps => apps-3.0}/_misc.scss (100%) rename src/_sass/gtk/{apps => apps-3.0}/_unity.scss (100%) rename src/gtk/{ => 3.0}/gtk-dark-solid.css (97%) create mode 100644 src/gtk/3.0/gtk-dark-solid.scss rename src/gtk/{ => 3.0}/gtk-dark.css (97%) create mode 100644 src/gtk/3.0/gtk-dark.scss rename src/gtk/{ => 3.0}/gtk-light-solid.css (97%) create mode 100644 src/gtk/3.0/gtk-light-solid.scss rename src/gtk/{ => 3.0}/gtk-light.css (97%) create mode 100644 src/gtk/3.0/gtk-light.scss rename src/gtk/{ => 3.0}/gtk-solid.css (97%) create mode 100644 src/gtk/3.0/gtk-solid.scss rename src/gtk/{ => 3.0}/gtk.css (97%) create mode 100644 src/gtk/3.0/gtk.scss create mode 100644 src/gtk/4.0/gtk-dark-solid.css create mode 100644 src/gtk/4.0/gtk-dark-solid.scss create mode 100644 src/gtk/4.0/gtk-dark.css create mode 100644 src/gtk/4.0/gtk-dark.scss create mode 100644 src/gtk/4.0/gtk-light-solid.css create mode 100644 src/gtk/4.0/gtk-light-solid.scss create mode 100644 src/gtk/4.0/gtk-light.css create mode 100644 src/gtk/4.0/gtk-light.scss create mode 100644 src/gtk/4.0/gtk-solid.css create mode 100644 src/gtk/4.0/gtk-solid.scss create mode 100644 src/gtk/4.0/gtk.css create mode 100644 src/gtk/4.0/gtk.scss delete mode 100644 src/gtk/gtk-dark-solid.scss delete mode 100644 src/gtk/gtk-dark.scss delete mode 100644 src/gtk/gtk-light-solid.scss delete mode 100644 src/gtk/gtk-light.scss delete mode 100644 src/gtk/gtk-solid.scss delete mode 100644 src/gtk/gtk.scss diff --git a/install.sh b/install.sh index b7de032..b36bb4f 100755 --- a/install.sh +++ b/install.sh @@ -91,9 +91,15 @@ install() { mkdir -p ${THEME_DIR}/gtk-3.0 ln -sf ../gtk-assets ${THEME_DIR}/gtk-3.0/assets - cp -ur ${SRC_DIR}/src/gtk/gtk${color}${solid}.css ${THEME_DIR}/gtk-3.0/gtk.css + cp -ur ${SRC_DIR}/src/gtk/3.0/gtk${color}${solid}.css ${THEME_DIR}/gtk-3.0/gtk.css [[ ${color} != '-dark' ]] && \ - cp -ur ${SRC_DIR}/src/gtk/gtk-dark${solid}.css ${THEME_DIR}/gtk-3.0/gtk-dark.css + cp -ur ${SRC_DIR}/src/gtk/3.0/gtk-dark${solid}.css ${THEME_DIR}/gtk-3.0/gtk-dark.css + + mkdir -p ${THEME_DIR}/gtk-4.0 + ln -sf ../gtk-assets ${THEME_DIR}/gtk-4.0/assets + cp -ur ${SRC_DIR}/src/gtk/4.0/gtk${color}${solid}.css ${THEME_DIR}/gtk-4.0/gtk.css + [[ ${color} != '-dark' ]] && \ + cp -ur ${SRC_DIR}/src/gtk/4.0/gtk-dark${solid}.css ${THEME_DIR}/gtk-4.0/gtk-dark.css mkdir -p ${THEME_DIR}/xfwm4 cp -ur ${SRC_DIR}/src/xfwm4/assets${ELSE_LIGHT}/*.png ${THEME_DIR}/xfwm4 diff --git a/parse-sass.sh b/parse-sass.sh index a938d03..51c2547 100755 --- a/parse-sass.sh +++ b/parse-sass.sh @@ -20,8 +20,10 @@ SASSC_OPT="-M -t expanded" for color in "${_COLOR_VARIANTS[@]}"; do for solid in "${_SOLID_VARIANTS[@]}"; do - sassc $SASSC_OPT src/gtk/gtk${color}${solid}.{scss,css} - echo ">> generating gtk${color}${solid}.css." + sassc $SASSC_OPT src/gtk/3.0/gtk${color}${solid}.{scss,css} + echo ">> generating 3.0 gtk${color}${solid}.css." + sassc $SASSC_OPT src/gtk/4.0/gtk${color}${solid}.{scss,css} + echo ">> generating 4.0 gtk${color}${solid}.css." done done diff --git a/src/_sass/_colors.scss b/src/_sass/_colors.scss index 6bfe1fa..16d0e67 100644 --- a/src/_sass/_colors.scss +++ b/src/_sass/_colors.scss @@ -16,13 +16,13 @@ $dark_fg_color: rgba($black, 0.87); $light_fg_color: $white; $fg_color: if($variant == 'light', rgba($black, 0.75), $white); -$button_fg_color: if($variant == 'light', rgba($black, 0.62), rgba($white, 0.8)); // extra fg color for raised buttons -$secondary_fg_color: if($variant == 'light', rgba($black, 0.54), rgba($white, 0.7)); +$button_fg_color: if($variant == 'light', rgba($black, 0.65), rgba($white, 0.8)); // extra fg color for raised buttons +$secondary_fg_color: if($variant == 'light', rgba($black, 0.55), rgba($white, 0.7)); $hint_fg_color: if($variant == 'light', rgba($black, 0.38), rgba($white, 0.5)); $disabled_fg_color: if($variant == 'light', rgba($black, 0.38), rgba($white, 0.5)); $disabled_secondary_fg_color: if($variant == 'light', rgba($black, 0.26), rgba($white, 0.3)); -$track_color: if($variant == 'light', rgba($black, 0.26), rgba($white, 0.3)); -$divider_color: if($variant == 'light', rgba($black, 0.12), rgba($white, 0.12)); +$track_color: if($variant == 'light', rgba($black, 0.2), rgba($white, 0.2)); +$divider_color: if($variant == 'light', rgba($black, 0.08), rgba($white, 0.08)); $titlebar_fg_color: if($titlebar == 'light', rgba($black, 0.75), $white); $titlebar_secondary_fg_color: if($titlebar == 'light', rgba($black, 0.54), rgba($white, 0.7)); @@ -79,6 +79,11 @@ $menu_fg_color: if($titlebar == 'light' and $variant == 'light', rgba($black $menu_disabled_fg: if($titlebar == 'light' and $variant == 'light', rgba($black, 0.26), rgba($white, 0.3)); $menu_border_color: if($titlebar == 'light' and $variant == 'light', rgba($black, 0.1), rgba($white, 0.1)); +$popover_bg: if($variant == 'light', $grey_850, $lighter_bg_color); +$popover_fg: rgba($white, 0.8); +$popover_disabled_fg: rgba($white, 0.3); +$popover_border: rgba($white, 0.12); + $fill_color: gtkalpha(currentColor, $lower_opacity); $semi_fill_color: gtkalpha(currentColor, $lower_opacity / 2); $row_fill_color: gtkalpha(currentColor, 0.05); diff --git a/src/_sass/gtk/_apps-3.0.scss b/src/_sass/gtk/_apps-3.0.scss new file mode 100644 index 0000000..0fcabb2 --- /dev/null +++ b/src/_sass/gtk/_apps-3.0.scss @@ -0,0 +1,6 @@ +@import 'apps-3.0/gnome'; +@import 'apps-3.0/misc'; +@import 'apps-3.0/unity'; +@import 'apps-3.0/mate'; +@import 'apps-3.0/budgie'; +@import 'apps-3.0/lightdm'; diff --git a/src/_sass/gtk/_apps-4.0.scss b/src/_sass/gtk/_apps-4.0.scss new file mode 100644 index 0000000..d4ab6f5 --- /dev/null +++ b/src/_sass/gtk/_apps-4.0.scss @@ -0,0 +1,2 @@ +//@import 'apps-4.0/gnome'; +//@import 'apps-4.0/misc'; diff --git a/src/_sass/gtk/_apps.scss b/src/_sass/gtk/_apps.scss deleted file mode 100644 index e1dc1b5..0000000 --- a/src/_sass/gtk/_apps.scss +++ /dev/null @@ -1,6 +0,0 @@ -@import 'apps/gnome'; -@import 'apps/misc'; -@import 'apps/unity'; -@import 'apps/mate'; -@import 'apps/budgie'; -@import 'apps/lightdm'; diff --git a/src/_sass/gtk/_common.scss b/src/_sass/gtk/_common-3.0.scss similarity index 99% rename from src/_sass/gtk/_common.scss rename to src/_sass/gtk/_common-3.0.scss index 7853358..0c8315e 100644 --- a/src/_sass/gtk/_common.scss +++ b/src/_sass/gtk/_common-3.0.scss @@ -1065,7 +1065,6 @@ actionbar { // set bottom border radius /*************** * Header bars * ***************/ -%titlebar, headerbar { transition: background-color $shorter_duration $deceleration_curve, color $shorter_duration $deceleration_curve; min-height: $large_size; @@ -1207,9 +1206,9 @@ headerbar { } .linked:not(.vertical).path-bar, - .linked:not(.vertical):not(.path-bar).stack-switcher { - - > button { + .linked:not(.vertical):not(.path-bar).stack-switcher, + &.windowhandle viewswitcher { + button:not(.suggested-action):not(.destructive-action) { padding-left: 8px; padding-right: 8px; label { padding-left: 8px; padding-right: 8px; } @@ -1258,6 +1257,14 @@ headerbar { } } + &.windowhandle viewswitcher button:not(.suggested-action):not(.destructive-action) { + margin-top: 0; + margin-bottom: 0; + border-radius: 0; + + &:checked { background-color: $semi_fill_color; } + } + // headerbar titlebutton separator separator.titlebutton { @extend %header_separator; } @@ -1753,11 +1760,6 @@ menuitem { * Popovers * ************/ -$popover_bg: if($variant == 'light', $grey_850, $lighter_bg_color); -$popover_fg: rgba($white, 0.7); -$popover_disabled_fg: rgba($white, 0.3); -$popover_border: rgba($white, 0.12); - %popover_flat_button { color: $popover_fg; background-color: transparent; diff --git a/src/_sass/gtk/_common-4.0.scss b/src/_sass/gtk/_common-4.0.scss new file mode 100644 index 0000000..3b01bc9 --- /dev/null +++ b/src/_sass/gtk/_common-4.0.scss @@ -0,0 +1,4018 @@ + +* { + padding: 0; + background-clip: padding-box; + -gtk-secondary-caret-color: $primary_color; +} + +/*************** + * Base States * + ***************/ +.background { + // without this headerbar transparency doesn't seem to work + background-color: $bg_color; + color: $fg_color; + + &.csd { // Set csd windows bottom border radius + border-radius: $windows_radius; + background-color: rgba($bg_color, 1); + } + + &.maximized, &.tiled, &.fullscreen, &.solid-csd { // No radius when windows maximized + border-radius: 0; + } +} + +dnd { + color: $fg_color; +} + +.normal-icons { + -gtk-icon-size: 16px; +} + +.large-icons { + -gtk-icon-size: 32px; +} + +spinner:disabled, +arrow:disabled, +scrollbar:disabled, +check:disabled, +radio:disabled, +treeview.expander:disabled { -gtk-icon-filter: opacity(0.5); } + +%view, .view { + background-color: $base_color; + color: $fg_color; + + &:disabled { color: $disabled_fg_color; } + + selection, + &:selected { @extend %selected_items; } +} + +textview { + // FIXME: we need to override background-color to ensure text rendering + > text { background-color: $base_color; } + + > border { + background-color: $alt_base_color; + color: $hint_fg_color; // FIXME: not working + } + + &:drop(active) { + caret-color: $warning_bg_color; + } +} + +iconview { + @extend %view; + border-radius: $material_radius; + + > dndtarget:drop(active) { + border: none; + } +} + +rubberband { + border: 1px solid $alt_primary_color; + background-color: rgba($alt_primary_color, $lower_opacity); +} + +flowbox { + > rubberband { @extend rubberband; } + > flowboxchild { + padding: 4px; + border-radius: $buttons_radius; + + &:selected { @extend %selected_items; } + } +} + +gridview { + > rubberband { @extend rubberband; } + + > child { + padding: 3px; + + &:selected { + @extend %selected_items; + } + + box { //cells + border-spacing: 8px; //label separation + margin: 12px; + } + } +} + +coverflow cover { + color: $fg_color; + background-color: $base_color; + border: none; +} + +label { + &.separator { + @extend .dim-label; + + color: $fg_color; + } + + row:selected &, + &:selected { @extend %nobg_selected_items; } + + > selection { + background-color: $primary_color; + color: $inverse_fg_color; + } +} + +.dim-label { opacity: $hint_opacity; } + +window.assistant { + .sidebar { + padding: 4px 0; + } + + &.csd .sidebar { border-top-style: none; } + + .sidebar label { + min-height: $medium_size; + padding: 0 12px; + color: $hint_fg_color; + font-weight: 500; + + &.highlight { color: $fg_color; } + } +} + +window.aboutdialog image.large-icons { + -gtk-icon-size: 128px; +} + +%osd, .osd { + color: $panel_fg_color; + border: none; + background-color: $panel_bg_color; + background-clip: padding-box; + border-radius: $menu_radius; + padding: 6px; + margin: 6px; + box-shadow: $shadow_4; +} + + +/********************* + * Spinner Animation * + *********************/ +@keyframes spin { + to { transform: rotate(1turn); } +} + +spinner { + background: none; + opacity: 0; // non spinning spinner makes no sense + -gtk-icon-source: -gtk-icontheme('process-working-symbolic'); + + &:checked { + opacity: 1; + animation: spin 1s linear infinite; + + &:disabled { opacity: $disabled_opacity; } + } +} + + +// +// General Typography +// + +.large-title { + font-weight: 300; + font-size: 24pt; +} +.title-1 { + font-weight: 800; + font-size: 20pt; +} +.title-2 { + font-weight: 800; + font-size: 15pt; +} +.title-3 { + font-weight: 700; + font-size: 15pt; +} +.title-4 { + font-weight: 700; + font-size: 13pt; +} +.heading { + font-weight: 700; + font-size: 11pt; +} +.body { + font-weight: 400; + font-size: 11pt; +} +.caption-heading { + font-weight: 700; + font-size: 9pt; +} +.caption { + font-weight: 400; + font-size: 9pt; +} + +/**************** + * Text Entries * + ****************/ +%entry, entry { + min-height: $medium_size; + padding: 0 8px; + border-radius: $buttons_radius; + + @include entry(normal); + + &:focus-within { @include entry(focus); } + + &:disabled { @include entry(disabled); } + + @at-root %flat_entry, &.flat { + border-radius: 0; + + @include entry(flat-normal); + + &:focus-within { @include entry(flat-focus); } + + &:disabled { @include entry(flat-disabled); } + } + + image { // icons inside the entry + color: $secondary_fg_color; + + &:hover, &:active { color: $fg_color; } + + &:disabled { color: $hint_fg_color; } + + &.left { + margin-left: ($medium_size - 16px) / 2 - 8px; + margin-right: 6px; + } + + &.right { + margin-left: 6px; + margin-right: ($medium_size - 16px) / 2 - 8px; + } + } + + &:focus-within { + > placeholder { opacity: 0; } + } + + > text > placeholder { + @extend .dim-label; + } + + > text > block-cursor { + color: $base_color; + background-color: $fg_color; + } + + undershoot { + &.left { @include undershoot(left); } + + &.right { @include undershoot(right); } + } + + > text > selection { @extend %selected_items; } + + &.password image.caps-lock-indicator { + color: $disabled_secondary_fg_color; + } + + // entry error and warning style + @each $e_type, $e_color in (error, $error_color), + (warning, $warning_color) { + &.#{$e_type} { + @include entry(normal, $e_color); + + &:focus-within { @include entry(focus, $e_color); } + + &:disabled { @include entry(disabled, $e_color); } + + &.flat { + @include entry(flat-normal, $e_color); + + &:focus-within { @include entry(flat-focus, $e_color); } + + &:disabled { @include entry(flat-disabled, $e_color); } + } + + image { + color: $inverse_secondary_fg_color; + + &:hover, &:active { color: $inverse_fg_color; } + + &:disabled { color: $inverse_hint_fg_color; } + } + } + } + + // &:drop(active) { + // box-shadow: inset 0 0 0 2px $accent_color; + // } + + // .osd & { } + + > progress { + margin: 2px (2px - 8px); + } + + progress > trough > progress { + background-color: transparent; + background-image: none; + border-radius: 0; + border-bottom: 2px solid $primary_color; + box-shadow: none; + } + + // linked entries + .linked:not(.vertical) > & { @extend %linked; } + + // Vertically linked entries + .linked.vertical > & { @extend %linked_vertical; } + + .linked:not(.vertical) > &.flat, + .linked.vertical > &.flat { border-radius: 0; } +} + +%treeview_entry, +treeview entry { + &.flat, & { + min-height: 0; + padding: 2px; + border-radius: 0; + background-color: $base_color; + + &, &:focus-within { + border-image: none; + box-shadow: none; + } + } +} + +// Editable Labels +editablelabel > stack > text { + @include entry(normal); +} + +.entry-tag { + margin: 2px; + border-radius: $circular_radius; + box-shadow: none; + background-color: $primary_color; + color: $inverse_fg_color; + + &:hover { box-shadow: $shadow_1; } + + // side margins: compensate the entry padding with a negative margin + // then the negative margin itself + :dir(ltr) & { + margin-left: 4px; + margin-right: 0; + padding-left: 12px; + padding-right: 8px; + } + + :dir(rtl) & { + margin-left: 0; + margin-right: 4px; + padding-left: 8px; + padding-right: 12px; + } + + // seems any sizing doesn't work + &.button { + box-shadow: none; + background-color: transparent; + + &:not(:hover):not(:active) { color: $inverse_secondary_fg_color; } + } +} + + +/*********** + * Buttons * + ***********/ +// stuff for .needs-attention +$_dot_color: if($variant=='light', $primary_color, lighten($primary_color, 15%)); +@keyframes needs_attention { + from { background-image: radial-gradient(farthest-side, $_dot_color 0%, transparentize($_dot_color, 1) 0%); } + to { background-image: radial-gradient(farthest-side, $_dot_color 95%, transparentize($_dot_color, 1)); } +} + +%button, +button { + @at-root %button_basic, & { + min-height: 24px; + min-width: 16px; + padding: ($medium_size - 24px) / 2 ($medium_size - 16px) / 2; + border-radius: $buttons_radius; + font-weight: 500; + + @include button(normal); + + &:hover { @include button(hover); } + + &:active { @include button(active); } + + &:disabled { @include button(disabled); } + + &:checked { @include button(checked); } + + &:checked:disabled { @include button(checked-disabled); } + + @at-root %flat_button, &.flat { + @at-root %simple_flat_button, & { + @include button(flat-normal); + + &:hover { @include button(flat-hover); } + + &:active { @include button(flat-active); } + + &:disabled { @include button(flat-disabled); } + } + + &:checked { @include button(flat-checked); } + + &:checked:disabled { @include button(flat-checked-disabled); } + } + + &.text-button { + padding-left: 16px; + padding-right: 16px; + } + + &.image-button { + min-width: 24px; + padding: ($medium_size - 24px) / 2; + } + + &.text-button.image-button { + + label { + &:first-child { margin-left: 16px - ($medium_size - 24px) / 2; } + + &:last-child { margin-right: 16px - ($medium_size - 24px) / 2; } + } + + image:not(:only-child) { margin: 0 (24px - 16px) / 2; } + } + + .linked > & { @extend %linked; } + + .linked.vertical > & { @extend %linked_vertical; } + + .linked > &.flat, + .linked.vertical > &.flat { + border-radius: $buttons_radius; + + &.image-button, + &.text-button.image-button { + border-radius: $buttons_radius; + } + } + + &:drop(active) { + // box-shadow: inset 0 0 0 2px $accent_color; + } + } + + @at-root %button_selected, row:selected & { + &:disabled { + background-color: $inverse_divider_color; + color: $inverse_disabled_secondary_fg_color; + } + + @at-root %button_selected_flat, &.flat { + color: $inverse_secondary_fg_color; + + &:hover, &:active { color: $inverse_fg_color; } + + &:disabled { color: $inverse_disabled_secondary_fg_color; } + + &:checked { + background-color: $inverse_track_color; + color: $inverse_fg_color; + } + + &:checked:disabled { + background-color: $inverse_divider_color; + color: $inverse_disabled_fg_color; + } + } + } + + // big standalone buttons like in Documents pager + &.osd { + padding: ($large_size - 24px) / 2 ($large_size - 16px) / 2; + + &.image-button { padding: ($large_size - 24px) / 2; } + + &:disabled { opacity: 0; } + } + + // overlay / OSD style + // @at-root %osd_button, + // .osd & { } + + // Suggested and Destructive Action buttons + @each $b_type, $b_color, $b_image in (suggested-action, $suggested_color, $suggested_image), + (destructive-action, $destructive_color, $destructive_image) { + &.#{$b_type} { + background-color: $b_color; + color: $inverse_fg_color; + background-image: $b_image; + background-size: auto auto; + background-position: center center; + background-repeat: no-repeat; + + &:disabled { + @include button(disabled, $b_color); + background-image: none; + } + + &:checked { + background-color: mix($inverse_fg_color, $b_color, percentage($lower_opacity)); + } + + &.flat { + background-color: transparent; + color: $b_color; + background-image: none; + + &:disabled { + @include button(flat-disabled, $b_color); + background-image: none; + } + + &:checked { + background-image: none; + background-color: rgba($b_color, 0.3); + } + } + + // .osd & { } + } + } + + stackswitcher > & { + // to position the needs attention dot, padding is added to the button + // child, a label needs just lateral padding while an icon needs vertical + // padding added too. + + outline-offset: -4px; // needs to be set or it gets overriden by GtkRadioButton outline-offset + + > label { + padding-left: 6px; // label padding + padding-right: 6px; // + } + + > image { + padding-left: 6px; // image padding + padding-right: 6px; // + padding-top: 3px; // + padding-bottom: 3px; // + } + + &.text-button { + // compensate text-button paddings + padding-left: 16px - 6px; + padding-right: 16px - 6px; + } + + &.image-button { + // we want image buttons to have a 1:1 aspect ratio, so compensation + // of the padding added to the GtkImage is needed + padding-left: ($medium_size - 16px) / 2 - 6px; + padding-right: ($medium_size - 16px) / 2 - 6px; + } + + &.needs-attention { + > label, + > image { @extend %needs_attention; } + + &:checked { + > label, + > image { + animation: none; + background-image: none; + } + } + } + } + + // hide separators + &.font, + &.file { separator { @extend %hide_separators; }} + + .primary-toolbar & { -gtk-icon-shadow: none; } // tango icons don't need shadows + + @at-root %circular_button, + &.close, + &.circular, + &.round-button { // The Bloody Circul Button + border-radius: $circular_radius; + } + + @at-root %small_button { + min-height: $small_size; + min-width: $small_size; + padding: 0; + border-radius: $circular_radius; + } +} + +%needs_attention { + animation: needs_attention $longer_duration $deceleration_curve forwards; + background-repeat: no-repeat; + background-position: right 3px; + background-size: 6px 6px; + + &:dir(rtl) { background-position: left 3px; } +} + +%linked_middle { + border-radius: 0; +} + +%linked { + @extend %linked_middle; + + &:first-child { + border-top-left-radius: $buttons_radius; + border-bottom-left-radius: $buttons_radius; + } + + &:last-child { + border-top-right-radius: $buttons_radius; + border-bottom-right-radius: $buttons_radius; + } + + &:only-child { + border-radius: $buttons_radius; + } +} + +%linked_vertical_middle { + border-radius: 0; +} + +%linked_vertical { + @extend %linked_vertical_middle; + + &:first-child { + border-top-left-radius: $buttons_radius; + border-top-right-radius: $buttons_radius; + } + + &:last-child { + border-bottom-left-radius: $buttons_radius; + border-bottom-right-radius: $buttons_radius; + } + + &:only-child { + border-radius: $buttons_radius; + } +} + +// oldstyle toolbar buttons +.toolbar button { + margin: 1px; + @extend %flat_button; +} + +button.color { + min-height: $small_size; + min-width: $small_size; + padding: $container_padding; + + > colorswatch:only-child { + &, > overlay { border-radius: 0; } + } +} + +/********* + * Links * + *********/ +%links, +link { + &, &:hover, &:active { color: $link_color; } + + &:visited { + &, &:hover, &:active { color: $visited_link_color; } + } + + @at-root %link_selected, + &:selected, + *:selected & { color: $inverse_fg_color; } +} + +button.link { + @extend %links; + + > label { text-decoration-line: underline; } +} + +/***************** + * GtkSpinButton * + *****************/ +spinbutton { + > text { + > selection { @extend %selected_items; } + > block-cursor { + background-color: $fg_color; + color: $base-color; + } + } + + &:not(.vertical) { + // in this horizontal configuration, the whole spinbutton + // behaves as the entry, so we extend the entry styling + // and nuke the style on the internal entry + @extend %entry; + + padding: 0; + + %spinbutton_entry, + text { + min-width: $large_size - 8px * 2; + // reset all the other props since the spinbutton node is styled here + margin: 0; + padding-left: 12px; + border-image: none; + border-radius: 0; + box-shadow: none; + background-color: transparent; + } + + button { + // margin: $container_padding; + border: solid 6px transparent; + @extend %simple_flat_button; + @extend %small_button; + + &.up:dir(ltr), + &.down:dir(rtl) { margin-left: -3px; } + + &.up:dir(rtl), + &.down:dir(ltr) { margin-right: -3px; } + } + } + + // OSD horizontal + // .osd &:not(.vertical) { + // button { + // } + // } + + // Vertical + &.vertical { + // in the vertical configuration, we treat the spinbutton + // as a box, and tweak the style of the entry in the middle + // so that it's linked + background-color: $divider_color; + border-radius: $buttons_radius; + + &:disabled { color: $disabled_fg_color; } + + &:drop(active) { + box-shadow: none; + } + + text { + min-height: $medium_size; + min-width: $large_size; + padding: 0; + } + + button { + min-height: $medium_size; + min-width: $large_size; + padding: 0; + + @extend %simple_flat_button; + + &.up { border-radius: $buttons_radius $buttons_radius 0 0; } + + &.down { border-radius: 0 0 $buttons_radius $buttons_radius; } + } + } + + // OSD vertical + .osd &.vertical button:first-child { } + + // Misc + treeview &:not(.vertical) { + min-height: 0; + border-style: none; + border-radius: 0; + + text { + min-height: 0; + padding: 1px 2px; + } + } + + font-feature-settings: "tnum"; +} + + +/************** + * ComboBoxes * + **************/ +dropdown > popover.menu.background > contents { padding: 0; } //allow search entries with no margin +dropdown > button > box { border-spacing: 6px; } + +dropdown, +combobox { + arrow { + -gtk-icon-source: -gtk-icontheme('pan-down-symbolic'); + min-height: 16px; + min-width: 16px; + } + + // align menu labels with the button label + > popover.menu > contents modelbutton { + padding-left: 10px; + padding-right: 10px; + } + + button.combo:checked { transition: none; } // workaround for menuitem selection + + button.combo cellview { + &:dir(ltr) { margin-left: 8px - ($medium_size - 16px) / 2; } + &:dir(rtl) { margin-right: 8px - ($medium_size - 16px) / 2; } + } + + &.linked { + button:nth-child(2) { + &:dir(ltr) { + border-top-left-radius: $buttons_radius; + border-bottom-left-radius: $buttons_radius; + } + &:dir(rtl) { + border-top-right-radius: $buttons_radius; + border-bottom-right-radius: $buttons_radius; + } + } + } + + &:drop(active) { // FIXME: untested + box-shadow: none; + } + + // newstyle + popover { + margin-top: 6px; + padding: 0; + + listview { + margin: 6px 0; + + & > row { + padding: 6px; + + &:selected { + @extend %selected_items; + } + } + } + + // drodowns with searchboxes on top + .dropdown-searchbar { + padding: 6px; + border-bottom: 1px solid $border_color; + } + } +} + +// the combo is a composite widget so the way we do button linking doesn't +// work, special case needed. See +// https://bugzilla.gnome.org/show_bug.cgi?id=733979 + +.linked:not(.vertical) > combobox { + > box > button.combo { @extend %linked_middle; } + + &:first-child > box > button.combo { + border-top-left-radius: $buttons_radius; + border-bottom-left-radius: $buttons_radius; + } + + &:last-child > box > button.combo { + border-bottom-right-radius: $buttons_radius; + border-top-right-radius: $buttons_radius; + } + + &:only-child > box > button.combo { + border-radius: $buttons_radius; + } +} + +.linked.vertical > combobox { + > box > button.combo { @extend %linked_vertical_middle; } + + &:first-child > box > button.combo { + border-top-left-radius: $buttons_radius; + border-top-right-radius: $buttons_radius; + } + + &:last-child > box > button.combo { + border-bottom-left-radius: $buttons_radius; + border-bottom-right-radius: $buttons_radius; + } + + &:only-child > box > button.combo { + border-radius: $buttons_radius; + } +} + +%combo_flat { + border-radius: 0; + background-image: none; + font-weight: inherit; + + @include entry(flat-normal); + + &:hover { box-shadow: inset 0 -2px $hint_fg_color; } + + &:checked { + box-shadow: inset 0 -2px $primary_color; + } + + &:disabled { + box-shadow: inset 0 -1px $divider_color; + color: $disabled_fg_color; + } +} + + +/************ + * Toolbars * + ************/ +.toolbar, +toolbar { + padding: 2px; + background-color: $bg_color; + + button { @extend %flat_button; } + + // on OSD + .osd & { background-color: transparent; } + + // stand-alone OSD toolbars + @at-root %toolbar_osd, &.osd { + transition: $shadow_transition; + padding: $container_padding; + border-radius: $buttons_radius; + box-shadow: $shadow_2, inset 0 1px $highlight_color; + background-color: $base_color; + + &:backdrop { box-shadow: $shadow_1, inset 0 1px $highlight_color; } + + &.left, + &.right, + &.top, + &.bottom { border-radius: 0; } // positional classes for `attached` osd toolbars + } + + // toolbar separators + &.horizontal > separator { margin: 2px; } + &.vertical > separator { margin: 2px; } + + &:not(.inline-toolbar):not(.osd) { + scale, + entry, + spinbutton, + button { margin: 2px; } + + .linked entry, + .linked spinbutton, + .linked button { + &:not(:first-child) { margin-left: 0; } + &:not(:last-child) { margin-right: 0; } + } + + spinbutton { + entry, + button { margin: 0; } + } + + switch { margin: 2px + $container_padding 2px; } + } +} + +searchbar > revealer > box { + border-spacing: $container_padding; + padding: $container_padding; + border-style: solid; + border-width: 0 0 1px; + border-color: $border_color; + background-color: $bg_color; + background-clip: border-box; +} + +actionbar { // set bottom border radius + border-radius: 0 0 $windows_radius $windows_radius; +} + + +/*************** + * Header bars * + ***************/ + +%headerbar_switcher_button { + padding-left: 8px; + padding-right: 8px; + background-color: transparent; + box-shadow: none; + + label { padding-left: 8px; padding-right: 8px; } + + &:hover { + color: $titlebar_fg_color; + background-color: $semi_fill_color; + box-shadow: inset 0 -2px transparent; + } + + &:active { + color: $titlebar_fg_color; + background-color: $fill_color; + box-shadow: inset 0 -2px transparent; + } + + &:checked { + border-radius: 0; + color: $titlebar_fg_color; + background-color: transparent; + box-shadow: inset 0 -2px $primary_color; + background-image: none; + } + + &:checked:backdrop, &:active:backdrop { + color: $titlebar_secondary_fg_color; + box-shadow: inset 0 -2px $titlebar_disabled_fg_color; + } + + &.text-button.image-button { + label { padding-left: 0; padding-right: 0; } + image { padding-left: 0; padding-right: 0; } + } +} + +headerbar { + transition: background-color $shorter_duration $deceleration_curve, color $shorter_duration $deceleration_curve; + min-height: $large_size; + padding: 0 $container_padding; + box-shadow: inset 0 1px $titlebar_highlight_color, inset 0 -1px $border_color; + background-color: $titlebar_bg_color; + color: $titlebar_fg_color; + + &:disabled :not(button) > label { color: $titlebar_disabled_fg_color; } + + &:backdrop { + color: $titlebar_secondary_fg_color; + + &:disabled :not(button) > label { color: $titlebar_disabled_secondary_fg_color; } + } + + .title { + padding: 0 12px; + font-weight: bold; + } + + .subtitle { + padding: 0 12px; + font-size: smaller; + + @extend .dim-label; + } + + entry { + background-color: if($variant == 'light', $base_color, lighten($base_color, 5%)); + &:focus { background-color: if($variant == 'light', lighten($base_color, 3%), lighten($base_color, 8%)); } + } + + // Reset headerbar linked rules + .linked:not(.vertical) > entry:not(.flat) { border-radius: $buttons_radius; } + .linked:not(.vertical) > button { + border-radius: $buttons_radius; + } + + %header_button, + button:not(.suggested-action):not(.destructive-action) { + @extend %flat_button; + border-image: none; + color: $titlebar_secondary_fg_color; + @extend %circular_button; + + &:hover, &:active { color: $titlebar_fg_color; } + + &:disabled { color: $titlebar_disabled_secondary_fg_color; } + + &:checked { + border-image: none; + background-color: $primary_color; + color: $inverse_fg_color; + background-image: $theme_image; + background-size: auto auto; + background-position: center center; + background-repeat: no-repeat; + box-shadow: if($variant == 'light', $header_shadow_light, $header_shadow_dark); + + &:disabled { + color: $inverse_disabled_fg_color; + background-color: rgba($primary_color, 0.5); + } + } + + &:backdrop { + color: $titlebar_hint_fg_color; + &:hover, &:active { color: $titlebar_secondary_fg_color; } + &:disabled { color: $titlebar_disabled_secondary_fg_color; } + &:checked { + background-image: none; + color: $inverse_secondary_fg_color; + &:disabled { color: $inverse_disabled_secondary_fg_color; } + } + } + } + + button.suggested-action, button.destructive-action { + @extend %circular_button; + + &:disabled { + background-color: $titlebar_divider_color; + color: $titlebar_disabled_fg_color; + } + } + + // add vertical margins to common widget on the headerbar to avoid them spanning the whole height + entry, + spinbutton, + separator:not(.sidebar), + button, + menubutton { + margin-top: $container_padding; + margin-bottom: $container_padding; + } + + // Reset margins for buttons inside menubutton + menubutton > button { + margin-top: 0px; + margin-bottom: 0px; + } + + > windowhandle > box { + &, + > box.start, + > box.end { + border-spacing: $container_padding; + } + } + + switch { + margin-top: ($large_size - 22px) / 2; + margin-bottom: ($large_size - 22px) / 2; + } + + // reset button margins of the spinbutton + spinbutton button { + margin-top: 0; + margin-bottom: 0; + } + + .csd &, + &.titlebar, + .titlebar &, + .solid-csd &, + box &:only-child { + // draw hilight and shadows + box-shadow: inset 0 1px $titlebar_highlight_color, inset 0 -1px $border_color; + } + + &.titlebar.default-decoration, + .csd &.titlebar.default-decoration { + box-shadow: inset 0 1px $titlebar_highlight_color; + } + + // override unwanted side-borders + box &:not(:only-child):first-child, + box &:not(:only-child):last-child { + border-left-color: $titlebar_bg_color; + border-right-color: $titlebar_bg_color; + } + + &.selection-mode { + // FIXME: 0.00001s is workaround for transition bug of gtk+ 3.22 + // see https://bugzilla.gnome.org/show_bug.cgi?id=774064 + transition: background-color 0.00001s $longer_duration, color $longer_duration $deceleration_curve; + animation: header_ripple_effect $longer_duration $deceleration_curve; + box-shadow: inset 0 1px $alt_highlight_color, inset 0 -1px $border_color; + background-color: $primary_color; + color: $inverse_fg_color; + + &:backdrop { + color: $inverse_secondary_fg_color; + } + + .subtitle:link { @extend %link_selected; } + + button:not(.suggested-action):not(.destructive-action) { + border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), + currentColor 0%, + transparent 0%) + 0 0 0 / 0 0 0; + color: $inverse_fg_color; + &:disabled { color: $inverse_disabled_fg_color; } + &:hover { color: $inverse_fg_color; } + &:checked { + border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), + currentColor 100%, + transparent 0%) + 0 0 2 / 0 0 2px; + color: $inverse_fg_color; + &:disabled { color: $inverse_disabled_fg_color; } + } + + &:backdrop { + color: $inverse_secondary_fg_color; + &:disabled { color: $inverse_disabled_secondary_fg_color; } + &:checked { + color: $inverse_secondary_fg_color; + &:disabled { color: $inverse_disabled_secondary_fg_color; } + } + } + } + + .selection-menu { + padding-left: 16px; + padding-right: 16px; + + .arrow { -gtk-icon-source: -gtk-icontheme('pan-down-symbolic'); } + } + } + + &.windowhandle { + viewswitcher button:not(.titlebutton):not(.suggested-action):not(.destructive-action) { + margin-top: 0; + margin-bottom: 0; + @extend %headerbar_switcher_button; + } + } + + .linked:not(.vertical).path-bar, + stackswitcher.linked:not(.vertical) { + > button { + @extend %headerbar_switcher_button; + } + } + + // headerbar titlebutton separator + separator.titlebutton { @extend %header_separator; } + + // squared corners when the window is maximized, tiled, or fullscreen + .tiled &, + .tiled-top &, + .tiled-right &, + .tiled-bottom &, + .tiled-left &, + .maximized &, + .fullscreen & { + border-radius: 0; + } + + &.default-decoration { + min-height: $small_size; + padding: $container_padding 12px; + box-shadow: inset 0 1px $titlebar_highlight_color; + + .tiled &, + .maximized &, + .fullscreen & { box-shadow: none; } + + windowcontrols { + button { + @extend %circular_button; + min-height: 16px; + min-width: 16px; + margin: 0 2px; + padding: 0; + } + } + } + + .solid-csd & { + &:dir(rtl), &:dir(ltr) { // specificity bump + border-radius: 0; + box-shadow: inset 0 1px $titlebar_highlight_color; + } + } +} + +.titlebar { + border-radius: $windows_radius $windows_radius 0 0; +} + +.background.tiled .titlebar, +.background.tiled-top .titlebar, +.background.tiled-right .titlebar, +.background.tiled-bottom .titlebar, +.background.tiled-left .titlebar, +.background.maximized .titlebar, +.background.solid-csd .titlebar { + border-top-left-radius: 0; + border-top-right-radius: 0; + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; +} + +headerbar { // headerbar border rounding + window separator:first-child + &, // tackles the paned container case + window &:first-child { border-top-left-radius: $windows_radius; } + window &:last-child { border-top-right-radius: $windows_radius; } + + window stack & { // tackles the stacked headerbars case + &:first-child, &:last-child { + border-top-left-radius: $windows_radius; + border-top-right-radius: $windows_radius; + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; + } + } + + window.tiled &, + window.tiled-top &, + window.tiled-right &, + window.tiled-bottom &, + window.tiled-left &, + window.maximized &, + window.fullscreen &, + window.solid-csd & { + &, + &:first-child, + &:last-child, + &:only-child { + border-top-left-radius: 0; + border-top-right-radius: 0; + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; + } + } +} + +%header_separator { + min-width: 0; + min-height: 0; + background-color: transparent; + border: none; +} + +.titlebar:not(headerbar) { + window.csd > & { + // in csd we assume every titlebar is a headerbar so reset anything, this is needed for split toolbars cases + padding: 0; + background-color: transparent; + background-image: none; + border: none; + box-shadow: none; + } + + > separator { background-color: $titlebar_bg_color; } // separator between titlebars +} + +// Development versions of apps to use a differently styled headerbar +window.devel { + headerbar.titlebar { + $c: darken($bg_color, 10%); + $gradient: cross-fade(10% -gtk-icontheme("system-run-symbolic"), image(transparent)) 90% 0/256px 256px no-repeat, + linear-gradient(to right, transparent 65%, transparentize($primary_color, 0.8)), + linear-gradient(to top, darken($c, 3%), $c 3px, lighten($c, 6%)); + @if $variant == 'dark' { + $gradient: cross-fade(10% -gtk-icontheme("system-run-symbolic"), image(transparent)) 90% 0/256px 256px no-repeat, + linear-gradient(to right, transparent 65%, transparentize($primary_color, 0.9)), + linear-gradient(to top, lighten($c, 3%) 3px, lighten($c, 5%)); + } + + background: $bg_color $gradient; + + &:backdrop { + background: $bg_color cross-fade(10% -gtk-icontheme("system-run-symbolic"), image(transparent)) 90% 0/256px 256px no-repeat, + image($bg_color); /* background-color would flash */ + } + } +} + +/************ + * Pathbars * + ************/ +%pathbar_button, +pathbar > button { + padding-left: ($medium_size - 24px) / 2; + padding-right: ($medium_size - 24px) / 2; + + label:not(:only-child) { + &:first-child { margin-left: 4px; padding-left: 8px; } + &:last-child { margin-right: 4px; padding-right: 8px; } + } + + &.slider-button { + padding-left: (24px - 16px) / 2; + padding-right: (24px - 16px) / 2; + } + + & { + @extend %flat_button; + border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), + $primary_color 0%, + transparent 0%) + 0 0 0 / 0 0 0px; + border-radius: $buttons_radius; + + &:checked { + border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), + $primary_color 100%, + transparent 0%) + 0 0 2 / 0 0 2px; + + &, &:disabled { background-color: transparent; } + } + } +} + + +/************** + * Tree Views * + **************/ +columnview.view, +treeview.view { + border-left-color: $solid_border_color; // this is actually the tree lines color, + border-top-color: $solid_border_color; // while this is the grid lines color, better then nothing + + &:selected { border-left-color: $inverse_track_color; } + + > rubberband { @extend rubberband; } // to avoid borders being overridden by the previously set props + + &:hover, &:active, &:selected { border-radius: 0; } + + &.separator { + min-height: 1px + 2px * 2; + color: $border_color; + } + + > dndtarget:drop(active) { + border-style: solid none; + border-width: 1px; + border-color: $accent_color; + + &.after { border-top-style: none; } + + &.before { border-bottom-style: none; } + } + + &.expander { + -gtk-icon-source: -gtk-icontheme('pan-down-symbolic'); + -gtk-icon-transform: rotate(-90deg); + + &:dir(rtl) { -gtk-icon-transform: rotate(90deg); } + &:checked { -gtk-icon-transform: unset; } + + color: $secondary_fg_color; + + &:hover, &:active { color: $fg_color; } + &:disabled { color: $disabled_secondary_fg_color; } + + &:selected { + color: $inverse_secondary_fg_color; + + &:hover, &:active { color: $inverse_fg_color; } + &:disabled { color: $inverse_disabled_secondary_fg_color; } + } + } + + &.progressbar { // progress bar in treeviews + border-bottom: $bar_size solid $primary_color; + box-shadow: none; + background-color: transparent; + + &:selected { border-bottom-color: $inverse_fg_color; } + } + + &.trough { // progress bar trough in treeviews + border-bottom: $bar_size solid rgba($primary_color, $lower_opacity); + box-shadow: none; + background-color: transparent; + + &:selected { border-bottom-color: $inverse_track_color; } + } + + > header { + > button { + @extend %row_activatable; + + padding: 2px 6px; + border-style: none solid solid none; + border-width: 1px; + border-color: $border_color; + border-radius: 0; + background-clip: border-box; + + &, &:hover, &:active { box-shadow: none; } + &, &:disabled { background-color: $base_color; } + &:last-child { border-right-style: none; } + } + } + + button.dnd, + header.button.dnd { // for treeview-like derive widgets + padding: 2px 6px; + border-style: none solid solid; + border-width: 1px; + border-color: $border_color; + border-radius: 0; + box-shadow: none; + background-color: $base_color; + background-clip: border-box; + color: $primary_color; + } + + acceleditor > label { background-color: $primary_color; } // see tests/testaccel to test +} + + +/********* + * Menus * + *********/ +menubar { + padding: 0; + box-shadow: inset 0 -1px $border_color; + background-color: $titlebar_bg_color; + color: $titlebar_secondary_fg_color; + + > item { + transition: $shorter_transition; + min-height: 20px; + padding: 4px 8px; + color: $titlebar_secondary_fg_color; + + &:hover { // Seems like it :hover even with keyboard focus + transition: none; + // background-color: $titlebar_divider_color; + color: $titlebar_fg_color; + box-shadow: inset 0 -3px $primary_color; + } + + &:disabled { color: $titlebar_disabled_secondary_fg_color; } + + label:disabled { color: inherit; } // to inherit the above color + } + + & > item popover.menu.background > contents { + padding: $container_padding; + } + //nested submenus + & > item popover.menu popover.menu { + padding: 0 0 4px 0; + } + & > item popover.menu.background popover.menu.background > contents { + margin: 0; + border-radius: $menu_radius; //including top + } +} + +popover.menu { + padding: 0; + + & > arrow, + &.background > contents { + padding: $container_padding; + background-color: if($solid == 'false', rgba($menu_bg_color, 0.95), $menu_bg_color); + border: none; + border-radius: $menu_radius; + color: $menu_fg_color; + } + + &.background separator { + margin: $container_padding 0; + } + + box.inline-buttons { + padding: 0 $container_padding; + + button.image-button.model { + min-height: 28px; + min-width: 28px; + padding: 0; + border: none; + outline: none; + @extend %flat_button; + } + } + + box.circular-buttons { + button.circular.image-button.model { + @extend %flat_button; + @extend %circular_button; + padding: $container_padding; + min-height: 28px; + min-width: 28px; + } + } + + modelbutton { + min-height: 20px; + min-width: 40px; + padding: 4px 8px; + border-radius: $menu_radius - 3px; + + &:selected { + color: if($variant == 'light', $alt_primary_color, $menu_fg_color); + background-color: if($titlebar == 'light', rgba($alt_primary_color, 0.1), rgba($menu_fg_color, 0.08)); + } + + &:selected:active { + color: if($variant == 'light', $alt_primary_color, $menu_fg_color); + background-color: if($titlebar == 'light', rgba($alt_primary_color, 0.12), rgba($menu_fg_color, 0.1)); + } + + &:focus { + transition: none; + } + } + + arrow.left, + radio.left, + check.left { + margin-left: -2px; + margin-right: $container_padding; + } + + arrow.right, + radio.right, + check.right { + margin-left: $container_padding; + margin-right: -2px; + } + + label.title { + font-weight: bold; + padding: 4px 32px; //this will fall apart with font sizing + } +} + +/************ + * Popovers * + ************/ + +popover.background { + background-color: transparent; + font: initial; // Decouple the font of popovers from their entry/textview + + > arrow, + > contents { + transition: $shadow_transition; + padding: 0; + box-shadow: $shadow_4; + background-color: if($solid == 'false', rgba($menu_bg_color, 0.95), $menu_bg_color); + color: $secondary_fg_color; + border: none; + + &:disabled { color: $disabled_secondary_fg_color; } + } + + &:backdrop { + background-color: transparent; + + > arrow, + > contents { + box-shadow: $shadow_1; + } + } + + > contents { + padding: 6px; + border-radius: $menu_radius; + + > list, + > .view, + > toolbar { + border-style: none; + background-color: transparent; + box-shadow: none; + } + + separator { + margin: 3px; + } + + list separator { margin: 0; } + } + + &.touch-selection, + &.magnifier, + &.osd { @extend %osd; } + + .linked entry, entry, + spinbutton:not(.vertical) { + @extend %flat_entry; + } + + button { + &.combo { + @extend %combo_flat; + } + + .linked > & { + border-radius: $buttons_radius; + + &:first-child { + border-radius: $buttons_radius; + } + + &:last-child { + border-radius: $buttons_radius; + } + + &:only-child { + border-radius: $buttons_radius; + } + } + } + + &.menu button, button.model { border-radius: $buttons_radius; } + + checkbutton.text-button, + radiobutton.text-button { outline-style: none; } + + separator { margin: 4px 0; } + list separator { margin: 0; } + + label.separator { color: $disabled_fg_color; } +} + + +/* menu buttons */ +modelbutton.flat { + min-height: $menuitem_size; + padding: 0 8px; + border-radius: $buttons_radius; + + @extend %flat_button; + + &:selected { @extend %selected_items; } + + arrow { + background: none; + + &:hover { background: none; } + + &.left { -gtk-icon-source: -gtk-icontheme("go-previous-symbolic"); } + + &.right { -gtk-icon-source: -gtk-icontheme("go-next-symbolic"); } + } +} + + +/************* + * Notebooks * + *************/ + +$notebook_radius: $windows_radius - 3px; +$notebook_header_radius: $windows_radius - 4px; + +notebook { + frame > paned > & > header, + &.frame > header { background-color: $alt_base_color; } + + &, &.frame { + background-color: $base_color; + border-radius: $notebook_radius; + } + + &.frame frame { + > border { + border: none; + border-radius: $notebook_radius; + } + + > list { + row.activatable { border-radius: $notebook_radius; } + } + } + + > header { + border-width: 1px; + border-color: $border_color; + background-color: $bg_color; + background-clip: border-box; + + &.top { + border-bottom-style: solid; + border-radius: $notebook_header_radius $notebook_header_radius 0 0; + > tabs { + margin-bottom: -1px; + > tab { + + &:hover { box-shadow: inset 0 -2px $track_color; } + + &:checked { box-shadow: inset 0 -2px $primary_color; } + } + } + } + + &.bottom { + border-top-style: solid; + border-radius: 0 0 $notebook_header_radius $notebook_header_radius; + > tabs { + margin-top: -1px; + > tab { + + &:hover { box-shadow: inset 0 2px $track_color; } + + &:checked { box-shadow: inset 0 2px $primary_color; } + } + } + } + + &.left { + border-right-style: solid; + border-radius: $notebook_header_radius 0 0 $notebook_header_radius; + > tabs { + margin-right: -1px; + > tab { + + &:hover { box-shadow: inset -2px 0 $track_color; } + + &:checked { box-shadow: inset -2px 0 $primary_color; } + } + } + } + + &.right { + border-left-style: solid; + border-radius: 0 $notebook_header_radius $notebook_header_radius 0; + > tabs { + margin-left: -1px; + > tab { + + &:hover { box-shadow: inset 2px 0 $track_color; } + + &:checked { box-shadow: inset 2px 0 $primary_color; } + } + } + } + + &.top > tabs > arrow { + @extend %notebook_vert_arrows; + + border-top-style: none; + } + + &.bottom > tabs > arrow { + @extend %notebook_vert_arrows; + + border-bottom-style: none; + } + + @at-root %notebook_vert_arrows { + padding-left: 4px; + padding-right: 4px; + + &.down { + margin-left: -8px; + -gtk-icon-source: -gtk-icontheme('pan-start-symbolic'); + } + + &.up { + margin-right: -8px; + -gtk-icon-source: -gtk-icontheme('pan-end-symbolic'); + } + } + + &.left > tabs > arrow { + @extend %notebook_horz_arrows; + + border-left-style: none; + } + + &.right > tabs > arrow { + @extend %notebook_horz_arrows; + + border-right-style: none; + } + + @at-root %notebook_horz_arrows { + padding-top: 4px; + padding-bottom: 4px; + + &.down { + margin-top: -8px; + -gtk-icon-source: -gtk-icontheme('pan-up-symbolic'); + } + + &.up { + margin-bottom: -8px; + -gtk-icon-source: -gtk-icontheme('pan-down-symbolic'); + } + } + + > tabs > arrow { + @extend %simple_flat_button; + + min-height: 16px; + min-width: 16px; + border-radius: 0; + } + + tab { + transition: $shorter_transition; + min-height: $small_size; + min-width: $small_size; + padding: $container_padding 12px; + outline-offset: -6px; + border-width: 1px; // for reorderable tabs + border-color: transparent; // + + color: $secondary_fg_color; + font-weight: 500; + + &:hover { + color: $fg_color; + + &.reorderable-page { + border-color: $border_color; + background-color: $alt_base_color; + } + } + + &:disabled { color: $disabled_secondary_fg_color; } + + &:checked { + background-color: transparent; + color: $fg_color; + + &:disabled { color: $disabled_fg_color; } + + &.reorderable-page { + border-color: $border_color; + background-color: $base_color; + } + } + + // colors the button like the label, overridden otherwise + button.flat { + @extend %small_button; + min-height: 24px; + min-width: 24px; + padding: 0; + margin: 0; + + &:last-child { + margin-left: $container_padding; + margin-right: $container_padding - 12px; + } + + &:first-child { + margin-left: $container_padding - 12px; + margin-right: $container_padding; + } + } + } + + &.top, + &.bottom { + tabs { + padding-left: 8px; + padding-right: 8px; + + &:not(:only-child) { + &:first-child { margin-left: 0; } + &:last-child { margin-right: 0; } + } + + tab { + &.reorderable-page { + margin: 0 -1px; + border-style: none solid; + } + } + } + } + + &.left, + &.right { + tabs { + padding-top: 8px; + padding-bottom: 8px; + + &:not(:only-child) { + &:first-child { margin-top: 0; } + &:last-child { margin-bottom: 0; } + } + + tab { + &.reorderable-page { + margin: -1px 0; + border-style: solid none; + } + } + } + } + } + + > stack:not(:only-child) { // the :not(:only-child) is for "hidden" notebooks + background-color: $base_color; + border-radius: $notebook_radius; + + entry:not(.search), + spinbutton:not(.vertical) { @extend %flat_entry; } + + spinbutton:not(.vertical) entry { &, &:focus, &:disabled { @extend %spinbutton_entry; }} + + treeview entry:not(.search), + treeview spinbutton:not(.vertical) { @extend %treeview_entry; } + + button.combo { @extend %combo_flat; } + } +} + + +/************** + * Scrollbars * + **************/ +scrollbar { + $_slider_min_length: 24px; + + transition: $shorter_transition; + background-color: rgba($base_color, 0.65); + background-clip: $extra_background_clip; + + // scrollbar border + &.top { border-bottom: 1px solid $border_color; } + &.bottom { border-top: 1px solid $border_color; } + &.left { border-right: 1px solid $border_color; } + &.right { border-left: 1px solid $border_color; } + + // slider + > range > trough > slider { + transition: $shorter_transition, margin 0, border-width 0; + min-width: 8px; + min-height: 8px; + border: 4px solid transparent; + border-radius: $circular_radius; + background-clip: padding-box; + background-color: $hint_fg_color; + + &:hover { background-color: $secondary_fg_color; } + + &:active { background-color: $fg_color; } + + &:disabled { background-color: $disabled_secondary_fg_color; } + } + + > range.fine-tune { + > trough > slider { + transition: $shorter_transition, margin 0, border-width 0, min-width 0, min-height 0; + min-width: 4px; + min-height: 4px; + } + + &.horizontal slider { margin: 2px 0; } + + &.vertical slider { margin: 0 2px; } + } + + &.overlay-indicator { + &:not(.dragging):not(.hovering) { + border-color: transparent; + background-color: transparent; + + > range > trough > slider { + min-width: 4px; + min-height: 4px; + margin: 4px - 1px; + border: 1px solid rgba($base_color, $lower_opacity); + } + + button { + min-width: 4px; + min-height: 4px; + margin: 4px - 1px; + border: 1px solid rgba($base_color, $lower_opacity); + border-radius: $circular_radius; + background-color: $hint_fg_color; + background-clip: padding-box; + -gtk-icon-source: none; + + &:disabled { background-color: $disabled_secondary_fg_color; } + } + + &.horizontal { + > range > trough > slider { min-width: $_slider_min_length; } + + button { min-width: 8px; } + } + + &.vertical { + > range > trough > slider { min-height: $_slider_min_length; } + + button { min-height: 8px; } + } + } + + &.dragging, + &.hovering { background-color: rgba($base_color, $higher_opacity); } + } + + &.horizontal > range > trough > slider { min-width: $_slider_min_length; } + + &.vertical > range > trough > slider { min-height: $_slider_min_length; } + + // button styling + button { + @extend %simple_flat_button; + + min-width: 16px; + min-height: 16px; + padding: 0; + border-radius: 0; + } + + // button icons + &.vertical { + button { + &.down { -gtk-icon-source: -gtk-icontheme('pan-down-symbolic'); } + + &.up { -gtk-icon-source: -gtk-icontheme('pan-up-symbolic'); } + } + } + + &.horizontal { + button { + &.down { -gtk-icon-source: -gtk-icontheme('pan-end-symbolic'); } + + &.up { -gtk-icon-source: -gtk-icontheme('pan-start-symbolic'); } + } + } +} + + +/********** + * Switch * + **********/ +$switch_width: if($compact == 'false', 42px, 38px); +$switch_height: if($compact == 'false', 20px, 16px); + +switch { + transition: $longer_transition; + margin: $container_padding 0; + padding: 0; + min-height: $switch_height; + min-width: $switch_width; + border: 4px solid transparent; + border-radius: $circular_radius; + background-color: $track_color; + background-clip: padding-box; + color: transparent; + font-size: 0; + + &:disabled { background-color: $divider_color; } + + &:checked { + background-color: rgba($accent_color, 0.35); + color: transparent; + + &:disabled { background-color: rgba($accent_color, 0.2); } + } + + > slider { + transition: $shorter_duration, $shadow_transition; + min-width: $switch_height + 4px; + min-height: $switch_height + 4px; + margin: -4px (0 - $container_padding / 2); + border-radius: $circular_radius; + box-shadow: $shadow_1; + background-color: $button_bg_color; + color: transparent; + background-position: center; + background-repeat: no-repeat; + background-image: -gtk-scaled(url('assets/switch-slider-unchecked#{$asset_suffix}.png'), + url('assets/switch-slider-unchecked#{$asset_suffix}@2.png')); + } + + &:hover > slider { box-shadow: $shadow_2; } + + &:checked > slider { + transition: $shorter_duration, $shadow_transition, margin 0; + // animation: needs_attention $longer_duration $deceleration_curve; + background-color: $accent_color; + color: transparent; + background-image: -gtk-scaled(url('assets/switch-slider-checked#{$asset_suffix}.png'), + url('assets/switch-slider-checked#{$asset_suffix}@2.png')); + } + + &:disabled > slider { background-color: $alt_base_color; } + + &:checked:disabled > slider { animation: none; background-color: mix($base_color, $accent_color, 50%); } + + row:selected & { + &:checked { + background-color: rgba(darken($accent_color, 15%), 0.35); + + &:disabled { background-color: rgba(darken($accent_color, 15%), 0.2); } + + > slider { background-color: darken($accent_color, 10%); } + } + } +} + + +/************************* + * Check and Radio items * + *************************/ +// draw regular check and radio items using our PNG assets +// all assets are rendered from assets.svg. never add pngs directly + +// selection-mode +.view.content-view.check:not(list), +.content-view .tile check:not(list) { + min-height: 40px; + min-width: 40px; + margin: 0; + padding: 0; + box-shadow: none; + background-color: transparent; + background-image: none; + -gtk-icon-shadow: $shadow_1; + + &:hover, &:active { -gtk-icon-shadow: $shadow_2; } + + @each $s, $as in ('', '-unchecked'), + (':checked', '-checked') { + &#{$s} { + -gtk-icon-source: -gtk-scaled(url("assets/selectionmode-checkbox#{$as}#{$asset_suffix}.png"), + url("assets/selectionmode-checkbox#{$as}#{$asset_suffix}@2.png")); + } + } +} + +checkbutton, +radiobutton { + outline: none; +} + +checkbutton.text-button, +radiobutton.text-button { + // this is for a nice focus on check and radios text + padding: 2px; + outline-offset: 0; + + label:not(:only-child) { margin: 0 4px; } +} + +%row_selected_button, +checkbutton check, +radiobutton radio { + row &:selected, + treeview.view &:selected, + row.activatable &:selected { + &, &:focus { + &, &:active, &:checked, &:indeterminate { + color: $inverse_secondary_fg_color; + &:disabled { color: $inverse_disabled_secondary_fg_color; } + } + + &:hover { + color: $inverse_fg_color; + &:disabled { color: $inverse_disabled_fg_color; } + } + } + } +} + +check, +radio { + min-height: 24px; + min-width: 24px; + margin: -($large_size - 24px) / 2; + padding: ($large_size - 24px) / 2; + @extend %simple_flat_button; + @extend %circular_button; + + &:checked, &:indeterminate { + color: $accent_color; + &:disabled { color: $disabled_accent_color; } + } + + // &:only-child { margin: -12px; } + + @extend %row_selected_button; + + popover modelbutton.flat & { + &, &:hover, &:focus, &:focus:hover, &:active, &:disabled { + transition: none; // FIXME: this is a workaround for a popover check/radio long transition issue + box-shadow: none; + background-image: none; + } + + &.left:dir(rtl) { + margin-left: -12px; + margin-right: -4px; + } + + &.right:dir(ltr) { + margin-left: -4px; + margin-right: -12px; + } + } + + popover.menu modelbutton & { + transition: none; + margin: 0; // this is a workaround for a menu check/radio size allocation issue + padding: 0; + + &:dir(ltr) { margin-right: 8px; } + &:dir(rtl) { margin-left: 8px; } + + &:not(:checked):not(:indeterminate):not(:disabled) { color: $menu_fg_color; } + + // &:hover, &:checked:hover, &:indeterminate:hover { color: $inverse_fg_color; } + // &:disabled { color: $inverse_disabled_fg_color; } + + &, &:hover, &:disabled { + box-shadow: none; + // color: inherit; + } + } +} + +%check, +check { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/checkbox-unchecked-symbolic.svg")); + + &:checked { -gtk-icon-source: -gtk-recolor(url("assets/scalable/checkbox-checked-symbolic.svg")); } + + &:indeterminate { -gtk-icon-source: -gtk-recolor(url("assets/scalable/checkbox-mixed-symbolic.svg")); } +} + +%radio, +radio { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/radio-unchecked-symbolic.svg")); + + &:checked { -gtk-icon-source: -gtk-recolor(url("assets/scalable/radio-checked-symbolic.svg")); } + + &:indeterminate { -gtk-icon-source: -gtk-recolor(url("assets/scalable/radio-mixed-symbolic.svg")); } +} + +%small_check, +popover.menu modelbutton check { + min-height: 16px; + min-width: 16px; + border-radius: $buttons_radius; + -gtk-icon-source: -gtk-recolor(url("assets/scalable/small-checkbox-unchecked-symbolic.svg")); + + &:checked { -gtk-icon-source: -gtk-recolor(url("assets/scalable/small-checkbox-checked-symbolic.svg")); } + + &:indeterminate { -gtk-icon-source: -gtk-recolor(url("assets/scalable/small-checkbox-mixed-symbolic.svg")); } +} + +%small_radio, +popover.menu modelbutton radio { + min-height: 16px; + min-width: 16px; + border-image: none; + -gtk-icon-source: -gtk-recolor(url("assets/scalable/small-radio-unchecked-symbolic.svg")); + + &:checked { -gtk-icon-source: -gtk-recolor(url("assets/scalable/small-radio-checked-symbolic.svg")); } + + &:indeterminate { -gtk-icon-source: -gtk-recolor(url("assets/scalable/small-radio-mixed-symbolic.svg")); } +} + +// ANIMATION: +// this is made with those pretty convoluted transitions, since checks and radios have to animate only on state changes, +// the transformation is set on the active state and it get reset on the checked state. +check:not(:checked):active { -gtk-icon-transform: rotate(90deg); } + +// radio:not(:checked):active { -gtk-icon-transform: scale(0); } + +check:not(:checked):indeterminate:active, +radio:not(:checked):indeterminate:active { -gtk-icon-transform: scaleX(-1); } // instead of rotateY(180deg) + +check:not(:checked), +radio:not(:checked) { + & { + transition: $shorter_transition, + background-size $ripple_duration $deceleration_curve, + background-image $ripple_duration * 2 $deceleration_curve, + -gtk-icon-transform 0; + } + + &:active { + transition: $shorter_transition, + background-size 0, + background-image 0, + -gtk-icon-transform 0; + } + + popover.menu modelbutton & { transition: none; } +} + +treeview.view check, +treeview.view radio { + padding: 0; + + &:hover { + box-shadow: inset 0 0 0 9999px gtkalpha($fg_color, 0.05); + + &:disabled { box-shadow: none; } + + &:selected { box-shadow: inset 0 0 0 9999px gtkalpha($inverse_fg_color, 0.05); } + } + + & { + color: $secondary_fg_color; + + &:hover, &:active { color: $fg_color; } + + &:disabled { color: $disabled_secondary_fg_color; } + + &:checked, &:indeterminate { color: $accent_color; } + + &:checked:disabled, &:indeterminate:disabled { color: $disabled_accent_color; } + } +} + +treeview.view radio:checked { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/radio-checked-symbolic.svg")); + border-image: none; +} + +/************ + * GtkScale * + ************/ +scale { + // sizing + $_marks_length: 8px; + $_marks_distance: 7px; + + $trough_size: 2px; + + $slider_size: 32px; + $marks_slider_size: 38px; + + $slider_margin: -($slider_size - $trough_size) / 2; + $marks_slider_margin: -($marks_slider_size - $trough_size) - $slider_margin; + + $color_slider_margin: -($slider_size) / 2; + $color_marks_slider_margin: -($marks_slider_size - 16px) - $color_slider_margin; + + min-height: $medium_size - $slider_size; + min-width: $medium_size - $slider_size; + padding: ($slider_size / 2); + + // the backing bit + > trough { + transition: background-color $shorter_duration $deceleration_curve; + outline: none; + background-color: $track_color; + + &:disabled { background-color: $divider_color; } + + > slider { + min-height: $slider_size; + min-width: $slider_size; + margin: $slider_margin; + } + } + + // the colored part of the backing bit + > trough > highlight { + transition: background-color $shorter_duration $deceleration_curve; + background-color: $accent_color; + + &:disabled { background-color: transparent; } + } + + // this is another differently styled part of the backing bit, the most relevant use case is for example + // in media player to indicate how much video stream as been cached + > trough > fill { + transition: background-color $shorter_duration $deceleration_curve; + background-color: $track_color; + + &:disabled { background-color: transparent; } + } + + > trough > slider { + transition: background-color $shorter_duration $deceleration_curve, + background-size $ripple_duration $deceleration_curve, + background-image $ripple_duration * 2 $deceleration_curve; + background-repeat: no-repeat; + background-position: center; + background-size: auto, 1000% 1000%; + border-radius: 50%; + color: transparent; + + @each $s, $as in ('', ''), + (':disabled', '-disabled') { + &#{$s} { + $_url: 'assets/scale-slider#{$as}#{$asset_suffix}'; + + background-image: -gtk-scaled(url('#{$_url}.png'), url('#{$_url}@2.png')); + } + } + + &:hover { background-color: rgba($accent_color, 0.08); } + + &:focus { background-color: rgba($accent_color, 0.12); } + + &:focus:hover { background-color: rgba($accent_color, 0.16); } + + &:active { + transition: background-color $shorter_duration $deceleration_curve, + background-size 0, + background-image 0; + animation: scale_ripple_effect $longer_duration $deceleration_curve forwards; + background-size: auto, 0% 0%; + background-color: rgba($accent_color, 0.08); + color: rgba($accent_color, 0.12); + } + } + + // click-and-hold the slider to activate + &.fine-tune { + // to make the slider shrink in fine-tune mode + slider { background-size: calc(100% - 12px); } + } + + > marks label, + > value { color: $hint_fg_color; } + + > marks { + color: $track_color; + + @each $marks_class, $marks_pos, $marks_margin in (top, top, bottom), + (bottom, bottom, top), + (left, left, right), + (right, right, left) { + &.#{$marks_class} { + margin-#{$marks_margin}: $_marks_distance; + margin-#{$marks_pos}: -($_marks_distance + $_marks_length); + } + } + } + + &.fine-tune marks { + @each $marks_class, $marks_pos, $marks_margin in (top, top, bottom), + (bottom, bottom, top), + (left, left, right), + (right, right, left) { + &.#{$marks_class} { + margin-#{$marks_margin}: $_marks_distance - 1px; + margin-#{$marks_pos}: -($_marks_distance + $_marks_length - 1px); + } + } + } + + &.horizontal { + indicator { + min-height: $_marks_length; + min-width: 1px; + } + } + + &.vertical { + indicator { + min-height: 1px; + min-width: $_marks_length; + } + } + + // *WARNING* scale with marks madness following + + @each $dir_class, $dir_infix in ('horizontal', 'horz'), + ('vertical', 'vert') { + @each $marks_infix, $marks_class in ('marks-before', 'marks-before:not(.marks-after)'), + ('marks-after', 'marks-after:not(.marks-before)') { + &.#{$dir_class}.#{$marks_class} { + slider { + @each $state, $state_infix in ('', ''), + (':disabled', '-disabled') { + &#{$state} { + $_scale_asset: 'assets/scale-#{$dir_infix}-#{$marks_infix}-slider#{$state_infix}#{$asset_suffix}'; + + background-image: -gtk-scaled(url('#{$_scale_asset}.png'), url('#{$_scale_asset}@2.png')); + } + } + } + } + } + } + + &.color { + min-height: 0; + min-width: 0; + + &.horizontal { + padding: 0 0 12px 0; + + slider { + &:dir(ltr), &:dir(rtl) { // specificity bump + margin-bottom: $color_slider_margin; + margin-top: $color_marks_slider_margin; + } + } + } + + &.vertical { + &:dir(ltr) { + padding: 0 0 0 12px; + + slider { + margin-left: $color_slider_margin; + margin-right: $color_marks_slider_margin; + } + } + + &:dir(rtl) { + padding: 0 12px 0 0; + + slider { + margin-right: $color_slider_margin; + margin-left: $color_marks_slider_margin; + } + } + } + } +} + + +/***************** + * Progress bars * + *****************/ +progressbar { + // sizing + &.horizontal { + > trough { + min-width: 150px; + &, > progress { min-height: $bar_size; } + } + } + + &.vertical { + > trough { + min-height: 80px; + &, > progress { min-width: $bar_size; } + } + } + + // FIXME: insensitive state missing and some other state should be set probably + color: $hint_fg_color; + font-size: smaller; + + > trough { + border-radius: $circular_radius; + background-color: rgba($progress_color, $lower_opacity); + } + + > trough > progress { + border-radius: $circular_radius; + background-color: $progress_color; + background-image: $progress_image; + background-size: auto auto; + background-position: center center; + background-repeat: no-repeat; + } + + &.osd { // progressbar.osd used for epiphany page loading progress + min-width: 3px; + min-height: 3px; + background-color: transparent; + + > trough { + border-style: none; + border-radius: 0; + background-color: transparent; + box-shadow: none; + + > progress { + border-style: none; + border-radius: 0; + } + } + } + + trough.empty progress { all: unset; } // makes the progress indicator disappear, when the fraction is 0 +} + + +/************* + * Level Bar * + *************/ +levelbar { + &.horizontal { + block { min-height: $bar_size; } + + &.discrete block { + min-width: $medium_size; + + &:not(:last-child) { margin-right: 2px; } + } + } + + &.vertical { + > trough > block { min-width: $bar_size; } + + &.discrete block { + min-height: $medium_size; + + &:not(:last-child) { margin-bottom: 2px; } + } + } + + // imitate the entry style + > trough { + padding: 2px; + border-radius: $material_radius; + box-shadow: $shadow_1; + background-color: $base_color; + + &:disabled { background-color: $alt_base_color; } + } + + > trough > block { + &.low { background-color: $warning_color; } + + &.high, + &:not(.empty) { background-color: $primary_color; } + + &.full { background-color: $success_color; } + + &.empty { background-color: $divider_color; } + } +} + + +/**************** + * Print dialog * +*****************/ +window.dialog.print { + drawing { + color: $fg_color; + background: none; + border: none; + padding: 0; + + paper { + padding: 0; + border: 1px solid $border_color; + background-color: $base_color; + color: $fg_color; + } + } + + .dialog-action-box { margin: 12px; } +} + + +/********** + * Frames * + **********/ +frame, +.frame { + margin: 0; + padding: 0; + border: 1px solid $border_color; + border-radius: 0; + box-shadow: none; + + &.flat { border-style: none; } +} + +frame.flat > border { border-style: none; } // for backward compatibility + +frame { + border-radius: $menu_radius; + + > label { + margin: 4px; + } +} + +actionbar > revealer > box { + padding: $container_padding; + border-top: 1px solid $border_color; + + button:not(.suggested-action):not(.destructive-action):not(.server-list-button) { @extend %flat_button; } + + .linked > button { border-radius: $buttons_radius; } +} + +scrolledwindow { +// viewport.frame { // avoid double borders when viewport inside scrolled window +// border-style: none; +// } + + // This is used when content is touch-dragged past boundaries. + // draws a box on top of the content, the size changes programmatically. + @at-root overshoot { + &.top { @include overshoot(top); } + + &.bottom { @include overshoot(bottom); } + + &.left { @include overshoot(left); } + + &.right { @include overshoot(right); } + } + + // Overflow indication, works similarly to the overshoot, the size if fixed tho. + @at-root undershoot { + &.top { @include undershoot(top); } + + &.bottom { @include undershoot(bottom); } + + &.left { @include undershoot(left); } + + &.right { @include undershoot(right); } + } + + @at-root junction { // the small square between two scrollbars + border-style: solid none none solid; + border-width: 1px; + border-color: $border_color; + background-color: $base_color; + + &:dir(rtl) { border-style: solid solid none none; } + } +} + +// vbox and hbox separators +separator { + min-width: 1px; + min-height: 1px; + background-color: $border_color; +} + +%hide_separators { + min-width: 0; + min-height: 0; + background-color: transparent; +} + + +/********* + * Lists * + *********/ +listview, +list { + border-color: $border_color; + background-color: $base_color; + + row { padding: 2px; } +} + +// FIXME +$row_transition: $shorter_transition, background-color 0, color 0; + +row { + @at-root %row_activatable, &.activatable { + transition: $row_transition; + box-shadow: inset 0 0 0 9999px transparent; + + &:hover { + transition: $row_transition, + box-shadow 0; + box-shadow: inset 0 0 0 9999px $row_fill_color; + } + + &.has-open-popup, // this is for indicathing which row generated a popover see https://bugzilla.gnome.org/show_bug.cgi?id=754411 + &:active { + transition: $row_transition; + box-shadow: inset 0 0 0 9999px $fill_color; + background-size: 0% 0%; + } + } + + &:selected { @extend %selected_items; } + + button.circular { margin: 0 4px; } // To show the circular button shadow completely on row + button.image-button { @extend %circular_button; } // Use circular button for image buttons on row + .linked button { @extend %linked; } +} + +columnview { + // move padding to child cells + > listview > row { + padding: 0; + + // align horizontal sizing with header buttons + > cell { + padding: 8px 6px; + + &:not(:first-child) { + border-left: 1px solid transparent; + } + } + } + + // make column separators visible when :show-column-separators is true + &.column-separators > listview > row > cell { + border-left-color: $solid_border_color; + } + + // shrink vertically for .data-table + &.data-table > listview > row > cell { + padding-top: 2px; + padding-bottom: 2px; + } +} + +treeexpander { + border-spacing: 4px; +} + +columnview row:not(:selected) cell editablelabel.editing text selection { + @extend %selected_items; +} + +.rich-list { /* rich lists usually containing other widgets than just labels/text */ + & > row { + padding: 8px 12px; + min-height: 32px; /* should be tall even when only containing a label */ + + & > box { + border-spacing: 12px; + } + } +} + + +/********************* + * App Notifications * + *********************/ +.app-notification { + @extend %osd; + @extend %toolbar_osd; + margin: 8px; + + button { @extend %flat_button; } + + &.frame, + border { border-style: none; } +} + + +/************* + * Expanders * + *************/ +expander { + transition: all $shorter_duration $deceleration_curve; + min-width: 16px; + min-height: 16px; + -gtk-icon-source: -gtk-icontheme('pan-down-symbolic'); + -gtk-icon-transform: rotate(-90deg); + + &:dir(rtl) { -gtk-icon-transform: rotate(90deg); } + + &:checked { -gtk-icon-transform: unset; } + + color: $secondary_fg_color; + + &:hover, &:active { color: $fg_color; } + + &:disabled { color: $disabled_secondary_fg_color; } + + &:selected { + color: $inverse_secondary_fg_color; + + &:hover, &:active { color: $inverse_fg_color; } + + &:disabled { color: $inverse_disabled_secondary_fg_color; } + } +} + + +/************ + * Calendar * + ************/ +calendar { + color: $secondary_fg_color; + border: 1px solid $border_color; + + > header { + border-bottom: 1px solid $border_color; + + > button { + border: none; + box-shadow: none; + background: none; + border-radius: 0; + } + > button:backdrop { + background: none; + } + } + + > grid { + > label { + border-radius: 3px; + } + > label.day-name { + } + + > label.week-number { + } + + > label.today { + background-color: rgba($fg_color, 0.15); + + &:selected { + @extend %selected_items; + } + } + + > label.day-number { + padding: 4px; + + &:selected{ + @extend %selected_items; + border-radius: 3px; + } + } + + > label.day-number.other-month { + color: gtkalpha(currentColor, 0.3); + } + } +} + + +/*********** + * Dialogs * + ***********/ +window.dialog.message { // Message Dialog styling + color: $popover_fg; + + &.background { + background-color: rgba($popover_bg, 0.95); + } + + .titlebar { + min-height: $small_size; + border-style: none; + box-shadow: inset 0 1px $titlebar_highlight_color; + background-color: rgba($popover_bg, 0.95); + color: $popover_fg; + border-top-left-radius: $buttons_radius; + border-top-right-radius: $buttons_radius; + + &:backdrop { color: $popover_disabled_fg; } + } + + list, row, .view, textview.view > text { + color: $popover_fg; + background-color: darken($popover_bg, 3%); + border-color: $popover_border; + } + + .linked:not(.vertical).dialog-action-area > button { + @extend %simple_flat_button; + padding: 4px 12px; + border-top: 1px solid $border_color; + border-radius: 0; + color: $popover_fg; + + &:first-child { + border-bottom-left-radius: 0; + border-top-left-radius: 0; + } + + &:last-child { + border-bottom-right-radius: 0; + border-top-right-radius: 0; + } + } + + @each $b_type, $b_color in (suggested-action, $suggested_color), + (destructive-action, $destructive_color) { + .linked:not(.vertical).dialog-action-area > button.#{$b_type} { + + &, &:hover { color: $b_color; } + + &:active, &:checked { + background-color: $b_color; + color: white; + border-color: $b_color; + box-shadow: none; + } + + &:disabled { opacity: 0.65; } + } + } + + &.csd { // rounded bottom border styling for csd version + color: $popover_fg; + + &.background { + // bigger radius for better antialiasing + border-bottom-left-radius: $buttons_radius; + border-bottom-right-radius: $buttons_radius; + } + + .linked:not(.vertical).dialog-action-area > button { + @extend %simple_flat_button; + padding: 8px 16px; + border-top: 1px solid $border_color; + border-radius: 0; + color: $popover_fg; + + &:first-child { + border-bottom-left-radius: $buttons_radius; + border-top-left-radius: 0; + } + + &:last-child { + border-bottom-right-radius: $buttons_radius; + border-top-right-radius: 0; + } + } + } + + entry { + color: $popover_fg; + @extend %flat_entry; + } + + expander { + title > arrow { + color: $inverse_secondary_fg_color; + + &:hover, &:active { color: $inverse_fg_color; } + + &:disabled { color: $inverse_disabled_secondary_fg_color; } + } + } +} + +filechooser { + .background.csd &, .background.csd & placessidebar { + background: none; + border-radius: 0 0 $windows_radius $windows_radius; + + list { background-color: transparent; } + } + + .maximized & placessidebar { border-radius: 0; } + + stack.view { + background-color: transparent; + + scrolledwindow { + background-color: $base_color; + border-radius: 0 0 $windows_radius $windows_radius; + + treeview.view { + @extend %view; + background-color: transparent; + } + } + } + + .dialog-action-box { border-top: 1px solid $border_color; } + + #pathbarbox { + border-bottom: 1px solid $border_color; + background-color: $bg_color; + } +} + +filechooserbutton > button > box { + border-spacing: 6px; +} + +filechooserbutton:drop(active) { + box-shadow: none; +} + + +/*********** + * Sidebar * + ***********/ + +%sidebar_template { + &:dir(ltr) { + box-shadow: if($variant == light, $sidebar-light-ltr, + $sidebar-dark-ltr); + } + &:dir(rtl) { + box-shadow: if($variant == light, $sidebar-light-rtl, + $sidebar-dark-rtl); + } +} + +.sidebar { + border-style: none; + background-color: $lighter_bg_color; + + @at-root %sidebar_left, + &:dir(ltr), + &.left, + &.left:dir(rtl) { + border-right: 1px solid $solid_border_color; + border-left-style: none; + } + + @at-root %sidebar_right, + &:dir(rtl), + &.right { + border-left: 1px solid $solid_border_color; + border-right-style: none; + } + + listview.view, + list { background-color: transparent; } + + paned & { &.left, &.right, &.left:dir(rtl), &:dir(rtl), &:dir(ltr), & { border-style: none; }} +} + +stacksidebar { + list.separators:not(.horizontal) > row:not(.separator) { + border-bottom: none; + } + + row { + padding: 10px 4px; + + > label { + padding-left: 6px; + padding-right: 6px; + } + + &.needs-attention > label { @extend %needs_attention; } + } + + .frame list { @extend %sidebar_template; } // draw shadows +} + + +// +// Navigation Sidebar +// +.navigation-sidebar { + padding: $container_padding 0; //only vertical padding. horizontal row size would clip + + > separator { + margin: $container_padding; + } + + > row { + min-height: ($container_padding + 10px) * 2; + padding: 0 $container_padding; + border-radius: $menu_radius; + margin: 0 $container_padding 2px; + + &:hover, + &:focus-visible:focus-within { + color: $fg_color; + background-color: rgba($fg_color, 0.06); + } + + &:selected { + color: $fg_color; + background-color: rgba($fg_color, 0.08); + + label { color: $fg_color; } + + &:hover { + background-color: rgba($fg_color, 0.12); + } + + &:focus-visible:focus-within { + outline-width: 0; + color: $inverse_fg_color; + background-color: $primary_color; + &:hover { background-color: lighten($primary_color, 10%); } + } + } + + &:disabled { color: $disabled_secondary_fg_color; } + } +} + + +/**************** + * File chooser * + ****************/ +// dim the sidebar icons, see bug #786613 for details on this oddity + +%selected_sidebar_button { + color: rgba($primary_color, 0.75); + + &:hover, &:active { color: $primary_color; } + + &:disabled { color: rgba($primary_color, 0.35); } + + &:checked { + background-color: rgba($primary_color, 0.1); + color: $primary_color; + } + + &:checked:disabled { + background-color: rgba($primary_color, 0.05); + color: rgba($primary_color, 0.55); + } +} + +row { + image.sidebar-icon { color: $secondary_fg_color; } + + &:selected image.sidebar-icon { color: $inverse_secondary_fg_color; } +} + +placessidebar { + > viewport.frame { border-style: none; } + + list { padding: (4px - 3px) 0 4px; } + + .navigation-sidebar > row { + // Needs overriding of the GtkListBoxRow padding + min-height: 32px; + margin: -1px 4px -1px 0; // Remove unknown margins + padding: 0; + border-radius: 0 $buttons_radius $buttons_radius 0; + + // Using margins/padding directly in the SidebarRow + // will make the animation of the new bookmark row jump + > revealer { padding: 0 12px; } + + &:selected { + background-color: rgba($divider_color, 0.06); + color: $primary_color; + + image.sidebar-icon, label.sidebar-label { color: if($variant == 'light', $primary_color, lighten($primary_color, 15%)); } + } + + &:disabled { color: $disabled_fg_color; } + + image.sidebar-icon { + &:dir(ltr) { padding-right: 8px; } + &:dir(rtl) { padding-left: 8px; } + } + + label.sidebar-label { + &:dir(ltr) { padding-right: 2px; } + &:dir(rtl) { padding-left: 2px; } + } + + button.sidebar-button { + @extend %simple_flat_button; + + @extend %small_button; + + // row:selected & { @extend %button_selected_flat; } + } + + &.sidebar-placeholder-row { + min-height: 2px; + padding: 0 8px; + background-image: image($accent_color); + background-clip: content-box; + } + + &.sidebar-new-bookmark-row { + &, image.sidebar-icon { + color: $accent_color; + } + } + + &:drop(active):not(:disabled) { + box-shadow: inset 0 0 0 2px $accent_color; + + &:selected { + // background-color: $accent_color; + // color: $inverse_fg_color; + } + } + } +} + +placesview { + .server-list-button > image { -gtk-icon-transform: rotate(0turn); } + + .server-list-button:checked > image { -gtk-icon-transform: rotate(-0.5turn); } + + // this selects the "connect to server" label + > actionbar > revealer > box > label { + padding-left: 8px; + padding-right: 8px; + } +} + + +/********* + * Paned * + *********/ +paned { + > separator { + min-width: 1px; + min-height: 1px; + -gtk-icon-source: none; // defeats the ugly default handle decoration + border-style: none; // just to be sure + background-color: transparent; + // workaround, using background istead of a border since the border will get rendered twice (?) + background-image: image($border_color); + background-size: 1px 1px; + background-clip: content-box; // avoids borders image being rendered twice (?) + + &.wide { + min-width: 6px; + min-height: 6px; + background-color: $bg_color; + background-image: image($border_color), image($border_color); + background-size: 1px 1px, 1px 1px; + } + } + + &.horizontal > separator { + background-repeat: repeat-y; + + &:dir(ltr) { + margin: 0 -8px 0 0; + padding: 0 8px 0 0; + background-position: left; + } + + &:dir(rtl) { + margin: 0 0 0 -8px; + padding: 0 0 0 8px; + background-position: right; + } + + &.wide { + margin: 0; + padding: 0; + background-repeat: repeat-y, repeat-y; + background-position: left, right; + } + } + + &.vertical > separator { + margin: 0 0 -8px 0; + padding: 0 0 8px 0; + background-repeat: repeat-x; + background-position: top; + + &.wide { + margin: 0; + padding: 0; + background-repeat: repeat-x, repeat-x; + background-position: bottom, top; + } + } +} + + +// +// GtkVideo +// + +video { + & image.osd { + min-width: 64px; + min-height: 64px; + border-radius: $circular_radius; + } + background: black; +} + + +/************** + * GtkInfoBar * + **************/ +infobar { + border-style: none; + + &.info { background-color: $info_bg_color; } + + &.question { background-color: $question_bg_color; } + + &.warning { background-color: $warning_bg_color; } + + &.error { background-color: $error_bg_color; } + + &.info, + &.question, + &.warning, + &.error { + > label, & { color: $inverse_fg_color; } + + button { + @extend %flat_button; + @extend %button_selected_flat; + } + + selection {} + + *:link { @extend %link_selected; } + } +} + + +/************ + * Tooltips * + ************/ +tooltip { + &.background.csd { + // background-color needs to be set this way otherwise it gets drawn twice + // see https://bugzilla.gnome.org/show_bug.cgi?id=736155 for details. + border-radius: $menu_radius; + box-shadow: inset 0 1px $titlebar_highlight_color; + background-color: rgba($popover_bg, $higher_opacity); + color: $popover_fg; + } + + // @extend %osd; + + // padding: 4px; /* not working */ + border-radius: $menu_radius; + box-shadow: none; // otherwise it gets inherited by windowframe.csd + + &:not(.csd):not(.unity-csd) { + // border: 1px solid $border_color; + // border-radius: $material_radius + 1px; + // background-clip: $extra_background_clip; + } + + label { + // tooltip label already seems to have 6px margins + min-height: 32px - 6px * 2; + padding: 0 8px - 6px; + } + + > box { + border-spacing: 6px; + } +} + + +/***************** + * Color Chooser * + *****************/ +colorswatch { + // This widget is made of two boxes one on top of the other, the lower box is colorswatch {} the other one + // is colorswatch overlay {}, colorswatch has the programmatically set background, so most of the style is + // applied to the overlay box. + + // base color corners rounding + // to avoid the artifacts caused by rounded corner anti-aliasing the base color + // sports a bigger radius. + // nth-child is needed by the custom color strip. + + &.top { + border-top-left-radius: $material_radius + 0.5px; + border-top-right-radius: $material_radius + 0.5px; + + overlay { + border-top-left-radius: $material_radius; + border-top-right-radius: $material_radius; + } + } + + &.bottom { + border-bottom-left-radius: $material_radius + 0.5px; + border-bottom-right-radius: $material_radius + 0.5px; + + overlay { + border-bottom-left-radius: $material_radius; + border-bottom-right-radius: $material_radius; + } + } + + &.left, + &:first-child:not(.top) { + border-top-left-radius: $material_radius + 0.5px; + border-bottom-left-radius: $material_radius + 0.5px; + + overlay { + border-top-left-radius: $material_radius; + border-bottom-left-radius: $material_radius; + } + } + + &.right, + &:last-child:not(.bottom) { + border-top-right-radius: $material_radius + 0.5px; + border-bottom-right-radius: $material_radius + 0.5px; + + overlay { + border-top-right-radius: $material_radius; + border-bottom-right-radius: $material_radius; + } + } + + &.dark { color: $light_fg_color; } + + &.light { color: $dark_fg_color; } + + &:drop(active) { + box-shadow: none; + + &.light overlay { box-shadow: $shadow_1, 0 0 0 2px $accent_color; } + + &.dark overlay { box-shadow: $shadow_1, 0 0 0 2px $accent_color; } + } + + overlay { + transition: $shadow_transition; + box-shadow: $shadow_1; + + &:hover { box-shadow: $shadow_2; } + } + + &#add-color-button { + border-radius: $material_radius $material_radius 0 0; + color: $light_fg_color; + + &:only-child { border-radius: $material_radius; } + + overlay { + background-image: linear-gradient(to right, + $error_bg_color 25%, + $warning_bg_color 25%, $warning_bg_color 50%, + $info_bg_color 50%, $info_bg_color 75%, + $question_bg_color 75%); + } + } + + &:disabled { + opacity: $disabled_opacity; + + overlay { box-shadow: none; } + } + + row:selected & { + } + + &#editor-color-sample { + border-radius: $material_radius + 0.5px; + + overlay { border-radius: $material_radius; } + + // overlay:hover { box-shadow: $shadow_1; } + } +} + +// colorscale popup +colorchooser .popover.osd { + transition: $shadow_transition; + border-radius: $buttons_radius; + box-shadow: $shadow_2, inset 0 1px $highlight_color; + background-color: $base_color; + + &:backdrop { box-shadow: $shadow_1, inset 0 1px $highlight_color; } + + spinbutton:not(.vertical) { @extend %flat_entry; } +} + + +/******** + * Misc * + ********/ +// content view (grid/list) +.content-view { + background-color: $bg_color; + + // &:hover { -gtk-icon-effect: highlight; } + + > rubberband { @extend rubberband; } +} + +.scale-popup { + .osd & { @extend %osd; } + + .osd & button.flat { // FIXME: quick hack, redo properly + } + + button { // +/- buttons on GtkVolumeButton popup + } +} + + +/********************** + * Window Decorations * + **********************/ +window { + border: none; + + &.csd { + transition: $shadow_transition; + border-radius: $windows_radius; + box-shadow: $shadow_4, 0 16px 16px transparent; + margin: 0; + + &:backdrop { + box-shadow: $shadow_2, 0 16px 16px transparent; + } + + &.popup { + border-radius: $windows_radius; + box-shadow: $shadow_4; + } + + &.dialog.message { + border-radius: $windows_radius; + box-shadow: $shadow_4; + } + + &.solid-csd { + margin: 0; + border: none; + border-radius: 0; + box-shadow: inset 0 1px $highlight_color; + background-color: $titlebar_bg_color; + } + } + + .maximized &, + .fullscreen &, + .tiled &, + .tiled-top &, + .tiled-right &, + .tiled-bottom &, + .tiled-left & { border-radius: 0; } + + .popup & { box-shadow: none; } + + // server-side decorations as used by mutter + .ssd & { box-shadow: 0 3px 3px rgba(0, 0, 0, 0.16); } // just doing borders, wm draws actual shadows +} + +/***************** + * Title buttons * + *****************/ + +headerbar { + padding: 0 14px; + + windowcontrols { + border-spacing: 6px; + + &:not(.empty) { + &.start:dir(ltr), + &.end:dir(rtl) { + margin-right: $container-padding; + } + + &.start:dir(rtl), + &.end:dir(ltr) { + margin-left: $container-padding; + } + } + + > button:not(.suggested-action):not(.destructive-action) { + @extend %circular_button; + + &.close, &.maximize, &.minimize { // -gtk-icon-source: + min-width: 12px; + min-height: 12px; + padding: 0; + margin: 0 2px; + color: transparent; + background-color: $titlebar_track_color; + + &, &:backdrop { + &:hover { + color: $titlebar_secondary_fg_color; + } + + &:active, &:checked { + color: $titlebar_fg_color; + } + } + + &:backdrop { + color: transparent; + background-color: $titlebar_divider_color; + } + } + + &.close { // Window Close button + transition: background-size 0, background-image 0, $shadow_transition; + + &:hover { + padding: 2px; + margin: -2px 0; + background-color: $red_400; + color: $inverse_secondary_fg_color; + box-shadow: $shadow_2; + } + + &:active, &:checked { + padding: 2px; + margin: -2px 0; + background-color: $accent_color; + color: $inverse_fg_color; + box-shadow: $shadow_1; + } + } + } + } +} + +// catch all extend :) + +%selected_items { + background-color: $primary_color; + + @at-root %nobg_selected_items, & { + color: $inverse_fg_color; + + &:disabled { color: $inverse_disabled_fg_color; } + } +} + +.monospace { font-family: monospace; } + + +/********************** + * Touch Copy & Paste * + **********************/ +// touch selection handlebars for the Popover.osd above +cursor-handle { + border-radius: $circular_radius; + background-color: $accent_color; + background-image: none; + + &.top:dir(ltr), &.bottom:dir(rtl) { + padding-left: 6px; + border-top-right-radius: 0; + } + + &.bottom:dir(ltr), &.top:dir(rtl) { + padding-right: 6px; + border-top-left-radius: 0; + } + + &.insertion-cursor:dir(ltr), &.insertion-cursor:dir(rtl) { + $_url: 'assets/scale-horz-marks-before-slider#{$asset_suffix}'; + -gtk-icon-source: -gtk-scaled(url('#{$_url}.png'), + url('#{$_url}@2.png')); + } +} + +shortcuts-section { + margin: 20px; +} + +.shortcuts-search-results { + margin: 20px; + border-spacing: 24px; +} + + +.context-menu { font: initial; } // Decouple the font of context menus from their entry/textview + +// shortcut window keys +shortcut > .keycap { + min-width: 28px - 8px * 2; + min-height: 28px - 2px; + margin-top: 2px; + padding-bottom: 2px; + padding-left: 8px; + padding-right: 8px; + + border: solid 1px $border_color; + border-radius: $material_radius; + box-shadow: inset 0 -2px $border_color; + background-color: $base_color; + color: $fg_color; + font-size: smaller; +} + +:not(decoration):not(window):drop(active) { // FIXME needs to be done widget by widget, this wildcard should really die + transition: $longer_transition; + box-shadow: $shadow_1, inset 0 0 0 2px $accent_color; + caret-color: $accent_color; +} + +stackswitcher button.text-button { min-width: 100px; } // FIXME aggregate with buttons + +stackswitcher button.circular, +stackswitcher button.text-button.circular { // FIXME aggregate with buttons + min-width: $medium_size; + min-height: $medium_size; + padding: 0; +} + +// +// App Icons +// +.lowres-icon { + -gtk-icon-shadow: 0 -1px rgba(0,0,0,0.05), + 1px 0 rgba(0,0,0,0.1), + 0 1px rgba(0,0,0,0.3), + -1px 0 rgba(0,0,0,0.1); +} + +.icon-dropshadow { + -gtk-icon-shadow: 0 1px 12px rgba(0,0,0,0.05), + 0 -1px rgba(0,0,0,0.05), + 1px 0 rgba(0,0,0,0.1), + 0 1px rgba(0,0,0,0.3), + -1px 0 rgba(0,0,0,0.1); +} + + +/********* + * Emoji * + *********/ +popover.emoji-picker { + > contents { + padding: 0; + } +} + +.emoji-searchbar { + padding: $container_padding; + border-spacing: $container_padding; + border-bottom: 1px solid $border_color; +} + +.emoji-toolbar { + padding: $container_padding; + border-spacing: $container_padding; + border-top: 1px solid $border_color; +} + + +// mimic tab style +button.emoji-section { + margin-top: -1px; + padding: 0 8px; + min-width: 24px; + min-height: $medium_size; + border-radius: 0; + box-shadow: none; + + &:hover { box-shadow: inset 0 2px $track_color; } + + &:active { + box-shadow: inset 0 2px $primary_color; + } + + &:checked { + box-shadow: inset 0 2px $primary_color; + background-color: transparent; + } + + &:first-child { margin-left: 4px; } + &:last-child { margin-right: 4px; } +} + +popover.emoji-picker emoji { + font-size: x-large; + padding: $container_padding; + border-radius: $container_padding; + + &:focus, + &:hover { + background: $primary_color; + } +} + +emoji-completion-row > box { + border-spacing: $container_padding; + padding: 2px $container_padding; +} + +emoji-completion-row:focus, +emoji-completion-row:hover { + @extend %selected_items; +} + +emoji-completion-row emoji:focus, +emoji-completion-row emoji:hover { + background: none; + box-shadow: inset 0 0 0 2px rgba($fg_color, 0.05); + border-radius: 3px; +} + +popover.entry-completion > contents { + padding: 0; +} + +statusbar { + padding: $container_padding ($container_padding + 4px); +} diff --git a/src/_sass/gtk/_drawing.scss b/src/_sass/gtk/_drawing-3.0.scss similarity index 100% rename from src/_sass/gtk/_drawing.scss rename to src/_sass/gtk/_drawing-3.0.scss diff --git a/src/_sass/gtk/_drawing-4.0.scss b/src/_sass/gtk/_drawing-4.0.scss new file mode 100644 index 0000000..6c30f30 --- /dev/null +++ b/src/_sass/gtk/_drawing-4.0.scss @@ -0,0 +1,255 @@ +// generic drawing of more complex things + + +// ripple effect animations + +@keyframes ripple_effect { + to { background-size: 1000% 1000%; } +} + +@keyframes scale_ripple_effect { + to { background-size: auto, 1000% 1000%; } +} + +@keyframes header_ripple_effect { + from { + background-image: radial-gradient(circle, + $primary_color 0%, + transparent 0%); + } + + to { + background-image: radial-gradient(circle, + $primary_color 100%, + transparent 0%); + } +} + + +@mixin entry($t, $fc: $primary_color) { +// +// entry +// +// $t: entry type +// $fc: focus color +// + + @if $t == normal { + transition: $shorter_transition; + border-image: none; + box-shadow: $shadow_1; + background-color: if($fc == $primary_color, $button_bg_color, $fc); + color: if($fc == $primary_color, $fg_color, $inverse_fg_color); + } + + @if $t == focus { + border-image: none; + box-shadow: $shadow_2; + } + + @if $t == disabled { + box-shadow: none; + background-color: $alt_base_color; + color: $disabled_fg_color; + } + + @if $t == flat-normal { + transition: $shorter_transition, box-shadow $longer_duration $deceleration_curve; + box-shadow: inset 0 -1px if($fc == $primary_color, $track_color, $fc), inset 0 -2px transparent; + background-color: transparent; + color: $fg_color; + } + + @if $t == flat-focus { + box-shadow: inset 0 -1px transparent, inset 0 -2px $fc; + } + + @if $t == flat-disabled { + box-shadow: inset 0 -1px $divider_color, inset 0 -2px transparent; + background-color: transparent; + color: $disabled_fg_color; + } +} + + +@mixin button($t, $c: $lighter_bg_color) { +// +// button +// +// $t: button type +// $c: base color +// + + @if $t == normal { + transition: $shorter_duration; + box-shadow: $shadow_1, inset 0 0 0 9999px transparent; + background-color: $button_bg_color; + color: $button_fg_color; + } + + @if $t == hover { + box-shadow: $shadow_2, inset 0 0 0 9999px transparent; + color: $fg_color; + } + + @if $t == active { + box-shadow: $shadow_2, inset 0 0 0 9999px $semi_fill_color; + color: $fg_color; + } + + @if $t == disabled { + box-shadow: none; + background-color: $alt_base_color; + color: if($c == $lighter_bg_color, $disabled_secondary_fg_color, $disabled_fg_color); + } + + @if $t == checked { + background-color: $primary_color; + color: $inverse_fg_color; + background-image: $theme_image; + background-size: auto auto; + background-position: center center; + background-repeat: no-repeat; + } + + @if $t == checked-disabled { + background-color: rgba($primary_color, $lower_opacity); + color: rgba($primary_color, $disabled_opacity); + background-image: none; + } + + @if $t == flat-normal { + transition: $shorter_duration; + box-shadow: inset 0 0 0 9999px transparent; + background-color: transparent; + color: $secondary_fg_color; + } + + @if $t == flat-hover { + box-shadow: inset 0 0 0 9999px $semi_fill_color; + color: $fg_color; + } + + @if $t == flat-active { + box-shadow: inset 0 0 0 9999px $fill_color; + color: $fg_color; + } + + @if $t == flat-disabled { + box-shadow: none; + background-color: transparent; + color: if($c == $lighter_bg_color, $disabled_secondary_fg_color, $disabled_fg_color); + } + + @if $t == flat-checked { + background-color: $track_color; + color: $fg_color; + } + + @if $t == flat-checked-disabled { + background-color: $divider_color; + color: $disabled_fg_color; + } +} + + +@mixin overshoot($p, $t:normal, $c:$fg_color) { +// +// overshoot +// +// $p: position +// $t: type +// $c: base color +// +// possible $p values: +// top, bottom, right, left +// +// possible $t values: +// normal, backdrop +// + + $_small_gradient_length: 3%; + $_big_gradient_length: 50%; + + $_small_gradient_size: 100% $_small_gradient_length; + $_big_gradient_size: 100% $_big_gradient_length; + + @if $p==right or $p==left { + $_small_gradient_size: $_small_gradient_length 100%; + $_big_gradient_size: $_big_gradient_length 100%; + } + + $_small_gradient_color: $c; + $_big_gradient_color: transparentize($c, 0.93); + + @if $c==$fg_color { + $_small_gradient_color: darken($border_color, 10%); + $_big_gradient_color: transparentize($fg_color, 0.93); + + @if $t==backdrop { $_small_gradient_color: $backdrop_borders_color; } + } + + $_small_gradient: radial-gradient(farthest-side at $p, + $_small_gradient_color 85%, + transparentize($_small_gradient_color, 1)); + + $_big_gradient: radial-gradient(farthest-side at $p, + $_big_gradient_color, + transparentize($_big_gradient_color, 1)); + + @if $t==normal { + background-image: $_small_gradient, $_big_gradient; + background-size: $_small_gradient_size, $_big_gradient_size; + } + + @else if $t==backdrop { + background-image: $_small_gradient; + background-size: $_small_gradient_size; + } + + background-repeat: no-repeat; + background-position: $p; + + background-color: transparent; // reset some properties to be sure to not inherit them somehow + border: none; // + box-shadow: none; // +} + + +@mixin undershoot($p) { +// +// undershoot +// +// $p: position +// +// possible $p values: +// top, bottom, right, left +// + + $_undershoot_color_dark: $track_color; + $_undershoot_color_light: rgba($base_color, $lower_opacity); + + $_gradient_dir: left; + $_dash_bg_size: 12px 1px; + $_gradient_repeat: repeat-x; + $_bg_pos: left $p; + + @if ($p == left) or ($p == right) { + $_gradient_dir: top; + $_dash_bg_size: 1px 12px; + $_gradient_repeat: repeat-y; + $_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%); + + padding-#{$p}: 1px; + background-size: $_dash_bg_size; + background-repeat: $_gradient_repeat; + background-origin: content-box; + background-position: $_bg_pos; +} diff --git a/src/_sass/gtk/apps/_budgie.scss b/src/_sass/gtk/apps-3.0/_budgie.scss similarity index 100% rename from src/_sass/gtk/apps/_budgie.scss rename to src/_sass/gtk/apps-3.0/_budgie.scss diff --git a/src/_sass/gtk/apps/_gnome.scss b/src/_sass/gtk/apps-3.0/_gnome.scss similarity index 99% rename from src/_sass/gtk/apps/_gnome.scss rename to src/_sass/gtk/apps-3.0/_gnome.scss index dc7280a..dbd5d72 100644 --- a/src/_sass/gtk/apps/_gnome.scss +++ b/src/_sass/gtk/apps-3.0/_gnome.scss @@ -75,6 +75,8 @@ $nautilus_bg_color: if($titlebar == 'dark' and $variant == 'light', $base_color, } } } + + &.unified headerbar { background-color: transparent; } } // No border radius when window maximized diff --git a/src/_sass/gtk/apps/_lightdm.scss b/src/_sass/gtk/apps-3.0/_lightdm.scss similarity index 100% rename from src/_sass/gtk/apps/_lightdm.scss rename to src/_sass/gtk/apps-3.0/_lightdm.scss diff --git a/src/_sass/gtk/apps/_mate.scss b/src/_sass/gtk/apps-3.0/_mate.scss similarity index 100% rename from src/_sass/gtk/apps/_mate.scss rename to src/_sass/gtk/apps-3.0/_mate.scss diff --git a/src/_sass/gtk/apps/_misc.scss b/src/_sass/gtk/apps-3.0/_misc.scss similarity index 100% rename from src/_sass/gtk/apps/_misc.scss rename to src/_sass/gtk/apps-3.0/_misc.scss diff --git a/src/_sass/gtk/apps/_unity.scss b/src/_sass/gtk/apps-3.0/_unity.scss similarity index 100% rename from src/_sass/gtk/apps/_unity.scss rename to src/_sass/gtk/apps-3.0/_unity.scss diff --git a/src/gnome-shell/shell-3-36/gnome-shell-dark.css b/src/gnome-shell/shell-3-36/gnome-shell-dark.css index f35dbde..d0d428b 100644 --- a/src/gnome-shell/shell-3-36/gnome-shell-dark.css +++ b/src/gnome-shell/shell-3-36/gnome-shell-dark.css @@ -156,7 +156,7 @@ StEntry { font-weight: 400; background-color: rgba(68, 69, 75, 0.01); border-color: transparent; - box-shadow: inset 0 -1px rgba(255, 255, 255, 0.3); + box-shadow: inset 0 -1px rgba(255, 255, 255, 0.2); } StEntry:focus { @@ -167,7 +167,7 @@ StEntry:focus { StEntry:insensitive { color: rgba(255, 255, 255, 0.5); border-color: transparent; - box-shadow: inset 0 -1px rgba(255, 255, 255, 0.12); + box-shadow: inset 0 -1px rgba(255, 255, 255, 0.08); } StEntry StIcon.capslock-warning { @@ -207,7 +207,7 @@ StScrollView StScrollBar { StScrollBar StBin#trough { margin: 4px; border-radius: 100px; - background-color: rgba(255, 255, 255, 0.12); + background-color: rgba(255, 255, 255, 0.08); } StScrollBar StButton#vhandle, StScrollBar StButton#hhandle { @@ -245,7 +245,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { height: 20px; color: #7C4DFF; -slider-height: 2px; - -slider-background-color: rgba(255, 255, 255, 0.3); + -slider-background-color: rgba(255, 255, 255, 0.2); -slider-border-color: transparent; -slider-active-background-color: #7C4DFF; -slider-active-border-color: transparent; @@ -254,7 +254,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { -slider-handle-border-width: 0; -slider-handle-border-color: rgba(255, 255, 255, 0.08); -barlevel-height: 2px; - -barlevel-background-color: rgba(255, 255, 255, 0.3); + -barlevel-background-color: rgba(255, 255, 255, 0.2); -barlevel-border-color: transparent; -barlevel-active-background-color: #7C4DFF; -barlevel-active-border-color: transparent; @@ -287,11 +287,11 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { } .check-box:hover StBin { - background-color: rgba(255, 255, 255, 0.12); + background-color: rgba(255, 255, 255, 0.08); } .check-box:active StBin { - background-color: rgba(255, 255, 255, 0.3); + background-color: rgba(255, 255, 255, 0.2); } .check-box:checked StBin { @@ -705,7 +705,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { } .popup-menu .popup-menu-item.selected { - background-color: rgba(255, 255, 255, 0.12); + background-color: rgba(255, 255, 255, 0.08); color: #FFFFFF; transition-duration: 0ms; box-shadow: none; @@ -713,7 +713,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { } .popup-menu .popup-menu-item:active { - background-color: rgba(255, 255, 255, 0.3); + background-color: rgba(255, 255, 255, 0.2); color: #FFFFFF; transition-duration: 225ms; } @@ -884,7 +884,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { .switcher-list .item-box:outlined { padding: 8px; border: none; - background-color: rgba(255, 255, 255, 0.12); + background-color: rgba(255, 255, 255, 0.08); color: #FFFFFF; } @@ -952,7 +952,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { .ws-switcher-box { height: 48px; border: none; - background: rgba(255, 255, 255, 0.12); + background: rgba(255, 255, 255, 0.08); border-radius: 13px; } @@ -1165,12 +1165,12 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { .datemenu-calendar-column:hover, .datemenu-calendar-column:focus { color: #FFFFFF; - background-color: rgba(255, 255, 255, 0.12); + background-color: rgba(255, 255, 255, 0.08); } .datemenu-calendar-column:active { color: #FFFFFF; - background-color: rgba(255, 255, 255, 0.3); + background-color: rgba(255, 255, 255, 0.2); } .datemenu-calendar-column:ltr { @@ -1207,12 +1207,12 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { .datemenu-today-button:hover, .datemenu-today-button:focus { color: #FFFFFF; - background-color: rgba(255, 255, 255, 0.12); + background-color: rgba(255, 255, 255, 0.08); } .datemenu-today-button:active { color: #FFFFFF; - background-color: rgba(255, 255, 255, 0.3); + background-color: rgba(255, 255, 255, 0.2); } .calendar-month-label { @@ -1228,7 +1228,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { .calendar-month-label:focus { color: #FFFFFF; - background-color: rgba(255, 255, 255, 0.12); + background-color: rgba(255, 255, 255, 0.08); } .pager-button { @@ -1242,12 +1242,12 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { .pager-button:hover, .pager-button:focus { color: #FFFFFF; - background-color: rgba(255, 255, 255, 0.12); + background-color: rgba(255, 255, 255, 0.08); } .pager-button:active { color: #FFFFFF; - background-color: rgba(255, 255, 255, 0.3); + background-color: rgba(255, 255, 255, 0.2); } .calendar-change-month-back { @@ -1284,18 +1284,18 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { } .calendar-day-base:hover, .calendar-day-base:focus { - background-color: rgba(255, 255, 255, 0.12); + background-color: rgba(255, 255, 255, 0.08); } .calendar-day-base:active { color: rgba(255, 255, 255, 0.7); - background-color: rgba(255, 255, 255, 0.3); + background-color: rgba(255, 255, 255, 0.2); border-color: transparent; } .calendar-day-base:selected { color: #FFFFFF; - background-color: rgba(255, 255, 255, 0.3); + background-color: rgba(255, 255, 255, 0.2); border-color: transparent; } @@ -1397,14 +1397,14 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { .events-button:hover, .events-button:focus { color: #FFFFFF; - background-color: rgba(255, 255, 255, 0.12); + background-color: rgba(255, 255, 255, 0.08); } .world-clocks-button:active, .weather-button:active, .events-button:active { color: #FFFFFF; - background-color: rgba(255, 255, 255, 0.3); + background-color: rgba(255, 255, 255, 0.2); } .world-clocks-header, @@ -1522,11 +1522,11 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { } .message-list-clear-button.button:hover, .message-list-clear-button.button:focus { - background-color: rgba(255, 255, 255, 0.12); + background-color: rgba(255, 255, 255, 0.08); } .message-list-clear-button.button:active { - background-color: rgba(255, 255, 255, 0.3); + background-color: rgba(255, 255, 255, 0.2); } .message-list-section, @@ -1551,11 +1551,11 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { } .message:hover, .message:focus { - background-color: rgba(255, 255, 255, 0.12); + background-color: rgba(255, 255, 255, 0.08); } .message:active { - background-color: rgba(255, 255, 255, 0.3); + background-color: rgba(255, 255, 255, 0.2); } .message-icon-bin { @@ -1617,12 +1617,12 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { .message-close-button:hover, .message-close-button:focus { color: #FFFFFF; - background-color: rgba(255, 255, 255, 0.12); + background-color: rgba(255, 255, 255, 0.08); } .message-close-button:active { color: #FFFFFF; - background-color: rgba(255, 255, 255, 0.3); + background-color: rgba(255, 255, 255, 0.2); } .message-close-button:insensitive { @@ -1642,12 +1642,12 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { .message-media-control:hover, .message-media-control:focus { color: #FFFFFF; - background-color: rgba(255, 255, 255, 0.12); + background-color: rgba(255, 255, 255, 0.08); } .message-media-control:active { color: #FFFFFF; - background-color: rgba(255, 255, 255, 0.3); + background-color: rgba(255, 255, 255, 0.2); } .message-media-control:insensitive { @@ -1678,7 +1678,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { padding: 8px; border: none; border-radius: 7px; - background-color: rgba(255, 255, 255, 0.12); + background-color: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.5); } @@ -1757,11 +1757,11 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { } .nm-dialog-item:hover, .nm-dialog-item:focus { - background-color: rgba(255, 255, 255, 0.12); + background-color: rgba(255, 255, 255, 0.08); } .nm-dialog-item:active { - background-color: rgba(255, 255, 255, 0.3); + background-color: rgba(255, 255, 255, 0.2); } .nm-dialog-item:selected { @@ -2236,12 +2236,12 @@ StWidget.focused .app-well-app-running-dot { } .notification-banner .notification-button:hover, .notification-banner .notification-buttonfocus { - background-color: rgba(255, 255, 255, 0.12); + background-color: rgba(255, 255, 255, 0.08); color: #FFFFFF; } .notification-banner .notification-button:active { - background-color: rgba(255, 255, 255, 0.3); + background-color: rgba(255, 255, 255, 0.2); color: #FFFFFF; } @@ -2449,12 +2449,12 @@ StWidget.focused .app-well-app-running-dot { } .candidate-box:hover { - background-color: rgba(255, 255, 255, 0.12); + background-color: rgba(255, 255, 255, 0.08); color: #FFFFFF; } .candidate-box:active { - background-color: rgba(255, 255, 255, 0.3); + background-color: rgba(255, 255, 255, 0.2); color: #FFFFFF; } @@ -2813,7 +2813,7 @@ StWidget.focused .app-well-app-running-dot { } #LookingGlassDialog .notebook-tab:hover { - box-shadow: inset 0 -2px 0px rgba(255, 255, 255, 0.3); + box-shadow: inset 0 -2px 0px rgba(255, 255, 255, 0.2); color: #FFFFFF; text-shadow: none; } @@ -3170,11 +3170,11 @@ StWidget.focused .app-well-app-running-dot { } .hotplug-resident-mount:hover { - background-color: rgba(255, 255, 255, 0.12); + background-color: rgba(255, 255, 255, 0.08); } .hotplug-resident-mount:active { - background-color: rgba(255, 255, 255, 0.3); + background-color: rgba(255, 255, 255, 0.2); } .hotplug-resident-mount-label { @@ -3217,14 +3217,14 @@ StWidget.focused .app-well-app-running-dot { } .system-menu-action:hover, .system-menu-action:focus { - background-color: rgba(255, 255, 255, 0.12); + background-color: rgba(255, 255, 255, 0.08); color: #FFFFFF; border: none; padding: 11px; } .system-menu-action:active { - background-color: rgba(255, 255, 255, 0.3); + background-color: rgba(255, 255, 255, 0.2); color: #FFFFFF; } @@ -3525,7 +3525,7 @@ StWidget.focused #dashtodockContainer .app-well-app-running-dot { selected-color: #FFFFFF; background-color: rgba(68, 69, 75, 0.01); border-color: transparent; - box-shadow: inset 0 -1px rgba(255, 255, 255, 0.3); + box-shadow: inset 0 -1px rgba(255, 255, 255, 0.2); } .popup-menu .search-entry:focus { diff --git a/src/gnome-shell/shell-3-36/gnome-shell.css b/src/gnome-shell/shell-3-36/gnome-shell.css index 6b6cc32..39217e9 100644 --- a/src/gnome-shell/shell-3-36/gnome-shell.css +++ b/src/gnome-shell/shell-3-36/gnome-shell.css @@ -37,7 +37,7 @@ stage { border-radius: 7px; font-size: 9.75pt; font-weight: 500; - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); background-color: transparent; border-color: transparent; box-shadow: 0 0 transparent; @@ -47,7 +47,7 @@ stage { .button:hover { color: rgba(0, 0, 0, 0.75); - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); border-color: transparent; box-shadow: 0 0 transparent; text-shadow: none; @@ -56,7 +56,7 @@ stage { .button:active { color: rgba(0, 0, 0, 0.75); - background-color: rgba(0, 0, 0, 0.26); + background-color: rgba(0, 0, 0, 0.2); border-color: transparent; box-shadow: 0 0 transparent; text-shadow: none; @@ -86,7 +86,7 @@ stage { border-right-width: 0; font-size: 9.75pt; font-weight: 500; - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); background-color: transparent; border-color: transparent; box-shadow: 0 0 transparent; @@ -96,7 +96,7 @@ stage { .modal-dialog-linked-button:hover { color: rgba(0, 0, 0, 0.75); - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); border-color: transparent; box-shadow: 0 0 transparent; text-shadow: none; @@ -105,7 +105,7 @@ stage { .modal-dialog-linked-button:active { color: rgba(0, 0, 0, 0.75); - background-color: rgba(0, 0, 0, 0.26); + background-color: rgba(0, 0, 0, 0.2); border-color: transparent; box-shadow: 0 0 transparent; text-shadow: none; @@ -156,7 +156,7 @@ StEntry { font-weight: 400; background-color: rgba(244, 244, 249, 0.01); border-color: transparent; - box-shadow: inset 0 -1px rgba(0, 0, 0, 0.26); + box-shadow: inset 0 -1px rgba(0, 0, 0, 0.2); } StEntry:focus { @@ -167,7 +167,7 @@ StEntry:focus { StEntry:insensitive { color: rgba(0, 0, 0, 0.38); border-color: transparent; - box-shadow: inset 0 -1px rgba(0, 0, 0, 0.12); + box-shadow: inset 0 -1px rgba(0, 0, 0, 0.08); } StEntry StIcon.capslock-warning { @@ -183,7 +183,7 @@ StEntry StIcon.peek-password { StEntry StLabel.hint-text { margin-left: 2px; - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); } /* Scrollbars */ @@ -207,7 +207,7 @@ StScrollView StScrollBar { StScrollBar StBin#trough { margin: 4px; border-radius: 100px; - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); } StScrollBar StButton#vhandle, StScrollBar StButton#hhandle { @@ -217,7 +217,7 @@ StScrollBar StButton#vhandle, StScrollBar StButton#hhandle { } StScrollBar StButton#vhandle:hover, StScrollBar StButton#hhandle:hover { - background-color: rgba(0, 0, 0, 0.54); + background-color: rgba(0, 0, 0, 0.55); } StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { @@ -245,7 +245,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { height: 20px; color: #7C4DFF; -slider-height: 2px; - -slider-background-color: rgba(0, 0, 0, 0.26); + -slider-background-color: rgba(0, 0, 0, 0.2); -slider-border-color: transparent; -slider-active-background-color: #7C4DFF; -slider-active-border-color: transparent; @@ -254,7 +254,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { -slider-handle-border-width: 0; -slider-handle-border-color: rgba(0, 0, 0, 0.08); -barlevel-height: 2px; - -barlevel-background-color: rgba(0, 0, 0, 0.26); + -barlevel-background-color: rgba(0, 0, 0, 0.2); -barlevel-border-color: transparent; -barlevel-active-background-color: #7C4DFF; -barlevel-active-border-color: transparent; @@ -287,11 +287,11 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { } .check-box:hover StBin { - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); } .check-box:active StBin { - background-color: rgba(0, 0, 0, 0.26); + background-color: rgba(0, 0, 0, 0.2); } .check-box:checked StBin { @@ -443,7 +443,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { } .message-dialog-subtitle { - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); font-weight: bold; } @@ -644,7 +644,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { /* Popovers/Menus */ .popup-menu { min-width: 15em; - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); background: none; } @@ -705,7 +705,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { } .popup-menu .popup-menu-item.selected { - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); color: rgba(0, 0, 0, 0.75); transition-duration: 0ms; box-shadow: none; @@ -713,7 +713,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { } .popup-menu .popup-menu-item:active { - background-color: rgba(0, 0, 0, 0.26); + background-color: rgba(0, 0, 0, 0.2); color: rgba(0, 0, 0, 0.75); transition-duration: 225ms; } @@ -884,7 +884,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { .switcher-list .item-box:outlined { padding: 8px; border: none; - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); color: rgba(0, 0, 0, 0.75); } @@ -952,7 +952,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { .ws-switcher-box { height: 48px; border: none; - background: rgba(0, 0, 0, 0.12); + background: rgba(0, 0, 0, 0.08); border-radius: 13px; } @@ -1145,7 +1145,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { box-shadow: none; background: none; text-shadow: none; - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); } .datemenu-displays-section { @@ -1160,17 +1160,17 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { spacing: 4px; border: 0 solid rgba(0, 0, 0, 0.08); padding: 0 8px; - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); } .datemenu-calendar-column:hover, .datemenu-calendar-column:focus { color: rgba(0, 0, 0, 0.75); - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); } .datemenu-calendar-column:active { color: rgba(0, 0, 0, 0.75); - background-color: rgba(0, 0, 0, 0.26); + background-color: rgba(0, 0, 0, 0.2); } .datemenu-calendar-column:ltr { @@ -1191,7 +1191,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { box-shadow: none; text-shadow: none; background: none; - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); } .datemenu-today-button .day-label { @@ -1207,12 +1207,12 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { .datemenu-today-button:hover, .datemenu-today-button:focus { color: rgba(0, 0, 0, 0.75); - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); } .datemenu-today-button:active { color: rgba(0, 0, 0, 0.75); - background-color: rgba(0, 0, 0, 0.26); + background-color: rgba(0, 0, 0, 0.2); } .calendar-month-label { @@ -1220,7 +1220,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { margin: 2px; padding: 6px 16px; border-radius: 7px; - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); font-weight: bold; text-align: center; text-shadow: none; @@ -1228,7 +1228,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { .calendar-month-label:focus { color: rgba(0, 0, 0, 0.75); - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); } .pager-button { @@ -1237,17 +1237,17 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { margin: 2px; border-radius: 100px; background-color: transparent; - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); } .pager-button:hover, .pager-button:focus { color: rgba(0, 0, 0, 0.75); - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); } .pager-button:active { color: rgba(0, 0, 0, 0.75); - background-color: rgba(0, 0, 0, 0.26); + background-color: rgba(0, 0, 0, 0.2); } .calendar-change-month-back { @@ -1277,25 +1277,25 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { padding: 0 0; margin: 2px; border-radius: 1000px; - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); border: none; font-feature-settings: "tnum"; text-shadow: none; } .calendar-day-base:hover, .calendar-day-base:focus { - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); } .calendar-day-base:active { - color: rgba(0, 0, 0, 0.54); - background-color: rgba(0, 0, 0, 0.26); + color: rgba(0, 0, 0, 0.55); + background-color: rgba(0, 0, 0, 0.2); border-color: transparent; } .calendar-day-base:selected { color: rgba(0, 0, 0, 0.75); - background-color: rgba(0, 0, 0, 0.26); + background-color: rgba(0, 0, 0, 0.2); border-color: transparent; } @@ -1387,7 +1387,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { border: none; box-shadow: none; text-shadow: none; - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); background-color: rgba(0, 0, 0, 0.04); } @@ -1397,14 +1397,14 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { .events-button:hover, .events-button:focus { color: rgba(0, 0, 0, 0.75); - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); } .world-clocks-button:active, .weather-button:active, .events-button:active { color: rgba(0, 0, 0, 0.75); - background-color: rgba(0, 0, 0, 0.26); + background-color: rgba(0, 0, 0, 0.2); } .world-clocks-header, @@ -1508,7 +1508,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { .message-list { width: 31.5em; padding: 0 12px; - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); text-shadow: none; } @@ -1522,11 +1522,11 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { } .message-list-clear-button.button:hover, .message-list-clear-button.button:focus { - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); } .message-list-clear-button.button:active { - background-color: rgba(0, 0, 0, 0.26); + background-color: rgba(0, 0, 0, 0.2); } .message-list-section, @@ -1546,16 +1546,16 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { background-color: transparent; border: none; border-radius: 7px; - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); text-shadow: none; } .message:hover, .message:focus { - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); } .message:active { - background-color: rgba(0, 0, 0, 0.26); + background-color: rgba(0, 0, 0, 0.2); } .message-icon-bin { @@ -1583,7 +1583,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { .message-secondary-bin > .event-time { min-height: 18px; padding-top: 2px; - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); font-size: 1em; padding-bottom: 0; } @@ -1603,12 +1603,12 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { .message-content { min-height: 40px; padding: 8px; - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); font-size: 1em; } .message-close-button { - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); padding: 0; height: 24px; width: 24px; @@ -1617,12 +1617,12 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { .message-close-button:hover, .message-close-button:focus { color: rgba(0, 0, 0, 0.75); - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); } .message-close-button:active { color: rgba(0, 0, 0, 0.75); - background-color: rgba(0, 0, 0, 0.26); + background-color: rgba(0, 0, 0, 0.2); } .message-close-button:insensitive { @@ -1637,17 +1637,17 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { margin: 16px 4px; padding: 8px; border-radius: 100px; - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); } .message-media-control:hover, .message-media-control:focus { color: rgba(0, 0, 0, 0.75); - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); } .message-media-control:active { color: rgba(0, 0, 0, 0.75); - background-color: rgba(0, 0, 0, 0.26); + background-color: rgba(0, 0, 0, 0.2); } .message-media-control:insensitive { @@ -1678,7 +1678,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { padding: 8px; border: none; border-radius: 7px; - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); color: rgba(0, 0, 0, 0.38); } @@ -1757,11 +1757,11 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { } .nm-dialog-item:hover, .nm-dialog-item:focus { - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); } .nm-dialog-item:active { - background-color: rgba(0, 0, 0, 0.26); + background-color: rgba(0, 0, 0, 0.2); } .nm-dialog-item:selected { @@ -2223,7 +2223,7 @@ StWidget.focused .app-well-app-running-dot { min-height: 40px; padding: 0 16px; background-color: transparent; - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); font-weight: 500; } @@ -2236,12 +2236,12 @@ StWidget.focused .app-well-app-running-dot { } .notification-banner .notification-button:hover, .notification-banner .notification-buttonfocus { - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); color: rgba(0, 0, 0, 0.75); } .notification-banner .notification-button:active { - background-color: rgba(0, 0, 0, 0.26); + background-color: rgba(0, 0, 0, 0.2); color: rgba(0, 0, 0, 0.75); } @@ -2290,7 +2290,7 @@ StWidget.focused .app-well-app-running-dot { .chat-sent { padding-left: 18pt; - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); } .chat-sent:rtl { @@ -2383,12 +2383,12 @@ StWidget.focused .app-well-app-running-dot { } .keyboard-key.default-key:focus, .keyboard-key.default-key:hover { - color: rgba(0, 0, 0, 0.62); + color: rgba(0, 0, 0, 0.65); background-color: #f4f4f9; } .keyboard-key.default-key:checked, .keyboard-key.default-key:active { - color: rgba(0, 0, 0, 0.62); + color: rgba(0, 0, 0, 0.65); background-color: #e0e0ee; } @@ -2449,12 +2449,12 @@ StWidget.focused .app-well-app-running-dot { } .candidate-box:hover { - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); color: rgba(0, 0, 0, 0.75); } .candidate-box:active { - background-color: rgba(0, 0, 0, 0.26); + background-color: rgba(0, 0, 0, 0.2); color: rgba(0, 0, 0, 0.75); } @@ -2813,7 +2813,7 @@ StWidget.focused .app-well-app-running-dot { } #LookingGlassDialog .notebook-tab:hover { - box-shadow: inset 0 -2px 0px rgba(0, 0, 0, 0.26); + box-shadow: inset 0 -2px 0px rgba(0, 0, 0, 0.2); color: rgba(0, 0, 0, 0.75); text-shadow: none; } @@ -2865,7 +2865,7 @@ StWidget.focused .app-well-app-running-dot { border-radius: 7px; font-size: 9.75pt; font-weight: 500; - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); background-color: transparent; border-color: transparent; box-shadow: 0 0 transparent; @@ -2875,7 +2875,7 @@ StWidget.focused .app-well-app-running-dot { .lg-obj-inspector-button:hover { color: rgba(0, 0, 0, 0.75); - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); border-color: transparent; box-shadow: 0 0 transparent; text-shadow: none; @@ -2884,7 +2884,7 @@ StWidget.focused .app-well-app-running-dot { .lg-obj-inspector-button:active { color: rgba(0, 0, 0, 0.75); - background-color: rgba(0, 0, 0, 0.26); + background-color: rgba(0, 0, 0, 0.2); border-color: transparent; box-shadow: 0 0 transparent; text-shadow: none; @@ -3107,7 +3107,7 @@ StWidget.focused .app-well-app-running-dot { } .access-dialog-subtitle { - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); font-weight: bold; } @@ -3123,7 +3123,7 @@ StWidget.focused .app-well-app-running-dot { } .extension-dialog .message-dialog-title { - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); } /* Inhibit-Shortcuts Dialog */ @@ -3170,11 +3170,11 @@ StWidget.focused .app-well-app-running-dot { } .hotplug-resident-mount:hover { - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); } .hotplug-resident-mount:active { - background-color: rgba(0, 0, 0, 0.26); + background-color: rgba(0, 0, 0, 0.2); } .hotplug-resident-mount-label { @@ -3208,7 +3208,7 @@ StWidget.focused .app-well-app-running-dot { } .system-menu-action { - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); border-radius: 100px; /* wish we could do 50% */ padding: 11px; @@ -3217,14 +3217,14 @@ StWidget.focused .app-well-app-running-dot { } .system-menu-action:hover, .system-menu-action:focus { - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); color: rgba(0, 0, 0, 0.75); border: none; padding: 11px; } .system-menu-action:active { - background-color: rgba(0, 0, 0, 0.26); + background-color: rgba(0, 0, 0, 0.2); color: rgba(0, 0, 0, 0.75); } @@ -3525,7 +3525,7 @@ StWidget.focused #dashtodockContainer .app-well-app-running-dot { selected-color: #FFFFFF; background-color: rgba(244, 244, 249, 0.01); border-color: transparent; - box-shadow: inset 0 -1px rgba(0, 0, 0, 0.26); + box-shadow: inset 0 -1px rgba(0, 0, 0, 0.2); } .popup-menu .search-entry:focus { @@ -3549,7 +3549,7 @@ StWidget.focused #dashtodockContainer .app-well-app-running-dot { .openweather-provider { padding: 0 16px; font-weight: 500; - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); background-color: transparent; border-color: transparent; box-shadow: 0 0 transparent; @@ -3559,7 +3559,7 @@ StWidget.focused #dashtodockContainer .app-well-app-running-dot { .openweather-provider:hover { color: rgba(0, 0, 0, 0.75); - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); border-color: transparent; box-shadow: 0 0 transparent; text-shadow: none; @@ -3575,7 +3575,7 @@ StWidget.focused #dashtodockContainer .app-well-app-running-dot { .openweather-provider:active { color: rgba(0, 0, 0, 0.75); - background-color: rgba(0, 0, 0, 0.26); + background-color: rgba(0, 0, 0, 0.2); border-color: transparent; box-shadow: 0 0 transparent; text-shadow: none; @@ -3599,7 +3599,7 @@ StWidget.focused #dashtodockContainer .app-well-app-running-dot { .openweather-forecast-icon, .openweather-forecast-summary { background: none; - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); } .openweather-forecast-day, .openweather-forecast-temperature { @@ -3608,5 +3608,5 @@ StWidget.focused #dashtodockContainer .app-well-app-running-dot { } .openweather-sunrise-icon, .openweather-sunset-icon, .openweather-build-icon { - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); } diff --git a/src/gnome-shell/shell-40-0/gnome-shell-dark.css b/src/gnome-shell/shell-40-0/gnome-shell-dark.css index dfc86b5..d433f2f 100644 --- a/src/gnome-shell/shell-40-0/gnome-shell-dark.css +++ b/src/gnome-shell/shell-40-0/gnome-shell-dark.css @@ -156,7 +156,7 @@ StEntry { font-weight: 400; background-color: rgba(68, 69, 75, 0.01); border-color: transparent; - box-shadow: inset 0 -1px rgba(255, 255, 255, 0.3); + box-shadow: inset 0 -1px rgba(255, 255, 255, 0.2); } StEntry:focus { @@ -167,7 +167,7 @@ StEntry:focus { StEntry:insensitive { color: rgba(255, 255, 255, 0.5); border-color: transparent; - box-shadow: inset 0 -1px rgba(255, 255, 255, 0.12); + box-shadow: inset 0 -1px rgba(255, 255, 255, 0.08); } StEntry StIcon.capslock-warning { @@ -207,7 +207,7 @@ StScrollView StScrollBar { StScrollBar StBin#trough { margin: 4px; border-radius: 100px; - background-color: rgba(255, 255, 255, 0.12); + background-color: rgba(255, 255, 255, 0.08); } StScrollBar StButton#vhandle, StScrollBar StButton#hhandle { @@ -245,7 +245,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { height: 20px; color: #7C4DFF; -slider-height: 2px; - -slider-background-color: rgba(255, 255, 255, 0.3); + -slider-background-color: rgba(255, 255, 255, 0.2); -slider-border-color: transparent; -slider-active-background-color: #7C4DFF; -slider-active-border-color: transparent; @@ -254,7 +254,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { -slider-handle-border-width: 0; -slider-handle-border-color: rgba(255, 255, 255, 0.08); -barlevel-height: 2px; - -barlevel-background-color: rgba(255, 255, 255, 0.3); + -barlevel-background-color: rgba(255, 255, 255, 0.2); -barlevel-border-color: transparent; -barlevel-active-background-color: #7C4DFF; -barlevel-active-border-color: transparent; @@ -287,11 +287,11 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { } .check-box:hover StBin { - background-color: rgba(255, 255, 255, 0.12); + background-color: rgba(255, 255, 255, 0.08); } .check-box:active StBin { - background-color: rgba(255, 255, 255, 0.3); + background-color: rgba(255, 255, 255, 0.2); } .check-box:checked StBin { @@ -705,7 +705,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { } .popup-menu .popup-menu-item.selected { - background-color: rgba(255, 255, 255, 0.12); + background-color: rgba(255, 255, 255, 0.08); color: #FFFFFF; transition-duration: 0ms; box-shadow: none; @@ -713,7 +713,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { } .popup-menu .popup-menu-item:active { - background-color: rgba(255, 255, 255, 0.3); + background-color: rgba(255, 255, 255, 0.2); color: #FFFFFF; transition-duration: 225ms; } @@ -884,7 +884,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { .switcher-list .item-box:outlined { padding: 8px; border: none; - background-color: rgba(255, 255, 255, 0.12); + background-color: rgba(255, 255, 255, 0.08); color: #FFFFFF; } @@ -952,7 +952,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { .ws-switcher-box { height: 48px; border: none; - background: rgba(255, 255, 255, 0.12); + background: rgba(255, 255, 255, 0.08); border-radius: 13px; } @@ -1165,12 +1165,12 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { .datemenu-calendar-column:hover, .datemenu-calendar-column:focus { color: #FFFFFF; - background-color: rgba(255, 255, 255, 0.12); + background-color: rgba(255, 255, 255, 0.08); } .datemenu-calendar-column:active { color: #FFFFFF; - background-color: rgba(255, 255, 255, 0.3); + background-color: rgba(255, 255, 255, 0.2); } .datemenu-calendar-column:ltr { @@ -1207,12 +1207,12 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { .datemenu-today-button:hover, .datemenu-today-button:focus { color: #FFFFFF; - background-color: rgba(255, 255, 255, 0.12); + background-color: rgba(255, 255, 255, 0.08); } .datemenu-today-button:active { color: #FFFFFF; - background-color: rgba(255, 255, 255, 0.3); + background-color: rgba(255, 255, 255, 0.2); } .calendar-month-label { @@ -1228,7 +1228,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { .calendar-month-label:focus { color: #FFFFFF; - background-color: rgba(255, 255, 255, 0.12); + background-color: rgba(255, 255, 255, 0.08); } .pager-button { @@ -1242,12 +1242,12 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { .pager-button:hover, .pager-button:focus { color: #FFFFFF; - background-color: rgba(255, 255, 255, 0.12); + background-color: rgba(255, 255, 255, 0.08); } .pager-button:active { color: #FFFFFF; - background-color: rgba(255, 255, 255, 0.3); + background-color: rgba(255, 255, 255, 0.2); } .calendar-change-month-back { @@ -1284,18 +1284,18 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { } .calendar-day-base:hover, .calendar-day-base:focus { - background-color: rgba(255, 255, 255, 0.12); + background-color: rgba(255, 255, 255, 0.08); } .calendar-day-base:active { color: rgba(255, 255, 255, 0.7); - background-color: rgba(255, 255, 255, 0.3); + background-color: rgba(255, 255, 255, 0.2); border-color: transparent; } .calendar-day-base:selected { color: #FFFFFF; - background-color: rgba(255, 255, 255, 0.3); + background-color: rgba(255, 255, 255, 0.2); border-color: transparent; } @@ -1397,14 +1397,14 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { .events-button:hover, .events-button:focus { color: #FFFFFF; - background-color: rgba(255, 255, 255, 0.12); + background-color: rgba(255, 255, 255, 0.08); } .world-clocks-button:active, .weather-button:active, .events-button:active { color: #FFFFFF; - background-color: rgba(255, 255, 255, 0.3); + background-color: rgba(255, 255, 255, 0.2); } .world-clocks-header, @@ -1522,11 +1522,11 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { } .message-list-clear-button.button:hover, .message-list-clear-button.button:focus { - background-color: rgba(255, 255, 255, 0.12); + background-color: rgba(255, 255, 255, 0.08); } .message-list-clear-button.button:active { - background-color: rgba(255, 255, 255, 0.3); + background-color: rgba(255, 255, 255, 0.2); } .message-list-section, @@ -1551,11 +1551,11 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { } .message:hover, .message:focus { - background-color: rgba(255, 255, 255, 0.12); + background-color: rgba(255, 255, 255, 0.08); } .message:active { - background-color: rgba(255, 255, 255, 0.3); + background-color: rgba(255, 255, 255, 0.2); } .message-icon-bin { @@ -1617,12 +1617,12 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { .message-close-button:hover, .message-close-button:focus { color: #FFFFFF; - background-color: rgba(255, 255, 255, 0.12); + background-color: rgba(255, 255, 255, 0.08); } .message-close-button:active { color: #FFFFFF; - background-color: rgba(255, 255, 255, 0.3); + background-color: rgba(255, 255, 255, 0.2); } .message-close-button:insensitive { @@ -1642,12 +1642,12 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { .message-media-control:hover, .message-media-control:focus { color: #FFFFFF; - background-color: rgba(255, 255, 255, 0.12); + background-color: rgba(255, 255, 255, 0.08); } .message-media-control:active { color: #FFFFFF; - background-color: rgba(255, 255, 255, 0.3); + background-color: rgba(255, 255, 255, 0.2); } .message-media-control:insensitive { @@ -1678,7 +1678,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { padding: 8px; border: none; border-radius: 7px; - background-color: rgba(255, 255, 255, 0.12); + background-color: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.5); } @@ -1757,11 +1757,11 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { } .nm-dialog-item:hover, .nm-dialog-item:focus { - background-color: rgba(255, 255, 255, 0.12); + background-color: rgba(255, 255, 255, 0.08); } .nm-dialog-item:active { - background-color: rgba(255, 255, 255, 0.3); + background-color: rgba(255, 255, 255, 0.2); } .nm-dialog-item:selected { @@ -2230,12 +2230,12 @@ StWidget.focused .app-well-app-running-dot { } .notification-banner .notification-button:hover, .notification-banner .notification-buttonfocus { - background-color: rgba(255, 255, 255, 0.12); + background-color: rgba(255, 255, 255, 0.08); color: #FFFFFF; } .notification-banner .notification-button:active { - background-color: rgba(255, 255, 255, 0.3); + background-color: rgba(255, 255, 255, 0.2); color: #FFFFFF; } @@ -2443,12 +2443,12 @@ StWidget.focused .app-well-app-running-dot { } .candidate-box:hover { - background-color: rgba(255, 255, 255, 0.12); + background-color: rgba(255, 255, 255, 0.08); color: #FFFFFF; } .candidate-box:active { - background-color: rgba(255, 255, 255, 0.3); + background-color: rgba(255, 255, 255, 0.2); color: #FFFFFF; } @@ -2807,7 +2807,7 @@ StWidget.focused .app-well-app-running-dot { } #LookingGlassDialog .notebook-tab:hover { - box-shadow: inset 0 -2px 0px rgba(255, 255, 255, 0.3); + box-shadow: inset 0 -2px 0px rgba(255, 255, 255, 0.2); color: #FFFFFF; text-shadow: none; } @@ -3140,7 +3140,7 @@ StWidget.focused .app-well-app-running-dot { #dashtodockContainer.extended #dash { padding: 0; margin: 0; - background-color: rgba(255, 255, 255, 0.12); + background-color: rgba(255, 255, 255, 0.08); } #dashtodockContainer.extended #dash .dash-background { @@ -3171,7 +3171,7 @@ StWidget.focused #dashtodockContainer .app-well-app-running-dot { } #dashtodockContainer #dash .dash-background { - background-color: rgba(255, 255, 255, 0.12); + background-color: rgba(255, 255, 255, 0.08); padding: 10px; } @@ -3180,7 +3180,7 @@ StWidget.focused #dashtodockContainer .app-well-app-running-dot { } #dashtodockContainer.transparent #dash .dash-background { - background-color: rgba(255, 255, 255, 0.12); + background-color: rgba(255, 255, 255, 0.08); } #dashtodockContainer:overview #dash .dash-background { diff --git a/src/gnome-shell/shell-40-0/gnome-shell.css b/src/gnome-shell/shell-40-0/gnome-shell.css index f35a279..97c1042 100644 --- a/src/gnome-shell/shell-40-0/gnome-shell.css +++ b/src/gnome-shell/shell-40-0/gnome-shell.css @@ -37,7 +37,7 @@ stage { border-radius: 7px; font-size: 9.75pt; font-weight: 500; - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); background-color: transparent; border-color: transparent; box-shadow: 0 0 transparent; @@ -47,7 +47,7 @@ stage { .button:hover { color: rgba(0, 0, 0, 0.75); - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); border-color: transparent; box-shadow: 0 0 transparent; text-shadow: none; @@ -56,7 +56,7 @@ stage { .button:active { color: rgba(0, 0, 0, 0.75); - background-color: rgba(0, 0, 0, 0.26); + background-color: rgba(0, 0, 0, 0.2); border-color: transparent; box-shadow: 0 0 transparent; text-shadow: none; @@ -86,7 +86,7 @@ stage { border-right-width: 0; font-size: 9.75pt; font-weight: 500; - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); background-color: transparent; border-color: transparent; box-shadow: 0 0 transparent; @@ -96,7 +96,7 @@ stage { .modal-dialog-linked-button:hover { color: rgba(0, 0, 0, 0.75); - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); border-color: transparent; box-shadow: 0 0 transparent; text-shadow: none; @@ -105,7 +105,7 @@ stage { .modal-dialog-linked-button:active { color: rgba(0, 0, 0, 0.75); - background-color: rgba(0, 0, 0, 0.26); + background-color: rgba(0, 0, 0, 0.2); border-color: transparent; box-shadow: 0 0 transparent; text-shadow: none; @@ -156,7 +156,7 @@ StEntry { font-weight: 400; background-color: rgba(244, 244, 249, 0.01); border-color: transparent; - box-shadow: inset 0 -1px rgba(0, 0, 0, 0.26); + box-shadow: inset 0 -1px rgba(0, 0, 0, 0.2); } StEntry:focus { @@ -167,7 +167,7 @@ StEntry:focus { StEntry:insensitive { color: rgba(0, 0, 0, 0.38); border-color: transparent; - box-shadow: inset 0 -1px rgba(0, 0, 0, 0.12); + box-shadow: inset 0 -1px rgba(0, 0, 0, 0.08); } StEntry StIcon.capslock-warning { @@ -183,7 +183,7 @@ StEntry StIcon.peek-password { StEntry StLabel.hint-text { margin-left: 2px; - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); } /* Scrollbars */ @@ -207,7 +207,7 @@ StScrollView StScrollBar { StScrollBar StBin#trough { margin: 4px; border-radius: 100px; - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); } StScrollBar StButton#vhandle, StScrollBar StButton#hhandle { @@ -217,7 +217,7 @@ StScrollBar StButton#vhandle, StScrollBar StButton#hhandle { } StScrollBar StButton#vhandle:hover, StScrollBar StButton#hhandle:hover { - background-color: rgba(0, 0, 0, 0.54); + background-color: rgba(0, 0, 0, 0.55); } StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { @@ -245,7 +245,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { height: 20px; color: #7C4DFF; -slider-height: 2px; - -slider-background-color: rgba(0, 0, 0, 0.26); + -slider-background-color: rgba(0, 0, 0, 0.2); -slider-border-color: transparent; -slider-active-background-color: #7C4DFF; -slider-active-border-color: transparent; @@ -254,7 +254,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { -slider-handle-border-width: 0; -slider-handle-border-color: rgba(0, 0, 0, 0.08); -barlevel-height: 2px; - -barlevel-background-color: rgba(0, 0, 0, 0.26); + -barlevel-background-color: rgba(0, 0, 0, 0.2); -barlevel-border-color: transparent; -barlevel-active-background-color: #7C4DFF; -barlevel-active-border-color: transparent; @@ -287,11 +287,11 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { } .check-box:hover StBin { - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); } .check-box:active StBin { - background-color: rgba(0, 0, 0, 0.26); + background-color: rgba(0, 0, 0, 0.2); } .check-box:checked StBin { @@ -443,7 +443,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { } .message-dialog-subtitle { - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); font-weight: bold; } @@ -644,7 +644,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { /* Popovers/Menus */ .popup-menu { min-width: 15em; - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); background: none; } @@ -705,7 +705,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { } .popup-menu .popup-menu-item.selected { - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); color: rgba(0, 0, 0, 0.75); transition-duration: 0ms; box-shadow: none; @@ -713,7 +713,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { } .popup-menu .popup-menu-item:active { - background-color: rgba(0, 0, 0, 0.26); + background-color: rgba(0, 0, 0, 0.2); color: rgba(0, 0, 0, 0.75); transition-duration: 225ms; } @@ -884,7 +884,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { .switcher-list .item-box:outlined { padding: 8px; border: none; - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); color: rgba(0, 0, 0, 0.75); } @@ -952,7 +952,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { .ws-switcher-box { height: 48px; border: none; - background: rgba(0, 0, 0, 0.12); + background: rgba(0, 0, 0, 0.08); border-radius: 13px; } @@ -1145,7 +1145,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { box-shadow: none; background: none; text-shadow: none; - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); } .datemenu-displays-section { @@ -1160,17 +1160,17 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { spacing: 4px; border: 0 solid rgba(0, 0, 0, 0.08); padding: 0 8px; - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); } .datemenu-calendar-column:hover, .datemenu-calendar-column:focus { color: rgba(0, 0, 0, 0.75); - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); } .datemenu-calendar-column:active { color: rgba(0, 0, 0, 0.75); - background-color: rgba(0, 0, 0, 0.26); + background-color: rgba(0, 0, 0, 0.2); } .datemenu-calendar-column:ltr { @@ -1191,7 +1191,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { box-shadow: none; text-shadow: none; background: none; - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); } .datemenu-today-button .day-label { @@ -1207,12 +1207,12 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { .datemenu-today-button:hover, .datemenu-today-button:focus { color: rgba(0, 0, 0, 0.75); - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); } .datemenu-today-button:active { color: rgba(0, 0, 0, 0.75); - background-color: rgba(0, 0, 0, 0.26); + background-color: rgba(0, 0, 0, 0.2); } .calendar-month-label { @@ -1220,7 +1220,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { margin: 2px; padding: 6px 16px; border-radius: 7px; - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); font-weight: bold; text-align: center; text-shadow: none; @@ -1228,7 +1228,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { .calendar-month-label:focus { color: rgba(0, 0, 0, 0.75); - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); } .pager-button { @@ -1237,17 +1237,17 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { margin: 2px; border-radius: 100px; background-color: transparent; - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); } .pager-button:hover, .pager-button:focus { color: rgba(0, 0, 0, 0.75); - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); } .pager-button:active { color: rgba(0, 0, 0, 0.75); - background-color: rgba(0, 0, 0, 0.26); + background-color: rgba(0, 0, 0, 0.2); } .calendar-change-month-back { @@ -1277,25 +1277,25 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { padding: 0 0; margin: 2px; border-radius: 1000px; - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); border: none; font-feature-settings: "tnum"; text-shadow: none; } .calendar-day-base:hover, .calendar-day-base:focus { - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); } .calendar-day-base:active { - color: rgba(0, 0, 0, 0.54); - background-color: rgba(0, 0, 0, 0.26); + color: rgba(0, 0, 0, 0.55); + background-color: rgba(0, 0, 0, 0.2); border-color: transparent; } .calendar-day-base:selected { color: rgba(0, 0, 0, 0.75); - background-color: rgba(0, 0, 0, 0.26); + background-color: rgba(0, 0, 0, 0.2); border-color: transparent; } @@ -1387,7 +1387,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { border: none; box-shadow: none; text-shadow: none; - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); background-color: rgba(0, 0, 0, 0.04); } @@ -1397,14 +1397,14 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { .events-button:hover, .events-button:focus { color: rgba(0, 0, 0, 0.75); - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); } .world-clocks-button:active, .weather-button:active, .events-button:active { color: rgba(0, 0, 0, 0.75); - background-color: rgba(0, 0, 0, 0.26); + background-color: rgba(0, 0, 0, 0.2); } .world-clocks-header, @@ -1508,7 +1508,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { .message-list { width: 31.5em; padding: 0 12px; - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); text-shadow: none; } @@ -1522,11 +1522,11 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { } .message-list-clear-button.button:hover, .message-list-clear-button.button:focus { - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); } .message-list-clear-button.button:active { - background-color: rgba(0, 0, 0, 0.26); + background-color: rgba(0, 0, 0, 0.2); } .message-list-section, @@ -1546,16 +1546,16 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { background-color: transparent; border: none; border-radius: 7px; - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); text-shadow: none; } .message:hover, .message:focus { - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); } .message:active { - background-color: rgba(0, 0, 0, 0.26); + background-color: rgba(0, 0, 0, 0.2); } .message-icon-bin { @@ -1583,7 +1583,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { .message-secondary-bin > .event-time { min-height: 18px; padding-top: 2px; - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); font-size: 1em; padding-bottom: 0; } @@ -1603,12 +1603,12 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { .message-content { min-height: 40px; padding: 8px; - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); font-size: 1em; } .message-close-button { - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); padding: 0; height: 24px; width: 24px; @@ -1617,12 +1617,12 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { .message-close-button:hover, .message-close-button:focus { color: rgba(0, 0, 0, 0.75); - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); } .message-close-button:active { color: rgba(0, 0, 0, 0.75); - background-color: rgba(0, 0, 0, 0.26); + background-color: rgba(0, 0, 0, 0.2); } .message-close-button:insensitive { @@ -1637,17 +1637,17 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { margin: 16px 4px; padding: 8px; border-radius: 100px; - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); } .message-media-control:hover, .message-media-control:focus { color: rgba(0, 0, 0, 0.75); - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); } .message-media-control:active { color: rgba(0, 0, 0, 0.75); - background-color: rgba(0, 0, 0, 0.26); + background-color: rgba(0, 0, 0, 0.2); } .message-media-control:insensitive { @@ -1678,7 +1678,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { padding: 8px; border: none; border-radius: 7px; - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); color: rgba(0, 0, 0, 0.38); } @@ -1757,11 +1757,11 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { } .nm-dialog-item:hover, .nm-dialog-item:focus { - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); } .nm-dialog-item:active { - background-color: rgba(0, 0, 0, 0.26); + background-color: rgba(0, 0, 0, 0.2); } .nm-dialog-item:selected { @@ -2217,7 +2217,7 @@ StWidget.focused .app-well-app-running-dot { min-height: 40px; padding: 0 16px; background-color: transparent; - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); font-weight: 500; } @@ -2230,12 +2230,12 @@ StWidget.focused .app-well-app-running-dot { } .notification-banner .notification-button:hover, .notification-banner .notification-buttonfocus { - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); color: rgba(0, 0, 0, 0.75); } .notification-banner .notification-button:active { - background-color: rgba(0, 0, 0, 0.26); + background-color: rgba(0, 0, 0, 0.2); color: rgba(0, 0, 0, 0.75); } @@ -2284,7 +2284,7 @@ StWidget.focused .app-well-app-running-dot { .chat-sent { padding-left: 18pt; - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); } .chat-sent:rtl { @@ -2377,12 +2377,12 @@ StWidget.focused .app-well-app-running-dot { } .keyboard-key.default-key:focus, .keyboard-key.default-key:hover { - color: rgba(0, 0, 0, 0.62); + color: rgba(0, 0, 0, 0.65); background-color: #f4f4f9; } .keyboard-key.default-key:checked, .keyboard-key.default-key:active { - color: rgba(0, 0, 0, 0.62); + color: rgba(0, 0, 0, 0.65); background-color: #e0e0ee; } @@ -2443,12 +2443,12 @@ StWidget.focused .app-well-app-running-dot { } .candidate-box:hover { - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); color: rgba(0, 0, 0, 0.75); } .candidate-box:active { - background-color: rgba(0, 0, 0, 0.26); + background-color: rgba(0, 0, 0, 0.2); color: rgba(0, 0, 0, 0.75); } @@ -2807,7 +2807,7 @@ StWidget.focused .app-well-app-running-dot { } #LookingGlassDialog .notebook-tab:hover { - box-shadow: inset 0 -2px 0px rgba(0, 0, 0, 0.26); + box-shadow: inset 0 -2px 0px rgba(0, 0, 0, 0.2); color: rgba(0, 0, 0, 0.75); text-shadow: none; } @@ -2859,7 +2859,7 @@ StWidget.focused .app-well-app-running-dot { border-radius: 7px; font-size: 9.75pt; font-weight: 500; - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); background-color: transparent; border-color: transparent; box-shadow: 0 0 transparent; @@ -2869,7 +2869,7 @@ StWidget.focused .app-well-app-running-dot { .lg-obj-inspector-button:hover { color: rgba(0, 0, 0, 0.75); - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); border-color: transparent; box-shadow: 0 0 transparent; text-shadow: none; @@ -2878,7 +2878,7 @@ StWidget.focused .app-well-app-running-dot { .lg-obj-inspector-button:active { color: rgba(0, 0, 0, 0.75); - background-color: rgba(0, 0, 0, 0.26); + background-color: rgba(0, 0, 0, 0.2); border-color: transparent; box-shadow: 0 0 transparent; text-shadow: none; @@ -3140,7 +3140,7 @@ StWidget.focused .app-well-app-running-dot { #dashtodockContainer.extended #dash { padding: 0; margin: 0; - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); } #dashtodockContainer.extended #dash .dash-background { @@ -3171,7 +3171,7 @@ StWidget.focused #dashtodockContainer .app-well-app-running-dot { } #dashtodockContainer #dash .dash-background { - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); padding: 10px; } @@ -3180,7 +3180,7 @@ StWidget.focused #dashtodockContainer .app-well-app-running-dot { } #dashtodockContainer.transparent #dash .dash-background { - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); } #dashtodockContainer:overview #dash .dash-background { @@ -3207,7 +3207,7 @@ StWidget.focused #dashtodockContainer .app-well-app-running-dot { .openweather-provider { padding: 0 16px; font-weight: 500; - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); background-color: transparent; border-color: transparent; box-shadow: 0 0 transparent; @@ -3217,7 +3217,7 @@ StWidget.focused #dashtodockContainer .app-well-app-running-dot { .openweather-provider:hover { color: rgba(0, 0, 0, 0.75); - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); border-color: transparent; box-shadow: 0 0 transparent; text-shadow: none; @@ -3233,7 +3233,7 @@ StWidget.focused #dashtodockContainer .app-well-app-running-dot { .openweather-provider:active { color: rgba(0, 0, 0, 0.75); - background-color: rgba(0, 0, 0, 0.26); + background-color: rgba(0, 0, 0, 0.2); border-color: transparent; box-shadow: 0 0 transparent; text-shadow: none; @@ -3257,7 +3257,7 @@ StWidget.focused #dashtodockContainer .app-well-app-running-dot { .openweather-forecast-icon, .openweather-forecast-summary { background: none; - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); } .openweather-forecast-day, .openweather-forecast-temperature { @@ -3266,5 +3266,5 @@ StWidget.focused #dashtodockContainer .app-well-app-running-dot { } .openweather-sunrise-icon, .openweather-sunset-icon, .openweather-build-icon { - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); } diff --git a/src/gtk/gtk-dark-solid.css b/src/gtk/3.0/gtk-dark-solid.css similarity index 97% rename from src/gtk/gtk-dark-solid.css rename to src/gtk/3.0/gtk-dark-solid.css index 0b429ce..f48297d 100644 --- a/src/gtk/gtk-dark-solid.css +++ b/src/gtk/3.0/gtk-dark-solid.css @@ -161,8 +161,7 @@ tab label:disabled, button label:disabled { color: inherit; } -.dim-label, .budgie-notification .notification-body, .budgie-switcher .notification-body, -headerbar .subtitle, label.separator { +.dim-label, .budgie-notification .notification-body, .budgie-switcher .notification-body, headerbar .subtitle, label.separator { opacity: 0.6; } @@ -253,7 +252,7 @@ popover.background.menu spinbutton:not(.vertical), spinbutton.flat:not(.vertical border-radius: 0; transition: all 100ms cubic-bezier(0, 0, 0.2, 1), border-image 225ms cubic-bezier(0, 0, 0.2, 1); border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), #5657f5 0%, transparent 0%) 0 0 0/0 0 0px; - box-shadow: inset 0 -1px rgba(255, 255, 255, 0.3); + box-shadow: inset 0 -1px rgba(255, 255, 255, 0.2); background-color: transparent; color: #FFFFFF; } @@ -269,7 +268,7 @@ popover.background.menu .linked entry:focus, popover.background.menu entry:focus, popover.background.menu spinbutton:focus:not(.vertical), spinbutton.flat:focus:not(.vertical), entry.flat:focus { border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), #5657f5 100%, transparent 0%) 0 0 2/0 0 2px; - box-shadow: inset 0 -1px rgba(255, 255, 255, 0.3); + box-shadow: inset 0 -1px rgba(255, 255, 255, 0.2); } #login_window entry:disabled, .raven .raven-background spinbutton:disabled:not(.vertical), .budgie-popover entry:disabled, @@ -282,7 +281,7 @@ popover.background spinbutton:disabled:not(.vertical), popover.background.menu .linked entry:disabled, popover.background.menu entry:disabled, popover.background.menu spinbutton:disabled:not(.vertical), spinbutton.flat:disabled:not(.vertical), entry.flat:disabled { - box-shadow: inset 0 -1px rgba(255, 255, 255, 0.12); + box-shadow: inset 0 -1px rgba(255, 255, 255, 0.08); background-color: transparent; color: rgba(255, 255, 255, 0.5); } @@ -311,7 +310,7 @@ spinbutton:not(.vertical) image.right, entry image.right { spinbutton:not(.vertical) undershoot.left, entry undershoot.left { background-color: transparent; - background-image: linear-gradient(to top, rgba(49, 49, 58, 0.3) 50%, rgba(255, 255, 255, 0.3) 50%); + background-image: linear-gradient(to top, rgba(49, 49, 58, 0.3) 50%, rgba(255, 255, 255, 0.2) 50%); padding-left: 1px; background-size: 1px 12px; background-repeat: repeat-y; @@ -321,7 +320,7 @@ spinbutton:not(.vertical) undershoot.left, entry undershoot.left { spinbutton:not(.vertical) undershoot.right, entry undershoot.right { background-color: transparent; - background-image: linear-gradient(to top, rgba(49, 49, 58, 0.3) 50%, rgba(255, 255, 255, 0.3) 50%); + background-image: linear-gradient(to top, rgba(49, 49, 58, 0.3) 50%, rgba(255, 255, 255, 0.2) 50%); padding-right: 1px; background-size: 1px 12px; background-repeat: repeat-y; @@ -362,7 +361,7 @@ spinbutton.error.flat:focus:not(.vertical), entry.error.flat:focus { } spinbutton.error.flat:disabled:not(.vertical), entry.error.flat:disabled { - box-shadow: inset 0 -1px rgba(255, 255, 255, 0.12); + box-shadow: inset 0 -1px rgba(255, 255, 255, 0.08); background-color: transparent; color: rgba(255, 255, 255, 0.5); } @@ -412,7 +411,7 @@ spinbutton.warning.flat:focus:not(.vertical), entry.warning.flat:focus { } spinbutton.warning.flat:disabled:not(.vertical), entry.warning.flat:disabled { - box-shadow: inset 0 -1px rgba(255, 255, 255, 0.12); + box-shadow: inset 0 -1px rgba(255, 255, 255, 0.08); background-color: transparent; color: rgba(255, 255, 255, 0.5); } @@ -618,14 +617,14 @@ button.flat:disabled { .nemo-window toolbar.primary-toolbar > toolitem > box.linked.raised > button:checked, layouttabbar button:checked, infobar.info button:checked, infobar.question button:checked, infobar.warning button:checked, infobar.error button:checked, .app-notification button:checked, actionbar > revealer > box button:checked:not(.suggested-action):not(.destructive-action):not(.server-list-button), :not(headerbar) .caja-pathbar button:checked, .caja-pathbar :not(headerbar) button:checked, :not(headerbar) .path-bar button:checked, headerbar button:checked:not(.suggested-action):not(.destructive-action), toolbar button:checked, button.flat:checked { - background-color: rgba(255, 255, 255, 0.3); + background-color: rgba(255, 255, 255, 0.2); color: #FFFFFF; } .budgie-panel button:checked:disabled, PanelToplevel.horizontal > grid > button:checked:disabled, .mate-panel-menu-bar button:checked:disabled, .nemo-window .toolbar button:checked:disabled, .nemo-window toolbar.primary-toolbar > toolitem > box.raised > button:checked:disabled, layouttabbar button:checked:disabled, infobar.info button:checked:disabled, infobar.question button:checked:disabled, infobar.warning button:checked:disabled, infobar.error button:checked:disabled, .app-notification button:checked:disabled, actionbar > revealer > box button:checked:disabled:not(.suggested-action):not(.destructive-action):not(.server-list-button), :not(headerbar) .caja-pathbar button:checked:disabled, .caja-pathbar :not(headerbar) button:checked:disabled, :not(headerbar) .path-bar button:checked:disabled, headerbar button:checked:disabled:not(.suggested-action):not(.destructive-action), toolbar button:checked:disabled, button.flat:checked:disabled { - background-color: rgba(255, 255, 255, 0.12); + background-color: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.5); } @@ -833,13 +832,10 @@ button.destructive-action.flat:checked { .raven .expander-button, .raven .raven-header:not(.top) button.image-button, widget > box.terminal-titlebar > button.image-button, widget > box.terminal-titlebar > button.image-button.toggle, .terminix-session-sidebar button.tilix-sidebar-close-button, .tilix-session-sidebar button.tilix-sidebar-close-button, .nemo-window toolbar.primary-toolbar > toolitem > box.raised > button, -.nemo-window toolbar.primary-toolbar > toolitem > box.linked.raised > button, .nautilus-window headerbar > revealer > button, .solid-csd headerbar:not(.default-decoration) button.titlebutton, headerbar button.titlebutton, .csd headerbar button.titlebutton, .csd headerbar.default-decoration button.titlebutton, +.nemo-window toolbar.primary-toolbar > toolitem > box.linked.raised > button, .nautilus-window headerbar > revealer > button, .solid-csd headerbar:not(.default-decoration) button.titlebutton, headerbar button.titlebutton, .csd headerbar button.titlebutton, headerbar.default-decoration button.titlebutton, .csd headerbar.default-decoration button.titlebutton, .titlebar button.titlebutton, .csd .titlebar button.titlebutton, .titlebar.default-decoration button.titlebutton, .csd .titlebar.default-decoration button.titlebutton, row button.image-button, check, -radio, -headerbar.default-decoration button.titlebutton, -headerbar button.suggested-action, -headerbar button.destructive-action, +radio, headerbar button.suggested-action, headerbar button.destructive-action, headerbar button:not(.suggested-action):not(.destructive-action), button.close, button.circular { @@ -950,8 +946,7 @@ button:visited { color: #E040FB; } -infobar.info *:link, infobar.question *:link, infobar.warning *:link, infobar.error *:link, -headerbar.selection-mode .subtitle:link, *:link:selected, *:selected *:link, button:selected:link, +infobar.info *:link, infobar.question *:link, infobar.warning *:link, infobar.error *:link, headerbar.selection-mode .subtitle:link, *:link:selected, *:selected *:link, button:selected:link, button:selected:visited, *:selected button:link, *:selected button:visited { color: #FFFFFF; @@ -1116,7 +1111,7 @@ popover.background.menu button.combo { font-weight: inherit; transition: all 100ms cubic-bezier(0, 0, 0.2, 1), border-image 225ms cubic-bezier(0, 0, 0.2, 1); border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), #5657f5 0%, transparent 0%) 0 0 0/0 0 0px; - box-shadow: inset 0 -1px rgba(255, 255, 255, 0.3); + box-shadow: inset 0 -1px rgba(255, 255, 255, 0.2); background-color: transparent; color: #FFFFFF; } @@ -1136,7 +1131,7 @@ popover.background.menu button.combo:checked { #login_window #user_combobox button:disabled, .raven .raven-background button.combo:disabled, .budgie-popover button.combo:disabled, notebook > stack:not(:only-child) button.combo:disabled, popover button.combo:disabled, popover.background button.combo:disabled, popover.background.menu button.combo:disabled { - box-shadow: inset 0 -1px rgba(255, 255, 255, 0.12); + box-shadow: inset 0 -1px rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.5); } @@ -1235,7 +1230,6 @@ actionbar { /*************** * Header bars * ***************/ - headerbar { transition: background-color 100ms cubic-bezier(0, 0, 0.2, 1), color 100ms cubic-bezier(0, 0, 0.2, 1); min-height: 38px; @@ -1245,49 +1239,40 @@ headerbar { color: #FFFFFF; } - headerbar:disabled :not(button) > label { color: rgba(255, 255, 255, 0.5); } - headerbar:backdrop { color: rgba(255, 255, 255, 0.7); } - headerbar:backdrop:disabled :not(button) > label { color: rgba(255, 255, 255, 0.3); } - headerbar .title { padding: 0 12px; font-weight: bold; } - headerbar .subtitle { padding: 0 12px; font-size: smaller; } - headerbar entry { background-color: #3d3d48; } - headerbar entry:focus { background-color: #444450; } - headerbar .linked:not(.vertical) > entry:not(.flat) { border-radius: 7px; } - headerbar .linked:not(.vertical) > button { border-radius: 7px; -gtk-outline-radius: 7px; @@ -1355,14 +1340,11 @@ headerbar button:not(.suggested-action):not(.destructive-action):backdrop:checke color: rgba(255, 255, 255, 0.3); } - -headerbar button.suggested-action:disabled, -headerbar button.destructive-action:disabled { +headerbar button.suggested-action:disabled, headerbar button.destructive-action:disabled { background-color: rgba(255, 255, 255, 0.12); color: rgba(255, 255, 255, 0.5); } - headerbar.selection-mode { transition: background-color 0.00001s 225ms, color 225ms cubic-bezier(0, 0, 0.2, 1); animation: header_ripple_effect 225ms cubic-bezier(0, 0, 0.2, 1); @@ -1371,92 +1353,76 @@ headerbar.selection-mode { color: #FFFFFF; } - headerbar.selection-mode:backdrop { color: rgba(255, 255, 255, 0.7); } - headerbar.selection-mode button:not(.suggested-action):not(.destructive-action) { border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), currentColor 0%, transparent 0%) 0 0 0/0 0 0; color: #FFFFFF; } - headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):disabled { color: rgba(255, 255, 255, 0.5); } - headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):hover { color: #FFFFFF; } - headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):checked { border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), currentColor 100%, transparent 0%) 0 0 2/0 0 2px; color: #FFFFFF; } - headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):checked:disabled { color: rgba(255, 255, 255, 0.5); } - headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):backdrop { color: rgba(255, 255, 255, 0.7); } - headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):backdrop:disabled { color: rgba(255, 255, 255, 0.3); } - headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):backdrop:checked { color: rgba(255, 255, 255, 0.7); } - headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):backdrop:checked:disabled { color: rgba(255, 255, 255, 0.3); } - headerbar.selection-mode .selection-menu { padding-left: 16px; padding-right: 16px; } - headerbar.selection-mode .selection-menu arrow { -GtkArrow-arrow-scaling: 1; } - headerbar.selection-mode .selection-menu .arrow { -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); } - -headerbar .linked:not(.vertical).path-bar > button, -headerbar .linked:not(.vertical):not(.path-bar).stack-switcher > button { +headerbar .linked:not(.vertical).path-bar button:not(.suggested-action):not(.destructive-action), +headerbar .linked:not(.vertical):not(.path-bar).stack-switcher button:not(.suggested-action):not(.destructive-action), headerbar.windowhandle viewswitcher button:not(.suggested-action):not(.destructive-action) { padding-left: 8px; padding-right: 8px; border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), #5657f5 0%, transparent 0%) 0 0 0/0 0 0; } - -headerbar .linked:not(.vertical).path-bar > button label, -headerbar .linked:not(.vertical):not(.path-bar).stack-switcher > button label { +headerbar .linked:not(.vertical).path-bar button:not(.suggested-action):not(.destructive-action) label, +headerbar .linked:not(.vertical):not(.path-bar).stack-switcher button:not(.suggested-action):not(.destructive-action) label, headerbar.windowhandle viewswitcher button:not(.suggested-action):not(.destructive-action) label { padding-left: 8px; padding-right: 8px; } - -headerbar .linked:not(.vertical).path-bar > button:active, -headerbar .linked:not(.vertical):not(.path-bar).stack-switcher > button:active { +headerbar .linked:not(.vertical).path-bar button:not(.suggested-action):not(.destructive-action):active, +headerbar .linked:not(.vertical):not(.path-bar).stack-switcher button:not(.suggested-action):not(.destructive-action):active, headerbar.windowhandle viewswitcher button:not(.suggested-action):not(.destructive-action):active { color: #FFFFFF; background-color: transparent; box-shadow: inset 0 0 0 9999px alpha(currentColor, 0.15); @@ -1465,9 +1431,8 @@ headerbar .linked:not(.vertical):not(.path-bar).stack-switcher > button:active { border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), #5657f5 100%, transparent 0%) 0 0 2/0 0 2px; } - -headerbar .linked:not(.vertical).path-bar > button:checked, -headerbar .linked:not(.vertical):not(.path-bar).stack-switcher > button:checked { +headerbar .linked:not(.vertical).path-bar button:not(.suggested-action):not(.destructive-action):checked, +headerbar .linked:not(.vertical):not(.path-bar).stack-switcher button:not(.suggested-action):not(.destructive-action):checked, headerbar.windowhandle viewswitcher button:not(.suggested-action):not(.destructive-action):checked { color: #FFFFFF; background-color: transparent; box-shadow: none; @@ -1475,33 +1440,38 @@ headerbar .linked:not(.vertical):not(.path-bar).stack-switcher > button:checked border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), #5657f5 100%, transparent 0%) 0 0 2/0 0 2px; } - -headerbar .linked:not(.vertical).path-bar > button:checked:backdrop, -headerbar .linked:not(.vertical).path-bar > button:active:backdrop, -headerbar .linked:not(.vertical):not(.path-bar).stack-switcher > button:checked:backdrop, -headerbar .linked:not(.vertical):not(.path-bar).stack-switcher > button:active:backdrop { +headerbar .linked:not(.vertical).path-bar button:not(.suggested-action):not(.destructive-action):checked:backdrop, headerbar .linked:not(.vertical).path-bar button:not(.suggested-action):not(.destructive-action):active:backdrop, +headerbar .linked:not(.vertical):not(.path-bar).stack-switcher button:not(.suggested-action):not(.destructive-action):checked:backdrop, +headerbar .linked:not(.vertical):not(.path-bar).stack-switcher button:not(.suggested-action):not(.destructive-action):active:backdrop, headerbar.windowhandle viewswitcher button:not(.suggested-action):not(.destructive-action):checked:backdrop, headerbar.windowhandle viewswitcher button:not(.suggested-action):not(.destructive-action):active:backdrop { color: rgba(255, 255, 255, 0.7); border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), rgba(255, 255, 255, 0.5) 100%, transparent 0%) 0 0 2/0 0 2px; } - -headerbar .linked:not(.vertical).path-bar > button.text-button.image-button label, -headerbar .linked:not(.vertical):not(.path-bar).stack-switcher > button.text-button.image-button label { +headerbar .linked:not(.vertical).path-bar button:not(.suggested-action):not(.destructive-action).text-button.image-button label, +headerbar .linked:not(.vertical):not(.path-bar).stack-switcher button:not(.suggested-action):not(.destructive-action).text-button.image-button label, headerbar.windowhandle viewswitcher button:not(.suggested-action):not(.destructive-action).text-button.image-button label { padding-left: 0; padding-right: 0; } - -headerbar .linked:not(.vertical).path-bar > button.text-button.image-button image, -headerbar .linked:not(.vertical):not(.path-bar).stack-switcher > button.text-button.image-button image { +headerbar .linked:not(.vertical).path-bar button:not(.suggested-action):not(.destructive-action).text-button.image-button image, +headerbar .linked:not(.vertical):not(.path-bar).stack-switcher button:not(.suggested-action):not(.destructive-action).text-button.image-button image, headerbar.windowhandle viewswitcher button:not(.suggested-action):not(.destructive-action).text-button.image-button image { padding-left: 0; padding-right: 0; } -.tiled headerbar, .tiled-top headerbar, .tiled-right headerbar, .tiled-bottom headerbar, .tiled-left headerbar, .maximized headerbar, .fullscreen headerbar { +headerbar.windowhandle viewswitcher button:not(.suggested-action):not(.destructive-action) { + margin-top: 0; + margin-bottom: 0; border-radius: 0; } +headerbar.windowhandle viewswitcher button:not(.suggested-action):not(.destructive-action):checked { + background-color: alpha(currentColor, 0.15); +} + +.tiled headerbar, .tiled-top headerbar, .tiled-right headerbar, .tiled-bottom headerbar, .tiled-left headerbar, .maximized headerbar, .fullscreen headerbar { + border-radius: 0; +} headerbar.default-decoration { min-height: 20px; @@ -1513,7 +1483,6 @@ headerbar.default-decoration { box-shadow: none; } - headerbar.default-decoration button.titlebutton { min-height: 16px; min-width: 16px; @@ -1608,7 +1577,6 @@ window.tiled headerbar, window.tiled headerbar:first-child, window.tiled headerb border-bottom-right-radius: 0; } - headerbar separator.titlebutton { min-width: 0; min-height: 0; @@ -1672,7 +1640,7 @@ window.csd > .titlebar:not(headerbar) { * Tree Views * **************/ treeview.view { - border-left-color: rgba(255, 255, 255, 0.3); + border-left-color: rgba(255, 255, 255, 0.2); border-top-color: rgba(255, 255, 255, 0.08); } @@ -2038,7 +2006,7 @@ popover.background button.flat.combo, popover.background.menu button.flat.combo, popover button.flat, popover.background button.flat, popover.background.menu button.flat { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); background-color: transparent; } @@ -2131,7 +2099,7 @@ popover.background button.combo, popover.background.menu button.combo, popover button, popover.background button, popover.background.menu button { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); background-color: transparent; box-shadow: none; } @@ -2203,7 +2171,7 @@ popover.background.menu .linked entry:focus, popover.background.menu entry:focus, popover.background.menu spinbutton:focus:not(.vertical) { border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), #5657f5 100%, transparent 0%) 0 0 2/0 0 2px; - box-shadow: inset 0 -1px rgba(255, 255, 255, 0.3); + box-shadow: inset 0 -1px rgba(255, 255, 255, 0.2); } popover .linked entry:disabled, popover entry:disabled, @@ -2240,7 +2208,7 @@ popover.background spinbutton:not(.vertical) image, popover.background.menu .linked entry image, popover.background.menu entry image, popover.background.menu spinbutton:not(.vertical) image { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); } popover .linked entry:focus, popover entry:focus, @@ -2300,7 +2268,7 @@ popover.background.menu { padding: 2px; box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06); background-color: #44454b; - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); } popover:backdrop, @@ -2359,7 +2327,7 @@ popover.background.menu list, popover.background.menu row, popover.background.menu .view, popover.background.menu textview.view > text { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); background-color: #3d3e43; border-color: rgba(255, 255, 255, 0.12); } @@ -2584,7 +2552,7 @@ popover.background check, popover.background radio, popover.background.menu check, popover.background.menu radio { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); transition: none; animation: none; } @@ -2662,7 +2630,7 @@ popover.background.menu separator, .csd popover.background.menu separator { popover label.separator, popover.background label.separator, popover.background.menu label.separator { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); } popover calendar, @@ -2736,7 +2704,7 @@ notebook > header.top > tabs { } notebook > header.top > tabs > tab:hover { - box-shadow: inset 0 -2px rgba(255, 255, 255, 0.3); + box-shadow: inset 0 -2px rgba(255, 255, 255, 0.2); } notebook > header.top > tabs > tab:checked { @@ -2753,7 +2721,7 @@ notebook > header.bottom > tabs { } notebook > header.bottom > tabs > tab:hover { - box-shadow: inset 0 2px rgba(255, 255, 255, 0.3); + box-shadow: inset 0 2px rgba(255, 255, 255, 0.2); } notebook > header.bottom > tabs > tab:checked { @@ -2770,7 +2738,7 @@ notebook > header.left > tabs { } notebook > header.left > tabs > tab:hover { - box-shadow: inset -2px 0 rgba(255, 255, 255, 0.3); + box-shadow: inset -2px 0 rgba(255, 255, 255, 0.2); } notebook > header.left > tabs > tab:checked { @@ -2787,7 +2755,7 @@ notebook > header.right > tabs { } notebook > header.right > tabs > tab:hover { - box-shadow: inset 2px 0 rgba(255, 255, 255, 0.3); + box-shadow: inset 2px 0 rgba(255, 255, 255, 0.2); } notebook > header.right > tabs > tab:checked { @@ -2854,7 +2822,7 @@ notebook > header tab { outline-offset: -6px; border-width: 1px; border-color: transparent; - background-image: radial-gradient(circle farthest-corner at center, rgba(255, 255, 255, 0.3) 10%, transparent 0%); + background-image: radial-gradient(circle farthest-corner at center, rgba(255, 255, 255, 0.2) 10%, transparent 0%); background-repeat: no-repeat; background-position: center; background-size: 0% 0%; @@ -3106,14 +3074,14 @@ switch { min-width: 38px; border: 4px solid transparent; border-radius: 9999px; - background-color: rgba(255, 255, 255, 0.3); + background-color: rgba(255, 255, 255, 0.2); background-clip: padding-box; color: transparent; font-size: 0; } switch:disabled { - background-color: rgba(255, 255, 255, 0.12); + background-color: rgba(255, 255, 255, 0.08); } switch:checked { @@ -3518,11 +3486,11 @@ scale slider { scale trough { transition: background-color 100ms cubic-bezier(0, 0, 0.2, 1); outline: none; - background-color: rgba(255, 255, 255, 0.3); + background-color: rgba(255, 255, 255, 0.2); } scale trough:disabled { - background-color: rgba(255, 255, 255, 0.12); + background-color: rgba(255, 255, 255, 0.08); } scale highlight { @@ -3536,7 +3504,7 @@ scale highlight:disabled { scale fill { transition: background-color 100ms cubic-bezier(0, 0, 0.2, 1); - background-color: rgba(255, 255, 255, 0.3); + background-color: rgba(255, 255, 255, 0.2); } scale fill:disabled { @@ -3590,7 +3558,7 @@ scale value { } scale marks { - color: rgba(255, 255, 255, 0.3); + color: rgba(255, 255, 255, 0.2); } scale marks.top { @@ -3794,7 +3762,7 @@ levelbar block.full { } levelbar block.empty { - background-color: rgba(255, 255, 255, 0.12); + background-color: rgba(255, 255, 255, 0.08); } /**************** @@ -3883,7 +3851,7 @@ overshoot.right { undershoot.top { background-color: transparent; - background-image: linear-gradient(to left, rgba(49, 49, 58, 0.3) 50%, rgba(255, 255, 255, 0.3) 50%); + background-image: linear-gradient(to left, rgba(49, 49, 58, 0.3) 50%, rgba(255, 255, 255, 0.2) 50%); padding-top: 1px; background-size: 12px 1px; background-repeat: repeat-x; @@ -3893,7 +3861,7 @@ undershoot.top { undershoot.bottom { background-color: transparent; - background-image: linear-gradient(to left, rgba(49, 49, 58, 0.3) 50%, rgba(255, 255, 255, 0.3) 50%); + background-image: linear-gradient(to left, rgba(49, 49, 58, 0.3) 50%, rgba(255, 255, 255, 0.2) 50%); padding-bottom: 1px; background-size: 12px 1px; background-repeat: repeat-x; @@ -3903,7 +3871,7 @@ undershoot.bottom { undershoot.left { background-color: transparent; - background-image: linear-gradient(to top, rgba(49, 49, 58, 0.3) 50%, rgba(255, 255, 255, 0.3) 50%); + background-image: linear-gradient(to top, rgba(49, 49, 58, 0.3) 50%, rgba(255, 255, 255, 0.2) 50%); padding-left: 1px; background-size: 1px 12px; background-repeat: repeat-y; @@ -3913,7 +3881,7 @@ undershoot.left { undershoot.right { background-color: transparent; - background-image: linear-gradient(to top, rgba(49, 49, 58, 0.3) 50%, rgba(255, 255, 255, 0.3) 50%); + background-image: linear-gradient(to top, rgba(49, 49, 58, 0.3) 50%, rgba(255, 255, 255, 0.2) 50%); padding-right: 1px; background-size: 1px 12px; background-repeat: repeat-y; @@ -4071,7 +4039,7 @@ calendar:indeterminate { * Dialogs * ***********/ messagedialog { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); } messagedialog.background { @@ -4083,7 +4051,7 @@ messagedialog .titlebar { border-style: none; box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); background-color: rgba(68, 69, 75, 0.95); - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); border-top-left-radius: 7px; border-top-right-radius: 7px; } @@ -4093,7 +4061,7 @@ messagedialog .titlebar:backdrop { } messagedialog list, messagedialog row, messagedialog .view, messagedialog textview.view > text { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); background-color: #3d3e43; border-color: rgba(255, 255, 255, 0.12); } @@ -4102,7 +4070,7 @@ messagedialog .dialog-action-area button { padding: 4px 12px; border-top: 1px solid rgba(255, 255, 255, 0.08); border-radius: 0; - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); } messagedialog .dialog-action-area button:first-child { @@ -4146,7 +4114,7 @@ messagedialog .dialog-action-area button.destructive-action:disabled { } messagedialog.csd { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); } messagedialog.csd.background { @@ -4158,7 +4126,7 @@ messagedialog.csd .dialog-action-area button { padding: 8px 16px; border-top: 1px solid rgba(255, 255, 255, 0.08); border-radius: 0; - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); } messagedialog.csd .dialog-action-area button:first-child { @@ -4172,7 +4140,7 @@ messagedialog.csd .dialog-action-area button:last-child { } messagedialog entry { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); } messagedialog expander title > arrow { @@ -4476,7 +4444,7 @@ tooltip.background.csd { border-radius: 7px; box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); background-color: rgba(68, 69, 75, 0.9); - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); } tooltip decoration { @@ -4882,7 +4850,7 @@ button.emoji-section { } button.emoji-section:hover { - box-shadow: inset 0 2px rgba(255, 255, 255, 0.3); + box-shadow: inset 0 2px rgba(255, 255, 255, 0.2); } button.emoji-section:active, button.emoji-section:checked { @@ -4980,6 +4948,10 @@ button.emoji-section:last-child { background-color: transparent; } +.nautilus-window.csd.background.unified headerbar { + background-color: transparent; +} + .nautilus-window.maximized.csd.background, .nautilus-window.maximized placessidebar, .nautilus-window.maximized notebook, .nautilus-window.maximized notebook > stack { border-radius: 0; } @@ -5201,7 +5173,7 @@ button.emoji-section:last-child { } .disk-space-display.free { - background-color: rgba(255, 255, 255, 0.12); + background-color: rgba(255, 255, 255, 0.08); } .conflict-row:not(:selected) { @@ -5589,7 +5561,7 @@ docktab { } docktab:hover { - box-shadow: inset 0 -2px rgba(255, 255, 255, 0.3); + box-shadow: inset 0 -2px rgba(255, 255, 255, 0.2); color: #FFFFFF; } @@ -5611,7 +5583,7 @@ dockoverlayedge docktabstrip { } dockoverlayedge.left-edge docktab:hover { - box-shadow: inset -2px 0 rgba(255, 255, 255, 0.3); + box-shadow: inset -2px 0 rgba(255, 255, 255, 0.2); } dockoverlayedge.left-edge docktab:checked { @@ -5619,7 +5591,7 @@ dockoverlayedge.left-edge docktab:checked { } dockoverlayedge.right-edge docktab:hover { - box-shadow: inset 2px 0 rgba(255, 255, 255, 0.3); + box-shadow: inset 2px 0 rgba(255, 255, 255, 0.2); } dockoverlayedge.right-edge docktab:checked { @@ -5719,7 +5691,7 @@ ideeditorutilities > dzldockpaned > box > stackswitcher button:dir(ltr) { } ideeditorutilities > dzldockpaned > box > stackswitcher button:dir(ltr):hover { - box-shadow: inset -2px 0 rgba(255, 255, 255, 0.3); + box-shadow: inset -2px 0 rgba(255, 255, 255, 0.2); } ideeditorutilities > dzldockpaned > box > stackswitcher button:dir(ltr):active, ideeditorutilities > dzldockpaned > box > stackswitcher button:dir(ltr):checked { @@ -5731,7 +5703,7 @@ ideeditorutilities > dzldockpaned > box > stackswitcher button:dir(rtl) { } ideeditorutilities > dzldockpaned > box > stackswitcher button:dir(rtl):hover { - box-shadow: inset 2px 0 rgba(255, 255, 255, 0.3); + box-shadow: inset 2px 0 rgba(255, 255, 255, 0.2); } ideeditorutilities > dzldockpaned > box > stackswitcher button:dir(rtl):active, ideeditorutilities > dzldockpaned > box > stackswitcher button:dir(rtl):checked { @@ -5948,12 +5920,12 @@ window.background > box.vertical box.horizontal > box.vertical > scrolledwindow } window.background > box.vertical box.horizontal > box.vertical > scrolledwindow > viewport.frame > list row.event.activatable.compressed-row-header:hover { - background-color: rgba(255, 255, 255, 0.12); + background-color: rgba(255, 255, 255, 0.08); color: #5657f5; } window.background > box.vertical box.horizontal > box.vertical > scrolledwindow > viewport.frame > list row.event.activatable.compressed-row-header:active, window.background > box.vertical box.horizontal > box.vertical > scrolledwindow > viewport.frame > list row.event.activatable.compressed-row-header:active:focus, window.background > box.vertical box.horizontal > box.vertical > scrolledwindow > viewport.frame > list row.event.activatable.compressed-row-header:checked, window.background > box.vertical box.horizontal > box.vertical > scrolledwindow > viewport.frame > list row.event.activatable.compressed-row-header:checked:focus { - background-color: rgba(255, 255, 255, 0.3); + background-color: rgba(255, 255, 255, 0.2); background-image: image(#31313a); } @@ -6983,7 +6955,7 @@ stack#conversation_viewer scrolledwindow.geary-conversation-scroller > viewport. } popover.background list.geary-folder-popover-list row.activatable.geary-folder-popover-list-row label { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); } popover.background list.geary-folder-popover-list row.activatable.geary-folder-popover-list-row label:disabled { @@ -7176,7 +7148,7 @@ window#whiskermenu-window scrolledwindow > viewport button.radio:not(:disabled) } window#whiskermenu-window scrolledwindow > viewport button.radio:hover { - background-color: rgba(255, 255, 255, 0.12); + background-color: rgba(255, 255, 255, 0.08); } window#whiskermenu-window scrolledwindow > viewport button.radio:checked { @@ -7359,7 +7331,7 @@ PanelToplevel.vertical > grid > button { } PanelSeparator { - color: rgba(255, 255, 255, 0.12); + color: rgba(255, 255, 255, 0.08); } MatePanelAppletFrameDBus { @@ -7380,7 +7352,7 @@ MatePanelAppletFrameDBus { } .mate-panel-menu-bar menubar > menuitem:hover { - background-color: rgba(255, 255, 255, 0.12); + background-color: rgba(255, 255, 255, 0.08); color: #FFFFFF; } @@ -8443,7 +8415,7 @@ frame.raven-frame > border { } .raven .raven-background > overlay > widget > image { - color: rgba(255, 255, 255, 0.12); + color: rgba(255, 255, 255, 0.08); } .raven .raven-background grid > label:first-child { @@ -8750,9 +8722,7 @@ box.vertical > stack > box.vertical .raven-background > viewport.frame list > ro background-color: transparent; } -.budgie-run-dialog list .dim-label, .budgie-run-dialog list label.separator, -.budgie-run-dialog list headerbar .subtitle, -headerbar .budgie-run-dialog list .subtitle, .budgie-run-dialog list .budgie-notification .notification-body, .budgie-notification .budgie-run-dialog list .notification-body, .budgie-run-dialog list .budgie-switcher .notification-body, .budgie-switcher .budgie-run-dialog list .notification-body { +.budgie-run-dialog list .dim-label, .budgie-run-dialog list label.separator, .budgie-run-dialog list headerbar .subtitle, headerbar .budgie-run-dialog list .subtitle, .budgie-run-dialog list .budgie-notification .notification-body, .budgie-notification .budgie-run-dialog list .notification-body, .budgie-run-dialog list .budgie-switcher .notification-body, .budgie-switcher .budgie-run-dialog list .notification-body { opacity: 1; } diff --git a/src/gtk/3.0/gtk-dark-solid.scss b/src/gtk/3.0/gtk-dark-solid.scss new file mode 100644 index 0000000..093b449 --- /dev/null +++ b/src/gtk/3.0/gtk-dark-solid.scss @@ -0,0 +1,11 @@ +$variant: 'dark'; +$titlebar: 'dark'; +$compact: 'true'; +$solid: 'true'; + +@import '../../_sass/variables'; +@import '../../_sass/colors'; +@import '../../_sass/gtk/drawing-3.0'; +@import '../../_sass/gtk/common-3.0'; +@import '../../_sass/gtk/apps-3.0'; +@import '../../_sass/gtk/colors-public'; diff --git a/src/gtk/gtk-dark.css b/src/gtk/3.0/gtk-dark.css similarity index 97% rename from src/gtk/gtk-dark.css rename to src/gtk/3.0/gtk-dark.css index f962eb8..6cf1ebd 100644 --- a/src/gtk/gtk-dark.css +++ b/src/gtk/3.0/gtk-dark.css @@ -161,8 +161,7 @@ tab label:disabled, button label:disabled { color: inherit; } -.dim-label, .budgie-notification .notification-body, .budgie-switcher .notification-body, -headerbar .subtitle, label.separator { +.dim-label, .budgie-notification .notification-body, .budgie-switcher .notification-body, headerbar .subtitle, label.separator { opacity: 0.6; } @@ -253,7 +252,7 @@ popover.background.menu spinbutton:not(.vertical), spinbutton.flat:not(.vertical border-radius: 0; transition: all 100ms cubic-bezier(0, 0, 0.2, 1), border-image 225ms cubic-bezier(0, 0, 0.2, 1); border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), #5657f5 0%, transparent 0%) 0 0 0/0 0 0px; - box-shadow: inset 0 -1px rgba(255, 255, 255, 0.3); + box-shadow: inset 0 -1px rgba(255, 255, 255, 0.2); background-color: transparent; color: #FFFFFF; } @@ -269,7 +268,7 @@ popover.background.menu .linked entry:focus, popover.background.menu entry:focus, popover.background.menu spinbutton:focus:not(.vertical), spinbutton.flat:focus:not(.vertical), entry.flat:focus { border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), #5657f5 100%, transparent 0%) 0 0 2/0 0 2px; - box-shadow: inset 0 -1px rgba(255, 255, 255, 0.3); + box-shadow: inset 0 -1px rgba(255, 255, 255, 0.2); } #login_window entry:disabled, .raven .raven-background spinbutton:disabled:not(.vertical), .budgie-popover entry:disabled, @@ -282,7 +281,7 @@ popover.background spinbutton:disabled:not(.vertical), popover.background.menu .linked entry:disabled, popover.background.menu entry:disabled, popover.background.menu spinbutton:disabled:not(.vertical), spinbutton.flat:disabled:not(.vertical), entry.flat:disabled { - box-shadow: inset 0 -1px rgba(255, 255, 255, 0.12); + box-shadow: inset 0 -1px rgba(255, 255, 255, 0.08); background-color: transparent; color: rgba(255, 255, 255, 0.5); } @@ -311,7 +310,7 @@ spinbutton:not(.vertical) image.right, entry image.right { spinbutton:not(.vertical) undershoot.left, entry undershoot.left { background-color: transparent; - background-image: linear-gradient(to top, rgba(49, 49, 58, 0.3) 50%, rgba(255, 255, 255, 0.3) 50%); + background-image: linear-gradient(to top, rgba(49, 49, 58, 0.3) 50%, rgba(255, 255, 255, 0.2) 50%); padding-left: 1px; background-size: 1px 12px; background-repeat: repeat-y; @@ -321,7 +320,7 @@ spinbutton:not(.vertical) undershoot.left, entry undershoot.left { spinbutton:not(.vertical) undershoot.right, entry undershoot.right { background-color: transparent; - background-image: linear-gradient(to top, rgba(49, 49, 58, 0.3) 50%, rgba(255, 255, 255, 0.3) 50%); + background-image: linear-gradient(to top, rgba(49, 49, 58, 0.3) 50%, rgba(255, 255, 255, 0.2) 50%); padding-right: 1px; background-size: 1px 12px; background-repeat: repeat-y; @@ -362,7 +361,7 @@ spinbutton.error.flat:focus:not(.vertical), entry.error.flat:focus { } spinbutton.error.flat:disabled:not(.vertical), entry.error.flat:disabled { - box-shadow: inset 0 -1px rgba(255, 255, 255, 0.12); + box-shadow: inset 0 -1px rgba(255, 255, 255, 0.08); background-color: transparent; color: rgba(255, 255, 255, 0.5); } @@ -412,7 +411,7 @@ spinbutton.warning.flat:focus:not(.vertical), entry.warning.flat:focus { } spinbutton.warning.flat:disabled:not(.vertical), entry.warning.flat:disabled { - box-shadow: inset 0 -1px rgba(255, 255, 255, 0.12); + box-shadow: inset 0 -1px rgba(255, 255, 255, 0.08); background-color: transparent; color: rgba(255, 255, 255, 0.5); } @@ -618,14 +617,14 @@ button.flat:disabled { .nemo-window toolbar.primary-toolbar > toolitem > box.linked.raised > button:checked, layouttabbar button:checked, infobar.info button:checked, infobar.question button:checked, infobar.warning button:checked, infobar.error button:checked, .app-notification button:checked, actionbar > revealer > box button:checked:not(.suggested-action):not(.destructive-action):not(.server-list-button), :not(headerbar) .caja-pathbar button:checked, .caja-pathbar :not(headerbar) button:checked, :not(headerbar) .path-bar button:checked, headerbar button:checked:not(.suggested-action):not(.destructive-action), toolbar button:checked, button.flat:checked { - background-color: rgba(255, 255, 255, 0.3); + background-color: rgba(255, 255, 255, 0.2); color: #FFFFFF; } .budgie-panel button:checked:disabled, PanelToplevel.horizontal > grid > button:checked:disabled, .mate-panel-menu-bar button:checked:disabled, .nemo-window .toolbar button:checked:disabled, .nemo-window toolbar.primary-toolbar > toolitem > box.raised > button:checked:disabled, layouttabbar button:checked:disabled, infobar.info button:checked:disabled, infobar.question button:checked:disabled, infobar.warning button:checked:disabled, infobar.error button:checked:disabled, .app-notification button:checked:disabled, actionbar > revealer > box button:checked:disabled:not(.suggested-action):not(.destructive-action):not(.server-list-button), :not(headerbar) .caja-pathbar button:checked:disabled, .caja-pathbar :not(headerbar) button:checked:disabled, :not(headerbar) .path-bar button:checked:disabled, headerbar button:checked:disabled:not(.suggested-action):not(.destructive-action), toolbar button:checked:disabled, button.flat:checked:disabled { - background-color: rgba(255, 255, 255, 0.12); + background-color: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.5); } @@ -833,13 +832,10 @@ button.destructive-action.flat:checked { .raven .expander-button, .raven .raven-header:not(.top) button.image-button, widget > box.terminal-titlebar > button.image-button, widget > box.terminal-titlebar > button.image-button.toggle, .terminix-session-sidebar button.tilix-sidebar-close-button, .tilix-session-sidebar button.tilix-sidebar-close-button, .nemo-window toolbar.primary-toolbar > toolitem > box.raised > button, -.nemo-window toolbar.primary-toolbar > toolitem > box.linked.raised > button, .nautilus-window headerbar > revealer > button, .solid-csd headerbar:not(.default-decoration) button.titlebutton, headerbar button.titlebutton, .csd headerbar button.titlebutton, .csd headerbar.default-decoration button.titlebutton, +.nemo-window toolbar.primary-toolbar > toolitem > box.linked.raised > button, .nautilus-window headerbar > revealer > button, .solid-csd headerbar:not(.default-decoration) button.titlebutton, headerbar button.titlebutton, .csd headerbar button.titlebutton, headerbar.default-decoration button.titlebutton, .csd headerbar.default-decoration button.titlebutton, .titlebar button.titlebutton, .csd .titlebar button.titlebutton, .titlebar.default-decoration button.titlebutton, .csd .titlebar.default-decoration button.titlebutton, row button.image-button, check, -radio, -headerbar.default-decoration button.titlebutton, -headerbar button.suggested-action, -headerbar button.destructive-action, +radio, headerbar button.suggested-action, headerbar button.destructive-action, headerbar button:not(.suggested-action):not(.destructive-action), button.close, button.circular { @@ -950,8 +946,7 @@ button:visited { color: #E040FB; } -infobar.info *:link, infobar.question *:link, infobar.warning *:link, infobar.error *:link, -headerbar.selection-mode .subtitle:link, *:link:selected, *:selected *:link, button:selected:link, +infobar.info *:link, infobar.question *:link, infobar.warning *:link, infobar.error *:link, headerbar.selection-mode .subtitle:link, *:link:selected, *:selected *:link, button:selected:link, button:selected:visited, *:selected button:link, *:selected button:visited { color: #FFFFFF; @@ -1116,7 +1111,7 @@ popover.background.menu button.combo { font-weight: inherit; transition: all 100ms cubic-bezier(0, 0, 0.2, 1), border-image 225ms cubic-bezier(0, 0, 0.2, 1); border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), #5657f5 0%, transparent 0%) 0 0 0/0 0 0px; - box-shadow: inset 0 -1px rgba(255, 255, 255, 0.3); + box-shadow: inset 0 -1px rgba(255, 255, 255, 0.2); background-color: transparent; color: #FFFFFF; } @@ -1136,7 +1131,7 @@ popover.background.menu button.combo:checked { #login_window #user_combobox button:disabled, .raven .raven-background button.combo:disabled, .budgie-popover button.combo:disabled, notebook > stack:not(:only-child) button.combo:disabled, popover button.combo:disabled, popover.background button.combo:disabled, popover.background.menu button.combo:disabled { - box-shadow: inset 0 -1px rgba(255, 255, 255, 0.12); + box-shadow: inset 0 -1px rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.5); } @@ -1235,7 +1230,6 @@ actionbar { /*************** * Header bars * ***************/ - headerbar { transition: background-color 100ms cubic-bezier(0, 0, 0.2, 1), color 100ms cubic-bezier(0, 0, 0.2, 1); min-height: 38px; @@ -1245,49 +1239,40 @@ headerbar { color: #FFFFFF; } - headerbar:disabled :not(button) > label { color: rgba(255, 255, 255, 0.5); } - headerbar:backdrop { color: rgba(255, 255, 255, 0.7); } - headerbar:backdrop:disabled :not(button) > label { color: rgba(255, 255, 255, 0.3); } - headerbar .title { padding: 0 12px; font-weight: bold; } - headerbar .subtitle { padding: 0 12px; font-size: smaller; } - headerbar entry { background-color: #3d3d48; } - headerbar entry:focus { background-color: #444450; } - headerbar .linked:not(.vertical) > entry:not(.flat) { border-radius: 7px; } - headerbar .linked:not(.vertical) > button { border-radius: 7px; -gtk-outline-radius: 7px; @@ -1355,14 +1340,11 @@ headerbar button:not(.suggested-action):not(.destructive-action):backdrop:checke color: rgba(255, 255, 255, 0.3); } - -headerbar button.suggested-action:disabled, -headerbar button.destructive-action:disabled { +headerbar button.suggested-action:disabled, headerbar button.destructive-action:disabled { background-color: rgba(255, 255, 255, 0.12); color: rgba(255, 255, 255, 0.5); } - headerbar.selection-mode { transition: background-color 0.00001s 225ms, color 225ms cubic-bezier(0, 0, 0.2, 1); animation: header_ripple_effect 225ms cubic-bezier(0, 0, 0.2, 1); @@ -1371,92 +1353,76 @@ headerbar.selection-mode { color: #FFFFFF; } - headerbar.selection-mode:backdrop { color: rgba(255, 255, 255, 0.7); } - headerbar.selection-mode button:not(.suggested-action):not(.destructive-action) { border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), currentColor 0%, transparent 0%) 0 0 0/0 0 0; color: #FFFFFF; } - headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):disabled { color: rgba(255, 255, 255, 0.5); } - headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):hover { color: #FFFFFF; } - headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):checked { border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), currentColor 100%, transparent 0%) 0 0 2/0 0 2px; color: #FFFFFF; } - headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):checked:disabled { color: rgba(255, 255, 255, 0.5); } - headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):backdrop { color: rgba(255, 255, 255, 0.7); } - headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):backdrop:disabled { color: rgba(255, 255, 255, 0.3); } - headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):backdrop:checked { color: rgba(255, 255, 255, 0.7); } - headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):backdrop:checked:disabled { color: rgba(255, 255, 255, 0.3); } - headerbar.selection-mode .selection-menu { padding-left: 16px; padding-right: 16px; } - headerbar.selection-mode .selection-menu arrow { -GtkArrow-arrow-scaling: 1; } - headerbar.selection-mode .selection-menu .arrow { -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); } - -headerbar .linked:not(.vertical).path-bar > button, -headerbar .linked:not(.vertical):not(.path-bar).stack-switcher > button { +headerbar .linked:not(.vertical).path-bar button:not(.suggested-action):not(.destructive-action), +headerbar .linked:not(.vertical):not(.path-bar).stack-switcher button:not(.suggested-action):not(.destructive-action), headerbar.windowhandle viewswitcher button:not(.suggested-action):not(.destructive-action) { padding-left: 8px; padding-right: 8px; border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), #5657f5 0%, transparent 0%) 0 0 0/0 0 0; } - -headerbar .linked:not(.vertical).path-bar > button label, -headerbar .linked:not(.vertical):not(.path-bar).stack-switcher > button label { +headerbar .linked:not(.vertical).path-bar button:not(.suggested-action):not(.destructive-action) label, +headerbar .linked:not(.vertical):not(.path-bar).stack-switcher button:not(.suggested-action):not(.destructive-action) label, headerbar.windowhandle viewswitcher button:not(.suggested-action):not(.destructive-action) label { padding-left: 8px; padding-right: 8px; } - -headerbar .linked:not(.vertical).path-bar > button:active, -headerbar .linked:not(.vertical):not(.path-bar).stack-switcher > button:active { +headerbar .linked:not(.vertical).path-bar button:not(.suggested-action):not(.destructive-action):active, +headerbar .linked:not(.vertical):not(.path-bar).stack-switcher button:not(.suggested-action):not(.destructive-action):active, headerbar.windowhandle viewswitcher button:not(.suggested-action):not(.destructive-action):active { color: #FFFFFF; background-color: transparent; box-shadow: inset 0 0 0 9999px alpha(currentColor, 0.15); @@ -1465,9 +1431,8 @@ headerbar .linked:not(.vertical):not(.path-bar).stack-switcher > button:active { border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), #5657f5 100%, transparent 0%) 0 0 2/0 0 2px; } - -headerbar .linked:not(.vertical).path-bar > button:checked, -headerbar .linked:not(.vertical):not(.path-bar).stack-switcher > button:checked { +headerbar .linked:not(.vertical).path-bar button:not(.suggested-action):not(.destructive-action):checked, +headerbar .linked:not(.vertical):not(.path-bar).stack-switcher button:not(.suggested-action):not(.destructive-action):checked, headerbar.windowhandle viewswitcher button:not(.suggested-action):not(.destructive-action):checked { color: #FFFFFF; background-color: transparent; box-shadow: none; @@ -1475,33 +1440,38 @@ headerbar .linked:not(.vertical):not(.path-bar).stack-switcher > button:checked border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), #5657f5 100%, transparent 0%) 0 0 2/0 0 2px; } - -headerbar .linked:not(.vertical).path-bar > button:checked:backdrop, -headerbar .linked:not(.vertical).path-bar > button:active:backdrop, -headerbar .linked:not(.vertical):not(.path-bar).stack-switcher > button:checked:backdrop, -headerbar .linked:not(.vertical):not(.path-bar).stack-switcher > button:active:backdrop { +headerbar .linked:not(.vertical).path-bar button:not(.suggested-action):not(.destructive-action):checked:backdrop, headerbar .linked:not(.vertical).path-bar button:not(.suggested-action):not(.destructive-action):active:backdrop, +headerbar .linked:not(.vertical):not(.path-bar).stack-switcher button:not(.suggested-action):not(.destructive-action):checked:backdrop, +headerbar .linked:not(.vertical):not(.path-bar).stack-switcher button:not(.suggested-action):not(.destructive-action):active:backdrop, headerbar.windowhandle viewswitcher button:not(.suggested-action):not(.destructive-action):checked:backdrop, headerbar.windowhandle viewswitcher button:not(.suggested-action):not(.destructive-action):active:backdrop { color: rgba(255, 255, 255, 0.7); border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), rgba(255, 255, 255, 0.5) 100%, transparent 0%) 0 0 2/0 0 2px; } - -headerbar .linked:not(.vertical).path-bar > button.text-button.image-button label, -headerbar .linked:not(.vertical):not(.path-bar).stack-switcher > button.text-button.image-button label { +headerbar .linked:not(.vertical).path-bar button:not(.suggested-action):not(.destructive-action).text-button.image-button label, +headerbar .linked:not(.vertical):not(.path-bar).stack-switcher button:not(.suggested-action):not(.destructive-action).text-button.image-button label, headerbar.windowhandle viewswitcher button:not(.suggested-action):not(.destructive-action).text-button.image-button label { padding-left: 0; padding-right: 0; } - -headerbar .linked:not(.vertical).path-bar > button.text-button.image-button image, -headerbar .linked:not(.vertical):not(.path-bar).stack-switcher > button.text-button.image-button image { +headerbar .linked:not(.vertical).path-bar button:not(.suggested-action):not(.destructive-action).text-button.image-button image, +headerbar .linked:not(.vertical):not(.path-bar).stack-switcher button:not(.suggested-action):not(.destructive-action).text-button.image-button image, headerbar.windowhandle viewswitcher button:not(.suggested-action):not(.destructive-action).text-button.image-button image { padding-left: 0; padding-right: 0; } -.tiled headerbar, .tiled-top headerbar, .tiled-right headerbar, .tiled-bottom headerbar, .tiled-left headerbar, .maximized headerbar, .fullscreen headerbar { +headerbar.windowhandle viewswitcher button:not(.suggested-action):not(.destructive-action) { + margin-top: 0; + margin-bottom: 0; border-radius: 0; } +headerbar.windowhandle viewswitcher button:not(.suggested-action):not(.destructive-action):checked { + background-color: alpha(currentColor, 0.15); +} + +.tiled headerbar, .tiled-top headerbar, .tiled-right headerbar, .tiled-bottom headerbar, .tiled-left headerbar, .maximized headerbar, .fullscreen headerbar { + border-radius: 0; +} headerbar.default-decoration { min-height: 20px; @@ -1513,7 +1483,6 @@ headerbar.default-decoration { box-shadow: none; } - headerbar.default-decoration button.titlebutton { min-height: 16px; min-width: 16px; @@ -1608,7 +1577,6 @@ window.tiled headerbar, window.tiled headerbar:first-child, window.tiled headerb border-bottom-right-radius: 0; } - headerbar separator.titlebutton { min-width: 0; min-height: 0; @@ -1672,7 +1640,7 @@ window.csd > .titlebar:not(headerbar) { * Tree Views * **************/ treeview.view { - border-left-color: rgba(255, 255, 255, 0.3); + border-left-color: rgba(255, 255, 255, 0.2); border-top-color: rgba(255, 255, 255, 0.08); } @@ -2038,7 +2006,7 @@ popover.background button.flat.combo, popover.background.menu button.flat.combo, popover button.flat, popover.background button.flat, popover.background.menu button.flat { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); background-color: transparent; } @@ -2131,7 +2099,7 @@ popover.background button.combo, popover.background.menu button.combo, popover button, popover.background button, popover.background.menu button { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); background-color: transparent; box-shadow: none; } @@ -2203,7 +2171,7 @@ popover.background.menu .linked entry:focus, popover.background.menu entry:focus, popover.background.menu spinbutton:focus:not(.vertical) { border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), #5657f5 100%, transparent 0%) 0 0 2/0 0 2px; - box-shadow: inset 0 -1px rgba(255, 255, 255, 0.3); + box-shadow: inset 0 -1px rgba(255, 255, 255, 0.2); } popover .linked entry:disabled, popover entry:disabled, @@ -2240,7 +2208,7 @@ popover.background spinbutton:not(.vertical) image, popover.background.menu .linked entry image, popover.background.menu entry image, popover.background.menu spinbutton:not(.vertical) image { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); } popover .linked entry:focus, popover entry:focus, @@ -2300,7 +2268,7 @@ popover.background.menu { padding: 2px; box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06); background-color: rgba(68, 69, 75, 0.95); - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); } popover:backdrop, @@ -2359,7 +2327,7 @@ popover.background.menu list, popover.background.menu row, popover.background.menu .view, popover.background.menu textview.view > text { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); background-color: #3d3e43; border-color: rgba(255, 255, 255, 0.12); } @@ -2584,7 +2552,7 @@ popover.background check, popover.background radio, popover.background.menu check, popover.background.menu radio { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); transition: none; animation: none; } @@ -2662,7 +2630,7 @@ popover.background.menu separator, .csd popover.background.menu separator { popover label.separator, popover.background label.separator, popover.background.menu label.separator { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); } popover calendar, @@ -2736,7 +2704,7 @@ notebook > header.top > tabs { } notebook > header.top > tabs > tab:hover { - box-shadow: inset 0 -2px rgba(255, 255, 255, 0.3); + box-shadow: inset 0 -2px rgba(255, 255, 255, 0.2); } notebook > header.top > tabs > tab:checked { @@ -2753,7 +2721,7 @@ notebook > header.bottom > tabs { } notebook > header.bottom > tabs > tab:hover { - box-shadow: inset 0 2px rgba(255, 255, 255, 0.3); + box-shadow: inset 0 2px rgba(255, 255, 255, 0.2); } notebook > header.bottom > tabs > tab:checked { @@ -2770,7 +2738,7 @@ notebook > header.left > tabs { } notebook > header.left > tabs > tab:hover { - box-shadow: inset -2px 0 rgba(255, 255, 255, 0.3); + box-shadow: inset -2px 0 rgba(255, 255, 255, 0.2); } notebook > header.left > tabs > tab:checked { @@ -2787,7 +2755,7 @@ notebook > header.right > tabs { } notebook > header.right > tabs > tab:hover { - box-shadow: inset 2px 0 rgba(255, 255, 255, 0.3); + box-shadow: inset 2px 0 rgba(255, 255, 255, 0.2); } notebook > header.right > tabs > tab:checked { @@ -2854,7 +2822,7 @@ notebook > header tab { outline-offset: -6px; border-width: 1px; border-color: transparent; - background-image: radial-gradient(circle farthest-corner at center, rgba(255, 255, 255, 0.3) 10%, transparent 0%); + background-image: radial-gradient(circle farthest-corner at center, rgba(255, 255, 255, 0.2) 10%, transparent 0%); background-repeat: no-repeat; background-position: center; background-size: 0% 0%; @@ -3106,14 +3074,14 @@ switch { min-width: 38px; border: 4px solid transparent; border-radius: 9999px; - background-color: rgba(255, 255, 255, 0.3); + background-color: rgba(255, 255, 255, 0.2); background-clip: padding-box; color: transparent; font-size: 0; } switch:disabled { - background-color: rgba(255, 255, 255, 0.12); + background-color: rgba(255, 255, 255, 0.08); } switch:checked { @@ -3518,11 +3486,11 @@ scale slider { scale trough { transition: background-color 100ms cubic-bezier(0, 0, 0.2, 1); outline: none; - background-color: rgba(255, 255, 255, 0.3); + background-color: rgba(255, 255, 255, 0.2); } scale trough:disabled { - background-color: rgba(255, 255, 255, 0.12); + background-color: rgba(255, 255, 255, 0.08); } scale highlight { @@ -3536,7 +3504,7 @@ scale highlight:disabled { scale fill { transition: background-color 100ms cubic-bezier(0, 0, 0.2, 1); - background-color: rgba(255, 255, 255, 0.3); + background-color: rgba(255, 255, 255, 0.2); } scale fill:disabled { @@ -3590,7 +3558,7 @@ scale value { } scale marks { - color: rgba(255, 255, 255, 0.3); + color: rgba(255, 255, 255, 0.2); } scale marks.top { @@ -3794,7 +3762,7 @@ levelbar block.full { } levelbar block.empty { - background-color: rgba(255, 255, 255, 0.12); + background-color: rgba(255, 255, 255, 0.08); } /**************** @@ -3883,7 +3851,7 @@ overshoot.right { undershoot.top { background-color: transparent; - background-image: linear-gradient(to left, rgba(49, 49, 58, 0.3) 50%, rgba(255, 255, 255, 0.3) 50%); + background-image: linear-gradient(to left, rgba(49, 49, 58, 0.3) 50%, rgba(255, 255, 255, 0.2) 50%); padding-top: 1px; background-size: 12px 1px; background-repeat: repeat-x; @@ -3893,7 +3861,7 @@ undershoot.top { undershoot.bottom { background-color: transparent; - background-image: linear-gradient(to left, rgba(49, 49, 58, 0.3) 50%, rgba(255, 255, 255, 0.3) 50%); + background-image: linear-gradient(to left, rgba(49, 49, 58, 0.3) 50%, rgba(255, 255, 255, 0.2) 50%); padding-bottom: 1px; background-size: 12px 1px; background-repeat: repeat-x; @@ -3903,7 +3871,7 @@ undershoot.bottom { undershoot.left { background-color: transparent; - background-image: linear-gradient(to top, rgba(49, 49, 58, 0.3) 50%, rgba(255, 255, 255, 0.3) 50%); + background-image: linear-gradient(to top, rgba(49, 49, 58, 0.3) 50%, rgba(255, 255, 255, 0.2) 50%); padding-left: 1px; background-size: 1px 12px; background-repeat: repeat-y; @@ -3913,7 +3881,7 @@ undershoot.left { undershoot.right { background-color: transparent; - background-image: linear-gradient(to top, rgba(49, 49, 58, 0.3) 50%, rgba(255, 255, 255, 0.3) 50%); + background-image: linear-gradient(to top, rgba(49, 49, 58, 0.3) 50%, rgba(255, 255, 255, 0.2) 50%); padding-right: 1px; background-size: 1px 12px; background-repeat: repeat-y; @@ -4071,7 +4039,7 @@ calendar:indeterminate { * Dialogs * ***********/ messagedialog { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); } messagedialog.background { @@ -4083,7 +4051,7 @@ messagedialog .titlebar { border-style: none; box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); background-color: rgba(68, 69, 75, 0.95); - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); border-top-left-radius: 7px; border-top-right-radius: 7px; } @@ -4093,7 +4061,7 @@ messagedialog .titlebar:backdrop { } messagedialog list, messagedialog row, messagedialog .view, messagedialog textview.view > text { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); background-color: #3d3e43; border-color: rgba(255, 255, 255, 0.12); } @@ -4102,7 +4070,7 @@ messagedialog .dialog-action-area button { padding: 4px 12px; border-top: 1px solid rgba(255, 255, 255, 0.08); border-radius: 0; - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); } messagedialog .dialog-action-area button:first-child { @@ -4146,7 +4114,7 @@ messagedialog .dialog-action-area button.destructive-action:disabled { } messagedialog.csd { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); } messagedialog.csd.background { @@ -4158,7 +4126,7 @@ messagedialog.csd .dialog-action-area button { padding: 8px 16px; border-top: 1px solid rgba(255, 255, 255, 0.08); border-radius: 0; - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); } messagedialog.csd .dialog-action-area button:first-child { @@ -4172,7 +4140,7 @@ messagedialog.csd .dialog-action-area button:last-child { } messagedialog entry { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); } messagedialog expander title > arrow { @@ -4476,7 +4444,7 @@ tooltip.background.csd { border-radius: 7px; box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); background-color: rgba(68, 69, 75, 0.9); - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); } tooltip decoration { @@ -4882,7 +4850,7 @@ button.emoji-section { } button.emoji-section:hover { - box-shadow: inset 0 2px rgba(255, 255, 255, 0.3); + box-shadow: inset 0 2px rgba(255, 255, 255, 0.2); } button.emoji-section:active, button.emoji-section:checked { @@ -4980,6 +4948,10 @@ button.emoji-section:last-child { background-color: transparent; } +.nautilus-window.csd.background.unified headerbar { + background-color: transparent; +} + .nautilus-window.maximized.csd.background, .nautilus-window.maximized placessidebar, .nautilus-window.maximized notebook, .nautilus-window.maximized notebook > stack { border-radius: 0; } @@ -5201,7 +5173,7 @@ button.emoji-section:last-child { } .disk-space-display.free { - background-color: rgba(255, 255, 255, 0.12); + background-color: rgba(255, 255, 255, 0.08); } .conflict-row:not(:selected) { @@ -5589,7 +5561,7 @@ docktab { } docktab:hover { - box-shadow: inset 0 -2px rgba(255, 255, 255, 0.3); + box-shadow: inset 0 -2px rgba(255, 255, 255, 0.2); color: #FFFFFF; } @@ -5611,7 +5583,7 @@ dockoverlayedge docktabstrip { } dockoverlayedge.left-edge docktab:hover { - box-shadow: inset -2px 0 rgba(255, 255, 255, 0.3); + box-shadow: inset -2px 0 rgba(255, 255, 255, 0.2); } dockoverlayedge.left-edge docktab:checked { @@ -5619,7 +5591,7 @@ dockoverlayedge.left-edge docktab:checked { } dockoverlayedge.right-edge docktab:hover { - box-shadow: inset 2px 0 rgba(255, 255, 255, 0.3); + box-shadow: inset 2px 0 rgba(255, 255, 255, 0.2); } dockoverlayedge.right-edge docktab:checked { @@ -5719,7 +5691,7 @@ ideeditorutilities > dzldockpaned > box > stackswitcher button:dir(ltr) { } ideeditorutilities > dzldockpaned > box > stackswitcher button:dir(ltr):hover { - box-shadow: inset -2px 0 rgba(255, 255, 255, 0.3); + box-shadow: inset -2px 0 rgba(255, 255, 255, 0.2); } ideeditorutilities > dzldockpaned > box > stackswitcher button:dir(ltr):active, ideeditorutilities > dzldockpaned > box > stackswitcher button:dir(ltr):checked { @@ -5731,7 +5703,7 @@ ideeditorutilities > dzldockpaned > box > stackswitcher button:dir(rtl) { } ideeditorutilities > dzldockpaned > box > stackswitcher button:dir(rtl):hover { - box-shadow: inset 2px 0 rgba(255, 255, 255, 0.3); + box-shadow: inset 2px 0 rgba(255, 255, 255, 0.2); } ideeditorutilities > dzldockpaned > box > stackswitcher button:dir(rtl):active, ideeditorutilities > dzldockpaned > box > stackswitcher button:dir(rtl):checked { @@ -5948,12 +5920,12 @@ window.background > box.vertical box.horizontal > box.vertical > scrolledwindow } window.background > box.vertical box.horizontal > box.vertical > scrolledwindow > viewport.frame > list row.event.activatable.compressed-row-header:hover { - background-color: rgba(255, 255, 255, 0.12); + background-color: rgba(255, 255, 255, 0.08); color: #5657f5; } window.background > box.vertical box.horizontal > box.vertical > scrolledwindow > viewport.frame > list row.event.activatable.compressed-row-header:active, window.background > box.vertical box.horizontal > box.vertical > scrolledwindow > viewport.frame > list row.event.activatable.compressed-row-header:active:focus, window.background > box.vertical box.horizontal > box.vertical > scrolledwindow > viewport.frame > list row.event.activatable.compressed-row-header:checked, window.background > box.vertical box.horizontal > box.vertical > scrolledwindow > viewport.frame > list row.event.activatable.compressed-row-header:checked:focus { - background-color: rgba(255, 255, 255, 0.3); + background-color: rgba(255, 255, 255, 0.2); background-image: image(#31313a); } @@ -6983,7 +6955,7 @@ stack#conversation_viewer scrolledwindow.geary-conversation-scroller > viewport. } popover.background list.geary-folder-popover-list row.activatable.geary-folder-popover-list-row label { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); } popover.background list.geary-folder-popover-list row.activatable.geary-folder-popover-list-row label:disabled { @@ -7176,7 +7148,7 @@ window#whiskermenu-window scrolledwindow > viewport button.radio:not(:disabled) } window#whiskermenu-window scrolledwindow > viewport button.radio:hover { - background-color: rgba(255, 255, 255, 0.12); + background-color: rgba(255, 255, 255, 0.08); } window#whiskermenu-window scrolledwindow > viewport button.radio:checked { @@ -7359,7 +7331,7 @@ PanelToplevel.vertical > grid > button { } PanelSeparator { - color: rgba(255, 255, 255, 0.12); + color: rgba(255, 255, 255, 0.08); } MatePanelAppletFrameDBus { @@ -7380,7 +7352,7 @@ MatePanelAppletFrameDBus { } .mate-panel-menu-bar menubar > menuitem:hover { - background-color: rgba(255, 255, 255, 0.12); + background-color: rgba(255, 255, 255, 0.08); color: #FFFFFF; } @@ -8443,7 +8415,7 @@ frame.raven-frame > border { } .raven .raven-background > overlay > widget > image { - color: rgba(255, 255, 255, 0.12); + color: rgba(255, 255, 255, 0.08); } .raven .raven-background grid > label:first-child { @@ -8750,9 +8722,7 @@ box.vertical > stack > box.vertical .raven-background > viewport.frame list > ro background-color: transparent; } -.budgie-run-dialog list .dim-label, .budgie-run-dialog list label.separator, -.budgie-run-dialog list headerbar .subtitle, -headerbar .budgie-run-dialog list .subtitle, .budgie-run-dialog list .budgie-notification .notification-body, .budgie-notification .budgie-run-dialog list .notification-body, .budgie-run-dialog list .budgie-switcher .notification-body, .budgie-switcher .budgie-run-dialog list .notification-body { +.budgie-run-dialog list .dim-label, .budgie-run-dialog list label.separator, .budgie-run-dialog list headerbar .subtitle, headerbar .budgie-run-dialog list .subtitle, .budgie-run-dialog list .budgie-notification .notification-body, .budgie-notification .budgie-run-dialog list .notification-body, .budgie-run-dialog list .budgie-switcher .notification-body, .budgie-switcher .budgie-run-dialog list .notification-body { opacity: 1; } diff --git a/src/gtk/3.0/gtk-dark.scss b/src/gtk/3.0/gtk-dark.scss new file mode 100644 index 0000000..0816674 --- /dev/null +++ b/src/gtk/3.0/gtk-dark.scss @@ -0,0 +1,11 @@ +$variant: 'dark'; +$titlebar: 'dark'; +$compact: 'true'; +$solid: 'false'; + +@import '../../_sass/variables'; +@import '../../_sass/colors'; +@import '../../_sass/gtk/drawing-3.0'; +@import '../../_sass/gtk/common-3.0'; +@import '../../_sass/gtk/apps-3.0'; +@import '../../_sass/gtk/colors-public'; diff --git a/src/gtk/gtk-light-solid.css b/src/gtk/3.0/gtk-light-solid.css similarity index 97% rename from src/gtk/gtk-light-solid.css rename to src/gtk/3.0/gtk-light-solid.css index a11d204..0db24c4 100644 --- a/src/gtk/gtk-light-solid.css +++ b/src/gtk/3.0/gtk-light-solid.css @@ -161,8 +161,7 @@ tab label:disabled, button label:disabled { color: inherit; } -.dim-label, .budgie-notification .notification-body, .budgie-switcher .notification-body, -headerbar .subtitle, label.separator { +.dim-label, .budgie-notification .notification-body, .budgie-switcher .notification-body, headerbar .subtitle, label.separator { opacity: 0.6; } @@ -253,7 +252,7 @@ popover.background.menu spinbutton:not(.vertical), spinbutton.flat:not(.vertical border-radius: 0; transition: all 100ms cubic-bezier(0, 0, 0.2, 1), border-image 225ms cubic-bezier(0, 0, 0.2, 1); border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), #5657f5 0%, transparent 0%) 0 0 0/0 0 0px; - box-shadow: inset 0 -1px rgba(0, 0, 0, 0.26); + box-shadow: inset 0 -1px rgba(0, 0, 0, 0.2); background-color: transparent; color: rgba(0, 0, 0, 0.75); } @@ -269,7 +268,7 @@ popover.background.menu .linked entry:focus, popover.background.menu entry:focus, popover.background.menu spinbutton:focus:not(.vertical), spinbutton.flat:focus:not(.vertical), entry.flat:focus { border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), #5657f5 100%, transparent 0%) 0 0 2/0 0 2px; - box-shadow: inset 0 -1px rgba(0, 0, 0, 0.26); + box-shadow: inset 0 -1px rgba(0, 0, 0, 0.2); } #login_window entry:disabled, .raven .raven-background spinbutton:disabled:not(.vertical), .budgie-popover entry:disabled, @@ -282,13 +281,13 @@ popover.background spinbutton:disabled:not(.vertical), popover.background.menu .linked entry:disabled, popover.background.menu entry:disabled, popover.background.menu spinbutton:disabled:not(.vertical), spinbutton.flat:disabled:not(.vertical), entry.flat:disabled { - box-shadow: inset 0 -1px rgba(0, 0, 0, 0.12); + box-shadow: inset 0 -1px rgba(0, 0, 0, 0.08); background-color: transparent; color: rgba(0, 0, 0, 0.38); } spinbutton:not(.vertical) image, entry image { - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); } spinbutton:not(.vertical) image:hover, spinbutton:not(.vertical) image:active, entry image:hover, entry image:active { @@ -311,7 +310,7 @@ spinbutton:not(.vertical) image.right, entry image.right { spinbutton:not(.vertical) undershoot.left, entry undershoot.left { background-color: transparent; - background-image: linear-gradient(to top, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.26) 50%); + background-image: linear-gradient(to top, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.2) 50%); padding-left: 1px; background-size: 1px 12px; background-repeat: repeat-y; @@ -321,7 +320,7 @@ spinbutton:not(.vertical) undershoot.left, entry undershoot.left { spinbutton:not(.vertical) undershoot.right, entry undershoot.right { background-color: transparent; - background-image: linear-gradient(to top, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.26) 50%); + background-image: linear-gradient(to top, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.2) 50%); padding-right: 1px; background-size: 1px 12px; background-repeat: repeat-y; @@ -362,7 +361,7 @@ spinbutton.error.flat:focus:not(.vertical), entry.error.flat:focus { } spinbutton.error.flat:disabled:not(.vertical), entry.error.flat:disabled { - box-shadow: inset 0 -1px rgba(0, 0, 0, 0.12); + box-shadow: inset 0 -1px rgba(0, 0, 0, 0.08); background-color: transparent; color: rgba(0, 0, 0, 0.38); } @@ -412,7 +411,7 @@ spinbutton.warning.flat:focus:not(.vertical), entry.warning.flat:focus { } spinbutton.warning.flat:disabled:not(.vertical), entry.warning.flat:disabled { - box-shadow: inset 0 -1px rgba(0, 0, 0, 0.12); + box-shadow: inset 0 -1px rgba(0, 0, 0, 0.08); background-color: transparent; color: rgba(0, 0, 0, 0.38); } @@ -516,7 +515,7 @@ button { background-repeat: no-repeat; background-position: center; background-size: 1000% 1000%; - color: rgba(0, 0, 0, 0.62); + color: rgba(0, 0, 0, 0.65); } @@ -573,7 +572,7 @@ button.flat { background-repeat: no-repeat; background-position: center; background-size: 1000% 1000%; - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); } .lightdm-gtk-greeter button:hover, .budgie-polkit-dialog .linked.horizontal > button:hover, @@ -618,14 +617,14 @@ button.flat:disabled { .nemo-window toolbar.primary-toolbar > toolitem > box.linked.raised > button:checked, layouttabbar button:checked, infobar.info button:checked, infobar.question button:checked, infobar.warning button:checked, infobar.error button:checked, .app-notification button:checked, actionbar > revealer > box button:checked:not(.suggested-action):not(.destructive-action):not(.server-list-button), :not(headerbar) .caja-pathbar button:checked, .caja-pathbar :not(headerbar) button:checked, :not(headerbar) .path-bar button:checked, headerbar button:checked:not(.suggested-action):not(.destructive-action), toolbar button:checked, button.flat:checked { - background-color: rgba(0, 0, 0, 0.26); + background-color: rgba(0, 0, 0, 0.2); color: rgba(0, 0, 0, 0.75); } .budgie-panel button:checked:disabled, PanelToplevel.horizontal > grid > button:checked:disabled, .mate-panel-menu-bar button:checked:disabled, .nemo-window .toolbar button:checked:disabled, .nemo-window toolbar.primary-toolbar > toolitem > box.raised > button:checked:disabled, layouttabbar button:checked:disabled, infobar.info button:checked:disabled, infobar.question button:checked:disabled, infobar.warning button:checked:disabled, infobar.error button:checked:disabled, .app-notification button:checked:disabled, actionbar > revealer > box button:checked:disabled:not(.suggested-action):not(.destructive-action):not(.server-list-button), :not(headerbar) .caja-pathbar button:checked:disabled, .caja-pathbar :not(headerbar) button:checked:disabled, :not(headerbar) .path-bar button:checked:disabled, headerbar button:checked:disabled:not(.suggested-action):not(.destructive-action), toolbar button:checked:disabled, button.flat:checked:disabled { - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); color: rgba(0, 0, 0, 0.38); } @@ -833,13 +832,10 @@ button.destructive-action.flat:checked { .raven .expander-button, .raven .raven-header:not(.top) button.image-button, widget > box.terminal-titlebar > button.image-button, widget > box.terminal-titlebar > button.image-button.toggle, .terminix-session-sidebar button.tilix-sidebar-close-button, .tilix-session-sidebar button.tilix-sidebar-close-button, .nemo-window toolbar.primary-toolbar > toolitem > box.raised > button, -.nemo-window toolbar.primary-toolbar > toolitem > box.linked.raised > button, .nautilus-window headerbar > revealer > button, .solid-csd headerbar:not(.default-decoration) button.titlebutton, headerbar button.titlebutton, .csd headerbar button.titlebutton, .csd headerbar.default-decoration button.titlebutton, +.nemo-window toolbar.primary-toolbar > toolitem > box.linked.raised > button, .nautilus-window headerbar > revealer > button, .solid-csd headerbar:not(.default-decoration) button.titlebutton, headerbar button.titlebutton, .csd headerbar button.titlebutton, headerbar.default-decoration button.titlebutton, .csd headerbar.default-decoration button.titlebutton, .titlebar button.titlebutton, .csd .titlebar button.titlebutton, .titlebar.default-decoration button.titlebutton, .csd .titlebar.default-decoration button.titlebutton, row button.image-button, check, -radio, -headerbar.default-decoration button.titlebutton, -headerbar button.suggested-action, -headerbar button.destructive-action, +radio, headerbar button.suggested-action, headerbar button.destructive-action, headerbar button:not(.suggested-action):not(.destructive-action), button.close, button.circular { @@ -950,8 +946,7 @@ button:visited { color: #E040FB; } -infobar.info *:link, infobar.question *:link, infobar.warning *:link, infobar.error *:link, -headerbar.selection-mode .subtitle:link, *:link:selected, *:selected *:link, button:selected:link, +infobar.info *:link, infobar.question *:link, infobar.warning *:link, infobar.error *:link, headerbar.selection-mode .subtitle:link, *:link:selected, *:selected *:link, button:selected:link, button:selected:visited, *:selected button:link, *:selected button:visited { color: #FFFFFF; @@ -1116,7 +1111,7 @@ popover.background.menu button.combo { font-weight: inherit; transition: all 100ms cubic-bezier(0, 0, 0.2, 1), border-image 225ms cubic-bezier(0, 0, 0.2, 1); border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), #5657f5 0%, transparent 0%) 0 0 0/0 0 0px; - box-shadow: inset 0 -1px rgba(0, 0, 0, 0.26); + box-shadow: inset 0 -1px rgba(0, 0, 0, 0.2); background-color: transparent; color: rgba(0, 0, 0, 0.75); } @@ -1136,7 +1131,7 @@ popover.background.menu button.combo:checked { #login_window #user_combobox button:disabled, .raven .raven-background button.combo:disabled, .budgie-popover button.combo:disabled, notebook > stack:not(:only-child) button.combo:disabled, popover button.combo:disabled, popover.background button.combo:disabled, popover.background.menu button.combo:disabled { - box-shadow: inset 0 -1px rgba(0, 0, 0, 0.12); + box-shadow: inset 0 -1px rgba(0, 0, 0, 0.08); color: rgba(0, 0, 0, 0.38); } @@ -1235,7 +1230,6 @@ actionbar { /*************** * Header bars * ***************/ - headerbar { transition: background-color 100ms cubic-bezier(0, 0, 0.2, 1), color 100ms cubic-bezier(0, 0, 0.2, 1); min-height: 38px; @@ -1245,49 +1239,40 @@ headerbar { color: rgba(0, 0, 0, 0.75); } - headerbar:disabled :not(button) > label { color: rgba(0, 0, 0, 0.38); } - headerbar:backdrop { color: rgba(0, 0, 0, 0.54); } - headerbar:backdrop:disabled :not(button) > label { color: rgba(0, 0, 0, 0.26); } - headerbar .title { padding: 0 12px; font-weight: bold; } - headerbar .subtitle { padding: 0 12px; font-size: smaller; } - headerbar entry { background-color: #FFFFFF; } - headerbar entry:focus { background-color: white; } - headerbar .linked:not(.vertical) > entry:not(.flat) { border-radius: 7px; } - headerbar .linked:not(.vertical) > button { border-radius: 7px; -gtk-outline-radius: 7px; @@ -1355,14 +1340,11 @@ headerbar button:not(.suggested-action):not(.destructive-action):backdrop:checke color: rgba(255, 255, 255, 0.3); } - -headerbar button.suggested-action:disabled, -headerbar button.destructive-action:disabled { +headerbar button.suggested-action:disabled, headerbar button.destructive-action:disabled { background-color: rgba(0, 0, 0, 0.12); color: rgba(0, 0, 0, 0.38); } - headerbar.selection-mode { transition: background-color 0.00001s 225ms, color 225ms cubic-bezier(0, 0, 0.2, 1); animation: header_ripple_effect 225ms cubic-bezier(0, 0, 0.2, 1); @@ -1371,92 +1353,76 @@ headerbar.selection-mode { color: #FFFFFF; } - headerbar.selection-mode:backdrop { color: rgba(255, 255, 255, 0.7); } - headerbar.selection-mode button:not(.suggested-action):not(.destructive-action) { border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), currentColor 0%, transparent 0%) 0 0 0/0 0 0; color: #FFFFFF; } - headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):disabled { color: rgba(255, 255, 255, 0.5); } - headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):hover { color: #FFFFFF; } - headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):checked { border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), currentColor 100%, transparent 0%) 0 0 2/0 0 2px; color: #FFFFFF; } - headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):checked:disabled { color: rgba(255, 255, 255, 0.5); } - headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):backdrop { color: rgba(255, 255, 255, 0.7); } - headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):backdrop:disabled { color: rgba(255, 255, 255, 0.3); } - headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):backdrop:checked { color: rgba(255, 255, 255, 0.7); } - headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):backdrop:checked:disabled { color: rgba(255, 255, 255, 0.3); } - headerbar.selection-mode .selection-menu { padding-left: 16px; padding-right: 16px; } - headerbar.selection-mode .selection-menu arrow { -GtkArrow-arrow-scaling: 1; } - headerbar.selection-mode .selection-menu .arrow { -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); } - -headerbar .linked:not(.vertical).path-bar > button, -headerbar .linked:not(.vertical):not(.path-bar).stack-switcher > button { +headerbar .linked:not(.vertical).path-bar button:not(.suggested-action):not(.destructive-action), +headerbar .linked:not(.vertical):not(.path-bar).stack-switcher button:not(.suggested-action):not(.destructive-action), headerbar.windowhandle viewswitcher button:not(.suggested-action):not(.destructive-action) { padding-left: 8px; padding-right: 8px; border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), #5657f5 0%, transparent 0%) 0 0 0/0 0 0; } - -headerbar .linked:not(.vertical).path-bar > button label, -headerbar .linked:not(.vertical):not(.path-bar).stack-switcher > button label { +headerbar .linked:not(.vertical).path-bar button:not(.suggested-action):not(.destructive-action) label, +headerbar .linked:not(.vertical):not(.path-bar).stack-switcher button:not(.suggested-action):not(.destructive-action) label, headerbar.windowhandle viewswitcher button:not(.suggested-action):not(.destructive-action) label { padding-left: 8px; padding-right: 8px; } - -headerbar .linked:not(.vertical).path-bar > button:active, -headerbar .linked:not(.vertical):not(.path-bar).stack-switcher > button:active { +headerbar .linked:not(.vertical).path-bar button:not(.suggested-action):not(.destructive-action):active, +headerbar .linked:not(.vertical):not(.path-bar).stack-switcher button:not(.suggested-action):not(.destructive-action):active, headerbar.windowhandle viewswitcher button:not(.suggested-action):not(.destructive-action):active { color: rgba(0, 0, 0, 0.75); background-color: transparent; box-shadow: inset 0 0 0 9999px alpha(currentColor, 0.15); @@ -1465,9 +1431,8 @@ headerbar .linked:not(.vertical):not(.path-bar).stack-switcher > button:active { border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), #5657f5 100%, transparent 0%) 0 0 2/0 0 2px; } - -headerbar .linked:not(.vertical).path-bar > button:checked, -headerbar .linked:not(.vertical):not(.path-bar).stack-switcher > button:checked { +headerbar .linked:not(.vertical).path-bar button:not(.suggested-action):not(.destructive-action):checked, +headerbar .linked:not(.vertical):not(.path-bar).stack-switcher button:not(.suggested-action):not(.destructive-action):checked, headerbar.windowhandle viewswitcher button:not(.suggested-action):not(.destructive-action):checked { color: rgba(0, 0, 0, 0.75); background-color: transparent; box-shadow: none; @@ -1475,33 +1440,38 @@ headerbar .linked:not(.vertical):not(.path-bar).stack-switcher > button:checked border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), #5657f5 100%, transparent 0%) 0 0 2/0 0 2px; } - -headerbar .linked:not(.vertical).path-bar > button:checked:backdrop, -headerbar .linked:not(.vertical).path-bar > button:active:backdrop, -headerbar .linked:not(.vertical):not(.path-bar).stack-switcher > button:checked:backdrop, -headerbar .linked:not(.vertical):not(.path-bar).stack-switcher > button:active:backdrop { +headerbar .linked:not(.vertical).path-bar button:not(.suggested-action):not(.destructive-action):checked:backdrop, headerbar .linked:not(.vertical).path-bar button:not(.suggested-action):not(.destructive-action):active:backdrop, +headerbar .linked:not(.vertical):not(.path-bar).stack-switcher button:not(.suggested-action):not(.destructive-action):checked:backdrop, +headerbar .linked:not(.vertical):not(.path-bar).stack-switcher button:not(.suggested-action):not(.destructive-action):active:backdrop, headerbar.windowhandle viewswitcher button:not(.suggested-action):not(.destructive-action):checked:backdrop, headerbar.windowhandle viewswitcher button:not(.suggested-action):not(.destructive-action):active:backdrop { color: rgba(0, 0, 0, 0.54); border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), rgba(0, 0, 0, 0.38) 100%, transparent 0%) 0 0 2/0 0 2px; } - -headerbar .linked:not(.vertical).path-bar > button.text-button.image-button label, -headerbar .linked:not(.vertical):not(.path-bar).stack-switcher > button.text-button.image-button label { +headerbar .linked:not(.vertical).path-bar button:not(.suggested-action):not(.destructive-action).text-button.image-button label, +headerbar .linked:not(.vertical):not(.path-bar).stack-switcher button:not(.suggested-action):not(.destructive-action).text-button.image-button label, headerbar.windowhandle viewswitcher button:not(.suggested-action):not(.destructive-action).text-button.image-button label { padding-left: 0; padding-right: 0; } - -headerbar .linked:not(.vertical).path-bar > button.text-button.image-button image, -headerbar .linked:not(.vertical):not(.path-bar).stack-switcher > button.text-button.image-button image { +headerbar .linked:not(.vertical).path-bar button:not(.suggested-action):not(.destructive-action).text-button.image-button image, +headerbar .linked:not(.vertical):not(.path-bar).stack-switcher button:not(.suggested-action):not(.destructive-action).text-button.image-button image, headerbar.windowhandle viewswitcher button:not(.suggested-action):not(.destructive-action).text-button.image-button image { padding-left: 0; padding-right: 0; } -.tiled headerbar, .tiled-top headerbar, .tiled-right headerbar, .tiled-bottom headerbar, .tiled-left headerbar, .maximized headerbar, .fullscreen headerbar { +headerbar.windowhandle viewswitcher button:not(.suggested-action):not(.destructive-action) { + margin-top: 0; + margin-bottom: 0; border-radius: 0; } +headerbar.windowhandle viewswitcher button:not(.suggested-action):not(.destructive-action):checked { + background-color: alpha(currentColor, 0.15); +} + +.tiled headerbar, .tiled-top headerbar, .tiled-right headerbar, .tiled-bottom headerbar, .tiled-left headerbar, .maximized headerbar, .fullscreen headerbar { + border-radius: 0; +} headerbar.default-decoration { min-height: 20px; @@ -1513,7 +1483,6 @@ headerbar.default-decoration { box-shadow: none; } - headerbar.default-decoration button.titlebutton { min-height: 16px; min-width: 16px; @@ -1608,7 +1577,6 @@ window.tiled headerbar, window.tiled headerbar:first-child, window.tiled headerb border-bottom-right-radius: 0; } - headerbar separator.titlebutton { min-width: 0; min-height: 0; @@ -1672,7 +1640,7 @@ window.csd > .titlebar:not(headerbar) { * Tree Views * **************/ treeview.view { - border-left-color: rgba(0, 0, 0, 0.26); + border-left-color: rgba(0, 0, 0, 0.2); border-top-color: rgba(0, 0, 0, 0.08); } @@ -1715,7 +1683,7 @@ treeview.view:drop(active).before { treeview.view.expander { -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); -gtk-icon-transform: rotate(-90deg); - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); } treeview.view.expander:dir(rtl) { @@ -1965,7 +1933,7 @@ menu > arrow.bottom, menu > arrow:hover, .menu > arrow:hover, .context-menu > arrow:hover { - background-image: image(rgba(0, 0, 0, 0.12)); + background-image: image(rgba(0, 0, 0, 0.08)); color: rgba(0, 0, 0, 0.75); } @@ -2038,7 +2006,7 @@ popover.background button.flat.combo, popover.background.menu button.flat.combo, popover button.flat, popover.background button.flat, popover.background.menu button.flat { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); background-color: transparent; } @@ -2131,7 +2099,7 @@ popover.background button.combo, popover.background.menu button.combo, popover button, popover.background button, popover.background.menu button { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); background-color: transparent; box-shadow: none; } @@ -2203,7 +2171,7 @@ popover.background.menu .linked entry:focus, popover.background.menu entry:focus, popover.background.menu spinbutton:focus:not(.vertical) { border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), #5657f5 100%, transparent 0%) 0 0 2/0 0 2px; - box-shadow: inset 0 -1px rgba(0, 0, 0, 0.26); + box-shadow: inset 0 -1px rgba(0, 0, 0, 0.2); } popover .linked entry:disabled, popover entry:disabled, @@ -2240,7 +2208,7 @@ popover.background spinbutton:not(.vertical) image, popover.background.menu .linked entry image, popover.background.menu entry image, popover.background.menu spinbutton:not(.vertical) image { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); } popover .linked entry:focus, popover entry:focus, @@ -2300,7 +2268,7 @@ popover.background.menu { padding: 2px; box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06); background-color: #3f3f3f; - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); } popover:backdrop, @@ -2359,7 +2327,7 @@ popover.background.menu list, popover.background.menu row, popover.background.menu .view, popover.background.menu textview.view > text { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); background-color: #373737; border-color: rgba(255, 255, 255, 0.12); } @@ -2584,7 +2552,7 @@ popover.background check, popover.background radio, popover.background.menu check, popover.background.menu radio { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); transition: none; animation: none; } @@ -2662,7 +2630,7 @@ popover.background.menu separator, .csd popover.background.menu separator { popover label.separator, popover.background label.separator, popover.background.menu label.separator { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); } popover calendar, @@ -2736,7 +2704,7 @@ notebook > header.top > tabs { } notebook > header.top > tabs > tab:hover { - box-shadow: inset 0 -2px rgba(0, 0, 0, 0.26); + box-shadow: inset 0 -2px rgba(0, 0, 0, 0.2); } notebook > header.top > tabs > tab:checked { @@ -2753,7 +2721,7 @@ notebook > header.bottom > tabs { } notebook > header.bottom > tabs > tab:hover { - box-shadow: inset 0 2px rgba(0, 0, 0, 0.26); + box-shadow: inset 0 2px rgba(0, 0, 0, 0.2); } notebook > header.bottom > tabs > tab:checked { @@ -2770,7 +2738,7 @@ notebook > header.left > tabs { } notebook > header.left > tabs > tab:hover { - box-shadow: inset -2px 0 rgba(0, 0, 0, 0.26); + box-shadow: inset -2px 0 rgba(0, 0, 0, 0.2); } notebook > header.left > tabs > tab:checked { @@ -2787,7 +2755,7 @@ notebook > header.right > tabs { } notebook > header.right > tabs > tab:hover { - box-shadow: inset 2px 0 rgba(0, 0, 0, 0.26); + box-shadow: inset 2px 0 rgba(0, 0, 0, 0.2); } notebook > header.right > tabs > tab:checked { @@ -2854,11 +2822,11 @@ notebook > header tab { outline-offset: -6px; border-width: 1px; border-color: transparent; - background-image: radial-gradient(circle farthest-corner at center, rgba(0, 0, 0, 0.26) 10%, transparent 0%); + background-image: radial-gradient(circle farthest-corner at center, rgba(0, 0, 0, 0.2) 10%, transparent 0%); background-repeat: no-repeat; background-position: center; background-size: 0% 0%; - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); font-weight: 500; } @@ -2992,7 +2960,7 @@ scrollbar slider { } scrollbar slider:hover { - background-color: rgba(0, 0, 0, 0.54); + background-color: rgba(0, 0, 0, 0.55); } scrollbar slider:active { @@ -3106,14 +3074,14 @@ switch { min-width: 38px; border: 4px solid transparent; border-radius: 9999px; - background-color: rgba(0, 0, 0, 0.26); + background-color: rgba(0, 0, 0, 0.2); background-clip: padding-box; color: transparent; font-size: 0; } switch:disabled { - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); } switch:checked { @@ -3469,7 +3437,7 @@ treeview.view radio:hover:selected { treeview.view check, treeview.view radio { - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); } treeview.view check:hover, treeview.view check:active, @@ -3518,11 +3486,11 @@ scale slider { scale trough { transition: background-color 100ms cubic-bezier(0, 0, 0.2, 1); outline: none; - background-color: rgba(0, 0, 0, 0.26); + background-color: rgba(0, 0, 0, 0.2); } scale trough:disabled { - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); } scale highlight { @@ -3536,7 +3504,7 @@ scale highlight:disabled { scale fill { transition: background-color 100ms cubic-bezier(0, 0, 0.2, 1); - background-color: rgba(0, 0, 0, 0.26); + background-color: rgba(0, 0, 0, 0.2); } scale fill:disabled { @@ -3590,7 +3558,7 @@ scale value { } scale marks { - color: rgba(0, 0, 0, 0.26); + color: rgba(0, 0, 0, 0.2); } scale marks.top { @@ -3794,7 +3762,7 @@ levelbar block.full { } levelbar block.empty { - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); } /**************** @@ -3883,7 +3851,7 @@ overshoot.right { undershoot.top { background-color: transparent; - background-image: linear-gradient(to left, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.26) 50%); + background-image: linear-gradient(to left, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.2) 50%); padding-top: 1px; background-size: 12px 1px; background-repeat: repeat-x; @@ -3893,7 +3861,7 @@ undershoot.top { undershoot.bottom { background-color: transparent; - background-image: linear-gradient(to left, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.26) 50%); + background-image: linear-gradient(to left, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.2) 50%); padding-bottom: 1px; background-size: 12px 1px; background-repeat: repeat-x; @@ -3903,7 +3871,7 @@ undershoot.bottom { undershoot.left { background-color: transparent; - background-image: linear-gradient(to top, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.26) 50%); + background-image: linear-gradient(to top, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.2) 50%); padding-left: 1px; background-size: 1px 12px; background-repeat: repeat-y; @@ -3913,7 +3881,7 @@ undershoot.left { undershoot.right { background-color: transparent; - background-image: linear-gradient(to top, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.26) 50%); + background-image: linear-gradient(to top, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.2) 50%); padding-right: 1px; background-size: 1px 12px; background-repeat: repeat-y; @@ -4005,7 +3973,7 @@ expander title > arrow { min-height: 16px; -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); -gtk-icon-transform: rotate(-90deg); - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); } expander title > arrow:dir(rtl) { @@ -4059,7 +4027,7 @@ calendar.header { } calendar.highlight { - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); font-weight: 500; } @@ -4071,7 +4039,7 @@ calendar:indeterminate { * Dialogs * ***********/ messagedialog { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); } messagedialog.background { @@ -4083,7 +4051,7 @@ messagedialog .titlebar { border-style: none; box-shadow: inset 0 1px rgba(255, 255, 255, 0); background-color: rgba(63, 63, 63, 0.95); - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); border-top-left-radius: 7px; border-top-right-radius: 7px; } @@ -4093,7 +4061,7 @@ messagedialog .titlebar:backdrop { } messagedialog list, messagedialog row, messagedialog .view, messagedialog textview.view > text { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); background-color: #373737; border-color: rgba(255, 255, 255, 0.12); } @@ -4102,7 +4070,7 @@ messagedialog .dialog-action-area button { padding: 4px 12px; border-top: 1px solid rgba(0, 0, 0, 0.08); border-radius: 0; - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); } messagedialog .dialog-action-area button:first-child { @@ -4146,7 +4114,7 @@ messagedialog .dialog-action-area button.destructive-action:disabled { } messagedialog.csd { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); } messagedialog.csd.background { @@ -4158,7 +4126,7 @@ messagedialog.csd .dialog-action-area button { padding: 8px 16px; border-top: 1px solid rgba(0, 0, 0, 0.08); border-radius: 0; - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); } messagedialog.csd .dialog-action-area button:first-child { @@ -4172,7 +4140,7 @@ messagedialog.csd .dialog-action-area button:last-child { } messagedialog entry { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); } messagedialog expander title > arrow { @@ -4295,7 +4263,7 @@ stacksidebar row > label { } row image.sidebar-icon { - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); } row:selected image.sidebar-icon { @@ -4476,7 +4444,7 @@ tooltip.background.csd { border-radius: 7px; box-shadow: inset 0 1px rgba(255, 255, 255, 0); background-color: rgba(63, 63, 63, 0.9); - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); } tooltip decoration { @@ -4882,7 +4850,7 @@ button.emoji-section { } button.emoji-section:hover { - box-shadow: inset 0 2px rgba(0, 0, 0, 0.26); + box-shadow: inset 0 2px rgba(0, 0, 0, 0.2); } button.emoji-section:active, button.emoji-section:checked { @@ -4980,6 +4948,10 @@ button.emoji-section:last-child { background-color: transparent; } +.nautilus-window.csd.background.unified headerbar { + background-color: transparent; +} + .nautilus-window.maximized.csd.background, .nautilus-window.maximized placessidebar, .nautilus-window.maximized notebook, .nautilus-window.maximized notebook > stack { border-radius: 0; } @@ -5011,7 +4983,7 @@ button.emoji-section:last-child { .nautilus-window placessidebar row label.sidebar-label { padding-left: 18px; - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); border-radius: 0 7px 7px 0; } @@ -5201,7 +5173,7 @@ button.emoji-section:last-child { } .disk-space-display.free { - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); } .conflict-row:not(:selected) { @@ -5233,7 +5205,7 @@ dialog.background > box.dialog-vbox.vertical > grid.horizontal > box.horizontal: * gedit * *********/ .open-document-selector-path-label { - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); font-size: smaller; } @@ -5452,7 +5424,7 @@ entry.search-missing { } window.workbench treeview.image { - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); } window.workbench treeview.image:selected { @@ -5488,7 +5460,7 @@ omnibar.linked:not(.vertical) entry { } omnibar:not(:hover):not(:active) entry { - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); } popover.omnibar list row:not(:last-child) { @@ -5584,12 +5556,12 @@ docktab { background-repeat: no-repeat; background-position: center; background-size: 0% 0%; - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); font-weight: 500; } docktab:hover { - box-shadow: inset 0 -2px rgba(0, 0, 0, 0.26); + box-shadow: inset 0 -2px rgba(0, 0, 0, 0.2); color: rgba(0, 0, 0, 0.75); } @@ -5611,7 +5583,7 @@ dockoverlayedge docktabstrip { } dockoverlayedge.left-edge docktab:hover { - box-shadow: inset -2px 0 rgba(0, 0, 0, 0.26); + box-shadow: inset -2px 0 rgba(0, 0, 0, 0.2); } dockoverlayedge.left-edge docktab:checked { @@ -5619,7 +5591,7 @@ dockoverlayedge.left-edge docktab:checked { } dockoverlayedge.right-edge docktab:hover { - box-shadow: inset 2px 0 rgba(0, 0, 0, 0.26); + box-shadow: inset 2px 0 rgba(0, 0, 0, 0.2); } dockoverlayedge.right-edge docktab:checked { @@ -5719,7 +5691,7 @@ ideeditorutilities > dzldockpaned > box > stackswitcher button:dir(ltr) { } ideeditorutilities > dzldockpaned > box > stackswitcher button:dir(ltr):hover { - box-shadow: inset -2px 0 rgba(0, 0, 0, 0.26); + box-shadow: inset -2px 0 rgba(0, 0, 0, 0.2); } ideeditorutilities > dzldockpaned > box > stackswitcher button:dir(ltr):active, ideeditorutilities > dzldockpaned > box > stackswitcher button:dir(ltr):checked { @@ -5731,7 +5703,7 @@ ideeditorutilities > dzldockpaned > box > stackswitcher button:dir(rtl) { } ideeditorutilities > dzldockpaned > box > stackswitcher button:dir(rtl):hover { - box-shadow: inset 2px 0 rgba(0, 0, 0, 0.26); + box-shadow: inset 2px 0 rgba(0, 0, 0, 0.2); } ideeditorutilities > dzldockpaned > box > stackswitcher button:dir(rtl):active, ideeditorutilities > dzldockpaned > box > stackswitcher button:dir(rtl):checked { @@ -5948,12 +5920,12 @@ window.background > box.vertical box.horizontal > box.vertical > scrolledwindow } window.background > box.vertical box.horizontal > box.vertical > scrolledwindow > viewport.frame > list row.event.activatable.compressed-row-header:hover { - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); color: #5657f5; } window.background > box.vertical box.horizontal > box.vertical > scrolledwindow > viewport.frame > list row.event.activatable.compressed-row-header:active, window.background > box.vertical box.horizontal > box.vertical > scrolledwindow > viewport.frame > list row.event.activatable.compressed-row-header:active:focus, window.background > box.vertical box.horizontal > box.vertical > scrolledwindow > viewport.frame > list row.event.activatable.compressed-row-header:checked, window.background > box.vertical box.horizontal > box.vertical > scrolledwindow > viewport.frame > list row.event.activatable.compressed-row-header:checked:focus { - background-color: rgba(0, 0, 0, 0.26); + background-color: rgba(0, 0, 0, 0.2); background-image: image(#FFFFFF); } @@ -6983,7 +6955,7 @@ stack#conversation_viewer scrolledwindow.geary-conversation-scroller > viewport. } popover.background list.geary-folder-popover-list row.activatable.geary-folder-popover-list-row label { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); } popover.background list.geary-folder-popover-list row.activatable.geary-folder-popover-list-row label:disabled { @@ -7176,7 +7148,7 @@ window#whiskermenu-window scrolledwindow > viewport button.radio:not(:disabled) } window#whiskermenu-window scrolledwindow > viewport button.radio:hover { - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); } window#whiskermenu-window scrolledwindow > viewport button.radio:checked { @@ -7359,7 +7331,7 @@ PanelToplevel.vertical > grid > button { } PanelSeparator { - color: rgba(0, 0, 0, 0.12); + color: rgba(0, 0, 0, 0.08); } MatePanelAppletFrameDBus { @@ -7380,7 +7352,7 @@ MatePanelAppletFrameDBus { } .mate-panel-menu-bar menubar > menuitem:hover { - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); color: #FFFFFF; } @@ -7531,7 +7503,7 @@ na-tray-applet { } #mate-menu button label:not(:first-child) { - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); } #mate-menu entry { @@ -7666,7 +7638,7 @@ na-tray-applet { * Budgie Desktop * ******************/ box.vertical > stack > box.vertical .raven-background > viewport.frame list > row.activatable list row.activatable button.image-button { - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); background-color: transparent; box-shadow: none; } @@ -8443,7 +8415,7 @@ frame.raven-frame > border { } .raven .raven-background > overlay > widget > image { - color: rgba(0, 0, 0, 0.12); + color: rgba(0, 0, 0, 0.08); } .raven .raven-background grid > label:first-child { @@ -8750,9 +8722,7 @@ box.vertical > stack > box.vertical .raven-background > viewport.frame list > ro background-color: transparent; } -.budgie-run-dialog list .dim-label, .budgie-run-dialog list label.separator, -.budgie-run-dialog list headerbar .subtitle, -headerbar .budgie-run-dialog list .subtitle, .budgie-run-dialog list .budgie-notification .notification-body, .budgie-notification .budgie-run-dialog list .notification-body, .budgie-run-dialog list .budgie-switcher .notification-body, .budgie-switcher .budgie-run-dialog list .notification-body { +.budgie-run-dialog list .dim-label, .budgie-run-dialog list label.separator, .budgie-run-dialog list headerbar .subtitle, headerbar .budgie-run-dialog list .subtitle, .budgie-run-dialog list .budgie-notification .notification-body, .budgie-notification .budgie-run-dialog list .notification-body, .budgie-run-dialog list .budgie-switcher .notification-body, .budgie-switcher .budgie-run-dialog list .notification-body { opacity: 1; } diff --git a/src/gtk/3.0/gtk-light-solid.scss b/src/gtk/3.0/gtk-light-solid.scss new file mode 100644 index 0000000..5e822b8 --- /dev/null +++ b/src/gtk/3.0/gtk-light-solid.scss @@ -0,0 +1,11 @@ +$variant: 'light'; +$titlebar: 'light'; +$compact: 'true'; +$solid: 'true'; + +@import '../../_sass/variables'; +@import '../../_sass/colors'; +@import '../../_sass/gtk/drawing-3.0'; +@import '../../_sass/gtk/common-3.0'; +@import '../../_sass/gtk/apps-3.0'; +@import '../../_sass/gtk/colors-public'; diff --git a/src/gtk/gtk-light.css b/src/gtk/3.0/gtk-light.css similarity index 97% rename from src/gtk/gtk-light.css rename to src/gtk/3.0/gtk-light.css index 3b58606..e71d01a 100644 --- a/src/gtk/gtk-light.css +++ b/src/gtk/3.0/gtk-light.css @@ -161,8 +161,7 @@ tab label:disabled, button label:disabled { color: inherit; } -.dim-label, .budgie-notification .notification-body, .budgie-switcher .notification-body, -headerbar .subtitle, label.separator { +.dim-label, .budgie-notification .notification-body, .budgie-switcher .notification-body, headerbar .subtitle, label.separator { opacity: 0.6; } @@ -253,7 +252,7 @@ popover.background.menu spinbutton:not(.vertical), spinbutton.flat:not(.vertical border-radius: 0; transition: all 100ms cubic-bezier(0, 0, 0.2, 1), border-image 225ms cubic-bezier(0, 0, 0.2, 1); border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), #5657f5 0%, transparent 0%) 0 0 0/0 0 0px; - box-shadow: inset 0 -1px rgba(0, 0, 0, 0.26); + box-shadow: inset 0 -1px rgba(0, 0, 0, 0.2); background-color: transparent; color: rgba(0, 0, 0, 0.75); } @@ -269,7 +268,7 @@ popover.background.menu .linked entry:focus, popover.background.menu entry:focus, popover.background.menu spinbutton:focus:not(.vertical), spinbutton.flat:focus:not(.vertical), entry.flat:focus { border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), #5657f5 100%, transparent 0%) 0 0 2/0 0 2px; - box-shadow: inset 0 -1px rgba(0, 0, 0, 0.26); + box-shadow: inset 0 -1px rgba(0, 0, 0, 0.2); } #login_window entry:disabled, .raven .raven-background spinbutton:disabled:not(.vertical), .budgie-popover entry:disabled, @@ -282,13 +281,13 @@ popover.background spinbutton:disabled:not(.vertical), popover.background.menu .linked entry:disabled, popover.background.menu entry:disabled, popover.background.menu spinbutton:disabled:not(.vertical), spinbutton.flat:disabled:not(.vertical), entry.flat:disabled { - box-shadow: inset 0 -1px rgba(0, 0, 0, 0.12); + box-shadow: inset 0 -1px rgba(0, 0, 0, 0.08); background-color: transparent; color: rgba(0, 0, 0, 0.38); } spinbutton:not(.vertical) image, entry image { - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); } spinbutton:not(.vertical) image:hover, spinbutton:not(.vertical) image:active, entry image:hover, entry image:active { @@ -311,7 +310,7 @@ spinbutton:not(.vertical) image.right, entry image.right { spinbutton:not(.vertical) undershoot.left, entry undershoot.left { background-color: transparent; - background-image: linear-gradient(to top, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.26) 50%); + background-image: linear-gradient(to top, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.2) 50%); padding-left: 1px; background-size: 1px 12px; background-repeat: repeat-y; @@ -321,7 +320,7 @@ spinbutton:not(.vertical) undershoot.left, entry undershoot.left { spinbutton:not(.vertical) undershoot.right, entry undershoot.right { background-color: transparent; - background-image: linear-gradient(to top, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.26) 50%); + background-image: linear-gradient(to top, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.2) 50%); padding-right: 1px; background-size: 1px 12px; background-repeat: repeat-y; @@ -362,7 +361,7 @@ spinbutton.error.flat:focus:not(.vertical), entry.error.flat:focus { } spinbutton.error.flat:disabled:not(.vertical), entry.error.flat:disabled { - box-shadow: inset 0 -1px rgba(0, 0, 0, 0.12); + box-shadow: inset 0 -1px rgba(0, 0, 0, 0.08); background-color: transparent; color: rgba(0, 0, 0, 0.38); } @@ -412,7 +411,7 @@ spinbutton.warning.flat:focus:not(.vertical), entry.warning.flat:focus { } spinbutton.warning.flat:disabled:not(.vertical), entry.warning.flat:disabled { - box-shadow: inset 0 -1px rgba(0, 0, 0, 0.12); + box-shadow: inset 0 -1px rgba(0, 0, 0, 0.08); background-color: transparent; color: rgba(0, 0, 0, 0.38); } @@ -516,7 +515,7 @@ button { background-repeat: no-repeat; background-position: center; background-size: 1000% 1000%; - color: rgba(0, 0, 0, 0.62); + color: rgba(0, 0, 0, 0.65); } @@ -573,7 +572,7 @@ button.flat { background-repeat: no-repeat; background-position: center; background-size: 1000% 1000%; - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); } .lightdm-gtk-greeter button:hover, .budgie-polkit-dialog .linked.horizontal > button:hover, @@ -618,14 +617,14 @@ button.flat:disabled { .nemo-window toolbar.primary-toolbar > toolitem > box.linked.raised > button:checked, layouttabbar button:checked, infobar.info button:checked, infobar.question button:checked, infobar.warning button:checked, infobar.error button:checked, .app-notification button:checked, actionbar > revealer > box button:checked:not(.suggested-action):not(.destructive-action):not(.server-list-button), :not(headerbar) .caja-pathbar button:checked, .caja-pathbar :not(headerbar) button:checked, :not(headerbar) .path-bar button:checked, headerbar button:checked:not(.suggested-action):not(.destructive-action), toolbar button:checked, button.flat:checked { - background-color: rgba(0, 0, 0, 0.26); + background-color: rgba(0, 0, 0, 0.2); color: rgba(0, 0, 0, 0.75); } .budgie-panel button:checked:disabled, PanelToplevel.horizontal > grid > button:checked:disabled, .mate-panel-menu-bar button:checked:disabled, .nemo-window .toolbar button:checked:disabled, .nemo-window toolbar.primary-toolbar > toolitem > box.raised > button:checked:disabled, layouttabbar button:checked:disabled, infobar.info button:checked:disabled, infobar.question button:checked:disabled, infobar.warning button:checked:disabled, infobar.error button:checked:disabled, .app-notification button:checked:disabled, actionbar > revealer > box button:checked:disabled:not(.suggested-action):not(.destructive-action):not(.server-list-button), :not(headerbar) .caja-pathbar button:checked:disabled, .caja-pathbar :not(headerbar) button:checked:disabled, :not(headerbar) .path-bar button:checked:disabled, headerbar button:checked:disabled:not(.suggested-action):not(.destructive-action), toolbar button:checked:disabled, button.flat:checked:disabled { - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); color: rgba(0, 0, 0, 0.38); } @@ -833,13 +832,10 @@ button.destructive-action.flat:checked { .raven .expander-button, .raven .raven-header:not(.top) button.image-button, widget > box.terminal-titlebar > button.image-button, widget > box.terminal-titlebar > button.image-button.toggle, .terminix-session-sidebar button.tilix-sidebar-close-button, .tilix-session-sidebar button.tilix-sidebar-close-button, .nemo-window toolbar.primary-toolbar > toolitem > box.raised > button, -.nemo-window toolbar.primary-toolbar > toolitem > box.linked.raised > button, .nautilus-window headerbar > revealer > button, .solid-csd headerbar:not(.default-decoration) button.titlebutton, headerbar button.titlebutton, .csd headerbar button.titlebutton, .csd headerbar.default-decoration button.titlebutton, +.nemo-window toolbar.primary-toolbar > toolitem > box.linked.raised > button, .nautilus-window headerbar > revealer > button, .solid-csd headerbar:not(.default-decoration) button.titlebutton, headerbar button.titlebutton, .csd headerbar button.titlebutton, headerbar.default-decoration button.titlebutton, .csd headerbar.default-decoration button.titlebutton, .titlebar button.titlebutton, .csd .titlebar button.titlebutton, .titlebar.default-decoration button.titlebutton, .csd .titlebar.default-decoration button.titlebutton, row button.image-button, check, -radio, -headerbar.default-decoration button.titlebutton, -headerbar button.suggested-action, -headerbar button.destructive-action, +radio, headerbar button.suggested-action, headerbar button.destructive-action, headerbar button:not(.suggested-action):not(.destructive-action), button.close, button.circular { @@ -950,8 +946,7 @@ button:visited { color: #E040FB; } -infobar.info *:link, infobar.question *:link, infobar.warning *:link, infobar.error *:link, -headerbar.selection-mode .subtitle:link, *:link:selected, *:selected *:link, button:selected:link, +infobar.info *:link, infobar.question *:link, infobar.warning *:link, infobar.error *:link, headerbar.selection-mode .subtitle:link, *:link:selected, *:selected *:link, button:selected:link, button:selected:visited, *:selected button:link, *:selected button:visited { color: #FFFFFF; @@ -1116,7 +1111,7 @@ popover.background.menu button.combo { font-weight: inherit; transition: all 100ms cubic-bezier(0, 0, 0.2, 1), border-image 225ms cubic-bezier(0, 0, 0.2, 1); border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), #5657f5 0%, transparent 0%) 0 0 0/0 0 0px; - box-shadow: inset 0 -1px rgba(0, 0, 0, 0.26); + box-shadow: inset 0 -1px rgba(0, 0, 0, 0.2); background-color: transparent; color: rgba(0, 0, 0, 0.75); } @@ -1136,7 +1131,7 @@ popover.background.menu button.combo:checked { #login_window #user_combobox button:disabled, .raven .raven-background button.combo:disabled, .budgie-popover button.combo:disabled, notebook > stack:not(:only-child) button.combo:disabled, popover button.combo:disabled, popover.background button.combo:disabled, popover.background.menu button.combo:disabled { - box-shadow: inset 0 -1px rgba(0, 0, 0, 0.12); + box-shadow: inset 0 -1px rgba(0, 0, 0, 0.08); color: rgba(0, 0, 0, 0.38); } @@ -1235,7 +1230,6 @@ actionbar { /*************** * Header bars * ***************/ - headerbar { transition: background-color 100ms cubic-bezier(0, 0, 0.2, 1), color 100ms cubic-bezier(0, 0, 0.2, 1); min-height: 38px; @@ -1245,49 +1239,40 @@ headerbar { color: rgba(0, 0, 0, 0.75); } - headerbar:disabled :not(button) > label { color: rgba(0, 0, 0, 0.38); } - headerbar:backdrop { color: rgba(0, 0, 0, 0.54); } - headerbar:backdrop:disabled :not(button) > label { color: rgba(0, 0, 0, 0.26); } - headerbar .title { padding: 0 12px; font-weight: bold; } - headerbar .subtitle { padding: 0 12px; font-size: smaller; } - headerbar entry { background-color: #FFFFFF; } - headerbar entry:focus { background-color: white; } - headerbar .linked:not(.vertical) > entry:not(.flat) { border-radius: 7px; } - headerbar .linked:not(.vertical) > button { border-radius: 7px; -gtk-outline-radius: 7px; @@ -1355,14 +1340,11 @@ headerbar button:not(.suggested-action):not(.destructive-action):backdrop:checke color: rgba(255, 255, 255, 0.3); } - -headerbar button.suggested-action:disabled, -headerbar button.destructive-action:disabled { +headerbar button.suggested-action:disabled, headerbar button.destructive-action:disabled { background-color: rgba(0, 0, 0, 0.12); color: rgba(0, 0, 0, 0.38); } - headerbar.selection-mode { transition: background-color 0.00001s 225ms, color 225ms cubic-bezier(0, 0, 0.2, 1); animation: header_ripple_effect 225ms cubic-bezier(0, 0, 0.2, 1); @@ -1371,92 +1353,76 @@ headerbar.selection-mode { color: #FFFFFF; } - headerbar.selection-mode:backdrop { color: rgba(255, 255, 255, 0.7); } - headerbar.selection-mode button:not(.suggested-action):not(.destructive-action) { border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), currentColor 0%, transparent 0%) 0 0 0/0 0 0; color: #FFFFFF; } - headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):disabled { color: rgba(255, 255, 255, 0.5); } - headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):hover { color: #FFFFFF; } - headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):checked { border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), currentColor 100%, transparent 0%) 0 0 2/0 0 2px; color: #FFFFFF; } - headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):checked:disabled { color: rgba(255, 255, 255, 0.5); } - headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):backdrop { color: rgba(255, 255, 255, 0.7); } - headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):backdrop:disabled { color: rgba(255, 255, 255, 0.3); } - headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):backdrop:checked { color: rgba(255, 255, 255, 0.7); } - headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):backdrop:checked:disabled { color: rgba(255, 255, 255, 0.3); } - headerbar.selection-mode .selection-menu { padding-left: 16px; padding-right: 16px; } - headerbar.selection-mode .selection-menu arrow { -GtkArrow-arrow-scaling: 1; } - headerbar.selection-mode .selection-menu .arrow { -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); } - -headerbar .linked:not(.vertical).path-bar > button, -headerbar .linked:not(.vertical):not(.path-bar).stack-switcher > button { +headerbar .linked:not(.vertical).path-bar button:not(.suggested-action):not(.destructive-action), +headerbar .linked:not(.vertical):not(.path-bar).stack-switcher button:not(.suggested-action):not(.destructive-action), headerbar.windowhandle viewswitcher button:not(.suggested-action):not(.destructive-action) { padding-left: 8px; padding-right: 8px; border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), #5657f5 0%, transparent 0%) 0 0 0/0 0 0; } - -headerbar .linked:not(.vertical).path-bar > button label, -headerbar .linked:not(.vertical):not(.path-bar).stack-switcher > button label { +headerbar .linked:not(.vertical).path-bar button:not(.suggested-action):not(.destructive-action) label, +headerbar .linked:not(.vertical):not(.path-bar).stack-switcher button:not(.suggested-action):not(.destructive-action) label, headerbar.windowhandle viewswitcher button:not(.suggested-action):not(.destructive-action) label { padding-left: 8px; padding-right: 8px; } - -headerbar .linked:not(.vertical).path-bar > button:active, -headerbar .linked:not(.vertical):not(.path-bar).stack-switcher > button:active { +headerbar .linked:not(.vertical).path-bar button:not(.suggested-action):not(.destructive-action):active, +headerbar .linked:not(.vertical):not(.path-bar).stack-switcher button:not(.suggested-action):not(.destructive-action):active, headerbar.windowhandle viewswitcher button:not(.suggested-action):not(.destructive-action):active { color: rgba(0, 0, 0, 0.75); background-color: transparent; box-shadow: inset 0 0 0 9999px alpha(currentColor, 0.15); @@ -1465,9 +1431,8 @@ headerbar .linked:not(.vertical):not(.path-bar).stack-switcher > button:active { border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), #5657f5 100%, transparent 0%) 0 0 2/0 0 2px; } - -headerbar .linked:not(.vertical).path-bar > button:checked, -headerbar .linked:not(.vertical):not(.path-bar).stack-switcher > button:checked { +headerbar .linked:not(.vertical).path-bar button:not(.suggested-action):not(.destructive-action):checked, +headerbar .linked:not(.vertical):not(.path-bar).stack-switcher button:not(.suggested-action):not(.destructive-action):checked, headerbar.windowhandle viewswitcher button:not(.suggested-action):not(.destructive-action):checked { color: rgba(0, 0, 0, 0.75); background-color: transparent; box-shadow: none; @@ -1475,33 +1440,38 @@ headerbar .linked:not(.vertical):not(.path-bar).stack-switcher > button:checked border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), #5657f5 100%, transparent 0%) 0 0 2/0 0 2px; } - -headerbar .linked:not(.vertical).path-bar > button:checked:backdrop, -headerbar .linked:not(.vertical).path-bar > button:active:backdrop, -headerbar .linked:not(.vertical):not(.path-bar).stack-switcher > button:checked:backdrop, -headerbar .linked:not(.vertical):not(.path-bar).stack-switcher > button:active:backdrop { +headerbar .linked:not(.vertical).path-bar button:not(.suggested-action):not(.destructive-action):checked:backdrop, headerbar .linked:not(.vertical).path-bar button:not(.suggested-action):not(.destructive-action):active:backdrop, +headerbar .linked:not(.vertical):not(.path-bar).stack-switcher button:not(.suggested-action):not(.destructive-action):checked:backdrop, +headerbar .linked:not(.vertical):not(.path-bar).stack-switcher button:not(.suggested-action):not(.destructive-action):active:backdrop, headerbar.windowhandle viewswitcher button:not(.suggested-action):not(.destructive-action):checked:backdrop, headerbar.windowhandle viewswitcher button:not(.suggested-action):not(.destructive-action):active:backdrop { color: rgba(0, 0, 0, 0.54); border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), rgba(0, 0, 0, 0.38) 100%, transparent 0%) 0 0 2/0 0 2px; } - -headerbar .linked:not(.vertical).path-bar > button.text-button.image-button label, -headerbar .linked:not(.vertical):not(.path-bar).stack-switcher > button.text-button.image-button label { +headerbar .linked:not(.vertical).path-bar button:not(.suggested-action):not(.destructive-action).text-button.image-button label, +headerbar .linked:not(.vertical):not(.path-bar).stack-switcher button:not(.suggested-action):not(.destructive-action).text-button.image-button label, headerbar.windowhandle viewswitcher button:not(.suggested-action):not(.destructive-action).text-button.image-button label { padding-left: 0; padding-right: 0; } - -headerbar .linked:not(.vertical).path-bar > button.text-button.image-button image, -headerbar .linked:not(.vertical):not(.path-bar).stack-switcher > button.text-button.image-button image { +headerbar .linked:not(.vertical).path-bar button:not(.suggested-action):not(.destructive-action).text-button.image-button image, +headerbar .linked:not(.vertical):not(.path-bar).stack-switcher button:not(.suggested-action):not(.destructive-action).text-button.image-button image, headerbar.windowhandle viewswitcher button:not(.suggested-action):not(.destructive-action).text-button.image-button image { padding-left: 0; padding-right: 0; } -.tiled headerbar, .tiled-top headerbar, .tiled-right headerbar, .tiled-bottom headerbar, .tiled-left headerbar, .maximized headerbar, .fullscreen headerbar { +headerbar.windowhandle viewswitcher button:not(.suggested-action):not(.destructive-action) { + margin-top: 0; + margin-bottom: 0; border-radius: 0; } +headerbar.windowhandle viewswitcher button:not(.suggested-action):not(.destructive-action):checked { + background-color: alpha(currentColor, 0.15); +} + +.tiled headerbar, .tiled-top headerbar, .tiled-right headerbar, .tiled-bottom headerbar, .tiled-left headerbar, .maximized headerbar, .fullscreen headerbar { + border-radius: 0; +} headerbar.default-decoration { min-height: 20px; @@ -1513,7 +1483,6 @@ headerbar.default-decoration { box-shadow: none; } - headerbar.default-decoration button.titlebutton { min-height: 16px; min-width: 16px; @@ -1608,7 +1577,6 @@ window.tiled headerbar, window.tiled headerbar:first-child, window.tiled headerb border-bottom-right-radius: 0; } - headerbar separator.titlebutton { min-width: 0; min-height: 0; @@ -1672,7 +1640,7 @@ window.csd > .titlebar:not(headerbar) { * Tree Views * **************/ treeview.view { - border-left-color: rgba(0, 0, 0, 0.26); + border-left-color: rgba(0, 0, 0, 0.2); border-top-color: rgba(0, 0, 0, 0.08); } @@ -1715,7 +1683,7 @@ treeview.view:drop(active).before { treeview.view.expander { -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); -gtk-icon-transform: rotate(-90deg); - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); } treeview.view.expander:dir(rtl) { @@ -1965,7 +1933,7 @@ menu > arrow.bottom, menu > arrow:hover, .menu > arrow:hover, .context-menu > arrow:hover { - background-image: image(rgba(0, 0, 0, 0.12)); + background-image: image(rgba(0, 0, 0, 0.08)); color: rgba(0, 0, 0, 0.75); } @@ -2038,7 +2006,7 @@ popover.background button.flat.combo, popover.background.menu button.flat.combo, popover button.flat, popover.background button.flat, popover.background.menu button.flat { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); background-color: transparent; } @@ -2131,7 +2099,7 @@ popover.background button.combo, popover.background.menu button.combo, popover button, popover.background button, popover.background.menu button { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); background-color: transparent; box-shadow: none; } @@ -2203,7 +2171,7 @@ popover.background.menu .linked entry:focus, popover.background.menu entry:focus, popover.background.menu spinbutton:focus:not(.vertical) { border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), #5657f5 100%, transparent 0%) 0 0 2/0 0 2px; - box-shadow: inset 0 -1px rgba(0, 0, 0, 0.26); + box-shadow: inset 0 -1px rgba(0, 0, 0, 0.2); } popover .linked entry:disabled, popover entry:disabled, @@ -2240,7 +2208,7 @@ popover.background spinbutton:not(.vertical) image, popover.background.menu .linked entry image, popover.background.menu entry image, popover.background.menu spinbutton:not(.vertical) image { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); } popover .linked entry:focus, popover entry:focus, @@ -2300,7 +2268,7 @@ popover.background.menu { padding: 2px; box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06); background-color: rgba(63, 63, 63, 0.95); - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); } popover:backdrop, @@ -2359,7 +2327,7 @@ popover.background.menu list, popover.background.menu row, popover.background.menu .view, popover.background.menu textview.view > text { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); background-color: #373737; border-color: rgba(255, 255, 255, 0.12); } @@ -2584,7 +2552,7 @@ popover.background check, popover.background radio, popover.background.menu check, popover.background.menu radio { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); transition: none; animation: none; } @@ -2662,7 +2630,7 @@ popover.background.menu separator, .csd popover.background.menu separator { popover label.separator, popover.background label.separator, popover.background.menu label.separator { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); } popover calendar, @@ -2736,7 +2704,7 @@ notebook > header.top > tabs { } notebook > header.top > tabs > tab:hover { - box-shadow: inset 0 -2px rgba(0, 0, 0, 0.26); + box-shadow: inset 0 -2px rgba(0, 0, 0, 0.2); } notebook > header.top > tabs > tab:checked { @@ -2753,7 +2721,7 @@ notebook > header.bottom > tabs { } notebook > header.bottom > tabs > tab:hover { - box-shadow: inset 0 2px rgba(0, 0, 0, 0.26); + box-shadow: inset 0 2px rgba(0, 0, 0, 0.2); } notebook > header.bottom > tabs > tab:checked { @@ -2770,7 +2738,7 @@ notebook > header.left > tabs { } notebook > header.left > tabs > tab:hover { - box-shadow: inset -2px 0 rgba(0, 0, 0, 0.26); + box-shadow: inset -2px 0 rgba(0, 0, 0, 0.2); } notebook > header.left > tabs > tab:checked { @@ -2787,7 +2755,7 @@ notebook > header.right > tabs { } notebook > header.right > tabs > tab:hover { - box-shadow: inset 2px 0 rgba(0, 0, 0, 0.26); + box-shadow: inset 2px 0 rgba(0, 0, 0, 0.2); } notebook > header.right > tabs > tab:checked { @@ -2854,11 +2822,11 @@ notebook > header tab { outline-offset: -6px; border-width: 1px; border-color: transparent; - background-image: radial-gradient(circle farthest-corner at center, rgba(0, 0, 0, 0.26) 10%, transparent 0%); + background-image: radial-gradient(circle farthest-corner at center, rgba(0, 0, 0, 0.2) 10%, transparent 0%); background-repeat: no-repeat; background-position: center; background-size: 0% 0%; - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); font-weight: 500; } @@ -2992,7 +2960,7 @@ scrollbar slider { } scrollbar slider:hover { - background-color: rgba(0, 0, 0, 0.54); + background-color: rgba(0, 0, 0, 0.55); } scrollbar slider:active { @@ -3106,14 +3074,14 @@ switch { min-width: 38px; border: 4px solid transparent; border-radius: 9999px; - background-color: rgba(0, 0, 0, 0.26); + background-color: rgba(0, 0, 0, 0.2); background-clip: padding-box; color: transparent; font-size: 0; } switch:disabled { - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); } switch:checked { @@ -3469,7 +3437,7 @@ treeview.view radio:hover:selected { treeview.view check, treeview.view radio { - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); } treeview.view check:hover, treeview.view check:active, @@ -3518,11 +3486,11 @@ scale slider { scale trough { transition: background-color 100ms cubic-bezier(0, 0, 0.2, 1); outline: none; - background-color: rgba(0, 0, 0, 0.26); + background-color: rgba(0, 0, 0, 0.2); } scale trough:disabled { - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); } scale highlight { @@ -3536,7 +3504,7 @@ scale highlight:disabled { scale fill { transition: background-color 100ms cubic-bezier(0, 0, 0.2, 1); - background-color: rgba(0, 0, 0, 0.26); + background-color: rgba(0, 0, 0, 0.2); } scale fill:disabled { @@ -3590,7 +3558,7 @@ scale value { } scale marks { - color: rgba(0, 0, 0, 0.26); + color: rgba(0, 0, 0, 0.2); } scale marks.top { @@ -3794,7 +3762,7 @@ levelbar block.full { } levelbar block.empty { - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); } /**************** @@ -3883,7 +3851,7 @@ overshoot.right { undershoot.top { background-color: transparent; - background-image: linear-gradient(to left, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.26) 50%); + background-image: linear-gradient(to left, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.2) 50%); padding-top: 1px; background-size: 12px 1px; background-repeat: repeat-x; @@ -3893,7 +3861,7 @@ undershoot.top { undershoot.bottom { background-color: transparent; - background-image: linear-gradient(to left, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.26) 50%); + background-image: linear-gradient(to left, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.2) 50%); padding-bottom: 1px; background-size: 12px 1px; background-repeat: repeat-x; @@ -3903,7 +3871,7 @@ undershoot.bottom { undershoot.left { background-color: transparent; - background-image: linear-gradient(to top, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.26) 50%); + background-image: linear-gradient(to top, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.2) 50%); padding-left: 1px; background-size: 1px 12px; background-repeat: repeat-y; @@ -3913,7 +3881,7 @@ undershoot.left { undershoot.right { background-color: transparent; - background-image: linear-gradient(to top, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.26) 50%); + background-image: linear-gradient(to top, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.2) 50%); padding-right: 1px; background-size: 1px 12px; background-repeat: repeat-y; @@ -4005,7 +3973,7 @@ expander title > arrow { min-height: 16px; -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); -gtk-icon-transform: rotate(-90deg); - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); } expander title > arrow:dir(rtl) { @@ -4059,7 +4027,7 @@ calendar.header { } calendar.highlight { - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); font-weight: 500; } @@ -4071,7 +4039,7 @@ calendar:indeterminate { * Dialogs * ***********/ messagedialog { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); } messagedialog.background { @@ -4083,7 +4051,7 @@ messagedialog .titlebar { border-style: none; box-shadow: inset 0 1px rgba(255, 255, 255, 0); background-color: rgba(63, 63, 63, 0.95); - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); border-top-left-radius: 7px; border-top-right-radius: 7px; } @@ -4093,7 +4061,7 @@ messagedialog .titlebar:backdrop { } messagedialog list, messagedialog row, messagedialog .view, messagedialog textview.view > text { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); background-color: #373737; border-color: rgba(255, 255, 255, 0.12); } @@ -4102,7 +4070,7 @@ messagedialog .dialog-action-area button { padding: 4px 12px; border-top: 1px solid rgba(0, 0, 0, 0.08); border-radius: 0; - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); } messagedialog .dialog-action-area button:first-child { @@ -4146,7 +4114,7 @@ messagedialog .dialog-action-area button.destructive-action:disabled { } messagedialog.csd { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); } messagedialog.csd.background { @@ -4158,7 +4126,7 @@ messagedialog.csd .dialog-action-area button { padding: 8px 16px; border-top: 1px solid rgba(0, 0, 0, 0.08); border-radius: 0; - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); } messagedialog.csd .dialog-action-area button:first-child { @@ -4172,7 +4140,7 @@ messagedialog.csd .dialog-action-area button:last-child { } messagedialog entry { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); } messagedialog expander title > arrow { @@ -4295,7 +4263,7 @@ stacksidebar row > label { } row image.sidebar-icon { - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); } row:selected image.sidebar-icon { @@ -4476,7 +4444,7 @@ tooltip.background.csd { border-radius: 7px; box-shadow: inset 0 1px rgba(255, 255, 255, 0); background-color: rgba(63, 63, 63, 0.9); - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); } tooltip decoration { @@ -4882,7 +4850,7 @@ button.emoji-section { } button.emoji-section:hover { - box-shadow: inset 0 2px rgba(0, 0, 0, 0.26); + box-shadow: inset 0 2px rgba(0, 0, 0, 0.2); } button.emoji-section:active, button.emoji-section:checked { @@ -4980,6 +4948,10 @@ button.emoji-section:last-child { background-color: transparent; } +.nautilus-window.csd.background.unified headerbar { + background-color: transparent; +} + .nautilus-window.maximized.csd.background, .nautilus-window.maximized placessidebar, .nautilus-window.maximized notebook, .nautilus-window.maximized notebook > stack { border-radius: 0; } @@ -5011,7 +4983,7 @@ button.emoji-section:last-child { .nautilus-window placessidebar row label.sidebar-label { padding-left: 18px; - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); border-radius: 0 7px 7px 0; } @@ -5201,7 +5173,7 @@ button.emoji-section:last-child { } .disk-space-display.free { - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); } .conflict-row:not(:selected) { @@ -5233,7 +5205,7 @@ dialog.background > box.dialog-vbox.vertical > grid.horizontal > box.horizontal: * gedit * *********/ .open-document-selector-path-label { - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); font-size: smaller; } @@ -5452,7 +5424,7 @@ entry.search-missing { } window.workbench treeview.image { - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); } window.workbench treeview.image:selected { @@ -5488,7 +5460,7 @@ omnibar.linked:not(.vertical) entry { } omnibar:not(:hover):not(:active) entry { - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); } popover.omnibar list row:not(:last-child) { @@ -5584,12 +5556,12 @@ docktab { background-repeat: no-repeat; background-position: center; background-size: 0% 0%; - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); font-weight: 500; } docktab:hover { - box-shadow: inset 0 -2px rgba(0, 0, 0, 0.26); + box-shadow: inset 0 -2px rgba(0, 0, 0, 0.2); color: rgba(0, 0, 0, 0.75); } @@ -5611,7 +5583,7 @@ dockoverlayedge docktabstrip { } dockoverlayedge.left-edge docktab:hover { - box-shadow: inset -2px 0 rgba(0, 0, 0, 0.26); + box-shadow: inset -2px 0 rgba(0, 0, 0, 0.2); } dockoverlayedge.left-edge docktab:checked { @@ -5619,7 +5591,7 @@ dockoverlayedge.left-edge docktab:checked { } dockoverlayedge.right-edge docktab:hover { - box-shadow: inset 2px 0 rgba(0, 0, 0, 0.26); + box-shadow: inset 2px 0 rgba(0, 0, 0, 0.2); } dockoverlayedge.right-edge docktab:checked { @@ -5719,7 +5691,7 @@ ideeditorutilities > dzldockpaned > box > stackswitcher button:dir(ltr) { } ideeditorutilities > dzldockpaned > box > stackswitcher button:dir(ltr):hover { - box-shadow: inset -2px 0 rgba(0, 0, 0, 0.26); + box-shadow: inset -2px 0 rgba(0, 0, 0, 0.2); } ideeditorutilities > dzldockpaned > box > stackswitcher button:dir(ltr):active, ideeditorutilities > dzldockpaned > box > stackswitcher button:dir(ltr):checked { @@ -5731,7 +5703,7 @@ ideeditorutilities > dzldockpaned > box > stackswitcher button:dir(rtl) { } ideeditorutilities > dzldockpaned > box > stackswitcher button:dir(rtl):hover { - box-shadow: inset 2px 0 rgba(0, 0, 0, 0.26); + box-shadow: inset 2px 0 rgba(0, 0, 0, 0.2); } ideeditorutilities > dzldockpaned > box > stackswitcher button:dir(rtl):active, ideeditorutilities > dzldockpaned > box > stackswitcher button:dir(rtl):checked { @@ -5948,12 +5920,12 @@ window.background > box.vertical box.horizontal > box.vertical > scrolledwindow } window.background > box.vertical box.horizontal > box.vertical > scrolledwindow > viewport.frame > list row.event.activatable.compressed-row-header:hover { - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); color: #5657f5; } window.background > box.vertical box.horizontal > box.vertical > scrolledwindow > viewport.frame > list row.event.activatable.compressed-row-header:active, window.background > box.vertical box.horizontal > box.vertical > scrolledwindow > viewport.frame > list row.event.activatable.compressed-row-header:active:focus, window.background > box.vertical box.horizontal > box.vertical > scrolledwindow > viewport.frame > list row.event.activatable.compressed-row-header:checked, window.background > box.vertical box.horizontal > box.vertical > scrolledwindow > viewport.frame > list row.event.activatable.compressed-row-header:checked:focus { - background-color: rgba(0, 0, 0, 0.26); + background-color: rgba(0, 0, 0, 0.2); background-image: image(#FFFFFF); } @@ -6983,7 +6955,7 @@ stack#conversation_viewer scrolledwindow.geary-conversation-scroller > viewport. } popover.background list.geary-folder-popover-list row.activatable.geary-folder-popover-list-row label { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); } popover.background list.geary-folder-popover-list row.activatable.geary-folder-popover-list-row label:disabled { @@ -7176,7 +7148,7 @@ window#whiskermenu-window scrolledwindow > viewport button.radio:not(:disabled) } window#whiskermenu-window scrolledwindow > viewport button.radio:hover { - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); } window#whiskermenu-window scrolledwindow > viewport button.radio:checked { @@ -7359,7 +7331,7 @@ PanelToplevel.vertical > grid > button { } PanelSeparator { - color: rgba(0, 0, 0, 0.12); + color: rgba(0, 0, 0, 0.08); } MatePanelAppletFrameDBus { @@ -7380,7 +7352,7 @@ MatePanelAppletFrameDBus { } .mate-panel-menu-bar menubar > menuitem:hover { - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); color: #FFFFFF; } @@ -7531,7 +7503,7 @@ na-tray-applet { } #mate-menu button label:not(:first-child) { - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); } #mate-menu entry { @@ -7666,7 +7638,7 @@ na-tray-applet { * Budgie Desktop * ******************/ box.vertical > stack > box.vertical .raven-background > viewport.frame list > row.activatable list row.activatable button.image-button { - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); background-color: transparent; box-shadow: none; } @@ -8443,7 +8415,7 @@ frame.raven-frame > border { } .raven .raven-background > overlay > widget > image { - color: rgba(0, 0, 0, 0.12); + color: rgba(0, 0, 0, 0.08); } .raven .raven-background grid > label:first-child { @@ -8750,9 +8722,7 @@ box.vertical > stack > box.vertical .raven-background > viewport.frame list > ro background-color: transparent; } -.budgie-run-dialog list .dim-label, .budgie-run-dialog list label.separator, -.budgie-run-dialog list headerbar .subtitle, -headerbar .budgie-run-dialog list .subtitle, .budgie-run-dialog list .budgie-notification .notification-body, .budgie-notification .budgie-run-dialog list .notification-body, .budgie-run-dialog list .budgie-switcher .notification-body, .budgie-switcher .budgie-run-dialog list .notification-body { +.budgie-run-dialog list .dim-label, .budgie-run-dialog list label.separator, .budgie-run-dialog list headerbar .subtitle, headerbar .budgie-run-dialog list .subtitle, .budgie-run-dialog list .budgie-notification .notification-body, .budgie-notification .budgie-run-dialog list .notification-body, .budgie-run-dialog list .budgie-switcher .notification-body, .budgie-switcher .budgie-run-dialog list .notification-body { opacity: 1; } diff --git a/src/gtk/3.0/gtk-light.scss b/src/gtk/3.0/gtk-light.scss new file mode 100644 index 0000000..9799dd7 --- /dev/null +++ b/src/gtk/3.0/gtk-light.scss @@ -0,0 +1,11 @@ +$variant: 'light'; +$titlebar: 'light'; +$compact: 'true'; +$solid: 'false'; + +@import '../../_sass/variables'; +@import '../../_sass/colors'; +@import '../../_sass/gtk/drawing-3.0'; +@import '../../_sass/gtk/common-3.0'; +@import '../../_sass/gtk/apps-3.0'; +@import '../../_sass/gtk/colors-public'; diff --git a/src/gtk/gtk-solid.css b/src/gtk/3.0/gtk-solid.css similarity index 97% rename from src/gtk/gtk-solid.css rename to src/gtk/3.0/gtk-solid.css index 8c6ee9d..1daf093 100644 --- a/src/gtk/gtk-solid.css +++ b/src/gtk/3.0/gtk-solid.css @@ -161,8 +161,7 @@ tab label:disabled, button label:disabled { color: inherit; } -.dim-label, .budgie-notification .notification-body, .budgie-switcher .notification-body, -headerbar .subtitle, label.separator { +.dim-label, .budgie-notification .notification-body, .budgie-switcher .notification-body, headerbar .subtitle, label.separator { opacity: 0.6; } @@ -253,7 +252,7 @@ popover.background.menu spinbutton:not(.vertical), spinbutton.flat:not(.vertical border-radius: 0; transition: all 100ms cubic-bezier(0, 0, 0.2, 1), border-image 225ms cubic-bezier(0, 0, 0.2, 1); border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), #5657f5 0%, transparent 0%) 0 0 0/0 0 0px; - box-shadow: inset 0 -1px rgba(0, 0, 0, 0.26); + box-shadow: inset 0 -1px rgba(0, 0, 0, 0.2); background-color: transparent; color: rgba(0, 0, 0, 0.75); } @@ -269,7 +268,7 @@ popover.background.menu .linked entry:focus, popover.background.menu entry:focus, popover.background.menu spinbutton:focus:not(.vertical), spinbutton.flat:focus:not(.vertical), entry.flat:focus { border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), #5657f5 100%, transparent 0%) 0 0 2/0 0 2px; - box-shadow: inset 0 -1px rgba(0, 0, 0, 0.26); + box-shadow: inset 0 -1px rgba(0, 0, 0, 0.2); } #login_window entry:disabled, .raven .raven-background spinbutton:disabled:not(.vertical), .budgie-popover entry:disabled, @@ -282,13 +281,13 @@ popover.background spinbutton:disabled:not(.vertical), popover.background.menu .linked entry:disabled, popover.background.menu entry:disabled, popover.background.menu spinbutton:disabled:not(.vertical), spinbutton.flat:disabled:not(.vertical), entry.flat:disabled { - box-shadow: inset 0 -1px rgba(0, 0, 0, 0.12); + box-shadow: inset 0 -1px rgba(0, 0, 0, 0.08); background-color: transparent; color: rgba(0, 0, 0, 0.38); } spinbutton:not(.vertical) image, entry image { - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); } spinbutton:not(.vertical) image:hover, spinbutton:not(.vertical) image:active, entry image:hover, entry image:active { @@ -311,7 +310,7 @@ spinbutton:not(.vertical) image.right, entry image.right { spinbutton:not(.vertical) undershoot.left, entry undershoot.left { background-color: transparent; - background-image: linear-gradient(to top, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.26) 50%); + background-image: linear-gradient(to top, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.2) 50%); padding-left: 1px; background-size: 1px 12px; background-repeat: repeat-y; @@ -321,7 +320,7 @@ spinbutton:not(.vertical) undershoot.left, entry undershoot.left { spinbutton:not(.vertical) undershoot.right, entry undershoot.right { background-color: transparent; - background-image: linear-gradient(to top, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.26) 50%); + background-image: linear-gradient(to top, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.2) 50%); padding-right: 1px; background-size: 1px 12px; background-repeat: repeat-y; @@ -362,7 +361,7 @@ spinbutton.error.flat:focus:not(.vertical), entry.error.flat:focus { } spinbutton.error.flat:disabled:not(.vertical), entry.error.flat:disabled { - box-shadow: inset 0 -1px rgba(0, 0, 0, 0.12); + box-shadow: inset 0 -1px rgba(0, 0, 0, 0.08); background-color: transparent; color: rgba(0, 0, 0, 0.38); } @@ -412,7 +411,7 @@ spinbutton.warning.flat:focus:not(.vertical), entry.warning.flat:focus { } spinbutton.warning.flat:disabled:not(.vertical), entry.warning.flat:disabled { - box-shadow: inset 0 -1px rgba(0, 0, 0, 0.12); + box-shadow: inset 0 -1px rgba(0, 0, 0, 0.08); background-color: transparent; color: rgba(0, 0, 0, 0.38); } @@ -516,7 +515,7 @@ button { background-repeat: no-repeat; background-position: center; background-size: 1000% 1000%; - color: rgba(0, 0, 0, 0.62); + color: rgba(0, 0, 0, 0.65); } @@ -573,7 +572,7 @@ button.flat { background-repeat: no-repeat; background-position: center; background-size: 1000% 1000%; - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); } .lightdm-gtk-greeter button:hover, .budgie-polkit-dialog .linked.horizontal > button:hover, @@ -618,14 +617,14 @@ button.flat:disabled { .nemo-window toolbar.primary-toolbar > toolitem > box.linked.raised > button:checked, layouttabbar button:checked, infobar.info button:checked, infobar.question button:checked, infobar.warning button:checked, infobar.error button:checked, .app-notification button:checked, actionbar > revealer > box button:checked:not(.suggested-action):not(.destructive-action):not(.server-list-button), :not(headerbar) .caja-pathbar button:checked, .caja-pathbar :not(headerbar) button:checked, :not(headerbar) .path-bar button:checked, headerbar button:checked:not(.suggested-action):not(.destructive-action), toolbar button:checked, button.flat:checked { - background-color: rgba(0, 0, 0, 0.26); + background-color: rgba(0, 0, 0, 0.2); color: rgba(0, 0, 0, 0.75); } .budgie-panel button:checked:disabled, PanelToplevel.horizontal > grid > button:checked:disabled, .mate-panel-menu-bar button:checked:disabled, .nemo-window .toolbar button:checked:disabled, .nemo-window toolbar.primary-toolbar > toolitem > box.raised > button:checked:disabled, layouttabbar button:checked:disabled, infobar.info button:checked:disabled, infobar.question button:checked:disabled, infobar.warning button:checked:disabled, infobar.error button:checked:disabled, .app-notification button:checked:disabled, actionbar > revealer > box button:checked:disabled:not(.suggested-action):not(.destructive-action):not(.server-list-button), :not(headerbar) .caja-pathbar button:checked:disabled, .caja-pathbar :not(headerbar) button:checked:disabled, :not(headerbar) .path-bar button:checked:disabled, headerbar button:checked:disabled:not(.suggested-action):not(.destructive-action), toolbar button:checked:disabled, button.flat:checked:disabled { - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); color: rgba(0, 0, 0, 0.38); } @@ -833,13 +832,10 @@ button.destructive-action.flat:checked { .raven .expander-button, .raven .raven-header:not(.top) button.image-button, widget > box.terminal-titlebar > button.image-button, widget > box.terminal-titlebar > button.image-button.toggle, .terminix-session-sidebar button.tilix-sidebar-close-button, .tilix-session-sidebar button.tilix-sidebar-close-button, .nemo-window toolbar.primary-toolbar > toolitem > box.raised > button, -.nemo-window toolbar.primary-toolbar > toolitem > box.linked.raised > button, .nautilus-window headerbar > revealer > button, .solid-csd headerbar:not(.default-decoration) button.titlebutton, headerbar button.titlebutton, .csd headerbar button.titlebutton, .csd headerbar.default-decoration button.titlebutton, +.nemo-window toolbar.primary-toolbar > toolitem > box.linked.raised > button, .nautilus-window headerbar > revealer > button, .solid-csd headerbar:not(.default-decoration) button.titlebutton, headerbar button.titlebutton, .csd headerbar button.titlebutton, headerbar.default-decoration button.titlebutton, .csd headerbar.default-decoration button.titlebutton, .titlebar button.titlebutton, .csd .titlebar button.titlebutton, .titlebar.default-decoration button.titlebutton, .csd .titlebar.default-decoration button.titlebutton, row button.image-button, check, -radio, -headerbar.default-decoration button.titlebutton, -headerbar button.suggested-action, -headerbar button.destructive-action, +radio, headerbar button.suggested-action, headerbar button.destructive-action, headerbar button:not(.suggested-action):not(.destructive-action), button.close, button.circular { @@ -950,8 +946,7 @@ button:visited { color: #E040FB; } -infobar.info *:link, infobar.question *:link, infobar.warning *:link, infobar.error *:link, -headerbar.selection-mode .subtitle:link, *:link:selected, *:selected *:link, button:selected:link, +infobar.info *:link, infobar.question *:link, infobar.warning *:link, infobar.error *:link, headerbar.selection-mode .subtitle:link, *:link:selected, *:selected *:link, button:selected:link, button:selected:visited, *:selected button:link, *:selected button:visited { color: #FFFFFF; @@ -1116,7 +1111,7 @@ popover.background.menu button.combo { font-weight: inherit; transition: all 100ms cubic-bezier(0, 0, 0.2, 1), border-image 225ms cubic-bezier(0, 0, 0.2, 1); border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), #5657f5 0%, transparent 0%) 0 0 0/0 0 0px; - box-shadow: inset 0 -1px rgba(0, 0, 0, 0.26); + box-shadow: inset 0 -1px rgba(0, 0, 0, 0.2); background-color: transparent; color: rgba(0, 0, 0, 0.75); } @@ -1136,7 +1131,7 @@ popover.background.menu button.combo:checked { #login_window #user_combobox button:disabled, .raven .raven-background button.combo:disabled, .budgie-popover button.combo:disabled, notebook > stack:not(:only-child) button.combo:disabled, popover button.combo:disabled, popover.background button.combo:disabled, popover.background.menu button.combo:disabled { - box-shadow: inset 0 -1px rgba(0, 0, 0, 0.12); + box-shadow: inset 0 -1px rgba(0, 0, 0, 0.08); color: rgba(0, 0, 0, 0.38); } @@ -1235,7 +1230,6 @@ actionbar { /*************** * Header bars * ***************/ - headerbar { transition: background-color 100ms cubic-bezier(0, 0, 0.2, 1), color 100ms cubic-bezier(0, 0, 0.2, 1); min-height: 38px; @@ -1245,49 +1239,40 @@ headerbar { color: #FFFFFF; } - headerbar:disabled :not(button) > label { color: rgba(255, 255, 255, 0.5); } - headerbar:backdrop { color: rgba(255, 255, 255, 0.7); } - headerbar:backdrop:disabled :not(button) > label { color: rgba(255, 255, 255, 0.3); } - headerbar .title { padding: 0 12px; font-weight: bold; } - headerbar .subtitle { padding: 0 12px; font-size: smaller; } - headerbar entry { background-color: #FFFFFF; } - headerbar entry:focus { background-color: white; } - headerbar .linked:not(.vertical) > entry:not(.flat) { border-radius: 7px; } - headerbar .linked:not(.vertical) > button { border-radius: 7px; -gtk-outline-radius: 7px; @@ -1355,14 +1340,11 @@ headerbar button:not(.suggested-action):not(.destructive-action):backdrop:checke color: rgba(255, 255, 255, 0.3); } - -headerbar button.suggested-action:disabled, -headerbar button.destructive-action:disabled { +headerbar button.suggested-action:disabled, headerbar button.destructive-action:disabled { background-color: rgba(255, 255, 255, 0.12); color: rgba(255, 255, 255, 0.5); } - headerbar.selection-mode { transition: background-color 0.00001s 225ms, color 225ms cubic-bezier(0, 0, 0.2, 1); animation: header_ripple_effect 225ms cubic-bezier(0, 0, 0.2, 1); @@ -1371,92 +1353,76 @@ headerbar.selection-mode { color: #FFFFFF; } - headerbar.selection-mode:backdrop { color: rgba(255, 255, 255, 0.7); } - headerbar.selection-mode button:not(.suggested-action):not(.destructive-action) { border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), currentColor 0%, transparent 0%) 0 0 0/0 0 0; color: #FFFFFF; } - headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):disabled { color: rgba(255, 255, 255, 0.5); } - headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):hover { color: #FFFFFF; } - headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):checked { border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), currentColor 100%, transparent 0%) 0 0 2/0 0 2px; color: #FFFFFF; } - headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):checked:disabled { color: rgba(255, 255, 255, 0.5); } - headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):backdrop { color: rgba(255, 255, 255, 0.7); } - headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):backdrop:disabled { color: rgba(255, 255, 255, 0.3); } - headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):backdrop:checked { color: rgba(255, 255, 255, 0.7); } - headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):backdrop:checked:disabled { color: rgba(255, 255, 255, 0.3); } - headerbar.selection-mode .selection-menu { padding-left: 16px; padding-right: 16px; } - headerbar.selection-mode .selection-menu arrow { -GtkArrow-arrow-scaling: 1; } - headerbar.selection-mode .selection-menu .arrow { -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); } - -headerbar .linked:not(.vertical).path-bar > button, -headerbar .linked:not(.vertical):not(.path-bar).stack-switcher > button { +headerbar .linked:not(.vertical).path-bar button:not(.suggested-action):not(.destructive-action), +headerbar .linked:not(.vertical):not(.path-bar).stack-switcher button:not(.suggested-action):not(.destructive-action), headerbar.windowhandle viewswitcher button:not(.suggested-action):not(.destructive-action) { padding-left: 8px; padding-right: 8px; border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), #5657f5 0%, transparent 0%) 0 0 0/0 0 0; } - -headerbar .linked:not(.vertical).path-bar > button label, -headerbar .linked:not(.vertical):not(.path-bar).stack-switcher > button label { +headerbar .linked:not(.vertical).path-bar button:not(.suggested-action):not(.destructive-action) label, +headerbar .linked:not(.vertical):not(.path-bar).stack-switcher button:not(.suggested-action):not(.destructive-action) label, headerbar.windowhandle viewswitcher button:not(.suggested-action):not(.destructive-action) label { padding-left: 8px; padding-right: 8px; } - -headerbar .linked:not(.vertical).path-bar > button:active, -headerbar .linked:not(.vertical):not(.path-bar).stack-switcher > button:active { +headerbar .linked:not(.vertical).path-bar button:not(.suggested-action):not(.destructive-action):active, +headerbar .linked:not(.vertical):not(.path-bar).stack-switcher button:not(.suggested-action):not(.destructive-action):active, headerbar.windowhandle viewswitcher button:not(.suggested-action):not(.destructive-action):active { color: #FFFFFF; background-color: transparent; box-shadow: inset 0 0 0 9999px alpha(currentColor, 0.15); @@ -1465,9 +1431,8 @@ headerbar .linked:not(.vertical):not(.path-bar).stack-switcher > button:active { border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), #5657f5 100%, transparent 0%) 0 0 2/0 0 2px; } - -headerbar .linked:not(.vertical).path-bar > button:checked, -headerbar .linked:not(.vertical):not(.path-bar).stack-switcher > button:checked { +headerbar .linked:not(.vertical).path-bar button:not(.suggested-action):not(.destructive-action):checked, +headerbar .linked:not(.vertical):not(.path-bar).stack-switcher button:not(.suggested-action):not(.destructive-action):checked, headerbar.windowhandle viewswitcher button:not(.suggested-action):not(.destructive-action):checked { color: #FFFFFF; background-color: transparent; box-shadow: none; @@ -1475,33 +1440,38 @@ headerbar .linked:not(.vertical):not(.path-bar).stack-switcher > button:checked border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), #5657f5 100%, transparent 0%) 0 0 2/0 0 2px; } - -headerbar .linked:not(.vertical).path-bar > button:checked:backdrop, -headerbar .linked:not(.vertical).path-bar > button:active:backdrop, -headerbar .linked:not(.vertical):not(.path-bar).stack-switcher > button:checked:backdrop, -headerbar .linked:not(.vertical):not(.path-bar).stack-switcher > button:active:backdrop { +headerbar .linked:not(.vertical).path-bar button:not(.suggested-action):not(.destructive-action):checked:backdrop, headerbar .linked:not(.vertical).path-bar button:not(.suggested-action):not(.destructive-action):active:backdrop, +headerbar .linked:not(.vertical):not(.path-bar).stack-switcher button:not(.suggested-action):not(.destructive-action):checked:backdrop, +headerbar .linked:not(.vertical):not(.path-bar).stack-switcher button:not(.suggested-action):not(.destructive-action):active:backdrop, headerbar.windowhandle viewswitcher button:not(.suggested-action):not(.destructive-action):checked:backdrop, headerbar.windowhandle viewswitcher button:not(.suggested-action):not(.destructive-action):active:backdrop { color: rgba(255, 255, 255, 0.7); border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), rgba(255, 255, 255, 0.5) 100%, transparent 0%) 0 0 2/0 0 2px; } - -headerbar .linked:not(.vertical).path-bar > button.text-button.image-button label, -headerbar .linked:not(.vertical):not(.path-bar).stack-switcher > button.text-button.image-button label { +headerbar .linked:not(.vertical).path-bar button:not(.suggested-action):not(.destructive-action).text-button.image-button label, +headerbar .linked:not(.vertical):not(.path-bar).stack-switcher button:not(.suggested-action):not(.destructive-action).text-button.image-button label, headerbar.windowhandle viewswitcher button:not(.suggested-action):not(.destructive-action).text-button.image-button label { padding-left: 0; padding-right: 0; } - -headerbar .linked:not(.vertical).path-bar > button.text-button.image-button image, -headerbar .linked:not(.vertical):not(.path-bar).stack-switcher > button.text-button.image-button image { +headerbar .linked:not(.vertical).path-bar button:not(.suggested-action):not(.destructive-action).text-button.image-button image, +headerbar .linked:not(.vertical):not(.path-bar).stack-switcher button:not(.suggested-action):not(.destructive-action).text-button.image-button image, headerbar.windowhandle viewswitcher button:not(.suggested-action):not(.destructive-action).text-button.image-button image { padding-left: 0; padding-right: 0; } -.tiled headerbar, .tiled-top headerbar, .tiled-right headerbar, .tiled-bottom headerbar, .tiled-left headerbar, .maximized headerbar, .fullscreen headerbar { +headerbar.windowhandle viewswitcher button:not(.suggested-action):not(.destructive-action) { + margin-top: 0; + margin-bottom: 0; border-radius: 0; } +headerbar.windowhandle viewswitcher button:not(.suggested-action):not(.destructive-action):checked { + background-color: alpha(currentColor, 0.15); +} + +.tiled headerbar, .tiled-top headerbar, .tiled-right headerbar, .tiled-bottom headerbar, .tiled-left headerbar, .maximized headerbar, .fullscreen headerbar { + border-radius: 0; +} headerbar.default-decoration { min-height: 20px; @@ -1513,7 +1483,6 @@ headerbar.default-decoration { box-shadow: none; } - headerbar.default-decoration button.titlebutton { min-height: 16px; min-width: 16px; @@ -1608,7 +1577,6 @@ window.tiled headerbar, window.tiled headerbar:first-child, window.tiled headerb border-bottom-right-radius: 0; } - headerbar separator.titlebutton { min-width: 0; min-height: 0; @@ -1672,7 +1640,7 @@ window.csd > .titlebar:not(headerbar) { * Tree Views * **************/ treeview.view { - border-left-color: rgba(0, 0, 0, 0.26); + border-left-color: rgba(0, 0, 0, 0.2); border-top-color: rgba(0, 0, 0, 0.08); } @@ -1715,7 +1683,7 @@ treeview.view:drop(active).before { treeview.view.expander { -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); -gtk-icon-transform: rotate(-90deg); - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); } treeview.view.expander:dir(rtl) { @@ -2038,7 +2006,7 @@ popover.background button.flat.combo, popover.background.menu button.flat.combo, popover button.flat, popover.background button.flat, popover.background.menu button.flat { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); background-color: transparent; } @@ -2131,7 +2099,7 @@ popover.background button.combo, popover.background.menu button.combo, popover button, popover.background button, popover.background.menu button { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); background-color: transparent; box-shadow: none; } @@ -2203,7 +2171,7 @@ popover.background.menu .linked entry:focus, popover.background.menu entry:focus, popover.background.menu spinbutton:focus:not(.vertical) { border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), #5657f5 100%, transparent 0%) 0 0 2/0 0 2px; - box-shadow: inset 0 -1px rgba(0, 0, 0, 0.26); + box-shadow: inset 0 -1px rgba(0, 0, 0, 0.2); } popover .linked entry:disabled, popover entry:disabled, @@ -2240,7 +2208,7 @@ popover.background spinbutton:not(.vertical) image, popover.background.menu .linked entry image, popover.background.menu entry image, popover.background.menu spinbutton:not(.vertical) image { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); } popover .linked entry:focus, popover entry:focus, @@ -2300,7 +2268,7 @@ popover.background.menu { padding: 2px; box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06); background-color: #3f3f3f; - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); } popover:backdrop, @@ -2359,7 +2327,7 @@ popover.background.menu list, popover.background.menu row, popover.background.menu .view, popover.background.menu textview.view > text { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); background-color: #373737; border-color: rgba(255, 255, 255, 0.12); } @@ -2584,7 +2552,7 @@ popover.background check, popover.background radio, popover.background.menu check, popover.background.menu radio { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); transition: none; animation: none; } @@ -2662,7 +2630,7 @@ popover.background.menu separator, .csd popover.background.menu separator { popover label.separator, popover.background label.separator, popover.background.menu label.separator { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); } popover calendar, @@ -2736,7 +2704,7 @@ notebook > header.top > tabs { } notebook > header.top > tabs > tab:hover { - box-shadow: inset 0 -2px rgba(0, 0, 0, 0.26); + box-shadow: inset 0 -2px rgba(0, 0, 0, 0.2); } notebook > header.top > tabs > tab:checked { @@ -2753,7 +2721,7 @@ notebook > header.bottom > tabs { } notebook > header.bottom > tabs > tab:hover { - box-shadow: inset 0 2px rgba(0, 0, 0, 0.26); + box-shadow: inset 0 2px rgba(0, 0, 0, 0.2); } notebook > header.bottom > tabs > tab:checked { @@ -2770,7 +2738,7 @@ notebook > header.left > tabs { } notebook > header.left > tabs > tab:hover { - box-shadow: inset -2px 0 rgba(0, 0, 0, 0.26); + box-shadow: inset -2px 0 rgba(0, 0, 0, 0.2); } notebook > header.left > tabs > tab:checked { @@ -2787,7 +2755,7 @@ notebook > header.right > tabs { } notebook > header.right > tabs > tab:hover { - box-shadow: inset 2px 0 rgba(0, 0, 0, 0.26); + box-shadow: inset 2px 0 rgba(0, 0, 0, 0.2); } notebook > header.right > tabs > tab:checked { @@ -2854,11 +2822,11 @@ notebook > header tab { outline-offset: -6px; border-width: 1px; border-color: transparent; - background-image: radial-gradient(circle farthest-corner at center, rgba(0, 0, 0, 0.26) 10%, transparent 0%); + background-image: radial-gradient(circle farthest-corner at center, rgba(0, 0, 0, 0.2) 10%, transparent 0%); background-repeat: no-repeat; background-position: center; background-size: 0% 0%; - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); font-weight: 500; } @@ -2992,7 +2960,7 @@ scrollbar slider { } scrollbar slider:hover { - background-color: rgba(0, 0, 0, 0.54); + background-color: rgba(0, 0, 0, 0.55); } scrollbar slider:active { @@ -3106,14 +3074,14 @@ switch { min-width: 38px; border: 4px solid transparent; border-radius: 9999px; - background-color: rgba(0, 0, 0, 0.26); + background-color: rgba(0, 0, 0, 0.2); background-clip: padding-box; color: transparent; font-size: 0; } switch:disabled { - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); } switch:checked { @@ -3469,7 +3437,7 @@ treeview.view radio:hover:selected { treeview.view check, treeview.view radio { - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); } treeview.view check:hover, treeview.view check:active, @@ -3518,11 +3486,11 @@ scale slider { scale trough { transition: background-color 100ms cubic-bezier(0, 0, 0.2, 1); outline: none; - background-color: rgba(0, 0, 0, 0.26); + background-color: rgba(0, 0, 0, 0.2); } scale trough:disabled { - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); } scale highlight { @@ -3536,7 +3504,7 @@ scale highlight:disabled { scale fill { transition: background-color 100ms cubic-bezier(0, 0, 0.2, 1); - background-color: rgba(0, 0, 0, 0.26); + background-color: rgba(0, 0, 0, 0.2); } scale fill:disabled { @@ -3590,7 +3558,7 @@ scale value { } scale marks { - color: rgba(0, 0, 0, 0.26); + color: rgba(0, 0, 0, 0.2); } scale marks.top { @@ -3794,7 +3762,7 @@ levelbar block.full { } levelbar block.empty { - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); } /**************** @@ -3883,7 +3851,7 @@ overshoot.right { undershoot.top { background-color: transparent; - background-image: linear-gradient(to left, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.26) 50%); + background-image: linear-gradient(to left, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.2) 50%); padding-top: 1px; background-size: 12px 1px; background-repeat: repeat-x; @@ -3893,7 +3861,7 @@ undershoot.top { undershoot.bottom { background-color: transparent; - background-image: linear-gradient(to left, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.26) 50%); + background-image: linear-gradient(to left, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.2) 50%); padding-bottom: 1px; background-size: 12px 1px; background-repeat: repeat-x; @@ -3903,7 +3871,7 @@ undershoot.bottom { undershoot.left { background-color: transparent; - background-image: linear-gradient(to top, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.26) 50%); + background-image: linear-gradient(to top, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.2) 50%); padding-left: 1px; background-size: 1px 12px; background-repeat: repeat-y; @@ -3913,7 +3881,7 @@ undershoot.left { undershoot.right { background-color: transparent; - background-image: linear-gradient(to top, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.26) 50%); + background-image: linear-gradient(to top, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.2) 50%); padding-right: 1px; background-size: 1px 12px; background-repeat: repeat-y; @@ -4005,7 +3973,7 @@ expander title > arrow { min-height: 16px; -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); -gtk-icon-transform: rotate(-90deg); - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); } expander title > arrow:dir(rtl) { @@ -4059,7 +4027,7 @@ calendar.header { } calendar.highlight { - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); font-weight: 500; } @@ -4071,7 +4039,7 @@ calendar:indeterminate { * Dialogs * ***********/ messagedialog { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); } messagedialog.background { @@ -4083,7 +4051,7 @@ messagedialog .titlebar { border-style: none; box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); background-color: rgba(63, 63, 63, 0.95); - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); border-top-left-radius: 7px; border-top-right-radius: 7px; } @@ -4093,7 +4061,7 @@ messagedialog .titlebar:backdrop { } messagedialog list, messagedialog row, messagedialog .view, messagedialog textview.view > text { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); background-color: #373737; border-color: rgba(255, 255, 255, 0.12); } @@ -4102,7 +4070,7 @@ messagedialog .dialog-action-area button { padding: 4px 12px; border-top: 1px solid rgba(0, 0, 0, 0.08); border-radius: 0; - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); } messagedialog .dialog-action-area button:first-child { @@ -4146,7 +4114,7 @@ messagedialog .dialog-action-area button.destructive-action:disabled { } messagedialog.csd { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); } messagedialog.csd.background { @@ -4158,7 +4126,7 @@ messagedialog.csd .dialog-action-area button { padding: 8px 16px; border-top: 1px solid rgba(0, 0, 0, 0.08); border-radius: 0; - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); } messagedialog.csd .dialog-action-area button:first-child { @@ -4172,7 +4140,7 @@ messagedialog.csd .dialog-action-area button:last-child { } messagedialog entry { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); } messagedialog expander title > arrow { @@ -4295,7 +4263,7 @@ stacksidebar row > label { } row image.sidebar-icon { - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); } row:selected image.sidebar-icon { @@ -4476,7 +4444,7 @@ tooltip.background.csd { border-radius: 7px; box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); background-color: rgba(63, 63, 63, 0.9); - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); } tooltip decoration { @@ -4882,7 +4850,7 @@ button.emoji-section { } button.emoji-section:hover { - box-shadow: inset 0 2px rgba(0, 0, 0, 0.26); + box-shadow: inset 0 2px rgba(0, 0, 0, 0.2); } button.emoji-section:active, button.emoji-section:checked { @@ -4980,6 +4948,10 @@ button.emoji-section:last-child { background-color: transparent; } +.nautilus-window.csd.background.unified headerbar { + background-color: transparent; +} + .nautilus-window.maximized.csd.background, .nautilus-window.maximized placessidebar, .nautilus-window.maximized notebook, .nautilus-window.maximized notebook > stack { border-radius: 0; } @@ -5011,7 +4983,7 @@ button.emoji-section:last-child { .nautilus-window placessidebar row label.sidebar-label { padding-left: 18px; - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); border-radius: 0 7px 7px 0; } @@ -5201,7 +5173,7 @@ button.emoji-section:last-child { } .disk-space-display.free { - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); } .conflict-row:not(:selected) { @@ -5233,7 +5205,7 @@ dialog.background > box.dialog-vbox.vertical > grid.horizontal > box.horizontal: * gedit * *********/ .open-document-selector-path-label { - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); font-size: smaller; } @@ -5452,7 +5424,7 @@ entry.search-missing { } window.workbench treeview.image { - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); } window.workbench treeview.image:selected { @@ -5488,7 +5460,7 @@ omnibar.linked:not(.vertical) entry { } omnibar:not(:hover):not(:active) entry { - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); } popover.omnibar list row:not(:last-child) { @@ -5584,12 +5556,12 @@ docktab { background-repeat: no-repeat; background-position: center; background-size: 0% 0%; - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); font-weight: 500; } docktab:hover { - box-shadow: inset 0 -2px rgba(0, 0, 0, 0.26); + box-shadow: inset 0 -2px rgba(0, 0, 0, 0.2); color: rgba(0, 0, 0, 0.75); } @@ -5611,7 +5583,7 @@ dockoverlayedge docktabstrip { } dockoverlayedge.left-edge docktab:hover { - box-shadow: inset -2px 0 rgba(0, 0, 0, 0.26); + box-shadow: inset -2px 0 rgba(0, 0, 0, 0.2); } dockoverlayedge.left-edge docktab:checked { @@ -5619,7 +5591,7 @@ dockoverlayedge.left-edge docktab:checked { } dockoverlayedge.right-edge docktab:hover { - box-shadow: inset 2px 0 rgba(0, 0, 0, 0.26); + box-shadow: inset 2px 0 rgba(0, 0, 0, 0.2); } dockoverlayedge.right-edge docktab:checked { @@ -5719,7 +5691,7 @@ ideeditorutilities > dzldockpaned > box > stackswitcher button:dir(ltr) { } ideeditorutilities > dzldockpaned > box > stackswitcher button:dir(ltr):hover { - box-shadow: inset -2px 0 rgba(0, 0, 0, 0.26); + box-shadow: inset -2px 0 rgba(0, 0, 0, 0.2); } ideeditorutilities > dzldockpaned > box > stackswitcher button:dir(ltr):active, ideeditorutilities > dzldockpaned > box > stackswitcher button:dir(ltr):checked { @@ -5731,7 +5703,7 @@ ideeditorutilities > dzldockpaned > box > stackswitcher button:dir(rtl) { } ideeditorutilities > dzldockpaned > box > stackswitcher button:dir(rtl):hover { - box-shadow: inset 2px 0 rgba(0, 0, 0, 0.26); + box-shadow: inset 2px 0 rgba(0, 0, 0, 0.2); } ideeditorutilities > dzldockpaned > box > stackswitcher button:dir(rtl):active, ideeditorutilities > dzldockpaned > box > stackswitcher button:dir(rtl):checked { @@ -5948,12 +5920,12 @@ window.background > box.vertical box.horizontal > box.vertical > scrolledwindow } window.background > box.vertical box.horizontal > box.vertical > scrolledwindow > viewport.frame > list row.event.activatable.compressed-row-header:hover { - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); color: #5657f5; } window.background > box.vertical box.horizontal > box.vertical > scrolledwindow > viewport.frame > list row.event.activatable.compressed-row-header:active, window.background > box.vertical box.horizontal > box.vertical > scrolledwindow > viewport.frame > list row.event.activatable.compressed-row-header:active:focus, window.background > box.vertical box.horizontal > box.vertical > scrolledwindow > viewport.frame > list row.event.activatable.compressed-row-header:checked, window.background > box.vertical box.horizontal > box.vertical > scrolledwindow > viewport.frame > list row.event.activatable.compressed-row-header:checked:focus { - background-color: rgba(0, 0, 0, 0.26); + background-color: rgba(0, 0, 0, 0.2); background-image: image(#FFFFFF); } @@ -6983,7 +6955,7 @@ stack#conversation_viewer scrolledwindow.geary-conversation-scroller > viewport. } popover.background list.geary-folder-popover-list row.activatable.geary-folder-popover-list-row label { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); } popover.background list.geary-folder-popover-list row.activatable.geary-folder-popover-list-row label:disabled { @@ -7176,7 +7148,7 @@ window#whiskermenu-window scrolledwindow > viewport button.radio:not(:disabled) } window#whiskermenu-window scrolledwindow > viewport button.radio:hover { - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); } window#whiskermenu-window scrolledwindow > viewport button.radio:checked { @@ -7359,7 +7331,7 @@ PanelToplevel.vertical > grid > button { } PanelSeparator { - color: rgba(0, 0, 0, 0.12); + color: rgba(0, 0, 0, 0.08); } MatePanelAppletFrameDBus { @@ -7380,7 +7352,7 @@ MatePanelAppletFrameDBus { } .mate-panel-menu-bar menubar > menuitem:hover { - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); color: #FFFFFF; } @@ -7531,7 +7503,7 @@ na-tray-applet { } #mate-menu button label:not(:first-child) { - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); } #mate-menu entry { @@ -7666,7 +7638,7 @@ na-tray-applet { * Budgie Desktop * ******************/ box.vertical > stack > box.vertical .raven-background > viewport.frame list > row.activatable list row.activatable button.image-button { - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); background-color: transparent; box-shadow: none; } @@ -8443,7 +8415,7 @@ frame.raven-frame > border { } .raven .raven-background > overlay > widget > image { - color: rgba(0, 0, 0, 0.12); + color: rgba(0, 0, 0, 0.08); } .raven .raven-background grid > label:first-child { @@ -8750,9 +8722,7 @@ box.vertical > stack > box.vertical .raven-background > viewport.frame list > ro background-color: transparent; } -.budgie-run-dialog list .dim-label, .budgie-run-dialog list label.separator, -.budgie-run-dialog list headerbar .subtitle, -headerbar .budgie-run-dialog list .subtitle, .budgie-run-dialog list .budgie-notification .notification-body, .budgie-notification .budgie-run-dialog list .notification-body, .budgie-run-dialog list .budgie-switcher .notification-body, .budgie-switcher .budgie-run-dialog list .notification-body { +.budgie-run-dialog list .dim-label, .budgie-run-dialog list label.separator, .budgie-run-dialog list headerbar .subtitle, headerbar .budgie-run-dialog list .subtitle, .budgie-run-dialog list .budgie-notification .notification-body, .budgie-notification .budgie-run-dialog list .notification-body, .budgie-run-dialog list .budgie-switcher .notification-body, .budgie-switcher .budgie-run-dialog list .notification-body { opacity: 1; } diff --git a/src/gtk/3.0/gtk-solid.scss b/src/gtk/3.0/gtk-solid.scss new file mode 100644 index 0000000..445be39 --- /dev/null +++ b/src/gtk/3.0/gtk-solid.scss @@ -0,0 +1,11 @@ +$variant: 'light'; +$titlebar: 'dark'; +$compact: 'true'; +$solid: 'true'; + +@import '../../_sass/variables'; +@import '../../_sass/colors'; +@import '../../_sass/gtk/drawing-3.0'; +@import '../../_sass/gtk/common-3.0'; +@import '../../_sass/gtk/apps-3.0'; +@import '../../_sass/gtk/colors-public'; diff --git a/src/gtk/gtk.css b/src/gtk/3.0/gtk.css similarity index 97% rename from src/gtk/gtk.css rename to src/gtk/3.0/gtk.css index 4107980..6a6e9d0 100644 --- a/src/gtk/gtk.css +++ b/src/gtk/3.0/gtk.css @@ -161,8 +161,7 @@ tab label:disabled, button label:disabled { color: inherit; } -.dim-label, .budgie-notification .notification-body, .budgie-switcher .notification-body, -headerbar .subtitle, label.separator { +.dim-label, .budgie-notification .notification-body, .budgie-switcher .notification-body, headerbar .subtitle, label.separator { opacity: 0.6; } @@ -253,7 +252,7 @@ popover.background.menu spinbutton:not(.vertical), spinbutton.flat:not(.vertical border-radius: 0; transition: all 100ms cubic-bezier(0, 0, 0.2, 1), border-image 225ms cubic-bezier(0, 0, 0.2, 1); border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), #5657f5 0%, transparent 0%) 0 0 0/0 0 0px; - box-shadow: inset 0 -1px rgba(0, 0, 0, 0.26); + box-shadow: inset 0 -1px rgba(0, 0, 0, 0.2); background-color: transparent; color: rgba(0, 0, 0, 0.75); } @@ -269,7 +268,7 @@ popover.background.menu .linked entry:focus, popover.background.menu entry:focus, popover.background.menu spinbutton:focus:not(.vertical), spinbutton.flat:focus:not(.vertical), entry.flat:focus { border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), #5657f5 100%, transparent 0%) 0 0 2/0 0 2px; - box-shadow: inset 0 -1px rgba(0, 0, 0, 0.26); + box-shadow: inset 0 -1px rgba(0, 0, 0, 0.2); } #login_window entry:disabled, .raven .raven-background spinbutton:disabled:not(.vertical), .budgie-popover entry:disabled, @@ -282,13 +281,13 @@ popover.background spinbutton:disabled:not(.vertical), popover.background.menu .linked entry:disabled, popover.background.menu entry:disabled, popover.background.menu spinbutton:disabled:not(.vertical), spinbutton.flat:disabled:not(.vertical), entry.flat:disabled { - box-shadow: inset 0 -1px rgba(0, 0, 0, 0.12); + box-shadow: inset 0 -1px rgba(0, 0, 0, 0.08); background-color: transparent; color: rgba(0, 0, 0, 0.38); } spinbutton:not(.vertical) image, entry image { - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); } spinbutton:not(.vertical) image:hover, spinbutton:not(.vertical) image:active, entry image:hover, entry image:active { @@ -311,7 +310,7 @@ spinbutton:not(.vertical) image.right, entry image.right { spinbutton:not(.vertical) undershoot.left, entry undershoot.left { background-color: transparent; - background-image: linear-gradient(to top, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.26) 50%); + background-image: linear-gradient(to top, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.2) 50%); padding-left: 1px; background-size: 1px 12px; background-repeat: repeat-y; @@ -321,7 +320,7 @@ spinbutton:not(.vertical) undershoot.left, entry undershoot.left { spinbutton:not(.vertical) undershoot.right, entry undershoot.right { background-color: transparent; - background-image: linear-gradient(to top, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.26) 50%); + background-image: linear-gradient(to top, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.2) 50%); padding-right: 1px; background-size: 1px 12px; background-repeat: repeat-y; @@ -362,7 +361,7 @@ spinbutton.error.flat:focus:not(.vertical), entry.error.flat:focus { } spinbutton.error.flat:disabled:not(.vertical), entry.error.flat:disabled { - box-shadow: inset 0 -1px rgba(0, 0, 0, 0.12); + box-shadow: inset 0 -1px rgba(0, 0, 0, 0.08); background-color: transparent; color: rgba(0, 0, 0, 0.38); } @@ -412,7 +411,7 @@ spinbutton.warning.flat:focus:not(.vertical), entry.warning.flat:focus { } spinbutton.warning.flat:disabled:not(.vertical), entry.warning.flat:disabled { - box-shadow: inset 0 -1px rgba(0, 0, 0, 0.12); + box-shadow: inset 0 -1px rgba(0, 0, 0, 0.08); background-color: transparent; color: rgba(0, 0, 0, 0.38); } @@ -516,7 +515,7 @@ button { background-repeat: no-repeat; background-position: center; background-size: 1000% 1000%; - color: rgba(0, 0, 0, 0.62); + color: rgba(0, 0, 0, 0.65); } @@ -573,7 +572,7 @@ button.flat { background-repeat: no-repeat; background-position: center; background-size: 1000% 1000%; - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); } .lightdm-gtk-greeter button:hover, .budgie-polkit-dialog .linked.horizontal > button:hover, @@ -618,14 +617,14 @@ button.flat:disabled { .nemo-window toolbar.primary-toolbar > toolitem > box.linked.raised > button:checked, layouttabbar button:checked, infobar.info button:checked, infobar.question button:checked, infobar.warning button:checked, infobar.error button:checked, .app-notification button:checked, actionbar > revealer > box button:checked:not(.suggested-action):not(.destructive-action):not(.server-list-button), :not(headerbar) .caja-pathbar button:checked, .caja-pathbar :not(headerbar) button:checked, :not(headerbar) .path-bar button:checked, headerbar button:checked:not(.suggested-action):not(.destructive-action), toolbar button:checked, button.flat:checked { - background-color: rgba(0, 0, 0, 0.26); + background-color: rgba(0, 0, 0, 0.2); color: rgba(0, 0, 0, 0.75); } .budgie-panel button:checked:disabled, PanelToplevel.horizontal > grid > button:checked:disabled, .mate-panel-menu-bar button:checked:disabled, .nemo-window .toolbar button:checked:disabled, .nemo-window toolbar.primary-toolbar > toolitem > box.raised > button:checked:disabled, layouttabbar button:checked:disabled, infobar.info button:checked:disabled, infobar.question button:checked:disabled, infobar.warning button:checked:disabled, infobar.error button:checked:disabled, .app-notification button:checked:disabled, actionbar > revealer > box button:checked:disabled:not(.suggested-action):not(.destructive-action):not(.server-list-button), :not(headerbar) .caja-pathbar button:checked:disabled, .caja-pathbar :not(headerbar) button:checked:disabled, :not(headerbar) .path-bar button:checked:disabled, headerbar button:checked:disabled:not(.suggested-action):not(.destructive-action), toolbar button:checked:disabled, button.flat:checked:disabled { - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); color: rgba(0, 0, 0, 0.38); } @@ -833,13 +832,10 @@ button.destructive-action.flat:checked { .raven .expander-button, .raven .raven-header:not(.top) button.image-button, widget > box.terminal-titlebar > button.image-button, widget > box.terminal-titlebar > button.image-button.toggle, .terminix-session-sidebar button.tilix-sidebar-close-button, .tilix-session-sidebar button.tilix-sidebar-close-button, .nemo-window toolbar.primary-toolbar > toolitem > box.raised > button, -.nemo-window toolbar.primary-toolbar > toolitem > box.linked.raised > button, .nautilus-window headerbar > revealer > button, .solid-csd headerbar:not(.default-decoration) button.titlebutton, headerbar button.titlebutton, .csd headerbar button.titlebutton, .csd headerbar.default-decoration button.titlebutton, +.nemo-window toolbar.primary-toolbar > toolitem > box.linked.raised > button, .nautilus-window headerbar > revealer > button, .solid-csd headerbar:not(.default-decoration) button.titlebutton, headerbar button.titlebutton, .csd headerbar button.titlebutton, headerbar.default-decoration button.titlebutton, .csd headerbar.default-decoration button.titlebutton, .titlebar button.titlebutton, .csd .titlebar button.titlebutton, .titlebar.default-decoration button.titlebutton, .csd .titlebar.default-decoration button.titlebutton, row button.image-button, check, -radio, -headerbar.default-decoration button.titlebutton, -headerbar button.suggested-action, -headerbar button.destructive-action, +radio, headerbar button.suggested-action, headerbar button.destructive-action, headerbar button:not(.suggested-action):not(.destructive-action), button.close, button.circular { @@ -950,8 +946,7 @@ button:visited { color: #E040FB; } -infobar.info *:link, infobar.question *:link, infobar.warning *:link, infobar.error *:link, -headerbar.selection-mode .subtitle:link, *:link:selected, *:selected *:link, button:selected:link, +infobar.info *:link, infobar.question *:link, infobar.warning *:link, infobar.error *:link, headerbar.selection-mode .subtitle:link, *:link:selected, *:selected *:link, button:selected:link, button:selected:visited, *:selected button:link, *:selected button:visited { color: #FFFFFF; @@ -1116,7 +1111,7 @@ popover.background.menu button.combo { font-weight: inherit; transition: all 100ms cubic-bezier(0, 0, 0.2, 1), border-image 225ms cubic-bezier(0, 0, 0.2, 1); border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), #5657f5 0%, transparent 0%) 0 0 0/0 0 0px; - box-shadow: inset 0 -1px rgba(0, 0, 0, 0.26); + box-shadow: inset 0 -1px rgba(0, 0, 0, 0.2); background-color: transparent; color: rgba(0, 0, 0, 0.75); } @@ -1136,7 +1131,7 @@ popover.background.menu button.combo:checked { #login_window #user_combobox button:disabled, .raven .raven-background button.combo:disabled, .budgie-popover button.combo:disabled, notebook > stack:not(:only-child) button.combo:disabled, popover button.combo:disabled, popover.background button.combo:disabled, popover.background.menu button.combo:disabled { - box-shadow: inset 0 -1px rgba(0, 0, 0, 0.12); + box-shadow: inset 0 -1px rgba(0, 0, 0, 0.08); color: rgba(0, 0, 0, 0.38); } @@ -1235,7 +1230,6 @@ actionbar { /*************** * Header bars * ***************/ - headerbar { transition: background-color 100ms cubic-bezier(0, 0, 0.2, 1), color 100ms cubic-bezier(0, 0, 0.2, 1); min-height: 38px; @@ -1245,49 +1239,40 @@ headerbar { color: #FFFFFF; } - headerbar:disabled :not(button) > label { color: rgba(255, 255, 255, 0.5); } - headerbar:backdrop { color: rgba(255, 255, 255, 0.7); } - headerbar:backdrop:disabled :not(button) > label { color: rgba(255, 255, 255, 0.3); } - headerbar .title { padding: 0 12px; font-weight: bold; } - headerbar .subtitle { padding: 0 12px; font-size: smaller; } - headerbar entry { background-color: #FFFFFF; } - headerbar entry:focus { background-color: white; } - headerbar .linked:not(.vertical) > entry:not(.flat) { border-radius: 7px; } - headerbar .linked:not(.vertical) > button { border-radius: 7px; -gtk-outline-radius: 7px; @@ -1355,14 +1340,11 @@ headerbar button:not(.suggested-action):not(.destructive-action):backdrop:checke color: rgba(255, 255, 255, 0.3); } - -headerbar button.suggested-action:disabled, -headerbar button.destructive-action:disabled { +headerbar button.suggested-action:disabled, headerbar button.destructive-action:disabled { background-color: rgba(255, 255, 255, 0.12); color: rgba(255, 255, 255, 0.5); } - headerbar.selection-mode { transition: background-color 0.00001s 225ms, color 225ms cubic-bezier(0, 0, 0.2, 1); animation: header_ripple_effect 225ms cubic-bezier(0, 0, 0.2, 1); @@ -1371,92 +1353,76 @@ headerbar.selection-mode { color: #FFFFFF; } - headerbar.selection-mode:backdrop { color: rgba(255, 255, 255, 0.7); } - headerbar.selection-mode button:not(.suggested-action):not(.destructive-action) { border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), currentColor 0%, transparent 0%) 0 0 0/0 0 0; color: #FFFFFF; } - headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):disabled { color: rgba(255, 255, 255, 0.5); } - headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):hover { color: #FFFFFF; } - headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):checked { border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), currentColor 100%, transparent 0%) 0 0 2/0 0 2px; color: #FFFFFF; } - headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):checked:disabled { color: rgba(255, 255, 255, 0.5); } - headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):backdrop { color: rgba(255, 255, 255, 0.7); } - headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):backdrop:disabled { color: rgba(255, 255, 255, 0.3); } - headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):backdrop:checked { color: rgba(255, 255, 255, 0.7); } - headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):backdrop:checked:disabled { color: rgba(255, 255, 255, 0.3); } - headerbar.selection-mode .selection-menu { padding-left: 16px; padding-right: 16px; } - headerbar.selection-mode .selection-menu arrow { -GtkArrow-arrow-scaling: 1; } - headerbar.selection-mode .selection-menu .arrow { -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); } - -headerbar .linked:not(.vertical).path-bar > button, -headerbar .linked:not(.vertical):not(.path-bar).stack-switcher > button { +headerbar .linked:not(.vertical).path-bar button:not(.suggested-action):not(.destructive-action), +headerbar .linked:not(.vertical):not(.path-bar).stack-switcher button:not(.suggested-action):not(.destructive-action), headerbar.windowhandle viewswitcher button:not(.suggested-action):not(.destructive-action) { padding-left: 8px; padding-right: 8px; border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), #5657f5 0%, transparent 0%) 0 0 0/0 0 0; } - -headerbar .linked:not(.vertical).path-bar > button label, -headerbar .linked:not(.vertical):not(.path-bar).stack-switcher > button label { +headerbar .linked:not(.vertical).path-bar button:not(.suggested-action):not(.destructive-action) label, +headerbar .linked:not(.vertical):not(.path-bar).stack-switcher button:not(.suggested-action):not(.destructive-action) label, headerbar.windowhandle viewswitcher button:not(.suggested-action):not(.destructive-action) label { padding-left: 8px; padding-right: 8px; } - -headerbar .linked:not(.vertical).path-bar > button:active, -headerbar .linked:not(.vertical):not(.path-bar).stack-switcher > button:active { +headerbar .linked:not(.vertical).path-bar button:not(.suggested-action):not(.destructive-action):active, +headerbar .linked:not(.vertical):not(.path-bar).stack-switcher button:not(.suggested-action):not(.destructive-action):active, headerbar.windowhandle viewswitcher button:not(.suggested-action):not(.destructive-action):active { color: #FFFFFF; background-color: transparent; box-shadow: inset 0 0 0 9999px alpha(currentColor, 0.15); @@ -1465,9 +1431,8 @@ headerbar .linked:not(.vertical):not(.path-bar).stack-switcher > button:active { border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), #5657f5 100%, transparent 0%) 0 0 2/0 0 2px; } - -headerbar .linked:not(.vertical).path-bar > button:checked, -headerbar .linked:not(.vertical):not(.path-bar).stack-switcher > button:checked { +headerbar .linked:not(.vertical).path-bar button:not(.suggested-action):not(.destructive-action):checked, +headerbar .linked:not(.vertical):not(.path-bar).stack-switcher button:not(.suggested-action):not(.destructive-action):checked, headerbar.windowhandle viewswitcher button:not(.suggested-action):not(.destructive-action):checked { color: #FFFFFF; background-color: transparent; box-shadow: none; @@ -1475,33 +1440,38 @@ headerbar .linked:not(.vertical):not(.path-bar).stack-switcher > button:checked border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), #5657f5 100%, transparent 0%) 0 0 2/0 0 2px; } - -headerbar .linked:not(.vertical).path-bar > button:checked:backdrop, -headerbar .linked:not(.vertical).path-bar > button:active:backdrop, -headerbar .linked:not(.vertical):not(.path-bar).stack-switcher > button:checked:backdrop, -headerbar .linked:not(.vertical):not(.path-bar).stack-switcher > button:active:backdrop { +headerbar .linked:not(.vertical).path-bar button:not(.suggested-action):not(.destructive-action):checked:backdrop, headerbar .linked:not(.vertical).path-bar button:not(.suggested-action):not(.destructive-action):active:backdrop, +headerbar .linked:not(.vertical):not(.path-bar).stack-switcher button:not(.suggested-action):not(.destructive-action):checked:backdrop, +headerbar .linked:not(.vertical):not(.path-bar).stack-switcher button:not(.suggested-action):not(.destructive-action):active:backdrop, headerbar.windowhandle viewswitcher button:not(.suggested-action):not(.destructive-action):checked:backdrop, headerbar.windowhandle viewswitcher button:not(.suggested-action):not(.destructive-action):active:backdrop { color: rgba(255, 255, 255, 0.7); border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), rgba(255, 255, 255, 0.5) 100%, transparent 0%) 0 0 2/0 0 2px; } - -headerbar .linked:not(.vertical).path-bar > button.text-button.image-button label, -headerbar .linked:not(.vertical):not(.path-bar).stack-switcher > button.text-button.image-button label { +headerbar .linked:not(.vertical).path-bar button:not(.suggested-action):not(.destructive-action).text-button.image-button label, +headerbar .linked:not(.vertical):not(.path-bar).stack-switcher button:not(.suggested-action):not(.destructive-action).text-button.image-button label, headerbar.windowhandle viewswitcher button:not(.suggested-action):not(.destructive-action).text-button.image-button label { padding-left: 0; padding-right: 0; } - -headerbar .linked:not(.vertical).path-bar > button.text-button.image-button image, -headerbar .linked:not(.vertical):not(.path-bar).stack-switcher > button.text-button.image-button image { +headerbar .linked:not(.vertical).path-bar button:not(.suggested-action):not(.destructive-action).text-button.image-button image, +headerbar .linked:not(.vertical):not(.path-bar).stack-switcher button:not(.suggested-action):not(.destructive-action).text-button.image-button image, headerbar.windowhandle viewswitcher button:not(.suggested-action):not(.destructive-action).text-button.image-button image { padding-left: 0; padding-right: 0; } -.tiled headerbar, .tiled-top headerbar, .tiled-right headerbar, .tiled-bottom headerbar, .tiled-left headerbar, .maximized headerbar, .fullscreen headerbar { +headerbar.windowhandle viewswitcher button:not(.suggested-action):not(.destructive-action) { + margin-top: 0; + margin-bottom: 0; border-radius: 0; } +headerbar.windowhandle viewswitcher button:not(.suggested-action):not(.destructive-action):checked { + background-color: alpha(currentColor, 0.15); +} + +.tiled headerbar, .tiled-top headerbar, .tiled-right headerbar, .tiled-bottom headerbar, .tiled-left headerbar, .maximized headerbar, .fullscreen headerbar { + border-radius: 0; +} headerbar.default-decoration { min-height: 20px; @@ -1513,7 +1483,6 @@ headerbar.default-decoration { box-shadow: none; } - headerbar.default-decoration button.titlebutton { min-height: 16px; min-width: 16px; @@ -1608,7 +1577,6 @@ window.tiled headerbar, window.tiled headerbar:first-child, window.tiled headerb border-bottom-right-radius: 0; } - headerbar separator.titlebutton { min-width: 0; min-height: 0; @@ -1672,7 +1640,7 @@ window.csd > .titlebar:not(headerbar) { * Tree Views * **************/ treeview.view { - border-left-color: rgba(0, 0, 0, 0.26); + border-left-color: rgba(0, 0, 0, 0.2); border-top-color: rgba(0, 0, 0, 0.08); } @@ -1715,7 +1683,7 @@ treeview.view:drop(active).before { treeview.view.expander { -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); -gtk-icon-transform: rotate(-90deg); - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); } treeview.view.expander:dir(rtl) { @@ -2038,7 +2006,7 @@ popover.background button.flat.combo, popover.background.menu button.flat.combo, popover button.flat, popover.background button.flat, popover.background.menu button.flat { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); background-color: transparent; } @@ -2131,7 +2099,7 @@ popover.background button.combo, popover.background.menu button.combo, popover button, popover.background button, popover.background.menu button { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); background-color: transparent; box-shadow: none; } @@ -2203,7 +2171,7 @@ popover.background.menu .linked entry:focus, popover.background.menu entry:focus, popover.background.menu spinbutton:focus:not(.vertical) { border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), #5657f5 100%, transparent 0%) 0 0 2/0 0 2px; - box-shadow: inset 0 -1px rgba(0, 0, 0, 0.26); + box-shadow: inset 0 -1px rgba(0, 0, 0, 0.2); } popover .linked entry:disabled, popover entry:disabled, @@ -2240,7 +2208,7 @@ popover.background spinbutton:not(.vertical) image, popover.background.menu .linked entry image, popover.background.menu entry image, popover.background.menu spinbutton:not(.vertical) image { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); } popover .linked entry:focus, popover entry:focus, @@ -2300,7 +2268,7 @@ popover.background.menu { padding: 2px; box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06); background-color: rgba(63, 63, 63, 0.95); - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); } popover:backdrop, @@ -2359,7 +2327,7 @@ popover.background.menu list, popover.background.menu row, popover.background.menu .view, popover.background.menu textview.view > text { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); background-color: #373737; border-color: rgba(255, 255, 255, 0.12); } @@ -2584,7 +2552,7 @@ popover.background check, popover.background radio, popover.background.menu check, popover.background.menu radio { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); transition: none; animation: none; } @@ -2662,7 +2630,7 @@ popover.background.menu separator, .csd popover.background.menu separator { popover label.separator, popover.background label.separator, popover.background.menu label.separator { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); } popover calendar, @@ -2736,7 +2704,7 @@ notebook > header.top > tabs { } notebook > header.top > tabs > tab:hover { - box-shadow: inset 0 -2px rgba(0, 0, 0, 0.26); + box-shadow: inset 0 -2px rgba(0, 0, 0, 0.2); } notebook > header.top > tabs > tab:checked { @@ -2753,7 +2721,7 @@ notebook > header.bottom > tabs { } notebook > header.bottom > tabs > tab:hover { - box-shadow: inset 0 2px rgba(0, 0, 0, 0.26); + box-shadow: inset 0 2px rgba(0, 0, 0, 0.2); } notebook > header.bottom > tabs > tab:checked { @@ -2770,7 +2738,7 @@ notebook > header.left > tabs { } notebook > header.left > tabs > tab:hover { - box-shadow: inset -2px 0 rgba(0, 0, 0, 0.26); + box-shadow: inset -2px 0 rgba(0, 0, 0, 0.2); } notebook > header.left > tabs > tab:checked { @@ -2787,7 +2755,7 @@ notebook > header.right > tabs { } notebook > header.right > tabs > tab:hover { - box-shadow: inset 2px 0 rgba(0, 0, 0, 0.26); + box-shadow: inset 2px 0 rgba(0, 0, 0, 0.2); } notebook > header.right > tabs > tab:checked { @@ -2854,11 +2822,11 @@ notebook > header tab { outline-offset: -6px; border-width: 1px; border-color: transparent; - background-image: radial-gradient(circle farthest-corner at center, rgba(0, 0, 0, 0.26) 10%, transparent 0%); + background-image: radial-gradient(circle farthest-corner at center, rgba(0, 0, 0, 0.2) 10%, transparent 0%); background-repeat: no-repeat; background-position: center; background-size: 0% 0%; - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); font-weight: 500; } @@ -2992,7 +2960,7 @@ scrollbar slider { } scrollbar slider:hover { - background-color: rgba(0, 0, 0, 0.54); + background-color: rgba(0, 0, 0, 0.55); } scrollbar slider:active { @@ -3106,14 +3074,14 @@ switch { min-width: 38px; border: 4px solid transparent; border-radius: 9999px; - background-color: rgba(0, 0, 0, 0.26); + background-color: rgba(0, 0, 0, 0.2); background-clip: padding-box; color: transparent; font-size: 0; } switch:disabled { - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); } switch:checked { @@ -3469,7 +3437,7 @@ treeview.view radio:hover:selected { treeview.view check, treeview.view radio { - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); } treeview.view check:hover, treeview.view check:active, @@ -3518,11 +3486,11 @@ scale slider { scale trough { transition: background-color 100ms cubic-bezier(0, 0, 0.2, 1); outline: none; - background-color: rgba(0, 0, 0, 0.26); + background-color: rgba(0, 0, 0, 0.2); } scale trough:disabled { - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); } scale highlight { @@ -3536,7 +3504,7 @@ scale highlight:disabled { scale fill { transition: background-color 100ms cubic-bezier(0, 0, 0.2, 1); - background-color: rgba(0, 0, 0, 0.26); + background-color: rgba(0, 0, 0, 0.2); } scale fill:disabled { @@ -3590,7 +3558,7 @@ scale value { } scale marks { - color: rgba(0, 0, 0, 0.26); + color: rgba(0, 0, 0, 0.2); } scale marks.top { @@ -3794,7 +3762,7 @@ levelbar block.full { } levelbar block.empty { - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); } /**************** @@ -3883,7 +3851,7 @@ overshoot.right { undershoot.top { background-color: transparent; - background-image: linear-gradient(to left, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.26) 50%); + background-image: linear-gradient(to left, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.2) 50%); padding-top: 1px; background-size: 12px 1px; background-repeat: repeat-x; @@ -3893,7 +3861,7 @@ undershoot.top { undershoot.bottom { background-color: transparent; - background-image: linear-gradient(to left, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.26) 50%); + background-image: linear-gradient(to left, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.2) 50%); padding-bottom: 1px; background-size: 12px 1px; background-repeat: repeat-x; @@ -3903,7 +3871,7 @@ undershoot.bottom { undershoot.left { background-color: transparent; - background-image: linear-gradient(to top, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.26) 50%); + background-image: linear-gradient(to top, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.2) 50%); padding-left: 1px; background-size: 1px 12px; background-repeat: repeat-y; @@ -3913,7 +3881,7 @@ undershoot.left { undershoot.right { background-color: transparent; - background-image: linear-gradient(to top, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.26) 50%); + background-image: linear-gradient(to top, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.2) 50%); padding-right: 1px; background-size: 1px 12px; background-repeat: repeat-y; @@ -4005,7 +3973,7 @@ expander title > arrow { min-height: 16px; -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); -gtk-icon-transform: rotate(-90deg); - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); } expander title > arrow:dir(rtl) { @@ -4059,7 +4027,7 @@ calendar.header { } calendar.highlight { - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); font-weight: 500; } @@ -4071,7 +4039,7 @@ calendar:indeterminate { * Dialogs * ***********/ messagedialog { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); } messagedialog.background { @@ -4083,7 +4051,7 @@ messagedialog .titlebar { border-style: none; box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); background-color: rgba(63, 63, 63, 0.95); - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); border-top-left-radius: 7px; border-top-right-radius: 7px; } @@ -4093,7 +4061,7 @@ messagedialog .titlebar:backdrop { } messagedialog list, messagedialog row, messagedialog .view, messagedialog textview.view > text { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); background-color: #373737; border-color: rgba(255, 255, 255, 0.12); } @@ -4102,7 +4070,7 @@ messagedialog .dialog-action-area button { padding: 4px 12px; border-top: 1px solid rgba(0, 0, 0, 0.08); border-radius: 0; - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); } messagedialog .dialog-action-area button:first-child { @@ -4146,7 +4114,7 @@ messagedialog .dialog-action-area button.destructive-action:disabled { } messagedialog.csd { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); } messagedialog.csd.background { @@ -4158,7 +4126,7 @@ messagedialog.csd .dialog-action-area button { padding: 8px 16px; border-top: 1px solid rgba(0, 0, 0, 0.08); border-radius: 0; - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); } messagedialog.csd .dialog-action-area button:first-child { @@ -4172,7 +4140,7 @@ messagedialog.csd .dialog-action-area button:last-child { } messagedialog entry { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); } messagedialog expander title > arrow { @@ -4295,7 +4263,7 @@ stacksidebar row > label { } row image.sidebar-icon { - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); } row:selected image.sidebar-icon { @@ -4476,7 +4444,7 @@ tooltip.background.csd { border-radius: 7px; box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); background-color: rgba(63, 63, 63, 0.9); - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); } tooltip decoration { @@ -4882,7 +4850,7 @@ button.emoji-section { } button.emoji-section:hover { - box-shadow: inset 0 2px rgba(0, 0, 0, 0.26); + box-shadow: inset 0 2px rgba(0, 0, 0, 0.2); } button.emoji-section:active, button.emoji-section:checked { @@ -4980,6 +4948,10 @@ button.emoji-section:last-child { background-color: transparent; } +.nautilus-window.csd.background.unified headerbar { + background-color: transparent; +} + .nautilus-window.maximized.csd.background, .nautilus-window.maximized placessidebar, .nautilus-window.maximized notebook, .nautilus-window.maximized notebook > stack { border-radius: 0; } @@ -5011,7 +4983,7 @@ button.emoji-section:last-child { .nautilus-window placessidebar row label.sidebar-label { padding-left: 18px; - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); border-radius: 0 7px 7px 0; } @@ -5201,7 +5173,7 @@ button.emoji-section:last-child { } .disk-space-display.free { - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); } .conflict-row:not(:selected) { @@ -5233,7 +5205,7 @@ dialog.background > box.dialog-vbox.vertical > grid.horizontal > box.horizontal: * gedit * *********/ .open-document-selector-path-label { - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); font-size: smaller; } @@ -5452,7 +5424,7 @@ entry.search-missing { } window.workbench treeview.image { - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); } window.workbench treeview.image:selected { @@ -5488,7 +5460,7 @@ omnibar.linked:not(.vertical) entry { } omnibar:not(:hover):not(:active) entry { - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); } popover.omnibar list row:not(:last-child) { @@ -5584,12 +5556,12 @@ docktab { background-repeat: no-repeat; background-position: center; background-size: 0% 0%; - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); font-weight: 500; } docktab:hover { - box-shadow: inset 0 -2px rgba(0, 0, 0, 0.26); + box-shadow: inset 0 -2px rgba(0, 0, 0, 0.2); color: rgba(0, 0, 0, 0.75); } @@ -5611,7 +5583,7 @@ dockoverlayedge docktabstrip { } dockoverlayedge.left-edge docktab:hover { - box-shadow: inset -2px 0 rgba(0, 0, 0, 0.26); + box-shadow: inset -2px 0 rgba(0, 0, 0, 0.2); } dockoverlayedge.left-edge docktab:checked { @@ -5619,7 +5591,7 @@ dockoverlayedge.left-edge docktab:checked { } dockoverlayedge.right-edge docktab:hover { - box-shadow: inset 2px 0 rgba(0, 0, 0, 0.26); + box-shadow: inset 2px 0 rgba(0, 0, 0, 0.2); } dockoverlayedge.right-edge docktab:checked { @@ -5719,7 +5691,7 @@ ideeditorutilities > dzldockpaned > box > stackswitcher button:dir(ltr) { } ideeditorutilities > dzldockpaned > box > stackswitcher button:dir(ltr):hover { - box-shadow: inset -2px 0 rgba(0, 0, 0, 0.26); + box-shadow: inset -2px 0 rgba(0, 0, 0, 0.2); } ideeditorutilities > dzldockpaned > box > stackswitcher button:dir(ltr):active, ideeditorutilities > dzldockpaned > box > stackswitcher button:dir(ltr):checked { @@ -5731,7 +5703,7 @@ ideeditorutilities > dzldockpaned > box > stackswitcher button:dir(rtl) { } ideeditorutilities > dzldockpaned > box > stackswitcher button:dir(rtl):hover { - box-shadow: inset 2px 0 rgba(0, 0, 0, 0.26); + box-shadow: inset 2px 0 rgba(0, 0, 0, 0.2); } ideeditorutilities > dzldockpaned > box > stackswitcher button:dir(rtl):active, ideeditorutilities > dzldockpaned > box > stackswitcher button:dir(rtl):checked { @@ -5948,12 +5920,12 @@ window.background > box.vertical box.horizontal > box.vertical > scrolledwindow } window.background > box.vertical box.horizontal > box.vertical > scrolledwindow > viewport.frame > list row.event.activatable.compressed-row-header:hover { - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); color: #5657f5; } window.background > box.vertical box.horizontal > box.vertical > scrolledwindow > viewport.frame > list row.event.activatable.compressed-row-header:active, window.background > box.vertical box.horizontal > box.vertical > scrolledwindow > viewport.frame > list row.event.activatable.compressed-row-header:active:focus, window.background > box.vertical box.horizontal > box.vertical > scrolledwindow > viewport.frame > list row.event.activatable.compressed-row-header:checked, window.background > box.vertical box.horizontal > box.vertical > scrolledwindow > viewport.frame > list row.event.activatable.compressed-row-header:checked:focus { - background-color: rgba(0, 0, 0, 0.26); + background-color: rgba(0, 0, 0, 0.2); background-image: image(#FFFFFF); } @@ -6983,7 +6955,7 @@ stack#conversation_viewer scrolledwindow.geary-conversation-scroller > viewport. } popover.background list.geary-folder-popover-list row.activatable.geary-folder-popover-list-row label { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.8); } popover.background list.geary-folder-popover-list row.activatable.geary-folder-popover-list-row label:disabled { @@ -7176,7 +7148,7 @@ window#whiskermenu-window scrolledwindow > viewport button.radio:not(:disabled) } window#whiskermenu-window scrolledwindow > viewport button.radio:hover { - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); } window#whiskermenu-window scrolledwindow > viewport button.radio:checked { @@ -7359,7 +7331,7 @@ PanelToplevel.vertical > grid > button { } PanelSeparator { - color: rgba(0, 0, 0, 0.12); + color: rgba(0, 0, 0, 0.08); } MatePanelAppletFrameDBus { @@ -7380,7 +7352,7 @@ MatePanelAppletFrameDBus { } .mate-panel-menu-bar menubar > menuitem:hover { - background-color: rgba(0, 0, 0, 0.12); + background-color: rgba(0, 0, 0, 0.08); color: #FFFFFF; } @@ -7531,7 +7503,7 @@ na-tray-applet { } #mate-menu button label:not(:first-child) { - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); } #mate-menu entry { @@ -7666,7 +7638,7 @@ na-tray-applet { * Budgie Desktop * ******************/ box.vertical > stack > box.vertical .raven-background > viewport.frame list > row.activatable list row.activatable button.image-button { - color: rgba(0, 0, 0, 0.54); + color: rgba(0, 0, 0, 0.55); background-color: transparent; box-shadow: none; } @@ -8443,7 +8415,7 @@ frame.raven-frame > border { } .raven .raven-background > overlay > widget > image { - color: rgba(0, 0, 0, 0.12); + color: rgba(0, 0, 0, 0.08); } .raven .raven-background grid > label:first-child { @@ -8750,9 +8722,7 @@ box.vertical > stack > box.vertical .raven-background > viewport.frame list > ro background-color: transparent; } -.budgie-run-dialog list .dim-label, .budgie-run-dialog list label.separator, -.budgie-run-dialog list headerbar .subtitle, -headerbar .budgie-run-dialog list .subtitle, .budgie-run-dialog list .budgie-notification .notification-body, .budgie-notification .budgie-run-dialog list .notification-body, .budgie-run-dialog list .budgie-switcher .notification-body, .budgie-switcher .budgie-run-dialog list .notification-body { +.budgie-run-dialog list .dim-label, .budgie-run-dialog list label.separator, .budgie-run-dialog list headerbar .subtitle, headerbar .budgie-run-dialog list .subtitle, .budgie-run-dialog list .budgie-notification .notification-body, .budgie-notification .budgie-run-dialog list .notification-body, .budgie-run-dialog list .budgie-switcher .notification-body, .budgie-switcher .budgie-run-dialog list .notification-body { opacity: 1; } diff --git a/src/gtk/3.0/gtk.scss b/src/gtk/3.0/gtk.scss new file mode 100644 index 0000000..783270b --- /dev/null +++ b/src/gtk/3.0/gtk.scss @@ -0,0 +1,11 @@ +$variant: 'light'; +$titlebar: 'dark'; +$compact: 'true'; +$solid: 'false'; + +@import '../../_sass/variables'; +@import '../../_sass/colors'; +@import '../../_sass/gtk/drawing-3.0'; +@import '../../_sass/gtk/common-3.0'; +@import '../../_sass/gtk/apps-3.0'; +@import '../../_sass/gtk/colors-public'; diff --git a/src/gtk/4.0/gtk-dark-solid.css b/src/gtk/4.0/gtk-dark-solid.css new file mode 100644 index 0000000..6a276af --- /dev/null +++ b/src/gtk/4.0/gtk-dark-solid.css @@ -0,0 +1,4481 @@ +@keyframes ripple_effect { + to { + background-size: 1000% 1000%; + } +} + +@keyframes scale_ripple_effect { + to { + background-size: auto, 1000% 1000%; + } +} + +@keyframes header_ripple_effect { + from { + background-image: radial-gradient(circle, #5657f5 0%, transparent 0%); + } + to { + background-image: radial-gradient(circle, #5657f5 100%, transparent 0%); + } +} + +* { + padding: 0; + background-clip: padding-box; + -gtk-secondary-caret-color: #5657f5; +} + +/*************** + * Base States * + ***************/ +.background { + background-color: #34343b; + color: #FFFFFF; +} + +.background.csd { + border-radius: 13px; + background-color: #34343b; +} + +.background.maximized, .background.tiled, .background.fullscreen, .background.solid-csd { + border-radius: 0; +} + +dnd { + color: #FFFFFF; +} + +.normal-icons { + -gtk-icon-size: 16px; +} + +.large-icons { + -gtk-icon-size: 32px; +} + +spinner:disabled, +arrow:disabled, +scrollbar:disabled, +check:disabled, +radio:disabled, +treeview.expander:disabled { + -gtk-icon-filter: opacity(0.5); +} + +filechooser stack.view scrolledwindow treeview.view, iconview, .view { + background-color: #31313a; + color: #FFFFFF; +} + +filechooser stack.view scrolledwindow treeview.view:disabled, iconview:disabled, .view:disabled { + color: rgba(255, 255, 255, 0.5); +} + +textview > text { + background-color: #31313a; +} + +textview > border { + background-color: #3b3b43; + color: rgba(255, 255, 255, 0.5); +} + +textview:drop(active) { + caret-color: #FFA726; +} + +iconview { + border-radius: 5px; +} + +iconview > dndtarget:drop(active) { + border: none; +} + +rubberband, .content-view > rubberband, columnview.view > rubberband, +treeview.view > rubberband, gridview > rubberband, flowbox > rubberband { + border: 1px solid #5C6BC0; + background-color: rgba(92, 107, 192, 0.3); +} + +flowbox > flowboxchild { + padding: 4px; + border-radius: 7px; +} + +gridview > child { + padding: 3px; +} + +gridview > child box { + border-spacing: 8px; + margin: 12px; +} + +coverflow cover { + color: #FFFFFF; + background-color: #31313a; + border: none; +} + +label.separator { + color: #FFFFFF; +} + +label > selection { + background-color: #5657f5; + color: #FFFFFF; +} + +.dim-label, headerbar .subtitle, spinbutton:not(.vertical) > text > placeholder, entry > text > placeholder, label.separator { + opacity: 0.6; +} + +window.assistant .sidebar { + padding: 4px 0; +} + +window.assistant.csd .sidebar { + border-top-style: none; +} + +window.assistant .sidebar label { + min-height: 32px; + padding: 0 12px; + color: rgba(255, 255, 255, 0.5); + font-weight: 500; +} + +window.assistant .sidebar label.highlight { + color: #FFFFFF; +} + +window.aboutdialog image.large-icons { + -gtk-icon-size: 128px; +} + +.osd .scale-popup, .app-notification, popover.background.touch-selection, popover.background.magnifier, popover.background.osd, .osd { + color: rgba(255, 255, 255, 0.8); + border: none; + background-color: rgba(37, 37, 45, 0.85); + background-clip: padding-box; + border-radius: 8px; + padding: 6px; + margin: 6px; + box-shadow: 0 14px 14px rgba(0, 0, 0, 0.25), 0 10px 5px rgba(0, 0, 0, 0.22); +} + +/********************* + * Spinner Animation * + *********************/ +@keyframes spin { + to { + transform: rotate(1turn); + } +} + +spinner { + background: none; + opacity: 0; + -gtk-icon-source: -gtk-icontheme("process-working-symbolic"); +} + +spinner:checked { + opacity: 1; + animation: spin 1s linear infinite; +} + +spinner:checked:disabled { + opacity: 0.5; +} + +.large-title { + font-weight: 300; + font-size: 24pt; +} + +.title-1 { + font-weight: 800; + font-size: 20pt; +} + +.title-2 { + font-weight: 800; + font-size: 15pt; +} + +.title-3 { + font-weight: 700; + font-size: 15pt; +} + +.title-4 { + font-weight: 700; + font-size: 13pt; +} + +.heading { + font-weight: 700; + font-size: 11pt; +} + +.body { + font-weight: 400; + font-size: 11pt; +} + +.caption-heading { + font-weight: 700; + font-size: 9pt; +} + +.caption { + font-weight: 400; + font-size: 9pt; +} + +/**************** + * Text Entries * + ****************/ +spinbutton:not(.vertical), entry { + min-height: 32px; + padding: 0 8px; + border-radius: 7px; + transition: all 100ms cubic-bezier(0, 0, 0.2, 1); + border-image: none; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1); + background-color: #44454b; + color: #FFFFFF; +} + +spinbutton:focus-within:not(.vertical), entry:focus-within { + border-image: none; + box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06); +} + +spinbutton:disabled:not(.vertical), entry:disabled { + box-shadow: none; + background-color: #3b3b43; + color: rgba(255, 255, 255, 0.5); +} + +colorchooser .popover.osd spinbutton:not(.vertical), window.dialog.message entry, notebook > stack:not(:only-child) entry:not(.search), +notebook > stack:not(:only-child) spinbutton:not(.vertical), popover.background .linked entry, popover.background entry, +popover.background spinbutton:not(.vertical), spinbutton.flat:not(.vertical), entry.flat { + border-radius: 0; + transition: all 100ms cubic-bezier(0, 0, 0.2, 1), box-shadow 225ms cubic-bezier(0, 0, 0.2, 1); + box-shadow: inset 0 -1px rgba(255, 255, 255, 0.2), inset 0 -2px transparent; + background-color: transparent; + color: #FFFFFF; +} + +colorchooser .popover.osd spinbutton:focus-within:not(.vertical), window.dialog.message entry:focus-within, notebook > stack:not(:only-child) entry:focus-within:not(.search), +notebook > stack:not(:only-child) spinbutton:focus-within:not(.vertical), popover.background entry:focus-within, +popover.background spinbutton:focus-within:not(.vertical), spinbutton.flat:focus-within:not(.vertical), entry.flat:focus-within { + box-shadow: inset 0 -1px transparent, inset 0 -2px #5657f5; +} + +colorchooser .popover.osd spinbutton:disabled:not(.vertical), window.dialog.message entry:disabled, notebook > stack:not(:only-child) entry:disabled:not(.search), +notebook > stack:not(:only-child) spinbutton:disabled:not(.vertical), popover.background entry:disabled, +popover.background spinbutton:disabled:not(.vertical), spinbutton.flat:disabled:not(.vertical), entry.flat:disabled { + box-shadow: inset 0 -1px rgba(255, 255, 255, 0.08), inset 0 -2px transparent; + background-color: transparent; + color: rgba(255, 255, 255, 0.5); +} + +spinbutton:not(.vertical) image, entry image { + color: rgba(255, 255, 255, 0.7); +} + +spinbutton:not(.vertical) image:hover, spinbutton:not(.vertical) image:active, entry image:hover, entry image:active { + color: #FFFFFF; +} + +spinbutton:not(.vertical) image:disabled, entry image:disabled { + color: rgba(255, 255, 255, 0.5); +} + +spinbutton:not(.vertical) image.left, entry image.left { + margin-left: 0px; + margin-right: 6px; +} + +spinbutton:not(.vertical) image.right, entry image.right { + margin-left: 6px; + margin-right: 0px; +} + +spinbutton:focus-within:not(.vertical) > placeholder, entry:focus-within > placeholder { + opacity: 0; +} + +spinbutton:not(.vertical) > text > block-cursor, entry > text > block-cursor { + color: #31313a; + background-color: #FFFFFF; +} + +spinbutton:not(.vertical) undershoot.left, entry undershoot.left { + background-color: transparent; + background-image: linear-gradient(to top, rgba(49, 49, 58, 0.3) 50%, rgba(255, 255, 255, 0.2) 50%); + padding-left: 1px; + background-size: 1px 12px; + background-repeat: repeat-y; + background-origin: content-box; + background-position: left top; +} + +spinbutton:not(.vertical) undershoot.right, entry undershoot.right { + background-color: transparent; + background-image: linear-gradient(to top, rgba(49, 49, 58, 0.3) 50%, rgba(255, 255, 255, 0.2) 50%); + padding-right: 1px; + background-size: 1px 12px; + background-repeat: repeat-y; + background-origin: content-box; + background-position: right top; +} + +spinbutton.password:not(.vertical) image.caps-lock-indicator, entry.password image.caps-lock-indicator { + color: rgba(255, 255, 255, 0.3); +} + +spinbutton.error:not(.vertical), entry.error { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1); + border-image: none; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1); + background-color: #DD2C00; + color: #FFFFFF; +} + +spinbutton.error:focus-within:not(.vertical), entry.error:focus-within { + border-image: none; + box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06); +} + +spinbutton.error:disabled:not(.vertical), entry.error:disabled { + box-shadow: none; + background-color: #3b3b43; + color: rgba(255, 255, 255, 0.5); +} + +spinbutton.error.flat:not(.vertical), entry.error.flat { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1), box-shadow 225ms cubic-bezier(0, 0, 0.2, 1); + box-shadow: inset 0 -1px #DD2C00, inset 0 -2px transparent; + background-color: transparent; + color: #FFFFFF; +} + +spinbutton.error.flat:focus-within:not(.vertical), entry.error.flat:focus-within { + box-shadow: inset 0 -1px transparent, inset 0 -2px #DD2C00; +} + +spinbutton.error.flat:disabled:not(.vertical), entry.error.flat:disabled { + box-shadow: inset 0 -1px rgba(255, 255, 255, 0.08), inset 0 -2px transparent; + background-color: transparent; + color: rgba(255, 255, 255, 0.5); +} + +spinbutton.error:not(.vertical) image, entry.error image { + color: rgba(255, 255, 255, 0.7); +} + +spinbutton.error:not(.vertical) image:hover, spinbutton.error:not(.vertical) image:active, entry.error image:hover, entry.error image:active { + color: #FFFFFF; +} + +spinbutton.error:not(.vertical) image:disabled, entry.error image:disabled { + color: rgba(255, 255, 255, 0.5); +} + +spinbutton.warning:not(.vertical), entry.warning { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1); + border-image: none; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1); + background-color: #FF6D00; + color: #FFFFFF; +} + +spinbutton.warning:focus-within:not(.vertical), entry.warning:focus-within { + border-image: none; + box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06); +} + +spinbutton.warning:disabled:not(.vertical), entry.warning:disabled { + box-shadow: none; + background-color: #3b3b43; + color: rgba(255, 255, 255, 0.5); +} + +spinbutton.warning.flat:not(.vertical), entry.warning.flat { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1), box-shadow 225ms cubic-bezier(0, 0, 0.2, 1); + box-shadow: inset 0 -1px #FF6D00, inset 0 -2px transparent; + background-color: transparent; + color: #FFFFFF; +} + +spinbutton.warning.flat:focus-within:not(.vertical), entry.warning.flat:focus-within { + box-shadow: inset 0 -1px transparent, inset 0 -2px #FF6D00; +} + +spinbutton.warning.flat:disabled:not(.vertical), entry.warning.flat:disabled { + box-shadow: inset 0 -1px rgba(255, 255, 255, 0.08), inset 0 -2px transparent; + background-color: transparent; + color: rgba(255, 255, 255, 0.5); +} + +spinbutton.warning:not(.vertical) image, entry.warning image { + color: rgba(255, 255, 255, 0.7); +} + +spinbutton.warning:not(.vertical) image:hover, spinbutton.warning:not(.vertical) image:active, entry.warning image:hover, entry.warning image:active { + color: #FFFFFF; +} + +spinbutton.warning:not(.vertical) image:disabled, entry.warning image:disabled { + color: rgba(255, 255, 255, 0.5); +} + +spinbutton:not(.vertical) > progress, entry > progress { + margin: 2px -6px; +} + +spinbutton:not(.vertical) progress > trough > progress, entry progress > trough > progress { + background-color: transparent; + background-image: none; + border-radius: 0; + border-bottom: 2px solid #5657f5; + box-shadow: none; +} + +.linked:not(.vertical) > spinbutton.flat:not(.vertical), .linked.vertical > spinbutton.flat:not(.vertical), .linked:not(.vertical) > entry.flat, .linked.vertical > entry.flat { + border-radius: 0; +} + +notebook > stack:not(:only-child) treeview entry:not(.search), +notebook > stack:not(:only-child) treeview spinbutton:not(.vertical), +treeview entry { + min-height: 0; + padding: 2px; + border-radius: 0; + background-color: #31313a; +} + +notebook > stack:not(:only-child) treeview entry:not(.search), +notebook > stack:not(:only-child) treeview spinbutton:not(.vertical), +treeview entry { + border-image: none; + box-shadow: none; +} + +editablelabel > stack > text { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1); + border-image: none; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1); + background-color: #44454b; + color: #FFFFFF; +} + +.entry-tag { + margin: 2px; + border-radius: 9999px; + box-shadow: none; + background-color: #5657f5; + color: #FFFFFF; +} + +.entry-tag:hover { + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1); +} + +:dir(ltr) .entry-tag { + margin-left: 4px; + margin-right: 0; + padding-left: 12px; + padding-right: 8px; +} + +:dir(rtl) .entry-tag { + margin-left: 0; + margin-right: 4px; + padding-left: 8px; + padding-right: 12px; +} + +.entry-tag.button { + box-shadow: none; + background-color: transparent; +} + +.entry-tag.button:not(:hover):not(:active) { + color: rgba(255, 255, 255, 0.7); +} + +/*********** + * Buttons * + ***********/ +@keyframes needs_attention { + from { + background-image: radial-gradient(farthest-side, #9e9ff9 0%, rgba(158, 159, 249, 0) 0%); + } + to { + background-image: radial-gradient(farthest-side, #9e9ff9 95%, rgba(158, 159, 249, 0)); + } +} + + +button { + min-height: 24px; + min-width: 16px; + padding: 4px 8px; + border-radius: 7px; + font-weight: 500; + transition: 100ms; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1), inset 0 0 0 9999px transparent; + background-color: #44454b; + color: rgba(255, 255, 255, 0.8); +} + + +button:hover { + box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06), inset 0 0 0 9999px transparent; + color: #FFFFFF; +} + + +button:active { + box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06), inset 0 0 0 9999px alpha(currentColor, 0.15); + color: #FFFFFF; +} + + +button:disabled { + box-shadow: none; + background-color: #3b3b43; + color: rgba(255, 255, 255, 0.3); +} + + +button:checked { + background-color: #5657f5; + color: #FFFFFF; + background-image: linear-gradient(to bottom, #6C6AF2, #4648FB); + background-size: auto auto; + background-position: center center; + background-repeat: no-repeat; +} + + +button:checked:disabled { + background-color: rgba(86, 87, 245, 0.3); + color: rgba(86, 87, 245, 0.5); + background-image: none; +} + +placessidebar .navigation-sidebar > row button.sidebar-button, window.dialog.message.csd .linked.dialog-action-area:not(.vertical) > button, window.dialog.message .linked.dialog-action-area:not(.vertical) > button, check, +radio, scrollbar button, notebook > header > tabs > arrow, spinbutton.vertical button, spinbutton:not(.vertical) button, infobar.info button, infobar.question button, infobar.warning button, infobar.error button, .app-notification button, actionbar > revealer > box button:not(.suggested-action):not(.destructive-action):not(.server-list-button), modelbutton.flat, popover.menu box.circular-buttons button.circular.image-button.model, popover.menu box.inline-buttons button.image-button.model, +pathbar > button, +headerbar button:not(.suggested-action):not(.destructive-action), +toolbar button, .toolbar button, +button.flat { + transition: 100ms; + box-shadow: inset 0 0 0 9999px transparent; + background-color: transparent; + color: rgba(255, 255, 255, 0.7); +} + +placessidebar .navigation-sidebar > row button.sidebar-button:hover, window.dialog.message .linked:not(.vertical).dialog-action-area > button:hover, check:hover, +radio:hover, scrollbar button:hover, notebook > header > tabs > arrow:hover, spinbutton.vertical button:hover, spinbutton:not(.vertical) button:hover, infobar.info button:hover, infobar.question button:hover, infobar.warning button:hover, infobar.error button:hover, .app-notification button:hover, actionbar > revealer > box button:hover:not(.suggested-action):not(.destructive-action):not(.server-list-button), modelbutton.flat:hover, popover.menu box.circular-buttons button.circular.image-button.model:hover, popover.menu box.inline-buttons button.image-button.model:hover, +pathbar > button:hover, +headerbar button:hover:not(.suggested-action):not(.destructive-action), +toolbar button:hover, .toolbar button:hover, +button.flat:hover { + box-shadow: inset 0 0 0 9999px alpha(currentColor, 0.15); + color: #FFFFFF; +} + +placessidebar .navigation-sidebar > row button.sidebar-button:active, window.dialog.message .linked:not(.vertical).dialog-action-area > button:active, check:active, +radio:active, scrollbar button:active, notebook > header > tabs > arrow:active, spinbutton.vertical button:active, spinbutton:not(.vertical) button:active, infobar.info button:active, infobar.question button:active, infobar.warning button:active, infobar.error button:active, .app-notification button:active, actionbar > revealer > box button:active:not(.suggested-action):not(.destructive-action):not(.server-list-button), modelbutton.flat:active, popover.menu box.circular-buttons button.circular.image-button.model:active, popover.menu box.inline-buttons button.image-button.model:active, +pathbar > button:active, +headerbar button:active:not(.suggested-action):not(.destructive-action), +toolbar button:active, .toolbar button:active, +button.flat:active { + box-shadow: inset 0 0 0 9999px alpha(currentColor, 0.3); + color: #FFFFFF; +} + +placessidebar .navigation-sidebar > row button.sidebar-button:disabled, window.dialog.message .linked:not(.vertical).dialog-action-area > button:disabled, check:disabled, +radio:disabled, scrollbar button:disabled, notebook > header > tabs > arrow:disabled, spinbutton.vertical button:disabled, spinbutton:not(.vertical) button:disabled, infobar.info button:disabled, infobar.question button:disabled, infobar.warning button:disabled, infobar.error button:disabled, .app-notification button:disabled, actionbar > revealer > box button:disabled:not(.suggested-action):not(.destructive-action):not(.server-list-button), modelbutton.flat:disabled, popover.menu box.circular-buttons button.circular.image-button.model:disabled, popover.menu box.inline-buttons button.image-button.model:disabled, +pathbar > button:disabled, +headerbar button:disabled:not(.suggested-action):not(.destructive-action), +toolbar button:disabled, .toolbar button:disabled, +button.flat:disabled { + box-shadow: none; + background-color: transparent; + color: rgba(255, 255, 255, 0.3); +} + +infobar.info button:checked, infobar.question button:checked, infobar.warning button:checked, infobar.error button:checked, .app-notification button:checked, actionbar > revealer > box button:checked:not(.suggested-action):not(.destructive-action):not(.server-list-button), modelbutton.flat:checked, popover.menu box.circular-buttons button.circular.image-button.model:checked, popover.menu box.inline-buttons button.image-button.model:checked, +pathbar > button:checked, +headerbar button:checked:not(.suggested-action):not(.destructive-action), +toolbar button:checked, .toolbar button:checked, +button.flat:checked { + background-color: rgba(255, 255, 255, 0.2); + color: #FFFFFF; +} + +infobar.info button:checked:disabled, infobar.question button:checked:disabled, infobar.warning button:checked:disabled, infobar.error button:checked:disabled, .app-notification button:checked:disabled, actionbar > revealer > box button:checked:disabled:not(.suggested-action):not(.destructive-action):not(.server-list-button), modelbutton.flat:checked:disabled, popover.menu box.circular-buttons button.circular.image-button.model:checked:disabled, popover.menu box.inline-buttons button.image-button.model:checked:disabled, +pathbar > button:checked:disabled, +headerbar button:checked:disabled:not(.suggested-action):not(.destructive-action), +toolbar button:checked:disabled, .toolbar button:checked:disabled, +button.flat:checked:disabled { + background-color: rgba(255, 255, 255, 0.08); + color: rgba(255, 255, 255, 0.5); +} + + +button.text-button { + padding-left: 16px; + padding-right: 16px; +} + + +button.image-button { + min-width: 24px; + padding: 4px; +} + + +button.text-button.image-button label:first-child { + margin-left: 12px; +} + + +button.text-button.image-button label:last-child { + margin-right: 12px; +} + + +button.text-button.image-button image:not(:only-child) { + margin: 0 4px; +} + +.linked > button.flat, .linked.vertical > button.flat { + border-radius: 7px; +} + +.linked > button.flat.image-button, .linked > button.flat.text-button.image-button, .linked.vertical > button.flat.image-button, .linked.vertical > button.flat.text-button.image-button { + border-radius: 7px; +} + +row:selected button:disabled { + background-color: rgba(255, 255, 255, 0.12); + color: rgba(255, 255, 255, 0.3); +} + +infobar.info button, infobar.question button, infobar.warning button, infobar.error button, row:selected button.flat { + color: rgba(255, 255, 255, 0.7); +} + +infobar.info button:hover, infobar.question button:hover, infobar.warning button:hover, infobar.error button:hover, infobar.info button:active, infobar.question button:active, infobar.warning button:active, infobar.error button:active, row:selected button.flat:hover, row:selected button.flat:active { + color: #FFFFFF; +} + +infobar.info button:disabled, infobar.question button:disabled, infobar.warning button:disabled, infobar.error button:disabled, row:selected button.flat:disabled { + color: rgba(255, 255, 255, 0.3); +} + +infobar.info button:checked, infobar.question button:checked, infobar.warning button:checked, infobar.error button:checked, row:selected button.flat:checked { + background-color: rgba(255, 255, 255, 0.3); + color: #FFFFFF; +} + +infobar.info button:checked:disabled, infobar.question button:checked:disabled, infobar.warning button:checked:disabled, infobar.error button:checked:disabled, row:selected button.flat:checked:disabled { + background-color: rgba(255, 255, 255, 0.12); + color: rgba(255, 255, 255, 0.5); +} + + +button.osd { + padding: 7px 11px; +} + + +button.osd.image-button { + padding: 7px; +} + + +button.osd:disabled { + opacity: 0; +} + + +button.suggested-action { + background-color: #7C4DFF; + color: #FFFFFF; + background-image: linear-gradient(to bottom, #4FC3F7, #42A5F5); + background-size: auto auto; + background-position: center center; + background-repeat: no-repeat; +} + + +button.suggested-action:disabled { + box-shadow: none; + background-color: #3b3b43; + color: rgba(255, 255, 255, 0.5); + background-image: none; +} + + +button.suggested-action:checked { + background-color: #a382ff; +} + + +button.suggested-action.flat { + background-color: transparent; + color: #7C4DFF; + background-image: none; +} + + +button.suggested-action.flat:disabled { + box-shadow: none; + background-color: transparent; + color: rgba(255, 255, 255, 0.5); + background-image: none; +} + + +button.suggested-action.flat:checked { + background-image: none; + background-color: rgba(124, 77, 255, 0.3); +} + + +button.destructive-action { + background-color: #FF5252; + color: #FFFFFF; + background-image: linear-gradient(to bottom, #EF5350, #FF5252); + background-size: auto auto; + background-position: center center; + background-repeat: no-repeat; +} + + +button.destructive-action:disabled { + box-shadow: none; + background-color: #3b3b43; + color: rgba(255, 255, 255, 0.5); + background-image: none; +} + + +button.destructive-action:checked { + background-color: #ff8686; +} + + +button.destructive-action.flat { + background-color: transparent; + color: #FF5252; + background-image: none; +} + + +button.destructive-action.flat:disabled { + box-shadow: none; + background-color: transparent; + color: rgba(255, 255, 255, 0.5); + background-image: none; +} + + +button.destructive-action.flat:checked { + background-image: none; + background-color: rgba(255, 82, 82, 0.3); +} + +stackswitcher > button { + outline-offset: -4px; +} + +stackswitcher > button > label { + padding-left: 6px; + padding-right: 6px; +} + +stackswitcher > button > image { + padding-left: 6px; + padding-right: 6px; + padding-top: 3px; + padding-bottom: 3px; +} + +stackswitcher > button.text-button { + padding-left: 10px; + padding-right: 10px; +} + +stackswitcher > button.image-button { + padding-left: 2px; + padding-right: 2px; +} + +stackswitcher > button.needs-attention:checked > label, +stackswitcher > button.needs-attention:checked > image { + animation: none; + background-image: none; +} + +.primary-toolbar button { + -gtk-icon-shadow: none; +} + +headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action), row button.image-button, check, +radio, popover.menu box.circular-buttons button.circular.image-button.model, headerbar.default-decoration windowcontrols button, headerbar button.suggested-action, headerbar button.destructive-action, +headerbar button:not(.suggested-action):not(.destructive-action), +button.close, +button.circular, +button.round-button { + border-radius: 9999px; +} + +placessidebar .navigation-sidebar > row button.sidebar-button, notebook > header tab button.flat, spinbutton:not(.vertical) button { + min-height: 20px; + min-width: 20px; + padding: 0; + border-radius: 9999px; +} + +stacksidebar row.needs-attention > label, stackswitcher > button.needs-attention > label, +stackswitcher > button.needs-attention > image { + animation: needs_attention 225ms cubic-bezier(0, 0, 0.2, 1) forwards; + background-repeat: no-repeat; + background-position: right 3px; + background-size: 6px 6px; +} + +stacksidebar row.needs-attention > label:dir(rtl), stackswitcher > button.needs-attention > label:dir(rtl), +stackswitcher > button.needs-attention > image:dir(rtl) { + background-position: left 3px; +} + +.linked:not(.vertical) > combobox > box > button.combo, row .linked button, .linked:not(.vertical) > spinbutton:not(.vertical), .linked:not(.vertical) > entry, .linked > button { + border-radius: 0; +} + +row .linked button:first-child, .linked:not(.vertical) > spinbutton:first-child:not(.vertical), .linked:not(.vertical) > entry:first-child, .linked > button:first-child { + border-top-left-radius: 7px; + border-bottom-left-radius: 7px; +} + +row .linked button:last-child, .linked:not(.vertical) > spinbutton:last-child:not(.vertical), .linked:not(.vertical) > entry:last-child, .linked > button:last-child { + border-top-right-radius: 7px; + border-bottom-right-radius: 7px; +} + +row .linked button:only-child, .linked:not(.vertical) > spinbutton:only-child:not(.vertical), .linked:not(.vertical) > entry:only-child, .linked > button:only-child { + border-radius: 7px; +} + +.linked.vertical > combobox > box > button.combo, .linked.vertical > spinbutton:not(.vertical), .linked.vertical > entry, .linked.vertical > button { + border-radius: 0; +} + +.linked.vertical > spinbutton:first-child:not(.vertical), .linked.vertical > entry:first-child, .linked.vertical > button:first-child { + border-top-left-radius: 7px; + border-top-right-radius: 7px; +} + +.linked.vertical > spinbutton:last-child:not(.vertical), .linked.vertical > entry:last-child, .linked.vertical > button:last-child { + border-bottom-left-radius: 7px; + border-bottom-right-radius: 7px; +} + +.linked.vertical > spinbutton:only-child:not(.vertical), .linked.vertical > entry:only-child, .linked.vertical > button:only-child { + border-radius: 7px; +} + +.toolbar button { + margin: 1px; +} + +button.color { + min-height: 20px; + min-width: 20px; + padding: 4px; +} + +button.color > colorswatch:only-child, button.color > colorswatch:only-child > overlay { + border-radius: 0; +} + +/********* + * Links * + *********/ +button.link, +link { + color: #5657f5; +} + +button.link:visited, +link:visited, +link:visited:hover, +link:visited:active { + color: #E040FB; +} + +infobar.info *:link, infobar.question *:link, infobar.warning *:link, infobar.error *:link, headerbar.selection-mode .subtitle:link, button.link:selected, *:selected button.link, +link:selected, *:selected link { + color: #FFFFFF; +} + +button.link > label { + text-decoration-line: underline; +} + +/***************** + * GtkSpinButton * + *****************/ +spinbutton { + font-feature-settings: "tnum"; +} + +spinbutton > text > block-cursor { + background-color: #FFFFFF; + color: #31313a; +} + +spinbutton:not(.vertical) { + padding: 0; +} + +notebook > stack:not(:only-child) spinbutton:not(.vertical) entry, notebook > stack:not(:only-child) spinbutton:not(.vertical) entry:focus, notebook > stack:not(:only-child) spinbutton:not(.vertical) entry:disabled, +spinbutton:not(.vertical) text { + min-width: 22px; + margin: 0; + padding-left: 12px; + border-image: none; + border-radius: 0; + box-shadow: none; + background-color: transparent; +} + +spinbutton:not(.vertical) button { + border: solid 6px transparent; +} + +spinbutton:not(.vertical) button.up:dir(ltr), spinbutton:not(.vertical) button.down:dir(rtl) { + margin-left: -3px; +} + +spinbutton:not(.vertical) button.up:dir(rtl), spinbutton:not(.vertical) button.down:dir(ltr) { + margin-right: -3px; +} + +spinbutton.vertical { + background-color: rgba(255, 255, 255, 0.08); + border-radius: 7px; +} + +spinbutton.vertical:disabled { + color: rgba(255, 255, 255, 0.5); +} + +spinbutton.vertical:drop(active) { + box-shadow: none; +} + +spinbutton.vertical text { + min-height: 32px; + min-width: 38px; + padding: 0; +} + +spinbutton.vertical button { + min-height: 32px; + min-width: 38px; + padding: 0; +} + +spinbutton.vertical button.up { + border-radius: 7px 7px 0 0; +} + +spinbutton.vertical button.down { + border-radius: 0 0 7px 7px; +} + +treeview spinbutton:not(.vertical) { + min-height: 0; + border-style: none; + border-radius: 0; +} + +treeview spinbutton:not(.vertical) text { + min-height: 0; + padding: 1px 2px; +} + +/************** + * ComboBoxes * + **************/ +dropdown > popover.menu.background > contents { + padding: 0; +} + +dropdown > button > box { + border-spacing: 6px; +} + +dropdown arrow, +combobox arrow { + -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); + min-height: 16px; + min-width: 16px; +} + +dropdown > popover.menu > contents modelbutton, +combobox > popover.menu > contents modelbutton { + padding-left: 10px; + padding-right: 10px; +} + +dropdown button.combo:checked, +combobox button.combo:checked { + transition: none; +} + +dropdown button.combo cellview:dir(ltr), +combobox button.combo cellview:dir(ltr) { + margin-left: 0px; +} + +dropdown button.combo cellview:dir(rtl), +combobox button.combo cellview:dir(rtl) { + margin-right: 0px; +} + +dropdown.linked button:nth-child(2):dir(ltr), +combobox.linked button:nth-child(2):dir(ltr) { + border-top-left-radius: 7px; + border-bottom-left-radius: 7px; +} + +dropdown.linked button:nth-child(2):dir(rtl), +combobox.linked button:nth-child(2):dir(rtl) { + border-top-right-radius: 7px; + border-bottom-right-radius: 7px; +} + +dropdown:drop(active), +combobox:drop(active) { + box-shadow: none; +} + +dropdown popover, +combobox popover { + margin-top: 6px; + padding: 0; +} + +dropdown popover listview, +combobox popover listview { + margin: 6px 0; +} + +dropdown popover listview > row, +combobox popover listview > row { + padding: 6px; +} + +dropdown popover .dropdown-searchbar, +combobox popover .dropdown-searchbar { + padding: 6px; + border-bottom: 1px solid rgba(255, 255, 255, 0.08); +} + +.linked:not(.vertical) > combobox:first-child > box > button.combo { + border-top-left-radius: 7px; + border-bottom-left-radius: 7px; +} + +.linked:not(.vertical) > combobox:last-child > box > button.combo { + border-bottom-right-radius: 7px; + border-top-right-radius: 7px; +} + +.linked:not(.vertical) > combobox:only-child > box > button.combo { + border-radius: 7px; +} + +.linked.vertical > combobox:first-child > box > button.combo { + border-top-left-radius: 7px; + border-top-right-radius: 7px; +} + +.linked.vertical > combobox:last-child > box > button.combo { + border-bottom-left-radius: 7px; + border-bottom-right-radius: 7px; +} + +.linked.vertical > combobox:only-child > box > button.combo { + border-radius: 7px; +} + +notebook > stack:not(:only-child) button.combo, popover.background button.combo { + border-radius: 0; + background-image: none; + font-weight: inherit; + transition: all 100ms cubic-bezier(0, 0, 0.2, 1), box-shadow 225ms cubic-bezier(0, 0, 0.2, 1); + box-shadow: inset 0 -1px rgba(255, 255, 255, 0.2), inset 0 -2px transparent; + background-color: transparent; + color: #FFFFFF; +} + +notebook > stack:not(:only-child) button.combo:hover, popover.background button.combo:hover { + box-shadow: inset 0 -2px rgba(255, 255, 255, 0.5); +} + +notebook > stack:not(:only-child) button.combo:checked, popover.background button.combo:checked { + box-shadow: inset 0 -2px #5657f5; +} + +notebook > stack:not(:only-child) button.combo:disabled, popover.background button.combo:disabled { + box-shadow: inset 0 -1px rgba(255, 255, 255, 0.08); + color: rgba(255, 255, 255, 0.5); +} + +/************ + * Toolbars * + ************/ +.toolbar, +toolbar { + padding: 2px; + background-color: #34343b; +} + +.osd .toolbar, .osd toolbar { + background-color: transparent; +} + +.app-notification, .toolbar.osd, +toolbar.osd { + transition: box-shadow 100ms cubic-bezier(0, 0, 0.2, 1); + padding: 4px; + border-radius: 7px; + box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06), inset 0 1px rgba(255, 255, 255, 0.1); + background-color: #31313a; +} + +.app-notification:backdrop, .toolbar.osd:backdrop, +toolbar.osd:backdrop { + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1), inset 0 1px rgba(255, 255, 255, 0.1); +} + +.left.app-notification, .right.app-notification, .top.app-notification, .bottom.app-notification, .toolbar.osd.left, .toolbar.osd.right, .toolbar.osd.top, .toolbar.osd.bottom, +toolbar.osd.left, +toolbar.osd.right, +toolbar.osd.top, +toolbar.osd.bottom { + border-radius: 0; +} + +.toolbar.horizontal > separator, +toolbar.horizontal > separator { + margin: 2px; +} + +.toolbar.vertical > separator, +toolbar.vertical > separator { + margin: 2px; +} + +.toolbar:not(.inline-toolbar):not(.osd) scale, +.toolbar:not(.inline-toolbar):not(.osd) entry, +.toolbar:not(.inline-toolbar):not(.osd) spinbutton, +.toolbar:not(.inline-toolbar):not(.osd) button, +toolbar:not(.inline-toolbar):not(.osd) scale, +toolbar:not(.inline-toolbar):not(.osd) entry, +toolbar:not(.inline-toolbar):not(.osd) spinbutton, +toolbar:not(.inline-toolbar):not(.osd) button { + margin: 2px; +} + +.toolbar:not(.inline-toolbar):not(.osd) .linked entry:not(:first-child), +.toolbar:not(.inline-toolbar):not(.osd) .linked spinbutton:not(:first-child), +.toolbar:not(.inline-toolbar):not(.osd) .linked button:not(:first-child), +toolbar:not(.inline-toolbar):not(.osd) .linked entry:not(:first-child), +toolbar:not(.inline-toolbar):not(.osd) .linked spinbutton:not(:first-child), +toolbar:not(.inline-toolbar):not(.osd) .linked button:not(:first-child) { + margin-left: 0; +} + +.toolbar:not(.inline-toolbar):not(.osd) .linked entry:not(:last-child), +.toolbar:not(.inline-toolbar):not(.osd) .linked spinbutton:not(:last-child), +.toolbar:not(.inline-toolbar):not(.osd) .linked button:not(:last-child), +toolbar:not(.inline-toolbar):not(.osd) .linked entry:not(:last-child), +toolbar:not(.inline-toolbar):not(.osd) .linked spinbutton:not(:last-child), +toolbar:not(.inline-toolbar):not(.osd) .linked button:not(:last-child) { + margin-right: 0; +} + +.toolbar:not(.inline-toolbar):not(.osd) spinbutton entry, +.toolbar:not(.inline-toolbar):not(.osd) spinbutton button, +toolbar:not(.inline-toolbar):not(.osd) spinbutton entry, +toolbar:not(.inline-toolbar):not(.osd) spinbutton button { + margin: 0; +} + +.toolbar:not(.inline-toolbar):not(.osd) switch, +toolbar:not(.inline-toolbar):not(.osd) switch { + margin: 6px 2px; +} + +searchbar > revealer > box { + border-spacing: 4px; + padding: 4px; + border-style: solid; + border-width: 0 0 1px; + border-color: rgba(255, 255, 255, 0.08); + background-color: #34343b; + background-clip: border-box; +} + +actionbar { + border-radius: 0 0 13px 13px; +} + +/*************** + * Header bars * + ***************/ +headerbar .linked.path-bar:not(.vertical) > button, +headerbar stackswitcher.linked:not(.vertical) > button, headerbar.windowhandle viewswitcher button:not(.titlebutton):not(.suggested-action):not(.destructive-action) { + padding-left: 8px; + padding-right: 8px; + background-color: transparent; + box-shadow: none; +} + +headerbar .linked.path-bar:not(.vertical) > button label, +headerbar stackswitcher.linked:not(.vertical) > button label, headerbar.windowhandle viewswitcher button:not(.titlebutton):not(.suggested-action):not(.destructive-action) label { + padding-left: 8px; + padding-right: 8px; +} + +headerbar .linked:not(.vertical).path-bar > button:hover, +headerbar stackswitcher.linked:not(.vertical) > button:hover, headerbar.windowhandle viewswitcher button:hover:not(.titlebutton):not(.suggested-action):not(.destructive-action) { + color: #FFFFFF; + background-color: alpha(currentColor, 0.15); + box-shadow: inset 0 -2px transparent; +} + +headerbar .linked:not(.vertical).path-bar > button:active, +headerbar stackswitcher.linked:not(.vertical) > button:active, headerbar.windowhandle viewswitcher button:active:not(.titlebutton):not(.suggested-action):not(.destructive-action) { + color: #FFFFFF; + background-color: alpha(currentColor, 0.3); + box-shadow: inset 0 -2px transparent; +} + +headerbar .linked:not(.vertical).path-bar > button:checked, +headerbar stackswitcher.linked:not(.vertical) > button:checked, headerbar.windowhandle viewswitcher button:checked:not(.titlebutton):not(.suggested-action):not(.destructive-action) { + border-radius: 0; + color: #FFFFFF; + background-color: transparent; + box-shadow: inset 0 -2px #5657f5; + background-image: none; +} + +headerbar .linked:not(.vertical).path-bar > button:checked:backdrop, +headerbar stackswitcher.linked:not(.vertical) > button:checked:backdrop, headerbar.windowhandle viewswitcher button:checked:backdrop:not(.titlebutton):not(.suggested-action):not(.destructive-action), headerbar .linked:not(.vertical).path-bar > button:active:backdrop, +headerbar stackswitcher.linked:not(.vertical) > button:active:backdrop, headerbar.windowhandle viewswitcher button:active:backdrop:not(.titlebutton):not(.suggested-action):not(.destructive-action) { + color: rgba(255, 255, 255, 0.7); + box-shadow: inset 0 -2px rgba(255, 255, 255, 0.5); +} + +headerbar .linked:not(.vertical).path-bar > button.text-button.image-button label, +headerbar stackswitcher.linked:not(.vertical) > button.text-button.image-button label, headerbar.windowhandle viewswitcher button.text-button.image-button:not(.titlebutton):not(.suggested-action):not(.destructive-action) label { + padding-left: 0; + padding-right: 0; +} + +headerbar .linked:not(.vertical).path-bar > button.text-button.image-button image, +headerbar stackswitcher.linked:not(.vertical) > button.text-button.image-button image, headerbar.windowhandle viewswitcher button.text-button.image-button:not(.titlebutton):not(.suggested-action):not(.destructive-action) image { + padding-left: 0; + padding-right: 0; +} + +headerbar { + transition: background-color 100ms cubic-bezier(0, 0, 0.2, 1), color 100ms cubic-bezier(0, 0, 0.2, 1); + min-height: 38px; + padding: 0 4px; + box-shadow: inset 0 1px rgba(255, 255, 255, 0.1), inset 0 -1px rgba(255, 255, 255, 0.08); + background-color: #31313a; + color: #FFFFFF; +} + +headerbar:disabled :not(button) > label { + color: rgba(255, 255, 255, 0.5); +} + +headerbar:backdrop { + color: rgba(255, 255, 255, 0.7); +} + +headerbar:backdrop:disabled :not(button) > label { + color: rgba(255, 255, 255, 0.3); +} + +headerbar .title { + padding: 0 12px; + font-weight: bold; +} + +headerbar .subtitle { + padding: 0 12px; + font-size: smaller; +} + +headerbar entry { + background-color: #3d3d48; +} + +headerbar entry:focus { + background-color: #444450; +} + +headerbar .linked:not(.vertical) > entry:not(.flat) { + border-radius: 7px; +} + +headerbar .linked:not(.vertical) > button { + border-radius: 7px; +} + + +headerbar button:not(.suggested-action):not(.destructive-action) { + border-image: none; + color: rgba(255, 255, 255, 0.7); +} + + +headerbar button:not(.suggested-action):not(.destructive-action):hover, +headerbar button:not(.suggested-action):not(.destructive-action):active { + color: #FFFFFF; +} + + +headerbar button:not(.suggested-action):not(.destructive-action):disabled { + color: rgba(255, 255, 255, 0.3); +} + + +headerbar button:not(.suggested-action):not(.destructive-action):checked { + border-image: none; + background-color: #5657f5; + color: #FFFFFF; + background-image: linear-gradient(to bottom, #6C6AF2, #4648FB); + background-size: auto auto; + background-position: center center; + background-repeat: no-repeat; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.15), 0 2px 3px rgba(0, 0, 0, 0.12); +} + + +headerbar button:not(.suggested-action):not(.destructive-action):checked:disabled { + color: rgba(255, 255, 255, 0.5); + background-color: rgba(86, 87, 245, 0.5); +} + + +headerbar button:not(.suggested-action):not(.destructive-action):backdrop { + color: rgba(255, 255, 255, 0.5); +} + + +headerbar button:not(.suggested-action):not(.destructive-action):backdrop:hover, +headerbar button:not(.suggested-action):not(.destructive-action):backdrop:active { + color: rgba(255, 255, 255, 0.7); +} + + +headerbar button:not(.suggested-action):not(.destructive-action):backdrop:disabled { + color: rgba(255, 255, 255, 0.3); +} + + +headerbar button:not(.suggested-action):not(.destructive-action):backdrop:checked { + background-image: none; + color: rgba(255, 255, 255, 0.7); +} + + +headerbar button:not(.suggested-action):not(.destructive-action):backdrop:checked:disabled { + color: rgba(255, 255, 255, 0.3); +} + +headerbar button.suggested-action:disabled, headerbar button.destructive-action:disabled { + background-color: rgba(255, 255, 255, 0.12); + color: rgba(255, 255, 255, 0.5); +} + +headerbar entry, +headerbar spinbutton, +headerbar separator:not(.sidebar), +headerbar button, +headerbar menubutton { + margin-top: 4px; + margin-bottom: 4px; +} + +headerbar menubutton > button { + margin-top: 0px; + margin-bottom: 0px; +} + +headerbar > windowhandle > box, +headerbar > windowhandle > box > box.start, +headerbar > windowhandle > box > box.end { + border-spacing: 4px; +} + +headerbar switch { + margin-top: 8px; + margin-bottom: 8px; +} + +headerbar spinbutton button { + margin-top: 0; + margin-bottom: 0; +} + +.csd headerbar, headerbar.titlebar, .titlebar headerbar, .solid-csd headerbar, box headerbar:only-child { + box-shadow: inset 0 1px rgba(255, 255, 255, 0.1), inset 0 -1px rgba(255, 255, 255, 0.08); +} + +headerbar.titlebar.default-decoration, .csd headerbar.titlebar.default-decoration { + box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); +} + +box headerbar:not(:only-child):first-child, box headerbar:not(:only-child):last-child { + border-left-color: #31313a; + border-right-color: #31313a; +} + +headerbar.selection-mode { + transition: background-color 0.00001s 225ms, color 225ms cubic-bezier(0, 0, 0.2, 1); + animation: header_ripple_effect 225ms cubic-bezier(0, 0, 0.2, 1); + box-shadow: inset 0 1px rgba(255, 255, 255, 0.2), inset 0 -1px rgba(255, 255, 255, 0.08); + background-color: #5657f5; + color: #FFFFFF; +} + +headerbar.selection-mode:backdrop { + color: rgba(255, 255, 255, 0.7); +} + +headerbar.selection-mode button:not(.suggested-action):not(.destructive-action) { + border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), currentColor 0%, transparent 0%) 0 0 0/0 0 0; + color: #FFFFFF; +} + +headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):disabled { + color: rgba(255, 255, 255, 0.5); +} + +headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):hover { + color: #FFFFFF; +} + +headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):checked { + border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), currentColor 100%, transparent 0%) 0 0 2/0 0 2px; + color: #FFFFFF; +} + +headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):checked:disabled { + color: rgba(255, 255, 255, 0.5); +} + +headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):backdrop { + color: rgba(255, 255, 255, 0.7); +} + +headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):backdrop:disabled { + color: rgba(255, 255, 255, 0.3); +} + +headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):backdrop:checked { + color: rgba(255, 255, 255, 0.7); +} + +headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):backdrop:checked:disabled { + color: rgba(255, 255, 255, 0.3); +} + +headerbar.selection-mode .selection-menu { + padding-left: 16px; + padding-right: 16px; +} + +headerbar.selection-mode .selection-menu .arrow { + -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); +} + +headerbar.windowhandle viewswitcher button:not(.titlebutton):not(.suggested-action):not(.destructive-action) { + margin-top: 0; + margin-bottom: 0; +} + +.tiled headerbar, .tiled-top headerbar, .tiled-right headerbar, .tiled-bottom headerbar, .tiled-left headerbar, .maximized headerbar, .fullscreen headerbar { + border-radius: 0; +} + +headerbar.default-decoration { + min-height: 20px; + padding: 4px 12px; + box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); +} + +.tiled headerbar.default-decoration, .maximized headerbar.default-decoration, .fullscreen headerbar.default-decoration { + box-shadow: none; +} + +headerbar.default-decoration windowcontrols button { + min-height: 16px; + min-width: 16px; + margin: 0 2px; + padding: 0; +} + +.solid-csd headerbar:dir(rtl), .solid-csd headerbar:dir(ltr) { + border-radius: 0; + box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); +} + +.titlebar { + border-radius: 13px 13px 0 0; +} + +.background.tiled .titlebar, +.background.tiled-top .titlebar, +.background.tiled-right .titlebar, +.background.tiled-bottom .titlebar, +.background.tiled-left .titlebar, +.background.maximized .titlebar, +.background.solid-csd .titlebar { + border-top-left-radius: 0; + border-top-right-radius: 0; + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; +} + +window separator:first-child + headerbar, window headerbar:first-child { + border-top-left-radius: 13px; +} + +window headerbar:last-child { + border-top-right-radius: 13px; +} + +window stack headerbar:first-child, window stack headerbar:last-child { + border-top-left-radius: 13px; + border-top-right-radius: 13px; + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; +} + +window.tiled headerbar, window.tiled headerbar:first-child, window.tiled headerbar:last-child, window.tiled headerbar:only-child, window.tiled-top headerbar, window.tiled-top headerbar:first-child, window.tiled-top headerbar:last-child, window.tiled-top headerbar:only-child, window.tiled-right headerbar, window.tiled-right headerbar:first-child, window.tiled-right headerbar:last-child, window.tiled-right headerbar:only-child, window.tiled-bottom headerbar, window.tiled-bottom headerbar:first-child, window.tiled-bottom headerbar:last-child, window.tiled-bottom headerbar:only-child, window.tiled-left headerbar, window.tiled-left headerbar:first-child, window.tiled-left headerbar:last-child, window.tiled-left headerbar:only-child, window.maximized headerbar, window.maximized headerbar:first-child, window.maximized headerbar:last-child, window.maximized headerbar:only-child, window.fullscreen headerbar, window.fullscreen headerbar:first-child, window.fullscreen headerbar:last-child, window.fullscreen headerbar:only-child, window.solid-csd headerbar, window.solid-csd headerbar:first-child, window.solid-csd headerbar:last-child, window.solid-csd headerbar:only-child { + border-top-left-radius: 0; + border-top-right-radius: 0; + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; +} + +headerbar separator.titlebutton { + min-width: 0; + min-height: 0; + background-color: transparent; + border: none; +} + +window.csd > .titlebar:not(headerbar) { + padding: 0; + background-color: transparent; + background-image: none; + border: none; + box-shadow: none; +} + +.titlebar:not(headerbar) > separator { + background-color: #31313a; +} + +window.devel headerbar.titlebar { + background: #34343b cross-fade(10% -gtk-icontheme("system-run-symbolic"), image(transparent)) 90% 0/256px 256px no-repeat, linear-gradient(to right, transparent 65%, rgba(86, 87, 245, 0.1)), linear-gradient(to top, #232328 3px, #28282d); +} + +window.devel headerbar.titlebar:backdrop { + background: #34343b cross-fade(10% -gtk-icontheme("system-run-symbolic"), image(transparent)) 90% 0/256px 256px no-repeat, image(#34343b); + /* background-color would flash */ +} + +/************ + * Pathbars * + ************/ + +pathbar > button { + padding-left: 4px; + padding-right: 4px; +} + + +pathbar > button label:not(:only-child):first-child { + margin-left: 4px; + padding-left: 8px; +} + + +pathbar > button label:not(:only-child):last-child { + margin-right: 4px; + padding-right: 8px; +} + + +pathbar > button.slider-button { + padding-left: 4px; + padding-right: 4px; +} + + +pathbar > button { + border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), #5657f5 0%, transparent 0%) 0 0 0/0 0 0px; + border-radius: 7px; +} + + +pathbar > button:checked { + border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), #5657f5 100%, transparent 0%) 0 0 2/0 0 2px; +} + + +pathbar > button:checked, +pathbar > button:checked:disabled { + background-color: transparent; +} + +/************** + * Tree Views * + **************/ +columnview.view, +treeview.view { + border-left-color: #474751; + border-top-color: #474751; +} + +columnview.view:selected, +treeview.view:selected { + border-left-color: rgba(255, 255, 255, 0.3); +} + +columnview.view:hover, columnview.view:active, columnview.view:selected, +treeview.view:hover, +treeview.view:active, +treeview.view:selected { + border-radius: 0; +} + +columnview.view.separator, +treeview.view.separator { + min-height: 5px; + color: rgba(255, 255, 255, 0.08); +} + +columnview.view > dndtarget:drop(active), +treeview.view > dndtarget:drop(active) { + border-style: solid none; + border-width: 1px; + border-color: #7C4DFF; +} + +columnview.view > dndtarget:drop(active).after, +treeview.view > dndtarget:drop(active).after { + border-top-style: none; +} + +columnview.view > dndtarget:drop(active).before, +treeview.view > dndtarget:drop(active).before { + border-bottom-style: none; +} + +columnview.view.expander, +treeview.view.expander { + -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); + -gtk-icon-transform: rotate(-90deg); + color: rgba(255, 255, 255, 0.7); +} + +columnview.view.expander:dir(rtl), +treeview.view.expander:dir(rtl) { + -gtk-icon-transform: rotate(90deg); +} + +columnview.view.expander:checked, +treeview.view.expander:checked { + -gtk-icon-transform: unset; +} + +columnview.view.expander:hover, columnview.view.expander:active, +treeview.view.expander:hover, +treeview.view.expander:active { + color: #FFFFFF; +} + +columnview.view.expander:disabled, +treeview.view.expander:disabled { + color: rgba(255, 255, 255, 0.3); +} + +columnview.view.expander:selected, +treeview.view.expander:selected { + color: rgba(255, 255, 255, 0.7); +} + +columnview.view.expander:selected:hover, columnview.view.expander:selected:active, +treeview.view.expander:selected:hover, +treeview.view.expander:selected:active { + color: #FFFFFF; +} + +columnview.view.expander:selected:disabled, +treeview.view.expander:selected:disabled { + color: rgba(255, 255, 255, 0.3); +} + +columnview.view.progressbar, +treeview.view.progressbar { + border-bottom: 4px solid #5657f5; + box-shadow: none; + background-color: transparent; +} + +columnview.view.progressbar:selected, +treeview.view.progressbar:selected { + border-bottom-color: #FFFFFF; +} + +columnview.view.trough, +treeview.view.trough { + border-bottom: 4px solid rgba(86, 87, 245, 0.3); + box-shadow: none; + background-color: transparent; +} + +columnview.view.trough:selected, +treeview.view.trough:selected { + border-bottom-color: rgba(255, 255, 255, 0.3); +} + +columnview.view > header > button, +treeview.view > header > button { + padding: 2px 6px; + border-style: none solid solid none; + border-width: 1px; + border-color: rgba(255, 255, 255, 0.08); + border-radius: 0; + background-clip: border-box; +} + +columnview.view > header > button, columnview.view > header > button:hover, columnview.view > header > button:active, +treeview.view > header > button, +treeview.view > header > button:hover, +treeview.view > header > button:active { + box-shadow: none; +} + +columnview.view > header > button, columnview.view > header > button:disabled, +treeview.view > header > button, +treeview.view > header > button:disabled { + background-color: #31313a; +} + +columnview.view > header > button:last-child, +treeview.view > header > button:last-child { + border-right-style: none; +} + +columnview.view button.dnd, +columnview.view header.button.dnd, +treeview.view button.dnd, +treeview.view header.button.dnd { + padding: 2px 6px; + border-style: none solid solid; + border-width: 1px; + border-color: rgba(255, 255, 255, 0.08); + border-radius: 0; + box-shadow: none; + background-color: #31313a; + background-clip: border-box; + color: #5657f5; +} + +columnview.view acceleditor > label, +treeview.view acceleditor > label { + background-color: #5657f5; +} + +/********* + * Menus * + *********/ +menubar { + padding: 0; + box-shadow: inset 0 -1px rgba(255, 255, 255, 0.08); + background-color: #31313a; + color: rgba(255, 255, 255, 0.7); +} + +menubar > item { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1); + min-height: 20px; + padding: 4px 8px; + color: rgba(255, 255, 255, 0.7); +} + +menubar > item:hover { + transition: none; + color: #FFFFFF; + box-shadow: inset 0 -3px #5657f5; +} + +menubar > item:disabled { + color: rgba(255, 255, 255, 0.3); +} + +menubar > item label:disabled { + color: inherit; +} + +menubar > item popover.menu.background > contents { + padding: 4px; +} + +menubar > item popover.menu popover.menu { + padding: 0 0 4px 0; +} + +menubar > item popover.menu.background popover.menu.background > contents { + margin: 0; + border-radius: 8px; +} + +popover.menu { + padding: 0; +} + +popover.menu > arrow, popover.menu.background > contents { + padding: 4px; + background-color: #3c3c46; + border: none; + border-radius: 8px; + color: rgba(255, 255, 255, 0.7); +} + +popover.menu.background separator { + margin: 4px 0; +} + +popover.menu box.inline-buttons { + padding: 0 4px; +} + +popover.menu box.inline-buttons button.image-button.model { + min-height: 28px; + min-width: 28px; + padding: 0; + border: none; + outline: none; +} + +popover.menu box.circular-buttons button.circular.image-button.model { + padding: 4px; + min-height: 28px; + min-width: 28px; +} + +popover.menu modelbutton { + min-height: 20px; + min-width: 40px; + padding: 4px 8px; + border-radius: 5px; +} + +popover.menu modelbutton:selected { + color: rgba(255, 255, 255, 0.7); + background-color: rgba(255, 255, 255, 0.08); +} + +popover.menu modelbutton:selected:active { + color: rgba(255, 255, 255, 0.7); + background-color: rgba(255, 255, 255, 0.1); +} + +popover.menu modelbutton:focus { + transition: none; +} + +popover.menu arrow.left, +popover.menu radio.left, +popover.menu check.left { + margin-left: -2px; + margin-right: 4px; +} + +popover.menu arrow.right, +popover.menu radio.right, +popover.menu check.right { + margin-left: 4px; + margin-right: -2px; +} + +popover.menu label.title { + font-weight: bold; + padding: 4px 32px; +} + +/************ + * Popovers * + ************/ +popover.background { + background-color: transparent; + font: initial; +} + +popover.background > arrow, +popover.background > contents { + transition: box-shadow 100ms cubic-bezier(0, 0, 0.2, 1); + padding: 0; + box-shadow: 0 14px 14px rgba(0, 0, 0, 0.25), 0 10px 5px rgba(0, 0, 0, 0.22); + background-color: #3c3c46; + color: rgba(255, 255, 255, 0.7); + border: none; +} + +popover.background > arrow:disabled, +popover.background > contents:disabled { + color: rgba(255, 255, 255, 0.3); +} + +popover.background:backdrop { + background-color: transparent; +} + +popover.background:backdrop > arrow, +popover.background:backdrop > contents { + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1); +} + +popover.background > contents { + padding: 6px; + border-radius: 8px; +} + +popover.background > contents > list, +popover.background > contents > .view, +popover.background > contents > toolbar { + border-style: none; + background-color: transparent; + box-shadow: none; +} + +popover.background > contents separator { + margin: 3px; +} + +popover.background > contents list separator { + margin: 0; +} + +.linked > popover.background button { + border-radius: 7px; +} + +.linked > popover.background button:first-child { + border-radius: 7px; +} + +.linked > popover.background button:last-child { + border-radius: 7px; +} + +.linked > popover.background button:only-child { + border-radius: 7px; +} + +popover.background.menu button, popover.background button.model { + border-radius: 7px; +} + +popover.background checkbutton.text-button, +popover.background radiobutton.text-button { + outline-style: none; +} + +popover.background separator { + margin: 4px 0; +} + +popover.background list separator { + margin: 0; +} + +popover.background label.separator { + color: rgba(255, 255, 255, 0.5); +} + +/* menu buttons */ +modelbutton.flat { + min-height: 28px; + padding: 0 8px; + border-radius: 7px; +} + +modelbutton.flat arrow { + background: none; +} + +modelbutton.flat arrow:hover { + background: none; +} + +modelbutton.flat arrow.left { + -gtk-icon-source: -gtk-icontheme("go-previous-symbolic"); +} + +modelbutton.flat arrow.right { + -gtk-icon-source: -gtk-icontheme("go-next-symbolic"); +} + +/************* + * Notebooks * + *************/ +frame > paned > notebook > header, notebook.frame > header { + background-color: #3b3b43; +} + +notebook, notebook.frame { + background-color: #31313a; + border-radius: 10px; +} + +notebook.frame frame > border { + border: none; + border-radius: 10px; +} + +notebook.frame frame > list row.activatable { + border-radius: 10px; +} + +notebook > header { + border-width: 1px; + border-color: rgba(255, 255, 255, 0.08); + background-color: #34343b; + background-clip: border-box; +} + +notebook > header.top { + border-bottom-style: solid; + border-radius: 9px 9px 0 0; +} + +notebook > header.top > tabs { + margin-bottom: -1px; +} + +notebook > header.top > tabs > tab:hover { + box-shadow: inset 0 -2px rgba(255, 255, 255, 0.2); +} + +notebook > header.top > tabs > tab:checked { + box-shadow: inset 0 -2px #5657f5; +} + +notebook > header.bottom { + border-top-style: solid; + border-radius: 0 0 9px 9px; +} + +notebook > header.bottom > tabs { + margin-top: -1px; +} + +notebook > header.bottom > tabs > tab:hover { + box-shadow: inset 0 2px rgba(255, 255, 255, 0.2); +} + +notebook > header.bottom > tabs > tab:checked { + box-shadow: inset 0 2px #5657f5; +} + +notebook > header.left { + border-right-style: solid; + border-radius: 9px 0 0 9px; +} + +notebook > header.left > tabs { + margin-right: -1px; +} + +notebook > header.left > tabs > tab:hover { + box-shadow: inset -2px 0 rgba(255, 255, 255, 0.2); +} + +notebook > header.left > tabs > tab:checked { + box-shadow: inset -2px 0 #5657f5; +} + +notebook > header.right { + border-left-style: solid; + border-radius: 0 9px 9px 0; +} + +notebook > header.right > tabs { + margin-left: -1px; +} + +notebook > header.right > tabs > tab:hover { + box-shadow: inset 2px 0 rgba(255, 255, 255, 0.2); +} + +notebook > header.right > tabs > tab:checked { + box-shadow: inset 2px 0 #5657f5; +} + +notebook > header.top > tabs > arrow { + border-top-style: none; +} + +notebook > header.bottom > tabs > arrow { + border-bottom-style: none; +} + +notebook > header.top > tabs > arrow, notebook > header.bottom > tabs > arrow { + padding-left: 4px; + padding-right: 4px; +} + +notebook > header.top > tabs > arrow.down, notebook > header.bottom > tabs > arrow.down { + margin-left: -8px; + -gtk-icon-source: -gtk-icontheme("pan-start-symbolic"); +} + +notebook > header.top > tabs > arrow.up, notebook > header.bottom > tabs > arrow.up { + margin-right: -8px; + -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); +} + +notebook > header.left > tabs > arrow { + border-left-style: none; +} + +notebook > header.right > tabs > arrow { + border-right-style: none; +} + +notebook > header.left > tabs > arrow, notebook > header.right > tabs > arrow { + padding-top: 4px; + padding-bottom: 4px; +} + +notebook > header.left > tabs > arrow.down, notebook > header.right > tabs > arrow.down { + margin-top: -8px; + -gtk-icon-source: -gtk-icontheme("pan-up-symbolic"); +} + +notebook > header.left > tabs > arrow.up, notebook > header.right > tabs > arrow.up { + margin-bottom: -8px; + -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); +} + +notebook > header > tabs > arrow { + min-height: 16px; + min-width: 16px; + border-radius: 0; +} + +notebook > header tab { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1); + min-height: 20px; + min-width: 20px; + padding: 4px 12px; + outline-offset: -6px; + border-width: 1px; + border-color: transparent; + color: rgba(255, 255, 255, 0.7); + font-weight: 500; +} + +notebook > header tab:hover { + color: #FFFFFF; +} + +notebook > header tab:hover.reorderable-page { + border-color: rgba(255, 255, 255, 0.08); + background-color: #3b3b43; +} + +notebook > header tab:disabled { + color: rgba(255, 255, 255, 0.3); +} + +notebook > header tab:checked { + background-color: transparent; + color: #FFFFFF; +} + +notebook > header tab:checked:disabled { + color: rgba(255, 255, 255, 0.5); +} + +notebook > header tab:checked.reorderable-page { + border-color: rgba(255, 255, 255, 0.08); + background-color: #31313a; +} + +notebook > header tab button.flat { + min-height: 24px; + min-width: 24px; + padding: 0; + margin: 0; +} + +notebook > header tab button.flat:last-child { + margin-left: 4px; + margin-right: -8px; +} + +notebook > header tab button.flat:first-child { + margin-left: -8px; + margin-right: 4px; +} + +notebook > header.top tabs, notebook > header.bottom tabs { + padding-left: 8px; + padding-right: 8px; +} + +notebook > header.top tabs:not(:only-child):first-child, notebook > header.bottom tabs:not(:only-child):first-child { + margin-left: 0; +} + +notebook > header.top tabs:not(:only-child):last-child, notebook > header.bottom tabs:not(:only-child):last-child { + margin-right: 0; +} + +notebook > header.top tabs tab.reorderable-page, notebook > header.bottom tabs tab.reorderable-page { + margin: 0 -1px; + border-style: none solid; +} + +notebook > header.left tabs, notebook > header.right tabs { + padding-top: 8px; + padding-bottom: 8px; +} + +notebook > header.left tabs:not(:only-child):first-child, notebook > header.right tabs:not(:only-child):first-child { + margin-top: 0; +} + +notebook > header.left tabs:not(:only-child):last-child, notebook > header.right tabs:not(:only-child):last-child { + margin-bottom: 0; +} + +notebook > header.left tabs tab.reorderable-page, notebook > header.right tabs tab.reorderable-page { + margin: -1px 0; + border-style: solid none; +} + +notebook > stack:not(:only-child) { + background-color: #31313a; + border-radius: 10px; +} + +/************** + * Scrollbars * + **************/ +scrollbar { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1); + background-color: rgba(49, 49, 58, 0.65); + background-clip: border-box; +} + +scrollbar.top { + border-bottom: 1px solid rgba(255, 255, 255, 0.08); +} + +scrollbar.bottom { + border-top: 1px solid rgba(255, 255, 255, 0.08); +} + +scrollbar.left { + border-right: 1px solid rgba(255, 255, 255, 0.08); +} + +scrollbar.right { + border-left: 1px solid rgba(255, 255, 255, 0.08); +} + +scrollbar > range > trough > slider { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1), margin 0, border-width 0; + min-width: 8px; + min-height: 8px; + border: 4px solid transparent; + border-radius: 9999px; + background-clip: padding-box; + background-color: rgba(255, 255, 255, 0.5); +} + +scrollbar > range > trough > slider:hover { + background-color: rgba(255, 255, 255, 0.7); +} + +scrollbar > range > trough > slider:active { + background-color: #FFFFFF; +} + +scrollbar > range > trough > slider:disabled { + background-color: rgba(255, 255, 255, 0.3); +} + +scrollbar > range.fine-tune > trough > slider { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1), margin 0, border-width 0, min-width 0, min-height 0; + min-width: 4px; + min-height: 4px; +} + +scrollbar > range.fine-tune.horizontal slider { + margin: 2px 0; +} + +scrollbar > range.fine-tune.vertical slider { + margin: 0 2px; +} + +scrollbar.overlay-indicator:not(.dragging):not(.hovering) { + border-color: transparent; + background-color: transparent; +} + +scrollbar.overlay-indicator:not(.dragging):not(.hovering) > range > trough > slider { + min-width: 4px; + min-height: 4px; + margin: 3px; + border: 1px solid rgba(49, 49, 58, 0.3); +} + +scrollbar.overlay-indicator:not(.dragging):not(.hovering) button { + min-width: 4px; + min-height: 4px; + margin: 3px; + border: 1px solid rgba(49, 49, 58, 0.3); + border-radius: 9999px; + background-color: rgba(255, 255, 255, 0.5); + background-clip: padding-box; + -gtk-icon-source: none; +} + +scrollbar.overlay-indicator:not(.dragging):not(.hovering) button:disabled { + background-color: rgba(255, 255, 255, 0.3); +} + +scrollbar.overlay-indicator:not(.dragging):not(.hovering).horizontal > range > trough > slider { + min-width: 24px; +} + +scrollbar.overlay-indicator:not(.dragging):not(.hovering).horizontal button { + min-width: 8px; +} + +scrollbar.overlay-indicator:not(.dragging):not(.hovering).vertical > range > trough > slider { + min-height: 24px; +} + +scrollbar.overlay-indicator:not(.dragging):not(.hovering).vertical button { + min-height: 8px; +} + +scrollbar.overlay-indicator.dragging, scrollbar.overlay-indicator.hovering { + background-color: rgba(49, 49, 58, 0.9); +} + +scrollbar.horizontal > range > trough > slider { + min-width: 24px; +} + +scrollbar.vertical > range > trough > slider { + min-height: 24px; +} + +scrollbar button { + min-width: 16px; + min-height: 16px; + padding: 0; + border-radius: 0; +} + +scrollbar.vertical button.down { + -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); +} + +scrollbar.vertical button.up { + -gtk-icon-source: -gtk-icontheme("pan-up-symbolic"); +} + +scrollbar.horizontal button.down { + -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); +} + +scrollbar.horizontal button.up { + -gtk-icon-source: -gtk-icontheme("pan-start-symbolic"); +} + +/********** + * Switch * + **********/ +switch { + transition: all 225ms cubic-bezier(0, 0, 0.2, 1); + margin: 4px 0; + padding: 0; + min-height: 16px; + min-width: 38px; + border: 4px solid transparent; + border-radius: 9999px; + background-color: rgba(255, 255, 255, 0.2); + background-clip: padding-box; + color: transparent; + font-size: 0; +} + +switch:disabled { + background-color: rgba(255, 255, 255, 0.08); +} + +switch:checked { + background-color: rgba(124, 77, 255, 0.35); + color: transparent; +} + +switch:checked:disabled { + background-color: rgba(124, 77, 255, 0.2); +} + +switch > slider { + transition: 100ms, box-shadow 100ms cubic-bezier(0, 0, 0.2, 1); + min-width: 20px; + min-height: 20px; + margin: -4px -2px; + border-radius: 9999px; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1); + background-color: #44454b; + color: transparent; + background-position: center; + background-repeat: no-repeat; + background-image: -gtk-scaled(url("assets/switch-slider-unchecked-dark.png"), url("assets/switch-slider-unchecked-dark@2.png")); +} + +switch:hover > slider { + box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06); +} + +switch:checked > slider { + transition: 100ms, box-shadow 100ms cubic-bezier(0, 0, 0.2, 1), margin 0; + background-color: #7C4DFF; + color: transparent; + background-image: -gtk-scaled(url("assets/switch-slider-checked-dark.png"), url("assets/switch-slider-checked-dark@2.png")); +} + +switch:disabled > slider { + background-color: #3b3b43; +} + +switch:checked:disabled > slider { + animation: none; + background-color: #573f9d; +} + +row:selected switch:checked { + background-color: rgba(68, 1, 255, 0.35); +} + +row:selected switch:checked:disabled { + background-color: rgba(68, 1, 255, 0.2); +} + +row:selected switch:checked > slider { + background-color: #561aff; +} + +/************************* + * Check and Radio items * + *************************/ +.view.content-view.check:not(list), +.content-view .tile check:not(list) { + min-height: 40px; + min-width: 40px; + margin: 0; + padding: 0; + box-shadow: none; + background-color: transparent; + background-image: none; + -gtk-icon-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1); +} + +.view.content-view.check:not(list):hover, .view.content-view.check:not(list):active, +.content-view .tile check:not(list):hover, +.content-view .tile check:not(list):active { + -gtk-icon-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06); +} + +.view.content-view.check:not(list), +.content-view .tile check:not(list) { + -gtk-icon-source: -gtk-scaled(url("assets/selectionmode-checkbox-unchecked-dark.png"), url("assets/selectionmode-checkbox-unchecked-dark@2.png")); +} + +.view.content-view.check:not(list):checked, +.content-view .tile check:not(list):checked { + -gtk-icon-source: -gtk-scaled(url("assets/selectionmode-checkbox-checked-dark.png"), url("assets/selectionmode-checkbox-checked-dark@2.png")); +} + +checkbutton, +radiobutton { + outline: none; +} + +checkbutton.text-button, +radiobutton.text-button { + padding: 2px; + outline-offset: 0; +} + +checkbutton.text-button label:not(:only-child), +radiobutton.text-button label:not(:only-child) { + margin: 0 4px; +} + +row check:selected, +row radio:selected, row check:selected:active, +row radio:selected:active, row check:selected:checked, +row radio:selected:checked, row check:selected:indeterminate, +row radio:selected:indeterminate, row check:selected:focus, +row radio:selected:focus, row check:selected:focus:active, +row radio:selected:focus:active, row check:selected:focus:checked, +row radio:selected:focus:checked, row check:selected:focus:indeterminate, +row radio:selected:focus:indeterminate, treeview.view check:selected, +treeview.view radio:selected, treeview.view check:selected:active, +treeview.view radio:selected:active, treeview.view check:selected:checked, +treeview.view radio:selected:checked, treeview.view check:selected:indeterminate, +treeview.view radio:selected:indeterminate, treeview.view check:selected:focus, +treeview.view radio:selected:focus, treeview.view check:selected:focus:active, +treeview.view radio:selected:focus:active, treeview.view check:selected:focus:checked, +treeview.view radio:selected:focus:checked, treeview.view check:selected:focus:indeterminate, +treeview.view radio:selected:focus:indeterminate, row.activatable check:selected, +row.activatable radio:selected, row.activatable check:selected:active, +row.activatable radio:selected:active, row.activatable check:selected:checked, +row.activatable radio:selected:checked, row.activatable check:selected:indeterminate, +row.activatable radio:selected:indeterminate, row.activatable check:selected:focus, +row.activatable radio:selected:focus, row.activatable check:selected:focus:active, +row.activatable radio:selected:focus:active, row.activatable check:selected:focus:checked, +row.activatable radio:selected:focus:checked, row.activatable check:selected:focus:indeterminate, +row.activatable radio:selected:focus:indeterminate, row checkbutton check:selected, row checkbutton check:selected:active, row checkbutton check:selected:checked, row checkbutton check:selected:indeterminate, row checkbutton check:selected:focus, row checkbutton check:selected:focus:active, row checkbutton check:selected:focus:checked, row checkbutton check:selected:focus:indeterminate, treeview.view checkbutton check:selected, treeview.view checkbutton check:selected:active, treeview.view checkbutton check:selected:checked, treeview.view checkbutton check:selected:indeterminate, treeview.view checkbutton check:selected:focus, treeview.view checkbutton check:selected:focus:active, treeview.view checkbutton check:selected:focus:checked, treeview.view checkbutton check:selected:focus:indeterminate, row.activatable checkbutton check:selected, row.activatable checkbutton check:selected:active, row.activatable checkbutton check:selected:checked, row.activatable checkbutton check:selected:indeterminate, row.activatable checkbutton check:selected:focus, row.activatable checkbutton check:selected:focus:active, row.activatable checkbutton check:selected:focus:checked, row.activatable checkbutton check:selected:focus:indeterminate, row radiobutton radio:selected, row radiobutton radio:selected:active, row radiobutton radio:selected:checked, row radiobutton radio:selected:indeterminate, row radiobutton radio:selected:focus, row radiobutton radio:selected:focus:active, row radiobutton radio:selected:focus:checked, row radiobutton radio:selected:focus:indeterminate, treeview.view radiobutton radio:selected, treeview.view radiobutton radio:selected:active, treeview.view radiobutton radio:selected:checked, treeview.view radiobutton radio:selected:indeterminate, treeview.view radiobutton radio:selected:focus, treeview.view radiobutton radio:selected:focus:active, treeview.view radiobutton radio:selected:focus:checked, treeview.view radiobutton radio:selected:focus:indeterminate, row.activatable radiobutton radio:selected, row.activatable radiobutton radio:selected:active, row.activatable radiobutton radio:selected:checked, row.activatable radiobutton radio:selected:indeterminate, row.activatable radiobutton radio:selected:focus, row.activatable radiobutton radio:selected:focus:active, row.activatable radiobutton radio:selected:focus:checked, row.activatable radiobutton radio:selected:focus:indeterminate { + color: rgba(255, 255, 255, 0.7); +} + +row check:selected:disabled, +row radio:selected:disabled, row check:selected:active:disabled, +row radio:selected:active:disabled, row check:selected:checked:disabled, +row radio:selected:checked:disabled, row check:selected:indeterminate:disabled, +row radio:selected:indeterminate:disabled, row check:selected:focus:disabled, +row radio:selected:focus:disabled, row check:selected:focus:active:disabled, +row radio:selected:focus:active:disabled, row check:selected:focus:checked:disabled, +row radio:selected:focus:checked:disabled, row check:selected:focus:indeterminate:disabled, +row radio:selected:focus:indeterminate:disabled, treeview.view check:selected:disabled, +treeview.view radio:selected:disabled, treeview.view check:selected:active:disabled, +treeview.view radio:selected:active:disabled, treeview.view check:selected:checked:disabled, +treeview.view radio:selected:checked:disabled, treeview.view check:selected:indeterminate:disabled, +treeview.view radio:selected:indeterminate:disabled, treeview.view check:selected:focus:disabled, +treeview.view radio:selected:focus:disabled, treeview.view check:selected:focus:active:disabled, +treeview.view radio:selected:focus:active:disabled, treeview.view check:selected:focus:checked:disabled, +treeview.view radio:selected:focus:checked:disabled, treeview.view check:selected:focus:indeterminate:disabled, +treeview.view radio:selected:focus:indeterminate:disabled, row.activatable check:selected:disabled, +row.activatable radio:selected:disabled, row.activatable check:selected:active:disabled, +row.activatable radio:selected:active:disabled, row.activatable check:selected:checked:disabled, +row.activatable radio:selected:checked:disabled, row.activatable check:selected:indeterminate:disabled, +row.activatable radio:selected:indeterminate:disabled, row.activatable check:selected:focus:disabled, +row.activatable radio:selected:focus:disabled, row.activatable check:selected:focus:active:disabled, +row.activatable radio:selected:focus:active:disabled, row.activatable check:selected:focus:checked:disabled, +row.activatable radio:selected:focus:checked:disabled, row.activatable check:selected:focus:indeterminate:disabled, +row.activatable radio:selected:focus:indeterminate:disabled, row checkbutton check:selected:disabled, row checkbutton check:selected:active:disabled, row checkbutton check:selected:checked:disabled, row checkbutton check:selected:indeterminate:disabled, row checkbutton check:selected:focus:disabled, row checkbutton check:selected:focus:active:disabled, row checkbutton check:selected:focus:checked:disabled, row checkbutton check:selected:focus:indeterminate:disabled, treeview.view checkbutton check:selected:disabled, treeview.view checkbutton check:selected:active:disabled, treeview.view checkbutton check:selected:checked:disabled, treeview.view checkbutton check:selected:indeterminate:disabled, treeview.view checkbutton check:selected:focus:disabled, treeview.view checkbutton check:selected:focus:active:disabled, treeview.view checkbutton check:selected:focus:checked:disabled, treeview.view checkbutton check:selected:focus:indeterminate:disabled, row.activatable checkbutton check:selected:disabled, row.activatable checkbutton check:selected:active:disabled, row.activatable checkbutton check:selected:checked:disabled, row.activatable checkbutton check:selected:indeterminate:disabled, row.activatable checkbutton check:selected:focus:disabled, row.activatable checkbutton check:selected:focus:active:disabled, row.activatable checkbutton check:selected:focus:checked:disabled, row.activatable checkbutton check:selected:focus:indeterminate:disabled, row radiobutton radio:selected:disabled, row radiobutton radio:selected:active:disabled, row radiobutton radio:selected:checked:disabled, row radiobutton radio:selected:indeterminate:disabled, row radiobutton radio:selected:focus:disabled, row radiobutton radio:selected:focus:active:disabled, row radiobutton radio:selected:focus:checked:disabled, row radiobutton radio:selected:focus:indeterminate:disabled, treeview.view radiobutton radio:selected:disabled, treeview.view radiobutton radio:selected:active:disabled, treeview.view radiobutton radio:selected:checked:disabled, treeview.view radiobutton radio:selected:indeterminate:disabled, treeview.view radiobutton radio:selected:focus:disabled, treeview.view radiobutton radio:selected:focus:active:disabled, treeview.view radiobutton radio:selected:focus:checked:disabled, treeview.view radiobutton radio:selected:focus:indeterminate:disabled, row.activatable radiobutton radio:selected:disabled, row.activatable radiobutton radio:selected:active:disabled, row.activatable radiobutton radio:selected:checked:disabled, row.activatable radiobutton radio:selected:indeterminate:disabled, row.activatable radiobutton radio:selected:focus:disabled, row.activatable radiobutton radio:selected:focus:active:disabled, row.activatable radiobutton radio:selected:focus:checked:disabled, row.activatable radiobutton radio:selected:focus:indeterminate:disabled { + color: rgba(255, 255, 255, 0.3); +} + +row check:selected:hover, +row radio:selected:hover, treeview.view check:selected:hover, +treeview.view radio:selected:hover, row checkbutton check:selected:hover, row checkbutton check:selected:focus:hover, treeview.view checkbutton check:selected:hover, treeview.view checkbutton check:selected:focus:hover, row.activatable checkbutton check:selected:hover, row.activatable checkbutton check:selected:focus:hover, row radiobutton radio:selected:hover, row radiobutton radio:selected:focus:hover, treeview.view radiobutton radio:selected:hover, treeview.view radiobutton radio:selected:focus:hover, row.activatable radiobutton radio:selected:hover, row.activatable radiobutton radio:selected:focus:hover { + color: #FFFFFF; +} + +row check:selected:hover:disabled, +row radio:selected:hover:disabled, treeview.view check:selected:hover:disabled, +treeview.view radio:selected:hover:disabled, row checkbutton check:selected:hover:disabled, row checkbutton check:selected:focus:hover:disabled, treeview.view checkbutton check:selected:hover:disabled, treeview.view checkbutton check:selected:focus:hover:disabled, row.activatable checkbutton check:selected:hover:disabled, row.activatable checkbutton check:selected:focus:hover:disabled, row radiobutton radio:selected:hover:disabled, row radiobutton radio:selected:focus:hover:disabled, treeview.view radiobutton radio:selected:hover:disabled, treeview.view radiobutton radio:selected:focus:hover:disabled, row.activatable radiobutton radio:selected:hover:disabled, row.activatable radiobutton radio:selected:focus:hover:disabled { + color: rgba(255, 255, 255, 0.5); +} + +check, +radio { + min-height: 24px; + min-width: 24px; + margin: -7px; + padding: 7px; +} + +check:checked, check:indeterminate, +radio:checked, +radio:indeterminate { + color: #7C4DFF; +} + +check:checked:disabled, check:indeterminate:disabled, +radio:checked:disabled, +radio:indeterminate:disabled { + color: rgba(124, 77, 255, 0.5); +} + +popover modelbutton.flat check, popover modelbutton.flat check:hover, popover modelbutton.flat check:focus, popover modelbutton.flat check:focus:hover, popover modelbutton.flat check:active, popover modelbutton.flat check:disabled, popover modelbutton.flat radio, popover modelbutton.flat radio:hover, popover modelbutton.flat radio:focus, popover modelbutton.flat radio:focus:hover, popover modelbutton.flat radio:active, popover modelbutton.flat radio:disabled { + transition: none; + box-shadow: none; + background-image: none; +} + +popover modelbutton.flat check.left:dir(rtl), popover modelbutton.flat radio.left:dir(rtl) { + margin-left: -12px; + margin-right: -4px; +} + +popover modelbutton.flat check.right:dir(ltr), popover modelbutton.flat radio.right:dir(ltr) { + margin-left: -4px; + margin-right: -12px; +} + +popover.menu modelbutton check, popover.menu modelbutton radio { + transition: none; + margin: 0; + padding: 0; +} + +popover.menu modelbutton check:dir(ltr), popover.menu modelbutton radio:dir(ltr) { + margin-right: 8px; +} + +popover.menu modelbutton check:dir(rtl), popover.menu modelbutton radio:dir(rtl) { + margin-left: 8px; +} + +popover.menu modelbutton check:not(:checked):not(:indeterminate):not(:disabled), popover.menu modelbutton radio:not(:checked):not(:indeterminate):not(:disabled) { + color: rgba(255, 255, 255, 0.7); +} + +popover.menu modelbutton check, popover.menu modelbutton check:hover, popover.menu modelbutton check:disabled, popover.menu modelbutton radio, popover.menu modelbutton radio:hover, popover.menu modelbutton radio:disabled { + box-shadow: none; +} + + +check { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/checkbox-unchecked-symbolic.svg")); +} + + +check:checked { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/checkbox-checked-symbolic.svg")); +} + + +check:indeterminate { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/checkbox-mixed-symbolic.svg")); +} + + +radio { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/radio-unchecked-symbolic.svg")); +} + + +radio:checked { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/radio-checked-symbolic.svg")); +} + + +radio:indeterminate { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/radio-mixed-symbolic.svg")); +} + + +popover.menu modelbutton check { + min-height: 16px; + min-width: 16px; + border-radius: 7px; + -gtk-icon-source: -gtk-recolor(url("assets/scalable/small-checkbox-unchecked-symbolic.svg")); +} + + +popover.menu modelbutton check:checked { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/small-checkbox-checked-symbolic.svg")); +} + + +popover.menu modelbutton check:indeterminate { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/small-checkbox-mixed-symbolic.svg")); +} + + +popover.menu modelbutton radio { + min-height: 16px; + min-width: 16px; + border-image: none; + -gtk-icon-source: -gtk-recolor(url("assets/scalable/small-radio-unchecked-symbolic.svg")); +} + + +popover.menu modelbutton radio:checked { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/small-radio-checked-symbolic.svg")); +} + + +popover.menu modelbutton radio:indeterminate { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/small-radio-mixed-symbolic.svg")); +} + +check:not(:checked):active { + -gtk-icon-transform: rotate(90deg); +} + +check:not(:checked):indeterminate:active, +radio:not(:checked):indeterminate:active { + -gtk-icon-transform: scaleX(-1); +} + +check:not(:checked), +radio:not(:checked) { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1), background-size 300ms cubic-bezier(0, 0, 0.2, 1), background-image 600ms cubic-bezier(0, 0, 0.2, 1), -gtk-icon-transform 0; +} + +check:not(:checked):active, +radio:not(:checked):active { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1), background-size 0, background-image 0, -gtk-icon-transform 0; +} + +popover.menu modelbutton check:not(:checked), popover.menu modelbutton radio:not(:checked) { + transition: none; +} + +treeview.view check, +treeview.view radio { + padding: 0; +} + +treeview.view check:hover, +treeview.view radio:hover { + box-shadow: inset 0 0 0 9999px alpha(#FFFFFF, 0.05); +} + +treeview.view check:hover:disabled, +treeview.view radio:hover:disabled { + box-shadow: none; +} + +treeview.view check:hover:selected, +treeview.view radio:hover:selected { + box-shadow: inset 0 0 0 9999px alpha(#FFFFFF, 0.05); +} + +treeview.view check, +treeview.view radio { + color: rgba(255, 255, 255, 0.7); +} + +treeview.view check:hover, treeview.view check:active, +treeview.view radio:hover, +treeview.view radio:active { + color: #FFFFFF; +} + +treeview.view check:disabled, +treeview.view radio:disabled { + color: rgba(255, 255, 255, 0.3); +} + +treeview.view check:checked, treeview.view check:indeterminate, +treeview.view radio:checked, +treeview.view radio:indeterminate { + color: #7C4DFF; +} + +treeview.view check:checked:disabled, treeview.view check:indeterminate:disabled, +treeview.view radio:checked:disabled, +treeview.view radio:indeterminate:disabled { + color: rgba(124, 77, 255, 0.5); +} + +treeview.view radio:checked { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/radio-checked-symbolic.svg")); + border-image: none; +} + +/************ + * GtkScale * + ************/ +scale { + min-height: 0px; + min-width: 0px; + padding: 16px; +} + +scale > trough { + transition: background-color 100ms cubic-bezier(0, 0, 0.2, 1); + outline: none; + background-color: rgba(255, 255, 255, 0.2); +} + +scale > trough:disabled { + background-color: rgba(255, 255, 255, 0.08); +} + +scale > trough > slider { + min-height: 32px; + min-width: 32px; + margin: -15px; +} + +scale > trough > highlight { + transition: background-color 100ms cubic-bezier(0, 0, 0.2, 1); + background-color: #7C4DFF; +} + +scale > trough > highlight:disabled { + background-color: transparent; +} + +scale > trough > fill { + transition: background-color 100ms cubic-bezier(0, 0, 0.2, 1); + background-color: rgba(255, 255, 255, 0.2); +} + +scale > trough > fill:disabled { + background-color: transparent; +} + +scale > trough > slider { + transition: background-color 100ms cubic-bezier(0, 0, 0.2, 1), background-size 300ms cubic-bezier(0, 0, 0.2, 1), background-image 600ms cubic-bezier(0, 0, 0.2, 1); + background-repeat: no-repeat; + background-position: center; + background-size: auto, 1000% 1000%; + border-radius: 50%; + color: transparent; +} + +scale > trough > slider { + background-image: -gtk-scaled(url("assets/scale-slider-dark.png"), url("assets/scale-slider-dark@2.png")); +} + +scale > trough > slider:disabled { + background-image: -gtk-scaled(url("assets/scale-slider-disabled-dark.png"), url("assets/scale-slider-disabled-dark@2.png")); +} + +scale > trough > slider:hover { + background-color: rgba(124, 77, 255, 0.08); +} + +scale > trough > slider:focus { + background-color: rgba(124, 77, 255, 0.12); +} + +scale > trough > slider:focus:hover { + background-color: rgba(124, 77, 255, 0.16); +} + +scale > trough > slider:active { + transition: background-color 100ms cubic-bezier(0, 0, 0.2, 1), background-size 0, background-image 0; + animation: scale_ripple_effect 225ms cubic-bezier(0, 0, 0.2, 1) forwards; + background-size: auto, 0% 0%; + background-color: rgba(124, 77, 255, 0.08); + color: rgba(124, 77, 255, 0.12); +} + +scale.fine-tune slider { + background-size: calc(100% - 12px); +} + +scale > marks label, +scale > value { + color: rgba(255, 255, 255, 0.5); +} + +scale > marks { + color: rgba(255, 255, 255, 0.2); +} + +scale > marks.top { + margin-bottom: 7px; + margin-top: -15px; +} + +scale > marks.bottom { + margin-top: 7px; + margin-bottom: -15px; +} + +scale > marks.left { + margin-right: 7px; + margin-left: -15px; +} + +scale > marks.right { + margin-left: 7px; + margin-right: -15px; +} + +scale.fine-tune marks.top { + margin-bottom: 6px; + margin-top: -14px; +} + +scale.fine-tune marks.bottom { + margin-top: 6px; + margin-bottom: -14px; +} + +scale.fine-tune marks.left { + margin-right: 6px; + margin-left: -14px; +} + +scale.fine-tune marks.right { + margin-left: 6px; + margin-right: -14px; +} + +scale.horizontal indicator { + min-height: 8px; + min-width: 1px; +} + +scale.vertical indicator { + min-height: 1px; + min-width: 8px; +} + +scale.horizontal.marks-before:not(.marks-after) slider { + background-image: -gtk-scaled(url("assets/scale-horz-marks-before-slider-dark.png"), url("assets/scale-horz-marks-before-slider-dark@2.png")); +} + +scale.horizontal.marks-before:not(.marks-after) slider:disabled { + background-image: -gtk-scaled(url("assets/scale-horz-marks-before-slider-disabled-dark.png"), url("assets/scale-horz-marks-before-slider-disabled-dark@2.png")); +} + +scale.horizontal.marks-after:not(.marks-before) slider { + background-image: -gtk-scaled(url("assets/scale-horz-marks-after-slider-dark.png"), url("assets/scale-horz-marks-after-slider-dark@2.png")); +} + +scale.horizontal.marks-after:not(.marks-before) slider:disabled { + background-image: -gtk-scaled(url("assets/scale-horz-marks-after-slider-disabled-dark.png"), url("assets/scale-horz-marks-after-slider-disabled-dark@2.png")); +} + +scale.vertical.marks-before:not(.marks-after) slider { + background-image: -gtk-scaled(url("assets/scale-vert-marks-before-slider-dark.png"), url("assets/scale-vert-marks-before-slider-dark@2.png")); +} + +scale.vertical.marks-before:not(.marks-after) slider:disabled { + background-image: -gtk-scaled(url("assets/scale-vert-marks-before-slider-disabled-dark.png"), url("assets/scale-vert-marks-before-slider-disabled-dark@2.png")); +} + +scale.vertical.marks-after:not(.marks-before) slider { + background-image: -gtk-scaled(url("assets/scale-vert-marks-after-slider-dark.png"), url("assets/scale-vert-marks-after-slider-dark@2.png")); +} + +scale.vertical.marks-after:not(.marks-before) slider:disabled { + background-image: -gtk-scaled(url("assets/scale-vert-marks-after-slider-disabled-dark.png"), url("assets/scale-vert-marks-after-slider-disabled-dark@2.png")); +} + +scale.color { + min-height: 0; + min-width: 0; +} + +scale.color.horizontal { + padding: 0 0 12px 0; +} + +scale.color.horizontal slider:dir(ltr), scale.color.horizontal slider:dir(rtl) { + margin-bottom: -16px; + margin-top: -6px; +} + +scale.color.vertical:dir(ltr) { + padding: 0 0 0 12px; +} + +scale.color.vertical:dir(ltr) slider { + margin-left: -16px; + margin-right: -6px; +} + +scale.color.vertical:dir(rtl) { + padding: 0 12px 0 0; +} + +scale.color.vertical:dir(rtl) slider { + margin-right: -16px; + margin-left: -6px; +} + +/***************** + * Progress bars * + *****************/ +progressbar { + color: rgba(255, 255, 255, 0.5); + font-size: smaller; +} + +progressbar.horizontal > trough { + min-width: 150px; +} + +progressbar.horizontal > trough, progressbar.horizontal > trough > progress { + min-height: 4px; +} + +progressbar.vertical > trough { + min-height: 80px; +} + +progressbar.vertical > trough, progressbar.vertical > trough > progress { + min-width: 4px; +} + +progressbar > trough { + border-radius: 9999px; + background-color: rgba(93, 125, 251, 0.3); +} + +progressbar > trough > progress { + border-radius: 9999px; + background-color: #5D7DFB; + background-image: linear-gradient(to left, #BA68C8, #7E57C2); + background-size: auto auto; + background-position: center center; + background-repeat: no-repeat; +} + +progressbar.osd { + min-width: 3px; + min-height: 3px; + background-color: transparent; +} + +progressbar.osd > trough { + border-style: none; + border-radius: 0; + background-color: transparent; + box-shadow: none; +} + +progressbar.osd > trough > progress { + border-style: none; + border-radius: 0; +} + +progressbar trough.empty progress { + all: unset; +} + +/************* + * Level Bar * + *************/ +levelbar.horizontal block { + min-height: 4px; +} + +levelbar.horizontal.discrete block { + min-width: 32px; +} + +levelbar.horizontal.discrete block:not(:last-child) { + margin-right: 2px; +} + +levelbar.vertical > trough > block { + min-width: 4px; +} + +levelbar.vertical.discrete block { + min-height: 32px; +} + +levelbar.vertical.discrete block:not(:last-child) { + margin-bottom: 2px; +} + +levelbar > trough { + padding: 2px; + border-radius: 5px; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1); + background-color: #31313a; +} + +levelbar > trough:disabled { + background-color: #3b3b43; +} + +levelbar > trough > block.low { + background-color: #FF6D00; +} + +levelbar > trough > block.high, levelbar > trough > block:not(.empty) { + background-color: #5657f5; +} + +levelbar > trough > block.full { + background-color: #00C853; +} + +levelbar > trough > block.empty { + background-color: rgba(255, 255, 255, 0.08); +} + +/**************** + * Print dialog * +*****************/ +window.dialog.print drawing { + color: #FFFFFF; + background: none; + border: none; + padding: 0; +} + +window.dialog.print drawing paper { + padding: 0; + border: 1px solid rgba(255, 255, 255, 0.08); + background-color: #31313a; + color: #FFFFFF; +} + +window.dialog.print .dialog-action-box { + margin: 12px; +} + +/********** + * Frames * + **********/ +frame, +.frame { + margin: 0; + padding: 0; + border: 1px solid rgba(255, 255, 255, 0.08); + border-radius: 0; + box-shadow: none; +} + +frame.flat, +.frame.flat { + border-style: none; +} + +frame.flat > border { + border-style: none; +} + +frame { + border-radius: 8px; +} + +frame > label { + margin: 4px; +} + +actionbar > revealer > box { + padding: 4px; + border-top: 1px solid rgba(255, 255, 255, 0.08); +} + +actionbar > revealer > box .linked > button { + border-radius: 7px; +} + +overshoot.top { + background-image: radial-gradient(farthest-side at top, rgba(230, 230, 230, 0.08) 85%, rgba(230, 230, 230, 0)), radial-gradient(farthest-side at top, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0)); + background-size: 100% 3%, 100% 50%; + background-repeat: no-repeat; + background-position: top; + background-color: transparent; + border: none; + box-shadow: none; +} + +overshoot.bottom { + background-image: radial-gradient(farthest-side at bottom, rgba(230, 230, 230, 0.08) 85%, rgba(230, 230, 230, 0)), radial-gradient(farthest-side at bottom, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0)); + background-size: 100% 3%, 100% 50%; + background-repeat: no-repeat; + background-position: bottom; + background-color: transparent; + border: none; + box-shadow: none; +} + +overshoot.left { + background-image: radial-gradient(farthest-side at left, rgba(230, 230, 230, 0.08) 85%, rgba(230, 230, 230, 0)), radial-gradient(farthest-side at left, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0)); + background-size: 3% 100%, 50% 100%; + background-repeat: no-repeat; + background-position: left; + background-color: transparent; + border: none; + box-shadow: none; +} + +overshoot.right { + background-image: radial-gradient(farthest-side at right, rgba(230, 230, 230, 0.08) 85%, rgba(230, 230, 230, 0)), radial-gradient(farthest-side at right, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0)); + background-size: 3% 100%, 50% 100%; + background-repeat: no-repeat; + background-position: right; + background-color: transparent; + border: none; + box-shadow: none; +} + +undershoot.top { + background-color: transparent; + background-image: linear-gradient(to left, rgba(49, 49, 58, 0.3) 50%, rgba(255, 255, 255, 0.2) 50%); + padding-top: 1px; + background-size: 12px 1px; + background-repeat: repeat-x; + background-origin: content-box; + background-position: left top; +} + +undershoot.bottom { + background-color: transparent; + background-image: linear-gradient(to left, rgba(49, 49, 58, 0.3) 50%, rgba(255, 255, 255, 0.2) 50%); + padding-bottom: 1px; + background-size: 12px 1px; + background-repeat: repeat-x; + background-origin: content-box; + background-position: left bottom; +} + +undershoot.left { + background-color: transparent; + background-image: linear-gradient(to top, rgba(49, 49, 58, 0.3) 50%, rgba(255, 255, 255, 0.2) 50%); + padding-left: 1px; + background-size: 1px 12px; + background-repeat: repeat-y; + background-origin: content-box; + background-position: left top; +} + +undershoot.right { + background-color: transparent; + background-image: linear-gradient(to top, rgba(49, 49, 58, 0.3) 50%, rgba(255, 255, 255, 0.2) 50%); + padding-right: 1px; + background-size: 1px 12px; + background-repeat: repeat-y; + background-origin: content-box; + background-position: right top; +} + +junction { + border-style: solid none none solid; + border-width: 1px; + border-color: rgba(255, 255, 255, 0.08); + background-color: #31313a; +} + +junction:dir(rtl) { + border-style: solid solid none none; +} + +separator { + min-width: 1px; + min-height: 1px; + background-color: rgba(255, 255, 255, 0.08); +} + + +button.font separator, +button.file separator { + min-width: 0; + min-height: 0; + background-color: transparent; +} + +/********* + * Lists * + *********/ +listview, +list { + border-color: rgba(255, 255, 255, 0.08); + background-color: #31313a; +} + +listview row, +list row { + padding: 2px; +} + +columnview.view > header > button, +treeview.view > header > button, row.activatable { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1), background-color 0, color 0; + box-shadow: inset 0 0 0 9999px transparent; +} + +columnview.view > header > button:hover, +treeview.view > header > button:hover, row.activatable:hover { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1), background-color 0, color 0, box-shadow 0; + box-shadow: inset 0 0 0 9999px alpha(currentColor, 0.05); +} + +columnview.view > header > button.has-open-popup, +treeview.view > header > button.has-open-popup, columnview.view > header > button:active, +treeview.view > header > button:active, row.activatable.has-open-popup, row.activatable:active { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1), background-color 0, color 0; + box-shadow: inset 0 0 0 9999px alpha(currentColor, 0.3); + background-size: 0% 0%; +} + +row button.circular { + margin: 0 4px; +} + +columnview > listview > row { + padding: 0; +} + +columnview > listview > row > cell { + padding: 8px 6px; +} + +columnview > listview > row > cell:not(:first-child) { + border-left: 1px solid transparent; +} + +columnview.column-separators > listview > row > cell { + border-left-color: #474751; +} + +columnview.data-table > listview > row > cell { + padding-top: 2px; + padding-bottom: 2px; +} + +treeexpander { + border-spacing: 4px; +} + +.rich-list { + /* rich lists usually containing other widgets than just labels/text */ +} + +.rich-list > row { + padding: 8px 12px; + min-height: 32px; + /* should be tall even when only containing a label */ +} + +.rich-list > row > box { + border-spacing: 12px; +} + +/********************* + * App Notifications * + *********************/ +.app-notification { + margin: 8px; +} + +.app-notification.frame, +.app-notification border { + border-style: none; +} + +/************* + * Expanders * + *************/ +expander { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1); + min-width: 16px; + min-height: 16px; + -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); + -gtk-icon-transform: rotate(-90deg); + color: rgba(255, 255, 255, 0.7); +} + +expander:dir(rtl) { + -gtk-icon-transform: rotate(90deg); +} + +expander:checked { + -gtk-icon-transform: unset; +} + +expander:hover, expander:active { + color: #FFFFFF; +} + +expander:disabled { + color: rgba(255, 255, 255, 0.3); +} + +expander:selected { + color: rgba(255, 255, 255, 0.7); +} + +expander:selected:hover, expander:selected:active { + color: #FFFFFF; +} + +expander:selected:disabled { + color: rgba(255, 255, 255, 0.3); +} + +/************ + * Calendar * + ************/ +calendar { + color: rgba(255, 255, 255, 0.7); + border: 1px solid rgba(255, 255, 255, 0.08); +} + +calendar > header { + border-bottom: 1px solid rgba(255, 255, 255, 0.08); +} + +calendar > header > button { + border: none; + box-shadow: none; + background: none; + border-radius: 0; +} + +calendar > header > button:backdrop { + background: none; +} + +calendar > grid > label { + border-radius: 3px; +} + +calendar > grid > label.today { + background-color: rgba(255, 255, 255, 0.15); +} + +calendar > grid > label.day-number { + padding: 4px; +} + +calendar > grid > label.day-number:selected { + border-radius: 3px; +} + +calendar > grid > label.day-number.other-month { + color: alpha(currentColor, 0.3); +} + +/*********** + * Dialogs * + ***********/ +window.dialog.message { + color: rgba(255, 255, 255, 0.8); +} + +window.dialog.message.background { + background-color: rgba(68, 69, 75, 0.95); +} + +window.dialog.message .titlebar { + min-height: 20px; + border-style: none; + box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); + background-color: rgba(68, 69, 75, 0.95); + color: rgba(255, 255, 255, 0.8); + border-top-left-radius: 7px; + border-top-right-radius: 7px; +} + +window.dialog.message .titlebar:backdrop { + color: rgba(255, 255, 255, 0.3); +} + +window.dialog.message list, window.dialog.message row, window.dialog.message .view, window.dialog.message textview.view > text { + color: rgba(255, 255, 255, 0.8); + background-color: #3d3e43; + border-color: rgba(255, 255, 255, 0.12); +} + +window.dialog.message .linked:not(.vertical).dialog-action-area > button { + padding: 4px 12px; + border-top: 1px solid rgba(255, 255, 255, 0.08); + border-radius: 0; + color: rgba(255, 255, 255, 0.8); +} + +window.dialog.message .linked:not(.vertical).dialog-action-area > button:first-child { + border-bottom-left-radius: 0; + border-top-left-radius: 0; +} + +window.dialog.message .linked:not(.vertical).dialog-action-area > button:last-child { + border-bottom-right-radius: 0; + border-top-right-radius: 0; +} + +window.dialog.message .linked:not(.vertical).dialog-action-area > button.suggested-action, window.dialog.message .linked:not(.vertical).dialog-action-area > button.suggested-action:hover { + color: #7C4DFF; +} + +window.dialog.message .linked:not(.vertical).dialog-action-area > button.suggested-action:active, window.dialog.message .linked:not(.vertical).dialog-action-area > button.suggested-action:checked { + background-color: #7C4DFF; + color: white; + border-color: #7C4DFF; + box-shadow: none; +} + +window.dialog.message .linked:not(.vertical).dialog-action-area > button.suggested-action:disabled { + opacity: 0.65; +} + +window.dialog.message .linked:not(.vertical).dialog-action-area > button.destructive-action, window.dialog.message .linked:not(.vertical).dialog-action-area > button.destructive-action:hover { + color: #FF5252; +} + +window.dialog.message .linked:not(.vertical).dialog-action-area > button.destructive-action:active, window.dialog.message .linked:not(.vertical).dialog-action-area > button.destructive-action:checked { + background-color: #FF5252; + color: white; + border-color: #FF5252; + box-shadow: none; +} + +window.dialog.message .linked:not(.vertical).dialog-action-area > button.destructive-action:disabled { + opacity: 0.65; +} + +window.dialog.message.csd { + color: rgba(255, 255, 255, 0.8); +} + +window.dialog.message.csd.background { + border-bottom-left-radius: 7px; + border-bottom-right-radius: 7px; +} + +window.dialog.message.csd .linked:not(.vertical).dialog-action-area > button { + padding: 8px 16px; + border-top: 1px solid rgba(255, 255, 255, 0.08); + border-radius: 0; + color: rgba(255, 255, 255, 0.8); +} + +window.dialog.message.csd .linked:not(.vertical).dialog-action-area > button:first-child { + border-bottom-left-radius: 7px; + border-top-left-radius: 0; +} + +window.dialog.message.csd .linked:not(.vertical).dialog-action-area > button:last-child { + border-bottom-right-radius: 7px; + border-top-right-radius: 0; +} + +window.dialog.message entry { + color: rgba(255, 255, 255, 0.8); +} + +window.dialog.message expander title > arrow { + color: rgba(255, 255, 255, 0.7); +} + +window.dialog.message expander title > arrow:hover, window.dialog.message expander title > arrow:active { + color: #FFFFFF; +} + +window.dialog.message expander title > arrow:disabled { + color: rgba(255, 255, 255, 0.3); +} + +.background.csd filechooser, .background.csd filechooser placessidebar { + background: none; + border-radius: 0 0 13px 13px; +} + +.background.csd filechooser list, .background.csd filechooser placessidebar list { + background-color: transparent; +} + +.maximized filechooser placessidebar { + border-radius: 0; +} + +filechooser stack.view { + background-color: transparent; +} + +filechooser stack.view scrolledwindow { + background-color: #31313a; + border-radius: 0 0 13px 13px; +} + +filechooser stack.view scrolledwindow treeview.view { + background-color: transparent; +} + +filechooser .dialog-action-box { + border-top: 1px solid rgba(255, 255, 255, 0.08); +} + +filechooser #pathbarbox { + border-bottom: 1px solid rgba(255, 255, 255, 0.08); + background-color: #34343b; +} + +filechooserbutton > button > box { + border-spacing: 6px; +} + +filechooserbutton:drop(active) { + box-shadow: none; +} + +/*********** + * Sidebar * + ***********/ +stacksidebar .frame list:dir(ltr) { + box-shadow: inset -2px 0 3px -3px rgba(0, 0, 0, 0.05), inset -3px 0 5px -3px rgba(0, 0, 0, 0.05), inset -3px 0 10px -3px rgba(0, 0, 0, 0.03); +} + +stacksidebar .frame list:dir(rtl) { + box-shadow: inset 2px 0 3px -3px rgba(0, 0, 0, 0.08), inset 3px 0 5px -3px rgba(0, 0, 0, 0.05), inset 3px 0 10px -3px rgba(0, 0, 0, 0.03); +} + +.sidebar { + border-style: none; + background-color: #44454b; +} + +.sidebar:dir(ltr), .sidebar.left, .sidebar.left:dir(rtl) { + border-right: 1px solid #474751; + border-left-style: none; +} + +.sidebar:dir(rtl), .sidebar.right { + border-left: 1px solid #474751; + border-right-style: none; +} + +.sidebar listview.view, +.sidebar list { + background-color: transparent; +} + +paned .sidebar.left, paned .sidebar.right, paned .sidebar.left:dir(rtl), paned .sidebar:dir(rtl), paned .sidebar:dir(ltr), paned .sidebar { + border-style: none; +} + +stacksidebar list.separators:not(.horizontal) > row:not(.separator) { + border-bottom: none; +} + +stacksidebar row { + padding: 10px 4px; +} + +stacksidebar row > label { + padding-left: 6px; + padding-right: 6px; +} + +.navigation-sidebar { + padding: 4px 0; +} + +.navigation-sidebar > separator { + margin: 4px; +} + +.navigation-sidebar > row { + min-height: 28px; + padding: 0 4px; + border-radius: 8px; + margin: 0 4px 2px; +} + +.navigation-sidebar > row:hover, .navigation-sidebar > row:focus-visible:focus-within { + color: #FFFFFF; + background-color: rgba(255, 255, 255, 0.06); +} + +.navigation-sidebar > row:selected { + color: #FFFFFF; + background-color: rgba(255, 255, 255, 0.08); +} + +.navigation-sidebar > row:selected label { + color: #FFFFFF; +} + +.navigation-sidebar > row:selected:hover { + background-color: rgba(255, 255, 255, 0.12); +} + +.navigation-sidebar > row:selected:focus-visible:focus-within { + outline-width: 0; + color: #FFFFFF; + background-color: #5657f5; +} + +.navigation-sidebar > row:selected:focus-visible:focus-within:hover { + background-color: #8687f8; +} + +.navigation-sidebar > row:disabled { + color: rgba(255, 255, 255, 0.3); +} + +/**************** + * File chooser * + ****************/ +row image.sidebar-icon { + color: rgba(255, 255, 255, 0.7); +} + +row:selected image.sidebar-icon { + color: rgba(255, 255, 255, 0.7); +} + +placessidebar > viewport.frame { + border-style: none; +} + +placessidebar list { + padding: 1px 0 4px; +} + +placessidebar .navigation-sidebar > row { + min-height: 32px; + margin: -1px 4px -1px 0; + padding: 0; + border-radius: 0 7px 7px 0; +} + +placessidebar .navigation-sidebar > row > revealer { + padding: 0 12px; +} + +placessidebar .navigation-sidebar > row:selected { + background-color: rgba(255, 255, 255, 0.06); + color: #5657f5; +} + +placessidebar .navigation-sidebar > row:selected image.sidebar-icon, placessidebar .navigation-sidebar > row:selected label.sidebar-label { + color: #9e9ff9; +} + +placessidebar .navigation-sidebar > row:disabled { + color: rgba(255, 255, 255, 0.5); +} + +placessidebar .navigation-sidebar > row image.sidebar-icon:dir(ltr) { + padding-right: 8px; +} + +placessidebar .navigation-sidebar > row image.sidebar-icon:dir(rtl) { + padding-left: 8px; +} + +placessidebar .navigation-sidebar > row label.sidebar-label:dir(ltr) { + padding-right: 2px; +} + +placessidebar .navigation-sidebar > row label.sidebar-label:dir(rtl) { + padding-left: 2px; +} + +placessidebar .navigation-sidebar > row.sidebar-placeholder-row { + min-height: 2px; + padding: 0 8px; + background-image: image(#7C4DFF); + background-clip: content-box; +} + +placessidebar .navigation-sidebar > row.sidebar-new-bookmark-row, placessidebar .navigation-sidebar > row.sidebar-new-bookmark-row image.sidebar-icon { + color: #7C4DFF; +} + +placessidebar .navigation-sidebar > row:drop(active):not(:disabled) { + box-shadow: inset 0 0 0 2px #7C4DFF; +} + +placesview .server-list-button > image { + -gtk-icon-transform: rotate(0turn); +} + +placesview .server-list-button:checked > image { + -gtk-icon-transform: rotate(-0.5turn); +} + +placesview > actionbar > revealer > box > label { + padding-left: 8px; + padding-right: 8px; +} + +/********* + * Paned * + *********/ +paned > separator { + min-width: 1px; + min-height: 1px; + -gtk-icon-source: none; + border-style: none; + background-color: transparent; + background-image: image(rgba(255, 255, 255, 0.08)); + background-size: 1px 1px; + background-clip: content-box; +} + +paned > separator.wide { + min-width: 6px; + min-height: 6px; + background-color: #34343b; + background-image: image(rgba(255, 255, 255, 0.08)), image(rgba(255, 255, 255, 0.08)); + background-size: 1px 1px, 1px 1px; +} + +paned.horizontal > separator { + background-repeat: repeat-y; +} + +paned.horizontal > separator:dir(ltr) { + margin: 0 -8px 0 0; + padding: 0 8px 0 0; + background-position: left; +} + +paned.horizontal > separator:dir(rtl) { + margin: 0 0 0 -8px; + padding: 0 0 0 8px; + background-position: right; +} + +paned.horizontal > separator.wide { + margin: 0; + padding: 0; + background-repeat: repeat-y, repeat-y; + background-position: left, right; +} + +paned.vertical > separator { + margin: 0 0 -8px 0; + padding: 0 0 8px 0; + background-repeat: repeat-x; + background-position: top; +} + +paned.vertical > separator.wide { + margin: 0; + padding: 0; + background-repeat: repeat-x, repeat-x; + background-position: bottom, top; +} + +video { + background: black; +} + +video image.osd { + min-width: 64px; + min-height: 64px; + border-radius: 9999px; +} + +/************** + * GtkInfoBar * + **************/ +infobar { + border-style: none; +} + +infobar.info { + background-color: #66BB6A; +} + +infobar.question { + background-color: #42A5F5; +} + +infobar.warning { + background-color: #FFA726; +} + +infobar.error { + background-color: #EF5350; +} + +infobar.info > label, infobar.info, infobar.question > label, infobar.question, infobar.warning > label, infobar.warning, infobar.error > label, infobar.error { + color: #FFFFFF; +} + +/************ + * Tooltips * + ************/ +tooltip { + border-radius: 8px; + box-shadow: none; +} + +tooltip.background.csd { + border-radius: 8px; + box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); + background-color: rgba(68, 69, 75, 0.9); + color: rgba(255, 255, 255, 0.8); +} + +tooltip label { + min-height: 20px; + padding: 0 2px; +} + +tooltip > box { + border-spacing: 6px; +} + +/***************** + * Color Chooser * + *****************/ +colorswatch.top { + border-top-left-radius: 5.5px; + border-top-right-radius: 5.5px; +} + +colorswatch.top overlay { + border-top-left-radius: 5px; + border-top-right-radius: 5px; +} + +colorswatch.bottom { + border-bottom-left-radius: 5.5px; + border-bottom-right-radius: 5.5px; +} + +colorswatch.bottom overlay { + border-bottom-left-radius: 5px; + border-bottom-right-radius: 5px; +} + +colorswatch.left, colorswatch:first-child:not(.top) { + border-top-left-radius: 5.5px; + border-bottom-left-radius: 5.5px; +} + +colorswatch.left overlay, colorswatch:first-child:not(.top) overlay { + border-top-left-radius: 5px; + border-bottom-left-radius: 5px; +} + +colorswatch.right, colorswatch:last-child:not(.bottom) { + border-top-right-radius: 5.5px; + border-bottom-right-radius: 5.5px; +} + +colorswatch.right overlay, colorswatch:last-child:not(.bottom) overlay { + border-top-right-radius: 5px; + border-bottom-right-radius: 5px; +} + +colorswatch.dark { + color: #FFFFFF; +} + +colorswatch.light { + color: rgba(0, 0, 0, 0.87); +} + +colorswatch:drop(active) { + box-shadow: none; +} + +colorswatch:drop(active).light overlay { + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1), 0 0 0 2px #7C4DFF; +} + +colorswatch:drop(active).dark overlay { + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1), 0 0 0 2px #7C4DFF; +} + +colorswatch overlay { + transition: box-shadow 100ms cubic-bezier(0, 0, 0.2, 1); + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1); +} + +colorswatch overlay:hover { + box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06); +} + +colorswatch#add-color-button { + border-radius: 5px 5px 0 0; + color: #FFFFFF; +} + +colorswatch#add-color-button:only-child { + border-radius: 5px; +} + +colorswatch#add-color-button overlay { + background-image: linear-gradient(to right, #EF5350 25%, #FFA726 25%, #FFA726 50%, #66BB6A 50%, #66BB6A 75%, #42A5F5 75%); +} + +colorswatch:disabled { + opacity: 0.5; +} + +colorswatch:disabled overlay { + box-shadow: none; +} + +colorswatch#editor-color-sample { + border-radius: 5.5px; +} + +colorswatch#editor-color-sample overlay { + border-radius: 5px; +} + +colorchooser .popover.osd { + transition: box-shadow 100ms cubic-bezier(0, 0, 0.2, 1); + border-radius: 7px; + box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06), inset 0 1px rgba(255, 255, 255, 0.1); + background-color: #31313a; +} + +colorchooser .popover.osd:backdrop { + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1), inset 0 1px rgba(255, 255, 255, 0.1); +} + +/******** + * Misc * + ********/ +.content-view { + background-color: #34343b; +} + +/********************** + * Window Decorations * + **********************/ +window { + border: none; +} + +window.csd { + transition: box-shadow 100ms cubic-bezier(0, 0, 0.2, 1); + border-radius: 13px; + box-shadow: 0 14px 14px rgba(0, 0, 0, 0.25), 0 10px 5px rgba(0, 0, 0, 0.22), 0 16px 16px transparent; + margin: 0; +} + +window.csd:backdrop { + box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06), 0 16px 16px transparent; +} + +window.csd.popup { + border-radius: 13px; + box-shadow: 0 14px 14px rgba(0, 0, 0, 0.25), 0 10px 5px rgba(0, 0, 0, 0.22); +} + +window.csd.dialog.message { + border-radius: 13px; + box-shadow: 0 14px 14px rgba(0, 0, 0, 0.25), 0 10px 5px rgba(0, 0, 0, 0.22); +} + +window.csd.solid-csd { + margin: 0; + border: none; + border-radius: 0; + box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); + background-color: #31313a; +} + +.maximized window, .fullscreen window, .tiled window, .tiled-top window, .tiled-right window, .tiled-bottom window, .tiled-left window { + border-radius: 0; +} + +.popup window { + box-shadow: none; +} + +.ssd window { + box-shadow: 0 3px 3px rgba(0, 0, 0, 0.16); +} + +/***************** + * Title buttons * + *****************/ +headerbar { + padding: 0 14px; +} + +headerbar windowcontrols { + border-spacing: 6px; +} + +headerbar windowcontrols:not(.empty).start:dir(ltr), headerbar windowcontrols:not(.empty).end:dir(rtl) { + margin-right: 4px; +} + +headerbar windowcontrols:not(.empty).start:dir(rtl), headerbar windowcontrols:not(.empty).end:dir(ltr) { + margin-left: 4px; +} + +headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).maximize, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).minimize { + min-width: 12px; + min-height: 12px; + padding: 0; + margin: 0 2px; + color: transparent; + background-color: rgba(255, 255, 255, 0.3); +} + +headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close:hover, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close:backdrop:hover, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).maximize:hover, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).maximize:backdrop:hover, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).minimize:hover, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).minimize:backdrop:hover { + color: rgba(255, 255, 255, 0.7); +} + +headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close:active, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close:checked, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close:backdrop:active, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close:backdrop:checked, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).maximize:active, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).maximize:checked, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).maximize:backdrop:active, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).maximize:backdrop:checked, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).minimize:active, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).minimize:checked, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).minimize:backdrop:active, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).minimize:backdrop:checked { + color: #FFFFFF; +} + +headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close:backdrop, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).maximize:backdrop, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).minimize:backdrop { + color: transparent; + background-color: rgba(255, 255, 255, 0.12); +} + +headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close { + transition: background-size 0, background-image 0, box-shadow 100ms cubic-bezier(0, 0, 0.2, 1); +} + +headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close:hover { + padding: 2px; + margin: -2px 0; + background-color: #EF5350; + color: rgba(255, 255, 255, 0.7); + box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06); +} + +headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close:active, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close:checked { + padding: 2px; + margin: -2px 0; + background-color: #7C4DFF; + color: #FFFFFF; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1); +} + +emoji-completion-row:focus, +emoji-completion-row:hover, .view selection, .view:selected, iconview selection, iconview:selected, flowbox > flowboxchild:selected, gridview > child:selected, entry > text > selection, spinbutton > text > selection, spinbutton:not(.vertical) > text > selection, dropdown popover listview > row:selected, +combobox popover listview > row:selected, modelbutton.flat:selected, row:selected, columnview row:not(:selected) cell editablelabel.editing text selection, calendar > grid > label.today:selected, calendar > grid > label.day-number:selected, filechooser stack.view scrolledwindow treeview.view selection, filechooser stack.view scrolledwindow treeview.view:selected { + background-color: #5657f5; +} + +row:selected label, label:selected, emoji-completion-row:focus, +emoji-completion-row:hover, .view selection, .view:selected, iconview selection, iconview:selected, flowbox > flowboxchild:selected, gridview > child:selected, entry > text > selection, spinbutton > text > selection, spinbutton:not(.vertical) > text > selection, dropdown popover listview > row:selected, +combobox popover listview > row:selected, modelbutton.flat:selected, row:selected, columnview row:not(:selected) cell editablelabel.editing text selection, calendar > grid > label.today:selected, calendar > grid > label.day-number:selected, filechooser stack.view scrolledwindow treeview.view selection, filechooser stack.view scrolledwindow treeview.view:selected { + color: #FFFFFF; +} + +row:selected label:disabled, label:disabled:selected, emoji-completion-row:disabled:focus, +emoji-completion-row:disabled:hover, .view selection:disabled, .view:disabled:selected, iconview selection:disabled, iconview:disabled:selected, flowbox > flowboxchild:disabled:selected, gridview > child:disabled:selected, entry > text > selection:disabled, spinbutton > text > selection:disabled, modelbutton.flat:disabled:selected, row:disabled:selected, columnview row:not(:selected) cell editablelabel.editing text selection:disabled, calendar > grid > label.today:disabled:selected, calendar > grid > label.day-number:disabled:selected, filechooser stack.view scrolledwindow treeview.view selection:disabled { + color: rgba(255, 255, 255, 0.5); +} + +.monospace { + font-family: monospace; +} + +/********************** + * Touch Copy & Paste * + **********************/ +cursor-handle { + border-radius: 9999px; + background-color: #7C4DFF; + background-image: none; +} + +cursor-handle.top:dir(ltr), cursor-handle.bottom:dir(rtl) { + padding-left: 6px; + border-top-right-radius: 0; +} + +cursor-handle.bottom:dir(ltr), cursor-handle.top:dir(rtl) { + padding-right: 6px; + border-top-left-radius: 0; +} + +cursor-handle.insertion-cursor:dir(ltr), cursor-handle.insertion-cursor:dir(rtl) { + -gtk-icon-source: -gtk-scaled(url("assets/scale-horz-marks-before-slider-dark.png"), url("assets/scale-horz-marks-before-slider-dark@2.png")); +} + +shortcuts-section { + margin: 20px; +} + +.shortcuts-search-results { + margin: 20px; + border-spacing: 24px; +} + +.context-menu { + font: initial; +} + +shortcut > .keycap { + min-width: 12px; + min-height: 26px; + margin-top: 2px; + padding-bottom: 2px; + padding-left: 8px; + padding-right: 8px; + border: solid 1px rgba(255, 255, 255, 0.08); + border-radius: 5px; + box-shadow: inset 0 -2px rgba(255, 255, 255, 0.08); + background-color: #31313a; + color: #FFFFFF; + font-size: smaller; +} + +:not(decoration):not(window):drop(active) { + transition: all 225ms cubic-bezier(0, 0, 0.2, 1); + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1), inset 0 0 0 2px #7C4DFF; + caret-color: #7C4DFF; +} + +stackswitcher button.text-button { + min-width: 100px; +} + +stackswitcher button.circular, +stackswitcher button.text-button.circular { + min-width: 32px; + min-height: 32px; + padding: 0; +} + +.lowres-icon { + -gtk-icon-shadow: 0 -1px rgba(0, 0, 0, 0.05), 1px 0 rgba(0, 0, 0, 0.1), 0 1px rgba(0, 0, 0, 0.3), -1px 0 rgba(0, 0, 0, 0.1); +} + +.icon-dropshadow { + -gtk-icon-shadow: 0 1px 12px rgba(0, 0, 0, 0.05), 0 -1px rgba(0, 0, 0, 0.05), 1px 0 rgba(0, 0, 0, 0.1), 0 1px rgba(0, 0, 0, 0.3), -1px 0 rgba(0, 0, 0, 0.1); +} + +/********* + * Emoji * + *********/ +popover.emoji-picker > contents { + padding: 0; +} + +.emoji-searchbar { + padding: 4px; + border-spacing: 4px; + border-bottom: 1px solid rgba(255, 255, 255, 0.08); +} + +.emoji-toolbar { + padding: 4px; + border-spacing: 4px; + border-top: 1px solid rgba(255, 255, 255, 0.08); +} + +button.emoji-section { + margin-top: -1px; + padding: 0 8px; + min-width: 24px; + min-height: 32px; + border-radius: 0; + box-shadow: none; +} + +button.emoji-section:hover { + box-shadow: inset 0 2px rgba(255, 255, 255, 0.2); +} + +button.emoji-section:active { + box-shadow: inset 0 2px #5657f5; +} + +button.emoji-section:checked { + box-shadow: inset 0 2px #5657f5; + background-color: transparent; +} + +button.emoji-section:first-child { + margin-left: 4px; +} + +button.emoji-section:last-child { + margin-right: 4px; +} + +popover.emoji-picker emoji { + font-size: x-large; + padding: 4px; + border-radius: 4px; +} + +popover.emoji-picker emoji:focus, popover.emoji-picker emoji:hover { + background: #5657f5; +} + +emoji-completion-row > box { + border-spacing: 4px; + padding: 2px 4px; +} + +emoji-completion-row emoji:focus, +emoji-completion-row emoji:hover { + background: none; + box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.05); + border-radius: 3px; +} + +popover.entry-completion > contents { + padding: 0; +} + +statusbar { + padding: 4px 8px; +} + +/* GTK NAMED COLORS + ---------------- + use responsibly! */ +/* +widget text/foreground color */ +@define-color theme_fg_color #FFFFFF; +/* +text color for entries, views and content in general */ +@define-color theme_text_color currentColor; +/* +widget base background color */ +@define-color theme_bg_color #34343b; +/* +text widgets and the like base background color */ +@define-color theme_base_color #31313a; +/* +base background color of selections */ +@define-color theme_selected_bg_color #5657f5; +/* +text/foreground color of selections */ +@define-color theme_selected_fg_color #FFFFFF; +/* +base background color of insensitive widgets */ +@define-color insensitive_bg_color #34343b; +/* +text foreground color of insensitive widgets */ +@define-color insensitive_fg_color alpha(currentColor, 0.5); +/* +insensitive text widgets and the like base background color */ +@define-color insensitive_base_color #3b3b43; +/* +widget text/foreground color on backdrop windows */ +@define-color theme_unfocused_fg_color #FFFFFF; +/* +text color for entries, views and content in general on backdrop windows */ +@define-color theme_unfocused_text_color currentColor; +/* +widget base background color on backdrop windows */ +@define-color theme_unfocused_bg_color #34343b; +/* +text widgets and the like base background color on backdrop windows */ +@define-color theme_unfocused_base_color #31313a; +/* +base background color of selections on backdrop windows */ +@define-color theme_unfocused_selected_bg_color #5657f5; +/* +text/foreground color of selections on backdrop windows */ +@define-color theme_unfocused_selected_fg_color #FFFFFF; +/* +insensitive color on backdrop windows */ +@define-color unfocused_insensitive_color alpha(currentColor, 0.5); +/* +widgets main borders color */ +@define-color borders alpha(currentColor, 0.12); +/* +widgets main borders color on backdrop windows */ +@define-color unfocused_borders alpha(currentColor, 0.12); +/* +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 #31313a; +@define-color placeholder_text_color #c1c1c4; +/* Very contrasty background for text views (@theme_text_color foreground) */ +@define-color text_view_bg #232329; +@define-color budgie_tasklist_indicator_color #7C4DFF; +@define-color budgie_tasklist_indicator_color_active #7C4DFF; +@define-color budgie_tasklist_indicator_color_active_window rgba(90, 62, 174, 0.931); +@define-color budgie_tasklist_indicator_color_attention #FF6D00; +@define-color STRAWBERRY_100 #FF9262; +@define-color STRAWBERRY_300 #FF793E; +@define-color STRAWBERRY_500 #F15D22; +@define-color STRAWBERRY_700 #CF3B00; +@define-color STRAWBERRY_900 #AC1800; +@define-color ORANGE_100 #FFDB91; +@define-color ORANGE_300 #FFCA40; +@define-color ORANGE_500 #FAA41A; +@define-color ORANGE_700 #DE8800; +@define-color ORANGE_900 #C26C00; +@define-color BANANA_100 #FFFFA8; +@define-color BANANA_300 #FFFA7D; +@define-color BANANA_500 #FFCE51; +@define-color BANANA_700 #D1A023; +@define-color BANANA_900 #A27100; +@define-color LIME_100 #A2F3BE; +@define-color LIME_300 #8ADBA6; +@define-color LIME_500 #73C48F; +@define-color LIME_700 #479863; +@define-color LIME_900 #1C6D38; +@define-color BLUEBERRY_100 #94A6FF; +@define-color BLUEBERRY_300 #6A7CE0; +@define-color BLUEBERRY_500 #3F51B5; +@define-color BLUEBERRY_700 #213397; +@define-color BLUEBERRY_900 #031579; +@define-color GRAPE_100 #D25DE6; +@define-color GRAPE_300 #B84ACB; +@define-color GRAPE_500 #9C27B0; +@define-color GRAPE_700 #830E97; +@define-color GRAPE_900 #6A007E; +@define-color COCOA_100 #9F9792; +@define-color COCOA_300 #7B736E; +@define-color COCOA_500 #574F4A; +@define-color COCOA_700 #463E39; +@define-color COCOA_900 #342C27; +@define-color SILVER_100 #EEE; +@define-color SILVER_300 #CCC; +@define-color SILVER_500 #AAA; +@define-color SILVER_700 #888; +@define-color SILVER_900 #666; +@define-color SLATE_100 #888; +@define-color SLATE_300 #666; +@define-color SLATE_500 #444; +@define-color SLATE_700 #222; +@define-color SLATE_900 #111; +@define-color BLACK_100 #474341; +@define-color BLACK_300 #403C3A; +@define-color BLACK_500 #393634; +@define-color BLACK_700 #33302F; +@define-color BLACK_900 #2B2928; diff --git a/src/gtk/4.0/gtk-dark-solid.scss b/src/gtk/4.0/gtk-dark-solid.scss new file mode 100644 index 0000000..ce4b4cf --- /dev/null +++ b/src/gtk/4.0/gtk-dark-solid.scss @@ -0,0 +1,11 @@ +$variant: 'dark'; +$titlebar: 'dark'; +$compact: 'true'; +$solid: 'true'; + +@import '../../_sass/variables'; +@import '../../_sass/colors'; +@import '../../_sass/gtk/drawing-4.0'; +@import '../../_sass/gtk/common-4.0'; +@import '../../_sass/gtk/apps-4.0'; +@import '../../_sass/gtk/colors-public'; diff --git a/src/gtk/4.0/gtk-dark.css b/src/gtk/4.0/gtk-dark.css new file mode 100644 index 0000000..b27f759 --- /dev/null +++ b/src/gtk/4.0/gtk-dark.css @@ -0,0 +1,4481 @@ +@keyframes ripple_effect { + to { + background-size: 1000% 1000%; + } +} + +@keyframes scale_ripple_effect { + to { + background-size: auto, 1000% 1000%; + } +} + +@keyframes header_ripple_effect { + from { + background-image: radial-gradient(circle, #5657f5 0%, transparent 0%); + } + to { + background-image: radial-gradient(circle, #5657f5 100%, transparent 0%); + } +} + +* { + padding: 0; + background-clip: padding-box; + -gtk-secondary-caret-color: #5657f5; +} + +/*************** + * Base States * + ***************/ +.background { + background-color: #34343b; + color: #FFFFFF; +} + +.background.csd { + border-radius: 13px; + background-color: #34343b; +} + +.background.maximized, .background.tiled, .background.fullscreen, .background.solid-csd { + border-radius: 0; +} + +dnd { + color: #FFFFFF; +} + +.normal-icons { + -gtk-icon-size: 16px; +} + +.large-icons { + -gtk-icon-size: 32px; +} + +spinner:disabled, +arrow:disabled, +scrollbar:disabled, +check:disabled, +radio:disabled, +treeview.expander:disabled { + -gtk-icon-filter: opacity(0.5); +} + +filechooser stack.view scrolledwindow treeview.view, iconview, .view { + background-color: #31313a; + color: #FFFFFF; +} + +filechooser stack.view scrolledwindow treeview.view:disabled, iconview:disabled, .view:disabled { + color: rgba(255, 255, 255, 0.5); +} + +textview > text { + background-color: #31313a; +} + +textview > border { + background-color: #3b3b43; + color: rgba(255, 255, 255, 0.5); +} + +textview:drop(active) { + caret-color: #FFA726; +} + +iconview { + border-radius: 5px; +} + +iconview > dndtarget:drop(active) { + border: none; +} + +rubberband, .content-view > rubberband, columnview.view > rubberband, +treeview.view > rubberband, gridview > rubberband, flowbox > rubberband { + border: 1px solid #5C6BC0; + background-color: rgba(92, 107, 192, 0.3); +} + +flowbox > flowboxchild { + padding: 4px; + border-radius: 7px; +} + +gridview > child { + padding: 3px; +} + +gridview > child box { + border-spacing: 8px; + margin: 12px; +} + +coverflow cover { + color: #FFFFFF; + background-color: #31313a; + border: none; +} + +label.separator { + color: #FFFFFF; +} + +label > selection { + background-color: #5657f5; + color: #FFFFFF; +} + +.dim-label, headerbar .subtitle, spinbutton:not(.vertical) > text > placeholder, entry > text > placeholder, label.separator { + opacity: 0.6; +} + +window.assistant .sidebar { + padding: 4px 0; +} + +window.assistant.csd .sidebar { + border-top-style: none; +} + +window.assistant .sidebar label { + min-height: 32px; + padding: 0 12px; + color: rgba(255, 255, 255, 0.5); + font-weight: 500; +} + +window.assistant .sidebar label.highlight { + color: #FFFFFF; +} + +window.aboutdialog image.large-icons { + -gtk-icon-size: 128px; +} + +.osd .scale-popup, .app-notification, popover.background.touch-selection, popover.background.magnifier, popover.background.osd, .osd { + color: rgba(255, 255, 255, 0.8); + border: none; + background-color: rgba(37, 37, 45, 0.85); + background-clip: padding-box; + border-radius: 8px; + padding: 6px; + margin: 6px; + box-shadow: 0 14px 14px rgba(0, 0, 0, 0.25), 0 10px 5px rgba(0, 0, 0, 0.22); +} + +/********************* + * Spinner Animation * + *********************/ +@keyframes spin { + to { + transform: rotate(1turn); + } +} + +spinner { + background: none; + opacity: 0; + -gtk-icon-source: -gtk-icontheme("process-working-symbolic"); +} + +spinner:checked { + opacity: 1; + animation: spin 1s linear infinite; +} + +spinner:checked:disabled { + opacity: 0.5; +} + +.large-title { + font-weight: 300; + font-size: 24pt; +} + +.title-1 { + font-weight: 800; + font-size: 20pt; +} + +.title-2 { + font-weight: 800; + font-size: 15pt; +} + +.title-3 { + font-weight: 700; + font-size: 15pt; +} + +.title-4 { + font-weight: 700; + font-size: 13pt; +} + +.heading { + font-weight: 700; + font-size: 11pt; +} + +.body { + font-weight: 400; + font-size: 11pt; +} + +.caption-heading { + font-weight: 700; + font-size: 9pt; +} + +.caption { + font-weight: 400; + font-size: 9pt; +} + +/**************** + * Text Entries * + ****************/ +spinbutton:not(.vertical), entry { + min-height: 32px; + padding: 0 8px; + border-radius: 7px; + transition: all 100ms cubic-bezier(0, 0, 0.2, 1); + border-image: none; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1); + background-color: #44454b; + color: #FFFFFF; +} + +spinbutton:focus-within:not(.vertical), entry:focus-within { + border-image: none; + box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06); +} + +spinbutton:disabled:not(.vertical), entry:disabled { + box-shadow: none; + background-color: #3b3b43; + color: rgba(255, 255, 255, 0.5); +} + +colorchooser .popover.osd spinbutton:not(.vertical), window.dialog.message entry, notebook > stack:not(:only-child) entry:not(.search), +notebook > stack:not(:only-child) spinbutton:not(.vertical), popover.background .linked entry, popover.background entry, +popover.background spinbutton:not(.vertical), spinbutton.flat:not(.vertical), entry.flat { + border-radius: 0; + transition: all 100ms cubic-bezier(0, 0, 0.2, 1), box-shadow 225ms cubic-bezier(0, 0, 0.2, 1); + box-shadow: inset 0 -1px rgba(255, 255, 255, 0.2), inset 0 -2px transparent; + background-color: transparent; + color: #FFFFFF; +} + +colorchooser .popover.osd spinbutton:focus-within:not(.vertical), window.dialog.message entry:focus-within, notebook > stack:not(:only-child) entry:focus-within:not(.search), +notebook > stack:not(:only-child) spinbutton:focus-within:not(.vertical), popover.background entry:focus-within, +popover.background spinbutton:focus-within:not(.vertical), spinbutton.flat:focus-within:not(.vertical), entry.flat:focus-within { + box-shadow: inset 0 -1px transparent, inset 0 -2px #5657f5; +} + +colorchooser .popover.osd spinbutton:disabled:not(.vertical), window.dialog.message entry:disabled, notebook > stack:not(:only-child) entry:disabled:not(.search), +notebook > stack:not(:only-child) spinbutton:disabled:not(.vertical), popover.background entry:disabled, +popover.background spinbutton:disabled:not(.vertical), spinbutton.flat:disabled:not(.vertical), entry.flat:disabled { + box-shadow: inset 0 -1px rgba(255, 255, 255, 0.08), inset 0 -2px transparent; + background-color: transparent; + color: rgba(255, 255, 255, 0.5); +} + +spinbutton:not(.vertical) image, entry image { + color: rgba(255, 255, 255, 0.7); +} + +spinbutton:not(.vertical) image:hover, spinbutton:not(.vertical) image:active, entry image:hover, entry image:active { + color: #FFFFFF; +} + +spinbutton:not(.vertical) image:disabled, entry image:disabled { + color: rgba(255, 255, 255, 0.5); +} + +spinbutton:not(.vertical) image.left, entry image.left { + margin-left: 0px; + margin-right: 6px; +} + +spinbutton:not(.vertical) image.right, entry image.right { + margin-left: 6px; + margin-right: 0px; +} + +spinbutton:focus-within:not(.vertical) > placeholder, entry:focus-within > placeholder { + opacity: 0; +} + +spinbutton:not(.vertical) > text > block-cursor, entry > text > block-cursor { + color: #31313a; + background-color: #FFFFFF; +} + +spinbutton:not(.vertical) undershoot.left, entry undershoot.left { + background-color: transparent; + background-image: linear-gradient(to top, rgba(49, 49, 58, 0.3) 50%, rgba(255, 255, 255, 0.2) 50%); + padding-left: 1px; + background-size: 1px 12px; + background-repeat: repeat-y; + background-origin: content-box; + background-position: left top; +} + +spinbutton:not(.vertical) undershoot.right, entry undershoot.right { + background-color: transparent; + background-image: linear-gradient(to top, rgba(49, 49, 58, 0.3) 50%, rgba(255, 255, 255, 0.2) 50%); + padding-right: 1px; + background-size: 1px 12px; + background-repeat: repeat-y; + background-origin: content-box; + background-position: right top; +} + +spinbutton.password:not(.vertical) image.caps-lock-indicator, entry.password image.caps-lock-indicator { + color: rgba(255, 255, 255, 0.3); +} + +spinbutton.error:not(.vertical), entry.error { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1); + border-image: none; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1); + background-color: #DD2C00; + color: #FFFFFF; +} + +spinbutton.error:focus-within:not(.vertical), entry.error:focus-within { + border-image: none; + box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06); +} + +spinbutton.error:disabled:not(.vertical), entry.error:disabled { + box-shadow: none; + background-color: #3b3b43; + color: rgba(255, 255, 255, 0.5); +} + +spinbutton.error.flat:not(.vertical), entry.error.flat { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1), box-shadow 225ms cubic-bezier(0, 0, 0.2, 1); + box-shadow: inset 0 -1px #DD2C00, inset 0 -2px transparent; + background-color: transparent; + color: #FFFFFF; +} + +spinbutton.error.flat:focus-within:not(.vertical), entry.error.flat:focus-within { + box-shadow: inset 0 -1px transparent, inset 0 -2px #DD2C00; +} + +spinbutton.error.flat:disabled:not(.vertical), entry.error.flat:disabled { + box-shadow: inset 0 -1px rgba(255, 255, 255, 0.08), inset 0 -2px transparent; + background-color: transparent; + color: rgba(255, 255, 255, 0.5); +} + +spinbutton.error:not(.vertical) image, entry.error image { + color: rgba(255, 255, 255, 0.7); +} + +spinbutton.error:not(.vertical) image:hover, spinbutton.error:not(.vertical) image:active, entry.error image:hover, entry.error image:active { + color: #FFFFFF; +} + +spinbutton.error:not(.vertical) image:disabled, entry.error image:disabled { + color: rgba(255, 255, 255, 0.5); +} + +spinbutton.warning:not(.vertical), entry.warning { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1); + border-image: none; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1); + background-color: #FF6D00; + color: #FFFFFF; +} + +spinbutton.warning:focus-within:not(.vertical), entry.warning:focus-within { + border-image: none; + box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06); +} + +spinbutton.warning:disabled:not(.vertical), entry.warning:disabled { + box-shadow: none; + background-color: #3b3b43; + color: rgba(255, 255, 255, 0.5); +} + +spinbutton.warning.flat:not(.vertical), entry.warning.flat { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1), box-shadow 225ms cubic-bezier(0, 0, 0.2, 1); + box-shadow: inset 0 -1px #FF6D00, inset 0 -2px transparent; + background-color: transparent; + color: #FFFFFF; +} + +spinbutton.warning.flat:focus-within:not(.vertical), entry.warning.flat:focus-within { + box-shadow: inset 0 -1px transparent, inset 0 -2px #FF6D00; +} + +spinbutton.warning.flat:disabled:not(.vertical), entry.warning.flat:disabled { + box-shadow: inset 0 -1px rgba(255, 255, 255, 0.08), inset 0 -2px transparent; + background-color: transparent; + color: rgba(255, 255, 255, 0.5); +} + +spinbutton.warning:not(.vertical) image, entry.warning image { + color: rgba(255, 255, 255, 0.7); +} + +spinbutton.warning:not(.vertical) image:hover, spinbutton.warning:not(.vertical) image:active, entry.warning image:hover, entry.warning image:active { + color: #FFFFFF; +} + +spinbutton.warning:not(.vertical) image:disabled, entry.warning image:disabled { + color: rgba(255, 255, 255, 0.5); +} + +spinbutton:not(.vertical) > progress, entry > progress { + margin: 2px -6px; +} + +spinbutton:not(.vertical) progress > trough > progress, entry progress > trough > progress { + background-color: transparent; + background-image: none; + border-radius: 0; + border-bottom: 2px solid #5657f5; + box-shadow: none; +} + +.linked:not(.vertical) > spinbutton.flat:not(.vertical), .linked.vertical > spinbutton.flat:not(.vertical), .linked:not(.vertical) > entry.flat, .linked.vertical > entry.flat { + border-radius: 0; +} + +notebook > stack:not(:only-child) treeview entry:not(.search), +notebook > stack:not(:only-child) treeview spinbutton:not(.vertical), +treeview entry { + min-height: 0; + padding: 2px; + border-radius: 0; + background-color: #31313a; +} + +notebook > stack:not(:only-child) treeview entry:not(.search), +notebook > stack:not(:only-child) treeview spinbutton:not(.vertical), +treeview entry { + border-image: none; + box-shadow: none; +} + +editablelabel > stack > text { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1); + border-image: none; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1); + background-color: #44454b; + color: #FFFFFF; +} + +.entry-tag { + margin: 2px; + border-radius: 9999px; + box-shadow: none; + background-color: #5657f5; + color: #FFFFFF; +} + +.entry-tag:hover { + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1); +} + +:dir(ltr) .entry-tag { + margin-left: 4px; + margin-right: 0; + padding-left: 12px; + padding-right: 8px; +} + +:dir(rtl) .entry-tag { + margin-left: 0; + margin-right: 4px; + padding-left: 8px; + padding-right: 12px; +} + +.entry-tag.button { + box-shadow: none; + background-color: transparent; +} + +.entry-tag.button:not(:hover):not(:active) { + color: rgba(255, 255, 255, 0.7); +} + +/*********** + * Buttons * + ***********/ +@keyframes needs_attention { + from { + background-image: radial-gradient(farthest-side, #9e9ff9 0%, rgba(158, 159, 249, 0) 0%); + } + to { + background-image: radial-gradient(farthest-side, #9e9ff9 95%, rgba(158, 159, 249, 0)); + } +} + + +button { + min-height: 24px; + min-width: 16px; + padding: 4px 8px; + border-radius: 7px; + font-weight: 500; + transition: 100ms; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1), inset 0 0 0 9999px transparent; + background-color: #44454b; + color: rgba(255, 255, 255, 0.8); +} + + +button:hover { + box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06), inset 0 0 0 9999px transparent; + color: #FFFFFF; +} + + +button:active { + box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06), inset 0 0 0 9999px alpha(currentColor, 0.15); + color: #FFFFFF; +} + + +button:disabled { + box-shadow: none; + background-color: #3b3b43; + color: rgba(255, 255, 255, 0.3); +} + + +button:checked { + background-color: #5657f5; + color: #FFFFFF; + background-image: linear-gradient(to bottom, #6C6AF2, #4648FB); + background-size: auto auto; + background-position: center center; + background-repeat: no-repeat; +} + + +button:checked:disabled { + background-color: rgba(86, 87, 245, 0.3); + color: rgba(86, 87, 245, 0.5); + background-image: none; +} + +placessidebar .navigation-sidebar > row button.sidebar-button, window.dialog.message.csd .linked.dialog-action-area:not(.vertical) > button, window.dialog.message .linked.dialog-action-area:not(.vertical) > button, check, +radio, scrollbar button, notebook > header > tabs > arrow, spinbutton.vertical button, spinbutton:not(.vertical) button, infobar.info button, infobar.question button, infobar.warning button, infobar.error button, .app-notification button, actionbar > revealer > box button:not(.suggested-action):not(.destructive-action):not(.server-list-button), modelbutton.flat, popover.menu box.circular-buttons button.circular.image-button.model, popover.menu box.inline-buttons button.image-button.model, +pathbar > button, +headerbar button:not(.suggested-action):not(.destructive-action), +toolbar button, .toolbar button, +button.flat { + transition: 100ms; + box-shadow: inset 0 0 0 9999px transparent; + background-color: transparent; + color: rgba(255, 255, 255, 0.7); +} + +placessidebar .navigation-sidebar > row button.sidebar-button:hover, window.dialog.message .linked:not(.vertical).dialog-action-area > button:hover, check:hover, +radio:hover, scrollbar button:hover, notebook > header > tabs > arrow:hover, spinbutton.vertical button:hover, spinbutton:not(.vertical) button:hover, infobar.info button:hover, infobar.question button:hover, infobar.warning button:hover, infobar.error button:hover, .app-notification button:hover, actionbar > revealer > box button:hover:not(.suggested-action):not(.destructive-action):not(.server-list-button), modelbutton.flat:hover, popover.menu box.circular-buttons button.circular.image-button.model:hover, popover.menu box.inline-buttons button.image-button.model:hover, +pathbar > button:hover, +headerbar button:hover:not(.suggested-action):not(.destructive-action), +toolbar button:hover, .toolbar button:hover, +button.flat:hover { + box-shadow: inset 0 0 0 9999px alpha(currentColor, 0.15); + color: #FFFFFF; +} + +placessidebar .navigation-sidebar > row button.sidebar-button:active, window.dialog.message .linked:not(.vertical).dialog-action-area > button:active, check:active, +radio:active, scrollbar button:active, notebook > header > tabs > arrow:active, spinbutton.vertical button:active, spinbutton:not(.vertical) button:active, infobar.info button:active, infobar.question button:active, infobar.warning button:active, infobar.error button:active, .app-notification button:active, actionbar > revealer > box button:active:not(.suggested-action):not(.destructive-action):not(.server-list-button), modelbutton.flat:active, popover.menu box.circular-buttons button.circular.image-button.model:active, popover.menu box.inline-buttons button.image-button.model:active, +pathbar > button:active, +headerbar button:active:not(.suggested-action):not(.destructive-action), +toolbar button:active, .toolbar button:active, +button.flat:active { + box-shadow: inset 0 0 0 9999px alpha(currentColor, 0.3); + color: #FFFFFF; +} + +placessidebar .navigation-sidebar > row button.sidebar-button:disabled, window.dialog.message .linked:not(.vertical).dialog-action-area > button:disabled, check:disabled, +radio:disabled, scrollbar button:disabled, notebook > header > tabs > arrow:disabled, spinbutton.vertical button:disabled, spinbutton:not(.vertical) button:disabled, infobar.info button:disabled, infobar.question button:disabled, infobar.warning button:disabled, infobar.error button:disabled, .app-notification button:disabled, actionbar > revealer > box button:disabled:not(.suggested-action):not(.destructive-action):not(.server-list-button), modelbutton.flat:disabled, popover.menu box.circular-buttons button.circular.image-button.model:disabled, popover.menu box.inline-buttons button.image-button.model:disabled, +pathbar > button:disabled, +headerbar button:disabled:not(.suggested-action):not(.destructive-action), +toolbar button:disabled, .toolbar button:disabled, +button.flat:disabled { + box-shadow: none; + background-color: transparent; + color: rgba(255, 255, 255, 0.3); +} + +infobar.info button:checked, infobar.question button:checked, infobar.warning button:checked, infobar.error button:checked, .app-notification button:checked, actionbar > revealer > box button:checked:not(.suggested-action):not(.destructive-action):not(.server-list-button), modelbutton.flat:checked, popover.menu box.circular-buttons button.circular.image-button.model:checked, popover.menu box.inline-buttons button.image-button.model:checked, +pathbar > button:checked, +headerbar button:checked:not(.suggested-action):not(.destructive-action), +toolbar button:checked, .toolbar button:checked, +button.flat:checked { + background-color: rgba(255, 255, 255, 0.2); + color: #FFFFFF; +} + +infobar.info button:checked:disabled, infobar.question button:checked:disabled, infobar.warning button:checked:disabled, infobar.error button:checked:disabled, .app-notification button:checked:disabled, actionbar > revealer > box button:checked:disabled:not(.suggested-action):not(.destructive-action):not(.server-list-button), modelbutton.flat:checked:disabled, popover.menu box.circular-buttons button.circular.image-button.model:checked:disabled, popover.menu box.inline-buttons button.image-button.model:checked:disabled, +pathbar > button:checked:disabled, +headerbar button:checked:disabled:not(.suggested-action):not(.destructive-action), +toolbar button:checked:disabled, .toolbar button:checked:disabled, +button.flat:checked:disabled { + background-color: rgba(255, 255, 255, 0.08); + color: rgba(255, 255, 255, 0.5); +} + + +button.text-button { + padding-left: 16px; + padding-right: 16px; +} + + +button.image-button { + min-width: 24px; + padding: 4px; +} + + +button.text-button.image-button label:first-child { + margin-left: 12px; +} + + +button.text-button.image-button label:last-child { + margin-right: 12px; +} + + +button.text-button.image-button image:not(:only-child) { + margin: 0 4px; +} + +.linked > button.flat, .linked.vertical > button.flat { + border-radius: 7px; +} + +.linked > button.flat.image-button, .linked > button.flat.text-button.image-button, .linked.vertical > button.flat.image-button, .linked.vertical > button.flat.text-button.image-button { + border-radius: 7px; +} + +row:selected button:disabled { + background-color: rgba(255, 255, 255, 0.12); + color: rgba(255, 255, 255, 0.3); +} + +infobar.info button, infobar.question button, infobar.warning button, infobar.error button, row:selected button.flat { + color: rgba(255, 255, 255, 0.7); +} + +infobar.info button:hover, infobar.question button:hover, infobar.warning button:hover, infobar.error button:hover, infobar.info button:active, infobar.question button:active, infobar.warning button:active, infobar.error button:active, row:selected button.flat:hover, row:selected button.flat:active { + color: #FFFFFF; +} + +infobar.info button:disabled, infobar.question button:disabled, infobar.warning button:disabled, infobar.error button:disabled, row:selected button.flat:disabled { + color: rgba(255, 255, 255, 0.3); +} + +infobar.info button:checked, infobar.question button:checked, infobar.warning button:checked, infobar.error button:checked, row:selected button.flat:checked { + background-color: rgba(255, 255, 255, 0.3); + color: #FFFFFF; +} + +infobar.info button:checked:disabled, infobar.question button:checked:disabled, infobar.warning button:checked:disabled, infobar.error button:checked:disabled, row:selected button.flat:checked:disabled { + background-color: rgba(255, 255, 255, 0.12); + color: rgba(255, 255, 255, 0.5); +} + + +button.osd { + padding: 7px 11px; +} + + +button.osd.image-button { + padding: 7px; +} + + +button.osd:disabled { + opacity: 0; +} + + +button.suggested-action { + background-color: #7C4DFF; + color: #FFFFFF; + background-image: linear-gradient(to bottom, #4FC3F7, #42A5F5); + background-size: auto auto; + background-position: center center; + background-repeat: no-repeat; +} + + +button.suggested-action:disabled { + box-shadow: none; + background-color: #3b3b43; + color: rgba(255, 255, 255, 0.5); + background-image: none; +} + + +button.suggested-action:checked { + background-color: #a382ff; +} + + +button.suggested-action.flat { + background-color: transparent; + color: #7C4DFF; + background-image: none; +} + + +button.suggested-action.flat:disabled { + box-shadow: none; + background-color: transparent; + color: rgba(255, 255, 255, 0.5); + background-image: none; +} + + +button.suggested-action.flat:checked { + background-image: none; + background-color: rgba(124, 77, 255, 0.3); +} + + +button.destructive-action { + background-color: #FF5252; + color: #FFFFFF; + background-image: linear-gradient(to bottom, #EF5350, #FF5252); + background-size: auto auto; + background-position: center center; + background-repeat: no-repeat; +} + + +button.destructive-action:disabled { + box-shadow: none; + background-color: #3b3b43; + color: rgba(255, 255, 255, 0.5); + background-image: none; +} + + +button.destructive-action:checked { + background-color: #ff8686; +} + + +button.destructive-action.flat { + background-color: transparent; + color: #FF5252; + background-image: none; +} + + +button.destructive-action.flat:disabled { + box-shadow: none; + background-color: transparent; + color: rgba(255, 255, 255, 0.5); + background-image: none; +} + + +button.destructive-action.flat:checked { + background-image: none; + background-color: rgba(255, 82, 82, 0.3); +} + +stackswitcher > button { + outline-offset: -4px; +} + +stackswitcher > button > label { + padding-left: 6px; + padding-right: 6px; +} + +stackswitcher > button > image { + padding-left: 6px; + padding-right: 6px; + padding-top: 3px; + padding-bottom: 3px; +} + +stackswitcher > button.text-button { + padding-left: 10px; + padding-right: 10px; +} + +stackswitcher > button.image-button { + padding-left: 2px; + padding-right: 2px; +} + +stackswitcher > button.needs-attention:checked > label, +stackswitcher > button.needs-attention:checked > image { + animation: none; + background-image: none; +} + +.primary-toolbar button { + -gtk-icon-shadow: none; +} + +headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action), row button.image-button, check, +radio, popover.menu box.circular-buttons button.circular.image-button.model, headerbar.default-decoration windowcontrols button, headerbar button.suggested-action, headerbar button.destructive-action, +headerbar button:not(.suggested-action):not(.destructive-action), +button.close, +button.circular, +button.round-button { + border-radius: 9999px; +} + +placessidebar .navigation-sidebar > row button.sidebar-button, notebook > header tab button.flat, spinbutton:not(.vertical) button { + min-height: 20px; + min-width: 20px; + padding: 0; + border-radius: 9999px; +} + +stacksidebar row.needs-attention > label, stackswitcher > button.needs-attention > label, +stackswitcher > button.needs-attention > image { + animation: needs_attention 225ms cubic-bezier(0, 0, 0.2, 1) forwards; + background-repeat: no-repeat; + background-position: right 3px; + background-size: 6px 6px; +} + +stacksidebar row.needs-attention > label:dir(rtl), stackswitcher > button.needs-attention > label:dir(rtl), +stackswitcher > button.needs-attention > image:dir(rtl) { + background-position: left 3px; +} + +.linked:not(.vertical) > combobox > box > button.combo, row .linked button, .linked:not(.vertical) > spinbutton:not(.vertical), .linked:not(.vertical) > entry, .linked > button { + border-radius: 0; +} + +row .linked button:first-child, .linked:not(.vertical) > spinbutton:first-child:not(.vertical), .linked:not(.vertical) > entry:first-child, .linked > button:first-child { + border-top-left-radius: 7px; + border-bottom-left-radius: 7px; +} + +row .linked button:last-child, .linked:not(.vertical) > spinbutton:last-child:not(.vertical), .linked:not(.vertical) > entry:last-child, .linked > button:last-child { + border-top-right-radius: 7px; + border-bottom-right-radius: 7px; +} + +row .linked button:only-child, .linked:not(.vertical) > spinbutton:only-child:not(.vertical), .linked:not(.vertical) > entry:only-child, .linked > button:only-child { + border-radius: 7px; +} + +.linked.vertical > combobox > box > button.combo, .linked.vertical > spinbutton:not(.vertical), .linked.vertical > entry, .linked.vertical > button { + border-radius: 0; +} + +.linked.vertical > spinbutton:first-child:not(.vertical), .linked.vertical > entry:first-child, .linked.vertical > button:first-child { + border-top-left-radius: 7px; + border-top-right-radius: 7px; +} + +.linked.vertical > spinbutton:last-child:not(.vertical), .linked.vertical > entry:last-child, .linked.vertical > button:last-child { + border-bottom-left-radius: 7px; + border-bottom-right-radius: 7px; +} + +.linked.vertical > spinbutton:only-child:not(.vertical), .linked.vertical > entry:only-child, .linked.vertical > button:only-child { + border-radius: 7px; +} + +.toolbar button { + margin: 1px; +} + +button.color { + min-height: 20px; + min-width: 20px; + padding: 4px; +} + +button.color > colorswatch:only-child, button.color > colorswatch:only-child > overlay { + border-radius: 0; +} + +/********* + * Links * + *********/ +button.link, +link { + color: #5657f5; +} + +button.link:visited, +link:visited, +link:visited:hover, +link:visited:active { + color: #E040FB; +} + +infobar.info *:link, infobar.question *:link, infobar.warning *:link, infobar.error *:link, headerbar.selection-mode .subtitle:link, button.link:selected, *:selected button.link, +link:selected, *:selected link { + color: #FFFFFF; +} + +button.link > label { + text-decoration-line: underline; +} + +/***************** + * GtkSpinButton * + *****************/ +spinbutton { + font-feature-settings: "tnum"; +} + +spinbutton > text > block-cursor { + background-color: #FFFFFF; + color: #31313a; +} + +spinbutton:not(.vertical) { + padding: 0; +} + +notebook > stack:not(:only-child) spinbutton:not(.vertical) entry, notebook > stack:not(:only-child) spinbutton:not(.vertical) entry:focus, notebook > stack:not(:only-child) spinbutton:not(.vertical) entry:disabled, +spinbutton:not(.vertical) text { + min-width: 22px; + margin: 0; + padding-left: 12px; + border-image: none; + border-radius: 0; + box-shadow: none; + background-color: transparent; +} + +spinbutton:not(.vertical) button { + border: solid 6px transparent; +} + +spinbutton:not(.vertical) button.up:dir(ltr), spinbutton:not(.vertical) button.down:dir(rtl) { + margin-left: -3px; +} + +spinbutton:not(.vertical) button.up:dir(rtl), spinbutton:not(.vertical) button.down:dir(ltr) { + margin-right: -3px; +} + +spinbutton.vertical { + background-color: rgba(255, 255, 255, 0.08); + border-radius: 7px; +} + +spinbutton.vertical:disabled { + color: rgba(255, 255, 255, 0.5); +} + +spinbutton.vertical:drop(active) { + box-shadow: none; +} + +spinbutton.vertical text { + min-height: 32px; + min-width: 38px; + padding: 0; +} + +spinbutton.vertical button { + min-height: 32px; + min-width: 38px; + padding: 0; +} + +spinbutton.vertical button.up { + border-radius: 7px 7px 0 0; +} + +spinbutton.vertical button.down { + border-radius: 0 0 7px 7px; +} + +treeview spinbutton:not(.vertical) { + min-height: 0; + border-style: none; + border-radius: 0; +} + +treeview spinbutton:not(.vertical) text { + min-height: 0; + padding: 1px 2px; +} + +/************** + * ComboBoxes * + **************/ +dropdown > popover.menu.background > contents { + padding: 0; +} + +dropdown > button > box { + border-spacing: 6px; +} + +dropdown arrow, +combobox arrow { + -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); + min-height: 16px; + min-width: 16px; +} + +dropdown > popover.menu > contents modelbutton, +combobox > popover.menu > contents modelbutton { + padding-left: 10px; + padding-right: 10px; +} + +dropdown button.combo:checked, +combobox button.combo:checked { + transition: none; +} + +dropdown button.combo cellview:dir(ltr), +combobox button.combo cellview:dir(ltr) { + margin-left: 0px; +} + +dropdown button.combo cellview:dir(rtl), +combobox button.combo cellview:dir(rtl) { + margin-right: 0px; +} + +dropdown.linked button:nth-child(2):dir(ltr), +combobox.linked button:nth-child(2):dir(ltr) { + border-top-left-radius: 7px; + border-bottom-left-radius: 7px; +} + +dropdown.linked button:nth-child(2):dir(rtl), +combobox.linked button:nth-child(2):dir(rtl) { + border-top-right-radius: 7px; + border-bottom-right-radius: 7px; +} + +dropdown:drop(active), +combobox:drop(active) { + box-shadow: none; +} + +dropdown popover, +combobox popover { + margin-top: 6px; + padding: 0; +} + +dropdown popover listview, +combobox popover listview { + margin: 6px 0; +} + +dropdown popover listview > row, +combobox popover listview > row { + padding: 6px; +} + +dropdown popover .dropdown-searchbar, +combobox popover .dropdown-searchbar { + padding: 6px; + border-bottom: 1px solid rgba(255, 255, 255, 0.08); +} + +.linked:not(.vertical) > combobox:first-child > box > button.combo { + border-top-left-radius: 7px; + border-bottom-left-radius: 7px; +} + +.linked:not(.vertical) > combobox:last-child > box > button.combo { + border-bottom-right-radius: 7px; + border-top-right-radius: 7px; +} + +.linked:not(.vertical) > combobox:only-child > box > button.combo { + border-radius: 7px; +} + +.linked.vertical > combobox:first-child > box > button.combo { + border-top-left-radius: 7px; + border-top-right-radius: 7px; +} + +.linked.vertical > combobox:last-child > box > button.combo { + border-bottom-left-radius: 7px; + border-bottom-right-radius: 7px; +} + +.linked.vertical > combobox:only-child > box > button.combo { + border-radius: 7px; +} + +notebook > stack:not(:only-child) button.combo, popover.background button.combo { + border-radius: 0; + background-image: none; + font-weight: inherit; + transition: all 100ms cubic-bezier(0, 0, 0.2, 1), box-shadow 225ms cubic-bezier(0, 0, 0.2, 1); + box-shadow: inset 0 -1px rgba(255, 255, 255, 0.2), inset 0 -2px transparent; + background-color: transparent; + color: #FFFFFF; +} + +notebook > stack:not(:only-child) button.combo:hover, popover.background button.combo:hover { + box-shadow: inset 0 -2px rgba(255, 255, 255, 0.5); +} + +notebook > stack:not(:only-child) button.combo:checked, popover.background button.combo:checked { + box-shadow: inset 0 -2px #5657f5; +} + +notebook > stack:not(:only-child) button.combo:disabled, popover.background button.combo:disabled { + box-shadow: inset 0 -1px rgba(255, 255, 255, 0.08); + color: rgba(255, 255, 255, 0.5); +} + +/************ + * Toolbars * + ************/ +.toolbar, +toolbar { + padding: 2px; + background-color: #34343b; +} + +.osd .toolbar, .osd toolbar { + background-color: transparent; +} + +.app-notification, .toolbar.osd, +toolbar.osd { + transition: box-shadow 100ms cubic-bezier(0, 0, 0.2, 1); + padding: 4px; + border-radius: 7px; + box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06), inset 0 1px rgba(255, 255, 255, 0.1); + background-color: #31313a; +} + +.app-notification:backdrop, .toolbar.osd:backdrop, +toolbar.osd:backdrop { + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1), inset 0 1px rgba(255, 255, 255, 0.1); +} + +.left.app-notification, .right.app-notification, .top.app-notification, .bottom.app-notification, .toolbar.osd.left, .toolbar.osd.right, .toolbar.osd.top, .toolbar.osd.bottom, +toolbar.osd.left, +toolbar.osd.right, +toolbar.osd.top, +toolbar.osd.bottom { + border-radius: 0; +} + +.toolbar.horizontal > separator, +toolbar.horizontal > separator { + margin: 2px; +} + +.toolbar.vertical > separator, +toolbar.vertical > separator { + margin: 2px; +} + +.toolbar:not(.inline-toolbar):not(.osd) scale, +.toolbar:not(.inline-toolbar):not(.osd) entry, +.toolbar:not(.inline-toolbar):not(.osd) spinbutton, +.toolbar:not(.inline-toolbar):not(.osd) button, +toolbar:not(.inline-toolbar):not(.osd) scale, +toolbar:not(.inline-toolbar):not(.osd) entry, +toolbar:not(.inline-toolbar):not(.osd) spinbutton, +toolbar:not(.inline-toolbar):not(.osd) button { + margin: 2px; +} + +.toolbar:not(.inline-toolbar):not(.osd) .linked entry:not(:first-child), +.toolbar:not(.inline-toolbar):not(.osd) .linked spinbutton:not(:first-child), +.toolbar:not(.inline-toolbar):not(.osd) .linked button:not(:first-child), +toolbar:not(.inline-toolbar):not(.osd) .linked entry:not(:first-child), +toolbar:not(.inline-toolbar):not(.osd) .linked spinbutton:not(:first-child), +toolbar:not(.inline-toolbar):not(.osd) .linked button:not(:first-child) { + margin-left: 0; +} + +.toolbar:not(.inline-toolbar):not(.osd) .linked entry:not(:last-child), +.toolbar:not(.inline-toolbar):not(.osd) .linked spinbutton:not(:last-child), +.toolbar:not(.inline-toolbar):not(.osd) .linked button:not(:last-child), +toolbar:not(.inline-toolbar):not(.osd) .linked entry:not(:last-child), +toolbar:not(.inline-toolbar):not(.osd) .linked spinbutton:not(:last-child), +toolbar:not(.inline-toolbar):not(.osd) .linked button:not(:last-child) { + margin-right: 0; +} + +.toolbar:not(.inline-toolbar):not(.osd) spinbutton entry, +.toolbar:not(.inline-toolbar):not(.osd) spinbutton button, +toolbar:not(.inline-toolbar):not(.osd) spinbutton entry, +toolbar:not(.inline-toolbar):not(.osd) spinbutton button { + margin: 0; +} + +.toolbar:not(.inline-toolbar):not(.osd) switch, +toolbar:not(.inline-toolbar):not(.osd) switch { + margin: 6px 2px; +} + +searchbar > revealer > box { + border-spacing: 4px; + padding: 4px; + border-style: solid; + border-width: 0 0 1px; + border-color: rgba(255, 255, 255, 0.08); + background-color: #34343b; + background-clip: border-box; +} + +actionbar { + border-radius: 0 0 13px 13px; +} + +/*************** + * Header bars * + ***************/ +headerbar .linked.path-bar:not(.vertical) > button, +headerbar stackswitcher.linked:not(.vertical) > button, headerbar.windowhandle viewswitcher button:not(.titlebutton):not(.suggested-action):not(.destructive-action) { + padding-left: 8px; + padding-right: 8px; + background-color: transparent; + box-shadow: none; +} + +headerbar .linked.path-bar:not(.vertical) > button label, +headerbar stackswitcher.linked:not(.vertical) > button label, headerbar.windowhandle viewswitcher button:not(.titlebutton):not(.suggested-action):not(.destructive-action) label { + padding-left: 8px; + padding-right: 8px; +} + +headerbar .linked:not(.vertical).path-bar > button:hover, +headerbar stackswitcher.linked:not(.vertical) > button:hover, headerbar.windowhandle viewswitcher button:hover:not(.titlebutton):not(.suggested-action):not(.destructive-action) { + color: #FFFFFF; + background-color: alpha(currentColor, 0.15); + box-shadow: inset 0 -2px transparent; +} + +headerbar .linked:not(.vertical).path-bar > button:active, +headerbar stackswitcher.linked:not(.vertical) > button:active, headerbar.windowhandle viewswitcher button:active:not(.titlebutton):not(.suggested-action):not(.destructive-action) { + color: #FFFFFF; + background-color: alpha(currentColor, 0.3); + box-shadow: inset 0 -2px transparent; +} + +headerbar .linked:not(.vertical).path-bar > button:checked, +headerbar stackswitcher.linked:not(.vertical) > button:checked, headerbar.windowhandle viewswitcher button:checked:not(.titlebutton):not(.suggested-action):not(.destructive-action) { + border-radius: 0; + color: #FFFFFF; + background-color: transparent; + box-shadow: inset 0 -2px #5657f5; + background-image: none; +} + +headerbar .linked:not(.vertical).path-bar > button:checked:backdrop, +headerbar stackswitcher.linked:not(.vertical) > button:checked:backdrop, headerbar.windowhandle viewswitcher button:checked:backdrop:not(.titlebutton):not(.suggested-action):not(.destructive-action), headerbar .linked:not(.vertical).path-bar > button:active:backdrop, +headerbar stackswitcher.linked:not(.vertical) > button:active:backdrop, headerbar.windowhandle viewswitcher button:active:backdrop:not(.titlebutton):not(.suggested-action):not(.destructive-action) { + color: rgba(255, 255, 255, 0.7); + box-shadow: inset 0 -2px rgba(255, 255, 255, 0.5); +} + +headerbar .linked:not(.vertical).path-bar > button.text-button.image-button label, +headerbar stackswitcher.linked:not(.vertical) > button.text-button.image-button label, headerbar.windowhandle viewswitcher button.text-button.image-button:not(.titlebutton):not(.suggested-action):not(.destructive-action) label { + padding-left: 0; + padding-right: 0; +} + +headerbar .linked:not(.vertical).path-bar > button.text-button.image-button image, +headerbar stackswitcher.linked:not(.vertical) > button.text-button.image-button image, headerbar.windowhandle viewswitcher button.text-button.image-button:not(.titlebutton):not(.suggested-action):not(.destructive-action) image { + padding-left: 0; + padding-right: 0; +} + +headerbar { + transition: background-color 100ms cubic-bezier(0, 0, 0.2, 1), color 100ms cubic-bezier(0, 0, 0.2, 1); + min-height: 38px; + padding: 0 4px; + box-shadow: inset 0 1px rgba(255, 255, 255, 0.1), inset 0 -1px rgba(255, 255, 255, 0.08); + background-color: #31313a; + color: #FFFFFF; +} + +headerbar:disabled :not(button) > label { + color: rgba(255, 255, 255, 0.5); +} + +headerbar:backdrop { + color: rgba(255, 255, 255, 0.7); +} + +headerbar:backdrop:disabled :not(button) > label { + color: rgba(255, 255, 255, 0.3); +} + +headerbar .title { + padding: 0 12px; + font-weight: bold; +} + +headerbar .subtitle { + padding: 0 12px; + font-size: smaller; +} + +headerbar entry { + background-color: #3d3d48; +} + +headerbar entry:focus { + background-color: #444450; +} + +headerbar .linked:not(.vertical) > entry:not(.flat) { + border-radius: 7px; +} + +headerbar .linked:not(.vertical) > button { + border-radius: 7px; +} + + +headerbar button:not(.suggested-action):not(.destructive-action) { + border-image: none; + color: rgba(255, 255, 255, 0.7); +} + + +headerbar button:not(.suggested-action):not(.destructive-action):hover, +headerbar button:not(.suggested-action):not(.destructive-action):active { + color: #FFFFFF; +} + + +headerbar button:not(.suggested-action):not(.destructive-action):disabled { + color: rgba(255, 255, 255, 0.3); +} + + +headerbar button:not(.suggested-action):not(.destructive-action):checked { + border-image: none; + background-color: #5657f5; + color: #FFFFFF; + background-image: linear-gradient(to bottom, #6C6AF2, #4648FB); + background-size: auto auto; + background-position: center center; + background-repeat: no-repeat; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.15), 0 2px 3px rgba(0, 0, 0, 0.12); +} + + +headerbar button:not(.suggested-action):not(.destructive-action):checked:disabled { + color: rgba(255, 255, 255, 0.5); + background-color: rgba(86, 87, 245, 0.5); +} + + +headerbar button:not(.suggested-action):not(.destructive-action):backdrop { + color: rgba(255, 255, 255, 0.5); +} + + +headerbar button:not(.suggested-action):not(.destructive-action):backdrop:hover, +headerbar button:not(.suggested-action):not(.destructive-action):backdrop:active { + color: rgba(255, 255, 255, 0.7); +} + + +headerbar button:not(.suggested-action):not(.destructive-action):backdrop:disabled { + color: rgba(255, 255, 255, 0.3); +} + + +headerbar button:not(.suggested-action):not(.destructive-action):backdrop:checked { + background-image: none; + color: rgba(255, 255, 255, 0.7); +} + + +headerbar button:not(.suggested-action):not(.destructive-action):backdrop:checked:disabled { + color: rgba(255, 255, 255, 0.3); +} + +headerbar button.suggested-action:disabled, headerbar button.destructive-action:disabled { + background-color: rgba(255, 255, 255, 0.12); + color: rgba(255, 255, 255, 0.5); +} + +headerbar entry, +headerbar spinbutton, +headerbar separator:not(.sidebar), +headerbar button, +headerbar menubutton { + margin-top: 4px; + margin-bottom: 4px; +} + +headerbar menubutton > button { + margin-top: 0px; + margin-bottom: 0px; +} + +headerbar > windowhandle > box, +headerbar > windowhandle > box > box.start, +headerbar > windowhandle > box > box.end { + border-spacing: 4px; +} + +headerbar switch { + margin-top: 8px; + margin-bottom: 8px; +} + +headerbar spinbutton button { + margin-top: 0; + margin-bottom: 0; +} + +.csd headerbar, headerbar.titlebar, .titlebar headerbar, .solid-csd headerbar, box headerbar:only-child { + box-shadow: inset 0 1px rgba(255, 255, 255, 0.1), inset 0 -1px rgba(255, 255, 255, 0.08); +} + +headerbar.titlebar.default-decoration, .csd headerbar.titlebar.default-decoration { + box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); +} + +box headerbar:not(:only-child):first-child, box headerbar:not(:only-child):last-child { + border-left-color: #31313a; + border-right-color: #31313a; +} + +headerbar.selection-mode { + transition: background-color 0.00001s 225ms, color 225ms cubic-bezier(0, 0, 0.2, 1); + animation: header_ripple_effect 225ms cubic-bezier(0, 0, 0.2, 1); + box-shadow: inset 0 1px rgba(255, 255, 255, 0.2), inset 0 -1px rgba(255, 255, 255, 0.08); + background-color: #5657f5; + color: #FFFFFF; +} + +headerbar.selection-mode:backdrop { + color: rgba(255, 255, 255, 0.7); +} + +headerbar.selection-mode button:not(.suggested-action):not(.destructive-action) { + border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), currentColor 0%, transparent 0%) 0 0 0/0 0 0; + color: #FFFFFF; +} + +headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):disabled { + color: rgba(255, 255, 255, 0.5); +} + +headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):hover { + color: #FFFFFF; +} + +headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):checked { + border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), currentColor 100%, transparent 0%) 0 0 2/0 0 2px; + color: #FFFFFF; +} + +headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):checked:disabled { + color: rgba(255, 255, 255, 0.5); +} + +headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):backdrop { + color: rgba(255, 255, 255, 0.7); +} + +headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):backdrop:disabled { + color: rgba(255, 255, 255, 0.3); +} + +headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):backdrop:checked { + color: rgba(255, 255, 255, 0.7); +} + +headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):backdrop:checked:disabled { + color: rgba(255, 255, 255, 0.3); +} + +headerbar.selection-mode .selection-menu { + padding-left: 16px; + padding-right: 16px; +} + +headerbar.selection-mode .selection-menu .arrow { + -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); +} + +headerbar.windowhandle viewswitcher button:not(.titlebutton):not(.suggested-action):not(.destructive-action) { + margin-top: 0; + margin-bottom: 0; +} + +.tiled headerbar, .tiled-top headerbar, .tiled-right headerbar, .tiled-bottom headerbar, .tiled-left headerbar, .maximized headerbar, .fullscreen headerbar { + border-radius: 0; +} + +headerbar.default-decoration { + min-height: 20px; + padding: 4px 12px; + box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); +} + +.tiled headerbar.default-decoration, .maximized headerbar.default-decoration, .fullscreen headerbar.default-decoration { + box-shadow: none; +} + +headerbar.default-decoration windowcontrols button { + min-height: 16px; + min-width: 16px; + margin: 0 2px; + padding: 0; +} + +.solid-csd headerbar:dir(rtl), .solid-csd headerbar:dir(ltr) { + border-radius: 0; + box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); +} + +.titlebar { + border-radius: 13px 13px 0 0; +} + +.background.tiled .titlebar, +.background.tiled-top .titlebar, +.background.tiled-right .titlebar, +.background.tiled-bottom .titlebar, +.background.tiled-left .titlebar, +.background.maximized .titlebar, +.background.solid-csd .titlebar { + border-top-left-radius: 0; + border-top-right-radius: 0; + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; +} + +window separator:first-child + headerbar, window headerbar:first-child { + border-top-left-radius: 13px; +} + +window headerbar:last-child { + border-top-right-radius: 13px; +} + +window stack headerbar:first-child, window stack headerbar:last-child { + border-top-left-radius: 13px; + border-top-right-radius: 13px; + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; +} + +window.tiled headerbar, window.tiled headerbar:first-child, window.tiled headerbar:last-child, window.tiled headerbar:only-child, window.tiled-top headerbar, window.tiled-top headerbar:first-child, window.tiled-top headerbar:last-child, window.tiled-top headerbar:only-child, window.tiled-right headerbar, window.tiled-right headerbar:first-child, window.tiled-right headerbar:last-child, window.tiled-right headerbar:only-child, window.tiled-bottom headerbar, window.tiled-bottom headerbar:first-child, window.tiled-bottom headerbar:last-child, window.tiled-bottom headerbar:only-child, window.tiled-left headerbar, window.tiled-left headerbar:first-child, window.tiled-left headerbar:last-child, window.tiled-left headerbar:only-child, window.maximized headerbar, window.maximized headerbar:first-child, window.maximized headerbar:last-child, window.maximized headerbar:only-child, window.fullscreen headerbar, window.fullscreen headerbar:first-child, window.fullscreen headerbar:last-child, window.fullscreen headerbar:only-child, window.solid-csd headerbar, window.solid-csd headerbar:first-child, window.solid-csd headerbar:last-child, window.solid-csd headerbar:only-child { + border-top-left-radius: 0; + border-top-right-radius: 0; + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; +} + +headerbar separator.titlebutton { + min-width: 0; + min-height: 0; + background-color: transparent; + border: none; +} + +window.csd > .titlebar:not(headerbar) { + padding: 0; + background-color: transparent; + background-image: none; + border: none; + box-shadow: none; +} + +.titlebar:not(headerbar) > separator { + background-color: #31313a; +} + +window.devel headerbar.titlebar { + background: #34343b cross-fade(10% -gtk-icontheme("system-run-symbolic"), image(transparent)) 90% 0/256px 256px no-repeat, linear-gradient(to right, transparent 65%, rgba(86, 87, 245, 0.1)), linear-gradient(to top, #232328 3px, #28282d); +} + +window.devel headerbar.titlebar:backdrop { + background: #34343b cross-fade(10% -gtk-icontheme("system-run-symbolic"), image(transparent)) 90% 0/256px 256px no-repeat, image(#34343b); + /* background-color would flash */ +} + +/************ + * Pathbars * + ************/ + +pathbar > button { + padding-left: 4px; + padding-right: 4px; +} + + +pathbar > button label:not(:only-child):first-child { + margin-left: 4px; + padding-left: 8px; +} + + +pathbar > button label:not(:only-child):last-child { + margin-right: 4px; + padding-right: 8px; +} + + +pathbar > button.slider-button { + padding-left: 4px; + padding-right: 4px; +} + + +pathbar > button { + border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), #5657f5 0%, transparent 0%) 0 0 0/0 0 0px; + border-radius: 7px; +} + + +pathbar > button:checked { + border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), #5657f5 100%, transparent 0%) 0 0 2/0 0 2px; +} + + +pathbar > button:checked, +pathbar > button:checked:disabled { + background-color: transparent; +} + +/************** + * Tree Views * + **************/ +columnview.view, +treeview.view { + border-left-color: #474751; + border-top-color: #474751; +} + +columnview.view:selected, +treeview.view:selected { + border-left-color: rgba(255, 255, 255, 0.3); +} + +columnview.view:hover, columnview.view:active, columnview.view:selected, +treeview.view:hover, +treeview.view:active, +treeview.view:selected { + border-radius: 0; +} + +columnview.view.separator, +treeview.view.separator { + min-height: 5px; + color: rgba(255, 255, 255, 0.08); +} + +columnview.view > dndtarget:drop(active), +treeview.view > dndtarget:drop(active) { + border-style: solid none; + border-width: 1px; + border-color: #7C4DFF; +} + +columnview.view > dndtarget:drop(active).after, +treeview.view > dndtarget:drop(active).after { + border-top-style: none; +} + +columnview.view > dndtarget:drop(active).before, +treeview.view > dndtarget:drop(active).before { + border-bottom-style: none; +} + +columnview.view.expander, +treeview.view.expander { + -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); + -gtk-icon-transform: rotate(-90deg); + color: rgba(255, 255, 255, 0.7); +} + +columnview.view.expander:dir(rtl), +treeview.view.expander:dir(rtl) { + -gtk-icon-transform: rotate(90deg); +} + +columnview.view.expander:checked, +treeview.view.expander:checked { + -gtk-icon-transform: unset; +} + +columnview.view.expander:hover, columnview.view.expander:active, +treeview.view.expander:hover, +treeview.view.expander:active { + color: #FFFFFF; +} + +columnview.view.expander:disabled, +treeview.view.expander:disabled { + color: rgba(255, 255, 255, 0.3); +} + +columnview.view.expander:selected, +treeview.view.expander:selected { + color: rgba(255, 255, 255, 0.7); +} + +columnview.view.expander:selected:hover, columnview.view.expander:selected:active, +treeview.view.expander:selected:hover, +treeview.view.expander:selected:active { + color: #FFFFFF; +} + +columnview.view.expander:selected:disabled, +treeview.view.expander:selected:disabled { + color: rgba(255, 255, 255, 0.3); +} + +columnview.view.progressbar, +treeview.view.progressbar { + border-bottom: 4px solid #5657f5; + box-shadow: none; + background-color: transparent; +} + +columnview.view.progressbar:selected, +treeview.view.progressbar:selected { + border-bottom-color: #FFFFFF; +} + +columnview.view.trough, +treeview.view.trough { + border-bottom: 4px solid rgba(86, 87, 245, 0.3); + box-shadow: none; + background-color: transparent; +} + +columnview.view.trough:selected, +treeview.view.trough:selected { + border-bottom-color: rgba(255, 255, 255, 0.3); +} + +columnview.view > header > button, +treeview.view > header > button { + padding: 2px 6px; + border-style: none solid solid none; + border-width: 1px; + border-color: rgba(255, 255, 255, 0.08); + border-radius: 0; + background-clip: border-box; +} + +columnview.view > header > button, columnview.view > header > button:hover, columnview.view > header > button:active, +treeview.view > header > button, +treeview.view > header > button:hover, +treeview.view > header > button:active { + box-shadow: none; +} + +columnview.view > header > button, columnview.view > header > button:disabled, +treeview.view > header > button, +treeview.view > header > button:disabled { + background-color: #31313a; +} + +columnview.view > header > button:last-child, +treeview.view > header > button:last-child { + border-right-style: none; +} + +columnview.view button.dnd, +columnview.view header.button.dnd, +treeview.view button.dnd, +treeview.view header.button.dnd { + padding: 2px 6px; + border-style: none solid solid; + border-width: 1px; + border-color: rgba(255, 255, 255, 0.08); + border-radius: 0; + box-shadow: none; + background-color: #31313a; + background-clip: border-box; + color: #5657f5; +} + +columnview.view acceleditor > label, +treeview.view acceleditor > label { + background-color: #5657f5; +} + +/********* + * Menus * + *********/ +menubar { + padding: 0; + box-shadow: inset 0 -1px rgba(255, 255, 255, 0.08); + background-color: #31313a; + color: rgba(255, 255, 255, 0.7); +} + +menubar > item { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1); + min-height: 20px; + padding: 4px 8px; + color: rgba(255, 255, 255, 0.7); +} + +menubar > item:hover { + transition: none; + color: #FFFFFF; + box-shadow: inset 0 -3px #5657f5; +} + +menubar > item:disabled { + color: rgba(255, 255, 255, 0.3); +} + +menubar > item label:disabled { + color: inherit; +} + +menubar > item popover.menu.background > contents { + padding: 4px; +} + +menubar > item popover.menu popover.menu { + padding: 0 0 4px 0; +} + +menubar > item popover.menu.background popover.menu.background > contents { + margin: 0; + border-radius: 8px; +} + +popover.menu { + padding: 0; +} + +popover.menu > arrow, popover.menu.background > contents { + padding: 4px; + background-color: rgba(60, 60, 70, 0.95); + border: none; + border-radius: 8px; + color: rgba(255, 255, 255, 0.7); +} + +popover.menu.background separator { + margin: 4px 0; +} + +popover.menu box.inline-buttons { + padding: 0 4px; +} + +popover.menu box.inline-buttons button.image-button.model { + min-height: 28px; + min-width: 28px; + padding: 0; + border: none; + outline: none; +} + +popover.menu box.circular-buttons button.circular.image-button.model { + padding: 4px; + min-height: 28px; + min-width: 28px; +} + +popover.menu modelbutton { + min-height: 20px; + min-width: 40px; + padding: 4px 8px; + border-radius: 5px; +} + +popover.menu modelbutton:selected { + color: rgba(255, 255, 255, 0.7); + background-color: rgba(255, 255, 255, 0.08); +} + +popover.menu modelbutton:selected:active { + color: rgba(255, 255, 255, 0.7); + background-color: rgba(255, 255, 255, 0.1); +} + +popover.menu modelbutton:focus { + transition: none; +} + +popover.menu arrow.left, +popover.menu radio.left, +popover.menu check.left { + margin-left: -2px; + margin-right: 4px; +} + +popover.menu arrow.right, +popover.menu radio.right, +popover.menu check.right { + margin-left: 4px; + margin-right: -2px; +} + +popover.menu label.title { + font-weight: bold; + padding: 4px 32px; +} + +/************ + * Popovers * + ************/ +popover.background { + background-color: transparent; + font: initial; +} + +popover.background > arrow, +popover.background > contents { + transition: box-shadow 100ms cubic-bezier(0, 0, 0.2, 1); + padding: 0; + box-shadow: 0 14px 14px rgba(0, 0, 0, 0.25), 0 10px 5px rgba(0, 0, 0, 0.22); + background-color: rgba(60, 60, 70, 0.95); + color: rgba(255, 255, 255, 0.7); + border: none; +} + +popover.background > arrow:disabled, +popover.background > contents:disabled { + color: rgba(255, 255, 255, 0.3); +} + +popover.background:backdrop { + background-color: transparent; +} + +popover.background:backdrop > arrow, +popover.background:backdrop > contents { + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1); +} + +popover.background > contents { + padding: 6px; + border-radius: 8px; +} + +popover.background > contents > list, +popover.background > contents > .view, +popover.background > contents > toolbar { + border-style: none; + background-color: transparent; + box-shadow: none; +} + +popover.background > contents separator { + margin: 3px; +} + +popover.background > contents list separator { + margin: 0; +} + +.linked > popover.background button { + border-radius: 7px; +} + +.linked > popover.background button:first-child { + border-radius: 7px; +} + +.linked > popover.background button:last-child { + border-radius: 7px; +} + +.linked > popover.background button:only-child { + border-radius: 7px; +} + +popover.background.menu button, popover.background button.model { + border-radius: 7px; +} + +popover.background checkbutton.text-button, +popover.background radiobutton.text-button { + outline-style: none; +} + +popover.background separator { + margin: 4px 0; +} + +popover.background list separator { + margin: 0; +} + +popover.background label.separator { + color: rgba(255, 255, 255, 0.5); +} + +/* menu buttons */ +modelbutton.flat { + min-height: 28px; + padding: 0 8px; + border-radius: 7px; +} + +modelbutton.flat arrow { + background: none; +} + +modelbutton.flat arrow:hover { + background: none; +} + +modelbutton.flat arrow.left { + -gtk-icon-source: -gtk-icontheme("go-previous-symbolic"); +} + +modelbutton.flat arrow.right { + -gtk-icon-source: -gtk-icontheme("go-next-symbolic"); +} + +/************* + * Notebooks * + *************/ +frame > paned > notebook > header, notebook.frame > header { + background-color: #3b3b43; +} + +notebook, notebook.frame { + background-color: #31313a; + border-radius: 10px; +} + +notebook.frame frame > border { + border: none; + border-radius: 10px; +} + +notebook.frame frame > list row.activatable { + border-radius: 10px; +} + +notebook > header { + border-width: 1px; + border-color: rgba(255, 255, 255, 0.08); + background-color: #34343b; + background-clip: border-box; +} + +notebook > header.top { + border-bottom-style: solid; + border-radius: 9px 9px 0 0; +} + +notebook > header.top > tabs { + margin-bottom: -1px; +} + +notebook > header.top > tabs > tab:hover { + box-shadow: inset 0 -2px rgba(255, 255, 255, 0.2); +} + +notebook > header.top > tabs > tab:checked { + box-shadow: inset 0 -2px #5657f5; +} + +notebook > header.bottom { + border-top-style: solid; + border-radius: 0 0 9px 9px; +} + +notebook > header.bottom > tabs { + margin-top: -1px; +} + +notebook > header.bottom > tabs > tab:hover { + box-shadow: inset 0 2px rgba(255, 255, 255, 0.2); +} + +notebook > header.bottom > tabs > tab:checked { + box-shadow: inset 0 2px #5657f5; +} + +notebook > header.left { + border-right-style: solid; + border-radius: 9px 0 0 9px; +} + +notebook > header.left > tabs { + margin-right: -1px; +} + +notebook > header.left > tabs > tab:hover { + box-shadow: inset -2px 0 rgba(255, 255, 255, 0.2); +} + +notebook > header.left > tabs > tab:checked { + box-shadow: inset -2px 0 #5657f5; +} + +notebook > header.right { + border-left-style: solid; + border-radius: 0 9px 9px 0; +} + +notebook > header.right > tabs { + margin-left: -1px; +} + +notebook > header.right > tabs > tab:hover { + box-shadow: inset 2px 0 rgba(255, 255, 255, 0.2); +} + +notebook > header.right > tabs > tab:checked { + box-shadow: inset 2px 0 #5657f5; +} + +notebook > header.top > tabs > arrow { + border-top-style: none; +} + +notebook > header.bottom > tabs > arrow { + border-bottom-style: none; +} + +notebook > header.top > tabs > arrow, notebook > header.bottom > tabs > arrow { + padding-left: 4px; + padding-right: 4px; +} + +notebook > header.top > tabs > arrow.down, notebook > header.bottom > tabs > arrow.down { + margin-left: -8px; + -gtk-icon-source: -gtk-icontheme("pan-start-symbolic"); +} + +notebook > header.top > tabs > arrow.up, notebook > header.bottom > tabs > arrow.up { + margin-right: -8px; + -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); +} + +notebook > header.left > tabs > arrow { + border-left-style: none; +} + +notebook > header.right > tabs > arrow { + border-right-style: none; +} + +notebook > header.left > tabs > arrow, notebook > header.right > tabs > arrow { + padding-top: 4px; + padding-bottom: 4px; +} + +notebook > header.left > tabs > arrow.down, notebook > header.right > tabs > arrow.down { + margin-top: -8px; + -gtk-icon-source: -gtk-icontheme("pan-up-symbolic"); +} + +notebook > header.left > tabs > arrow.up, notebook > header.right > tabs > arrow.up { + margin-bottom: -8px; + -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); +} + +notebook > header > tabs > arrow { + min-height: 16px; + min-width: 16px; + border-radius: 0; +} + +notebook > header tab { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1); + min-height: 20px; + min-width: 20px; + padding: 4px 12px; + outline-offset: -6px; + border-width: 1px; + border-color: transparent; + color: rgba(255, 255, 255, 0.7); + font-weight: 500; +} + +notebook > header tab:hover { + color: #FFFFFF; +} + +notebook > header tab:hover.reorderable-page { + border-color: rgba(255, 255, 255, 0.08); + background-color: #3b3b43; +} + +notebook > header tab:disabled { + color: rgba(255, 255, 255, 0.3); +} + +notebook > header tab:checked { + background-color: transparent; + color: #FFFFFF; +} + +notebook > header tab:checked:disabled { + color: rgba(255, 255, 255, 0.5); +} + +notebook > header tab:checked.reorderable-page { + border-color: rgba(255, 255, 255, 0.08); + background-color: #31313a; +} + +notebook > header tab button.flat { + min-height: 24px; + min-width: 24px; + padding: 0; + margin: 0; +} + +notebook > header tab button.flat:last-child { + margin-left: 4px; + margin-right: -8px; +} + +notebook > header tab button.flat:first-child { + margin-left: -8px; + margin-right: 4px; +} + +notebook > header.top tabs, notebook > header.bottom tabs { + padding-left: 8px; + padding-right: 8px; +} + +notebook > header.top tabs:not(:only-child):first-child, notebook > header.bottom tabs:not(:only-child):first-child { + margin-left: 0; +} + +notebook > header.top tabs:not(:only-child):last-child, notebook > header.bottom tabs:not(:only-child):last-child { + margin-right: 0; +} + +notebook > header.top tabs tab.reorderable-page, notebook > header.bottom tabs tab.reorderable-page { + margin: 0 -1px; + border-style: none solid; +} + +notebook > header.left tabs, notebook > header.right tabs { + padding-top: 8px; + padding-bottom: 8px; +} + +notebook > header.left tabs:not(:only-child):first-child, notebook > header.right tabs:not(:only-child):first-child { + margin-top: 0; +} + +notebook > header.left tabs:not(:only-child):last-child, notebook > header.right tabs:not(:only-child):last-child { + margin-bottom: 0; +} + +notebook > header.left tabs tab.reorderable-page, notebook > header.right tabs tab.reorderable-page { + margin: -1px 0; + border-style: solid none; +} + +notebook > stack:not(:only-child) { + background-color: #31313a; + border-radius: 10px; +} + +/************** + * Scrollbars * + **************/ +scrollbar { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1); + background-color: rgba(49, 49, 58, 0.65); + background-clip: border-box; +} + +scrollbar.top { + border-bottom: 1px solid rgba(255, 255, 255, 0.08); +} + +scrollbar.bottom { + border-top: 1px solid rgba(255, 255, 255, 0.08); +} + +scrollbar.left { + border-right: 1px solid rgba(255, 255, 255, 0.08); +} + +scrollbar.right { + border-left: 1px solid rgba(255, 255, 255, 0.08); +} + +scrollbar > range > trough > slider { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1), margin 0, border-width 0; + min-width: 8px; + min-height: 8px; + border: 4px solid transparent; + border-radius: 9999px; + background-clip: padding-box; + background-color: rgba(255, 255, 255, 0.5); +} + +scrollbar > range > trough > slider:hover { + background-color: rgba(255, 255, 255, 0.7); +} + +scrollbar > range > trough > slider:active { + background-color: #FFFFFF; +} + +scrollbar > range > trough > slider:disabled { + background-color: rgba(255, 255, 255, 0.3); +} + +scrollbar > range.fine-tune > trough > slider { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1), margin 0, border-width 0, min-width 0, min-height 0; + min-width: 4px; + min-height: 4px; +} + +scrollbar > range.fine-tune.horizontal slider { + margin: 2px 0; +} + +scrollbar > range.fine-tune.vertical slider { + margin: 0 2px; +} + +scrollbar.overlay-indicator:not(.dragging):not(.hovering) { + border-color: transparent; + background-color: transparent; +} + +scrollbar.overlay-indicator:not(.dragging):not(.hovering) > range > trough > slider { + min-width: 4px; + min-height: 4px; + margin: 3px; + border: 1px solid rgba(49, 49, 58, 0.3); +} + +scrollbar.overlay-indicator:not(.dragging):not(.hovering) button { + min-width: 4px; + min-height: 4px; + margin: 3px; + border: 1px solid rgba(49, 49, 58, 0.3); + border-radius: 9999px; + background-color: rgba(255, 255, 255, 0.5); + background-clip: padding-box; + -gtk-icon-source: none; +} + +scrollbar.overlay-indicator:not(.dragging):not(.hovering) button:disabled { + background-color: rgba(255, 255, 255, 0.3); +} + +scrollbar.overlay-indicator:not(.dragging):not(.hovering).horizontal > range > trough > slider { + min-width: 24px; +} + +scrollbar.overlay-indicator:not(.dragging):not(.hovering).horizontal button { + min-width: 8px; +} + +scrollbar.overlay-indicator:not(.dragging):not(.hovering).vertical > range > trough > slider { + min-height: 24px; +} + +scrollbar.overlay-indicator:not(.dragging):not(.hovering).vertical button { + min-height: 8px; +} + +scrollbar.overlay-indicator.dragging, scrollbar.overlay-indicator.hovering { + background-color: rgba(49, 49, 58, 0.9); +} + +scrollbar.horizontal > range > trough > slider { + min-width: 24px; +} + +scrollbar.vertical > range > trough > slider { + min-height: 24px; +} + +scrollbar button { + min-width: 16px; + min-height: 16px; + padding: 0; + border-radius: 0; +} + +scrollbar.vertical button.down { + -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); +} + +scrollbar.vertical button.up { + -gtk-icon-source: -gtk-icontheme("pan-up-symbolic"); +} + +scrollbar.horizontal button.down { + -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); +} + +scrollbar.horizontal button.up { + -gtk-icon-source: -gtk-icontheme("pan-start-symbolic"); +} + +/********** + * Switch * + **********/ +switch { + transition: all 225ms cubic-bezier(0, 0, 0.2, 1); + margin: 4px 0; + padding: 0; + min-height: 16px; + min-width: 38px; + border: 4px solid transparent; + border-radius: 9999px; + background-color: rgba(255, 255, 255, 0.2); + background-clip: padding-box; + color: transparent; + font-size: 0; +} + +switch:disabled { + background-color: rgba(255, 255, 255, 0.08); +} + +switch:checked { + background-color: rgba(124, 77, 255, 0.35); + color: transparent; +} + +switch:checked:disabled { + background-color: rgba(124, 77, 255, 0.2); +} + +switch > slider { + transition: 100ms, box-shadow 100ms cubic-bezier(0, 0, 0.2, 1); + min-width: 20px; + min-height: 20px; + margin: -4px -2px; + border-radius: 9999px; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1); + background-color: #44454b; + color: transparent; + background-position: center; + background-repeat: no-repeat; + background-image: -gtk-scaled(url("assets/switch-slider-unchecked-dark.png"), url("assets/switch-slider-unchecked-dark@2.png")); +} + +switch:hover > slider { + box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06); +} + +switch:checked > slider { + transition: 100ms, box-shadow 100ms cubic-bezier(0, 0, 0.2, 1), margin 0; + background-color: #7C4DFF; + color: transparent; + background-image: -gtk-scaled(url("assets/switch-slider-checked-dark.png"), url("assets/switch-slider-checked-dark@2.png")); +} + +switch:disabled > slider { + background-color: #3b3b43; +} + +switch:checked:disabled > slider { + animation: none; + background-color: #573f9d; +} + +row:selected switch:checked { + background-color: rgba(68, 1, 255, 0.35); +} + +row:selected switch:checked:disabled { + background-color: rgba(68, 1, 255, 0.2); +} + +row:selected switch:checked > slider { + background-color: #561aff; +} + +/************************* + * Check and Radio items * + *************************/ +.view.content-view.check:not(list), +.content-view .tile check:not(list) { + min-height: 40px; + min-width: 40px; + margin: 0; + padding: 0; + box-shadow: none; + background-color: transparent; + background-image: none; + -gtk-icon-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1); +} + +.view.content-view.check:not(list):hover, .view.content-view.check:not(list):active, +.content-view .tile check:not(list):hover, +.content-view .tile check:not(list):active { + -gtk-icon-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06); +} + +.view.content-view.check:not(list), +.content-view .tile check:not(list) { + -gtk-icon-source: -gtk-scaled(url("assets/selectionmode-checkbox-unchecked-dark.png"), url("assets/selectionmode-checkbox-unchecked-dark@2.png")); +} + +.view.content-view.check:not(list):checked, +.content-view .tile check:not(list):checked { + -gtk-icon-source: -gtk-scaled(url("assets/selectionmode-checkbox-checked-dark.png"), url("assets/selectionmode-checkbox-checked-dark@2.png")); +} + +checkbutton, +radiobutton { + outline: none; +} + +checkbutton.text-button, +radiobutton.text-button { + padding: 2px; + outline-offset: 0; +} + +checkbutton.text-button label:not(:only-child), +radiobutton.text-button label:not(:only-child) { + margin: 0 4px; +} + +row check:selected, +row radio:selected, row check:selected:active, +row radio:selected:active, row check:selected:checked, +row radio:selected:checked, row check:selected:indeterminate, +row radio:selected:indeterminate, row check:selected:focus, +row radio:selected:focus, row check:selected:focus:active, +row radio:selected:focus:active, row check:selected:focus:checked, +row radio:selected:focus:checked, row check:selected:focus:indeterminate, +row radio:selected:focus:indeterminate, treeview.view check:selected, +treeview.view radio:selected, treeview.view check:selected:active, +treeview.view radio:selected:active, treeview.view check:selected:checked, +treeview.view radio:selected:checked, treeview.view check:selected:indeterminate, +treeview.view radio:selected:indeterminate, treeview.view check:selected:focus, +treeview.view radio:selected:focus, treeview.view check:selected:focus:active, +treeview.view radio:selected:focus:active, treeview.view check:selected:focus:checked, +treeview.view radio:selected:focus:checked, treeview.view check:selected:focus:indeterminate, +treeview.view radio:selected:focus:indeterminate, row.activatable check:selected, +row.activatable radio:selected, row.activatable check:selected:active, +row.activatable radio:selected:active, row.activatable check:selected:checked, +row.activatable radio:selected:checked, row.activatable check:selected:indeterminate, +row.activatable radio:selected:indeterminate, row.activatable check:selected:focus, +row.activatable radio:selected:focus, row.activatable check:selected:focus:active, +row.activatable radio:selected:focus:active, row.activatable check:selected:focus:checked, +row.activatable radio:selected:focus:checked, row.activatable check:selected:focus:indeterminate, +row.activatable radio:selected:focus:indeterminate, row checkbutton check:selected, row checkbutton check:selected:active, row checkbutton check:selected:checked, row checkbutton check:selected:indeterminate, row checkbutton check:selected:focus, row checkbutton check:selected:focus:active, row checkbutton check:selected:focus:checked, row checkbutton check:selected:focus:indeterminate, treeview.view checkbutton check:selected, treeview.view checkbutton check:selected:active, treeview.view checkbutton check:selected:checked, treeview.view checkbutton check:selected:indeterminate, treeview.view checkbutton check:selected:focus, treeview.view checkbutton check:selected:focus:active, treeview.view checkbutton check:selected:focus:checked, treeview.view checkbutton check:selected:focus:indeterminate, row.activatable checkbutton check:selected, row.activatable checkbutton check:selected:active, row.activatable checkbutton check:selected:checked, row.activatable checkbutton check:selected:indeterminate, row.activatable checkbutton check:selected:focus, row.activatable checkbutton check:selected:focus:active, row.activatable checkbutton check:selected:focus:checked, row.activatable checkbutton check:selected:focus:indeterminate, row radiobutton radio:selected, row radiobutton radio:selected:active, row radiobutton radio:selected:checked, row radiobutton radio:selected:indeterminate, row radiobutton radio:selected:focus, row radiobutton radio:selected:focus:active, row radiobutton radio:selected:focus:checked, row radiobutton radio:selected:focus:indeterminate, treeview.view radiobutton radio:selected, treeview.view radiobutton radio:selected:active, treeview.view radiobutton radio:selected:checked, treeview.view radiobutton radio:selected:indeterminate, treeview.view radiobutton radio:selected:focus, treeview.view radiobutton radio:selected:focus:active, treeview.view radiobutton radio:selected:focus:checked, treeview.view radiobutton radio:selected:focus:indeterminate, row.activatable radiobutton radio:selected, row.activatable radiobutton radio:selected:active, row.activatable radiobutton radio:selected:checked, row.activatable radiobutton radio:selected:indeterminate, row.activatable radiobutton radio:selected:focus, row.activatable radiobutton radio:selected:focus:active, row.activatable radiobutton radio:selected:focus:checked, row.activatable radiobutton radio:selected:focus:indeterminate { + color: rgba(255, 255, 255, 0.7); +} + +row check:selected:disabled, +row radio:selected:disabled, row check:selected:active:disabled, +row radio:selected:active:disabled, row check:selected:checked:disabled, +row radio:selected:checked:disabled, row check:selected:indeterminate:disabled, +row radio:selected:indeterminate:disabled, row check:selected:focus:disabled, +row radio:selected:focus:disabled, row check:selected:focus:active:disabled, +row radio:selected:focus:active:disabled, row check:selected:focus:checked:disabled, +row radio:selected:focus:checked:disabled, row check:selected:focus:indeterminate:disabled, +row radio:selected:focus:indeterminate:disabled, treeview.view check:selected:disabled, +treeview.view radio:selected:disabled, treeview.view check:selected:active:disabled, +treeview.view radio:selected:active:disabled, treeview.view check:selected:checked:disabled, +treeview.view radio:selected:checked:disabled, treeview.view check:selected:indeterminate:disabled, +treeview.view radio:selected:indeterminate:disabled, treeview.view check:selected:focus:disabled, +treeview.view radio:selected:focus:disabled, treeview.view check:selected:focus:active:disabled, +treeview.view radio:selected:focus:active:disabled, treeview.view check:selected:focus:checked:disabled, +treeview.view radio:selected:focus:checked:disabled, treeview.view check:selected:focus:indeterminate:disabled, +treeview.view radio:selected:focus:indeterminate:disabled, row.activatable check:selected:disabled, +row.activatable radio:selected:disabled, row.activatable check:selected:active:disabled, +row.activatable radio:selected:active:disabled, row.activatable check:selected:checked:disabled, +row.activatable radio:selected:checked:disabled, row.activatable check:selected:indeterminate:disabled, +row.activatable radio:selected:indeterminate:disabled, row.activatable check:selected:focus:disabled, +row.activatable radio:selected:focus:disabled, row.activatable check:selected:focus:active:disabled, +row.activatable radio:selected:focus:active:disabled, row.activatable check:selected:focus:checked:disabled, +row.activatable radio:selected:focus:checked:disabled, row.activatable check:selected:focus:indeterminate:disabled, +row.activatable radio:selected:focus:indeterminate:disabled, row checkbutton check:selected:disabled, row checkbutton check:selected:active:disabled, row checkbutton check:selected:checked:disabled, row checkbutton check:selected:indeterminate:disabled, row checkbutton check:selected:focus:disabled, row checkbutton check:selected:focus:active:disabled, row checkbutton check:selected:focus:checked:disabled, row checkbutton check:selected:focus:indeterminate:disabled, treeview.view checkbutton check:selected:disabled, treeview.view checkbutton check:selected:active:disabled, treeview.view checkbutton check:selected:checked:disabled, treeview.view checkbutton check:selected:indeterminate:disabled, treeview.view checkbutton check:selected:focus:disabled, treeview.view checkbutton check:selected:focus:active:disabled, treeview.view checkbutton check:selected:focus:checked:disabled, treeview.view checkbutton check:selected:focus:indeterminate:disabled, row.activatable checkbutton check:selected:disabled, row.activatable checkbutton check:selected:active:disabled, row.activatable checkbutton check:selected:checked:disabled, row.activatable checkbutton check:selected:indeterminate:disabled, row.activatable checkbutton check:selected:focus:disabled, row.activatable checkbutton check:selected:focus:active:disabled, row.activatable checkbutton check:selected:focus:checked:disabled, row.activatable checkbutton check:selected:focus:indeterminate:disabled, row radiobutton radio:selected:disabled, row radiobutton radio:selected:active:disabled, row radiobutton radio:selected:checked:disabled, row radiobutton radio:selected:indeterminate:disabled, row radiobutton radio:selected:focus:disabled, row radiobutton radio:selected:focus:active:disabled, row radiobutton radio:selected:focus:checked:disabled, row radiobutton radio:selected:focus:indeterminate:disabled, treeview.view radiobutton radio:selected:disabled, treeview.view radiobutton radio:selected:active:disabled, treeview.view radiobutton radio:selected:checked:disabled, treeview.view radiobutton radio:selected:indeterminate:disabled, treeview.view radiobutton radio:selected:focus:disabled, treeview.view radiobutton radio:selected:focus:active:disabled, treeview.view radiobutton radio:selected:focus:checked:disabled, treeview.view radiobutton radio:selected:focus:indeterminate:disabled, row.activatable radiobutton radio:selected:disabled, row.activatable radiobutton radio:selected:active:disabled, row.activatable radiobutton radio:selected:checked:disabled, row.activatable radiobutton radio:selected:indeterminate:disabled, row.activatable radiobutton radio:selected:focus:disabled, row.activatable radiobutton radio:selected:focus:active:disabled, row.activatable radiobutton radio:selected:focus:checked:disabled, row.activatable radiobutton radio:selected:focus:indeterminate:disabled { + color: rgba(255, 255, 255, 0.3); +} + +row check:selected:hover, +row radio:selected:hover, treeview.view check:selected:hover, +treeview.view radio:selected:hover, row checkbutton check:selected:hover, row checkbutton check:selected:focus:hover, treeview.view checkbutton check:selected:hover, treeview.view checkbutton check:selected:focus:hover, row.activatable checkbutton check:selected:hover, row.activatable checkbutton check:selected:focus:hover, row radiobutton radio:selected:hover, row radiobutton radio:selected:focus:hover, treeview.view radiobutton radio:selected:hover, treeview.view radiobutton radio:selected:focus:hover, row.activatable radiobutton radio:selected:hover, row.activatable radiobutton radio:selected:focus:hover { + color: #FFFFFF; +} + +row check:selected:hover:disabled, +row radio:selected:hover:disabled, treeview.view check:selected:hover:disabled, +treeview.view radio:selected:hover:disabled, row checkbutton check:selected:hover:disabled, row checkbutton check:selected:focus:hover:disabled, treeview.view checkbutton check:selected:hover:disabled, treeview.view checkbutton check:selected:focus:hover:disabled, row.activatable checkbutton check:selected:hover:disabled, row.activatable checkbutton check:selected:focus:hover:disabled, row radiobutton radio:selected:hover:disabled, row radiobutton radio:selected:focus:hover:disabled, treeview.view radiobutton radio:selected:hover:disabled, treeview.view radiobutton radio:selected:focus:hover:disabled, row.activatable radiobutton radio:selected:hover:disabled, row.activatable radiobutton radio:selected:focus:hover:disabled { + color: rgba(255, 255, 255, 0.5); +} + +check, +radio { + min-height: 24px; + min-width: 24px; + margin: -7px; + padding: 7px; +} + +check:checked, check:indeterminate, +radio:checked, +radio:indeterminate { + color: #7C4DFF; +} + +check:checked:disabled, check:indeterminate:disabled, +radio:checked:disabled, +radio:indeterminate:disabled { + color: rgba(124, 77, 255, 0.5); +} + +popover modelbutton.flat check, popover modelbutton.flat check:hover, popover modelbutton.flat check:focus, popover modelbutton.flat check:focus:hover, popover modelbutton.flat check:active, popover modelbutton.flat check:disabled, popover modelbutton.flat radio, popover modelbutton.flat radio:hover, popover modelbutton.flat radio:focus, popover modelbutton.flat radio:focus:hover, popover modelbutton.flat radio:active, popover modelbutton.flat radio:disabled { + transition: none; + box-shadow: none; + background-image: none; +} + +popover modelbutton.flat check.left:dir(rtl), popover modelbutton.flat radio.left:dir(rtl) { + margin-left: -12px; + margin-right: -4px; +} + +popover modelbutton.flat check.right:dir(ltr), popover modelbutton.flat radio.right:dir(ltr) { + margin-left: -4px; + margin-right: -12px; +} + +popover.menu modelbutton check, popover.menu modelbutton radio { + transition: none; + margin: 0; + padding: 0; +} + +popover.menu modelbutton check:dir(ltr), popover.menu modelbutton radio:dir(ltr) { + margin-right: 8px; +} + +popover.menu modelbutton check:dir(rtl), popover.menu modelbutton radio:dir(rtl) { + margin-left: 8px; +} + +popover.menu modelbutton check:not(:checked):not(:indeterminate):not(:disabled), popover.menu modelbutton radio:not(:checked):not(:indeterminate):not(:disabled) { + color: rgba(255, 255, 255, 0.7); +} + +popover.menu modelbutton check, popover.menu modelbutton check:hover, popover.menu modelbutton check:disabled, popover.menu modelbutton radio, popover.menu modelbutton radio:hover, popover.menu modelbutton radio:disabled { + box-shadow: none; +} + + +check { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/checkbox-unchecked-symbolic.svg")); +} + + +check:checked { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/checkbox-checked-symbolic.svg")); +} + + +check:indeterminate { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/checkbox-mixed-symbolic.svg")); +} + + +radio { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/radio-unchecked-symbolic.svg")); +} + + +radio:checked { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/radio-checked-symbolic.svg")); +} + + +radio:indeterminate { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/radio-mixed-symbolic.svg")); +} + + +popover.menu modelbutton check { + min-height: 16px; + min-width: 16px; + border-radius: 7px; + -gtk-icon-source: -gtk-recolor(url("assets/scalable/small-checkbox-unchecked-symbolic.svg")); +} + + +popover.menu modelbutton check:checked { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/small-checkbox-checked-symbolic.svg")); +} + + +popover.menu modelbutton check:indeterminate { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/small-checkbox-mixed-symbolic.svg")); +} + + +popover.menu modelbutton radio { + min-height: 16px; + min-width: 16px; + border-image: none; + -gtk-icon-source: -gtk-recolor(url("assets/scalable/small-radio-unchecked-symbolic.svg")); +} + + +popover.menu modelbutton radio:checked { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/small-radio-checked-symbolic.svg")); +} + + +popover.menu modelbutton radio:indeterminate { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/small-radio-mixed-symbolic.svg")); +} + +check:not(:checked):active { + -gtk-icon-transform: rotate(90deg); +} + +check:not(:checked):indeterminate:active, +radio:not(:checked):indeterminate:active { + -gtk-icon-transform: scaleX(-1); +} + +check:not(:checked), +radio:not(:checked) { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1), background-size 300ms cubic-bezier(0, 0, 0.2, 1), background-image 600ms cubic-bezier(0, 0, 0.2, 1), -gtk-icon-transform 0; +} + +check:not(:checked):active, +radio:not(:checked):active { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1), background-size 0, background-image 0, -gtk-icon-transform 0; +} + +popover.menu modelbutton check:not(:checked), popover.menu modelbutton radio:not(:checked) { + transition: none; +} + +treeview.view check, +treeview.view radio { + padding: 0; +} + +treeview.view check:hover, +treeview.view radio:hover { + box-shadow: inset 0 0 0 9999px alpha(#FFFFFF, 0.05); +} + +treeview.view check:hover:disabled, +treeview.view radio:hover:disabled { + box-shadow: none; +} + +treeview.view check:hover:selected, +treeview.view radio:hover:selected { + box-shadow: inset 0 0 0 9999px alpha(#FFFFFF, 0.05); +} + +treeview.view check, +treeview.view radio { + color: rgba(255, 255, 255, 0.7); +} + +treeview.view check:hover, treeview.view check:active, +treeview.view radio:hover, +treeview.view radio:active { + color: #FFFFFF; +} + +treeview.view check:disabled, +treeview.view radio:disabled { + color: rgba(255, 255, 255, 0.3); +} + +treeview.view check:checked, treeview.view check:indeterminate, +treeview.view radio:checked, +treeview.view radio:indeterminate { + color: #7C4DFF; +} + +treeview.view check:checked:disabled, treeview.view check:indeterminate:disabled, +treeview.view radio:checked:disabled, +treeview.view radio:indeterminate:disabled { + color: rgba(124, 77, 255, 0.5); +} + +treeview.view radio:checked { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/radio-checked-symbolic.svg")); + border-image: none; +} + +/************ + * GtkScale * + ************/ +scale { + min-height: 0px; + min-width: 0px; + padding: 16px; +} + +scale > trough { + transition: background-color 100ms cubic-bezier(0, 0, 0.2, 1); + outline: none; + background-color: rgba(255, 255, 255, 0.2); +} + +scale > trough:disabled { + background-color: rgba(255, 255, 255, 0.08); +} + +scale > trough > slider { + min-height: 32px; + min-width: 32px; + margin: -15px; +} + +scale > trough > highlight { + transition: background-color 100ms cubic-bezier(0, 0, 0.2, 1); + background-color: #7C4DFF; +} + +scale > trough > highlight:disabled { + background-color: transparent; +} + +scale > trough > fill { + transition: background-color 100ms cubic-bezier(0, 0, 0.2, 1); + background-color: rgba(255, 255, 255, 0.2); +} + +scale > trough > fill:disabled { + background-color: transparent; +} + +scale > trough > slider { + transition: background-color 100ms cubic-bezier(0, 0, 0.2, 1), background-size 300ms cubic-bezier(0, 0, 0.2, 1), background-image 600ms cubic-bezier(0, 0, 0.2, 1); + background-repeat: no-repeat; + background-position: center; + background-size: auto, 1000% 1000%; + border-radius: 50%; + color: transparent; +} + +scale > trough > slider { + background-image: -gtk-scaled(url("assets/scale-slider-dark.png"), url("assets/scale-slider-dark@2.png")); +} + +scale > trough > slider:disabled { + background-image: -gtk-scaled(url("assets/scale-slider-disabled-dark.png"), url("assets/scale-slider-disabled-dark@2.png")); +} + +scale > trough > slider:hover { + background-color: rgba(124, 77, 255, 0.08); +} + +scale > trough > slider:focus { + background-color: rgba(124, 77, 255, 0.12); +} + +scale > trough > slider:focus:hover { + background-color: rgba(124, 77, 255, 0.16); +} + +scale > trough > slider:active { + transition: background-color 100ms cubic-bezier(0, 0, 0.2, 1), background-size 0, background-image 0; + animation: scale_ripple_effect 225ms cubic-bezier(0, 0, 0.2, 1) forwards; + background-size: auto, 0% 0%; + background-color: rgba(124, 77, 255, 0.08); + color: rgba(124, 77, 255, 0.12); +} + +scale.fine-tune slider { + background-size: calc(100% - 12px); +} + +scale > marks label, +scale > value { + color: rgba(255, 255, 255, 0.5); +} + +scale > marks { + color: rgba(255, 255, 255, 0.2); +} + +scale > marks.top { + margin-bottom: 7px; + margin-top: -15px; +} + +scale > marks.bottom { + margin-top: 7px; + margin-bottom: -15px; +} + +scale > marks.left { + margin-right: 7px; + margin-left: -15px; +} + +scale > marks.right { + margin-left: 7px; + margin-right: -15px; +} + +scale.fine-tune marks.top { + margin-bottom: 6px; + margin-top: -14px; +} + +scale.fine-tune marks.bottom { + margin-top: 6px; + margin-bottom: -14px; +} + +scale.fine-tune marks.left { + margin-right: 6px; + margin-left: -14px; +} + +scale.fine-tune marks.right { + margin-left: 6px; + margin-right: -14px; +} + +scale.horizontal indicator { + min-height: 8px; + min-width: 1px; +} + +scale.vertical indicator { + min-height: 1px; + min-width: 8px; +} + +scale.horizontal.marks-before:not(.marks-after) slider { + background-image: -gtk-scaled(url("assets/scale-horz-marks-before-slider-dark.png"), url("assets/scale-horz-marks-before-slider-dark@2.png")); +} + +scale.horizontal.marks-before:not(.marks-after) slider:disabled { + background-image: -gtk-scaled(url("assets/scale-horz-marks-before-slider-disabled-dark.png"), url("assets/scale-horz-marks-before-slider-disabled-dark@2.png")); +} + +scale.horizontal.marks-after:not(.marks-before) slider { + background-image: -gtk-scaled(url("assets/scale-horz-marks-after-slider-dark.png"), url("assets/scale-horz-marks-after-slider-dark@2.png")); +} + +scale.horizontal.marks-after:not(.marks-before) slider:disabled { + background-image: -gtk-scaled(url("assets/scale-horz-marks-after-slider-disabled-dark.png"), url("assets/scale-horz-marks-after-slider-disabled-dark@2.png")); +} + +scale.vertical.marks-before:not(.marks-after) slider { + background-image: -gtk-scaled(url("assets/scale-vert-marks-before-slider-dark.png"), url("assets/scale-vert-marks-before-slider-dark@2.png")); +} + +scale.vertical.marks-before:not(.marks-after) slider:disabled { + background-image: -gtk-scaled(url("assets/scale-vert-marks-before-slider-disabled-dark.png"), url("assets/scale-vert-marks-before-slider-disabled-dark@2.png")); +} + +scale.vertical.marks-after:not(.marks-before) slider { + background-image: -gtk-scaled(url("assets/scale-vert-marks-after-slider-dark.png"), url("assets/scale-vert-marks-after-slider-dark@2.png")); +} + +scale.vertical.marks-after:not(.marks-before) slider:disabled { + background-image: -gtk-scaled(url("assets/scale-vert-marks-after-slider-disabled-dark.png"), url("assets/scale-vert-marks-after-slider-disabled-dark@2.png")); +} + +scale.color { + min-height: 0; + min-width: 0; +} + +scale.color.horizontal { + padding: 0 0 12px 0; +} + +scale.color.horizontal slider:dir(ltr), scale.color.horizontal slider:dir(rtl) { + margin-bottom: -16px; + margin-top: -6px; +} + +scale.color.vertical:dir(ltr) { + padding: 0 0 0 12px; +} + +scale.color.vertical:dir(ltr) slider { + margin-left: -16px; + margin-right: -6px; +} + +scale.color.vertical:dir(rtl) { + padding: 0 12px 0 0; +} + +scale.color.vertical:dir(rtl) slider { + margin-right: -16px; + margin-left: -6px; +} + +/***************** + * Progress bars * + *****************/ +progressbar { + color: rgba(255, 255, 255, 0.5); + font-size: smaller; +} + +progressbar.horizontal > trough { + min-width: 150px; +} + +progressbar.horizontal > trough, progressbar.horizontal > trough > progress { + min-height: 4px; +} + +progressbar.vertical > trough { + min-height: 80px; +} + +progressbar.vertical > trough, progressbar.vertical > trough > progress { + min-width: 4px; +} + +progressbar > trough { + border-radius: 9999px; + background-color: rgba(93, 125, 251, 0.3); +} + +progressbar > trough > progress { + border-radius: 9999px; + background-color: #5D7DFB; + background-image: linear-gradient(to left, #BA68C8, #7E57C2); + background-size: auto auto; + background-position: center center; + background-repeat: no-repeat; +} + +progressbar.osd { + min-width: 3px; + min-height: 3px; + background-color: transparent; +} + +progressbar.osd > trough { + border-style: none; + border-radius: 0; + background-color: transparent; + box-shadow: none; +} + +progressbar.osd > trough > progress { + border-style: none; + border-radius: 0; +} + +progressbar trough.empty progress { + all: unset; +} + +/************* + * Level Bar * + *************/ +levelbar.horizontal block { + min-height: 4px; +} + +levelbar.horizontal.discrete block { + min-width: 32px; +} + +levelbar.horizontal.discrete block:not(:last-child) { + margin-right: 2px; +} + +levelbar.vertical > trough > block { + min-width: 4px; +} + +levelbar.vertical.discrete block { + min-height: 32px; +} + +levelbar.vertical.discrete block:not(:last-child) { + margin-bottom: 2px; +} + +levelbar > trough { + padding: 2px; + border-radius: 5px; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1); + background-color: #31313a; +} + +levelbar > trough:disabled { + background-color: #3b3b43; +} + +levelbar > trough > block.low { + background-color: #FF6D00; +} + +levelbar > trough > block.high, levelbar > trough > block:not(.empty) { + background-color: #5657f5; +} + +levelbar > trough > block.full { + background-color: #00C853; +} + +levelbar > trough > block.empty { + background-color: rgba(255, 255, 255, 0.08); +} + +/**************** + * Print dialog * +*****************/ +window.dialog.print drawing { + color: #FFFFFF; + background: none; + border: none; + padding: 0; +} + +window.dialog.print drawing paper { + padding: 0; + border: 1px solid rgba(255, 255, 255, 0.08); + background-color: #31313a; + color: #FFFFFF; +} + +window.dialog.print .dialog-action-box { + margin: 12px; +} + +/********** + * Frames * + **********/ +frame, +.frame { + margin: 0; + padding: 0; + border: 1px solid rgba(255, 255, 255, 0.08); + border-radius: 0; + box-shadow: none; +} + +frame.flat, +.frame.flat { + border-style: none; +} + +frame.flat > border { + border-style: none; +} + +frame { + border-radius: 8px; +} + +frame > label { + margin: 4px; +} + +actionbar > revealer > box { + padding: 4px; + border-top: 1px solid rgba(255, 255, 255, 0.08); +} + +actionbar > revealer > box .linked > button { + border-radius: 7px; +} + +overshoot.top { + background-image: radial-gradient(farthest-side at top, rgba(230, 230, 230, 0.08) 85%, rgba(230, 230, 230, 0)), radial-gradient(farthest-side at top, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0)); + background-size: 100% 3%, 100% 50%; + background-repeat: no-repeat; + background-position: top; + background-color: transparent; + border: none; + box-shadow: none; +} + +overshoot.bottom { + background-image: radial-gradient(farthest-side at bottom, rgba(230, 230, 230, 0.08) 85%, rgba(230, 230, 230, 0)), radial-gradient(farthest-side at bottom, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0)); + background-size: 100% 3%, 100% 50%; + background-repeat: no-repeat; + background-position: bottom; + background-color: transparent; + border: none; + box-shadow: none; +} + +overshoot.left { + background-image: radial-gradient(farthest-side at left, rgba(230, 230, 230, 0.08) 85%, rgba(230, 230, 230, 0)), radial-gradient(farthest-side at left, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0)); + background-size: 3% 100%, 50% 100%; + background-repeat: no-repeat; + background-position: left; + background-color: transparent; + border: none; + box-shadow: none; +} + +overshoot.right { + background-image: radial-gradient(farthest-side at right, rgba(230, 230, 230, 0.08) 85%, rgba(230, 230, 230, 0)), radial-gradient(farthest-side at right, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0)); + background-size: 3% 100%, 50% 100%; + background-repeat: no-repeat; + background-position: right; + background-color: transparent; + border: none; + box-shadow: none; +} + +undershoot.top { + background-color: transparent; + background-image: linear-gradient(to left, rgba(49, 49, 58, 0.3) 50%, rgba(255, 255, 255, 0.2) 50%); + padding-top: 1px; + background-size: 12px 1px; + background-repeat: repeat-x; + background-origin: content-box; + background-position: left top; +} + +undershoot.bottom { + background-color: transparent; + background-image: linear-gradient(to left, rgba(49, 49, 58, 0.3) 50%, rgba(255, 255, 255, 0.2) 50%); + padding-bottom: 1px; + background-size: 12px 1px; + background-repeat: repeat-x; + background-origin: content-box; + background-position: left bottom; +} + +undershoot.left { + background-color: transparent; + background-image: linear-gradient(to top, rgba(49, 49, 58, 0.3) 50%, rgba(255, 255, 255, 0.2) 50%); + padding-left: 1px; + background-size: 1px 12px; + background-repeat: repeat-y; + background-origin: content-box; + background-position: left top; +} + +undershoot.right { + background-color: transparent; + background-image: linear-gradient(to top, rgba(49, 49, 58, 0.3) 50%, rgba(255, 255, 255, 0.2) 50%); + padding-right: 1px; + background-size: 1px 12px; + background-repeat: repeat-y; + background-origin: content-box; + background-position: right top; +} + +junction { + border-style: solid none none solid; + border-width: 1px; + border-color: rgba(255, 255, 255, 0.08); + background-color: #31313a; +} + +junction:dir(rtl) { + border-style: solid solid none none; +} + +separator { + min-width: 1px; + min-height: 1px; + background-color: rgba(255, 255, 255, 0.08); +} + + +button.font separator, +button.file separator { + min-width: 0; + min-height: 0; + background-color: transparent; +} + +/********* + * Lists * + *********/ +listview, +list { + border-color: rgba(255, 255, 255, 0.08); + background-color: #31313a; +} + +listview row, +list row { + padding: 2px; +} + +columnview.view > header > button, +treeview.view > header > button, row.activatable { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1), background-color 0, color 0; + box-shadow: inset 0 0 0 9999px transparent; +} + +columnview.view > header > button:hover, +treeview.view > header > button:hover, row.activatable:hover { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1), background-color 0, color 0, box-shadow 0; + box-shadow: inset 0 0 0 9999px alpha(currentColor, 0.05); +} + +columnview.view > header > button.has-open-popup, +treeview.view > header > button.has-open-popup, columnview.view > header > button:active, +treeview.view > header > button:active, row.activatable.has-open-popup, row.activatable:active { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1), background-color 0, color 0; + box-shadow: inset 0 0 0 9999px alpha(currentColor, 0.3); + background-size: 0% 0%; +} + +row button.circular { + margin: 0 4px; +} + +columnview > listview > row { + padding: 0; +} + +columnview > listview > row > cell { + padding: 8px 6px; +} + +columnview > listview > row > cell:not(:first-child) { + border-left: 1px solid transparent; +} + +columnview.column-separators > listview > row > cell { + border-left-color: #474751; +} + +columnview.data-table > listview > row > cell { + padding-top: 2px; + padding-bottom: 2px; +} + +treeexpander { + border-spacing: 4px; +} + +.rich-list { + /* rich lists usually containing other widgets than just labels/text */ +} + +.rich-list > row { + padding: 8px 12px; + min-height: 32px; + /* should be tall even when only containing a label */ +} + +.rich-list > row > box { + border-spacing: 12px; +} + +/********************* + * App Notifications * + *********************/ +.app-notification { + margin: 8px; +} + +.app-notification.frame, +.app-notification border { + border-style: none; +} + +/************* + * Expanders * + *************/ +expander { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1); + min-width: 16px; + min-height: 16px; + -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); + -gtk-icon-transform: rotate(-90deg); + color: rgba(255, 255, 255, 0.7); +} + +expander:dir(rtl) { + -gtk-icon-transform: rotate(90deg); +} + +expander:checked { + -gtk-icon-transform: unset; +} + +expander:hover, expander:active { + color: #FFFFFF; +} + +expander:disabled { + color: rgba(255, 255, 255, 0.3); +} + +expander:selected { + color: rgba(255, 255, 255, 0.7); +} + +expander:selected:hover, expander:selected:active { + color: #FFFFFF; +} + +expander:selected:disabled { + color: rgba(255, 255, 255, 0.3); +} + +/************ + * Calendar * + ************/ +calendar { + color: rgba(255, 255, 255, 0.7); + border: 1px solid rgba(255, 255, 255, 0.08); +} + +calendar > header { + border-bottom: 1px solid rgba(255, 255, 255, 0.08); +} + +calendar > header > button { + border: none; + box-shadow: none; + background: none; + border-radius: 0; +} + +calendar > header > button:backdrop { + background: none; +} + +calendar > grid > label { + border-radius: 3px; +} + +calendar > grid > label.today { + background-color: rgba(255, 255, 255, 0.15); +} + +calendar > grid > label.day-number { + padding: 4px; +} + +calendar > grid > label.day-number:selected { + border-radius: 3px; +} + +calendar > grid > label.day-number.other-month { + color: alpha(currentColor, 0.3); +} + +/*********** + * Dialogs * + ***********/ +window.dialog.message { + color: rgba(255, 255, 255, 0.8); +} + +window.dialog.message.background { + background-color: rgba(68, 69, 75, 0.95); +} + +window.dialog.message .titlebar { + min-height: 20px; + border-style: none; + box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); + background-color: rgba(68, 69, 75, 0.95); + color: rgba(255, 255, 255, 0.8); + border-top-left-radius: 7px; + border-top-right-radius: 7px; +} + +window.dialog.message .titlebar:backdrop { + color: rgba(255, 255, 255, 0.3); +} + +window.dialog.message list, window.dialog.message row, window.dialog.message .view, window.dialog.message textview.view > text { + color: rgba(255, 255, 255, 0.8); + background-color: #3d3e43; + border-color: rgba(255, 255, 255, 0.12); +} + +window.dialog.message .linked:not(.vertical).dialog-action-area > button { + padding: 4px 12px; + border-top: 1px solid rgba(255, 255, 255, 0.08); + border-radius: 0; + color: rgba(255, 255, 255, 0.8); +} + +window.dialog.message .linked:not(.vertical).dialog-action-area > button:first-child { + border-bottom-left-radius: 0; + border-top-left-radius: 0; +} + +window.dialog.message .linked:not(.vertical).dialog-action-area > button:last-child { + border-bottom-right-radius: 0; + border-top-right-radius: 0; +} + +window.dialog.message .linked:not(.vertical).dialog-action-area > button.suggested-action, window.dialog.message .linked:not(.vertical).dialog-action-area > button.suggested-action:hover { + color: #7C4DFF; +} + +window.dialog.message .linked:not(.vertical).dialog-action-area > button.suggested-action:active, window.dialog.message .linked:not(.vertical).dialog-action-area > button.suggested-action:checked { + background-color: #7C4DFF; + color: white; + border-color: #7C4DFF; + box-shadow: none; +} + +window.dialog.message .linked:not(.vertical).dialog-action-area > button.suggested-action:disabled { + opacity: 0.65; +} + +window.dialog.message .linked:not(.vertical).dialog-action-area > button.destructive-action, window.dialog.message .linked:not(.vertical).dialog-action-area > button.destructive-action:hover { + color: #FF5252; +} + +window.dialog.message .linked:not(.vertical).dialog-action-area > button.destructive-action:active, window.dialog.message .linked:not(.vertical).dialog-action-area > button.destructive-action:checked { + background-color: #FF5252; + color: white; + border-color: #FF5252; + box-shadow: none; +} + +window.dialog.message .linked:not(.vertical).dialog-action-area > button.destructive-action:disabled { + opacity: 0.65; +} + +window.dialog.message.csd { + color: rgba(255, 255, 255, 0.8); +} + +window.dialog.message.csd.background { + border-bottom-left-radius: 7px; + border-bottom-right-radius: 7px; +} + +window.dialog.message.csd .linked:not(.vertical).dialog-action-area > button { + padding: 8px 16px; + border-top: 1px solid rgba(255, 255, 255, 0.08); + border-radius: 0; + color: rgba(255, 255, 255, 0.8); +} + +window.dialog.message.csd .linked:not(.vertical).dialog-action-area > button:first-child { + border-bottom-left-radius: 7px; + border-top-left-radius: 0; +} + +window.dialog.message.csd .linked:not(.vertical).dialog-action-area > button:last-child { + border-bottom-right-radius: 7px; + border-top-right-radius: 0; +} + +window.dialog.message entry { + color: rgba(255, 255, 255, 0.8); +} + +window.dialog.message expander title > arrow { + color: rgba(255, 255, 255, 0.7); +} + +window.dialog.message expander title > arrow:hover, window.dialog.message expander title > arrow:active { + color: #FFFFFF; +} + +window.dialog.message expander title > arrow:disabled { + color: rgba(255, 255, 255, 0.3); +} + +.background.csd filechooser, .background.csd filechooser placessidebar { + background: none; + border-radius: 0 0 13px 13px; +} + +.background.csd filechooser list, .background.csd filechooser placessidebar list { + background-color: transparent; +} + +.maximized filechooser placessidebar { + border-radius: 0; +} + +filechooser stack.view { + background-color: transparent; +} + +filechooser stack.view scrolledwindow { + background-color: #31313a; + border-radius: 0 0 13px 13px; +} + +filechooser stack.view scrolledwindow treeview.view { + background-color: transparent; +} + +filechooser .dialog-action-box { + border-top: 1px solid rgba(255, 255, 255, 0.08); +} + +filechooser #pathbarbox { + border-bottom: 1px solid rgba(255, 255, 255, 0.08); + background-color: #34343b; +} + +filechooserbutton > button > box { + border-spacing: 6px; +} + +filechooserbutton:drop(active) { + box-shadow: none; +} + +/*********** + * Sidebar * + ***********/ +stacksidebar .frame list:dir(ltr) { + box-shadow: inset -2px 0 3px -3px rgba(0, 0, 0, 0.05), inset -3px 0 5px -3px rgba(0, 0, 0, 0.05), inset -3px 0 10px -3px rgba(0, 0, 0, 0.03); +} + +stacksidebar .frame list:dir(rtl) { + box-shadow: inset 2px 0 3px -3px rgba(0, 0, 0, 0.08), inset 3px 0 5px -3px rgba(0, 0, 0, 0.05), inset 3px 0 10px -3px rgba(0, 0, 0, 0.03); +} + +.sidebar { + border-style: none; + background-color: #44454b; +} + +.sidebar:dir(ltr), .sidebar.left, .sidebar.left:dir(rtl) { + border-right: 1px solid #474751; + border-left-style: none; +} + +.sidebar:dir(rtl), .sidebar.right { + border-left: 1px solid #474751; + border-right-style: none; +} + +.sidebar listview.view, +.sidebar list { + background-color: transparent; +} + +paned .sidebar.left, paned .sidebar.right, paned .sidebar.left:dir(rtl), paned .sidebar:dir(rtl), paned .sidebar:dir(ltr), paned .sidebar { + border-style: none; +} + +stacksidebar list.separators:not(.horizontal) > row:not(.separator) { + border-bottom: none; +} + +stacksidebar row { + padding: 10px 4px; +} + +stacksidebar row > label { + padding-left: 6px; + padding-right: 6px; +} + +.navigation-sidebar { + padding: 4px 0; +} + +.navigation-sidebar > separator { + margin: 4px; +} + +.navigation-sidebar > row { + min-height: 28px; + padding: 0 4px; + border-radius: 8px; + margin: 0 4px 2px; +} + +.navigation-sidebar > row:hover, .navigation-sidebar > row:focus-visible:focus-within { + color: #FFFFFF; + background-color: rgba(255, 255, 255, 0.06); +} + +.navigation-sidebar > row:selected { + color: #FFFFFF; + background-color: rgba(255, 255, 255, 0.08); +} + +.navigation-sidebar > row:selected label { + color: #FFFFFF; +} + +.navigation-sidebar > row:selected:hover { + background-color: rgba(255, 255, 255, 0.12); +} + +.navigation-sidebar > row:selected:focus-visible:focus-within { + outline-width: 0; + color: #FFFFFF; + background-color: #5657f5; +} + +.navigation-sidebar > row:selected:focus-visible:focus-within:hover { + background-color: #8687f8; +} + +.navigation-sidebar > row:disabled { + color: rgba(255, 255, 255, 0.3); +} + +/**************** + * File chooser * + ****************/ +row image.sidebar-icon { + color: rgba(255, 255, 255, 0.7); +} + +row:selected image.sidebar-icon { + color: rgba(255, 255, 255, 0.7); +} + +placessidebar > viewport.frame { + border-style: none; +} + +placessidebar list { + padding: 1px 0 4px; +} + +placessidebar .navigation-sidebar > row { + min-height: 32px; + margin: -1px 4px -1px 0; + padding: 0; + border-radius: 0 7px 7px 0; +} + +placessidebar .navigation-sidebar > row > revealer { + padding: 0 12px; +} + +placessidebar .navigation-sidebar > row:selected { + background-color: rgba(255, 255, 255, 0.06); + color: #5657f5; +} + +placessidebar .navigation-sidebar > row:selected image.sidebar-icon, placessidebar .navigation-sidebar > row:selected label.sidebar-label { + color: #9e9ff9; +} + +placessidebar .navigation-sidebar > row:disabled { + color: rgba(255, 255, 255, 0.5); +} + +placessidebar .navigation-sidebar > row image.sidebar-icon:dir(ltr) { + padding-right: 8px; +} + +placessidebar .navigation-sidebar > row image.sidebar-icon:dir(rtl) { + padding-left: 8px; +} + +placessidebar .navigation-sidebar > row label.sidebar-label:dir(ltr) { + padding-right: 2px; +} + +placessidebar .navigation-sidebar > row label.sidebar-label:dir(rtl) { + padding-left: 2px; +} + +placessidebar .navigation-sidebar > row.sidebar-placeholder-row { + min-height: 2px; + padding: 0 8px; + background-image: image(#7C4DFF); + background-clip: content-box; +} + +placessidebar .navigation-sidebar > row.sidebar-new-bookmark-row, placessidebar .navigation-sidebar > row.sidebar-new-bookmark-row image.sidebar-icon { + color: #7C4DFF; +} + +placessidebar .navigation-sidebar > row:drop(active):not(:disabled) { + box-shadow: inset 0 0 0 2px #7C4DFF; +} + +placesview .server-list-button > image { + -gtk-icon-transform: rotate(0turn); +} + +placesview .server-list-button:checked > image { + -gtk-icon-transform: rotate(-0.5turn); +} + +placesview > actionbar > revealer > box > label { + padding-left: 8px; + padding-right: 8px; +} + +/********* + * Paned * + *********/ +paned > separator { + min-width: 1px; + min-height: 1px; + -gtk-icon-source: none; + border-style: none; + background-color: transparent; + background-image: image(rgba(255, 255, 255, 0.08)); + background-size: 1px 1px; + background-clip: content-box; +} + +paned > separator.wide { + min-width: 6px; + min-height: 6px; + background-color: #34343b; + background-image: image(rgba(255, 255, 255, 0.08)), image(rgba(255, 255, 255, 0.08)); + background-size: 1px 1px, 1px 1px; +} + +paned.horizontal > separator { + background-repeat: repeat-y; +} + +paned.horizontal > separator:dir(ltr) { + margin: 0 -8px 0 0; + padding: 0 8px 0 0; + background-position: left; +} + +paned.horizontal > separator:dir(rtl) { + margin: 0 0 0 -8px; + padding: 0 0 0 8px; + background-position: right; +} + +paned.horizontal > separator.wide { + margin: 0; + padding: 0; + background-repeat: repeat-y, repeat-y; + background-position: left, right; +} + +paned.vertical > separator { + margin: 0 0 -8px 0; + padding: 0 0 8px 0; + background-repeat: repeat-x; + background-position: top; +} + +paned.vertical > separator.wide { + margin: 0; + padding: 0; + background-repeat: repeat-x, repeat-x; + background-position: bottom, top; +} + +video { + background: black; +} + +video image.osd { + min-width: 64px; + min-height: 64px; + border-radius: 9999px; +} + +/************** + * GtkInfoBar * + **************/ +infobar { + border-style: none; +} + +infobar.info { + background-color: #66BB6A; +} + +infobar.question { + background-color: #42A5F5; +} + +infobar.warning { + background-color: #FFA726; +} + +infobar.error { + background-color: #EF5350; +} + +infobar.info > label, infobar.info, infobar.question > label, infobar.question, infobar.warning > label, infobar.warning, infobar.error > label, infobar.error { + color: #FFFFFF; +} + +/************ + * Tooltips * + ************/ +tooltip { + border-radius: 8px; + box-shadow: none; +} + +tooltip.background.csd { + border-radius: 8px; + box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); + background-color: rgba(68, 69, 75, 0.9); + color: rgba(255, 255, 255, 0.8); +} + +tooltip label { + min-height: 20px; + padding: 0 2px; +} + +tooltip > box { + border-spacing: 6px; +} + +/***************** + * Color Chooser * + *****************/ +colorswatch.top { + border-top-left-radius: 5.5px; + border-top-right-radius: 5.5px; +} + +colorswatch.top overlay { + border-top-left-radius: 5px; + border-top-right-radius: 5px; +} + +colorswatch.bottom { + border-bottom-left-radius: 5.5px; + border-bottom-right-radius: 5.5px; +} + +colorswatch.bottom overlay { + border-bottom-left-radius: 5px; + border-bottom-right-radius: 5px; +} + +colorswatch.left, colorswatch:first-child:not(.top) { + border-top-left-radius: 5.5px; + border-bottom-left-radius: 5.5px; +} + +colorswatch.left overlay, colorswatch:first-child:not(.top) overlay { + border-top-left-radius: 5px; + border-bottom-left-radius: 5px; +} + +colorswatch.right, colorswatch:last-child:not(.bottom) { + border-top-right-radius: 5.5px; + border-bottom-right-radius: 5.5px; +} + +colorswatch.right overlay, colorswatch:last-child:not(.bottom) overlay { + border-top-right-radius: 5px; + border-bottom-right-radius: 5px; +} + +colorswatch.dark { + color: #FFFFFF; +} + +colorswatch.light { + color: rgba(0, 0, 0, 0.87); +} + +colorswatch:drop(active) { + box-shadow: none; +} + +colorswatch:drop(active).light overlay { + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1), 0 0 0 2px #7C4DFF; +} + +colorswatch:drop(active).dark overlay { + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1), 0 0 0 2px #7C4DFF; +} + +colorswatch overlay { + transition: box-shadow 100ms cubic-bezier(0, 0, 0.2, 1); + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1); +} + +colorswatch overlay:hover { + box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06); +} + +colorswatch#add-color-button { + border-radius: 5px 5px 0 0; + color: #FFFFFF; +} + +colorswatch#add-color-button:only-child { + border-radius: 5px; +} + +colorswatch#add-color-button overlay { + background-image: linear-gradient(to right, #EF5350 25%, #FFA726 25%, #FFA726 50%, #66BB6A 50%, #66BB6A 75%, #42A5F5 75%); +} + +colorswatch:disabled { + opacity: 0.5; +} + +colorswatch:disabled overlay { + box-shadow: none; +} + +colorswatch#editor-color-sample { + border-radius: 5.5px; +} + +colorswatch#editor-color-sample overlay { + border-radius: 5px; +} + +colorchooser .popover.osd { + transition: box-shadow 100ms cubic-bezier(0, 0, 0.2, 1); + border-radius: 7px; + box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06), inset 0 1px rgba(255, 255, 255, 0.1); + background-color: #31313a; +} + +colorchooser .popover.osd:backdrop { + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1), inset 0 1px rgba(255, 255, 255, 0.1); +} + +/******** + * Misc * + ********/ +.content-view { + background-color: #34343b; +} + +/********************** + * Window Decorations * + **********************/ +window { + border: none; +} + +window.csd { + transition: box-shadow 100ms cubic-bezier(0, 0, 0.2, 1); + border-radius: 13px; + box-shadow: 0 14px 14px rgba(0, 0, 0, 0.25), 0 10px 5px rgba(0, 0, 0, 0.22), 0 16px 16px transparent; + margin: 0; +} + +window.csd:backdrop { + box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06), 0 16px 16px transparent; +} + +window.csd.popup { + border-radius: 13px; + box-shadow: 0 14px 14px rgba(0, 0, 0, 0.25), 0 10px 5px rgba(0, 0, 0, 0.22); +} + +window.csd.dialog.message { + border-radius: 13px; + box-shadow: 0 14px 14px rgba(0, 0, 0, 0.25), 0 10px 5px rgba(0, 0, 0, 0.22); +} + +window.csd.solid-csd { + margin: 0; + border: none; + border-radius: 0; + box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); + background-color: #31313a; +} + +.maximized window, .fullscreen window, .tiled window, .tiled-top window, .tiled-right window, .tiled-bottom window, .tiled-left window { + border-radius: 0; +} + +.popup window { + box-shadow: none; +} + +.ssd window { + box-shadow: 0 3px 3px rgba(0, 0, 0, 0.16); +} + +/***************** + * Title buttons * + *****************/ +headerbar { + padding: 0 14px; +} + +headerbar windowcontrols { + border-spacing: 6px; +} + +headerbar windowcontrols:not(.empty).start:dir(ltr), headerbar windowcontrols:not(.empty).end:dir(rtl) { + margin-right: 4px; +} + +headerbar windowcontrols:not(.empty).start:dir(rtl), headerbar windowcontrols:not(.empty).end:dir(ltr) { + margin-left: 4px; +} + +headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).maximize, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).minimize { + min-width: 12px; + min-height: 12px; + padding: 0; + margin: 0 2px; + color: transparent; + background-color: rgba(255, 255, 255, 0.3); +} + +headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close:hover, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close:backdrop:hover, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).maximize:hover, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).maximize:backdrop:hover, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).minimize:hover, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).minimize:backdrop:hover { + color: rgba(255, 255, 255, 0.7); +} + +headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close:active, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close:checked, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close:backdrop:active, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close:backdrop:checked, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).maximize:active, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).maximize:checked, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).maximize:backdrop:active, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).maximize:backdrop:checked, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).minimize:active, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).minimize:checked, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).minimize:backdrop:active, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).minimize:backdrop:checked { + color: #FFFFFF; +} + +headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close:backdrop, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).maximize:backdrop, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).minimize:backdrop { + color: transparent; + background-color: rgba(255, 255, 255, 0.12); +} + +headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close { + transition: background-size 0, background-image 0, box-shadow 100ms cubic-bezier(0, 0, 0.2, 1); +} + +headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close:hover { + padding: 2px; + margin: -2px 0; + background-color: #EF5350; + color: rgba(255, 255, 255, 0.7); + box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06); +} + +headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close:active, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close:checked { + padding: 2px; + margin: -2px 0; + background-color: #7C4DFF; + color: #FFFFFF; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1); +} + +emoji-completion-row:focus, +emoji-completion-row:hover, .view selection, .view:selected, iconview selection, iconview:selected, flowbox > flowboxchild:selected, gridview > child:selected, entry > text > selection, spinbutton > text > selection, spinbutton:not(.vertical) > text > selection, dropdown popover listview > row:selected, +combobox popover listview > row:selected, modelbutton.flat:selected, row:selected, columnview row:not(:selected) cell editablelabel.editing text selection, calendar > grid > label.today:selected, calendar > grid > label.day-number:selected, filechooser stack.view scrolledwindow treeview.view selection, filechooser stack.view scrolledwindow treeview.view:selected { + background-color: #5657f5; +} + +row:selected label, label:selected, emoji-completion-row:focus, +emoji-completion-row:hover, .view selection, .view:selected, iconview selection, iconview:selected, flowbox > flowboxchild:selected, gridview > child:selected, entry > text > selection, spinbutton > text > selection, spinbutton:not(.vertical) > text > selection, dropdown popover listview > row:selected, +combobox popover listview > row:selected, modelbutton.flat:selected, row:selected, columnview row:not(:selected) cell editablelabel.editing text selection, calendar > grid > label.today:selected, calendar > grid > label.day-number:selected, filechooser stack.view scrolledwindow treeview.view selection, filechooser stack.view scrolledwindow treeview.view:selected { + color: #FFFFFF; +} + +row:selected label:disabled, label:disabled:selected, emoji-completion-row:disabled:focus, +emoji-completion-row:disabled:hover, .view selection:disabled, .view:disabled:selected, iconview selection:disabled, iconview:disabled:selected, flowbox > flowboxchild:disabled:selected, gridview > child:disabled:selected, entry > text > selection:disabled, spinbutton > text > selection:disabled, modelbutton.flat:disabled:selected, row:disabled:selected, columnview row:not(:selected) cell editablelabel.editing text selection:disabled, calendar > grid > label.today:disabled:selected, calendar > grid > label.day-number:disabled:selected, filechooser stack.view scrolledwindow treeview.view selection:disabled { + color: rgba(255, 255, 255, 0.5); +} + +.monospace { + font-family: monospace; +} + +/********************** + * Touch Copy & Paste * + **********************/ +cursor-handle { + border-radius: 9999px; + background-color: #7C4DFF; + background-image: none; +} + +cursor-handle.top:dir(ltr), cursor-handle.bottom:dir(rtl) { + padding-left: 6px; + border-top-right-radius: 0; +} + +cursor-handle.bottom:dir(ltr), cursor-handle.top:dir(rtl) { + padding-right: 6px; + border-top-left-radius: 0; +} + +cursor-handle.insertion-cursor:dir(ltr), cursor-handle.insertion-cursor:dir(rtl) { + -gtk-icon-source: -gtk-scaled(url("assets/scale-horz-marks-before-slider-dark.png"), url("assets/scale-horz-marks-before-slider-dark@2.png")); +} + +shortcuts-section { + margin: 20px; +} + +.shortcuts-search-results { + margin: 20px; + border-spacing: 24px; +} + +.context-menu { + font: initial; +} + +shortcut > .keycap { + min-width: 12px; + min-height: 26px; + margin-top: 2px; + padding-bottom: 2px; + padding-left: 8px; + padding-right: 8px; + border: solid 1px rgba(255, 255, 255, 0.08); + border-radius: 5px; + box-shadow: inset 0 -2px rgba(255, 255, 255, 0.08); + background-color: #31313a; + color: #FFFFFF; + font-size: smaller; +} + +:not(decoration):not(window):drop(active) { + transition: all 225ms cubic-bezier(0, 0, 0.2, 1); + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1), inset 0 0 0 2px #7C4DFF; + caret-color: #7C4DFF; +} + +stackswitcher button.text-button { + min-width: 100px; +} + +stackswitcher button.circular, +stackswitcher button.text-button.circular { + min-width: 32px; + min-height: 32px; + padding: 0; +} + +.lowres-icon { + -gtk-icon-shadow: 0 -1px rgba(0, 0, 0, 0.05), 1px 0 rgba(0, 0, 0, 0.1), 0 1px rgba(0, 0, 0, 0.3), -1px 0 rgba(0, 0, 0, 0.1); +} + +.icon-dropshadow { + -gtk-icon-shadow: 0 1px 12px rgba(0, 0, 0, 0.05), 0 -1px rgba(0, 0, 0, 0.05), 1px 0 rgba(0, 0, 0, 0.1), 0 1px rgba(0, 0, 0, 0.3), -1px 0 rgba(0, 0, 0, 0.1); +} + +/********* + * Emoji * + *********/ +popover.emoji-picker > contents { + padding: 0; +} + +.emoji-searchbar { + padding: 4px; + border-spacing: 4px; + border-bottom: 1px solid rgba(255, 255, 255, 0.08); +} + +.emoji-toolbar { + padding: 4px; + border-spacing: 4px; + border-top: 1px solid rgba(255, 255, 255, 0.08); +} + +button.emoji-section { + margin-top: -1px; + padding: 0 8px; + min-width: 24px; + min-height: 32px; + border-radius: 0; + box-shadow: none; +} + +button.emoji-section:hover { + box-shadow: inset 0 2px rgba(255, 255, 255, 0.2); +} + +button.emoji-section:active { + box-shadow: inset 0 2px #5657f5; +} + +button.emoji-section:checked { + box-shadow: inset 0 2px #5657f5; + background-color: transparent; +} + +button.emoji-section:first-child { + margin-left: 4px; +} + +button.emoji-section:last-child { + margin-right: 4px; +} + +popover.emoji-picker emoji { + font-size: x-large; + padding: 4px; + border-radius: 4px; +} + +popover.emoji-picker emoji:focus, popover.emoji-picker emoji:hover { + background: #5657f5; +} + +emoji-completion-row > box { + border-spacing: 4px; + padding: 2px 4px; +} + +emoji-completion-row emoji:focus, +emoji-completion-row emoji:hover { + background: none; + box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.05); + border-radius: 3px; +} + +popover.entry-completion > contents { + padding: 0; +} + +statusbar { + padding: 4px 8px; +} + +/* GTK NAMED COLORS + ---------------- + use responsibly! */ +/* +widget text/foreground color */ +@define-color theme_fg_color #FFFFFF; +/* +text color for entries, views and content in general */ +@define-color theme_text_color currentColor; +/* +widget base background color */ +@define-color theme_bg_color #34343b; +/* +text widgets and the like base background color */ +@define-color theme_base_color #31313a; +/* +base background color of selections */ +@define-color theme_selected_bg_color #5657f5; +/* +text/foreground color of selections */ +@define-color theme_selected_fg_color #FFFFFF; +/* +base background color of insensitive widgets */ +@define-color insensitive_bg_color #34343b; +/* +text foreground color of insensitive widgets */ +@define-color insensitive_fg_color alpha(currentColor, 0.5); +/* +insensitive text widgets and the like base background color */ +@define-color insensitive_base_color #3b3b43; +/* +widget text/foreground color on backdrop windows */ +@define-color theme_unfocused_fg_color #FFFFFF; +/* +text color for entries, views and content in general on backdrop windows */ +@define-color theme_unfocused_text_color currentColor; +/* +widget base background color on backdrop windows */ +@define-color theme_unfocused_bg_color #34343b; +/* +text widgets and the like base background color on backdrop windows */ +@define-color theme_unfocused_base_color #31313a; +/* +base background color of selections on backdrop windows */ +@define-color theme_unfocused_selected_bg_color #5657f5; +/* +text/foreground color of selections on backdrop windows */ +@define-color theme_unfocused_selected_fg_color #FFFFFF; +/* +insensitive color on backdrop windows */ +@define-color unfocused_insensitive_color alpha(currentColor, 0.5); +/* +widgets main borders color */ +@define-color borders alpha(currentColor, 0.12); +/* +widgets main borders color on backdrop windows */ +@define-color unfocused_borders alpha(currentColor, 0.12); +/* +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 #31313a; +@define-color placeholder_text_color #c1c1c4; +/* Very contrasty background for text views (@theme_text_color foreground) */ +@define-color text_view_bg #232329; +@define-color budgie_tasklist_indicator_color #7C4DFF; +@define-color budgie_tasklist_indicator_color_active #7C4DFF; +@define-color budgie_tasklist_indicator_color_active_window rgba(90, 62, 174, 0.931); +@define-color budgie_tasklist_indicator_color_attention #FF6D00; +@define-color STRAWBERRY_100 #FF9262; +@define-color STRAWBERRY_300 #FF793E; +@define-color STRAWBERRY_500 #F15D22; +@define-color STRAWBERRY_700 #CF3B00; +@define-color STRAWBERRY_900 #AC1800; +@define-color ORANGE_100 #FFDB91; +@define-color ORANGE_300 #FFCA40; +@define-color ORANGE_500 #FAA41A; +@define-color ORANGE_700 #DE8800; +@define-color ORANGE_900 #C26C00; +@define-color BANANA_100 #FFFFA8; +@define-color BANANA_300 #FFFA7D; +@define-color BANANA_500 #FFCE51; +@define-color BANANA_700 #D1A023; +@define-color BANANA_900 #A27100; +@define-color LIME_100 #A2F3BE; +@define-color LIME_300 #8ADBA6; +@define-color LIME_500 #73C48F; +@define-color LIME_700 #479863; +@define-color LIME_900 #1C6D38; +@define-color BLUEBERRY_100 #94A6FF; +@define-color BLUEBERRY_300 #6A7CE0; +@define-color BLUEBERRY_500 #3F51B5; +@define-color BLUEBERRY_700 #213397; +@define-color BLUEBERRY_900 #031579; +@define-color GRAPE_100 #D25DE6; +@define-color GRAPE_300 #B84ACB; +@define-color GRAPE_500 #9C27B0; +@define-color GRAPE_700 #830E97; +@define-color GRAPE_900 #6A007E; +@define-color COCOA_100 #9F9792; +@define-color COCOA_300 #7B736E; +@define-color COCOA_500 #574F4A; +@define-color COCOA_700 #463E39; +@define-color COCOA_900 #342C27; +@define-color SILVER_100 #EEE; +@define-color SILVER_300 #CCC; +@define-color SILVER_500 #AAA; +@define-color SILVER_700 #888; +@define-color SILVER_900 #666; +@define-color SLATE_100 #888; +@define-color SLATE_300 #666; +@define-color SLATE_500 #444; +@define-color SLATE_700 #222; +@define-color SLATE_900 #111; +@define-color BLACK_100 #474341; +@define-color BLACK_300 #403C3A; +@define-color BLACK_500 #393634; +@define-color BLACK_700 #33302F; +@define-color BLACK_900 #2B2928; diff --git a/src/gtk/4.0/gtk-dark.scss b/src/gtk/4.0/gtk-dark.scss new file mode 100644 index 0000000..6f24bcf --- /dev/null +++ b/src/gtk/4.0/gtk-dark.scss @@ -0,0 +1,11 @@ +$variant: 'dark'; +$titlebar: 'dark'; +$compact: 'true'; +$solid: 'false'; + +@import '../../_sass/variables'; +@import '../../_sass/colors'; +@import '../../_sass/gtk/drawing-4.0'; +@import '../../_sass/gtk/common-4.0'; +@import '../../_sass/gtk/apps-4.0'; +@import '../../_sass/gtk/colors-public'; diff --git a/src/gtk/4.0/gtk-light-solid.css b/src/gtk/4.0/gtk-light-solid.css new file mode 100644 index 0000000..0521986 --- /dev/null +++ b/src/gtk/4.0/gtk-light-solid.css @@ -0,0 +1,4481 @@ +@keyframes ripple_effect { + to { + background-size: 1000% 1000%; + } +} + +@keyframes scale_ripple_effect { + to { + background-size: auto, 1000% 1000%; + } +} + +@keyframes header_ripple_effect { + from { + background-image: radial-gradient(circle, #5657f5 0%, transparent 0%); + } + to { + background-image: radial-gradient(circle, #5657f5 100%, transparent 0%); + } +} + +* { + padding: 0; + background-clip: padding-box; + -gtk-secondary-caret-color: #5657f5; +} + +/*************** + * Base States * + ***************/ +.background { + background-color: #f4f4f9; + color: rgba(0, 0, 0, 0.75); +} + +.background.csd { + border-radius: 13px; + background-color: #f4f4f9; +} + +.background.maximized, .background.tiled, .background.fullscreen, .background.solid-csd { + border-radius: 0; +} + +dnd { + color: rgba(0, 0, 0, 0.75); +} + +.normal-icons { + -gtk-icon-size: 16px; +} + +.large-icons { + -gtk-icon-size: 32px; +} + +spinner:disabled, +arrow:disabled, +scrollbar:disabled, +check:disabled, +radio:disabled, +treeview.expander:disabled { + -gtk-icon-filter: opacity(0.5); +} + +filechooser stack.view scrolledwindow treeview.view, iconview, .view { + background-color: #FFFFFF; + color: rgba(0, 0, 0, 0.75); +} + +filechooser stack.view scrolledwindow treeview.view:disabled, iconview:disabled, .view:disabled { + color: rgba(0, 0, 0, 0.38); +} + +textview > text { + background-color: #FFFFFF; +} + +textview > border { + background-color: #eaeaf4; + color: rgba(0, 0, 0, 0.38); +} + +textview:drop(active) { + caret-color: #FFA726; +} + +iconview { + border-radius: 5px; +} + +iconview > dndtarget:drop(active) { + border: none; +} + +rubberband, .content-view > rubberband, columnview.view > rubberband, +treeview.view > rubberband, gridview > rubberband, flowbox > rubberband { + border: 1px solid #5C6BC0; + background-color: rgba(92, 107, 192, 0.3); +} + +flowbox > flowboxchild { + padding: 4px; + border-radius: 7px; +} + +gridview > child { + padding: 3px; +} + +gridview > child box { + border-spacing: 8px; + margin: 12px; +} + +coverflow cover { + color: rgba(0, 0, 0, 0.75); + background-color: #FFFFFF; + border: none; +} + +label.separator { + color: rgba(0, 0, 0, 0.75); +} + +label > selection { + background-color: #5657f5; + color: #FFFFFF; +} + +.dim-label, headerbar .subtitle, spinbutton:not(.vertical) > text > placeholder, entry > text > placeholder, label.separator { + opacity: 0.6; +} + +window.assistant .sidebar { + padding: 4px 0; +} + +window.assistant.csd .sidebar { + border-top-style: none; +} + +window.assistant .sidebar label { + min-height: 32px; + padding: 0 12px; + color: rgba(0, 0, 0, 0.38); + font-weight: 500; +} + +window.assistant .sidebar label.highlight { + color: rgba(0, 0, 0, 0.75); +} + +window.aboutdialog image.large-icons { + -gtk-icon-size: 128px; +} + +.osd .scale-popup, .app-notification, popover.background.touch-selection, popover.background.magnifier, popover.background.osd, .osd { + color: rgba(255, 255, 255, 0.8); + border: none; + background-color: rgba(37, 37, 45, 0.85); + background-clip: padding-box; + border-radius: 8px; + padding: 6px; + margin: 6px; + box-shadow: 0 14px 14px rgba(0, 0, 0, 0.25), 0 10px 5px rgba(0, 0, 0, 0.22); +} + +/********************* + * Spinner Animation * + *********************/ +@keyframes spin { + to { + transform: rotate(1turn); + } +} + +spinner { + background: none; + opacity: 0; + -gtk-icon-source: -gtk-icontheme("process-working-symbolic"); +} + +spinner:checked { + opacity: 1; + animation: spin 1s linear infinite; +} + +spinner:checked:disabled { + opacity: 0.5; +} + +.large-title { + font-weight: 300; + font-size: 24pt; +} + +.title-1 { + font-weight: 800; + font-size: 20pt; +} + +.title-2 { + font-weight: 800; + font-size: 15pt; +} + +.title-3 { + font-weight: 700; + font-size: 15pt; +} + +.title-4 { + font-weight: 700; + font-size: 13pt; +} + +.heading { + font-weight: 700; + font-size: 11pt; +} + +.body { + font-weight: 400; + font-size: 11pt; +} + +.caption-heading { + font-weight: 700; + font-size: 9pt; +} + +.caption { + font-weight: 400; + font-size: 9pt; +} + +/**************** + * Text Entries * + ****************/ +spinbutton:not(.vertical), entry { + min-height: 32px; + padding: 0 8px; + border-radius: 7px; + transition: all 100ms cubic-bezier(0, 0, 0.2, 1); + border-image: none; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1); + background-color: #FFFFFF; + color: rgba(0, 0, 0, 0.75); +} + +spinbutton:focus-within:not(.vertical), entry:focus-within { + border-image: none; + box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06); +} + +spinbutton:disabled:not(.vertical), entry:disabled { + box-shadow: none; + background-color: #eaeaf4; + color: rgba(0, 0, 0, 0.38); +} + +colorchooser .popover.osd spinbutton:not(.vertical), window.dialog.message entry, notebook > stack:not(:only-child) entry:not(.search), +notebook > stack:not(:only-child) spinbutton:not(.vertical), popover.background .linked entry, popover.background entry, +popover.background spinbutton:not(.vertical), spinbutton.flat:not(.vertical), entry.flat { + border-radius: 0; + transition: all 100ms cubic-bezier(0, 0, 0.2, 1), box-shadow 225ms cubic-bezier(0, 0, 0.2, 1); + box-shadow: inset 0 -1px rgba(0, 0, 0, 0.2), inset 0 -2px transparent; + background-color: transparent; + color: rgba(0, 0, 0, 0.75); +} + +colorchooser .popover.osd spinbutton:focus-within:not(.vertical), window.dialog.message entry:focus-within, notebook > stack:not(:only-child) entry:focus-within:not(.search), +notebook > stack:not(:only-child) spinbutton:focus-within:not(.vertical), popover.background entry:focus-within, +popover.background spinbutton:focus-within:not(.vertical), spinbutton.flat:focus-within:not(.vertical), entry.flat:focus-within { + box-shadow: inset 0 -1px transparent, inset 0 -2px #5657f5; +} + +colorchooser .popover.osd spinbutton:disabled:not(.vertical), window.dialog.message entry:disabled, notebook > stack:not(:only-child) entry:disabled:not(.search), +notebook > stack:not(:only-child) spinbutton:disabled:not(.vertical), popover.background entry:disabled, +popover.background spinbutton:disabled:not(.vertical), spinbutton.flat:disabled:not(.vertical), entry.flat:disabled { + box-shadow: inset 0 -1px rgba(0, 0, 0, 0.08), inset 0 -2px transparent; + background-color: transparent; + color: rgba(0, 0, 0, 0.38); +} + +spinbutton:not(.vertical) image, entry image { + color: rgba(0, 0, 0, 0.55); +} + +spinbutton:not(.vertical) image:hover, spinbutton:not(.vertical) image:active, entry image:hover, entry image:active { + color: rgba(0, 0, 0, 0.75); +} + +spinbutton:not(.vertical) image:disabled, entry image:disabled { + color: rgba(0, 0, 0, 0.38); +} + +spinbutton:not(.vertical) image.left, entry image.left { + margin-left: 0px; + margin-right: 6px; +} + +spinbutton:not(.vertical) image.right, entry image.right { + margin-left: 6px; + margin-right: 0px; +} + +spinbutton:focus-within:not(.vertical) > placeholder, entry:focus-within > placeholder { + opacity: 0; +} + +spinbutton:not(.vertical) > text > block-cursor, entry > text > block-cursor { + color: #FFFFFF; + background-color: rgba(0, 0, 0, 0.75); +} + +spinbutton:not(.vertical) undershoot.left, entry undershoot.left { + background-color: transparent; + background-image: linear-gradient(to top, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.2) 50%); + padding-left: 1px; + background-size: 1px 12px; + background-repeat: repeat-y; + background-origin: content-box; + background-position: left top; +} + +spinbutton:not(.vertical) undershoot.right, entry undershoot.right { + background-color: transparent; + background-image: linear-gradient(to top, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.2) 50%); + padding-right: 1px; + background-size: 1px 12px; + background-repeat: repeat-y; + background-origin: content-box; + background-position: right top; +} + +spinbutton.password:not(.vertical) image.caps-lock-indicator, entry.password image.caps-lock-indicator { + color: rgba(0, 0, 0, 0.26); +} + +spinbutton.error:not(.vertical), entry.error { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1); + border-image: none; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1); + background-color: #DD2C00; + color: #FFFFFF; +} + +spinbutton.error:focus-within:not(.vertical), entry.error:focus-within { + border-image: none; + box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06); +} + +spinbutton.error:disabled:not(.vertical), entry.error:disabled { + box-shadow: none; + background-color: #eaeaf4; + color: rgba(0, 0, 0, 0.38); +} + +spinbutton.error.flat:not(.vertical), entry.error.flat { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1), box-shadow 225ms cubic-bezier(0, 0, 0.2, 1); + box-shadow: inset 0 -1px #DD2C00, inset 0 -2px transparent; + background-color: transparent; + color: rgba(0, 0, 0, 0.75); +} + +spinbutton.error.flat:focus-within:not(.vertical), entry.error.flat:focus-within { + box-shadow: inset 0 -1px transparent, inset 0 -2px #DD2C00; +} + +spinbutton.error.flat:disabled:not(.vertical), entry.error.flat:disabled { + box-shadow: inset 0 -1px rgba(0, 0, 0, 0.08), inset 0 -2px transparent; + background-color: transparent; + color: rgba(0, 0, 0, 0.38); +} + +spinbutton.error:not(.vertical) image, entry.error image { + color: rgba(255, 255, 255, 0.7); +} + +spinbutton.error:not(.vertical) image:hover, spinbutton.error:not(.vertical) image:active, entry.error image:hover, entry.error image:active { + color: #FFFFFF; +} + +spinbutton.error:not(.vertical) image:disabled, entry.error image:disabled { + color: rgba(255, 255, 255, 0.5); +} + +spinbutton.warning:not(.vertical), entry.warning { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1); + border-image: none; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1); + background-color: #FF6D00; + color: #FFFFFF; +} + +spinbutton.warning:focus-within:not(.vertical), entry.warning:focus-within { + border-image: none; + box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06); +} + +spinbutton.warning:disabled:not(.vertical), entry.warning:disabled { + box-shadow: none; + background-color: #eaeaf4; + color: rgba(0, 0, 0, 0.38); +} + +spinbutton.warning.flat:not(.vertical), entry.warning.flat { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1), box-shadow 225ms cubic-bezier(0, 0, 0.2, 1); + box-shadow: inset 0 -1px #FF6D00, inset 0 -2px transparent; + background-color: transparent; + color: rgba(0, 0, 0, 0.75); +} + +spinbutton.warning.flat:focus-within:not(.vertical), entry.warning.flat:focus-within { + box-shadow: inset 0 -1px transparent, inset 0 -2px #FF6D00; +} + +spinbutton.warning.flat:disabled:not(.vertical), entry.warning.flat:disabled { + box-shadow: inset 0 -1px rgba(0, 0, 0, 0.08), inset 0 -2px transparent; + background-color: transparent; + color: rgba(0, 0, 0, 0.38); +} + +spinbutton.warning:not(.vertical) image, entry.warning image { + color: rgba(255, 255, 255, 0.7); +} + +spinbutton.warning:not(.vertical) image:hover, spinbutton.warning:not(.vertical) image:active, entry.warning image:hover, entry.warning image:active { + color: #FFFFFF; +} + +spinbutton.warning:not(.vertical) image:disabled, entry.warning image:disabled { + color: rgba(255, 255, 255, 0.5); +} + +spinbutton:not(.vertical) > progress, entry > progress { + margin: 2px -6px; +} + +spinbutton:not(.vertical) progress > trough > progress, entry progress > trough > progress { + background-color: transparent; + background-image: none; + border-radius: 0; + border-bottom: 2px solid #5657f5; + box-shadow: none; +} + +.linked:not(.vertical) > spinbutton.flat:not(.vertical), .linked.vertical > spinbutton.flat:not(.vertical), .linked:not(.vertical) > entry.flat, .linked.vertical > entry.flat { + border-radius: 0; +} + +notebook > stack:not(:only-child) treeview entry:not(.search), +notebook > stack:not(:only-child) treeview spinbutton:not(.vertical), +treeview entry { + min-height: 0; + padding: 2px; + border-radius: 0; + background-color: #FFFFFF; +} + +notebook > stack:not(:only-child) treeview entry:not(.search), +notebook > stack:not(:only-child) treeview spinbutton:not(.vertical), +treeview entry { + border-image: none; + box-shadow: none; +} + +editablelabel > stack > text { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1); + border-image: none; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1); + background-color: #FFFFFF; + color: rgba(0, 0, 0, 0.75); +} + +.entry-tag { + margin: 2px; + border-radius: 9999px; + box-shadow: none; + background-color: #5657f5; + color: #FFFFFF; +} + +.entry-tag:hover { + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1); +} + +:dir(ltr) .entry-tag { + margin-left: 4px; + margin-right: 0; + padding-left: 12px; + padding-right: 8px; +} + +:dir(rtl) .entry-tag { + margin-left: 0; + margin-right: 4px; + padding-left: 8px; + padding-right: 12px; +} + +.entry-tag.button { + box-shadow: none; + background-color: transparent; +} + +.entry-tag.button:not(:hover):not(:active) { + color: rgba(255, 255, 255, 0.7); +} + +/*********** + * Buttons * + ***********/ +@keyframes needs_attention { + from { + background-image: radial-gradient(farthest-side, #5657f5 0%, rgba(86, 87, 245, 0) 0%); + } + to { + background-image: radial-gradient(farthest-side, #5657f5 95%, rgba(86, 87, 245, 0)); + } +} + + +button { + min-height: 24px; + min-width: 16px; + padding: 4px 8px; + border-radius: 7px; + font-weight: 500; + transition: 100ms; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1), inset 0 0 0 9999px transparent; + background-color: #FFFFFF; + color: rgba(0, 0, 0, 0.65); +} + + +button:hover { + box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06), inset 0 0 0 9999px transparent; + color: rgba(0, 0, 0, 0.75); +} + + +button:active { + box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06), inset 0 0 0 9999px alpha(currentColor, 0.15); + color: rgba(0, 0, 0, 0.75); +} + + +button:disabled { + box-shadow: none; + background-color: #eaeaf4; + color: rgba(0, 0, 0, 0.26); +} + + +button:checked { + background-color: #5657f5; + color: #FFFFFF; + background-image: linear-gradient(to bottom, #6C6AF2, #4648FB); + background-size: auto auto; + background-position: center center; + background-repeat: no-repeat; +} + + +button:checked:disabled { + background-color: rgba(86, 87, 245, 0.3); + color: rgba(86, 87, 245, 0.5); + background-image: none; +} + +placessidebar .navigation-sidebar > row button.sidebar-button, window.dialog.message.csd .linked.dialog-action-area:not(.vertical) > button, window.dialog.message .linked.dialog-action-area:not(.vertical) > button, check, +radio, scrollbar button, notebook > header > tabs > arrow, spinbutton.vertical button, spinbutton:not(.vertical) button, infobar.info button, infobar.question button, infobar.warning button, infobar.error button, .app-notification button, actionbar > revealer > box button:not(.suggested-action):not(.destructive-action):not(.server-list-button), modelbutton.flat, popover.menu box.circular-buttons button.circular.image-button.model, popover.menu box.inline-buttons button.image-button.model, +pathbar > button, +headerbar button:not(.suggested-action):not(.destructive-action), +toolbar button, .toolbar button, +button.flat { + transition: 100ms; + box-shadow: inset 0 0 0 9999px transparent; + background-color: transparent; + color: rgba(0, 0, 0, 0.55); +} + +placessidebar .navigation-sidebar > row button.sidebar-button:hover, window.dialog.message .linked:not(.vertical).dialog-action-area > button:hover, check:hover, +radio:hover, scrollbar button:hover, notebook > header > tabs > arrow:hover, spinbutton.vertical button:hover, spinbutton:not(.vertical) button:hover, infobar.info button:hover, infobar.question button:hover, infobar.warning button:hover, infobar.error button:hover, .app-notification button:hover, actionbar > revealer > box button:hover:not(.suggested-action):not(.destructive-action):not(.server-list-button), modelbutton.flat:hover, popover.menu box.circular-buttons button.circular.image-button.model:hover, popover.menu box.inline-buttons button.image-button.model:hover, +pathbar > button:hover, +headerbar button:hover:not(.suggested-action):not(.destructive-action), +toolbar button:hover, .toolbar button:hover, +button.flat:hover { + box-shadow: inset 0 0 0 9999px alpha(currentColor, 0.15); + color: rgba(0, 0, 0, 0.75); +} + +placessidebar .navigation-sidebar > row button.sidebar-button:active, window.dialog.message .linked:not(.vertical).dialog-action-area > button:active, check:active, +radio:active, scrollbar button:active, notebook > header > tabs > arrow:active, spinbutton.vertical button:active, spinbutton:not(.vertical) button:active, infobar.info button:active, infobar.question button:active, infobar.warning button:active, infobar.error button:active, .app-notification button:active, actionbar > revealer > box button:active:not(.suggested-action):not(.destructive-action):not(.server-list-button), modelbutton.flat:active, popover.menu box.circular-buttons button.circular.image-button.model:active, popover.menu box.inline-buttons button.image-button.model:active, +pathbar > button:active, +headerbar button:active:not(.suggested-action):not(.destructive-action), +toolbar button:active, .toolbar button:active, +button.flat:active { + box-shadow: inset 0 0 0 9999px alpha(currentColor, 0.3); + color: rgba(0, 0, 0, 0.75); +} + +placessidebar .navigation-sidebar > row button.sidebar-button:disabled, window.dialog.message .linked:not(.vertical).dialog-action-area > button:disabled, check:disabled, +radio:disabled, scrollbar button:disabled, notebook > header > tabs > arrow:disabled, spinbutton.vertical button:disabled, spinbutton:not(.vertical) button:disabled, infobar.info button:disabled, infobar.question button:disabled, infobar.warning button:disabled, infobar.error button:disabled, .app-notification button:disabled, actionbar > revealer > box button:disabled:not(.suggested-action):not(.destructive-action):not(.server-list-button), modelbutton.flat:disabled, popover.menu box.circular-buttons button.circular.image-button.model:disabled, popover.menu box.inline-buttons button.image-button.model:disabled, +pathbar > button:disabled, +headerbar button:disabled:not(.suggested-action):not(.destructive-action), +toolbar button:disabled, .toolbar button:disabled, +button.flat:disabled { + box-shadow: none; + background-color: transparent; + color: rgba(0, 0, 0, 0.26); +} + +infobar.info button:checked, infobar.question button:checked, infobar.warning button:checked, infobar.error button:checked, .app-notification button:checked, actionbar > revealer > box button:checked:not(.suggested-action):not(.destructive-action):not(.server-list-button), modelbutton.flat:checked, popover.menu box.circular-buttons button.circular.image-button.model:checked, popover.menu box.inline-buttons button.image-button.model:checked, +pathbar > button:checked, +headerbar button:checked:not(.suggested-action):not(.destructive-action), +toolbar button:checked, .toolbar button:checked, +button.flat:checked { + background-color: rgba(0, 0, 0, 0.2); + color: rgba(0, 0, 0, 0.75); +} + +infobar.info button:checked:disabled, infobar.question button:checked:disabled, infobar.warning button:checked:disabled, infobar.error button:checked:disabled, .app-notification button:checked:disabled, actionbar > revealer > box button:checked:disabled:not(.suggested-action):not(.destructive-action):not(.server-list-button), modelbutton.flat:checked:disabled, popover.menu box.circular-buttons button.circular.image-button.model:checked:disabled, popover.menu box.inline-buttons button.image-button.model:checked:disabled, +pathbar > button:checked:disabled, +headerbar button:checked:disabled:not(.suggested-action):not(.destructive-action), +toolbar button:checked:disabled, .toolbar button:checked:disabled, +button.flat:checked:disabled { + background-color: rgba(0, 0, 0, 0.08); + color: rgba(0, 0, 0, 0.38); +} + + +button.text-button { + padding-left: 16px; + padding-right: 16px; +} + + +button.image-button { + min-width: 24px; + padding: 4px; +} + + +button.text-button.image-button label:first-child { + margin-left: 12px; +} + + +button.text-button.image-button label:last-child { + margin-right: 12px; +} + + +button.text-button.image-button image:not(:only-child) { + margin: 0 4px; +} + +.linked > button.flat, .linked.vertical > button.flat { + border-radius: 7px; +} + +.linked > button.flat.image-button, .linked > button.flat.text-button.image-button, .linked.vertical > button.flat.image-button, .linked.vertical > button.flat.text-button.image-button { + border-radius: 7px; +} + +row:selected button:disabled { + background-color: rgba(255, 255, 255, 0.12); + color: rgba(255, 255, 255, 0.3); +} + +infobar.info button, infobar.question button, infobar.warning button, infobar.error button, row:selected button.flat { + color: rgba(255, 255, 255, 0.7); +} + +infobar.info button:hover, infobar.question button:hover, infobar.warning button:hover, infobar.error button:hover, infobar.info button:active, infobar.question button:active, infobar.warning button:active, infobar.error button:active, row:selected button.flat:hover, row:selected button.flat:active { + color: #FFFFFF; +} + +infobar.info button:disabled, infobar.question button:disabled, infobar.warning button:disabled, infobar.error button:disabled, row:selected button.flat:disabled { + color: rgba(255, 255, 255, 0.3); +} + +infobar.info button:checked, infobar.question button:checked, infobar.warning button:checked, infobar.error button:checked, row:selected button.flat:checked { + background-color: rgba(255, 255, 255, 0.3); + color: #FFFFFF; +} + +infobar.info button:checked:disabled, infobar.question button:checked:disabled, infobar.warning button:checked:disabled, infobar.error button:checked:disabled, row:selected button.flat:checked:disabled { + background-color: rgba(255, 255, 255, 0.12); + color: rgba(255, 255, 255, 0.5); +} + + +button.osd { + padding: 7px 11px; +} + + +button.osd.image-button { + padding: 7px; +} + + +button.osd:disabled { + opacity: 0; +} + + +button.suggested-action { + background-color: #7C4DFF; + color: #FFFFFF; + background-image: linear-gradient(to bottom, #4FC3F7, #42A5F5); + background-size: auto auto; + background-position: center center; + background-repeat: no-repeat; +} + + +button.suggested-action:disabled { + box-shadow: none; + background-color: #eaeaf4; + color: rgba(0, 0, 0, 0.38); + background-image: none; +} + + +button.suggested-action:checked { + background-color: #a382ff; +} + + +button.suggested-action.flat { + background-color: transparent; + color: #7C4DFF; + background-image: none; +} + + +button.suggested-action.flat:disabled { + box-shadow: none; + background-color: transparent; + color: rgba(0, 0, 0, 0.38); + background-image: none; +} + + +button.suggested-action.flat:checked { + background-image: none; + background-color: rgba(124, 77, 255, 0.3); +} + + +button.destructive-action { + background-color: #FF5252; + color: #FFFFFF; + background-image: linear-gradient(to bottom, #EF5350, #FF5252); + background-size: auto auto; + background-position: center center; + background-repeat: no-repeat; +} + + +button.destructive-action:disabled { + box-shadow: none; + background-color: #eaeaf4; + color: rgba(0, 0, 0, 0.38); + background-image: none; +} + + +button.destructive-action:checked { + background-color: #ff8686; +} + + +button.destructive-action.flat { + background-color: transparent; + color: #FF5252; + background-image: none; +} + + +button.destructive-action.flat:disabled { + box-shadow: none; + background-color: transparent; + color: rgba(0, 0, 0, 0.38); + background-image: none; +} + + +button.destructive-action.flat:checked { + background-image: none; + background-color: rgba(255, 82, 82, 0.3); +} + +stackswitcher > button { + outline-offset: -4px; +} + +stackswitcher > button > label { + padding-left: 6px; + padding-right: 6px; +} + +stackswitcher > button > image { + padding-left: 6px; + padding-right: 6px; + padding-top: 3px; + padding-bottom: 3px; +} + +stackswitcher > button.text-button { + padding-left: 10px; + padding-right: 10px; +} + +stackswitcher > button.image-button { + padding-left: 2px; + padding-right: 2px; +} + +stackswitcher > button.needs-attention:checked > label, +stackswitcher > button.needs-attention:checked > image { + animation: none; + background-image: none; +} + +.primary-toolbar button { + -gtk-icon-shadow: none; +} + +headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action), row button.image-button, check, +radio, popover.menu box.circular-buttons button.circular.image-button.model, headerbar.default-decoration windowcontrols button, headerbar button.suggested-action, headerbar button.destructive-action, +headerbar button:not(.suggested-action):not(.destructive-action), +button.close, +button.circular, +button.round-button { + border-radius: 9999px; +} + +placessidebar .navigation-sidebar > row button.sidebar-button, notebook > header tab button.flat, spinbutton:not(.vertical) button { + min-height: 20px; + min-width: 20px; + padding: 0; + border-radius: 9999px; +} + +stacksidebar row.needs-attention > label, stackswitcher > button.needs-attention > label, +stackswitcher > button.needs-attention > image { + animation: needs_attention 225ms cubic-bezier(0, 0, 0.2, 1) forwards; + background-repeat: no-repeat; + background-position: right 3px; + background-size: 6px 6px; +} + +stacksidebar row.needs-attention > label:dir(rtl), stackswitcher > button.needs-attention > label:dir(rtl), +stackswitcher > button.needs-attention > image:dir(rtl) { + background-position: left 3px; +} + +.linked:not(.vertical) > combobox > box > button.combo, row .linked button, .linked:not(.vertical) > spinbutton:not(.vertical), .linked:not(.vertical) > entry, .linked > button { + border-radius: 0; +} + +row .linked button:first-child, .linked:not(.vertical) > spinbutton:first-child:not(.vertical), .linked:not(.vertical) > entry:first-child, .linked > button:first-child { + border-top-left-radius: 7px; + border-bottom-left-radius: 7px; +} + +row .linked button:last-child, .linked:not(.vertical) > spinbutton:last-child:not(.vertical), .linked:not(.vertical) > entry:last-child, .linked > button:last-child { + border-top-right-radius: 7px; + border-bottom-right-radius: 7px; +} + +row .linked button:only-child, .linked:not(.vertical) > spinbutton:only-child:not(.vertical), .linked:not(.vertical) > entry:only-child, .linked > button:only-child { + border-radius: 7px; +} + +.linked.vertical > combobox > box > button.combo, .linked.vertical > spinbutton:not(.vertical), .linked.vertical > entry, .linked.vertical > button { + border-radius: 0; +} + +.linked.vertical > spinbutton:first-child:not(.vertical), .linked.vertical > entry:first-child, .linked.vertical > button:first-child { + border-top-left-radius: 7px; + border-top-right-radius: 7px; +} + +.linked.vertical > spinbutton:last-child:not(.vertical), .linked.vertical > entry:last-child, .linked.vertical > button:last-child { + border-bottom-left-radius: 7px; + border-bottom-right-radius: 7px; +} + +.linked.vertical > spinbutton:only-child:not(.vertical), .linked.vertical > entry:only-child, .linked.vertical > button:only-child { + border-radius: 7px; +} + +.toolbar button { + margin: 1px; +} + +button.color { + min-height: 20px; + min-width: 20px; + padding: 4px; +} + +button.color > colorswatch:only-child, button.color > colorswatch:only-child > overlay { + border-radius: 0; +} + +/********* + * Links * + *********/ +button.link, +link { + color: #5657f5; +} + +button.link:visited, +link:visited, +link:visited:hover, +link:visited:active { + color: #E040FB; +} + +infobar.info *:link, infobar.question *:link, infobar.warning *:link, infobar.error *:link, headerbar.selection-mode .subtitle:link, button.link:selected, *:selected button.link, +link:selected, *:selected link { + color: #FFFFFF; +} + +button.link > label { + text-decoration-line: underline; +} + +/***************** + * GtkSpinButton * + *****************/ +spinbutton { + font-feature-settings: "tnum"; +} + +spinbutton > text > block-cursor { + background-color: rgba(0, 0, 0, 0.75); + color: #FFFFFF; +} + +spinbutton:not(.vertical) { + padding: 0; +} + +notebook > stack:not(:only-child) spinbutton:not(.vertical) entry, notebook > stack:not(:only-child) spinbutton:not(.vertical) entry:focus, notebook > stack:not(:only-child) spinbutton:not(.vertical) entry:disabled, +spinbutton:not(.vertical) text { + min-width: 22px; + margin: 0; + padding-left: 12px; + border-image: none; + border-radius: 0; + box-shadow: none; + background-color: transparent; +} + +spinbutton:not(.vertical) button { + border: solid 6px transparent; +} + +spinbutton:not(.vertical) button.up:dir(ltr), spinbutton:not(.vertical) button.down:dir(rtl) { + margin-left: -3px; +} + +spinbutton:not(.vertical) button.up:dir(rtl), spinbutton:not(.vertical) button.down:dir(ltr) { + margin-right: -3px; +} + +spinbutton.vertical { + background-color: rgba(0, 0, 0, 0.08); + border-radius: 7px; +} + +spinbutton.vertical:disabled { + color: rgba(0, 0, 0, 0.38); +} + +spinbutton.vertical:drop(active) { + box-shadow: none; +} + +spinbutton.vertical text { + min-height: 32px; + min-width: 38px; + padding: 0; +} + +spinbutton.vertical button { + min-height: 32px; + min-width: 38px; + padding: 0; +} + +spinbutton.vertical button.up { + border-radius: 7px 7px 0 0; +} + +spinbutton.vertical button.down { + border-radius: 0 0 7px 7px; +} + +treeview spinbutton:not(.vertical) { + min-height: 0; + border-style: none; + border-radius: 0; +} + +treeview spinbutton:not(.vertical) text { + min-height: 0; + padding: 1px 2px; +} + +/************** + * ComboBoxes * + **************/ +dropdown > popover.menu.background > contents { + padding: 0; +} + +dropdown > button > box { + border-spacing: 6px; +} + +dropdown arrow, +combobox arrow { + -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); + min-height: 16px; + min-width: 16px; +} + +dropdown > popover.menu > contents modelbutton, +combobox > popover.menu > contents modelbutton { + padding-left: 10px; + padding-right: 10px; +} + +dropdown button.combo:checked, +combobox button.combo:checked { + transition: none; +} + +dropdown button.combo cellview:dir(ltr), +combobox button.combo cellview:dir(ltr) { + margin-left: 0px; +} + +dropdown button.combo cellview:dir(rtl), +combobox button.combo cellview:dir(rtl) { + margin-right: 0px; +} + +dropdown.linked button:nth-child(2):dir(ltr), +combobox.linked button:nth-child(2):dir(ltr) { + border-top-left-radius: 7px; + border-bottom-left-radius: 7px; +} + +dropdown.linked button:nth-child(2):dir(rtl), +combobox.linked button:nth-child(2):dir(rtl) { + border-top-right-radius: 7px; + border-bottom-right-radius: 7px; +} + +dropdown:drop(active), +combobox:drop(active) { + box-shadow: none; +} + +dropdown popover, +combobox popover { + margin-top: 6px; + padding: 0; +} + +dropdown popover listview, +combobox popover listview { + margin: 6px 0; +} + +dropdown popover listview > row, +combobox popover listview > row { + padding: 6px; +} + +dropdown popover .dropdown-searchbar, +combobox popover .dropdown-searchbar { + padding: 6px; + border-bottom: 1px solid rgba(0, 0, 0, 0.08); +} + +.linked:not(.vertical) > combobox:first-child > box > button.combo { + border-top-left-radius: 7px; + border-bottom-left-radius: 7px; +} + +.linked:not(.vertical) > combobox:last-child > box > button.combo { + border-bottom-right-radius: 7px; + border-top-right-radius: 7px; +} + +.linked:not(.vertical) > combobox:only-child > box > button.combo { + border-radius: 7px; +} + +.linked.vertical > combobox:first-child > box > button.combo { + border-top-left-radius: 7px; + border-top-right-radius: 7px; +} + +.linked.vertical > combobox:last-child > box > button.combo { + border-bottom-left-radius: 7px; + border-bottom-right-radius: 7px; +} + +.linked.vertical > combobox:only-child > box > button.combo { + border-radius: 7px; +} + +notebook > stack:not(:only-child) button.combo, popover.background button.combo { + border-radius: 0; + background-image: none; + font-weight: inherit; + transition: all 100ms cubic-bezier(0, 0, 0.2, 1), box-shadow 225ms cubic-bezier(0, 0, 0.2, 1); + box-shadow: inset 0 -1px rgba(0, 0, 0, 0.2), inset 0 -2px transparent; + background-color: transparent; + color: rgba(0, 0, 0, 0.75); +} + +notebook > stack:not(:only-child) button.combo:hover, popover.background button.combo:hover { + box-shadow: inset 0 -2px rgba(0, 0, 0, 0.38); +} + +notebook > stack:not(:only-child) button.combo:checked, popover.background button.combo:checked { + box-shadow: inset 0 -2px #5657f5; +} + +notebook > stack:not(:only-child) button.combo:disabled, popover.background button.combo:disabled { + box-shadow: inset 0 -1px rgba(0, 0, 0, 0.08); + color: rgba(0, 0, 0, 0.38); +} + +/************ + * Toolbars * + ************/ +.toolbar, +toolbar { + padding: 2px; + background-color: #f4f4f9; +} + +.osd .toolbar, .osd toolbar { + background-color: transparent; +} + +.app-notification, .toolbar.osd, +toolbar.osd { + transition: box-shadow 100ms cubic-bezier(0, 0, 0.2, 1); + padding: 4px; + border-radius: 7px; + box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06), inset 0 1px rgba(255, 255, 255, 0.4); + background-color: #FFFFFF; +} + +.app-notification:backdrop, .toolbar.osd:backdrop, +toolbar.osd:backdrop { + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1), inset 0 1px rgba(255, 255, 255, 0.4); +} + +.left.app-notification, .right.app-notification, .top.app-notification, .bottom.app-notification, .toolbar.osd.left, .toolbar.osd.right, .toolbar.osd.top, .toolbar.osd.bottom, +toolbar.osd.left, +toolbar.osd.right, +toolbar.osd.top, +toolbar.osd.bottom { + border-radius: 0; +} + +.toolbar.horizontal > separator, +toolbar.horizontal > separator { + margin: 2px; +} + +.toolbar.vertical > separator, +toolbar.vertical > separator { + margin: 2px; +} + +.toolbar:not(.inline-toolbar):not(.osd) scale, +.toolbar:not(.inline-toolbar):not(.osd) entry, +.toolbar:not(.inline-toolbar):not(.osd) spinbutton, +.toolbar:not(.inline-toolbar):not(.osd) button, +toolbar:not(.inline-toolbar):not(.osd) scale, +toolbar:not(.inline-toolbar):not(.osd) entry, +toolbar:not(.inline-toolbar):not(.osd) spinbutton, +toolbar:not(.inline-toolbar):not(.osd) button { + margin: 2px; +} + +.toolbar:not(.inline-toolbar):not(.osd) .linked entry:not(:first-child), +.toolbar:not(.inline-toolbar):not(.osd) .linked spinbutton:not(:first-child), +.toolbar:not(.inline-toolbar):not(.osd) .linked button:not(:first-child), +toolbar:not(.inline-toolbar):not(.osd) .linked entry:not(:first-child), +toolbar:not(.inline-toolbar):not(.osd) .linked spinbutton:not(:first-child), +toolbar:not(.inline-toolbar):not(.osd) .linked button:not(:first-child) { + margin-left: 0; +} + +.toolbar:not(.inline-toolbar):not(.osd) .linked entry:not(:last-child), +.toolbar:not(.inline-toolbar):not(.osd) .linked spinbutton:not(:last-child), +.toolbar:not(.inline-toolbar):not(.osd) .linked button:not(:last-child), +toolbar:not(.inline-toolbar):not(.osd) .linked entry:not(:last-child), +toolbar:not(.inline-toolbar):not(.osd) .linked spinbutton:not(:last-child), +toolbar:not(.inline-toolbar):not(.osd) .linked button:not(:last-child) { + margin-right: 0; +} + +.toolbar:not(.inline-toolbar):not(.osd) spinbutton entry, +.toolbar:not(.inline-toolbar):not(.osd) spinbutton button, +toolbar:not(.inline-toolbar):not(.osd) spinbutton entry, +toolbar:not(.inline-toolbar):not(.osd) spinbutton button { + margin: 0; +} + +.toolbar:not(.inline-toolbar):not(.osd) switch, +toolbar:not(.inline-toolbar):not(.osd) switch { + margin: 6px 2px; +} + +searchbar > revealer > box { + border-spacing: 4px; + padding: 4px; + border-style: solid; + border-width: 0 0 1px; + border-color: rgba(0, 0, 0, 0.08); + background-color: #f4f4f9; + background-clip: border-box; +} + +actionbar { + border-radius: 0 0 13px 13px; +} + +/*************** + * Header bars * + ***************/ +headerbar .linked.path-bar:not(.vertical) > button, +headerbar stackswitcher.linked:not(.vertical) > button, headerbar.windowhandle viewswitcher button:not(.titlebutton):not(.suggested-action):not(.destructive-action) { + padding-left: 8px; + padding-right: 8px; + background-color: transparent; + box-shadow: none; +} + +headerbar .linked.path-bar:not(.vertical) > button label, +headerbar stackswitcher.linked:not(.vertical) > button label, headerbar.windowhandle viewswitcher button:not(.titlebutton):not(.suggested-action):not(.destructive-action) label { + padding-left: 8px; + padding-right: 8px; +} + +headerbar .linked:not(.vertical).path-bar > button:hover, +headerbar stackswitcher.linked:not(.vertical) > button:hover, headerbar.windowhandle viewswitcher button:hover:not(.titlebutton):not(.suggested-action):not(.destructive-action) { + color: rgba(0, 0, 0, 0.75); + background-color: alpha(currentColor, 0.15); + box-shadow: inset 0 -2px transparent; +} + +headerbar .linked:not(.vertical).path-bar > button:active, +headerbar stackswitcher.linked:not(.vertical) > button:active, headerbar.windowhandle viewswitcher button:active:not(.titlebutton):not(.suggested-action):not(.destructive-action) { + color: rgba(0, 0, 0, 0.75); + background-color: alpha(currentColor, 0.3); + box-shadow: inset 0 -2px transparent; +} + +headerbar .linked:not(.vertical).path-bar > button:checked, +headerbar stackswitcher.linked:not(.vertical) > button:checked, headerbar.windowhandle viewswitcher button:checked:not(.titlebutton):not(.suggested-action):not(.destructive-action) { + border-radius: 0; + color: rgba(0, 0, 0, 0.75); + background-color: transparent; + box-shadow: inset 0 -2px #5657f5; + background-image: none; +} + +headerbar .linked:not(.vertical).path-bar > button:checked:backdrop, +headerbar stackswitcher.linked:not(.vertical) > button:checked:backdrop, headerbar.windowhandle viewswitcher button:checked:backdrop:not(.titlebutton):not(.suggested-action):not(.destructive-action), headerbar .linked:not(.vertical).path-bar > button:active:backdrop, +headerbar stackswitcher.linked:not(.vertical) > button:active:backdrop, headerbar.windowhandle viewswitcher button:active:backdrop:not(.titlebutton):not(.suggested-action):not(.destructive-action) { + color: rgba(0, 0, 0, 0.54); + box-shadow: inset 0 -2px rgba(0, 0, 0, 0.38); +} + +headerbar .linked:not(.vertical).path-bar > button.text-button.image-button label, +headerbar stackswitcher.linked:not(.vertical) > button.text-button.image-button label, headerbar.windowhandle viewswitcher button.text-button.image-button:not(.titlebutton):not(.suggested-action):not(.destructive-action) label { + padding-left: 0; + padding-right: 0; +} + +headerbar .linked:not(.vertical).path-bar > button.text-button.image-button image, +headerbar stackswitcher.linked:not(.vertical) > button.text-button.image-button image, headerbar.windowhandle viewswitcher button.text-button.image-button:not(.titlebutton):not(.suggested-action):not(.destructive-action) image { + padding-left: 0; + padding-right: 0; +} + +headerbar { + transition: background-color 100ms cubic-bezier(0, 0, 0.2, 1), color 100ms cubic-bezier(0, 0, 0.2, 1); + min-height: 38px; + padding: 0 4px; + box-shadow: inset 0 1px rgba(255, 255, 255, 0), inset 0 -1px rgba(0, 0, 0, 0.08); + background-color: #FFFFFF; + color: rgba(0, 0, 0, 0.75); +} + +headerbar:disabled :not(button) > label { + color: rgba(0, 0, 0, 0.38); +} + +headerbar:backdrop { + color: rgba(0, 0, 0, 0.54); +} + +headerbar:backdrop:disabled :not(button) > label { + color: rgba(0, 0, 0, 0.26); +} + +headerbar .title { + padding: 0 12px; + font-weight: bold; +} + +headerbar .subtitle { + padding: 0 12px; + font-size: smaller; +} + +headerbar entry { + background-color: #FFFFFF; +} + +headerbar entry:focus { + background-color: white; +} + +headerbar .linked:not(.vertical) > entry:not(.flat) { + border-radius: 7px; +} + +headerbar .linked:not(.vertical) > button { + border-radius: 7px; +} + + +headerbar button:not(.suggested-action):not(.destructive-action) { + border-image: none; + color: rgba(0, 0, 0, 0.54); +} + + +headerbar button:not(.suggested-action):not(.destructive-action):hover, +headerbar button:not(.suggested-action):not(.destructive-action):active { + color: rgba(0, 0, 0, 0.75); +} + + +headerbar button:not(.suggested-action):not(.destructive-action):disabled { + color: rgba(0, 0, 0, 0.26); +} + + +headerbar button:not(.suggested-action):not(.destructive-action):checked { + border-image: none; + background-color: #5657f5; + color: #FFFFFF; + background-image: linear-gradient(to bottom, #6C6AF2, #4648FB); + background-size: auto auto; + background-position: center center; + background-repeat: no-repeat; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.1), 0 2px 3px rgba(0, 0, 0, 0.08); +} + + +headerbar button:not(.suggested-action):not(.destructive-action):checked:disabled { + color: rgba(255, 255, 255, 0.5); + background-color: rgba(86, 87, 245, 0.5); +} + + +headerbar button:not(.suggested-action):not(.destructive-action):backdrop { + color: rgba(0, 0, 0, 0.38); +} + + +headerbar button:not(.suggested-action):not(.destructive-action):backdrop:hover, +headerbar button:not(.suggested-action):not(.destructive-action):backdrop:active { + color: rgba(0, 0, 0, 0.54); +} + + +headerbar button:not(.suggested-action):not(.destructive-action):backdrop:disabled { + color: rgba(0, 0, 0, 0.26); +} + + +headerbar button:not(.suggested-action):not(.destructive-action):backdrop:checked { + background-image: none; + color: rgba(255, 255, 255, 0.7); +} + + +headerbar button:not(.suggested-action):not(.destructive-action):backdrop:checked:disabled { + color: rgba(255, 255, 255, 0.3); +} + +headerbar button.suggested-action:disabled, headerbar button.destructive-action:disabled { + background-color: rgba(0, 0, 0, 0.12); + color: rgba(0, 0, 0, 0.38); +} + +headerbar entry, +headerbar spinbutton, +headerbar separator:not(.sidebar), +headerbar button, +headerbar menubutton { + margin-top: 4px; + margin-bottom: 4px; +} + +headerbar menubutton > button { + margin-top: 0px; + margin-bottom: 0px; +} + +headerbar > windowhandle > box, +headerbar > windowhandle > box > box.start, +headerbar > windowhandle > box > box.end { + border-spacing: 4px; +} + +headerbar switch { + margin-top: 8px; + margin-bottom: 8px; +} + +headerbar spinbutton button { + margin-top: 0; + margin-bottom: 0; +} + +.csd headerbar, headerbar.titlebar, .titlebar headerbar, .solid-csd headerbar, box headerbar:only-child { + box-shadow: inset 0 1px rgba(255, 255, 255, 0), inset 0 -1px rgba(0, 0, 0, 0.08); +} + +headerbar.titlebar.default-decoration, .csd headerbar.titlebar.default-decoration { + box-shadow: inset 0 1px rgba(255, 255, 255, 0); +} + +box headerbar:not(:only-child):first-child, box headerbar:not(:only-child):last-child { + border-left-color: #FFFFFF; + border-right-color: #FFFFFF; +} + +headerbar.selection-mode { + transition: background-color 0.00001s 225ms, color 225ms cubic-bezier(0, 0, 0.2, 1); + animation: header_ripple_effect 225ms cubic-bezier(0, 0, 0.2, 1); + box-shadow: inset 0 1px rgba(255, 255, 255, 0.2), inset 0 -1px rgba(0, 0, 0, 0.08); + background-color: #5657f5; + color: #FFFFFF; +} + +headerbar.selection-mode:backdrop { + color: rgba(255, 255, 255, 0.7); +} + +headerbar.selection-mode button:not(.suggested-action):not(.destructive-action) { + border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), currentColor 0%, transparent 0%) 0 0 0/0 0 0; + color: #FFFFFF; +} + +headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):disabled { + color: rgba(255, 255, 255, 0.5); +} + +headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):hover { + color: #FFFFFF; +} + +headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):checked { + border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), currentColor 100%, transparent 0%) 0 0 2/0 0 2px; + color: #FFFFFF; +} + +headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):checked:disabled { + color: rgba(255, 255, 255, 0.5); +} + +headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):backdrop { + color: rgba(255, 255, 255, 0.7); +} + +headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):backdrop:disabled { + color: rgba(255, 255, 255, 0.3); +} + +headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):backdrop:checked { + color: rgba(255, 255, 255, 0.7); +} + +headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):backdrop:checked:disabled { + color: rgba(255, 255, 255, 0.3); +} + +headerbar.selection-mode .selection-menu { + padding-left: 16px; + padding-right: 16px; +} + +headerbar.selection-mode .selection-menu .arrow { + -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); +} + +headerbar.windowhandle viewswitcher button:not(.titlebutton):not(.suggested-action):not(.destructive-action) { + margin-top: 0; + margin-bottom: 0; +} + +.tiled headerbar, .tiled-top headerbar, .tiled-right headerbar, .tiled-bottom headerbar, .tiled-left headerbar, .maximized headerbar, .fullscreen headerbar { + border-radius: 0; +} + +headerbar.default-decoration { + min-height: 20px; + padding: 4px 12px; + box-shadow: inset 0 1px rgba(255, 255, 255, 0); +} + +.tiled headerbar.default-decoration, .maximized headerbar.default-decoration, .fullscreen headerbar.default-decoration { + box-shadow: none; +} + +headerbar.default-decoration windowcontrols button { + min-height: 16px; + min-width: 16px; + margin: 0 2px; + padding: 0; +} + +.solid-csd headerbar:dir(rtl), .solid-csd headerbar:dir(ltr) { + border-radius: 0; + box-shadow: inset 0 1px rgba(255, 255, 255, 0); +} + +.titlebar { + border-radius: 13px 13px 0 0; +} + +.background.tiled .titlebar, +.background.tiled-top .titlebar, +.background.tiled-right .titlebar, +.background.tiled-bottom .titlebar, +.background.tiled-left .titlebar, +.background.maximized .titlebar, +.background.solid-csd .titlebar { + border-top-left-radius: 0; + border-top-right-radius: 0; + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; +} + +window separator:first-child + headerbar, window headerbar:first-child { + border-top-left-radius: 13px; +} + +window headerbar:last-child { + border-top-right-radius: 13px; +} + +window stack headerbar:first-child, window stack headerbar:last-child { + border-top-left-radius: 13px; + border-top-right-radius: 13px; + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; +} + +window.tiled headerbar, window.tiled headerbar:first-child, window.tiled headerbar:last-child, window.tiled headerbar:only-child, window.tiled-top headerbar, window.tiled-top headerbar:first-child, window.tiled-top headerbar:last-child, window.tiled-top headerbar:only-child, window.tiled-right headerbar, window.tiled-right headerbar:first-child, window.tiled-right headerbar:last-child, window.tiled-right headerbar:only-child, window.tiled-bottom headerbar, window.tiled-bottom headerbar:first-child, window.tiled-bottom headerbar:last-child, window.tiled-bottom headerbar:only-child, window.tiled-left headerbar, window.tiled-left headerbar:first-child, window.tiled-left headerbar:last-child, window.tiled-left headerbar:only-child, window.maximized headerbar, window.maximized headerbar:first-child, window.maximized headerbar:last-child, window.maximized headerbar:only-child, window.fullscreen headerbar, window.fullscreen headerbar:first-child, window.fullscreen headerbar:last-child, window.fullscreen headerbar:only-child, window.solid-csd headerbar, window.solid-csd headerbar:first-child, window.solid-csd headerbar:last-child, window.solid-csd headerbar:only-child { + border-top-left-radius: 0; + border-top-right-radius: 0; + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; +} + +headerbar separator.titlebutton { + min-width: 0; + min-height: 0; + background-color: transparent; + border: none; +} + +window.csd > .titlebar:not(headerbar) { + padding: 0; + background-color: transparent; + background-image: none; + border: none; + box-shadow: none; +} + +.titlebar:not(headerbar) > separator { + background-color: #FFFFFF; +} + +window.devel headerbar.titlebar { + background: #f4f4f9 cross-fade(10% -gtk-icontheme("system-run-symbolic"), image(transparent)) 90% 0/256px 256px no-repeat, linear-gradient(to right, transparent 65%, rgba(86, 87, 245, 0.2)), linear-gradient(to top, #c9c9e2, #d3d3e7 3px, #e7e7f2); +} + +window.devel headerbar.titlebar:backdrop { + background: #f4f4f9 cross-fade(10% -gtk-icontheme("system-run-symbolic"), image(transparent)) 90% 0/256px 256px no-repeat, image(#f4f4f9); + /* background-color would flash */ +} + +/************ + * Pathbars * + ************/ + +pathbar > button { + padding-left: 4px; + padding-right: 4px; +} + + +pathbar > button label:not(:only-child):first-child { + margin-left: 4px; + padding-left: 8px; +} + + +pathbar > button label:not(:only-child):last-child { + margin-right: 4px; + padding-right: 8px; +} + + +pathbar > button.slider-button { + padding-left: 4px; + padding-right: 4px; +} + + +pathbar > button { + border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), #5657f5 0%, transparent 0%) 0 0 0/0 0 0px; + border-radius: 7px; +} + + +pathbar > button:checked { + border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), #5657f5 100%, transparent 0%) 0 0 2/0 0 2px; +} + + +pathbar > button:checked, +pathbar > button:checked:disabled { + background-color: transparent; +} + +/************** + * Tree Views * + **************/ +columnview.view, +treeview.view { + border-left-color: #dadaeb; + border-top-color: #dadaeb; +} + +columnview.view:selected, +treeview.view:selected { + border-left-color: rgba(255, 255, 255, 0.3); +} + +columnview.view:hover, columnview.view:active, columnview.view:selected, +treeview.view:hover, +treeview.view:active, +treeview.view:selected { + border-radius: 0; +} + +columnview.view.separator, +treeview.view.separator { + min-height: 5px; + color: rgba(0, 0, 0, 0.08); +} + +columnview.view > dndtarget:drop(active), +treeview.view > dndtarget:drop(active) { + border-style: solid none; + border-width: 1px; + border-color: #7C4DFF; +} + +columnview.view > dndtarget:drop(active).after, +treeview.view > dndtarget:drop(active).after { + border-top-style: none; +} + +columnview.view > dndtarget:drop(active).before, +treeview.view > dndtarget:drop(active).before { + border-bottom-style: none; +} + +columnview.view.expander, +treeview.view.expander { + -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); + -gtk-icon-transform: rotate(-90deg); + color: rgba(0, 0, 0, 0.55); +} + +columnview.view.expander:dir(rtl), +treeview.view.expander:dir(rtl) { + -gtk-icon-transform: rotate(90deg); +} + +columnview.view.expander:checked, +treeview.view.expander:checked { + -gtk-icon-transform: unset; +} + +columnview.view.expander:hover, columnview.view.expander:active, +treeview.view.expander:hover, +treeview.view.expander:active { + color: rgba(0, 0, 0, 0.75); +} + +columnview.view.expander:disabled, +treeview.view.expander:disabled { + color: rgba(0, 0, 0, 0.26); +} + +columnview.view.expander:selected, +treeview.view.expander:selected { + color: rgba(255, 255, 255, 0.7); +} + +columnview.view.expander:selected:hover, columnview.view.expander:selected:active, +treeview.view.expander:selected:hover, +treeview.view.expander:selected:active { + color: #FFFFFF; +} + +columnview.view.expander:selected:disabled, +treeview.view.expander:selected:disabled { + color: rgba(255, 255, 255, 0.3); +} + +columnview.view.progressbar, +treeview.view.progressbar { + border-bottom: 4px solid #5657f5; + box-shadow: none; + background-color: transparent; +} + +columnview.view.progressbar:selected, +treeview.view.progressbar:selected { + border-bottom-color: #FFFFFF; +} + +columnview.view.trough, +treeview.view.trough { + border-bottom: 4px solid rgba(86, 87, 245, 0.3); + box-shadow: none; + background-color: transparent; +} + +columnview.view.trough:selected, +treeview.view.trough:selected { + border-bottom-color: rgba(255, 255, 255, 0.3); +} + +columnview.view > header > button, +treeview.view > header > button { + padding: 2px 6px; + border-style: none solid solid none; + border-width: 1px; + border-color: rgba(0, 0, 0, 0.08); + border-radius: 0; + background-clip: border-box; +} + +columnview.view > header > button, columnview.view > header > button:hover, columnview.view > header > button:active, +treeview.view > header > button, +treeview.view > header > button:hover, +treeview.view > header > button:active { + box-shadow: none; +} + +columnview.view > header > button, columnview.view > header > button:disabled, +treeview.view > header > button, +treeview.view > header > button:disabled { + background-color: #FFFFFF; +} + +columnview.view > header > button:last-child, +treeview.view > header > button:last-child { + border-right-style: none; +} + +columnview.view button.dnd, +columnview.view header.button.dnd, +treeview.view button.dnd, +treeview.view header.button.dnd { + padding: 2px 6px; + border-style: none solid solid; + border-width: 1px; + border-color: rgba(0, 0, 0, 0.08); + border-radius: 0; + box-shadow: none; + background-color: #FFFFFF; + background-clip: border-box; + color: #5657f5; +} + +columnview.view acceleditor > label, +treeview.view acceleditor > label { + background-color: #5657f5; +} + +/********* + * Menus * + *********/ +menubar { + padding: 0; + box-shadow: inset 0 -1px rgba(0, 0, 0, 0.08); + background-color: #FFFFFF; + color: rgba(0, 0, 0, 0.54); +} + +menubar > item { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1); + min-height: 20px; + padding: 4px 8px; + color: rgba(0, 0, 0, 0.54); +} + +menubar > item:hover { + transition: none; + color: rgba(0, 0, 0, 0.75); + box-shadow: inset 0 -3px #5657f5; +} + +menubar > item:disabled { + color: rgba(0, 0, 0, 0.26); +} + +menubar > item label:disabled { + color: inherit; +} + +menubar > item popover.menu.background > contents { + padding: 4px; +} + +menubar > item popover.menu popover.menu { + padding: 0 0 4px 0; +} + +menubar > item popover.menu.background popover.menu.background > contents { + margin: 0; + border-radius: 8px; +} + +popover.menu { + padding: 0; +} + +popover.menu > arrow, popover.menu.background > contents { + padding: 4px; + background-color: #FFFFFF; + border: none; + border-radius: 8px; + color: rgba(0, 0, 0, 0.54); +} + +popover.menu.background separator { + margin: 4px 0; +} + +popover.menu box.inline-buttons { + padding: 0 4px; +} + +popover.menu box.inline-buttons button.image-button.model { + min-height: 28px; + min-width: 28px; + padding: 0; + border: none; + outline: none; +} + +popover.menu box.circular-buttons button.circular.image-button.model { + padding: 4px; + min-height: 28px; + min-width: 28px; +} + +popover.menu modelbutton { + min-height: 20px; + min-width: 40px; + padding: 4px 8px; + border-radius: 5px; +} + +popover.menu modelbutton:selected { + color: #5C6BC0; + background-color: rgba(92, 107, 192, 0.1); +} + +popover.menu modelbutton:selected:active { + color: #5C6BC0; + background-color: rgba(92, 107, 192, 0.12); +} + +popover.menu modelbutton:focus { + transition: none; +} + +popover.menu arrow.left, +popover.menu radio.left, +popover.menu check.left { + margin-left: -2px; + margin-right: 4px; +} + +popover.menu arrow.right, +popover.menu radio.right, +popover.menu check.right { + margin-left: 4px; + margin-right: -2px; +} + +popover.menu label.title { + font-weight: bold; + padding: 4px 32px; +} + +/************ + * Popovers * + ************/ +popover.background { + background-color: transparent; + font: initial; +} + +popover.background > arrow, +popover.background > contents { + transition: box-shadow 100ms cubic-bezier(0, 0, 0.2, 1); + padding: 0; + box-shadow: 0 14px 14px rgba(0, 0, 0, 0.25), 0 10px 5px rgba(0, 0, 0, 0.22); + background-color: #FFFFFF; + color: rgba(0, 0, 0, 0.55); + border: none; +} + +popover.background > arrow:disabled, +popover.background > contents:disabled { + color: rgba(0, 0, 0, 0.26); +} + +popover.background:backdrop { + background-color: transparent; +} + +popover.background:backdrop > arrow, +popover.background:backdrop > contents { + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1); +} + +popover.background > contents { + padding: 6px; + border-radius: 8px; +} + +popover.background > contents > list, +popover.background > contents > .view, +popover.background > contents > toolbar { + border-style: none; + background-color: transparent; + box-shadow: none; +} + +popover.background > contents separator { + margin: 3px; +} + +popover.background > contents list separator { + margin: 0; +} + +.linked > popover.background button { + border-radius: 7px; +} + +.linked > popover.background button:first-child { + border-radius: 7px; +} + +.linked > popover.background button:last-child { + border-radius: 7px; +} + +.linked > popover.background button:only-child { + border-radius: 7px; +} + +popover.background.menu button, popover.background button.model { + border-radius: 7px; +} + +popover.background checkbutton.text-button, +popover.background radiobutton.text-button { + outline-style: none; +} + +popover.background separator { + margin: 4px 0; +} + +popover.background list separator { + margin: 0; +} + +popover.background label.separator { + color: rgba(0, 0, 0, 0.38); +} + +/* menu buttons */ +modelbutton.flat { + min-height: 28px; + padding: 0 8px; + border-radius: 7px; +} + +modelbutton.flat arrow { + background: none; +} + +modelbutton.flat arrow:hover { + background: none; +} + +modelbutton.flat arrow.left { + -gtk-icon-source: -gtk-icontheme("go-previous-symbolic"); +} + +modelbutton.flat arrow.right { + -gtk-icon-source: -gtk-icontheme("go-next-symbolic"); +} + +/************* + * Notebooks * + *************/ +frame > paned > notebook > header, notebook.frame > header { + background-color: #eaeaf4; +} + +notebook, notebook.frame { + background-color: #FFFFFF; + border-radius: 10px; +} + +notebook.frame frame > border { + border: none; + border-radius: 10px; +} + +notebook.frame frame > list row.activatable { + border-radius: 10px; +} + +notebook > header { + border-width: 1px; + border-color: rgba(0, 0, 0, 0.08); + background-color: #f4f4f9; + background-clip: border-box; +} + +notebook > header.top { + border-bottom-style: solid; + border-radius: 9px 9px 0 0; +} + +notebook > header.top > tabs { + margin-bottom: -1px; +} + +notebook > header.top > tabs > tab:hover { + box-shadow: inset 0 -2px rgba(0, 0, 0, 0.2); +} + +notebook > header.top > tabs > tab:checked { + box-shadow: inset 0 -2px #5657f5; +} + +notebook > header.bottom { + border-top-style: solid; + border-radius: 0 0 9px 9px; +} + +notebook > header.bottom > tabs { + margin-top: -1px; +} + +notebook > header.bottom > tabs > tab:hover { + box-shadow: inset 0 2px rgba(0, 0, 0, 0.2); +} + +notebook > header.bottom > tabs > tab:checked { + box-shadow: inset 0 2px #5657f5; +} + +notebook > header.left { + border-right-style: solid; + border-radius: 9px 0 0 9px; +} + +notebook > header.left > tabs { + margin-right: -1px; +} + +notebook > header.left > tabs > tab:hover { + box-shadow: inset -2px 0 rgba(0, 0, 0, 0.2); +} + +notebook > header.left > tabs > tab:checked { + box-shadow: inset -2px 0 #5657f5; +} + +notebook > header.right { + border-left-style: solid; + border-radius: 0 9px 9px 0; +} + +notebook > header.right > tabs { + margin-left: -1px; +} + +notebook > header.right > tabs > tab:hover { + box-shadow: inset 2px 0 rgba(0, 0, 0, 0.2); +} + +notebook > header.right > tabs > tab:checked { + box-shadow: inset 2px 0 #5657f5; +} + +notebook > header.top > tabs > arrow { + border-top-style: none; +} + +notebook > header.bottom > tabs > arrow { + border-bottom-style: none; +} + +notebook > header.top > tabs > arrow, notebook > header.bottom > tabs > arrow { + padding-left: 4px; + padding-right: 4px; +} + +notebook > header.top > tabs > arrow.down, notebook > header.bottom > tabs > arrow.down { + margin-left: -8px; + -gtk-icon-source: -gtk-icontheme("pan-start-symbolic"); +} + +notebook > header.top > tabs > arrow.up, notebook > header.bottom > tabs > arrow.up { + margin-right: -8px; + -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); +} + +notebook > header.left > tabs > arrow { + border-left-style: none; +} + +notebook > header.right > tabs > arrow { + border-right-style: none; +} + +notebook > header.left > tabs > arrow, notebook > header.right > tabs > arrow { + padding-top: 4px; + padding-bottom: 4px; +} + +notebook > header.left > tabs > arrow.down, notebook > header.right > tabs > arrow.down { + margin-top: -8px; + -gtk-icon-source: -gtk-icontheme("pan-up-symbolic"); +} + +notebook > header.left > tabs > arrow.up, notebook > header.right > tabs > arrow.up { + margin-bottom: -8px; + -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); +} + +notebook > header > tabs > arrow { + min-height: 16px; + min-width: 16px; + border-radius: 0; +} + +notebook > header tab { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1); + min-height: 20px; + min-width: 20px; + padding: 4px 12px; + outline-offset: -6px; + border-width: 1px; + border-color: transparent; + color: rgba(0, 0, 0, 0.55); + font-weight: 500; +} + +notebook > header tab:hover { + color: rgba(0, 0, 0, 0.75); +} + +notebook > header tab:hover.reorderable-page { + border-color: rgba(0, 0, 0, 0.08); + background-color: #eaeaf4; +} + +notebook > header tab:disabled { + color: rgba(0, 0, 0, 0.26); +} + +notebook > header tab:checked { + background-color: transparent; + color: rgba(0, 0, 0, 0.75); +} + +notebook > header tab:checked:disabled { + color: rgba(0, 0, 0, 0.38); +} + +notebook > header tab:checked.reorderable-page { + border-color: rgba(0, 0, 0, 0.08); + background-color: #FFFFFF; +} + +notebook > header tab button.flat { + min-height: 24px; + min-width: 24px; + padding: 0; + margin: 0; +} + +notebook > header tab button.flat:last-child { + margin-left: 4px; + margin-right: -8px; +} + +notebook > header tab button.flat:first-child { + margin-left: -8px; + margin-right: 4px; +} + +notebook > header.top tabs, notebook > header.bottom tabs { + padding-left: 8px; + padding-right: 8px; +} + +notebook > header.top tabs:not(:only-child):first-child, notebook > header.bottom tabs:not(:only-child):first-child { + margin-left: 0; +} + +notebook > header.top tabs:not(:only-child):last-child, notebook > header.bottom tabs:not(:only-child):last-child { + margin-right: 0; +} + +notebook > header.top tabs tab.reorderable-page, notebook > header.bottom tabs tab.reorderable-page { + margin: 0 -1px; + border-style: none solid; +} + +notebook > header.left tabs, notebook > header.right tabs { + padding-top: 8px; + padding-bottom: 8px; +} + +notebook > header.left tabs:not(:only-child):first-child, notebook > header.right tabs:not(:only-child):first-child { + margin-top: 0; +} + +notebook > header.left tabs:not(:only-child):last-child, notebook > header.right tabs:not(:only-child):last-child { + margin-bottom: 0; +} + +notebook > header.left tabs tab.reorderable-page, notebook > header.right tabs tab.reorderable-page { + margin: -1px 0; + border-style: solid none; +} + +notebook > stack:not(:only-child) { + background-color: #FFFFFF; + border-radius: 10px; +} + +/************** + * Scrollbars * + **************/ +scrollbar { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1); + background-color: rgba(255, 255, 255, 0.65); + background-clip: padding-box; +} + +scrollbar.top { + border-bottom: 1px solid rgba(0, 0, 0, 0.08); +} + +scrollbar.bottom { + border-top: 1px solid rgba(0, 0, 0, 0.08); +} + +scrollbar.left { + border-right: 1px solid rgba(0, 0, 0, 0.08); +} + +scrollbar.right { + border-left: 1px solid rgba(0, 0, 0, 0.08); +} + +scrollbar > range > trough > slider { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1), margin 0, border-width 0; + min-width: 8px; + min-height: 8px; + border: 4px solid transparent; + border-radius: 9999px; + background-clip: padding-box; + background-color: rgba(0, 0, 0, 0.38); +} + +scrollbar > range > trough > slider:hover { + background-color: rgba(0, 0, 0, 0.55); +} + +scrollbar > range > trough > slider:active { + background-color: rgba(0, 0, 0, 0.75); +} + +scrollbar > range > trough > slider:disabled { + background-color: rgba(0, 0, 0, 0.26); +} + +scrollbar > range.fine-tune > trough > slider { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1), margin 0, border-width 0, min-width 0, min-height 0; + min-width: 4px; + min-height: 4px; +} + +scrollbar > range.fine-tune.horizontal slider { + margin: 2px 0; +} + +scrollbar > range.fine-tune.vertical slider { + margin: 0 2px; +} + +scrollbar.overlay-indicator:not(.dragging):not(.hovering) { + border-color: transparent; + background-color: transparent; +} + +scrollbar.overlay-indicator:not(.dragging):not(.hovering) > range > trough > slider { + min-width: 4px; + min-height: 4px; + margin: 3px; + border: 1px solid rgba(255, 255, 255, 0.3); +} + +scrollbar.overlay-indicator:not(.dragging):not(.hovering) button { + min-width: 4px; + min-height: 4px; + margin: 3px; + border: 1px solid rgba(255, 255, 255, 0.3); + border-radius: 9999px; + background-color: rgba(0, 0, 0, 0.38); + background-clip: padding-box; + -gtk-icon-source: none; +} + +scrollbar.overlay-indicator:not(.dragging):not(.hovering) button:disabled { + background-color: rgba(0, 0, 0, 0.26); +} + +scrollbar.overlay-indicator:not(.dragging):not(.hovering).horizontal > range > trough > slider { + min-width: 24px; +} + +scrollbar.overlay-indicator:not(.dragging):not(.hovering).horizontal button { + min-width: 8px; +} + +scrollbar.overlay-indicator:not(.dragging):not(.hovering).vertical > range > trough > slider { + min-height: 24px; +} + +scrollbar.overlay-indicator:not(.dragging):not(.hovering).vertical button { + min-height: 8px; +} + +scrollbar.overlay-indicator.dragging, scrollbar.overlay-indicator.hovering { + background-color: rgba(255, 255, 255, 0.9); +} + +scrollbar.horizontal > range > trough > slider { + min-width: 24px; +} + +scrollbar.vertical > range > trough > slider { + min-height: 24px; +} + +scrollbar button { + min-width: 16px; + min-height: 16px; + padding: 0; + border-radius: 0; +} + +scrollbar.vertical button.down { + -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); +} + +scrollbar.vertical button.up { + -gtk-icon-source: -gtk-icontheme("pan-up-symbolic"); +} + +scrollbar.horizontal button.down { + -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); +} + +scrollbar.horizontal button.up { + -gtk-icon-source: -gtk-icontheme("pan-start-symbolic"); +} + +/********** + * Switch * + **********/ +switch { + transition: all 225ms cubic-bezier(0, 0, 0.2, 1); + margin: 4px 0; + padding: 0; + min-height: 16px; + min-width: 38px; + border: 4px solid transparent; + border-radius: 9999px; + background-color: rgba(0, 0, 0, 0.2); + background-clip: padding-box; + color: transparent; + font-size: 0; +} + +switch:disabled { + background-color: rgba(0, 0, 0, 0.08); +} + +switch:checked { + background-color: rgba(124, 77, 255, 0.35); + color: transparent; +} + +switch:checked:disabled { + background-color: rgba(124, 77, 255, 0.2); +} + +switch > slider { + transition: 100ms, box-shadow 100ms cubic-bezier(0, 0, 0.2, 1); + min-width: 20px; + min-height: 20px; + margin: -4px -2px; + border-radius: 9999px; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1); + background-color: #FFFFFF; + color: transparent; + background-position: center; + background-repeat: no-repeat; + background-image: -gtk-scaled(url("assets/switch-slider-unchecked.png"), url("assets/switch-slider-unchecked@2.png")); +} + +switch:hover > slider { + box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06); +} + +switch:checked > slider { + transition: 100ms, box-shadow 100ms cubic-bezier(0, 0, 0.2, 1), margin 0; + background-color: #7C4DFF; + color: transparent; + background-image: -gtk-scaled(url("assets/switch-slider-checked.png"), url("assets/switch-slider-checked@2.png")); +} + +switch:disabled > slider { + background-color: #eaeaf4; +} + +switch:checked:disabled > slider { + animation: none; + background-color: #bea6ff; +} + +row:selected switch:checked { + background-color: rgba(68, 1, 255, 0.35); +} + +row:selected switch:checked:disabled { + background-color: rgba(68, 1, 255, 0.2); +} + +row:selected switch:checked > slider { + background-color: #561aff; +} + +/************************* + * Check and Radio items * + *************************/ +.view.content-view.check:not(list), +.content-view .tile check:not(list) { + min-height: 40px; + min-width: 40px; + margin: 0; + padding: 0; + box-shadow: none; + background-color: transparent; + background-image: none; + -gtk-icon-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1); +} + +.view.content-view.check:not(list):hover, .view.content-view.check:not(list):active, +.content-view .tile check:not(list):hover, +.content-view .tile check:not(list):active { + -gtk-icon-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06); +} + +.view.content-view.check:not(list), +.content-view .tile check:not(list) { + -gtk-icon-source: -gtk-scaled(url("assets/selectionmode-checkbox-unchecked.png"), url("assets/selectionmode-checkbox-unchecked@2.png")); +} + +.view.content-view.check:not(list):checked, +.content-view .tile check:not(list):checked { + -gtk-icon-source: -gtk-scaled(url("assets/selectionmode-checkbox-checked.png"), url("assets/selectionmode-checkbox-checked@2.png")); +} + +checkbutton, +radiobutton { + outline: none; +} + +checkbutton.text-button, +radiobutton.text-button { + padding: 2px; + outline-offset: 0; +} + +checkbutton.text-button label:not(:only-child), +radiobutton.text-button label:not(:only-child) { + margin: 0 4px; +} + +row check:selected, +row radio:selected, row check:selected:active, +row radio:selected:active, row check:selected:checked, +row radio:selected:checked, row check:selected:indeterminate, +row radio:selected:indeterminate, row check:selected:focus, +row radio:selected:focus, row check:selected:focus:active, +row radio:selected:focus:active, row check:selected:focus:checked, +row radio:selected:focus:checked, row check:selected:focus:indeterminate, +row radio:selected:focus:indeterminate, treeview.view check:selected, +treeview.view radio:selected, treeview.view check:selected:active, +treeview.view radio:selected:active, treeview.view check:selected:checked, +treeview.view radio:selected:checked, treeview.view check:selected:indeterminate, +treeview.view radio:selected:indeterminate, treeview.view check:selected:focus, +treeview.view radio:selected:focus, treeview.view check:selected:focus:active, +treeview.view radio:selected:focus:active, treeview.view check:selected:focus:checked, +treeview.view radio:selected:focus:checked, treeview.view check:selected:focus:indeterminate, +treeview.view radio:selected:focus:indeterminate, row.activatable check:selected, +row.activatable radio:selected, row.activatable check:selected:active, +row.activatable radio:selected:active, row.activatable check:selected:checked, +row.activatable radio:selected:checked, row.activatable check:selected:indeterminate, +row.activatable radio:selected:indeterminate, row.activatable check:selected:focus, +row.activatable radio:selected:focus, row.activatable check:selected:focus:active, +row.activatable radio:selected:focus:active, row.activatable check:selected:focus:checked, +row.activatable radio:selected:focus:checked, row.activatable check:selected:focus:indeterminate, +row.activatable radio:selected:focus:indeterminate, row checkbutton check:selected, row checkbutton check:selected:active, row checkbutton check:selected:checked, row checkbutton check:selected:indeterminate, row checkbutton check:selected:focus, row checkbutton check:selected:focus:active, row checkbutton check:selected:focus:checked, row checkbutton check:selected:focus:indeterminate, treeview.view checkbutton check:selected, treeview.view checkbutton check:selected:active, treeview.view checkbutton check:selected:checked, treeview.view checkbutton check:selected:indeterminate, treeview.view checkbutton check:selected:focus, treeview.view checkbutton check:selected:focus:active, treeview.view checkbutton check:selected:focus:checked, treeview.view checkbutton check:selected:focus:indeterminate, row.activatable checkbutton check:selected, row.activatable checkbutton check:selected:active, row.activatable checkbutton check:selected:checked, row.activatable checkbutton check:selected:indeterminate, row.activatable checkbutton check:selected:focus, row.activatable checkbutton check:selected:focus:active, row.activatable checkbutton check:selected:focus:checked, row.activatable checkbutton check:selected:focus:indeterminate, row radiobutton radio:selected, row radiobutton radio:selected:active, row radiobutton radio:selected:checked, row radiobutton radio:selected:indeterminate, row radiobutton radio:selected:focus, row radiobutton radio:selected:focus:active, row radiobutton radio:selected:focus:checked, row radiobutton radio:selected:focus:indeterminate, treeview.view radiobutton radio:selected, treeview.view radiobutton radio:selected:active, treeview.view radiobutton radio:selected:checked, treeview.view radiobutton radio:selected:indeterminate, treeview.view radiobutton radio:selected:focus, treeview.view radiobutton radio:selected:focus:active, treeview.view radiobutton radio:selected:focus:checked, treeview.view radiobutton radio:selected:focus:indeterminate, row.activatable radiobutton radio:selected, row.activatable radiobutton radio:selected:active, row.activatable radiobutton radio:selected:checked, row.activatable radiobutton radio:selected:indeterminate, row.activatable radiobutton radio:selected:focus, row.activatable radiobutton radio:selected:focus:active, row.activatable radiobutton radio:selected:focus:checked, row.activatable radiobutton radio:selected:focus:indeterminate { + color: rgba(255, 255, 255, 0.7); +} + +row check:selected:disabled, +row radio:selected:disabled, row check:selected:active:disabled, +row radio:selected:active:disabled, row check:selected:checked:disabled, +row radio:selected:checked:disabled, row check:selected:indeterminate:disabled, +row radio:selected:indeterminate:disabled, row check:selected:focus:disabled, +row radio:selected:focus:disabled, row check:selected:focus:active:disabled, +row radio:selected:focus:active:disabled, row check:selected:focus:checked:disabled, +row radio:selected:focus:checked:disabled, row check:selected:focus:indeterminate:disabled, +row radio:selected:focus:indeterminate:disabled, treeview.view check:selected:disabled, +treeview.view radio:selected:disabled, treeview.view check:selected:active:disabled, +treeview.view radio:selected:active:disabled, treeview.view check:selected:checked:disabled, +treeview.view radio:selected:checked:disabled, treeview.view check:selected:indeterminate:disabled, +treeview.view radio:selected:indeterminate:disabled, treeview.view check:selected:focus:disabled, +treeview.view radio:selected:focus:disabled, treeview.view check:selected:focus:active:disabled, +treeview.view radio:selected:focus:active:disabled, treeview.view check:selected:focus:checked:disabled, +treeview.view radio:selected:focus:checked:disabled, treeview.view check:selected:focus:indeterminate:disabled, +treeview.view radio:selected:focus:indeterminate:disabled, row.activatable check:selected:disabled, +row.activatable radio:selected:disabled, row.activatable check:selected:active:disabled, +row.activatable radio:selected:active:disabled, row.activatable check:selected:checked:disabled, +row.activatable radio:selected:checked:disabled, row.activatable check:selected:indeterminate:disabled, +row.activatable radio:selected:indeterminate:disabled, row.activatable check:selected:focus:disabled, +row.activatable radio:selected:focus:disabled, row.activatable check:selected:focus:active:disabled, +row.activatable radio:selected:focus:active:disabled, row.activatable check:selected:focus:checked:disabled, +row.activatable radio:selected:focus:checked:disabled, row.activatable check:selected:focus:indeterminate:disabled, +row.activatable radio:selected:focus:indeterminate:disabled, row checkbutton check:selected:disabled, row checkbutton check:selected:active:disabled, row checkbutton check:selected:checked:disabled, row checkbutton check:selected:indeterminate:disabled, row checkbutton check:selected:focus:disabled, row checkbutton check:selected:focus:active:disabled, row checkbutton check:selected:focus:checked:disabled, row checkbutton check:selected:focus:indeterminate:disabled, treeview.view checkbutton check:selected:disabled, treeview.view checkbutton check:selected:active:disabled, treeview.view checkbutton check:selected:checked:disabled, treeview.view checkbutton check:selected:indeterminate:disabled, treeview.view checkbutton check:selected:focus:disabled, treeview.view checkbutton check:selected:focus:active:disabled, treeview.view checkbutton check:selected:focus:checked:disabled, treeview.view checkbutton check:selected:focus:indeterminate:disabled, row.activatable checkbutton check:selected:disabled, row.activatable checkbutton check:selected:active:disabled, row.activatable checkbutton check:selected:checked:disabled, row.activatable checkbutton check:selected:indeterminate:disabled, row.activatable checkbutton check:selected:focus:disabled, row.activatable checkbutton check:selected:focus:active:disabled, row.activatable checkbutton check:selected:focus:checked:disabled, row.activatable checkbutton check:selected:focus:indeterminate:disabled, row radiobutton radio:selected:disabled, row radiobutton radio:selected:active:disabled, row radiobutton radio:selected:checked:disabled, row radiobutton radio:selected:indeterminate:disabled, row radiobutton radio:selected:focus:disabled, row radiobutton radio:selected:focus:active:disabled, row radiobutton radio:selected:focus:checked:disabled, row radiobutton radio:selected:focus:indeterminate:disabled, treeview.view radiobutton radio:selected:disabled, treeview.view radiobutton radio:selected:active:disabled, treeview.view radiobutton radio:selected:checked:disabled, treeview.view radiobutton radio:selected:indeterminate:disabled, treeview.view radiobutton radio:selected:focus:disabled, treeview.view radiobutton radio:selected:focus:active:disabled, treeview.view radiobutton radio:selected:focus:checked:disabled, treeview.view radiobutton radio:selected:focus:indeterminate:disabled, row.activatable radiobutton radio:selected:disabled, row.activatable radiobutton radio:selected:active:disabled, row.activatable radiobutton radio:selected:checked:disabled, row.activatable radiobutton radio:selected:indeterminate:disabled, row.activatable radiobutton radio:selected:focus:disabled, row.activatable radiobutton radio:selected:focus:active:disabled, row.activatable radiobutton radio:selected:focus:checked:disabled, row.activatable radiobutton radio:selected:focus:indeterminate:disabled { + color: rgba(255, 255, 255, 0.3); +} + +row check:selected:hover, +row radio:selected:hover, treeview.view check:selected:hover, +treeview.view radio:selected:hover, row checkbutton check:selected:hover, row checkbutton check:selected:focus:hover, treeview.view checkbutton check:selected:hover, treeview.view checkbutton check:selected:focus:hover, row.activatable checkbutton check:selected:hover, row.activatable checkbutton check:selected:focus:hover, row radiobutton radio:selected:hover, row radiobutton radio:selected:focus:hover, treeview.view radiobutton radio:selected:hover, treeview.view radiobutton radio:selected:focus:hover, row.activatable radiobutton radio:selected:hover, row.activatable radiobutton radio:selected:focus:hover { + color: #FFFFFF; +} + +row check:selected:hover:disabled, +row radio:selected:hover:disabled, treeview.view check:selected:hover:disabled, +treeview.view radio:selected:hover:disabled, row checkbutton check:selected:hover:disabled, row checkbutton check:selected:focus:hover:disabled, treeview.view checkbutton check:selected:hover:disabled, treeview.view checkbutton check:selected:focus:hover:disabled, row.activatable checkbutton check:selected:hover:disabled, row.activatable checkbutton check:selected:focus:hover:disabled, row radiobutton radio:selected:hover:disabled, row radiobutton radio:selected:focus:hover:disabled, treeview.view radiobutton radio:selected:hover:disabled, treeview.view radiobutton radio:selected:focus:hover:disabled, row.activatable radiobutton radio:selected:hover:disabled, row.activatable radiobutton radio:selected:focus:hover:disabled { + color: rgba(255, 255, 255, 0.5); +} + +check, +radio { + min-height: 24px; + min-width: 24px; + margin: -7px; + padding: 7px; +} + +check:checked, check:indeterminate, +radio:checked, +radio:indeterminate { + color: #7C4DFF; +} + +check:checked:disabled, check:indeterminate:disabled, +radio:checked:disabled, +radio:indeterminate:disabled { + color: rgba(124, 77, 255, 0.5); +} + +popover modelbutton.flat check, popover modelbutton.flat check:hover, popover modelbutton.flat check:focus, popover modelbutton.flat check:focus:hover, popover modelbutton.flat check:active, popover modelbutton.flat check:disabled, popover modelbutton.flat radio, popover modelbutton.flat radio:hover, popover modelbutton.flat radio:focus, popover modelbutton.flat radio:focus:hover, popover modelbutton.flat radio:active, popover modelbutton.flat radio:disabled { + transition: none; + box-shadow: none; + background-image: none; +} + +popover modelbutton.flat check.left:dir(rtl), popover modelbutton.flat radio.left:dir(rtl) { + margin-left: -12px; + margin-right: -4px; +} + +popover modelbutton.flat check.right:dir(ltr), popover modelbutton.flat radio.right:dir(ltr) { + margin-left: -4px; + margin-right: -12px; +} + +popover.menu modelbutton check, popover.menu modelbutton radio { + transition: none; + margin: 0; + padding: 0; +} + +popover.menu modelbutton check:dir(ltr), popover.menu modelbutton radio:dir(ltr) { + margin-right: 8px; +} + +popover.menu modelbutton check:dir(rtl), popover.menu modelbutton radio:dir(rtl) { + margin-left: 8px; +} + +popover.menu modelbutton check:not(:checked):not(:indeterminate):not(:disabled), popover.menu modelbutton radio:not(:checked):not(:indeterminate):not(:disabled) { + color: rgba(0, 0, 0, 0.54); +} + +popover.menu modelbutton check, popover.menu modelbutton check:hover, popover.menu modelbutton check:disabled, popover.menu modelbutton radio, popover.menu modelbutton radio:hover, popover.menu modelbutton radio:disabled { + box-shadow: none; +} + + +check { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/checkbox-unchecked-symbolic.svg")); +} + + +check:checked { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/checkbox-checked-symbolic.svg")); +} + + +check:indeterminate { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/checkbox-mixed-symbolic.svg")); +} + + +radio { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/radio-unchecked-symbolic.svg")); +} + + +radio:checked { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/radio-checked-symbolic.svg")); +} + + +radio:indeterminate { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/radio-mixed-symbolic.svg")); +} + + +popover.menu modelbutton check { + min-height: 16px; + min-width: 16px; + border-radius: 7px; + -gtk-icon-source: -gtk-recolor(url("assets/scalable/small-checkbox-unchecked-symbolic.svg")); +} + + +popover.menu modelbutton check:checked { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/small-checkbox-checked-symbolic.svg")); +} + + +popover.menu modelbutton check:indeterminate { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/small-checkbox-mixed-symbolic.svg")); +} + + +popover.menu modelbutton radio { + min-height: 16px; + min-width: 16px; + border-image: none; + -gtk-icon-source: -gtk-recolor(url("assets/scalable/small-radio-unchecked-symbolic.svg")); +} + + +popover.menu modelbutton radio:checked { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/small-radio-checked-symbolic.svg")); +} + + +popover.menu modelbutton radio:indeterminate { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/small-radio-mixed-symbolic.svg")); +} + +check:not(:checked):active { + -gtk-icon-transform: rotate(90deg); +} + +check:not(:checked):indeterminate:active, +radio:not(:checked):indeterminate:active { + -gtk-icon-transform: scaleX(-1); +} + +check:not(:checked), +radio:not(:checked) { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1), background-size 300ms cubic-bezier(0, 0, 0.2, 1), background-image 600ms cubic-bezier(0, 0, 0.2, 1), -gtk-icon-transform 0; +} + +check:not(:checked):active, +radio:not(:checked):active { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1), background-size 0, background-image 0, -gtk-icon-transform 0; +} + +popover.menu modelbutton check:not(:checked), popover.menu modelbutton radio:not(:checked) { + transition: none; +} + +treeview.view check, +treeview.view radio { + padding: 0; +} + +treeview.view check:hover, +treeview.view radio:hover { + box-shadow: inset 0 0 0 9999px alpha(rgba(0, 0, 0, 0.75), 0.05); +} + +treeview.view check:hover:disabled, +treeview.view radio:hover:disabled { + box-shadow: none; +} + +treeview.view check:hover:selected, +treeview.view radio:hover:selected { + box-shadow: inset 0 0 0 9999px alpha(#FFFFFF, 0.05); +} + +treeview.view check, +treeview.view radio { + color: rgba(0, 0, 0, 0.55); +} + +treeview.view check:hover, treeview.view check:active, +treeview.view radio:hover, +treeview.view radio:active { + color: rgba(0, 0, 0, 0.75); +} + +treeview.view check:disabled, +treeview.view radio:disabled { + color: rgba(0, 0, 0, 0.26); +} + +treeview.view check:checked, treeview.view check:indeterminate, +treeview.view radio:checked, +treeview.view radio:indeterminate { + color: #7C4DFF; +} + +treeview.view check:checked:disabled, treeview.view check:indeterminate:disabled, +treeview.view radio:checked:disabled, +treeview.view radio:indeterminate:disabled { + color: rgba(124, 77, 255, 0.5); +} + +treeview.view radio:checked { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/radio-checked-symbolic.svg")); + border-image: none; +} + +/************ + * GtkScale * + ************/ +scale { + min-height: 0px; + min-width: 0px; + padding: 16px; +} + +scale > trough { + transition: background-color 100ms cubic-bezier(0, 0, 0.2, 1); + outline: none; + background-color: rgba(0, 0, 0, 0.2); +} + +scale > trough:disabled { + background-color: rgba(0, 0, 0, 0.08); +} + +scale > trough > slider { + min-height: 32px; + min-width: 32px; + margin: -15px; +} + +scale > trough > highlight { + transition: background-color 100ms cubic-bezier(0, 0, 0.2, 1); + background-color: #7C4DFF; +} + +scale > trough > highlight:disabled { + background-color: transparent; +} + +scale > trough > fill { + transition: background-color 100ms cubic-bezier(0, 0, 0.2, 1); + background-color: rgba(0, 0, 0, 0.2); +} + +scale > trough > fill:disabled { + background-color: transparent; +} + +scale > trough > slider { + transition: background-color 100ms cubic-bezier(0, 0, 0.2, 1), background-size 300ms cubic-bezier(0, 0, 0.2, 1), background-image 600ms cubic-bezier(0, 0, 0.2, 1); + background-repeat: no-repeat; + background-position: center; + background-size: auto, 1000% 1000%; + border-radius: 50%; + color: transparent; +} + +scale > trough > slider { + background-image: -gtk-scaled(url("assets/scale-slider.png"), url("assets/scale-slider@2.png")); +} + +scale > trough > slider:disabled { + background-image: -gtk-scaled(url("assets/scale-slider-disabled.png"), url("assets/scale-slider-disabled@2.png")); +} + +scale > trough > slider:hover { + background-color: rgba(124, 77, 255, 0.08); +} + +scale > trough > slider:focus { + background-color: rgba(124, 77, 255, 0.12); +} + +scale > trough > slider:focus:hover { + background-color: rgba(124, 77, 255, 0.16); +} + +scale > trough > slider:active { + transition: background-color 100ms cubic-bezier(0, 0, 0.2, 1), background-size 0, background-image 0; + animation: scale_ripple_effect 225ms cubic-bezier(0, 0, 0.2, 1) forwards; + background-size: auto, 0% 0%; + background-color: rgba(124, 77, 255, 0.08); + color: rgba(124, 77, 255, 0.12); +} + +scale.fine-tune slider { + background-size: calc(100% - 12px); +} + +scale > marks label, +scale > value { + color: rgba(0, 0, 0, 0.38); +} + +scale > marks { + color: rgba(0, 0, 0, 0.2); +} + +scale > marks.top { + margin-bottom: 7px; + margin-top: -15px; +} + +scale > marks.bottom { + margin-top: 7px; + margin-bottom: -15px; +} + +scale > marks.left { + margin-right: 7px; + margin-left: -15px; +} + +scale > marks.right { + margin-left: 7px; + margin-right: -15px; +} + +scale.fine-tune marks.top { + margin-bottom: 6px; + margin-top: -14px; +} + +scale.fine-tune marks.bottom { + margin-top: 6px; + margin-bottom: -14px; +} + +scale.fine-tune marks.left { + margin-right: 6px; + margin-left: -14px; +} + +scale.fine-tune marks.right { + margin-left: 6px; + margin-right: -14px; +} + +scale.horizontal indicator { + min-height: 8px; + min-width: 1px; +} + +scale.vertical indicator { + min-height: 1px; + min-width: 8px; +} + +scale.horizontal.marks-before:not(.marks-after) slider { + background-image: -gtk-scaled(url("assets/scale-horz-marks-before-slider.png"), url("assets/scale-horz-marks-before-slider@2.png")); +} + +scale.horizontal.marks-before:not(.marks-after) slider:disabled { + background-image: -gtk-scaled(url("assets/scale-horz-marks-before-slider-disabled.png"), url("assets/scale-horz-marks-before-slider-disabled@2.png")); +} + +scale.horizontal.marks-after:not(.marks-before) slider { + background-image: -gtk-scaled(url("assets/scale-horz-marks-after-slider.png"), url("assets/scale-horz-marks-after-slider@2.png")); +} + +scale.horizontal.marks-after:not(.marks-before) slider:disabled { + background-image: -gtk-scaled(url("assets/scale-horz-marks-after-slider-disabled.png"), url("assets/scale-horz-marks-after-slider-disabled@2.png")); +} + +scale.vertical.marks-before:not(.marks-after) slider { + background-image: -gtk-scaled(url("assets/scale-vert-marks-before-slider.png"), url("assets/scale-vert-marks-before-slider@2.png")); +} + +scale.vertical.marks-before:not(.marks-after) slider:disabled { + background-image: -gtk-scaled(url("assets/scale-vert-marks-before-slider-disabled.png"), url("assets/scale-vert-marks-before-slider-disabled@2.png")); +} + +scale.vertical.marks-after:not(.marks-before) slider { + background-image: -gtk-scaled(url("assets/scale-vert-marks-after-slider.png"), url("assets/scale-vert-marks-after-slider@2.png")); +} + +scale.vertical.marks-after:not(.marks-before) slider:disabled { + background-image: -gtk-scaled(url("assets/scale-vert-marks-after-slider-disabled.png"), url("assets/scale-vert-marks-after-slider-disabled@2.png")); +} + +scale.color { + min-height: 0; + min-width: 0; +} + +scale.color.horizontal { + padding: 0 0 12px 0; +} + +scale.color.horizontal slider:dir(ltr), scale.color.horizontal slider:dir(rtl) { + margin-bottom: -16px; + margin-top: -6px; +} + +scale.color.vertical:dir(ltr) { + padding: 0 0 0 12px; +} + +scale.color.vertical:dir(ltr) slider { + margin-left: -16px; + margin-right: -6px; +} + +scale.color.vertical:dir(rtl) { + padding: 0 12px 0 0; +} + +scale.color.vertical:dir(rtl) slider { + margin-right: -16px; + margin-left: -6px; +} + +/***************** + * Progress bars * + *****************/ +progressbar { + color: rgba(0, 0, 0, 0.38); + font-size: smaller; +} + +progressbar.horizontal > trough { + min-width: 150px; +} + +progressbar.horizontal > trough, progressbar.horizontal > trough > progress { + min-height: 4px; +} + +progressbar.vertical > trough { + min-height: 80px; +} + +progressbar.vertical > trough, progressbar.vertical > trough > progress { + min-width: 4px; +} + +progressbar > trough { + border-radius: 9999px; + background-color: rgba(93, 125, 251, 0.3); +} + +progressbar > trough > progress { + border-radius: 9999px; + background-color: #5D7DFB; + background-image: linear-gradient(to left, #BA68C8, #7E57C2); + background-size: auto auto; + background-position: center center; + background-repeat: no-repeat; +} + +progressbar.osd { + min-width: 3px; + min-height: 3px; + background-color: transparent; +} + +progressbar.osd > trough { + border-style: none; + border-radius: 0; + background-color: transparent; + box-shadow: none; +} + +progressbar.osd > trough > progress { + border-style: none; + border-radius: 0; +} + +progressbar trough.empty progress { + all: unset; +} + +/************* + * Level Bar * + *************/ +levelbar.horizontal block { + min-height: 4px; +} + +levelbar.horizontal.discrete block { + min-width: 32px; +} + +levelbar.horizontal.discrete block:not(:last-child) { + margin-right: 2px; +} + +levelbar.vertical > trough > block { + min-width: 4px; +} + +levelbar.vertical.discrete block { + min-height: 32px; +} + +levelbar.vertical.discrete block:not(:last-child) { + margin-bottom: 2px; +} + +levelbar > trough { + padding: 2px; + border-radius: 5px; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1); + background-color: #FFFFFF; +} + +levelbar > trough:disabled { + background-color: #eaeaf4; +} + +levelbar > trough > block.low { + background-color: #FF6D00; +} + +levelbar > trough > block.high, levelbar > trough > block:not(.empty) { + background-color: #5657f5; +} + +levelbar > trough > block.full { + background-color: #00C853; +} + +levelbar > trough > block.empty { + background-color: rgba(0, 0, 0, 0.08); +} + +/**************** + * Print dialog * +*****************/ +window.dialog.print drawing { + color: rgba(0, 0, 0, 0.75); + background: none; + border: none; + padding: 0; +} + +window.dialog.print drawing paper { + padding: 0; + border: 1px solid rgba(0, 0, 0, 0.08); + background-color: #FFFFFF; + color: rgba(0, 0, 0, 0.75); +} + +window.dialog.print .dialog-action-box { + margin: 12px; +} + +/********** + * Frames * + **********/ +frame, +.frame { + margin: 0; + padding: 0; + border: 1px solid rgba(0, 0, 0, 0.08); + border-radius: 0; + box-shadow: none; +} + +frame.flat, +.frame.flat { + border-style: none; +} + +frame.flat > border { + border-style: none; +} + +frame { + border-radius: 8px; +} + +frame > label { + margin: 4px; +} + +actionbar > revealer > box { + padding: 4px; + border-top: 1px solid rgba(0, 0, 0, 0.08); +} + +actionbar > revealer > box .linked > button { + border-radius: 7px; +} + +overshoot.top { + background-image: radial-gradient(farthest-side at top, rgba(0, 0, 0, 0.08) 85%, rgba(0, 0, 0, 0)), radial-gradient(farthest-side at top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)); + background-size: 100% 3%, 100% 50%; + background-repeat: no-repeat; + background-position: top; + background-color: transparent; + border: none; + box-shadow: none; +} + +overshoot.bottom { + background-image: radial-gradient(farthest-side at bottom, rgba(0, 0, 0, 0.08) 85%, rgba(0, 0, 0, 0)), radial-gradient(farthest-side at bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)); + background-size: 100% 3%, 100% 50%; + background-repeat: no-repeat; + background-position: bottom; + background-color: transparent; + border: none; + box-shadow: none; +} + +overshoot.left { + background-image: radial-gradient(farthest-side at left, rgba(0, 0, 0, 0.08) 85%, rgba(0, 0, 0, 0)), radial-gradient(farthest-side at left, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)); + background-size: 3% 100%, 50% 100%; + background-repeat: no-repeat; + background-position: left; + background-color: transparent; + border: none; + box-shadow: none; +} + +overshoot.right { + background-image: radial-gradient(farthest-side at right, rgba(0, 0, 0, 0.08) 85%, rgba(0, 0, 0, 0)), radial-gradient(farthest-side at right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)); + background-size: 3% 100%, 50% 100%; + background-repeat: no-repeat; + background-position: right; + background-color: transparent; + border: none; + box-shadow: none; +} + +undershoot.top { + background-color: transparent; + background-image: linear-gradient(to left, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.2) 50%); + padding-top: 1px; + background-size: 12px 1px; + background-repeat: repeat-x; + background-origin: content-box; + background-position: left top; +} + +undershoot.bottom { + background-color: transparent; + background-image: linear-gradient(to left, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.2) 50%); + padding-bottom: 1px; + background-size: 12px 1px; + background-repeat: repeat-x; + background-origin: content-box; + background-position: left bottom; +} + +undershoot.left { + background-color: transparent; + background-image: linear-gradient(to top, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.2) 50%); + padding-left: 1px; + background-size: 1px 12px; + background-repeat: repeat-y; + background-origin: content-box; + background-position: left top; +} + +undershoot.right { + background-color: transparent; + background-image: linear-gradient(to top, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.2) 50%); + padding-right: 1px; + background-size: 1px 12px; + background-repeat: repeat-y; + background-origin: content-box; + background-position: right top; +} + +junction { + border-style: solid none none solid; + border-width: 1px; + border-color: rgba(0, 0, 0, 0.08); + background-color: #FFFFFF; +} + +junction:dir(rtl) { + border-style: solid solid none none; +} + +separator { + min-width: 1px; + min-height: 1px; + background-color: rgba(0, 0, 0, 0.08); +} + + +button.font separator, +button.file separator { + min-width: 0; + min-height: 0; + background-color: transparent; +} + +/********* + * Lists * + *********/ +listview, +list { + border-color: rgba(0, 0, 0, 0.08); + background-color: #FFFFFF; +} + +listview row, +list row { + padding: 2px; +} + +columnview.view > header > button, +treeview.view > header > button, row.activatable { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1), background-color 0, color 0; + box-shadow: inset 0 0 0 9999px transparent; +} + +columnview.view > header > button:hover, +treeview.view > header > button:hover, row.activatable:hover { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1), background-color 0, color 0, box-shadow 0; + box-shadow: inset 0 0 0 9999px alpha(currentColor, 0.05); +} + +columnview.view > header > button.has-open-popup, +treeview.view > header > button.has-open-popup, columnview.view > header > button:active, +treeview.view > header > button:active, row.activatable.has-open-popup, row.activatable:active { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1), background-color 0, color 0; + box-shadow: inset 0 0 0 9999px alpha(currentColor, 0.3); + background-size: 0% 0%; +} + +row button.circular { + margin: 0 4px; +} + +columnview > listview > row { + padding: 0; +} + +columnview > listview > row > cell { + padding: 8px 6px; +} + +columnview > listview > row > cell:not(:first-child) { + border-left: 1px solid transparent; +} + +columnview.column-separators > listview > row > cell { + border-left-color: #dadaeb; +} + +columnview.data-table > listview > row > cell { + padding-top: 2px; + padding-bottom: 2px; +} + +treeexpander { + border-spacing: 4px; +} + +.rich-list { + /* rich lists usually containing other widgets than just labels/text */ +} + +.rich-list > row { + padding: 8px 12px; + min-height: 32px; + /* should be tall even when only containing a label */ +} + +.rich-list > row > box { + border-spacing: 12px; +} + +/********************* + * App Notifications * + *********************/ +.app-notification { + margin: 8px; +} + +.app-notification.frame, +.app-notification border { + border-style: none; +} + +/************* + * Expanders * + *************/ +expander { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1); + min-width: 16px; + min-height: 16px; + -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); + -gtk-icon-transform: rotate(-90deg); + color: rgba(0, 0, 0, 0.55); +} + +expander:dir(rtl) { + -gtk-icon-transform: rotate(90deg); +} + +expander:checked { + -gtk-icon-transform: unset; +} + +expander:hover, expander:active { + color: rgba(0, 0, 0, 0.75); +} + +expander:disabled { + color: rgba(0, 0, 0, 0.26); +} + +expander:selected { + color: rgba(255, 255, 255, 0.7); +} + +expander:selected:hover, expander:selected:active { + color: #FFFFFF; +} + +expander:selected:disabled { + color: rgba(255, 255, 255, 0.3); +} + +/************ + * Calendar * + ************/ +calendar { + color: rgba(0, 0, 0, 0.55); + border: 1px solid rgba(0, 0, 0, 0.08); +} + +calendar > header { + border-bottom: 1px solid rgba(0, 0, 0, 0.08); +} + +calendar > header > button { + border: none; + box-shadow: none; + background: none; + border-radius: 0; +} + +calendar > header > button:backdrop { + background: none; +} + +calendar > grid > label { + border-radius: 3px; +} + +calendar > grid > label.today { + background-color: rgba(0, 0, 0, 0.15); +} + +calendar > grid > label.day-number { + padding: 4px; +} + +calendar > grid > label.day-number:selected { + border-radius: 3px; +} + +calendar > grid > label.day-number.other-month { + color: alpha(currentColor, 0.3); +} + +/*********** + * Dialogs * + ***********/ +window.dialog.message { + color: rgba(255, 255, 255, 0.8); +} + +window.dialog.message.background { + background-color: rgba(63, 63, 63, 0.95); +} + +window.dialog.message .titlebar { + min-height: 20px; + border-style: none; + box-shadow: inset 0 1px rgba(255, 255, 255, 0); + background-color: rgba(63, 63, 63, 0.95); + color: rgba(255, 255, 255, 0.8); + border-top-left-radius: 7px; + border-top-right-radius: 7px; +} + +window.dialog.message .titlebar:backdrop { + color: rgba(255, 255, 255, 0.3); +} + +window.dialog.message list, window.dialog.message row, window.dialog.message .view, window.dialog.message textview.view > text { + color: rgba(255, 255, 255, 0.8); + background-color: #373737; + border-color: rgba(255, 255, 255, 0.12); +} + +window.dialog.message .linked:not(.vertical).dialog-action-area > button { + padding: 4px 12px; + border-top: 1px solid rgba(0, 0, 0, 0.08); + border-radius: 0; + color: rgba(255, 255, 255, 0.8); +} + +window.dialog.message .linked:not(.vertical).dialog-action-area > button:first-child { + border-bottom-left-radius: 0; + border-top-left-radius: 0; +} + +window.dialog.message .linked:not(.vertical).dialog-action-area > button:last-child { + border-bottom-right-radius: 0; + border-top-right-radius: 0; +} + +window.dialog.message .linked:not(.vertical).dialog-action-area > button.suggested-action, window.dialog.message .linked:not(.vertical).dialog-action-area > button.suggested-action:hover { + color: #7C4DFF; +} + +window.dialog.message .linked:not(.vertical).dialog-action-area > button.suggested-action:active, window.dialog.message .linked:not(.vertical).dialog-action-area > button.suggested-action:checked { + background-color: #7C4DFF; + color: white; + border-color: #7C4DFF; + box-shadow: none; +} + +window.dialog.message .linked:not(.vertical).dialog-action-area > button.suggested-action:disabled { + opacity: 0.65; +} + +window.dialog.message .linked:not(.vertical).dialog-action-area > button.destructive-action, window.dialog.message .linked:not(.vertical).dialog-action-area > button.destructive-action:hover { + color: #FF5252; +} + +window.dialog.message .linked:not(.vertical).dialog-action-area > button.destructive-action:active, window.dialog.message .linked:not(.vertical).dialog-action-area > button.destructive-action:checked { + background-color: #FF5252; + color: white; + border-color: #FF5252; + box-shadow: none; +} + +window.dialog.message .linked:not(.vertical).dialog-action-area > button.destructive-action:disabled { + opacity: 0.65; +} + +window.dialog.message.csd { + color: rgba(255, 255, 255, 0.8); +} + +window.dialog.message.csd.background { + border-bottom-left-radius: 7px; + border-bottom-right-radius: 7px; +} + +window.dialog.message.csd .linked:not(.vertical).dialog-action-area > button { + padding: 8px 16px; + border-top: 1px solid rgba(0, 0, 0, 0.08); + border-radius: 0; + color: rgba(255, 255, 255, 0.8); +} + +window.dialog.message.csd .linked:not(.vertical).dialog-action-area > button:first-child { + border-bottom-left-radius: 7px; + border-top-left-radius: 0; +} + +window.dialog.message.csd .linked:not(.vertical).dialog-action-area > button:last-child { + border-bottom-right-radius: 7px; + border-top-right-radius: 0; +} + +window.dialog.message entry { + color: rgba(255, 255, 255, 0.8); +} + +window.dialog.message expander title > arrow { + color: rgba(255, 255, 255, 0.7); +} + +window.dialog.message expander title > arrow:hover, window.dialog.message expander title > arrow:active { + color: #FFFFFF; +} + +window.dialog.message expander title > arrow:disabled { + color: rgba(255, 255, 255, 0.3); +} + +.background.csd filechooser, .background.csd filechooser placessidebar { + background: none; + border-radius: 0 0 13px 13px; +} + +.background.csd filechooser list, .background.csd filechooser placessidebar list { + background-color: transparent; +} + +.maximized filechooser placessidebar { + border-radius: 0; +} + +filechooser stack.view { + background-color: transparent; +} + +filechooser stack.view scrolledwindow { + background-color: #FFFFFF; + border-radius: 0 0 13px 13px; +} + +filechooser stack.view scrolledwindow treeview.view { + background-color: transparent; +} + +filechooser .dialog-action-box { + border-top: 1px solid rgba(0, 0, 0, 0.08); +} + +filechooser #pathbarbox { + border-bottom: 1px solid rgba(0, 0, 0, 0.08); + background-color: #f4f4f9; +} + +filechooserbutton > button > box { + border-spacing: 6px; +} + +filechooserbutton:drop(active) { + box-shadow: none; +} + +/*********** + * Sidebar * + ***********/ +stacksidebar .frame list:dir(ltr) { + box-shadow: inset -2px 0 3px -3px rgba(0, 0, 0, 0.05), inset -3px 0 5px -3px rgba(0, 0, 0, 0.05), inset -3px 0 10px -3px rgba(0, 0, 0, 0.03); +} + +stacksidebar .frame list:dir(rtl) { + box-shadow: inset 2px 0 3px -3px rgba(0, 0, 0, 0.05), inset 3px 0 5px -3px rgba(0, 0, 0, 0.05), inset 3px 0 10px -3px rgba(0, 0, 0, 0.03); +} + +.sidebar { + border-style: none; + background-color: #f4f4f9; +} + +.sidebar:dir(ltr), .sidebar.left, .sidebar.left:dir(rtl) { + border-right: 1px solid #dadaeb; + border-left-style: none; +} + +.sidebar:dir(rtl), .sidebar.right { + border-left: 1px solid #dadaeb; + border-right-style: none; +} + +.sidebar listview.view, +.sidebar list { + background-color: transparent; +} + +paned .sidebar.left, paned .sidebar.right, paned .sidebar.left:dir(rtl), paned .sidebar:dir(rtl), paned .sidebar:dir(ltr), paned .sidebar { + border-style: none; +} + +stacksidebar list.separators:not(.horizontal) > row:not(.separator) { + border-bottom: none; +} + +stacksidebar row { + padding: 10px 4px; +} + +stacksidebar row > label { + padding-left: 6px; + padding-right: 6px; +} + +.navigation-sidebar { + padding: 4px 0; +} + +.navigation-sidebar > separator { + margin: 4px; +} + +.navigation-sidebar > row { + min-height: 28px; + padding: 0 4px; + border-radius: 8px; + margin: 0 4px 2px; +} + +.navigation-sidebar > row:hover, .navigation-sidebar > row:focus-visible:focus-within { + color: rgba(0, 0, 0, 0.75); + background-color: rgba(0, 0, 0, 0.06); +} + +.navigation-sidebar > row:selected { + color: rgba(0, 0, 0, 0.75); + background-color: rgba(0, 0, 0, 0.08); +} + +.navigation-sidebar > row:selected label { + color: rgba(0, 0, 0, 0.75); +} + +.navigation-sidebar > row:selected:hover { + background-color: rgba(0, 0, 0, 0.12); +} + +.navigation-sidebar > row:selected:focus-visible:focus-within { + outline-width: 0; + color: #FFFFFF; + background-color: #5657f5; +} + +.navigation-sidebar > row:selected:focus-visible:focus-within:hover { + background-color: #8687f8; +} + +.navigation-sidebar > row:disabled { + color: rgba(0, 0, 0, 0.26); +} + +/**************** + * File chooser * + ****************/ +row image.sidebar-icon { + color: rgba(0, 0, 0, 0.55); +} + +row:selected image.sidebar-icon { + color: rgba(255, 255, 255, 0.7); +} + +placessidebar > viewport.frame { + border-style: none; +} + +placessidebar list { + padding: 1px 0 4px; +} + +placessidebar .navigation-sidebar > row { + min-height: 32px; + margin: -1px 4px -1px 0; + padding: 0; + border-radius: 0 7px 7px 0; +} + +placessidebar .navigation-sidebar > row > revealer { + padding: 0 12px; +} + +placessidebar .navigation-sidebar > row:selected { + background-color: rgba(0, 0, 0, 0.06); + color: #5657f5; +} + +placessidebar .navigation-sidebar > row:selected image.sidebar-icon, placessidebar .navigation-sidebar > row:selected label.sidebar-label { + color: #5657f5; +} + +placessidebar .navigation-sidebar > row:disabled { + color: rgba(0, 0, 0, 0.38); +} + +placessidebar .navigation-sidebar > row image.sidebar-icon:dir(ltr) { + padding-right: 8px; +} + +placessidebar .navigation-sidebar > row image.sidebar-icon:dir(rtl) { + padding-left: 8px; +} + +placessidebar .navigation-sidebar > row label.sidebar-label:dir(ltr) { + padding-right: 2px; +} + +placessidebar .navigation-sidebar > row label.sidebar-label:dir(rtl) { + padding-left: 2px; +} + +placessidebar .navigation-sidebar > row.sidebar-placeholder-row { + min-height: 2px; + padding: 0 8px; + background-image: image(#7C4DFF); + background-clip: content-box; +} + +placessidebar .navigation-sidebar > row.sidebar-new-bookmark-row, placessidebar .navigation-sidebar > row.sidebar-new-bookmark-row image.sidebar-icon { + color: #7C4DFF; +} + +placessidebar .navigation-sidebar > row:drop(active):not(:disabled) { + box-shadow: inset 0 0 0 2px #7C4DFF; +} + +placesview .server-list-button > image { + -gtk-icon-transform: rotate(0turn); +} + +placesview .server-list-button:checked > image { + -gtk-icon-transform: rotate(-0.5turn); +} + +placesview > actionbar > revealer > box > label { + padding-left: 8px; + padding-right: 8px; +} + +/********* + * Paned * + *********/ +paned > separator { + min-width: 1px; + min-height: 1px; + -gtk-icon-source: none; + border-style: none; + background-color: transparent; + background-image: image(rgba(0, 0, 0, 0.08)); + background-size: 1px 1px; + background-clip: content-box; +} + +paned > separator.wide { + min-width: 6px; + min-height: 6px; + background-color: #f4f4f9; + background-image: image(rgba(0, 0, 0, 0.08)), image(rgba(0, 0, 0, 0.08)); + background-size: 1px 1px, 1px 1px; +} + +paned.horizontal > separator { + background-repeat: repeat-y; +} + +paned.horizontal > separator:dir(ltr) { + margin: 0 -8px 0 0; + padding: 0 8px 0 0; + background-position: left; +} + +paned.horizontal > separator:dir(rtl) { + margin: 0 0 0 -8px; + padding: 0 0 0 8px; + background-position: right; +} + +paned.horizontal > separator.wide { + margin: 0; + padding: 0; + background-repeat: repeat-y, repeat-y; + background-position: left, right; +} + +paned.vertical > separator { + margin: 0 0 -8px 0; + padding: 0 0 8px 0; + background-repeat: repeat-x; + background-position: top; +} + +paned.vertical > separator.wide { + margin: 0; + padding: 0; + background-repeat: repeat-x, repeat-x; + background-position: bottom, top; +} + +video { + background: black; +} + +video image.osd { + min-width: 64px; + min-height: 64px; + border-radius: 9999px; +} + +/************** + * GtkInfoBar * + **************/ +infobar { + border-style: none; +} + +infobar.info { + background-color: #66BB6A; +} + +infobar.question { + background-color: #42A5F5; +} + +infobar.warning { + background-color: #FFA726; +} + +infobar.error { + background-color: #EF5350; +} + +infobar.info > label, infobar.info, infobar.question > label, infobar.question, infobar.warning > label, infobar.warning, infobar.error > label, infobar.error { + color: #FFFFFF; +} + +/************ + * Tooltips * + ************/ +tooltip { + border-radius: 8px; + box-shadow: none; +} + +tooltip.background.csd { + border-radius: 8px; + box-shadow: inset 0 1px rgba(255, 255, 255, 0); + background-color: rgba(63, 63, 63, 0.9); + color: rgba(255, 255, 255, 0.8); +} + +tooltip label { + min-height: 20px; + padding: 0 2px; +} + +tooltip > box { + border-spacing: 6px; +} + +/***************** + * Color Chooser * + *****************/ +colorswatch.top { + border-top-left-radius: 5.5px; + border-top-right-radius: 5.5px; +} + +colorswatch.top overlay { + border-top-left-radius: 5px; + border-top-right-radius: 5px; +} + +colorswatch.bottom { + border-bottom-left-radius: 5.5px; + border-bottom-right-radius: 5.5px; +} + +colorswatch.bottom overlay { + border-bottom-left-radius: 5px; + border-bottom-right-radius: 5px; +} + +colorswatch.left, colorswatch:first-child:not(.top) { + border-top-left-radius: 5.5px; + border-bottom-left-radius: 5.5px; +} + +colorswatch.left overlay, colorswatch:first-child:not(.top) overlay { + border-top-left-radius: 5px; + border-bottom-left-radius: 5px; +} + +colorswatch.right, colorswatch:last-child:not(.bottom) { + border-top-right-radius: 5.5px; + border-bottom-right-radius: 5.5px; +} + +colorswatch.right overlay, colorswatch:last-child:not(.bottom) overlay { + border-top-right-radius: 5px; + border-bottom-right-radius: 5px; +} + +colorswatch.dark { + color: #FFFFFF; +} + +colorswatch.light { + color: rgba(0, 0, 0, 0.87); +} + +colorswatch:drop(active) { + box-shadow: none; +} + +colorswatch:drop(active).light overlay { + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1), 0 0 0 2px #7C4DFF; +} + +colorswatch:drop(active).dark overlay { + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1), 0 0 0 2px #7C4DFF; +} + +colorswatch overlay { + transition: box-shadow 100ms cubic-bezier(0, 0, 0.2, 1); + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1); +} + +colorswatch overlay:hover { + box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06); +} + +colorswatch#add-color-button { + border-radius: 5px 5px 0 0; + color: #FFFFFF; +} + +colorswatch#add-color-button:only-child { + border-radius: 5px; +} + +colorswatch#add-color-button overlay { + background-image: linear-gradient(to right, #EF5350 25%, #FFA726 25%, #FFA726 50%, #66BB6A 50%, #66BB6A 75%, #42A5F5 75%); +} + +colorswatch:disabled { + opacity: 0.5; +} + +colorswatch:disabled overlay { + box-shadow: none; +} + +colorswatch#editor-color-sample { + border-radius: 5.5px; +} + +colorswatch#editor-color-sample overlay { + border-radius: 5px; +} + +colorchooser .popover.osd { + transition: box-shadow 100ms cubic-bezier(0, 0, 0.2, 1); + border-radius: 7px; + box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06), inset 0 1px rgba(255, 255, 255, 0.4); + background-color: #FFFFFF; +} + +colorchooser .popover.osd:backdrop { + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1), inset 0 1px rgba(255, 255, 255, 0.4); +} + +/******** + * Misc * + ********/ +.content-view { + background-color: #f4f4f9; +} + +/********************** + * Window Decorations * + **********************/ +window { + border: none; +} + +window.csd { + transition: box-shadow 100ms cubic-bezier(0, 0, 0.2, 1); + border-radius: 13px; + box-shadow: 0 14px 14px rgba(0, 0, 0, 0.25), 0 10px 5px rgba(0, 0, 0, 0.22), 0 16px 16px transparent; + margin: 0; +} + +window.csd:backdrop { + box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06), 0 16px 16px transparent; +} + +window.csd.popup { + border-radius: 13px; + box-shadow: 0 14px 14px rgba(0, 0, 0, 0.25), 0 10px 5px rgba(0, 0, 0, 0.22); +} + +window.csd.dialog.message { + border-radius: 13px; + box-shadow: 0 14px 14px rgba(0, 0, 0, 0.25), 0 10px 5px rgba(0, 0, 0, 0.22); +} + +window.csd.solid-csd { + margin: 0; + border: none; + border-radius: 0; + box-shadow: inset 0 1px rgba(255, 255, 255, 0.4); + background-color: #FFFFFF; +} + +.maximized window, .fullscreen window, .tiled window, .tiled-top window, .tiled-right window, .tiled-bottom window, .tiled-left window { + border-radius: 0; +} + +.popup window { + box-shadow: none; +} + +.ssd window { + box-shadow: 0 3px 3px rgba(0, 0, 0, 0.16); +} + +/***************** + * Title buttons * + *****************/ +headerbar { + padding: 0 14px; +} + +headerbar windowcontrols { + border-spacing: 6px; +} + +headerbar windowcontrols:not(.empty).start:dir(ltr), headerbar windowcontrols:not(.empty).end:dir(rtl) { + margin-right: 4px; +} + +headerbar windowcontrols:not(.empty).start:dir(rtl), headerbar windowcontrols:not(.empty).end:dir(ltr) { + margin-left: 4px; +} + +headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).maximize, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).minimize { + min-width: 12px; + min-height: 12px; + padding: 0; + margin: 0 2px; + color: transparent; + background-color: rgba(0, 0, 0, 0.26); +} + +headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close:hover, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close:backdrop:hover, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).maximize:hover, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).maximize:backdrop:hover, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).minimize:hover, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).minimize:backdrop:hover { + color: rgba(0, 0, 0, 0.54); +} + +headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close:active, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close:checked, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close:backdrop:active, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close:backdrop:checked, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).maximize:active, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).maximize:checked, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).maximize:backdrop:active, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).maximize:backdrop:checked, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).minimize:active, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).minimize:checked, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).minimize:backdrop:active, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).minimize:backdrop:checked { + color: rgba(0, 0, 0, 0.75); +} + +headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close:backdrop, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).maximize:backdrop, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).minimize:backdrop { + color: transparent; + background-color: rgba(0, 0, 0, 0.12); +} + +headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close { + transition: background-size 0, background-image 0, box-shadow 100ms cubic-bezier(0, 0, 0.2, 1); +} + +headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close:hover { + padding: 2px; + margin: -2px 0; + background-color: #EF5350; + color: rgba(255, 255, 255, 0.7); + box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06); +} + +headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close:active, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close:checked { + padding: 2px; + margin: -2px 0; + background-color: #7C4DFF; + color: #FFFFFF; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1); +} + +emoji-completion-row:focus, +emoji-completion-row:hover, .view selection, .view:selected, iconview selection, iconview:selected, flowbox > flowboxchild:selected, gridview > child:selected, entry > text > selection, spinbutton > text > selection, spinbutton:not(.vertical) > text > selection, dropdown popover listview > row:selected, +combobox popover listview > row:selected, modelbutton.flat:selected, row:selected, columnview row:not(:selected) cell editablelabel.editing text selection, calendar > grid > label.today:selected, calendar > grid > label.day-number:selected, filechooser stack.view scrolledwindow treeview.view selection, filechooser stack.view scrolledwindow treeview.view:selected { + background-color: #5657f5; +} + +row:selected label, label:selected, emoji-completion-row:focus, +emoji-completion-row:hover, .view selection, .view:selected, iconview selection, iconview:selected, flowbox > flowboxchild:selected, gridview > child:selected, entry > text > selection, spinbutton > text > selection, spinbutton:not(.vertical) > text > selection, dropdown popover listview > row:selected, +combobox popover listview > row:selected, modelbutton.flat:selected, row:selected, columnview row:not(:selected) cell editablelabel.editing text selection, calendar > grid > label.today:selected, calendar > grid > label.day-number:selected, filechooser stack.view scrolledwindow treeview.view selection, filechooser stack.view scrolledwindow treeview.view:selected { + color: #FFFFFF; +} + +row:selected label:disabled, label:disabled:selected, emoji-completion-row:disabled:focus, +emoji-completion-row:disabled:hover, .view selection:disabled, .view:disabled:selected, iconview selection:disabled, iconview:disabled:selected, flowbox > flowboxchild:disabled:selected, gridview > child:disabled:selected, entry > text > selection:disabled, spinbutton > text > selection:disabled, modelbutton.flat:disabled:selected, row:disabled:selected, columnview row:not(:selected) cell editablelabel.editing text selection:disabled, calendar > grid > label.today:disabled:selected, calendar > grid > label.day-number:disabled:selected, filechooser stack.view scrolledwindow treeview.view selection:disabled { + color: rgba(255, 255, 255, 0.5); +} + +.monospace { + font-family: monospace; +} + +/********************** + * Touch Copy & Paste * + **********************/ +cursor-handle { + border-radius: 9999px; + background-color: #7C4DFF; + background-image: none; +} + +cursor-handle.top:dir(ltr), cursor-handle.bottom:dir(rtl) { + padding-left: 6px; + border-top-right-radius: 0; +} + +cursor-handle.bottom:dir(ltr), cursor-handle.top:dir(rtl) { + padding-right: 6px; + border-top-left-radius: 0; +} + +cursor-handle.insertion-cursor:dir(ltr), cursor-handle.insertion-cursor:dir(rtl) { + -gtk-icon-source: -gtk-scaled(url("assets/scale-horz-marks-before-slider.png"), url("assets/scale-horz-marks-before-slider@2.png")); +} + +shortcuts-section { + margin: 20px; +} + +.shortcuts-search-results { + margin: 20px; + border-spacing: 24px; +} + +.context-menu { + font: initial; +} + +shortcut > .keycap { + min-width: 12px; + min-height: 26px; + margin-top: 2px; + padding-bottom: 2px; + padding-left: 8px; + padding-right: 8px; + border: solid 1px rgba(0, 0, 0, 0.08); + border-radius: 5px; + box-shadow: inset 0 -2px rgba(0, 0, 0, 0.08); + background-color: #FFFFFF; + color: rgba(0, 0, 0, 0.75); + font-size: smaller; +} + +:not(decoration):not(window):drop(active) { + transition: all 225ms cubic-bezier(0, 0, 0.2, 1); + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1), inset 0 0 0 2px #7C4DFF; + caret-color: #7C4DFF; +} + +stackswitcher button.text-button { + min-width: 100px; +} + +stackswitcher button.circular, +stackswitcher button.text-button.circular { + min-width: 32px; + min-height: 32px; + padding: 0; +} + +.lowres-icon { + -gtk-icon-shadow: 0 -1px rgba(0, 0, 0, 0.05), 1px 0 rgba(0, 0, 0, 0.1), 0 1px rgba(0, 0, 0, 0.3), -1px 0 rgba(0, 0, 0, 0.1); +} + +.icon-dropshadow { + -gtk-icon-shadow: 0 1px 12px rgba(0, 0, 0, 0.05), 0 -1px rgba(0, 0, 0, 0.05), 1px 0 rgba(0, 0, 0, 0.1), 0 1px rgba(0, 0, 0, 0.3), -1px 0 rgba(0, 0, 0, 0.1); +} + +/********* + * Emoji * + *********/ +popover.emoji-picker > contents { + padding: 0; +} + +.emoji-searchbar { + padding: 4px; + border-spacing: 4px; + border-bottom: 1px solid rgba(0, 0, 0, 0.08); +} + +.emoji-toolbar { + padding: 4px; + border-spacing: 4px; + border-top: 1px solid rgba(0, 0, 0, 0.08); +} + +button.emoji-section { + margin-top: -1px; + padding: 0 8px; + min-width: 24px; + min-height: 32px; + border-radius: 0; + box-shadow: none; +} + +button.emoji-section:hover { + box-shadow: inset 0 2px rgba(0, 0, 0, 0.2); +} + +button.emoji-section:active { + box-shadow: inset 0 2px #5657f5; +} + +button.emoji-section:checked { + box-shadow: inset 0 2px #5657f5; + background-color: transparent; +} + +button.emoji-section:first-child { + margin-left: 4px; +} + +button.emoji-section:last-child { + margin-right: 4px; +} + +popover.emoji-picker emoji { + font-size: x-large; + padding: 4px; + border-radius: 4px; +} + +popover.emoji-picker emoji:focus, popover.emoji-picker emoji:hover { + background: #5657f5; +} + +emoji-completion-row > box { + border-spacing: 4px; + padding: 2px 4px; +} + +emoji-completion-row emoji:focus, +emoji-completion-row emoji:hover { + background: none; + box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.05); + border-radius: 3px; +} + +popover.entry-completion > contents { + padding: 0; +} + +statusbar { + padding: 4px 8px; +} + +/* GTK NAMED COLORS + ---------------- + use responsibly! */ +/* +widget text/foreground color */ +@define-color theme_fg_color rgba(0, 0, 0, 0.75); +/* +text color for entries, views and content in general */ +@define-color theme_text_color currentColor; +/* +widget base background color */ +@define-color theme_bg_color #f4f4f9; +/* +text widgets and the like base background color */ +@define-color theme_base_color #FFFFFF; +/* +base background color of selections */ +@define-color theme_selected_bg_color #5657f5; +/* +text/foreground color of selections */ +@define-color theme_selected_fg_color #FFFFFF; +/* +base background color of insensitive widgets */ +@define-color insensitive_bg_color #f4f4f9; +/* +text foreground color of insensitive widgets */ +@define-color insensitive_fg_color alpha(currentColor, 0.5); +/* +insensitive text widgets and the like base background color */ +@define-color insensitive_base_color #eaeaf4; +/* +widget text/foreground color on backdrop windows */ +@define-color theme_unfocused_fg_color rgba(0, 0, 0, 0.75); +/* +text color for entries, views and content in general on backdrop windows */ +@define-color theme_unfocused_text_color currentColor; +/* +widget base background color on backdrop windows */ +@define-color theme_unfocused_bg_color #f4f4f9; +/* +text widgets and the like base background color on backdrop windows */ +@define-color theme_unfocused_base_color #FFFFFF; +/* +base background color of selections on backdrop windows */ +@define-color theme_unfocused_selected_bg_color #5657f5; +/* +text/foreground color of selections on backdrop windows */ +@define-color theme_unfocused_selected_fg_color #FFFFFF; +/* +insensitive color on backdrop windows */ +@define-color unfocused_insensitive_color alpha(currentColor, 0.5); +/* +widgets main borders color */ +@define-color borders alpha(currentColor, 0.12); +/* +widgets main borders color on backdrop windows */ +@define-color unfocused_borders alpha(currentColor, 0.12); +/* +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 #757575; +/* Very contrasty background for text views (@theme_text_color foreground) */ +@define-color text_view_bg #FFFFFF; +@define-color budgie_tasklist_indicator_color #7C4DFF; +@define-color budgie_tasklist_indicator_color_active #7C4DFF; +@define-color budgie_tasklist_indicator_color_active_window rgba(90, 62, 174, 0.931); +@define-color budgie_tasklist_indicator_color_attention #FF6D00; +@define-color STRAWBERRY_100 #FF9262; +@define-color STRAWBERRY_300 #FF793E; +@define-color STRAWBERRY_500 #F15D22; +@define-color STRAWBERRY_700 #CF3B00; +@define-color STRAWBERRY_900 #AC1800; +@define-color ORANGE_100 #FFDB91; +@define-color ORANGE_300 #FFCA40; +@define-color ORANGE_500 #FAA41A; +@define-color ORANGE_700 #DE8800; +@define-color ORANGE_900 #C26C00; +@define-color BANANA_100 #FFFFA8; +@define-color BANANA_300 #FFFA7D; +@define-color BANANA_500 #FFCE51; +@define-color BANANA_700 #D1A023; +@define-color BANANA_900 #A27100; +@define-color LIME_100 #A2F3BE; +@define-color LIME_300 #8ADBA6; +@define-color LIME_500 #73C48F; +@define-color LIME_700 #479863; +@define-color LIME_900 #1C6D38; +@define-color BLUEBERRY_100 #94A6FF; +@define-color BLUEBERRY_300 #6A7CE0; +@define-color BLUEBERRY_500 #3F51B5; +@define-color BLUEBERRY_700 #213397; +@define-color BLUEBERRY_900 #031579; +@define-color GRAPE_100 #D25DE6; +@define-color GRAPE_300 #B84ACB; +@define-color GRAPE_500 #9C27B0; +@define-color GRAPE_700 #830E97; +@define-color GRAPE_900 #6A007E; +@define-color COCOA_100 #9F9792; +@define-color COCOA_300 #7B736E; +@define-color COCOA_500 #574F4A; +@define-color COCOA_700 #463E39; +@define-color COCOA_900 #342C27; +@define-color SILVER_100 #EEE; +@define-color SILVER_300 #CCC; +@define-color SILVER_500 #AAA; +@define-color SILVER_700 #888; +@define-color SILVER_900 #666; +@define-color SLATE_100 #888; +@define-color SLATE_300 #666; +@define-color SLATE_500 #444; +@define-color SLATE_700 #222; +@define-color SLATE_900 #111; +@define-color BLACK_100 #474341; +@define-color BLACK_300 #403C3A; +@define-color BLACK_500 #393634; +@define-color BLACK_700 #33302F; +@define-color BLACK_900 #2B2928; diff --git a/src/gtk/4.0/gtk-light-solid.scss b/src/gtk/4.0/gtk-light-solid.scss new file mode 100644 index 0000000..e97fc68 --- /dev/null +++ b/src/gtk/4.0/gtk-light-solid.scss @@ -0,0 +1,11 @@ +$variant: 'light'; +$titlebar: 'light'; +$compact: 'true'; +$solid: 'true'; + +@import '../../_sass/variables'; +@import '../../_sass/colors'; +@import '../../_sass/gtk/drawing-4.0'; +@import '../../_sass/gtk/common-4.0'; +@import '../../_sass/gtk/apps-4.0'; +@import '../../_sass/gtk/colors-public'; diff --git a/src/gtk/4.0/gtk-light.css b/src/gtk/4.0/gtk-light.css new file mode 100644 index 0000000..2cdea63 --- /dev/null +++ b/src/gtk/4.0/gtk-light.css @@ -0,0 +1,4481 @@ +@keyframes ripple_effect { + to { + background-size: 1000% 1000%; + } +} + +@keyframes scale_ripple_effect { + to { + background-size: auto, 1000% 1000%; + } +} + +@keyframes header_ripple_effect { + from { + background-image: radial-gradient(circle, #5657f5 0%, transparent 0%); + } + to { + background-image: radial-gradient(circle, #5657f5 100%, transparent 0%); + } +} + +* { + padding: 0; + background-clip: padding-box; + -gtk-secondary-caret-color: #5657f5; +} + +/*************** + * Base States * + ***************/ +.background { + background-color: #f4f4f9; + color: rgba(0, 0, 0, 0.75); +} + +.background.csd { + border-radius: 13px; + background-color: #f4f4f9; +} + +.background.maximized, .background.tiled, .background.fullscreen, .background.solid-csd { + border-radius: 0; +} + +dnd { + color: rgba(0, 0, 0, 0.75); +} + +.normal-icons { + -gtk-icon-size: 16px; +} + +.large-icons { + -gtk-icon-size: 32px; +} + +spinner:disabled, +arrow:disabled, +scrollbar:disabled, +check:disabled, +radio:disabled, +treeview.expander:disabled { + -gtk-icon-filter: opacity(0.5); +} + +filechooser stack.view scrolledwindow treeview.view, iconview, .view { + background-color: #FFFFFF; + color: rgba(0, 0, 0, 0.75); +} + +filechooser stack.view scrolledwindow treeview.view:disabled, iconview:disabled, .view:disabled { + color: rgba(0, 0, 0, 0.38); +} + +textview > text { + background-color: #FFFFFF; +} + +textview > border { + background-color: #eaeaf4; + color: rgba(0, 0, 0, 0.38); +} + +textview:drop(active) { + caret-color: #FFA726; +} + +iconview { + border-radius: 5px; +} + +iconview > dndtarget:drop(active) { + border: none; +} + +rubberband, .content-view > rubberband, columnview.view > rubberband, +treeview.view > rubberband, gridview > rubberband, flowbox > rubberband { + border: 1px solid #5C6BC0; + background-color: rgba(92, 107, 192, 0.3); +} + +flowbox > flowboxchild { + padding: 4px; + border-radius: 7px; +} + +gridview > child { + padding: 3px; +} + +gridview > child box { + border-spacing: 8px; + margin: 12px; +} + +coverflow cover { + color: rgba(0, 0, 0, 0.75); + background-color: #FFFFFF; + border: none; +} + +label.separator { + color: rgba(0, 0, 0, 0.75); +} + +label > selection { + background-color: #5657f5; + color: #FFFFFF; +} + +.dim-label, headerbar .subtitle, spinbutton:not(.vertical) > text > placeholder, entry > text > placeholder, label.separator { + opacity: 0.6; +} + +window.assistant .sidebar { + padding: 4px 0; +} + +window.assistant.csd .sidebar { + border-top-style: none; +} + +window.assistant .sidebar label { + min-height: 32px; + padding: 0 12px; + color: rgba(0, 0, 0, 0.38); + font-weight: 500; +} + +window.assistant .sidebar label.highlight { + color: rgba(0, 0, 0, 0.75); +} + +window.aboutdialog image.large-icons { + -gtk-icon-size: 128px; +} + +.osd .scale-popup, .app-notification, popover.background.touch-selection, popover.background.magnifier, popover.background.osd, .osd { + color: rgba(255, 255, 255, 0.8); + border: none; + background-color: rgba(37, 37, 45, 0.85); + background-clip: padding-box; + border-radius: 8px; + padding: 6px; + margin: 6px; + box-shadow: 0 14px 14px rgba(0, 0, 0, 0.25), 0 10px 5px rgba(0, 0, 0, 0.22); +} + +/********************* + * Spinner Animation * + *********************/ +@keyframes spin { + to { + transform: rotate(1turn); + } +} + +spinner { + background: none; + opacity: 0; + -gtk-icon-source: -gtk-icontheme("process-working-symbolic"); +} + +spinner:checked { + opacity: 1; + animation: spin 1s linear infinite; +} + +spinner:checked:disabled { + opacity: 0.5; +} + +.large-title { + font-weight: 300; + font-size: 24pt; +} + +.title-1 { + font-weight: 800; + font-size: 20pt; +} + +.title-2 { + font-weight: 800; + font-size: 15pt; +} + +.title-3 { + font-weight: 700; + font-size: 15pt; +} + +.title-4 { + font-weight: 700; + font-size: 13pt; +} + +.heading { + font-weight: 700; + font-size: 11pt; +} + +.body { + font-weight: 400; + font-size: 11pt; +} + +.caption-heading { + font-weight: 700; + font-size: 9pt; +} + +.caption { + font-weight: 400; + font-size: 9pt; +} + +/**************** + * Text Entries * + ****************/ +spinbutton:not(.vertical), entry { + min-height: 32px; + padding: 0 8px; + border-radius: 7px; + transition: all 100ms cubic-bezier(0, 0, 0.2, 1); + border-image: none; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1); + background-color: #FFFFFF; + color: rgba(0, 0, 0, 0.75); +} + +spinbutton:focus-within:not(.vertical), entry:focus-within { + border-image: none; + box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06); +} + +spinbutton:disabled:not(.vertical), entry:disabled { + box-shadow: none; + background-color: #eaeaf4; + color: rgba(0, 0, 0, 0.38); +} + +colorchooser .popover.osd spinbutton:not(.vertical), window.dialog.message entry, notebook > stack:not(:only-child) entry:not(.search), +notebook > stack:not(:only-child) spinbutton:not(.vertical), popover.background .linked entry, popover.background entry, +popover.background spinbutton:not(.vertical), spinbutton.flat:not(.vertical), entry.flat { + border-radius: 0; + transition: all 100ms cubic-bezier(0, 0, 0.2, 1), box-shadow 225ms cubic-bezier(0, 0, 0.2, 1); + box-shadow: inset 0 -1px rgba(0, 0, 0, 0.2), inset 0 -2px transparent; + background-color: transparent; + color: rgba(0, 0, 0, 0.75); +} + +colorchooser .popover.osd spinbutton:focus-within:not(.vertical), window.dialog.message entry:focus-within, notebook > stack:not(:only-child) entry:focus-within:not(.search), +notebook > stack:not(:only-child) spinbutton:focus-within:not(.vertical), popover.background entry:focus-within, +popover.background spinbutton:focus-within:not(.vertical), spinbutton.flat:focus-within:not(.vertical), entry.flat:focus-within { + box-shadow: inset 0 -1px transparent, inset 0 -2px #5657f5; +} + +colorchooser .popover.osd spinbutton:disabled:not(.vertical), window.dialog.message entry:disabled, notebook > stack:not(:only-child) entry:disabled:not(.search), +notebook > stack:not(:only-child) spinbutton:disabled:not(.vertical), popover.background entry:disabled, +popover.background spinbutton:disabled:not(.vertical), spinbutton.flat:disabled:not(.vertical), entry.flat:disabled { + box-shadow: inset 0 -1px rgba(0, 0, 0, 0.08), inset 0 -2px transparent; + background-color: transparent; + color: rgba(0, 0, 0, 0.38); +} + +spinbutton:not(.vertical) image, entry image { + color: rgba(0, 0, 0, 0.55); +} + +spinbutton:not(.vertical) image:hover, spinbutton:not(.vertical) image:active, entry image:hover, entry image:active { + color: rgba(0, 0, 0, 0.75); +} + +spinbutton:not(.vertical) image:disabled, entry image:disabled { + color: rgba(0, 0, 0, 0.38); +} + +spinbutton:not(.vertical) image.left, entry image.left { + margin-left: 0px; + margin-right: 6px; +} + +spinbutton:not(.vertical) image.right, entry image.right { + margin-left: 6px; + margin-right: 0px; +} + +spinbutton:focus-within:not(.vertical) > placeholder, entry:focus-within > placeholder { + opacity: 0; +} + +spinbutton:not(.vertical) > text > block-cursor, entry > text > block-cursor { + color: #FFFFFF; + background-color: rgba(0, 0, 0, 0.75); +} + +spinbutton:not(.vertical) undershoot.left, entry undershoot.left { + background-color: transparent; + background-image: linear-gradient(to top, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.2) 50%); + padding-left: 1px; + background-size: 1px 12px; + background-repeat: repeat-y; + background-origin: content-box; + background-position: left top; +} + +spinbutton:not(.vertical) undershoot.right, entry undershoot.right { + background-color: transparent; + background-image: linear-gradient(to top, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.2) 50%); + padding-right: 1px; + background-size: 1px 12px; + background-repeat: repeat-y; + background-origin: content-box; + background-position: right top; +} + +spinbutton.password:not(.vertical) image.caps-lock-indicator, entry.password image.caps-lock-indicator { + color: rgba(0, 0, 0, 0.26); +} + +spinbutton.error:not(.vertical), entry.error { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1); + border-image: none; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1); + background-color: #DD2C00; + color: #FFFFFF; +} + +spinbutton.error:focus-within:not(.vertical), entry.error:focus-within { + border-image: none; + box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06); +} + +spinbutton.error:disabled:not(.vertical), entry.error:disabled { + box-shadow: none; + background-color: #eaeaf4; + color: rgba(0, 0, 0, 0.38); +} + +spinbutton.error.flat:not(.vertical), entry.error.flat { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1), box-shadow 225ms cubic-bezier(0, 0, 0.2, 1); + box-shadow: inset 0 -1px #DD2C00, inset 0 -2px transparent; + background-color: transparent; + color: rgba(0, 0, 0, 0.75); +} + +spinbutton.error.flat:focus-within:not(.vertical), entry.error.flat:focus-within { + box-shadow: inset 0 -1px transparent, inset 0 -2px #DD2C00; +} + +spinbutton.error.flat:disabled:not(.vertical), entry.error.flat:disabled { + box-shadow: inset 0 -1px rgba(0, 0, 0, 0.08), inset 0 -2px transparent; + background-color: transparent; + color: rgba(0, 0, 0, 0.38); +} + +spinbutton.error:not(.vertical) image, entry.error image { + color: rgba(255, 255, 255, 0.7); +} + +spinbutton.error:not(.vertical) image:hover, spinbutton.error:not(.vertical) image:active, entry.error image:hover, entry.error image:active { + color: #FFFFFF; +} + +spinbutton.error:not(.vertical) image:disabled, entry.error image:disabled { + color: rgba(255, 255, 255, 0.5); +} + +spinbutton.warning:not(.vertical), entry.warning { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1); + border-image: none; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1); + background-color: #FF6D00; + color: #FFFFFF; +} + +spinbutton.warning:focus-within:not(.vertical), entry.warning:focus-within { + border-image: none; + box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06); +} + +spinbutton.warning:disabled:not(.vertical), entry.warning:disabled { + box-shadow: none; + background-color: #eaeaf4; + color: rgba(0, 0, 0, 0.38); +} + +spinbutton.warning.flat:not(.vertical), entry.warning.flat { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1), box-shadow 225ms cubic-bezier(0, 0, 0.2, 1); + box-shadow: inset 0 -1px #FF6D00, inset 0 -2px transparent; + background-color: transparent; + color: rgba(0, 0, 0, 0.75); +} + +spinbutton.warning.flat:focus-within:not(.vertical), entry.warning.flat:focus-within { + box-shadow: inset 0 -1px transparent, inset 0 -2px #FF6D00; +} + +spinbutton.warning.flat:disabled:not(.vertical), entry.warning.flat:disabled { + box-shadow: inset 0 -1px rgba(0, 0, 0, 0.08), inset 0 -2px transparent; + background-color: transparent; + color: rgba(0, 0, 0, 0.38); +} + +spinbutton.warning:not(.vertical) image, entry.warning image { + color: rgba(255, 255, 255, 0.7); +} + +spinbutton.warning:not(.vertical) image:hover, spinbutton.warning:not(.vertical) image:active, entry.warning image:hover, entry.warning image:active { + color: #FFFFFF; +} + +spinbutton.warning:not(.vertical) image:disabled, entry.warning image:disabled { + color: rgba(255, 255, 255, 0.5); +} + +spinbutton:not(.vertical) > progress, entry > progress { + margin: 2px -6px; +} + +spinbutton:not(.vertical) progress > trough > progress, entry progress > trough > progress { + background-color: transparent; + background-image: none; + border-radius: 0; + border-bottom: 2px solid #5657f5; + box-shadow: none; +} + +.linked:not(.vertical) > spinbutton.flat:not(.vertical), .linked.vertical > spinbutton.flat:not(.vertical), .linked:not(.vertical) > entry.flat, .linked.vertical > entry.flat { + border-radius: 0; +} + +notebook > stack:not(:only-child) treeview entry:not(.search), +notebook > stack:not(:only-child) treeview spinbutton:not(.vertical), +treeview entry { + min-height: 0; + padding: 2px; + border-radius: 0; + background-color: #FFFFFF; +} + +notebook > stack:not(:only-child) treeview entry:not(.search), +notebook > stack:not(:only-child) treeview spinbutton:not(.vertical), +treeview entry { + border-image: none; + box-shadow: none; +} + +editablelabel > stack > text { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1); + border-image: none; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1); + background-color: #FFFFFF; + color: rgba(0, 0, 0, 0.75); +} + +.entry-tag { + margin: 2px; + border-radius: 9999px; + box-shadow: none; + background-color: #5657f5; + color: #FFFFFF; +} + +.entry-tag:hover { + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1); +} + +:dir(ltr) .entry-tag { + margin-left: 4px; + margin-right: 0; + padding-left: 12px; + padding-right: 8px; +} + +:dir(rtl) .entry-tag { + margin-left: 0; + margin-right: 4px; + padding-left: 8px; + padding-right: 12px; +} + +.entry-tag.button { + box-shadow: none; + background-color: transparent; +} + +.entry-tag.button:not(:hover):not(:active) { + color: rgba(255, 255, 255, 0.7); +} + +/*********** + * Buttons * + ***********/ +@keyframes needs_attention { + from { + background-image: radial-gradient(farthest-side, #5657f5 0%, rgba(86, 87, 245, 0) 0%); + } + to { + background-image: radial-gradient(farthest-side, #5657f5 95%, rgba(86, 87, 245, 0)); + } +} + + +button { + min-height: 24px; + min-width: 16px; + padding: 4px 8px; + border-radius: 7px; + font-weight: 500; + transition: 100ms; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1), inset 0 0 0 9999px transparent; + background-color: #FFFFFF; + color: rgba(0, 0, 0, 0.65); +} + + +button:hover { + box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06), inset 0 0 0 9999px transparent; + color: rgba(0, 0, 0, 0.75); +} + + +button:active { + box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06), inset 0 0 0 9999px alpha(currentColor, 0.15); + color: rgba(0, 0, 0, 0.75); +} + + +button:disabled { + box-shadow: none; + background-color: #eaeaf4; + color: rgba(0, 0, 0, 0.26); +} + + +button:checked { + background-color: #5657f5; + color: #FFFFFF; + background-image: linear-gradient(to bottom, #6C6AF2, #4648FB); + background-size: auto auto; + background-position: center center; + background-repeat: no-repeat; +} + + +button:checked:disabled { + background-color: rgba(86, 87, 245, 0.3); + color: rgba(86, 87, 245, 0.5); + background-image: none; +} + +placessidebar .navigation-sidebar > row button.sidebar-button, window.dialog.message.csd .linked.dialog-action-area:not(.vertical) > button, window.dialog.message .linked.dialog-action-area:not(.vertical) > button, check, +radio, scrollbar button, notebook > header > tabs > arrow, spinbutton.vertical button, spinbutton:not(.vertical) button, infobar.info button, infobar.question button, infobar.warning button, infobar.error button, .app-notification button, actionbar > revealer > box button:not(.suggested-action):not(.destructive-action):not(.server-list-button), modelbutton.flat, popover.menu box.circular-buttons button.circular.image-button.model, popover.menu box.inline-buttons button.image-button.model, +pathbar > button, +headerbar button:not(.suggested-action):not(.destructive-action), +toolbar button, .toolbar button, +button.flat { + transition: 100ms; + box-shadow: inset 0 0 0 9999px transparent; + background-color: transparent; + color: rgba(0, 0, 0, 0.55); +} + +placessidebar .navigation-sidebar > row button.sidebar-button:hover, window.dialog.message .linked:not(.vertical).dialog-action-area > button:hover, check:hover, +radio:hover, scrollbar button:hover, notebook > header > tabs > arrow:hover, spinbutton.vertical button:hover, spinbutton:not(.vertical) button:hover, infobar.info button:hover, infobar.question button:hover, infobar.warning button:hover, infobar.error button:hover, .app-notification button:hover, actionbar > revealer > box button:hover:not(.suggested-action):not(.destructive-action):not(.server-list-button), modelbutton.flat:hover, popover.menu box.circular-buttons button.circular.image-button.model:hover, popover.menu box.inline-buttons button.image-button.model:hover, +pathbar > button:hover, +headerbar button:hover:not(.suggested-action):not(.destructive-action), +toolbar button:hover, .toolbar button:hover, +button.flat:hover { + box-shadow: inset 0 0 0 9999px alpha(currentColor, 0.15); + color: rgba(0, 0, 0, 0.75); +} + +placessidebar .navigation-sidebar > row button.sidebar-button:active, window.dialog.message .linked:not(.vertical).dialog-action-area > button:active, check:active, +radio:active, scrollbar button:active, notebook > header > tabs > arrow:active, spinbutton.vertical button:active, spinbutton:not(.vertical) button:active, infobar.info button:active, infobar.question button:active, infobar.warning button:active, infobar.error button:active, .app-notification button:active, actionbar > revealer > box button:active:not(.suggested-action):not(.destructive-action):not(.server-list-button), modelbutton.flat:active, popover.menu box.circular-buttons button.circular.image-button.model:active, popover.menu box.inline-buttons button.image-button.model:active, +pathbar > button:active, +headerbar button:active:not(.suggested-action):not(.destructive-action), +toolbar button:active, .toolbar button:active, +button.flat:active { + box-shadow: inset 0 0 0 9999px alpha(currentColor, 0.3); + color: rgba(0, 0, 0, 0.75); +} + +placessidebar .navigation-sidebar > row button.sidebar-button:disabled, window.dialog.message .linked:not(.vertical).dialog-action-area > button:disabled, check:disabled, +radio:disabled, scrollbar button:disabled, notebook > header > tabs > arrow:disabled, spinbutton.vertical button:disabled, spinbutton:not(.vertical) button:disabled, infobar.info button:disabled, infobar.question button:disabled, infobar.warning button:disabled, infobar.error button:disabled, .app-notification button:disabled, actionbar > revealer > box button:disabled:not(.suggested-action):not(.destructive-action):not(.server-list-button), modelbutton.flat:disabled, popover.menu box.circular-buttons button.circular.image-button.model:disabled, popover.menu box.inline-buttons button.image-button.model:disabled, +pathbar > button:disabled, +headerbar button:disabled:not(.suggested-action):not(.destructive-action), +toolbar button:disabled, .toolbar button:disabled, +button.flat:disabled { + box-shadow: none; + background-color: transparent; + color: rgba(0, 0, 0, 0.26); +} + +infobar.info button:checked, infobar.question button:checked, infobar.warning button:checked, infobar.error button:checked, .app-notification button:checked, actionbar > revealer > box button:checked:not(.suggested-action):not(.destructive-action):not(.server-list-button), modelbutton.flat:checked, popover.menu box.circular-buttons button.circular.image-button.model:checked, popover.menu box.inline-buttons button.image-button.model:checked, +pathbar > button:checked, +headerbar button:checked:not(.suggested-action):not(.destructive-action), +toolbar button:checked, .toolbar button:checked, +button.flat:checked { + background-color: rgba(0, 0, 0, 0.2); + color: rgba(0, 0, 0, 0.75); +} + +infobar.info button:checked:disabled, infobar.question button:checked:disabled, infobar.warning button:checked:disabled, infobar.error button:checked:disabled, .app-notification button:checked:disabled, actionbar > revealer > box button:checked:disabled:not(.suggested-action):not(.destructive-action):not(.server-list-button), modelbutton.flat:checked:disabled, popover.menu box.circular-buttons button.circular.image-button.model:checked:disabled, popover.menu box.inline-buttons button.image-button.model:checked:disabled, +pathbar > button:checked:disabled, +headerbar button:checked:disabled:not(.suggested-action):not(.destructive-action), +toolbar button:checked:disabled, .toolbar button:checked:disabled, +button.flat:checked:disabled { + background-color: rgba(0, 0, 0, 0.08); + color: rgba(0, 0, 0, 0.38); +} + + +button.text-button { + padding-left: 16px; + padding-right: 16px; +} + + +button.image-button { + min-width: 24px; + padding: 4px; +} + + +button.text-button.image-button label:first-child { + margin-left: 12px; +} + + +button.text-button.image-button label:last-child { + margin-right: 12px; +} + + +button.text-button.image-button image:not(:only-child) { + margin: 0 4px; +} + +.linked > button.flat, .linked.vertical > button.flat { + border-radius: 7px; +} + +.linked > button.flat.image-button, .linked > button.flat.text-button.image-button, .linked.vertical > button.flat.image-button, .linked.vertical > button.flat.text-button.image-button { + border-radius: 7px; +} + +row:selected button:disabled { + background-color: rgba(255, 255, 255, 0.12); + color: rgba(255, 255, 255, 0.3); +} + +infobar.info button, infobar.question button, infobar.warning button, infobar.error button, row:selected button.flat { + color: rgba(255, 255, 255, 0.7); +} + +infobar.info button:hover, infobar.question button:hover, infobar.warning button:hover, infobar.error button:hover, infobar.info button:active, infobar.question button:active, infobar.warning button:active, infobar.error button:active, row:selected button.flat:hover, row:selected button.flat:active { + color: #FFFFFF; +} + +infobar.info button:disabled, infobar.question button:disabled, infobar.warning button:disabled, infobar.error button:disabled, row:selected button.flat:disabled { + color: rgba(255, 255, 255, 0.3); +} + +infobar.info button:checked, infobar.question button:checked, infobar.warning button:checked, infobar.error button:checked, row:selected button.flat:checked { + background-color: rgba(255, 255, 255, 0.3); + color: #FFFFFF; +} + +infobar.info button:checked:disabled, infobar.question button:checked:disabled, infobar.warning button:checked:disabled, infobar.error button:checked:disabled, row:selected button.flat:checked:disabled { + background-color: rgba(255, 255, 255, 0.12); + color: rgba(255, 255, 255, 0.5); +} + + +button.osd { + padding: 7px 11px; +} + + +button.osd.image-button { + padding: 7px; +} + + +button.osd:disabled { + opacity: 0; +} + + +button.suggested-action { + background-color: #7C4DFF; + color: #FFFFFF; + background-image: linear-gradient(to bottom, #4FC3F7, #42A5F5); + background-size: auto auto; + background-position: center center; + background-repeat: no-repeat; +} + + +button.suggested-action:disabled { + box-shadow: none; + background-color: #eaeaf4; + color: rgba(0, 0, 0, 0.38); + background-image: none; +} + + +button.suggested-action:checked { + background-color: #a382ff; +} + + +button.suggested-action.flat { + background-color: transparent; + color: #7C4DFF; + background-image: none; +} + + +button.suggested-action.flat:disabled { + box-shadow: none; + background-color: transparent; + color: rgba(0, 0, 0, 0.38); + background-image: none; +} + + +button.suggested-action.flat:checked { + background-image: none; + background-color: rgba(124, 77, 255, 0.3); +} + + +button.destructive-action { + background-color: #FF5252; + color: #FFFFFF; + background-image: linear-gradient(to bottom, #EF5350, #FF5252); + background-size: auto auto; + background-position: center center; + background-repeat: no-repeat; +} + + +button.destructive-action:disabled { + box-shadow: none; + background-color: #eaeaf4; + color: rgba(0, 0, 0, 0.38); + background-image: none; +} + + +button.destructive-action:checked { + background-color: #ff8686; +} + + +button.destructive-action.flat { + background-color: transparent; + color: #FF5252; + background-image: none; +} + + +button.destructive-action.flat:disabled { + box-shadow: none; + background-color: transparent; + color: rgba(0, 0, 0, 0.38); + background-image: none; +} + + +button.destructive-action.flat:checked { + background-image: none; + background-color: rgba(255, 82, 82, 0.3); +} + +stackswitcher > button { + outline-offset: -4px; +} + +stackswitcher > button > label { + padding-left: 6px; + padding-right: 6px; +} + +stackswitcher > button > image { + padding-left: 6px; + padding-right: 6px; + padding-top: 3px; + padding-bottom: 3px; +} + +stackswitcher > button.text-button { + padding-left: 10px; + padding-right: 10px; +} + +stackswitcher > button.image-button { + padding-left: 2px; + padding-right: 2px; +} + +stackswitcher > button.needs-attention:checked > label, +stackswitcher > button.needs-attention:checked > image { + animation: none; + background-image: none; +} + +.primary-toolbar button { + -gtk-icon-shadow: none; +} + +headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action), row button.image-button, check, +radio, popover.menu box.circular-buttons button.circular.image-button.model, headerbar.default-decoration windowcontrols button, headerbar button.suggested-action, headerbar button.destructive-action, +headerbar button:not(.suggested-action):not(.destructive-action), +button.close, +button.circular, +button.round-button { + border-radius: 9999px; +} + +placessidebar .navigation-sidebar > row button.sidebar-button, notebook > header tab button.flat, spinbutton:not(.vertical) button { + min-height: 20px; + min-width: 20px; + padding: 0; + border-radius: 9999px; +} + +stacksidebar row.needs-attention > label, stackswitcher > button.needs-attention > label, +stackswitcher > button.needs-attention > image { + animation: needs_attention 225ms cubic-bezier(0, 0, 0.2, 1) forwards; + background-repeat: no-repeat; + background-position: right 3px; + background-size: 6px 6px; +} + +stacksidebar row.needs-attention > label:dir(rtl), stackswitcher > button.needs-attention > label:dir(rtl), +stackswitcher > button.needs-attention > image:dir(rtl) { + background-position: left 3px; +} + +.linked:not(.vertical) > combobox > box > button.combo, row .linked button, .linked:not(.vertical) > spinbutton:not(.vertical), .linked:not(.vertical) > entry, .linked > button { + border-radius: 0; +} + +row .linked button:first-child, .linked:not(.vertical) > spinbutton:first-child:not(.vertical), .linked:not(.vertical) > entry:first-child, .linked > button:first-child { + border-top-left-radius: 7px; + border-bottom-left-radius: 7px; +} + +row .linked button:last-child, .linked:not(.vertical) > spinbutton:last-child:not(.vertical), .linked:not(.vertical) > entry:last-child, .linked > button:last-child { + border-top-right-radius: 7px; + border-bottom-right-radius: 7px; +} + +row .linked button:only-child, .linked:not(.vertical) > spinbutton:only-child:not(.vertical), .linked:not(.vertical) > entry:only-child, .linked > button:only-child { + border-radius: 7px; +} + +.linked.vertical > combobox > box > button.combo, .linked.vertical > spinbutton:not(.vertical), .linked.vertical > entry, .linked.vertical > button { + border-radius: 0; +} + +.linked.vertical > spinbutton:first-child:not(.vertical), .linked.vertical > entry:first-child, .linked.vertical > button:first-child { + border-top-left-radius: 7px; + border-top-right-radius: 7px; +} + +.linked.vertical > spinbutton:last-child:not(.vertical), .linked.vertical > entry:last-child, .linked.vertical > button:last-child { + border-bottom-left-radius: 7px; + border-bottom-right-radius: 7px; +} + +.linked.vertical > spinbutton:only-child:not(.vertical), .linked.vertical > entry:only-child, .linked.vertical > button:only-child { + border-radius: 7px; +} + +.toolbar button { + margin: 1px; +} + +button.color { + min-height: 20px; + min-width: 20px; + padding: 4px; +} + +button.color > colorswatch:only-child, button.color > colorswatch:only-child > overlay { + border-radius: 0; +} + +/********* + * Links * + *********/ +button.link, +link { + color: #5657f5; +} + +button.link:visited, +link:visited, +link:visited:hover, +link:visited:active { + color: #E040FB; +} + +infobar.info *:link, infobar.question *:link, infobar.warning *:link, infobar.error *:link, headerbar.selection-mode .subtitle:link, button.link:selected, *:selected button.link, +link:selected, *:selected link { + color: #FFFFFF; +} + +button.link > label { + text-decoration-line: underline; +} + +/***************** + * GtkSpinButton * + *****************/ +spinbutton { + font-feature-settings: "tnum"; +} + +spinbutton > text > block-cursor { + background-color: rgba(0, 0, 0, 0.75); + color: #FFFFFF; +} + +spinbutton:not(.vertical) { + padding: 0; +} + +notebook > stack:not(:only-child) spinbutton:not(.vertical) entry, notebook > stack:not(:only-child) spinbutton:not(.vertical) entry:focus, notebook > stack:not(:only-child) spinbutton:not(.vertical) entry:disabled, +spinbutton:not(.vertical) text { + min-width: 22px; + margin: 0; + padding-left: 12px; + border-image: none; + border-radius: 0; + box-shadow: none; + background-color: transparent; +} + +spinbutton:not(.vertical) button { + border: solid 6px transparent; +} + +spinbutton:not(.vertical) button.up:dir(ltr), spinbutton:not(.vertical) button.down:dir(rtl) { + margin-left: -3px; +} + +spinbutton:not(.vertical) button.up:dir(rtl), spinbutton:not(.vertical) button.down:dir(ltr) { + margin-right: -3px; +} + +spinbutton.vertical { + background-color: rgba(0, 0, 0, 0.08); + border-radius: 7px; +} + +spinbutton.vertical:disabled { + color: rgba(0, 0, 0, 0.38); +} + +spinbutton.vertical:drop(active) { + box-shadow: none; +} + +spinbutton.vertical text { + min-height: 32px; + min-width: 38px; + padding: 0; +} + +spinbutton.vertical button { + min-height: 32px; + min-width: 38px; + padding: 0; +} + +spinbutton.vertical button.up { + border-radius: 7px 7px 0 0; +} + +spinbutton.vertical button.down { + border-radius: 0 0 7px 7px; +} + +treeview spinbutton:not(.vertical) { + min-height: 0; + border-style: none; + border-radius: 0; +} + +treeview spinbutton:not(.vertical) text { + min-height: 0; + padding: 1px 2px; +} + +/************** + * ComboBoxes * + **************/ +dropdown > popover.menu.background > contents { + padding: 0; +} + +dropdown > button > box { + border-spacing: 6px; +} + +dropdown arrow, +combobox arrow { + -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); + min-height: 16px; + min-width: 16px; +} + +dropdown > popover.menu > contents modelbutton, +combobox > popover.menu > contents modelbutton { + padding-left: 10px; + padding-right: 10px; +} + +dropdown button.combo:checked, +combobox button.combo:checked { + transition: none; +} + +dropdown button.combo cellview:dir(ltr), +combobox button.combo cellview:dir(ltr) { + margin-left: 0px; +} + +dropdown button.combo cellview:dir(rtl), +combobox button.combo cellview:dir(rtl) { + margin-right: 0px; +} + +dropdown.linked button:nth-child(2):dir(ltr), +combobox.linked button:nth-child(2):dir(ltr) { + border-top-left-radius: 7px; + border-bottom-left-radius: 7px; +} + +dropdown.linked button:nth-child(2):dir(rtl), +combobox.linked button:nth-child(2):dir(rtl) { + border-top-right-radius: 7px; + border-bottom-right-radius: 7px; +} + +dropdown:drop(active), +combobox:drop(active) { + box-shadow: none; +} + +dropdown popover, +combobox popover { + margin-top: 6px; + padding: 0; +} + +dropdown popover listview, +combobox popover listview { + margin: 6px 0; +} + +dropdown popover listview > row, +combobox popover listview > row { + padding: 6px; +} + +dropdown popover .dropdown-searchbar, +combobox popover .dropdown-searchbar { + padding: 6px; + border-bottom: 1px solid rgba(0, 0, 0, 0.08); +} + +.linked:not(.vertical) > combobox:first-child > box > button.combo { + border-top-left-radius: 7px; + border-bottom-left-radius: 7px; +} + +.linked:not(.vertical) > combobox:last-child > box > button.combo { + border-bottom-right-radius: 7px; + border-top-right-radius: 7px; +} + +.linked:not(.vertical) > combobox:only-child > box > button.combo { + border-radius: 7px; +} + +.linked.vertical > combobox:first-child > box > button.combo { + border-top-left-radius: 7px; + border-top-right-radius: 7px; +} + +.linked.vertical > combobox:last-child > box > button.combo { + border-bottom-left-radius: 7px; + border-bottom-right-radius: 7px; +} + +.linked.vertical > combobox:only-child > box > button.combo { + border-radius: 7px; +} + +notebook > stack:not(:only-child) button.combo, popover.background button.combo { + border-radius: 0; + background-image: none; + font-weight: inherit; + transition: all 100ms cubic-bezier(0, 0, 0.2, 1), box-shadow 225ms cubic-bezier(0, 0, 0.2, 1); + box-shadow: inset 0 -1px rgba(0, 0, 0, 0.2), inset 0 -2px transparent; + background-color: transparent; + color: rgba(0, 0, 0, 0.75); +} + +notebook > stack:not(:only-child) button.combo:hover, popover.background button.combo:hover { + box-shadow: inset 0 -2px rgba(0, 0, 0, 0.38); +} + +notebook > stack:not(:only-child) button.combo:checked, popover.background button.combo:checked { + box-shadow: inset 0 -2px #5657f5; +} + +notebook > stack:not(:only-child) button.combo:disabled, popover.background button.combo:disabled { + box-shadow: inset 0 -1px rgba(0, 0, 0, 0.08); + color: rgba(0, 0, 0, 0.38); +} + +/************ + * Toolbars * + ************/ +.toolbar, +toolbar { + padding: 2px; + background-color: #f4f4f9; +} + +.osd .toolbar, .osd toolbar { + background-color: transparent; +} + +.app-notification, .toolbar.osd, +toolbar.osd { + transition: box-shadow 100ms cubic-bezier(0, 0, 0.2, 1); + padding: 4px; + border-radius: 7px; + box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06), inset 0 1px rgba(255, 255, 255, 0.4); + background-color: #FFFFFF; +} + +.app-notification:backdrop, .toolbar.osd:backdrop, +toolbar.osd:backdrop { + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1), inset 0 1px rgba(255, 255, 255, 0.4); +} + +.left.app-notification, .right.app-notification, .top.app-notification, .bottom.app-notification, .toolbar.osd.left, .toolbar.osd.right, .toolbar.osd.top, .toolbar.osd.bottom, +toolbar.osd.left, +toolbar.osd.right, +toolbar.osd.top, +toolbar.osd.bottom { + border-radius: 0; +} + +.toolbar.horizontal > separator, +toolbar.horizontal > separator { + margin: 2px; +} + +.toolbar.vertical > separator, +toolbar.vertical > separator { + margin: 2px; +} + +.toolbar:not(.inline-toolbar):not(.osd) scale, +.toolbar:not(.inline-toolbar):not(.osd) entry, +.toolbar:not(.inline-toolbar):not(.osd) spinbutton, +.toolbar:not(.inline-toolbar):not(.osd) button, +toolbar:not(.inline-toolbar):not(.osd) scale, +toolbar:not(.inline-toolbar):not(.osd) entry, +toolbar:not(.inline-toolbar):not(.osd) spinbutton, +toolbar:not(.inline-toolbar):not(.osd) button { + margin: 2px; +} + +.toolbar:not(.inline-toolbar):not(.osd) .linked entry:not(:first-child), +.toolbar:not(.inline-toolbar):not(.osd) .linked spinbutton:not(:first-child), +.toolbar:not(.inline-toolbar):not(.osd) .linked button:not(:first-child), +toolbar:not(.inline-toolbar):not(.osd) .linked entry:not(:first-child), +toolbar:not(.inline-toolbar):not(.osd) .linked spinbutton:not(:first-child), +toolbar:not(.inline-toolbar):not(.osd) .linked button:not(:first-child) { + margin-left: 0; +} + +.toolbar:not(.inline-toolbar):not(.osd) .linked entry:not(:last-child), +.toolbar:not(.inline-toolbar):not(.osd) .linked spinbutton:not(:last-child), +.toolbar:not(.inline-toolbar):not(.osd) .linked button:not(:last-child), +toolbar:not(.inline-toolbar):not(.osd) .linked entry:not(:last-child), +toolbar:not(.inline-toolbar):not(.osd) .linked spinbutton:not(:last-child), +toolbar:not(.inline-toolbar):not(.osd) .linked button:not(:last-child) { + margin-right: 0; +} + +.toolbar:not(.inline-toolbar):not(.osd) spinbutton entry, +.toolbar:not(.inline-toolbar):not(.osd) spinbutton button, +toolbar:not(.inline-toolbar):not(.osd) spinbutton entry, +toolbar:not(.inline-toolbar):not(.osd) spinbutton button { + margin: 0; +} + +.toolbar:not(.inline-toolbar):not(.osd) switch, +toolbar:not(.inline-toolbar):not(.osd) switch { + margin: 6px 2px; +} + +searchbar > revealer > box { + border-spacing: 4px; + padding: 4px; + border-style: solid; + border-width: 0 0 1px; + border-color: rgba(0, 0, 0, 0.08); + background-color: #f4f4f9; + background-clip: border-box; +} + +actionbar { + border-radius: 0 0 13px 13px; +} + +/*************** + * Header bars * + ***************/ +headerbar .linked.path-bar:not(.vertical) > button, +headerbar stackswitcher.linked:not(.vertical) > button, headerbar.windowhandle viewswitcher button:not(.titlebutton):not(.suggested-action):not(.destructive-action) { + padding-left: 8px; + padding-right: 8px; + background-color: transparent; + box-shadow: none; +} + +headerbar .linked.path-bar:not(.vertical) > button label, +headerbar stackswitcher.linked:not(.vertical) > button label, headerbar.windowhandle viewswitcher button:not(.titlebutton):not(.suggested-action):not(.destructive-action) label { + padding-left: 8px; + padding-right: 8px; +} + +headerbar .linked:not(.vertical).path-bar > button:hover, +headerbar stackswitcher.linked:not(.vertical) > button:hover, headerbar.windowhandle viewswitcher button:hover:not(.titlebutton):not(.suggested-action):not(.destructive-action) { + color: rgba(0, 0, 0, 0.75); + background-color: alpha(currentColor, 0.15); + box-shadow: inset 0 -2px transparent; +} + +headerbar .linked:not(.vertical).path-bar > button:active, +headerbar stackswitcher.linked:not(.vertical) > button:active, headerbar.windowhandle viewswitcher button:active:not(.titlebutton):not(.suggested-action):not(.destructive-action) { + color: rgba(0, 0, 0, 0.75); + background-color: alpha(currentColor, 0.3); + box-shadow: inset 0 -2px transparent; +} + +headerbar .linked:not(.vertical).path-bar > button:checked, +headerbar stackswitcher.linked:not(.vertical) > button:checked, headerbar.windowhandle viewswitcher button:checked:not(.titlebutton):not(.suggested-action):not(.destructive-action) { + border-radius: 0; + color: rgba(0, 0, 0, 0.75); + background-color: transparent; + box-shadow: inset 0 -2px #5657f5; + background-image: none; +} + +headerbar .linked:not(.vertical).path-bar > button:checked:backdrop, +headerbar stackswitcher.linked:not(.vertical) > button:checked:backdrop, headerbar.windowhandle viewswitcher button:checked:backdrop:not(.titlebutton):not(.suggested-action):not(.destructive-action), headerbar .linked:not(.vertical).path-bar > button:active:backdrop, +headerbar stackswitcher.linked:not(.vertical) > button:active:backdrop, headerbar.windowhandle viewswitcher button:active:backdrop:not(.titlebutton):not(.suggested-action):not(.destructive-action) { + color: rgba(0, 0, 0, 0.54); + box-shadow: inset 0 -2px rgba(0, 0, 0, 0.38); +} + +headerbar .linked:not(.vertical).path-bar > button.text-button.image-button label, +headerbar stackswitcher.linked:not(.vertical) > button.text-button.image-button label, headerbar.windowhandle viewswitcher button.text-button.image-button:not(.titlebutton):not(.suggested-action):not(.destructive-action) label { + padding-left: 0; + padding-right: 0; +} + +headerbar .linked:not(.vertical).path-bar > button.text-button.image-button image, +headerbar stackswitcher.linked:not(.vertical) > button.text-button.image-button image, headerbar.windowhandle viewswitcher button.text-button.image-button:not(.titlebutton):not(.suggested-action):not(.destructive-action) image { + padding-left: 0; + padding-right: 0; +} + +headerbar { + transition: background-color 100ms cubic-bezier(0, 0, 0.2, 1), color 100ms cubic-bezier(0, 0, 0.2, 1); + min-height: 38px; + padding: 0 4px; + box-shadow: inset 0 1px rgba(255, 255, 255, 0), inset 0 -1px rgba(0, 0, 0, 0.08); + background-color: #FFFFFF; + color: rgba(0, 0, 0, 0.75); +} + +headerbar:disabled :not(button) > label { + color: rgba(0, 0, 0, 0.38); +} + +headerbar:backdrop { + color: rgba(0, 0, 0, 0.54); +} + +headerbar:backdrop:disabled :not(button) > label { + color: rgba(0, 0, 0, 0.26); +} + +headerbar .title { + padding: 0 12px; + font-weight: bold; +} + +headerbar .subtitle { + padding: 0 12px; + font-size: smaller; +} + +headerbar entry { + background-color: #FFFFFF; +} + +headerbar entry:focus { + background-color: white; +} + +headerbar .linked:not(.vertical) > entry:not(.flat) { + border-radius: 7px; +} + +headerbar .linked:not(.vertical) > button { + border-radius: 7px; +} + + +headerbar button:not(.suggested-action):not(.destructive-action) { + border-image: none; + color: rgba(0, 0, 0, 0.54); +} + + +headerbar button:not(.suggested-action):not(.destructive-action):hover, +headerbar button:not(.suggested-action):not(.destructive-action):active { + color: rgba(0, 0, 0, 0.75); +} + + +headerbar button:not(.suggested-action):not(.destructive-action):disabled { + color: rgba(0, 0, 0, 0.26); +} + + +headerbar button:not(.suggested-action):not(.destructive-action):checked { + border-image: none; + background-color: #5657f5; + color: #FFFFFF; + background-image: linear-gradient(to bottom, #6C6AF2, #4648FB); + background-size: auto auto; + background-position: center center; + background-repeat: no-repeat; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.1), 0 2px 3px rgba(0, 0, 0, 0.08); +} + + +headerbar button:not(.suggested-action):not(.destructive-action):checked:disabled { + color: rgba(255, 255, 255, 0.5); + background-color: rgba(86, 87, 245, 0.5); +} + + +headerbar button:not(.suggested-action):not(.destructive-action):backdrop { + color: rgba(0, 0, 0, 0.38); +} + + +headerbar button:not(.suggested-action):not(.destructive-action):backdrop:hover, +headerbar button:not(.suggested-action):not(.destructive-action):backdrop:active { + color: rgba(0, 0, 0, 0.54); +} + + +headerbar button:not(.suggested-action):not(.destructive-action):backdrop:disabled { + color: rgba(0, 0, 0, 0.26); +} + + +headerbar button:not(.suggested-action):not(.destructive-action):backdrop:checked { + background-image: none; + color: rgba(255, 255, 255, 0.7); +} + + +headerbar button:not(.suggested-action):not(.destructive-action):backdrop:checked:disabled { + color: rgba(255, 255, 255, 0.3); +} + +headerbar button.suggested-action:disabled, headerbar button.destructive-action:disabled { + background-color: rgba(0, 0, 0, 0.12); + color: rgba(0, 0, 0, 0.38); +} + +headerbar entry, +headerbar spinbutton, +headerbar separator:not(.sidebar), +headerbar button, +headerbar menubutton { + margin-top: 4px; + margin-bottom: 4px; +} + +headerbar menubutton > button { + margin-top: 0px; + margin-bottom: 0px; +} + +headerbar > windowhandle > box, +headerbar > windowhandle > box > box.start, +headerbar > windowhandle > box > box.end { + border-spacing: 4px; +} + +headerbar switch { + margin-top: 8px; + margin-bottom: 8px; +} + +headerbar spinbutton button { + margin-top: 0; + margin-bottom: 0; +} + +.csd headerbar, headerbar.titlebar, .titlebar headerbar, .solid-csd headerbar, box headerbar:only-child { + box-shadow: inset 0 1px rgba(255, 255, 255, 0), inset 0 -1px rgba(0, 0, 0, 0.08); +} + +headerbar.titlebar.default-decoration, .csd headerbar.titlebar.default-decoration { + box-shadow: inset 0 1px rgba(255, 255, 255, 0); +} + +box headerbar:not(:only-child):first-child, box headerbar:not(:only-child):last-child { + border-left-color: #FFFFFF; + border-right-color: #FFFFFF; +} + +headerbar.selection-mode { + transition: background-color 0.00001s 225ms, color 225ms cubic-bezier(0, 0, 0.2, 1); + animation: header_ripple_effect 225ms cubic-bezier(0, 0, 0.2, 1); + box-shadow: inset 0 1px rgba(255, 255, 255, 0.2), inset 0 -1px rgba(0, 0, 0, 0.08); + background-color: #5657f5; + color: #FFFFFF; +} + +headerbar.selection-mode:backdrop { + color: rgba(255, 255, 255, 0.7); +} + +headerbar.selection-mode button:not(.suggested-action):not(.destructive-action) { + border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), currentColor 0%, transparent 0%) 0 0 0/0 0 0; + color: #FFFFFF; +} + +headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):disabled { + color: rgba(255, 255, 255, 0.5); +} + +headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):hover { + color: #FFFFFF; +} + +headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):checked { + border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), currentColor 100%, transparent 0%) 0 0 2/0 0 2px; + color: #FFFFFF; +} + +headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):checked:disabled { + color: rgba(255, 255, 255, 0.5); +} + +headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):backdrop { + color: rgba(255, 255, 255, 0.7); +} + +headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):backdrop:disabled { + color: rgba(255, 255, 255, 0.3); +} + +headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):backdrop:checked { + color: rgba(255, 255, 255, 0.7); +} + +headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):backdrop:checked:disabled { + color: rgba(255, 255, 255, 0.3); +} + +headerbar.selection-mode .selection-menu { + padding-left: 16px; + padding-right: 16px; +} + +headerbar.selection-mode .selection-menu .arrow { + -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); +} + +headerbar.windowhandle viewswitcher button:not(.titlebutton):not(.suggested-action):not(.destructive-action) { + margin-top: 0; + margin-bottom: 0; +} + +.tiled headerbar, .tiled-top headerbar, .tiled-right headerbar, .tiled-bottom headerbar, .tiled-left headerbar, .maximized headerbar, .fullscreen headerbar { + border-radius: 0; +} + +headerbar.default-decoration { + min-height: 20px; + padding: 4px 12px; + box-shadow: inset 0 1px rgba(255, 255, 255, 0); +} + +.tiled headerbar.default-decoration, .maximized headerbar.default-decoration, .fullscreen headerbar.default-decoration { + box-shadow: none; +} + +headerbar.default-decoration windowcontrols button { + min-height: 16px; + min-width: 16px; + margin: 0 2px; + padding: 0; +} + +.solid-csd headerbar:dir(rtl), .solid-csd headerbar:dir(ltr) { + border-radius: 0; + box-shadow: inset 0 1px rgba(255, 255, 255, 0); +} + +.titlebar { + border-radius: 13px 13px 0 0; +} + +.background.tiled .titlebar, +.background.tiled-top .titlebar, +.background.tiled-right .titlebar, +.background.tiled-bottom .titlebar, +.background.tiled-left .titlebar, +.background.maximized .titlebar, +.background.solid-csd .titlebar { + border-top-left-radius: 0; + border-top-right-radius: 0; + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; +} + +window separator:first-child + headerbar, window headerbar:first-child { + border-top-left-radius: 13px; +} + +window headerbar:last-child { + border-top-right-radius: 13px; +} + +window stack headerbar:first-child, window stack headerbar:last-child { + border-top-left-radius: 13px; + border-top-right-radius: 13px; + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; +} + +window.tiled headerbar, window.tiled headerbar:first-child, window.tiled headerbar:last-child, window.tiled headerbar:only-child, window.tiled-top headerbar, window.tiled-top headerbar:first-child, window.tiled-top headerbar:last-child, window.tiled-top headerbar:only-child, window.tiled-right headerbar, window.tiled-right headerbar:first-child, window.tiled-right headerbar:last-child, window.tiled-right headerbar:only-child, window.tiled-bottom headerbar, window.tiled-bottom headerbar:first-child, window.tiled-bottom headerbar:last-child, window.tiled-bottom headerbar:only-child, window.tiled-left headerbar, window.tiled-left headerbar:first-child, window.tiled-left headerbar:last-child, window.tiled-left headerbar:only-child, window.maximized headerbar, window.maximized headerbar:first-child, window.maximized headerbar:last-child, window.maximized headerbar:only-child, window.fullscreen headerbar, window.fullscreen headerbar:first-child, window.fullscreen headerbar:last-child, window.fullscreen headerbar:only-child, window.solid-csd headerbar, window.solid-csd headerbar:first-child, window.solid-csd headerbar:last-child, window.solid-csd headerbar:only-child { + border-top-left-radius: 0; + border-top-right-radius: 0; + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; +} + +headerbar separator.titlebutton { + min-width: 0; + min-height: 0; + background-color: transparent; + border: none; +} + +window.csd > .titlebar:not(headerbar) { + padding: 0; + background-color: transparent; + background-image: none; + border: none; + box-shadow: none; +} + +.titlebar:not(headerbar) > separator { + background-color: #FFFFFF; +} + +window.devel headerbar.titlebar { + background: #f4f4f9 cross-fade(10% -gtk-icontheme("system-run-symbolic"), image(transparent)) 90% 0/256px 256px no-repeat, linear-gradient(to right, transparent 65%, rgba(86, 87, 245, 0.2)), linear-gradient(to top, #c9c9e2, #d3d3e7 3px, #e7e7f2); +} + +window.devel headerbar.titlebar:backdrop { + background: #f4f4f9 cross-fade(10% -gtk-icontheme("system-run-symbolic"), image(transparent)) 90% 0/256px 256px no-repeat, image(#f4f4f9); + /* background-color would flash */ +} + +/************ + * Pathbars * + ************/ + +pathbar > button { + padding-left: 4px; + padding-right: 4px; +} + + +pathbar > button label:not(:only-child):first-child { + margin-left: 4px; + padding-left: 8px; +} + + +pathbar > button label:not(:only-child):last-child { + margin-right: 4px; + padding-right: 8px; +} + + +pathbar > button.slider-button { + padding-left: 4px; + padding-right: 4px; +} + + +pathbar > button { + border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), #5657f5 0%, transparent 0%) 0 0 0/0 0 0px; + border-radius: 7px; +} + + +pathbar > button:checked { + border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), #5657f5 100%, transparent 0%) 0 0 2/0 0 2px; +} + + +pathbar > button:checked, +pathbar > button:checked:disabled { + background-color: transparent; +} + +/************** + * Tree Views * + **************/ +columnview.view, +treeview.view { + border-left-color: #dadaeb; + border-top-color: #dadaeb; +} + +columnview.view:selected, +treeview.view:selected { + border-left-color: rgba(255, 255, 255, 0.3); +} + +columnview.view:hover, columnview.view:active, columnview.view:selected, +treeview.view:hover, +treeview.view:active, +treeview.view:selected { + border-radius: 0; +} + +columnview.view.separator, +treeview.view.separator { + min-height: 5px; + color: rgba(0, 0, 0, 0.08); +} + +columnview.view > dndtarget:drop(active), +treeview.view > dndtarget:drop(active) { + border-style: solid none; + border-width: 1px; + border-color: #7C4DFF; +} + +columnview.view > dndtarget:drop(active).after, +treeview.view > dndtarget:drop(active).after { + border-top-style: none; +} + +columnview.view > dndtarget:drop(active).before, +treeview.view > dndtarget:drop(active).before { + border-bottom-style: none; +} + +columnview.view.expander, +treeview.view.expander { + -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); + -gtk-icon-transform: rotate(-90deg); + color: rgba(0, 0, 0, 0.55); +} + +columnview.view.expander:dir(rtl), +treeview.view.expander:dir(rtl) { + -gtk-icon-transform: rotate(90deg); +} + +columnview.view.expander:checked, +treeview.view.expander:checked { + -gtk-icon-transform: unset; +} + +columnview.view.expander:hover, columnview.view.expander:active, +treeview.view.expander:hover, +treeview.view.expander:active { + color: rgba(0, 0, 0, 0.75); +} + +columnview.view.expander:disabled, +treeview.view.expander:disabled { + color: rgba(0, 0, 0, 0.26); +} + +columnview.view.expander:selected, +treeview.view.expander:selected { + color: rgba(255, 255, 255, 0.7); +} + +columnview.view.expander:selected:hover, columnview.view.expander:selected:active, +treeview.view.expander:selected:hover, +treeview.view.expander:selected:active { + color: #FFFFFF; +} + +columnview.view.expander:selected:disabled, +treeview.view.expander:selected:disabled { + color: rgba(255, 255, 255, 0.3); +} + +columnview.view.progressbar, +treeview.view.progressbar { + border-bottom: 4px solid #5657f5; + box-shadow: none; + background-color: transparent; +} + +columnview.view.progressbar:selected, +treeview.view.progressbar:selected { + border-bottom-color: #FFFFFF; +} + +columnview.view.trough, +treeview.view.trough { + border-bottom: 4px solid rgba(86, 87, 245, 0.3); + box-shadow: none; + background-color: transparent; +} + +columnview.view.trough:selected, +treeview.view.trough:selected { + border-bottom-color: rgba(255, 255, 255, 0.3); +} + +columnview.view > header > button, +treeview.view > header > button { + padding: 2px 6px; + border-style: none solid solid none; + border-width: 1px; + border-color: rgba(0, 0, 0, 0.08); + border-radius: 0; + background-clip: border-box; +} + +columnview.view > header > button, columnview.view > header > button:hover, columnview.view > header > button:active, +treeview.view > header > button, +treeview.view > header > button:hover, +treeview.view > header > button:active { + box-shadow: none; +} + +columnview.view > header > button, columnview.view > header > button:disabled, +treeview.view > header > button, +treeview.view > header > button:disabled { + background-color: #FFFFFF; +} + +columnview.view > header > button:last-child, +treeview.view > header > button:last-child { + border-right-style: none; +} + +columnview.view button.dnd, +columnview.view header.button.dnd, +treeview.view button.dnd, +treeview.view header.button.dnd { + padding: 2px 6px; + border-style: none solid solid; + border-width: 1px; + border-color: rgba(0, 0, 0, 0.08); + border-radius: 0; + box-shadow: none; + background-color: #FFFFFF; + background-clip: border-box; + color: #5657f5; +} + +columnview.view acceleditor > label, +treeview.view acceleditor > label { + background-color: #5657f5; +} + +/********* + * Menus * + *********/ +menubar { + padding: 0; + box-shadow: inset 0 -1px rgba(0, 0, 0, 0.08); + background-color: #FFFFFF; + color: rgba(0, 0, 0, 0.54); +} + +menubar > item { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1); + min-height: 20px; + padding: 4px 8px; + color: rgba(0, 0, 0, 0.54); +} + +menubar > item:hover { + transition: none; + color: rgba(0, 0, 0, 0.75); + box-shadow: inset 0 -3px #5657f5; +} + +menubar > item:disabled { + color: rgba(0, 0, 0, 0.26); +} + +menubar > item label:disabled { + color: inherit; +} + +menubar > item popover.menu.background > contents { + padding: 4px; +} + +menubar > item popover.menu popover.menu { + padding: 0 0 4px 0; +} + +menubar > item popover.menu.background popover.menu.background > contents { + margin: 0; + border-radius: 8px; +} + +popover.menu { + padding: 0; +} + +popover.menu > arrow, popover.menu.background > contents { + padding: 4px; + background-color: rgba(255, 255, 255, 0.95); + border: none; + border-radius: 8px; + color: rgba(0, 0, 0, 0.54); +} + +popover.menu.background separator { + margin: 4px 0; +} + +popover.menu box.inline-buttons { + padding: 0 4px; +} + +popover.menu box.inline-buttons button.image-button.model { + min-height: 28px; + min-width: 28px; + padding: 0; + border: none; + outline: none; +} + +popover.menu box.circular-buttons button.circular.image-button.model { + padding: 4px; + min-height: 28px; + min-width: 28px; +} + +popover.menu modelbutton { + min-height: 20px; + min-width: 40px; + padding: 4px 8px; + border-radius: 5px; +} + +popover.menu modelbutton:selected { + color: #5C6BC0; + background-color: rgba(92, 107, 192, 0.1); +} + +popover.menu modelbutton:selected:active { + color: #5C6BC0; + background-color: rgba(92, 107, 192, 0.12); +} + +popover.menu modelbutton:focus { + transition: none; +} + +popover.menu arrow.left, +popover.menu radio.left, +popover.menu check.left { + margin-left: -2px; + margin-right: 4px; +} + +popover.menu arrow.right, +popover.menu radio.right, +popover.menu check.right { + margin-left: 4px; + margin-right: -2px; +} + +popover.menu label.title { + font-weight: bold; + padding: 4px 32px; +} + +/************ + * Popovers * + ************/ +popover.background { + background-color: transparent; + font: initial; +} + +popover.background > arrow, +popover.background > contents { + transition: box-shadow 100ms cubic-bezier(0, 0, 0.2, 1); + padding: 0; + box-shadow: 0 14px 14px rgba(0, 0, 0, 0.25), 0 10px 5px rgba(0, 0, 0, 0.22); + background-color: rgba(255, 255, 255, 0.95); + color: rgba(0, 0, 0, 0.55); + border: none; +} + +popover.background > arrow:disabled, +popover.background > contents:disabled { + color: rgba(0, 0, 0, 0.26); +} + +popover.background:backdrop { + background-color: transparent; +} + +popover.background:backdrop > arrow, +popover.background:backdrop > contents { + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1); +} + +popover.background > contents { + padding: 6px; + border-radius: 8px; +} + +popover.background > contents > list, +popover.background > contents > .view, +popover.background > contents > toolbar { + border-style: none; + background-color: transparent; + box-shadow: none; +} + +popover.background > contents separator { + margin: 3px; +} + +popover.background > contents list separator { + margin: 0; +} + +.linked > popover.background button { + border-radius: 7px; +} + +.linked > popover.background button:first-child { + border-radius: 7px; +} + +.linked > popover.background button:last-child { + border-radius: 7px; +} + +.linked > popover.background button:only-child { + border-radius: 7px; +} + +popover.background.menu button, popover.background button.model { + border-radius: 7px; +} + +popover.background checkbutton.text-button, +popover.background radiobutton.text-button { + outline-style: none; +} + +popover.background separator { + margin: 4px 0; +} + +popover.background list separator { + margin: 0; +} + +popover.background label.separator { + color: rgba(0, 0, 0, 0.38); +} + +/* menu buttons */ +modelbutton.flat { + min-height: 28px; + padding: 0 8px; + border-radius: 7px; +} + +modelbutton.flat arrow { + background: none; +} + +modelbutton.flat arrow:hover { + background: none; +} + +modelbutton.flat arrow.left { + -gtk-icon-source: -gtk-icontheme("go-previous-symbolic"); +} + +modelbutton.flat arrow.right { + -gtk-icon-source: -gtk-icontheme("go-next-symbolic"); +} + +/************* + * Notebooks * + *************/ +frame > paned > notebook > header, notebook.frame > header { + background-color: #eaeaf4; +} + +notebook, notebook.frame { + background-color: #FFFFFF; + border-radius: 10px; +} + +notebook.frame frame > border { + border: none; + border-radius: 10px; +} + +notebook.frame frame > list row.activatable { + border-radius: 10px; +} + +notebook > header { + border-width: 1px; + border-color: rgba(0, 0, 0, 0.08); + background-color: #f4f4f9; + background-clip: border-box; +} + +notebook > header.top { + border-bottom-style: solid; + border-radius: 9px 9px 0 0; +} + +notebook > header.top > tabs { + margin-bottom: -1px; +} + +notebook > header.top > tabs > tab:hover { + box-shadow: inset 0 -2px rgba(0, 0, 0, 0.2); +} + +notebook > header.top > tabs > tab:checked { + box-shadow: inset 0 -2px #5657f5; +} + +notebook > header.bottom { + border-top-style: solid; + border-radius: 0 0 9px 9px; +} + +notebook > header.bottom > tabs { + margin-top: -1px; +} + +notebook > header.bottom > tabs > tab:hover { + box-shadow: inset 0 2px rgba(0, 0, 0, 0.2); +} + +notebook > header.bottom > tabs > tab:checked { + box-shadow: inset 0 2px #5657f5; +} + +notebook > header.left { + border-right-style: solid; + border-radius: 9px 0 0 9px; +} + +notebook > header.left > tabs { + margin-right: -1px; +} + +notebook > header.left > tabs > tab:hover { + box-shadow: inset -2px 0 rgba(0, 0, 0, 0.2); +} + +notebook > header.left > tabs > tab:checked { + box-shadow: inset -2px 0 #5657f5; +} + +notebook > header.right { + border-left-style: solid; + border-radius: 0 9px 9px 0; +} + +notebook > header.right > tabs { + margin-left: -1px; +} + +notebook > header.right > tabs > tab:hover { + box-shadow: inset 2px 0 rgba(0, 0, 0, 0.2); +} + +notebook > header.right > tabs > tab:checked { + box-shadow: inset 2px 0 #5657f5; +} + +notebook > header.top > tabs > arrow { + border-top-style: none; +} + +notebook > header.bottom > tabs > arrow { + border-bottom-style: none; +} + +notebook > header.top > tabs > arrow, notebook > header.bottom > tabs > arrow { + padding-left: 4px; + padding-right: 4px; +} + +notebook > header.top > tabs > arrow.down, notebook > header.bottom > tabs > arrow.down { + margin-left: -8px; + -gtk-icon-source: -gtk-icontheme("pan-start-symbolic"); +} + +notebook > header.top > tabs > arrow.up, notebook > header.bottom > tabs > arrow.up { + margin-right: -8px; + -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); +} + +notebook > header.left > tabs > arrow { + border-left-style: none; +} + +notebook > header.right > tabs > arrow { + border-right-style: none; +} + +notebook > header.left > tabs > arrow, notebook > header.right > tabs > arrow { + padding-top: 4px; + padding-bottom: 4px; +} + +notebook > header.left > tabs > arrow.down, notebook > header.right > tabs > arrow.down { + margin-top: -8px; + -gtk-icon-source: -gtk-icontheme("pan-up-symbolic"); +} + +notebook > header.left > tabs > arrow.up, notebook > header.right > tabs > arrow.up { + margin-bottom: -8px; + -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); +} + +notebook > header > tabs > arrow { + min-height: 16px; + min-width: 16px; + border-radius: 0; +} + +notebook > header tab { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1); + min-height: 20px; + min-width: 20px; + padding: 4px 12px; + outline-offset: -6px; + border-width: 1px; + border-color: transparent; + color: rgba(0, 0, 0, 0.55); + font-weight: 500; +} + +notebook > header tab:hover { + color: rgba(0, 0, 0, 0.75); +} + +notebook > header tab:hover.reorderable-page { + border-color: rgba(0, 0, 0, 0.08); + background-color: #eaeaf4; +} + +notebook > header tab:disabled { + color: rgba(0, 0, 0, 0.26); +} + +notebook > header tab:checked { + background-color: transparent; + color: rgba(0, 0, 0, 0.75); +} + +notebook > header tab:checked:disabled { + color: rgba(0, 0, 0, 0.38); +} + +notebook > header tab:checked.reorderable-page { + border-color: rgba(0, 0, 0, 0.08); + background-color: #FFFFFF; +} + +notebook > header tab button.flat { + min-height: 24px; + min-width: 24px; + padding: 0; + margin: 0; +} + +notebook > header tab button.flat:last-child { + margin-left: 4px; + margin-right: -8px; +} + +notebook > header tab button.flat:first-child { + margin-left: -8px; + margin-right: 4px; +} + +notebook > header.top tabs, notebook > header.bottom tabs { + padding-left: 8px; + padding-right: 8px; +} + +notebook > header.top tabs:not(:only-child):first-child, notebook > header.bottom tabs:not(:only-child):first-child { + margin-left: 0; +} + +notebook > header.top tabs:not(:only-child):last-child, notebook > header.bottom tabs:not(:only-child):last-child { + margin-right: 0; +} + +notebook > header.top tabs tab.reorderable-page, notebook > header.bottom tabs tab.reorderable-page { + margin: 0 -1px; + border-style: none solid; +} + +notebook > header.left tabs, notebook > header.right tabs { + padding-top: 8px; + padding-bottom: 8px; +} + +notebook > header.left tabs:not(:only-child):first-child, notebook > header.right tabs:not(:only-child):first-child { + margin-top: 0; +} + +notebook > header.left tabs:not(:only-child):last-child, notebook > header.right tabs:not(:only-child):last-child { + margin-bottom: 0; +} + +notebook > header.left tabs tab.reorderable-page, notebook > header.right tabs tab.reorderable-page { + margin: -1px 0; + border-style: solid none; +} + +notebook > stack:not(:only-child) { + background-color: #FFFFFF; + border-radius: 10px; +} + +/************** + * Scrollbars * + **************/ +scrollbar { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1); + background-color: rgba(255, 255, 255, 0.65); + background-clip: padding-box; +} + +scrollbar.top { + border-bottom: 1px solid rgba(0, 0, 0, 0.08); +} + +scrollbar.bottom { + border-top: 1px solid rgba(0, 0, 0, 0.08); +} + +scrollbar.left { + border-right: 1px solid rgba(0, 0, 0, 0.08); +} + +scrollbar.right { + border-left: 1px solid rgba(0, 0, 0, 0.08); +} + +scrollbar > range > trough > slider { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1), margin 0, border-width 0; + min-width: 8px; + min-height: 8px; + border: 4px solid transparent; + border-radius: 9999px; + background-clip: padding-box; + background-color: rgba(0, 0, 0, 0.38); +} + +scrollbar > range > trough > slider:hover { + background-color: rgba(0, 0, 0, 0.55); +} + +scrollbar > range > trough > slider:active { + background-color: rgba(0, 0, 0, 0.75); +} + +scrollbar > range > trough > slider:disabled { + background-color: rgba(0, 0, 0, 0.26); +} + +scrollbar > range.fine-tune > trough > slider { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1), margin 0, border-width 0, min-width 0, min-height 0; + min-width: 4px; + min-height: 4px; +} + +scrollbar > range.fine-tune.horizontal slider { + margin: 2px 0; +} + +scrollbar > range.fine-tune.vertical slider { + margin: 0 2px; +} + +scrollbar.overlay-indicator:not(.dragging):not(.hovering) { + border-color: transparent; + background-color: transparent; +} + +scrollbar.overlay-indicator:not(.dragging):not(.hovering) > range > trough > slider { + min-width: 4px; + min-height: 4px; + margin: 3px; + border: 1px solid rgba(255, 255, 255, 0.3); +} + +scrollbar.overlay-indicator:not(.dragging):not(.hovering) button { + min-width: 4px; + min-height: 4px; + margin: 3px; + border: 1px solid rgba(255, 255, 255, 0.3); + border-radius: 9999px; + background-color: rgba(0, 0, 0, 0.38); + background-clip: padding-box; + -gtk-icon-source: none; +} + +scrollbar.overlay-indicator:not(.dragging):not(.hovering) button:disabled { + background-color: rgba(0, 0, 0, 0.26); +} + +scrollbar.overlay-indicator:not(.dragging):not(.hovering).horizontal > range > trough > slider { + min-width: 24px; +} + +scrollbar.overlay-indicator:not(.dragging):not(.hovering).horizontal button { + min-width: 8px; +} + +scrollbar.overlay-indicator:not(.dragging):not(.hovering).vertical > range > trough > slider { + min-height: 24px; +} + +scrollbar.overlay-indicator:not(.dragging):not(.hovering).vertical button { + min-height: 8px; +} + +scrollbar.overlay-indicator.dragging, scrollbar.overlay-indicator.hovering { + background-color: rgba(255, 255, 255, 0.9); +} + +scrollbar.horizontal > range > trough > slider { + min-width: 24px; +} + +scrollbar.vertical > range > trough > slider { + min-height: 24px; +} + +scrollbar button { + min-width: 16px; + min-height: 16px; + padding: 0; + border-radius: 0; +} + +scrollbar.vertical button.down { + -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); +} + +scrollbar.vertical button.up { + -gtk-icon-source: -gtk-icontheme("pan-up-symbolic"); +} + +scrollbar.horizontal button.down { + -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); +} + +scrollbar.horizontal button.up { + -gtk-icon-source: -gtk-icontheme("pan-start-symbolic"); +} + +/********** + * Switch * + **********/ +switch { + transition: all 225ms cubic-bezier(0, 0, 0.2, 1); + margin: 4px 0; + padding: 0; + min-height: 16px; + min-width: 38px; + border: 4px solid transparent; + border-radius: 9999px; + background-color: rgba(0, 0, 0, 0.2); + background-clip: padding-box; + color: transparent; + font-size: 0; +} + +switch:disabled { + background-color: rgba(0, 0, 0, 0.08); +} + +switch:checked { + background-color: rgba(124, 77, 255, 0.35); + color: transparent; +} + +switch:checked:disabled { + background-color: rgba(124, 77, 255, 0.2); +} + +switch > slider { + transition: 100ms, box-shadow 100ms cubic-bezier(0, 0, 0.2, 1); + min-width: 20px; + min-height: 20px; + margin: -4px -2px; + border-radius: 9999px; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1); + background-color: #FFFFFF; + color: transparent; + background-position: center; + background-repeat: no-repeat; + background-image: -gtk-scaled(url("assets/switch-slider-unchecked.png"), url("assets/switch-slider-unchecked@2.png")); +} + +switch:hover > slider { + box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06); +} + +switch:checked > slider { + transition: 100ms, box-shadow 100ms cubic-bezier(0, 0, 0.2, 1), margin 0; + background-color: #7C4DFF; + color: transparent; + background-image: -gtk-scaled(url("assets/switch-slider-checked.png"), url("assets/switch-slider-checked@2.png")); +} + +switch:disabled > slider { + background-color: #eaeaf4; +} + +switch:checked:disabled > slider { + animation: none; + background-color: #bea6ff; +} + +row:selected switch:checked { + background-color: rgba(68, 1, 255, 0.35); +} + +row:selected switch:checked:disabled { + background-color: rgba(68, 1, 255, 0.2); +} + +row:selected switch:checked > slider { + background-color: #561aff; +} + +/************************* + * Check and Radio items * + *************************/ +.view.content-view.check:not(list), +.content-view .tile check:not(list) { + min-height: 40px; + min-width: 40px; + margin: 0; + padding: 0; + box-shadow: none; + background-color: transparent; + background-image: none; + -gtk-icon-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1); +} + +.view.content-view.check:not(list):hover, .view.content-view.check:not(list):active, +.content-view .tile check:not(list):hover, +.content-view .tile check:not(list):active { + -gtk-icon-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06); +} + +.view.content-view.check:not(list), +.content-view .tile check:not(list) { + -gtk-icon-source: -gtk-scaled(url("assets/selectionmode-checkbox-unchecked.png"), url("assets/selectionmode-checkbox-unchecked@2.png")); +} + +.view.content-view.check:not(list):checked, +.content-view .tile check:not(list):checked { + -gtk-icon-source: -gtk-scaled(url("assets/selectionmode-checkbox-checked.png"), url("assets/selectionmode-checkbox-checked@2.png")); +} + +checkbutton, +radiobutton { + outline: none; +} + +checkbutton.text-button, +radiobutton.text-button { + padding: 2px; + outline-offset: 0; +} + +checkbutton.text-button label:not(:only-child), +radiobutton.text-button label:not(:only-child) { + margin: 0 4px; +} + +row check:selected, +row radio:selected, row check:selected:active, +row radio:selected:active, row check:selected:checked, +row radio:selected:checked, row check:selected:indeterminate, +row radio:selected:indeterminate, row check:selected:focus, +row radio:selected:focus, row check:selected:focus:active, +row radio:selected:focus:active, row check:selected:focus:checked, +row radio:selected:focus:checked, row check:selected:focus:indeterminate, +row radio:selected:focus:indeterminate, treeview.view check:selected, +treeview.view radio:selected, treeview.view check:selected:active, +treeview.view radio:selected:active, treeview.view check:selected:checked, +treeview.view radio:selected:checked, treeview.view check:selected:indeterminate, +treeview.view radio:selected:indeterminate, treeview.view check:selected:focus, +treeview.view radio:selected:focus, treeview.view check:selected:focus:active, +treeview.view radio:selected:focus:active, treeview.view check:selected:focus:checked, +treeview.view radio:selected:focus:checked, treeview.view check:selected:focus:indeterminate, +treeview.view radio:selected:focus:indeterminate, row.activatable check:selected, +row.activatable radio:selected, row.activatable check:selected:active, +row.activatable radio:selected:active, row.activatable check:selected:checked, +row.activatable radio:selected:checked, row.activatable check:selected:indeterminate, +row.activatable radio:selected:indeterminate, row.activatable check:selected:focus, +row.activatable radio:selected:focus, row.activatable check:selected:focus:active, +row.activatable radio:selected:focus:active, row.activatable check:selected:focus:checked, +row.activatable radio:selected:focus:checked, row.activatable check:selected:focus:indeterminate, +row.activatable radio:selected:focus:indeterminate, row checkbutton check:selected, row checkbutton check:selected:active, row checkbutton check:selected:checked, row checkbutton check:selected:indeterminate, row checkbutton check:selected:focus, row checkbutton check:selected:focus:active, row checkbutton check:selected:focus:checked, row checkbutton check:selected:focus:indeterminate, treeview.view checkbutton check:selected, treeview.view checkbutton check:selected:active, treeview.view checkbutton check:selected:checked, treeview.view checkbutton check:selected:indeterminate, treeview.view checkbutton check:selected:focus, treeview.view checkbutton check:selected:focus:active, treeview.view checkbutton check:selected:focus:checked, treeview.view checkbutton check:selected:focus:indeterminate, row.activatable checkbutton check:selected, row.activatable checkbutton check:selected:active, row.activatable checkbutton check:selected:checked, row.activatable checkbutton check:selected:indeterminate, row.activatable checkbutton check:selected:focus, row.activatable checkbutton check:selected:focus:active, row.activatable checkbutton check:selected:focus:checked, row.activatable checkbutton check:selected:focus:indeterminate, row radiobutton radio:selected, row radiobutton radio:selected:active, row radiobutton radio:selected:checked, row radiobutton radio:selected:indeterminate, row radiobutton radio:selected:focus, row radiobutton radio:selected:focus:active, row radiobutton radio:selected:focus:checked, row radiobutton radio:selected:focus:indeterminate, treeview.view radiobutton radio:selected, treeview.view radiobutton radio:selected:active, treeview.view radiobutton radio:selected:checked, treeview.view radiobutton radio:selected:indeterminate, treeview.view radiobutton radio:selected:focus, treeview.view radiobutton radio:selected:focus:active, treeview.view radiobutton radio:selected:focus:checked, treeview.view radiobutton radio:selected:focus:indeterminate, row.activatable radiobutton radio:selected, row.activatable radiobutton radio:selected:active, row.activatable radiobutton radio:selected:checked, row.activatable radiobutton radio:selected:indeterminate, row.activatable radiobutton radio:selected:focus, row.activatable radiobutton radio:selected:focus:active, row.activatable radiobutton radio:selected:focus:checked, row.activatable radiobutton radio:selected:focus:indeterminate { + color: rgba(255, 255, 255, 0.7); +} + +row check:selected:disabled, +row radio:selected:disabled, row check:selected:active:disabled, +row radio:selected:active:disabled, row check:selected:checked:disabled, +row radio:selected:checked:disabled, row check:selected:indeterminate:disabled, +row radio:selected:indeterminate:disabled, row check:selected:focus:disabled, +row radio:selected:focus:disabled, row check:selected:focus:active:disabled, +row radio:selected:focus:active:disabled, row check:selected:focus:checked:disabled, +row radio:selected:focus:checked:disabled, row check:selected:focus:indeterminate:disabled, +row radio:selected:focus:indeterminate:disabled, treeview.view check:selected:disabled, +treeview.view radio:selected:disabled, treeview.view check:selected:active:disabled, +treeview.view radio:selected:active:disabled, treeview.view check:selected:checked:disabled, +treeview.view radio:selected:checked:disabled, treeview.view check:selected:indeterminate:disabled, +treeview.view radio:selected:indeterminate:disabled, treeview.view check:selected:focus:disabled, +treeview.view radio:selected:focus:disabled, treeview.view check:selected:focus:active:disabled, +treeview.view radio:selected:focus:active:disabled, treeview.view check:selected:focus:checked:disabled, +treeview.view radio:selected:focus:checked:disabled, treeview.view check:selected:focus:indeterminate:disabled, +treeview.view radio:selected:focus:indeterminate:disabled, row.activatable check:selected:disabled, +row.activatable radio:selected:disabled, row.activatable check:selected:active:disabled, +row.activatable radio:selected:active:disabled, row.activatable check:selected:checked:disabled, +row.activatable radio:selected:checked:disabled, row.activatable check:selected:indeterminate:disabled, +row.activatable radio:selected:indeterminate:disabled, row.activatable check:selected:focus:disabled, +row.activatable radio:selected:focus:disabled, row.activatable check:selected:focus:active:disabled, +row.activatable radio:selected:focus:active:disabled, row.activatable check:selected:focus:checked:disabled, +row.activatable radio:selected:focus:checked:disabled, row.activatable check:selected:focus:indeterminate:disabled, +row.activatable radio:selected:focus:indeterminate:disabled, row checkbutton check:selected:disabled, row checkbutton check:selected:active:disabled, row checkbutton check:selected:checked:disabled, row checkbutton check:selected:indeterminate:disabled, row checkbutton check:selected:focus:disabled, row checkbutton check:selected:focus:active:disabled, row checkbutton check:selected:focus:checked:disabled, row checkbutton check:selected:focus:indeterminate:disabled, treeview.view checkbutton check:selected:disabled, treeview.view checkbutton check:selected:active:disabled, treeview.view checkbutton check:selected:checked:disabled, treeview.view checkbutton check:selected:indeterminate:disabled, treeview.view checkbutton check:selected:focus:disabled, treeview.view checkbutton check:selected:focus:active:disabled, treeview.view checkbutton check:selected:focus:checked:disabled, treeview.view checkbutton check:selected:focus:indeterminate:disabled, row.activatable checkbutton check:selected:disabled, row.activatable checkbutton check:selected:active:disabled, row.activatable checkbutton check:selected:checked:disabled, row.activatable checkbutton check:selected:indeterminate:disabled, row.activatable checkbutton check:selected:focus:disabled, row.activatable checkbutton check:selected:focus:active:disabled, row.activatable checkbutton check:selected:focus:checked:disabled, row.activatable checkbutton check:selected:focus:indeterminate:disabled, row radiobutton radio:selected:disabled, row radiobutton radio:selected:active:disabled, row radiobutton radio:selected:checked:disabled, row radiobutton radio:selected:indeterminate:disabled, row radiobutton radio:selected:focus:disabled, row radiobutton radio:selected:focus:active:disabled, row radiobutton radio:selected:focus:checked:disabled, row radiobutton radio:selected:focus:indeterminate:disabled, treeview.view radiobutton radio:selected:disabled, treeview.view radiobutton radio:selected:active:disabled, treeview.view radiobutton radio:selected:checked:disabled, treeview.view radiobutton radio:selected:indeterminate:disabled, treeview.view radiobutton radio:selected:focus:disabled, treeview.view radiobutton radio:selected:focus:active:disabled, treeview.view radiobutton radio:selected:focus:checked:disabled, treeview.view radiobutton radio:selected:focus:indeterminate:disabled, row.activatable radiobutton radio:selected:disabled, row.activatable radiobutton radio:selected:active:disabled, row.activatable radiobutton radio:selected:checked:disabled, row.activatable radiobutton radio:selected:indeterminate:disabled, row.activatable radiobutton radio:selected:focus:disabled, row.activatable radiobutton radio:selected:focus:active:disabled, row.activatable radiobutton radio:selected:focus:checked:disabled, row.activatable radiobutton radio:selected:focus:indeterminate:disabled { + color: rgba(255, 255, 255, 0.3); +} + +row check:selected:hover, +row radio:selected:hover, treeview.view check:selected:hover, +treeview.view radio:selected:hover, row checkbutton check:selected:hover, row checkbutton check:selected:focus:hover, treeview.view checkbutton check:selected:hover, treeview.view checkbutton check:selected:focus:hover, row.activatable checkbutton check:selected:hover, row.activatable checkbutton check:selected:focus:hover, row radiobutton radio:selected:hover, row radiobutton radio:selected:focus:hover, treeview.view radiobutton radio:selected:hover, treeview.view radiobutton radio:selected:focus:hover, row.activatable radiobutton radio:selected:hover, row.activatable radiobutton radio:selected:focus:hover { + color: #FFFFFF; +} + +row check:selected:hover:disabled, +row radio:selected:hover:disabled, treeview.view check:selected:hover:disabled, +treeview.view radio:selected:hover:disabled, row checkbutton check:selected:hover:disabled, row checkbutton check:selected:focus:hover:disabled, treeview.view checkbutton check:selected:hover:disabled, treeview.view checkbutton check:selected:focus:hover:disabled, row.activatable checkbutton check:selected:hover:disabled, row.activatable checkbutton check:selected:focus:hover:disabled, row radiobutton radio:selected:hover:disabled, row radiobutton radio:selected:focus:hover:disabled, treeview.view radiobutton radio:selected:hover:disabled, treeview.view radiobutton radio:selected:focus:hover:disabled, row.activatable radiobutton radio:selected:hover:disabled, row.activatable radiobutton radio:selected:focus:hover:disabled { + color: rgba(255, 255, 255, 0.5); +} + +check, +radio { + min-height: 24px; + min-width: 24px; + margin: -7px; + padding: 7px; +} + +check:checked, check:indeterminate, +radio:checked, +radio:indeterminate { + color: #7C4DFF; +} + +check:checked:disabled, check:indeterminate:disabled, +radio:checked:disabled, +radio:indeterminate:disabled { + color: rgba(124, 77, 255, 0.5); +} + +popover modelbutton.flat check, popover modelbutton.flat check:hover, popover modelbutton.flat check:focus, popover modelbutton.flat check:focus:hover, popover modelbutton.flat check:active, popover modelbutton.flat check:disabled, popover modelbutton.flat radio, popover modelbutton.flat radio:hover, popover modelbutton.flat radio:focus, popover modelbutton.flat radio:focus:hover, popover modelbutton.flat radio:active, popover modelbutton.flat radio:disabled { + transition: none; + box-shadow: none; + background-image: none; +} + +popover modelbutton.flat check.left:dir(rtl), popover modelbutton.flat radio.left:dir(rtl) { + margin-left: -12px; + margin-right: -4px; +} + +popover modelbutton.flat check.right:dir(ltr), popover modelbutton.flat radio.right:dir(ltr) { + margin-left: -4px; + margin-right: -12px; +} + +popover.menu modelbutton check, popover.menu modelbutton radio { + transition: none; + margin: 0; + padding: 0; +} + +popover.menu modelbutton check:dir(ltr), popover.menu modelbutton radio:dir(ltr) { + margin-right: 8px; +} + +popover.menu modelbutton check:dir(rtl), popover.menu modelbutton radio:dir(rtl) { + margin-left: 8px; +} + +popover.menu modelbutton check:not(:checked):not(:indeterminate):not(:disabled), popover.menu modelbutton radio:not(:checked):not(:indeterminate):not(:disabled) { + color: rgba(0, 0, 0, 0.54); +} + +popover.menu modelbutton check, popover.menu modelbutton check:hover, popover.menu modelbutton check:disabled, popover.menu modelbutton radio, popover.menu modelbutton radio:hover, popover.menu modelbutton radio:disabled { + box-shadow: none; +} + + +check { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/checkbox-unchecked-symbolic.svg")); +} + + +check:checked { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/checkbox-checked-symbolic.svg")); +} + + +check:indeterminate { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/checkbox-mixed-symbolic.svg")); +} + + +radio { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/radio-unchecked-symbolic.svg")); +} + + +radio:checked { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/radio-checked-symbolic.svg")); +} + + +radio:indeterminate { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/radio-mixed-symbolic.svg")); +} + + +popover.menu modelbutton check { + min-height: 16px; + min-width: 16px; + border-radius: 7px; + -gtk-icon-source: -gtk-recolor(url("assets/scalable/small-checkbox-unchecked-symbolic.svg")); +} + + +popover.menu modelbutton check:checked { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/small-checkbox-checked-symbolic.svg")); +} + + +popover.menu modelbutton check:indeterminate { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/small-checkbox-mixed-symbolic.svg")); +} + + +popover.menu modelbutton radio { + min-height: 16px; + min-width: 16px; + border-image: none; + -gtk-icon-source: -gtk-recolor(url("assets/scalable/small-radio-unchecked-symbolic.svg")); +} + + +popover.menu modelbutton radio:checked { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/small-radio-checked-symbolic.svg")); +} + + +popover.menu modelbutton radio:indeterminate { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/small-radio-mixed-symbolic.svg")); +} + +check:not(:checked):active { + -gtk-icon-transform: rotate(90deg); +} + +check:not(:checked):indeterminate:active, +radio:not(:checked):indeterminate:active { + -gtk-icon-transform: scaleX(-1); +} + +check:not(:checked), +radio:not(:checked) { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1), background-size 300ms cubic-bezier(0, 0, 0.2, 1), background-image 600ms cubic-bezier(0, 0, 0.2, 1), -gtk-icon-transform 0; +} + +check:not(:checked):active, +radio:not(:checked):active { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1), background-size 0, background-image 0, -gtk-icon-transform 0; +} + +popover.menu modelbutton check:not(:checked), popover.menu modelbutton radio:not(:checked) { + transition: none; +} + +treeview.view check, +treeview.view radio { + padding: 0; +} + +treeview.view check:hover, +treeview.view radio:hover { + box-shadow: inset 0 0 0 9999px alpha(rgba(0, 0, 0, 0.75), 0.05); +} + +treeview.view check:hover:disabled, +treeview.view radio:hover:disabled { + box-shadow: none; +} + +treeview.view check:hover:selected, +treeview.view radio:hover:selected { + box-shadow: inset 0 0 0 9999px alpha(#FFFFFF, 0.05); +} + +treeview.view check, +treeview.view radio { + color: rgba(0, 0, 0, 0.55); +} + +treeview.view check:hover, treeview.view check:active, +treeview.view radio:hover, +treeview.view radio:active { + color: rgba(0, 0, 0, 0.75); +} + +treeview.view check:disabled, +treeview.view radio:disabled { + color: rgba(0, 0, 0, 0.26); +} + +treeview.view check:checked, treeview.view check:indeterminate, +treeview.view radio:checked, +treeview.view radio:indeterminate { + color: #7C4DFF; +} + +treeview.view check:checked:disabled, treeview.view check:indeterminate:disabled, +treeview.view radio:checked:disabled, +treeview.view radio:indeterminate:disabled { + color: rgba(124, 77, 255, 0.5); +} + +treeview.view radio:checked { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/radio-checked-symbolic.svg")); + border-image: none; +} + +/************ + * GtkScale * + ************/ +scale { + min-height: 0px; + min-width: 0px; + padding: 16px; +} + +scale > trough { + transition: background-color 100ms cubic-bezier(0, 0, 0.2, 1); + outline: none; + background-color: rgba(0, 0, 0, 0.2); +} + +scale > trough:disabled { + background-color: rgba(0, 0, 0, 0.08); +} + +scale > trough > slider { + min-height: 32px; + min-width: 32px; + margin: -15px; +} + +scale > trough > highlight { + transition: background-color 100ms cubic-bezier(0, 0, 0.2, 1); + background-color: #7C4DFF; +} + +scale > trough > highlight:disabled { + background-color: transparent; +} + +scale > trough > fill { + transition: background-color 100ms cubic-bezier(0, 0, 0.2, 1); + background-color: rgba(0, 0, 0, 0.2); +} + +scale > trough > fill:disabled { + background-color: transparent; +} + +scale > trough > slider { + transition: background-color 100ms cubic-bezier(0, 0, 0.2, 1), background-size 300ms cubic-bezier(0, 0, 0.2, 1), background-image 600ms cubic-bezier(0, 0, 0.2, 1); + background-repeat: no-repeat; + background-position: center; + background-size: auto, 1000% 1000%; + border-radius: 50%; + color: transparent; +} + +scale > trough > slider { + background-image: -gtk-scaled(url("assets/scale-slider.png"), url("assets/scale-slider@2.png")); +} + +scale > trough > slider:disabled { + background-image: -gtk-scaled(url("assets/scale-slider-disabled.png"), url("assets/scale-slider-disabled@2.png")); +} + +scale > trough > slider:hover { + background-color: rgba(124, 77, 255, 0.08); +} + +scale > trough > slider:focus { + background-color: rgba(124, 77, 255, 0.12); +} + +scale > trough > slider:focus:hover { + background-color: rgba(124, 77, 255, 0.16); +} + +scale > trough > slider:active { + transition: background-color 100ms cubic-bezier(0, 0, 0.2, 1), background-size 0, background-image 0; + animation: scale_ripple_effect 225ms cubic-bezier(0, 0, 0.2, 1) forwards; + background-size: auto, 0% 0%; + background-color: rgba(124, 77, 255, 0.08); + color: rgba(124, 77, 255, 0.12); +} + +scale.fine-tune slider { + background-size: calc(100% - 12px); +} + +scale > marks label, +scale > value { + color: rgba(0, 0, 0, 0.38); +} + +scale > marks { + color: rgba(0, 0, 0, 0.2); +} + +scale > marks.top { + margin-bottom: 7px; + margin-top: -15px; +} + +scale > marks.bottom { + margin-top: 7px; + margin-bottom: -15px; +} + +scale > marks.left { + margin-right: 7px; + margin-left: -15px; +} + +scale > marks.right { + margin-left: 7px; + margin-right: -15px; +} + +scale.fine-tune marks.top { + margin-bottom: 6px; + margin-top: -14px; +} + +scale.fine-tune marks.bottom { + margin-top: 6px; + margin-bottom: -14px; +} + +scale.fine-tune marks.left { + margin-right: 6px; + margin-left: -14px; +} + +scale.fine-tune marks.right { + margin-left: 6px; + margin-right: -14px; +} + +scale.horizontal indicator { + min-height: 8px; + min-width: 1px; +} + +scale.vertical indicator { + min-height: 1px; + min-width: 8px; +} + +scale.horizontal.marks-before:not(.marks-after) slider { + background-image: -gtk-scaled(url("assets/scale-horz-marks-before-slider.png"), url("assets/scale-horz-marks-before-slider@2.png")); +} + +scale.horizontal.marks-before:not(.marks-after) slider:disabled { + background-image: -gtk-scaled(url("assets/scale-horz-marks-before-slider-disabled.png"), url("assets/scale-horz-marks-before-slider-disabled@2.png")); +} + +scale.horizontal.marks-after:not(.marks-before) slider { + background-image: -gtk-scaled(url("assets/scale-horz-marks-after-slider.png"), url("assets/scale-horz-marks-after-slider@2.png")); +} + +scale.horizontal.marks-after:not(.marks-before) slider:disabled { + background-image: -gtk-scaled(url("assets/scale-horz-marks-after-slider-disabled.png"), url("assets/scale-horz-marks-after-slider-disabled@2.png")); +} + +scale.vertical.marks-before:not(.marks-after) slider { + background-image: -gtk-scaled(url("assets/scale-vert-marks-before-slider.png"), url("assets/scale-vert-marks-before-slider@2.png")); +} + +scale.vertical.marks-before:not(.marks-after) slider:disabled { + background-image: -gtk-scaled(url("assets/scale-vert-marks-before-slider-disabled.png"), url("assets/scale-vert-marks-before-slider-disabled@2.png")); +} + +scale.vertical.marks-after:not(.marks-before) slider { + background-image: -gtk-scaled(url("assets/scale-vert-marks-after-slider.png"), url("assets/scale-vert-marks-after-slider@2.png")); +} + +scale.vertical.marks-after:not(.marks-before) slider:disabled { + background-image: -gtk-scaled(url("assets/scale-vert-marks-after-slider-disabled.png"), url("assets/scale-vert-marks-after-slider-disabled@2.png")); +} + +scale.color { + min-height: 0; + min-width: 0; +} + +scale.color.horizontal { + padding: 0 0 12px 0; +} + +scale.color.horizontal slider:dir(ltr), scale.color.horizontal slider:dir(rtl) { + margin-bottom: -16px; + margin-top: -6px; +} + +scale.color.vertical:dir(ltr) { + padding: 0 0 0 12px; +} + +scale.color.vertical:dir(ltr) slider { + margin-left: -16px; + margin-right: -6px; +} + +scale.color.vertical:dir(rtl) { + padding: 0 12px 0 0; +} + +scale.color.vertical:dir(rtl) slider { + margin-right: -16px; + margin-left: -6px; +} + +/***************** + * Progress bars * + *****************/ +progressbar { + color: rgba(0, 0, 0, 0.38); + font-size: smaller; +} + +progressbar.horizontal > trough { + min-width: 150px; +} + +progressbar.horizontal > trough, progressbar.horizontal > trough > progress { + min-height: 4px; +} + +progressbar.vertical > trough { + min-height: 80px; +} + +progressbar.vertical > trough, progressbar.vertical > trough > progress { + min-width: 4px; +} + +progressbar > trough { + border-radius: 9999px; + background-color: rgba(93, 125, 251, 0.3); +} + +progressbar > trough > progress { + border-radius: 9999px; + background-color: #5D7DFB; + background-image: linear-gradient(to left, #BA68C8, #7E57C2); + background-size: auto auto; + background-position: center center; + background-repeat: no-repeat; +} + +progressbar.osd { + min-width: 3px; + min-height: 3px; + background-color: transparent; +} + +progressbar.osd > trough { + border-style: none; + border-radius: 0; + background-color: transparent; + box-shadow: none; +} + +progressbar.osd > trough > progress { + border-style: none; + border-radius: 0; +} + +progressbar trough.empty progress { + all: unset; +} + +/************* + * Level Bar * + *************/ +levelbar.horizontal block { + min-height: 4px; +} + +levelbar.horizontal.discrete block { + min-width: 32px; +} + +levelbar.horizontal.discrete block:not(:last-child) { + margin-right: 2px; +} + +levelbar.vertical > trough > block { + min-width: 4px; +} + +levelbar.vertical.discrete block { + min-height: 32px; +} + +levelbar.vertical.discrete block:not(:last-child) { + margin-bottom: 2px; +} + +levelbar > trough { + padding: 2px; + border-radius: 5px; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1); + background-color: #FFFFFF; +} + +levelbar > trough:disabled { + background-color: #eaeaf4; +} + +levelbar > trough > block.low { + background-color: #FF6D00; +} + +levelbar > trough > block.high, levelbar > trough > block:not(.empty) { + background-color: #5657f5; +} + +levelbar > trough > block.full { + background-color: #00C853; +} + +levelbar > trough > block.empty { + background-color: rgba(0, 0, 0, 0.08); +} + +/**************** + * Print dialog * +*****************/ +window.dialog.print drawing { + color: rgba(0, 0, 0, 0.75); + background: none; + border: none; + padding: 0; +} + +window.dialog.print drawing paper { + padding: 0; + border: 1px solid rgba(0, 0, 0, 0.08); + background-color: #FFFFFF; + color: rgba(0, 0, 0, 0.75); +} + +window.dialog.print .dialog-action-box { + margin: 12px; +} + +/********** + * Frames * + **********/ +frame, +.frame { + margin: 0; + padding: 0; + border: 1px solid rgba(0, 0, 0, 0.08); + border-radius: 0; + box-shadow: none; +} + +frame.flat, +.frame.flat { + border-style: none; +} + +frame.flat > border { + border-style: none; +} + +frame { + border-radius: 8px; +} + +frame > label { + margin: 4px; +} + +actionbar > revealer > box { + padding: 4px; + border-top: 1px solid rgba(0, 0, 0, 0.08); +} + +actionbar > revealer > box .linked > button { + border-radius: 7px; +} + +overshoot.top { + background-image: radial-gradient(farthest-side at top, rgba(0, 0, 0, 0.08) 85%, rgba(0, 0, 0, 0)), radial-gradient(farthest-side at top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)); + background-size: 100% 3%, 100% 50%; + background-repeat: no-repeat; + background-position: top; + background-color: transparent; + border: none; + box-shadow: none; +} + +overshoot.bottom { + background-image: radial-gradient(farthest-side at bottom, rgba(0, 0, 0, 0.08) 85%, rgba(0, 0, 0, 0)), radial-gradient(farthest-side at bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)); + background-size: 100% 3%, 100% 50%; + background-repeat: no-repeat; + background-position: bottom; + background-color: transparent; + border: none; + box-shadow: none; +} + +overshoot.left { + background-image: radial-gradient(farthest-side at left, rgba(0, 0, 0, 0.08) 85%, rgba(0, 0, 0, 0)), radial-gradient(farthest-side at left, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)); + background-size: 3% 100%, 50% 100%; + background-repeat: no-repeat; + background-position: left; + background-color: transparent; + border: none; + box-shadow: none; +} + +overshoot.right { + background-image: radial-gradient(farthest-side at right, rgba(0, 0, 0, 0.08) 85%, rgba(0, 0, 0, 0)), radial-gradient(farthest-side at right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)); + background-size: 3% 100%, 50% 100%; + background-repeat: no-repeat; + background-position: right; + background-color: transparent; + border: none; + box-shadow: none; +} + +undershoot.top { + background-color: transparent; + background-image: linear-gradient(to left, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.2) 50%); + padding-top: 1px; + background-size: 12px 1px; + background-repeat: repeat-x; + background-origin: content-box; + background-position: left top; +} + +undershoot.bottom { + background-color: transparent; + background-image: linear-gradient(to left, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.2) 50%); + padding-bottom: 1px; + background-size: 12px 1px; + background-repeat: repeat-x; + background-origin: content-box; + background-position: left bottom; +} + +undershoot.left { + background-color: transparent; + background-image: linear-gradient(to top, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.2) 50%); + padding-left: 1px; + background-size: 1px 12px; + background-repeat: repeat-y; + background-origin: content-box; + background-position: left top; +} + +undershoot.right { + background-color: transparent; + background-image: linear-gradient(to top, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.2) 50%); + padding-right: 1px; + background-size: 1px 12px; + background-repeat: repeat-y; + background-origin: content-box; + background-position: right top; +} + +junction { + border-style: solid none none solid; + border-width: 1px; + border-color: rgba(0, 0, 0, 0.08); + background-color: #FFFFFF; +} + +junction:dir(rtl) { + border-style: solid solid none none; +} + +separator { + min-width: 1px; + min-height: 1px; + background-color: rgba(0, 0, 0, 0.08); +} + + +button.font separator, +button.file separator { + min-width: 0; + min-height: 0; + background-color: transparent; +} + +/********* + * Lists * + *********/ +listview, +list { + border-color: rgba(0, 0, 0, 0.08); + background-color: #FFFFFF; +} + +listview row, +list row { + padding: 2px; +} + +columnview.view > header > button, +treeview.view > header > button, row.activatable { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1), background-color 0, color 0; + box-shadow: inset 0 0 0 9999px transparent; +} + +columnview.view > header > button:hover, +treeview.view > header > button:hover, row.activatable:hover { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1), background-color 0, color 0, box-shadow 0; + box-shadow: inset 0 0 0 9999px alpha(currentColor, 0.05); +} + +columnview.view > header > button.has-open-popup, +treeview.view > header > button.has-open-popup, columnview.view > header > button:active, +treeview.view > header > button:active, row.activatable.has-open-popup, row.activatable:active { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1), background-color 0, color 0; + box-shadow: inset 0 0 0 9999px alpha(currentColor, 0.3); + background-size: 0% 0%; +} + +row button.circular { + margin: 0 4px; +} + +columnview > listview > row { + padding: 0; +} + +columnview > listview > row > cell { + padding: 8px 6px; +} + +columnview > listview > row > cell:not(:first-child) { + border-left: 1px solid transparent; +} + +columnview.column-separators > listview > row > cell { + border-left-color: #dadaeb; +} + +columnview.data-table > listview > row > cell { + padding-top: 2px; + padding-bottom: 2px; +} + +treeexpander { + border-spacing: 4px; +} + +.rich-list { + /* rich lists usually containing other widgets than just labels/text */ +} + +.rich-list > row { + padding: 8px 12px; + min-height: 32px; + /* should be tall even when only containing a label */ +} + +.rich-list > row > box { + border-spacing: 12px; +} + +/********************* + * App Notifications * + *********************/ +.app-notification { + margin: 8px; +} + +.app-notification.frame, +.app-notification border { + border-style: none; +} + +/************* + * Expanders * + *************/ +expander { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1); + min-width: 16px; + min-height: 16px; + -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); + -gtk-icon-transform: rotate(-90deg); + color: rgba(0, 0, 0, 0.55); +} + +expander:dir(rtl) { + -gtk-icon-transform: rotate(90deg); +} + +expander:checked { + -gtk-icon-transform: unset; +} + +expander:hover, expander:active { + color: rgba(0, 0, 0, 0.75); +} + +expander:disabled { + color: rgba(0, 0, 0, 0.26); +} + +expander:selected { + color: rgba(255, 255, 255, 0.7); +} + +expander:selected:hover, expander:selected:active { + color: #FFFFFF; +} + +expander:selected:disabled { + color: rgba(255, 255, 255, 0.3); +} + +/************ + * Calendar * + ************/ +calendar { + color: rgba(0, 0, 0, 0.55); + border: 1px solid rgba(0, 0, 0, 0.08); +} + +calendar > header { + border-bottom: 1px solid rgba(0, 0, 0, 0.08); +} + +calendar > header > button { + border: none; + box-shadow: none; + background: none; + border-radius: 0; +} + +calendar > header > button:backdrop { + background: none; +} + +calendar > grid > label { + border-radius: 3px; +} + +calendar > grid > label.today { + background-color: rgba(0, 0, 0, 0.15); +} + +calendar > grid > label.day-number { + padding: 4px; +} + +calendar > grid > label.day-number:selected { + border-radius: 3px; +} + +calendar > grid > label.day-number.other-month { + color: alpha(currentColor, 0.3); +} + +/*********** + * Dialogs * + ***********/ +window.dialog.message { + color: rgba(255, 255, 255, 0.8); +} + +window.dialog.message.background { + background-color: rgba(63, 63, 63, 0.95); +} + +window.dialog.message .titlebar { + min-height: 20px; + border-style: none; + box-shadow: inset 0 1px rgba(255, 255, 255, 0); + background-color: rgba(63, 63, 63, 0.95); + color: rgba(255, 255, 255, 0.8); + border-top-left-radius: 7px; + border-top-right-radius: 7px; +} + +window.dialog.message .titlebar:backdrop { + color: rgba(255, 255, 255, 0.3); +} + +window.dialog.message list, window.dialog.message row, window.dialog.message .view, window.dialog.message textview.view > text { + color: rgba(255, 255, 255, 0.8); + background-color: #373737; + border-color: rgba(255, 255, 255, 0.12); +} + +window.dialog.message .linked:not(.vertical).dialog-action-area > button { + padding: 4px 12px; + border-top: 1px solid rgba(0, 0, 0, 0.08); + border-radius: 0; + color: rgba(255, 255, 255, 0.8); +} + +window.dialog.message .linked:not(.vertical).dialog-action-area > button:first-child { + border-bottom-left-radius: 0; + border-top-left-radius: 0; +} + +window.dialog.message .linked:not(.vertical).dialog-action-area > button:last-child { + border-bottom-right-radius: 0; + border-top-right-radius: 0; +} + +window.dialog.message .linked:not(.vertical).dialog-action-area > button.suggested-action, window.dialog.message .linked:not(.vertical).dialog-action-area > button.suggested-action:hover { + color: #7C4DFF; +} + +window.dialog.message .linked:not(.vertical).dialog-action-area > button.suggested-action:active, window.dialog.message .linked:not(.vertical).dialog-action-area > button.suggested-action:checked { + background-color: #7C4DFF; + color: white; + border-color: #7C4DFF; + box-shadow: none; +} + +window.dialog.message .linked:not(.vertical).dialog-action-area > button.suggested-action:disabled { + opacity: 0.65; +} + +window.dialog.message .linked:not(.vertical).dialog-action-area > button.destructive-action, window.dialog.message .linked:not(.vertical).dialog-action-area > button.destructive-action:hover { + color: #FF5252; +} + +window.dialog.message .linked:not(.vertical).dialog-action-area > button.destructive-action:active, window.dialog.message .linked:not(.vertical).dialog-action-area > button.destructive-action:checked { + background-color: #FF5252; + color: white; + border-color: #FF5252; + box-shadow: none; +} + +window.dialog.message .linked:not(.vertical).dialog-action-area > button.destructive-action:disabled { + opacity: 0.65; +} + +window.dialog.message.csd { + color: rgba(255, 255, 255, 0.8); +} + +window.dialog.message.csd.background { + border-bottom-left-radius: 7px; + border-bottom-right-radius: 7px; +} + +window.dialog.message.csd .linked:not(.vertical).dialog-action-area > button { + padding: 8px 16px; + border-top: 1px solid rgba(0, 0, 0, 0.08); + border-radius: 0; + color: rgba(255, 255, 255, 0.8); +} + +window.dialog.message.csd .linked:not(.vertical).dialog-action-area > button:first-child { + border-bottom-left-radius: 7px; + border-top-left-radius: 0; +} + +window.dialog.message.csd .linked:not(.vertical).dialog-action-area > button:last-child { + border-bottom-right-radius: 7px; + border-top-right-radius: 0; +} + +window.dialog.message entry { + color: rgba(255, 255, 255, 0.8); +} + +window.dialog.message expander title > arrow { + color: rgba(255, 255, 255, 0.7); +} + +window.dialog.message expander title > arrow:hover, window.dialog.message expander title > arrow:active { + color: #FFFFFF; +} + +window.dialog.message expander title > arrow:disabled { + color: rgba(255, 255, 255, 0.3); +} + +.background.csd filechooser, .background.csd filechooser placessidebar { + background: none; + border-radius: 0 0 13px 13px; +} + +.background.csd filechooser list, .background.csd filechooser placessidebar list { + background-color: transparent; +} + +.maximized filechooser placessidebar { + border-radius: 0; +} + +filechooser stack.view { + background-color: transparent; +} + +filechooser stack.view scrolledwindow { + background-color: #FFFFFF; + border-radius: 0 0 13px 13px; +} + +filechooser stack.view scrolledwindow treeview.view { + background-color: transparent; +} + +filechooser .dialog-action-box { + border-top: 1px solid rgba(0, 0, 0, 0.08); +} + +filechooser #pathbarbox { + border-bottom: 1px solid rgba(0, 0, 0, 0.08); + background-color: #f4f4f9; +} + +filechooserbutton > button > box { + border-spacing: 6px; +} + +filechooserbutton:drop(active) { + box-shadow: none; +} + +/*********** + * Sidebar * + ***********/ +stacksidebar .frame list:dir(ltr) { + box-shadow: inset -2px 0 3px -3px rgba(0, 0, 0, 0.05), inset -3px 0 5px -3px rgba(0, 0, 0, 0.05), inset -3px 0 10px -3px rgba(0, 0, 0, 0.03); +} + +stacksidebar .frame list:dir(rtl) { + box-shadow: inset 2px 0 3px -3px rgba(0, 0, 0, 0.05), inset 3px 0 5px -3px rgba(0, 0, 0, 0.05), inset 3px 0 10px -3px rgba(0, 0, 0, 0.03); +} + +.sidebar { + border-style: none; + background-color: #f4f4f9; +} + +.sidebar:dir(ltr), .sidebar.left, .sidebar.left:dir(rtl) { + border-right: 1px solid #dadaeb; + border-left-style: none; +} + +.sidebar:dir(rtl), .sidebar.right { + border-left: 1px solid #dadaeb; + border-right-style: none; +} + +.sidebar listview.view, +.sidebar list { + background-color: transparent; +} + +paned .sidebar.left, paned .sidebar.right, paned .sidebar.left:dir(rtl), paned .sidebar:dir(rtl), paned .sidebar:dir(ltr), paned .sidebar { + border-style: none; +} + +stacksidebar list.separators:not(.horizontal) > row:not(.separator) { + border-bottom: none; +} + +stacksidebar row { + padding: 10px 4px; +} + +stacksidebar row > label { + padding-left: 6px; + padding-right: 6px; +} + +.navigation-sidebar { + padding: 4px 0; +} + +.navigation-sidebar > separator { + margin: 4px; +} + +.navigation-sidebar > row { + min-height: 28px; + padding: 0 4px; + border-radius: 8px; + margin: 0 4px 2px; +} + +.navigation-sidebar > row:hover, .navigation-sidebar > row:focus-visible:focus-within { + color: rgba(0, 0, 0, 0.75); + background-color: rgba(0, 0, 0, 0.06); +} + +.navigation-sidebar > row:selected { + color: rgba(0, 0, 0, 0.75); + background-color: rgba(0, 0, 0, 0.08); +} + +.navigation-sidebar > row:selected label { + color: rgba(0, 0, 0, 0.75); +} + +.navigation-sidebar > row:selected:hover { + background-color: rgba(0, 0, 0, 0.12); +} + +.navigation-sidebar > row:selected:focus-visible:focus-within { + outline-width: 0; + color: #FFFFFF; + background-color: #5657f5; +} + +.navigation-sidebar > row:selected:focus-visible:focus-within:hover { + background-color: #8687f8; +} + +.navigation-sidebar > row:disabled { + color: rgba(0, 0, 0, 0.26); +} + +/**************** + * File chooser * + ****************/ +row image.sidebar-icon { + color: rgba(0, 0, 0, 0.55); +} + +row:selected image.sidebar-icon { + color: rgba(255, 255, 255, 0.7); +} + +placessidebar > viewport.frame { + border-style: none; +} + +placessidebar list { + padding: 1px 0 4px; +} + +placessidebar .navigation-sidebar > row { + min-height: 32px; + margin: -1px 4px -1px 0; + padding: 0; + border-radius: 0 7px 7px 0; +} + +placessidebar .navigation-sidebar > row > revealer { + padding: 0 12px; +} + +placessidebar .navigation-sidebar > row:selected { + background-color: rgba(0, 0, 0, 0.06); + color: #5657f5; +} + +placessidebar .navigation-sidebar > row:selected image.sidebar-icon, placessidebar .navigation-sidebar > row:selected label.sidebar-label { + color: #5657f5; +} + +placessidebar .navigation-sidebar > row:disabled { + color: rgba(0, 0, 0, 0.38); +} + +placessidebar .navigation-sidebar > row image.sidebar-icon:dir(ltr) { + padding-right: 8px; +} + +placessidebar .navigation-sidebar > row image.sidebar-icon:dir(rtl) { + padding-left: 8px; +} + +placessidebar .navigation-sidebar > row label.sidebar-label:dir(ltr) { + padding-right: 2px; +} + +placessidebar .navigation-sidebar > row label.sidebar-label:dir(rtl) { + padding-left: 2px; +} + +placessidebar .navigation-sidebar > row.sidebar-placeholder-row { + min-height: 2px; + padding: 0 8px; + background-image: image(#7C4DFF); + background-clip: content-box; +} + +placessidebar .navigation-sidebar > row.sidebar-new-bookmark-row, placessidebar .navigation-sidebar > row.sidebar-new-bookmark-row image.sidebar-icon { + color: #7C4DFF; +} + +placessidebar .navigation-sidebar > row:drop(active):not(:disabled) { + box-shadow: inset 0 0 0 2px #7C4DFF; +} + +placesview .server-list-button > image { + -gtk-icon-transform: rotate(0turn); +} + +placesview .server-list-button:checked > image { + -gtk-icon-transform: rotate(-0.5turn); +} + +placesview > actionbar > revealer > box > label { + padding-left: 8px; + padding-right: 8px; +} + +/********* + * Paned * + *********/ +paned > separator { + min-width: 1px; + min-height: 1px; + -gtk-icon-source: none; + border-style: none; + background-color: transparent; + background-image: image(rgba(0, 0, 0, 0.08)); + background-size: 1px 1px; + background-clip: content-box; +} + +paned > separator.wide { + min-width: 6px; + min-height: 6px; + background-color: #f4f4f9; + background-image: image(rgba(0, 0, 0, 0.08)), image(rgba(0, 0, 0, 0.08)); + background-size: 1px 1px, 1px 1px; +} + +paned.horizontal > separator { + background-repeat: repeat-y; +} + +paned.horizontal > separator:dir(ltr) { + margin: 0 -8px 0 0; + padding: 0 8px 0 0; + background-position: left; +} + +paned.horizontal > separator:dir(rtl) { + margin: 0 0 0 -8px; + padding: 0 0 0 8px; + background-position: right; +} + +paned.horizontal > separator.wide { + margin: 0; + padding: 0; + background-repeat: repeat-y, repeat-y; + background-position: left, right; +} + +paned.vertical > separator { + margin: 0 0 -8px 0; + padding: 0 0 8px 0; + background-repeat: repeat-x; + background-position: top; +} + +paned.vertical > separator.wide { + margin: 0; + padding: 0; + background-repeat: repeat-x, repeat-x; + background-position: bottom, top; +} + +video { + background: black; +} + +video image.osd { + min-width: 64px; + min-height: 64px; + border-radius: 9999px; +} + +/************** + * GtkInfoBar * + **************/ +infobar { + border-style: none; +} + +infobar.info { + background-color: #66BB6A; +} + +infobar.question { + background-color: #42A5F5; +} + +infobar.warning { + background-color: #FFA726; +} + +infobar.error { + background-color: #EF5350; +} + +infobar.info > label, infobar.info, infobar.question > label, infobar.question, infobar.warning > label, infobar.warning, infobar.error > label, infobar.error { + color: #FFFFFF; +} + +/************ + * Tooltips * + ************/ +tooltip { + border-radius: 8px; + box-shadow: none; +} + +tooltip.background.csd { + border-radius: 8px; + box-shadow: inset 0 1px rgba(255, 255, 255, 0); + background-color: rgba(63, 63, 63, 0.9); + color: rgba(255, 255, 255, 0.8); +} + +tooltip label { + min-height: 20px; + padding: 0 2px; +} + +tooltip > box { + border-spacing: 6px; +} + +/***************** + * Color Chooser * + *****************/ +colorswatch.top { + border-top-left-radius: 5.5px; + border-top-right-radius: 5.5px; +} + +colorswatch.top overlay { + border-top-left-radius: 5px; + border-top-right-radius: 5px; +} + +colorswatch.bottom { + border-bottom-left-radius: 5.5px; + border-bottom-right-radius: 5.5px; +} + +colorswatch.bottom overlay { + border-bottom-left-radius: 5px; + border-bottom-right-radius: 5px; +} + +colorswatch.left, colorswatch:first-child:not(.top) { + border-top-left-radius: 5.5px; + border-bottom-left-radius: 5.5px; +} + +colorswatch.left overlay, colorswatch:first-child:not(.top) overlay { + border-top-left-radius: 5px; + border-bottom-left-radius: 5px; +} + +colorswatch.right, colorswatch:last-child:not(.bottom) { + border-top-right-radius: 5.5px; + border-bottom-right-radius: 5.5px; +} + +colorswatch.right overlay, colorswatch:last-child:not(.bottom) overlay { + border-top-right-radius: 5px; + border-bottom-right-radius: 5px; +} + +colorswatch.dark { + color: #FFFFFF; +} + +colorswatch.light { + color: rgba(0, 0, 0, 0.87); +} + +colorswatch:drop(active) { + box-shadow: none; +} + +colorswatch:drop(active).light overlay { + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1), 0 0 0 2px #7C4DFF; +} + +colorswatch:drop(active).dark overlay { + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1), 0 0 0 2px #7C4DFF; +} + +colorswatch overlay { + transition: box-shadow 100ms cubic-bezier(0, 0, 0.2, 1); + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1); +} + +colorswatch overlay:hover { + box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06); +} + +colorswatch#add-color-button { + border-radius: 5px 5px 0 0; + color: #FFFFFF; +} + +colorswatch#add-color-button:only-child { + border-radius: 5px; +} + +colorswatch#add-color-button overlay { + background-image: linear-gradient(to right, #EF5350 25%, #FFA726 25%, #FFA726 50%, #66BB6A 50%, #66BB6A 75%, #42A5F5 75%); +} + +colorswatch:disabled { + opacity: 0.5; +} + +colorswatch:disabled overlay { + box-shadow: none; +} + +colorswatch#editor-color-sample { + border-radius: 5.5px; +} + +colorswatch#editor-color-sample overlay { + border-radius: 5px; +} + +colorchooser .popover.osd { + transition: box-shadow 100ms cubic-bezier(0, 0, 0.2, 1); + border-radius: 7px; + box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06), inset 0 1px rgba(255, 255, 255, 0.4); + background-color: #FFFFFF; +} + +colorchooser .popover.osd:backdrop { + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1), inset 0 1px rgba(255, 255, 255, 0.4); +} + +/******** + * Misc * + ********/ +.content-view { + background-color: #f4f4f9; +} + +/********************** + * Window Decorations * + **********************/ +window { + border: none; +} + +window.csd { + transition: box-shadow 100ms cubic-bezier(0, 0, 0.2, 1); + border-radius: 13px; + box-shadow: 0 14px 14px rgba(0, 0, 0, 0.25), 0 10px 5px rgba(0, 0, 0, 0.22), 0 16px 16px transparent; + margin: 0; +} + +window.csd:backdrop { + box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06), 0 16px 16px transparent; +} + +window.csd.popup { + border-radius: 13px; + box-shadow: 0 14px 14px rgba(0, 0, 0, 0.25), 0 10px 5px rgba(0, 0, 0, 0.22); +} + +window.csd.dialog.message { + border-radius: 13px; + box-shadow: 0 14px 14px rgba(0, 0, 0, 0.25), 0 10px 5px rgba(0, 0, 0, 0.22); +} + +window.csd.solid-csd { + margin: 0; + border: none; + border-radius: 0; + box-shadow: inset 0 1px rgba(255, 255, 255, 0.4); + background-color: #FFFFFF; +} + +.maximized window, .fullscreen window, .tiled window, .tiled-top window, .tiled-right window, .tiled-bottom window, .tiled-left window { + border-radius: 0; +} + +.popup window { + box-shadow: none; +} + +.ssd window { + box-shadow: 0 3px 3px rgba(0, 0, 0, 0.16); +} + +/***************** + * Title buttons * + *****************/ +headerbar { + padding: 0 14px; +} + +headerbar windowcontrols { + border-spacing: 6px; +} + +headerbar windowcontrols:not(.empty).start:dir(ltr), headerbar windowcontrols:not(.empty).end:dir(rtl) { + margin-right: 4px; +} + +headerbar windowcontrols:not(.empty).start:dir(rtl), headerbar windowcontrols:not(.empty).end:dir(ltr) { + margin-left: 4px; +} + +headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).maximize, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).minimize { + min-width: 12px; + min-height: 12px; + padding: 0; + margin: 0 2px; + color: transparent; + background-color: rgba(0, 0, 0, 0.26); +} + +headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close:hover, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close:backdrop:hover, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).maximize:hover, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).maximize:backdrop:hover, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).minimize:hover, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).minimize:backdrop:hover { + color: rgba(0, 0, 0, 0.54); +} + +headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close:active, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close:checked, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close:backdrop:active, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close:backdrop:checked, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).maximize:active, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).maximize:checked, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).maximize:backdrop:active, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).maximize:backdrop:checked, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).minimize:active, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).minimize:checked, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).minimize:backdrop:active, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).minimize:backdrop:checked { + color: rgba(0, 0, 0, 0.75); +} + +headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close:backdrop, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).maximize:backdrop, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).minimize:backdrop { + color: transparent; + background-color: rgba(0, 0, 0, 0.12); +} + +headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close { + transition: background-size 0, background-image 0, box-shadow 100ms cubic-bezier(0, 0, 0.2, 1); +} + +headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close:hover { + padding: 2px; + margin: -2px 0; + background-color: #EF5350; + color: rgba(255, 255, 255, 0.7); + box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06); +} + +headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close:active, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close:checked { + padding: 2px; + margin: -2px 0; + background-color: #7C4DFF; + color: #FFFFFF; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1); +} + +emoji-completion-row:focus, +emoji-completion-row:hover, .view selection, .view:selected, iconview selection, iconview:selected, flowbox > flowboxchild:selected, gridview > child:selected, entry > text > selection, spinbutton > text > selection, spinbutton:not(.vertical) > text > selection, dropdown popover listview > row:selected, +combobox popover listview > row:selected, modelbutton.flat:selected, row:selected, columnview row:not(:selected) cell editablelabel.editing text selection, calendar > grid > label.today:selected, calendar > grid > label.day-number:selected, filechooser stack.view scrolledwindow treeview.view selection, filechooser stack.view scrolledwindow treeview.view:selected { + background-color: #5657f5; +} + +row:selected label, label:selected, emoji-completion-row:focus, +emoji-completion-row:hover, .view selection, .view:selected, iconview selection, iconview:selected, flowbox > flowboxchild:selected, gridview > child:selected, entry > text > selection, spinbutton > text > selection, spinbutton:not(.vertical) > text > selection, dropdown popover listview > row:selected, +combobox popover listview > row:selected, modelbutton.flat:selected, row:selected, columnview row:not(:selected) cell editablelabel.editing text selection, calendar > grid > label.today:selected, calendar > grid > label.day-number:selected, filechooser stack.view scrolledwindow treeview.view selection, filechooser stack.view scrolledwindow treeview.view:selected { + color: #FFFFFF; +} + +row:selected label:disabled, label:disabled:selected, emoji-completion-row:disabled:focus, +emoji-completion-row:disabled:hover, .view selection:disabled, .view:disabled:selected, iconview selection:disabled, iconview:disabled:selected, flowbox > flowboxchild:disabled:selected, gridview > child:disabled:selected, entry > text > selection:disabled, spinbutton > text > selection:disabled, modelbutton.flat:disabled:selected, row:disabled:selected, columnview row:not(:selected) cell editablelabel.editing text selection:disabled, calendar > grid > label.today:disabled:selected, calendar > grid > label.day-number:disabled:selected, filechooser stack.view scrolledwindow treeview.view selection:disabled { + color: rgba(255, 255, 255, 0.5); +} + +.monospace { + font-family: monospace; +} + +/********************** + * Touch Copy & Paste * + **********************/ +cursor-handle { + border-radius: 9999px; + background-color: #7C4DFF; + background-image: none; +} + +cursor-handle.top:dir(ltr), cursor-handle.bottom:dir(rtl) { + padding-left: 6px; + border-top-right-radius: 0; +} + +cursor-handle.bottom:dir(ltr), cursor-handle.top:dir(rtl) { + padding-right: 6px; + border-top-left-radius: 0; +} + +cursor-handle.insertion-cursor:dir(ltr), cursor-handle.insertion-cursor:dir(rtl) { + -gtk-icon-source: -gtk-scaled(url("assets/scale-horz-marks-before-slider.png"), url("assets/scale-horz-marks-before-slider@2.png")); +} + +shortcuts-section { + margin: 20px; +} + +.shortcuts-search-results { + margin: 20px; + border-spacing: 24px; +} + +.context-menu { + font: initial; +} + +shortcut > .keycap { + min-width: 12px; + min-height: 26px; + margin-top: 2px; + padding-bottom: 2px; + padding-left: 8px; + padding-right: 8px; + border: solid 1px rgba(0, 0, 0, 0.08); + border-radius: 5px; + box-shadow: inset 0 -2px rgba(0, 0, 0, 0.08); + background-color: #FFFFFF; + color: rgba(0, 0, 0, 0.75); + font-size: smaller; +} + +:not(decoration):not(window):drop(active) { + transition: all 225ms cubic-bezier(0, 0, 0.2, 1); + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1), inset 0 0 0 2px #7C4DFF; + caret-color: #7C4DFF; +} + +stackswitcher button.text-button { + min-width: 100px; +} + +stackswitcher button.circular, +stackswitcher button.text-button.circular { + min-width: 32px; + min-height: 32px; + padding: 0; +} + +.lowres-icon { + -gtk-icon-shadow: 0 -1px rgba(0, 0, 0, 0.05), 1px 0 rgba(0, 0, 0, 0.1), 0 1px rgba(0, 0, 0, 0.3), -1px 0 rgba(0, 0, 0, 0.1); +} + +.icon-dropshadow { + -gtk-icon-shadow: 0 1px 12px rgba(0, 0, 0, 0.05), 0 -1px rgba(0, 0, 0, 0.05), 1px 0 rgba(0, 0, 0, 0.1), 0 1px rgba(0, 0, 0, 0.3), -1px 0 rgba(0, 0, 0, 0.1); +} + +/********* + * Emoji * + *********/ +popover.emoji-picker > contents { + padding: 0; +} + +.emoji-searchbar { + padding: 4px; + border-spacing: 4px; + border-bottom: 1px solid rgba(0, 0, 0, 0.08); +} + +.emoji-toolbar { + padding: 4px; + border-spacing: 4px; + border-top: 1px solid rgba(0, 0, 0, 0.08); +} + +button.emoji-section { + margin-top: -1px; + padding: 0 8px; + min-width: 24px; + min-height: 32px; + border-radius: 0; + box-shadow: none; +} + +button.emoji-section:hover { + box-shadow: inset 0 2px rgba(0, 0, 0, 0.2); +} + +button.emoji-section:active { + box-shadow: inset 0 2px #5657f5; +} + +button.emoji-section:checked { + box-shadow: inset 0 2px #5657f5; + background-color: transparent; +} + +button.emoji-section:first-child { + margin-left: 4px; +} + +button.emoji-section:last-child { + margin-right: 4px; +} + +popover.emoji-picker emoji { + font-size: x-large; + padding: 4px; + border-radius: 4px; +} + +popover.emoji-picker emoji:focus, popover.emoji-picker emoji:hover { + background: #5657f5; +} + +emoji-completion-row > box { + border-spacing: 4px; + padding: 2px 4px; +} + +emoji-completion-row emoji:focus, +emoji-completion-row emoji:hover { + background: none; + box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.05); + border-radius: 3px; +} + +popover.entry-completion > contents { + padding: 0; +} + +statusbar { + padding: 4px 8px; +} + +/* GTK NAMED COLORS + ---------------- + use responsibly! */ +/* +widget text/foreground color */ +@define-color theme_fg_color rgba(0, 0, 0, 0.75); +/* +text color for entries, views and content in general */ +@define-color theme_text_color currentColor; +/* +widget base background color */ +@define-color theme_bg_color #f4f4f9; +/* +text widgets and the like base background color */ +@define-color theme_base_color #FFFFFF; +/* +base background color of selections */ +@define-color theme_selected_bg_color #5657f5; +/* +text/foreground color of selections */ +@define-color theme_selected_fg_color #FFFFFF; +/* +base background color of insensitive widgets */ +@define-color insensitive_bg_color #f4f4f9; +/* +text foreground color of insensitive widgets */ +@define-color insensitive_fg_color alpha(currentColor, 0.5); +/* +insensitive text widgets and the like base background color */ +@define-color insensitive_base_color #eaeaf4; +/* +widget text/foreground color on backdrop windows */ +@define-color theme_unfocused_fg_color rgba(0, 0, 0, 0.75); +/* +text color for entries, views and content in general on backdrop windows */ +@define-color theme_unfocused_text_color currentColor; +/* +widget base background color on backdrop windows */ +@define-color theme_unfocused_bg_color #f4f4f9; +/* +text widgets and the like base background color on backdrop windows */ +@define-color theme_unfocused_base_color #FFFFFF; +/* +base background color of selections on backdrop windows */ +@define-color theme_unfocused_selected_bg_color #5657f5; +/* +text/foreground color of selections on backdrop windows */ +@define-color theme_unfocused_selected_fg_color #FFFFFF; +/* +insensitive color on backdrop windows */ +@define-color unfocused_insensitive_color alpha(currentColor, 0.5); +/* +widgets main borders color */ +@define-color borders alpha(currentColor, 0.12); +/* +widgets main borders color on backdrop windows */ +@define-color unfocused_borders alpha(currentColor, 0.12); +/* +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 #757575; +/* Very contrasty background for text views (@theme_text_color foreground) */ +@define-color text_view_bg #FFFFFF; +@define-color budgie_tasklist_indicator_color #7C4DFF; +@define-color budgie_tasklist_indicator_color_active #7C4DFF; +@define-color budgie_tasklist_indicator_color_active_window rgba(90, 62, 174, 0.931); +@define-color budgie_tasklist_indicator_color_attention #FF6D00; +@define-color STRAWBERRY_100 #FF9262; +@define-color STRAWBERRY_300 #FF793E; +@define-color STRAWBERRY_500 #F15D22; +@define-color STRAWBERRY_700 #CF3B00; +@define-color STRAWBERRY_900 #AC1800; +@define-color ORANGE_100 #FFDB91; +@define-color ORANGE_300 #FFCA40; +@define-color ORANGE_500 #FAA41A; +@define-color ORANGE_700 #DE8800; +@define-color ORANGE_900 #C26C00; +@define-color BANANA_100 #FFFFA8; +@define-color BANANA_300 #FFFA7D; +@define-color BANANA_500 #FFCE51; +@define-color BANANA_700 #D1A023; +@define-color BANANA_900 #A27100; +@define-color LIME_100 #A2F3BE; +@define-color LIME_300 #8ADBA6; +@define-color LIME_500 #73C48F; +@define-color LIME_700 #479863; +@define-color LIME_900 #1C6D38; +@define-color BLUEBERRY_100 #94A6FF; +@define-color BLUEBERRY_300 #6A7CE0; +@define-color BLUEBERRY_500 #3F51B5; +@define-color BLUEBERRY_700 #213397; +@define-color BLUEBERRY_900 #031579; +@define-color GRAPE_100 #D25DE6; +@define-color GRAPE_300 #B84ACB; +@define-color GRAPE_500 #9C27B0; +@define-color GRAPE_700 #830E97; +@define-color GRAPE_900 #6A007E; +@define-color COCOA_100 #9F9792; +@define-color COCOA_300 #7B736E; +@define-color COCOA_500 #574F4A; +@define-color COCOA_700 #463E39; +@define-color COCOA_900 #342C27; +@define-color SILVER_100 #EEE; +@define-color SILVER_300 #CCC; +@define-color SILVER_500 #AAA; +@define-color SILVER_700 #888; +@define-color SILVER_900 #666; +@define-color SLATE_100 #888; +@define-color SLATE_300 #666; +@define-color SLATE_500 #444; +@define-color SLATE_700 #222; +@define-color SLATE_900 #111; +@define-color BLACK_100 #474341; +@define-color BLACK_300 #403C3A; +@define-color BLACK_500 #393634; +@define-color BLACK_700 #33302F; +@define-color BLACK_900 #2B2928; diff --git a/src/gtk/4.0/gtk-light.scss b/src/gtk/4.0/gtk-light.scss new file mode 100644 index 0000000..dfa6963 --- /dev/null +++ b/src/gtk/4.0/gtk-light.scss @@ -0,0 +1,11 @@ +$variant: 'light'; +$titlebar: 'light'; +$compact: 'true'; +$solid: 'false'; + +@import '../../_sass/variables'; +@import '../../_sass/colors'; +@import '../../_sass/gtk/drawing-4.0'; +@import '../../_sass/gtk/common-4.0'; +@import '../../_sass/gtk/apps-4.0'; +@import '../../_sass/gtk/colors-public'; diff --git a/src/gtk/4.0/gtk-solid.css b/src/gtk/4.0/gtk-solid.css new file mode 100644 index 0000000..9be12af --- /dev/null +++ b/src/gtk/4.0/gtk-solid.css @@ -0,0 +1,4481 @@ +@keyframes ripple_effect { + to { + background-size: 1000% 1000%; + } +} + +@keyframes scale_ripple_effect { + to { + background-size: auto, 1000% 1000%; + } +} + +@keyframes header_ripple_effect { + from { + background-image: radial-gradient(circle, #5657f5 0%, transparent 0%); + } + to { + background-image: radial-gradient(circle, #5657f5 100%, transparent 0%); + } +} + +* { + padding: 0; + background-clip: padding-box; + -gtk-secondary-caret-color: #5657f5; +} + +/*************** + * Base States * + ***************/ +.background { + background-color: #f4f4f9; + color: rgba(0, 0, 0, 0.75); +} + +.background.csd { + border-radius: 13px; + background-color: #f4f4f9; +} + +.background.maximized, .background.tiled, .background.fullscreen, .background.solid-csd { + border-radius: 0; +} + +dnd { + color: rgba(0, 0, 0, 0.75); +} + +.normal-icons { + -gtk-icon-size: 16px; +} + +.large-icons { + -gtk-icon-size: 32px; +} + +spinner:disabled, +arrow:disabled, +scrollbar:disabled, +check:disabled, +radio:disabled, +treeview.expander:disabled { + -gtk-icon-filter: opacity(0.5); +} + +filechooser stack.view scrolledwindow treeview.view, iconview, .view { + background-color: #FFFFFF; + color: rgba(0, 0, 0, 0.75); +} + +filechooser stack.view scrolledwindow treeview.view:disabled, iconview:disabled, .view:disabled { + color: rgba(0, 0, 0, 0.38); +} + +textview > text { + background-color: #FFFFFF; +} + +textview > border { + background-color: #eaeaf4; + color: rgba(0, 0, 0, 0.38); +} + +textview:drop(active) { + caret-color: #FFA726; +} + +iconview { + border-radius: 5px; +} + +iconview > dndtarget:drop(active) { + border: none; +} + +rubberband, .content-view > rubberband, columnview.view > rubberband, +treeview.view > rubberband, gridview > rubberband, flowbox > rubberband { + border: 1px solid #5C6BC0; + background-color: rgba(92, 107, 192, 0.3); +} + +flowbox > flowboxchild { + padding: 4px; + border-radius: 7px; +} + +gridview > child { + padding: 3px; +} + +gridview > child box { + border-spacing: 8px; + margin: 12px; +} + +coverflow cover { + color: rgba(0, 0, 0, 0.75); + background-color: #FFFFFF; + border: none; +} + +label.separator { + color: rgba(0, 0, 0, 0.75); +} + +label > selection { + background-color: #5657f5; + color: #FFFFFF; +} + +.dim-label, headerbar .subtitle, spinbutton:not(.vertical) > text > placeholder, entry > text > placeholder, label.separator { + opacity: 0.6; +} + +window.assistant .sidebar { + padding: 4px 0; +} + +window.assistant.csd .sidebar { + border-top-style: none; +} + +window.assistant .sidebar label { + min-height: 32px; + padding: 0 12px; + color: rgba(0, 0, 0, 0.38); + font-weight: 500; +} + +window.assistant .sidebar label.highlight { + color: rgba(0, 0, 0, 0.75); +} + +window.aboutdialog image.large-icons { + -gtk-icon-size: 128px; +} + +.osd .scale-popup, .app-notification, popover.background.touch-selection, popover.background.magnifier, popover.background.osd, .osd { + color: rgba(255, 255, 255, 0.8); + border: none; + background-color: rgba(37, 37, 45, 0.85); + background-clip: padding-box; + border-radius: 8px; + padding: 6px; + margin: 6px; + box-shadow: 0 14px 14px rgba(0, 0, 0, 0.25), 0 10px 5px rgba(0, 0, 0, 0.22); +} + +/********************* + * Spinner Animation * + *********************/ +@keyframes spin { + to { + transform: rotate(1turn); + } +} + +spinner { + background: none; + opacity: 0; + -gtk-icon-source: -gtk-icontheme("process-working-symbolic"); +} + +spinner:checked { + opacity: 1; + animation: spin 1s linear infinite; +} + +spinner:checked:disabled { + opacity: 0.5; +} + +.large-title { + font-weight: 300; + font-size: 24pt; +} + +.title-1 { + font-weight: 800; + font-size: 20pt; +} + +.title-2 { + font-weight: 800; + font-size: 15pt; +} + +.title-3 { + font-weight: 700; + font-size: 15pt; +} + +.title-4 { + font-weight: 700; + font-size: 13pt; +} + +.heading { + font-weight: 700; + font-size: 11pt; +} + +.body { + font-weight: 400; + font-size: 11pt; +} + +.caption-heading { + font-weight: 700; + font-size: 9pt; +} + +.caption { + font-weight: 400; + font-size: 9pt; +} + +/**************** + * Text Entries * + ****************/ +spinbutton:not(.vertical), entry { + min-height: 32px; + padding: 0 8px; + border-radius: 7px; + transition: all 100ms cubic-bezier(0, 0, 0.2, 1); + border-image: none; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1); + background-color: #FFFFFF; + color: rgba(0, 0, 0, 0.75); +} + +spinbutton:focus-within:not(.vertical), entry:focus-within { + border-image: none; + box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06); +} + +spinbutton:disabled:not(.vertical), entry:disabled { + box-shadow: none; + background-color: #eaeaf4; + color: rgba(0, 0, 0, 0.38); +} + +colorchooser .popover.osd spinbutton:not(.vertical), window.dialog.message entry, notebook > stack:not(:only-child) entry:not(.search), +notebook > stack:not(:only-child) spinbutton:not(.vertical), popover.background .linked entry, popover.background entry, +popover.background spinbutton:not(.vertical), spinbutton.flat:not(.vertical), entry.flat { + border-radius: 0; + transition: all 100ms cubic-bezier(0, 0, 0.2, 1), box-shadow 225ms cubic-bezier(0, 0, 0.2, 1); + box-shadow: inset 0 -1px rgba(0, 0, 0, 0.2), inset 0 -2px transparent; + background-color: transparent; + color: rgba(0, 0, 0, 0.75); +} + +colorchooser .popover.osd spinbutton:focus-within:not(.vertical), window.dialog.message entry:focus-within, notebook > stack:not(:only-child) entry:focus-within:not(.search), +notebook > stack:not(:only-child) spinbutton:focus-within:not(.vertical), popover.background entry:focus-within, +popover.background spinbutton:focus-within:not(.vertical), spinbutton.flat:focus-within:not(.vertical), entry.flat:focus-within { + box-shadow: inset 0 -1px transparent, inset 0 -2px #5657f5; +} + +colorchooser .popover.osd spinbutton:disabled:not(.vertical), window.dialog.message entry:disabled, notebook > stack:not(:only-child) entry:disabled:not(.search), +notebook > stack:not(:only-child) spinbutton:disabled:not(.vertical), popover.background entry:disabled, +popover.background spinbutton:disabled:not(.vertical), spinbutton.flat:disabled:not(.vertical), entry.flat:disabled { + box-shadow: inset 0 -1px rgba(0, 0, 0, 0.08), inset 0 -2px transparent; + background-color: transparent; + color: rgba(0, 0, 0, 0.38); +} + +spinbutton:not(.vertical) image, entry image { + color: rgba(0, 0, 0, 0.55); +} + +spinbutton:not(.vertical) image:hover, spinbutton:not(.vertical) image:active, entry image:hover, entry image:active { + color: rgba(0, 0, 0, 0.75); +} + +spinbutton:not(.vertical) image:disabled, entry image:disabled { + color: rgba(0, 0, 0, 0.38); +} + +spinbutton:not(.vertical) image.left, entry image.left { + margin-left: 0px; + margin-right: 6px; +} + +spinbutton:not(.vertical) image.right, entry image.right { + margin-left: 6px; + margin-right: 0px; +} + +spinbutton:focus-within:not(.vertical) > placeholder, entry:focus-within > placeholder { + opacity: 0; +} + +spinbutton:not(.vertical) > text > block-cursor, entry > text > block-cursor { + color: #FFFFFF; + background-color: rgba(0, 0, 0, 0.75); +} + +spinbutton:not(.vertical) undershoot.left, entry undershoot.left { + background-color: transparent; + background-image: linear-gradient(to top, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.2) 50%); + padding-left: 1px; + background-size: 1px 12px; + background-repeat: repeat-y; + background-origin: content-box; + background-position: left top; +} + +spinbutton:not(.vertical) undershoot.right, entry undershoot.right { + background-color: transparent; + background-image: linear-gradient(to top, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.2) 50%); + padding-right: 1px; + background-size: 1px 12px; + background-repeat: repeat-y; + background-origin: content-box; + background-position: right top; +} + +spinbutton.password:not(.vertical) image.caps-lock-indicator, entry.password image.caps-lock-indicator { + color: rgba(0, 0, 0, 0.26); +} + +spinbutton.error:not(.vertical), entry.error { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1); + border-image: none; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1); + background-color: #DD2C00; + color: #FFFFFF; +} + +spinbutton.error:focus-within:not(.vertical), entry.error:focus-within { + border-image: none; + box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06); +} + +spinbutton.error:disabled:not(.vertical), entry.error:disabled { + box-shadow: none; + background-color: #eaeaf4; + color: rgba(0, 0, 0, 0.38); +} + +spinbutton.error.flat:not(.vertical), entry.error.flat { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1), box-shadow 225ms cubic-bezier(0, 0, 0.2, 1); + box-shadow: inset 0 -1px #DD2C00, inset 0 -2px transparent; + background-color: transparent; + color: rgba(0, 0, 0, 0.75); +} + +spinbutton.error.flat:focus-within:not(.vertical), entry.error.flat:focus-within { + box-shadow: inset 0 -1px transparent, inset 0 -2px #DD2C00; +} + +spinbutton.error.flat:disabled:not(.vertical), entry.error.flat:disabled { + box-shadow: inset 0 -1px rgba(0, 0, 0, 0.08), inset 0 -2px transparent; + background-color: transparent; + color: rgba(0, 0, 0, 0.38); +} + +spinbutton.error:not(.vertical) image, entry.error image { + color: rgba(255, 255, 255, 0.7); +} + +spinbutton.error:not(.vertical) image:hover, spinbutton.error:not(.vertical) image:active, entry.error image:hover, entry.error image:active { + color: #FFFFFF; +} + +spinbutton.error:not(.vertical) image:disabled, entry.error image:disabled { + color: rgba(255, 255, 255, 0.5); +} + +spinbutton.warning:not(.vertical), entry.warning { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1); + border-image: none; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1); + background-color: #FF6D00; + color: #FFFFFF; +} + +spinbutton.warning:focus-within:not(.vertical), entry.warning:focus-within { + border-image: none; + box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06); +} + +spinbutton.warning:disabled:not(.vertical), entry.warning:disabled { + box-shadow: none; + background-color: #eaeaf4; + color: rgba(0, 0, 0, 0.38); +} + +spinbutton.warning.flat:not(.vertical), entry.warning.flat { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1), box-shadow 225ms cubic-bezier(0, 0, 0.2, 1); + box-shadow: inset 0 -1px #FF6D00, inset 0 -2px transparent; + background-color: transparent; + color: rgba(0, 0, 0, 0.75); +} + +spinbutton.warning.flat:focus-within:not(.vertical), entry.warning.flat:focus-within { + box-shadow: inset 0 -1px transparent, inset 0 -2px #FF6D00; +} + +spinbutton.warning.flat:disabled:not(.vertical), entry.warning.flat:disabled { + box-shadow: inset 0 -1px rgba(0, 0, 0, 0.08), inset 0 -2px transparent; + background-color: transparent; + color: rgba(0, 0, 0, 0.38); +} + +spinbutton.warning:not(.vertical) image, entry.warning image { + color: rgba(255, 255, 255, 0.7); +} + +spinbutton.warning:not(.vertical) image:hover, spinbutton.warning:not(.vertical) image:active, entry.warning image:hover, entry.warning image:active { + color: #FFFFFF; +} + +spinbutton.warning:not(.vertical) image:disabled, entry.warning image:disabled { + color: rgba(255, 255, 255, 0.5); +} + +spinbutton:not(.vertical) > progress, entry > progress { + margin: 2px -6px; +} + +spinbutton:not(.vertical) progress > trough > progress, entry progress > trough > progress { + background-color: transparent; + background-image: none; + border-radius: 0; + border-bottom: 2px solid #5657f5; + box-shadow: none; +} + +.linked:not(.vertical) > spinbutton.flat:not(.vertical), .linked.vertical > spinbutton.flat:not(.vertical), .linked:not(.vertical) > entry.flat, .linked.vertical > entry.flat { + border-radius: 0; +} + +notebook > stack:not(:only-child) treeview entry:not(.search), +notebook > stack:not(:only-child) treeview spinbutton:not(.vertical), +treeview entry { + min-height: 0; + padding: 2px; + border-radius: 0; + background-color: #FFFFFF; +} + +notebook > stack:not(:only-child) treeview entry:not(.search), +notebook > stack:not(:only-child) treeview spinbutton:not(.vertical), +treeview entry { + border-image: none; + box-shadow: none; +} + +editablelabel > stack > text { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1); + border-image: none; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1); + background-color: #FFFFFF; + color: rgba(0, 0, 0, 0.75); +} + +.entry-tag { + margin: 2px; + border-radius: 9999px; + box-shadow: none; + background-color: #5657f5; + color: #FFFFFF; +} + +.entry-tag:hover { + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1); +} + +:dir(ltr) .entry-tag { + margin-left: 4px; + margin-right: 0; + padding-left: 12px; + padding-right: 8px; +} + +:dir(rtl) .entry-tag { + margin-left: 0; + margin-right: 4px; + padding-left: 8px; + padding-right: 12px; +} + +.entry-tag.button { + box-shadow: none; + background-color: transparent; +} + +.entry-tag.button:not(:hover):not(:active) { + color: rgba(255, 255, 255, 0.7); +} + +/*********** + * Buttons * + ***********/ +@keyframes needs_attention { + from { + background-image: radial-gradient(farthest-side, #5657f5 0%, rgba(86, 87, 245, 0) 0%); + } + to { + background-image: radial-gradient(farthest-side, #5657f5 95%, rgba(86, 87, 245, 0)); + } +} + + +button { + min-height: 24px; + min-width: 16px; + padding: 4px 8px; + border-radius: 7px; + font-weight: 500; + transition: 100ms; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1), inset 0 0 0 9999px transparent; + background-color: #FFFFFF; + color: rgba(0, 0, 0, 0.65); +} + + +button:hover { + box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06), inset 0 0 0 9999px transparent; + color: rgba(0, 0, 0, 0.75); +} + + +button:active { + box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06), inset 0 0 0 9999px alpha(currentColor, 0.15); + color: rgba(0, 0, 0, 0.75); +} + + +button:disabled { + box-shadow: none; + background-color: #eaeaf4; + color: rgba(0, 0, 0, 0.26); +} + + +button:checked { + background-color: #5657f5; + color: #FFFFFF; + background-image: linear-gradient(to bottom, #6C6AF2, #4648FB); + background-size: auto auto; + background-position: center center; + background-repeat: no-repeat; +} + + +button:checked:disabled { + background-color: rgba(86, 87, 245, 0.3); + color: rgba(86, 87, 245, 0.5); + background-image: none; +} + +placessidebar .navigation-sidebar > row button.sidebar-button, window.dialog.message.csd .linked.dialog-action-area:not(.vertical) > button, window.dialog.message .linked.dialog-action-area:not(.vertical) > button, check, +radio, scrollbar button, notebook > header > tabs > arrow, spinbutton.vertical button, spinbutton:not(.vertical) button, infobar.info button, infobar.question button, infobar.warning button, infobar.error button, .app-notification button, actionbar > revealer > box button:not(.suggested-action):not(.destructive-action):not(.server-list-button), modelbutton.flat, popover.menu box.circular-buttons button.circular.image-button.model, popover.menu box.inline-buttons button.image-button.model, +pathbar > button, +headerbar button:not(.suggested-action):not(.destructive-action), +toolbar button, .toolbar button, +button.flat { + transition: 100ms; + box-shadow: inset 0 0 0 9999px transparent; + background-color: transparent; + color: rgba(0, 0, 0, 0.55); +} + +placessidebar .navigation-sidebar > row button.sidebar-button:hover, window.dialog.message .linked:not(.vertical).dialog-action-area > button:hover, check:hover, +radio:hover, scrollbar button:hover, notebook > header > tabs > arrow:hover, spinbutton.vertical button:hover, spinbutton:not(.vertical) button:hover, infobar.info button:hover, infobar.question button:hover, infobar.warning button:hover, infobar.error button:hover, .app-notification button:hover, actionbar > revealer > box button:hover:not(.suggested-action):not(.destructive-action):not(.server-list-button), modelbutton.flat:hover, popover.menu box.circular-buttons button.circular.image-button.model:hover, popover.menu box.inline-buttons button.image-button.model:hover, +pathbar > button:hover, +headerbar button:hover:not(.suggested-action):not(.destructive-action), +toolbar button:hover, .toolbar button:hover, +button.flat:hover { + box-shadow: inset 0 0 0 9999px alpha(currentColor, 0.15); + color: rgba(0, 0, 0, 0.75); +} + +placessidebar .navigation-sidebar > row button.sidebar-button:active, window.dialog.message .linked:not(.vertical).dialog-action-area > button:active, check:active, +radio:active, scrollbar button:active, notebook > header > tabs > arrow:active, spinbutton.vertical button:active, spinbutton:not(.vertical) button:active, infobar.info button:active, infobar.question button:active, infobar.warning button:active, infobar.error button:active, .app-notification button:active, actionbar > revealer > box button:active:not(.suggested-action):not(.destructive-action):not(.server-list-button), modelbutton.flat:active, popover.menu box.circular-buttons button.circular.image-button.model:active, popover.menu box.inline-buttons button.image-button.model:active, +pathbar > button:active, +headerbar button:active:not(.suggested-action):not(.destructive-action), +toolbar button:active, .toolbar button:active, +button.flat:active { + box-shadow: inset 0 0 0 9999px alpha(currentColor, 0.3); + color: rgba(0, 0, 0, 0.75); +} + +placessidebar .navigation-sidebar > row button.sidebar-button:disabled, window.dialog.message .linked:not(.vertical).dialog-action-area > button:disabled, check:disabled, +radio:disabled, scrollbar button:disabled, notebook > header > tabs > arrow:disabled, spinbutton.vertical button:disabled, spinbutton:not(.vertical) button:disabled, infobar.info button:disabled, infobar.question button:disabled, infobar.warning button:disabled, infobar.error button:disabled, .app-notification button:disabled, actionbar > revealer > box button:disabled:not(.suggested-action):not(.destructive-action):not(.server-list-button), modelbutton.flat:disabled, popover.menu box.circular-buttons button.circular.image-button.model:disabled, popover.menu box.inline-buttons button.image-button.model:disabled, +pathbar > button:disabled, +headerbar button:disabled:not(.suggested-action):not(.destructive-action), +toolbar button:disabled, .toolbar button:disabled, +button.flat:disabled { + box-shadow: none; + background-color: transparent; + color: rgba(0, 0, 0, 0.26); +} + +infobar.info button:checked, infobar.question button:checked, infobar.warning button:checked, infobar.error button:checked, .app-notification button:checked, actionbar > revealer > box button:checked:not(.suggested-action):not(.destructive-action):not(.server-list-button), modelbutton.flat:checked, popover.menu box.circular-buttons button.circular.image-button.model:checked, popover.menu box.inline-buttons button.image-button.model:checked, +pathbar > button:checked, +headerbar button:checked:not(.suggested-action):not(.destructive-action), +toolbar button:checked, .toolbar button:checked, +button.flat:checked { + background-color: rgba(0, 0, 0, 0.2); + color: rgba(0, 0, 0, 0.75); +} + +infobar.info button:checked:disabled, infobar.question button:checked:disabled, infobar.warning button:checked:disabled, infobar.error button:checked:disabled, .app-notification button:checked:disabled, actionbar > revealer > box button:checked:disabled:not(.suggested-action):not(.destructive-action):not(.server-list-button), modelbutton.flat:checked:disabled, popover.menu box.circular-buttons button.circular.image-button.model:checked:disabled, popover.menu box.inline-buttons button.image-button.model:checked:disabled, +pathbar > button:checked:disabled, +headerbar button:checked:disabled:not(.suggested-action):not(.destructive-action), +toolbar button:checked:disabled, .toolbar button:checked:disabled, +button.flat:checked:disabled { + background-color: rgba(0, 0, 0, 0.08); + color: rgba(0, 0, 0, 0.38); +} + + +button.text-button { + padding-left: 16px; + padding-right: 16px; +} + + +button.image-button { + min-width: 24px; + padding: 4px; +} + + +button.text-button.image-button label:first-child { + margin-left: 12px; +} + + +button.text-button.image-button label:last-child { + margin-right: 12px; +} + + +button.text-button.image-button image:not(:only-child) { + margin: 0 4px; +} + +.linked > button.flat, .linked.vertical > button.flat { + border-radius: 7px; +} + +.linked > button.flat.image-button, .linked > button.flat.text-button.image-button, .linked.vertical > button.flat.image-button, .linked.vertical > button.flat.text-button.image-button { + border-radius: 7px; +} + +row:selected button:disabled { + background-color: rgba(255, 255, 255, 0.12); + color: rgba(255, 255, 255, 0.3); +} + +infobar.info button, infobar.question button, infobar.warning button, infobar.error button, row:selected button.flat { + color: rgba(255, 255, 255, 0.7); +} + +infobar.info button:hover, infobar.question button:hover, infobar.warning button:hover, infobar.error button:hover, infobar.info button:active, infobar.question button:active, infobar.warning button:active, infobar.error button:active, row:selected button.flat:hover, row:selected button.flat:active { + color: #FFFFFF; +} + +infobar.info button:disabled, infobar.question button:disabled, infobar.warning button:disabled, infobar.error button:disabled, row:selected button.flat:disabled { + color: rgba(255, 255, 255, 0.3); +} + +infobar.info button:checked, infobar.question button:checked, infobar.warning button:checked, infobar.error button:checked, row:selected button.flat:checked { + background-color: rgba(255, 255, 255, 0.3); + color: #FFFFFF; +} + +infobar.info button:checked:disabled, infobar.question button:checked:disabled, infobar.warning button:checked:disabled, infobar.error button:checked:disabled, row:selected button.flat:checked:disabled { + background-color: rgba(255, 255, 255, 0.12); + color: rgba(255, 255, 255, 0.5); +} + + +button.osd { + padding: 7px 11px; +} + + +button.osd.image-button { + padding: 7px; +} + + +button.osd:disabled { + opacity: 0; +} + + +button.suggested-action { + background-color: #7C4DFF; + color: #FFFFFF; + background-image: linear-gradient(to bottom, #4FC3F7, #42A5F5); + background-size: auto auto; + background-position: center center; + background-repeat: no-repeat; +} + + +button.suggested-action:disabled { + box-shadow: none; + background-color: #eaeaf4; + color: rgba(0, 0, 0, 0.38); + background-image: none; +} + + +button.suggested-action:checked { + background-color: #a382ff; +} + + +button.suggested-action.flat { + background-color: transparent; + color: #7C4DFF; + background-image: none; +} + + +button.suggested-action.flat:disabled { + box-shadow: none; + background-color: transparent; + color: rgba(0, 0, 0, 0.38); + background-image: none; +} + + +button.suggested-action.flat:checked { + background-image: none; + background-color: rgba(124, 77, 255, 0.3); +} + + +button.destructive-action { + background-color: #FF5252; + color: #FFFFFF; + background-image: linear-gradient(to bottom, #EF5350, #FF5252); + background-size: auto auto; + background-position: center center; + background-repeat: no-repeat; +} + + +button.destructive-action:disabled { + box-shadow: none; + background-color: #eaeaf4; + color: rgba(0, 0, 0, 0.38); + background-image: none; +} + + +button.destructive-action:checked { + background-color: #ff8686; +} + + +button.destructive-action.flat { + background-color: transparent; + color: #FF5252; + background-image: none; +} + + +button.destructive-action.flat:disabled { + box-shadow: none; + background-color: transparent; + color: rgba(0, 0, 0, 0.38); + background-image: none; +} + + +button.destructive-action.flat:checked { + background-image: none; + background-color: rgba(255, 82, 82, 0.3); +} + +stackswitcher > button { + outline-offset: -4px; +} + +stackswitcher > button > label { + padding-left: 6px; + padding-right: 6px; +} + +stackswitcher > button > image { + padding-left: 6px; + padding-right: 6px; + padding-top: 3px; + padding-bottom: 3px; +} + +stackswitcher > button.text-button { + padding-left: 10px; + padding-right: 10px; +} + +stackswitcher > button.image-button { + padding-left: 2px; + padding-right: 2px; +} + +stackswitcher > button.needs-attention:checked > label, +stackswitcher > button.needs-attention:checked > image { + animation: none; + background-image: none; +} + +.primary-toolbar button { + -gtk-icon-shadow: none; +} + +headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action), row button.image-button, check, +radio, popover.menu box.circular-buttons button.circular.image-button.model, headerbar.default-decoration windowcontrols button, headerbar button.suggested-action, headerbar button.destructive-action, +headerbar button:not(.suggested-action):not(.destructive-action), +button.close, +button.circular, +button.round-button { + border-radius: 9999px; +} + +placessidebar .navigation-sidebar > row button.sidebar-button, notebook > header tab button.flat, spinbutton:not(.vertical) button { + min-height: 20px; + min-width: 20px; + padding: 0; + border-radius: 9999px; +} + +stacksidebar row.needs-attention > label, stackswitcher > button.needs-attention > label, +stackswitcher > button.needs-attention > image { + animation: needs_attention 225ms cubic-bezier(0, 0, 0.2, 1) forwards; + background-repeat: no-repeat; + background-position: right 3px; + background-size: 6px 6px; +} + +stacksidebar row.needs-attention > label:dir(rtl), stackswitcher > button.needs-attention > label:dir(rtl), +stackswitcher > button.needs-attention > image:dir(rtl) { + background-position: left 3px; +} + +.linked:not(.vertical) > combobox > box > button.combo, row .linked button, .linked:not(.vertical) > spinbutton:not(.vertical), .linked:not(.vertical) > entry, .linked > button { + border-radius: 0; +} + +row .linked button:first-child, .linked:not(.vertical) > spinbutton:first-child:not(.vertical), .linked:not(.vertical) > entry:first-child, .linked > button:first-child { + border-top-left-radius: 7px; + border-bottom-left-radius: 7px; +} + +row .linked button:last-child, .linked:not(.vertical) > spinbutton:last-child:not(.vertical), .linked:not(.vertical) > entry:last-child, .linked > button:last-child { + border-top-right-radius: 7px; + border-bottom-right-radius: 7px; +} + +row .linked button:only-child, .linked:not(.vertical) > spinbutton:only-child:not(.vertical), .linked:not(.vertical) > entry:only-child, .linked > button:only-child { + border-radius: 7px; +} + +.linked.vertical > combobox > box > button.combo, .linked.vertical > spinbutton:not(.vertical), .linked.vertical > entry, .linked.vertical > button { + border-radius: 0; +} + +.linked.vertical > spinbutton:first-child:not(.vertical), .linked.vertical > entry:first-child, .linked.vertical > button:first-child { + border-top-left-radius: 7px; + border-top-right-radius: 7px; +} + +.linked.vertical > spinbutton:last-child:not(.vertical), .linked.vertical > entry:last-child, .linked.vertical > button:last-child { + border-bottom-left-radius: 7px; + border-bottom-right-radius: 7px; +} + +.linked.vertical > spinbutton:only-child:not(.vertical), .linked.vertical > entry:only-child, .linked.vertical > button:only-child { + border-radius: 7px; +} + +.toolbar button { + margin: 1px; +} + +button.color { + min-height: 20px; + min-width: 20px; + padding: 4px; +} + +button.color > colorswatch:only-child, button.color > colorswatch:only-child > overlay { + border-radius: 0; +} + +/********* + * Links * + *********/ +button.link, +link { + color: #5657f5; +} + +button.link:visited, +link:visited, +link:visited:hover, +link:visited:active { + color: #E040FB; +} + +infobar.info *:link, infobar.question *:link, infobar.warning *:link, infobar.error *:link, headerbar.selection-mode .subtitle:link, button.link:selected, *:selected button.link, +link:selected, *:selected link { + color: #FFFFFF; +} + +button.link > label { + text-decoration-line: underline; +} + +/***************** + * GtkSpinButton * + *****************/ +spinbutton { + font-feature-settings: "tnum"; +} + +spinbutton > text > block-cursor { + background-color: rgba(0, 0, 0, 0.75); + color: #FFFFFF; +} + +spinbutton:not(.vertical) { + padding: 0; +} + +notebook > stack:not(:only-child) spinbutton:not(.vertical) entry, notebook > stack:not(:only-child) spinbutton:not(.vertical) entry:focus, notebook > stack:not(:only-child) spinbutton:not(.vertical) entry:disabled, +spinbutton:not(.vertical) text { + min-width: 22px; + margin: 0; + padding-left: 12px; + border-image: none; + border-radius: 0; + box-shadow: none; + background-color: transparent; +} + +spinbutton:not(.vertical) button { + border: solid 6px transparent; +} + +spinbutton:not(.vertical) button.up:dir(ltr), spinbutton:not(.vertical) button.down:dir(rtl) { + margin-left: -3px; +} + +spinbutton:not(.vertical) button.up:dir(rtl), spinbutton:not(.vertical) button.down:dir(ltr) { + margin-right: -3px; +} + +spinbutton.vertical { + background-color: rgba(0, 0, 0, 0.08); + border-radius: 7px; +} + +spinbutton.vertical:disabled { + color: rgba(0, 0, 0, 0.38); +} + +spinbutton.vertical:drop(active) { + box-shadow: none; +} + +spinbutton.vertical text { + min-height: 32px; + min-width: 38px; + padding: 0; +} + +spinbutton.vertical button { + min-height: 32px; + min-width: 38px; + padding: 0; +} + +spinbutton.vertical button.up { + border-radius: 7px 7px 0 0; +} + +spinbutton.vertical button.down { + border-radius: 0 0 7px 7px; +} + +treeview spinbutton:not(.vertical) { + min-height: 0; + border-style: none; + border-radius: 0; +} + +treeview spinbutton:not(.vertical) text { + min-height: 0; + padding: 1px 2px; +} + +/************** + * ComboBoxes * + **************/ +dropdown > popover.menu.background > contents { + padding: 0; +} + +dropdown > button > box { + border-spacing: 6px; +} + +dropdown arrow, +combobox arrow { + -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); + min-height: 16px; + min-width: 16px; +} + +dropdown > popover.menu > contents modelbutton, +combobox > popover.menu > contents modelbutton { + padding-left: 10px; + padding-right: 10px; +} + +dropdown button.combo:checked, +combobox button.combo:checked { + transition: none; +} + +dropdown button.combo cellview:dir(ltr), +combobox button.combo cellview:dir(ltr) { + margin-left: 0px; +} + +dropdown button.combo cellview:dir(rtl), +combobox button.combo cellview:dir(rtl) { + margin-right: 0px; +} + +dropdown.linked button:nth-child(2):dir(ltr), +combobox.linked button:nth-child(2):dir(ltr) { + border-top-left-radius: 7px; + border-bottom-left-radius: 7px; +} + +dropdown.linked button:nth-child(2):dir(rtl), +combobox.linked button:nth-child(2):dir(rtl) { + border-top-right-radius: 7px; + border-bottom-right-radius: 7px; +} + +dropdown:drop(active), +combobox:drop(active) { + box-shadow: none; +} + +dropdown popover, +combobox popover { + margin-top: 6px; + padding: 0; +} + +dropdown popover listview, +combobox popover listview { + margin: 6px 0; +} + +dropdown popover listview > row, +combobox popover listview > row { + padding: 6px; +} + +dropdown popover .dropdown-searchbar, +combobox popover .dropdown-searchbar { + padding: 6px; + border-bottom: 1px solid rgba(0, 0, 0, 0.08); +} + +.linked:not(.vertical) > combobox:first-child > box > button.combo { + border-top-left-radius: 7px; + border-bottom-left-radius: 7px; +} + +.linked:not(.vertical) > combobox:last-child > box > button.combo { + border-bottom-right-radius: 7px; + border-top-right-radius: 7px; +} + +.linked:not(.vertical) > combobox:only-child > box > button.combo { + border-radius: 7px; +} + +.linked.vertical > combobox:first-child > box > button.combo { + border-top-left-radius: 7px; + border-top-right-radius: 7px; +} + +.linked.vertical > combobox:last-child > box > button.combo { + border-bottom-left-radius: 7px; + border-bottom-right-radius: 7px; +} + +.linked.vertical > combobox:only-child > box > button.combo { + border-radius: 7px; +} + +notebook > stack:not(:only-child) button.combo, popover.background button.combo { + border-radius: 0; + background-image: none; + font-weight: inherit; + transition: all 100ms cubic-bezier(0, 0, 0.2, 1), box-shadow 225ms cubic-bezier(0, 0, 0.2, 1); + box-shadow: inset 0 -1px rgba(0, 0, 0, 0.2), inset 0 -2px transparent; + background-color: transparent; + color: rgba(0, 0, 0, 0.75); +} + +notebook > stack:not(:only-child) button.combo:hover, popover.background button.combo:hover { + box-shadow: inset 0 -2px rgba(0, 0, 0, 0.38); +} + +notebook > stack:not(:only-child) button.combo:checked, popover.background button.combo:checked { + box-shadow: inset 0 -2px #5657f5; +} + +notebook > stack:not(:only-child) button.combo:disabled, popover.background button.combo:disabled { + box-shadow: inset 0 -1px rgba(0, 0, 0, 0.08); + color: rgba(0, 0, 0, 0.38); +} + +/************ + * Toolbars * + ************/ +.toolbar, +toolbar { + padding: 2px; + background-color: #f4f4f9; +} + +.osd .toolbar, .osd toolbar { + background-color: transparent; +} + +.app-notification, .toolbar.osd, +toolbar.osd { + transition: box-shadow 100ms cubic-bezier(0, 0, 0.2, 1); + padding: 4px; + border-radius: 7px; + box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06), inset 0 1px rgba(255, 255, 255, 0.4); + background-color: #FFFFFF; +} + +.app-notification:backdrop, .toolbar.osd:backdrop, +toolbar.osd:backdrop { + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1), inset 0 1px rgba(255, 255, 255, 0.4); +} + +.left.app-notification, .right.app-notification, .top.app-notification, .bottom.app-notification, .toolbar.osd.left, .toolbar.osd.right, .toolbar.osd.top, .toolbar.osd.bottom, +toolbar.osd.left, +toolbar.osd.right, +toolbar.osd.top, +toolbar.osd.bottom { + border-radius: 0; +} + +.toolbar.horizontal > separator, +toolbar.horizontal > separator { + margin: 2px; +} + +.toolbar.vertical > separator, +toolbar.vertical > separator { + margin: 2px; +} + +.toolbar:not(.inline-toolbar):not(.osd) scale, +.toolbar:not(.inline-toolbar):not(.osd) entry, +.toolbar:not(.inline-toolbar):not(.osd) spinbutton, +.toolbar:not(.inline-toolbar):not(.osd) button, +toolbar:not(.inline-toolbar):not(.osd) scale, +toolbar:not(.inline-toolbar):not(.osd) entry, +toolbar:not(.inline-toolbar):not(.osd) spinbutton, +toolbar:not(.inline-toolbar):not(.osd) button { + margin: 2px; +} + +.toolbar:not(.inline-toolbar):not(.osd) .linked entry:not(:first-child), +.toolbar:not(.inline-toolbar):not(.osd) .linked spinbutton:not(:first-child), +.toolbar:not(.inline-toolbar):not(.osd) .linked button:not(:first-child), +toolbar:not(.inline-toolbar):not(.osd) .linked entry:not(:first-child), +toolbar:not(.inline-toolbar):not(.osd) .linked spinbutton:not(:first-child), +toolbar:not(.inline-toolbar):not(.osd) .linked button:not(:first-child) { + margin-left: 0; +} + +.toolbar:not(.inline-toolbar):not(.osd) .linked entry:not(:last-child), +.toolbar:not(.inline-toolbar):not(.osd) .linked spinbutton:not(:last-child), +.toolbar:not(.inline-toolbar):not(.osd) .linked button:not(:last-child), +toolbar:not(.inline-toolbar):not(.osd) .linked entry:not(:last-child), +toolbar:not(.inline-toolbar):not(.osd) .linked spinbutton:not(:last-child), +toolbar:not(.inline-toolbar):not(.osd) .linked button:not(:last-child) { + margin-right: 0; +} + +.toolbar:not(.inline-toolbar):not(.osd) spinbutton entry, +.toolbar:not(.inline-toolbar):not(.osd) spinbutton button, +toolbar:not(.inline-toolbar):not(.osd) spinbutton entry, +toolbar:not(.inline-toolbar):not(.osd) spinbutton button { + margin: 0; +} + +.toolbar:not(.inline-toolbar):not(.osd) switch, +toolbar:not(.inline-toolbar):not(.osd) switch { + margin: 6px 2px; +} + +searchbar > revealer > box { + border-spacing: 4px; + padding: 4px; + border-style: solid; + border-width: 0 0 1px; + border-color: rgba(0, 0, 0, 0.08); + background-color: #f4f4f9; + background-clip: border-box; +} + +actionbar { + border-radius: 0 0 13px 13px; +} + +/*************** + * Header bars * + ***************/ +headerbar .linked.path-bar:not(.vertical) > button, +headerbar stackswitcher.linked:not(.vertical) > button, headerbar.windowhandle viewswitcher button:not(.titlebutton):not(.suggested-action):not(.destructive-action) { + padding-left: 8px; + padding-right: 8px; + background-color: transparent; + box-shadow: none; +} + +headerbar .linked.path-bar:not(.vertical) > button label, +headerbar stackswitcher.linked:not(.vertical) > button label, headerbar.windowhandle viewswitcher button:not(.titlebutton):not(.suggested-action):not(.destructive-action) label { + padding-left: 8px; + padding-right: 8px; +} + +headerbar .linked:not(.vertical).path-bar > button:hover, +headerbar stackswitcher.linked:not(.vertical) > button:hover, headerbar.windowhandle viewswitcher button:hover:not(.titlebutton):not(.suggested-action):not(.destructive-action) { + color: #FFFFFF; + background-color: alpha(currentColor, 0.15); + box-shadow: inset 0 -2px transparent; +} + +headerbar .linked:not(.vertical).path-bar > button:active, +headerbar stackswitcher.linked:not(.vertical) > button:active, headerbar.windowhandle viewswitcher button:active:not(.titlebutton):not(.suggested-action):not(.destructive-action) { + color: #FFFFFF; + background-color: alpha(currentColor, 0.3); + box-shadow: inset 0 -2px transparent; +} + +headerbar .linked:not(.vertical).path-bar > button:checked, +headerbar stackswitcher.linked:not(.vertical) > button:checked, headerbar.windowhandle viewswitcher button:checked:not(.titlebutton):not(.suggested-action):not(.destructive-action) { + border-radius: 0; + color: #FFFFFF; + background-color: transparent; + box-shadow: inset 0 -2px #5657f5; + background-image: none; +} + +headerbar .linked:not(.vertical).path-bar > button:checked:backdrop, +headerbar stackswitcher.linked:not(.vertical) > button:checked:backdrop, headerbar.windowhandle viewswitcher button:checked:backdrop:not(.titlebutton):not(.suggested-action):not(.destructive-action), headerbar .linked:not(.vertical).path-bar > button:active:backdrop, +headerbar stackswitcher.linked:not(.vertical) > button:active:backdrop, headerbar.windowhandle viewswitcher button:active:backdrop:not(.titlebutton):not(.suggested-action):not(.destructive-action) { + color: rgba(255, 255, 255, 0.7); + box-shadow: inset 0 -2px rgba(255, 255, 255, 0.5); +} + +headerbar .linked:not(.vertical).path-bar > button.text-button.image-button label, +headerbar stackswitcher.linked:not(.vertical) > button.text-button.image-button label, headerbar.windowhandle viewswitcher button.text-button.image-button:not(.titlebutton):not(.suggested-action):not(.destructive-action) label { + padding-left: 0; + padding-right: 0; +} + +headerbar .linked:not(.vertical).path-bar > button.text-button.image-button image, +headerbar stackswitcher.linked:not(.vertical) > button.text-button.image-button image, headerbar.windowhandle viewswitcher button.text-button.image-button:not(.titlebutton):not(.suggested-action):not(.destructive-action) image { + padding-left: 0; + padding-right: 0; +} + +headerbar { + transition: background-color 100ms cubic-bezier(0, 0, 0.2, 1), color 100ms cubic-bezier(0, 0, 0.2, 1); + min-height: 38px; + padding: 0 4px; + box-shadow: inset 0 1px rgba(255, 255, 255, 0.1), inset 0 -1px rgba(0, 0, 0, 0.08); + background-color: #31313a; + color: #FFFFFF; +} + +headerbar:disabled :not(button) > label { + color: rgba(255, 255, 255, 0.5); +} + +headerbar:backdrop { + color: rgba(255, 255, 255, 0.7); +} + +headerbar:backdrop:disabled :not(button) > label { + color: rgba(255, 255, 255, 0.3); +} + +headerbar .title { + padding: 0 12px; + font-weight: bold; +} + +headerbar .subtitle { + padding: 0 12px; + font-size: smaller; +} + +headerbar entry { + background-color: #FFFFFF; +} + +headerbar entry:focus { + background-color: white; +} + +headerbar .linked:not(.vertical) > entry:not(.flat) { + border-radius: 7px; +} + +headerbar .linked:not(.vertical) > button { + border-radius: 7px; +} + + +headerbar button:not(.suggested-action):not(.destructive-action) { + border-image: none; + color: rgba(255, 255, 255, 0.7); +} + + +headerbar button:not(.suggested-action):not(.destructive-action):hover, +headerbar button:not(.suggested-action):not(.destructive-action):active { + color: #FFFFFF; +} + + +headerbar button:not(.suggested-action):not(.destructive-action):disabled { + color: rgba(255, 255, 255, 0.3); +} + + +headerbar button:not(.suggested-action):not(.destructive-action):checked { + border-image: none; + background-color: #5657f5; + color: #FFFFFF; + background-image: linear-gradient(to bottom, #6C6AF2, #4648FB); + background-size: auto auto; + background-position: center center; + background-repeat: no-repeat; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.1), 0 2px 3px rgba(0, 0, 0, 0.08); +} + + +headerbar button:not(.suggested-action):not(.destructive-action):checked:disabled { + color: rgba(255, 255, 255, 0.5); + background-color: rgba(86, 87, 245, 0.5); +} + + +headerbar button:not(.suggested-action):not(.destructive-action):backdrop { + color: rgba(255, 255, 255, 0.5); +} + + +headerbar button:not(.suggested-action):not(.destructive-action):backdrop:hover, +headerbar button:not(.suggested-action):not(.destructive-action):backdrop:active { + color: rgba(255, 255, 255, 0.7); +} + + +headerbar button:not(.suggested-action):not(.destructive-action):backdrop:disabled { + color: rgba(255, 255, 255, 0.3); +} + + +headerbar button:not(.suggested-action):not(.destructive-action):backdrop:checked { + background-image: none; + color: rgba(255, 255, 255, 0.7); +} + + +headerbar button:not(.suggested-action):not(.destructive-action):backdrop:checked:disabled { + color: rgba(255, 255, 255, 0.3); +} + +headerbar button.suggested-action:disabled, headerbar button.destructive-action:disabled { + background-color: rgba(255, 255, 255, 0.12); + color: rgba(255, 255, 255, 0.5); +} + +headerbar entry, +headerbar spinbutton, +headerbar separator:not(.sidebar), +headerbar button, +headerbar menubutton { + margin-top: 4px; + margin-bottom: 4px; +} + +headerbar menubutton > button { + margin-top: 0px; + margin-bottom: 0px; +} + +headerbar > windowhandle > box, +headerbar > windowhandle > box > box.start, +headerbar > windowhandle > box > box.end { + border-spacing: 4px; +} + +headerbar switch { + margin-top: 8px; + margin-bottom: 8px; +} + +headerbar spinbutton button { + margin-top: 0; + margin-bottom: 0; +} + +.csd headerbar, headerbar.titlebar, .titlebar headerbar, .solid-csd headerbar, box headerbar:only-child { + box-shadow: inset 0 1px rgba(255, 255, 255, 0.1), inset 0 -1px rgba(0, 0, 0, 0.08); +} + +headerbar.titlebar.default-decoration, .csd headerbar.titlebar.default-decoration { + box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); +} + +box headerbar:not(:only-child):first-child, box headerbar:not(:only-child):last-child { + border-left-color: #31313a; + border-right-color: #31313a; +} + +headerbar.selection-mode { + transition: background-color 0.00001s 225ms, color 225ms cubic-bezier(0, 0, 0.2, 1); + animation: header_ripple_effect 225ms cubic-bezier(0, 0, 0.2, 1); + box-shadow: inset 0 1px rgba(255, 255, 255, 0.2), inset 0 -1px rgba(0, 0, 0, 0.08); + background-color: #5657f5; + color: #FFFFFF; +} + +headerbar.selection-mode:backdrop { + color: rgba(255, 255, 255, 0.7); +} + +headerbar.selection-mode button:not(.suggested-action):not(.destructive-action) { + border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), currentColor 0%, transparent 0%) 0 0 0/0 0 0; + color: #FFFFFF; +} + +headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):disabled { + color: rgba(255, 255, 255, 0.5); +} + +headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):hover { + color: #FFFFFF; +} + +headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):checked { + border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), currentColor 100%, transparent 0%) 0 0 2/0 0 2px; + color: #FFFFFF; +} + +headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):checked:disabled { + color: rgba(255, 255, 255, 0.5); +} + +headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):backdrop { + color: rgba(255, 255, 255, 0.7); +} + +headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):backdrop:disabled { + color: rgba(255, 255, 255, 0.3); +} + +headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):backdrop:checked { + color: rgba(255, 255, 255, 0.7); +} + +headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):backdrop:checked:disabled { + color: rgba(255, 255, 255, 0.3); +} + +headerbar.selection-mode .selection-menu { + padding-left: 16px; + padding-right: 16px; +} + +headerbar.selection-mode .selection-menu .arrow { + -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); +} + +headerbar.windowhandle viewswitcher button:not(.titlebutton):not(.suggested-action):not(.destructive-action) { + margin-top: 0; + margin-bottom: 0; +} + +.tiled headerbar, .tiled-top headerbar, .tiled-right headerbar, .tiled-bottom headerbar, .tiled-left headerbar, .maximized headerbar, .fullscreen headerbar { + border-radius: 0; +} + +headerbar.default-decoration { + min-height: 20px; + padding: 4px 12px; + box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); +} + +.tiled headerbar.default-decoration, .maximized headerbar.default-decoration, .fullscreen headerbar.default-decoration { + box-shadow: none; +} + +headerbar.default-decoration windowcontrols button { + min-height: 16px; + min-width: 16px; + margin: 0 2px; + padding: 0; +} + +.solid-csd headerbar:dir(rtl), .solid-csd headerbar:dir(ltr) { + border-radius: 0; + box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); +} + +.titlebar { + border-radius: 13px 13px 0 0; +} + +.background.tiled .titlebar, +.background.tiled-top .titlebar, +.background.tiled-right .titlebar, +.background.tiled-bottom .titlebar, +.background.tiled-left .titlebar, +.background.maximized .titlebar, +.background.solid-csd .titlebar { + border-top-left-radius: 0; + border-top-right-radius: 0; + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; +} + +window separator:first-child + headerbar, window headerbar:first-child { + border-top-left-radius: 13px; +} + +window headerbar:last-child { + border-top-right-radius: 13px; +} + +window stack headerbar:first-child, window stack headerbar:last-child { + border-top-left-radius: 13px; + border-top-right-radius: 13px; + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; +} + +window.tiled headerbar, window.tiled headerbar:first-child, window.tiled headerbar:last-child, window.tiled headerbar:only-child, window.tiled-top headerbar, window.tiled-top headerbar:first-child, window.tiled-top headerbar:last-child, window.tiled-top headerbar:only-child, window.tiled-right headerbar, window.tiled-right headerbar:first-child, window.tiled-right headerbar:last-child, window.tiled-right headerbar:only-child, window.tiled-bottom headerbar, window.tiled-bottom headerbar:first-child, window.tiled-bottom headerbar:last-child, window.tiled-bottom headerbar:only-child, window.tiled-left headerbar, window.tiled-left headerbar:first-child, window.tiled-left headerbar:last-child, window.tiled-left headerbar:only-child, window.maximized headerbar, window.maximized headerbar:first-child, window.maximized headerbar:last-child, window.maximized headerbar:only-child, window.fullscreen headerbar, window.fullscreen headerbar:first-child, window.fullscreen headerbar:last-child, window.fullscreen headerbar:only-child, window.solid-csd headerbar, window.solid-csd headerbar:first-child, window.solid-csd headerbar:last-child, window.solid-csd headerbar:only-child { + border-top-left-radius: 0; + border-top-right-radius: 0; + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; +} + +headerbar separator.titlebutton { + min-width: 0; + min-height: 0; + background-color: transparent; + border: none; +} + +window.csd > .titlebar:not(headerbar) { + padding: 0; + background-color: transparent; + background-image: none; + border: none; + box-shadow: none; +} + +.titlebar:not(headerbar) > separator { + background-color: #31313a; +} + +window.devel headerbar.titlebar { + background: #f4f4f9 cross-fade(10% -gtk-icontheme("system-run-symbolic"), image(transparent)) 90% 0/256px 256px no-repeat, linear-gradient(to right, transparent 65%, rgba(86, 87, 245, 0.2)), linear-gradient(to top, #c9c9e2, #d3d3e7 3px, #e7e7f2); +} + +window.devel headerbar.titlebar:backdrop { + background: #f4f4f9 cross-fade(10% -gtk-icontheme("system-run-symbolic"), image(transparent)) 90% 0/256px 256px no-repeat, image(#f4f4f9); + /* background-color would flash */ +} + +/************ + * Pathbars * + ************/ + +pathbar > button { + padding-left: 4px; + padding-right: 4px; +} + + +pathbar > button label:not(:only-child):first-child { + margin-left: 4px; + padding-left: 8px; +} + + +pathbar > button label:not(:only-child):last-child { + margin-right: 4px; + padding-right: 8px; +} + + +pathbar > button.slider-button { + padding-left: 4px; + padding-right: 4px; +} + + +pathbar > button { + border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), #5657f5 0%, transparent 0%) 0 0 0/0 0 0px; + border-radius: 7px; +} + + +pathbar > button:checked { + border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), #5657f5 100%, transparent 0%) 0 0 2/0 0 2px; +} + + +pathbar > button:checked, +pathbar > button:checked:disabled { + background-color: transparent; +} + +/************** + * Tree Views * + **************/ +columnview.view, +treeview.view { + border-left-color: #dadaeb; + border-top-color: #dadaeb; +} + +columnview.view:selected, +treeview.view:selected { + border-left-color: rgba(255, 255, 255, 0.3); +} + +columnview.view:hover, columnview.view:active, columnview.view:selected, +treeview.view:hover, +treeview.view:active, +treeview.view:selected { + border-radius: 0; +} + +columnview.view.separator, +treeview.view.separator { + min-height: 5px; + color: rgba(0, 0, 0, 0.08); +} + +columnview.view > dndtarget:drop(active), +treeview.view > dndtarget:drop(active) { + border-style: solid none; + border-width: 1px; + border-color: #7C4DFF; +} + +columnview.view > dndtarget:drop(active).after, +treeview.view > dndtarget:drop(active).after { + border-top-style: none; +} + +columnview.view > dndtarget:drop(active).before, +treeview.view > dndtarget:drop(active).before { + border-bottom-style: none; +} + +columnview.view.expander, +treeview.view.expander { + -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); + -gtk-icon-transform: rotate(-90deg); + color: rgba(0, 0, 0, 0.55); +} + +columnview.view.expander:dir(rtl), +treeview.view.expander:dir(rtl) { + -gtk-icon-transform: rotate(90deg); +} + +columnview.view.expander:checked, +treeview.view.expander:checked { + -gtk-icon-transform: unset; +} + +columnview.view.expander:hover, columnview.view.expander:active, +treeview.view.expander:hover, +treeview.view.expander:active { + color: rgba(0, 0, 0, 0.75); +} + +columnview.view.expander:disabled, +treeview.view.expander:disabled { + color: rgba(0, 0, 0, 0.26); +} + +columnview.view.expander:selected, +treeview.view.expander:selected { + color: rgba(255, 255, 255, 0.7); +} + +columnview.view.expander:selected:hover, columnview.view.expander:selected:active, +treeview.view.expander:selected:hover, +treeview.view.expander:selected:active { + color: #FFFFFF; +} + +columnview.view.expander:selected:disabled, +treeview.view.expander:selected:disabled { + color: rgba(255, 255, 255, 0.3); +} + +columnview.view.progressbar, +treeview.view.progressbar { + border-bottom: 4px solid #5657f5; + box-shadow: none; + background-color: transparent; +} + +columnview.view.progressbar:selected, +treeview.view.progressbar:selected { + border-bottom-color: #FFFFFF; +} + +columnview.view.trough, +treeview.view.trough { + border-bottom: 4px solid rgba(86, 87, 245, 0.3); + box-shadow: none; + background-color: transparent; +} + +columnview.view.trough:selected, +treeview.view.trough:selected { + border-bottom-color: rgba(255, 255, 255, 0.3); +} + +columnview.view > header > button, +treeview.view > header > button { + padding: 2px 6px; + border-style: none solid solid none; + border-width: 1px; + border-color: rgba(0, 0, 0, 0.08); + border-radius: 0; + background-clip: border-box; +} + +columnview.view > header > button, columnview.view > header > button:hover, columnview.view > header > button:active, +treeview.view > header > button, +treeview.view > header > button:hover, +treeview.view > header > button:active { + box-shadow: none; +} + +columnview.view > header > button, columnview.view > header > button:disabled, +treeview.view > header > button, +treeview.view > header > button:disabled { + background-color: #FFFFFF; +} + +columnview.view > header > button:last-child, +treeview.view > header > button:last-child { + border-right-style: none; +} + +columnview.view button.dnd, +columnview.view header.button.dnd, +treeview.view button.dnd, +treeview.view header.button.dnd { + padding: 2px 6px; + border-style: none solid solid; + border-width: 1px; + border-color: rgba(0, 0, 0, 0.08); + border-radius: 0; + box-shadow: none; + background-color: #FFFFFF; + background-clip: border-box; + color: #5657f5; +} + +columnview.view acceleditor > label, +treeview.view acceleditor > label { + background-color: #5657f5; +} + +/********* + * Menus * + *********/ +menubar { + padding: 0; + box-shadow: inset 0 -1px rgba(0, 0, 0, 0.08); + background-color: #31313a; + color: rgba(255, 255, 255, 0.7); +} + +menubar > item { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1); + min-height: 20px; + padding: 4px 8px; + color: rgba(255, 255, 255, 0.7); +} + +menubar > item:hover { + transition: none; + color: #FFFFFF; + box-shadow: inset 0 -3px #5657f5; +} + +menubar > item:disabled { + color: rgba(255, 255, 255, 0.3); +} + +menubar > item label:disabled { + color: inherit; +} + +menubar > item popover.menu.background > contents { + padding: 4px; +} + +menubar > item popover.menu popover.menu { + padding: 0 0 4px 0; +} + +menubar > item popover.menu.background popover.menu.background > contents { + margin: 0; + border-radius: 8px; +} + +popover.menu { + padding: 0; +} + +popover.menu > arrow, popover.menu.background > contents { + padding: 4px; + background-color: #3c3c46; + border: none; + border-radius: 8px; + color: rgba(255, 255, 255, 0.7); +} + +popover.menu.background separator { + margin: 4px 0; +} + +popover.menu box.inline-buttons { + padding: 0 4px; +} + +popover.menu box.inline-buttons button.image-button.model { + min-height: 28px; + min-width: 28px; + padding: 0; + border: none; + outline: none; +} + +popover.menu box.circular-buttons button.circular.image-button.model { + padding: 4px; + min-height: 28px; + min-width: 28px; +} + +popover.menu modelbutton { + min-height: 20px; + min-width: 40px; + padding: 4px 8px; + border-radius: 5px; +} + +popover.menu modelbutton:selected { + color: #5C6BC0; + background-color: rgba(255, 255, 255, 0.08); +} + +popover.menu modelbutton:selected:active { + color: #5C6BC0; + background-color: rgba(255, 255, 255, 0.1); +} + +popover.menu modelbutton:focus { + transition: none; +} + +popover.menu arrow.left, +popover.menu radio.left, +popover.menu check.left { + margin-left: -2px; + margin-right: 4px; +} + +popover.menu arrow.right, +popover.menu radio.right, +popover.menu check.right { + margin-left: 4px; + margin-right: -2px; +} + +popover.menu label.title { + font-weight: bold; + padding: 4px 32px; +} + +/************ + * Popovers * + ************/ +popover.background { + background-color: transparent; + font: initial; +} + +popover.background > arrow, +popover.background > contents { + transition: box-shadow 100ms cubic-bezier(0, 0, 0.2, 1); + padding: 0; + box-shadow: 0 14px 14px rgba(0, 0, 0, 0.25), 0 10px 5px rgba(0, 0, 0, 0.22); + background-color: #3c3c46; + color: rgba(0, 0, 0, 0.55); + border: none; +} + +popover.background > arrow:disabled, +popover.background > contents:disabled { + color: rgba(0, 0, 0, 0.26); +} + +popover.background:backdrop { + background-color: transparent; +} + +popover.background:backdrop > arrow, +popover.background:backdrop > contents { + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1); +} + +popover.background > contents { + padding: 6px; + border-radius: 8px; +} + +popover.background > contents > list, +popover.background > contents > .view, +popover.background > contents > toolbar { + border-style: none; + background-color: transparent; + box-shadow: none; +} + +popover.background > contents separator { + margin: 3px; +} + +popover.background > contents list separator { + margin: 0; +} + +.linked > popover.background button { + border-radius: 7px; +} + +.linked > popover.background button:first-child { + border-radius: 7px; +} + +.linked > popover.background button:last-child { + border-radius: 7px; +} + +.linked > popover.background button:only-child { + border-radius: 7px; +} + +popover.background.menu button, popover.background button.model { + border-radius: 7px; +} + +popover.background checkbutton.text-button, +popover.background radiobutton.text-button { + outline-style: none; +} + +popover.background separator { + margin: 4px 0; +} + +popover.background list separator { + margin: 0; +} + +popover.background label.separator { + color: rgba(0, 0, 0, 0.38); +} + +/* menu buttons */ +modelbutton.flat { + min-height: 28px; + padding: 0 8px; + border-radius: 7px; +} + +modelbutton.flat arrow { + background: none; +} + +modelbutton.flat arrow:hover { + background: none; +} + +modelbutton.flat arrow.left { + -gtk-icon-source: -gtk-icontheme("go-previous-symbolic"); +} + +modelbutton.flat arrow.right { + -gtk-icon-source: -gtk-icontheme("go-next-symbolic"); +} + +/************* + * Notebooks * + *************/ +frame > paned > notebook > header, notebook.frame > header { + background-color: #eaeaf4; +} + +notebook, notebook.frame { + background-color: #FFFFFF; + border-radius: 10px; +} + +notebook.frame frame > border { + border: none; + border-radius: 10px; +} + +notebook.frame frame > list row.activatable { + border-radius: 10px; +} + +notebook > header { + border-width: 1px; + border-color: rgba(0, 0, 0, 0.08); + background-color: #f4f4f9; + background-clip: border-box; +} + +notebook > header.top { + border-bottom-style: solid; + border-radius: 9px 9px 0 0; +} + +notebook > header.top > tabs { + margin-bottom: -1px; +} + +notebook > header.top > tabs > tab:hover { + box-shadow: inset 0 -2px rgba(0, 0, 0, 0.2); +} + +notebook > header.top > tabs > tab:checked { + box-shadow: inset 0 -2px #5657f5; +} + +notebook > header.bottom { + border-top-style: solid; + border-radius: 0 0 9px 9px; +} + +notebook > header.bottom > tabs { + margin-top: -1px; +} + +notebook > header.bottom > tabs > tab:hover { + box-shadow: inset 0 2px rgba(0, 0, 0, 0.2); +} + +notebook > header.bottom > tabs > tab:checked { + box-shadow: inset 0 2px #5657f5; +} + +notebook > header.left { + border-right-style: solid; + border-radius: 9px 0 0 9px; +} + +notebook > header.left > tabs { + margin-right: -1px; +} + +notebook > header.left > tabs > tab:hover { + box-shadow: inset -2px 0 rgba(0, 0, 0, 0.2); +} + +notebook > header.left > tabs > tab:checked { + box-shadow: inset -2px 0 #5657f5; +} + +notebook > header.right { + border-left-style: solid; + border-radius: 0 9px 9px 0; +} + +notebook > header.right > tabs { + margin-left: -1px; +} + +notebook > header.right > tabs > tab:hover { + box-shadow: inset 2px 0 rgba(0, 0, 0, 0.2); +} + +notebook > header.right > tabs > tab:checked { + box-shadow: inset 2px 0 #5657f5; +} + +notebook > header.top > tabs > arrow { + border-top-style: none; +} + +notebook > header.bottom > tabs > arrow { + border-bottom-style: none; +} + +notebook > header.top > tabs > arrow, notebook > header.bottom > tabs > arrow { + padding-left: 4px; + padding-right: 4px; +} + +notebook > header.top > tabs > arrow.down, notebook > header.bottom > tabs > arrow.down { + margin-left: -8px; + -gtk-icon-source: -gtk-icontheme("pan-start-symbolic"); +} + +notebook > header.top > tabs > arrow.up, notebook > header.bottom > tabs > arrow.up { + margin-right: -8px; + -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); +} + +notebook > header.left > tabs > arrow { + border-left-style: none; +} + +notebook > header.right > tabs > arrow { + border-right-style: none; +} + +notebook > header.left > tabs > arrow, notebook > header.right > tabs > arrow { + padding-top: 4px; + padding-bottom: 4px; +} + +notebook > header.left > tabs > arrow.down, notebook > header.right > tabs > arrow.down { + margin-top: -8px; + -gtk-icon-source: -gtk-icontheme("pan-up-symbolic"); +} + +notebook > header.left > tabs > arrow.up, notebook > header.right > tabs > arrow.up { + margin-bottom: -8px; + -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); +} + +notebook > header > tabs > arrow { + min-height: 16px; + min-width: 16px; + border-radius: 0; +} + +notebook > header tab { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1); + min-height: 20px; + min-width: 20px; + padding: 4px 12px; + outline-offset: -6px; + border-width: 1px; + border-color: transparent; + color: rgba(0, 0, 0, 0.55); + font-weight: 500; +} + +notebook > header tab:hover { + color: rgba(0, 0, 0, 0.75); +} + +notebook > header tab:hover.reorderable-page { + border-color: rgba(0, 0, 0, 0.08); + background-color: #eaeaf4; +} + +notebook > header tab:disabled { + color: rgba(0, 0, 0, 0.26); +} + +notebook > header tab:checked { + background-color: transparent; + color: rgba(0, 0, 0, 0.75); +} + +notebook > header tab:checked:disabled { + color: rgba(0, 0, 0, 0.38); +} + +notebook > header tab:checked.reorderable-page { + border-color: rgba(0, 0, 0, 0.08); + background-color: #FFFFFF; +} + +notebook > header tab button.flat { + min-height: 24px; + min-width: 24px; + padding: 0; + margin: 0; +} + +notebook > header tab button.flat:last-child { + margin-left: 4px; + margin-right: -8px; +} + +notebook > header tab button.flat:first-child { + margin-left: -8px; + margin-right: 4px; +} + +notebook > header.top tabs, notebook > header.bottom tabs { + padding-left: 8px; + padding-right: 8px; +} + +notebook > header.top tabs:not(:only-child):first-child, notebook > header.bottom tabs:not(:only-child):first-child { + margin-left: 0; +} + +notebook > header.top tabs:not(:only-child):last-child, notebook > header.bottom tabs:not(:only-child):last-child { + margin-right: 0; +} + +notebook > header.top tabs tab.reorderable-page, notebook > header.bottom tabs tab.reorderable-page { + margin: 0 -1px; + border-style: none solid; +} + +notebook > header.left tabs, notebook > header.right tabs { + padding-top: 8px; + padding-bottom: 8px; +} + +notebook > header.left tabs:not(:only-child):first-child, notebook > header.right tabs:not(:only-child):first-child { + margin-top: 0; +} + +notebook > header.left tabs:not(:only-child):last-child, notebook > header.right tabs:not(:only-child):last-child { + margin-bottom: 0; +} + +notebook > header.left tabs tab.reorderable-page, notebook > header.right tabs tab.reorderable-page { + margin: -1px 0; + border-style: solid none; +} + +notebook > stack:not(:only-child) { + background-color: #FFFFFF; + border-radius: 10px; +} + +/************** + * Scrollbars * + **************/ +scrollbar { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1); + background-color: rgba(255, 255, 255, 0.65); + background-clip: padding-box; +} + +scrollbar.top { + border-bottom: 1px solid rgba(0, 0, 0, 0.08); +} + +scrollbar.bottom { + border-top: 1px solid rgba(0, 0, 0, 0.08); +} + +scrollbar.left { + border-right: 1px solid rgba(0, 0, 0, 0.08); +} + +scrollbar.right { + border-left: 1px solid rgba(0, 0, 0, 0.08); +} + +scrollbar > range > trough > slider { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1), margin 0, border-width 0; + min-width: 8px; + min-height: 8px; + border: 4px solid transparent; + border-radius: 9999px; + background-clip: padding-box; + background-color: rgba(0, 0, 0, 0.38); +} + +scrollbar > range > trough > slider:hover { + background-color: rgba(0, 0, 0, 0.55); +} + +scrollbar > range > trough > slider:active { + background-color: rgba(0, 0, 0, 0.75); +} + +scrollbar > range > trough > slider:disabled { + background-color: rgba(0, 0, 0, 0.26); +} + +scrollbar > range.fine-tune > trough > slider { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1), margin 0, border-width 0, min-width 0, min-height 0; + min-width: 4px; + min-height: 4px; +} + +scrollbar > range.fine-tune.horizontal slider { + margin: 2px 0; +} + +scrollbar > range.fine-tune.vertical slider { + margin: 0 2px; +} + +scrollbar.overlay-indicator:not(.dragging):not(.hovering) { + border-color: transparent; + background-color: transparent; +} + +scrollbar.overlay-indicator:not(.dragging):not(.hovering) > range > trough > slider { + min-width: 4px; + min-height: 4px; + margin: 3px; + border: 1px solid rgba(255, 255, 255, 0.3); +} + +scrollbar.overlay-indicator:not(.dragging):not(.hovering) button { + min-width: 4px; + min-height: 4px; + margin: 3px; + border: 1px solid rgba(255, 255, 255, 0.3); + border-radius: 9999px; + background-color: rgba(0, 0, 0, 0.38); + background-clip: padding-box; + -gtk-icon-source: none; +} + +scrollbar.overlay-indicator:not(.dragging):not(.hovering) button:disabled { + background-color: rgba(0, 0, 0, 0.26); +} + +scrollbar.overlay-indicator:not(.dragging):not(.hovering).horizontal > range > trough > slider { + min-width: 24px; +} + +scrollbar.overlay-indicator:not(.dragging):not(.hovering).horizontal button { + min-width: 8px; +} + +scrollbar.overlay-indicator:not(.dragging):not(.hovering).vertical > range > trough > slider { + min-height: 24px; +} + +scrollbar.overlay-indicator:not(.dragging):not(.hovering).vertical button { + min-height: 8px; +} + +scrollbar.overlay-indicator.dragging, scrollbar.overlay-indicator.hovering { + background-color: rgba(255, 255, 255, 0.9); +} + +scrollbar.horizontal > range > trough > slider { + min-width: 24px; +} + +scrollbar.vertical > range > trough > slider { + min-height: 24px; +} + +scrollbar button { + min-width: 16px; + min-height: 16px; + padding: 0; + border-radius: 0; +} + +scrollbar.vertical button.down { + -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); +} + +scrollbar.vertical button.up { + -gtk-icon-source: -gtk-icontheme("pan-up-symbolic"); +} + +scrollbar.horizontal button.down { + -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); +} + +scrollbar.horizontal button.up { + -gtk-icon-source: -gtk-icontheme("pan-start-symbolic"); +} + +/********** + * Switch * + **********/ +switch { + transition: all 225ms cubic-bezier(0, 0, 0.2, 1); + margin: 4px 0; + padding: 0; + min-height: 16px; + min-width: 38px; + border: 4px solid transparent; + border-radius: 9999px; + background-color: rgba(0, 0, 0, 0.2); + background-clip: padding-box; + color: transparent; + font-size: 0; +} + +switch:disabled { + background-color: rgba(0, 0, 0, 0.08); +} + +switch:checked { + background-color: rgba(124, 77, 255, 0.35); + color: transparent; +} + +switch:checked:disabled { + background-color: rgba(124, 77, 255, 0.2); +} + +switch > slider { + transition: 100ms, box-shadow 100ms cubic-bezier(0, 0, 0.2, 1); + min-width: 20px; + min-height: 20px; + margin: -4px -2px; + border-radius: 9999px; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1); + background-color: #FFFFFF; + color: transparent; + background-position: center; + background-repeat: no-repeat; + background-image: -gtk-scaled(url("assets/switch-slider-unchecked.png"), url("assets/switch-slider-unchecked@2.png")); +} + +switch:hover > slider { + box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06); +} + +switch:checked > slider { + transition: 100ms, box-shadow 100ms cubic-bezier(0, 0, 0.2, 1), margin 0; + background-color: #7C4DFF; + color: transparent; + background-image: -gtk-scaled(url("assets/switch-slider-checked.png"), url("assets/switch-slider-checked@2.png")); +} + +switch:disabled > slider { + background-color: #eaeaf4; +} + +switch:checked:disabled > slider { + animation: none; + background-color: #bea6ff; +} + +row:selected switch:checked { + background-color: rgba(68, 1, 255, 0.35); +} + +row:selected switch:checked:disabled { + background-color: rgba(68, 1, 255, 0.2); +} + +row:selected switch:checked > slider { + background-color: #561aff; +} + +/************************* + * Check and Radio items * + *************************/ +.view.content-view.check:not(list), +.content-view .tile check:not(list) { + min-height: 40px; + min-width: 40px; + margin: 0; + padding: 0; + box-shadow: none; + background-color: transparent; + background-image: none; + -gtk-icon-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1); +} + +.view.content-view.check:not(list):hover, .view.content-view.check:not(list):active, +.content-view .tile check:not(list):hover, +.content-view .tile check:not(list):active { + -gtk-icon-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06); +} + +.view.content-view.check:not(list), +.content-view .tile check:not(list) { + -gtk-icon-source: -gtk-scaled(url("assets/selectionmode-checkbox-unchecked.png"), url("assets/selectionmode-checkbox-unchecked@2.png")); +} + +.view.content-view.check:not(list):checked, +.content-view .tile check:not(list):checked { + -gtk-icon-source: -gtk-scaled(url("assets/selectionmode-checkbox-checked.png"), url("assets/selectionmode-checkbox-checked@2.png")); +} + +checkbutton, +radiobutton { + outline: none; +} + +checkbutton.text-button, +radiobutton.text-button { + padding: 2px; + outline-offset: 0; +} + +checkbutton.text-button label:not(:only-child), +radiobutton.text-button label:not(:only-child) { + margin: 0 4px; +} + +row check:selected, +row radio:selected, row check:selected:active, +row radio:selected:active, row check:selected:checked, +row radio:selected:checked, row check:selected:indeterminate, +row radio:selected:indeterminate, row check:selected:focus, +row radio:selected:focus, row check:selected:focus:active, +row radio:selected:focus:active, row check:selected:focus:checked, +row radio:selected:focus:checked, row check:selected:focus:indeterminate, +row radio:selected:focus:indeterminate, treeview.view check:selected, +treeview.view radio:selected, treeview.view check:selected:active, +treeview.view radio:selected:active, treeview.view check:selected:checked, +treeview.view radio:selected:checked, treeview.view check:selected:indeterminate, +treeview.view radio:selected:indeterminate, treeview.view check:selected:focus, +treeview.view radio:selected:focus, treeview.view check:selected:focus:active, +treeview.view radio:selected:focus:active, treeview.view check:selected:focus:checked, +treeview.view radio:selected:focus:checked, treeview.view check:selected:focus:indeterminate, +treeview.view radio:selected:focus:indeterminate, row.activatable check:selected, +row.activatable radio:selected, row.activatable check:selected:active, +row.activatable radio:selected:active, row.activatable check:selected:checked, +row.activatable radio:selected:checked, row.activatable check:selected:indeterminate, +row.activatable radio:selected:indeterminate, row.activatable check:selected:focus, +row.activatable radio:selected:focus, row.activatable check:selected:focus:active, +row.activatable radio:selected:focus:active, row.activatable check:selected:focus:checked, +row.activatable radio:selected:focus:checked, row.activatable check:selected:focus:indeterminate, +row.activatable radio:selected:focus:indeterminate, row checkbutton check:selected, row checkbutton check:selected:active, row checkbutton check:selected:checked, row checkbutton check:selected:indeterminate, row checkbutton check:selected:focus, row checkbutton check:selected:focus:active, row checkbutton check:selected:focus:checked, row checkbutton check:selected:focus:indeterminate, treeview.view checkbutton check:selected, treeview.view checkbutton check:selected:active, treeview.view checkbutton check:selected:checked, treeview.view checkbutton check:selected:indeterminate, treeview.view checkbutton check:selected:focus, treeview.view checkbutton check:selected:focus:active, treeview.view checkbutton check:selected:focus:checked, treeview.view checkbutton check:selected:focus:indeterminate, row.activatable checkbutton check:selected, row.activatable checkbutton check:selected:active, row.activatable checkbutton check:selected:checked, row.activatable checkbutton check:selected:indeterminate, row.activatable checkbutton check:selected:focus, row.activatable checkbutton check:selected:focus:active, row.activatable checkbutton check:selected:focus:checked, row.activatable checkbutton check:selected:focus:indeterminate, row radiobutton radio:selected, row radiobutton radio:selected:active, row radiobutton radio:selected:checked, row radiobutton radio:selected:indeterminate, row radiobutton radio:selected:focus, row radiobutton radio:selected:focus:active, row radiobutton radio:selected:focus:checked, row radiobutton radio:selected:focus:indeterminate, treeview.view radiobutton radio:selected, treeview.view radiobutton radio:selected:active, treeview.view radiobutton radio:selected:checked, treeview.view radiobutton radio:selected:indeterminate, treeview.view radiobutton radio:selected:focus, treeview.view radiobutton radio:selected:focus:active, treeview.view radiobutton radio:selected:focus:checked, treeview.view radiobutton radio:selected:focus:indeterminate, row.activatable radiobutton radio:selected, row.activatable radiobutton radio:selected:active, row.activatable radiobutton radio:selected:checked, row.activatable radiobutton radio:selected:indeterminate, row.activatable radiobutton radio:selected:focus, row.activatable radiobutton radio:selected:focus:active, row.activatable radiobutton radio:selected:focus:checked, row.activatable radiobutton radio:selected:focus:indeterminate { + color: rgba(255, 255, 255, 0.7); +} + +row check:selected:disabled, +row radio:selected:disabled, row check:selected:active:disabled, +row radio:selected:active:disabled, row check:selected:checked:disabled, +row radio:selected:checked:disabled, row check:selected:indeterminate:disabled, +row radio:selected:indeterminate:disabled, row check:selected:focus:disabled, +row radio:selected:focus:disabled, row check:selected:focus:active:disabled, +row radio:selected:focus:active:disabled, row check:selected:focus:checked:disabled, +row radio:selected:focus:checked:disabled, row check:selected:focus:indeterminate:disabled, +row radio:selected:focus:indeterminate:disabled, treeview.view check:selected:disabled, +treeview.view radio:selected:disabled, treeview.view check:selected:active:disabled, +treeview.view radio:selected:active:disabled, treeview.view check:selected:checked:disabled, +treeview.view radio:selected:checked:disabled, treeview.view check:selected:indeterminate:disabled, +treeview.view radio:selected:indeterminate:disabled, treeview.view check:selected:focus:disabled, +treeview.view radio:selected:focus:disabled, treeview.view check:selected:focus:active:disabled, +treeview.view radio:selected:focus:active:disabled, treeview.view check:selected:focus:checked:disabled, +treeview.view radio:selected:focus:checked:disabled, treeview.view check:selected:focus:indeterminate:disabled, +treeview.view radio:selected:focus:indeterminate:disabled, row.activatable check:selected:disabled, +row.activatable radio:selected:disabled, row.activatable check:selected:active:disabled, +row.activatable radio:selected:active:disabled, row.activatable check:selected:checked:disabled, +row.activatable radio:selected:checked:disabled, row.activatable check:selected:indeterminate:disabled, +row.activatable radio:selected:indeterminate:disabled, row.activatable check:selected:focus:disabled, +row.activatable radio:selected:focus:disabled, row.activatable check:selected:focus:active:disabled, +row.activatable radio:selected:focus:active:disabled, row.activatable check:selected:focus:checked:disabled, +row.activatable radio:selected:focus:checked:disabled, row.activatable check:selected:focus:indeterminate:disabled, +row.activatable radio:selected:focus:indeterminate:disabled, row checkbutton check:selected:disabled, row checkbutton check:selected:active:disabled, row checkbutton check:selected:checked:disabled, row checkbutton check:selected:indeterminate:disabled, row checkbutton check:selected:focus:disabled, row checkbutton check:selected:focus:active:disabled, row checkbutton check:selected:focus:checked:disabled, row checkbutton check:selected:focus:indeterminate:disabled, treeview.view checkbutton check:selected:disabled, treeview.view checkbutton check:selected:active:disabled, treeview.view checkbutton check:selected:checked:disabled, treeview.view checkbutton check:selected:indeterminate:disabled, treeview.view checkbutton check:selected:focus:disabled, treeview.view checkbutton check:selected:focus:active:disabled, treeview.view checkbutton check:selected:focus:checked:disabled, treeview.view checkbutton check:selected:focus:indeterminate:disabled, row.activatable checkbutton check:selected:disabled, row.activatable checkbutton check:selected:active:disabled, row.activatable checkbutton check:selected:checked:disabled, row.activatable checkbutton check:selected:indeterminate:disabled, row.activatable checkbutton check:selected:focus:disabled, row.activatable checkbutton check:selected:focus:active:disabled, row.activatable checkbutton check:selected:focus:checked:disabled, row.activatable checkbutton check:selected:focus:indeterminate:disabled, row radiobutton radio:selected:disabled, row radiobutton radio:selected:active:disabled, row radiobutton radio:selected:checked:disabled, row radiobutton radio:selected:indeterminate:disabled, row radiobutton radio:selected:focus:disabled, row radiobutton radio:selected:focus:active:disabled, row radiobutton radio:selected:focus:checked:disabled, row radiobutton radio:selected:focus:indeterminate:disabled, treeview.view radiobutton radio:selected:disabled, treeview.view radiobutton radio:selected:active:disabled, treeview.view radiobutton radio:selected:checked:disabled, treeview.view radiobutton radio:selected:indeterminate:disabled, treeview.view radiobutton radio:selected:focus:disabled, treeview.view radiobutton radio:selected:focus:active:disabled, treeview.view radiobutton radio:selected:focus:checked:disabled, treeview.view radiobutton radio:selected:focus:indeterminate:disabled, row.activatable radiobutton radio:selected:disabled, row.activatable radiobutton radio:selected:active:disabled, row.activatable radiobutton radio:selected:checked:disabled, row.activatable radiobutton radio:selected:indeterminate:disabled, row.activatable radiobutton radio:selected:focus:disabled, row.activatable radiobutton radio:selected:focus:active:disabled, row.activatable radiobutton radio:selected:focus:checked:disabled, row.activatable radiobutton radio:selected:focus:indeterminate:disabled { + color: rgba(255, 255, 255, 0.3); +} + +row check:selected:hover, +row radio:selected:hover, treeview.view check:selected:hover, +treeview.view radio:selected:hover, row checkbutton check:selected:hover, row checkbutton check:selected:focus:hover, treeview.view checkbutton check:selected:hover, treeview.view checkbutton check:selected:focus:hover, row.activatable checkbutton check:selected:hover, row.activatable checkbutton check:selected:focus:hover, row radiobutton radio:selected:hover, row radiobutton radio:selected:focus:hover, treeview.view radiobutton radio:selected:hover, treeview.view radiobutton radio:selected:focus:hover, row.activatable radiobutton radio:selected:hover, row.activatable radiobutton radio:selected:focus:hover { + color: #FFFFFF; +} + +row check:selected:hover:disabled, +row radio:selected:hover:disabled, treeview.view check:selected:hover:disabled, +treeview.view radio:selected:hover:disabled, row checkbutton check:selected:hover:disabled, row checkbutton check:selected:focus:hover:disabled, treeview.view checkbutton check:selected:hover:disabled, treeview.view checkbutton check:selected:focus:hover:disabled, row.activatable checkbutton check:selected:hover:disabled, row.activatable checkbutton check:selected:focus:hover:disabled, row radiobutton radio:selected:hover:disabled, row radiobutton radio:selected:focus:hover:disabled, treeview.view radiobutton radio:selected:hover:disabled, treeview.view radiobutton radio:selected:focus:hover:disabled, row.activatable radiobutton radio:selected:hover:disabled, row.activatable radiobutton radio:selected:focus:hover:disabled { + color: rgba(255, 255, 255, 0.5); +} + +check, +radio { + min-height: 24px; + min-width: 24px; + margin: -7px; + padding: 7px; +} + +check:checked, check:indeterminate, +radio:checked, +radio:indeterminate { + color: #7C4DFF; +} + +check:checked:disabled, check:indeterminate:disabled, +radio:checked:disabled, +radio:indeterminate:disabled { + color: rgba(124, 77, 255, 0.5); +} + +popover modelbutton.flat check, popover modelbutton.flat check:hover, popover modelbutton.flat check:focus, popover modelbutton.flat check:focus:hover, popover modelbutton.flat check:active, popover modelbutton.flat check:disabled, popover modelbutton.flat radio, popover modelbutton.flat radio:hover, popover modelbutton.flat radio:focus, popover modelbutton.flat radio:focus:hover, popover modelbutton.flat radio:active, popover modelbutton.flat radio:disabled { + transition: none; + box-shadow: none; + background-image: none; +} + +popover modelbutton.flat check.left:dir(rtl), popover modelbutton.flat radio.left:dir(rtl) { + margin-left: -12px; + margin-right: -4px; +} + +popover modelbutton.flat check.right:dir(ltr), popover modelbutton.flat radio.right:dir(ltr) { + margin-left: -4px; + margin-right: -12px; +} + +popover.menu modelbutton check, popover.menu modelbutton radio { + transition: none; + margin: 0; + padding: 0; +} + +popover.menu modelbutton check:dir(ltr), popover.menu modelbutton radio:dir(ltr) { + margin-right: 8px; +} + +popover.menu modelbutton check:dir(rtl), popover.menu modelbutton radio:dir(rtl) { + margin-left: 8px; +} + +popover.menu modelbutton check:not(:checked):not(:indeterminate):not(:disabled), popover.menu modelbutton radio:not(:checked):not(:indeterminate):not(:disabled) { + color: rgba(255, 255, 255, 0.7); +} + +popover.menu modelbutton check, popover.menu modelbutton check:hover, popover.menu modelbutton check:disabled, popover.menu modelbutton radio, popover.menu modelbutton radio:hover, popover.menu modelbutton radio:disabled { + box-shadow: none; +} + + +check { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/checkbox-unchecked-symbolic.svg")); +} + + +check:checked { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/checkbox-checked-symbolic.svg")); +} + + +check:indeterminate { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/checkbox-mixed-symbolic.svg")); +} + + +radio { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/radio-unchecked-symbolic.svg")); +} + + +radio:checked { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/radio-checked-symbolic.svg")); +} + + +radio:indeterminate { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/radio-mixed-symbolic.svg")); +} + + +popover.menu modelbutton check { + min-height: 16px; + min-width: 16px; + border-radius: 7px; + -gtk-icon-source: -gtk-recolor(url("assets/scalable/small-checkbox-unchecked-symbolic.svg")); +} + + +popover.menu modelbutton check:checked { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/small-checkbox-checked-symbolic.svg")); +} + + +popover.menu modelbutton check:indeterminate { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/small-checkbox-mixed-symbolic.svg")); +} + + +popover.menu modelbutton radio { + min-height: 16px; + min-width: 16px; + border-image: none; + -gtk-icon-source: -gtk-recolor(url("assets/scalable/small-radio-unchecked-symbolic.svg")); +} + + +popover.menu modelbutton radio:checked { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/small-radio-checked-symbolic.svg")); +} + + +popover.menu modelbutton radio:indeterminate { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/small-radio-mixed-symbolic.svg")); +} + +check:not(:checked):active { + -gtk-icon-transform: rotate(90deg); +} + +check:not(:checked):indeterminate:active, +radio:not(:checked):indeterminate:active { + -gtk-icon-transform: scaleX(-1); +} + +check:not(:checked), +radio:not(:checked) { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1), background-size 300ms cubic-bezier(0, 0, 0.2, 1), background-image 600ms cubic-bezier(0, 0, 0.2, 1), -gtk-icon-transform 0; +} + +check:not(:checked):active, +radio:not(:checked):active { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1), background-size 0, background-image 0, -gtk-icon-transform 0; +} + +popover.menu modelbutton check:not(:checked), popover.menu modelbutton radio:not(:checked) { + transition: none; +} + +treeview.view check, +treeview.view radio { + padding: 0; +} + +treeview.view check:hover, +treeview.view radio:hover { + box-shadow: inset 0 0 0 9999px alpha(rgba(0, 0, 0, 0.75), 0.05); +} + +treeview.view check:hover:disabled, +treeview.view radio:hover:disabled { + box-shadow: none; +} + +treeview.view check:hover:selected, +treeview.view radio:hover:selected { + box-shadow: inset 0 0 0 9999px alpha(#FFFFFF, 0.05); +} + +treeview.view check, +treeview.view radio { + color: rgba(0, 0, 0, 0.55); +} + +treeview.view check:hover, treeview.view check:active, +treeview.view radio:hover, +treeview.view radio:active { + color: rgba(0, 0, 0, 0.75); +} + +treeview.view check:disabled, +treeview.view radio:disabled { + color: rgba(0, 0, 0, 0.26); +} + +treeview.view check:checked, treeview.view check:indeterminate, +treeview.view radio:checked, +treeview.view radio:indeterminate { + color: #7C4DFF; +} + +treeview.view check:checked:disabled, treeview.view check:indeterminate:disabled, +treeview.view radio:checked:disabled, +treeview.view radio:indeterminate:disabled { + color: rgba(124, 77, 255, 0.5); +} + +treeview.view radio:checked { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/radio-checked-symbolic.svg")); + border-image: none; +} + +/************ + * GtkScale * + ************/ +scale { + min-height: 0px; + min-width: 0px; + padding: 16px; +} + +scale > trough { + transition: background-color 100ms cubic-bezier(0, 0, 0.2, 1); + outline: none; + background-color: rgba(0, 0, 0, 0.2); +} + +scale > trough:disabled { + background-color: rgba(0, 0, 0, 0.08); +} + +scale > trough > slider { + min-height: 32px; + min-width: 32px; + margin: -15px; +} + +scale > trough > highlight { + transition: background-color 100ms cubic-bezier(0, 0, 0.2, 1); + background-color: #7C4DFF; +} + +scale > trough > highlight:disabled { + background-color: transparent; +} + +scale > trough > fill { + transition: background-color 100ms cubic-bezier(0, 0, 0.2, 1); + background-color: rgba(0, 0, 0, 0.2); +} + +scale > trough > fill:disabled { + background-color: transparent; +} + +scale > trough > slider { + transition: background-color 100ms cubic-bezier(0, 0, 0.2, 1), background-size 300ms cubic-bezier(0, 0, 0.2, 1), background-image 600ms cubic-bezier(0, 0, 0.2, 1); + background-repeat: no-repeat; + background-position: center; + background-size: auto, 1000% 1000%; + border-radius: 50%; + color: transparent; +} + +scale > trough > slider { + background-image: -gtk-scaled(url("assets/scale-slider.png"), url("assets/scale-slider@2.png")); +} + +scale > trough > slider:disabled { + background-image: -gtk-scaled(url("assets/scale-slider-disabled.png"), url("assets/scale-slider-disabled@2.png")); +} + +scale > trough > slider:hover { + background-color: rgba(124, 77, 255, 0.08); +} + +scale > trough > slider:focus { + background-color: rgba(124, 77, 255, 0.12); +} + +scale > trough > slider:focus:hover { + background-color: rgba(124, 77, 255, 0.16); +} + +scale > trough > slider:active { + transition: background-color 100ms cubic-bezier(0, 0, 0.2, 1), background-size 0, background-image 0; + animation: scale_ripple_effect 225ms cubic-bezier(0, 0, 0.2, 1) forwards; + background-size: auto, 0% 0%; + background-color: rgba(124, 77, 255, 0.08); + color: rgba(124, 77, 255, 0.12); +} + +scale.fine-tune slider { + background-size: calc(100% - 12px); +} + +scale > marks label, +scale > value { + color: rgba(0, 0, 0, 0.38); +} + +scale > marks { + color: rgba(0, 0, 0, 0.2); +} + +scale > marks.top { + margin-bottom: 7px; + margin-top: -15px; +} + +scale > marks.bottom { + margin-top: 7px; + margin-bottom: -15px; +} + +scale > marks.left { + margin-right: 7px; + margin-left: -15px; +} + +scale > marks.right { + margin-left: 7px; + margin-right: -15px; +} + +scale.fine-tune marks.top { + margin-bottom: 6px; + margin-top: -14px; +} + +scale.fine-tune marks.bottom { + margin-top: 6px; + margin-bottom: -14px; +} + +scale.fine-tune marks.left { + margin-right: 6px; + margin-left: -14px; +} + +scale.fine-tune marks.right { + margin-left: 6px; + margin-right: -14px; +} + +scale.horizontal indicator { + min-height: 8px; + min-width: 1px; +} + +scale.vertical indicator { + min-height: 1px; + min-width: 8px; +} + +scale.horizontal.marks-before:not(.marks-after) slider { + background-image: -gtk-scaled(url("assets/scale-horz-marks-before-slider.png"), url("assets/scale-horz-marks-before-slider@2.png")); +} + +scale.horizontal.marks-before:not(.marks-after) slider:disabled { + background-image: -gtk-scaled(url("assets/scale-horz-marks-before-slider-disabled.png"), url("assets/scale-horz-marks-before-slider-disabled@2.png")); +} + +scale.horizontal.marks-after:not(.marks-before) slider { + background-image: -gtk-scaled(url("assets/scale-horz-marks-after-slider.png"), url("assets/scale-horz-marks-after-slider@2.png")); +} + +scale.horizontal.marks-after:not(.marks-before) slider:disabled { + background-image: -gtk-scaled(url("assets/scale-horz-marks-after-slider-disabled.png"), url("assets/scale-horz-marks-after-slider-disabled@2.png")); +} + +scale.vertical.marks-before:not(.marks-after) slider { + background-image: -gtk-scaled(url("assets/scale-vert-marks-before-slider.png"), url("assets/scale-vert-marks-before-slider@2.png")); +} + +scale.vertical.marks-before:not(.marks-after) slider:disabled { + background-image: -gtk-scaled(url("assets/scale-vert-marks-before-slider-disabled.png"), url("assets/scale-vert-marks-before-slider-disabled@2.png")); +} + +scale.vertical.marks-after:not(.marks-before) slider { + background-image: -gtk-scaled(url("assets/scale-vert-marks-after-slider.png"), url("assets/scale-vert-marks-after-slider@2.png")); +} + +scale.vertical.marks-after:not(.marks-before) slider:disabled { + background-image: -gtk-scaled(url("assets/scale-vert-marks-after-slider-disabled.png"), url("assets/scale-vert-marks-after-slider-disabled@2.png")); +} + +scale.color { + min-height: 0; + min-width: 0; +} + +scale.color.horizontal { + padding: 0 0 12px 0; +} + +scale.color.horizontal slider:dir(ltr), scale.color.horizontal slider:dir(rtl) { + margin-bottom: -16px; + margin-top: -6px; +} + +scale.color.vertical:dir(ltr) { + padding: 0 0 0 12px; +} + +scale.color.vertical:dir(ltr) slider { + margin-left: -16px; + margin-right: -6px; +} + +scale.color.vertical:dir(rtl) { + padding: 0 12px 0 0; +} + +scale.color.vertical:dir(rtl) slider { + margin-right: -16px; + margin-left: -6px; +} + +/***************** + * Progress bars * + *****************/ +progressbar { + color: rgba(0, 0, 0, 0.38); + font-size: smaller; +} + +progressbar.horizontal > trough { + min-width: 150px; +} + +progressbar.horizontal > trough, progressbar.horizontal > trough > progress { + min-height: 4px; +} + +progressbar.vertical > trough { + min-height: 80px; +} + +progressbar.vertical > trough, progressbar.vertical > trough > progress { + min-width: 4px; +} + +progressbar > trough { + border-radius: 9999px; + background-color: rgba(93, 125, 251, 0.3); +} + +progressbar > trough > progress { + border-radius: 9999px; + background-color: #5D7DFB; + background-image: linear-gradient(to left, #BA68C8, #7E57C2); + background-size: auto auto; + background-position: center center; + background-repeat: no-repeat; +} + +progressbar.osd { + min-width: 3px; + min-height: 3px; + background-color: transparent; +} + +progressbar.osd > trough { + border-style: none; + border-radius: 0; + background-color: transparent; + box-shadow: none; +} + +progressbar.osd > trough > progress { + border-style: none; + border-radius: 0; +} + +progressbar trough.empty progress { + all: unset; +} + +/************* + * Level Bar * + *************/ +levelbar.horizontal block { + min-height: 4px; +} + +levelbar.horizontal.discrete block { + min-width: 32px; +} + +levelbar.horizontal.discrete block:not(:last-child) { + margin-right: 2px; +} + +levelbar.vertical > trough > block { + min-width: 4px; +} + +levelbar.vertical.discrete block { + min-height: 32px; +} + +levelbar.vertical.discrete block:not(:last-child) { + margin-bottom: 2px; +} + +levelbar > trough { + padding: 2px; + border-radius: 5px; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1); + background-color: #FFFFFF; +} + +levelbar > trough:disabled { + background-color: #eaeaf4; +} + +levelbar > trough > block.low { + background-color: #FF6D00; +} + +levelbar > trough > block.high, levelbar > trough > block:not(.empty) { + background-color: #5657f5; +} + +levelbar > trough > block.full { + background-color: #00C853; +} + +levelbar > trough > block.empty { + background-color: rgba(0, 0, 0, 0.08); +} + +/**************** + * Print dialog * +*****************/ +window.dialog.print drawing { + color: rgba(0, 0, 0, 0.75); + background: none; + border: none; + padding: 0; +} + +window.dialog.print drawing paper { + padding: 0; + border: 1px solid rgba(0, 0, 0, 0.08); + background-color: #FFFFFF; + color: rgba(0, 0, 0, 0.75); +} + +window.dialog.print .dialog-action-box { + margin: 12px; +} + +/********** + * Frames * + **********/ +frame, +.frame { + margin: 0; + padding: 0; + border: 1px solid rgba(0, 0, 0, 0.08); + border-radius: 0; + box-shadow: none; +} + +frame.flat, +.frame.flat { + border-style: none; +} + +frame.flat > border { + border-style: none; +} + +frame { + border-radius: 8px; +} + +frame > label { + margin: 4px; +} + +actionbar > revealer > box { + padding: 4px; + border-top: 1px solid rgba(0, 0, 0, 0.08); +} + +actionbar > revealer > box .linked > button { + border-radius: 7px; +} + +overshoot.top { + background-image: radial-gradient(farthest-side at top, rgba(0, 0, 0, 0.08) 85%, rgba(0, 0, 0, 0)), radial-gradient(farthest-side at top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)); + background-size: 100% 3%, 100% 50%; + background-repeat: no-repeat; + background-position: top; + background-color: transparent; + border: none; + box-shadow: none; +} + +overshoot.bottom { + background-image: radial-gradient(farthest-side at bottom, rgba(0, 0, 0, 0.08) 85%, rgba(0, 0, 0, 0)), radial-gradient(farthest-side at bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)); + background-size: 100% 3%, 100% 50%; + background-repeat: no-repeat; + background-position: bottom; + background-color: transparent; + border: none; + box-shadow: none; +} + +overshoot.left { + background-image: radial-gradient(farthest-side at left, rgba(0, 0, 0, 0.08) 85%, rgba(0, 0, 0, 0)), radial-gradient(farthest-side at left, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)); + background-size: 3% 100%, 50% 100%; + background-repeat: no-repeat; + background-position: left; + background-color: transparent; + border: none; + box-shadow: none; +} + +overshoot.right { + background-image: radial-gradient(farthest-side at right, rgba(0, 0, 0, 0.08) 85%, rgba(0, 0, 0, 0)), radial-gradient(farthest-side at right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)); + background-size: 3% 100%, 50% 100%; + background-repeat: no-repeat; + background-position: right; + background-color: transparent; + border: none; + box-shadow: none; +} + +undershoot.top { + background-color: transparent; + background-image: linear-gradient(to left, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.2) 50%); + padding-top: 1px; + background-size: 12px 1px; + background-repeat: repeat-x; + background-origin: content-box; + background-position: left top; +} + +undershoot.bottom { + background-color: transparent; + background-image: linear-gradient(to left, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.2) 50%); + padding-bottom: 1px; + background-size: 12px 1px; + background-repeat: repeat-x; + background-origin: content-box; + background-position: left bottom; +} + +undershoot.left { + background-color: transparent; + background-image: linear-gradient(to top, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.2) 50%); + padding-left: 1px; + background-size: 1px 12px; + background-repeat: repeat-y; + background-origin: content-box; + background-position: left top; +} + +undershoot.right { + background-color: transparent; + background-image: linear-gradient(to top, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.2) 50%); + padding-right: 1px; + background-size: 1px 12px; + background-repeat: repeat-y; + background-origin: content-box; + background-position: right top; +} + +junction { + border-style: solid none none solid; + border-width: 1px; + border-color: rgba(0, 0, 0, 0.08); + background-color: #FFFFFF; +} + +junction:dir(rtl) { + border-style: solid solid none none; +} + +separator { + min-width: 1px; + min-height: 1px; + background-color: rgba(0, 0, 0, 0.08); +} + + +button.font separator, +button.file separator { + min-width: 0; + min-height: 0; + background-color: transparent; +} + +/********* + * Lists * + *********/ +listview, +list { + border-color: rgba(0, 0, 0, 0.08); + background-color: #FFFFFF; +} + +listview row, +list row { + padding: 2px; +} + +columnview.view > header > button, +treeview.view > header > button, row.activatable { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1), background-color 0, color 0; + box-shadow: inset 0 0 0 9999px transparent; +} + +columnview.view > header > button:hover, +treeview.view > header > button:hover, row.activatable:hover { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1), background-color 0, color 0, box-shadow 0; + box-shadow: inset 0 0 0 9999px alpha(currentColor, 0.05); +} + +columnview.view > header > button.has-open-popup, +treeview.view > header > button.has-open-popup, columnview.view > header > button:active, +treeview.view > header > button:active, row.activatable.has-open-popup, row.activatable:active { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1), background-color 0, color 0; + box-shadow: inset 0 0 0 9999px alpha(currentColor, 0.3); + background-size: 0% 0%; +} + +row button.circular { + margin: 0 4px; +} + +columnview > listview > row { + padding: 0; +} + +columnview > listview > row > cell { + padding: 8px 6px; +} + +columnview > listview > row > cell:not(:first-child) { + border-left: 1px solid transparent; +} + +columnview.column-separators > listview > row > cell { + border-left-color: #dadaeb; +} + +columnview.data-table > listview > row > cell { + padding-top: 2px; + padding-bottom: 2px; +} + +treeexpander { + border-spacing: 4px; +} + +.rich-list { + /* rich lists usually containing other widgets than just labels/text */ +} + +.rich-list > row { + padding: 8px 12px; + min-height: 32px; + /* should be tall even when only containing a label */ +} + +.rich-list > row > box { + border-spacing: 12px; +} + +/********************* + * App Notifications * + *********************/ +.app-notification { + margin: 8px; +} + +.app-notification.frame, +.app-notification border { + border-style: none; +} + +/************* + * Expanders * + *************/ +expander { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1); + min-width: 16px; + min-height: 16px; + -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); + -gtk-icon-transform: rotate(-90deg); + color: rgba(0, 0, 0, 0.55); +} + +expander:dir(rtl) { + -gtk-icon-transform: rotate(90deg); +} + +expander:checked { + -gtk-icon-transform: unset; +} + +expander:hover, expander:active { + color: rgba(0, 0, 0, 0.75); +} + +expander:disabled { + color: rgba(0, 0, 0, 0.26); +} + +expander:selected { + color: rgba(255, 255, 255, 0.7); +} + +expander:selected:hover, expander:selected:active { + color: #FFFFFF; +} + +expander:selected:disabled { + color: rgba(255, 255, 255, 0.3); +} + +/************ + * Calendar * + ************/ +calendar { + color: rgba(0, 0, 0, 0.55); + border: 1px solid rgba(0, 0, 0, 0.08); +} + +calendar > header { + border-bottom: 1px solid rgba(0, 0, 0, 0.08); +} + +calendar > header > button { + border: none; + box-shadow: none; + background: none; + border-radius: 0; +} + +calendar > header > button:backdrop { + background: none; +} + +calendar > grid > label { + border-radius: 3px; +} + +calendar > grid > label.today { + background-color: rgba(0, 0, 0, 0.15); +} + +calendar > grid > label.day-number { + padding: 4px; +} + +calendar > grid > label.day-number:selected { + border-radius: 3px; +} + +calendar > grid > label.day-number.other-month { + color: alpha(currentColor, 0.3); +} + +/*********** + * Dialogs * + ***********/ +window.dialog.message { + color: rgba(255, 255, 255, 0.8); +} + +window.dialog.message.background { + background-color: rgba(63, 63, 63, 0.95); +} + +window.dialog.message .titlebar { + min-height: 20px; + border-style: none; + box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); + background-color: rgba(63, 63, 63, 0.95); + color: rgba(255, 255, 255, 0.8); + border-top-left-radius: 7px; + border-top-right-radius: 7px; +} + +window.dialog.message .titlebar:backdrop { + color: rgba(255, 255, 255, 0.3); +} + +window.dialog.message list, window.dialog.message row, window.dialog.message .view, window.dialog.message textview.view > text { + color: rgba(255, 255, 255, 0.8); + background-color: #373737; + border-color: rgba(255, 255, 255, 0.12); +} + +window.dialog.message .linked:not(.vertical).dialog-action-area > button { + padding: 4px 12px; + border-top: 1px solid rgba(0, 0, 0, 0.08); + border-radius: 0; + color: rgba(255, 255, 255, 0.8); +} + +window.dialog.message .linked:not(.vertical).dialog-action-area > button:first-child { + border-bottom-left-radius: 0; + border-top-left-radius: 0; +} + +window.dialog.message .linked:not(.vertical).dialog-action-area > button:last-child { + border-bottom-right-radius: 0; + border-top-right-radius: 0; +} + +window.dialog.message .linked:not(.vertical).dialog-action-area > button.suggested-action, window.dialog.message .linked:not(.vertical).dialog-action-area > button.suggested-action:hover { + color: #7C4DFF; +} + +window.dialog.message .linked:not(.vertical).dialog-action-area > button.suggested-action:active, window.dialog.message .linked:not(.vertical).dialog-action-area > button.suggested-action:checked { + background-color: #7C4DFF; + color: white; + border-color: #7C4DFF; + box-shadow: none; +} + +window.dialog.message .linked:not(.vertical).dialog-action-area > button.suggested-action:disabled { + opacity: 0.65; +} + +window.dialog.message .linked:not(.vertical).dialog-action-area > button.destructive-action, window.dialog.message .linked:not(.vertical).dialog-action-area > button.destructive-action:hover { + color: #FF5252; +} + +window.dialog.message .linked:not(.vertical).dialog-action-area > button.destructive-action:active, window.dialog.message .linked:not(.vertical).dialog-action-area > button.destructive-action:checked { + background-color: #FF5252; + color: white; + border-color: #FF5252; + box-shadow: none; +} + +window.dialog.message .linked:not(.vertical).dialog-action-area > button.destructive-action:disabled { + opacity: 0.65; +} + +window.dialog.message.csd { + color: rgba(255, 255, 255, 0.8); +} + +window.dialog.message.csd.background { + border-bottom-left-radius: 7px; + border-bottom-right-radius: 7px; +} + +window.dialog.message.csd .linked:not(.vertical).dialog-action-area > button { + padding: 8px 16px; + border-top: 1px solid rgba(0, 0, 0, 0.08); + border-radius: 0; + color: rgba(255, 255, 255, 0.8); +} + +window.dialog.message.csd .linked:not(.vertical).dialog-action-area > button:first-child { + border-bottom-left-radius: 7px; + border-top-left-radius: 0; +} + +window.dialog.message.csd .linked:not(.vertical).dialog-action-area > button:last-child { + border-bottom-right-radius: 7px; + border-top-right-radius: 0; +} + +window.dialog.message entry { + color: rgba(255, 255, 255, 0.8); +} + +window.dialog.message expander title > arrow { + color: rgba(255, 255, 255, 0.7); +} + +window.dialog.message expander title > arrow:hover, window.dialog.message expander title > arrow:active { + color: #FFFFFF; +} + +window.dialog.message expander title > arrow:disabled { + color: rgba(255, 255, 255, 0.3); +} + +.background.csd filechooser, .background.csd filechooser placessidebar { + background: none; + border-radius: 0 0 13px 13px; +} + +.background.csd filechooser list, .background.csd filechooser placessidebar list { + background-color: transparent; +} + +.maximized filechooser placessidebar { + border-radius: 0; +} + +filechooser stack.view { + background-color: transparent; +} + +filechooser stack.view scrolledwindow { + background-color: #FFFFFF; + border-radius: 0 0 13px 13px; +} + +filechooser stack.view scrolledwindow treeview.view { + background-color: transparent; +} + +filechooser .dialog-action-box { + border-top: 1px solid rgba(0, 0, 0, 0.08); +} + +filechooser #pathbarbox { + border-bottom: 1px solid rgba(0, 0, 0, 0.08); + background-color: #f4f4f9; +} + +filechooserbutton > button > box { + border-spacing: 6px; +} + +filechooserbutton:drop(active) { + box-shadow: none; +} + +/*********** + * Sidebar * + ***********/ +stacksidebar .frame list:dir(ltr) { + box-shadow: inset -2px 0 3px -3px rgba(0, 0, 0, 0.05), inset -3px 0 5px -3px rgba(0, 0, 0, 0.05), inset -3px 0 10px -3px rgba(0, 0, 0, 0.03); +} + +stacksidebar .frame list:dir(rtl) { + box-shadow: inset 2px 0 3px -3px rgba(0, 0, 0, 0.05), inset 3px 0 5px -3px rgba(0, 0, 0, 0.05), inset 3px 0 10px -3px rgba(0, 0, 0, 0.03); +} + +.sidebar { + border-style: none; + background-color: #f4f4f9; +} + +.sidebar:dir(ltr), .sidebar.left, .sidebar.left:dir(rtl) { + border-right: 1px solid #dadaeb; + border-left-style: none; +} + +.sidebar:dir(rtl), .sidebar.right { + border-left: 1px solid #dadaeb; + border-right-style: none; +} + +.sidebar listview.view, +.sidebar list { + background-color: transparent; +} + +paned .sidebar.left, paned .sidebar.right, paned .sidebar.left:dir(rtl), paned .sidebar:dir(rtl), paned .sidebar:dir(ltr), paned .sidebar { + border-style: none; +} + +stacksidebar list.separators:not(.horizontal) > row:not(.separator) { + border-bottom: none; +} + +stacksidebar row { + padding: 10px 4px; +} + +stacksidebar row > label { + padding-left: 6px; + padding-right: 6px; +} + +.navigation-sidebar { + padding: 4px 0; +} + +.navigation-sidebar > separator { + margin: 4px; +} + +.navigation-sidebar > row { + min-height: 28px; + padding: 0 4px; + border-radius: 8px; + margin: 0 4px 2px; +} + +.navigation-sidebar > row:hover, .navigation-sidebar > row:focus-visible:focus-within { + color: rgba(0, 0, 0, 0.75); + background-color: rgba(0, 0, 0, 0.06); +} + +.navigation-sidebar > row:selected { + color: rgba(0, 0, 0, 0.75); + background-color: rgba(0, 0, 0, 0.08); +} + +.navigation-sidebar > row:selected label { + color: rgba(0, 0, 0, 0.75); +} + +.navigation-sidebar > row:selected:hover { + background-color: rgba(0, 0, 0, 0.12); +} + +.navigation-sidebar > row:selected:focus-visible:focus-within { + outline-width: 0; + color: #FFFFFF; + background-color: #5657f5; +} + +.navigation-sidebar > row:selected:focus-visible:focus-within:hover { + background-color: #8687f8; +} + +.navigation-sidebar > row:disabled { + color: rgba(0, 0, 0, 0.26); +} + +/**************** + * File chooser * + ****************/ +row image.sidebar-icon { + color: rgba(0, 0, 0, 0.55); +} + +row:selected image.sidebar-icon { + color: rgba(255, 255, 255, 0.7); +} + +placessidebar > viewport.frame { + border-style: none; +} + +placessidebar list { + padding: 1px 0 4px; +} + +placessidebar .navigation-sidebar > row { + min-height: 32px; + margin: -1px 4px -1px 0; + padding: 0; + border-radius: 0 7px 7px 0; +} + +placessidebar .navigation-sidebar > row > revealer { + padding: 0 12px; +} + +placessidebar .navigation-sidebar > row:selected { + background-color: rgba(0, 0, 0, 0.06); + color: #5657f5; +} + +placessidebar .navigation-sidebar > row:selected image.sidebar-icon, placessidebar .navigation-sidebar > row:selected label.sidebar-label { + color: #5657f5; +} + +placessidebar .navigation-sidebar > row:disabled { + color: rgba(0, 0, 0, 0.38); +} + +placessidebar .navigation-sidebar > row image.sidebar-icon:dir(ltr) { + padding-right: 8px; +} + +placessidebar .navigation-sidebar > row image.sidebar-icon:dir(rtl) { + padding-left: 8px; +} + +placessidebar .navigation-sidebar > row label.sidebar-label:dir(ltr) { + padding-right: 2px; +} + +placessidebar .navigation-sidebar > row label.sidebar-label:dir(rtl) { + padding-left: 2px; +} + +placessidebar .navigation-sidebar > row.sidebar-placeholder-row { + min-height: 2px; + padding: 0 8px; + background-image: image(#7C4DFF); + background-clip: content-box; +} + +placessidebar .navigation-sidebar > row.sidebar-new-bookmark-row, placessidebar .navigation-sidebar > row.sidebar-new-bookmark-row image.sidebar-icon { + color: #7C4DFF; +} + +placessidebar .navigation-sidebar > row:drop(active):not(:disabled) { + box-shadow: inset 0 0 0 2px #7C4DFF; +} + +placesview .server-list-button > image { + -gtk-icon-transform: rotate(0turn); +} + +placesview .server-list-button:checked > image { + -gtk-icon-transform: rotate(-0.5turn); +} + +placesview > actionbar > revealer > box > label { + padding-left: 8px; + padding-right: 8px; +} + +/********* + * Paned * + *********/ +paned > separator { + min-width: 1px; + min-height: 1px; + -gtk-icon-source: none; + border-style: none; + background-color: transparent; + background-image: image(rgba(0, 0, 0, 0.08)); + background-size: 1px 1px; + background-clip: content-box; +} + +paned > separator.wide { + min-width: 6px; + min-height: 6px; + background-color: #f4f4f9; + background-image: image(rgba(0, 0, 0, 0.08)), image(rgba(0, 0, 0, 0.08)); + background-size: 1px 1px, 1px 1px; +} + +paned.horizontal > separator { + background-repeat: repeat-y; +} + +paned.horizontal > separator:dir(ltr) { + margin: 0 -8px 0 0; + padding: 0 8px 0 0; + background-position: left; +} + +paned.horizontal > separator:dir(rtl) { + margin: 0 0 0 -8px; + padding: 0 0 0 8px; + background-position: right; +} + +paned.horizontal > separator.wide { + margin: 0; + padding: 0; + background-repeat: repeat-y, repeat-y; + background-position: left, right; +} + +paned.vertical > separator { + margin: 0 0 -8px 0; + padding: 0 0 8px 0; + background-repeat: repeat-x; + background-position: top; +} + +paned.vertical > separator.wide { + margin: 0; + padding: 0; + background-repeat: repeat-x, repeat-x; + background-position: bottom, top; +} + +video { + background: black; +} + +video image.osd { + min-width: 64px; + min-height: 64px; + border-radius: 9999px; +} + +/************** + * GtkInfoBar * + **************/ +infobar { + border-style: none; +} + +infobar.info { + background-color: #66BB6A; +} + +infobar.question { + background-color: #42A5F5; +} + +infobar.warning { + background-color: #FFA726; +} + +infobar.error { + background-color: #EF5350; +} + +infobar.info > label, infobar.info, infobar.question > label, infobar.question, infobar.warning > label, infobar.warning, infobar.error > label, infobar.error { + color: #FFFFFF; +} + +/************ + * Tooltips * + ************/ +tooltip { + border-radius: 8px; + box-shadow: none; +} + +tooltip.background.csd { + border-radius: 8px; + box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); + background-color: rgba(63, 63, 63, 0.9); + color: rgba(255, 255, 255, 0.8); +} + +tooltip label { + min-height: 20px; + padding: 0 2px; +} + +tooltip > box { + border-spacing: 6px; +} + +/***************** + * Color Chooser * + *****************/ +colorswatch.top { + border-top-left-radius: 5.5px; + border-top-right-radius: 5.5px; +} + +colorswatch.top overlay { + border-top-left-radius: 5px; + border-top-right-radius: 5px; +} + +colorswatch.bottom { + border-bottom-left-radius: 5.5px; + border-bottom-right-radius: 5.5px; +} + +colorswatch.bottom overlay { + border-bottom-left-radius: 5px; + border-bottom-right-radius: 5px; +} + +colorswatch.left, colorswatch:first-child:not(.top) { + border-top-left-radius: 5.5px; + border-bottom-left-radius: 5.5px; +} + +colorswatch.left overlay, colorswatch:first-child:not(.top) overlay { + border-top-left-radius: 5px; + border-bottom-left-radius: 5px; +} + +colorswatch.right, colorswatch:last-child:not(.bottom) { + border-top-right-radius: 5.5px; + border-bottom-right-radius: 5.5px; +} + +colorswatch.right overlay, colorswatch:last-child:not(.bottom) overlay { + border-top-right-radius: 5px; + border-bottom-right-radius: 5px; +} + +colorswatch.dark { + color: #FFFFFF; +} + +colorswatch.light { + color: rgba(0, 0, 0, 0.87); +} + +colorswatch:drop(active) { + box-shadow: none; +} + +colorswatch:drop(active).light overlay { + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1), 0 0 0 2px #7C4DFF; +} + +colorswatch:drop(active).dark overlay { + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1), 0 0 0 2px #7C4DFF; +} + +colorswatch overlay { + transition: box-shadow 100ms cubic-bezier(0, 0, 0.2, 1); + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1); +} + +colorswatch overlay:hover { + box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06); +} + +colorswatch#add-color-button { + border-radius: 5px 5px 0 0; + color: #FFFFFF; +} + +colorswatch#add-color-button:only-child { + border-radius: 5px; +} + +colorswatch#add-color-button overlay { + background-image: linear-gradient(to right, #EF5350 25%, #FFA726 25%, #FFA726 50%, #66BB6A 50%, #66BB6A 75%, #42A5F5 75%); +} + +colorswatch:disabled { + opacity: 0.5; +} + +colorswatch:disabled overlay { + box-shadow: none; +} + +colorswatch#editor-color-sample { + border-radius: 5.5px; +} + +colorswatch#editor-color-sample overlay { + border-radius: 5px; +} + +colorchooser .popover.osd { + transition: box-shadow 100ms cubic-bezier(0, 0, 0.2, 1); + border-radius: 7px; + box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06), inset 0 1px rgba(255, 255, 255, 0.4); + background-color: #FFFFFF; +} + +colorchooser .popover.osd:backdrop { + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1), inset 0 1px rgba(255, 255, 255, 0.4); +} + +/******** + * Misc * + ********/ +.content-view { + background-color: #f4f4f9; +} + +/********************** + * Window Decorations * + **********************/ +window { + border: none; +} + +window.csd { + transition: box-shadow 100ms cubic-bezier(0, 0, 0.2, 1); + border-radius: 13px; + box-shadow: 0 14px 14px rgba(0, 0, 0, 0.25), 0 10px 5px rgba(0, 0, 0, 0.22), 0 16px 16px transparent; + margin: 0; +} + +window.csd:backdrop { + box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06), 0 16px 16px transparent; +} + +window.csd.popup { + border-radius: 13px; + box-shadow: 0 14px 14px rgba(0, 0, 0, 0.25), 0 10px 5px rgba(0, 0, 0, 0.22); +} + +window.csd.dialog.message { + border-radius: 13px; + box-shadow: 0 14px 14px rgba(0, 0, 0, 0.25), 0 10px 5px rgba(0, 0, 0, 0.22); +} + +window.csd.solid-csd { + margin: 0; + border: none; + border-radius: 0; + box-shadow: inset 0 1px rgba(255, 255, 255, 0.4); + background-color: #31313a; +} + +.maximized window, .fullscreen window, .tiled window, .tiled-top window, .tiled-right window, .tiled-bottom window, .tiled-left window { + border-radius: 0; +} + +.popup window { + box-shadow: none; +} + +.ssd window { + box-shadow: 0 3px 3px rgba(0, 0, 0, 0.16); +} + +/***************** + * Title buttons * + *****************/ +headerbar { + padding: 0 14px; +} + +headerbar windowcontrols { + border-spacing: 6px; +} + +headerbar windowcontrols:not(.empty).start:dir(ltr), headerbar windowcontrols:not(.empty).end:dir(rtl) { + margin-right: 4px; +} + +headerbar windowcontrols:not(.empty).start:dir(rtl), headerbar windowcontrols:not(.empty).end:dir(ltr) { + margin-left: 4px; +} + +headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).maximize, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).minimize { + min-width: 12px; + min-height: 12px; + padding: 0; + margin: 0 2px; + color: transparent; + background-color: rgba(255, 255, 255, 0.3); +} + +headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close:hover, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close:backdrop:hover, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).maximize:hover, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).maximize:backdrop:hover, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).minimize:hover, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).minimize:backdrop:hover { + color: rgba(255, 255, 255, 0.7); +} + +headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close:active, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close:checked, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close:backdrop:active, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close:backdrop:checked, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).maximize:active, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).maximize:checked, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).maximize:backdrop:active, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).maximize:backdrop:checked, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).minimize:active, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).minimize:checked, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).minimize:backdrop:active, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).minimize:backdrop:checked { + color: #FFFFFF; +} + +headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close:backdrop, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).maximize:backdrop, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).minimize:backdrop { + color: transparent; + background-color: rgba(255, 255, 255, 0.12); +} + +headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close { + transition: background-size 0, background-image 0, box-shadow 100ms cubic-bezier(0, 0, 0.2, 1); +} + +headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close:hover { + padding: 2px; + margin: -2px 0; + background-color: #EF5350; + color: rgba(255, 255, 255, 0.7); + box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06); +} + +headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close:active, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close:checked { + padding: 2px; + margin: -2px 0; + background-color: #7C4DFF; + color: #FFFFFF; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1); +} + +emoji-completion-row:focus, +emoji-completion-row:hover, .view selection, .view:selected, iconview selection, iconview:selected, flowbox > flowboxchild:selected, gridview > child:selected, entry > text > selection, spinbutton > text > selection, spinbutton:not(.vertical) > text > selection, dropdown popover listview > row:selected, +combobox popover listview > row:selected, modelbutton.flat:selected, row:selected, columnview row:not(:selected) cell editablelabel.editing text selection, calendar > grid > label.today:selected, calendar > grid > label.day-number:selected, filechooser stack.view scrolledwindow treeview.view selection, filechooser stack.view scrolledwindow treeview.view:selected { + background-color: #5657f5; +} + +row:selected label, label:selected, emoji-completion-row:focus, +emoji-completion-row:hover, .view selection, .view:selected, iconview selection, iconview:selected, flowbox > flowboxchild:selected, gridview > child:selected, entry > text > selection, spinbutton > text > selection, spinbutton:not(.vertical) > text > selection, dropdown popover listview > row:selected, +combobox popover listview > row:selected, modelbutton.flat:selected, row:selected, columnview row:not(:selected) cell editablelabel.editing text selection, calendar > grid > label.today:selected, calendar > grid > label.day-number:selected, filechooser stack.view scrolledwindow treeview.view selection, filechooser stack.view scrolledwindow treeview.view:selected { + color: #FFFFFF; +} + +row:selected label:disabled, label:disabled:selected, emoji-completion-row:disabled:focus, +emoji-completion-row:disabled:hover, .view selection:disabled, .view:disabled:selected, iconview selection:disabled, iconview:disabled:selected, flowbox > flowboxchild:disabled:selected, gridview > child:disabled:selected, entry > text > selection:disabled, spinbutton > text > selection:disabled, modelbutton.flat:disabled:selected, row:disabled:selected, columnview row:not(:selected) cell editablelabel.editing text selection:disabled, calendar > grid > label.today:disabled:selected, calendar > grid > label.day-number:disabled:selected, filechooser stack.view scrolledwindow treeview.view selection:disabled { + color: rgba(255, 255, 255, 0.5); +} + +.monospace { + font-family: monospace; +} + +/********************** + * Touch Copy & Paste * + **********************/ +cursor-handle { + border-radius: 9999px; + background-color: #7C4DFF; + background-image: none; +} + +cursor-handle.top:dir(ltr), cursor-handle.bottom:dir(rtl) { + padding-left: 6px; + border-top-right-radius: 0; +} + +cursor-handle.bottom:dir(ltr), cursor-handle.top:dir(rtl) { + padding-right: 6px; + border-top-left-radius: 0; +} + +cursor-handle.insertion-cursor:dir(ltr), cursor-handle.insertion-cursor:dir(rtl) { + -gtk-icon-source: -gtk-scaled(url("assets/scale-horz-marks-before-slider.png"), url("assets/scale-horz-marks-before-slider@2.png")); +} + +shortcuts-section { + margin: 20px; +} + +.shortcuts-search-results { + margin: 20px; + border-spacing: 24px; +} + +.context-menu { + font: initial; +} + +shortcut > .keycap { + min-width: 12px; + min-height: 26px; + margin-top: 2px; + padding-bottom: 2px; + padding-left: 8px; + padding-right: 8px; + border: solid 1px rgba(0, 0, 0, 0.08); + border-radius: 5px; + box-shadow: inset 0 -2px rgba(0, 0, 0, 0.08); + background-color: #FFFFFF; + color: rgba(0, 0, 0, 0.75); + font-size: smaller; +} + +:not(decoration):not(window):drop(active) { + transition: all 225ms cubic-bezier(0, 0, 0.2, 1); + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1), inset 0 0 0 2px #7C4DFF; + caret-color: #7C4DFF; +} + +stackswitcher button.text-button { + min-width: 100px; +} + +stackswitcher button.circular, +stackswitcher button.text-button.circular { + min-width: 32px; + min-height: 32px; + padding: 0; +} + +.lowres-icon { + -gtk-icon-shadow: 0 -1px rgba(0, 0, 0, 0.05), 1px 0 rgba(0, 0, 0, 0.1), 0 1px rgba(0, 0, 0, 0.3), -1px 0 rgba(0, 0, 0, 0.1); +} + +.icon-dropshadow { + -gtk-icon-shadow: 0 1px 12px rgba(0, 0, 0, 0.05), 0 -1px rgba(0, 0, 0, 0.05), 1px 0 rgba(0, 0, 0, 0.1), 0 1px rgba(0, 0, 0, 0.3), -1px 0 rgba(0, 0, 0, 0.1); +} + +/********* + * Emoji * + *********/ +popover.emoji-picker > contents { + padding: 0; +} + +.emoji-searchbar { + padding: 4px; + border-spacing: 4px; + border-bottom: 1px solid rgba(0, 0, 0, 0.08); +} + +.emoji-toolbar { + padding: 4px; + border-spacing: 4px; + border-top: 1px solid rgba(0, 0, 0, 0.08); +} + +button.emoji-section { + margin-top: -1px; + padding: 0 8px; + min-width: 24px; + min-height: 32px; + border-radius: 0; + box-shadow: none; +} + +button.emoji-section:hover { + box-shadow: inset 0 2px rgba(0, 0, 0, 0.2); +} + +button.emoji-section:active { + box-shadow: inset 0 2px #5657f5; +} + +button.emoji-section:checked { + box-shadow: inset 0 2px #5657f5; + background-color: transparent; +} + +button.emoji-section:first-child { + margin-left: 4px; +} + +button.emoji-section:last-child { + margin-right: 4px; +} + +popover.emoji-picker emoji { + font-size: x-large; + padding: 4px; + border-radius: 4px; +} + +popover.emoji-picker emoji:focus, popover.emoji-picker emoji:hover { + background: #5657f5; +} + +emoji-completion-row > box { + border-spacing: 4px; + padding: 2px 4px; +} + +emoji-completion-row emoji:focus, +emoji-completion-row emoji:hover { + background: none; + box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.05); + border-radius: 3px; +} + +popover.entry-completion > contents { + padding: 0; +} + +statusbar { + padding: 4px 8px; +} + +/* GTK NAMED COLORS + ---------------- + use responsibly! */ +/* +widget text/foreground color */ +@define-color theme_fg_color rgba(0, 0, 0, 0.75); +/* +text color for entries, views and content in general */ +@define-color theme_text_color currentColor; +/* +widget base background color */ +@define-color theme_bg_color #f4f4f9; +/* +text widgets and the like base background color */ +@define-color theme_base_color #FFFFFF; +/* +base background color of selections */ +@define-color theme_selected_bg_color #5657f5; +/* +text/foreground color of selections */ +@define-color theme_selected_fg_color #FFFFFF; +/* +base background color of insensitive widgets */ +@define-color insensitive_bg_color #f4f4f9; +/* +text foreground color of insensitive widgets */ +@define-color insensitive_fg_color alpha(currentColor, 0.5); +/* +insensitive text widgets and the like base background color */ +@define-color insensitive_base_color #eaeaf4; +/* +widget text/foreground color on backdrop windows */ +@define-color theme_unfocused_fg_color rgba(0, 0, 0, 0.75); +/* +text color for entries, views and content in general on backdrop windows */ +@define-color theme_unfocused_text_color currentColor; +/* +widget base background color on backdrop windows */ +@define-color theme_unfocused_bg_color #f4f4f9; +/* +text widgets and the like base background color on backdrop windows */ +@define-color theme_unfocused_base_color #FFFFFF; +/* +base background color of selections on backdrop windows */ +@define-color theme_unfocused_selected_bg_color #5657f5; +/* +text/foreground color of selections on backdrop windows */ +@define-color theme_unfocused_selected_fg_color #FFFFFF; +/* +insensitive color on backdrop windows */ +@define-color unfocused_insensitive_color alpha(currentColor, 0.5); +/* +widgets main borders color */ +@define-color borders alpha(currentColor, 0.12); +/* +widgets main borders color on backdrop windows */ +@define-color unfocused_borders alpha(currentColor, 0.12); +/* +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 #757575; +/* Very contrasty background for text views (@theme_text_color foreground) */ +@define-color text_view_bg #FFFFFF; +@define-color budgie_tasklist_indicator_color #7C4DFF; +@define-color budgie_tasklist_indicator_color_active #7C4DFF; +@define-color budgie_tasklist_indicator_color_active_window rgba(90, 62, 174, 0.931); +@define-color budgie_tasklist_indicator_color_attention #FF6D00; +@define-color STRAWBERRY_100 #FF9262; +@define-color STRAWBERRY_300 #FF793E; +@define-color STRAWBERRY_500 #F15D22; +@define-color STRAWBERRY_700 #CF3B00; +@define-color STRAWBERRY_900 #AC1800; +@define-color ORANGE_100 #FFDB91; +@define-color ORANGE_300 #FFCA40; +@define-color ORANGE_500 #FAA41A; +@define-color ORANGE_700 #DE8800; +@define-color ORANGE_900 #C26C00; +@define-color BANANA_100 #FFFFA8; +@define-color BANANA_300 #FFFA7D; +@define-color BANANA_500 #FFCE51; +@define-color BANANA_700 #D1A023; +@define-color BANANA_900 #A27100; +@define-color LIME_100 #A2F3BE; +@define-color LIME_300 #8ADBA6; +@define-color LIME_500 #73C48F; +@define-color LIME_700 #479863; +@define-color LIME_900 #1C6D38; +@define-color BLUEBERRY_100 #94A6FF; +@define-color BLUEBERRY_300 #6A7CE0; +@define-color BLUEBERRY_500 #3F51B5; +@define-color BLUEBERRY_700 #213397; +@define-color BLUEBERRY_900 #031579; +@define-color GRAPE_100 #D25DE6; +@define-color GRAPE_300 #B84ACB; +@define-color GRAPE_500 #9C27B0; +@define-color GRAPE_700 #830E97; +@define-color GRAPE_900 #6A007E; +@define-color COCOA_100 #9F9792; +@define-color COCOA_300 #7B736E; +@define-color COCOA_500 #574F4A; +@define-color COCOA_700 #463E39; +@define-color COCOA_900 #342C27; +@define-color SILVER_100 #EEE; +@define-color SILVER_300 #CCC; +@define-color SILVER_500 #AAA; +@define-color SILVER_700 #888; +@define-color SILVER_900 #666; +@define-color SLATE_100 #888; +@define-color SLATE_300 #666; +@define-color SLATE_500 #444; +@define-color SLATE_700 #222; +@define-color SLATE_900 #111; +@define-color BLACK_100 #474341; +@define-color BLACK_300 #403C3A; +@define-color BLACK_500 #393634; +@define-color BLACK_700 #33302F; +@define-color BLACK_900 #2B2928; diff --git a/src/gtk/4.0/gtk-solid.scss b/src/gtk/4.0/gtk-solid.scss new file mode 100644 index 0000000..a0b9021 --- /dev/null +++ b/src/gtk/4.0/gtk-solid.scss @@ -0,0 +1,11 @@ +$variant: 'light'; +$titlebar: 'dark'; +$compact: 'true'; +$solid: 'true'; + +@import '../../_sass/variables'; +@import '../../_sass/colors'; +@import '../../_sass/gtk/drawing-4.0'; +@import '../../_sass/gtk/common-4.0'; +@import '../../_sass/gtk/apps-4.0'; +@import '../../_sass/gtk/colors-public'; diff --git a/src/gtk/4.0/gtk.css b/src/gtk/4.0/gtk.css new file mode 100644 index 0000000..8a13482 --- /dev/null +++ b/src/gtk/4.0/gtk.css @@ -0,0 +1,4481 @@ +@keyframes ripple_effect { + to { + background-size: 1000% 1000%; + } +} + +@keyframes scale_ripple_effect { + to { + background-size: auto, 1000% 1000%; + } +} + +@keyframes header_ripple_effect { + from { + background-image: radial-gradient(circle, #5657f5 0%, transparent 0%); + } + to { + background-image: radial-gradient(circle, #5657f5 100%, transparent 0%); + } +} + +* { + padding: 0; + background-clip: padding-box; + -gtk-secondary-caret-color: #5657f5; +} + +/*************** + * Base States * + ***************/ +.background { + background-color: #f4f4f9; + color: rgba(0, 0, 0, 0.75); +} + +.background.csd { + border-radius: 13px; + background-color: #f4f4f9; +} + +.background.maximized, .background.tiled, .background.fullscreen, .background.solid-csd { + border-radius: 0; +} + +dnd { + color: rgba(0, 0, 0, 0.75); +} + +.normal-icons { + -gtk-icon-size: 16px; +} + +.large-icons { + -gtk-icon-size: 32px; +} + +spinner:disabled, +arrow:disabled, +scrollbar:disabled, +check:disabled, +radio:disabled, +treeview.expander:disabled { + -gtk-icon-filter: opacity(0.5); +} + +filechooser stack.view scrolledwindow treeview.view, iconview, .view { + background-color: #FFFFFF; + color: rgba(0, 0, 0, 0.75); +} + +filechooser stack.view scrolledwindow treeview.view:disabled, iconview:disabled, .view:disabled { + color: rgba(0, 0, 0, 0.38); +} + +textview > text { + background-color: #FFFFFF; +} + +textview > border { + background-color: #eaeaf4; + color: rgba(0, 0, 0, 0.38); +} + +textview:drop(active) { + caret-color: #FFA726; +} + +iconview { + border-radius: 5px; +} + +iconview > dndtarget:drop(active) { + border: none; +} + +rubberband, .content-view > rubberband, columnview.view > rubberband, +treeview.view > rubberband, gridview > rubberband, flowbox > rubberband { + border: 1px solid #5C6BC0; + background-color: rgba(92, 107, 192, 0.3); +} + +flowbox > flowboxchild { + padding: 4px; + border-radius: 7px; +} + +gridview > child { + padding: 3px; +} + +gridview > child box { + border-spacing: 8px; + margin: 12px; +} + +coverflow cover { + color: rgba(0, 0, 0, 0.75); + background-color: #FFFFFF; + border: none; +} + +label.separator { + color: rgba(0, 0, 0, 0.75); +} + +label > selection { + background-color: #5657f5; + color: #FFFFFF; +} + +.dim-label, headerbar .subtitle, spinbutton:not(.vertical) > text > placeholder, entry > text > placeholder, label.separator { + opacity: 0.6; +} + +window.assistant .sidebar { + padding: 4px 0; +} + +window.assistant.csd .sidebar { + border-top-style: none; +} + +window.assistant .sidebar label { + min-height: 32px; + padding: 0 12px; + color: rgba(0, 0, 0, 0.38); + font-weight: 500; +} + +window.assistant .sidebar label.highlight { + color: rgba(0, 0, 0, 0.75); +} + +window.aboutdialog image.large-icons { + -gtk-icon-size: 128px; +} + +.osd .scale-popup, .app-notification, popover.background.touch-selection, popover.background.magnifier, popover.background.osd, .osd { + color: rgba(255, 255, 255, 0.8); + border: none; + background-color: rgba(37, 37, 45, 0.85); + background-clip: padding-box; + border-radius: 8px; + padding: 6px; + margin: 6px; + box-shadow: 0 14px 14px rgba(0, 0, 0, 0.25), 0 10px 5px rgba(0, 0, 0, 0.22); +} + +/********************* + * Spinner Animation * + *********************/ +@keyframes spin { + to { + transform: rotate(1turn); + } +} + +spinner { + background: none; + opacity: 0; + -gtk-icon-source: -gtk-icontheme("process-working-symbolic"); +} + +spinner:checked { + opacity: 1; + animation: spin 1s linear infinite; +} + +spinner:checked:disabled { + opacity: 0.5; +} + +.large-title { + font-weight: 300; + font-size: 24pt; +} + +.title-1 { + font-weight: 800; + font-size: 20pt; +} + +.title-2 { + font-weight: 800; + font-size: 15pt; +} + +.title-3 { + font-weight: 700; + font-size: 15pt; +} + +.title-4 { + font-weight: 700; + font-size: 13pt; +} + +.heading { + font-weight: 700; + font-size: 11pt; +} + +.body { + font-weight: 400; + font-size: 11pt; +} + +.caption-heading { + font-weight: 700; + font-size: 9pt; +} + +.caption { + font-weight: 400; + font-size: 9pt; +} + +/**************** + * Text Entries * + ****************/ +spinbutton:not(.vertical), entry { + min-height: 32px; + padding: 0 8px; + border-radius: 7px; + transition: all 100ms cubic-bezier(0, 0, 0.2, 1); + border-image: none; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1); + background-color: #FFFFFF; + color: rgba(0, 0, 0, 0.75); +} + +spinbutton:focus-within:not(.vertical), entry:focus-within { + border-image: none; + box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06); +} + +spinbutton:disabled:not(.vertical), entry:disabled { + box-shadow: none; + background-color: #eaeaf4; + color: rgba(0, 0, 0, 0.38); +} + +colorchooser .popover.osd spinbutton:not(.vertical), window.dialog.message entry, notebook > stack:not(:only-child) entry:not(.search), +notebook > stack:not(:only-child) spinbutton:not(.vertical), popover.background .linked entry, popover.background entry, +popover.background spinbutton:not(.vertical), spinbutton.flat:not(.vertical), entry.flat { + border-radius: 0; + transition: all 100ms cubic-bezier(0, 0, 0.2, 1), box-shadow 225ms cubic-bezier(0, 0, 0.2, 1); + box-shadow: inset 0 -1px rgba(0, 0, 0, 0.2), inset 0 -2px transparent; + background-color: transparent; + color: rgba(0, 0, 0, 0.75); +} + +colorchooser .popover.osd spinbutton:focus-within:not(.vertical), window.dialog.message entry:focus-within, notebook > stack:not(:only-child) entry:focus-within:not(.search), +notebook > stack:not(:only-child) spinbutton:focus-within:not(.vertical), popover.background entry:focus-within, +popover.background spinbutton:focus-within:not(.vertical), spinbutton.flat:focus-within:not(.vertical), entry.flat:focus-within { + box-shadow: inset 0 -1px transparent, inset 0 -2px #5657f5; +} + +colorchooser .popover.osd spinbutton:disabled:not(.vertical), window.dialog.message entry:disabled, notebook > stack:not(:only-child) entry:disabled:not(.search), +notebook > stack:not(:only-child) spinbutton:disabled:not(.vertical), popover.background entry:disabled, +popover.background spinbutton:disabled:not(.vertical), spinbutton.flat:disabled:not(.vertical), entry.flat:disabled { + box-shadow: inset 0 -1px rgba(0, 0, 0, 0.08), inset 0 -2px transparent; + background-color: transparent; + color: rgba(0, 0, 0, 0.38); +} + +spinbutton:not(.vertical) image, entry image { + color: rgba(0, 0, 0, 0.55); +} + +spinbutton:not(.vertical) image:hover, spinbutton:not(.vertical) image:active, entry image:hover, entry image:active { + color: rgba(0, 0, 0, 0.75); +} + +spinbutton:not(.vertical) image:disabled, entry image:disabled { + color: rgba(0, 0, 0, 0.38); +} + +spinbutton:not(.vertical) image.left, entry image.left { + margin-left: 0px; + margin-right: 6px; +} + +spinbutton:not(.vertical) image.right, entry image.right { + margin-left: 6px; + margin-right: 0px; +} + +spinbutton:focus-within:not(.vertical) > placeholder, entry:focus-within > placeholder { + opacity: 0; +} + +spinbutton:not(.vertical) > text > block-cursor, entry > text > block-cursor { + color: #FFFFFF; + background-color: rgba(0, 0, 0, 0.75); +} + +spinbutton:not(.vertical) undershoot.left, entry undershoot.left { + background-color: transparent; + background-image: linear-gradient(to top, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.2) 50%); + padding-left: 1px; + background-size: 1px 12px; + background-repeat: repeat-y; + background-origin: content-box; + background-position: left top; +} + +spinbutton:not(.vertical) undershoot.right, entry undershoot.right { + background-color: transparent; + background-image: linear-gradient(to top, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.2) 50%); + padding-right: 1px; + background-size: 1px 12px; + background-repeat: repeat-y; + background-origin: content-box; + background-position: right top; +} + +spinbutton.password:not(.vertical) image.caps-lock-indicator, entry.password image.caps-lock-indicator { + color: rgba(0, 0, 0, 0.26); +} + +spinbutton.error:not(.vertical), entry.error { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1); + border-image: none; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1); + background-color: #DD2C00; + color: #FFFFFF; +} + +spinbutton.error:focus-within:not(.vertical), entry.error:focus-within { + border-image: none; + box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06); +} + +spinbutton.error:disabled:not(.vertical), entry.error:disabled { + box-shadow: none; + background-color: #eaeaf4; + color: rgba(0, 0, 0, 0.38); +} + +spinbutton.error.flat:not(.vertical), entry.error.flat { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1), box-shadow 225ms cubic-bezier(0, 0, 0.2, 1); + box-shadow: inset 0 -1px #DD2C00, inset 0 -2px transparent; + background-color: transparent; + color: rgba(0, 0, 0, 0.75); +} + +spinbutton.error.flat:focus-within:not(.vertical), entry.error.flat:focus-within { + box-shadow: inset 0 -1px transparent, inset 0 -2px #DD2C00; +} + +spinbutton.error.flat:disabled:not(.vertical), entry.error.flat:disabled { + box-shadow: inset 0 -1px rgba(0, 0, 0, 0.08), inset 0 -2px transparent; + background-color: transparent; + color: rgba(0, 0, 0, 0.38); +} + +spinbutton.error:not(.vertical) image, entry.error image { + color: rgba(255, 255, 255, 0.7); +} + +spinbutton.error:not(.vertical) image:hover, spinbutton.error:not(.vertical) image:active, entry.error image:hover, entry.error image:active { + color: #FFFFFF; +} + +spinbutton.error:not(.vertical) image:disabled, entry.error image:disabled { + color: rgba(255, 255, 255, 0.5); +} + +spinbutton.warning:not(.vertical), entry.warning { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1); + border-image: none; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1); + background-color: #FF6D00; + color: #FFFFFF; +} + +spinbutton.warning:focus-within:not(.vertical), entry.warning:focus-within { + border-image: none; + box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06); +} + +spinbutton.warning:disabled:not(.vertical), entry.warning:disabled { + box-shadow: none; + background-color: #eaeaf4; + color: rgba(0, 0, 0, 0.38); +} + +spinbutton.warning.flat:not(.vertical), entry.warning.flat { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1), box-shadow 225ms cubic-bezier(0, 0, 0.2, 1); + box-shadow: inset 0 -1px #FF6D00, inset 0 -2px transparent; + background-color: transparent; + color: rgba(0, 0, 0, 0.75); +} + +spinbutton.warning.flat:focus-within:not(.vertical), entry.warning.flat:focus-within { + box-shadow: inset 0 -1px transparent, inset 0 -2px #FF6D00; +} + +spinbutton.warning.flat:disabled:not(.vertical), entry.warning.flat:disabled { + box-shadow: inset 0 -1px rgba(0, 0, 0, 0.08), inset 0 -2px transparent; + background-color: transparent; + color: rgba(0, 0, 0, 0.38); +} + +spinbutton.warning:not(.vertical) image, entry.warning image { + color: rgba(255, 255, 255, 0.7); +} + +spinbutton.warning:not(.vertical) image:hover, spinbutton.warning:not(.vertical) image:active, entry.warning image:hover, entry.warning image:active { + color: #FFFFFF; +} + +spinbutton.warning:not(.vertical) image:disabled, entry.warning image:disabled { + color: rgba(255, 255, 255, 0.5); +} + +spinbutton:not(.vertical) > progress, entry > progress { + margin: 2px -6px; +} + +spinbutton:not(.vertical) progress > trough > progress, entry progress > trough > progress { + background-color: transparent; + background-image: none; + border-radius: 0; + border-bottom: 2px solid #5657f5; + box-shadow: none; +} + +.linked:not(.vertical) > spinbutton.flat:not(.vertical), .linked.vertical > spinbutton.flat:not(.vertical), .linked:not(.vertical) > entry.flat, .linked.vertical > entry.flat { + border-radius: 0; +} + +notebook > stack:not(:only-child) treeview entry:not(.search), +notebook > stack:not(:only-child) treeview spinbutton:not(.vertical), +treeview entry { + min-height: 0; + padding: 2px; + border-radius: 0; + background-color: #FFFFFF; +} + +notebook > stack:not(:only-child) treeview entry:not(.search), +notebook > stack:not(:only-child) treeview spinbutton:not(.vertical), +treeview entry { + border-image: none; + box-shadow: none; +} + +editablelabel > stack > text { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1); + border-image: none; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1); + background-color: #FFFFFF; + color: rgba(0, 0, 0, 0.75); +} + +.entry-tag { + margin: 2px; + border-radius: 9999px; + box-shadow: none; + background-color: #5657f5; + color: #FFFFFF; +} + +.entry-tag:hover { + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1); +} + +:dir(ltr) .entry-tag { + margin-left: 4px; + margin-right: 0; + padding-left: 12px; + padding-right: 8px; +} + +:dir(rtl) .entry-tag { + margin-left: 0; + margin-right: 4px; + padding-left: 8px; + padding-right: 12px; +} + +.entry-tag.button { + box-shadow: none; + background-color: transparent; +} + +.entry-tag.button:not(:hover):not(:active) { + color: rgba(255, 255, 255, 0.7); +} + +/*********** + * Buttons * + ***********/ +@keyframes needs_attention { + from { + background-image: radial-gradient(farthest-side, #5657f5 0%, rgba(86, 87, 245, 0) 0%); + } + to { + background-image: radial-gradient(farthest-side, #5657f5 95%, rgba(86, 87, 245, 0)); + } +} + + +button { + min-height: 24px; + min-width: 16px; + padding: 4px 8px; + border-radius: 7px; + font-weight: 500; + transition: 100ms; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1), inset 0 0 0 9999px transparent; + background-color: #FFFFFF; + color: rgba(0, 0, 0, 0.65); +} + + +button:hover { + box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06), inset 0 0 0 9999px transparent; + color: rgba(0, 0, 0, 0.75); +} + + +button:active { + box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06), inset 0 0 0 9999px alpha(currentColor, 0.15); + color: rgba(0, 0, 0, 0.75); +} + + +button:disabled { + box-shadow: none; + background-color: #eaeaf4; + color: rgba(0, 0, 0, 0.26); +} + + +button:checked { + background-color: #5657f5; + color: #FFFFFF; + background-image: linear-gradient(to bottom, #6C6AF2, #4648FB); + background-size: auto auto; + background-position: center center; + background-repeat: no-repeat; +} + + +button:checked:disabled { + background-color: rgba(86, 87, 245, 0.3); + color: rgba(86, 87, 245, 0.5); + background-image: none; +} + +placessidebar .navigation-sidebar > row button.sidebar-button, window.dialog.message.csd .linked.dialog-action-area:not(.vertical) > button, window.dialog.message .linked.dialog-action-area:not(.vertical) > button, check, +radio, scrollbar button, notebook > header > tabs > arrow, spinbutton.vertical button, spinbutton:not(.vertical) button, infobar.info button, infobar.question button, infobar.warning button, infobar.error button, .app-notification button, actionbar > revealer > box button:not(.suggested-action):not(.destructive-action):not(.server-list-button), modelbutton.flat, popover.menu box.circular-buttons button.circular.image-button.model, popover.menu box.inline-buttons button.image-button.model, +pathbar > button, +headerbar button:not(.suggested-action):not(.destructive-action), +toolbar button, .toolbar button, +button.flat { + transition: 100ms; + box-shadow: inset 0 0 0 9999px transparent; + background-color: transparent; + color: rgba(0, 0, 0, 0.55); +} + +placessidebar .navigation-sidebar > row button.sidebar-button:hover, window.dialog.message .linked:not(.vertical).dialog-action-area > button:hover, check:hover, +radio:hover, scrollbar button:hover, notebook > header > tabs > arrow:hover, spinbutton.vertical button:hover, spinbutton:not(.vertical) button:hover, infobar.info button:hover, infobar.question button:hover, infobar.warning button:hover, infobar.error button:hover, .app-notification button:hover, actionbar > revealer > box button:hover:not(.suggested-action):not(.destructive-action):not(.server-list-button), modelbutton.flat:hover, popover.menu box.circular-buttons button.circular.image-button.model:hover, popover.menu box.inline-buttons button.image-button.model:hover, +pathbar > button:hover, +headerbar button:hover:not(.suggested-action):not(.destructive-action), +toolbar button:hover, .toolbar button:hover, +button.flat:hover { + box-shadow: inset 0 0 0 9999px alpha(currentColor, 0.15); + color: rgba(0, 0, 0, 0.75); +} + +placessidebar .navigation-sidebar > row button.sidebar-button:active, window.dialog.message .linked:not(.vertical).dialog-action-area > button:active, check:active, +radio:active, scrollbar button:active, notebook > header > tabs > arrow:active, spinbutton.vertical button:active, spinbutton:not(.vertical) button:active, infobar.info button:active, infobar.question button:active, infobar.warning button:active, infobar.error button:active, .app-notification button:active, actionbar > revealer > box button:active:not(.suggested-action):not(.destructive-action):not(.server-list-button), modelbutton.flat:active, popover.menu box.circular-buttons button.circular.image-button.model:active, popover.menu box.inline-buttons button.image-button.model:active, +pathbar > button:active, +headerbar button:active:not(.suggested-action):not(.destructive-action), +toolbar button:active, .toolbar button:active, +button.flat:active { + box-shadow: inset 0 0 0 9999px alpha(currentColor, 0.3); + color: rgba(0, 0, 0, 0.75); +} + +placessidebar .navigation-sidebar > row button.sidebar-button:disabled, window.dialog.message .linked:not(.vertical).dialog-action-area > button:disabled, check:disabled, +radio:disabled, scrollbar button:disabled, notebook > header > tabs > arrow:disabled, spinbutton.vertical button:disabled, spinbutton:not(.vertical) button:disabled, infobar.info button:disabled, infobar.question button:disabled, infobar.warning button:disabled, infobar.error button:disabled, .app-notification button:disabled, actionbar > revealer > box button:disabled:not(.suggested-action):not(.destructive-action):not(.server-list-button), modelbutton.flat:disabled, popover.menu box.circular-buttons button.circular.image-button.model:disabled, popover.menu box.inline-buttons button.image-button.model:disabled, +pathbar > button:disabled, +headerbar button:disabled:not(.suggested-action):not(.destructive-action), +toolbar button:disabled, .toolbar button:disabled, +button.flat:disabled { + box-shadow: none; + background-color: transparent; + color: rgba(0, 0, 0, 0.26); +} + +infobar.info button:checked, infobar.question button:checked, infobar.warning button:checked, infobar.error button:checked, .app-notification button:checked, actionbar > revealer > box button:checked:not(.suggested-action):not(.destructive-action):not(.server-list-button), modelbutton.flat:checked, popover.menu box.circular-buttons button.circular.image-button.model:checked, popover.menu box.inline-buttons button.image-button.model:checked, +pathbar > button:checked, +headerbar button:checked:not(.suggested-action):not(.destructive-action), +toolbar button:checked, .toolbar button:checked, +button.flat:checked { + background-color: rgba(0, 0, 0, 0.2); + color: rgba(0, 0, 0, 0.75); +} + +infobar.info button:checked:disabled, infobar.question button:checked:disabled, infobar.warning button:checked:disabled, infobar.error button:checked:disabled, .app-notification button:checked:disabled, actionbar > revealer > box button:checked:disabled:not(.suggested-action):not(.destructive-action):not(.server-list-button), modelbutton.flat:checked:disabled, popover.menu box.circular-buttons button.circular.image-button.model:checked:disabled, popover.menu box.inline-buttons button.image-button.model:checked:disabled, +pathbar > button:checked:disabled, +headerbar button:checked:disabled:not(.suggested-action):not(.destructive-action), +toolbar button:checked:disabled, .toolbar button:checked:disabled, +button.flat:checked:disabled { + background-color: rgba(0, 0, 0, 0.08); + color: rgba(0, 0, 0, 0.38); +} + + +button.text-button { + padding-left: 16px; + padding-right: 16px; +} + + +button.image-button { + min-width: 24px; + padding: 4px; +} + + +button.text-button.image-button label:first-child { + margin-left: 12px; +} + + +button.text-button.image-button label:last-child { + margin-right: 12px; +} + + +button.text-button.image-button image:not(:only-child) { + margin: 0 4px; +} + +.linked > button.flat, .linked.vertical > button.flat { + border-radius: 7px; +} + +.linked > button.flat.image-button, .linked > button.flat.text-button.image-button, .linked.vertical > button.flat.image-button, .linked.vertical > button.flat.text-button.image-button { + border-radius: 7px; +} + +row:selected button:disabled { + background-color: rgba(255, 255, 255, 0.12); + color: rgba(255, 255, 255, 0.3); +} + +infobar.info button, infobar.question button, infobar.warning button, infobar.error button, row:selected button.flat { + color: rgba(255, 255, 255, 0.7); +} + +infobar.info button:hover, infobar.question button:hover, infobar.warning button:hover, infobar.error button:hover, infobar.info button:active, infobar.question button:active, infobar.warning button:active, infobar.error button:active, row:selected button.flat:hover, row:selected button.flat:active { + color: #FFFFFF; +} + +infobar.info button:disabled, infobar.question button:disabled, infobar.warning button:disabled, infobar.error button:disabled, row:selected button.flat:disabled { + color: rgba(255, 255, 255, 0.3); +} + +infobar.info button:checked, infobar.question button:checked, infobar.warning button:checked, infobar.error button:checked, row:selected button.flat:checked { + background-color: rgba(255, 255, 255, 0.3); + color: #FFFFFF; +} + +infobar.info button:checked:disabled, infobar.question button:checked:disabled, infobar.warning button:checked:disabled, infobar.error button:checked:disabled, row:selected button.flat:checked:disabled { + background-color: rgba(255, 255, 255, 0.12); + color: rgba(255, 255, 255, 0.5); +} + + +button.osd { + padding: 7px 11px; +} + + +button.osd.image-button { + padding: 7px; +} + + +button.osd:disabled { + opacity: 0; +} + + +button.suggested-action { + background-color: #7C4DFF; + color: #FFFFFF; + background-image: linear-gradient(to bottom, #4FC3F7, #42A5F5); + background-size: auto auto; + background-position: center center; + background-repeat: no-repeat; +} + + +button.suggested-action:disabled { + box-shadow: none; + background-color: #eaeaf4; + color: rgba(0, 0, 0, 0.38); + background-image: none; +} + + +button.suggested-action:checked { + background-color: #a382ff; +} + + +button.suggested-action.flat { + background-color: transparent; + color: #7C4DFF; + background-image: none; +} + + +button.suggested-action.flat:disabled { + box-shadow: none; + background-color: transparent; + color: rgba(0, 0, 0, 0.38); + background-image: none; +} + + +button.suggested-action.flat:checked { + background-image: none; + background-color: rgba(124, 77, 255, 0.3); +} + + +button.destructive-action { + background-color: #FF5252; + color: #FFFFFF; + background-image: linear-gradient(to bottom, #EF5350, #FF5252); + background-size: auto auto; + background-position: center center; + background-repeat: no-repeat; +} + + +button.destructive-action:disabled { + box-shadow: none; + background-color: #eaeaf4; + color: rgba(0, 0, 0, 0.38); + background-image: none; +} + + +button.destructive-action:checked { + background-color: #ff8686; +} + + +button.destructive-action.flat { + background-color: transparent; + color: #FF5252; + background-image: none; +} + + +button.destructive-action.flat:disabled { + box-shadow: none; + background-color: transparent; + color: rgba(0, 0, 0, 0.38); + background-image: none; +} + + +button.destructive-action.flat:checked { + background-image: none; + background-color: rgba(255, 82, 82, 0.3); +} + +stackswitcher > button { + outline-offset: -4px; +} + +stackswitcher > button > label { + padding-left: 6px; + padding-right: 6px; +} + +stackswitcher > button > image { + padding-left: 6px; + padding-right: 6px; + padding-top: 3px; + padding-bottom: 3px; +} + +stackswitcher > button.text-button { + padding-left: 10px; + padding-right: 10px; +} + +stackswitcher > button.image-button { + padding-left: 2px; + padding-right: 2px; +} + +stackswitcher > button.needs-attention:checked > label, +stackswitcher > button.needs-attention:checked > image { + animation: none; + background-image: none; +} + +.primary-toolbar button { + -gtk-icon-shadow: none; +} + +headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action), row button.image-button, check, +radio, popover.menu box.circular-buttons button.circular.image-button.model, headerbar.default-decoration windowcontrols button, headerbar button.suggested-action, headerbar button.destructive-action, +headerbar button:not(.suggested-action):not(.destructive-action), +button.close, +button.circular, +button.round-button { + border-radius: 9999px; +} + +placessidebar .navigation-sidebar > row button.sidebar-button, notebook > header tab button.flat, spinbutton:not(.vertical) button { + min-height: 20px; + min-width: 20px; + padding: 0; + border-radius: 9999px; +} + +stacksidebar row.needs-attention > label, stackswitcher > button.needs-attention > label, +stackswitcher > button.needs-attention > image { + animation: needs_attention 225ms cubic-bezier(0, 0, 0.2, 1) forwards; + background-repeat: no-repeat; + background-position: right 3px; + background-size: 6px 6px; +} + +stacksidebar row.needs-attention > label:dir(rtl), stackswitcher > button.needs-attention > label:dir(rtl), +stackswitcher > button.needs-attention > image:dir(rtl) { + background-position: left 3px; +} + +.linked:not(.vertical) > combobox > box > button.combo, row .linked button, .linked:not(.vertical) > spinbutton:not(.vertical), .linked:not(.vertical) > entry, .linked > button { + border-radius: 0; +} + +row .linked button:first-child, .linked:not(.vertical) > spinbutton:first-child:not(.vertical), .linked:not(.vertical) > entry:first-child, .linked > button:first-child { + border-top-left-radius: 7px; + border-bottom-left-radius: 7px; +} + +row .linked button:last-child, .linked:not(.vertical) > spinbutton:last-child:not(.vertical), .linked:not(.vertical) > entry:last-child, .linked > button:last-child { + border-top-right-radius: 7px; + border-bottom-right-radius: 7px; +} + +row .linked button:only-child, .linked:not(.vertical) > spinbutton:only-child:not(.vertical), .linked:not(.vertical) > entry:only-child, .linked > button:only-child { + border-radius: 7px; +} + +.linked.vertical > combobox > box > button.combo, .linked.vertical > spinbutton:not(.vertical), .linked.vertical > entry, .linked.vertical > button { + border-radius: 0; +} + +.linked.vertical > spinbutton:first-child:not(.vertical), .linked.vertical > entry:first-child, .linked.vertical > button:first-child { + border-top-left-radius: 7px; + border-top-right-radius: 7px; +} + +.linked.vertical > spinbutton:last-child:not(.vertical), .linked.vertical > entry:last-child, .linked.vertical > button:last-child { + border-bottom-left-radius: 7px; + border-bottom-right-radius: 7px; +} + +.linked.vertical > spinbutton:only-child:not(.vertical), .linked.vertical > entry:only-child, .linked.vertical > button:only-child { + border-radius: 7px; +} + +.toolbar button { + margin: 1px; +} + +button.color { + min-height: 20px; + min-width: 20px; + padding: 4px; +} + +button.color > colorswatch:only-child, button.color > colorswatch:only-child > overlay { + border-radius: 0; +} + +/********* + * Links * + *********/ +button.link, +link { + color: #5657f5; +} + +button.link:visited, +link:visited, +link:visited:hover, +link:visited:active { + color: #E040FB; +} + +infobar.info *:link, infobar.question *:link, infobar.warning *:link, infobar.error *:link, headerbar.selection-mode .subtitle:link, button.link:selected, *:selected button.link, +link:selected, *:selected link { + color: #FFFFFF; +} + +button.link > label { + text-decoration-line: underline; +} + +/***************** + * GtkSpinButton * + *****************/ +spinbutton { + font-feature-settings: "tnum"; +} + +spinbutton > text > block-cursor { + background-color: rgba(0, 0, 0, 0.75); + color: #FFFFFF; +} + +spinbutton:not(.vertical) { + padding: 0; +} + +notebook > stack:not(:only-child) spinbutton:not(.vertical) entry, notebook > stack:not(:only-child) spinbutton:not(.vertical) entry:focus, notebook > stack:not(:only-child) spinbutton:not(.vertical) entry:disabled, +spinbutton:not(.vertical) text { + min-width: 22px; + margin: 0; + padding-left: 12px; + border-image: none; + border-radius: 0; + box-shadow: none; + background-color: transparent; +} + +spinbutton:not(.vertical) button { + border: solid 6px transparent; +} + +spinbutton:not(.vertical) button.up:dir(ltr), spinbutton:not(.vertical) button.down:dir(rtl) { + margin-left: -3px; +} + +spinbutton:not(.vertical) button.up:dir(rtl), spinbutton:not(.vertical) button.down:dir(ltr) { + margin-right: -3px; +} + +spinbutton.vertical { + background-color: rgba(0, 0, 0, 0.08); + border-radius: 7px; +} + +spinbutton.vertical:disabled { + color: rgba(0, 0, 0, 0.38); +} + +spinbutton.vertical:drop(active) { + box-shadow: none; +} + +spinbutton.vertical text { + min-height: 32px; + min-width: 38px; + padding: 0; +} + +spinbutton.vertical button { + min-height: 32px; + min-width: 38px; + padding: 0; +} + +spinbutton.vertical button.up { + border-radius: 7px 7px 0 0; +} + +spinbutton.vertical button.down { + border-radius: 0 0 7px 7px; +} + +treeview spinbutton:not(.vertical) { + min-height: 0; + border-style: none; + border-radius: 0; +} + +treeview spinbutton:not(.vertical) text { + min-height: 0; + padding: 1px 2px; +} + +/************** + * ComboBoxes * + **************/ +dropdown > popover.menu.background > contents { + padding: 0; +} + +dropdown > button > box { + border-spacing: 6px; +} + +dropdown arrow, +combobox arrow { + -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); + min-height: 16px; + min-width: 16px; +} + +dropdown > popover.menu > contents modelbutton, +combobox > popover.menu > contents modelbutton { + padding-left: 10px; + padding-right: 10px; +} + +dropdown button.combo:checked, +combobox button.combo:checked { + transition: none; +} + +dropdown button.combo cellview:dir(ltr), +combobox button.combo cellview:dir(ltr) { + margin-left: 0px; +} + +dropdown button.combo cellview:dir(rtl), +combobox button.combo cellview:dir(rtl) { + margin-right: 0px; +} + +dropdown.linked button:nth-child(2):dir(ltr), +combobox.linked button:nth-child(2):dir(ltr) { + border-top-left-radius: 7px; + border-bottom-left-radius: 7px; +} + +dropdown.linked button:nth-child(2):dir(rtl), +combobox.linked button:nth-child(2):dir(rtl) { + border-top-right-radius: 7px; + border-bottom-right-radius: 7px; +} + +dropdown:drop(active), +combobox:drop(active) { + box-shadow: none; +} + +dropdown popover, +combobox popover { + margin-top: 6px; + padding: 0; +} + +dropdown popover listview, +combobox popover listview { + margin: 6px 0; +} + +dropdown popover listview > row, +combobox popover listview > row { + padding: 6px; +} + +dropdown popover .dropdown-searchbar, +combobox popover .dropdown-searchbar { + padding: 6px; + border-bottom: 1px solid rgba(0, 0, 0, 0.08); +} + +.linked:not(.vertical) > combobox:first-child > box > button.combo { + border-top-left-radius: 7px; + border-bottom-left-radius: 7px; +} + +.linked:not(.vertical) > combobox:last-child > box > button.combo { + border-bottom-right-radius: 7px; + border-top-right-radius: 7px; +} + +.linked:not(.vertical) > combobox:only-child > box > button.combo { + border-radius: 7px; +} + +.linked.vertical > combobox:first-child > box > button.combo { + border-top-left-radius: 7px; + border-top-right-radius: 7px; +} + +.linked.vertical > combobox:last-child > box > button.combo { + border-bottom-left-radius: 7px; + border-bottom-right-radius: 7px; +} + +.linked.vertical > combobox:only-child > box > button.combo { + border-radius: 7px; +} + +notebook > stack:not(:only-child) button.combo, popover.background button.combo { + border-radius: 0; + background-image: none; + font-weight: inherit; + transition: all 100ms cubic-bezier(0, 0, 0.2, 1), box-shadow 225ms cubic-bezier(0, 0, 0.2, 1); + box-shadow: inset 0 -1px rgba(0, 0, 0, 0.2), inset 0 -2px transparent; + background-color: transparent; + color: rgba(0, 0, 0, 0.75); +} + +notebook > stack:not(:only-child) button.combo:hover, popover.background button.combo:hover { + box-shadow: inset 0 -2px rgba(0, 0, 0, 0.38); +} + +notebook > stack:not(:only-child) button.combo:checked, popover.background button.combo:checked { + box-shadow: inset 0 -2px #5657f5; +} + +notebook > stack:not(:only-child) button.combo:disabled, popover.background button.combo:disabled { + box-shadow: inset 0 -1px rgba(0, 0, 0, 0.08); + color: rgba(0, 0, 0, 0.38); +} + +/************ + * Toolbars * + ************/ +.toolbar, +toolbar { + padding: 2px; + background-color: #f4f4f9; +} + +.osd .toolbar, .osd toolbar { + background-color: transparent; +} + +.app-notification, .toolbar.osd, +toolbar.osd { + transition: box-shadow 100ms cubic-bezier(0, 0, 0.2, 1); + padding: 4px; + border-radius: 7px; + box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06), inset 0 1px rgba(255, 255, 255, 0.4); + background-color: #FFFFFF; +} + +.app-notification:backdrop, .toolbar.osd:backdrop, +toolbar.osd:backdrop { + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1), inset 0 1px rgba(255, 255, 255, 0.4); +} + +.left.app-notification, .right.app-notification, .top.app-notification, .bottom.app-notification, .toolbar.osd.left, .toolbar.osd.right, .toolbar.osd.top, .toolbar.osd.bottom, +toolbar.osd.left, +toolbar.osd.right, +toolbar.osd.top, +toolbar.osd.bottom { + border-radius: 0; +} + +.toolbar.horizontal > separator, +toolbar.horizontal > separator { + margin: 2px; +} + +.toolbar.vertical > separator, +toolbar.vertical > separator { + margin: 2px; +} + +.toolbar:not(.inline-toolbar):not(.osd) scale, +.toolbar:not(.inline-toolbar):not(.osd) entry, +.toolbar:not(.inline-toolbar):not(.osd) spinbutton, +.toolbar:not(.inline-toolbar):not(.osd) button, +toolbar:not(.inline-toolbar):not(.osd) scale, +toolbar:not(.inline-toolbar):not(.osd) entry, +toolbar:not(.inline-toolbar):not(.osd) spinbutton, +toolbar:not(.inline-toolbar):not(.osd) button { + margin: 2px; +} + +.toolbar:not(.inline-toolbar):not(.osd) .linked entry:not(:first-child), +.toolbar:not(.inline-toolbar):not(.osd) .linked spinbutton:not(:first-child), +.toolbar:not(.inline-toolbar):not(.osd) .linked button:not(:first-child), +toolbar:not(.inline-toolbar):not(.osd) .linked entry:not(:first-child), +toolbar:not(.inline-toolbar):not(.osd) .linked spinbutton:not(:first-child), +toolbar:not(.inline-toolbar):not(.osd) .linked button:not(:first-child) { + margin-left: 0; +} + +.toolbar:not(.inline-toolbar):not(.osd) .linked entry:not(:last-child), +.toolbar:not(.inline-toolbar):not(.osd) .linked spinbutton:not(:last-child), +.toolbar:not(.inline-toolbar):not(.osd) .linked button:not(:last-child), +toolbar:not(.inline-toolbar):not(.osd) .linked entry:not(:last-child), +toolbar:not(.inline-toolbar):not(.osd) .linked spinbutton:not(:last-child), +toolbar:not(.inline-toolbar):not(.osd) .linked button:not(:last-child) { + margin-right: 0; +} + +.toolbar:not(.inline-toolbar):not(.osd) spinbutton entry, +.toolbar:not(.inline-toolbar):not(.osd) spinbutton button, +toolbar:not(.inline-toolbar):not(.osd) spinbutton entry, +toolbar:not(.inline-toolbar):not(.osd) spinbutton button { + margin: 0; +} + +.toolbar:not(.inline-toolbar):not(.osd) switch, +toolbar:not(.inline-toolbar):not(.osd) switch { + margin: 6px 2px; +} + +searchbar > revealer > box { + border-spacing: 4px; + padding: 4px; + border-style: solid; + border-width: 0 0 1px; + border-color: rgba(0, 0, 0, 0.08); + background-color: #f4f4f9; + background-clip: border-box; +} + +actionbar { + border-radius: 0 0 13px 13px; +} + +/*************** + * Header bars * + ***************/ +headerbar .linked.path-bar:not(.vertical) > button, +headerbar stackswitcher.linked:not(.vertical) > button, headerbar.windowhandle viewswitcher button:not(.titlebutton):not(.suggested-action):not(.destructive-action) { + padding-left: 8px; + padding-right: 8px; + background-color: transparent; + box-shadow: none; +} + +headerbar .linked.path-bar:not(.vertical) > button label, +headerbar stackswitcher.linked:not(.vertical) > button label, headerbar.windowhandle viewswitcher button:not(.titlebutton):not(.suggested-action):not(.destructive-action) label { + padding-left: 8px; + padding-right: 8px; +} + +headerbar .linked:not(.vertical).path-bar > button:hover, +headerbar stackswitcher.linked:not(.vertical) > button:hover, headerbar.windowhandle viewswitcher button:hover:not(.titlebutton):not(.suggested-action):not(.destructive-action) { + color: #FFFFFF; + background-color: alpha(currentColor, 0.15); + box-shadow: inset 0 -2px transparent; +} + +headerbar .linked:not(.vertical).path-bar > button:active, +headerbar stackswitcher.linked:not(.vertical) > button:active, headerbar.windowhandle viewswitcher button:active:not(.titlebutton):not(.suggested-action):not(.destructive-action) { + color: #FFFFFF; + background-color: alpha(currentColor, 0.3); + box-shadow: inset 0 -2px transparent; +} + +headerbar .linked:not(.vertical).path-bar > button:checked, +headerbar stackswitcher.linked:not(.vertical) > button:checked, headerbar.windowhandle viewswitcher button:checked:not(.titlebutton):not(.suggested-action):not(.destructive-action) { + border-radius: 0; + color: #FFFFFF; + background-color: transparent; + box-shadow: inset 0 -2px #5657f5; + background-image: none; +} + +headerbar .linked:not(.vertical).path-bar > button:checked:backdrop, +headerbar stackswitcher.linked:not(.vertical) > button:checked:backdrop, headerbar.windowhandle viewswitcher button:checked:backdrop:not(.titlebutton):not(.suggested-action):not(.destructive-action), headerbar .linked:not(.vertical).path-bar > button:active:backdrop, +headerbar stackswitcher.linked:not(.vertical) > button:active:backdrop, headerbar.windowhandle viewswitcher button:active:backdrop:not(.titlebutton):not(.suggested-action):not(.destructive-action) { + color: rgba(255, 255, 255, 0.7); + box-shadow: inset 0 -2px rgba(255, 255, 255, 0.5); +} + +headerbar .linked:not(.vertical).path-bar > button.text-button.image-button label, +headerbar stackswitcher.linked:not(.vertical) > button.text-button.image-button label, headerbar.windowhandle viewswitcher button.text-button.image-button:not(.titlebutton):not(.suggested-action):not(.destructive-action) label { + padding-left: 0; + padding-right: 0; +} + +headerbar .linked:not(.vertical).path-bar > button.text-button.image-button image, +headerbar stackswitcher.linked:not(.vertical) > button.text-button.image-button image, headerbar.windowhandle viewswitcher button.text-button.image-button:not(.titlebutton):not(.suggested-action):not(.destructive-action) image { + padding-left: 0; + padding-right: 0; +} + +headerbar { + transition: background-color 100ms cubic-bezier(0, 0, 0.2, 1), color 100ms cubic-bezier(0, 0, 0.2, 1); + min-height: 38px; + padding: 0 4px; + box-shadow: inset 0 1px rgba(255, 255, 255, 0.1), inset 0 -1px rgba(0, 0, 0, 0.08); + background-color: #31313a; + color: #FFFFFF; +} + +headerbar:disabled :not(button) > label { + color: rgba(255, 255, 255, 0.5); +} + +headerbar:backdrop { + color: rgba(255, 255, 255, 0.7); +} + +headerbar:backdrop:disabled :not(button) > label { + color: rgba(255, 255, 255, 0.3); +} + +headerbar .title { + padding: 0 12px; + font-weight: bold; +} + +headerbar .subtitle { + padding: 0 12px; + font-size: smaller; +} + +headerbar entry { + background-color: #FFFFFF; +} + +headerbar entry:focus { + background-color: white; +} + +headerbar .linked:not(.vertical) > entry:not(.flat) { + border-radius: 7px; +} + +headerbar .linked:not(.vertical) > button { + border-radius: 7px; +} + + +headerbar button:not(.suggested-action):not(.destructive-action) { + border-image: none; + color: rgba(255, 255, 255, 0.7); +} + + +headerbar button:not(.suggested-action):not(.destructive-action):hover, +headerbar button:not(.suggested-action):not(.destructive-action):active { + color: #FFFFFF; +} + + +headerbar button:not(.suggested-action):not(.destructive-action):disabled { + color: rgba(255, 255, 255, 0.3); +} + + +headerbar button:not(.suggested-action):not(.destructive-action):checked { + border-image: none; + background-color: #5657f5; + color: #FFFFFF; + background-image: linear-gradient(to bottom, #6C6AF2, #4648FB); + background-size: auto auto; + background-position: center center; + background-repeat: no-repeat; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.1), 0 2px 3px rgba(0, 0, 0, 0.08); +} + + +headerbar button:not(.suggested-action):not(.destructive-action):checked:disabled { + color: rgba(255, 255, 255, 0.5); + background-color: rgba(86, 87, 245, 0.5); +} + + +headerbar button:not(.suggested-action):not(.destructive-action):backdrop { + color: rgba(255, 255, 255, 0.5); +} + + +headerbar button:not(.suggested-action):not(.destructive-action):backdrop:hover, +headerbar button:not(.suggested-action):not(.destructive-action):backdrop:active { + color: rgba(255, 255, 255, 0.7); +} + + +headerbar button:not(.suggested-action):not(.destructive-action):backdrop:disabled { + color: rgba(255, 255, 255, 0.3); +} + + +headerbar button:not(.suggested-action):not(.destructive-action):backdrop:checked { + background-image: none; + color: rgba(255, 255, 255, 0.7); +} + + +headerbar button:not(.suggested-action):not(.destructive-action):backdrop:checked:disabled { + color: rgba(255, 255, 255, 0.3); +} + +headerbar button.suggested-action:disabled, headerbar button.destructive-action:disabled { + background-color: rgba(255, 255, 255, 0.12); + color: rgba(255, 255, 255, 0.5); +} + +headerbar entry, +headerbar spinbutton, +headerbar separator:not(.sidebar), +headerbar button, +headerbar menubutton { + margin-top: 4px; + margin-bottom: 4px; +} + +headerbar menubutton > button { + margin-top: 0px; + margin-bottom: 0px; +} + +headerbar > windowhandle > box, +headerbar > windowhandle > box > box.start, +headerbar > windowhandle > box > box.end { + border-spacing: 4px; +} + +headerbar switch { + margin-top: 8px; + margin-bottom: 8px; +} + +headerbar spinbutton button { + margin-top: 0; + margin-bottom: 0; +} + +.csd headerbar, headerbar.titlebar, .titlebar headerbar, .solid-csd headerbar, box headerbar:only-child { + box-shadow: inset 0 1px rgba(255, 255, 255, 0.1), inset 0 -1px rgba(0, 0, 0, 0.08); +} + +headerbar.titlebar.default-decoration, .csd headerbar.titlebar.default-decoration { + box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); +} + +box headerbar:not(:only-child):first-child, box headerbar:not(:only-child):last-child { + border-left-color: #31313a; + border-right-color: #31313a; +} + +headerbar.selection-mode { + transition: background-color 0.00001s 225ms, color 225ms cubic-bezier(0, 0, 0.2, 1); + animation: header_ripple_effect 225ms cubic-bezier(0, 0, 0.2, 1); + box-shadow: inset 0 1px rgba(255, 255, 255, 0.2), inset 0 -1px rgba(0, 0, 0, 0.08); + background-color: #5657f5; + color: #FFFFFF; +} + +headerbar.selection-mode:backdrop { + color: rgba(255, 255, 255, 0.7); +} + +headerbar.selection-mode button:not(.suggested-action):not(.destructive-action) { + border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), currentColor 0%, transparent 0%) 0 0 0/0 0 0; + color: #FFFFFF; +} + +headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):disabled { + color: rgba(255, 255, 255, 0.5); +} + +headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):hover { + color: #FFFFFF; +} + +headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):checked { + border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), currentColor 100%, transparent 0%) 0 0 2/0 0 2px; + color: #FFFFFF; +} + +headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):checked:disabled { + color: rgba(255, 255, 255, 0.5); +} + +headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):backdrop { + color: rgba(255, 255, 255, 0.7); +} + +headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):backdrop:disabled { + color: rgba(255, 255, 255, 0.3); +} + +headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):backdrop:checked { + color: rgba(255, 255, 255, 0.7); +} + +headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):backdrop:checked:disabled { + color: rgba(255, 255, 255, 0.3); +} + +headerbar.selection-mode .selection-menu { + padding-left: 16px; + padding-right: 16px; +} + +headerbar.selection-mode .selection-menu .arrow { + -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); +} + +headerbar.windowhandle viewswitcher button:not(.titlebutton):not(.suggested-action):not(.destructive-action) { + margin-top: 0; + margin-bottom: 0; +} + +.tiled headerbar, .tiled-top headerbar, .tiled-right headerbar, .tiled-bottom headerbar, .tiled-left headerbar, .maximized headerbar, .fullscreen headerbar { + border-radius: 0; +} + +headerbar.default-decoration { + min-height: 20px; + padding: 4px 12px; + box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); +} + +.tiled headerbar.default-decoration, .maximized headerbar.default-decoration, .fullscreen headerbar.default-decoration { + box-shadow: none; +} + +headerbar.default-decoration windowcontrols button { + min-height: 16px; + min-width: 16px; + margin: 0 2px; + padding: 0; +} + +.solid-csd headerbar:dir(rtl), .solid-csd headerbar:dir(ltr) { + border-radius: 0; + box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); +} + +.titlebar { + border-radius: 13px 13px 0 0; +} + +.background.tiled .titlebar, +.background.tiled-top .titlebar, +.background.tiled-right .titlebar, +.background.tiled-bottom .titlebar, +.background.tiled-left .titlebar, +.background.maximized .titlebar, +.background.solid-csd .titlebar { + border-top-left-radius: 0; + border-top-right-radius: 0; + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; +} + +window separator:first-child + headerbar, window headerbar:first-child { + border-top-left-radius: 13px; +} + +window headerbar:last-child { + border-top-right-radius: 13px; +} + +window stack headerbar:first-child, window stack headerbar:last-child { + border-top-left-radius: 13px; + border-top-right-radius: 13px; + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; +} + +window.tiled headerbar, window.tiled headerbar:first-child, window.tiled headerbar:last-child, window.tiled headerbar:only-child, window.tiled-top headerbar, window.tiled-top headerbar:first-child, window.tiled-top headerbar:last-child, window.tiled-top headerbar:only-child, window.tiled-right headerbar, window.tiled-right headerbar:first-child, window.tiled-right headerbar:last-child, window.tiled-right headerbar:only-child, window.tiled-bottom headerbar, window.tiled-bottom headerbar:first-child, window.tiled-bottom headerbar:last-child, window.tiled-bottom headerbar:only-child, window.tiled-left headerbar, window.tiled-left headerbar:first-child, window.tiled-left headerbar:last-child, window.tiled-left headerbar:only-child, window.maximized headerbar, window.maximized headerbar:first-child, window.maximized headerbar:last-child, window.maximized headerbar:only-child, window.fullscreen headerbar, window.fullscreen headerbar:first-child, window.fullscreen headerbar:last-child, window.fullscreen headerbar:only-child, window.solid-csd headerbar, window.solid-csd headerbar:first-child, window.solid-csd headerbar:last-child, window.solid-csd headerbar:only-child { + border-top-left-radius: 0; + border-top-right-radius: 0; + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; +} + +headerbar separator.titlebutton { + min-width: 0; + min-height: 0; + background-color: transparent; + border: none; +} + +window.csd > .titlebar:not(headerbar) { + padding: 0; + background-color: transparent; + background-image: none; + border: none; + box-shadow: none; +} + +.titlebar:not(headerbar) > separator { + background-color: #31313a; +} + +window.devel headerbar.titlebar { + background: #f4f4f9 cross-fade(10% -gtk-icontheme("system-run-symbolic"), image(transparent)) 90% 0/256px 256px no-repeat, linear-gradient(to right, transparent 65%, rgba(86, 87, 245, 0.2)), linear-gradient(to top, #c9c9e2, #d3d3e7 3px, #e7e7f2); +} + +window.devel headerbar.titlebar:backdrop { + background: #f4f4f9 cross-fade(10% -gtk-icontheme("system-run-symbolic"), image(transparent)) 90% 0/256px 256px no-repeat, image(#f4f4f9); + /* background-color would flash */ +} + +/************ + * Pathbars * + ************/ + +pathbar > button { + padding-left: 4px; + padding-right: 4px; +} + + +pathbar > button label:not(:only-child):first-child { + margin-left: 4px; + padding-left: 8px; +} + + +pathbar > button label:not(:only-child):last-child { + margin-right: 4px; + padding-right: 8px; +} + + +pathbar > button.slider-button { + padding-left: 4px; + padding-right: 4px; +} + + +pathbar > button { + border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), #5657f5 0%, transparent 0%) 0 0 0/0 0 0px; + border-radius: 7px; +} + + +pathbar > button:checked { + border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), #5657f5 100%, transparent 0%) 0 0 2/0 0 2px; +} + + +pathbar > button:checked, +pathbar > button:checked:disabled { + background-color: transparent; +} + +/************** + * Tree Views * + **************/ +columnview.view, +treeview.view { + border-left-color: #dadaeb; + border-top-color: #dadaeb; +} + +columnview.view:selected, +treeview.view:selected { + border-left-color: rgba(255, 255, 255, 0.3); +} + +columnview.view:hover, columnview.view:active, columnview.view:selected, +treeview.view:hover, +treeview.view:active, +treeview.view:selected { + border-radius: 0; +} + +columnview.view.separator, +treeview.view.separator { + min-height: 5px; + color: rgba(0, 0, 0, 0.08); +} + +columnview.view > dndtarget:drop(active), +treeview.view > dndtarget:drop(active) { + border-style: solid none; + border-width: 1px; + border-color: #7C4DFF; +} + +columnview.view > dndtarget:drop(active).after, +treeview.view > dndtarget:drop(active).after { + border-top-style: none; +} + +columnview.view > dndtarget:drop(active).before, +treeview.view > dndtarget:drop(active).before { + border-bottom-style: none; +} + +columnview.view.expander, +treeview.view.expander { + -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); + -gtk-icon-transform: rotate(-90deg); + color: rgba(0, 0, 0, 0.55); +} + +columnview.view.expander:dir(rtl), +treeview.view.expander:dir(rtl) { + -gtk-icon-transform: rotate(90deg); +} + +columnview.view.expander:checked, +treeview.view.expander:checked { + -gtk-icon-transform: unset; +} + +columnview.view.expander:hover, columnview.view.expander:active, +treeview.view.expander:hover, +treeview.view.expander:active { + color: rgba(0, 0, 0, 0.75); +} + +columnview.view.expander:disabled, +treeview.view.expander:disabled { + color: rgba(0, 0, 0, 0.26); +} + +columnview.view.expander:selected, +treeview.view.expander:selected { + color: rgba(255, 255, 255, 0.7); +} + +columnview.view.expander:selected:hover, columnview.view.expander:selected:active, +treeview.view.expander:selected:hover, +treeview.view.expander:selected:active { + color: #FFFFFF; +} + +columnview.view.expander:selected:disabled, +treeview.view.expander:selected:disabled { + color: rgba(255, 255, 255, 0.3); +} + +columnview.view.progressbar, +treeview.view.progressbar { + border-bottom: 4px solid #5657f5; + box-shadow: none; + background-color: transparent; +} + +columnview.view.progressbar:selected, +treeview.view.progressbar:selected { + border-bottom-color: #FFFFFF; +} + +columnview.view.trough, +treeview.view.trough { + border-bottom: 4px solid rgba(86, 87, 245, 0.3); + box-shadow: none; + background-color: transparent; +} + +columnview.view.trough:selected, +treeview.view.trough:selected { + border-bottom-color: rgba(255, 255, 255, 0.3); +} + +columnview.view > header > button, +treeview.view > header > button { + padding: 2px 6px; + border-style: none solid solid none; + border-width: 1px; + border-color: rgba(0, 0, 0, 0.08); + border-radius: 0; + background-clip: border-box; +} + +columnview.view > header > button, columnview.view > header > button:hover, columnview.view > header > button:active, +treeview.view > header > button, +treeview.view > header > button:hover, +treeview.view > header > button:active { + box-shadow: none; +} + +columnview.view > header > button, columnview.view > header > button:disabled, +treeview.view > header > button, +treeview.view > header > button:disabled { + background-color: #FFFFFF; +} + +columnview.view > header > button:last-child, +treeview.view > header > button:last-child { + border-right-style: none; +} + +columnview.view button.dnd, +columnview.view header.button.dnd, +treeview.view button.dnd, +treeview.view header.button.dnd { + padding: 2px 6px; + border-style: none solid solid; + border-width: 1px; + border-color: rgba(0, 0, 0, 0.08); + border-radius: 0; + box-shadow: none; + background-color: #FFFFFF; + background-clip: border-box; + color: #5657f5; +} + +columnview.view acceleditor > label, +treeview.view acceleditor > label { + background-color: #5657f5; +} + +/********* + * Menus * + *********/ +menubar { + padding: 0; + box-shadow: inset 0 -1px rgba(0, 0, 0, 0.08); + background-color: #31313a; + color: rgba(255, 255, 255, 0.7); +} + +menubar > item { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1); + min-height: 20px; + padding: 4px 8px; + color: rgba(255, 255, 255, 0.7); +} + +menubar > item:hover { + transition: none; + color: #FFFFFF; + box-shadow: inset 0 -3px #5657f5; +} + +menubar > item:disabled { + color: rgba(255, 255, 255, 0.3); +} + +menubar > item label:disabled { + color: inherit; +} + +menubar > item popover.menu.background > contents { + padding: 4px; +} + +menubar > item popover.menu popover.menu { + padding: 0 0 4px 0; +} + +menubar > item popover.menu.background popover.menu.background > contents { + margin: 0; + border-radius: 8px; +} + +popover.menu { + padding: 0; +} + +popover.menu > arrow, popover.menu.background > contents { + padding: 4px; + background-color: rgba(60, 60, 70, 0.95); + border: none; + border-radius: 8px; + color: rgba(255, 255, 255, 0.7); +} + +popover.menu.background separator { + margin: 4px 0; +} + +popover.menu box.inline-buttons { + padding: 0 4px; +} + +popover.menu box.inline-buttons button.image-button.model { + min-height: 28px; + min-width: 28px; + padding: 0; + border: none; + outline: none; +} + +popover.menu box.circular-buttons button.circular.image-button.model { + padding: 4px; + min-height: 28px; + min-width: 28px; +} + +popover.menu modelbutton { + min-height: 20px; + min-width: 40px; + padding: 4px 8px; + border-radius: 5px; +} + +popover.menu modelbutton:selected { + color: #5C6BC0; + background-color: rgba(255, 255, 255, 0.08); +} + +popover.menu modelbutton:selected:active { + color: #5C6BC0; + background-color: rgba(255, 255, 255, 0.1); +} + +popover.menu modelbutton:focus { + transition: none; +} + +popover.menu arrow.left, +popover.menu radio.left, +popover.menu check.left { + margin-left: -2px; + margin-right: 4px; +} + +popover.menu arrow.right, +popover.menu radio.right, +popover.menu check.right { + margin-left: 4px; + margin-right: -2px; +} + +popover.menu label.title { + font-weight: bold; + padding: 4px 32px; +} + +/************ + * Popovers * + ************/ +popover.background { + background-color: transparent; + font: initial; +} + +popover.background > arrow, +popover.background > contents { + transition: box-shadow 100ms cubic-bezier(0, 0, 0.2, 1); + padding: 0; + box-shadow: 0 14px 14px rgba(0, 0, 0, 0.25), 0 10px 5px rgba(0, 0, 0, 0.22); + background-color: rgba(60, 60, 70, 0.95); + color: rgba(0, 0, 0, 0.55); + border: none; +} + +popover.background > arrow:disabled, +popover.background > contents:disabled { + color: rgba(0, 0, 0, 0.26); +} + +popover.background:backdrop { + background-color: transparent; +} + +popover.background:backdrop > arrow, +popover.background:backdrop > contents { + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1); +} + +popover.background > contents { + padding: 6px; + border-radius: 8px; +} + +popover.background > contents > list, +popover.background > contents > .view, +popover.background > contents > toolbar { + border-style: none; + background-color: transparent; + box-shadow: none; +} + +popover.background > contents separator { + margin: 3px; +} + +popover.background > contents list separator { + margin: 0; +} + +.linked > popover.background button { + border-radius: 7px; +} + +.linked > popover.background button:first-child { + border-radius: 7px; +} + +.linked > popover.background button:last-child { + border-radius: 7px; +} + +.linked > popover.background button:only-child { + border-radius: 7px; +} + +popover.background.menu button, popover.background button.model { + border-radius: 7px; +} + +popover.background checkbutton.text-button, +popover.background radiobutton.text-button { + outline-style: none; +} + +popover.background separator { + margin: 4px 0; +} + +popover.background list separator { + margin: 0; +} + +popover.background label.separator { + color: rgba(0, 0, 0, 0.38); +} + +/* menu buttons */ +modelbutton.flat { + min-height: 28px; + padding: 0 8px; + border-radius: 7px; +} + +modelbutton.flat arrow { + background: none; +} + +modelbutton.flat arrow:hover { + background: none; +} + +modelbutton.flat arrow.left { + -gtk-icon-source: -gtk-icontheme("go-previous-symbolic"); +} + +modelbutton.flat arrow.right { + -gtk-icon-source: -gtk-icontheme("go-next-symbolic"); +} + +/************* + * Notebooks * + *************/ +frame > paned > notebook > header, notebook.frame > header { + background-color: #eaeaf4; +} + +notebook, notebook.frame { + background-color: #FFFFFF; + border-radius: 10px; +} + +notebook.frame frame > border { + border: none; + border-radius: 10px; +} + +notebook.frame frame > list row.activatable { + border-radius: 10px; +} + +notebook > header { + border-width: 1px; + border-color: rgba(0, 0, 0, 0.08); + background-color: #f4f4f9; + background-clip: border-box; +} + +notebook > header.top { + border-bottom-style: solid; + border-radius: 9px 9px 0 0; +} + +notebook > header.top > tabs { + margin-bottom: -1px; +} + +notebook > header.top > tabs > tab:hover { + box-shadow: inset 0 -2px rgba(0, 0, 0, 0.2); +} + +notebook > header.top > tabs > tab:checked { + box-shadow: inset 0 -2px #5657f5; +} + +notebook > header.bottom { + border-top-style: solid; + border-radius: 0 0 9px 9px; +} + +notebook > header.bottom > tabs { + margin-top: -1px; +} + +notebook > header.bottom > tabs > tab:hover { + box-shadow: inset 0 2px rgba(0, 0, 0, 0.2); +} + +notebook > header.bottom > tabs > tab:checked { + box-shadow: inset 0 2px #5657f5; +} + +notebook > header.left { + border-right-style: solid; + border-radius: 9px 0 0 9px; +} + +notebook > header.left > tabs { + margin-right: -1px; +} + +notebook > header.left > tabs > tab:hover { + box-shadow: inset -2px 0 rgba(0, 0, 0, 0.2); +} + +notebook > header.left > tabs > tab:checked { + box-shadow: inset -2px 0 #5657f5; +} + +notebook > header.right { + border-left-style: solid; + border-radius: 0 9px 9px 0; +} + +notebook > header.right > tabs { + margin-left: -1px; +} + +notebook > header.right > tabs > tab:hover { + box-shadow: inset 2px 0 rgba(0, 0, 0, 0.2); +} + +notebook > header.right > tabs > tab:checked { + box-shadow: inset 2px 0 #5657f5; +} + +notebook > header.top > tabs > arrow { + border-top-style: none; +} + +notebook > header.bottom > tabs > arrow { + border-bottom-style: none; +} + +notebook > header.top > tabs > arrow, notebook > header.bottom > tabs > arrow { + padding-left: 4px; + padding-right: 4px; +} + +notebook > header.top > tabs > arrow.down, notebook > header.bottom > tabs > arrow.down { + margin-left: -8px; + -gtk-icon-source: -gtk-icontheme("pan-start-symbolic"); +} + +notebook > header.top > tabs > arrow.up, notebook > header.bottom > tabs > arrow.up { + margin-right: -8px; + -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); +} + +notebook > header.left > tabs > arrow { + border-left-style: none; +} + +notebook > header.right > tabs > arrow { + border-right-style: none; +} + +notebook > header.left > tabs > arrow, notebook > header.right > tabs > arrow { + padding-top: 4px; + padding-bottom: 4px; +} + +notebook > header.left > tabs > arrow.down, notebook > header.right > tabs > arrow.down { + margin-top: -8px; + -gtk-icon-source: -gtk-icontheme("pan-up-symbolic"); +} + +notebook > header.left > tabs > arrow.up, notebook > header.right > tabs > arrow.up { + margin-bottom: -8px; + -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); +} + +notebook > header > tabs > arrow { + min-height: 16px; + min-width: 16px; + border-radius: 0; +} + +notebook > header tab { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1); + min-height: 20px; + min-width: 20px; + padding: 4px 12px; + outline-offset: -6px; + border-width: 1px; + border-color: transparent; + color: rgba(0, 0, 0, 0.55); + font-weight: 500; +} + +notebook > header tab:hover { + color: rgba(0, 0, 0, 0.75); +} + +notebook > header tab:hover.reorderable-page { + border-color: rgba(0, 0, 0, 0.08); + background-color: #eaeaf4; +} + +notebook > header tab:disabled { + color: rgba(0, 0, 0, 0.26); +} + +notebook > header tab:checked { + background-color: transparent; + color: rgba(0, 0, 0, 0.75); +} + +notebook > header tab:checked:disabled { + color: rgba(0, 0, 0, 0.38); +} + +notebook > header tab:checked.reorderable-page { + border-color: rgba(0, 0, 0, 0.08); + background-color: #FFFFFF; +} + +notebook > header tab button.flat { + min-height: 24px; + min-width: 24px; + padding: 0; + margin: 0; +} + +notebook > header tab button.flat:last-child { + margin-left: 4px; + margin-right: -8px; +} + +notebook > header tab button.flat:first-child { + margin-left: -8px; + margin-right: 4px; +} + +notebook > header.top tabs, notebook > header.bottom tabs { + padding-left: 8px; + padding-right: 8px; +} + +notebook > header.top tabs:not(:only-child):first-child, notebook > header.bottom tabs:not(:only-child):first-child { + margin-left: 0; +} + +notebook > header.top tabs:not(:only-child):last-child, notebook > header.bottom tabs:not(:only-child):last-child { + margin-right: 0; +} + +notebook > header.top tabs tab.reorderable-page, notebook > header.bottom tabs tab.reorderable-page { + margin: 0 -1px; + border-style: none solid; +} + +notebook > header.left tabs, notebook > header.right tabs { + padding-top: 8px; + padding-bottom: 8px; +} + +notebook > header.left tabs:not(:only-child):first-child, notebook > header.right tabs:not(:only-child):first-child { + margin-top: 0; +} + +notebook > header.left tabs:not(:only-child):last-child, notebook > header.right tabs:not(:only-child):last-child { + margin-bottom: 0; +} + +notebook > header.left tabs tab.reorderable-page, notebook > header.right tabs tab.reorderable-page { + margin: -1px 0; + border-style: solid none; +} + +notebook > stack:not(:only-child) { + background-color: #FFFFFF; + border-radius: 10px; +} + +/************** + * Scrollbars * + **************/ +scrollbar { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1); + background-color: rgba(255, 255, 255, 0.65); + background-clip: padding-box; +} + +scrollbar.top { + border-bottom: 1px solid rgba(0, 0, 0, 0.08); +} + +scrollbar.bottom { + border-top: 1px solid rgba(0, 0, 0, 0.08); +} + +scrollbar.left { + border-right: 1px solid rgba(0, 0, 0, 0.08); +} + +scrollbar.right { + border-left: 1px solid rgba(0, 0, 0, 0.08); +} + +scrollbar > range > trough > slider { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1), margin 0, border-width 0; + min-width: 8px; + min-height: 8px; + border: 4px solid transparent; + border-radius: 9999px; + background-clip: padding-box; + background-color: rgba(0, 0, 0, 0.38); +} + +scrollbar > range > trough > slider:hover { + background-color: rgba(0, 0, 0, 0.55); +} + +scrollbar > range > trough > slider:active { + background-color: rgba(0, 0, 0, 0.75); +} + +scrollbar > range > trough > slider:disabled { + background-color: rgba(0, 0, 0, 0.26); +} + +scrollbar > range.fine-tune > trough > slider { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1), margin 0, border-width 0, min-width 0, min-height 0; + min-width: 4px; + min-height: 4px; +} + +scrollbar > range.fine-tune.horizontal slider { + margin: 2px 0; +} + +scrollbar > range.fine-tune.vertical slider { + margin: 0 2px; +} + +scrollbar.overlay-indicator:not(.dragging):not(.hovering) { + border-color: transparent; + background-color: transparent; +} + +scrollbar.overlay-indicator:not(.dragging):not(.hovering) > range > trough > slider { + min-width: 4px; + min-height: 4px; + margin: 3px; + border: 1px solid rgba(255, 255, 255, 0.3); +} + +scrollbar.overlay-indicator:not(.dragging):not(.hovering) button { + min-width: 4px; + min-height: 4px; + margin: 3px; + border: 1px solid rgba(255, 255, 255, 0.3); + border-radius: 9999px; + background-color: rgba(0, 0, 0, 0.38); + background-clip: padding-box; + -gtk-icon-source: none; +} + +scrollbar.overlay-indicator:not(.dragging):not(.hovering) button:disabled { + background-color: rgba(0, 0, 0, 0.26); +} + +scrollbar.overlay-indicator:not(.dragging):not(.hovering).horizontal > range > trough > slider { + min-width: 24px; +} + +scrollbar.overlay-indicator:not(.dragging):not(.hovering).horizontal button { + min-width: 8px; +} + +scrollbar.overlay-indicator:not(.dragging):not(.hovering).vertical > range > trough > slider { + min-height: 24px; +} + +scrollbar.overlay-indicator:not(.dragging):not(.hovering).vertical button { + min-height: 8px; +} + +scrollbar.overlay-indicator.dragging, scrollbar.overlay-indicator.hovering { + background-color: rgba(255, 255, 255, 0.9); +} + +scrollbar.horizontal > range > trough > slider { + min-width: 24px; +} + +scrollbar.vertical > range > trough > slider { + min-height: 24px; +} + +scrollbar button { + min-width: 16px; + min-height: 16px; + padding: 0; + border-radius: 0; +} + +scrollbar.vertical button.down { + -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); +} + +scrollbar.vertical button.up { + -gtk-icon-source: -gtk-icontheme("pan-up-symbolic"); +} + +scrollbar.horizontal button.down { + -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); +} + +scrollbar.horizontal button.up { + -gtk-icon-source: -gtk-icontheme("pan-start-symbolic"); +} + +/********** + * Switch * + **********/ +switch { + transition: all 225ms cubic-bezier(0, 0, 0.2, 1); + margin: 4px 0; + padding: 0; + min-height: 16px; + min-width: 38px; + border: 4px solid transparent; + border-radius: 9999px; + background-color: rgba(0, 0, 0, 0.2); + background-clip: padding-box; + color: transparent; + font-size: 0; +} + +switch:disabled { + background-color: rgba(0, 0, 0, 0.08); +} + +switch:checked { + background-color: rgba(124, 77, 255, 0.35); + color: transparent; +} + +switch:checked:disabled { + background-color: rgba(124, 77, 255, 0.2); +} + +switch > slider { + transition: 100ms, box-shadow 100ms cubic-bezier(0, 0, 0.2, 1); + min-width: 20px; + min-height: 20px; + margin: -4px -2px; + border-radius: 9999px; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1); + background-color: #FFFFFF; + color: transparent; + background-position: center; + background-repeat: no-repeat; + background-image: -gtk-scaled(url("assets/switch-slider-unchecked.png"), url("assets/switch-slider-unchecked@2.png")); +} + +switch:hover > slider { + box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06); +} + +switch:checked > slider { + transition: 100ms, box-shadow 100ms cubic-bezier(0, 0, 0.2, 1), margin 0; + background-color: #7C4DFF; + color: transparent; + background-image: -gtk-scaled(url("assets/switch-slider-checked.png"), url("assets/switch-slider-checked@2.png")); +} + +switch:disabled > slider { + background-color: #eaeaf4; +} + +switch:checked:disabled > slider { + animation: none; + background-color: #bea6ff; +} + +row:selected switch:checked { + background-color: rgba(68, 1, 255, 0.35); +} + +row:selected switch:checked:disabled { + background-color: rgba(68, 1, 255, 0.2); +} + +row:selected switch:checked > slider { + background-color: #561aff; +} + +/************************* + * Check and Radio items * + *************************/ +.view.content-view.check:not(list), +.content-view .tile check:not(list) { + min-height: 40px; + min-width: 40px; + margin: 0; + padding: 0; + box-shadow: none; + background-color: transparent; + background-image: none; + -gtk-icon-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1); +} + +.view.content-view.check:not(list):hover, .view.content-view.check:not(list):active, +.content-view .tile check:not(list):hover, +.content-view .tile check:not(list):active { + -gtk-icon-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06); +} + +.view.content-view.check:not(list), +.content-view .tile check:not(list) { + -gtk-icon-source: -gtk-scaled(url("assets/selectionmode-checkbox-unchecked.png"), url("assets/selectionmode-checkbox-unchecked@2.png")); +} + +.view.content-view.check:not(list):checked, +.content-view .tile check:not(list):checked { + -gtk-icon-source: -gtk-scaled(url("assets/selectionmode-checkbox-checked.png"), url("assets/selectionmode-checkbox-checked@2.png")); +} + +checkbutton, +radiobutton { + outline: none; +} + +checkbutton.text-button, +radiobutton.text-button { + padding: 2px; + outline-offset: 0; +} + +checkbutton.text-button label:not(:only-child), +radiobutton.text-button label:not(:only-child) { + margin: 0 4px; +} + +row check:selected, +row radio:selected, row check:selected:active, +row radio:selected:active, row check:selected:checked, +row radio:selected:checked, row check:selected:indeterminate, +row radio:selected:indeterminate, row check:selected:focus, +row radio:selected:focus, row check:selected:focus:active, +row radio:selected:focus:active, row check:selected:focus:checked, +row radio:selected:focus:checked, row check:selected:focus:indeterminate, +row radio:selected:focus:indeterminate, treeview.view check:selected, +treeview.view radio:selected, treeview.view check:selected:active, +treeview.view radio:selected:active, treeview.view check:selected:checked, +treeview.view radio:selected:checked, treeview.view check:selected:indeterminate, +treeview.view radio:selected:indeterminate, treeview.view check:selected:focus, +treeview.view radio:selected:focus, treeview.view check:selected:focus:active, +treeview.view radio:selected:focus:active, treeview.view check:selected:focus:checked, +treeview.view radio:selected:focus:checked, treeview.view check:selected:focus:indeterminate, +treeview.view radio:selected:focus:indeterminate, row.activatable check:selected, +row.activatable radio:selected, row.activatable check:selected:active, +row.activatable radio:selected:active, row.activatable check:selected:checked, +row.activatable radio:selected:checked, row.activatable check:selected:indeterminate, +row.activatable radio:selected:indeterminate, row.activatable check:selected:focus, +row.activatable radio:selected:focus, row.activatable check:selected:focus:active, +row.activatable radio:selected:focus:active, row.activatable check:selected:focus:checked, +row.activatable radio:selected:focus:checked, row.activatable check:selected:focus:indeterminate, +row.activatable radio:selected:focus:indeterminate, row checkbutton check:selected, row checkbutton check:selected:active, row checkbutton check:selected:checked, row checkbutton check:selected:indeterminate, row checkbutton check:selected:focus, row checkbutton check:selected:focus:active, row checkbutton check:selected:focus:checked, row checkbutton check:selected:focus:indeterminate, treeview.view checkbutton check:selected, treeview.view checkbutton check:selected:active, treeview.view checkbutton check:selected:checked, treeview.view checkbutton check:selected:indeterminate, treeview.view checkbutton check:selected:focus, treeview.view checkbutton check:selected:focus:active, treeview.view checkbutton check:selected:focus:checked, treeview.view checkbutton check:selected:focus:indeterminate, row.activatable checkbutton check:selected, row.activatable checkbutton check:selected:active, row.activatable checkbutton check:selected:checked, row.activatable checkbutton check:selected:indeterminate, row.activatable checkbutton check:selected:focus, row.activatable checkbutton check:selected:focus:active, row.activatable checkbutton check:selected:focus:checked, row.activatable checkbutton check:selected:focus:indeterminate, row radiobutton radio:selected, row radiobutton radio:selected:active, row radiobutton radio:selected:checked, row radiobutton radio:selected:indeterminate, row radiobutton radio:selected:focus, row radiobutton radio:selected:focus:active, row radiobutton radio:selected:focus:checked, row radiobutton radio:selected:focus:indeterminate, treeview.view radiobutton radio:selected, treeview.view radiobutton radio:selected:active, treeview.view radiobutton radio:selected:checked, treeview.view radiobutton radio:selected:indeterminate, treeview.view radiobutton radio:selected:focus, treeview.view radiobutton radio:selected:focus:active, treeview.view radiobutton radio:selected:focus:checked, treeview.view radiobutton radio:selected:focus:indeterminate, row.activatable radiobutton radio:selected, row.activatable radiobutton radio:selected:active, row.activatable radiobutton radio:selected:checked, row.activatable radiobutton radio:selected:indeterminate, row.activatable radiobutton radio:selected:focus, row.activatable radiobutton radio:selected:focus:active, row.activatable radiobutton radio:selected:focus:checked, row.activatable radiobutton radio:selected:focus:indeterminate { + color: rgba(255, 255, 255, 0.7); +} + +row check:selected:disabled, +row radio:selected:disabled, row check:selected:active:disabled, +row radio:selected:active:disabled, row check:selected:checked:disabled, +row radio:selected:checked:disabled, row check:selected:indeterminate:disabled, +row radio:selected:indeterminate:disabled, row check:selected:focus:disabled, +row radio:selected:focus:disabled, row check:selected:focus:active:disabled, +row radio:selected:focus:active:disabled, row check:selected:focus:checked:disabled, +row radio:selected:focus:checked:disabled, row check:selected:focus:indeterminate:disabled, +row radio:selected:focus:indeterminate:disabled, treeview.view check:selected:disabled, +treeview.view radio:selected:disabled, treeview.view check:selected:active:disabled, +treeview.view radio:selected:active:disabled, treeview.view check:selected:checked:disabled, +treeview.view radio:selected:checked:disabled, treeview.view check:selected:indeterminate:disabled, +treeview.view radio:selected:indeterminate:disabled, treeview.view check:selected:focus:disabled, +treeview.view radio:selected:focus:disabled, treeview.view check:selected:focus:active:disabled, +treeview.view radio:selected:focus:active:disabled, treeview.view check:selected:focus:checked:disabled, +treeview.view radio:selected:focus:checked:disabled, treeview.view check:selected:focus:indeterminate:disabled, +treeview.view radio:selected:focus:indeterminate:disabled, row.activatable check:selected:disabled, +row.activatable radio:selected:disabled, row.activatable check:selected:active:disabled, +row.activatable radio:selected:active:disabled, row.activatable check:selected:checked:disabled, +row.activatable radio:selected:checked:disabled, row.activatable check:selected:indeterminate:disabled, +row.activatable radio:selected:indeterminate:disabled, row.activatable check:selected:focus:disabled, +row.activatable radio:selected:focus:disabled, row.activatable check:selected:focus:active:disabled, +row.activatable radio:selected:focus:active:disabled, row.activatable check:selected:focus:checked:disabled, +row.activatable radio:selected:focus:checked:disabled, row.activatable check:selected:focus:indeterminate:disabled, +row.activatable radio:selected:focus:indeterminate:disabled, row checkbutton check:selected:disabled, row checkbutton check:selected:active:disabled, row checkbutton check:selected:checked:disabled, row checkbutton check:selected:indeterminate:disabled, row checkbutton check:selected:focus:disabled, row checkbutton check:selected:focus:active:disabled, row checkbutton check:selected:focus:checked:disabled, row checkbutton check:selected:focus:indeterminate:disabled, treeview.view checkbutton check:selected:disabled, treeview.view checkbutton check:selected:active:disabled, treeview.view checkbutton check:selected:checked:disabled, treeview.view checkbutton check:selected:indeterminate:disabled, treeview.view checkbutton check:selected:focus:disabled, treeview.view checkbutton check:selected:focus:active:disabled, treeview.view checkbutton check:selected:focus:checked:disabled, treeview.view checkbutton check:selected:focus:indeterminate:disabled, row.activatable checkbutton check:selected:disabled, row.activatable checkbutton check:selected:active:disabled, row.activatable checkbutton check:selected:checked:disabled, row.activatable checkbutton check:selected:indeterminate:disabled, row.activatable checkbutton check:selected:focus:disabled, row.activatable checkbutton check:selected:focus:active:disabled, row.activatable checkbutton check:selected:focus:checked:disabled, row.activatable checkbutton check:selected:focus:indeterminate:disabled, row radiobutton radio:selected:disabled, row radiobutton radio:selected:active:disabled, row radiobutton radio:selected:checked:disabled, row radiobutton radio:selected:indeterminate:disabled, row radiobutton radio:selected:focus:disabled, row radiobutton radio:selected:focus:active:disabled, row radiobutton radio:selected:focus:checked:disabled, row radiobutton radio:selected:focus:indeterminate:disabled, treeview.view radiobutton radio:selected:disabled, treeview.view radiobutton radio:selected:active:disabled, treeview.view radiobutton radio:selected:checked:disabled, treeview.view radiobutton radio:selected:indeterminate:disabled, treeview.view radiobutton radio:selected:focus:disabled, treeview.view radiobutton radio:selected:focus:active:disabled, treeview.view radiobutton radio:selected:focus:checked:disabled, treeview.view radiobutton radio:selected:focus:indeterminate:disabled, row.activatable radiobutton radio:selected:disabled, row.activatable radiobutton radio:selected:active:disabled, row.activatable radiobutton radio:selected:checked:disabled, row.activatable radiobutton radio:selected:indeterminate:disabled, row.activatable radiobutton radio:selected:focus:disabled, row.activatable radiobutton radio:selected:focus:active:disabled, row.activatable radiobutton radio:selected:focus:checked:disabled, row.activatable radiobutton radio:selected:focus:indeterminate:disabled { + color: rgba(255, 255, 255, 0.3); +} + +row check:selected:hover, +row radio:selected:hover, treeview.view check:selected:hover, +treeview.view radio:selected:hover, row checkbutton check:selected:hover, row checkbutton check:selected:focus:hover, treeview.view checkbutton check:selected:hover, treeview.view checkbutton check:selected:focus:hover, row.activatable checkbutton check:selected:hover, row.activatable checkbutton check:selected:focus:hover, row radiobutton radio:selected:hover, row radiobutton radio:selected:focus:hover, treeview.view radiobutton radio:selected:hover, treeview.view radiobutton radio:selected:focus:hover, row.activatable radiobutton radio:selected:hover, row.activatable radiobutton radio:selected:focus:hover { + color: #FFFFFF; +} + +row check:selected:hover:disabled, +row radio:selected:hover:disabled, treeview.view check:selected:hover:disabled, +treeview.view radio:selected:hover:disabled, row checkbutton check:selected:hover:disabled, row checkbutton check:selected:focus:hover:disabled, treeview.view checkbutton check:selected:hover:disabled, treeview.view checkbutton check:selected:focus:hover:disabled, row.activatable checkbutton check:selected:hover:disabled, row.activatable checkbutton check:selected:focus:hover:disabled, row radiobutton radio:selected:hover:disabled, row radiobutton radio:selected:focus:hover:disabled, treeview.view radiobutton radio:selected:hover:disabled, treeview.view radiobutton radio:selected:focus:hover:disabled, row.activatable radiobutton radio:selected:hover:disabled, row.activatable radiobutton radio:selected:focus:hover:disabled { + color: rgba(255, 255, 255, 0.5); +} + +check, +radio { + min-height: 24px; + min-width: 24px; + margin: -7px; + padding: 7px; +} + +check:checked, check:indeterminate, +radio:checked, +radio:indeterminate { + color: #7C4DFF; +} + +check:checked:disabled, check:indeterminate:disabled, +radio:checked:disabled, +radio:indeterminate:disabled { + color: rgba(124, 77, 255, 0.5); +} + +popover modelbutton.flat check, popover modelbutton.flat check:hover, popover modelbutton.flat check:focus, popover modelbutton.flat check:focus:hover, popover modelbutton.flat check:active, popover modelbutton.flat check:disabled, popover modelbutton.flat radio, popover modelbutton.flat radio:hover, popover modelbutton.flat radio:focus, popover modelbutton.flat radio:focus:hover, popover modelbutton.flat radio:active, popover modelbutton.flat radio:disabled { + transition: none; + box-shadow: none; + background-image: none; +} + +popover modelbutton.flat check.left:dir(rtl), popover modelbutton.flat radio.left:dir(rtl) { + margin-left: -12px; + margin-right: -4px; +} + +popover modelbutton.flat check.right:dir(ltr), popover modelbutton.flat radio.right:dir(ltr) { + margin-left: -4px; + margin-right: -12px; +} + +popover.menu modelbutton check, popover.menu modelbutton radio { + transition: none; + margin: 0; + padding: 0; +} + +popover.menu modelbutton check:dir(ltr), popover.menu modelbutton radio:dir(ltr) { + margin-right: 8px; +} + +popover.menu modelbutton check:dir(rtl), popover.menu modelbutton radio:dir(rtl) { + margin-left: 8px; +} + +popover.menu modelbutton check:not(:checked):not(:indeterminate):not(:disabled), popover.menu modelbutton radio:not(:checked):not(:indeterminate):not(:disabled) { + color: rgba(255, 255, 255, 0.7); +} + +popover.menu modelbutton check, popover.menu modelbutton check:hover, popover.menu modelbutton check:disabled, popover.menu modelbutton radio, popover.menu modelbutton radio:hover, popover.menu modelbutton radio:disabled { + box-shadow: none; +} + + +check { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/checkbox-unchecked-symbolic.svg")); +} + + +check:checked { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/checkbox-checked-symbolic.svg")); +} + + +check:indeterminate { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/checkbox-mixed-symbolic.svg")); +} + + +radio { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/radio-unchecked-symbolic.svg")); +} + + +radio:checked { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/radio-checked-symbolic.svg")); +} + + +radio:indeterminate { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/radio-mixed-symbolic.svg")); +} + + +popover.menu modelbutton check { + min-height: 16px; + min-width: 16px; + border-radius: 7px; + -gtk-icon-source: -gtk-recolor(url("assets/scalable/small-checkbox-unchecked-symbolic.svg")); +} + + +popover.menu modelbutton check:checked { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/small-checkbox-checked-symbolic.svg")); +} + + +popover.menu modelbutton check:indeterminate { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/small-checkbox-mixed-symbolic.svg")); +} + + +popover.menu modelbutton radio { + min-height: 16px; + min-width: 16px; + border-image: none; + -gtk-icon-source: -gtk-recolor(url("assets/scalable/small-radio-unchecked-symbolic.svg")); +} + + +popover.menu modelbutton radio:checked { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/small-radio-checked-symbolic.svg")); +} + + +popover.menu modelbutton radio:indeterminate { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/small-radio-mixed-symbolic.svg")); +} + +check:not(:checked):active { + -gtk-icon-transform: rotate(90deg); +} + +check:not(:checked):indeterminate:active, +radio:not(:checked):indeterminate:active { + -gtk-icon-transform: scaleX(-1); +} + +check:not(:checked), +radio:not(:checked) { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1), background-size 300ms cubic-bezier(0, 0, 0.2, 1), background-image 600ms cubic-bezier(0, 0, 0.2, 1), -gtk-icon-transform 0; +} + +check:not(:checked):active, +radio:not(:checked):active { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1), background-size 0, background-image 0, -gtk-icon-transform 0; +} + +popover.menu modelbutton check:not(:checked), popover.menu modelbutton radio:not(:checked) { + transition: none; +} + +treeview.view check, +treeview.view radio { + padding: 0; +} + +treeview.view check:hover, +treeview.view radio:hover { + box-shadow: inset 0 0 0 9999px alpha(rgba(0, 0, 0, 0.75), 0.05); +} + +treeview.view check:hover:disabled, +treeview.view radio:hover:disabled { + box-shadow: none; +} + +treeview.view check:hover:selected, +treeview.view radio:hover:selected { + box-shadow: inset 0 0 0 9999px alpha(#FFFFFF, 0.05); +} + +treeview.view check, +treeview.view radio { + color: rgba(0, 0, 0, 0.55); +} + +treeview.view check:hover, treeview.view check:active, +treeview.view radio:hover, +treeview.view radio:active { + color: rgba(0, 0, 0, 0.75); +} + +treeview.view check:disabled, +treeview.view radio:disabled { + color: rgba(0, 0, 0, 0.26); +} + +treeview.view check:checked, treeview.view check:indeterminate, +treeview.view radio:checked, +treeview.view radio:indeterminate { + color: #7C4DFF; +} + +treeview.view check:checked:disabled, treeview.view check:indeterminate:disabled, +treeview.view radio:checked:disabled, +treeview.view radio:indeterminate:disabled { + color: rgba(124, 77, 255, 0.5); +} + +treeview.view radio:checked { + -gtk-icon-source: -gtk-recolor(url("assets/scalable/radio-checked-symbolic.svg")); + border-image: none; +} + +/************ + * GtkScale * + ************/ +scale { + min-height: 0px; + min-width: 0px; + padding: 16px; +} + +scale > trough { + transition: background-color 100ms cubic-bezier(0, 0, 0.2, 1); + outline: none; + background-color: rgba(0, 0, 0, 0.2); +} + +scale > trough:disabled { + background-color: rgba(0, 0, 0, 0.08); +} + +scale > trough > slider { + min-height: 32px; + min-width: 32px; + margin: -15px; +} + +scale > trough > highlight { + transition: background-color 100ms cubic-bezier(0, 0, 0.2, 1); + background-color: #7C4DFF; +} + +scale > trough > highlight:disabled { + background-color: transparent; +} + +scale > trough > fill { + transition: background-color 100ms cubic-bezier(0, 0, 0.2, 1); + background-color: rgba(0, 0, 0, 0.2); +} + +scale > trough > fill:disabled { + background-color: transparent; +} + +scale > trough > slider { + transition: background-color 100ms cubic-bezier(0, 0, 0.2, 1), background-size 300ms cubic-bezier(0, 0, 0.2, 1), background-image 600ms cubic-bezier(0, 0, 0.2, 1); + background-repeat: no-repeat; + background-position: center; + background-size: auto, 1000% 1000%; + border-radius: 50%; + color: transparent; +} + +scale > trough > slider { + background-image: -gtk-scaled(url("assets/scale-slider.png"), url("assets/scale-slider@2.png")); +} + +scale > trough > slider:disabled { + background-image: -gtk-scaled(url("assets/scale-slider-disabled.png"), url("assets/scale-slider-disabled@2.png")); +} + +scale > trough > slider:hover { + background-color: rgba(124, 77, 255, 0.08); +} + +scale > trough > slider:focus { + background-color: rgba(124, 77, 255, 0.12); +} + +scale > trough > slider:focus:hover { + background-color: rgba(124, 77, 255, 0.16); +} + +scale > trough > slider:active { + transition: background-color 100ms cubic-bezier(0, 0, 0.2, 1), background-size 0, background-image 0; + animation: scale_ripple_effect 225ms cubic-bezier(0, 0, 0.2, 1) forwards; + background-size: auto, 0% 0%; + background-color: rgba(124, 77, 255, 0.08); + color: rgba(124, 77, 255, 0.12); +} + +scale.fine-tune slider { + background-size: calc(100% - 12px); +} + +scale > marks label, +scale > value { + color: rgba(0, 0, 0, 0.38); +} + +scale > marks { + color: rgba(0, 0, 0, 0.2); +} + +scale > marks.top { + margin-bottom: 7px; + margin-top: -15px; +} + +scale > marks.bottom { + margin-top: 7px; + margin-bottom: -15px; +} + +scale > marks.left { + margin-right: 7px; + margin-left: -15px; +} + +scale > marks.right { + margin-left: 7px; + margin-right: -15px; +} + +scale.fine-tune marks.top { + margin-bottom: 6px; + margin-top: -14px; +} + +scale.fine-tune marks.bottom { + margin-top: 6px; + margin-bottom: -14px; +} + +scale.fine-tune marks.left { + margin-right: 6px; + margin-left: -14px; +} + +scale.fine-tune marks.right { + margin-left: 6px; + margin-right: -14px; +} + +scale.horizontal indicator { + min-height: 8px; + min-width: 1px; +} + +scale.vertical indicator { + min-height: 1px; + min-width: 8px; +} + +scale.horizontal.marks-before:not(.marks-after) slider { + background-image: -gtk-scaled(url("assets/scale-horz-marks-before-slider.png"), url("assets/scale-horz-marks-before-slider@2.png")); +} + +scale.horizontal.marks-before:not(.marks-after) slider:disabled { + background-image: -gtk-scaled(url("assets/scale-horz-marks-before-slider-disabled.png"), url("assets/scale-horz-marks-before-slider-disabled@2.png")); +} + +scale.horizontal.marks-after:not(.marks-before) slider { + background-image: -gtk-scaled(url("assets/scale-horz-marks-after-slider.png"), url("assets/scale-horz-marks-after-slider@2.png")); +} + +scale.horizontal.marks-after:not(.marks-before) slider:disabled { + background-image: -gtk-scaled(url("assets/scale-horz-marks-after-slider-disabled.png"), url("assets/scale-horz-marks-after-slider-disabled@2.png")); +} + +scale.vertical.marks-before:not(.marks-after) slider { + background-image: -gtk-scaled(url("assets/scale-vert-marks-before-slider.png"), url("assets/scale-vert-marks-before-slider@2.png")); +} + +scale.vertical.marks-before:not(.marks-after) slider:disabled { + background-image: -gtk-scaled(url("assets/scale-vert-marks-before-slider-disabled.png"), url("assets/scale-vert-marks-before-slider-disabled@2.png")); +} + +scale.vertical.marks-after:not(.marks-before) slider { + background-image: -gtk-scaled(url("assets/scale-vert-marks-after-slider.png"), url("assets/scale-vert-marks-after-slider@2.png")); +} + +scale.vertical.marks-after:not(.marks-before) slider:disabled { + background-image: -gtk-scaled(url("assets/scale-vert-marks-after-slider-disabled.png"), url("assets/scale-vert-marks-after-slider-disabled@2.png")); +} + +scale.color { + min-height: 0; + min-width: 0; +} + +scale.color.horizontal { + padding: 0 0 12px 0; +} + +scale.color.horizontal slider:dir(ltr), scale.color.horizontal slider:dir(rtl) { + margin-bottom: -16px; + margin-top: -6px; +} + +scale.color.vertical:dir(ltr) { + padding: 0 0 0 12px; +} + +scale.color.vertical:dir(ltr) slider { + margin-left: -16px; + margin-right: -6px; +} + +scale.color.vertical:dir(rtl) { + padding: 0 12px 0 0; +} + +scale.color.vertical:dir(rtl) slider { + margin-right: -16px; + margin-left: -6px; +} + +/***************** + * Progress bars * + *****************/ +progressbar { + color: rgba(0, 0, 0, 0.38); + font-size: smaller; +} + +progressbar.horizontal > trough { + min-width: 150px; +} + +progressbar.horizontal > trough, progressbar.horizontal > trough > progress { + min-height: 4px; +} + +progressbar.vertical > trough { + min-height: 80px; +} + +progressbar.vertical > trough, progressbar.vertical > trough > progress { + min-width: 4px; +} + +progressbar > trough { + border-radius: 9999px; + background-color: rgba(93, 125, 251, 0.3); +} + +progressbar > trough > progress { + border-radius: 9999px; + background-color: #5D7DFB; + background-image: linear-gradient(to left, #BA68C8, #7E57C2); + background-size: auto auto; + background-position: center center; + background-repeat: no-repeat; +} + +progressbar.osd { + min-width: 3px; + min-height: 3px; + background-color: transparent; +} + +progressbar.osd > trough { + border-style: none; + border-radius: 0; + background-color: transparent; + box-shadow: none; +} + +progressbar.osd > trough > progress { + border-style: none; + border-radius: 0; +} + +progressbar trough.empty progress { + all: unset; +} + +/************* + * Level Bar * + *************/ +levelbar.horizontal block { + min-height: 4px; +} + +levelbar.horizontal.discrete block { + min-width: 32px; +} + +levelbar.horizontal.discrete block:not(:last-child) { + margin-right: 2px; +} + +levelbar.vertical > trough > block { + min-width: 4px; +} + +levelbar.vertical.discrete block { + min-height: 32px; +} + +levelbar.vertical.discrete block:not(:last-child) { + margin-bottom: 2px; +} + +levelbar > trough { + padding: 2px; + border-radius: 5px; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1); + background-color: #FFFFFF; +} + +levelbar > trough:disabled { + background-color: #eaeaf4; +} + +levelbar > trough > block.low { + background-color: #FF6D00; +} + +levelbar > trough > block.high, levelbar > trough > block:not(.empty) { + background-color: #5657f5; +} + +levelbar > trough > block.full { + background-color: #00C853; +} + +levelbar > trough > block.empty { + background-color: rgba(0, 0, 0, 0.08); +} + +/**************** + * Print dialog * +*****************/ +window.dialog.print drawing { + color: rgba(0, 0, 0, 0.75); + background: none; + border: none; + padding: 0; +} + +window.dialog.print drawing paper { + padding: 0; + border: 1px solid rgba(0, 0, 0, 0.08); + background-color: #FFFFFF; + color: rgba(0, 0, 0, 0.75); +} + +window.dialog.print .dialog-action-box { + margin: 12px; +} + +/********** + * Frames * + **********/ +frame, +.frame { + margin: 0; + padding: 0; + border: 1px solid rgba(0, 0, 0, 0.08); + border-radius: 0; + box-shadow: none; +} + +frame.flat, +.frame.flat { + border-style: none; +} + +frame.flat > border { + border-style: none; +} + +frame { + border-radius: 8px; +} + +frame > label { + margin: 4px; +} + +actionbar > revealer > box { + padding: 4px; + border-top: 1px solid rgba(0, 0, 0, 0.08); +} + +actionbar > revealer > box .linked > button { + border-radius: 7px; +} + +overshoot.top { + background-image: radial-gradient(farthest-side at top, rgba(0, 0, 0, 0.08) 85%, rgba(0, 0, 0, 0)), radial-gradient(farthest-side at top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)); + background-size: 100% 3%, 100% 50%; + background-repeat: no-repeat; + background-position: top; + background-color: transparent; + border: none; + box-shadow: none; +} + +overshoot.bottom { + background-image: radial-gradient(farthest-side at bottom, rgba(0, 0, 0, 0.08) 85%, rgba(0, 0, 0, 0)), radial-gradient(farthest-side at bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)); + background-size: 100% 3%, 100% 50%; + background-repeat: no-repeat; + background-position: bottom; + background-color: transparent; + border: none; + box-shadow: none; +} + +overshoot.left { + background-image: radial-gradient(farthest-side at left, rgba(0, 0, 0, 0.08) 85%, rgba(0, 0, 0, 0)), radial-gradient(farthest-side at left, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)); + background-size: 3% 100%, 50% 100%; + background-repeat: no-repeat; + background-position: left; + background-color: transparent; + border: none; + box-shadow: none; +} + +overshoot.right { + background-image: radial-gradient(farthest-side at right, rgba(0, 0, 0, 0.08) 85%, rgba(0, 0, 0, 0)), radial-gradient(farthest-side at right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)); + background-size: 3% 100%, 50% 100%; + background-repeat: no-repeat; + background-position: right; + background-color: transparent; + border: none; + box-shadow: none; +} + +undershoot.top { + background-color: transparent; + background-image: linear-gradient(to left, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.2) 50%); + padding-top: 1px; + background-size: 12px 1px; + background-repeat: repeat-x; + background-origin: content-box; + background-position: left top; +} + +undershoot.bottom { + background-color: transparent; + background-image: linear-gradient(to left, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.2) 50%); + padding-bottom: 1px; + background-size: 12px 1px; + background-repeat: repeat-x; + background-origin: content-box; + background-position: left bottom; +} + +undershoot.left { + background-color: transparent; + background-image: linear-gradient(to top, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.2) 50%); + padding-left: 1px; + background-size: 1px 12px; + background-repeat: repeat-y; + background-origin: content-box; + background-position: left top; +} + +undershoot.right { + background-color: transparent; + background-image: linear-gradient(to top, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.2) 50%); + padding-right: 1px; + background-size: 1px 12px; + background-repeat: repeat-y; + background-origin: content-box; + background-position: right top; +} + +junction { + border-style: solid none none solid; + border-width: 1px; + border-color: rgba(0, 0, 0, 0.08); + background-color: #FFFFFF; +} + +junction:dir(rtl) { + border-style: solid solid none none; +} + +separator { + min-width: 1px; + min-height: 1px; + background-color: rgba(0, 0, 0, 0.08); +} + + +button.font separator, +button.file separator { + min-width: 0; + min-height: 0; + background-color: transparent; +} + +/********* + * Lists * + *********/ +listview, +list { + border-color: rgba(0, 0, 0, 0.08); + background-color: #FFFFFF; +} + +listview row, +list row { + padding: 2px; +} + +columnview.view > header > button, +treeview.view > header > button, row.activatable { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1), background-color 0, color 0; + box-shadow: inset 0 0 0 9999px transparent; +} + +columnview.view > header > button:hover, +treeview.view > header > button:hover, row.activatable:hover { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1), background-color 0, color 0, box-shadow 0; + box-shadow: inset 0 0 0 9999px alpha(currentColor, 0.05); +} + +columnview.view > header > button.has-open-popup, +treeview.view > header > button.has-open-popup, columnview.view > header > button:active, +treeview.view > header > button:active, row.activatable.has-open-popup, row.activatable:active { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1), background-color 0, color 0; + box-shadow: inset 0 0 0 9999px alpha(currentColor, 0.3); + background-size: 0% 0%; +} + +row button.circular { + margin: 0 4px; +} + +columnview > listview > row { + padding: 0; +} + +columnview > listview > row > cell { + padding: 8px 6px; +} + +columnview > listview > row > cell:not(:first-child) { + border-left: 1px solid transparent; +} + +columnview.column-separators > listview > row > cell { + border-left-color: #dadaeb; +} + +columnview.data-table > listview > row > cell { + padding-top: 2px; + padding-bottom: 2px; +} + +treeexpander { + border-spacing: 4px; +} + +.rich-list { + /* rich lists usually containing other widgets than just labels/text */ +} + +.rich-list > row { + padding: 8px 12px; + min-height: 32px; + /* should be tall even when only containing a label */ +} + +.rich-list > row > box { + border-spacing: 12px; +} + +/********************* + * App Notifications * + *********************/ +.app-notification { + margin: 8px; +} + +.app-notification.frame, +.app-notification border { + border-style: none; +} + +/************* + * Expanders * + *************/ +expander { + transition: all 100ms cubic-bezier(0, 0, 0.2, 1); + min-width: 16px; + min-height: 16px; + -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); + -gtk-icon-transform: rotate(-90deg); + color: rgba(0, 0, 0, 0.55); +} + +expander:dir(rtl) { + -gtk-icon-transform: rotate(90deg); +} + +expander:checked { + -gtk-icon-transform: unset; +} + +expander:hover, expander:active { + color: rgba(0, 0, 0, 0.75); +} + +expander:disabled { + color: rgba(0, 0, 0, 0.26); +} + +expander:selected { + color: rgba(255, 255, 255, 0.7); +} + +expander:selected:hover, expander:selected:active { + color: #FFFFFF; +} + +expander:selected:disabled { + color: rgba(255, 255, 255, 0.3); +} + +/************ + * Calendar * + ************/ +calendar { + color: rgba(0, 0, 0, 0.55); + border: 1px solid rgba(0, 0, 0, 0.08); +} + +calendar > header { + border-bottom: 1px solid rgba(0, 0, 0, 0.08); +} + +calendar > header > button { + border: none; + box-shadow: none; + background: none; + border-radius: 0; +} + +calendar > header > button:backdrop { + background: none; +} + +calendar > grid > label { + border-radius: 3px; +} + +calendar > grid > label.today { + background-color: rgba(0, 0, 0, 0.15); +} + +calendar > grid > label.day-number { + padding: 4px; +} + +calendar > grid > label.day-number:selected { + border-radius: 3px; +} + +calendar > grid > label.day-number.other-month { + color: alpha(currentColor, 0.3); +} + +/*********** + * Dialogs * + ***********/ +window.dialog.message { + color: rgba(255, 255, 255, 0.8); +} + +window.dialog.message.background { + background-color: rgba(63, 63, 63, 0.95); +} + +window.dialog.message .titlebar { + min-height: 20px; + border-style: none; + box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); + background-color: rgba(63, 63, 63, 0.95); + color: rgba(255, 255, 255, 0.8); + border-top-left-radius: 7px; + border-top-right-radius: 7px; +} + +window.dialog.message .titlebar:backdrop { + color: rgba(255, 255, 255, 0.3); +} + +window.dialog.message list, window.dialog.message row, window.dialog.message .view, window.dialog.message textview.view > text { + color: rgba(255, 255, 255, 0.8); + background-color: #373737; + border-color: rgba(255, 255, 255, 0.12); +} + +window.dialog.message .linked:not(.vertical).dialog-action-area > button { + padding: 4px 12px; + border-top: 1px solid rgba(0, 0, 0, 0.08); + border-radius: 0; + color: rgba(255, 255, 255, 0.8); +} + +window.dialog.message .linked:not(.vertical).dialog-action-area > button:first-child { + border-bottom-left-radius: 0; + border-top-left-radius: 0; +} + +window.dialog.message .linked:not(.vertical).dialog-action-area > button:last-child { + border-bottom-right-radius: 0; + border-top-right-radius: 0; +} + +window.dialog.message .linked:not(.vertical).dialog-action-area > button.suggested-action, window.dialog.message .linked:not(.vertical).dialog-action-area > button.suggested-action:hover { + color: #7C4DFF; +} + +window.dialog.message .linked:not(.vertical).dialog-action-area > button.suggested-action:active, window.dialog.message .linked:not(.vertical).dialog-action-area > button.suggested-action:checked { + background-color: #7C4DFF; + color: white; + border-color: #7C4DFF; + box-shadow: none; +} + +window.dialog.message .linked:not(.vertical).dialog-action-area > button.suggested-action:disabled { + opacity: 0.65; +} + +window.dialog.message .linked:not(.vertical).dialog-action-area > button.destructive-action, window.dialog.message .linked:not(.vertical).dialog-action-area > button.destructive-action:hover { + color: #FF5252; +} + +window.dialog.message .linked:not(.vertical).dialog-action-area > button.destructive-action:active, window.dialog.message .linked:not(.vertical).dialog-action-area > button.destructive-action:checked { + background-color: #FF5252; + color: white; + border-color: #FF5252; + box-shadow: none; +} + +window.dialog.message .linked:not(.vertical).dialog-action-area > button.destructive-action:disabled { + opacity: 0.65; +} + +window.dialog.message.csd { + color: rgba(255, 255, 255, 0.8); +} + +window.dialog.message.csd.background { + border-bottom-left-radius: 7px; + border-bottom-right-radius: 7px; +} + +window.dialog.message.csd .linked:not(.vertical).dialog-action-area > button { + padding: 8px 16px; + border-top: 1px solid rgba(0, 0, 0, 0.08); + border-radius: 0; + color: rgba(255, 255, 255, 0.8); +} + +window.dialog.message.csd .linked:not(.vertical).dialog-action-area > button:first-child { + border-bottom-left-radius: 7px; + border-top-left-radius: 0; +} + +window.dialog.message.csd .linked:not(.vertical).dialog-action-area > button:last-child { + border-bottom-right-radius: 7px; + border-top-right-radius: 0; +} + +window.dialog.message entry { + color: rgba(255, 255, 255, 0.8); +} + +window.dialog.message expander title > arrow { + color: rgba(255, 255, 255, 0.7); +} + +window.dialog.message expander title > arrow:hover, window.dialog.message expander title > arrow:active { + color: #FFFFFF; +} + +window.dialog.message expander title > arrow:disabled { + color: rgba(255, 255, 255, 0.3); +} + +.background.csd filechooser, .background.csd filechooser placessidebar { + background: none; + border-radius: 0 0 13px 13px; +} + +.background.csd filechooser list, .background.csd filechooser placessidebar list { + background-color: transparent; +} + +.maximized filechooser placessidebar { + border-radius: 0; +} + +filechooser stack.view { + background-color: transparent; +} + +filechooser stack.view scrolledwindow { + background-color: #FFFFFF; + border-radius: 0 0 13px 13px; +} + +filechooser stack.view scrolledwindow treeview.view { + background-color: transparent; +} + +filechooser .dialog-action-box { + border-top: 1px solid rgba(0, 0, 0, 0.08); +} + +filechooser #pathbarbox { + border-bottom: 1px solid rgba(0, 0, 0, 0.08); + background-color: #f4f4f9; +} + +filechooserbutton > button > box { + border-spacing: 6px; +} + +filechooserbutton:drop(active) { + box-shadow: none; +} + +/*********** + * Sidebar * + ***********/ +stacksidebar .frame list:dir(ltr) { + box-shadow: inset -2px 0 3px -3px rgba(0, 0, 0, 0.05), inset -3px 0 5px -3px rgba(0, 0, 0, 0.05), inset -3px 0 10px -3px rgba(0, 0, 0, 0.03); +} + +stacksidebar .frame list:dir(rtl) { + box-shadow: inset 2px 0 3px -3px rgba(0, 0, 0, 0.05), inset 3px 0 5px -3px rgba(0, 0, 0, 0.05), inset 3px 0 10px -3px rgba(0, 0, 0, 0.03); +} + +.sidebar { + border-style: none; + background-color: #f4f4f9; +} + +.sidebar:dir(ltr), .sidebar.left, .sidebar.left:dir(rtl) { + border-right: 1px solid #dadaeb; + border-left-style: none; +} + +.sidebar:dir(rtl), .sidebar.right { + border-left: 1px solid #dadaeb; + border-right-style: none; +} + +.sidebar listview.view, +.sidebar list { + background-color: transparent; +} + +paned .sidebar.left, paned .sidebar.right, paned .sidebar.left:dir(rtl), paned .sidebar:dir(rtl), paned .sidebar:dir(ltr), paned .sidebar { + border-style: none; +} + +stacksidebar list.separators:not(.horizontal) > row:not(.separator) { + border-bottom: none; +} + +stacksidebar row { + padding: 10px 4px; +} + +stacksidebar row > label { + padding-left: 6px; + padding-right: 6px; +} + +.navigation-sidebar { + padding: 4px 0; +} + +.navigation-sidebar > separator { + margin: 4px; +} + +.navigation-sidebar > row { + min-height: 28px; + padding: 0 4px; + border-radius: 8px; + margin: 0 4px 2px; +} + +.navigation-sidebar > row:hover, .navigation-sidebar > row:focus-visible:focus-within { + color: rgba(0, 0, 0, 0.75); + background-color: rgba(0, 0, 0, 0.06); +} + +.navigation-sidebar > row:selected { + color: rgba(0, 0, 0, 0.75); + background-color: rgba(0, 0, 0, 0.08); +} + +.navigation-sidebar > row:selected label { + color: rgba(0, 0, 0, 0.75); +} + +.navigation-sidebar > row:selected:hover { + background-color: rgba(0, 0, 0, 0.12); +} + +.navigation-sidebar > row:selected:focus-visible:focus-within { + outline-width: 0; + color: #FFFFFF; + background-color: #5657f5; +} + +.navigation-sidebar > row:selected:focus-visible:focus-within:hover { + background-color: #8687f8; +} + +.navigation-sidebar > row:disabled { + color: rgba(0, 0, 0, 0.26); +} + +/**************** + * File chooser * + ****************/ +row image.sidebar-icon { + color: rgba(0, 0, 0, 0.55); +} + +row:selected image.sidebar-icon { + color: rgba(255, 255, 255, 0.7); +} + +placessidebar > viewport.frame { + border-style: none; +} + +placessidebar list { + padding: 1px 0 4px; +} + +placessidebar .navigation-sidebar > row { + min-height: 32px; + margin: -1px 4px -1px 0; + padding: 0; + border-radius: 0 7px 7px 0; +} + +placessidebar .navigation-sidebar > row > revealer { + padding: 0 12px; +} + +placessidebar .navigation-sidebar > row:selected { + background-color: rgba(0, 0, 0, 0.06); + color: #5657f5; +} + +placessidebar .navigation-sidebar > row:selected image.sidebar-icon, placessidebar .navigation-sidebar > row:selected label.sidebar-label { + color: #5657f5; +} + +placessidebar .navigation-sidebar > row:disabled { + color: rgba(0, 0, 0, 0.38); +} + +placessidebar .navigation-sidebar > row image.sidebar-icon:dir(ltr) { + padding-right: 8px; +} + +placessidebar .navigation-sidebar > row image.sidebar-icon:dir(rtl) { + padding-left: 8px; +} + +placessidebar .navigation-sidebar > row label.sidebar-label:dir(ltr) { + padding-right: 2px; +} + +placessidebar .navigation-sidebar > row label.sidebar-label:dir(rtl) { + padding-left: 2px; +} + +placessidebar .navigation-sidebar > row.sidebar-placeholder-row { + min-height: 2px; + padding: 0 8px; + background-image: image(#7C4DFF); + background-clip: content-box; +} + +placessidebar .navigation-sidebar > row.sidebar-new-bookmark-row, placessidebar .navigation-sidebar > row.sidebar-new-bookmark-row image.sidebar-icon { + color: #7C4DFF; +} + +placessidebar .navigation-sidebar > row:drop(active):not(:disabled) { + box-shadow: inset 0 0 0 2px #7C4DFF; +} + +placesview .server-list-button > image { + -gtk-icon-transform: rotate(0turn); +} + +placesview .server-list-button:checked > image { + -gtk-icon-transform: rotate(-0.5turn); +} + +placesview > actionbar > revealer > box > label { + padding-left: 8px; + padding-right: 8px; +} + +/********* + * Paned * + *********/ +paned > separator { + min-width: 1px; + min-height: 1px; + -gtk-icon-source: none; + border-style: none; + background-color: transparent; + background-image: image(rgba(0, 0, 0, 0.08)); + background-size: 1px 1px; + background-clip: content-box; +} + +paned > separator.wide { + min-width: 6px; + min-height: 6px; + background-color: #f4f4f9; + background-image: image(rgba(0, 0, 0, 0.08)), image(rgba(0, 0, 0, 0.08)); + background-size: 1px 1px, 1px 1px; +} + +paned.horizontal > separator { + background-repeat: repeat-y; +} + +paned.horizontal > separator:dir(ltr) { + margin: 0 -8px 0 0; + padding: 0 8px 0 0; + background-position: left; +} + +paned.horizontal > separator:dir(rtl) { + margin: 0 0 0 -8px; + padding: 0 0 0 8px; + background-position: right; +} + +paned.horizontal > separator.wide { + margin: 0; + padding: 0; + background-repeat: repeat-y, repeat-y; + background-position: left, right; +} + +paned.vertical > separator { + margin: 0 0 -8px 0; + padding: 0 0 8px 0; + background-repeat: repeat-x; + background-position: top; +} + +paned.vertical > separator.wide { + margin: 0; + padding: 0; + background-repeat: repeat-x, repeat-x; + background-position: bottom, top; +} + +video { + background: black; +} + +video image.osd { + min-width: 64px; + min-height: 64px; + border-radius: 9999px; +} + +/************** + * GtkInfoBar * + **************/ +infobar { + border-style: none; +} + +infobar.info { + background-color: #66BB6A; +} + +infobar.question { + background-color: #42A5F5; +} + +infobar.warning { + background-color: #FFA726; +} + +infobar.error { + background-color: #EF5350; +} + +infobar.info > label, infobar.info, infobar.question > label, infobar.question, infobar.warning > label, infobar.warning, infobar.error > label, infobar.error { + color: #FFFFFF; +} + +/************ + * Tooltips * + ************/ +tooltip { + border-radius: 8px; + box-shadow: none; +} + +tooltip.background.csd { + border-radius: 8px; + box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); + background-color: rgba(63, 63, 63, 0.9); + color: rgba(255, 255, 255, 0.8); +} + +tooltip label { + min-height: 20px; + padding: 0 2px; +} + +tooltip > box { + border-spacing: 6px; +} + +/***************** + * Color Chooser * + *****************/ +colorswatch.top { + border-top-left-radius: 5.5px; + border-top-right-radius: 5.5px; +} + +colorswatch.top overlay { + border-top-left-radius: 5px; + border-top-right-radius: 5px; +} + +colorswatch.bottom { + border-bottom-left-radius: 5.5px; + border-bottom-right-radius: 5.5px; +} + +colorswatch.bottom overlay { + border-bottom-left-radius: 5px; + border-bottom-right-radius: 5px; +} + +colorswatch.left, colorswatch:first-child:not(.top) { + border-top-left-radius: 5.5px; + border-bottom-left-radius: 5.5px; +} + +colorswatch.left overlay, colorswatch:first-child:not(.top) overlay { + border-top-left-radius: 5px; + border-bottom-left-radius: 5px; +} + +colorswatch.right, colorswatch:last-child:not(.bottom) { + border-top-right-radius: 5.5px; + border-bottom-right-radius: 5.5px; +} + +colorswatch.right overlay, colorswatch:last-child:not(.bottom) overlay { + border-top-right-radius: 5px; + border-bottom-right-radius: 5px; +} + +colorswatch.dark { + color: #FFFFFF; +} + +colorswatch.light { + color: rgba(0, 0, 0, 0.87); +} + +colorswatch:drop(active) { + box-shadow: none; +} + +colorswatch:drop(active).light overlay { + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1), 0 0 0 2px #7C4DFF; +} + +colorswatch:drop(active).dark overlay { + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1), 0 0 0 2px #7C4DFF; +} + +colorswatch overlay { + transition: box-shadow 100ms cubic-bezier(0, 0, 0.2, 1); + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1); +} + +colorswatch overlay:hover { + box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06); +} + +colorswatch#add-color-button { + border-radius: 5px 5px 0 0; + color: #FFFFFF; +} + +colorswatch#add-color-button:only-child { + border-radius: 5px; +} + +colorswatch#add-color-button overlay { + background-image: linear-gradient(to right, #EF5350 25%, #FFA726 25%, #FFA726 50%, #66BB6A 50%, #66BB6A 75%, #42A5F5 75%); +} + +colorswatch:disabled { + opacity: 0.5; +} + +colorswatch:disabled overlay { + box-shadow: none; +} + +colorswatch#editor-color-sample { + border-radius: 5.5px; +} + +colorswatch#editor-color-sample overlay { + border-radius: 5px; +} + +colorchooser .popover.osd { + transition: box-shadow 100ms cubic-bezier(0, 0, 0.2, 1); + border-radius: 7px; + box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06), inset 0 1px rgba(255, 255, 255, 0.4); + background-color: #FFFFFF; +} + +colorchooser .popover.osd:backdrop { + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1), inset 0 1px rgba(255, 255, 255, 0.4); +} + +/******** + * Misc * + ********/ +.content-view { + background-color: #f4f4f9; +} + +/********************** + * Window Decorations * + **********************/ +window { + border: none; +} + +window.csd { + transition: box-shadow 100ms cubic-bezier(0, 0, 0.2, 1); + border-radius: 13px; + box-shadow: 0 14px 14px rgba(0, 0, 0, 0.25), 0 10px 5px rgba(0, 0, 0, 0.22), 0 16px 16px transparent; + margin: 0; +} + +window.csd:backdrop { + box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06), 0 16px 16px transparent; +} + +window.csd.popup { + border-radius: 13px; + box-shadow: 0 14px 14px rgba(0, 0, 0, 0.25), 0 10px 5px rgba(0, 0, 0, 0.22); +} + +window.csd.dialog.message { + border-radius: 13px; + box-shadow: 0 14px 14px rgba(0, 0, 0, 0.25), 0 10px 5px rgba(0, 0, 0, 0.22); +} + +window.csd.solid-csd { + margin: 0; + border: none; + border-radius: 0; + box-shadow: inset 0 1px rgba(255, 255, 255, 0.4); + background-color: #31313a; +} + +.maximized window, .fullscreen window, .tiled window, .tiled-top window, .tiled-right window, .tiled-bottom window, .tiled-left window { + border-radius: 0; +} + +.popup window { + box-shadow: none; +} + +.ssd window { + box-shadow: 0 3px 3px rgba(0, 0, 0, 0.16); +} + +/***************** + * Title buttons * + *****************/ +headerbar { + padding: 0 14px; +} + +headerbar windowcontrols { + border-spacing: 6px; +} + +headerbar windowcontrols:not(.empty).start:dir(ltr), headerbar windowcontrols:not(.empty).end:dir(rtl) { + margin-right: 4px; +} + +headerbar windowcontrols:not(.empty).start:dir(rtl), headerbar windowcontrols:not(.empty).end:dir(ltr) { + margin-left: 4px; +} + +headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).maximize, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).minimize { + min-width: 12px; + min-height: 12px; + padding: 0; + margin: 0 2px; + color: transparent; + background-color: rgba(255, 255, 255, 0.3); +} + +headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close:hover, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close:backdrop:hover, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).maximize:hover, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).maximize:backdrop:hover, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).minimize:hover, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).minimize:backdrop:hover { + color: rgba(255, 255, 255, 0.7); +} + +headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close:active, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close:checked, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close:backdrop:active, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close:backdrop:checked, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).maximize:active, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).maximize:checked, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).maximize:backdrop:active, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).maximize:backdrop:checked, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).minimize:active, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).minimize:checked, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).minimize:backdrop:active, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).minimize:backdrop:checked { + color: #FFFFFF; +} + +headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close:backdrop, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).maximize:backdrop, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).minimize:backdrop { + color: transparent; + background-color: rgba(255, 255, 255, 0.12); +} + +headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close { + transition: background-size 0, background-image 0, box-shadow 100ms cubic-bezier(0, 0, 0.2, 1); +} + +headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close:hover { + padding: 2px; + margin: -2px 0; + background-color: #EF5350; + color: rgba(255, 255, 255, 0.7); + box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 3px 3px rgba(0, 0, 0, 0.06); +} + +headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close:active, headerbar windowcontrols > button:not(.suggested-action):not(.destructive-action).close:checked { + padding: 2px; + margin: -2px 0; + background-color: #7C4DFF; + color: #FFFFFF; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1); +} + +emoji-completion-row:focus, +emoji-completion-row:hover, .view selection, .view:selected, iconview selection, iconview:selected, flowbox > flowboxchild:selected, gridview > child:selected, entry > text > selection, spinbutton > text > selection, spinbutton:not(.vertical) > text > selection, dropdown popover listview > row:selected, +combobox popover listview > row:selected, modelbutton.flat:selected, row:selected, columnview row:not(:selected) cell editablelabel.editing text selection, calendar > grid > label.today:selected, calendar > grid > label.day-number:selected, filechooser stack.view scrolledwindow treeview.view selection, filechooser stack.view scrolledwindow treeview.view:selected { + background-color: #5657f5; +} + +row:selected label, label:selected, emoji-completion-row:focus, +emoji-completion-row:hover, .view selection, .view:selected, iconview selection, iconview:selected, flowbox > flowboxchild:selected, gridview > child:selected, entry > text > selection, spinbutton > text > selection, spinbutton:not(.vertical) > text > selection, dropdown popover listview > row:selected, +combobox popover listview > row:selected, modelbutton.flat:selected, row:selected, columnview row:not(:selected) cell editablelabel.editing text selection, calendar > grid > label.today:selected, calendar > grid > label.day-number:selected, filechooser stack.view scrolledwindow treeview.view selection, filechooser stack.view scrolledwindow treeview.view:selected { + color: #FFFFFF; +} + +row:selected label:disabled, label:disabled:selected, emoji-completion-row:disabled:focus, +emoji-completion-row:disabled:hover, .view selection:disabled, .view:disabled:selected, iconview selection:disabled, iconview:disabled:selected, flowbox > flowboxchild:disabled:selected, gridview > child:disabled:selected, entry > text > selection:disabled, spinbutton > text > selection:disabled, modelbutton.flat:disabled:selected, row:disabled:selected, columnview row:not(:selected) cell editablelabel.editing text selection:disabled, calendar > grid > label.today:disabled:selected, calendar > grid > label.day-number:disabled:selected, filechooser stack.view scrolledwindow treeview.view selection:disabled { + color: rgba(255, 255, 255, 0.5); +} + +.monospace { + font-family: monospace; +} + +/********************** + * Touch Copy & Paste * + **********************/ +cursor-handle { + border-radius: 9999px; + background-color: #7C4DFF; + background-image: none; +} + +cursor-handle.top:dir(ltr), cursor-handle.bottom:dir(rtl) { + padding-left: 6px; + border-top-right-radius: 0; +} + +cursor-handle.bottom:dir(ltr), cursor-handle.top:dir(rtl) { + padding-right: 6px; + border-top-left-radius: 0; +} + +cursor-handle.insertion-cursor:dir(ltr), cursor-handle.insertion-cursor:dir(rtl) { + -gtk-icon-source: -gtk-scaled(url("assets/scale-horz-marks-before-slider.png"), url("assets/scale-horz-marks-before-slider@2.png")); +} + +shortcuts-section { + margin: 20px; +} + +.shortcuts-search-results { + margin: 20px; + border-spacing: 24px; +} + +.context-menu { + font: initial; +} + +shortcut > .keycap { + min-width: 12px; + min-height: 26px; + margin-top: 2px; + padding-bottom: 2px; + padding-left: 8px; + padding-right: 8px; + border: solid 1px rgba(0, 0, 0, 0.08); + border-radius: 5px; + box-shadow: inset 0 -2px rgba(0, 0, 0, 0.08); + background-color: #FFFFFF; + color: rgba(0, 0, 0, 0.75); + font-size: smaller; +} + +:not(decoration):not(window):drop(active) { + transition: all 225ms cubic-bezier(0, 0, 0.2, 1); + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1), inset 0 0 0 2px #7C4DFF; + caret-color: #7C4DFF; +} + +stackswitcher button.text-button { + min-width: 100px; +} + +stackswitcher button.circular, +stackswitcher button.text-button.circular { + min-width: 32px; + min-height: 32px; + padding: 0; +} + +.lowres-icon { + -gtk-icon-shadow: 0 -1px rgba(0, 0, 0, 0.05), 1px 0 rgba(0, 0, 0, 0.1), 0 1px rgba(0, 0, 0, 0.3), -1px 0 rgba(0, 0, 0, 0.1); +} + +.icon-dropshadow { + -gtk-icon-shadow: 0 1px 12px rgba(0, 0, 0, 0.05), 0 -1px rgba(0, 0, 0, 0.05), 1px 0 rgba(0, 0, 0, 0.1), 0 1px rgba(0, 0, 0, 0.3), -1px 0 rgba(0, 0, 0, 0.1); +} + +/********* + * Emoji * + *********/ +popover.emoji-picker > contents { + padding: 0; +} + +.emoji-searchbar { + padding: 4px; + border-spacing: 4px; + border-bottom: 1px solid rgba(0, 0, 0, 0.08); +} + +.emoji-toolbar { + padding: 4px; + border-spacing: 4px; + border-top: 1px solid rgba(0, 0, 0, 0.08); +} + +button.emoji-section { + margin-top: -1px; + padding: 0 8px; + min-width: 24px; + min-height: 32px; + border-radius: 0; + box-shadow: none; +} + +button.emoji-section:hover { + box-shadow: inset 0 2px rgba(0, 0, 0, 0.2); +} + +button.emoji-section:active { + box-shadow: inset 0 2px #5657f5; +} + +button.emoji-section:checked { + box-shadow: inset 0 2px #5657f5; + background-color: transparent; +} + +button.emoji-section:first-child { + margin-left: 4px; +} + +button.emoji-section:last-child { + margin-right: 4px; +} + +popover.emoji-picker emoji { + font-size: x-large; + padding: 4px; + border-radius: 4px; +} + +popover.emoji-picker emoji:focus, popover.emoji-picker emoji:hover { + background: #5657f5; +} + +emoji-completion-row > box { + border-spacing: 4px; + padding: 2px 4px; +} + +emoji-completion-row emoji:focus, +emoji-completion-row emoji:hover { + background: none; + box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.05); + border-radius: 3px; +} + +popover.entry-completion > contents { + padding: 0; +} + +statusbar { + padding: 4px 8px; +} + +/* GTK NAMED COLORS + ---------------- + use responsibly! */ +/* +widget text/foreground color */ +@define-color theme_fg_color rgba(0, 0, 0, 0.75); +/* +text color for entries, views and content in general */ +@define-color theme_text_color currentColor; +/* +widget base background color */ +@define-color theme_bg_color #f4f4f9; +/* +text widgets and the like base background color */ +@define-color theme_base_color #FFFFFF; +/* +base background color of selections */ +@define-color theme_selected_bg_color #5657f5; +/* +text/foreground color of selections */ +@define-color theme_selected_fg_color #FFFFFF; +/* +base background color of insensitive widgets */ +@define-color insensitive_bg_color #f4f4f9; +/* +text foreground color of insensitive widgets */ +@define-color insensitive_fg_color alpha(currentColor, 0.5); +/* +insensitive text widgets and the like base background color */ +@define-color insensitive_base_color #eaeaf4; +/* +widget text/foreground color on backdrop windows */ +@define-color theme_unfocused_fg_color rgba(0, 0, 0, 0.75); +/* +text color for entries, views and content in general on backdrop windows */ +@define-color theme_unfocused_text_color currentColor; +/* +widget base background color on backdrop windows */ +@define-color theme_unfocused_bg_color #f4f4f9; +/* +text widgets and the like base background color on backdrop windows */ +@define-color theme_unfocused_base_color #FFFFFF; +/* +base background color of selections on backdrop windows */ +@define-color theme_unfocused_selected_bg_color #5657f5; +/* +text/foreground color of selections on backdrop windows */ +@define-color theme_unfocused_selected_fg_color #FFFFFF; +/* +insensitive color on backdrop windows */ +@define-color unfocused_insensitive_color alpha(currentColor, 0.5); +/* +widgets main borders color */ +@define-color borders alpha(currentColor, 0.12); +/* +widgets main borders color on backdrop windows */ +@define-color unfocused_borders alpha(currentColor, 0.12); +/* +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 #757575; +/* Very contrasty background for text views (@theme_text_color foreground) */ +@define-color text_view_bg #FFFFFF; +@define-color budgie_tasklist_indicator_color #7C4DFF; +@define-color budgie_tasklist_indicator_color_active #7C4DFF; +@define-color budgie_tasklist_indicator_color_active_window rgba(90, 62, 174, 0.931); +@define-color budgie_tasklist_indicator_color_attention #FF6D00; +@define-color STRAWBERRY_100 #FF9262; +@define-color STRAWBERRY_300 #FF793E; +@define-color STRAWBERRY_500 #F15D22; +@define-color STRAWBERRY_700 #CF3B00; +@define-color STRAWBERRY_900 #AC1800; +@define-color ORANGE_100 #FFDB91; +@define-color ORANGE_300 #FFCA40; +@define-color ORANGE_500 #FAA41A; +@define-color ORANGE_700 #DE8800; +@define-color ORANGE_900 #C26C00; +@define-color BANANA_100 #FFFFA8; +@define-color BANANA_300 #FFFA7D; +@define-color BANANA_500 #FFCE51; +@define-color BANANA_700 #D1A023; +@define-color BANANA_900 #A27100; +@define-color LIME_100 #A2F3BE; +@define-color LIME_300 #8ADBA6; +@define-color LIME_500 #73C48F; +@define-color LIME_700 #479863; +@define-color LIME_900 #1C6D38; +@define-color BLUEBERRY_100 #94A6FF; +@define-color BLUEBERRY_300 #6A7CE0; +@define-color BLUEBERRY_500 #3F51B5; +@define-color BLUEBERRY_700 #213397; +@define-color BLUEBERRY_900 #031579; +@define-color GRAPE_100 #D25DE6; +@define-color GRAPE_300 #B84ACB; +@define-color GRAPE_500 #9C27B0; +@define-color GRAPE_700 #830E97; +@define-color GRAPE_900 #6A007E; +@define-color COCOA_100 #9F9792; +@define-color COCOA_300 #7B736E; +@define-color COCOA_500 #574F4A; +@define-color COCOA_700 #463E39; +@define-color COCOA_900 #342C27; +@define-color SILVER_100 #EEE; +@define-color SILVER_300 #CCC; +@define-color SILVER_500 #AAA; +@define-color SILVER_700 #888; +@define-color SILVER_900 #666; +@define-color SLATE_100 #888; +@define-color SLATE_300 #666; +@define-color SLATE_500 #444; +@define-color SLATE_700 #222; +@define-color SLATE_900 #111; +@define-color BLACK_100 #474341; +@define-color BLACK_300 #403C3A; +@define-color BLACK_500 #393634; +@define-color BLACK_700 #33302F; +@define-color BLACK_900 #2B2928; diff --git a/src/gtk/4.0/gtk.scss b/src/gtk/4.0/gtk.scss new file mode 100644 index 0000000..7e8a208 --- /dev/null +++ b/src/gtk/4.0/gtk.scss @@ -0,0 +1,11 @@ +$variant: 'light'; +$titlebar: 'dark'; +$compact: 'true'; +$solid: 'false'; + +@import '../../_sass/variables'; +@import '../../_sass/colors'; +@import '../../_sass/gtk/drawing-4.0'; +@import '../../_sass/gtk/common-4.0'; +@import '../../_sass/gtk/apps-4.0'; +@import '../../_sass/gtk/colors-public'; diff --git a/src/gtk/gtk-dark-solid.scss b/src/gtk/gtk-dark-solid.scss deleted file mode 100644 index 393ab27..0000000 --- a/src/gtk/gtk-dark-solid.scss +++ /dev/null @@ -1,11 +0,0 @@ -$variant: 'dark'; -$titlebar: 'dark'; -$compact: 'true'; -$solid: 'true'; - -@import '../_sass/variables'; -@import '../_sass/colors'; -@import '../_sass/gtk/drawing'; -@import '../_sass/gtk/common'; -@import '../_sass/gtk/apps'; -@import '../_sass/gtk/colors-public'; diff --git a/src/gtk/gtk-dark.scss b/src/gtk/gtk-dark.scss deleted file mode 100644 index 2fe164b..0000000 --- a/src/gtk/gtk-dark.scss +++ /dev/null @@ -1,11 +0,0 @@ -$variant: 'dark'; -$titlebar: 'dark'; -$compact: 'true'; -$solid: 'false'; - -@import '../_sass/variables'; -@import '../_sass/colors'; -@import '../_sass/gtk/drawing'; -@import '../_sass/gtk/common'; -@import '../_sass/gtk/apps'; -@import '../_sass/gtk/colors-public'; diff --git a/src/gtk/gtk-light-solid.scss b/src/gtk/gtk-light-solid.scss deleted file mode 100644 index fcbda70..0000000 --- a/src/gtk/gtk-light-solid.scss +++ /dev/null @@ -1,11 +0,0 @@ -$variant: 'light'; -$titlebar: 'light'; -$compact: 'true'; -$solid: 'true'; - -@import '../_sass/variables'; -@import '../_sass/colors'; -@import '../_sass/gtk/drawing'; -@import '../_sass/gtk/common'; -@import '../_sass/gtk/apps'; -@import '../_sass/gtk/colors-public'; diff --git a/src/gtk/gtk-light.scss b/src/gtk/gtk-light.scss deleted file mode 100644 index e08734e..0000000 --- a/src/gtk/gtk-light.scss +++ /dev/null @@ -1,11 +0,0 @@ -$variant: 'light'; -$titlebar: 'light'; -$compact: 'true'; -$solid: 'false'; - -@import '../_sass/variables'; -@import '../_sass/colors'; -@import '../_sass/gtk/drawing'; -@import '../_sass/gtk/common'; -@import '../_sass/gtk/apps'; -@import '../_sass/gtk/colors-public'; diff --git a/src/gtk/gtk-solid.scss b/src/gtk/gtk-solid.scss deleted file mode 100644 index 24085da..0000000 --- a/src/gtk/gtk-solid.scss +++ /dev/null @@ -1,11 +0,0 @@ -$variant: 'light'; -$titlebar: 'dark'; -$compact: 'true'; -$solid: 'true'; - -@import '../_sass/variables'; -@import '../_sass/colors'; -@import '../_sass/gtk/drawing'; -@import '../_sass/gtk/common'; -@import '../_sass/gtk/apps'; -@import '../_sass/gtk/colors-public'; diff --git a/src/gtk/gtk.scss b/src/gtk/gtk.scss deleted file mode 100644 index a5ddc6c..0000000 --- a/src/gtk/gtk.scss +++ /dev/null @@ -1,11 +0,0 @@ -$variant: 'light'; -$titlebar: 'dark'; -$compact: 'true'; -$solid: 'false'; - -@import '../_sass/variables'; -@import '../_sass/colors'; -@import '../_sass/gtk/drawing'; -@import '../_sass/gtk/common'; -@import '../_sass/gtk/apps'; -@import '../_sass/gtk/colors-public';