1
0
mirror of https://github.com/horst3180/arc-theme.git synced 2024-10-27 19:04:02 +00:00
horst3180_arc-theme/common/gtk-3.0/3.14/sass/_transparent_widgets.scss

238 lines
5.9 KiB
SCSS
Raw Normal View History

2015-05-16 20:50:01 +00:00
.titlebar .separator {
2015-07-08 00:51:09 +00:00
color: $header_border; //fixes separator in gnome-tweak-tool
2015-05-16 20:50:01 +00:00
}
NemoWindow GtkEventBox { background-color: $bg_color; } // fixes nemo statusbar
2015-05-16 20:50:01 +00:00
GtkFileChooserDialog *,
NautilusWindow *,
NemoWindow {
2015-05-16 20:50:01 +00:00
-GtkPaned-handle-size: 0;
}
2015-06-07 21:00:55 +00:00
@if $variant==dark {
GtkFileChooserDialog,
NautilusWindow ,
NemoWindow {
2015-07-08 00:51:09 +00:00
.sidebar { border-right: 1px solid $dark_sidebar_border; }
2015-06-07 21:00:55 +00:00
2015-07-08 00:51:09 +00:00
.sidebar:dir(rtl) { border-left: 1px solid $dark_sidebar_border; }
2015-06-07 21:00:55 +00:00
}
}
2015-05-16 20:50:01 +00:00
// Dark transparent sidebars
GtkFileChooserDialog,
NautilusWindow,
NemoWindow,
MarlinViewWindow {
2015-05-16 20:50:01 +00:00
&.csd.background,
.source-list, .source-list.view, .source-list.view:prelight { background-color: transparent; }
2015-05-16 20:50:01 +00:00
2015-05-28 15:41:22 +00:00
GtkBox.sidebar { background-color: transparent; }
2015-06-22 21:29:28 +00:00
.sidebar, MarlinPlacesSidebar, NemoPlacesSidebar {
2015-05-16 20:50:01 +00:00
background-color: $dark_sidebar_bg;
.view, .source-list.sidebar row {
2015-05-16 20:50:01 +00:00
background-color: transparent;
color: $dark_sidebar_fg;
&.image { color: transparentize($dark_sidebar_fg, 0.4); }
&.cell:selected {
background-color: $selected_bg_color;
color: $selected_fg_color;
}
2015-05-16 20:50:01 +00:00
}
&.frame {
color: $dark_sidebar_fg;
}
.separator { color: transparent; }
.scrollbar {
2015-05-28 15:41:22 +00:00
&.trough { background-color: transparent; border-color: transparent; }
2015-05-16 20:50:01 +00:00
2015-05-28 15:41:22 +00:00
&.slider {
border-radius: 20px;
border: 3px solid transparent; //margin :/
2015-05-16 20:50:01 +00:00
background-color: transparentize(lighten($dark_sidebar_fg, 15%), 0.3);
2015-05-28 15:41:22 +00:00
&:hover {
background-color: lighten($dark_sidebar_fg, 20%);
}
&:prelight:active {
background-color: $selected_bg_color;
}
&.fine-tune {
border-width: 4px;
&:prelight:active {
background-color: $selected_bg_color;
}
}
2015-05-16 20:50:01 +00:00
&:insensitive {
background-color: transparent;
}
}
}
}
&.maximized .sidebar { background-color: opacify($dark_sidebar_bg, 1); }
.pane-separator { background-color: $dark_sidebar_border; }
}
2015-07-16 19:15:41 +00:00
GtkFileChooserDialog {
2015-07-17 13:37:39 +00:00
&.background.csd, &.background { background-color: $dark_sidebar_bg }
2015-07-16 19:15:41 +00:00
.sidebar { background-color: transparent }
// Yeah, this is ugly, but prevents a transparent background in the image preview box
GtkPaned > .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;
}
.action-bar.frame {
background-color: transparent;
border-color: if($variant =='light', darken($dark_sidebar_bg, 7%), darken($dark_sidebar_bg, 15%));
}
.action-bar.frame,
.dialog-vbox > .frame {
2015-07-16 19:24:51 +00:00
2015-07-16 19:15:41 +00:00
.button { @extend %dark_sidebar_button; }
2015-07-16 19:24:51 +00:00
.entry { @extend %dark_sidebar_entry; }
2015-07-16 19:15:41 +00:00
GtkLabel, GtkComboBox { color: $dark_sidebar_fg; }
}
}
2015-05-16 20:50:01 +00:00
// Gedit sidebar
GeditWindow.background.csd {
2015-05-16 20:50:01 +00:00
background-color: transparent;
.pane-separator,
.pane-separator:hover { background-color: $dark_sidebar_border; }
2015-07-08 00:51:09 +00:00
.titlebar .pane-separator,
&.maximized .titlebar .pane-separator,
.titlebar .pane-separator:backdrop,
&.maximized .titlebar .pane-separator:backdrop { background-color: $header_border; }
2015-05-16 20:50:01 +00:00
}
.gedit-bottom-panel-paned { background-color: $base_color; }
2015-05-16 20:50:01 +00:00
.gedit-document-panel {
background-color: $dark_sidebar_bg;
.maximized & { background-color: opacify($dark_sidebar_bg, 1); }
.list-row { color: $dark_sidebar_fg; }
.list-row {
background-color: transparentize($dark_sidebar_fg, 1);
border: solid transparentize($dark_sidebar_fg, 1);
border-width: 3px 2px 3px 2px;
}
.list-row:hover {
border: solid transparentize($dark_sidebar_fg, 0.85);
border-width: 3px 2px 3px 2px;
background-color: transparentize($dark_sidebar_fg, 0.85);
}
.list-row:active {
color: $selected_fg_color;
background-color: $selected_bg_color;
border: solid $selected_bg_color;
border-width: 3px 2px 3px 2px;
.button { color: $selected_fg_color; }
}
.list-row:selected, .list-row:selected:hover {
color: $selected_fg_color;
background-color: $selected_bg_color;
border: solid $selected_bg_color;
border-width: 3px 2px 3px 2px;
}
.prelight-row .button:active {
color: $dark_sidebar_fg;
}
}
GeditWindow.background.csd GeditFileBrowserWidget {
2015-05-16 20:50:01 +00:00
background-color: $dark_sidebar_bg;
.maximized & { background-color: opacify($dark_sidebar_bg, 1); }
.scrollbar {
2015-05-28 15:41:22 +00:00
&.trough { background-color: transparent; border-color: transparent; }
2015-05-16 20:50:01 +00:00
2015-05-28 15:41:22 +00:00
&.slider {
border-radius: 20px;
border: 3px solid transparent; //margin :/
2015-05-16 20:50:01 +00:00
background-color: transparentize(lighten($dark_sidebar_fg, 15%), 0.3);
2015-05-28 15:41:22 +00:00
&:hover {
background-color: lighten($dark_sidebar_fg, 20%);
}
&:prelight:active {
background-color: $selected_bg_color;
}
&.fine-tune {
border-width: 4px;
&:prelight:active {
background-color: $selected_bg_color;
}
}
2015-05-16 20:50:01 +00:00
&:insensitive {
background-color: transparent;
}
}
}
2015-05-28 15:41:22 +00:00
.scrollbars-junction,
.scrollbars-junction.frame { // the small square between two scrollbars
border-color: transparent;
background-color: transparent;
}
2015-05-16 20:50:01 +00:00
.horizontal {
background-color: transparent;
border-color: darken($dark_sidebar_bg, 7%);
2015-07-16 19:15:41 +00:00
.button { @extend %dark_sidebar_button; }
2015-05-16 20:50:01 +00:00
GtkComboBox { color: $dark_sidebar_fg; }
}
}
GeditWindow.background.csd GeditFileBrowserView.view {
2015-05-16 20:50:01 +00:00
background-color: transparent;
color: $dark_sidebar_fg;
&.expander {
color: $dark_sidebar_fg;
&:hover { color: $selected_bg_color; }
}
}
2015-07-16 19:15:41 +00:00
%dark_sidebar_button {
@include button(osd);
2015-05-16 20:50:01 +00:00
2015-07-16 19:15:41 +00:00
&:hover { @include button(osd-hover) }
&:active, &:checked { @include button(osd-active); }
&:insensitive { @include button(osd-insensitive); }
2015-05-16 20:50:01 +00:00
}
2015-07-16 19:24:51 +00:00
%dark_sidebar_entry {
@include entry(osd);
&:focus { @include entry(osd-focus) }
&:insensitive { @include entry(osd-insensitive); }
}