/* GTK NAMED COLORS */ @define-color theme_fg_color #2e3436; @define-color theme_bg_color #ededed; @define-color theme_base_color white; @define-color theme_selected_bg_color #4a90d9; @define-color theme_selected_fg_color white; @define-color insensitive_bg_color #f4f4f4; @define-color insensitive_fg_color #8d9091; @define-color insensitive_base_color white; @define-color theme_unfocused_fg_color #54595a; @define-color theme_unfocused_bg_color #ededed; @define-color theme_unfocused_base_color #fcfcfc; @define-color theme_unfocused_selected_bg_color #4a90d9; @define-color theme_unfocused_selected_fg_color white; @define-color borders #a1a1a1; @define-color unfocused_borders #a8a8a8; @define-color warning_color #f57900; @define-color error_color #cc0000; @define-color success_color #73d216; @define-color wm_title shade(#2e3436, 1.8); @define-color wm_unfocused_title #54595a; @define-color wm_highlight white; @define-color wm_borders_edge white; @define-color wm_bg_a shade(#ededed, 1.2); @define-color wm_bg_b #ededed; @define-color wm_shadow alpha(black, 0.35); @define-color wm_border alpha(black, 0.18); @define-color wm_button_hover_color_a shade(#ededed, 1.3); @define-color wm_button_hover_color_b #ededed; @define-color wm_button_active_color_a shade(#ededed, 0.85); @define-color wm_button_active_color_b shade(#ededed, 0.89); @define-color wm_button_active_color_c shade(#ededed, 0.9); @define-color content_view_bg white; * { padding: 0; -GtkToolButton-icon-spacing: 4; -GtkTextView-error-underline-color: #cc0000; -GtkPaned-handle-size: 1; -GtkCheckButton-indicator-size: 16; -GtkCheckMenuItem-indicator-size: 16; -GtkScrolledWindow-scrollbar-spacing: 0; -GtkScrolledWindow-scrollbars-within-bevel: 1; -GtkToolItemGroup-expander-size: 11; -GtkExpander-expander-size: 16; -GtkTreeView-expander-size: 11; -GtkTreeView-horizontal-separator: 4; -GtkMenu-horizontal-padding: 0; -GtkMenu-vertical-padding: 0; -GtkWidget-link-color: #2a76c6; -GtkWidget-visited-link-color: #2a76c6; -GtkWidget-focus-padding: 2; -GtkWidget-focus-line-width: 1; -GtkWindow-resize-grip-width: 0; -GtkWindow-resize-grip-height: 0; -GtkDialog-button-spacing: 4; -GtkDialog-action-area-border: 0; outline-color: rgba(46, 52, 54, 0.3); outline-style: dashed; outline-offset: -3px; outline-width: 1px; outline-radius: 2px; } /*************** * Base States * ***************/ .background { color: #2e3436; background-color: #ededed; } .background:backdrop { text-shadow: none; icon-shadow: none; color: #454f52; background-color: #ededed; } /* These wildcard seems unavoidable, need to investigate. Wildcards are bad and troublesome, use them with care, or better, just don't. Everytime a wildcard is used a kitten dies, painfully. */ *:insensitive { -gtk-image-effect: dim; } .gtkstyle-fallback { background-color: #ededed; color: #2e3436; } .gtkstyle-fallback:prelight { background-color: white; color: #2e3436; } .gtkstyle-fallback:active { background-color: lightgray; color: #2e3436; } .gtkstyle-fallback:insensitive { background-color: #f4f4f4; color: #8d9091; } .gtkstyle-fallback:selected { background-color: #4a90d9; color: white; } .view { color: #2e3436; background-color: white; } .view:backdrop { color: #54595a; background-color: #fcfcfc; } .rubberband { border: 1px solid #4a90d9; background-color: rgba(74, 144, 217, 0.2); } /********************* * Spinner Animation * *********************/ @keyframes spin { to { -gtk-icon-transform: rotate(1turn); } } .spinner { background-image: none; background-color: blue; opacity: 0; -gtk-icon-source: -gtk-icontheme("process-working-symbolic"); } .spinner:active { opacity: 1; animation: spin 1s linear infinite; } .spinner:active:insensitive { opacity: 0.5; } /**************** * Text Entries * ****************/ .entry { padding: 4px; border-radius: 3px; transition: all 200ms ease-out; background-color: transparent; border-style: solid; border-width: 1px; background-image: linear-gradient(to bottom, #f7f7f7, white 90%); border-color: #a1a1a1; box-shadow: inset 0 2px 2px -2px #7f7f7f, 0 1px white; } .entry.flat, .entry.flat:focus { padding: 2px; background-color: transparent; border-style: solid; border-width: 1px; background-image: linear-gradient(to bottom, #f7f7f7, white 90%); border-color: #a1a1a1; box-shadow: inset 0 2px 2px -2px #7f7f7f; border: none; border-radius: 0; } .entry:focus { background-color: transparent; border-style: solid; border-width: 1px; background-image: linear-gradient(to bottom, #f7f7f7, white 90%); border-color: #4a90d9; box-shadow: inset 0 2px 2px -2px #7f7f7f, inset 0 0 2px 1px #dae8f7, 0 1px white; } .entry:insensitive { background-color: transparent; border-style: solid; border-width: 1px; background-image: linear-gradient(to bottom, #f7f7f7, white 90%); color: #8d9091; border-color: #a1a1a1; background-image: linear-gradient(to bottom, #f4f4f4); box-shadow: 0 1px white; } .entry:backdrop { background-color: transparent; border-style: solid; border-width: 1px; background-image: linear-gradient(to bottom, #f7f7f7, white 90%); color: #54595a; background-image: linear-gradient(to bottom, #fcfcfc); box-shadow: 0 1px rgba(255, 255, 255, 0); } .entry:backdrop:insensitive { background-color: transparent; border-style: solid; border-width: 1px; background-image: linear-gradient(to bottom, #f7f7f7, white 90%); color: #c7c7c7; background-image: linear-gradient(to bottom, #ededed); box-shadow: 0 1px rgba(255, 255, 255, 0); } .entry:selected, .entry:backdrop:selected { background-color: #4a90d9; color: white; } .entry.progressbar { margin: 1px; border-radius: 0; border-width: 0 0 2px; border-color: #4a90d9; border-style: solid; background-image: none; background-color: transparent; box-shadow: none; } .entry.progressbar:backdrop { background-color: transparent; } .linked .entry:first-child { border-top-right-radius: 0; border-bottom-right-radius: 0; } .linked .entry:first-child:dir(rtl) { border-right-style: none; } .linked .entry:last-child { border-top-left-radius: 0; border-bottom-left-radius: 0; border-left-style: none; } .linked .entry:last-child:dir(rtl) { border-left-style: solid; } /*********** * Buttons * ***********/ .button { border-radius: 3px; transition: all 200ms ease-out; padding: 4px 6px; border-width: 1px; border-style: solid; color: #2e3436; background-image: linear-gradient(to bottom, #fafafa, #ededed 40%, #e0e0e0); border-color: #a1a1a1; text-shadow: 0 1px rgba(255, 255, 255, 0.76923); icon-shadow: 0 1px rgba(255, 255, 255, 0.76923); box-shadow: inset 0 1px white, 0 1px white; } .button:hover, .button.flat:hover { border-width: 1px; border-style: solid; color: #2e3436; border-color: #a1a1a1; background-image: linear-gradient(to bottom, white, #f7f7f7 40%, #ededed); text-shadow: 0 1px rgba(255, 255, 255, 0.76923); icon-shadow: 0 1px rgba(255, 255, 255, 0.76923); box-shadow: inset 0 1px white, 0 1px white; -gtk-image-effect: highlight; } .button:active, .button.flat:active { border-width: 1px; border-style: solid; color: #2e3436; border-color: #a1a1a1; background-image: linear-gradient(to bottom, #c7c7c7, #d1d1d1 3%, lightgray); text-shadow: 0 1px rgba(255, 255, 255, 0.76923); icon-shadow: 0 1px rgba(255, 255, 255, 0.76923); box-shadow: inset 0 2px 3px -1px rgba(0, 0, 0, 0.3), 0 1px white; } .button:backdrop, .button.flat:backdrop { border-width: 1px; border-style: solid; color: #54595a; border-color: #a8a8a8; background-image: linear-gradient(to bottom, #ededed); text-shadow: none; icon-shadow: none; box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(255, 255, 255, 0); } .button:backdrop:active, .button.flat:backdrop:active { border-width: 1px; border-style: solid; color: #54595a; border-color: #a8a8a8; background-image: linear-gradient(to bottom, #d4d4d4); box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(255, 255, 255, 0); } .button:backdrop:insensitive, .button.flat:backdrop:insensitive { border-width: 1px; border-style: solid; color: #c7c7c7; border-color: #a8a8a8; background-image: linear-gradient(to bottom, #ededed); box-shadow: inset 0 1px rgba(255, 255, 255, 0); } .button:backdrop:insensitive:active, .button.flat:backdrop:insensitive:active { border-width: 1px; border-style: solid; color: #c7c7c7; border-color: #a8a8a8; background-image: linear-gradient(to bottom, #e7e7e7); box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(255, 255, 255, 0); } .button:insensitive { border-width: 1px; border-style: solid; color: #8d9091; border-color: #a1a1a1; background-image: linear-gradient(to bottom, #f4f4f4); text-shadow: none; icon-shadow: none; box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px white; } .button:insensitive:active, .button:insensitive.flat:active { border-width: 1px; border-style: solid; color: #8d9091; border-color: #a1a1a1; background-image: linear-gradient(to bottom, #ebebeb); box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px white; } .osd .button { padding: 6px; border-width: 1px; border-width: 1px; border-style: solid; background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.01)); border-color: rgba(255, 255, 255, 0.2); box-shadow: none; } .osd .button:hover { border-width: 1px; border-style: solid; background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.01)); border-color: rgba(255, 255, 255, 0.2); box-shadow: none; } .osd .button:active { border-width: 1px; border-style: solid; background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.05), rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.1)); border-color: rgba(255, 255, 255, 0.2); box-shadow: none; } .osd .button:insensitive { border-width: 1px; border-style: solid; background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8)); border-color: rgba(255, 255, 255, 0.2); color: #8d9091; } .osd .button:backdrop { border-width: 1px; border-style: solid; } .button.suggested-action { border-width: 1px; border-style: solid; color: white; background-image: linear-gradient(to bottom, #5f9ddd, #4a90d9 40%, #3583d5); border-color: #1c5187; text-shadow: 0 -1px rgba(0, 0, 0, 0.54353); icon-shadow: 0 -1px rgba(0, 0, 0, 0.54353); box-shadow: inset 0 1px rgba(255, 255, 255, 0.1), 0 1px white; } .button.suggested-action:hover { border-width: 1px; border-style: solid; color: white; border-color: #1c5187; background-image: linear-gradient(to bottom, #85b4e5, #5b9add 40%, #4a90d9); text-shadow: 0 -1px rgba(0, 0, 0, 0.51153); icon-shadow: 0 -1px rgba(0, 0, 0, 0.51153); box-shadow: inset 0 1px rgba(255, 255, 255, 0.1), 0 1px white; } .button.suggested-action:active { border-width: 1px; border-style: solid; color: white; border-color: #1c5187; background-image: linear-gradient(to bottom, #256ab1, #2974c2 3%, #2a76c6); text-shadow: 0 -1px rgba(0, 0, 0, 0.62353); icon-shadow: 0 -1px rgba(0, 0, 0, 0.62353); box-shadow: inset 0 2px 3px -1px rgba(0, 0, 0, 0.3), 0 1px white; } .button.suggested-action:backdrop { border-width: 1px; border-style: solid; color: white; border-color: #4a90d9; background-image: linear-gradient(to bottom, #4a90d9); text-shadow: none; icon-shadow: none; box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(255, 255, 255, 0); } .button.suggested-action:backdrop:insensitive { border-width: 1px; border-style: solid; color: #c7c7c7; border-color: #a8a8a8; background-image: linear-gradient(to bottom, #ededed); box-shadow: inset 0 1px rgba(255, 255, 255, 0); } .button.suggested-action:insensitive { border-width: 1px; border-style: solid; color: #8d9091; border-color: #a1a1a1; background-image: linear-gradient(to bottom, #f4f4f4); text-shadow: none; icon-shadow: none; box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px white; } .button.destructive-action { border-width: 1px; border-style: solid; color: white; background-image: linear-gradient(to bottom, #f14141, #ef2929 40%, #ed1212); border-color: #8e0b0b; text-shadow: 0 -1px rgba(0, 0, 0, 0.56078); icon-shadow: 0 -1px rgba(0, 0, 0, 0.56078); box-shadow: inset 0 1px rgba(255, 255, 255, 0.1), 0 1px white; } .button.destructive-action:hover { border-width: 1px; border-style: solid; color: white; border-color: #8e0b0b; background-image: linear-gradient(to bottom, #f46b6b, #f03c3c 40%, #ef2929); text-shadow: 0 -1px rgba(0, 0, 0, 0.52878); icon-shadow: 0 -1px rgba(0, 0, 0, 0.52878); box-shadow: inset 0 1px rgba(255, 255, 255, 0.1), 0 1px white; } .button.destructive-action:active { border-width: 1px; border-style: solid; color: white; border-color: #8e0b0b; background-image: linear-gradient(to bottom, #bd0e0e, #d01010 3%, #d51010); text-shadow: 0 -1px rgba(0, 0, 0, 0.64078); icon-shadow: 0 -1px rgba(0, 0, 0, 0.64078); box-shadow: inset 0 2px 3px -1px rgba(0, 0, 0, 0.3), 0 1px white; } .button.destructive-action:backdrop { border-width: 1px; border-style: solid; color: white; border-color: #ef2929; background-image: linear-gradient(to bottom, #ef2929); text-shadow: none; icon-shadow: none; box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(255, 255, 255, 0); } .button.destructive-action:backdrop:insensitive { border-width: 1px; border-style: solid; color: #c7c7c7; border-color: #a8a8a8; background-image: linear-gradient(to bottom, #ededed); box-shadow: inset 0 1px rgba(255, 255, 255, 0); } .button.destructive-action:insensitive { border-width: 1px; border-style: solid; color: #8d9091; border-color: #a1a1a1; background-image: linear-gradient(to bottom, #f4f4f4); text-shadow: none; icon-shadow: none; box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px white; } .button.image-button { padding: 8px; } .button.text-button { padding: 6px 8px 5px; } .inline-toolbar .button, .inline-toolbar .button:backdrop { border-radius: 2px; border-width: 1px; } .primary-toolbar .button { icon-shadow: none; } .osd .button, .osd .button:hover, .osd .button:active, .osd .button:insensitive, .osd .button:backdrop, .inline-toolbar .button, .inline-toolbar .button:backdrop, .linked .button, .linked .button:backdrop { border-radius: 0; border-left-style: none; } .osd .button:dir(rtl), .inline-toolbar .button:dir(rtl), .linked .button:dir(rtl) { border-right-style: none; border-left-style: solid; } .osd .button:first-child, .inline-toolbar .button:first-child, .linked .button:first-child { border-radius: 3px 0 0 3px; border-left-style: solid; } .osd .button:last-child, .inline-toolbar .button:last-child, .linked .button:last-child { border-radius: 0 3px 3px 0; } .osd .button:last-child:dir(rtl), .inline-toolbar .button:last-child:dir(rtl), .linked .button:last-child:dir(rtl) { border-right-style: solid; } .osd .button:only-child, .inline-toolbar .button:only-child, .linked .button:only-child { border-radius: 3px; border-style: solid; } .button.flat, .button.flat:backdrop, .button:link, .button:visited, .button:link:hover, .button:link:active, .button:visited:hover, .button:visited:active, .button:link:backdrop, .button:visited:backdrop, .notebook tab .button, GtkCalendar.button, GtkCalendar.button:hover, GtkCalendar.button:backdrop, GtkCalendar.button:backdrop:hover { border-color: transparent; background-color: transparent; background-image: none; box-shadow: inset 0 1px rgba(255, 255, 255, 0); } /* menu buttons */ .menuitem.button, .menuitem.button:insensitive, .menuitem.button:active:insensitive { color: #2e3436; background-color: transparent; background-image: none; border-color: transparent; border-image: none; border-style: none; box-shadow: none; } .menuitem.button:active { color: white; text-shadow: none; icon-shadow: none; } .menuitem.button:backdrop, .menuitem.button:backdrop:active:insensitive, .menuitem.button:hover:backdrop, .menuitem.button:insensitive:backdrop, .menuitem.button:active:insensitive:backdrop, .menuitem.button:active:backdrop, .menuitem.button:active:hover:backdrop, .menuitem.button:active:selected:backdrop { text-shadow: none; icon-shadow: none; color: #8d9091; background-image: linear-gradient(to bottom, #ededed); border: none; box-shadow: none; } GtkColorButton.button { padding: 4px; } .inline-toolbar.toolbar GtkToolButton .button { border-width: 1px; border-style: solid; color: #2e3436; background-image: linear-gradient(to bottom, #fafafa, #ededed 40%, #e0e0e0); border-color: #a1a1a1; text-shadow: 0 1px rgba(255, 255, 255, 0.76923); icon-shadow: 0 1px rgba(255, 255, 255, 0.76923); box-shadow: inset 0 1px white, 0 1px white; } /********* * Links * *********/ *:link { color: #4a90d9; } *:link:hover, *:link:active, *:link:visited { color: #3e6b97; } *:link:backdrop, *:link:backdrop:hover { color: #4a90d9; } .button:link, .button:visited { color: #4a90d9; text-shadow: none; } .button:link:hover, .button:link:active, .button:visited:hover, .button:visited:active { color: #3e6b97; text-shadow: none; } .button:link:backdrop, .button:visited:backdrop { color: #4a90d9; } /***************** * GtkSpinButton * *****************/ .spinbutton { /* This is to fix spinbuttons in entries, but I feel like hiding code issues * hence it's commented atm. * GtkTreeView & { * &.entry, &.entry:focus { * padding: 1px; * border-width: 1px 0; * border-color: $selected_bg_color; * border-radius: 0; * box-shadow: none; * } * } */ } .spinbutton .button { background-image: none; border-width: 0 0 0 1px; border-color: rgba(161, 161, 161, 0.3); color: #383e40; border-radius: 0; box-shadow: none; } .spinbutton .button:dir(rtl) { border-width: 0 1px 0 0; } .spinbutton .button:hover { color: #2e3436; background-color: rgba(0, 0, 0, 0.05); } .spinbutton .button:insensitive { color: rgba(141, 144, 145, 0.3); } .spinbutton .button:active { box-shadow: inset 0 2px 3px -1px rgba(0, 0, 0, 0.2); background-color: rgba(0, 0, 0, 0.1); } .spinbutton .button:backdrop { border-color: rgba(168, 168, 168, 0.3); } .spinbutton .button:backdrop:insensitive { background-image: none; color: rgba(199, 199, 199, 0.3); border-width: 0 0 0 1px; } .spinbutton .button:backdrop:insensitive:dir(rtl) { border-width: 0 1px 0 0; } .spinbutton.vertical .button:first-child { border-width: 1px; border-style: solid; color: #2e3436; background-image: linear-gradient(to bottom, #fafafa, #ededed 40%, #e0e0e0); border-color: #a1a1a1; text-shadow: 0 1px rgba(255, 255, 255, 0.76923); icon-shadow: 0 1px rgba(255, 255, 255, 0.76923); box-shadow: inset 0 1px white; } .spinbutton.vertical .button:first-child:active { border-width: 1px; border-style: solid; color: #2e3436; border-color: #a1a1a1; background-image: linear-gradient(to bottom, #c7c7c7, #d1d1d1 3%, lightgray); text-shadow: 0 1px rgba(255, 255, 255, 0.76923); icon-shadow: 0 1px rgba(255, 255, 255, 0.76923); box-shadow: inset 0 2px 3px -1px rgba(0, 0, 0, 0.3); } .spinbutton.vertical .button:first-child:hover { border-width: 1px; border-style: solid; color: #2e3436; border-color: #a1a1a1; background-image: linear-gradient(to bottom, white, #f7f7f7 40%, #ededed); text-shadow: 0 1px rgba(255, 255, 255, 0.76923); icon-shadow: 0 1px rgba(255, 255, 255, 0.76923); box-shadow: inset 0 1px white; } .spinbutton.vertical .button:first-child:insensitive { border-width: 1px; border-style: solid; color: #8d9091; border-color: #a1a1a1; background-image: linear-gradient(to bottom, #f4f4f4); text-shadow: none; icon-shadow: none; box-shadow: inset 0 1px rgba(255, 255, 255, 0); } .spinbutton.vertical .button:first-child:backdrop { border-width: 1px; border-style: solid; color: #54595a; border-color: #a8a8a8; background-image: linear-gradient(to bottom, #ededed); text-shadow: none; icon-shadow: none; box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(255, 255, 255, 0); } .spinbutton.vertical .button:last-child { border-width: 1px; border-style: solid; color: #2e3436; background-image: linear-gradient(to bottom, #fafafa, #ededed 40%, #e0e0e0); border-color: #a1a1a1; text-shadow: 0 1px rgba(255, 255, 255, 0.76923); icon-shadow: 0 1px rgba(255, 255, 255, 0.76923); box-shadow: inset 0 1px white, 0 1px white; } .spinbutton.vertical .button:last-child:active { border-width: 1px; border-style: solid; color: #2e3436; border-color: #a1a1a1; background-image: linear-gradient(to bottom, #c7c7c7, #d1d1d1 3%, lightgray); text-shadow: 0 1px rgba(255, 255, 255, 0.76923); icon-shadow: 0 1px rgba(255, 255, 255, 0.76923); box-shadow: inset 0 2px 3px -1px rgba(0, 0, 0, 0.3), 0 1px white; } .spinbutton.vertical .button:last-child:hover { border-width: 1px; border-style: solid; color: #2e3436; border-color: #a1a1a1; background-image: linear-gradient(to bottom, white, #f7f7f7 40%, #ededed); text-shadow: 0 1px rgba(255, 255, 255, 0.76923); icon-shadow: 0 1px rgba(255, 255, 255, 0.76923); box-shadow: inset 0 1px white, 0 1px white; } .spinbutton.vertical .button:last-child:insensitive { border-width: 1px; border-style: solid; color: #8d9091; border-color: #a1a1a1; background-image: linear-gradient(to bottom, #f4f4f4); text-shadow: none; icon-shadow: none; box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px white; } .spinbutton.vertical .button:last-child:backdrop { border-width: 1px; border-style: solid; color: #54595a; border-color: #a8a8a8; background-image: linear-gradient(to bottom, #ededed); text-shadow: none; icon-shadow: none; box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(255, 255, 255, 0); } .spinbutton.vertical .button:backdrop:insensitive { border-width: 1px; border-style: solid; color: #c7c7c7; border-color: #a8a8a8; background-image: linear-gradient(to bottom, #ededed); box-shadow: inset 0 1px rgba(255, 255, 255, 0); } .spinbutton.vertical.entry { border-radius: 0; } .spinbutton.vertical .button:first-child, .spinbutton.vertical .button:first-child:active, .spinbutton.vertical .button:first-child:hover, .spinbutton.vertical .button:first-child:insensitive, .spinbutton.vertical .button:first-child:backdrop { border-radius: 3px 3px 0 0; border-bottom-width: 0; } .spinbutton.vertical .button:last-child, .spinbutton.vertical .button:last-child:active, .spinbutton.vertical .button:last-child:hover, .spinbutton.vertical .button:last-child:insensitive, .spinbutton.vertical .button:last-child:backdrop { border-radius: 0 0 3px 3px; border-top-width: 0; } /************** * ComboBoxes * **************/ GtkComboBox { padding: 0; -GtkComboBox-arrow-scaling: 0.5; -GtkComboBox-shadow-type: none; box-shadow: 0 1px white; text-shadow: 0 1px rgba(255, 255, 255, 0.76923); icon-shadow: 0 1px rgba(255, 255, 255, 0.76923); } GtkComboBox:insensitive { color: #8d9091; text-shadow: none; icon-shadow: none; } GtkComboBox:backdrop { color: #54595a; text-shadow: none; icon-shadow: none; } GtkComboBox:backdrop:insensitive { color: #c7c7c7; } GtkComboBox .menuitem { text-shadow: none; } GtkComboBox .separator { -GtkWidget-wide-separators: true; -GtkWidget-horizontal-separator: 0; -GtkWidget-vertical-separator: 0; } GtkComboBox.combobox-entry .entry { border-radius: 3px 0 0 3px; } GtkComboBox.combobox-entry .entry:dir(rtl) { border-radius: 0 3px 3px 0; } GtkComboBox.combobox-entry .button, GtkComboBox.combobox-entry .button:backdrop { border-radius: 0 3px 3px 0; border-left-style: none; } GtkComboBox.combobox-entry .button:dir(rtl), GtkComboBox.combobox-entry .button:backdrop:dir(rtl) { border-radius: 3px 0 0 3px; border-left-style: solid; border-right-style: none; } /************ * Toolbars * ************/ .toolbar { padding: 6px; background-color: #ededed; } .toolbar.osd { background-color: rgba(0, 0, 0, 0.8); border-radius: 6px; padding: 12px; } .toolbar.inline-toolbar { border-width: 0 1px 1px; padding: 3px; border-radius: 0 0 4px 4px; } .toolbar.search-bar { border-width: 0 0 1px; padding: 3px; } .toolbar.inline-toolbar, .toolbar.search-bar { border-style: solid; border-color: #a1a1a1; background-color: #d6d6d6; box-shadow: inset 0 2px 3px -1px #b6b6b6; } .toolbar.inline-toolbar:backdrop, .toolbar.search-bar:backdrop { border-color: #a8a8a8; background-color: #d4d4d4; box-shadow: none; } /*************** * Header bars * ***************/ .titlebar, .header-bar { border-width: 0 0 1px; border-style: solid; border-color: #a1a1a1; border-radius: 7px 7px 0 0; background-color: transparent; background-image: linear-gradient(to bottom, #f7f7f7, #ededed); box-shadow: inset 0 -1px #d6d6d6, inset 0 1px white; padding: 6px; } .titlebar:backdrop, .header-bar:backdrop { border-color: #a8a8a8; background-color: #ededed; background-image: none; box-shadow: none; } .titlebar .title, .header-bar .title { font: Bold; padding: 0px 12px; } .titlebar .subtitle, .header-bar .subtitle { font-size: 80%; padding: 0 12px; } .titlebar .header-bar-separator, .titlebar > GtkBox > .separator.vertical, .header-bar .header-bar-separator, .header-bar > GtkBox > .separator.vertical { -GtkWidget-wide-separators: true; -GtkWidget-separator-width: 1px; border-width: 0 1px; border-image: linear-gradient(to bottom, rgba(161, 161, 161, 0), #a1a1a1 30%, #a1a1a1 70%, rgba(161, 161, 161, 0) 100%) 0 1/0 1px stretch; } .titlebar .header-bar-separator:backdrop, .titlebar > GtkBox > .separator.vertical:backdrop, .header-bar .header-bar-separator:backdrop, .header-bar > GtkBox > .separator.vertical:backdrop { border-image: linear-gradient(to bottom, rgba(168, 168, 168, 0.5)) 0 1/1px 1px; } .titlebar.selection-mode, .header-bar.selection-mode { color: #256ab1; text-shadow: 0 1px rgba(0, 0, 0, 0.5); background-image: linear-gradient(to bottom, #5f9ddd, #5295db); box-shadow: inset 0 -1px #d6d6d6, inset 0 1px #a4c7ec; } .titlebar.selection-mode .button, .header-bar.selection-mode .button { border-width: 1px; border-style: solid; color: white; background-image: linear-gradient(to bottom, #5f9ddd, #4a90d9 40%, #3583d5); border-color: #1c5187; text-shadow: 0 -1px rgba(0, 0, 0, 0.54353); icon-shadow: 0 -1px rgba(0, 0, 0, 0.54353); box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); } .titlebar.selection-mode .button:hover, .header-bar.selection-mode .button:hover { border-width: 1px; border-style: solid; color: white; border-color: #1c5187; background-image: linear-gradient(to bottom, #85b4e5, #5b9add 40%, #4a90d9); text-shadow: 0 -1px rgba(0, 0, 0, 0.51153); icon-shadow: 0 -1px rgba(0, 0, 0, 0.51153); box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); } .titlebar.selection-mode .button:active, .header-bar.selection-mode .button:active { border-width: 1px; border-style: solid; color: white; border-color: #1c5187; background-image: linear-gradient(to bottom, #256ab1, #2974c2 3%, #2a76c6); text-shadow: 0 -1px rgba(0, 0, 0, 0.62353); icon-shadow: 0 -1px rgba(0, 0, 0, 0.62353); box-shadow: inset 0 2px 3px -1px rgba(0, 0, 0, 0.3); } .titlebar.selection-mode .button:insensitive, .header-bar.selection-mode .button:insensitive { border-width: 1px; border-style: solid; color: #8d9091; border-color: #a1a1a1; background-image: linear-gradient(to bottom, #f4f4f4); text-shadow: none; icon-shadow: none; box-shadow: inset 0 1px rgba(255, 255, 255, 0); } .titlebar.selection-mode .button:backdrop, .header-bar.selection-mode .button:backdrop { border-width: 1px; border-style: solid; color: white; border-color: #4a90d9; background-image: linear-gradient(to bottom, #4a90d9); text-shadow: none; icon-shadow: none; box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(255, 255, 255, 0); border-color: #256ab1; } .titlebar.selection-mode .button:backdrop:insensitive, .header-bar.selection-mode .button:backdrop:insensitive { border-width: 1px; border-style: solid; color: #c7c7c7; border-color: #a8a8a8; background-image: linear-gradient(to bottom, #ededed); box-shadow: inset 0 1px rgba(255, 255, 255, 0); } .titlebar.selection-mode .button.suggested-action, .header-bar.selection-mode .button.suggested-action { border-width: 1px; border-style: solid; color: #2e3436; background-image: linear-gradient(to bottom, #fafafa, #ededed 40%, #e0e0e0); border-color: #a1a1a1; text-shadow: 0 1px rgba(255, 255, 255, 0.76923); icon-shadow: 0 1px rgba(255, 255, 255, 0.76923); box-shadow: inset 0 1px white; } .titlebar.selection-mode .button.suggested-action:hover, .header-bar.selection-mode .button.suggested-action:hover { border-width: 1px; border-style: solid; color: #2e3436; border-color: #a1a1a1; background-image: linear-gradient(to bottom, white, #f7f7f7 40%, #ededed); text-shadow: 0 1px rgba(255, 255, 255, 0.76923); icon-shadow: 0 1px rgba(255, 255, 255, 0.76923); box-shadow: inset 0 1px white; } .titlebar.selection-mode .button.suggested-action:active, .header-bar.selection-mode .button.suggested-action:active { border-width: 1px; border-style: solid; color: #2e3436; border-color: #a1a1a1; background-image: linear-gradient(to bottom, #c7c7c7, #d1d1d1 3%, lightgray); text-shadow: 0 1px rgba(255, 255, 255, 0.76923); icon-shadow: 0 1px rgba(255, 255, 255, 0.76923); box-shadow: inset 0 2px 3px -1px rgba(0, 0, 0, 0.3); } .titlebar.selection-mode .button.suggested-action:insensitive, .header-bar.selection-mode .button.suggested-action:insensitive { border-width: 1px; border-style: solid; color: #8d9091; border-color: #a1a1a1; background-image: linear-gradient(to bottom, #f4f4f4); text-shadow: none; icon-shadow: none; box-shadow: inset 0 1px rgba(255, 255, 255, 0); } .titlebar.selection-mode .button.suggested-action:backdrop, .header-bar.selection-mode .button.suggested-action:backdrop { border-width: 1px; border-style: solid; color: #54595a; border-color: #a8a8a8; background-image: linear-gradient(to bottom, #ededed); text-shadow: none; icon-shadow: none; box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(255, 255, 255, 0); } .titlebar.selection-mode .button.suggested-action:backdrop:insensitive, .header-bar.selection-mode .button.suggested-action:backdrop:insensitive { border-width: 1px; border-style: solid; color: #c7c7c7; border-color: #a8a8a8; background-image: linear-gradient(to bottom, #ededed); box-shadow: inset 0 1px rgba(255, 255, 255, 0); } .tiled .titlebar, .maximized .titlebar, .tiled .header-bar, .maximized .header-bar { border-radius: 0; } /************** * Tree Views * **************/ column-header .button { color: #96999a; font-weight: bold; text-shadow: none; box-shadow: none; } column-header .button:hover { color: #626668; box-shadow: none; } column-header .button:active { color: #2e3436; } column-header:last-child .button { border-right-style: none; } column-header .button, column-header .button:hover, column-header .button:active { border-width: 0 1px 1px 0; border-radius: 0; background-image: none; border-color: #ededed; text-shadow: none; } column-header .button:insensitive { border-color: #ededed; background-image: none; } column-header .button:backdrop { border-color: #ededed; border-width: 0 1px 1px 0; color: #a0a3a3; background-image: none; } column-header .button:backdrop:insensitive { border-color: #ededed; background-image: none; } /********* * Menus * *********/ .menubar { padding: 0px; background-color: #e3e3e3; } .menubar:backdrop { background-color: #ededed; } .menubar > .menuitem { padding: 4px 8px; } .menubar > .menuitem:hover { box-shadow: inset 0 -3px #4a90d9; color: #4a90d9; } .menubar > .menuitem:insensitive { color: #8d9091; box-shadow: none; } .menu { padding: 0px; background-color: white; } .menu .menuitem { padding: 4px; } .menu .menuitem:hover { color: white; background-color: #4a90d9; } .menu .menuitem:insensitive { color: #8d9091; } .menu .menuitem:insensitive:backdrop { color: #c7c7c7; } .menu .menuitem:backdrop, .menu .menuitem:backdrop:hover { color: #54595a; background-color: #fcfcfc; } .menu .menuitem.arrow { -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); } .menu .menuitem.arrow:dir(rtl) { -gtk-icon-source: -gtk-icontheme("pan-end-symbolic-rtl"); } /*************** * Popovers * ***************/ .popover { margin: 10px; padding: 2px; border-color: #a1a1a1; border-width: 1px; border-style: solid; border-radius: 5px; background-color: #ededed; box-shadow: 0 2px 3px rgba(0, 0, 0, 0.5); } .popover:backdrop { box-shadow: none; } .popover > .list, .popover > .view, .popover > .toolbar { background-color: transparent; } .popover .separator { font-size: 80%; font-weight: bold; color: #c6c8c8; text-shadow: none; background-color: transparent; icon-shadow: none; border: 0; } .popover .button, .popover .button:hover { text-shadow: none; transition: none; } .popover.osd { background-image: none; background-color: rgba(0, 0, 0, 0.8); border: 1px solid #a1a1a1; color: white; } .popover.osd .button { color: white; text-shadow: none; border-width: 1px; border-style: solid; background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.01)); border-color: rgba(255, 255, 255, 0.2); box-shadow: none; } .popover.osd .button:hover { border-width: 1px; border-style: solid; background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.01)); border-color: rgba(255, 255, 255, 0.2); box-shadow: none; } .popover.osd .button:active { border-width: 1px; border-style: solid; background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.05), rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.1)); border-color: rgba(255, 255, 255, 0.2); box-shadow: none; } .popover.osd .button:insensitive { border-width: 1px; border-style: solid; background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8)); border-color: rgba(255, 255, 255, 0.2); color: #8d9091; } .cursor-handle { background-color: transparent; background-image: none; } .cursor-handle.top { -gtk-icon-source: -gtk-icontheme("selection-start-symbolic"); } .cursor-handle.bottom { -gtk-icon-source: -gtk-icontheme("selection-end-symbolic"); } /***************** * Notebooks and * * Tabs * *****************/ .notebook { padding: 0; background-color: white; -GtkNotebook-initial-gap: 10; -GtkNotebook-arrow-spacing: 5; -GtkNotebook-tab-curvature: 0; -GtkNotebook-tab-overlap: 1; -GtkNotebook-has-tab-gap: false; -GtkWidget-focus-padding: 0; -GtkWidget-focus-line-width: 0; transition: all 200ms ease-out; } .notebook:backdrop { background-color: #fcfcfc; } .notebook.frame { border: 1px solid #a1a1a1; } .notebook.frame.top { border-top-width: 0; } .notebook.frame.bottom { border-bottom-width: 0; } .notebook.frame.right { border-right-width: 0; } .notebook.frame.left { border-left-width: 0; } .notebook.frame:backdrop { border-color: #a8a8a8; } .notebook.header { background-color: #d6d6d6; } .notebook.header.frame { border: 1px solid #a1a1a1; } .notebook.header.frame.top { border-bottom-width: 0; } .notebook.header.frame.bottom { border-top-width: 0; } .notebook.header.frame.right { border-left-width: 0; } .notebook.header.frame.left { border-right-width: 0; } .notebook.header.frame:backdrop { border-color: #a8a8a8; } .notebook.header.top { box-shadow: inset 0 2px 3px -1px rgba(0, 0, 0, 0.15), inset 0 -1px #a1a1a1; } .notebook.header.top:backdrop { box-shadow: inset 0 -1px #a8a8a8; } .notebook.header.bottom { box-shadow: inset 0 2px 3px -1px rgba(0, 0, 0, 0.15), inset 0 1px #a1a1a1; } .notebook.header.bottom:backdrop { box-shadow: inset 0 1px #a8a8a8; } .notebook.header.right { box-shadow: inset 0 2px 3px -1px rgba(0, 0, 0, 0.15), inset 1px 0 #a1a1a1; } .notebook.header.right:backdrop { box-shadow: inset 1px 0 #a8a8a8; } .notebook.header.left { box-shadow: inset 0 2px 3px -1px rgba(0, 0, 0, 0.15), inset -1px 0 #a1a1a1; } .notebook.header.left:backdrop { box-shadow: inset -1px 0 #a8a8a8; } .notebook.header:backdrop { background-color: #d4d4d4; box-shadow: none; } .notebook tab { border-width: 0; border-style: solid; border-color: transparent; background-color: transparent; outline-offset: 0; /* works for testnotebookdnd, but there's a superfluous border in gedit or web, commented out for now, needs gtk fixes &.reorderable-page { &.top { padding-top: ($vt_vpadding - 1px); border-top-width: 1px; border-left-width: 1px; border-right-width: 1px; } &.bottom { padding-bottom: ($vt_vpadding - 1px); border-bottom-width: 1px; border-left-width: 1px; border-right-width: 1px; } &.left { padding-left: ($ht_hpadding - 1px); border-left-width: 1px; border-top-width: 1px; border-bottom-width: 1px; } &.right { padding-right: ($ht_hpadding - 1px); border-right-width: 1px; border-top-width: 1px; border-bottom-width: 1px; } } */ } .notebook tab.top, .notebook tab.bottom { padding: 8px 20px; } .notebook tab.left, .notebook tab.right { padding: 5px 20px; } .notebook tab.reorderable-page.top, .notebook tab.reorderable-page.bottom { border-left-width: 1px; border-right-width: 1px; } .notebook tab.reorderable-page.left, .notebook tab.reorderable-page.right { border-bottom-width: 1px; border-top-width: 1px; } .notebook tab.top { padding-bottom: 5px; border-bottom-width: 3px; } .notebook tab.bottom { padding-top: 5px; border-top-width: 3px; } .notebook tab.left { padding-right: 17px; border-right-width: 3px; } .notebook tab.right { padding-left: 17px; border-left-width: 3px; } .notebook tab:hover, .notebook tab.prelight-page { border-color: #a1a1a1; } .notebook tab:active, .notebook tab.active-page, .notebook tab:backdrop:active { border-color: #4a90d9; } .notebook tab:backdrop { background-color: transparent; border-color: transparent; } .notebook tab.reorderable-page.top { border-color: transparent; } .notebook tab.reorderable-page.top:hover, .notebook tab.reorderable-page.top.prelight-page { border-color: rgba(161, 161, 161, 0.3); border-bottom-color: #a1a1a1; background-color: rgba(237, 237, 237, 0.2); } .notebook tab.reorderable-page.top:active, .notebook tab.reorderable-page.top.active-page { background-color: rgba(237, 237, 237, 0.5); border-color: rgba(161, 161, 161, 0.5); border-bottom-color: #4a90d9; } .notebook tab.reorderable-page.top:active:hover, .notebook tab.reorderable-page.top.active-page:hover { background-color: rgba(237, 237, 237, 0.7); } .notebook tab.reorderable-page.top:active:backdrop, .notebook tab.reorderable-page.top.active-page:backdrop { border-color: #a8a8a8; background-color: #ededed; border-bottom-color: #4a90d9; } .notebook tab.reorderable-page.top:backdrop { border-color: transparent; background-color: transparent; } .notebook tab.reorderable-page.bottom { border-color: transparent; } .notebook tab.reorderable-page.bottom:hover, .notebook tab.reorderable-page.bottom.prelight-page { border-color: rgba(161, 161, 161, 0.3); border-top-color: #a1a1a1; background-color: rgba(237, 237, 237, 0.2); } .notebook tab.reorderable-page.bottom:active, .notebook tab.reorderable-page.bottom.active-page { background-color: rgba(237, 237, 237, 0.5); border-color: rgba(161, 161, 161, 0.5); border-top-color: #4a90d9; } .notebook tab.reorderable-page.bottom:active:hover, .notebook tab.reorderable-page.bottom.active-page:hover { background-color: rgba(237, 237, 237, 0.7); } .notebook tab.reorderable-page.bottom:active:backdrop, .notebook tab.reorderable-page.bottom.active-page:backdrop { border-color: #a8a8a8; background-color: #ededed; border-top-color: #4a90d9; } .notebook tab.reorderable-page.bottom:backdrop { border-color: transparent; background-color: transparent; } .notebook tab.reorderable-page.left { border-color: transparent; } .notebook tab.reorderable-page.left:hover, .notebook tab.reorderable-page.left.prelight-page { border-color: rgba(161, 161, 161, 0.3); border-right-color: #a1a1a1; background-color: rgba(237, 237, 237, 0.2); } .notebook tab.reorderable-page.left:active, .notebook tab.reorderable-page.left.active-page { background-color: rgba(237, 237, 237, 0.5); border-color: rgba(161, 161, 161, 0.5); border-right-color: #4a90d9; } .notebook tab.reorderable-page.left:active:hover, .notebook tab.reorderable-page.left.active-page:hover { background-color: rgba(237, 237, 237, 0.7); } .notebook tab.reorderable-page.left:active:backdrop, .notebook tab.reorderable-page.left.active-page:backdrop { border-color: #a8a8a8; background-color: #ededed; border-right-color: #4a90d9; } .notebook tab.reorderable-page.left:backdrop { border-color: transparent; background-color: transparent; } .notebook tab.reorderable-page.right { border-color: transparent; } .notebook tab.reorderable-page.right:hover, .notebook tab.reorderable-page.right.prelight-page { border-color: rgba(161, 161, 161, 0.3); border-left-color: #a1a1a1; background-color: rgba(237, 237, 237, 0.2); } .notebook tab.reorderable-page.right:active, .notebook tab.reorderable-page.right.active-page { background-color: rgba(237, 237, 237, 0.5); border-color: rgba(161, 161, 161, 0.5); border-left-color: #4a90d9; } .notebook tab.reorderable-page.right:active:hover, .notebook tab.reorderable-page.right.active-page:hover { background-color: rgba(237, 237, 237, 0.7); } .notebook tab.reorderable-page.right:active:backdrop, .notebook tab.reorderable-page.right.active-page:backdrop { border-color: #a8a8a8; background-color: #ededed; border-left-color: #4a90d9; } .notebook tab.reorderable-page.right:backdrop { border-color: transparent; background-color: transparent; } .notebook tab GtkLabel { padding: 0 2px; font-weight: bold; color: #8d9091; /* color: inherit doesn't work here */ } .notebook tab GtkLabel:backdrop { color: #8d9090; } .notebook tab GtkLabel.prelight-page { color: #5d6263; } .notebook tab GtkLabel.active-page { color: #2e3436; } .notebook tab GtkLabel.active-page:backdrop { color: #54595a; } .notebook tab .button { border: 1px solid transparent; icon-shadow: none; transition: none; color: rgba(46, 52, 54, 0.3); } .notebook tab .button:hover { color: #2e3436; border-width: 1px; border-style: solid; color: #2e3436; border-color: #a1a1a1; background-image: linear-gradient(to bottom, white, #f7f7f7 40%, #ededed); text-shadow: 0 1px rgba(255, 255, 255, 0.76923); icon-shadow: 0 1px rgba(255, 255, 255, 0.76923); box-shadow: inset 0 1px white; background-image: none; box-shadow: none; } .notebook tab .button:active { border-width: 1px; border-style: solid; color: #2e3436; border-color: #a1a1a1; background-image: linear-gradient(to bottom, #c7c7c7, #d1d1d1 3%, lightgray); text-shadow: 0 1px rgba(255, 255, 255, 0.76923); icon-shadow: 0 1px rgba(255, 255, 255, 0.76923); box-shadow: inset 0 2px 3px -1px rgba(0, 0, 0, 0.3); } .notebook tab .button:backdrop { color: rgba(84, 89, 90, 0.3); border-color: transparent; } .notebook tab .button > GtkImage { padding: 2px; } /************** * Scrollbars * **************/ .scrollbar { background-clip: padding-box; background-image: none; border-style: solid; -GtkRange-trough-border: 0; -GtkScrollbar-has-backward-stepper: false; -GtkScrollbar-has-forward-stepper: false; -GtkRange-slider-width: 13; -GtkScrollbar-min-slider-length: 42; -GtkRange-stepper-spacing: 0; -GtkRange-trough-under-steppers: 1; } .scrollbar .button { border: none; } .scrollbar.slider { border-radius: 20px; border: 3px solid transparent; background-color: #b3b5b6; } .scrollbar.slider:backdrop, .scrollbar.slider:insensitive { background-color: #d9dada; } .scrollbar.slider:hover { background-color: #8d9091; } .scrollbar.slider:prelight:active { background-color: #4a90d9; } .scrollbar.slider.fine-tune { border-width: 5px; } .scrollbar.slider.fine-tune:prelight:active { background-color: #4a90d9; } .scrollbars-junction, .scrollbar.trough { border-style: none; background-color: #e0e0e0; } .scrollbars-junction:backdrop, .scrollbar.trough:backdrop { background-color: transparent; } /********** * Switch * **********/ GtkSwitch { -GtkSwitch-slider-width: 47px; font: bold condensed 9; outline-offset: -4px; } GtkSwitch.trough { border-width: 1px; border-style: solid; border-radius: 3px; border-color: #a1a1a1; background-color: #cecece; box-shadow: inset 0 1px rgba(0, 0, 0, 0.1), 0 1px white; text-shadow: 0 1px rgba(0, 0, 0, 0.1); } GtkSwitch.trough:active { color: white; border-color: #184472; background-color: #4a90d9; box-shadow: 0 1px white; text-shadow: 0 0 2px white; } GtkSwitch.trough:insensitive { color: #8d9091; border-color: #a1a1a1; background-color: #f4f4f4; box-shadow: 0 1px white; text-shadow: none; } GtkSwitch.trough:backdrop { color: #54595a; border-color: #a8a8a8; background-color: #ededed; box-shadow: none; text-shadow: none; } GtkSwitch.trough:backdrop:active { color: #ededed; border-color: #4a90d9; background-color: #4a90d9; box-shadow: none; } GtkSwitch.trough:backdrop:insensitive { color: #c7c7c7; border-color: #c7c7c7; } GtkSwitch.slider { border-radius: 3px; border-width: 1px; border-style: solid; color: #2e3436; background-image: linear-gradient(to bottom, #fafafa, #ededed 40%, #e0e0e0); border-color: #a1a1a1; text-shadow: 0 1px rgba(255, 255, 255, 0.76923); icon-shadow: 0 1px rgba(255, 255, 255, 0.76923); box-shadow: inset 0 1px white; box-shadow: inset 0 1px white, inset 0 -2px rgba(237, 237, 237, 0.6), inset 0 -1px #c7c7c7; } GtkSwitch.slider:hover { border-width: 1px; border-style: solid; color: #2e3436; border-color: #a1a1a1; background-image: linear-gradient(to bottom, white, #f7f7f7 40%, #ededed); text-shadow: 0 1px rgba(255, 255, 255, 0.76923); icon-shadow: 0 1px rgba(255, 255, 255, 0.76923); box-shadow: inset 0 1px white; box-shadow: inset 0 1px white, inset 0 -2px rgba(237, 237, 237, 0.6), inset 0 -1px #c7c7c7; } GtkSwitch.slider:active { border: 1px solid #184472; } GtkSwitch.slider:insensitive { border-width: 1px; border-style: solid; color: #8d9091; border-color: #a1a1a1; background-image: linear-gradient(to bottom, #f4f4f4); text-shadow: none; icon-shadow: none; box-shadow: inset 0 1px rgba(255, 255, 255, 0); } GtkSwitch.slider:backdrop { border-width: 1px; border-style: solid; color: #54595a; border-color: #a8a8a8; background-image: linear-gradient(to bottom, #ededed); text-shadow: none; icon-shadow: none; box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(255, 255, 255, 0); } GtkSwitch.slider:backdrop:active { border-color: #4a90d9; } GtkSwitch.slider:backdrop:insensitive { border-width: 1px; border-style: solid; color: #c7c7c7; border-color: #a8a8a8; background-image: linear-gradient(to bottom, #ededed); box-shadow: inset 0 1px rgba(255, 255, 255, 0); } /************************* * Check and Radio items * *************************/ .check { background-image: -gtk-scaled(url("assets/checkbox-unchecked.png"), url("assets/checkbox-unchecked@2.png")); background-repeat: no-repeat; background-position: center; } .check:hover { background-image: -gtk-scaled(url("assets/checkbox-unchecked-hover.png"), url("assets/checkbox-unchecked-hover@2.png")); background-repeat: no-repeat; background-position: center; } .check:selected { background-image: -gtk-scaled(url("assets/checkbox-unchecked-active.png"), url("assets/checkbox-unchecked-active@2.png")); background-repeat: no-repeat; background-position: center; } .check:insensitive { background-image: -gtk-scaled(url("assets/checkbox-unchecked-insensitive.png"), url("assets/checkbox-unchecked-insensitive@2.png")); background-repeat: no-repeat; background-position: center; } .check:backdrop { background-image: -gtk-scaled(url("assets/checkbox-unchecked-backdrop.png"), url("assets/checkbox-unchecked-backdrop@2.png")); background-repeat: no-repeat; background-position: center; } .check:backdrop:insensitive { background-image: -gtk-scaled(url("assets/checkbox-unchecked-backdrop-insensitive.png"), url("assets/checkbox-unchecked-backdrop-insensitive@2.png")); background-repeat: no-repeat; background-position: center; } .check:inconsistent { background-image: -gtk-scaled(url("assets/checkbox-mixed.png"), url("assets/checkbox-mixed@2.png")); background-repeat: no-repeat; background-position: center; } .check:inconsistent:hover { background-image: -gtk-scaled(url("assets/checkbox-mixed-hover.png"), url("assets/checkbox-mixed-hover@2.png")); background-repeat: no-repeat; background-position: center; } .check:inconsistent:selected { background-image: -gtk-scaled(url("assets/checkbox-mixed-active.png"), url("assets/checkbox-mixed-active@2.png")); background-repeat: no-repeat; background-position: center; } .check:inconsistent:backdrop { background-image: -gtk-scaled(url("assets/checkbox-mixed-backdrop.png"), url("assets/checkbox-mixed-backdrop@2.png")); background-repeat: no-repeat; background-position: center; } .check:inconsistent:insensitive { background-image: -gtk-scaled(url("assets/checkbox-mixed-insensitive.png"), url("assets/checkbox-mixed-insensitive@2.png")); background-repeat: no-repeat; background-position: center; } .check:inconsistent:insensitive:backdrop { background-image: -gtk-scaled(url("assets/checkbox-mixed-backdrop-insensitive.png"), url("assets/checkbox-mixed-backdrop-insensitive@2.png")); background-repeat: no-repeat; background-position: center; } .check:active { background-image: -gtk-scaled(url("assets/checkbox-checked.png"), url("assets/checkbox-checked@2.png")); background-repeat: no-repeat; background-position: center; } .check:active:insensitive { background-image: -gtk-scaled(url("assets/checkbox-checked-insensitive.png"), url("assets/checkbox-checked-insensitive@2.png")); background-repeat: no-repeat; background-position: center; } .check:hover:active { background-image: -gtk-scaled(url("assets/checkbox-checked-hover.png"), url("assets/checkbox-checked-hover@2.png")); background-repeat: no-repeat; background-position: center; } .check:active:selected { background-image: -gtk-scaled(url("assets/checkbox-checked-active.png"), url("assets/checkbox-checked-active@2.png")); background-repeat: no-repeat; background-position: center; } .check:backdrop:active { background-image: -gtk-scaled(url("assets/checkbox-checked-backdrop.png"), url("assets/checkbox-checked-backdrop@2.png")); background-repeat: no-repeat; background-position: center; } .check:backdrop:active:insensitive { background-image: -gtk-scaled(url("assets/checkbox-checked-backdrop-insensitive.png"), url("assets/checkbox-checked-backdrop-insensitive@2.png")); background-repeat: no-repeat; background-position: center; } .menuitem.check { color: rgba(46, 52, 54, 0.1); background-image: none; -gtk-icon-source: -gtk-icontheme("checkbox-checked-symbolic"); } .menuitem.check:hover { color: rgba(255, 255, 255, 0.1); } .menuitem.check:active { color: #2e3436; } .menuitem.check:active:hover { color: white; } .menuitem.check:active:insensitive { color: #8d9091; background-image: none; } .menuitem.check:active:insensitive:backdrop { color: #c7c7c7; } .menuitem.check:active:backdrop { color: #54595a; } .menuitem.check:insensitive { color: rgba(141, 144, 145, 0.1); } .menuitem.check:insensitive:backdrop { color: transparent; } .menuitem.check:inconsistent { -gtk-icon-source: -gtk-icontheme("checkbox-mixed-symbolic"); } .view.check { color: rgba(46, 52, 54, 0.1); background-image: none; -gtk-icon-source: -gtk-icontheme("checkbox-checked-symbolic"); } .view.check:active { color: #2e3436; } .view.check:active:insensitive { color: #8d9091; } .view.check:active:insensitive:backdrop { color: #c7c7c7; } .view.check:active:backdrop { color: #54595a; } .view.check:insensitive { color: rgba(141, 144, 145, 0.1); } .view.check:insensitive:backdrop { color: transparent; } .view.check:inconsistent { -gtk-icon-source: -gtk-icontheme("checkbox-mixed-symbolic"); } .view.check:selected, .view.check:selected:focus { color: rgba(255, 255, 255, 0.1); } .view.check:selected:active, .view.check:selected:focus:active { color: white; } .view.check:selected:active:backdrop, .view.check:selected:focus:active:backdrop { color: #fcfcfc; } .view.check:backdrop { color: rgba(84, 89, 90, 0.1); } .view.check:backdrop:selected { color: rgba(252, 252, 252, 0.1); } .popover .button.check:hover { color: rgba(46, 52, 54, 0.1); } .popover .button.check:hover:active { color: #2e3436; } .popover .button.check:hover:active:selected { color: white; } .popover .button.check:hover:active:backdrop { color: #54595a; } .radio { background-image: -gtk-scaled(url("assets/radio-unchecked.png"), url("assets/radio-unchecked@2.png")); background-repeat: no-repeat; background-position: center; } .radio:hover { background-image: -gtk-scaled(url("assets/radio-unchecked-hover.png"), url("assets/radio-unchecked-hover@2.png")); background-repeat: no-repeat; background-position: center; } .radio:selected { background-image: -gtk-scaled(url("assets/radio-unchecked-active.png"), url("assets/radio-unchecked-active@2.png")); background-repeat: no-repeat; background-position: center; } .radio:insensitive { background-image: -gtk-scaled(url("assets/radio-unchecked-insensitive.png"), url("assets/radio-unchecked-insensitive@2.png")); background-repeat: no-repeat; background-position: center; } .radio:backdrop { background-image: -gtk-scaled(url("assets/radio-unchecked-backdrop.png"), url("assets/radio-unchecked-backdrop@2.png")); background-repeat: no-repeat; background-position: center; } .radio:backdrop:insensitive { background-image: -gtk-scaled(url("assets/radio-unchecked-backdrop-insensitive.png"), url("assets/radio-unchecked-backdrop-insensitive@2.png")); background-repeat: no-repeat; background-position: center; } .radio:inconsistent { background-image: -gtk-scaled(url("assets/radio-mixed.png"), url("assets/radio-mixed@2.png")); background-repeat: no-repeat; background-position: center; } .radio:inconsistent:hover { background-image: -gtk-scaled(url("assets/radio-mixed-hover.png"), url("assets/radio-mixed-hover@2.png")); background-repeat: no-repeat; background-position: center; } .radio:inconsistent:selected { background-image: -gtk-scaled(url("assets/radio-mixed-active.png"), url("assets/radio-mixed-active@2.png")); background-repeat: no-repeat; background-position: center; } .radio:inconsistent:backdrop { background-image: -gtk-scaled(url("assets/radio-mixed-backdrop.png"), url("assets/radio-mixed-backdrop@2.png")); background-repeat: no-repeat; background-position: center; } .radio:inconsistent:insensitive { background-image: -gtk-scaled(url("assets/radio-mixed-insensitive.png"), url("assets/radio-mixed-insensitive@2.png")); background-repeat: no-repeat; background-position: center; } .radio:inconsistent:insensitive:backdrop { background-image: -gtk-scaled(url("assets/radio-mixed-backdrop-insensitive.png"), url("assets/radio-mixed-backdrop-insensitive@2.png")); background-repeat: no-repeat; background-position: center; } .radio:active { background-image: -gtk-scaled(url("assets/radio-checked.png"), url("assets/radio-checked@2.png")); background-repeat: no-repeat; background-position: center; } .radio:active:insensitive { background-image: -gtk-scaled(url("assets/radio-checked-insensitive.png"), url("assets/radio-checked-insensitive@2.png")); background-repeat: no-repeat; background-position: center; } .radio:hover:active { background-image: -gtk-scaled(url("assets/radio-checked-hover.png"), url("assets/radio-checked-hover@2.png")); background-repeat: no-repeat; background-position: center; } .radio:active:selected { background-image: -gtk-scaled(url("assets/radio-checked-active.png"), url("assets/radio-checked-active@2.png")); background-repeat: no-repeat; background-position: center; } .radio:backdrop:active { background-image: -gtk-scaled(url("assets/radio-checked-backdrop.png"), url("assets/radio-checked-backdrop@2.png")); background-repeat: no-repeat; background-position: center; } .radio:backdrop:active:insensitive { background-image: -gtk-scaled(url("assets/radio-checked-backdrop-insensitive.png"), url("assets/radio-checked-backdrop-insensitive@2.png")); background-repeat: no-repeat; background-position: center; } .menuitem.radio { color: rgba(46, 52, 54, 0.1); background-image: none; -gtk-icon-source: -gtk-icontheme("radio-checked-symbolic"); } .menuitem.radio:hover { color: rgba(255, 255, 255, 0.1); } .menuitem.radio:active { color: #2e3436; } .menuitem.radio:active:hover { color: white; } .menuitem.radio:active:insensitive { color: #8d9091; background-image: none; } .menuitem.radio:active:insensitive:backdrop { color: #c7c7c7; } .menuitem.radio:active:backdrop { color: #54595a; } .menuitem.radio:insensitive { color: rgba(141, 144, 145, 0.1); } .menuitem.radio:insensitive:backdrop { color: transparent; } .menuitem.radio:inconsistent { -gtk-icon-source: -gtk-icontheme("radio-mixed-symbolic"); } .view.radio { color: rgba(46, 52, 54, 0.1); background-image: none; -gtk-icon-source: -gtk-icontheme("radio-checked-symbolic"); } .view.radio:active { color: #2e3436; } .view.radio:active:insensitive { color: #8d9091; } .view.radio:active:insensitive:backdrop { color: #c7c7c7; } .view.radio:active:backdrop { color: #54595a; } .view.radio:insensitive { color: rgba(141, 144, 145, 0.1); } .view.radio:insensitive:backdrop { color: transparent; } .view.radio:inconsistent { -gtk-icon-source: -gtk-icontheme("radio-mixed-symbolic"); } .view.radio:selected, .view.radio:selected:focus { color: rgba(255, 255, 255, 0.1); } .view.radio:selected:active, .view.radio:selected:focus:active { color: white; } .view.radio:selected:active:backdrop, .view.radio:selected:focus:active:backdrop { color: #fcfcfc; } .view.radio:backdrop { color: rgba(84, 89, 90, 0.1); } .view.radio:backdrop:selected { color: rgba(252, 252, 252, 0.1); } .popover .button.radio:hover { color: rgba(46, 52, 54, 0.1); } .popover .button.radio:hover:active { color: #2e3436; } .popover .button.radio:hover:active:selected { color: white; } .popover .button.radio:hover:active:backdrop { color: #54595a; } GtkCheckButton.text-button, GtkRadioButton.text-button { padding: 1px; outline-offset: 0; } /************ * GtkScale * ************/ .scale, .scale.scale-has-marks-above.scale-has-marks-below, .scale.vertical.scale-has-marks-above.scale-has-marks-below { -GtkScale-slider-length: 20; -GtkRange-slider-width: 20; -GtkRange-trough-border: 2; outline-offset: -9px; outline-radius: 4px; margin: 10px; } .scale.fine-tune, .scale.scale-has-marks-above.scale-has-marks-below.fine-tune, .scale.vertical.scale-has-marks-above.scale-has-marks-below.fine-tune { margin: 8px; outline-offset: -7px; outline-radius: 6px; } .scale.fine-tune.trough, .scale.scale-has-marks-above.scale-has-marks-below.fine-tune.trough, .scale.vertical.scale-has-marks-above.scale-has-marks-below.fine-tune.trough { border-radius: 4px; } .scale.slider, .scale.scale-has-marks-above.scale-has-marks-below.slider, .scale.vertical.scale-has-marks-above.scale-has-marks-below.slider { border-width: 1px; border-style: solid; color: #2e3436; background-image: linear-gradient(to bottom, #fafafa, #ededed 40%, #e0e0e0); border-color: #a1a1a1; text-shadow: 0 1px rgba(255, 255, 255, 0.76923); icon-shadow: 0 1px rgba(255, 255, 255, 0.76923); box-shadow: inset 0 1px white; border-radius: 50%; border-color: #999999; box-shadow: inset 0 1px white, inset 0 -2px #ededed, inset 0 -1px #c7c7c7; } .scale.slider:hover, .scale.scale-has-marks-above.scale-has-marks-below.slider:hover, .scale.vertical.scale-has-marks-above.scale-has-marks-below.slider:hover { border-width: 1px; border-style: solid; color: #2e3436; border-color: #a1a1a1; background-image: linear-gradient(to bottom, white, #f7f7f7 40%, #ededed); text-shadow: 0 1px rgba(255, 255, 255, 0.76923); icon-shadow: 0 1px rgba(255, 255, 255, 0.76923); box-shadow: inset 0 1px white; border-color: #999999; border-radius: 50%; box-shadow: inset 0 1px white, inset 0 -2px white, inset 0 -1px #d6d6d6; } .scale.slider:insensitive, .scale.scale-has-marks-above.scale-has-marks-below.slider:insensitive, .scale.vertical.scale-has-marks-above.scale-has-marks-below.slider:insensitive { border-style: solid; border-radius: 50%; background-image: linear-gradient(to bottom, #f4f4f4); box-shadow: none; } .scale.slider:backdrop, .scale.scale-has-marks-above.scale-has-marks-below.slider:backdrop, .scale.vertical.scale-has-marks-above.scale-has-marks-below.slider:backdrop { border-style: solid; border-radius: 50%; border-color: #a0a0a0; background-image: linear-gradient(to bottom, #ededed); box-shadow: none; } .scale.slider:backdrop:insensitive, .scale.scale-has-marks-above.scale-has-marks-below.slider:backdrop:insensitive, .scale.vertical.scale-has-marks-above.scale-has-marks-below.slider:backdrop:insensitive { border-width: 1px; border-style: solid; color: #c7c7c7; border-color: #a8a8a8; background-image: linear-gradient(to bottom, #ededed); box-shadow: inset 0 1px rgba(255, 255, 255, 0); } .scale.slider:active, .scale.scale-has-marks-above.scale-has-marks-below.slider:active, .scale.vertical.scale-has-marks-above.scale-has-marks-below.slider:active { border: 1px solid #153d65; } .scale.trough, .scale.scale-has-marks-above.scale-has-marks-below.trough, .scale.vertical.scale-has-marks-above.scale-has-marks-below.trough { border-width: 1px; border-style: solid; border-radius: 3px; border-color: #a1a1a1; background-color: #cecece; box-shadow: inset 1px 1px rgba(0, 0, 0, 0.1), 0 1px white; } .scale.trough.highlight, .scale.scale-has-marks-above.scale-has-marks-below.trough.highlight, .scale.vertical.scale-has-marks-above.scale-has-marks-below.trough.highlight { border-color: #184472; background-color: #4a90d9; box-shadow: 0 1px white; } .scale.trough.highlight:backdrop, .scale.scale-has-marks-above.scale-has-marks-below.trough.highlight:backdrop, .scale.vertical.scale-has-marks-above.scale-has-marks-below.trough.highlight:backdrop { border-color: #4a90d9; background-color: #4a90d9; box-shadow: none; } .scale.trough:insensitive, .scale.trough.hilight:insensitive, .scale.scale-has-marks-above.scale-has-marks-below.trough:insensitive, .scale.scale-has-marks-above.scale-has-marks-below.trough.hilight:insensitive, .scale.vertical.scale-has-marks-above.scale-has-marks-below.trough:insensitive, .scale.vertical.scale-has-marks-above.scale-has-marks-below.trough.hilight:insensitive { border-color: #a1a1a1; background-color: #f4f4f4; box-shadow: 0 1px white; } .scale.trough:backdrop, .scale.scale-has-marks-above.scale-has-marks-below.trough:backdrop, .scale.vertical.scale-has-marks-above.scale-has-marks-below.trough:backdrop { border-color: #a8a8a8; background-color: #c7c7c7; box-shadow: none; } .scale.trough:backdrop:insensitive, .scale.trough .hilight:backdrop:insensitive, .scale.scale-has-marks-above.scale-has-marks-below.trough:backdrop:insensitive, .scale.scale-has-marks-above.scale-has-marks-below.trough .hilight:backdrop:insensitive, .scale.vertical.scale-has-marks-above.scale-has-marks-below.trough:backdrop:insensitive, .scale.vertical.scale-has-marks-above.scale-has-marks-below.trough .hilight:backdrop:insensitive { border-color: #c7c7c7; background-color: #ededed; } .scale.scale-has-marks-below { -GtkScale-slider-length: 20; -GtkRange-slider-width: 24; -GtkRange-trough-border: 2; } .scale.scale-has-marks-below.slider { border-style: none; border-radius: 0; background-color: transparent; background-image: -gtk-scaled(url("assets/slider-horz-scale-has-marks-below.png"), url("assets/slider-horz-scale-has-marks-below@2.png")); background-repeat: no-repeat; background-position: center; box-shadow: none; } .scale.scale-has-marks-below.slider:hover { border-style: none; border-radius: 0; background-color: transparent; background-image: -gtk-scaled(url("assets/slider-horz-scale-has-marks-below-hover.png"), url("assets/slider-horz-scale-has-marks-below-hover@2.png")); background-repeat: no-repeat; background-position: center; box-shadow: none; } .scale.scale-has-marks-below.slider:active { border-style: none; border-radius: 0; background-color: transparent; background-image: -gtk-scaled(url("assets/slider-horz-scale-has-marks-below-active.png"), url("assets/slider-horz-scale-has-marks-below-active@2.png")); background-repeat: no-repeat; background-position: center; box-shadow: none; } .scale.scale-has-marks-below.slider:insensitive { border-style: none; border-radius: 0; background-color: transparent; background-image: -gtk-scaled(url("assets/slider-horz-scale-has-marks-below-insensitive.png"), url("assets/slider-horz-scale-has-marks-below-insensitive@2.png")); background-repeat: no-repeat; background-position: center; box-shadow: none; } .scale.scale-has-marks-below.slider:backdrop { border-style: none; border-radius: 0; background-color: transparent; background-image: -gtk-scaled(url("assets/slider-horz-scale-has-marks-below-backdrop.png"), url("assets/slider-horz-scale-has-marks-below-backdrop@2.png")); background-repeat: no-repeat; background-position: center; box-shadow: none; } .scale.scale-has-marks-below.slider:backdrop:insensitive { border-style: none; border-radius: 0; background-color: transparent; background-image: -gtk-scaled(url("assets/slider-horz-scale-has-marks-below-backdrop-insensitive.png"), url("assets/slider-horz-scale-has-marks-below-backdrop-insensitive@2.png")); background-repeat: no-repeat; background-position: center; box-shadow: none; } .scale.scale-has-marks-above { -GtkScale-slider-length: 20; -GtkRange-slider-width: 24; -GtkRange-trough-border: 2; } .scale.scale-has-marks-above.slider { border-style: none; border-radius: 0; background-color: transparent; background-image: -gtk-scaled(url("assets/slider-horz-scale-has-marks-above.png"), url("assets/slider-horz-scale-has-marks-above@2.png")); background-repeat: no-repeat; background-position: center; box-shadow: none; } .scale.scale-has-marks-above.slider:hover { border-style: none; border-radius: 0; background-color: transparent; background-image: -gtk-scaled(url("assets/slider-horz-scale-has-marks-above-hover.png"), url("assets/slider-horz-scale-has-marks-above-hover@2.png")); background-repeat: no-repeat; background-position: center; box-shadow: none; } .scale.scale-has-marks-above.slider:active { border-style: none; border-radius: 0; background-color: transparent; background-image: -gtk-scaled(url("assets/slider-horz-scale-has-marks-above-active.png"), url("assets/slider-horz-scale-has-marks-above-active@2.png")); background-repeat: no-repeat; background-position: center; box-shadow: none; } .scale.scale-has-marks-above.slider:insensitive { border-style: none; border-radius: 0; background-color: transparent; background-image: -gtk-scaled(url("assets/slider-horz-scale-has-marks-above-insensitive.png"), url("assets/slider-horz-scale-has-marks-above-insensitive@2.png")); background-repeat: no-repeat; background-position: center; box-shadow: none; } .scale.scale-has-marks-above.slider:backdrop { border-style: none; border-radius: 0; background-color: transparent; background-image: -gtk-scaled(url("assets/slider-horz-scale-has-marks-above-backdrop.png"), url("assets/slider-horz-scale-has-marks-above-backdrop@2.png")); background-repeat: no-repeat; background-position: center; box-shadow: none; } .scale.scale-has-marks-above.slider:backdrop:insensitive { border-style: none; border-radius: 0; background-color: transparent; background-image: -gtk-scaled(url("assets/slider-horz-scale-has-marks-above-backdrop-insensitive.png"), url("assets/slider-horz-scale-has-marks-above-backdrop-insensitive@2.png")); background-repeat: no-repeat; background-position: center; box-shadow: none; } .scale.vertical.scale-has-marks-below { -GtkScale-slider-length: 20; -GtkRange-slider-width: 24; -GtkRange-trough-border: 2; } .scale.vertical.scale-has-marks-below.slider { border-style: none; border-radius: 0; background-color: transparent; background-image: -gtk-scaled(url("assets/slider-vert-scale-has-marks-below.png"), url("assets/slider-vert-scale-has-marks-below@2.png")); background-repeat: no-repeat; background-position: center; box-shadow: none; } .scale.vertical.scale-has-marks-below.slider:hover { border-style: none; border-radius: 0; background-color: transparent; background-image: -gtk-scaled(url("assets/slider-vert-scale-has-marks-below-hover.png"), url("assets/slider-vert-scale-has-marks-below-hover@2.png")); background-repeat: no-repeat; background-position: center; box-shadow: none; } .scale.vertical.scale-has-marks-below.slider:active { border-style: none; border-radius: 0; background-color: transparent; background-image: -gtk-scaled(url("assets/slider-vert-scale-has-marks-below-active.png"), url("assets/slider-vert-scale-has-marks-below-active@2.png")); background-repeat: no-repeat; background-position: center; box-shadow: none; } .scale.vertical.scale-has-marks-below.slider:insensitive { border-style: none; border-radius: 0; background-color: transparent; background-image: -gtk-scaled(url("assets/slider-vert-scale-has-marks-below-insensitive.png"), url("assets/slider-vert-scale-has-marks-below-insensitive@2.png")); background-repeat: no-repeat; background-position: center; box-shadow: none; } .scale.vertical.scale-has-marks-below.slider:backdrop { border-style: none; border-radius: 0; background-color: transparent; background-image: -gtk-scaled(url("assets/slider-vert-scale-has-marks-below-backdrop.png"), url("assets/slider-vert-scale-has-marks-below-backdrop@2.png")); background-repeat: no-repeat; background-position: center; box-shadow: none; } .scale.vertical.scale-has-marks-below.slider:backdrop:insensitive { border-style: none; border-radius: 0; background-color: transparent; background-image: -gtk-scaled(url("assets/slider-vert-scale-has-marks-below-backdrop-insensitive.png"), url("assets/slider-vert-scale-has-marks-below-backdrop-insensitive@2.png")); background-repeat: no-repeat; background-position: center; box-shadow: none; } .scale.vertical.scale-has-marks-above { -GtkScale-slider-length: 20; -GtkRange-slider-width: 24; -GtkRange-trough-border: 2; } .scale.vertical.scale-has-marks-above.slider { border-style: none; border-radius: 0; background-color: transparent; background-image: -gtk-scaled(url("assets/slider-vert-scale-has-marks-above.png"), url("assets/slider-vert-scale-has-marks-above@2.png")); background-repeat: no-repeat; background-position: center; box-shadow: none; } .scale.vertical.scale-has-marks-above.slider:hover { border-style: none; border-radius: 0; background-color: transparent; background-image: -gtk-scaled(url("assets/slider-vert-scale-has-marks-above-hover.png"), url("assets/slider-vert-scale-has-marks-above-hover@2.png")); background-repeat: no-repeat; background-position: center; box-shadow: none; } .scale.vertical.scale-has-marks-above.slider:active { border-style: none; border-radius: 0; background-color: transparent; background-image: -gtk-scaled(url("assets/slider-vert-scale-has-marks-above-active.png"), url("assets/slider-vert-scale-has-marks-above-active@2.png")); background-repeat: no-repeat; background-position: center; box-shadow: none; } .scale.vertical.scale-has-marks-above.slider:insensitive { border-style: none; border-radius: 0; background-color: transparent; background-image: -gtk-scaled(url("assets/slider-vert-scale-has-marks-above-insensitive.png"), url("assets/slider-vert-scale-has-marks-above-insensitive@2.png")); background-repeat: no-repeat; background-position: center; box-shadow: none; } .scale.vertical.scale-has-marks-above.slider:backdrop { border-style: none; border-radius: 0; background-color: transparent; background-image: -gtk-scaled(url("assets/slider-vert-scale-has-marks-above-backdrop.png"), url("assets/slider-vert-scale-has-marks-above-backdrop@2.png")); background-repeat: no-repeat; background-position: center; box-shadow: none; } .scale.vertical.scale-has-marks-above.slider:backdrop:insensitive { border-style: none; border-radius: 0; background-color: transparent; background-image: -gtk-scaled(url("assets/slider-vert-scale-has-marks-above-backdrop-insensitive.png"), url("assets/slider-vert-scale-has-marks-above-backdrop-insensitive@2.png")); background-repeat: no-repeat; background-position: center; box-shadow: none; } .scale.scale-has-marks-above { margin: 14px 10px 10px; } .fine-tune.scale.scale-has-marks-above { margin: 12px 8px 8px; } .scale.scale-has-marks-below { margin: 10px 10px 14px; } .fine-tune.scale.scale-has-marks-below { margin: 8px 8px 12px; } .scale.vertical.scale-has-marks-above { margin: 10px 10px 10px 14px; } .fine-tune.scale.vertical.scale-has-marks-above { margin: 8px 8px 8px 12px; } .scale.vertical.scale-has-marks-below { margin: 10px 14px 10px 10px; } .fine-tune.scale.vertical.scale-has-marks-below { margin: 8px 12px 8px 8px; } /***************** * Progress bars * *****************/ GtkProgressBar { padding: 0; font-size: 83%; color: rgba(46, 52, 54, 0.4); } GtkProgressBar:backdrop { color: #c7c7c7; } .progressbar { border-width: 1px; border-style: solid; border-radius: 3px; border-color: #184472; background-color: #4a90d9; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2); } .progressbar.vertical { box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.2); } .progressbar:backdrop { border-color: #4a90d9; background-color: #4a90d9; box-shadow: none; } .progressbar.osd { border-width: 0; border-radius: 0; -GtkProgressBar-xspacing: 0; -GtkProgressBar-yspacing: 2px; -GtkProgressBar-min-horizontal-bar-height: 2px; } GtkProgressBar.trough { border-width: 1px; border-style: solid; border-radius: 3px; border-color: #a1a1a1; background-color: #d2d2d2; box-shadow: inset 1px 1px rgba(0, 0, 0, 0.1), 0 1px white; } GtkProgressBar.trough:backdrop { border-color: #a8a8a8; background-color: #d4d4d4; box-shadow: 0 1px rgba(255, 255, 255, 0); } GtkProgressBar.trough.osd { background-color: transparent; box-shadow: none; border-width: 0; } /************* * Level Bar * *************/ GtkLevelBar { -GtkLevelBar-min-block-width: 34; -GtkLevelBar-min-block-height: 3; } GtkLevelBar.vertical { -GtkLevelBar-min-block-width: 3; -GtkLevelBar-min-block-height: 34; } .level-bar.trough { padding: 2px; border-radius: 3px; background-color: transparent; border-style: solid; border-width: 1px; background-image: linear-gradient(to bottom, #f7f7f7, white 90%); border-color: #a1a1a1; box-shadow: inset 0 2px 2px -2px #7f7f7f, 0 1px white; } .level-bar.trough:backdrop { background-color: transparent; border-style: solid; border-width: 1px; background-image: linear-gradient(to bottom, #f7f7f7, white 90%); color: #54595a; background-image: linear-gradient(to bottom, #fcfcfc); box-shadow: 0 1px rgba(255, 255, 255, 0); } .level-bar.fill-block { border-width: 1px; border-style: solid; border-color: #2a76c6; background-color: #4a90d9; box-shadow: 0 1px rgba(0, 0, 0, 0.1); border-radius: 1px; } .level-bar.fill-block:backdrop { border-color: #4a90d9; box-shadow: none; } .level-bar.fill-block.indicator-discrete.horizontal { margin: 0 1px; } .level-bar.fill-block.indicator-discrete.vertical { margin: 1px 0; } .level-bar.fill-block.level-high { border-color: #5aa411; background-color: #73d216; } .level-bar.fill-block.level-high:backdrop { border-color: #73d216; } .level-bar.fill-block.level-low { border-color: #c26000; background-color: #f57900; } .level-bar.fill-block.level-low:backdrop { border-color: #f57900; } .level-bar.fill-block.empty-fill-block { background-color: transparent; border-color: rgba(46, 52, 54, 0.2); box-shadow: none; } .level-bar.fill-block.empty-fill-block:backdrop { border-color: rgba(84, 89, 90, 0.15); } .view:selected, .view:selected:focus, .view:selected:hover, .entry:selected, .entry:selected:focus, .button:selected, .button.flat:selected, .button:selected:focus, .button.flat:focus { background-color: #4a90d9; color: white; outline-color: rgba(255, 255, 255, 0.3); } .view:backdrop:selected, .entry:backdrop:selected, .button:backdrop:selected, .button.flat:backdrop:focus { color: #fcfcfc; } /********** * Frames * **********/ .frame { border: 1px solid #a1a1a1; padding: 0; } .frame:backdrop { border-color: #a8a8a8; } .frame.action-bar { padding: 6px; border-width: 1px 0 0; } GtkScrolledWindow .frame { border-radius: 2px; } GtkScrolledWindow GtkViewport.frame { border-style: none; } .separator { color: rgba(0, 0, 0, 0.1); } /********* * Lists * *********/ .list, .list-row { background-color: white; border-color: #a1a1a1; } .list:backdrop, .list-row:backdrop { background-color: #fcfcfc; border-color: #a8a8a8; } .list-row:selected { background-color: #4a90d9; color: white; } .list-row:selected:backdrop { color: #fcfcfc; } /********************* * App Notifications * *********************/ .app-notification { border-width: 0 1px 1px; border-style: solid; border-color: #a1a1a1; border-radius: 0 0 6px 6px; background-image: linear-gradient(to bottom, #dedede 5%, #e3e3e3); padding: 0 4px; } .app-notification .button { padding: 6px; } /************* * Expanders * *************/ GtkExpander { -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); } GtkExpander:dir(rtl) { -gtk-icon-source: -gtk-icontheme("pan-end-symbolic-rtl"); } GtkExpander:hover { color: #748489; } GtkExpander:active { -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); } /************ * Calendar * ***********/ GtkCalendar { border: 1px solid #a1a1a1; } GtkCalendar.button { padding: 0 4px; color: #abadae; } GtkCalendar.button:hover { color: #2e3436; } GtkCalendar.button:backdrop, GtkCalendar.button:backdrop:hover { color: #a8aaab; } /*********** * Dialogs * ***********/ .message-dialog { -GtkDialog-button-spacing: 0; } GtkMessageDialog .titlebar { border-style: none; box-shadow: inset 0 1px white; } .dialog-action-area.linked .button { padding: 6px; border-radius: 0; border-width: 1px; border-style: solid; color: #2e3436; background-image: linear-gradient(to bottom, #fafafa, #ededed 40%, #e0e0e0); border-color: #a1a1a1; text-shadow: 0 1px rgba(255, 255, 255, 0.76923); icon-shadow: 0 1px rgba(255, 255, 255, 0.76923); box-shadow: inset 0 1px white; } .dialog-action-area.linked .button:hover { border-width: 1px; border-style: solid; color: #2e3436; border-color: #a1a1a1; background-image: linear-gradient(to bottom, white, #f7f7f7 40%, #ededed); text-shadow: 0 1px rgba(255, 255, 255, 0.76923); icon-shadow: 0 1px rgba(255, 255, 255, 0.76923); box-shadow: inset 0 1px white; } .dialog-action-area.linked .button:active { border-width: 1px; border-style: solid; color: #2e3436; border-color: #a1a1a1; background-image: linear-gradient(to bottom, #c7c7c7, #d1d1d1 3%, lightgray); text-shadow: 0 1px rgba(255, 255, 255, 0.76923); icon-shadow: 0 1px rgba(255, 255, 255, 0.76923); box-shadow: inset 0 2px 3px -1px rgba(0, 0, 0, 0.3); } .dialog-action-area.linked .button:insensitive { border-width: 1px; border-style: solid; color: #8d9091; border-color: #a1a1a1; background-image: linear-gradient(to bottom, #f4f4f4); text-shadow: none; icon-shadow: none; box-shadow: inset 0 1px rgba(255, 255, 255, 0); } .dialog-action-area.linked .button:backdrop { border-width: 1px; border-style: solid; color: #54595a; border-color: #a8a8a8; background-image: linear-gradient(to bottom, #ededed); text-shadow: none; icon-shadow: none; box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(255, 255, 255, 0); } .dialog-action-area.linked .button:backdrop:insensitive { border-width: 1px; border-style: solid; color: #c7c7c7; border-color: #a8a8a8; background-image: linear-gradient(to bottom, #ededed); box-shadow: inset 0 1px rgba(255, 255, 255, 0); } .dialog-action-area.linked .button, .dialog-action-area.linked .button:hover, .dialog-action-area.linked .button:active, .dialog-action-area.linked .button:insensitive, .dialog-action-area.linked .button:backdrop, .dialog-action-area.linked .button:backdrop:insensitive { border-style: solid none none solid; } .dialog-action-area.linked .button:first-child { border-style: solid none none none; } GtkFileChooserDialog .dialog-action-box { border-top: 1px solid #a1a1a1; } GtkFileChooserDialog .dialog-action-box:backdrop { border-top-color: #a8a8a8; } /*********** * Sidebar * ***********/ .sidebar, .sidebar .view { border: none; background-color: #fafafa; } .sidebar .scrollbar.trough, .sidebar .view .scrollbar.trough { background-color: lightgray; border-radius: 6px; border-width: 2px; border-color: transparent; } .sidebar .scrollbar.slider, .sidebar .view .scrollbar.slider { background-color: #fafafa; } .sidebar .scrollbar.slider:hover, .sidebar .view .scrollbar.slider:hover { background-color: white; } .sidebar:backdrop, .sidebar .view:backdrop { background-color: #fafafa; } .sidebar:selected, .sidebar .view:selected { background-color: #4a90d9; } .sidebar .separator, .sidebar .view .separator { color: #dfdfdf; } GtkPaned { margin: 0 8px 8px 0; } GtkPaned:dir(rtl) { margin-right: 0; margin-left: 8px; } .pane-separator { background-image: linear-gradient(to bottom, #a1a1a1); } .pane-separator:backdrop { background-image: linear-gradient(to bottom, #a8a8a8); } /************** * GtkInfoBar * **************/ GtkInfoBar { border-width: 0; border-style: none; } .info, .question, .warning, .error { background-color: #4a90d9; color: white; text-shadow: 0 1px #2a76c6; border-color: #2a76c6; } .info .button, .question .button, .warning .button, .error .button { border-width: 1px; border-style: solid; color: white; background-image: linear-gradient(to bottom, #5f9ddd, #4a90d9 40%, #3583d5); border-color: #1c5187; text-shadow: 0 -1px rgba(0, 0, 0, 0.54353); icon-shadow: 0 -1px rgba(0, 0, 0, 0.54353); box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); } .info .button:hover, .question .button:hover, .warning .button:hover, .error .button:hover { border-width: 1px; border-style: solid; color: white; border-color: #1c5187; background-image: linear-gradient(to bottom, #85b4e5, #5b9add 40%, #4a90d9); text-shadow: 0 -1px rgba(0, 0, 0, 0.51153); icon-shadow: 0 -1px rgba(0, 0, 0, 0.51153); box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); } .info .button:active, .question .button:active, .warning .button:active, .error .button:active { border-width: 1px; border-style: solid; color: white; border-color: #1c5187; background-image: linear-gradient(to bottom, #256ab1, #2974c2 3%, #2a76c6); text-shadow: 0 -1px rgba(0, 0, 0, 0.62353); icon-shadow: 0 -1px rgba(0, 0, 0, 0.62353); box-shadow: inset 0 2px 3px -1px rgba(0, 0, 0, 0.3); } .info .button:insensitive, .question .button:insensitive, .warning .button:insensitive, .error .button:insensitive { border-width: 1px; border-style: solid; color: #8d9091; border-color: #a1a1a1; background-image: linear-gradient(to bottom, #f4f4f4); text-shadow: none; icon-shadow: none; box-shadow: inset 0 1px rgba(255, 255, 255, 0); } .info .button:backdrop, .question .button:backdrop, .warning .button:backdrop, .error .button:backdrop { border-width: 1px; border-style: solid; color: white; border-color: #4a90d9; background-image: linear-gradient(to bottom, #4a90d9); text-shadow: none; icon-shadow: none; box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(255, 255, 255, 0); } .info .button:backdrop:insensitive, .question .button:backdrop:insensitive, .warning .button:backdrop:insensitive, .error .button:backdrop:insensitive { border-width: 1px; border-style: solid; color: #c7c7c7; border-color: #a8a8a8; background-image: linear-gradient(to bottom, #ededed); box-shadow: inset 0 1px rgba(255, 255, 255, 0); } /************ * Tooltips * ************/ .tooltip { color: white; padding: 4px; /* not working */ border-radius: 5px; background-color: rgba(0, 0, 0, 0.8); text-shadow: 0 1px black; } .tooltip * { padding: 4px; background-color: transparent; color: inherit; } /***************** * Color Chooser * *****************/ GtkColorSwatch { border: 1px solid rgba(0, 0, 0, 0.3); box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.2); } GtkColorSwatch.color-light:hover { background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.4)); } GtkColorSwatch.color-light:hover:backdrop { background-image: none; } GtkColorSwatch.color-dark:hover { background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.2)); } GtkColorSwatch.color-dark:hover:backdrop { background-image: none; } GtkColorSwatch:hover { border-color: rgba(0, 0, 0, 0.5); } GtkColorSwatch:backdrop { border-color: rgba(0, 0, 0, 0.2); box-shadow: none; } GtkColorSwatch.top { border-top-left-radius: 5px; border-top-right-radius: 5px; } GtkColorSwatch.bottom { border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; } GtkColorSwatch.left, GtkColorSwatch:first-child { border-top-left-radius: 5px; border-bottom-left-radius: 5px; } GtkColorSwatch.right, GtkColorSwatch:last-child { border-top-right-radius: 5px; border-bottom-right-radius: 5px; } GtkColorSwatch:only-child { border-radius: 5px; } GtkColorSwatch.color-active-badge { border-width: 2px; } GtkColorSwatch.color-active-badge:hover { background-image: none; } GtkColorSwatch.color-active-badge.color-light, GtkColorSwatch.color-active-badge.color-light:hover { color: rgba(0, 0, 0, 0.3); border-color: rgba(0, 0, 0, 0.3); } GtkColorSwatch.color-active-badge.color-dark, GtkColorSwatch.color-active-badge.color-dark:hover { color: rgba(255, 255, 255, 0.5); border-color: rgba(255, 255, 255, 0.5); } GtkColorChooserWidget #add-color-button { border-color: #c7c7c7; background-color: #c7c7c7; color: #ededed; box-shadow: none; } GtkColorChooserWidget #add-color-button:hover { border-color: #a1a1a1; background-color: #a1a1a1; } GtkColorChooserWidget #add-color-button:backdrop { border-color: #cacaca; background-color: #cacaca; } /********************** * Window Decorations * *********************/ .window-frame { border-radius: 7px 7px 0 0; border-width: 0px; box-shadow: 0 3px 9px 1px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 0, 0, 0.23); /* this is used for the resize cursor area */ margin: 10px; } .window-frame:backdrop { box-shadow: 0 2px 6px 2px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.18); } .window-frame.tiled { border-radius: 0; } .window-frame.csd.popup { border-radius: 0; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.13); } .window-frame.csd.tooltip { border-radius: 5px; box-shadow: none; } .button.titlebutton { padding: 8px; border-color: transparent; background-image: none; transition-property: border, box-shadow, color; box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(255, 255, 255, 0); } .button.titlebutton:hover { border-width: 1px; border-style: solid; color: #2e3436; background-image: linear-gradient(to bottom, #fafafa, #ededed 40%, #e0e0e0); border-color: #a1a1a1; text-shadow: 0 1px rgba(255, 255, 255, 0.76923); icon-shadow: 0 1px rgba(255, 255, 255, 0.76923); box-shadow: inset 0 1px white, 0 1px white; } .button.titlebutton:active { border-width: 1px; border-style: solid; color: #2e3436; border-color: #a1a1a1; background-image: linear-gradient(to bottom, #c7c7c7, #d1d1d1 3%, lightgray); text-shadow: 0 1px rgba(255, 255, 255, 0.76923); icon-shadow: 0 1px rgba(255, 255, 255, 0.76923); box-shadow: inset 0 2px 3px -1px rgba(0, 0, 0, 0.3), 0 1px white; } .button.titlebutton:backdrop { border-width: 1px; border-style: solid; color: #54595a; border-color: #a8a8a8; background-image: linear-gradient(to bottom, #ededed); text-shadow: none; icon-shadow: none; box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(255, 255, 255, 0); border-color: transparent; transition-property: border, box-shadow, color; }