1
0
mirror of https://github.com/horst3180/arc-theme.git synced 2024-10-27 19:04:02 +00:00

fix default-decorations under elementary OS

This commit is contained in:
Horst3180 2015-10-03 12:47:22 +02:00
parent 58695b1e7c
commit 15936ec9d3
8 changed files with 120 additions and 0 deletions

View File

@ -996,6 +996,15 @@ GtkComboBox {
border-color: #262a33; }
.maximized .header-bar:backdrop {
border-color: #262a33; }
.header-bar.default-decoration,
.csd .header-bar.default-decoration {
padding-top: 5px;
padding-bottom: 5px;
background-color: #2f343f;
border-bottom-width: 0; }
.header-bar.default-decoration:backdrop,
.csd .header-bar.default-decoration:backdrop {
background-color: #2f343f; }
.titlebar {
padding-left: 7px;
@ -2452,6 +2461,11 @@ GtkVolumeButton.button {
.window-frame.csd.message-dialog {
border-radius: 3px; }
.header-bar.default-decoration .button.titlebutton, .titlebar.default-decoration .button.titlebutton,
.header-bar.selection-mode.default-decoration .button.titlebutton, .titlebar.selection-mode.default-decoration .button.titlebutton {
padding-top: 0px;
padding-bottom: 0px; }
.header-bar .button.titlebutton, .titlebar .button.titlebutton,
.header-bar.selection-mode .button.titlebutton, .titlebar.selection-mode .button.titlebutton {
padding: 7px 4px;
@ -3890,6 +3904,9 @@ GeditWindow.background.csd {
background-color: transparent; }
GeditWindow.background.csd .pane-separator {
background-color: rgba(42, 45, 55, 0.95); }
GeditWindow.background.csd > .titlebar.default-decoration,
GeditWindow.background.csd > .titlebar.default-decoration:backdrop {
background-color: #2f343f; }
.gedit-bottom-panel-paned {
background-color: #404552; }

View File

@ -999,6 +999,15 @@ GtkComboBox {
border-color: #262a33; }
.maximized .header-bar:backdrop {
border-color: #262a33; }
.header-bar.default-decoration,
.csd .header-bar.default-decoration {
padding-top: 5px;
padding-bottom: 5px;
background-color: #2f343f;
border-bottom-width: 0; }
.header-bar.default-decoration:backdrop,
.csd .header-bar.default-decoration:backdrop {
background-color: #2f343f; }
.titlebar {
padding-left: 7px;
@ -2455,6 +2464,11 @@ GtkVolumeButton.button {
.window-frame.csd.message-dialog {
border-radius: 3px; }
.header-bar.default-decoration .button.titlebutton, .titlebar.default-decoration .button.titlebutton,
.header-bar.selection-mode.default-decoration .button.titlebutton, .titlebar.selection-mode.default-decoration .button.titlebutton {
padding-top: 0px;
padding-bottom: 0px; }
.header-bar .button.titlebutton, .titlebar .button.titlebutton,
.header-bar.selection-mode .button.titlebutton, .titlebar.selection-mode .button.titlebutton {
padding: 7px 4px;
@ -3883,6 +3897,9 @@ GeditWindow.background.csd {
background-color: transparent; }
GeditWindow.background.csd .pane-separator {
background-color: rgba(53, 57, 69, 0.95); }
GeditWindow.background.csd > .titlebar.default-decoration,
GeditWindow.background.csd > .titlebar.default-decoration:backdrop {
background-color: #2f343f; }
.gedit-bottom-panel-paned {
background-color: #ffffff; }

View File

@ -996,6 +996,15 @@ GtkComboBox {
border-color: #262a33; }
.maximized .header-bar:backdrop {
border-color: #262a33; }
.header-bar.default-decoration,
.csd .header-bar.default-decoration {
padding-top: 5px;
padding-bottom: 5px;
background-color: #2f343f;
border-bottom-width: 0; }
.header-bar.default-decoration:backdrop,
.csd .header-bar.default-decoration:backdrop {
background-color: #2f343f; }
.titlebar {
padding-left: 7px;
@ -2452,6 +2461,11 @@ GtkVolumeButton.button {
.window-frame.csd.message-dialog {
border-radius: 3px; }
.header-bar.default-decoration .button.titlebutton, .titlebar.default-decoration .button.titlebutton,
.header-bar.selection-mode.default-decoration .button.titlebutton, .titlebar.selection-mode.default-decoration .button.titlebutton {
padding-top: 0px;
padding-bottom: 0px; }
.header-bar .button.titlebutton, .titlebar .button.titlebutton,
.header-bar.selection-mode .button.titlebutton, .titlebar.selection-mode .button.titlebutton {
padding: 7px 4px;
@ -3890,6 +3904,9 @@ GeditWindow.background.csd {
background-color: transparent; }
GeditWindow.background.csd .pane-separator {
background-color: #2a2d37; }
GeditWindow.background.csd > .titlebar.default-decoration,
GeditWindow.background.csd > .titlebar.default-decoration:backdrop {
background-color: #2f343f; }
.gedit-bottom-panel-paned {
background-color: #404552; }

View File

@ -999,6 +999,15 @@ GtkComboBox {
border-color: #262a33; }
.maximized .header-bar:backdrop {
border-color: #262a33; }
.header-bar.default-decoration,
.csd .header-bar.default-decoration {
padding-top: 5px;
padding-bottom: 5px;
background-color: #2f343f;
border-bottom-width: 0; }
.header-bar.default-decoration:backdrop,
.csd .header-bar.default-decoration:backdrop {
background-color: #2f343f; }
.titlebar {
padding-left: 7px;
@ -2455,6 +2464,11 @@ GtkVolumeButton.button {
.window-frame.csd.message-dialog {
border-radius: 3px; }
.header-bar.default-decoration .button.titlebutton, .titlebar.default-decoration .button.titlebutton,
.header-bar.selection-mode.default-decoration .button.titlebutton, .titlebar.selection-mode.default-decoration .button.titlebutton {
padding-top: 0px;
padding-bottom: 0px; }
.header-bar .button.titlebutton, .titlebar .button.titlebutton,
.header-bar.selection-mode .button.titlebutton, .titlebar.selection-mode .button.titlebutton {
padding: 7px 4px;
@ -3883,6 +3897,9 @@ GeditWindow.background.csd {
background-color: transparent; }
GeditWindow.background.csd .pane-separator {
background-color: #353945; }
GeditWindow.background.csd > .titlebar.default-decoration,
GeditWindow.background.csd > .titlebar.default-decoration:backdrop {
background-color: #2f343f; }
.gedit-bottom-panel-paned {
background-color: #ffffff; }

View File

@ -999,6 +999,15 @@ GtkComboBox {
border-color: #d4d5db; }
.maximized .header-bar:backdrop {
border-color: #d4d5db; }
.header-bar.default-decoration,
.csd .header-bar.default-decoration {
padding-top: 5px;
padding-bottom: 5px;
background-color: #e7e8eb;
border-bottom-width: 0; }
.header-bar.default-decoration:backdrop,
.csd .header-bar.default-decoration:backdrop {
background-color: #e7e8eb; }
.titlebar {
padding-left: 7px;
@ -2455,6 +2464,11 @@ GtkVolumeButton.button {
.window-frame.csd.message-dialog {
border-radius: 3px; }
.header-bar.default-decoration .button.titlebutton, .titlebar.default-decoration .button.titlebutton,
.header-bar.selection-mode.default-decoration .button.titlebutton, .titlebar.selection-mode.default-decoration .button.titlebutton {
padding-top: 0px;
padding-bottom: 0px; }
.header-bar .button.titlebutton, .titlebar .button.titlebutton,
.header-bar.selection-mode .button.titlebutton, .titlebar.selection-mode .button.titlebutton {
padding: 7px 4px;
@ -3883,6 +3897,9 @@ GeditWindow.background.csd {
background-color: transparent; }
GeditWindow.background.csd .pane-separator {
background-color: #353945; }
GeditWindow.background.csd > .titlebar.default-decoration,
GeditWindow.background.csd > .titlebar.default-decoration:backdrop {
background-color: #e7e8eb; }
.gedit-bottom-panel-paned {
background-color: #ffffff; }

View File

@ -999,6 +999,15 @@ GtkComboBox {
border-color: #d4d5db; }
.maximized .header-bar:backdrop {
border-color: #d4d5db; }
.header-bar.default-decoration,
.csd .header-bar.default-decoration {
padding-top: 5px;
padding-bottom: 5px;
background-color: #e7e8eb;
border-bottom-width: 0; }
.header-bar.default-decoration:backdrop,
.csd .header-bar.default-decoration:backdrop {
background-color: #e7e8eb; }
.titlebar {
padding-left: 7px;
@ -2455,6 +2464,11 @@ GtkVolumeButton.button {
.window-frame.csd.message-dialog {
border-radius: 3px; }
.header-bar.default-decoration .button.titlebutton, .titlebar.default-decoration .button.titlebutton,
.header-bar.selection-mode.default-decoration .button.titlebutton, .titlebar.selection-mode.default-decoration .button.titlebutton {
padding-top: 0px;
padding-bottom: 0px; }
.header-bar .button.titlebutton, .titlebar .button.titlebutton,
.header-bar.selection-mode .button.titlebutton, .titlebar.selection-mode .button.titlebutton {
padding: 7px 4px;
@ -3883,6 +3897,9 @@ GeditWindow.background.csd {
background-color: transparent; }
GeditWindow.background.csd .pane-separator {
background-color: rgba(53, 57, 69, 0.95); }
GeditWindow.background.csd > .titlebar.default-decoration,
GeditWindow.background.csd > .titlebar.default-decoration:backdrop {
background-color: #e7e8eb; }
.gedit-bottom-panel-paned {
background-color: #ffffff; }

View File

@ -1138,6 +1138,16 @@ GtkComboBox {
border-color: opacify($header_border, 1);
}
}
&.default-decoration,
.csd &.default-decoration {
padding-top: 5px; // less padding for ssd
padding-bottom: 5px; //
background-color: opacify($header_bg, 1);
border-bottom-width: 0;
//&:backdrop { background-color: opacify($header_bg_backdrop, 1); }
&:backdrop { background-color: opacify($header_bg, 1); }
}
}
.titlebar {
@ -2695,6 +2705,11 @@ GtkVolumeButton.button { padding: 8px; }
.header-bar, .titlebar,
.header-bar.selection-mode, .titlebar.selection-mode {
&.default-decoration .button.titlebutton { // no vertical padding for ssd buttons
padding-top: 0px; // already handled by the titlebar-padding
padding-bottom: 0px;
}
.button.titlebutton {
padding: 7px 4px;

View File

@ -120,6 +120,9 @@ GeditWindow.background.csd {
background-color: transparent;
.pane-separator { background-color: $dark_sidebar_border; }
> .titlebar.default-decoration,
> .titlebar.default-decoration:backdrop { background-color: opacify($header_bg, 1); } // fix for elementary OS
}
.gedit-bottom-panel-paned { background-color: $base_color; }