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

re-enable some application styling

This commit is contained in:
Horst3180 2016-02-19 11:06:17 +01:00 committed by Horst3180
parent ca3c5b5fda
commit 75b37adf83
2 changed files with 352 additions and 387 deletions

View File

@ -1,92 +1,92 @@
//
// Tab overrides
//
GeditNotebook.notebook,
ScratchMainWindow .notebook,
EphyNotebook.notebook,
MidoriNotebook .notebook,
TerminalWindow .notebook,
PantheonTerminalPantheonTerminalWindow .notebook {
//GeditNotebook.notebook,
//ScratchMainWindow .notebook,
//EphyNotebook.notebook,
//MidoriNotebook .notebook,
//TerminalWindow .notebook,
//PantheonTerminalPantheonTerminalWindow .notebook {
//
// header.top tab {
// &:active {
// box-shadow: inset 0 1px $borders_color,
// inset 0 -1px $borders_color,
// inset 1px 0 $borders_color,
// inset -1px 0 $borders_color;
// }
// }
//}
header.top tab {
&:active {
box-shadow: inset 0 1px $borders_color,
inset 0 -1px $borders_color,
inset 1px 0 $borders_color,
inset -1px 0 $borders_color;
}
}
}
//TerminalWindow .notebook,
//PantheonTerminalPantheonTerminalWindow .notebook {
TerminalWindow .notebook,
PantheonTerminalPantheonTerminalWindow .notebook {
&.header.top {
box-shadow: inset 0 1px opacify($header_border, 1),
inset 0 -1px $borders_color;
tab {
padding-top: 7px;
border-top-width: 3px;
}
}
}
// &.header.top {
// box-shadow: inset 0 1px opacify($header_border, 1),
// inset 0 -1px $borders_color;
//
// tab {
// padding-top: 7px;
// border-top-width: 3px;
// }
// }
//}
//
// Evolution
//
// needed for webkit/GtkStyle/Evolution compatibility
GtkHTML {
background-color: $base_color;
color: $text_color;
&:active {
color: $selected_fg_color;
background-color: $selected_bg_color;
}
}
//GtkHTML {
// background-color: $base_color;
// color: $text_color;
//
// &:active {
// color: $selected_fg_color;
// background-color: $selected_bg_color;
// }
//}
//
// Sushi
//
// used by gnome-font-viewer and sushi
SushiFontWidget {
padding: 6px 12px;
}
//SushiFontWidget {
// padding: 6px 12px;
//}
//
// GNOME Terminal
//
TerminalWindow {
.background {
background-color: transparent;
}
scrollbar {
&.vertical slider { margin-left: 3px; }
trough { border-width: 0; }
}
.notebook {
tab button {
color: mix($bg_color, $fg_color, 35%);
&:hover {
color: $fg_color;
border-color: $button_border;
background-color: $button_bg;
}
}
tab:active, tab:hover {
button {
@extend %undecorated_button;
&:hover { color: lighten(red, 15%); @extend %undecorated_button;}
&:active { color: $selected_bg_color; @extend %undecorated_button;}
}
}
}
}
//TerminalWindow {
// .background {
// background-color: transparent;
// }
//
// scrollbar {
// &.vertical slider { margin-left: 3px; }
//
// trough { border-width: 0; }
// }
//
// .notebook {
// tab button {
// color: mix($bg_color, $fg_color, 35%);
//
// &:hover {
// color: $fg_color;
// border-color: $button_border;
// background-color: $button_bg;
// }
// }
// tab:active, tab:hover {
// button {
// @extend %undecorated_button;
// &:hover { color: lighten(red, 15%); @extend %undecorated_button;}
// &:active { color: $selected_bg_color; @extend %undecorated_button;}
// }
// }
// }
//}
//
// Nautilus
@ -110,10 +110,11 @@ TerminalWindow {
&:selected, &:selected:focus { color: mix($selected_fg_color, $selected_bg_color, 80%); }
}
NautilusQueryEditor searchbar {
.nautilus-window .search-bar {
padding: 5px;
box-shadow: none;
background-color: $base_color;
border-bottom: 1px solid $borders_color;
}
button.nautilus-circular-button.image-button {
@ -145,59 +146,59 @@ $disk_space_free: darken($bg_color, 3%);
}
// View
NautilusListView .view { border-bottom: 1px solid $borders_color; }
.nautilus-list-view .view { border-bottom: 1px solid $borders_color; }
//
// Nemo
//
.nemo-desktop.nemo-canvas-item { @extend .nautilus-desktop.nautilus-canvas-item; }
NemoWindow {
EelEditableLabel { transition: none; } // Workaround for invisible text in rename entry
.sidebar .frame { border-width: 0; }
separator.horizontal { color: $borders_color; }
.primary-toolbar NemoPathBar.linked:not(.vertical):not(.path-bar) > button {
@include button(header-hover);
&:hover { background-color: lighten($header_button_bg, 15%); }
&:active, &:checked { @include button(header-active); }
&:disabled { color: transparentize($header_fg, 0.4); }
}
.primary-toolbar NemoPathBar.linked:not(.vertical):not(.path-bar) > button,
.primary-toolbar NemoPathBar.linked:not(.vertical):not(.path-bar) > button:hover,
.primary-toolbar NemoPathBar.linked:not(.vertical):not(.path-bar) > button:active,
.primary-toolbar NemoPathBar.linked:not(.vertical):not(.path-bar) > button:checked,
.primary-toolbar NemoPathBar.linked:not(.vertical):not(.path-bar) > button:disabled {
@extend %linked;
@extend %linked_button;
}
.primary-toolbar NemoPathBar.linked:not(.vertical):not(.path-bar) {
$_linked_separator_color: $header_button_border;
> button:hover:not(:checked):not(:active):not(:only-child) {
&:hover {
box-shadow: inset 1px 0 $_linked_separator_color,
inset -1px 0 $_linked_separator_color;
}
&:first-child:hover { box-shadow: inset -1px 0 $_linked_separator_color; }
&:last-child:hover { box-shadow: inset 1px 0 $_linked_separator_color; }
}
}
}
//NemoWindow {
//
// EelEditableLabel { transition: none; } // Workaround for invisible text in rename entry
//
// .sidebar .frame { border-width: 0; }
//
// separator.horizontal { color: $borders_color; }
//
// .primary-toolbar NemoPathBar.linked:not(.vertical):not(.path-bar) > button {
//
// @include button(header-hover);
//
// &:hover { background-color: lighten($header_button_bg, 15%); }
// &:active, &:checked { @include button(header-active); }
// &:disabled { color: transparentize($header_fg, 0.4); }
// }
//
// .primary-toolbar NemoPathBar.linked:not(.vertical):not(.path-bar) > button,
// .primary-toolbar NemoPathBar.linked:not(.vertical):not(.path-bar) > button:hover,
// .primary-toolbar NemoPathBar.linked:not(.vertical):not(.path-bar) > button:active,
// .primary-toolbar NemoPathBar.linked:not(.vertical):not(.path-bar) > button:checked,
// .primary-toolbar NemoPathBar.linked:not(.vertical):not(.path-bar) > button:disabled {
// @extend %linked;
// @extend %linked_button;
// }
//
// .primary-toolbar NemoPathBar.linked:not(.vertical):not(.path-bar) {
//
// $_linked_separator_color: $header_button_border;
//
// > button:hover:not(:checked):not(:active):not(:only-child) {
//
// &:hover {
// box-shadow: inset 1px 0 $_linked_separator_color,
// inset -1px 0 $_linked_separator_color;
// }
// &:first-child:hover { box-shadow: inset -1px 0 $_linked_separator_color; }
// &:last-child:hover { box-shadow: inset 1px 0 $_linked_separator_color; }
// }
// }
//}
//
// Gedit
//
.gedit-headerbar-paned { color: $header_border; }
//.gedit-headerbar-paned { color: $header_border; }
.open-document-selector-treeview.view {
padding: 3px 6px 3px 6px;
@ -264,24 +265,23 @@ NemoWindow {
//.gedit-document-panel-placeholder-row {
//}
GeditStatusbar {
border-top: 1px solid $borders_color;
background-color: $bg_color;
}
//GeditStatusbar {
// border-top: 1px solid $borders_color;
// background-color: $bg_color;
//}
//
//GeditStatusMenuButton.button.flat,
//GeditStatusMenuButton:hover.button.flat,
//GeditStatusMenuButton:checked.button.flat {
// border-bottom-style: none;
// border-radius: 0;
//}
GeditStatusMenuButton.button.flat,
GeditStatusMenuButton:hover.button.flat,
GeditStatusMenuButton:checked.button.flat {
border-bottom-style: none;
border-radius: 0;
}
.gedit-search-slider { @extend %search_slider }
GeditViewFrame .gedit-search-slider { @extend %search_slider }
GeditFileBrowserWidget toolbar {
border-bottom: 1px solid $borders_color;
}
//GeditFileBrowserWidget toolbar {
// border-bottom: 1px solid $borders_color;
//}
.gedit-search-entry-occurrences-tag {
color: transparentize($fg_color, 0.4);
@ -434,9 +434,9 @@ GbViewStack.focused box.header.notebook {
//
// Epiphany
//
EphyWindow .floating-bar { // Epiphany overrides the floating-bar style, so reset it
color: $fg_color;
}
//EphyWindow .floating-bar { // Epiphany overrides the floating-bar style, so reset it
// color: $fg_color;
//}
//
// Gnome Documents
@ -498,15 +498,15 @@ button.documents-favorite:active:hover {
//
// Totem
//
TotemGrilo.vertical GdMainView.frame {
border-width: 0;
}
//TotemGrilo.vertical GdMainView.frame {
// border-width: 0;
//}
//
// Synapse
//
SynapseGuiSelectionContainer *:selected,
SynapseGuiViewVirgilio *:selected { background-color: $selected_bg_color; }
//SynapseGuiSelectionContainer *:selected,
//SynapseGuiViewVirgilio *:selected { background-color: $selected_bg_color; }
//
// Transmission
@ -519,63 +519,63 @@ SynapseGuiViewVirgilio *:selected { background-color: $selected_bg_color; }
//
// Fallback Mode/Budgie Panel
//
.gnome-panel-menu-bar,
PanelApplet > menubar,
PanelToplevel,
PanelWidget,
PanelAppletFrame,
PanelApplet {
color: $panel_fg;
background-image: linear-gradient(to bottom, $panel_bg);
}
PanelApplet button, PanelApplet button:backdrop {
padding: 4px;
border: 2px solid transparent;
border-radius: 0;
background-image: none;
background-color: transparent;
color: $panel_fg;
}
PanelApplet button:hover {
color: lighten($panel_fg, 10%);
background-color: transparentize(black, 0.83);
border-color: transparentize(black, 0.83);
}
PanelApplet button:active, PanelApplet button:active:backdrop,
PanelApplet button:checked, PanelApplet button:checked:backdrop {
background-clip: padding-box;
color: $selected_fg_color;
background-color: transparentize(black, 0.75);
border-radius: 0;
border-color: transparentize(black, 0.75);
box-shadow: inset 0 -2px $selected_bg_color;
}
PanelApplet:hover {
color: $selected_fg_color;
}
PanelApplet:active,
PanelApplet:hover:active {
color: $selected_bg_color;
}
WnckPager {
color: mix($panel_fg, black, 50%);
&:selected { color: $selected_bg_color }
}
NaTrayApplet {
-NaTrayApplet-icon-padding: 12;
-NaTrayApplet-icon-size: 16;
}
ClockBox {
color: $panel_fg;
}
//.gnome-panel-menu-bar,
//PanelApplet > menubar,
//PanelToplevel,
//PanelWidget,
//PanelAppletFrame,
//PanelApplet {
// color: $panel_fg;
// background-image: linear-gradient(to bottom, $panel_bg);
//}
//
//PanelApplet button, PanelApplet button:backdrop {
// padding: 4px;
// border: 2px solid transparent;
// border-radius: 0;
// background-image: none;
// background-color: transparent;
// color: $panel_fg;
//}
//
//PanelApplet button:hover {
// color: lighten($panel_fg, 10%);
// background-color: transparentize(black, 0.83);
// border-color: transparentize(black, 0.83);
//}
//
//PanelApplet button:active, PanelApplet button:active:backdrop,
//PanelApplet button:checked, PanelApplet button:checked:backdrop {
// background-clip: padding-box;
// color: $selected_fg_color;
// background-color: transparentize(black, 0.75);
// border-radius: 0;
// border-color: transparentize(black, 0.75);
// box-shadow: inset 0 -2px $selected_bg_color;
//}
//
//PanelApplet:hover {
// color: $selected_fg_color;
//}
//
//PanelApplet:active,
//PanelApplet:hover:active {
// color: $selected_bg_color;
//}
//
//WnckPager {
// color: mix($panel_fg, black, 50%);
// &:selected { color: $selected_bg_color }
//}
//
//NaTrayApplet {
// -NaTrayApplet-icon-padding: 12;
// -NaTrayApplet-icon-size: 16;
//}
//
//ClockBox {
// color: $panel_fg;
//}
// Xfce Panel
.xfce4-panel.panel {
@ -622,26 +622,26 @@ ClockBox {
//
// Birdie
//
BirdieWidgetsTweetList * {
background-image: none;
background-color: transparent;
}
//BirdieWidgetsTweetList * {
// background-image: none;
// background-color: transparent;
//}
//
// Marlin / Pantheon Files
//
MarlinViewWindow {
*:selected, *:selected:focus {
color: $selected_fg_color;
background-color: $selected_bg_color;
outline-color: transparent;
}
GtkIconView.view:selected {
&, &:focus, &:hover, &:focus:hover { background-color: transparent; }
}
FMListView, FMColumnView { outline-color: transparent; }
}
//MarlinViewWindow {
//
// *:selected, *:selected:focus {
// color: $selected_fg_color;
// background-color: $selected_bg_color;
// outline-color: transparent;
// }
// GtkIconView.view:selected {
// &, &:focus, &:hover, &:focus:hover { background-color: transparent; }
// }
// FMListView, FMColumnView { outline-color: transparent; }
//}
.marlin-pathbar.pathbar {
border-radius: 3px;
@ -741,42 +741,42 @@ MarlinViewWindow {
//
// Wingpanel Popover
//
WingpanelWidgetsIndicatorPopover.popover {
padding: 0;
text-shadow: none;
-gtk-icon-shadow: none;
menuitem {
padding: 5px;
outline-color: transparent;
text-shadow: none;
-gtk-icon-shadow: none;
border: solid transparent;
border-width: 1px 0;
label, image { padding: 0 3px; }
&:hover, &:active {
background-color: if($variant == 'light', transparentize(black, 0.96), transparentize(white, 0.95));
border: solid if($variant == 'light', transparentize(black, 0.92), transparentize(white, 0.93));
border-width: 1px 0;
}
*:disabled { color: $insensitive_fg_color; }
}
}
//WingpanelWidgetsIndicatorPopover.popover {
// padding: 0;
//
// text-shadow: none;
// -gtk-icon-shadow: none;
//
// menuitem {
// padding: 5px;
// outline-color: transparent;
// text-shadow: none;
// -gtk-icon-shadow: none;
// border: solid transparent;
// border-width: 1px 0;
//
// label, image { padding: 0 3px; }
//
// &:hover, &:active {
// background-color: if($variant == 'light', transparentize(black, 0.96), transparentize(white, 0.95));
// border: solid if($variant == 'light', transparentize(black, 0.92), transparentize(white, 0.93));
// border-width: 1px 0;
// }
// *:disabled { color: $insensitive_fg_color; }
// }
//}
//
// Pantheon Terminal
//
PantheonTerminalPantheonTerminalWindow.background {
background-color: transparent;
}
//PantheonTerminalPantheonTerminalWindow.background {
// background-color: transparent;
//}
//
// Switchboard
//
SwitchboardCategoryView .view:selected,
SwitchboardCategoryView .view:selected:focus {
color: $fg_color;
}
//SwitchboardCategoryView .view:selected,
//SwitchboardCategoryView .view:selected:focus {
// color: $fg_color;
//}

View File

@ -1,32 +1,27 @@
.titlebar separator {
color: $header_border; //fixes separator in gnome-tweak-tool
}
//NemoWindow GtkEventBox { background-color: $bg_color; } // fixes nemo statusbar
NemoWindow GtkEventBox { background-color: $bg_color; } // fixes nemo statusbar
GtkFileChooserDialog *,
NautilusWindow *,
NemoWindow {
//-GtkPaned-handle-size: 0;
}
@if $variant==dark {
GtkFileChooserDialog,
NautilusWindow ,
NemoWindow {
.sidebar { border-right: 1px solid $dark_sidebar_border; }
.sidebar:dir(rtl) { border-left: 1px solid $dark_sidebar_border; }
}
//GtkFileChooserDialog,
//NemoWindow,
.nautilus-window {
paned > separator { background: $dark_sidebar_bg; }
}
// Dark transparent sidebars
GtkFileChooserDialog,
NautilusWindow {
//GtkFileChooserDialog,
.nautilus-window {
&.csd.background, placessidebar list { background-color: transparent; }
placessidebar.sidebar {
&:dir(ltr) { margin-right: -1px; }
&:dir(rtl) { margin-left: -1px; }
@if $variant=='dark' {
&:dir(ltr) { border-right: 1px solid $dark_sidebar_border; }
&:dir(rtl) { border-left: 1px solid $dark_sidebar_border; }
}
background-color: $dark_sidebar_bg;
row.sidebar-placeholder-row { border: 1px solid $selected_bg_color; }
@ -47,7 +42,7 @@ NautilusWindow {
}
}
separator { color: transparent; }
separator { background-color: transparent; }
scrollbar { @extend %dark_sidebar_scrollbar }
}
@ -65,112 +60,82 @@ NautilusWindow {
}
NemoWindow,
MarlinViewWindow {
//NemoWindow,
//MarlinViewWindow {
//
// &.csd.background,
// .source-list, .source-list.view, .source-list.view:hover { background-color: transparent; }
//
// .sidebar, .source-list.sidebar.view {
// background-color: $dark_sidebar_bg;
//
// .view, row {
// background-color: transparent;
// color: $dark_sidebar_fg;
//
// &.cell:selected {
// background-color: $selected_bg_color;
// color: $selected_fg_color;
// }
// }
//
// &.frame {
// color: $dark_sidebar_fg;
// }
//
// separator { color: transparent; }
//
// scrollbar { @extend %dark_sidebar_scrollbar }
// }
// &.maximized .sidebar { background-color: opacify($dark_sidebar_bg, 1); }
//
//}
&.csd.background,
.source-list, .source-list.view, .source-list.view:hover { background-color: transparent; }
.sidebar, .source-list.sidebar.view {
background-color: $dark_sidebar_bg;
.view, row {
background-color: transparent;
color: $dark_sidebar_fg;
&.cell:selected {
background-color: $selected_bg_color;
color: $selected_fg_color;
}
}
&.frame {
color: $dark_sidebar_fg;
}
separator { color: transparent; }
scrollbar { @extend %dark_sidebar_scrollbar }
}
&.maximized .sidebar { background-color: opacify($dark_sidebar_bg, 1); }
}
NemoWindow.background > GtkGrid > paned > separator,
MarlinViewWindow.background > GtkBox > paned > separator { background-color: $dark_sidebar_border }
//NemoWindow.background > GtkGrid > paned > separator,
//MarlinViewWindow.background > GtkBox > paned > separator { background-color: $dark_sidebar_border }
// Fix Nautilus transparency issues
NautilusWindow NautilusWindowSlot { background-color: $base_color; }
NautilusDesktopWindow NautilusWindowSlot { background-color: transparent; }
GtkFileChooserDialog {
&.background.csd, &.background { background-color: $dark_sidebar_bg }
scrolledwindow.sidebar { background-color: transparent }
// Yeah, this is ugly, but prevents a transparent background in the image preview box
paned > .vertical > .horizontal { background-color: $bg_color; }
// fix for non gnome environments
.dialog-action-box { background-color: $bg_color }
.dialog-vbox > .frame {
color: $dark_sidebar_fg;
border-color: transparent;
}
GtkFileChooserWidget > actionbar > revealer > .action-bar.frame {
background-color: transparent;
border-color: if($variant =='light', darken($dark_sidebar_bg, 7%), darken($dark_sidebar_bg, 15%));
}
GtkFileChooserWidget > actionbar > revealer > .action-bar.frame,
.dialog-vbox > .frame {
button { @extend %dark_sidebar_button; }
entry { @extend %dark_sidebar_entry; }
@extend %osd_check_radio;
label, combobox { color: $dark_sidebar_fg; }
}
}
//.nautilus-window NautilusWindowSlot { background-color: $base_color; }
//GtkFileChooserDialog {
//
// Paned Headerbars
// &.background.csd, &.background { background-color: $dark_sidebar_bg }
// scrolledwindow.sidebar { background-color: transparent }
//
FeedReaderreaderUI.background.csd,
GeditWindow.background.csd {
> .titlebar .pane-separator,
&.maximized > .titlebar .pane-separator,
> .titlebar .pane-separator:backdrop,
&.maximized > .titlebar .pane-separator:backdrop { background-color: $header_border; }
> .titlebar > headerbar.titlebar {
background-color: $header_bg;
&:backdrop { background-color: $header_bg_backdrop; }
}
&.maximized > .titlebar > headerbar.titlebar {
background-color: opacify($header_bg, 1);
&:backdrop { background-color: opacify($header_bg_backdrop, 1); }
}
}
FeedReaderreaderUI.background.csd > FeedReaderreaderHeaderbar.titlebar,
GeditWindow.background.csd > .titlebar {
background-color: transparent;
}
// // Yeah, this is ugly, but prevents a transparent background in the image preview box
// paned > .vertical > .horizontal { background-color: $bg_color; }
//
// // fix for non gnome environments
// .dialog-action-box { background-color: $bg_color }
//
// .dialog-vbox > .frame {
// color: $dark_sidebar_fg;
// border-color: transparent;
// }
// GtkFileChooserWidget > actionbar > revealer > .action-bar.frame {
// background-color: transparent;
// border-color: if($variant =='light', darken($dark_sidebar_bg, 7%), darken($dark_sidebar_bg, 15%));
// }
//
// GtkFileChooserWidget > actionbar > revealer > .action-bar.frame,
// .dialog-vbox > .frame {
//
// button { @extend %dark_sidebar_button; }
// entry { @extend %dark_sidebar_entry; }
//
// @extend %osd_check_radio;
//
// label, combobox { color: $dark_sidebar_fg; }
// }
//}
// Gedit
GeditWindow.background {
&.csd { background-color: transparent; }
.gedit-side-panel-paned .pane-separator { background-color: $dark_sidebar_border; }
.gedit-bottom-panel-paned .pane-separator { background-color: $borders_color; }
}
//GeditWindow.background {
// &.csd { background-color: transparent; }
//
// .gedit-side-panel-paned .pane-separator { background-color: $dark_sidebar_border; }
// .gedit-bottom-panel-paned .pane-separator { background-color: $borders_color; }
//}
.gedit-bottom-panel-paned { background-color: $base_color; }
@ -210,32 +175,32 @@ GeditWindow.background {
}
}
GeditFileBrowserWidget {
background-color: $dark_sidebar_bg;
//GeditFileBrowserWidget {
// background-color: $dark_sidebar_bg;
//
// .maximized & { background-color: opacify($dark_sidebar_bg, 1); }
//
// scrollbar { @extend %dark_sidebar_scrollbar; }
//
// .horizontal {
// background-color: transparent;
// border-color: darken($dark_sidebar_bg, 7%);
//
// button { @extend %dark_sidebar_button; }
// combobox { color: $dark_sidebar_fg; }
// }
//}
.maximized & { background-color: opacify($dark_sidebar_bg, 1); }
scrollbar { @extend %dark_sidebar_scrollbar; }
.horizontal {
background-color: transparent;
border-color: darken($dark_sidebar_bg, 7%);
button { @extend %dark_sidebar_button; }
combobox { color: $dark_sidebar_fg; }
}
}
GeditWindow.background.csd GeditFileBrowserView.view {
background-color: transparent;
color: $dark_sidebar_fg;
&.expander {
color: $dark_sidebar_fg;
&:hover { color: $selected_bg_color; }
}
}
//GeditWindow.background.csd GeditFileBrowserView.view {
//
// background-color: transparent;
// color: $dark_sidebar_fg;
//
// &.expander {
// color: $dark_sidebar_fg;
// &:hover { color: $selected_bg_color; }
// }
//}
%dark_sidebar_button {
@include button(osd);