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

fix transparent titlebars in elementary os

This commit is contained in:
Horst3180 2015-06-05 19:21:22 +02:00
parent bab97a301f
commit 945ab6c5da
8 changed files with 97 additions and 17 deletions

View File

@ -638,8 +638,6 @@ MarlinViewWindow *:selected:focus {
PantheonTerminalPantheonTerminalWindow.background { PantheonTerminalPantheonTerminalWindow.background {
background-color: transparent; background-color: transparent;
.titlebar { background-color: $header_bg; }
.notebook { .notebook {
&.header.top { &.header.top {

View File

@ -1125,11 +1125,29 @@ GtkComboBox {
padding-right: 7px; padding-right: 7px;
border-radius: 4px 4px 0 0; border-radius: 4px 4px 0 0;
color: $header_fg; color: $header_fg;
background-color: opacify($header_bg, 1);
box-shadow: inset 0 1px lighten($header_bg, 3%); box-shadow: inset 0 1px lighten($header_bg, 3%);
&:backdrop { color: transparentize($header_fg, 0.3); } .csd & { background-color: $header_bg; }
&:backdrop {
color: transparentize($header_fg, 0.3);
background-color: opacify($header_bg, 1);
.csd & { background-color: lighten($header_bg, 3%); }
}
.maximized & {
background-color: opacify($header_bg, 1);
&:backdrop { background-color: opacify(lighten($header_bg, 3%), 1); }
}
} }
.titlebar .titlebar,
.titlebar .titlebar:backdrop { background-color: transparent; }
// Only extending .header-bar avoids some problems (Gnome Documents searchbar) // Only extending .header-bar avoids some problems (Gnome Documents searchbar)
.header-bar { .header-bar {
.header-bar-separator, .header-bar-separator,

View File

@ -851,9 +851,23 @@ GtkComboBox {
padding-right: 7px; padding-right: 7px;
border-radius: 4px 4px 0 0; border-radius: 4px 4px 0 0;
color: rgba(82, 93, 118, 0.8); color: rgba(82, 93, 118, 0.8);
background-color: #e7e8eb;
box-shadow: inset 0 1px #eff0f2; } box-shadow: inset 0 1px #eff0f2; }
.csd .titlebar {
background-color: #e7e8eb; }
.titlebar:backdrop { .titlebar:backdrop {
color: rgba(82, 93, 118, 0.5); } color: rgba(82, 93, 118, 0.5);
background-color: #e7e8eb; }
.csd .titlebar:backdrop {
background-color: #eff0f2; }
.maximized .titlebar {
background-color: #e7e8eb; }
.maximized .titlebar:backdrop {
background-color: #eff0f2; }
.titlebar .titlebar,
.titlebar .titlebar:backdrop {
background-color: transparent; }
.primary-toolbar .separator, .primary-toolbar GtkPlacesSidebar.sidebar .view.separator, GtkPlacesSidebar.sidebar .primary-toolbar .view.separator, .header-bar .header-bar-separator, .header-bar > GtkBox > .separator.vertical { .primary-toolbar .separator, .primary-toolbar GtkPlacesSidebar.sidebar .view.separator, GtkPlacesSidebar.sidebar .primary-toolbar .view.separator, .header-bar .header-bar-separator, .header-bar > GtkBox > .separator.vertical {
-GtkWidget-wide-separators: true; -GtkWidget-wide-separators: true;
@ -2815,8 +2829,6 @@ MarlinViewWindow *:selected:focus {
PantheonTerminalPantheonTerminalWindow.background { PantheonTerminalPantheonTerminalWindow.background {
background-color: transparent; } background-color: transparent; }
PantheonTerminalPantheonTerminalWindow.background .titlebar {
background-color: #e7e8eb; }
PantheonTerminalPantheonTerminalWindow.background .notebook.header.top { PantheonTerminalPantheonTerminalWindow.background .notebook.header.top {
box-shadow: inset 0 1px #d4d5db, inset 0 -1px #edf0f3; } box-shadow: inset 0 1px #d4d5db, inset 0 -1px #edf0f3; }

View File

@ -851,9 +851,23 @@ GtkComboBox {
padding-right: 7px; padding-right: 7px;
border-radius: 4px 4px 0 0; border-radius: 4px 4px 0 0;
color: rgba(82, 93, 118, 0.8); color: rgba(82, 93, 118, 0.8);
background-color: #e7e8eb;
box-shadow: inset 0 1px rgba(239, 240, 242, 0.95); } box-shadow: inset 0 1px rgba(239, 240, 242, 0.95); }
.csd .titlebar {
background-color: rgba(231, 232, 235, 0.95); }
.titlebar:backdrop { .titlebar:backdrop {
color: rgba(82, 93, 118, 0.5); } color: rgba(82, 93, 118, 0.5);
background-color: #e7e8eb; }
.csd .titlebar:backdrop {
background-color: rgba(239, 240, 242, 0.95); }
.maximized .titlebar {
background-color: #e7e8eb; }
.maximized .titlebar:backdrop {
background-color: #eff0f2; }
.titlebar .titlebar,
.titlebar .titlebar:backdrop {
background-color: transparent; }
.primary-toolbar .separator, .primary-toolbar GtkPlacesSidebar.sidebar .view.separator, GtkPlacesSidebar.sidebar .primary-toolbar .view.separator, .header-bar .header-bar-separator, .header-bar > GtkBox > .separator.vertical { .primary-toolbar .separator, .primary-toolbar GtkPlacesSidebar.sidebar .view.separator, GtkPlacesSidebar.sidebar .primary-toolbar .view.separator, .header-bar .header-bar-separator, .header-bar > GtkBox > .separator.vertical {
-GtkWidget-wide-separators: true; -GtkWidget-wide-separators: true;
@ -2815,8 +2829,6 @@ MarlinViewWindow *:selected:focus {
PantheonTerminalPantheonTerminalWindow.background { PantheonTerminalPantheonTerminalWindow.background {
background-color: transparent; } background-color: transparent; }
PantheonTerminalPantheonTerminalWindow.background .titlebar {
background-color: rgba(231, 232, 235, 0.95); }
PantheonTerminalPantheonTerminalWindow.background .notebook.header.top { PantheonTerminalPantheonTerminalWindow.background .notebook.header.top {
box-shadow: inset 0 1px #d4d5db, inset 0 -1px #edf0f3; } box-shadow: inset 0 1px #d4d5db, inset 0 -1px #edf0f3; }

View File

@ -686,7 +686,6 @@ MarlinViewWindow *:selected:focus {
PantheonTerminalPantheonTerminalWindow.background { PantheonTerminalPantheonTerminalWindow.background {
background-color: transparent; background-color: transparent;
.titlebar { background-color: $header_bg; }
.notebook { .notebook {

View File

@ -1134,11 +1134,28 @@ GtkComboBox {
padding-right: 7px; padding-right: 7px;
border-radius: 4px 4px 0 0; border-radius: 4px 4px 0 0;
color: $header_fg; color: $header_fg;
background-color: opacify($header_bg, 1);
box-shadow: inset 0 1px lighten($header_bg, 3%); box-shadow: inset 0 1px lighten($header_bg, 3%);
&:backdrop { color: transparentize($header_fg, 0.3); } .csd & { background-color: $header_bg; }
&:backdrop {
color: transparentize($header_fg, 0.3);
background-color: opacify($header_bg, 1);
.csd & { background-color: lighten($header_bg, 3%); }
}
.maximized & {
background-color: opacify($header_bg, 1);
&:backdrop { background-color: opacify(lighten($header_bg, 3%), 1); }
}
} }
.titlebar .titlebar,
.titlebar .titlebar:backdrop { background-color: transparent; }
// Only extending .header-bar avoids some problems (Gnome Documents searchbar) // Only extending .header-bar avoids some problems (Gnome Documents searchbar)
.header-bar { .header-bar {
.header-bar-separator, .header-bar-separator,

View File

@ -858,9 +858,23 @@ GtkComboBox {
padding-right: 7px; padding-right: 7px;
border-radius: 4px 4px 0 0; border-radius: 4px 4px 0 0;
color: rgba(82, 93, 118, 0.8); color: rgba(82, 93, 118, 0.8);
background-color: #e7e8eb;
box-shadow: inset 0 1px #eff0f2; } box-shadow: inset 0 1px #eff0f2; }
.csd .titlebar {
background-color: #e7e8eb; }
.titlebar:backdrop { .titlebar:backdrop {
color: rgba(82, 93, 118, 0.5); } color: rgba(82, 93, 118, 0.5);
background-color: #e7e8eb; }
.csd .titlebar:backdrop {
background-color: #eff0f2; }
.maximized .titlebar {
background-color: #e7e8eb; }
.maximized .titlebar:backdrop {
background-color: #eff0f2; }
.titlebar .titlebar,
.titlebar .titlebar:backdrop {
background-color: transparent; }
.primary-toolbar .separator, .primary-toolbar GtkPlacesSidebar.sidebar .view.separator, GtkPlacesSidebar.sidebar .primary-toolbar .view.separator, .header-bar .header-bar-separator, .header-bar > GtkBox > .separator.vertical { .primary-toolbar .separator, .primary-toolbar GtkPlacesSidebar.sidebar .view.separator, GtkPlacesSidebar.sidebar .primary-toolbar .view.separator, .header-bar .header-bar-separator, .header-bar > GtkBox > .separator.vertical {
-GtkWidget-wide-separators: true; -GtkWidget-wide-separators: true;
@ -2760,8 +2774,6 @@ MarlinViewWindow *:selected:focus {
PantheonTerminalPantheonTerminalWindow.background { PantheonTerminalPantheonTerminalWindow.background {
background-color: transparent; } background-color: transparent; }
PantheonTerminalPantheonTerminalWindow.background .titlebar {
background-color: #e7e8eb; }
PantheonTerminalPantheonTerminalWindow.background .notebook.header.top { PantheonTerminalPantheonTerminalWindow.background .notebook.header.top {
box-shadow: inset 0 1px #d4d5db, inset 0 -1px #edf0f3; } box-shadow: inset 0 1px #d4d5db, inset 0 -1px #edf0f3; }

View File

@ -858,9 +858,23 @@ GtkComboBox {
padding-right: 7px; padding-right: 7px;
border-radius: 4px 4px 0 0; border-radius: 4px 4px 0 0;
color: rgba(82, 93, 118, 0.8); color: rgba(82, 93, 118, 0.8);
background-color: #e7e8eb;
box-shadow: inset 0 1px rgba(239, 240, 242, 0.95); } box-shadow: inset 0 1px rgba(239, 240, 242, 0.95); }
.csd .titlebar {
background-color: rgba(231, 232, 235, 0.95); }
.titlebar:backdrop { .titlebar:backdrop {
color: rgba(82, 93, 118, 0.5); } color: rgba(82, 93, 118, 0.5);
background-color: #e7e8eb; }
.csd .titlebar:backdrop {
background-color: rgba(239, 240, 242, 0.95); }
.maximized .titlebar {
background-color: #e7e8eb; }
.maximized .titlebar:backdrop {
background-color: #eff0f2; }
.titlebar .titlebar,
.titlebar .titlebar:backdrop {
background-color: transparent; }
.primary-toolbar .separator, .primary-toolbar GtkPlacesSidebar.sidebar .view.separator, GtkPlacesSidebar.sidebar .primary-toolbar .view.separator, .header-bar .header-bar-separator, .header-bar > GtkBox > .separator.vertical { .primary-toolbar .separator, .primary-toolbar GtkPlacesSidebar.sidebar .view.separator, GtkPlacesSidebar.sidebar .primary-toolbar .view.separator, .header-bar .header-bar-separator, .header-bar > GtkBox > .separator.vertical {
-GtkWidget-wide-separators: true; -GtkWidget-wide-separators: true;
@ -2760,8 +2774,6 @@ MarlinViewWindow *:selected:focus {
PantheonTerminalPantheonTerminalWindow.background { PantheonTerminalPantheonTerminalWindow.background {
background-color: transparent; } background-color: transparent; }
PantheonTerminalPantheonTerminalWindow.background .titlebar {
background-color: rgba(231, 232, 235, 0.95); }
PantheonTerminalPantheonTerminalWindow.background .notebook.header.top { PantheonTerminalPantheonTerminalWindow.background .notebook.header.top {
box-shadow: inset 0 1px #d4d5db, inset 0 -1px #edf0f3; } box-shadow: inset 0 1px #d4d5db, inset 0 -1px #edf0f3; }