
EphyWindow {
    background-image: -gtk-gradient (linear,
                                     left top, left bottom,
                                     from (shade(@theme_bg_dark_color, 0.95)),
                                     to   (shade(@theme_bg_dark_color, 0.92)));
}

/* gedit line numbers */
GeditView {
    background-color: shade (@bg_color, 1.07);
}

GeditViewFrame .gedit-search-slider {
    background-image: none;
    background-color: @theme_bg_color;
    padding: 6px;
    border-color: shade (@theme_bg_color, 0.72);
    border-radius: 0 0 3px 3px;
    border-width: 0 1px 1px 1px;
    border-style: solid;
}

GeditViewFrame .gedit-search-slider .not-found {
    color: @error_fg_color;
    background-image: none;
    background-color: @error_bg_color;
}

TerminalWindow .menubar,
EphyToolbar.toolbar.menubar,
GeditWindow .primary-toolbar.toolbar {
    /* line 3D  (dark) */
    box-shadow: none;
    /* linea 3D (clear) */
    border-bottom-width:  0px;
}

EphyToolbar.toolbar .raised .button *:hover,
EphyToolbar.toolbar .raised.button *:hover,
EphyToolbar.toolbar .raised .button *:active,
EphyToolbar.toolbar .raised.button *:active,
EphyToolbar.toolbar .raised .button *:active:hover,
EphyToolbar.toolbar .raised.button *:active:hover,
EphyToolbar.toolbar .raised .button *:checked,
EphyToolbar.toolbar .raised.button *:checked,
EphyToolbar.toolbar .raised .button *:checked:hover,
EphyToolbar.toolbar .raised.button *:checked:hover {
    color: @theme_text_dark_color;
    text-shadow: 0px 1px @theme_shadow_dark_color;
}

TerminalWindow,
TerminalWindow .notebook {
    background-image: -gtk-gradient (linear,
                                     left top, left bottom,
                                     from (shade(@theme_bg_dark_color, 0.95)),
                                     to   (shade(@theme_bg_dark_color, 0.95)));
}

TerminalWindow .notebook,
GeditWindow .notebook,
EphyNotebook.notebook {
    border-style: solid;
    border-width: 1px 0px 0px 0px;
    border-radius: 0px;
    border-top-color: @theme_mdi_border_color;
    border-image: none;
    background-color: shade(@theme_bg_color, 0.97);
    background-image: none;
}

GeditWindow .notebook tab,
EphyNotebook.notebook tab {
    background-image: -gtk-gradient (linear,
                                     left top, left bottom,
                                     from (shade(@theme_bg_dark_color, 0.95)),
                                     to   (shade(@theme_bg_dark_color, 0.93)));
    border-top-color: @theme_mdi_border_color;
}

TerminalWindow .notebook tab {
    background-image: -gtk-gradient (linear,
                                     left top, left bottom,
                                     from (shade(@theme_bg_dark_color, 1.00)),
                                     to   (shade(@theme_bg_dark_color, 0.97)));
    border-top-color: shade(@theme_mdi_border_color, 1.05);
}

TerminalWindow .notebook tab,
GeditWindow .notebook tab,
EphyNotebook.notebook tab {
    padding: 2px 4px;
    border-width: 1px 1px 0px 1px;
    border-style: solid;
    border-left-color:   @theme_mdi_border_color;
    border-bottom-color: @theme_mdi_border_color;
    border-right-color:  @theme_mdi_border_color;
    border-image: none;
    box-shadow: inset  0px  1px @theme_highlight_color,
                inset  1px  0px @theme_highlight_color,
                inset -1px  0px @theme_highlight_color;
}

GeditWindow.notebook tab.top.
EphyNotebook.notebook tab.top {
    padding: 3px 4px;
}

TerminalWindow .notebook tab:active,
GeditWindow .notebook tab:active,
EphyNotebook.notebook tab:active,
TerminalWindow .notebook tab:checked,
GeditWindow .notebook tab:checked,
EphyNotebook.notebook tab:checked {
    background-image: -gtk-gradient (linear,
                                     left top, left bottom,
                                     from (shade(@theme_mdi_bg_color, 0.90)),
                                     color-stop (0.66, shade(@theme_mdi_bg_color, 0.95)),
                                     to (shade(@theme_mdi_bg_color, 1.03)));
    border-width: 1px 1px 0px 1px;
    border-style: solid; 
    /* border-radius: 4px; */
    border-top-color:   shade(@theme_mdi_border_color, 0.85);
    border-left-color:  shade(@theme_mdi_border_color, 0.88);
    border-right-color: shade(@theme_mdi_border_color, 0.88);
    border-image: none;
    box-shadow: inset  0px  4px alpha(#000, 0.01),
                inset  0px  3px alpha(#000, 0.02),
                inset  0px  2px alpha(#000, 0.03),
                inset  0px  1px alpha(#000, 0.04),
                inset  4px  0px alpha(#000, 0.01),
                inset  3px  0px alpha(#000, 0.02),
                inset  2px  0px alpha(#000, 0.03),
                inset  1px  0px alpha(#000, 0.04),
                inset -4px  0px alpha(#000, 0.01),
                inset -3px  0px alpha(#000, 0.02),
                inset -2px  0px alpha(#000, 0.03),
                inset -1px  0px alpha(#000, 0.04);
}

GeditWindow .notebook tab:first-child,
EphyNotebook.notebook tab:first-child,
GeditWindow .notebook tab:first-child:active,
EphyNotebook.notebook tab:first-child:active,
TerminalWindow .notebook tab:first-child,
TerminalWindow .notebook tab:first-child:active,
GeditWindow .notebook tab:first-child:checked,
EphyNotebook.notebook tab:first-child:checked,
TerminalWindow .notebook tab:first-child:checked {
    border-left-width: 0px;
    border-radius: 0px;
}

TerminalWindow .notebook tab:last-child,
TerminalWindow .notebook tab:last-child:active {
    border-right-width: 0px;
    border-radius: 0px;
}

/* to compensate for the use of tabs-themed-dark.css */
GeditWindow .notebook tab:first-child,
EphyNotebook.notebook tab:first-child,
TerminalWindow .notebook tab:first-child,
GeditWindow .notebook tab:last-child,
EphyNotebook.notebook tab:last-child,
TerminalWindow .notebook tab:last-child {
    border-left-color: @theme_mdi_border_color;
    border-right-color: @theme_mdi_border_color;
}

GeditWindow .notebook tab:first-child:active,
EphyNotebook.notebook tab:first-child:active,
TerminalWindow .notebook tab:first-child:active,
GeditWindow .notebook tab:last-child:active,
EphyNotebook.notebook tab:last-child:active,
TerminalWindow .notebook tab:last-child:active,
GeditWindow .notebook tab:first-child:checked,
EphyNotebook.notebook tab:first-child:checked,
TerminalWindow .notebook tab:first-child:checked,
GeditWindow .notebook tab:last-child:checked,
EphyNotebook.notebook tab:last-child:checked,
TerminalWindow .notebook tab:last-child:checked {
    border-left-color: shade(@theme_mdi_border_color, 0.88);
    border-right-color: shade(@theme_mdi_border_color, 0.88);
}

GeditWindow .notebook tab:first-child,
EphyNotebook.notebook tab:first-child,
GeditWindow .notebook tab:first-child:hover,
EphyNotebook.notebook tab:first-child:hover,
GeditWindow .notebook tab:first-child:active,
EphyNotebook.notebook tab:first-child:active,
GeditWindow .notebook tab:first-child:checked,
EphyNotebook.notebook tab:first-child:checked {
    border-radius: 0px;
}

GeditWindow .notebook tab:last-child,
EphyNotebook.notebook tab:last-child,
GeditWindow .notebook tab:last-child:hover,
EphyNotebook.notebook tab:last-child:hover,
GeditWindow .notebook tab:last-child:active,
EphyNotebook.notebook tab:last-child:active,
GeditWindow .notebook tab:last-child:checked,
EphyNotebook.notebook tab:last-child:checked {
    border-radius: 0px;
}

TerminalWindow .notebook tab:only-child {
    border-radius: 0px;
}

GeditWindow .notebook tab:only-child,
GeditWindow .notebook tab:only-child:active,
GeditWindow .notebook tab:only-child:hover,
GeditWindow .notebook tab:only-child:checked,
EphyNotebook.notebook tab:only-child {
    border-radius: 0px;
}

TerminalWindow .notebook tab GtkLabel,
EphyNotebook.notebook tab GtkLabel,
GeditWindow .notebook tab GtkLabel,
GeditWindow.notebook tab GtkLabel {
    padding: 1px 4px;
    color: @theme_fg_dark_color;
    text-shadow: 0px 1px @theme_shadow_dark_color;
}

/* gnome-terminal */
TerminalScreen {
    -TerminalScreen-background-darkness: 0.95;
    background-color: @terminal_background_color;
    color: @selected_fg_color;
}

/*************
 * rhythmbox *
 *************/

.primary-toolbar.toolbar.horizontal RBHeader.horizontal GtkVolumeButton.button.flat,
.primary-toolbar.toolbar.horizontal RBHeader.horizontal GtkVolumeButton.button.flat:active,
.primary-toolbar.toolbar.horizontal RBHeader.horizontal GtkVolumeButton.button.flat:hover {
	padding: 0px 8px;
}

RBDisplayPageTree.frame {
    border-width: 0px 1px 1px 0px;
}

RBDisplayPageTree .cell,
RBDisplayPageTree .cell:hover {
    /* background-image: none; */
    background-color: @sidebar_background;
}

RBSource .toolbar {
    background-image: none;
    background-color: transparent;
    padding: 2px 4px;
}

RBSource .toolbar .button {
    padding: 0px 3px;
    color:  shade(@theme_fg_color, 0.95);
    text-shadow: 0 1px @theme_shadow_color;
}

RBSource .toolbar .button *:hover {
    color:  shade(@theme_text_color, 0.95);
    text-shadow: 0 1px @theme_shadow_color;
}

RBSource .toolbar .button *:active,
RBSource .toolbar .button *:active:hover,
RBSource .toolbar .button *:checked,
RBSource .toolbar .button *:checked:hover {
    color:  shade(@theme_text_color, 0.95);
    text-shadow: 0 1px @theme_shadow_color;
}

/************
 * Nautilus *
 ************/

.info,
.question,
NautilusFloatingBar,
NautilusTrashBar.info,
NautilusTrashBar,
NautilusXContentBar.info,
NautilusSearchBar.info,
NautilusQueryEditor.info {
    background-image: -gtk-gradient (linear,
                                     left top, left bottom,
                                     from (shade(@nautilus_cluebar_color, 1.00)),
                                     to   (shade(@nautilus_cluebar_color, 1.00)));
    border-radius: 0px;
    border-width: 0px 0px 1px 0px;
    border-style: solid;
    border-color: transparent @nautilus_cluebar_color shade(@nautilus_cluebar_color, 0.75);
    box-shadow: inset  0px  1px alpha(#fff, 0.06),
                inset  1px  0px alpha(#fff, 0.06),
                inset -1px  0px alpha(#fff, 0.06),
                inset  0px -1px alpha(#fff, 0.06);
}

/* avoid unwanted background color */
NautilusQueryEditor .search-bar .linked.raised .button:focus:checked:first-child,
NautilusQueryEditor .search-bar .linked.raised .button:focus:checked:last-child {
    background-image: -gtk-gradient (linear,
                                     left top, left bottom,
                                     from (shade(@menu_bg_dark_color, 2.03)),
                                     to   (shade(@menu_bg_dark_color, 1.17)));
}

/* remove right shadow */
NautilusQueryEditor .search-bar .linked.raised .button.text-button:hover:first-child,
NautilusQueryEditor .search-bar .linked.raised .button.text-button:checked:first-child {
    box-shadow: inset  0px  1px shade (@theme_selected_bg_color, 1.3),
                inset  1px  0px shade (@theme_selected_bg_color, 1.3),
                inset -1px  0px alpha(shade(@theme_selected_bg_color, 0.94), 0.80),
                inset  0px -1px shade (@theme_selected_bg_color, 1.3);
}

NautilusSearchBar .entry,
NautilusSearchBar .entry:focus {
    -GtkEntry-inner-border: 1;
}

NautilusSearchBar .entry.image {
    color: shade(@nautilus_cluebar_color, 0.60);
}

NautilusTrashBar GtkLabel {
    color: shade(@theme_fg_color, 1.00);
    text-shadow: 0 1px @theme_shadow_color;
}

.info
.nautilus-cluebar-label {
    font: bold;
    color: shade(@theme_fg_color, 1.00);
    text-shadow: 0 1px @theme_shadow_color;
}

.question .button,
.question .button:hover,
NautilusTrashBar .button,
NautilusTrashBar .button:hover {
    background-image: -gtk-gradient (linear,
                                     left top, left bottom,
                                     from (shade(@nautilus_cluebar_color, 1.08)),
                                     color-stop (0.45, shade(@nautilus_cluebar_color, 1.02)),
                                     color-stop (0.52, shade(@nautilus_cluebar_color, 0.96)),
                                     to   (shade(@nautilus_cluebar_color, 0.92)));
    box-shadow: inset  0px  2px alpha(#fff, 0.09),
                inset  2px  0px alpha(#fff, 0.07),
                inset -2px  0px alpha(#fff, 0.07),
                inset  0px -2px alpha(#fff, 0.05),
                inset  0px  1px shade(@nautilus_cluebar_color, 0.80),
                inset  1px  0px shade(@nautilus_cluebar_color, 0.70),
                inset -1px  0px shade(@nautilus_cluebar_color, 0.70),
                inset  0px -1px shade(@nautilus_cluebar_color, 0.60);
    color: shade(@theme_fg_color, 1.00);
    text-shadow: 0px 1px @theme_shadow_color;
}

.question .button:active,
.question .button:active:hover,
NautilusTrashBar .button:active,
NautilusTrashBar .button:active:hover,
.question .button:checked,
.question .button:checked:hover,
NautilusTrashBar .button:checked,
NautilusTrashBar .button:checked:hover {
/* .button:active:hover */
    background-image: -gtk-gradient (linear,
                                     left top, left bottom,
                                     from (shade(@nautilus_cluebar_color, 1.00)),
                                     color-stop (0.45, shade(@nautilus_cluebar_color, 0.95)),
                                     color-stop (0.52, shade(@nautilus_cluebar_color, 0.91)),
                                     to   (shade(@nautilus_cluebar_color, 0.87)));
    /* outer */
    border-top-color:    alpha(@focused_entry_border, 0.20);
    border-right-color:  alpha(@focused_entry_border, 0.25);
    border-left-color:   alpha(@focused_entry_border, 0.25);
    border-bottom-color: alpha(#fff, 0.10);
    box-shadow: inset  0px  2px alpha(#fff, 0.09),
                inset  2px  0px alpha(#fff, 0.07),
                inset -2px  0px alpha(#fff, 0.07),
                inset  0px -2px alpha(#fff, 0.05),
                inset  0px  1px shade(@nautilus_cluebar_color, 0.75),
                inset  1px  0px shade(@nautilus_cluebar_color, 0.65),
                inset -1px  0px shade(@nautilus_cluebar_color, 0.65),
                inset  0px -1px shade(@nautilus_cluebar_color, 0.55);
}

.question .button *:active,
.question .button *:active:hover,
NautilusTrashBar .button *:active,
NautilusTrashBar .button *:active:hover,
.question .button *:checked,
.question .button *:checked:hover,
NautilusTrashBar .button *:checked,
NautilusTrashBar .button *:checked:hover {
    color: shade(@theme_text_color, 1.00);
    text-shadow: 0px 1px @theme_shadow_color;
}

.question .button:insensitive,
NautilusTrashBar .button:insensitive {
/* .button:active:hover */
    background-image: -gtk-gradient (linear,
                                     left top, left bottom,
                                     from (shade(@nautilus_cluebar_color, 0.95)),
                                     color-stop (0.45, shade(@nautilus_cluebar_color, 0.90)),
                                     color-stop (0.52, shade(@nautilus_cluebar_color, 0.88)),
                                     to   (shade(@nautilus_cluebar_color, 0.89)));
    box-shadow: inset  0px  1px shade(@nautilus_cluebar_color, 0.85),
                inset  1px  0px shade(@nautilus_cluebar_color, 0.81),
                inset -1px  0px shade(@nautilus_cluebar_color, 0.81),
                inset  0px -1px shade(@nautilus_cluebar_color, 0.78);
}

.question .button *:insensitive,
NautilusTrashBar .button *:insensitive {
    color: mix(@nautilus_cluebar_color, @theme_fg_color, 0.50);
    text-shadow: none;
}

NautilusWindow .sidebar .scrollbar {
    background-image: none;
    border-style: solid;
    -GtkRange-stepper-size: 16;
    -GtkRange-stepper-spacing: 0;
    -GtkRange-trough-border: 1;
    -GtkRange-arrow-scaling: 0.666;
    -GtkRange-slider-width: 13;
    -GtkRange-trough-under-steppers: 1;
    -GtkScrollbar-has-backward-stepper: true;
    -GtkScrollbar-has-forward-stepper: true;
    -GtkScrollbar-activate-slider: 1;
    -GtkScrollbar-min-slider-length: 31;
    -GtkScrollbar-slider-width: 11;
    -GtkScrolledWindow-scrollbar-spacing: 0;
    -GtkScrolledWindow-scrollbars-within-bevel: 1;
}

NautilusWindow .sidebar .scrollbar.trough,
NautilusWindow .sidebar .scrollbar.trough.vertical {
    border-radius: 0;
    border-width: 0 0px 0 1px;
    border-style: solid;
    border-color: shade (@theme_bg_color, 0.96);
}

/* the small line between sidebar and view */
NautilusWindow GtkPaned.horizontal {
    border-color: shade(@theme_bg_color, 0.80);
    border-style: solid;
    border-width: 0px 1px 0px 0px;
    -GtkPaned-handle-size: 4px;
}

NautilusWindow .sidebar .frame {
    border-width: 0px;
    border-style: none;
    border-top-width: 0;
    border-bottom-width: 0;
}

/* frame icons nautilus view */
NautilusView.frame {
    border-top-width: 0;
    border-right-width: 0;
    border-left-width: 0;
    border-bottom-width: 0;
    box-shadow: none;
    background-image: -gtk-gradient (linear,
                                     left top, left bottom,
                                     from (shade(@theme_base_color, 1.00)),
                                     to   (shade(@theme_base_color, 1.00)));
}

NautilusWindow .notebook {
    -GtkNotebook-initial-gap: 0;
    background-color: @theme_base_color;
    background-image: -gtk-gradient (linear,
                                     left top, left bottom,
                                     from (shade(@theme_base_color, 1.00)),
                                     to   (shade(@theme_base_color, 1.00)));
    border-width: 0px;
    border-style: none;
    border-left-style: none;
    border-right-style: none;
    border-radius: 0px;
    border-top-color: shade(@notebook_border, 1.00);
    border-left-color: @transparent;
    border-bottom-color: @transparent;
    border-right-color: @transparent;
    box-shadow: none;
}

NautilusWindow .notebook tab {
    border-width: 0px 1px;
    border-style: solid;
    border-color:       shade(@notebook_border, 1.00);
    background-image: -gtk-gradient (linear,
                                     left top, left bottom,
                                     from (shade(@sidebar_background, 0.90)),
                                     color-stop (0.15, shade(@sidebar_background, 1.00)),
                                     to   (shade(@sidebar_background, 1.00)));
    box-shadow: inset  0px  1px alpha(#000, 0.08),
                inset  1px  0px alpha(#000, 0.04),
                inset -1px  0px alpha(#000, 0.04),
                inset  0px -1px shade(@notebook_border, 1.00);
}

NautilusWindow .notebook tab:active,
NautilusWindow .notebook tab:checked {
    background-image: -gtk-gradient (linear,
                                     left top, left bottom,
                                     from (shade(@theme_base_color, 0.90)),
                                     color-stop (0.15, shade(@theme_base_color, 1.00)),
                                     to   (shade(@theme_base_color, 1.00)));
    border-image: none;
    border-left-color: shade(@notebook_border, 1.00);
    border-right-color: shade(@notebook_border, 1.00);
    box-shadow: inset  0px  1px alpha(#000, 0.08),
                inset  1px  0px alpha(#fff, 0.04),
                inset -1px  0px alpha(#fff, 0.04);
}

NautilusWindow .notebook tab.top {
    padding: 1px 6px;
}

NautilusWindow .notebook tab:first-child,
NautilusWindow .notebook tab:first-child:active,
NautilusWindow .notebook tab:first-child:checked {
    border-width: 0px 1px 0px 0px;
    border-radius: 0px;
}

NautilusWindow .notebook tab:last-child,
NautilusWindow .notebook tab:last-child:active,
NautilusWindow .notebook tab:last-child:checked {
    border-width: 0px 0px 0px 1px;
    border-radius: 0px;
}

NautilusWindow .notebook tab GtkLabel {
    padding: 0px;
    color: @theme_text_color;
    text-shadow: 0px 1px @theme_shadow_color;
}

NautilusWindow .notebook tab .button GtkImage {
    border-radius: 3px;
    color: mix(@theme_fg_color, @sidebar_background, 0.30);
    border-style: solid;
    border-color: transparent;
    border-width: 1px;
    padding: 0;
    icon-shadow: 1px 1px @theme_shadow_color;
}

NautilusWindow .notebook tab .button GtkImage:hover {
    color: @theme_fg_color; 
    border-color: alpha(black, 0.1); 
}

NautilusWindow .notebook tab  .button GtkImage:active,
NautilusWindow .notebook tab  .button GtkImage:active:hover,
NautilusWindow .notebook tab  .button GtkImage:checked,
NautilusWindow .notebook tab  .button GtkImage:checked:hover {
    background-color: alpha(black, 0.15); 
    color: shade(@theme_fg_color, 1.00);
    icon-shadow: 0px 1px @theme_shadow_color;
    border-color: alpha(black, 0.27) 
                  alpha(black, 0.13) 
                  alpha(black, 0.13) 
                  alpha(black, 0.13); 
}

/* nautilus */
.nautilus-canvas-item {
    border-radius: 3px;
}

/* desktop mode */
.nautilus-desktop.nautilus-canvas-item {
    color: white;
    text-shadow: 1px 1px black;
}

.nautilus-desktop.nautilus-canvas-item:active,
.nautilus-desktop.nautilus-canvas-item:checked {
    background-image: none;
    color: @theme_text_color;
}

.nautilus-desktop.nautilus-canvas-item:selected {
    color: @theme_selected_fg_color;
}

.nautilus-desktop.nautilus-canvas-item:active,
.nautilus-desktop.nautilus-canvas-item:prelight,
.nautilus-desktop.nautilus-canvas-item:selected {
    text-shadow: none;
}

ApDocView, /* Abiword */
EogScrollView, /* Eog */
CheeseThumbView /* Cheese */
{
    background-color: @chrome_bg_color;
    -EogScrollView-shadow-type: none;
}

/* Documents */
gnome_control_center GtkScrolledWindow.frame, 
GnomeControlCenter GtkScrolledWindow.frame,
.documents-scrolledwin.frame {
    border-width: 0px;
    border-radius: 0;
}

.documents-counter {
    background-image: url('assets/dnd-counter.svg');
    background-size: contain;
    background-color: transparent;
    color: @theme_base_color;
    font: bold;
}

RemminaConnectionWindow .toolbar,
RemminaMain .toolbar {
    background-image: -gtk-gradient (linear,
                                     left top, left bottom,
                                     from (shade(@theme_bg_dark_color, 1.00)),
                                     to   (shade(@theme_bg_dark_color, 0.95)));
}

RemminaMain .toolbar {
    border-bottom-color:  shade(@theme_bg_dark_color, 0.73);
    border-image: none;
}

RemminaConnectionWindow .toolbar {
    border-width: 0px;
    border-style: none;
    border-image: none;
}

/* dconf editor sidebar */
DConfDirView.view {
    background-color: shade (@theme_bg_color, 1.08);
}

/* yelp without headerbar, since gtk+-3.18 */

YelpWindow .horizontal.toolbar.primary-toolbar {
    padding: 3px;
}

YelpWindow .horizontal.toolbar.primary-toolbar .button.image-button {
    padding: 6px;
}

YelpWindow .horizontal.toolbar.primary-toolbar .button.image-button:focus {
    box-shadow: none;
}

YelpWindow .horizontal.toolbar.primary-toolbar .button.image-button:hover {
    box-shadow: inset  0px  1px shade (@theme_selected_bg_color, 1.3),
                inset  1px  0px shade (@theme_selected_bg_color, 1.3),
                inset -1px  0px shade (@theme_selected_bg_color, 1.3),
                inset  0px -1px shade (@theme_selected_bg_color, 1.3);
}

YelpWindow .horizontal.toolbar.primary-toolbar .button.image-button:first-child {
    border-radius: 5px 0px 0px 5px;
    border-right-width: 0px;
}

YelpWindow .horizontal.toolbar.primary-toolbar .button.image-button:last-child {
    border-radius: 0px 5px 5px 0px;
    border-left-width: 0px;
}

/* gnome-weather */
#weather-page.frame.flat {
    padding: 0px;
    border-radius: 0px;
}

#weather-page.frame.flat > .frame.flat {
    border-radius: 0px;
    border-color: transparent;
}

Gjs_WeatherWidget.frame.flat GtkStack GtkScrolledWindow .frame {
    background-color: transparent;
    background-image: linear-gradient(to bottom,
                                      alpha(shade(@theme_selected_bg_color, 1.2), 0.1),
                                      alpha(shade(@theme_selected_bg_color, 0.95), 0.1));
    border-color: @osd_button_border;
}

Gjs_WeatherWidget.frame.flat .frame.flat.weather-clear .linked.stack-switcher.osd .button:hover,
Gjs_WeatherWidget.frame.flat .frame.flat.weather-clear .linked.stack-switcher.osd .button:checked,
Gjs_WeatherWidget.frame.flat .frame.flat.weather-fog .linked.stack-switcher.osd .button:checked,
Gjs_WeatherWidget.frame.flat .frame.flat.weather-few-clouds .linked.stack-switcher.osd .button:checked,
Gjs_WeatherWidget.frame.flat .frame.flat.weather-clear GtkStack GtkScrolledWindow .frame {
    color: @theme_fg_color;
    text-shadow: none;
}

Gjs_WeatherWidget.frame.flat .frame.flat.weather-clear .linked.stack-switcher.osd .button:hover {
    color: @osd_button_fg_hover;
}

Gjs_WeatherWidget.frame.flat .frame.flat.weather-clear-night .linked.stack-switcher.osd .button:hover,
Gjs_WeatherWidget.frame.flat .frame.flat.weather-clear-night GtkStack GtkScrolledWindow .frame,
Gjs_WeatherWidget.frame.flat .frame.flat.weather-storm GtkStack GtkScrolledWindow .frame,
Gjs_WeatherWidget.frame.flat .frame.flat.weather-showers GtkStack GtkScrolledWindow .frame,
Gjs_WeatherWidget.frame.flat .frame.flat.weather-few-clouds-night GtkStack GtkScrolledWindow .frame,
Gjs_WeatherWidget.frame.flat .frame.flat.weather-overcast GtkStack GtkScrolledWindow .frame {
    color: @osd_button_fg_active;
}

