diff options
author | Horst3180 | 2015-12-28 17:54:04 +0100 |
---|---|---|
committer | Horst3180 | 2015-12-28 17:54:04 +0100 |
commit | 6c028cace9f4b7775309aca4d726fe2bc7bc2ba1 (patch) | |
tree | 270a651cc9b07bab9f82ec5e842969a7e4641b19 /common/gtk-3.0/3.14 | |
parent | 8a30dbe6d48bf70fc1c13c45c151894774cb9a5c (diff) | |
download | solarc-theme-6c028cace9f4b7775309aca4d726fe2bc7bc2ba1.tar.gz solarc-theme-6c028cace9f4b7775309aca4d726fe2bc7bc2ba1.tar.xz solarc-theme-6c028cace9f4b7775309aca4d726fe2bc7bc2ba1.zip |
Cleanup
Diffstat (limited to 'common/gtk-3.0/3.14')
-rw-r--r-- | common/gtk-3.0/3.14/gtk-dark.css | 291 | ||||
-rw-r--r-- | common/gtk-3.0/3.14/gtk-darker.css | 291 | ||||
-rw-r--r-- | common/gtk-3.0/3.14/gtk-solid-dark.css | 291 | ||||
-rw-r--r-- | common/gtk-3.0/3.14/gtk-solid-darker.css | 291 | ||||
-rw-r--r-- | common/gtk-3.0/3.14/gtk-solid.css | 291 | ||||
-rw-r--r-- | common/gtk-3.0/3.14/gtk.css | 291 | ||||
-rw-r--r-- | common/gtk-3.0/3.14/sass/_common.scss | 377 | ||||
-rw-r--r-- | common/gtk-3.0/3.14/sass/_lightdm.scss | 20 | ||||
-rw-r--r-- | common/gtk-3.0/3.14/sass/_transparent_widgets.scss | 2 | ||||
-rw-r--r-- | common/gtk-3.0/3.14/sass/gtk-dark.scss | 5 | ||||
-rw-r--r-- | common/gtk-3.0/3.14/sass/gtk-darker.scss | 5 | ||||
-rw-r--r-- | common/gtk-3.0/3.14/sass/gtk-solid-dark.scss | 5 | ||||
-rw-r--r-- | common/gtk-3.0/3.14/sass/gtk-solid-darker.scss | 5 | ||||
-rw-r--r-- | common/gtk-3.0/3.14/sass/gtk-solid.scss | 5 | ||||
-rw-r--r-- | common/gtk-3.0/3.14/sass/gtk.scss | 5 |
15 files changed, 688 insertions, 1487 deletions
diff --git a/common/gtk-3.0/3.14/gtk-dark.css b/common/gtk-3.0/3.14/gtk-dark.css index 2c7f685..1b18214 100644 --- a/common/gtk-3.0/3.14/gtk-dark.css +++ b/common/gtk-3.0/3.14/gtk-dark.css @@ -28,19 +28,10 @@ outline-width: 1px; outline-radius: 2px; } -/*************** - * Base States * - ***************/ .background { color: #D3DAE3; background-color: rgba(56, 60, 74, 0.999); } -/* - 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; } @@ -117,9 +108,6 @@ GtkFlowBox .grid-child { outline-color: rgba(186, 195, 207, 0.3); box-shadow: none; } -/********************** - * Spinner Animations * - **********************/ @keyframes spin { to { -gtk-icon-transform: rotate(1turn); } } @@ -135,9 +123,6 @@ GtkFlowBox .grid-child { .spinner:active:insensitive { opacity: 0.5; } -/**************** - * Text Entries * - ****************/ .entry { border: 1px solid; padding: 5px 8px 6px; @@ -259,9 +244,6 @@ GtkFlowBox .grid-child { GtkSearchEntry.entry { border-radius: 20px; } -/*********** - * Buttons * - ***********/ @keyframes needs_attention { from { background-image: -gtk-gradient(radial, center center, 0, center center, 0.01, to(#5294E2), to(transparent)); } @@ -673,9 +655,6 @@ GtkSearchEntry.entry { .menuitem.button.flat:checked { color: #D3DAE3; } -/********* - * Links * - *********/ *:link, .button:link, .button:visited { color: #a9caf1; } *:link:visited, .button:visited { @@ -693,9 +672,6 @@ GtkSearchEntry.entry { *:link:selected, .button:selected:link, .button:selected:visited, .header-bar.selection-mode .subtitle:link, .header-bar.titlebar.selection-mode .subtitle:link, *:selected *:link, *:selected .button:link, *:selected .button:visited { color: #dceaf9; } -/***************** - * GtkSpinButton * - *****************/ .spinbutton { border-radius: 3px; } .spinbutton .button { @@ -773,9 +749,6 @@ GtkSearchEntry.entry { border-radius: 0; box-shadow: none; } -/************** - * ComboBoxes * - **************/ GtkComboBox { -GtkComboBox-arrow-scaling: 0.5; -GtkComboBox-shadow-type: none; } @@ -799,9 +772,6 @@ GtkComboBox { GtkComboBox.combobox-entry .button:dir(rtl):insensitive { box-shadow: inset -1px 0 rgba(43, 46, 57, 0.55); } -/************ - * Toolbars * - ************/ .toolbar, .inline-toolbar { -GtkWidget-window-dragging: true; padding: 4px; @@ -838,9 +808,6 @@ GtkComboBox { .action-bar { background-color: #313541; } -/*************** - * Header bars * - ***************/ .header-bar { padding: 7px 7px 6px 7px; border-width: 0 0 1px; @@ -1225,9 +1192,6 @@ GtkComboBox { background-image: linear-gradient(to bottom, rgba(63, 69, 84, 0.991)); border-color: rgba(21, 23, 28, 0.67); } -/************ - * Pathbars * - ************/ .path-bar .button { padding-left: 6px; padding-right: 6px; } @@ -1242,9 +1206,6 @@ GtkComboBox { padding-right: 4px; padding-left: 4px; } -/************** - * Tree Views * - **************/ GtkTreeView.view { -GtkTreeView-grid-line-width: 1; -GtkTreeView-grid-line-pattern: ''; @@ -1317,9 +1278,6 @@ column-header .button, column-header .button:hover, column-header .button:active border-color: #383C4A; background-image: none; } -/********* - * Menus * - *********/ .menubar { -GtkWidget-window-dragging: true; padding: 0px; @@ -1383,9 +1341,6 @@ column-header .button, column-header .button:hover, column-header .button:active .menuitem .accelerator { color: alpha(currentColor,0.55); } -/************ - * Popovers * - ************/ .popover { margin: 10px; padding: 2px; @@ -1418,10 +1373,6 @@ column-header .button, column-header .button:hover, column-header .button:active .cursor-handle.bottom { -gtk-icon-source: -gtk-icontheme("selection-end-symbolic"); } -/***************** - * Notebooks and * - * Tabs * - *****************/ .notebook { padding: 0; background-color: #404552; @@ -1554,9 +1505,6 @@ column-header .button, column-header .button:hover, column-header .button:active .notebook.arrow:insensitive { color: rgba(211, 218, 227, 0.15); } -/************** - * Scrollbars * - **************/ .scrollbar { background-clip: padding-box; background-image: none; @@ -1601,9 +1549,6 @@ column-header .button, column-header .button:hover, column-header .button:active border-color: transparent; background-color: #3e434f; } -/********** - * Switch * - **********/ GtkSwitch { font: 1; -GtkSwitch-slider-width: 41; @@ -1664,9 +1609,6 @@ GtkInfoBar GtkSwitch.trough:active:insensitive { .primary-toolbar GtkSwitch.trough:active:insensitive { background-image: -gtk-scaled(url("assets/switch-active-insensitive-header-dark.png"), url("assets/switch-active-insensitive-header-dark@2.png")); } -/************************* - * Check and Radio items * - *************************/ .check { -gtk-icon-source: -gtk-scaled(url("assets/checkbox-unchecked-dark.png"), url("assets/checkbox-unchecked-dark@2.png")); } @@ -1827,9 +1769,6 @@ GtkCheckButton.text-button, GtkRadioButton.text-button { GtkCheckButton.text-button:insensitive, GtkCheckButton.text-button:insensitive:active, GtkCheckButton.text-button:insensitive:inconsistent, GtkRadioButton.text-button:insensitive, GtkRadioButton.text-button:insensitive:active, GtkRadioButton.text-button:insensitive:inconsistent { color: rgba(211, 218, 227, 0.45); } -/************ - * GtkScale * - ************/ .scale { -GtkScale-slider-length: 15; -GtkRange-slider-width: 15; @@ -1909,9 +1848,6 @@ GtkCheckButton.text-button, GtkRadioButton.text-button { GtkInfoBar .scale.trough:insensitive { background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.1)); } -/***************** - * Progress bars * - *****************/ GtkProgressBar { padding: 0; font-size: smaller; @@ -1948,16 +1884,12 @@ GtkProgressBar.trough, .level-bar.trough { GtkInfoBar .level-bar.trough { background-color: rgba(0, 0, 0, 0.2); } -/************* - * 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; } + GtkLevelBar.vertical { + -GtkLevelBar-min-block-width: 3; + -GtkLevelBar-min-block-height: 34; } .level-bar.trough { padding: 3px; @@ -1981,9 +1913,6 @@ GtkLevelBar.vertical { background-color: #404552; border-color: #404552; } -/********** - * Frames * - **********/ .frame { border: 1px solid #2b2e39; padding: 0; } @@ -2010,9 +1939,6 @@ GtkScrolledWindow GtkViewport.frame { GtkFontButton .vertical.view.separator { -GtkWidget-wide-separators: true; } -/********* - * Lists * - *********/ .list, .list-row { background-color: #404552; border-color: #2b2e39; } @@ -2045,9 +1971,6 @@ GtkScrolledWindow GtkViewport.frame { .list-row:hover, list-row.button:hover { transition: none; } -/********************* - * App Notifications * - *********************/ .app-notification, .app-notification.frame { padding: 10px; @@ -2087,21 +2010,15 @@ GtkScrolledWindow GtkViewport.frame { border-color: rgba(26, 28, 34, 0.35); background-color: rgba(102, 109, 132, 0.2); } -/************* - * Expanders * - *************/ -GtkExpander { +.expander { -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); } - GtkExpander:dir(rtl) { + .expander:dir(rtl) { -gtk-icon-source: -gtk-icontheme("pan-end-symbolic-rtl"); } - GtkExpander:hover { + .expander:hover { color: white; } - GtkExpander:checked { + .expander:checked { -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); } -/************ - * Calendar * - ***********/ GtkCalendar { color: #D3DAE3; border: 1px solid #2b2e39; @@ -2129,9 +2046,6 @@ GtkCalendar { GtkCalendar.highlight { color: alpha(currentColor,0.55); } -/*********** - * Dialogs * - ***********/ .message-dialog .dialog-action-area .button { padding: 8px; } @@ -2164,9 +2078,6 @@ GtkFileChooserDialog .search-bar { GtkFileChooserDialog .dialog-action-box { border-top: 1px solid #2b2e39; } -/*********** - * Sidebar * - ***********/ .sidebar { border: none; background-color: #383C4A; } @@ -2201,9 +2112,6 @@ GtkPaned { .pane-separator { background-image: linear-gradient(to bottom, #2b2e39); } -/************** - * GtkInfoBar * - **************/ GtkInfoBar { border-style: none; } @@ -2245,9 +2153,6 @@ GtkInfoBar { background-color: rgba(255, 255, 255, 0.2); border-color: rgba(255, 255, 255, 0.2); } -/************ - * Tooltips * - ************/ .tooltip { color: #BAC3CF; border-radius: 2px; } @@ -2262,9 +2167,6 @@ GtkInfoBar { background-color: transparent; color: inherit; } -/***************** - * Color Chooser * - *****************/ GtkColorSwatch { border: none; box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.4); } @@ -2313,9 +2215,6 @@ GtkColorButton.button { GtkColorButton.button GtkColorSwatch { border-radius: 0; } -/******** - * Misc * - ********/ .scale-popup .button { padding: 6px; } .scale-popup .button:hover { @@ -2327,14 +2226,89 @@ GtkColorButton.button { GtkVolumeButton.button { padding: 8px; } -/********************** - * Window Decorations * - *********************/ +.touch-selection, +.context-menu { + font: initial; } + +.monospace { + font: Monospace; } + +.overshoot.top { + background-image: -gtk-gradient(radial, center top, 0, center top, 0.6, from(rgba(82, 148, 226, 0.2)), to(rgba(82, 148, 226, 0))); + background-size: 100% 60%; + background-repeat: no-repeat; + background-position: center top; + background-color: transparent; + border: none; + box-shadow: none; } + +.overshoot.bottom { + background-image: -gtk-gradient(radial, center bottom, 0, center bottom, 0.6, from(rgba(82, 148, 226, 0.2)), to(rgba(82, 148, 226, 0))); + background-size: 100% 60%; + background-repeat: no-repeat; + background-position: center bottom; + background-color: transparent; + border: none; + box-shadow: none; } + +.overshoot.left { + background-image: -gtk-gradient(radial, left center, 0, left center, 0.6, from(rgba(82, 148, 226, 0.2)), to(rgba(82, 148, 226, 0))); + background-size: 60% 100%; + background-repeat: no-repeat; + background-position: left center; + background-color: transparent; + border: none; + box-shadow: none; } + +.overshoot.right { + background-image: -gtk-gradient(radial, right center, 0, right center, 0.6, from(rgba(82, 148, 226, 0.2)), to(rgba(82, 148, 226, 0))); + background-size: 60% 100%; + background-repeat: no-repeat; + background-position: right center; + background-color: transparent; + border: none; + box-shadow: none; } + +.undershoot.top { + background-color: transparent; + background-image: linear-gradient(to left, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%); + padding-top: 1px; + background-size: 10px 1px; + background-repeat: repeat-x; + background-origin: content-box; + background-position: center top; } + +.undershoot.bottom { + background-color: transparent; + background-image: linear-gradient(to left, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%); + padding-bottom: 1px; + background-size: 10px 1px; + background-repeat: repeat-x; + background-origin: content-box; + background-position: center bottom; } + +.undershoot.left { + background-color: transparent; + background-image: linear-gradient(to top, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%); + padding-left: 1px; + background-size: 1px 10px; + background-repeat: repeat-y; + background-origin: content-box; + background-position: left center; } + +.undershoot.right { + background-color: transparent; + background-image: linear-gradient(to top, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%); + padding-right: 1px; + background-size: 1px 10px; + background-repeat: repeat-y; + background-origin: content-box; + background-position: right center; } + .window-frame { border-radius: 3px 3px 0 0; border-width: 0px; box-shadow: 0 0 0 1px rgba(32, 35, 43, 0.97), 0 8px 8px 0 rgba(0, 0, 0, 0.35); - /* this is used for the resize cursor area */ margin: 10px; } .window-frame:backdrop { box-shadow: 0 0 0 1px rgba(32, 35, 43, 0.87), 0 5px 5px 0 rgba(0, 0, 0, 0.35); } @@ -2613,86 +2587,6 @@ GtkVolumeButton.button { color: #ffffff; outline-color: rgba(255, 255, 255, 0.3); } -/* Decouple the font of context menus from their entry/textview */ -.touch-selection, -.context-menu { - font: initial; } - -.monospace { - font: Monospace; } - -.overshoot.top { - background-image: -gtk-gradient(radial, center top, 0, center top, 0.6, from(rgba(82, 148, 226, 0.2)), to(rgba(82, 148, 226, 0))); - background-size: 100% 60%; - background-repeat: no-repeat; - background-position: center top; - background-color: transparent; - border: none; - box-shadow: none; } - -.overshoot.bottom { - background-image: -gtk-gradient(radial, center bottom, 0, center bottom, 0.6, from(rgba(82, 148, 226, 0.2)), to(rgba(82, 148, 226, 0))); - background-size: 100% 60%; - background-repeat: no-repeat; - background-position: center bottom; - background-color: transparent; - border: none; - box-shadow: none; } - -.overshoot.left { - background-image: -gtk-gradient(radial, left center, 0, left center, 0.6, from(rgba(82, 148, 226, 0.2)), to(rgba(82, 148, 226, 0))); - background-size: 60% 100%; - background-repeat: no-repeat; - background-position: left center; - background-color: transparent; - border: none; - box-shadow: none; } - -.overshoot.right { - background-image: -gtk-gradient(radial, right center, 0, right center, 0.6, from(rgba(82, 148, 226, 0.2)), to(rgba(82, 148, 226, 0))); - background-size: 60% 100%; - background-repeat: no-repeat; - background-position: right center; - background-color: transparent; - border: none; - box-shadow: none; } - -.undershoot.top { - background-color: transparent; - background-image: linear-gradient(to left, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%); - padding-top: 1px; - background-size: 10px 1px; - background-repeat: repeat-x; - background-origin: content-box; - background-position: center top; } - -.undershoot.bottom { - background-color: transparent; - background-image: linear-gradient(to left, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%); - padding-bottom: 1px; - background-size: 10px 1px; - background-repeat: repeat-x; - background-origin: content-box; - background-position: center bottom; } - -.undershoot.left { - background-color: transparent; - background-image: linear-gradient(to top, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%); - padding-left: 1px; - background-size: 1px 10px; - background-repeat: repeat-y; - background-origin: content-box; - background-position: left center; } - -.undershoot.right { - background-color: transparent; - background-image: linear-gradient(to top, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%); - padding-right: 1px; - background-size: 1px 10px; - background-repeat: repeat-y; - background-origin: content-box; - background-position: right center; } - GeditNotebook.notebook tab.reorderable-page.top:active, GeditNotebook.notebook tab.reorderable-page.top.active-page, GeditNotebook.notebook tab.reorderable-page.top.active-page:hover, GeditNotebook.notebook tab.top:active, GeditNotebook.notebook tab.top.active-page, GeditNotebook.notebook tab.top.active-page:hover, ScratchMainWindow .notebook tab.reorderable-page.top:active, ScratchMainWindow .notebook tab.reorderable-page.top.active-page, @@ -3460,13 +3354,11 @@ GraniteWidgetsXsEntry.entry { GtkListBox .h4 { padding-left: 6px; } -/* the panel widget at the top */ #panel_window { background-color: rgba(43, 46, 55, 0.95); color: #BAC3CF; font: bold; - box-shadow: inset 0 -1px rgba(27, 29, 35, 0.95); - /* the menubars/menus of the panel, i.e. indicators */ } + box-shadow: inset 0 -1px rgba(27, 29, 35, 0.95); } #panel_window .menubar, #panel_window .menubar > .menuitem { background-color: transparent; @@ -3479,7 +3371,6 @@ GtkListBox .h4 { #panel_window .menubar .menu .menuitem { font: normal; } -/* the login window */ #login_window, #shutdown_dialog, #restart_dialog { @@ -3488,7 +3379,6 @@ GtkListBox .h4 { background-color: transparent; color: #D3DAE3; } -/* the top half of the login-window, in GtkDialog terms, the content */ #content_frame { padding-bottom: 14px; background-color: #383C4A; @@ -3519,7 +3409,6 @@ GtkListBox .h4 { #content_frame .button:insensitive > GtkLabel { color: inherit; } -/* the lower half of the login-window, in GtkDialog terms the buttonbox or action area */ #buttonbox_frame { padding-top: 20px; padding-bottom: 0px; @@ -3557,13 +3446,10 @@ GtkListBox .h4 { #login_window #user_combobox .menu { font: normal; } -/* the user's avatar box */ #user_image { padding: 3px; border-radius: 2px; } -/* the border around the user's avatar box */ -/* the shutdown button */ #shutdown_button.button { background-clip: border-box; color: #ffffff; @@ -3583,7 +3469,6 @@ GtkListBox .h4 { background-color: #ec1b22; border-color: #ec1b22; } -/* the restart button */ #restart_button.button { background-clip: border-box; color: #ffffff; @@ -3603,7 +3488,6 @@ GtkListBox .h4 { background-color: #2e96c0; border-color: #2e96c0; } -/* the warning, in case a wrong password is entered or something else goes wrong according to PAM */ #greeter_infobar { border-bottom-width: 0; font: bold; } @@ -3738,7 +3622,6 @@ NemoWindow.background > GtkGrid > GtkPaned > .pane-separator, MarlinViewWindow.background > GtkBox > GtkPaned > .pane-separator { background-color: rgba(42, 45, 55, 0.95); } -/*Fix Nautilus transparency issues*/ NautilusWindow NautilusWindowSlot { background-color: #404552; } diff --git a/common/gtk-3.0/3.14/gtk-darker.css b/common/gtk-3.0/3.14/gtk-darker.css index 292e58d..ea15e3d 100644 --- a/common/gtk-3.0/3.14/gtk-darker.css +++ b/common/gtk-3.0/3.14/gtk-darker.css @@ -28,19 +28,10 @@ outline-width: 1px; outline-radius: 2px; } -/*************** - * Base States * - ***************/ .background { color: #5c616c; background-color: rgba(245, 246, 247, 0.999); } -/* - 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; } @@ -117,9 +108,6 @@ GtkFlowBox .grid-child { outline-color: rgba(186, 195, 207, 0.3); box-shadow: none; } -/********************** - * Spinner Animations * - **********************/ @keyframes spin { to { -gtk-icon-transform: rotate(1turn); } } @@ -135,9 +123,6 @@ GtkFlowBox .grid-child { .spinner:active:insensitive { opacity: 0.5; } -/**************** - * Text Entries * - ****************/ .entry { border: 1px solid; padding: 5px 8px 6px; @@ -258,9 +243,6 @@ GtkFlowBox .grid-child { GtkSearchEntry.entry { border-radius: 20px; } -/*********** - * Buttons * - ***********/ @keyframes needs_attention { from { background-image: -gtk-gradient(radial, center center, 0, center center, 0.01, to(#5294E2), to(transparent)); } @@ -672,9 +654,6 @@ GtkSearchEntry.entry { .menuitem.button.flat:checked { color: #5c616c; } -/********* - * Links * - *********/ *:link, .button:link, .button:visited { color: #2679db; } *:link:visited, .button:visited { @@ -692,9 +671,6 @@ GtkSearchEntry.entry { *:link:selected, .button:selected:link, .button:selected:visited, .header-bar.selection-mode .subtitle:link, .header-bar.titlebar.selection-mode .subtitle:link, *:selected *:link, *:selected .button:link, *:selected .button:visited { color: #dceaf9; } -/***************** - * GtkSpinButton * - *****************/ .spinbutton { border-radius: 3px; } .spinbutton .button { @@ -772,9 +748,6 @@ GtkSearchEntry.entry { border-radius: 0; box-shadow: none; } -/************** - * ComboBoxes * - **************/ GtkComboBox { -GtkComboBox-arrow-scaling: 0.5; -GtkComboBox-shadow-type: none; } @@ -802,9 +775,6 @@ GtkComboBox { GtkComboBox.combobox-entry .button:dir(rtl):insensitive { box-shadow: inset -1px 0 rgba(207, 214, 230, 0.55); } -/************ - * Toolbars * - ************/ .toolbar, .inline-toolbar { -GtkWidget-window-dragging: true; padding: 4px; @@ -841,9 +811,6 @@ GtkComboBox { .action-bar { background-color: #edeef0; } -/*************** - * Header bars * - ***************/ .header-bar { padding: 7px 7px 6px 7px; border-width: 0 0 1px; @@ -1228,9 +1195,6 @@ GtkComboBox { background-image: linear-gradient(to bottom, rgba(63, 69, 84, 0.991)); border-color: rgba(21, 23, 28, 0.67); } -/************ - * Pathbars * - ************/ .path-bar .button { padding-left: 6px; padding-right: 6px; } @@ -1245,9 +1209,6 @@ GtkComboBox { padding-right: 4px; padding-left: 4px; } -/************** - * Tree Views * - **************/ GtkTreeView.view { -GtkTreeView-grid-line-width: 1; -GtkTreeView-grid-line-pattern: ''; @@ -1320,9 +1281,6 @@ column-header .button, column-header .button:hover, column-header .button:active border-color: #F5F6F7; background-image: none; } -/********* - * Menus * - *********/ .menubar { -GtkWidget-window-dragging: true; padding: 0px; @@ -1386,9 +1344,6 @@ column-header .button, column-header .button:hover, column-header .button:active .menuitem .accelerator { color: alpha(currentColor,0.55); } -/************ - * Popovers * - ************/ .popover { margin: 10px; padding: 2px; @@ -1421,10 +1376,6 @@ column-header .button, column-header .button:hover, column-header .button:active .cursor-handle.bottom { -gtk-icon-source: -gtk-icontheme("selection-end-symbolic"); } -/***************** - * Notebooks and * - * Tabs * - *****************/ .notebook { padding: 0; background-color: #ffffff; @@ -1557,9 +1508,6 @@ column-header .button, column-header .button:hover, column-header .button:active .notebook.arrow:insensitive { color: rgba(92, 97, 108, 0.25); } -/************** - * Scrollbars * - **************/ .scrollbar { background-clip: padding-box; background-image: none; @@ -1604,9 +1552,6 @@ column-header .button, column-header .button:hover, column-header .button:active border-color: transparent; background-color: #fcfcfc; } -/********** - * Switch * - **********/ GtkSwitch { font: 1; -GtkSwitch-slider-width: 41; @@ -1667,9 +1612,6 @@ GtkInfoBar GtkSwitch.trough:active:insensitive { .primary-toolbar GtkSwitch.trough:active:insensitive { background-image: -gtk-scaled(url("assets/switch-active-insensitive-header-dark.png"), url("assets/switch-active-insensitive-header-dark@2.png")); } -/************************* - * Check and Radio items * - *************************/ .check { -gtk-icon-source: -gtk-scaled(url("assets/checkbox-unchecked.png"), url("assets/checkbox-unchecked@2.png")); } @@ -1830,9 +1772,6 @@ GtkCheckButton.text-button, GtkRadioButton.text-button { GtkCheckButton.text-button:insensitive, GtkCheckButton.text-button:insensitive:active, GtkCheckButton.text-button:insensitive:inconsistent, GtkRadioButton.text-button:insensitive, GtkRadioButton.text-button:insensitive:active, GtkRadioButton.text-button:insensitive:inconsistent { color: rgba(92, 97, 108, 0.55); } -/************ - * GtkScale * - ************/ .scale { -GtkScale-slider-length: 15; -GtkRange-slider-width: 15; @@ -1912,9 +1851,6 @@ GtkCheckButton.text-button, GtkRadioButton.text-button { GtkInfoBar .scale.trough:insensitive { background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.1)); } -/***************** - * Progress bars * - *****************/ GtkProgressBar { padding: 0; font-size: smaller; @@ -1951,16 +1887,12 @@ GtkProgressBar.trough, .level-bar.trough { GtkInfoBar .level-bar.trough { background-color: rgba(0, 0, 0, 0.2); } -/************* - * 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; } + GtkLevelBar.vertical { + -GtkLevelBar-min-block-width: 3; + -GtkLevelBar-min-block-height: 34; } .level-bar.trough { padding: 3px; @@ -1984,9 +1916,6 @@ GtkLevelBar.vertical { background-color: rgba(92, 97, 108, 0.2); border-color: rgba(92, 97, 108, 0.2); } -/********** - * Frames * - **********/ .frame { border: 1px solid #dcdfe3; padding: 0; } @@ -2013,9 +1942,6 @@ GtkScrolledWindow GtkViewport.frame { GtkFontButton .vertical.view.separator { -GtkWidget-wide-separators: true; } -/********* - * Lists * - *********/ .list, .list-row { background-color: #ffffff; border-color: #dcdfe3; } @@ -2048,9 +1974,6 @@ GtkScrolledWindow GtkViewport.frame { .list-row:hover, list-row.button:hover { transition: none; } -/********************* - * App Notifications * - *********************/ .app-notification, .app-notification.frame { padding: 10px; @@ -2090,21 +2013,15 @@ GtkScrolledWindow GtkViewport.frame { border-color: rgba(26, 28, 34, 0.35); background-color: rgba(102, 109, 132, 0.2); } -/************* - * Expanders * - *************/ -GtkExpander { +.expander { -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); } - GtkExpander:dir(rtl) { + .expander:dir(rtl) { -gtk-icon-source: -gtk-icontheme("pan-end-symbolic-rtl"); } - GtkExpander:hover { + .expander:hover { color: #aaaeb7; } - GtkExpander:checked { + .expander:checked { -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); } -/************ - * Calendar * - ***********/ GtkCalendar { color: #5c616c; border: 1px solid #dcdfe3; @@ -2132,9 +2049,6 @@ GtkCalendar { GtkCalendar.highlight { color: alpha(currentColor,0.55); } -/*********** - * Dialogs * - ***********/ .message-dialog .dialog-action-area .button { padding: 8px; } @@ -2167,9 +2081,6 @@ GtkFileChooserDialog .search-bar { GtkFileChooserDialog .dialog-action-box { border-top: 1px solid #dcdfe3; } -/*********** - * Sidebar * - ***********/ .sidebar { border: none; background-color: #F5F6F7; } @@ -2204,9 +2115,6 @@ GtkPaned { .pane-separator { background-image: linear-gradient(to bottom, #dcdfe3); } -/************** - * GtkInfoBar * - **************/ GtkInfoBar { border-style: none; } @@ -2248,9 +2156,6 @@ GtkInfoBar { background-color: rgba(255, 255, 255, 0.2); border-color: rgba(255, 255, 255, 0.2); } -/************ - * Tooltips * - ************/ .tooltip { color: #BAC3CF; border-radius: 2px; } @@ -2265,9 +2170,6 @@ GtkInfoBar { background-color: transparent; color: inherit; } -/***************** - * Color Chooser * - *****************/ GtkColorSwatch { border: none; box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.4); } @@ -2316,9 +2218,6 @@ GtkColorButton.button { GtkColorButton.button GtkColorSwatch { border-radius: 0; } -/******** - * Misc * - ********/ .scale-popup .button { padding: 6px; } .scale-popup .button:hover { @@ -2330,14 +2229,89 @@ GtkColorButton.button { GtkVolumeButton.button { padding: 8px; } -/********************** - * Window Decorations * - *********************/ +.touch-selection, +.context-menu { + font: initial; } + +.monospace { + font: Monospace; } + +.overshoot.top { + background-image: -gtk-gradient(radial, center top, 0, center top, 0.6, from(rgba(82, 148, 226, 0.2)), to(rgba(82, 148, 226, 0))); + background-size: 100% 60%; + background-repeat: no-repeat; + background-position: center top; + background-color: transparent; + border: none; + box-shadow: none; } + +.overshoot.bottom { + background-image: -gtk-gradient(radial, center bottom, 0, center bottom, 0.6, from(rgba(82, 148, 226, 0.2)), to(rgba(82, 148, 226, 0))); + background-size: 100% 60%; + background-repeat: no-repeat; + background-position: center bottom; + background-color: transparent; + border: none; + box-shadow: none; } + +.overshoot.left { + background-image: -gtk-gradient(radial, left center, 0, left center, 0.6, from(rgba(82, 148, 226, 0.2)), to(rgba(82, 148, 226, 0))); + background-size: 60% 100%; + background-repeat: no-repeat; + background-position: left center; + background-color: transparent; + border: none; + box-shadow: none; } + +.overshoot.right { + background-image: -gtk-gradient(radial, right center, 0, right center, 0.6, from(rgba(82, 148, 226, 0.2)), to(rgba(82, 148, 226, 0))); + background-size: 60% 100%; + background-repeat: no-repeat; + background-position: right center; + background-color: transparent; + border: none; + box-shadow: none; } + +.undershoot.top { + background-color: transparent; + background-image: linear-gradient(to left, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%); + padding-top: 1px; + background-size: 10px 1px; + background-repeat: repeat-x; + background-origin: content-box; + background-position: center top; } + +.undershoot.bottom { + background-color: transparent; + background-image: linear-gradient(to left, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%); + padding-bottom: 1px; + background-size: 10px 1px; + background-repeat: repeat-x; + background-origin: content-box; + background-position: center bottom; } + +.undershoot.left { + background-color: transparent; + background-image: linear-gradient(to top, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%); + padding-left: 1px; + background-size: 1px 10px; + background-repeat: repeat-y; + background-origin: content-box; + background-position: left center; } + +.undershoot.right { + background-color: transparent; + background-image: linear-gradient(to top, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%); + padding-right: 1px; + background-size: 1px 10px; + background-repeat: repeat-y; + background-origin: content-box; + background-position: right center; } + .window-frame { border-radius: 3px 3px 0 0; border-width: 0px; box-shadow: 0 0 0 1px rgba(32, 35, 43, 0.97), 0 8px 8px 0 rgba(0, 0, 0, 0.2); - /* this is used for the resize cursor area */ margin: 10px; } .window-frame:backdrop { box-shadow: 0 0 0 1px rgba(32, 35, 43, 0.87), 0 5px 5px 0 rgba(0, 0, 0, 0.2); } @@ -2616,86 +2590,6 @@ GtkVolumeButton.button { color: #ffffff; outline-color: rgba(255, 255, 255, 0.3); } -/* Decouple the font of context menus from their entry/textview */ -.touch-selection, -.context-menu { - font: initial; } - -.monospace { - font: Monospace; } - -.overshoot.top { - background-image: -gtk-gradient(radial, center top, 0, center top, 0.6, from(rgba(82, 148, 226, 0.2)), to(rgba(82, 148, 226, 0))); - background-size: 100% 60%; - background-repeat: no-repeat; - background-position: center top; - background-color: transparent; - border: none; - box-shadow: none; } - -.overshoot.bottom { - background-image: -gtk-gradient(radial, center bottom, 0, center bottom, 0.6, from(rgba(82, 148, 226, 0.2)), to(rgba(82, 148, 226, 0))); - background-size: 100% 60%; - background-repeat: no-repeat; - background-position: center bottom; - background-color: transparent; - border: none; - box-shadow: none; } - -.overshoot.left { - background-image: -gtk-gradient(radial, left center, 0, left center, 0.6, from(rgba(82, 148, 226, 0.2)), to(rgba(82, 148, 226, 0))); - background-size: 60% 100%; - background-repeat: no-repeat; - background-position: left center; - background-color: transparent; - border: none; - box-shadow: none; } - -.overshoot.right { - background-image: -gtk-gradient(radial, right center, 0, right center, 0.6, from(rgba(82, 148, 226, 0.2)), to(rgba(82, 148, 226, 0))); - background-size: 60% 100%; - background-repeat: no-repeat; - background-position: right center; - background-color: transparent; - border: none; - box-shadow: none; } - -.undershoot.top { - background-color: transparent; - background-image: linear-gradient(to left, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%); - padding-top: 1px; - background-size: 10px 1px; - background-repeat: repeat-x; - background-origin: content-box; - background-position: center top; } - -.undershoot.bottom { - background-color: transparent; - background-image: linear-gradient(to left, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%); - padding-bottom: 1px; - background-size: 10px 1px; - background-repeat: repeat-x; - background-origin: content-box; - background-position: center bottom; } - -.undershoot.left { - background-color: transparent; - background-image: linear-gradient(to top, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%); - padding-left: 1px; - background-size: 1px 10px; - background-repeat: repeat-y; - background-origin: content-box; - background-position: left center; } - -.undershoot.right { - background-color: transparent; - background-image: linear-gradient(to top, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%); - padding-right: 1px; - background-size: 1px 10px; - background-repeat: repeat-y; - background-origin: content-box; - background-position: right center; } - GeditNotebook.notebook tab.reorderable-page.top:active, GeditNotebook.notebook tab.reorderable-page.top.active-page, GeditNotebook.notebook tab.reorderable-page.top.active-page:hover, GeditNotebook.notebook tab.top:active, GeditNotebook.notebook tab.top.active-page, GeditNotebook.notebook tab.top.active-page:hover, ScratchMainWindow .notebook tab.reorderable-page.top:active, ScratchMainWindow .notebook tab.reorderable-page.top.active-page, @@ -3463,13 +3357,11 @@ GraniteWidgetsXsEntry.entry { GtkListBox .h4 { padding-left: 6px; } -/* the panel widget at the top */ #panel_window { background-color: rgba(43, 46, 55, 0.95); color: #BAC3CF; font: bold; - box-shadow: inset 0 -1px rgba(27, 29, 35, 0.95); - /* the menubars/menus of the panel, i.e. indicators */ } + box-shadow: inset 0 -1px rgba(27, 29, 35, 0.95); } #panel_window .menubar, #panel_window .menubar > .menuitem { background-color: transparent; @@ -3482,7 +3374,6 @@ GtkListBox .h4 { #panel_window .menubar .menu .menuitem { font: normal; } -/* the login window */ #login_window, #shutdown_dialog, #restart_dialog { @@ -3491,7 +3382,6 @@ GtkListBox .h4 { background-color: transparent; color: #5c616c; } -/* the top half of the login-window, in GtkDialog terms, the content */ #content_frame { padding-bottom: 14px; background-color: #F5F6F7; @@ -3522,7 +3412,6 @@ GtkListBox .h4 { #content_frame .button:insensitive > GtkLabel { color: inherit; } -/* the lower half of the login-window, in GtkDialog terms the buttonbox or action area */ #buttonbox_frame { padding-top: 20px; padding-bottom: 0px; @@ -3560,13 +3449,10 @@ GtkListBox .h4 { #login_window #user_combobox .menu { font: normal; } -/* the user's avatar box */ #user_image { padding: 3px; border-radius: 2px; } -/* the border around the user's avatar box */ -/* the shutdown button */ #shutdown_button.button { background-clip: border-box; color: #ffffff; @@ -3586,7 +3472,6 @@ GtkListBox .h4 { background-color: #ec1b22; border-color: #ec1b22; } -/* the restart button */ #restart_button.button { background-clip: border-box; color: #ffffff; @@ -3606,7 +3491,6 @@ GtkListBox .h4 { background-color: #2e96c0; border-color: #2e96c0; } -/* the warning, in case a wrong password is entered or something else goes wrong according to PAM */ #greeter_infobar { border-bottom-width: 0; font: bold; } @@ -3731,7 +3615,6 @@ NemoWindow.background > GtkGrid > GtkPaned > .pane-separator, MarlinViewWindow.background > GtkBox > GtkPaned > .pane-separator { background-color: rgba(53, 57, 69, 0.95); } -/*Fix Nautilus transparency issues*/ NautilusWindow NautilusWindowSlot { background-color: #ffffff; } diff --git a/common/gtk-3.0/3.14/gtk-solid-dark.css b/common/gtk-3.0/3.14/gtk-solid-dark.css index 82cea77..60a023c 100644 --- a/common/gtk-3.0/3.14/gtk-solid-dark.css +++ b/common/gtk-3.0/3.14/gtk-solid-dark.css @@ -28,19 +28,10 @@ outline-width: 1px; outline-radius: 2px; } -/*************** - * Base States * - ***************/ .background { color: #D3DAE3; background-color: #383C4A; } -/* - 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; } @@ -117,9 +108,6 @@ GtkFlowBox .grid-child { outline-color: rgba(186, 195, 207, 0.3); box-shadow: none; } -/********************** - * Spinner Animations * - **********************/ @keyframes spin { to { -gtk-icon-transform: rotate(1turn); } } @@ -135,9 +123,6 @@ GtkFlowBox .grid-child { .spinner:active:insensitive { opacity: 0.5; } -/**************** - * Text Entries * - ****************/ .entry { border: 1px solid; padding: 5px 8px 6px; @@ -259,9 +244,6 @@ GtkFlowBox .grid-child { GtkSearchEntry.entry { border-radius: 20px; } -/*********** - * Buttons * - ***********/ @keyframes needs_attention { from { background-image: -gtk-gradient(radial, center center, 0, center center, 0.01, to(#5294E2), to(transparent)); } @@ -673,9 +655,6 @@ GtkSearchEntry.entry { .menuitem.button.flat:checked { color: #D3DAE3; } -/********* - * Links * - *********/ *:link, .button:link, .button:visited { color: #a9caf1; } *:link:visited, .button:visited { @@ -693,9 +672,6 @@ GtkSearchEntry.entry { *:link:selected, .button:selected:link, .button:selected:visited, .header-bar.selection-mode .subtitle:link, .header-bar.titlebar.selection-mode .subtitle:link, *:selected *:link, *:selected .button:link, *:selected .button:visited { color: #dceaf9; } -/***************** - * GtkSpinButton * - *****************/ .spinbutton { border-radius: 3px; } .spinbutton .button { @@ -773,9 +749,6 @@ GtkSearchEntry.entry { border-radius: 0; box-shadow: none; } -/************** - * ComboBoxes * - **************/ GtkComboBox { -GtkComboBox-arrow-scaling: 0.5; -GtkComboBox-shadow-type: none; } @@ -799,9 +772,6 @@ GtkComboBox { GtkComboBox.combobox-entry .button:dir(rtl):insensitive { box-shadow: inset -1px 0 rgba(43, 46, 57, 0.55); } -/************ - * Toolbars * - ************/ .toolbar, .inline-toolbar { -GtkWidget-window-dragging: true; padding: 4px; @@ -838,9 +808,6 @@ GtkComboBox { .action-bar { background-color: #313541; } -/*************** - * Header bars * - ***************/ .header-bar { padding: 7px 7px 6px 7px; border-width: 0 0 1px; @@ -1225,9 +1192,6 @@ GtkComboBox { background-image: linear-gradient(to bottom, #3e4553); border-color: rgba(21, 23, 28, 0.7); } -/************ - * Pathbars * - ************/ .path-bar .button { padding-left: 6px; padding-right: 6px; } @@ -1242,9 +1206,6 @@ GtkComboBox { padding-right: 4px; padding-left: 4px; } -/************** - * Tree Views * - **************/ GtkTreeView.view { -GtkTreeView-grid-line-width: 1; -GtkTreeView-grid-line-pattern: ''; @@ -1317,9 +1278,6 @@ column-header .button, column-header .button:hover, column-header .button:active border-color: #383C4A; background-image: none; } -/********* - * Menus * - *********/ .menubar { -GtkWidget-window-dragging: true; padding: 0px; @@ -1383,9 +1341,6 @@ column-header .button, column-header .button:hover, column-header .button:active .menuitem .accelerator { color: alpha(currentColor,0.55); } -/************ - * Popovers * - ************/ .popover { margin: 10px; padding: 2px; @@ -1418,10 +1373,6 @@ column-header .button, column-header .button:hover, column-header .button:active .cursor-handle.bottom { -gtk-icon-source: -gtk-icontheme("selection-end-symbolic"); } -/***************** - * Notebooks and * - * Tabs * - *****************/ .notebook { padding: 0; background-color: #404552; @@ -1554,9 +1505,6 @@ column-header .button, column-header .button:hover, column-header .button:active .notebook.arrow:insensitive { color: rgba(211, 218, 227, 0.15); } -/************** - * Scrollbars * - **************/ .scrollbar { background-clip: padding-box; background-image: none; @@ -1601,9 +1549,6 @@ column-header .button, column-header .button:hover, column-header .button:active border-color: transparent; background-color: #3e434f; } -/********** - * Switch * - **********/ GtkSwitch { font: 1; -GtkSwitch-slider-width: 41; @@ -1664,9 +1609,6 @@ GtkInfoBar GtkSwitch.trough:active:insensitive { .primary-toolbar GtkSwitch.trough:active:insensitive { background-image: -gtk-scaled(url("assets/switch-active-insensitive-header-dark.png"), url("assets/switch-active-insensitive-header-dark@2.png")); } -/************************* - * Check and Radio items * - *************************/ .check { -gtk-icon-source: -gtk-scaled(url("assets/checkbox-unchecked-dark.png"), url("assets/checkbox-unchecked-dark@2.png")); } @@ -1827,9 +1769,6 @@ GtkCheckButton.text-button, GtkRadioButton.text-button { GtkCheckButton.text-button:insensitive, GtkCheckButton.text-button:insensitive:active, GtkCheckButton.text-button:insensitive:inconsistent, GtkRadioButton.text-button:insensitive, GtkRadioButton.text-button:insensitive:active, GtkRadioButton.text-button:insensitive:inconsistent { color: rgba(211, 218, 227, 0.45); } -/************ - * GtkScale * - ************/ .scale { -GtkScale-slider-length: 15; -GtkRange-slider-width: 15; @@ -1909,9 +1848,6 @@ GtkCheckButton.text-button, GtkRadioButton.text-button { GtkInfoBar .scale.trough:insensitive { background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.1)); } -/***************** - * Progress bars * - *****************/ GtkProgressBar { padding: 0; font-size: smaller; @@ -1948,16 +1884,12 @@ GtkProgressBar.trough, .level-bar.trough { GtkInfoBar .level-bar.trough { background-color: rgba(0, 0, 0, 0.2); } -/************* - * 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; } + GtkLevelBar.vertical { + -GtkLevelBar-min-block-width: 3; + -GtkLevelBar-min-block-height: 34; } .level-bar.trough { padding: 3px; @@ -1981,9 +1913,6 @@ GtkLevelBar.vertical { background-color: #404552; border-color: #404552; } -/********** - * Frames * - **********/ .frame { border: 1px solid #2b2e39; padding: 0; } @@ -2010,9 +1939,6 @@ GtkScrolledWindow GtkViewport.frame { GtkFontButton .vertical.view.separator { -GtkWidget-wide-separators: true; } -/********* - * Lists * - *********/ .list, .list-row { background-color: #404552; border-color: #2b2e39; } @@ -2045,9 +1971,6 @@ GtkScrolledWindow GtkViewport.frame { .list-row:hover, list-row.button:hover { transition: none; } -/********************* - * App Notifications * - *********************/ .app-notification, .app-notification.frame { padding: 10px; @@ -2087,21 +2010,15 @@ GtkScrolledWindow GtkViewport.frame { border-color: rgba(26, 28, 34, 0.4); background-color: rgba(102, 109, 132, 0.25); } -/************* - * Expanders * - *************/ -GtkExpander { +.expander { -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); } - GtkExpander:dir(rtl) { + .expander:dir(rtl) { -gtk-icon-source: -gtk-icontheme("pan-end-symbolic-rtl"); } - GtkExpander:hover { + .expander:hover { color: white; } - GtkExpander:checked { + .expander:checked { -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); } -/************ - * Calendar * - ***********/ GtkCalendar { color: #D3DAE3; border: 1px solid #2b2e39; @@ -2129,9 +2046,6 @@ GtkCalendar { GtkCalendar.highlight { color: alpha(currentColor,0.55); } -/*********** - * Dialogs * - ***********/ .message-dialog .dialog-action-area .button { padding: 8px; } @@ -2164,9 +2078,6 @@ GtkFileChooserDialog .search-bar { GtkFileChooserDialog .dialog-action-box { border-top: 1px solid #2b2e39; } -/*********** - * Sidebar * - ***********/ .sidebar { border: none; background-color: #383C4A; } @@ -2201,9 +2112,6 @@ GtkPaned { .pane-separator { background-image: linear-gradient(to bottom, #2b2e39); } -/************** - * GtkInfoBar * - **************/ GtkInfoBar { border-style: none; } @@ -2245,9 +2153,6 @@ GtkInfoBar { background-color: rgba(255, 255, 255, 0.2); border-color: rgba(255, 255, 255, 0.2); } -/************ - * Tooltips * - ************/ .tooltip { color: #BAC3CF; border-radius: 2px; } @@ -2262,9 +2167,6 @@ GtkInfoBar { background-color: transparent; color: inherit; } -/***************** - * Color Chooser * - *****************/ GtkColorSwatch { border: none; box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.4); } @@ -2313,9 +2215,6 @@ GtkColorButton.button { GtkColorButton.button GtkColorSwatch { border-radius: 0; } -/******** - * Misc * - ********/ .scale-popup .button { padding: 6px; } .scale-popup .button:hover { @@ -2327,14 +2226,89 @@ GtkColorButton.button { GtkVolumeButton.button { padding: 8px; } -/********************** - * Window Decorations * - *********************/ +.touch-selection, +.context-menu { + font: initial; } + +.monospace { + font: Monospace; } + +.overshoot.top { + background-image: -gtk-gradient(radial, center top, 0, center top, 0.6, from(rgba(82, 148, 226, 0.2)), to(rgba(82, 148, 226, 0))); + background-size: 100% 60%; + background-repeat: no-repeat; + background-position: center top; + background-color: transparent; + border: none; + box-shadow: none; } + +.overshoot.bottom { + background-image: -gtk-gradient(radial, center bottom, 0, center bottom, 0.6, from(rgba(82, 148, 226, 0.2)), to(rgba(82, 148, 226, 0))); + background-size: 100% 60%; + background-repeat: no-repeat; + background-position: center bottom; + background-color: transparent; + border: none; + box-shadow: none; } + +.overshoot.left { + background-image: -gtk-gradient(radial, left center, 0, left center, 0.6, from(rgba(82, 148, 226, 0.2)), to(rgba(82, 148, 226, 0))); + background-size: 60% 100%; + background-repeat: no-repeat; + background-position: left center; + background-color: transparent; + border: none; + box-shadow: none; } + +.overshoot.right { + background-image: -gtk-gradient(radial, right center, 0, right center, 0.6, from(rgba(82, 148, 226, 0.2)), to(rgba(82, 148, 226, 0))); + background-size: 60% 100%; + background-repeat: no-repeat; + background-position: right center; + background-color: transparent; + border: none; + box-shadow: none; } + +.undershoot.top { + background-color: transparent; + background-image: linear-gradient(to left, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%); + padding-top: 1px; + background-size: 10px 1px; + background-repeat: repeat-x; + background-origin: content-box; + background-position: center top; } + +.undershoot.bottom { + background-color: transparent; + background-image: linear-gradient(to left, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%); + padding-bottom: 1px; + background-size: 10px 1px; + background-repeat: repeat-x; + background-origin: content-box; + background-position: center bottom; } + +.undershoot.left { + background-color: transparent; + background-image: linear-gradient(to top, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%); + padding-left: 1px; + background-size: 1px 10px; + background-repeat: repeat-y; + background-origin: content-box; + background-position: left center; } + +.undershoot.right { + background-color: transparent; + background-image: linear-gradient(to top, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%); + padding-right: 1px; + background-size: 1px 10px; + background-repeat: repeat-y; + background-origin: content-box; + background-position: right center; } + .window-frame { border-radius: 3px 3px 0 0; border-width: 0px; box-shadow: 0 0 0 1px #20232b, 0 8px 8px 0 rgba(0, 0, 0, 0.35); - /* this is used for the resize cursor area */ margin: 10px; } .window-frame:backdrop { box-shadow: 0 0 0 1px rgba(32, 35, 43, 0.9), 0 5px 5px 0 rgba(0, 0, 0, 0.35); } @@ -2613,86 +2587,6 @@ GtkVolumeButton.button { color: #ffffff; outline-color: rgba(255, 255, 255, 0.3); } -/* Decouple the font of context menus from their entry/textview */ -.touch-selection, -.context-menu { - font: initial; } - -.monospace { - font: Monospace; } - -.overshoot.top { - background-image: -gtk-gradient(radial, center top, 0, center top, 0.6, from(rgba(82, 148, 226, 0.2)), to(rgba(82, 148, 226, 0))); - background-size: 100% 60%; - background-repeat: no-repeat; - background-position: center top; - background-color: transparent; - border: none; - box-shadow: none; } - -.overshoot.bottom { - background-image: -gtk-gradient(radial, center bottom, 0, center bottom, 0.6, from(rgba(82, 148, 226, 0.2)), to(rgba(82, 148, 226, 0))); - background-size: 100% 60%; - background-repeat: no-repeat; - background-position: center bottom; - background-color: transparent; - border: none; - box-shadow: none; } - -.overshoot.left { - background-image: -gtk-gradient(radial, left center, 0, left center, 0.6, from(rgba(82, 148, 226, 0.2)), to(rgba(82, 148, 226, 0))); - background-size: 60% 100%; - background-repeat: no-repeat; - background-position: left center; - background-color: transparent; - border: none; - box-shadow: none; } - -.overshoot.right { - background-image: -gtk-gradient(radial, right center, 0, right center, 0.6, from(rgba(82, 148, 226, 0.2)), to(rgba(82, 148, 226, 0))); - background-size: 60% 100%; - background-repeat: no-repeat; - background-position: right center; - background-color: transparent; - border: none; - box-shadow: none; } - -.undershoot.top { - background-color: transparent; - background-image: linear-gradient(to left, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%); - padding-top: 1px; - background-size: 10px 1px; - background-repeat: repeat-x; - background-origin: content-box; - background-position: center top; } - -.undershoot.bottom { - background-color: transparent; - background-image: linear-gradient(to left, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%); - padding-bottom: 1px; - background-size: 10px 1px; - background-repeat: repeat-x; - background-origin: content-box; - background-position: center bottom; } - -.undershoot.left { - background-color: transparent; - background-image: linear-gradient(to top, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%); - padding-left: 1px; - background-size: 1px 10px; - background-repeat: repeat-y; - background-origin: content-box; - background-position: left center; } - -.undershoot.right { - background-color: transparent; - background-image: linear-gradient(to top, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%); - padding-right: 1px; - background-size: 1px 10px; - background-repeat: repeat-y; - background-origin: content-box; - background-position: right center; } - GeditNotebook.notebook tab.reorderable-page.top:active, GeditNotebook.notebook tab.reorderable-page.top.active-page, GeditNotebook.notebook tab.reorderable-page.top.active-page:hover, GeditNotebook.notebook tab.top:active, GeditNotebook.notebook tab.top.active-page, GeditNotebook.notebook tab.top.active-page:hover, ScratchMainWindow .notebook tab.reorderable-page.top:active, ScratchMainWindow .notebook tab.reorderable-page.top.active-page, @@ -3460,13 +3354,11 @@ GraniteWidgetsXsEntry.entry { GtkListBox .h4 { padding-left: 6px; } -/* the panel widget at the top */ #panel_window { background-color: #2b2e37; color: #BAC3CF; font: bold; - box-shadow: inset 0 -1px #1b1d23; - /* the menubars/menus of the panel, i.e. indicators */ } + box-shadow: inset 0 -1px #1b1d23; } #panel_window .menubar, #panel_window .menubar > .menuitem { background-color: transparent; @@ -3479,7 +3371,6 @@ GtkListBox .h4 { #panel_window .menubar .menu .menuitem { font: normal; } -/* the login window */ #login_window, #shutdown_dialog, #restart_dialog { @@ -3488,7 +3379,6 @@ GtkListBox .h4 { background-color: transparent; color: #D3DAE3; } -/* the top half of the login-window, in GtkDialog terms, the content */ #content_frame { padding-bottom: 14px; background-color: #383C4A; @@ -3519,7 +3409,6 @@ GtkListBox .h4 { #content_frame .button:insensitive > GtkLabel { color: inherit; } -/* the lower half of the login-window, in GtkDialog terms the buttonbox or action area */ #buttonbox_frame { padding-top: 20px; padding-bottom: 0px; @@ -3557,13 +3446,10 @@ GtkListBox .h4 { #login_window #user_combobox .menu { font: normal; } -/* the user's avatar box */ #user_image { padding: 3px; border-radius: 2px; } -/* the border around the user's avatar box */ -/* the shutdown button */ #shutdown_button.button { background-clip: border-box; color: #ffffff; @@ -3583,7 +3469,6 @@ GtkListBox .h4 { background-color: #ec1b22; border-color: #ec1b22; } -/* the restart button */ #restart_button.button { background-clip: border-box; color: #ffffff; @@ -3603,7 +3488,6 @@ GtkListBox .h4 { background-color: #2e96c0; border-color: #2e96c0; } -/* the warning, in case a wrong password is entered or something else goes wrong according to PAM */ #greeter_infobar { border-bottom-width: 0; font: bold; } @@ -3738,7 +3622,6 @@ NemoWindow.background > GtkGrid > GtkPaned > .pane-separator, MarlinViewWindow.background > GtkBox > GtkPaned > .pane-separator { background-color: #2a2d37; } -/*Fix Nautilus transparency issues*/ NautilusWindow NautilusWindowSlot { background-color: #404552; } diff --git a/common/gtk-3.0/3.14/gtk-solid-darker.css b/common/gtk-3.0/3.14/gtk-solid-darker.css index 27927ea..20bdf53 100644 --- a/common/gtk-3.0/3.14/gtk-solid-darker.css +++ b/common/gtk-3.0/3.14/gtk-solid-darker.css @@ -28,19 +28,10 @@ outline-width: 1px; outline-radius: 2px; } -/*************** - * Base States * - ***************/ .background { color: #5c616c; background-color: #F5F6F7; } -/* - 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; } @@ -117,9 +108,6 @@ GtkFlowBox .grid-child { outline-color: rgba(186, 195, 207, 0.3); box-shadow: none; } -/********************** - * Spinner Animations * - **********************/ @keyframes spin { to { -gtk-icon-transform: rotate(1turn); } } @@ -135,9 +123,6 @@ GtkFlowBox .grid-child { .spinner:active:insensitive { opacity: 0.5; } -/**************** - * Text Entries * - ****************/ .entry { border: 1px solid; padding: 5px 8px 6px; @@ -258,9 +243,6 @@ GtkFlowBox .grid-child { GtkSearchEntry.entry { border-radius: 20px; } -/*********** - * Buttons * - ***********/ @keyframes needs_attention { from { background-image: -gtk-gradient(radial, center center, 0, center center, 0.01, to(#5294E2), to(transparent)); } @@ -672,9 +654,6 @@ GtkSearchEntry.entry { .menuitem.button.flat:checked { color: #5c616c; } -/********* - * Links * - *********/ *:link, .button:link, .button:visited { color: #2679db; } *:link:visited, .button:visited { @@ -692,9 +671,6 @@ GtkSearchEntry.entry { *:link:selected, .button:selected:link, .button:selected:visited, .header-bar.selection-mode .subtitle:link, .header-bar.titlebar.selection-mode .subtitle:link, *:selected *:link, *:selected .button:link, *:selected .button:visited { color: #dceaf9; } -/***************** - * GtkSpinButton * - *****************/ .spinbutton { border-radius: 3px; } .spinbutton .button { @@ -772,9 +748,6 @@ GtkSearchEntry.entry { border-radius: 0; box-shadow: none; } -/************** - * ComboBoxes * - **************/ GtkComboBox { -GtkComboBox-arrow-scaling: 0.5; -GtkComboBox-shadow-type: none; } @@ -802,9 +775,6 @@ GtkComboBox { GtkComboBox.combobox-entry .button:dir(rtl):insensitive { box-shadow: inset -1px 0 rgba(207, 214, 230, 0.55); } -/************ - * Toolbars * - ************/ .toolbar, .inline-toolbar { -GtkWidget-window-dragging: true; padding: 4px; @@ -841,9 +811,6 @@ GtkComboBox { .action-bar { background-color: #edeef0; } -/*************** - * Header bars * - ***************/ .header-bar { padding: 7px 7px 6px 7px; border-width: 0 0 1px; @@ -1228,9 +1195,6 @@ GtkComboBox { background-image: linear-gradient(to bottom, #3e4553); border-color: rgba(21, 23, 28, 0.7); } -/************ - * Pathbars * - ************/ .path-bar .button { padding-left: 6px; padding-right: 6px; } @@ -1245,9 +1209,6 @@ GtkComboBox { padding-right: 4px; padding-left: 4px; } -/************** - * Tree Views * - **************/ GtkTreeView.view { -GtkTreeView-grid-line-width: 1; -GtkTreeView-grid-line-pattern: ''; @@ -1320,9 +1281,6 @@ column-header .button, column-header .button:hover, column-header .button:active border-color: #F5F6F7; background-image: none; } -/********* - * Menus * - *********/ .menubar { -GtkWidget-window-dragging: true; padding: 0px; @@ -1386,9 +1344,6 @@ column-header .button, column-header .button:hover, column-header .button:active .menuitem .accelerator { color: alpha(currentColor,0.55); } -/************ - * Popovers * - ************/ .popover { margin: 10px; padding: 2px; @@ -1421,10 +1376,6 @@ column-header .button, column-header .button:hover, column-header .button:active .cursor-handle.bottom { -gtk-icon-source: -gtk-icontheme("selection-end-symbolic"); } -/***************** - * Notebooks and * - * Tabs * - *****************/ .notebook { padding: 0; background-color: #ffffff; @@ -1557,9 +1508,6 @@ column-header .button, column-header .button:hover, column-header .button:active .notebook.arrow:insensitive { color: rgba(92, 97, 108, 0.25); } -/************** - * Scrollbars * - **************/ .scrollbar { background-clip: padding-box; background-image: none; @@ -1604,9 +1552,6 @@ column-header .button, column-header .button:hover, column-header .button:active border-color: transparent; background-color: #fcfcfc; } -/********** - * Switch * - **********/ GtkSwitch { font: 1; -GtkSwitch-slider-width: 41; @@ -1667,9 +1612,6 @@ GtkInfoBar GtkSwitch.trough:active:insensitive { .primary-toolbar GtkSwitch.trough:active:insensitive { background-image: -gtk-scaled(url("assets/switch-active-insensitive-header-dark.png"), url("assets/switch-active-insensitive-header-dark@2.png")); } -/************************* - * Check and Radio items * - *************************/ .check { -gtk-icon-source: -gtk-scaled(url("assets/checkbox-unchecked.png"), url("assets/checkbox-unchecked@2.png")); } @@ -1830,9 +1772,6 @@ GtkCheckButton.text-button, GtkRadioButton.text-button { GtkCheckButton.text-button:insensitive, GtkCheckButton.text-button:insensitive:active, GtkCheckButton.text-button:insensitive:inconsistent, GtkRadioButton.text-button:insensitive, GtkRadioButton.text-button:insensitive:active, GtkRadioButton.text-button:insensitive:inconsistent { color: rgba(92, 97, 108, 0.55); } -/************ - * GtkScale * - ************/ .scale { -GtkScale-slider-length: 15; -GtkRange-slider-width: 15; @@ -1912,9 +1851,6 @@ GtkCheckButton.text-button, GtkRadioButton.text-button { GtkInfoBar .scale.trough:insensitive { background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.1)); } -/***************** - * Progress bars * - *****************/ GtkProgressBar { padding: 0; font-size: smaller; @@ -1951,16 +1887,12 @@ GtkProgressBar.trough, .level-bar.trough { GtkInfoBar .level-bar.trough { background-color: rgba(0, 0, 0, 0.2); } -/************* - * 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; } + GtkLevelBar.vertical { + -GtkLevelBar-min-block-width: 3; + -GtkLevelBar-min-block-height: 34; } .level-bar.trough { padding: 3px; @@ -1984,9 +1916,6 @@ GtkLevelBar.vertical { background-color: rgba(92, 97, 108, 0.2); border-color: rgba(92, 97, 108, 0.2); } -/********** - * Frames * - **********/ .frame { border: 1px solid #dcdfe3; padding: 0; } @@ -2013,9 +1942,6 @@ GtkScrolledWindow GtkViewport.frame { GtkFontButton .vertical.view.separator { -GtkWidget-wide-separators: true; } -/********* - * Lists * - *********/ .list, .list-row { background-color: #ffffff; border-color: #dcdfe3; } @@ -2048,9 +1974,6 @@ GtkScrolledWindow GtkViewport.frame { .list-row:hover, list-row.button:hover { transition: none; } -/********************* - * App Notifications * - *********************/ .app-notification, .app-notification.frame { padding: 10px; @@ -2090,21 +2013,15 @@ GtkScrolledWindow GtkViewport.frame { border-color: rgba(26, 28, 34, 0.4); background-color: rgba(102, 109, 132, 0.25); } -/************* - * Expanders * - *************/ -GtkExpander { +.expander { -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); } - GtkExpander:dir(rtl) { + .expander:dir(rtl) { -gtk-icon-source: -gtk-icontheme("pan-end-symbolic-rtl"); } - GtkExpander:hover { + .expander:hover { color: #aaaeb7; } - GtkExpander:checked { + .expander:checked { -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); } -/************ - * Calendar * - ***********/ GtkCalendar { color: #5c616c; border: 1px solid #dcdfe3; @@ -2132,9 +2049,6 @@ GtkCalendar { GtkCalendar.highlight { color: alpha(currentColor,0.55); } -/*********** - * Dialogs * - ***********/ .message-dialog .dialog-action-area .button { padding: 8px; } @@ -2167,9 +2081,6 @@ GtkFileChooserDialog .search-bar { GtkFileChooserDialog .dialog-action-box { border-top: 1px solid #dcdfe3; } -/*********** - * Sidebar * - ***********/ .sidebar { border: none; background-color: #F5F6F7; } @@ -2204,9 +2115,6 @@ GtkPaned { .pane-separator { background-image: linear-gradient(to bottom, #dcdfe3); } -/************** - * GtkInfoBar * - **************/ GtkInfoBar { border-style: none; } @@ -2248,9 +2156,6 @@ GtkInfoBar { background-color: rgba(255, 255, 255, 0.2); border-color: rgba(255, 255, 255, 0.2); } -/************ - * Tooltips * - ************/ .tooltip { color: #BAC3CF; border-radius: 2px; } @@ -2265,9 +2170,6 @@ GtkInfoBar { background-color: transparent; color: inherit; } -/***************** - * Color Chooser * - *****************/ GtkColorSwatch { border: none; box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.4); } @@ -2316,9 +2218,6 @@ GtkColorButton.button { GtkColorButton.button GtkColorSwatch { border-radius: 0; } -/******** - * Misc * - ********/ .scale-popup .button { padding: 6px; } .scale-popup .button:hover { @@ -2330,14 +2229,89 @@ GtkColorButton.button { GtkVolumeButton.button { padding: 8px; } -/********************** - * Window Decorations * - *********************/ +.touch-selection, +.context-menu { + font: initial; } + +.monospace { + font: Monospace; } + +.overshoot.top { + background-image: -gtk-gradient(radial, center top, 0, center top, 0.6, from(rgba(82, 148, 226, 0.2)), to(rgba(82, 148, 226, 0))); + background-size: 100% 60%; + background-repeat: no-repeat; + background-position: center top; + background-color: transparent; + border: none; + box-shadow: none; } + +.overshoot.bottom { + background-image: -gtk-gradient(radial, center bottom, 0, center bottom, 0.6, from(rgba(82, 148, 226, 0.2)), to(rgba(82, 148, 226, 0))); + background-size: 100% 60%; + background-repeat: no-repeat; + background-position: center bottom; + background-color: transparent; + border: none; + box-shadow: none; } + +.overshoot.left { + background-image: -gtk-gradient(radial, left center, 0, left center, 0.6, from(rgba(82, 148, 226, 0.2)), to(rgba(82, 148, 226, 0))); + background-size: 60% 100%; + background-repeat: no-repeat; + background-position: left center; + background-color: transparent; + border: none; + box-shadow: none; } + +.overshoot.right { + background-image: -gtk-gradient(radial, right center, 0, right center, 0.6, from(rgba(82, 148, 226, 0.2)), to(rgba(82, 148, 226, 0))); + background-size: 60% 100%; + background-repeat: no-repeat; + background-position: right center; + background-color: transparent; + border: none; + box-shadow: none; } + +.undershoot.top { + background-color: transparent; + background-image: linear-gradient(to left, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%); + padding-top: 1px; + background-size: 10px 1px; + background-repeat: repeat-x; + background-origin: content-box; + background-position: center top; } + +.undershoot.bottom { + background-color: transparent; + background-image: linear-gradient(to left, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%); + padding-bottom: 1px; + background-size: 10px 1px; + background-repeat: repeat-x; + background-origin: content-box; + background-position: center bottom; } + +.undershoot.left { + background-color: transparent; + background-image: linear-gradient(to top, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%); + padding-left: 1px; + background-size: 1px 10px; + background-repeat: repeat-y; + background-origin: content-box; + background-position: left center; } + +.undershoot.right { + background-color: transparent; + background-image: linear-gradient(to top, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%); + padding-right: 1px; + background-size: 1px 10px; + background-repeat: repeat-y; + background-origin: content-box; + background-position: right center; } + .window-frame { border-radius: 3px 3px 0 0; border-width: 0px; box-shadow: 0 0 0 1px #20232b, 0 8px 8px 0 rgba(0, 0, 0, 0.2); - /* this is used for the resize cursor area */ margin: 10px; } .window-frame:backdrop { box-shadow: 0 0 0 1px rgba(32, 35, 43, 0.9), 0 5px 5px 0 rgba(0, 0, 0, 0.2); } @@ -2616,86 +2590,6 @@ GtkVolumeButton.button { color: #ffffff; outline-color: rgba(255, 255, 255, 0.3); } -/* Decouple the font of context menus from their entry/textview */ -.touch-selection, -.context-menu { - font: initial; } - -.monospace { - font: Monospace; } - -.overshoot.top { - background-image: -gtk-gradient(radial, center top, 0, center top, 0.6, from(rgba(82, 148, 226, 0.2)), to(rgba(82, 148, 226, 0))); - background-size: 100% 60%; - background-repeat: no-repeat; - background-position: center top; - background-color: transparent; - border: none; - box-shadow: none; } - -.overshoot.bottom { - background-image: -gtk-gradient(radial, center bottom, 0, center bottom, 0.6, from(rgba(82, 148, 226, 0.2)), to(rgba(82, 148, 226, 0))); - background-size: 100% 60%; - background-repeat: no-repeat; - background-position: center bottom; - background-color: transparent; - border: none; - box-shadow: none; } - -.overshoot.left { - background-image: -gtk-gradient(radial, left center, 0, left center, 0.6, from(rgba(82, 148, 226, 0.2)), to(rgba(82, 148, 226, 0))); - background-size: 60% 100%; - background-repeat: no-repeat; - background-position: left center; - background-color: transparent; - border: none; - box-shadow: none; } - -.overshoot.right { - background-image: -gtk-gradient(radial, right center, 0, right center, 0.6, from(rgba(82, 148, 226, 0.2)), to(rgba(82, 148, 226, 0))); - background-size: 60% 100%; - background-repeat: no-repeat; - background-position: right center; - background-color: transparent; - border: none; - box-shadow: none; } - -.undershoot.top { - background-color: transparent; - background-image: linear-gradient(to left, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%); - padding-top: 1px; - background-size: 10px 1px; - background-repeat: repeat-x; - background-origin: content-box; - background-position: center top; } - -.undershoot.bottom { - background-color: transparent; - background-image: linear-gradient(to left, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%); - padding-bottom: 1px; - background-size: 10px 1px; - background-repeat: repeat-x; - background-origin: content-box; - background-position: center bottom; } - -.undershoot.left { - background-color: transparent; - background-image: linear-gradient(to top, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%); - padding-left: 1px; - background-size: 1px 10px; - background-repeat: repeat-y; - background-origin: content-box; - background-position: left center; } - -.undershoot.right { - background-color: transparent; - background-image: linear-gradient(to top, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%); - padding-right: 1px; - background-size: 1px 10px; - background-repeat: repeat-y; - background-origin: content-box; - background-position: right center; } - GeditNotebook.notebook tab.reorderable-page.top:active, GeditNotebook.notebook tab.reorderable-page.top.active-page, GeditNotebook.notebook tab.reorderable-page.top.active-page:hover, GeditNotebook.notebook tab.top:active, GeditNotebook.notebook tab.top.active-page, GeditNotebook.notebook tab.top.active-page:hover, ScratchMainWindow .notebook tab.reorderable-page.top:active, ScratchMainWindow .notebook tab.reorderable-page.top.active-page, @@ -3463,13 +3357,11 @@ GraniteWidgetsXsEntry.entry { GtkListBox .h4 { padding-left: 6px; } -/* the panel widget at the top */ #panel_window { background-color: #2b2e37; color: #BAC3CF; font: bold; - box-shadow: inset 0 -1px #1b1d23; - /* the menubars/menus of the panel, i.e. indicators */ } + box-shadow: inset 0 -1px #1b1d23; } #panel_window .menubar, #panel_window .menubar > .menuitem { background-color: transparent; @@ -3482,7 +3374,6 @@ GtkListBox .h4 { #panel_window .menubar .menu .menuitem { font: normal; } -/* the login window */ #login_window, #shutdown_dialog, #restart_dialog { @@ -3491,7 +3382,6 @@ GtkListBox .h4 { background-color: transparent; color: #5c616c; } -/* the top half of the login-window, in GtkDialog terms, the content */ #content_frame { padding-bottom: 14px; background-color: #F5F6F7; @@ -3522,7 +3412,6 @@ GtkListBox .h4 { #content_frame .button:insensitive > GtkLabel { color: inherit; } -/* the lower half of the login-window, in GtkDialog terms the buttonbox or action area */ #buttonbox_frame { padding-top: 20px; padding-bottom: 0px; @@ -3560,13 +3449,10 @@ GtkListBox .h4 { #login_window #user_combobox .menu { font: normal; } -/* the user's avatar box */ #user_image { padding: 3px; border-radius: 2px; } -/* the border around the user's avatar box */ -/* the shutdown button */ #shutdown_button.button { background-clip: border-box; color: #ffffff; @@ -3586,7 +3472,6 @@ GtkListBox .h4 { background-color: #ec1b22; border-color: #ec1b22; } -/* the restart button */ #restart_button.button { background-clip: border-box; color: #ffffff; @@ -3606,7 +3491,6 @@ GtkListBox .h4 { background-color: #2e96c0; border-color: #2e96c0; } -/* the warning, in case a wrong password is entered or something else goes wrong according to PAM */ #greeter_infobar { border-bottom-width: 0; font: bold; } @@ -3731,7 +3615,6 @@ NemoWindow.background > GtkGrid > GtkPaned > .pane-separator, MarlinViewWindow.background > GtkBox > GtkPaned > .pane-separator { background-color: #353945; } -/*Fix Nautilus transparency issues*/ NautilusWindow NautilusWindowSlot { background-color: #ffffff; } diff --git a/common/gtk-3.0/3.14/gtk-solid.css b/common/gtk-3.0/3.14/gtk-solid.css index ea1a430..f47f9f4 100644 --- a/common/gtk-3.0/3.14/gtk-solid.css +++ b/common/gtk-3.0/3.14/gtk-solid.css @@ -28,19 +28,10 @@ outline-width: 1px; outline-radius: 2px; } -/*************** - * Base States * - ***************/ .background { color: #5c616c; background-color: #F5F6F7; } -/* - 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; } @@ -117,9 +108,6 @@ GtkFlowBox .grid-child { outline-color: rgba(186, 195, 207, 0.3); box-shadow: none; } -/********************** - * Spinner Animations * - **********************/ @keyframes spin { to { -gtk-icon-transform: rotate(1turn); } } @@ -135,9 +123,6 @@ GtkFlowBox .grid-child { .spinner:active:insensitive { opacity: 0.5; } -/**************** - * Text Entries * - ****************/ .entry { border: 1px solid; padding: 5px 8px 6px; @@ -258,9 +243,6 @@ GtkFlowBox .grid-child { GtkSearchEntry.entry { border-radius: 20px; } -/*********** - * Buttons * - ***********/ @keyframes needs_attention { from { background-image: -gtk-gradient(radial, center center, 0, center center, 0.01, to(#5294E2), to(transparent)); } @@ -672,9 +654,6 @@ GtkSearchEntry.entry { .menuitem.button.flat:checked { color: #5c616c; } -/********* - * Links * - *********/ *:link, .button:link, .button:visited { color: #2679db; } *:link:visited, .button:visited { @@ -692,9 +671,6 @@ GtkSearchEntry.entry { *:link:selected, .button:selected:link, .button:selected:visited, .header-bar.selection-mode .subtitle:link, .header-bar.titlebar.selection-mode .subtitle:link, *:selected *:link, *:selected .button:link, *:selected .button:visited { color: #dceaf9; } -/***************** - * GtkSpinButton * - *****************/ .spinbutton { border-radius: 3px; } .spinbutton .button { @@ -772,9 +748,6 @@ GtkSearchEntry.entry { border-radius: 0; box-shadow: none; } -/************** - * ComboBoxes * - **************/ GtkComboBox { -GtkComboBox-arrow-scaling: 0.5; -GtkComboBox-shadow-type: none; } @@ -802,9 +775,6 @@ GtkComboBox { GtkComboBox.combobox-entry .button:dir(rtl):insensitive { box-shadow: inset -1px 0 rgba(207, 214, 230, 0.55); } -/************ - * Toolbars * - ************/ .toolbar, .inline-toolbar { -GtkWidget-window-dragging: true; padding: 4px; @@ -841,9 +811,6 @@ GtkComboBox { .action-bar { background-color: #edeef0; } -/*************** - * Header bars * - ***************/ .header-bar { padding: 7px 7px 6px 7px; border-width: 0 0 1px; @@ -1228,9 +1195,6 @@ GtkComboBox { background-image: linear-gradient(to bottom, #f5f5f7); border-color: rgba(82, 93, 118, 0.3); } -/************ - * Pathbars * - ************/ .path-bar .button { padding-left: 6px; padding-right: 6px; } @@ -1245,9 +1209,6 @@ GtkComboBox { padding-right: 4px; padding-left: 4px; } -/************** - * Tree Views * - **************/ GtkTreeView.view { -GtkTreeView-grid-line-width: 1; -GtkTreeView-grid-line-pattern: ''; @@ -1320,9 +1281,6 @@ column-header .button, column-header .button:hover, column-header .button:active border-color: #F5F6F7; background-image: none; } -/********* - * Menus * - *********/ .menubar { -GtkWidget-window-dragging: true; padding: 0px; @@ -1386,9 +1344,6 @@ column-header .button, column-header .button:hover, column-header .button:active .menuitem .accelerator { color: alpha(currentColor,0.55); } -/************ - * Popovers * - ************/ .popover { margin: 10px; padding: 2px; @@ -1421,10 +1376,6 @@ column-header .button, column-header .button:hover, column-header .button:active .cursor-handle.bottom { -gtk-icon-source: -gtk-icontheme("selection-end-symbolic"); } -/***************** - * Notebooks and * - * Tabs * - *****************/ .notebook { padding: 0; background-color: #ffffff; @@ -1557,9 +1508,6 @@ column-header .button, column-header .button:hover, column-header .button:active .notebook.arrow:insensitive { color: rgba(92, 97, 108, 0.25); } -/************** - * Scrollbars * - **************/ .scrollbar { background-clip: padding-box; background-image: none; @@ -1604,9 +1552,6 @@ column-header .button, column-header .button:hover, column-header .button:active border-color: transparent; background-color: #fcfcfc; } -/********** - * Switch * - **********/ GtkSwitch { font: 1; -GtkSwitch-slider-width: 41; @@ -1667,9 +1612,6 @@ GtkInfoBar GtkSwitch.trough:active:insensitive { .primary-toolbar GtkSwitch.trough:active:insensitive { background-image: -gtk-scaled(url("assets/switch-active-insensitive-header.png"), url("assets/switch-active-insensitive-header@2.png")); } -/************************* - * Check and Radio items * - *************************/ .check { -gtk-icon-source: -gtk-scaled(url("assets/checkbox-unchecked.png"), url("assets/checkbox-unchecked@2.png")); } @@ -1830,9 +1772,6 @@ GtkCheckButton.text-button, GtkRadioButton.text-button { GtkCheckButton.text-button:insensitive, GtkCheckButton.text-button:insensitive:active, GtkCheckButton.text-button:insensitive:inconsistent, GtkRadioButton.text-button:insensitive, GtkRadioButton.text-button:insensitive:active, GtkRadioButton.text-button:insensitive:inconsistent { color: rgba(92, 97, 108, 0.55); } -/************ - * GtkScale * - ************/ .scale { -GtkScale-slider-length: 15; -GtkRange-slider-width: 15; @@ -1912,9 +1851,6 @@ GtkCheckButton.text-button, GtkRadioButton.text-button { GtkInfoBar .scale.trough:insensitive { background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.1)); } -/***************** - * Progress bars * - *****************/ GtkProgressBar { padding: 0; font-size: smaller; @@ -1951,16 +1887,12 @@ GtkProgressBar.trough, .level-bar.trough { GtkInfoBar .level-bar.trough { background-color: rgba(0, 0, 0, 0.2); } -/************* - * 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; } + GtkLevelBar.vertical { + -GtkLevelBar-min-block-width: 3; + -GtkLevelBar-min-block-height: 34; } .level-bar.trough { padding: 3px; @@ -1984,9 +1916,6 @@ GtkLevelBar.vertical { background-color: rgba(92, 97, 108, 0.2); border-color: rgba(92, 97, 108, 0.2); } -/********** - * Frames * - **********/ .frame { border: 1px solid #dcdfe3; padding: 0; } @@ -2013,9 +1942,6 @@ GtkScrolledWindow GtkViewport.frame { GtkFontButton .vertical.view.separator { -GtkWidget-wide-separators: true; } -/********* - * Lists * - *********/ .list, .list-row { background-color: #ffffff; border-color: #dcdfe3; } @@ -2048,9 +1974,6 @@ GtkScrolledWindow GtkViewport.frame { .list-row:hover, list-row.button:hover { transition: none; } -/********************* - * App Notifications * - *********************/ .app-notification, .app-notification.frame { padding: 10px; @@ -2090,21 +2013,15 @@ GtkScrolledWindow GtkViewport.frame { border-color: rgba(26, 28, 34, 0.4); background-color: rgba(102, 109, 132, 0.25); } -/************* - * Expanders * - *************/ -GtkExpander { +.expander { -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); } - GtkExpander:dir(rtl) { + .expander:dir(rtl) { -gtk-icon-source: -gtk-icontheme("pan-end-symbolic-rtl"); } - GtkExpander:hover { + .expander:hover { color: #aaaeb7; } - GtkExpander:checked { + .expander:checked { -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); } -/************ - * Calendar * - ***********/ GtkCalendar { color: #5c616c; border: 1px solid #dcdfe3; @@ -2132,9 +2049,6 @@ GtkCalendar { GtkCalendar.highlight { color: alpha(currentColor,0.55); } -/*********** - * Dialogs * - ***********/ .message-dialog .dialog-action-area .button { padding: 8px; } @@ -2167,9 +2081,6 @@ GtkFileChooserDialog .search-bar { GtkFileChooserDialog .dialog-action-box { border-top: 1px solid #dcdfe3; } -/*********** - * Sidebar * - ***********/ .sidebar { border: none; background-color: #F5F6F7; } @@ -2204,9 +2115,6 @@ GtkPaned { .pane-separator { background-image: linear-gradient(to bottom, #dcdfe3); } -/************** - * GtkInfoBar * - **************/ GtkInfoBar { border-style: none; } @@ -2248,9 +2156,6 @@ GtkInfoBar { background-color: rgba(255, 255, 255, 0.2); border-color: rgba(255, 255, 255, 0.2); } -/************ - * Tooltips * - ************/ .tooltip { color: #BAC3CF; border-radius: 2px; } @@ -2265,9 +2170,6 @@ GtkInfoBar { background-color: transparent; color: inherit; } -/***************** - * Color Chooser * - *****************/ GtkColorSwatch { border: none; box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.4); } @@ -2316,9 +2218,6 @@ GtkColorButton.button { GtkColorButton.button GtkColorSwatch { border-radius: 0; } -/******** - * Misc * - ********/ .scale-popup .button { padding: 6px; } .scale-popup .button:hover { @@ -2330,14 +2229,89 @@ GtkColorButton.button { GtkVolumeButton.button { padding: 8px; } -/********************** - * Window Decorations * - *********************/ +.touch-selection, +.context-menu { + font: initial; } + +.monospace { + font: Monospace; } + +.overshoot.top { + background-image: -gtk-gradient(radial, center top, 0, center top, 0.6, from(rgba(82, 148, 226, 0.2)), to(rgba(82, 148, 226, 0))); + background-size: 100% 60%; + background-repeat: no-repeat; + background-position: center top; + background-color: transparent; + border: none; + box-shadow: none; } + +.overshoot.bottom { + background-image: -gtk-gradient(radial, center bottom, 0, center bottom, 0.6, from(rgba(82, 148, 226, 0.2)), to(rgba(82, 148, 226, 0))); + background-size: 100% 60%; + background-repeat: no-repeat; + background-position: center bottom; + background-color: transparent; + border: none; + box-shadow: none; } + +.overshoot.left { + background-image: -gtk-gradient(radial, left center, 0, left center, 0.6, from(rgba(82, 148, 226, 0.2)), to(rgba(82, 148, 226, 0))); + background-size: 60% 100%; + background-repeat: no-repeat; + background-position: left center; + background-color: transparent; + border: none; + box-shadow: none; } + +.overshoot.right { + background-image: -gtk-gradient(radial, right center, 0, right center, 0.6, from(rgba(82, 148, 226, 0.2)), to(rgba(82, 148, 226, 0))); + background-size: 60% 100%; + background-repeat: no-repeat; + background-position: right center; + background-color: transparent; + border: none; + box-shadow: none; } + +.undershoot.top { + background-color: transparent; + background-image: linear-gradient(to left, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%); + padding-top: 1px; + background-size: 10px 1px; + background-repeat: repeat-x; + background-origin: content-box; + background-position: center top; } + +.undershoot.bottom { + background-color: transparent; + background-image: linear-gradient(to left, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%); + padding-bottom: 1px; + background-size: 10px 1px; + background-repeat: repeat-x; + background-origin: content-box; + background-position: center bottom; } + +.undershoot.left { + background-color: transparent; + background-image: linear-gradient(to top, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%); + padding-left: 1px; + background-size: 1px 10px; + background-repeat: repeat-y; + background-origin: content-box; + background-position: left center; } + +.undershoot.right { + background-color: transparent; + background-image: linear-gradient(to top, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%); + padding-right: 1px; + background-size: 1px 10px; + background-repeat: repeat-y; + background-origin: content-box; + background-position: right center; } + .window-frame { border-radius: 4px 4px 0 0; border-width: 0px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 8px 8px 0 rgba(0, 0, 0, 0.2); - /* this is used for the resize cursor area */ margin: 10px; } .window-frame:backdrop { box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 5px 5px 0 rgba(0, 0, 0, 0.2); } @@ -2616,86 +2590,6 @@ GtkVolumeButton.button { color: #ffffff; outline-color: rgba(255, 255, 255, 0.3); } -/* Decouple the font of context menus from their entry/textview */ -.touch-selection, -.context-menu { - font: initial; } - -.monospace { - font: Monospace; } - -.overshoot.top { - background-image: -gtk-gradient(radial, center top, 0, center top, 0.6, from(rgba(82, 148, 226, 0.2)), to(rgba(82, 148, 226, 0))); - background-size: 100% 60%; - background-repeat: no-repeat; - background-position: center top; - background-color: transparent; - border: none; - box-shadow: none; } - -.overshoot.bottom { - background-image: -gtk-gradient(radial, center bottom, 0, center bottom, 0.6, from(rgba(82, 148, 226, 0.2)), to(rgba(82, 148, 226, 0))); - background-size: 100% 60%; - background-repeat: no-repeat; - background-position: center bottom; - background-color: transparent; - border: none; - box-shadow: none; } - -.overshoot.left { - background-image: -gtk-gradient(radial, left center, 0, left center, 0.6, from(rgba(82, 148, 226, 0.2)), to(rgba(82, 148, 226, 0))); - background-size: 60% 100%; - background-repeat: no-repeat; - background-position: left center; - background-color: transparent; - border: none; - box-shadow: none; } - -.overshoot.right { - background-image: -gtk-gradient(radial, right center, 0, right center, 0.6, from(rgba(82, 148, 226, 0.2)), to(rgba(82, 148, 226, 0))); - background-size: 60% 100%; - background-repeat: no-repeat; - background-position: right center; - background-color: transparent; - border: none; - box-shadow: none; } - -.undershoot.top { - background-color: transparent; - background-image: linear-gradient(to left, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%); - padding-top: 1px; - background-size: 10px 1px; - background-repeat: repeat-x; - background-origin: content-box; - background-position: center top; } - -.undershoot.bottom { - background-color: transparent; - background-image: linear-gradient(to left, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%); - padding-bottom: 1px; - background-size: 10px 1px; - background-repeat: repeat-x; - background-origin: content-box; - background-position: center bottom; } - -.undershoot.left { - background-color: transparent; - background-image: linear-gradient(to top, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%); - padding-left: 1px; - background-size: 1px 10px; - background-repeat: repeat-y; - background-origin: content-box; - background-position: left center; } - -.undershoot.right { - background-color: transparent; - background-image: linear-gradient(to top, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%); - padding-right: 1px; - background-size: 1px 10px; - background-repeat: repeat-y; - background-origin: content-box; - background-position: right center; } - GeditNotebook.notebook tab.reorderable-page.top:active, GeditNotebook.notebook tab.reorderable-page.top.active-page, GeditNotebook.notebook tab.reorderable-page.top.active-page:hover, GeditNotebook.notebook tab.top:active, GeditNotebook.notebook tab.top.active-page, GeditNotebook.notebook tab.top.active-page:hover, ScratchMainWindow .notebook tab.reorderable-page.top:active, ScratchMainWindow .notebook tab.reorderable-page.top.active-page, @@ -3463,13 +3357,11 @@ GraniteWidgetsXsEntry.entry { GtkListBox .h4 { padding-left: 6px; } -/* the panel widget at the top */ #panel_window { background-color: #2b2e37; color: #BAC3CF; font: bold; - box-shadow: inset 0 -1px #1b1d23; - /* the menubars/menus of the panel, i.e. indicators */ } + box-shadow: inset 0 -1px #1b1d23; } #panel_window .menubar, #panel_window .menubar > .menuitem { background-color: transparent; @@ -3482,7 +3374,6 @@ GtkListBox .h4 { #panel_window .menubar .menu .menuitem { font: normal; } -/* the login window */ #login_window, #shutdown_dialog, #restart_dialog { @@ -3491,7 +3382,6 @@ GtkListBox .h4 { background-color: transparent; color: #5c616c; } -/* the top half of the login-window, in GtkDialog terms, the content */ #content_frame { padding-bottom: 14px; background-color: #F5F6F7; @@ -3522,7 +3412,6 @@ GtkListBox .h4 { #content_frame .button:insensitive > GtkLabel { color: inherit; } -/* the lower half of the login-window, in GtkDialog terms the buttonbox or action area */ #buttonbox_frame { padding-top: 20px; padding-bottom: 0px; @@ -3560,13 +3449,10 @@ GtkListBox .h4 { #login_window #user_combobox .menu { font: normal; } -/* the user's avatar box */ #user_image { padding: 3px; border-radius: 2px; } -/* the border around the user's avatar box */ -/* the shutdown button */ #shutdown_button.button { background-clip: border-box; color: #ffffff; @@ -3586,7 +3472,6 @@ GtkListBox .h4 { background-color: #ec1b22; border-color: #ec1b22; } -/* the restart button */ #restart_button.button { background-clip: border-box; color: #ffffff; @@ -3606,7 +3491,6 @@ GtkListBox .h4 { background-color: #2e96c0; border-color: #2e96c0; } -/* the warning, in case a wrong password is entered or something else goes wrong according to PAM */ #greeter_infobar { border-bottom-width: 0; font: bold; } @@ -3731,7 +3615,6 @@ NemoWindow.background > GtkGrid > GtkPaned > .pane-separator, MarlinViewWindow.background > GtkBox > GtkPaned > .pane-separator { background-color: #353945; } -/*Fix Nautilus transparency issues*/ NautilusWindow NautilusWindowSlot { background-color: #ffffff; } diff --git a/common/gtk-3.0/3.14/gtk.css b/common/gtk-3.0/3.14/gtk.css index 4266b45..78d18b0 100644 --- a/common/gtk-3.0/3.14/gtk.css +++ b/common/gtk-3.0/3.14/gtk.css @@ -28,19 +28,10 @@ outline-width: 1px; outline-radius: 2px; } -/*************** - * Base States * - ***************/ .background { color: #5c616c; background-color: rgba(245, 246, 247, 0.999); } -/* - 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; } @@ -117,9 +108,6 @@ GtkFlowBox .grid-child { outline-color: rgba(186, 195, 207, 0.3); box-shadow: none; } -/********************** - * Spinner Animations * - **********************/ @keyframes spin { to { -gtk-icon-transform: rotate(1turn); } } @@ -135,9 +123,6 @@ GtkFlowBox .grid-child { .spinner:active:insensitive { opacity: 0.5; } -/**************** - * Text Entries * - ****************/ .entry { border: 1px solid; padding: 5px 8px 6px; @@ -258,9 +243,6 @@ GtkFlowBox .grid-child { GtkSearchEntry.entry { border-radius: 20px; } -/*********** - * Buttons * - ***********/ @keyframes needs_attention { from { background-image: -gtk-gradient(radial, center center, 0, center center, 0.01, to(#5294E2), to(transparent)); } @@ -672,9 +654,6 @@ GtkSearchEntry.entry { .menuitem.button.flat:checked { color: #5c616c; } -/********* - * Links * - *********/ *:link, .button:link, .button:visited { color: #2679db; } *:link:visited, .button:visited { @@ -692,9 +671,6 @@ GtkSearchEntry.entry { *:link:selected, .button:selected:link, .button:selected:visited, .header-bar.selection-mode .subtitle:link, .header-bar.titlebar.selection-mode .subtitle:link, *:selected *:link, *:selected .button:link, *:selected .button:visited { color: #dceaf9; } -/***************** - * GtkSpinButton * - *****************/ .spinbutton { border-radius: 3px; } .spinbutton .button { @@ -772,9 +748,6 @@ GtkSearchEntry.entry { border-radius: 0; box-shadow: none; } -/************** - * ComboBoxes * - **************/ GtkComboBox { -GtkComboBox-arrow-scaling: 0.5; -GtkComboBox-shadow-type: none; } @@ -802,9 +775,6 @@ GtkComboBox { GtkComboBox.combobox-entry .button:dir(rtl):insensitive { box-shadow: inset -1px 0 rgba(207, 214, 230, 0.55); } -/************ - * Toolbars * - ************/ .toolbar, .inline-toolbar { -GtkWidget-window-dragging: true; padding: 4px; @@ -841,9 +811,6 @@ GtkComboBox { .action-bar { background-color: #edeef0; } -/*************** - * Header bars * - ***************/ .header-bar { padding: 7px 7px 6px 7px; border-width: 0 0 1px; @@ -1228,9 +1195,6 @@ GtkComboBox { background-image: linear-gradient(to bottom, rgba(245, 246, 247, 0.985)); border-color: rgba(82, 93, 118, 0.3); } -/************ - * Pathbars * - ************/ .path-bar .button { padding-left: 6px; padding-right: 6px; } @@ -1245,9 +1209,6 @@ GtkComboBox { padding-right: 4px; padding-left: 4px; } -/************** - * Tree Views * - **************/ GtkTreeView.view { -GtkTreeView-grid-line-width: 1; -GtkTreeView-grid-line-pattern: ''; @@ -1320,9 +1281,6 @@ column-header .button, column-header .button:hover, column-header .button:active border-color: #F5F6F7; background-image: none; } -/********* - * Menus * - *********/ .menubar { -GtkWidget-window-dragging: true; padding: 0px; @@ -1386,9 +1344,6 @@ column-header .button, column-header .button:hover, column-header .button:active .menuitem .accelerator { color: alpha(currentColor,0.55); } -/************ - * Popovers * - ************/ .popover { margin: 10px; padding: 2px; @@ -1421,10 +1376,6 @@ column-header .button, column-header .button:hover, column-header .button:active .cursor-handle.bottom { -gtk-icon-source: -gtk-icontheme("selection-end-symbolic"); } -/***************** - * Notebooks and * - * Tabs * - *****************/ .notebook { padding: 0; background-color: #ffffff; @@ -1557,9 +1508,6 @@ column-header .button, column-header .button:hover, column-header .button:active .notebook.arrow:insensitive { color: rgba(92, 97, 108, 0.25); } -/************** - * Scrollbars * - **************/ .scrollbar { background-clip: padding-box; background-image: none; @@ -1604,9 +1552,6 @@ column-header .button, column-header .button:hover, column-header .button:active border-color: transparent; background-color: #fcfcfc; } -/********** - * Switch * - **********/ GtkSwitch { font: 1; -GtkSwitch-slider-width: 41; @@ -1667,9 +1612,6 @@ GtkInfoBar GtkSwitch.trough:active:insensitive { .primary-toolbar GtkSwitch.trough:active:insensitive { background-image: -gtk-scaled(url("assets/switch-active-insensitive-header.png"), url("assets/switch-active-insensitive-header@2.png")); } -/************************* - * Check and Radio items * - *************************/ .check { -gtk-icon-source: -gtk-scaled(url("assets/checkbox-unchecked.png"), url("assets/checkbox-unchecked@2.png")); } @@ -1830,9 +1772,6 @@ GtkCheckButton.text-button, GtkRadioButton.text-button { GtkCheckButton.text-button:insensitive, GtkCheckButton.text-button:insensitive:active, GtkCheckButton.text-button:insensitive:inconsistent, GtkRadioButton.text-button:insensitive, GtkRadioButton.text-button:insensitive:active, GtkRadioButton.text-button:insensitive:inconsistent { color: rgba(92, 97, 108, 0.55); } -/************ - * GtkScale * - ************/ .scale { -GtkScale-slider-length: 15; -GtkRange-slider-width: 15; @@ -1912,9 +1851,6 @@ GtkCheckButton.text-button, GtkRadioButton.text-button { GtkInfoBar .scale.trough:insensitive { background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.1)); } -/***************** - * Progress bars * - *****************/ GtkProgressBar { padding: 0; font-size: smaller; @@ -1951,16 +1887,12 @@ GtkProgressBar.trough, .level-bar.trough { GtkInfoBar .level-bar.trough { background-color: rgba(0, 0, 0, 0.2); } -/************* - * 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; } + GtkLevelBar.vertical { + -GtkLevelBar-min-block-width: 3; + -GtkLevelBar-min-block-height: 34; } .level-bar.trough { padding: 3px; @@ -1984,9 +1916,6 @@ GtkLevelBar.vertical { background-color: rgba(92, 97, 108, 0.2); border-color: rgba(92, 97, 108, 0.2); } -/********** - * Frames * - **********/ .frame { border: 1px solid #dcdfe3; padding: 0; } @@ -2013,9 +1942,6 @@ GtkScrolledWindow GtkViewport.frame { GtkFontButton .vertical.view.separator { -GtkWidget-wide-separators: true; } -/********* - * Lists * - *********/ .list, .list-row { background-color: #ffffff; border-color: #dcdfe3; } @@ -2048,9 +1974,6 @@ GtkScrolledWindow GtkViewport.frame { .list-row:hover, list-row.button:hover { transition: none; } -/********************* - * App Notifications * - *********************/ .app-notification, .app-notification.frame { padding: 10px; @@ -2090,21 +2013,15 @@ GtkScrolledWindow GtkViewport.frame { border-color: rgba(26, 28, 34, 0.35); background-color: rgba(102, 109, 132, 0.2); } -/************* - * Expanders * - *************/ -GtkExpander { +.expander { -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); } - GtkExpander:dir(rtl) { + .expander:dir(rtl) { -gtk-icon-source: -gtk-icontheme("pan-end-symbolic-rtl"); } - GtkExpander:hover { + .expander:hover { color: #aaaeb7; } - GtkExpander:checked { + .expander:checked { -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); } -/************ - * Calendar * - ***********/ GtkCalendar { color: #5c616c; border: 1px solid #dcdfe3; @@ -2132,9 +2049,6 @@ GtkCalendar { GtkCalendar.highlight { color: alpha(currentColor,0.55); } -/*********** - * Dialogs * - ***********/ .message-dialog .dialog-action-area .button { padding: 8px; } @@ -2167,9 +2081,6 @@ GtkFileChooserDialog .search-bar { GtkFileChooserDialog .dialog-action-box { border-top: 1px solid #dcdfe3; } -/*********** - * Sidebar * - ***********/ .sidebar { border: none; background-color: #F5F6F7; } @@ -2204,9 +2115,6 @@ GtkPaned { .pane-separator { background-image: linear-gradient(to bottom, #dcdfe3); } -/************** - * GtkInfoBar * - **************/ GtkInfoBar { border-style: none; } @@ -2248,9 +2156,6 @@ GtkInfoBar { background-color: rgba(255, 255, 255, 0.2); border-color: rgba(255, 255, 255, 0.2); } -/************ - * Tooltips * - ************/ .tooltip { color: #BAC3CF; border-radius: 2px; } @@ -2265,9 +2170,6 @@ GtkInfoBar { background-color: transparent; color: inherit; } -/***************** - * Color Chooser * - *****************/ GtkColorSwatch { border: none; box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.4); } @@ -2316,9 +2218,6 @@ GtkColorButton.button { GtkColorButton.button GtkColorSwatch { border-radius: 0; } -/******** - * Misc * - ********/ .scale-popup .button { padding: 6px; } .scale-popup .button:hover { @@ -2330,14 +2229,89 @@ GtkColorButton.button { GtkVolumeButton.button { padding: 8px; } -/********************** - * Window Decorations * - *********************/ +.touch-selection, +.context-menu { + font: initial; } + +.monospace { + font: Monospace; } + +.overshoot.top { + background-image: -gtk-gradient(radial, center top, 0, center top, 0.6, from(rgba(82, 148, 226, 0.2)), to(rgba(82, 148, 226, 0))); + background-size: 100% 60%; + background-repeat: no-repeat; + background-position: center top; + background-color: transparent; + border: none; + box-shadow: none; } + +.overshoot.bottom { + background-image: -gtk-gradient(radial, center bottom, 0, center bottom, 0.6, from(rgba(82, 148, 226, 0.2)), to(rgba(82, 148, 226, 0))); + background-size: 100% 60%; + background-repeat: no-repeat; + background-position: center bottom; + background-color: transparent; + border: none; + box-shadow: none; } + +.overshoot.left { + background-image: -gtk-gradient(radial, left center, 0, left center, 0.6, from(rgba(82, 148, 226, 0.2)), to(rgba(82, 148, 226, 0))); + background-size: 60% 100%; + background-repeat: no-repeat; + background-position: left center; + background-color: transparent; + border: none; + box-shadow: none; } + +.overshoot.right { + background-image: -gtk-gradient(radial, right center, 0, right center, 0.6, from(rgba(82, 148, 226, 0.2)), to(rgba(82, 148, 226, 0))); + background-size: 60% 100%; + background-repeat: no-repeat; + background-position: right center; + background-color: transparent; + border: none; + box-shadow: none; } + +.undershoot.top { + background-color: transparent; + background-image: linear-gradient(to left, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%); + padding-top: 1px; + background-size: 10px 1px; + background-repeat: repeat-x; + background-origin: content-box; + background-position: center top; } + +.undershoot.bottom { + background-color: transparent; + background-image: linear-gradient(to left, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%); + padding-bottom: 1px; + background-size: 10px 1px; + background-repeat: repeat-x; + background-origin: content-box; + background-position: center bottom; } + +.undershoot.left { + background-color: transparent; + background-image: linear-gradient(to top, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%); + padding-left: 1px; + background-size: 1px 10px; + background-repeat: repeat-y; + background-origin: content-box; + background-position: left center; } + +.undershoot.right { + background-color: transparent; + background-image: linear-gradient(to top, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%); + padding-right: 1px; + background-size: 1px 10px; + background-repeat: repeat-y; + background-origin: content-box; + background-position: right center; } + .window-frame { border-radius: 4px 4px 0 0; border-width: 0px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 8px 8px 0 rgba(0, 0, 0, 0.2); - /* this is used for the resize cursor area */ margin: 10px; } .window-frame:backdrop { box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 5px 5px 0 rgba(0, 0, 0, 0.2); } @@ -2616,86 +2590,6 @@ GtkVolumeButton.button { color: #ffffff; outline-color: rgba(255, 255, 255, 0.3); } -/* Decouple the font of context menus from their entry/textview */ -.touch-selection, -.context-menu { - font: initial; } - -.monospace { - font: Monospace; } - -.overshoot.top { - background-image: -gtk-gradient(radial, center top, 0, center top, 0.6, from(rgba(82, 148, 226, 0.2)), to(rgba(82, 148, 226, 0))); - background-size: 100% 60%; - background-repeat: no-repeat; - background-position: center top; - background-color: transparent; - border: none; - box-shadow: none; } - -.overshoot.bottom { - background-image: -gtk-gradient(radial, center bottom, 0, center bottom, 0.6, from(rgba(82, 148, 226, 0.2)), to(rgba(82, 148, 226, 0))); - background-size: 100% 60%; - background-repeat: no-repeat; - background-position: center bottom; - background-color: transparent; - border: none; - box-shadow: none; } - -.overshoot.left { - background-image: -gtk-gradient(radial, left center, 0, left center, 0.6, from(rgba(82, 148, 226, 0.2)), to(rgba(82, 148, 226, 0))); - background-size: 60% 100%; - background-repeat: no-repeat; - background-position: left center; - background-color: transparent; - border: none; - box-shadow: none; } - -.overshoot.right { - background-image: -gtk-gradient(radial, right center, 0, right center, 0.6, from(rgba(82, 148, 226, 0.2)), to(rgba(82, 148, 226, 0))); - background-size: 60% 100%; - background-repeat: no-repeat; - background-position: right center; - background-color: transparent; - border: none; - box-shadow: none; } - -.undershoot.top { - background-color: transparent; - background-image: linear-gradient(to left, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%); - padding-top: 1px; - background-size: 10px 1px; - background-repeat: repeat-x; - background-origin: content-box; - background-position: center top; } - -.undershoot.bottom { - background-color: transparent; - background-image: linear-gradient(to left, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%); - padding-bottom: 1px; - background-size: 10px 1px; - background-repeat: repeat-x; - background-origin: content-box; - background-position: center bottom; } - -.undershoot.left { - background-color: transparent; - background-image: linear-gradient(to top, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%); - padding-left: 1px; - background-size: 1px 10px; - background-repeat: repeat-y; - background-origin: content-box; - background-position: left center; } - -.undershoot.right { - background-color: transparent; - background-image: linear-gradient(to top, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%); - padding-right: 1px; - background-size: 1px 10px; - background-repeat: repeat-y; - background-origin: content-box; - background-position: right center; } - GeditNotebook.notebook tab.reorderable-page.top:active, GeditNotebook.notebook tab.reorderable-page.top.active-page, GeditNotebook.notebook tab.reorderable-page.top.active-page:hover, GeditNotebook.notebook tab.top:active, GeditNotebook.notebook tab.top.active-page, GeditNotebook.notebook tab.top.active-page:hover, ScratchMainWindow .notebook tab.reorderable-page.top:active, ScratchMainWindow .notebook tab.reorderable-page.top.active-page, @@ -3463,13 +3357,11 @@ GraniteWidgetsXsEntry.entry { GtkListBox .h4 { padding-left: 6px; } -/* the panel widget at the top */ #panel_window { background-color: rgba(43, 46, 55, 0.95); color: #BAC3CF; font: bold; - box-shadow: inset 0 -1px rgba(27, 29, 35, 0.95); - /* the menubars/menus of the panel, i.e. indicators */ } + box-shadow: inset 0 -1px rgba(27, 29, 35, 0.95); } #panel_window .menubar, #panel_window .menubar > .menuitem { background-color: transparent; @@ -3482,7 +3374,6 @@ GtkListBox .h4 { #panel_window .menubar .menu .menuitem { font: normal; } -/* the login window */ #login_window, #shutdown_dialog, #restart_dialog { @@ -3491,7 +3382,6 @@ GtkListBox .h4 { background-color: transparent; color: #5c616c; } -/* the top half of the login-window, in GtkDialog terms, the content */ #content_frame { padding-bottom: 14px; background-color: #F5F6F7; @@ -3522,7 +3412,6 @@ GtkListBox .h4 { #content_frame .button:insensitive > GtkLabel { color: inherit; } -/* the lower half of the login-window, in GtkDialog terms the buttonbox or action area */ #buttonbox_frame { padding-top: 20px; padding-bottom: 0px; @@ -3560,13 +3449,10 @@ GtkListBox .h4 { #login_window #user_combobox .menu { font: normal; } -/* the user's avatar box */ #user_image { padding: 3px; border-radius: 2px; } -/* the border around the user's avatar box */ -/* the shutdown button */ #shutdown_button.button { background-clip: border-box; color: #ffffff; @@ -3586,7 +3472,6 @@ GtkListBox .h4 { background-color: #ec1b22; border-color: #ec1b22; } -/* the restart button */ #restart_button.button { background-clip: border-box; color: #ffffff; @@ -3606,7 +3491,6 @@ GtkListBox .h4 { background-color: #2e96c0; border-color: #2e96c0; } -/* the warning, in case a wrong password is entered or something else goes wrong according to PAM */ #greeter_infobar { border-bottom-width: 0; font: bold; } @@ -3731,7 +3615,6 @@ NemoWindow.background > GtkGrid > GtkPaned > .pane-separator, MarlinViewWindow.background > GtkBox > GtkPaned > .pane-separator { background-color: rgba(53, 57, 69, 0.95); } -/*Fix Nautilus transparency issues*/ NautilusWindow NautilusWindowSlot { background-color: #ffffff; } diff --git a/common/gtk-3.0/3.14/sass/_common.scss b/common/gtk-3.0/3.14/sass/_common.scss index aaafff7..3356d3e 100644 --- a/common/gtk-3.0/3.14/sass/_common.scss +++ b/common/gtk-3.0/3.14/sass/_common.scss @@ -15,11 +15,6 @@ $darker_asset_suffix: if($darker=='true', '-dark', $asset_suffix); -GtkCheckButton-indicator-size: 16; -GtkCheckMenuItem-indicator-size: 16; - // The size for scrollbars. The slider is 2px smaller, but we keep it - // up so that the whole area is sensitive to button presses for the - // slider. The stepper button is larger in both directions, the slider - // only in the width - -GtkScrolledWindow-scrollbar-spacing: 0; -GtkScrolledWindow-scrollbars-within-bevel: 1; @@ -47,9 +42,6 @@ $darker_asset_suffix: if($darker=='true', '-dark', $asset_suffix); -GtkStatusbar-shadow-type: none; // We use the outline properties to signal the focus properties - // to the adwaita engine: using real CSS properties is faster, - // and we don't use any outlines for now. - outline-color: transparentize($fg_color, 0.7); outline-style: dashed; outline-offset: -3px; @@ -58,22 +50,14 @@ $darker_asset_suffix: if($darker=='true', '-dark', $asset_suffix); } -/*************** - * Base States * - ***************/ - +// +// Base States +// .background { color: $fg_color; background-color: if($transparency == 'true', transparentize($bg_color, 0.001), $bg_color); // without this headerbar transparency doesn't seem to work } -/* - 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; } @@ -181,10 +165,9 @@ GtkFlowBox .grid-child { box-shadow: none; } -/********************** - * Spinner Animations * - **********************/ - +// +// Spinner Animations +// @keyframes spin { to { -gtk-icon-transform: rotate(1turn); } } @@ -205,10 +188,9 @@ GtkFlowBox .grid-child { } } -/**************** - * Text Entries * - ****************/ - +// +// Text Entries +// .entry { border: 1px solid; padding: 5px 8px 6px; @@ -348,10 +330,9 @@ GtkFlowBox .grid-child { GtkSearchEntry.entry { border-radius: 20px; } -/*********** - * Buttons * - ***********/ - +// +// Buttons +// // stuff for .needs-attention $_dot_color: $selected_bg_color; @@ -372,7 +353,6 @@ $_dot_color: $selected_bg_color; } } - .button { $_button_transition: all 200ms $ease-out-quad; @@ -385,7 +365,7 @@ $_dot_color: $selected_bg_color; @include button(normal); - &.flat { + &.flat { @include button(undecorated); background-color: transparentize($button_bg, 1); border-color: transparentize($button_border, 1); @@ -751,10 +731,9 @@ $_linked_separator_color: if($variant=='light', transparentize($button_border, 0 &:checked { color: $fg_color; } } -/********* - * Links * - *********/ - +// +// Links +// *:link { color: $link_color; &:visited { @@ -782,10 +761,9 @@ $_linked_separator_color: if($variant=='light', transparentize($button_border, 0 } } -/***************** - * GtkSpinButton * - *****************/ - +// +// Spinbuttons +// .spinbutton { border-radius: 3px; @@ -796,8 +774,7 @@ $_linked_separator_color: if($variant=='light', transparentize($button_border, 0 color: mix($fg_color,$base_color,95%); border-radius: 0; box-shadow: none; - // padding-left: 6px; - // padding-right: 6px; + &:dir(rtl) { border-style: none solid none none; } &:first-child { color: red; } @@ -899,16 +876,18 @@ $_linked_separator_color: if($variant=='light', transparentize($button_border, 0 } } -/************** - * ComboBoxes * - **************/ +// +// Comboboxes +// GtkComboBox { - > .button { padding-top: 3px; padding-bottom: 4px; } // Otherwise combos - // are bigger then - // buttons -GtkComboBox-arrow-scaling: 0.5; -GtkComboBox-shadow-type: none; + > .button { // Otherwise combos + padding-top: 3px; // are bigger than + padding-bottom: 4px; // buttons + } + &:insensitive { color: $insensitive_fg_color; } @@ -974,9 +953,9 @@ GtkComboBox { .linked.vertical > GtkComboBoxText:only-child > .button, .linked.vertical > GtkComboBox:only-child > .button { @extend %linked_vertical:only-child; } -/************ - * Toolbars * - ************/ +// +// Toolbars +// .toolbar { -GtkWidget-window-dragging: true; padding: 4px; @@ -1026,10 +1005,9 @@ GtkComboBox { .action-bar { background-color: darken($bg_color, 3%) } -/*************** - * Header bars * - ***************/ - +// +// Headerbars +// .header-bar { padding: 7px 7px 6px 7px; @@ -1193,7 +1171,7 @@ GtkComboBox { } %header_widgets { - // Header-bar Entries + // Headerbar Entries .entry { @include entry(header-normal); @@ -1237,7 +1215,7 @@ GtkComboBox { } } - // Header-bar Buttons + // Headerbar Buttons .button { @include button(header-normal); @@ -1290,7 +1268,7 @@ GtkComboBox { } } - // Header-bar Suggested and Destructive Action buttons + // Headerbar Suggested and Destructive Action buttons @each $b_type, $b_color in (suggested-action, $suggested_color), (destructive-action, $destructive_color) { .button.#{$b_type} { @@ -1316,7 +1294,7 @@ GtkComboBox { } } - // Header-bar Spinbuttons + // Headerbar Spinbuttons & .spinbutton { &:focus .button { @@ -1334,7 +1312,7 @@ GtkComboBox { } } - // Header-bar ComboBoxes + // Headerbar ComboBoxes & GtkComboBox{ &:insensitive { color: transparentize($header_fg, 0.6); } @@ -1367,7 +1345,7 @@ GtkComboBox { } } - // Header-bar Switches + // Headerbar Switches GtkSwitch { &:backdrop { opacity: 0.75; } } @@ -1379,7 +1357,7 @@ GtkComboBox { &:backdrop { opacity: 0.75; } } - // Header-bar Scale + // Headerbar Scale .scale { &:backdrop { opacity: 0.75; } @@ -1413,9 +1391,9 @@ GtkComboBox { } } -/************ - * Pathbars * - ************/ +// +// Pathbars +// .path-bar .button { padding-left: 6px; padding-right: 6px; @@ -1431,9 +1409,9 @@ GtkComboBox { GtkLabel:only-child, GtkLabel { padding-right: 4px; padding-left: 4px; } } -/************** - * Tree Views * - **************/ +// +// Tree Views +// GtkTreeView.view { // treeview grid lines and expanders, unfortunatelly // the tree lines color can't be set -GtkTreeView-grid-line-width: 1; @@ -1545,9 +1523,9 @@ column-header.button.dnd { // for treeview-like derive widgets } } -/********* - * Menus * - *********/ +// +// Menus +// .menubar { -GtkWidget-window-dragging: true; padding: 0px; @@ -1625,10 +1603,9 @@ column-header.button.dnd { // for treeview-like derive widgets .menuitem .accelerator { color: gtkalpha(currentColor,0.55); } -/************ - * Popovers * - ************/ - +// +// Popovers +// .popover { margin: 10px; padding: 2px; @@ -1663,17 +1640,10 @@ column-header.button.dnd { // for treeview-like derive widgets &.bottom { -gtk-icon-source: -gtk-icontheme('selection-end-symbolic'); } } -/***************** - * Notebooks and * - * Tabs * - *****************/ - +// +// Notebooks and Tabs +// .notebook { - // Through me you go to the grief wracked city; - // Through me you go to everlasting pain; - // Through me you go a pass among lost souls. - // ... - // Abandon all hope — Ye Who Enter Here padding: 0; background-color: $base_color; -GtkNotebook-initial-gap: 4; @@ -1687,15 +1657,13 @@ column-header.button.dnd { // for treeview-like derive widgets &.frame { border: 1px solid $borders_color; - // FIXME doesn't work + &.top { border-top-width: 0; } &.bottom { border-bottom-width: 0; } &.right { border-right-width: 0; } &.left { border-left-width: 0; } } &.header { - // FIXME: double borders in some case, can't fix it w/o a class tho - // FIXME: doesn't work on dark var background-color: $bg_color; // this is the shading of the header behind the tabs @@ -1708,18 +1676,10 @@ column-header.button.dnd { // for treeview-like derive widgets } $_header_border: $borders_color; - &.top { - box-shadow: inset 0 -1px $_header_border; // border - } - &.bottom { - box-shadow: inset 0 1px $_header_border; - } - &.right { - box-shadow: inset 1px 0 $_header_border; - } - &.left { - box-shadow: inset -1px 0 $_header_border; - } + &.top { box-shadow: inset 0 -1px $_header_border; } + &.bottom { box-shadow: inset 0 1px $_header_border; } + &.right { box-shadow: inset 1px 0 $_header_border; } + &.left { box-shadow: inset -1px 0 $_header_border; } } tab { border-width: 0; @@ -1840,10 +1800,9 @@ column-header.button.dnd { // for treeview-like derive widgets } } -/************** - * Scrollbars * - **************/ - +// +// Scrollbars +// $_scrollbar_bg_color: darken($base_color, 1%); .scrollbar { @@ -1908,9 +1867,9 @@ $_scrollbar_bg_color: darken($base_color, 1%); } -/********** - * Switch * - **********/ +// +// Switches +// GtkSwitch { font: 1; -GtkSwitch-slider-width: 41; @@ -1952,13 +1911,9 @@ GtkSwitch { } } -/************************* - * 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 - +// +// Check and Radio items * +// @each $w,$a in ('check', 'checkbox'), ('radio','radio') { @@ -1992,7 +1947,7 @@ GtkSwitch { } } -//selection-mode +// Selectionmode @each $s,$as in ('','-selectionmode'), (':checked', '-checked-selectionmode') { GtkIconView.view.check#{$s}, @@ -2015,9 +1970,9 @@ GtkCheckButton.text-button, GtkRadioButton.text-button { } } -/************ - * GtkScale * - ************/ +// +// GtkScale +// .scale { -GtkScale-slider-length: 15; -GtkRange-slider-width: 15; @@ -2124,15 +2079,13 @@ GtkCheckButton.text-button, GtkRadioButton.text-button { } } -/***************** - * Progress bars * - *****************/ - +// +// Progress bars +// GtkProgressBar { padding: 0; font-size: smaller; color: transparentize($fg_color, 0.3); - //@include _shadows(_button_shadow(normal)); &.osd { -GtkProgressBar-xspacing: 0; @@ -2171,24 +2124,22 @@ GtkProgressBar.trough { border-style: none; background-color: transparent; box-shadow: none; - //FIXME: there is a margin on top } .list-row:selected &, GtkInfoBar & { background-color: transparentize(black, 0.8); } } -/************* - * Level Bar * - *************/ - +// +// 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; + &.vertical { + -GtkLevelBar-min-block-width: 3; + -GtkLevelBar-min-block-height: 34; + } } .level-bar { @@ -2224,9 +2175,9 @@ GtkLevelBar.vertical { } -/********** - * Frames * - **********/ +// +// Frames +// .frame { border: 1px solid $borders_color; &.flat { border-style: none; } @@ -2260,10 +2211,9 @@ GtkScrolledWindow { } } -/********* - * Lists * - *********/ - +// +// Lists +// .list, .list-row { background-color: $base_color; border-color: $borders_color; @@ -2308,10 +2258,9 @@ GtkScrolledWindow { &:hover { transition: none; } } -/********************* - * App Notifications * - *********************/ - +// +// App Notifications +// .app-notification, .app-notification.frame { padding: 10px; @@ -2337,20 +2286,19 @@ GtkScrolledWindow { } } -/************* - * Expanders * - *************/ - -GtkExpander { +// +// Expanders +// +.expander { -gtk-icon-source: -gtk-icontheme('pan-end-symbolic'); &:dir(rtl) { -gtk-icon-source: -gtk-icontheme('pan-end-symbolic-rtl'); } &:hover { color: lighten($fg_color,30%); } //only lightens the arrow &:checked { -gtk-icon-source: -gtk-icontheme('pan-down-symbolic'); } } -/************ - * Calendar * - ***********/ +// +// Calendar +// GtkCalendar { color: $fg_color; border: 1px solid $borders_color; @@ -2383,9 +2331,9 @@ GtkCalendar { &.highlight { color: gtkalpha(currentColor,0.55); } } -/*********** - * Dialogs * - ***********/ +// +// Dialogs +// .message-dialog .dialog-action-area .button { padding: 8px; } @@ -2439,9 +2387,9 @@ GtkFileChooserDialog { } } -/*********** - * Sidebar * - ***********/ +// +// Sidebar +// .sidebar { border: none; background-color: $bg_color; @@ -2484,6 +2432,9 @@ GtkPlacesSidebar.sidebar .view { } } +// +// Paned +// GtkPaned { // This is actually the invisible area of the paned separator, not a margin... margin: 0 8px 8px 0; //drag area of the separator @@ -2499,9 +2450,9 @@ GtkPaned { background-image: linear-gradient(to bottom, $borders_color); } -/************** - * GtkInfoBar * - **************/ +// +// GtkInfoBar +// GtkInfoBar { border-style: none; @@ -2557,9 +2508,9 @@ GtkInfoBar { } } -/************ - * Tooltips * - ************/ +// +// Tooltips +// .tooltip { &.background { // background-color needs to be set this way otherwise it gets drawn twice @@ -2582,9 +2533,9 @@ GtkInfoBar { color: inherit; // just to be sure } -/***************** - * Color Chooser * - *****************/ +// +// Color Chooser +// GtkColorSwatch { border: none; @@ -2656,9 +2607,9 @@ GtkColorButton.button { GtkColorSwatch { border-radius: 0; } } -/******** - * Misc * - ********/ +// +// Misc +// .scale-popup .button { // +/- buttons on GtkVolumeButton popup padding: 6px; &:hover { @@ -2668,23 +2619,49 @@ GtkColorButton.button { GtkVolumeButton.button { padding: 8px; } -/********************** - * Window Decorations * - *********************/ +// Decouple the font of context menus from their entry/textview +.touch-selection, +.context-menu { font: initial;} + +.monospace { font: Monospace; } + +// +// Overshoot +// +// This is used by GtkScrolledWindow, when content is touch-dragged past boundaries. +// This draws a box on top of the content, the size changes programmatically. +.overshoot { + &.top { @include overshoot(top); } + &.bottom { @include overshoot(bottom); } + &.left { @include overshoot(left); } + &.right { @include overshoot(right); } +} + +// +// Undershoot +// +// Overflow indication, works similarly to the overshoot, the size if fixed tho. +.undershoot { + &.top { @include undershoot(top); } + &.bottom { @include undershoot(bottom); } + &.left { @include undershoot(left); } + &.right { @include undershoot(right); } +} + +// +// Window Decorations +// .window-frame { border-radius: if($darker=='false' and $variant=='light', 4px 4px 0 0, 3px 3px 0 0); - // lamefun trick to get rounded borders regardless of CSD use border-width: 0px; - // this needs to be transparent - // see bug #722563 $_wm_border: if($variant=='light', transparentize(black, 0.9), transparentize(black, 0.45)); box-shadow: 0 0 0 1px if($darker=='true' or $variant == 'dark', darken($header_bg, 7%), $_wm_border), 0 8px 8px 0 if($variant == 'light', opacify($_wm_border, 0.1), transparentize($_wm_border, 0.2)); - /* this is used for the resize cursor area */ + // this is used for the resize cursor area margin: 10px; &:backdrop { @@ -2789,58 +2766,14 @@ GtkVolumeButton.button { padding: 8px; } .titlebar.selection-mode .left:dir(rtl) GtkMenuButton.button.titlebutton:last-child { padding: 4px 6px 4px 6px; - - @include button(undecorated); - - &:hover { - - } - &:active, &:checked { - - } - &:backdrop { } } -// catch all extend :) - +// catch all extend %selected_items { background-image: none; background-color: $selected_bg_color; color: $selected_fg_color; outline-color: transparentize($selected_fg_color, 0.7); } - -/* Decouple the font of context menus from their entry/textview */ -.touch-selection, -.context-menu { - font: initial; -} - -.monospace { - font: Monospace; -} - -// -// Overshoot -// -// This is used by GtkScrolledWindow, when content is touch-dragged past boundaries. -// This draws a box on top of the content, the size changes programmatically. -.overshoot { - &.top { @include overshoot(top); } - &.bottom { @include overshoot(bottom); } - &.left { @include overshoot(left); } - &.right { @include overshoot(right); } -} - -// -// Undershoot -// -// Overflow indication, works similarly to the overshoot, the size if fixed tho. -.undershoot { - &.top { @include undershoot(top); } - &.bottom { @include undershoot(bottom); } - &.left { @include undershoot(left); } - &.right { @include undershoot(right); } -} diff --git a/common/gtk-3.0/3.14/sass/_lightdm.scss b/common/gtk-3.0/3.14/sass/_lightdm.scss index 0879a5a..89cdfcd 100644 --- a/common/gtk-3.0/3.14/sass/_lightdm.scss +++ b/common/gtk-3.0/3.14/sass/_lightdm.scss @@ -1,11 +1,11 @@ -/* the panel widget at the top */ +// the panel widget at the top #panel_window { background-color: $panel_bg; color: $panel_fg; font: bold; box-shadow: inset 0 -1px darken($panel_bg, 7%); - /* the menubars/menus of the panel, i.e. indicators */ + // the menubars/menus of the panel, i.e. indicators .menubar, .menubar > .menuitem { background-color: transparent; @@ -21,7 +21,7 @@ .menubar .menu .menuitem { font: normal; } } -/* the login window */ +// the login window #login_window, #shutdown_dialog, #restart_dialog { @@ -31,7 +31,7 @@ color: $fg_color; } -/* the top half of the login-window, in GtkDialog terms, the content */ +// the top half of the login-window, in GtkDialog terms, the content #content_frame { padding-bottom: 14px; background-color: $bg_color; @@ -49,7 +49,7 @@ &:insensitive { @include button(insensitive); } } -/* the lower half of the login-window, in GtkDialog terms the buttonbox or action area */ +// the lower half of the login-window, in GtkDialog terms the buttonbox or action area #buttonbox_frame { padding-top: 20px; padding-bottom: 0px; @@ -78,16 +78,16 @@ .arrow {} } -/* the user's avatar box */ +// the user's avatar box #user_image { padding: 3px; border-radius: 2px; } -/* the border around the user's avatar box */ +// the border around the user's avatar box #user_image_border {} -/* the shutdown button */ +// the shutdown button #shutdown_button.button { @include button(suggested_destructive, $destructive_color); @@ -95,7 +95,7 @@ &:active, &:checked { @include button(suggested_destructive, darken($destructive_color, 10%)); } } -/* the restart button */ +// the restart button #restart_button.button { @include button(suggested_destructive, $suggested_color); @@ -103,7 +103,7 @@ &:active, &:checked { @include button(suggested_destructive, darken($suggested_color, 10%)); } } -/* the warning, in case a wrong password is entered or something else goes wrong according to PAM */ +// the warning, in case a wrong password is entered or something else goes wrong according to PAM #greeter_infobar { border-bottom-width: 0; font: bold; diff --git a/common/gtk-3.0/3.14/sass/_transparent_widgets.scss b/common/gtk-3.0/3.14/sass/_transparent_widgets.scss index 19025a0..90b4a2e 100644 --- a/common/gtk-3.0/3.14/sass/_transparent_widgets.scss +++ b/common/gtk-3.0/3.14/sass/_transparent_widgets.scss @@ -60,7 +60,7 @@ NautilusWindow .pane-separator, NemoWindow.background > GtkGrid > GtkPaned > .pane-separator, MarlinViewWindow.background > GtkBox > GtkPaned > .pane-separator {background-color: $dark_sidebar_border} -/*Fix Nautilus transparency issues*/ +// Fix Nautilus transparency issues NautilusWindow NautilusWindowSlot { background-color: $base_color; } NautilusDesktopWindow NautilusWindowSlot { background-color: transparent; } diff --git a/common/gtk-3.0/3.14/sass/gtk-dark.scss b/common/gtk-3.0/3.14/sass/gtk-dark.scss index f47d7b5..529ee3d 100644 --- a/common/gtk-3.0/3.14/sass/gtk-dark.scss +++ b/common/gtk-3.0/3.14/sass/gtk-dark.scss @@ -1,8 +1,3 @@ -// General guidelines: -// - very unlikely you want to edit something else than _common.scss -// - keep the number of defined colors to a minimum, use the color blending functions if -// you need a subtle shade - $variant: 'dark'; $darker: 'false'; $transparency: 'true'; diff --git a/common/gtk-3.0/3.14/sass/gtk-darker.scss b/common/gtk-3.0/3.14/sass/gtk-darker.scss index 63166d2..34b8f81 100644 --- a/common/gtk-3.0/3.14/sass/gtk-darker.scss +++ b/common/gtk-3.0/3.14/sass/gtk-darker.scss @@ -1,8 +1,3 @@ -// General guidelines: -// - very unlikely you want to edit something else than _common.scss -// - keep the number of defined colors to a minimum, use the color blending functions if -// you need a subtle shade - $variant: 'light'; $darker: 'true'; $transparency: 'true'; diff --git a/common/gtk-3.0/3.14/sass/gtk-solid-dark.scss b/common/gtk-3.0/3.14/sass/gtk-solid-dark.scss index 157292d..959d8b1 100644 --- a/common/gtk-3.0/3.14/sass/gtk-solid-dark.scss +++ b/common/gtk-3.0/3.14/sass/gtk-solid-dark.scss @@ -1,8 +1,3 @@ -// General guidelines: -// - very unlikely you want to edit something else than _common.scss -// - keep the number of defined colors to a minimum, use the color blending functions if -// you need a subtle shade - $variant: 'dark'; $darker: 'false'; $transparency: 'false'; diff --git a/common/gtk-3.0/3.14/sass/gtk-solid-darker.scss b/common/gtk-3.0/3.14/sass/gtk-solid-darker.scss index 03ba34b..45b7dbe 100644 --- a/common/gtk-3.0/3.14/sass/gtk-solid-darker.scss +++ b/common/gtk-3.0/3.14/sass/gtk-solid-darker.scss @@ -1,8 +1,3 @@ -// General guidelines: -// - very unlikely you want to edit something else than _common.scss -// - keep the number of defined colors to a minimum, use the color blending functions if -// you need a subtle shade - $variant: 'light'; $darker: 'true'; $transparency: 'false'; diff --git a/common/gtk-3.0/3.14/sass/gtk-solid.scss b/common/gtk-3.0/3.14/sass/gtk-solid.scss index 347cf2c..28ff2b6 100644 --- a/common/gtk-3.0/3.14/sass/gtk-solid.scss +++ b/common/gtk-3.0/3.14/sass/gtk-solid.scss @@ -1,8 +1,3 @@ -// General guidelines: -// - very unlikely you want to edit something else than _common.scss -// - keep the number of defined colors to a minimum, use the color blending functions if -// you need a subtle shade - $variant: 'light'; $darker: 'false'; $transparency: 'false'; diff --git a/common/gtk-3.0/3.14/sass/gtk.scss b/common/gtk-3.0/3.14/sass/gtk.scss index c45d673..9bb0348 100644 --- a/common/gtk-3.0/3.14/sass/gtk.scss +++ b/common/gtk-3.0/3.14/sass/gtk.scss @@ -1,8 +1,3 @@ -// General guidelines: -// - very unlikely you want to edit something else than _common.scss -// - keep the number of defined colors to a minimum, use the color blending functions if -// you need a subtle shade - $variant: 'light'; $darker: 'false'; $transparency: 'true'; |