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

add new color variable

This commit is contained in:
Horst3180 2015-07-06 17:50:35 +02:00
parent 997c88ebcc
commit f47cb744c2
6 changed files with 10 additions and 8 deletions

View File

@ -40,7 +40,7 @@ TerminalWindow {
.notebook { .notebook {
&.header.top { &.header.top {
box-shadow: inset 0 1px if($variant == 'light', darken(opacify($header_bg, 1), 7%), darken(opacify($header_bg, 1), 5%)), box-shadow: inset 0 1px opacify($header_border, 1),
inset 0 -1px if($variant == 'light', lighten($borders_color, 5%), lighten($borders_color, 1%)); inset 0 -1px if($variant == 'light', lighten($borders_color, 5%), lighten($borders_color, 1%));
} }
@ -54,7 +54,7 @@ TerminalWindow {
&.reorderable-page.top:active, &.reorderable-page.top:active,
&.reorderable-page.top:active:hover { &.reorderable-page.top:active:hover {
background-color: opacify($header_bg, 1); background-color: opacify($header_bg, 1);
border-color: if($variant == 'light', darken(opacify($header_bg, 1), 7%), darken(opacify($header_bg, 1), 5%)); border-color: opacify($header_border, 1);
&:backdrop { background-color: opacify($header_bg_backdrop, 1); } &:backdrop { background-color: opacify($header_bg_backdrop, 1); }
} }
@ -163,7 +163,7 @@ NemoWindow .primary-toolbar NemoPathBar.linked > .button {
// //
// Gedit // Gedit
// //
.gedit-headerbar-paned { color: if($variant == 'light', darken($header_bg, 7%), darken($header_bg, 5%)); } .gedit-headerbar-paned { color: $header_border; }
.open-document-selector-treeview.view { .open-document-selector-treeview.view {
padding: 3px 6px 3px 6px; padding: 3px 6px 3px 6px;
@ -686,7 +686,7 @@ PantheonTerminalPantheonTerminalWindow.background {
.notebook { .notebook {
&.header.top { &.header.top {
box-shadow: inset 0 1px if($variant == 'light', darken($header_bg, 7%), darken($header_bg, 5%)), box-shadow: inset 0 1px opacify($header_border, 1),
inset 0 -1px if($variant == 'light', lighten($borders_color, 5%), lighten($borders_color, 1%)); inset 0 -1px if($variant == 'light', lighten($borders_color, 5%), lighten($borders_color, 1%));
} }
} }

View File

@ -56,6 +56,8 @@ $header_bg: if($darker == 'true', transparentize(#2f343b, 0.05), $header_bg);
$header_bg_backdrop: if($variant == 'light', lighten($header_bg, 3%), lighten($header_bg, 1.5%)); $header_bg_backdrop: if($variant == 'light', lighten($header_bg, 3%), lighten($header_bg, 1.5%));
$header_bg_backdrop: if($darker == 'true', lighten($header_bg, 1.5%), $header_bg_backdrop); $header_bg_backdrop: if($darker == 'true', lighten($header_bg, 1.5%), $header_bg_backdrop);
$header_border: if($variant == 'light', darken($header_bg, 7%), darken($header_bg, 5%));
$header_fg: if($variant == 'light', saturate(transparentize($fg_color, 0.2), 10%), saturate(transparentize($fg_color, 0.2), 10%)); $header_fg: if($variant == 'light', saturate(transparentize($fg_color, 0.2), 10%), saturate(transparentize($fg_color, 0.2), 10%));
$header_fg: if($darker == 'true', saturate(transparentize(#D3DAE3, 0.2), 10%), $header_fg); $header_fg: if($darker == 'true', saturate(transparentize(#D3DAE3, 0.2), 10%), $header_fg);

View File

@ -1025,7 +1025,7 @@ GtkComboBox {
border-width: 0 0 1px; border-width: 0 0 1px;
border-style: solid; border-style: solid;
border-radius: 0; border-radius: 0;
border-color: if($variant == 'light', darken($header_bg, 7%), darken($header_bg, 5%)); border-color: $header_border;
color: $header_fg; color: $header_fg;
background-color: opacify($header_bg, 1); background-color: opacify($header_bg, 1);

View File

@ -2855,7 +2855,7 @@ MarlinViewWindow *:selected:focus {
PantheonTerminalPantheonTerminalWindow.background { PantheonTerminalPantheonTerminalWindow.background {
background-color: transparent; } background-color: transparent; }
PantheonTerminalPantheonTerminalWindow.background .notebook.header.top { PantheonTerminalPantheonTerminalWindow.background .notebook.header.top {
box-shadow: inset 0 1px rgba(26, 28, 32, 0.96), inset 0 -1px #1f2227; } box-shadow: inset 0 1px #1a1c20, inset 0 -1px #1f2227; }
SwitchboardCategoryView .view:selected, SwitchboardCategoryView .view:selected,
SwitchboardCategoryView .view:selected:focus { SwitchboardCategoryView .view:selected:focus {

View File

@ -2856,7 +2856,7 @@ MarlinViewWindow *:selected:focus {
PantheonTerminalPantheonTerminalWindow.background { PantheonTerminalPantheonTerminalWindow.background {
background-color: transparent; } background-color: transparent; }
PantheonTerminalPantheonTerminalWindow.background .notebook.header.top { PantheonTerminalPantheonTerminalWindow.background .notebook.header.top {
box-shadow: inset 0 1px rgba(31, 34, 39, 0.95), inset 0 -1px #edf0f3; } box-shadow: inset 0 1px #1f2227, inset 0 -1px #edf0f3; }
SwitchboardCategoryView .view:selected, SwitchboardCategoryView .view:selected,
SwitchboardCategoryView .view:selected:focus { SwitchboardCategoryView .view:selected:focus {

View File

@ -2855,7 +2855,7 @@ MarlinViewWindow *:selected:focus {
PantheonTerminalPantheonTerminalWindow.background { PantheonTerminalPantheonTerminalWindow.background {
background-color: transparent; } background-color: transparent; }
PantheonTerminalPantheonTerminalWindow.background .notebook.header.top { PantheonTerminalPantheonTerminalWindow.background .notebook.header.top {
box-shadow: inset 0 1px rgba(212, 213, 219, 0.95), inset 0 -1px #edf0f3; } box-shadow: inset 0 1px #d4d5db, inset 0 -1px #edf0f3; }
SwitchboardCategoryView .view:selected, SwitchboardCategoryView .view:selected,
SwitchboardCategoryView .view:selected:focus { SwitchboardCategoryView .view:selected:focus {