numix-gtk-theme/gtk-3.0/gtk-widgets.css

2299 lines
66 KiB
CSS
Raw Normal View History

2013-02-26 16:48:52 +00:00
/* NOTES to contributors:
* use 4 spaces indents, and keep code ALIGNED and ORDERED */
/* default */
* {
engine: none;
background-clip: padding-box;
2013-05-18 08:52:04 +00:00
-GtkArrow-arrow-scaling: 0.5;
2013-02-26 16:48:52 +00:00
-GtkButton-child-displacement-x: 0;
-GtkButton-child-displacement-y: 0;
-GtkButton-default-border: 0;
-GtkButton-image-spacing: 0;
-GtkButton-inner-border: 1;
-GtkButton-interior-focus: true;
-GtkCheckButton-indicator-size: 16;
-GtkCheckMenuItem-indicator-size: 14;
-GtkExpander-expander-size: 8;
-GtkHTML-link-color: @link_color;
-GtkIMHtml-hyperlink-color: @link_color;
-GtkMenu-horizontal-padding: 0;
-GtkMenu-vertical-padding: 0;
-GtkNotebook-initial-gap: 0;
-GtkPaned-handle-size: 3;
-GtkProgressBar-min-horizontal-bar-height: 12;
-GtkProgressBar-min-vertical-bar-width: 12;
-GtkRange-slider-width: 10;
-GtkRange-stepper-spacing: 0;
-GtkRange-trough-border: 0;
-GtkRange-trough-under-steppers: 1;
-GtkScrollbar-has-backward-stepper: false;
-GtkScrollbar-has-forward-stepper: false;
-GtkScrollbar-min-slider-length: 100;
-GtkScrolledWindow-scrollbar-spacing: 0;
-GtkScrolledWindow-scrollbars-within-bevel: 1;
-GtkStatusbar-shadow-type: none;
-GtkTextView-error-underline-color: @error_color;
-GtkToolButton-icon-spacing: 6;
-GtkToolItemGroup-expander-size: 8;
-GtkTreeView-expander-size: 8;
-GtkWidget-focus-line-width: 1;
-GtkWidget-focus-padding: 0;
-GtkWidget-link-color: @link_color;
-GtkWidget-visited-link-color: @link_color;
-GtkWindow-resize-grip-height: 0;
-GtkWindow-resize-grip-width: 0;
-WnckTasklist-fade-overlay-rect: 0;
2013-02-28 12:46:14 +00:00
outline-color: alpha(@theme_selected_bg_color, 0.5);
outline-style: solid;
outline-offset: 0;
2013-02-26 16:48:52 +00:00
}
/***************
* base states *
***************/
2013-05-18 08:52:04 +00:00
.background {
color: @theme_fg_color;
background-color: @theme_bg_color;
2013-02-26 16:48:52 +00:00
}
2013-05-18 08:52:04 +00:00
.background.client-decorated {
background-color: transparent;
}
.background.window-content {
background-color: @theme_bg_color;
}
GtkClutterOffscreen {
background-color: @theme_bg_color;
color: @theme_fg_color;
2013-04-21 17:15:47 +00:00
}
*:selected,
*:selected:focus {
background-color: @theme_selected_bg_color;
color: @theme_selected_fg_color;
}
*:active {
background-color: shade(@theme_bg_color, 0.85);
2013-02-26 16:48:52 +00:00
}
*:insensitive,
*:insensitive:insensitive {
color: mix(@theme_fg_color, @theme_bg_color, 0.5);
}
2013-04-21 17:15:47 +00:00
.gtkstyle-fallback {
background-color: @theme_bg_color;
color: @theme_fg_color;
2013-02-26 16:48:52 +00:00
}
2013-04-21 17:15:47 +00:00
.gtkstyle-fallback:prelight {
background-color: shade(@theme_bg_color, 1.1);
color: @theme_fg_color;
2013-02-26 16:48:52 +00:00
}
2013-04-21 17:15:47 +00:00
.gtkstyle-fallback:active {
background-color: shade(@theme_bg_color, 0.9);
2013-02-26 16:48:52 +00:00
color: @theme_fg_color;
2013-04-21 17:15:47 +00:00
}
.gtkstyle-fallback:insensitive {
background-color: shade(shade(@theme_bg_color, 0.95), 1.05);
color: mix(@theme_fg_color, @theme_bg_color, 0.5);
}
.gtkstyle-fallback:selected {
background-color: @theme_selected_bg_color;
color: @theme_selected_fg_color;
2013-02-26 16:48:52 +00:00
}
/******************
2013-05-18 08:52:04 +00:00
* visual effects *
2013-02-26 16:48:52 +00:00
******************/
2013-05-18 08:52:04 +00:00
/* transitions */
.entry {
transition: all 150ms ease-out;
}
.entry:focus {
transition: all 150ms ease-in;
}
/* inset shadows */
2013-02-27 09:20:12 +00:00
.button:active,
.toolbar .button:active,
2013-02-27 09:20:12 +00:00
.primary-toolbar .button:active {
box-shadow: inset 1px 0 alpha(@dark_shadow, 0.07),
inset 0 1px alpha(@dark_shadow, 0.08),
inset -1px 0 alpha(@dark_shadow, 0.07),
inset 0 -1px alpha(@dark_shadow, 0.05);
}
2013-02-26 16:48:52 +00:00
.entry {
box-shadow: inset 1px 0 alpha(@dark_shadow, 0.10),
inset 0 1px alpha(@dark_shadow, 0.12),
inset -1px 0 alpha(@dark_shadow, 0.10),
inset 0 -1px alpha(@dark_shadow, 0.05);
}
2013-02-27 09:20:12 +00:00
.button:active:insensitive,
.toolbar .button:active:insensitive,
2013-02-27 09:20:12 +00:00
.primary-toolbar .button:active:insensitive,
2013-02-26 16:48:52 +00:00
.entry:insensitive {
box-shadow: none;
}
/*************
* assistant *
*************/
GtkAssistant .sidebar .highlight {
font: bold;
}
GtkAssistant .sidebar {
padding: 3px;
border-width: 0 1px 0 0;
border-style: solid;
border-right-color: shade(@theme_bg_color, 0.8);
border-radius: 0;
background-color: @theme_bg_color;
color: mix(@theme_fg_color, @theme_bg_color, 0.1);
}
/**********
* button *
**********/
.button {
-GtkWidget-focus-padding: 1;
-GtkWidget-focus-line-width: 0;
padding: 3px 2px;
}
.button {
2013-05-18 08:52:04 +00:00
border-width: 1px;
2013-02-26 16:48:52 +00:00
border-style: solid;
border-color: shade(@theme_bg_color, 0.8);
2013-02-27 15:09:50 +00:00
border-radius: 2px;
2013-02-26 16:48:52 +00:00
background-color: shade(@theme_bg_color, 1.08);
2013-02-27 20:14:54 +00:00
background-image: none;
2013-02-26 16:48:52 +00:00
color: @theme_fg_color;
}
.button:hover {
border-color: shade(@theme_bg_color, 0.7);
2013-02-27 15:09:50 +00:00
background-color: shade(@theme_bg_color, 1.10);
2013-02-27 20:14:54 +00:00
background-image: none;
2013-02-26 16:48:52 +00:00
color: shade(@theme_fg_color, 0.7);
}
.button:active {
border-color: shade(@theme_bg_color, 0.8);
background-color: shade(@theme_bg_color, 0.95);
2013-02-27 20:14:54 +00:00
background-image: none;
2013-02-26 16:48:52 +00:00
}
2013-02-27 21:06:59 +00:00
.button:active:hover {
2013-02-26 16:48:52 +00:00
border-color: shade(@theme_bg_color, 0.7);
color: shade(@theme_fg_color, 0.7);
}
2013-02-27 21:06:59 +00:00
.button:focus,
.button:hover:focus,
.button:active:focus,
.button:active:hover:focus {
border-color: shade(@theme_bg_color, 0.7);
color: shade(@theme_fg_color, 0.7);
2013-02-27 09:17:30 +00:00
}
2013-02-26 16:48:52 +00:00
.button:insensitive {
border-color: shade(@theme_bg_color, 0.85);
2013-02-28 12:46:14 +00:00
background-color: shade(@theme_bg_color, 0.9);
2013-02-27 20:14:54 +00:00
background-image: none;
2013-02-26 16:48:52 +00:00
}
.button:active:insensitive {
border-color: shade(@theme_bg_color, 0.75);
background-color: shade(@theme_bg_color, 0.80);
2013-02-27 20:14:54 +00:00
background-image: none;
2013-02-26 16:48:52 +00:00
}
/* default button */
.button.default {
2013-02-27 09:17:30 +00:00
border-color: shade(@theme_selected_bg_color, 0.8);
background-color: shade(@theme_selected_bg_color, 1.08);
color: @theme_selected_fg_color;
2013-02-26 16:48:52 +00:00
}
.button.default:hover {
2013-02-27 09:17:30 +00:00
border-color: shade(@theme_selected_bg_color, 0.7);
background-color: @theme_selected_bg_color;
2013-02-28 12:46:14 +00:00
color: shade(@theme_selected_fg_color, 0.9);
2013-02-26 16:48:52 +00:00
}
.button.default:active {
2013-02-27 09:17:30 +00:00
border-color: shade(@theme_selected_bg_color, 0.8);
background-color: shade(@theme_selected_bg_color, 0.95);
color: @theme_selected_fg_color;
2013-02-26 16:48:52 +00:00
}
.button.default:active:hover {
2013-02-27 09:17:30 +00:00
border-color: shade(@theme_selected_bg_color, 0.7);
background-color: shade(@theme_selected_bg_color, 0.97);
2013-02-28 12:46:14 +00:00
color: shade(@theme_selected_fg_color, 0.9);
2013-02-26 16:48:52 +00:00
}
2013-05-18 08:52:04 +00:00
/* linked buttons */
.linked .button,
.toolbar .button.raised.linked,
.toolbar .raised.linked .button,
.inline-toolbar.toolbar .button,
.inline-toolbar.toolbar GtkToolButton > .button {
box-shadow: inset -1px 0 shade(@theme_bg_color, 0.9);
}
.linked .button:active,
.toolbar .button.raised.linked:active,
.toolbar .raised.linked .button:active,
.inline-toolbar.toolbar .button:active,
.inline-toolbar.toolbar GtkToolButton > .button:active {
box-shadow: inset -1px 0 shade(@theme_bg_color, 0.9),
inset 1px 0 alpha(@dark_shadow, 0.07),
inset 0 1px alpha(@dark_shadow, 0.08),
inset 0 -1px alpha(@dark_shadow, 0.05);
2013-05-18 08:52:04 +00:00
}
.linked .button:insensitive,
.toolbar .button.raised.linked:insensitive,
.toolbar .raised.linked .button:insensitive,
.inline-toolbar.toolbar .button:insensitive,
.inline-toolbar.toolbar GtkToolButton > .button:insensitive {
box-shadow: inset -1px 0 shade(@theme_bg_color, 0.9);
}
/* remove box shadow from last-child and only-child */
.linked .button:last-child,
.toolbar .button.raised.linked:last-child,
.toolbar .raised.linked .button:last-child,
.inline-toolbar.toolbar .button:last-child,
.inline-toolbar.toolbar GtkToolButton:last-child > .button,
.linked .button:only-child,
.toolbar .button.raised.linked:only-child,
.toolbar .raised.linked .button:only-child,
.inline-toolbar.toolbar .button:only-child,
.inline-toolbar.toolbar GtkToolButton:only-child > .button,
.linked .button:insensitive:last-child,
.toolbar .button:insensitive.raised.linked:last-child,
.toolbar .raised.linked .button:insensitive:last-child,
.inline-toolbar.toolbar .button:insensitive:last-child,
.inline-toolbar.toolbar GtkToolButton:last-child > .button:insensitive,
.linked .button:insensitive:only-child,
.toolbar .button:insensitive.raised.linked:only-child,
.toolbar .raised.linked .button:insensitive:only-child,
.inline-toolbar.toolbar .button:insensitive:only-child,
.inline-toolbar.toolbar GtkToolButton:only-child > .button:insensitive {
box-shadow: none;
}
/* add back the inset shadow effect */
.linked .button:active:last-child,
.toolbar .button:active.raised.linked:last-child,
.toolbar .raised.linked .button:active:last-child,
.inline-toolbar.toolbar .button:active:last-child,
.inline-toolbar.toolbar GtkToolButton:last-child > .button:active,
.linked .button:active:only-child,
.toolbar .button:active.raised.linked:only-child,
.toolbar .raised.linked .button:active:only-child,
.inline-toolbar.toolbar .button:active:only-child,
.inline-toolbar.toolbar GtkToolButton:only-child > .button:active {
box-shadow: inset 1px 0 alpha(@dark_shadow, 0.07),
inset 0 1px alpha(@dark_shadow, 0.08),
inset -1px 0 alpha(@dark_shadow, 0.07),
inset 0 -1px alpha(@dark_shadow, 0.05);
}
2013-02-26 16:48:52 +00:00
/* middle button */
.linked .entry,
.linked .button,
.linked .button:active,
.linked .button:active:hover,
.linked .button:insensitive {
border-width: 1px;
border-radius: 0;
2013-05-18 08:52:04 +00:00
border-right-width: 0;
border-left-width: 0;
2013-02-26 16:48:52 +00:00
}
2013-05-18 08:52:04 +00:00
/*leftmost button */
2013-02-26 16:48:52 +00:00
.linked .entry:first-child,
.linked .button:first-child,
.linked .button:active:first-child,
.linked .button:active:hover:first-child,
.linked .button:insensitive:first-child {
border-width: 1px;
2013-02-27 15:09:50 +00:00
border-radius: 2px;
2013-05-18 08:52:04 +00:00
border-right-width: 0;
2013-02-26 16:48:52 +00:00
border-bottom-right-radius: 0;
2013-05-18 08:52:04 +00:00
border-top-right-radius: 0;
2013-02-26 16:48:52 +00:00
}
/* rightmost button */
.linked .entry:last-child,
.linked .button:last-child,
.linked .button:active:last-child,
.linked .button:active:hover:last-child,
.linked .button:insensitive:last-child {
border-width: 1px;
2013-02-27 15:09:50 +00:00
border-radius: 2px;
2013-05-18 08:52:04 +00:00
border-left-width: 0;
2013-02-26 16:48:52 +00:00
border-bottom-left-radius: 0;
border-top-left-radius: 0;
}
/* linked single button */
.linked .entry:only-child,
.linked .button:only-child,
.linked .button:active:only-child,
.linked .button:active:hover:only-child,
.linked .button:insensitive:only-child {
border-width: 1px;
2013-02-27 15:09:50 +00:00
border-radius: 2px;
2013-02-26 16:48:52 +00:00
}
/* middle button (vertical) */
.linked.vertical .entry,
.linked.vertical .button,
.linked.vertical .button:active,
.linked.vertical .button:active:hover,
.linked.vertical .button:insensitive {
border-width: 1px;
border-radius: 0;
2013-05-18 08:52:04 +00:00
border-top-width: 0;
border-bottom-width: 0;
2013-02-26 16:48:52 +00:00
}
2013-05-18 08:52:04 +00:00
/* top button (vertical) */
2013-02-26 16:48:52 +00:00
.linked.vertical .entry:first-child,
.linked.vertical .button:first-child,
.linked.vertical .button:active:first-child,
.linked.vertical .button:active:hover:first-child,
.linked.vertical .button:insensitive:first-child {
border-width: 1px;
2013-02-27 15:09:50 +00:00
border-radius: 2px;
2013-05-18 08:52:04 +00:00
border-bottom-width: 0;
2013-02-26 16:48:52 +00:00
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
}
2013-05-18 08:52:04 +00:00
/* bottom button (vertical) */
2013-02-26 16:48:52 +00:00
.linked.vertical .entry:last-child,
.linked.vertical .button:last-child,
.linked.vertical .button:active:last-child,
.linked.vertical .button:active:hover:last-child,
.linked.vertical .button:insensitive:last-child {
border-width: 1px;
2013-02-27 15:09:50 +00:00
border-radius: 2px;
2013-05-18 08:52:04 +00:00
border-top-width: 0;
2013-02-26 16:48:52 +00:00
border-top-left-radius: 0;
border-top-right-radius: 0;
}
/* linked single button (vertical) */
.linked.vertical .entry:only-child,
.linked.vertical .button:only-child,
.linked.vertical .button:active:only-child,
.linked.vertical .button:active:hover:only-child,
.linked.vertical .button:insensitive:only-child {
border-width: 1px;
2013-02-27 15:09:50 +00:00
border-radius: 2px;
2013-02-26 16:48:52 +00:00
}
2013-05-18 08:52:04 +00:00
/* linked button shadows (vertical) */
.linked.vertical .button,
.toolbar.vertical .button.raised.linked,
.toolbar.vertical .raised.linked .button,
.inline-toolbar.toolbar.vertical .button,
.inline-toolbar.toolbar.vertical GtkToolButton > .button {
box-shadow: inset 0 -1px shade(@theme_bg_color, 0.9);
}
.linked.vertical .button:active,
.toolbar.vertical .button.raised.linked:active,
.toolbar.vertical .raised.linked .button:active,
.inline-toolbar.toolbar.vertical .button:active,
.inline-toolbar.toolbar.vertical GtkToolButton > .button:active {
box-shadow: inset 0 -1px shade(@theme_bg_color, 0.9),
inset 0 1px alpha(@dark_shadow, 0.08),
inset 1px 0 alpha(@dark_shadow, 0.07),
inset 0 1px alpha(@dark_shadow, 0.08);
2013-05-18 08:52:04 +00:00
}
.linked.vertical .button:insensitive,
.toolbar.vertical .button.raised.linked:insensitive,
.toolbar.vertical .raised.linked .button:insensitive,
.inline-toolbar.toolbar.vertical .button:insensitive,
.inline-toolbar.toolbar.vertical GtkToolButton > .button:insensitive {
box-shadow: inset 0 -1px shade(@theme_bg_color, 0.9);
}
/* remove box shadow from last-child and only-child */
.linked.vertical .button:last-child,
.toolbar.vertical .button.raised.linked:last-child,
.toolbar.vertical .raised.linked .button:last-child,
.inline-toolbar.toolbar.vertical .button:last-child,
.inline-toolbar.toolbar.vertical GtkToolButton:last-child > .button,
.linked.vertical .button:only-child,
.toolbar.vertical .button.raised.linked:only-child,
.toolbar.vertical .raised.linked .button:only-child,
.inline-toolbar.toolbar.vertical .button:only-child,
.inline-toolbar.toolbar.vertical GtkToolButton:only-child > .button,
.linked.vertical .button:insensitive:last-child,
.toolbar.vertical .button:insensitive.raised.linked:last-child,
.toolbar.vertical .raised.linked .button:insensitive:last-child,
.inline-toolbar.toolbar.vertical .button:insensitive:last-child,
.inline-toolbar.toolbar.vertical GtkToolButton:last-child > .button:insensitive,
.linked.vertical .button:insensitive:only-child,
.toolbar.vertical .button:insensitive.raised.linked:only-child,
.toolbar.vertical .raised.linked .button:insensitive:only-child,
.inline-toolbar.toolbar.vertical .button:insensitive:only-child,
.inline-toolbar.toolbar.vertical GtkToolButton:only-child > .button:insensitive {
box-shadow: none;
}
/* add back the inset shadow effect */
.linked.vertical .button:active:last-child,
.toolbar.vertical .button:active.raised.linked:last-child,
.toolbar.vertical .raised.linked .button:active:last-child,
.inline-toolbar.toolbar.vertical .button:active:last-child,
.inline-toolbar.toolbar.vertical GtkToolButton:last-child > .button:active,
.linked.vertical .button:active:only-child,
.toolbar.vertical .button:active.raised.linked:only-child,
.toolbar.vertical .raised.linked .button:active:only-child,
.inline-toolbar.toolbar.vertical .button:active:only-child,
.inline-toolbar.toolbar.vertical GtkToolButton:only-child > .button:active {
box-shadow: inset 1px 0 alpha(@dark_shadow, 0.07),
inset 0 1px alpha(@dark_shadow, 0.08),
inset -1px 0 alpha(@dark_shadow, 0.07),
inset 0 -1px alpha(@dark_shadow, 0.05);
}
2013-02-26 16:48:52 +00:00
/****************
* cell and row *
****************/
.cell {
border-width: 0;
border-radius: 0;
}
.cell:selected,
.cell:selected:focus {
background-color: @theme_selected_bg_color;
color: @theme_selected_fg_color;
}
row:selected,
row:selected:focus {
border-width: 1px 0;
border-style: solid;
2013-02-28 12:46:14 +00:00
border-color: shade(@theme_selected_bg_color, 0.9);
2013-02-26 16:48:52 +00:00
background-color: @theme_selected_bg_color;
2013-02-27 20:14:54 +00:00
background-image: none;
2013-02-26 16:48:52 +00:00
color: @theme_selected_fg_color;
}
/*******************
* check and radio *
*******************/
.check,
.radio,
.check:insensitive,
.radio:insensitive {
border-style: none;
background-color: transparent;
}
GtkCheckButton:hover,
GtkCheckButton:active:hover,
GtkCheckButton:selected,
GtkCheckButton:selected:focus {
background-color: transparent;
}
/*****************
* column-header *
*****************/
column-header .button,
column-header .button:active {
border-width: 0 1px 1px 0;
border-radius: 0;
}
2013-05-18 08:52:04 +00:00
column-header .button,
column-header .button:active,
column-header .button:focus,
column-header .button:active:focus {
border-color: shade(@theme_base_color, 0.9);
border-bottom-color: shade(@theme_base_color, 0.8);
background-color: shade(@theme_base_color, 0.97);
2013-02-27 20:14:54 +00:00
background-image: none;
2013-02-26 16:48:52 +00:00
}
2013-05-18 08:52:04 +00:00
column-header .button:hover,
column-header .button:active:hover,
column-header .button:hover:focus,
column-header .button:active:hover:focus {
border-color: shade(@theme_base_color, 0.9);
border-bottom-color: shade(@theme_base_color, 0.8);
background-color: shade(@theme_base_color, 0.99);
2013-02-27 20:14:54 +00:00
background-image: none;
2013-02-26 16:48:52 +00:00
}
column-header:last-child .button {
border-width: 0 0 1px 0;
}
2013-03-23 11:30:48 +00:00
/****************
* content view *
****************/
.content-view.view {
background-color: @theme_base_color;
}
.content-view.view:prelight {
background-color: alpha(@theme_selected_bg_color, 0.6);
}
.content-view.view:selected,
.content-view.view:active {
background-color: @theme_selected_bg_color;
}
.content-view.view:insensitive {
background-color: shade(@theme_base_color, 0.9);
}
GdMainIconView.content-view {
-GdMainIconView-icon-size: 40;
}
GtkIconView.content-view.check {
background-color: transparent;
}
GtkIconView.content-view.check:active {
background-color: transparent;
}
.content-view.view.check,
.content-view.view.check:active {
background-color: transparent;
}
GtkIconView.content-view.check:prelight,
GtkIconView.content-view.check:insensitive,
GtkIconView.content-view.check:selected {
background-color: transparent;
}
2013-02-26 16:48:52 +00:00
/****************
* drawing area *
****************/
GtkDrawingArea {
background-color: transparent;
}
2013-02-27 20:14:54 +00:00
GtkDrawingArea:insensitive {
2013-02-28 12:46:14 +00:00
background-color: shade(@theme_bg_color, 0.9);
2013-02-27 20:14:54 +00:00
}
2013-02-26 16:48:52 +00:00
/************
* gucharmap *
*************/
GucharmapChartable {
background-color: @theme_base_color;
}
GucharmapChartable:active,
GucharmapChartable:focus,
GucharmapChartable:selected {
background-color: @theme_selected_bg_color;
color: @theme_selected_fg_color;
}
/***********
* gtkhtml *
***********/
GtkHTML {
background-color: @theme_base_color;
color: @theme_text_color;
}
/***********
* calendar *
************/
GtkCalendar {
padding: 3px;
}
2013-03-08 10:36:46 +00:00
GtkCalendar:inconsistent {
color: mix(@theme_fg_color, @theme_bg_color, 0.5);
}
2013-02-26 16:48:52 +00:00
GtkCalendar.view,
GtkCalendar.header,
GtkCalendar.button,
2013-03-08 08:01:04 +00:00
GtkCalendar.button:hover,
2013-02-26 16:48:52 +00:00
GtkCalendar.button:insensitive {
border-width: 0;
background-color: transparent;
background-image: none;
}
.highlight,
GtkCalendar.highlight {
border-width: 0;
background-color: transparent;
2013-03-23 11:30:48 +00:00
color: @theme_selected_bg_color;
2013-02-26 16:48:52 +00:00
}
/******************
* combobox entry *
******************/
.primary-toolbar GtkComboBox.combobox-entry .entry,
.primary-toolbar GtkComboBox.combobox-entry .entry:active,
.primary-toolbar GtkComboBox.combobox-entry .entry:focus,
.primary-toolbar GtkComboBox.combobox-entry .entry:insensitive,
GtkComboBox.combobox-entry .entry,
GtkComboBox.combobox-entry .entry:active,
GtkComboBox.combobox-entry .entry:focus,
GtkComboBox.combobox-entry .entry:insensitive {
border-width: 1px 0 1px 1px;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
.primary-toolbar GtkComboBox.combobox-entry .button,
.primary-toolbar GtkComboBox.combobox-entry .button:hover,
.primary-toolbar GtkComboBox.combobox-entry .button:active,
.primary-toolbar GtkComboBox.combobox-entry .button:insensitive,
GtkComboBox.combobox-entry .button,
GtkComboBox.combobox-entry .button:hover,
GtkComboBox.combobox-entry .button:active,
GtkComboBox.combobox-entry .button:insensitive {
border-width: 1px 1px 1px 1px;
border-bottom-left-radius: 0;
border-top-left-radius: 0;
}
/*********
* entry *
*********/
.entry {
padding: 4px 3px;
2013-05-18 08:52:04 +00:00
border-width: 1px;
2013-02-26 16:48:52 +00:00
border-style: solid;
border-color: shade(@theme_bg_color, 0.8);
2013-02-27 15:09:50 +00:00
border-radius: 2px;
2013-02-26 16:48:52 +00:00
background-color: @theme_base_color;
2013-02-27 20:14:54 +00:00
background-image: none;
2013-02-26 16:48:52 +00:00
color: @theme_text_color;
}
2013-02-28 12:46:14 +00:00
.entry:active,
2013-02-26 16:48:52 +00:00
.entry:focus {
border-color: shade(@theme_bg_color, 0.7);
2013-02-26 16:48:52 +00:00
}
.entry:selected,
.entry:selected:focus {
background-color: @theme_selected_bg_color;
color: @theme_selected_fg_color;
}
.entry:insensitive {
2013-02-28 12:46:14 +00:00
background-color: shade(@theme_bg_color, 0.95);
2013-02-26 16:48:52 +00:00
background-image: none;
color: mix(@theme_text_color, @theme_base_color, 0.5);
}
.entry.progressbar {
border-width: 0;
2013-02-27 15:09:50 +00:00
border-radius: 2px;
2013-02-26 16:48:52 +00:00
background-color: @theme_selected_bg_color;
2013-02-27 20:14:54 +00:00
background-image: none;
2013-02-26 16:48:52 +00:00
color: @theme_selected_fg_color;
}
/************
* expander *
************/
.expander {
color: alpha(@theme_fg_color, 0.7);
}
.expander:hover {
color: alpha(@theme_fg_color, 0.8);
}
/*********
* frame *
*********/
.frame {
2013-05-18 08:52:04 +00:00
border-width: 1px;
2013-02-26 16:48:52 +00:00
border-style: solid;
border-color: shade(@theme_bg_color, 0.8);
border-radius: 0;
}
/************
* iconview *
************/
GtkIconView.view.cell:selected,
GtkIconView.view.cell:selected:focus {
border-width: 1px;
border-style: solid;
2013-02-28 12:46:14 +00:00
border-color: shade(@theme_selected_bg_color, 0.9);
2013-02-27 15:09:50 +00:00
border-radius: 2px;
2013-03-23 11:30:48 +00:00
background-image: -gtk-gradient(linear, left top, left bottom,
from (@theme_selected_bg_color),
to (@theme_selected_bg_color));
2013-02-26 16:48:52 +00:00
color: @theme_selected_fg_color;
}
.view.rubberband,
.rubberband {
border-width: 1px;
border-style: solid;
2013-02-28 12:46:14 +00:00
border-color: shade(@theme_selected_bg_color, 0.9);
2013-02-26 16:48:52 +00:00
border-radius: 0;
background-color: alpha(@theme_selected_bg_color, 0.3);
}
/*********
* image *
*********/
GtkImage,
GtkImage:active,
GtkImage:insensitive {
background-color: transparent;
}
/*********
* label *
*********/
GtkLabel,
GtkLabel:active,
GtkLabel:insensitive {
background-color: transparent;
}
/***********
* infobar *
***********/
GtkInfoBar {
border-width: 0;
border-style: none;
}
.info {
border-width: 1px;
border-style: solid;
2013-02-28 12:46:14 +00:00
border-color: shade(@info_bg_color, 0.9);
2013-02-26 16:48:52 +00:00
background-color: @info_bg_color;
2013-02-27 20:14:54 +00:00
background-image: none;
2013-02-26 16:48:52 +00:00
color: @info_fg_color;
}
.warning {
border-width: 1px;
border-style: solid;
2013-02-28 12:46:14 +00:00
border-color: shade(@warning_bg_color, 0.9);
2013-02-26 16:48:52 +00:00
background-color: @warning_bg_color;
2013-02-27 20:14:54 +00:00
background-image: none;
2013-02-26 16:48:52 +00:00
color: @warning_fg_color;
}
.question {
border-width: 1px;
border-style: solid;
2013-02-28 12:46:14 +00:00
border-color: shade(@question_bg_color, 0.9);
2013-02-26 16:48:52 +00:00
background-color: @question_bg_color;
2013-02-27 20:14:54 +00:00
background-image: none;
2013-02-26 16:48:52 +00:00
color: @question_fg_color;
}
.error {
border-width: 1px;
border-style: solid;
2013-02-28 12:46:14 +00:00
border-color: shade(@error_bg_color, 0.9);
2013-02-26 16:48:52 +00:00
background-color: @error_bg_color;
2013-02-27 20:14:54 +00:00
background-image: none;
2013-02-26 16:48:52 +00:00
color: @error_fg_color;
}
/*******************
* symbolic images *
*******************/
.image,
.view.image {
color: alpha(@theme_fg_color, 0.5);
}
.image:hover,
.view.image:hover {
color: @theme_fg_color;
}
.image:selected,
.image:selected:hover,
.view.image:selected,
.view.image:selected:hover {
color: @theme_selected_fg_color;
}
/*****************
* miscellaneous *
*****************/
.floating-bar {
border-width: 1px;
border-style: solid;
2013-02-27 21:07:22 +00:00
border-color: shade(@theme_bg_color, 0.8);
2013-02-27 15:09:50 +00:00
border-radius: 2px;
2013-02-27 21:07:22 +00:00
background-color: @theme_bg_color;
2013-02-26 16:48:52 +00:00
background-image: none;
2013-02-27 21:07:22 +00:00
color: @theme_fg_color;
2013-02-26 16:48:52 +00:00
}
.floating-bar.top {
border-top-width: 0;
border-top-right-radius: 0;
border-top-left-radius: 0;
}
.floating-bar.right {
border-right-width: 0;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
.floating-bar.bottom {
border-bottom-width: 0;
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
}
.floating-bar.left {
border-left-width: 0;
border-bottom-left-radius: 0;
border-top-left-radius: 0;
}
.floating-bar .button {
-GtkButton-image-spacing: 0;
-GtkButton-inner-border: 0;
border-style: none;
background-color: transparent;
background-image: none;
}
.view.dim-label,
.dim-label,
.dim-label:hover,
.dim-label:focus {
color: mix(@theme_fg_color, @theme_bg_color, 0.5);
}
.dim-label:selected,
.dim-label:selected:focus {
2013-03-23 11:30:48 +00:00
color: mix(@theme_selected_fg_color, @theme_selected_bg_color, 0.5);
2013-02-26 16:48:52 +00:00
}
.dnd {
border-width: 1px;
border-style: solid;
2013-02-28 12:46:14 +00:00
border-color: shade(@theme_selected_bg_color, 0.9);
2013-02-26 16:48:52 +00:00
}
.grip {
background-color: transparent;
}
2013-05-18 08:52:04 +00:00
.arrow {
color: alpha(@theme_fg_color, 0.7);
}
2013-02-26 16:48:52 +00:00
/********
* menu *
********/
GtkTreeMenu.menu,
GtkMenuToolButton.menu,
GtkComboBox .menu {
background-color: @menu_bg_color;
}
.primary-toolbar .button .menu,
.toolbar .menu,
.toolbar .primary-toolbar .menu,
.menu {
padding: 0;
border-radius: 0;
2013-05-18 08:52:04 +00:00
border-style: none;
2013-02-26 16:48:52 +00:00
background-color: @menu_bg_color;
color: @menu_fg_color;
}
.menu.button:hover,
.menu.button:active,
.menu.button:active:insensitive,
.menu.button:insensitive,
.menu.button {
border-width: 0;
background-color: @menu_bg_color;
background-image: none;
}
2013-03-11 10:28:20 +00:00
2013-02-26 16:48:52 +00:00
/***********
* menubar *
***********/
.menubar {
-GtkWidget-window-dragging: true;
2013-04-17 20:07:08 +00:00
border-style: none;
2013-02-26 16:48:52 +00:00
background-color: @menubar_bg_color;
background-image: none;
color: @menubar_fg_color;
}
/***************
* menubaritem *
***************/
.menubar.menuitem,
.menubar .menuitem {
2013-04-17 20:07:08 +00:00
padding: 3px 5px;
2013-04-21 17:15:47 +00:00
border-width: 1px;
2013-05-18 08:52:04 +00:00
border-style: solid;
2013-04-21 17:15:47 +00:00
border-color: transparent;
2013-04-17 20:07:08 +00:00
background-color: @menubar_bg_color;
background-image: none;
color: @menubar_fg_color;
2013-02-26 16:48:52 +00:00
}
.menubar.menuitem:hover,
.menubar .menuitem:hover {
2013-03-01 15:21:55 +00:00
border-color: mix(@menubar_bg_color, @menubar_fg_color, 0.23);
background-color: mix(@menubar_bg_color, @menubar_fg_color, 0.21);
2013-02-27 20:14:54 +00:00
background-image: none;
2013-02-26 16:48:52 +00:00
}
.menubar .menuitem *:hover {
2013-03-01 15:21:55 +00:00
color: shade(@menubar_fg_color, 1.08);
2013-02-26 16:48:52 +00:00
}
/************
* menuitem *
************/
GtkTreeMenu .menuitem {
padding: 0;
border-width: 0;
}
GtkTreeMenu .menuitem * {
color: @menu_fg_color;
}
.menuitem,
.menu .menuitem {
padding: 3px;
2013-04-21 17:15:47 +00:00
border-width: 1px;
2013-05-18 08:52:04 +00:00
border-style: solid;
2013-04-21 17:15:47 +00:00
border-color: transparent;
2013-02-26 16:48:52 +00:00
border-radius: 0;
2013-04-17 20:07:08 +00:00
background-color: @menu_bg_color;
background-image: none;
color: @menu_fg_color;
2013-05-18 08:52:04 +00:00
-GtkMenuItem-arrow-scaling: 0.5;
2013-02-26 16:48:52 +00:00
}
.menu .menuitem:active,
.menu .menuitem:hover {
2013-02-28 12:46:14 +00:00
border-color: shade(@theme_selected_bg_color, 0.9);
2013-02-26 16:48:52 +00:00
background-color: @theme_selected_bg_color;
2013-02-27 20:14:54 +00:00
background-image: none;
2013-02-26 16:48:52 +00:00
}
.menu .menuitem:active,
.menu .menuitem *:active,
.menu .menuitem:hover,
.menu .menuitem *:hover {
color: @theme_selected_fg_color;
}
.menu .menuitem:insensitive,
.menu .menuitem *:insensitive {
color: mix(@menu_fg_color, @menu_bg_color, 0.5);
}
.menuitem.check,
.menuitem.radio,
.menuitem.check:hover,
.menuitem.radio:hover,
.menuitem.check:insensitive,
.menuitem.radio:insensitive {
border-style: none;
background-color: transparent;
background-image: none;
}
2013-05-18 08:52:04 +00:00
.menuitem.arrow {
color: alpha(@menu_fg_color, 0.6);
}
2013-02-26 16:48:52 +00:00
.menuitem.check:active,
.menuitem.radio:active {
border-style: none;
background-color: transparent;
}
2013-03-08 10:36:46 +00:00
.menuitem GtkCalendar:inconsistent {
color: mix(@menu_fg_color, @menu_bg_color, 0.5);
}
2013-02-26 16:48:52 +00:00
.menuitem GtkCalendar.button {
border-style: none;
background-color: transparent;
background-image: none;
}
.menuitem .entry {
border-color: shade(@menu_bg_color, 0.7);
background-color: @menu_bg_color;
background-image: none;
color: @menu_fg_color;
}
2013-03-18 11:05:52 +00:00
.menuitem .entry:active,
.menuitem .entry:focus {
border-color: shade(@menu_bg_color, 0.7);
}
2013-02-26 16:48:52 +00:00
.menuitem .accelerator {
color: alpha(@menu_fg_color, 0.6);
}
.menuitem .accelerator:hover {
color: alpha(@theme_selected_fg_color, 0.8);
}
.menuitem .accelerator:insensitive {
color: alpha(mix(@menu_fg_color, @menu_bg_color, 0.5), 0.6);
}
2013-03-11 10:28:20 +00:00
2013-02-26 16:48:52 +00:00
/************
* notebook *
************/
.notebook {
padding: 0;
2013-05-18 08:52:04 +00:00
border-width: 1px;
2013-02-26 16:48:52 +00:00
border-style: solid;
border-color: shade(@theme_bg_color, 0.8);
2013-02-27 15:09:50 +00:00
border-radius: 2px;
2013-02-26 16:48:52 +00:00
background-color: shade(@theme_bg_color, 1.08);
background-image: none;
2013-05-18 08:52:04 +00:00
background-clip: border-box;
2013-02-26 16:48:52 +00:00
}
.notebook tab {
padding: 3px;
2013-02-27 20:14:54 +00:00
border-color: shade(@theme_bg_color, 0.85);
2013-02-27 15:09:50 +00:00
border-radius: 2px;
2013-02-28 12:46:14 +00:00
background-color: shade(@theme_bg_color, 0.9);
2013-02-26 16:48:52 +00:00
background-image: none;
}
.notebook tab:active {
border-color: shade(@theme_bg_color, 0.8);
background-color:shade(@theme_bg_color, 1.08);
2013-02-27 20:14:54 +00:00
background-image: none;
2013-02-26 16:48:52 +00:00
}
.notebook tab GtkLabel {
color: @theme_fg_color;
}
.notebook tab.top {
border-width: 1px 1px 0 1px;
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
}
.notebook tab.top:active {
}
.notebook tab.right {
border-width: 1px 1px 1px 0;
border-bottom-left-radius: 0;
border-top-left-radius: 0;
}
.notebook tab.right:active {
}
.notebook tab.bottom {
border-width: 0 1px 1px 1px;
border-top-right-radius: 0;
border-top-left-radius: 0;
}
.notebook tab.bottom:active {
}
.notebook tab.left {
border-width: 1px 0 1px 1px;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
.notebook tab.left:active {
}
/******************
* pane separator *
******************/
.pane-separator {
background-color: @theme_bg_color;
color: transparent;
}
/*************************
* progressbar and scale *
*************************/
GtkProgressBar {
padding: 0;
border-width: 1px;
2013-02-27 15:09:50 +00:00
border-radius: 2px;
2013-02-26 16:48:52 +00:00
}
.progressbar,
.progressbar row,
.progressbar row:hover,
.progressbar row:selected,
.progressbar row:selected:focus {
border-width: 1px;
border-style: solid;
2013-02-28 12:46:14 +00:00
border-color: shade(@theme_selected_bg_color, 0.9);
2013-02-26 16:48:52 +00:00
background-color: @theme_selected_bg_color;
2013-02-27 20:14:54 +00:00
background-image: none;
2013-02-26 16:48:52 +00:00
}
.progressbar.vertical {
background-color: @theme_selected_bg_color;
2013-02-27 20:14:54 +00:00
background-image: none;
2013-02-26 16:48:52 +00:00
}
.trough,
.trough row,
.trough row:hover,
.trough row:selected,
.trough row:selected:focus {
border-width: 1px;
border-style: solid;
border-color: shade(@theme_bg_color, 0.8);
background-color: shade(@theme_bg_color, 1.08);
2013-02-27 20:14:54 +00:00
background-image: none;
2013-02-26 16:48:52 +00:00
}
.trough.vertical {
background-color: shade(@theme_bg_color, 1.08);
2013-02-27 20:14:54 +00:00
background-image: none;
2013-02-26 16:48:52 +00:00
}
/* level bars as used for password quality or remaining power */
GtkLevelBar {
-GtkLevelBar-min-block-width: 34;
2013-03-07 17:05:06 +00:00
-GtkLevelBar-min-block-height: 2;
2013-02-26 16:48:52 +00:00
}
GtkLevelBar.vertical {
2013-03-07 17:05:06 +00:00
-GtkLevelBar-min-block-width: 2;
2013-02-26 16:48:52 +00:00
-GtkLevelBar-min-block-height: 34;
}
.level-bar.trough {
2013-03-07 17:05:06 +00:00
padding: 1px;
2013-02-27 15:09:50 +00:00
border-radius: 2px;
2013-02-26 16:48:52 +00:00
}
.level-bar.fill-block {
border-width: 1px;
border-style: solid;
2013-02-28 12:46:14 +00:00
border-color: shade(@theme_selected_bg_color, 0.9);
2013-02-26 16:48:52 +00:00
background-color: @theme_selected_bg_color;
}
.level-bar.indicator-continuous.fill-block {
2013-03-07 17:05:06 +00:00
padding: 1px;
2013-02-27 15:09:50 +00:00
border-radius: 2px;
2013-02-26 16:48:52 +00:00
}
.level-bar.indicator-discrete.fill-block.horizontal {
margin: 0 1px;
}
.level-bar.indicator-discrete.fill-block.vertical {
margin: 1px 0;
}
/* discrete indicator border rounding,
uncomment when :nth-child will be working
on the widget
.level-bar.indicator-discrete.fill-block.horizontal:first-child {
border-radius: 2px 0 0 2px;
}
.level-bar.indicator-discrete.fill-block.horizontal:last-child {
border-radius: 0 2px 2px 0;
}
.level-bar.indicator-discrete.fill-block.vertical:first-child {
border-radius: 2px 2px 0 0;
}
.level-bar.indicator-discrete.fill-block.vertical:last-child {
border-radius: 0 0 2px 2px;
}
*/
.level-bar.fill-block.level-high {
border-color: shade(@success_color, 0.85);
background-image: linear-gradient(to bottom,
shade(@success_color, 1.2),
@success_color 75%,
shade(@success_color, 0.95)
);
}
.level-bar.fill-block.level-low {
border-color: shade(@warning_bg_color, 0.80);
background-image: linear-gradient(to bottom,
shade(@warning_bg_color, 1.3),
@warning_bg_color 75%,
2013-02-28 12:46:14 +00:00
shade(@warning_bg_color, 0.9)
2013-02-26 16:48:52 +00:00
);
}
.level-bar.fill-block.empty-fill-block {
border-color: alpha(@theme_fg_color, 0.1);
background-color: transparent;
background-image: none;
}
2013-05-18 08:52:04 +00:00
.scale {
padding: 0;
border-width: 1px;
border-radius: 2px;
2013-03-07 17:05:06 +00:00
-GtkRange-slider-width: 15;
2013-02-26 16:48:52 +00:00
-GtkRange-trough-border: 1;
2013-03-07 17:05:06 +00:00
-GtkScale-slider-length: 15;
2013-02-26 16:48:52 +00:00
}
2013-05-18 08:52:04 +00:00
.scale.slider {
2013-02-26 16:48:52 +00:00
border-radius: 7px;
background-color: shade(@theme_bg_color, 1.08);
2013-02-27 20:14:54 +00:00
background-image: none;
2013-05-18 08:52:04 +00:00
/* we will draw the border using box shadow for now */
box-shadow: inset 1px 0 shade(@theme_bg_color, 0.8),
inset 0 1px shade(@theme_bg_color, 0.8),
inset -1px 0 shade(@theme_bg_color, 0.8),
inset 0 -1px shade(@theme_bg_color, 0.8);
2013-02-26 16:48:52 +00:00
}
2013-05-18 08:52:04 +00:00
.scale.slider:hover {
box-shadow: inset 1px 0 shade(@theme_bg_color, 0.7),
inset 0 1px shade(@theme_bg_color, 0.7),
inset -1px 0 shade(@theme_bg_color, 0.7),
inset 0 -1px shade(@theme_bg_color, 0.7);
2013-02-26 16:48:52 +00:00
}
2013-05-18 08:52:04 +00:00
.scale.slider:insensitive {
2013-02-28 12:46:14 +00:00
background-color: shade(@theme_bg_color, 0.9);
2013-02-27 20:14:54 +00:00
background-image: none;
2013-05-18 08:52:04 +00:00
box-shadow: inset 1px 0 shade(@theme_bg_color, 0.85),
inset 0 1px shade(@theme_bg_color, 0.85),
inset -1px 0 shade(@theme_bg_color, 0.85),
inset 0 -1px shade(@theme_bg_color, 0.85);
2013-02-26 16:48:52 +00:00
}
2013-05-18 08:52:04 +00:00
.scale.mark {
2013-02-26 16:48:52 +00:00
border-color: shade(@theme_bg_color, 0.8);
}
2013-05-18 08:52:04 +00:00
.scale.trough {
2013-03-07 17:05:06 +00:00
margin: 6px 0;
2013-03-07 18:16:39 +00:00
border-color: shade(@theme_bg_color, 0.8);
2013-02-27 15:09:50 +00:00
border-radius: 2px;
2013-03-07 18:16:39 +00:00
background-color: shade(@theme_bg_color, 1.08);
2013-02-26 16:48:52 +00:00
background-image: none;
}
2013-05-18 08:52:04 +00:00
.scale.trough.vertical {
2013-03-07 17:05:06 +00:00
margin: 0 6px;
2013-02-26 16:48:52 +00:00
}
.menubar .menuitem .scale.highlight.left,
.scale.highlight.left {
border-color: @theme_selected_bg_color;
background-color: @theme_selected_bg_color;
2013-02-27 20:14:54 +00:00
background-image: none;
2013-02-26 16:48:52 +00:00
}
2013-03-07 17:05:06 +00:00
.menubar .menuitem .scale.highlight.left:hover {
border-color: shade(@theme_selected_bg_color, 0.8);
background-color: shade(@theme_selected_bg_color, 0.8);
}
2013-02-26 16:48:52 +00:00
.scale.highlight.bottom {
border-color: @theme_selected_bg_color;
background-color: @theme_selected_bg_color;
2013-02-27 20:14:54 +00:00
background-image: none;
2013-02-26 16:48:52 +00:00
}
2013-05-18 08:52:04 +00:00
.scale.trough:insensitive,
2013-02-26 16:48:52 +00:00
.scale.highlight.left:insensitive {
2013-05-18 08:52:04 +00:00
border-color: shade(@theme_bg_color, 0.85);
2013-02-28 12:46:14 +00:00
background-color: shade(@theme_bg_color, 0.9);
2013-02-27 20:14:54 +00:00
background-image: none;
2013-02-26 16:48:52 +00:00
}
/*************
* scrollbar *
*************/
.scrollbar {
2013-05-18 08:52:04 +00:00
border-width: 1px;
2013-02-26 16:48:52 +00:00
border-style: solid;
padding: 0;
}
.scrollbars-junction,
.scrollbar.trough {
border-width: 0;
border-radius: 0;
background-color: @theme_bg_color;
2013-02-27 20:14:54 +00:00
background-image: none;
2013-02-26 16:48:52 +00:00
}
.scrollbar.button,
.scrollbar.button:active,
.scrollbar.button:active:hover {
border-width: 0;
border-radius: 0;
background-color: transparent;
2013-02-27 20:14:54 +00:00
background-image: none;
2013-03-11 10:28:20 +00:00
color: shade(@theme_bg_color, 0.6);
2013-02-26 16:48:52 +00:00
}
.scrollbar.slider {
border-width: 1px;
border-color: shade(@theme_bg_color, 0.8);
border-radius: 0;
2013-02-28 12:46:14 +00:00
background-color: shade(@theme_bg_color, 0.9);
2013-02-26 16:48:52 +00:00
}
.scrollbar.slider:hover,
.scrollbar.slider.vertical:hover {
2013-02-27 15:09:50 +00:00
border-color: shade(@theme_bg_color, 0.7);
2013-02-26 16:48:52 +00:00
background-color: shade(@theme_bg_color, 0.8);
}
.scrollbar.slider:active,
.scrollbar.slider.vertical:active {
2013-02-28 12:46:14 +00:00
border-color: shade(@theme_selected_bg_color, 0.9);
2013-02-26 16:48:52 +00:00
background-color: @theme_selected_bg_color;
}
/* overlay scrollbar */
OsThumb {
color: shade(@theme_bg_color, 0.7);
}
OsThumb:selected,
OsScrollbar:selected {
background-color: @theme_selected_bg_color;
}
OsThumb:active,
OsScrollbar:active {
background-color: @theme_selected_bg_color;
}
OsThumb:insensitive,
OsScrollbar:insensitive {
2013-02-28 12:46:14 +00:00
background-color: shade(@theme_bg_color, 0.9);
2013-02-26 16:48:52 +00:00
}
/*******************
* scrolled window *
*******************/
GtkScrolledWindow.frame {
2013-05-18 08:52:04 +00:00
border-width: 1px;
2013-02-26 16:48:52 +00:00
border-style: solid;
border-color: shade(@theme_bg_color, 0.8);
border-radius: 0;
}
/* avoid double borders when a viewport is
* packed into a GtkScrolledWindow */
GtkScrolledWindow GtkViewport.frame {
border-style: none;
}
/*************
* separator *
*************/
.sidebar.view.separator,
.view.separator,
.separator {
2013-05-18 08:52:04 +00:00
border-width: 1px;
2013-02-26 16:48:52 +00:00
border-style: solid;
2013-02-28 12:46:14 +00:00
border-color: shade(@theme_bg_color, 0.9);
color: shade(@theme_bg_color, 0.9);
2013-02-26 16:48:52 +00:00
}
.button .separator,
.button.separator {
2013-05-18 08:52:04 +00:00
border-color: shade(@theme_bg_color, 0.95);
2013-02-26 16:48:52 +00:00
}
.button .separator:insensitive,
.button.separator:insensitive {
border-color: shade(@theme_bg_color, 0.85);
2013-02-26 16:48:52 +00:00
}
2013-05-18 08:52:04 +00:00
.primary-toolbar GtkSeparatorToolItem,
.primary-toolbar .separator,
.primary-toolbar .separator:insensitive {
border-color: shade(@toolbar_bg_color, 0.95);
}
2013-03-07 13:34:42 +00:00
.toolbar .button .separator,
.toolbar .button.separator,
.primary-toolbar .button .separator,
.primary-toolbar .button.separator {
2013-05-18 08:52:04 +00:00
border-color: shade(@toolbar_bg_color, 0.95);
2013-03-07 13:34:42 +00:00
}
.toolbar .button .separator:insensitive,
.toolbar .button.separator:insensitive,
.primary-toolbar .button .separator:insensitive,
.primary-toolbar .button.separator:insensitive {
border-color: shade(@toolbar_bg_color, 0.85);
}
2013-02-26 16:48:52 +00:00
.menuitem.separator {
-GtkMenuItem-horizontal-padding: 0;
-GtkWidget-separator-height: 1;
2013-05-18 08:52:04 +00:00
border-style: none;
2013-02-28 12:46:14 +00:00
color: shade(@menu_bg_color, 0.9);
2013-02-26 16:48:52 +00:00
}
GtkComboBox .separator {
2013-05-18 08:52:04 +00:00
border-style: none;
2013-02-26 16:48:52 +00:00
/* always disable separators */
-GtkWidget-wide-separators: true;
-GtkWidget-horizontal-separator: 0;
-GtkWidget-vertical-separator: 0;
}
/***********
* sidebar *
***********/
.sidebar,
.sidebar.view,
.sidebar .view {
background-color: @theme_bg_color;
color: mix(@theme_fg_color, @theme_bg_color, 0.1);
}
.sidebar .frame {
border-width: 0;
}
/**************
* spinbutton *
**************/
2013-05-18 08:52:04 +00:00
.spinbutton .button {
color: mix(@theme_text_color, @theme_base_color, 0.4);
padding: 2px 4px;
border-width: 0;
border-radius: 0;
border-style: none;
background-color: transparent;
background-image: none;
box-shadow: inset 1px 0 shade(@theme_base_color, 0.9);
2013-02-26 16:48:52 +00:00
}
2013-05-18 08:52:04 +00:00
.spinbutton .button:insensitive {
color: mix(@theme_text_color, @theme_base_color, 0.7);
box-shadow: inset 1px 0 shade(@theme_bg_color, 0.95);
2013-02-26 16:48:52 +00:00
}
2013-05-18 08:52:04 +00:00
.spinbutton .button:active,
.spinbutton .button:hover {
color: @theme_fg_color;
2013-02-26 16:48:52 +00:00
}
2013-05-18 08:52:04 +00:00
.spinbutton .button:first-child {
border-radius: 2px 0 0 2px;
box-shadow: none;
2013-02-26 16:48:52 +00:00
}
2013-05-18 08:52:04 +00:00
.spinbutton .button:last-child {
border-radius: 0 2px 2px 0;
}
.spinbutton .button:dir(rtl) {
box-shadow: inset -1px 0 shade(@theme_base_color, 0.9);
}
.spinbutton.vertical .button {
border-width: 1px;
border-style: solid;
border-color: shade(@theme_bg_color, 0.8);
2013-02-27 15:09:50 +00:00
border-radius: 2px;
2013-05-18 08:52:04 +00:00
background-color: shade(@theme_bg_color, 1.08);
background-image: none;
color: @theme_fg_color;
box-shadow: none;
}
.spinbutton.vertical .button:hover {
border-color: shade(@theme_bg_color, 0.7);
background-color: shade(@theme_bg_color, 1.10);
background-image: none;
color: shade(@theme_fg_color, 0.7);
}
.spinbutton.vertical .button:active {
border-color: shade(@theme_bg_color, 0.8);
background-color: shade(@theme_bg_color, 0.95);
background-image: none;
}
.spinbutton.vertical .button:active:hover {
border-color: shade(@theme_bg_color, 0.7);
color: shade(@theme_fg_color, 0.7);
}
.spinbutton.vertical .button:focus,
.spinbutton.vertical .button:hover:focus,
.spinbutton.vertical .button:active:focus,
.spinbutton.vertical .button:active:hover:focus {
border-color: shade(@theme_bg_color, 0.7);
color: shade(@theme_fg_color, 0.7);
}
.spinbutton.vertical .button:insensitive {
border-color: shade(@theme_bg_color, 0.85);
background-color: shade(@theme_bg_color, 0.9);
background-image: none;
2013-02-26 16:48:52 +00:00
}
.spinbutton.vertical .button:first-child {
border-width: 1px;
border-bottom-width: 0;
2013-02-27 15:09:50 +00:00
border-radius: 2px;
2013-02-26 16:48:52 +00:00
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
}
.spinbutton.vertical .button:last-child {
border-width: 1px;
border-top-width: 0;
2013-02-27 15:09:50 +00:00
border-radius: 2px;
2013-02-26 16:48:52 +00:00
border-top-left-radius: 0;
border-top-right-radius: 0;
}
.spinbutton.vertical.entry {
border-width: 1px;
border-style: solid;
border-radius: 0;
}
/***********
* spinner *
***********/
@keyframes spinner {
0.00% { background-image: -gtk-gradient(radial, center center, 0, center center, 0.5, to(currentColor), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.875)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.750)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.625)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.500)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.375)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.250)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.125)), to(transparent)); }
12.5% { background-image: -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.875)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.750)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.625)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.500)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.375)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.250)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.125)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(currentColor), to(transparent)); }
25.0% { background-image: -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.750)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.625)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.500)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.375)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.250)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.125)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(currentColor), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.875)), to(transparent)); }
37.5% { background-image: -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.625)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.500)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.375)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.250)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.125)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(currentColor), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.875)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.750)), to(transparent)); }
50.0% { background-image: -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.500)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.375)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.250)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.125)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(currentColor), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.875)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.750)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.625)), to(transparent)); }
62.5% { background-image: -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.375)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.250)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.125)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(currentColor), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.875)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.750)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.625)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.500)), to(transparent)); }
75.0% { background-image: -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.250)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.125)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(currentColor), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.875)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.750)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.625)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.500)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.375)), to(transparent)); }
87.5% { background-image: -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.125)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(currentColor), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.875)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.750)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.625)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.500)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.375)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.250)), to(transparent)); }
100% { background-image: -gtk-gradient(radial, center center, 0, center center, 0.5, to(currentColor), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.875)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.750)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.625)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.500)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.375)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.250)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.125)), to(transparent)); }
}
.spinner {
background-color: transparent;
background-image: -gtk-gradient(radial, center center, 0, center center, 0.5, to(currentColor), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(currentColor), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(currentColor), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(currentColor), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(currentColor), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(currentColor), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(currentColor), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(currentColor), to(transparent));
background-position: 14% 14%, 0% 50%, 14% 86%, 50% 100%, 86% 86%, 100% 50%, 86% 14%, 50% 0%;
background-size: 15% 15%;
background-repeat: no-repeat;
}
2013-03-17 14:31:04 +00:00
.spinner:active {
background-image: -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.875)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.750)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.625)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.500)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.375)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.250)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.125)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(currentColor), to(transparent));
animation: spinner 1s infinite linear;
}
2013-02-26 16:48:52 +00:00
.menu.spinner,
.primary-toolbar .spinner {
color: @theme_selected_bg_color;
}
/*******
* osd *
*******/
GtkWindow.osd {
background-color: @osd_bg;
color: @osd_fg;
}
GtkOverlay.osd {
background-color: transparent;
}
/* used by gnome-settings-daemon's media-keys OSD */
.osd.trough {
background-color: shade(@osd_bg, 0.8);
}
.osd.progressbar {
background-color: @osd_fg;
}
/*************
* statusbar *
*************/
GtkStatusbar {
padding: 3px;
color: @theme_fg_color;
}
/**********
* switch *
**********/
GtkSwitch {
padding: 0;
2013-02-27 15:09:50 +00:00
border-radius: 2px;
2013-02-26 16:48:52 +00:00
font: bold condensed;
}
GtkSwitch.slider {
2013-05-18 08:52:04 +00:00
border-width: 1px;
2013-02-26 16:48:52 +00:00
border-style: solid;
border-color: shade(@theme_bg_color, 0.8);
background-color: shade(@theme_bg_color, 1.08);
2013-02-27 20:14:54 +00:00
background-image: none;
2013-02-26 16:48:52 +00:00
}
GtkSwitch.slider:insensitive {
border-color: shade(@theme_bg_color, 0.85);
2013-02-28 12:46:14 +00:00
background-color: shade(@theme_bg_color, 0.9);
2013-02-27 20:14:54 +00:00
background-image: none;
2013-02-26 16:48:52 +00:00
}
GtkSwitch.trough {
border-color: shade(@theme_bg_color, 0.8);
background-color: shade(@theme_bg_color, 0.95);
2013-02-27 20:14:54 +00:00
background-image: none;
2013-02-26 16:48:52 +00:00
color: @theme_fg_color;
}
GtkSwitch.trough:active {
2013-02-28 12:46:14 +00:00
border-color: shade(@theme_selected_bg_color, 0.9);
2013-02-26 16:48:52 +00:00
background-color: @theme_selected_bg_color;
2013-02-27 20:14:54 +00:00
background-image: none;
2013-02-26 16:48:52 +00:00
color: @theme_selected_fg_color;
}
GtkSwitch.trough:insensitive {
border-color: shade(@theme_bg_color, 0.85);
2013-02-28 12:46:14 +00:00
background-color: shade(@theme_bg_color, 0.9);
2013-02-27 20:14:54 +00:00
background-image: none;
2013-02-26 16:48:52 +00:00
color: mix(@theme_fg_color, @theme_bg_color, 0.5);
}
/************
* textview *
************/
GtkTextView {
background-color: @theme_base_color;
color: @theme_text_color;
}
2013-05-18 08:52:04 +00:00
/*****************
* color chooser *
*****************/
GtkColorSwatch,
GtkColorSwatch:selected {
border-width: 1px;
border-style: solid;
border-color: alpha(black, 0.1);
border-radius: 1px;
background-color: transparent;
background-clip: border-box;
}
GtkColorSwatch:hover,
GtkColorSwatch:selected:hover {
border-color: alpha(black, 0.3);
}
GtkColorSwatch.color-dark:hover {
}
GtkColorSwatch.color-light:hover {
}
GtkColorSwatch.color-light:selected:hover,
GtkColorSwatch.color-dark:selected:hover {
background-image: none;
}
GtkColorSwatch.left,
GtkColorSwatch:first-child {
border-top-left-radius: 2px;
border-bottom-left-radius: 2px;
}
GtkColorSwatch.right,
GtkColorSwatch:last-child {
border-top-right-radius: 2px;
border-bottom-right-radius: 2px;
}
GtkColorSwatch:only-child {
border-radius: 2px;
}
GtkColorSwatch.top {
border-top-left-radius: 2px;
border-top-right-radius: 2px;
}
GtkColorSwatch.bottom {
border-bottom-left-radius: 2px;
border-bottom-right-radius: 2px;
}
GtkColorChooserWidget #add-color-button {
background-clip: padding-box;
border-color: alpha(black, 0.1);
background-color: shade(@theme_bg_color, 0.95);
color: @theme_fg_color;
}
GtkColorChooserWidget #add-color-button:hover {
border-color: alpha(black, 0.3);
background-color: shade(@theme_bg_color, 0.90);
color: @theme_fg_color;
}
.color-active-badge,
.color-active-badge:selected {
border-width: 1px;
border-style: solid;
border-width: 2px;
background-color: transparent;
}
.color-active-badge.color-light,
.color-active-badge.color-light:hover {
border-color: alpha(black, 0.3);
color: alpha(black, 0.3);
}
.color-active-badge.color-dark,
.color-active-badge.color-dark:hover {
border-color: alpha(white, 0.3);
color: alpha(white, 0.3);
}
GtkColorEditor GtkColorSwatch {
border-radius: 2px;
}
GtkColorEditor GtkColorSwatch.color-dark:hover,
GtkColorEditor GtkColorSwatch.color-light:hover {
background-image: none;
border-color: alpha(black, 0.3);
}
GtkColorButton.button {
padding: 2px;
}
2013-02-26 16:48:52 +00:00
/***********
* toolbar *
***********/
.toolbar {
padding: 3px;
border-style: none;
background-color: @toolbar_bg_color;
2013-02-27 20:14:54 +00:00
background-image: none;
2013-02-26 16:48:52 +00:00
}
/* primary-toolbar */
.primary-toolbar,
.primary-toolbar .toolbar,
.primary-toolbar.toolbar {
-GtkWidget-window-dragging: true;
padding: 3px;
2013-04-10 10:13:55 +00:00
border-width: 0 0 1px 0;
2013-02-26 16:48:52 +00:00
border-style: solid;
border-color: shade(@toolbar_bg_color, 0.8);
background-color: @toolbar_bg_color;
2013-02-27 20:14:54 +00:00
background-image: none;
2013-02-26 16:48:52 +00:00
color: @toolbar_fg_color;
}
.primary-toolbar GtkComboBox,
2013-03-22 11:35:22 +00:00
.primary-toolbar .button {
2013-02-26 16:48:52 +00:00
padding: 2px;
border-width: 1px;
border-color: transparent;
2013-02-27 15:09:50 +00:00
border-radius: 2px;
2013-02-26 16:48:52 +00:00
background-color: transparent;
background-image: none;
color: @toolbar_fg_color;
}
.primary-toolbar .raised .button,
.primary-toolbar .raised.button,
2013-03-22 11:35:22 +00:00
.toolbar GtkComboBox,
2013-02-26 16:48:52 +00:00
.toolbar .button {
border-color: shade(@toolbar_bg_color, 0.8);
background-color: shade(@toolbar_bg_color, 1.08);
2013-02-27 20:14:54 +00:00
background-image: none;
2013-02-26 16:48:52 +00:00
color: @toolbar_fg_color;
}
.primary-toolbar .button:hover,
2013-03-22 11:35:22 +00:00
.toolbar .button:hover {
2013-02-26 16:48:52 +00:00
border-color: shade(@toolbar_bg_color, 0.7);
background-color: shade(@toolbar_bg_color, 1.10);
2013-02-27 20:14:54 +00:00
background-image: none;
2013-02-26 16:48:52 +00:00
color: shade(@toolbar_fg_color, 0.7);
}
.primary-toolbar .button:active,
.toolbar .button:active {
border-color: shade(@toolbar_bg_color, 0.8);
background-color: shade(@toolbar_bg_color, 0.95);
2013-02-27 20:14:54 +00:00
background-image: none;
2013-02-26 16:48:52 +00:00
}
.primary-toolbar .button:active:hover,
.toolbar .button:active:hover {
border-color: shade(@toolbar_bg_color, 0.7);
color: shade(@toolbar_fg_color, 0.7);
}
2013-02-28 12:46:14 +00:00
.primary-toolbar .button:focus,
.primary-toolbar .button:hover:focus,
.primary-toolbar .button:active:focus,
.primary-toolbar .button:active:hover:focus,
.toolbar .button:focus,
.toolbar .button:hover:focus,
.toolbar .button:active:focus,
.toolbar .button:active:hover:focus {
2013-03-04 12:13:59 +00:00
border-color: shade(@toolbar_bg_color, 0.7);
color: shade(@toolbar_fg_color, 0.7);
2013-02-28 12:46:14 +00:00
}
2013-02-26 16:48:52 +00:00
.primary-toolbar .button:insensitive,
.toolbar .button:insensitive {
border-color: shade(@toolbar_bg_color, 0.85);
2013-02-28 12:46:14 +00:00
background-color: shade(@toolbar_bg_color, 0.9);
2013-02-27 20:14:54 +00:00
background-image: none;
2013-02-26 16:48:52 +00:00
}
.primary-toolbar .button:active:insensitive,
.toolbar .button:active:insensitive {
border-color: shade(@toolbar_bg_color, 0.75);
background-color: shade(@toolbar_bg_color, 0.80);
2013-02-27 20:14:54 +00:00
background-image: none;
2013-02-26 16:48:52 +00:00
}
.primary-toolbar .entry {
border-color: shade(@toolbar_bg_color, 0.8);
}
.primary-toolbar .entry:active,
.primary-toolbar .entry:focus {
2013-03-04 12:13:59 +00:00
border-color: shade(@toolbar_bg_color, 0.7);
2013-02-26 16:48:52 +00:00
}
/* inline-toolbar */
.inline-toolbar.toolbar {
-GtkToolbar-button-relief: normal;
2013-02-27 09:30:49 +00:00
padding: 1px;
2013-02-26 16:48:52 +00:00
border-width: 1px;
border-style: solid;
border-color: shade(@theme_bg_color, 0.8);
border-radius: 0;
background-color: @theme_bg_color;
2013-02-27 20:14:54 +00:00
background-image: none;
2013-02-26 16:48:52 +00:00
}
.inline-toolbar.toolbar:last-child {
border-width: 0 1px 1px 1px;
border-color: shade(@theme_bg_color, 0.8);
border-radius: 0;
}
.inline-toolbar.toolbar .button {
padding: 1px;
border-width: 1px 0 1px 1px;
border-style: solid;
2013-03-07 13:34:42 +00:00
border-color: shade(@theme_bg_color, 0.8);
2013-02-26 16:48:52 +00:00
border-radius: 0;
background-color: shade(@theme_bg_color, 1.08);
2013-02-27 20:14:54 +00:00
background-image: none;
2013-03-07 13:34:42 +00:00
color: @theme_fg_color;
}
.inline-toolbar.toolbar .button:hover {
border-color: shade(@theme_bg_color, 0.7);
background-color: shade(@theme_bg_color, 1.10);
background-image: none;
color: shade(@theme_fg_color, 0.7);
}
.inline-toolbar.toolbar .button:active {
border-color: shade(@theme_bg_color, 0.8);
background-color: shade(@theme_bg_color, 0.95);
background-image: none;
}
.inline-toolbar.toolbar .button:active:hover {
border-color: shade(@theme_bg_color, 0.7);
color: shade(@theme_fg_color, 0.7);
}
.inline-toolbar.toolbar .button:focus,
.inline-toolbar.toolbar .button:hover:focus,
.inline-toolbar.toolbar .button:active:focus,
.inline-toolbar.toolbar .button:active:hover:focus {
border-color: shade(@theme_bg_color, 0.7);
color: shade(@theme_fg_color, 0.7);
2013-02-26 16:48:52 +00:00
}
.inline-toolbar.toolbar .button *:insensitive,
.inline-toolbar.toolbar GtkToolButton .button:insensitive {
border-color: shade(@theme_bg_color, 0.85);
2013-02-28 12:46:14 +00:00
background-color: shade(@theme_bg_color, 0.9);
2013-02-27 20:14:54 +00:00
background-image: none;
2013-02-26 16:48:52 +00:00
}
2013-05-18 08:52:04 +00:00
/* linked buttons */
.primary-toolbar .button.raised.linked,
.primary-toolbar .raised.linked .button,
.inline-toolbar.toolbar .button,
.inline-toolbar.toolbar GtkToolButton .button {
box-shadow: inset -1px 0 shade(@theme_bg_color, 0.9);
}
.primary-toolbar .button.raised.linked:active,
.primary-toolbar .raised.linked .button:active,
.inline-toolbar.toolbar .button:active,
.inline-toolbar.toolbar GtkToolButton .button:active {
box-shadow: inset -1px 0 shade(@theme_bg_color, 0.9),
inset 1px 0 alpha(@dark_shadow, 0.07),
inset 0 1px alpha(@dark_shadow, 0.08),
inset 0 -1px alpha(@dark_shadow, 0.05);
2013-05-18 08:52:04 +00:00
}
.primary-toolbar .button.raised.linked:insensitive,
.primary-toolbar .raised.linked .button:insensitive,
.inline-toolbar.toolbar .button:insensitive,
.inline-toolbar.toolbar GtkToolButton .button:insensitive {
box-shadow: inset -1px 0 shade(@theme_bg_color, 0.9);
}
/* remove box shadow from last-child and only-child */
.linked .button:last-child,
.toolbar .button.raised.linked:last-child,
.toolbar .raised.linked .button:last-child,
.inline-toolbar.toolbar .button:last-child,
.inline-toolbar.toolbar GtkToolButton:last-child > .button,
.linked .button:only-child,
.toolbar .button.raised.linked:only-child,
.toolbar .raised.linked .button:only-child,
.inline-toolbar.toolbar .button:only-child,
.inline-toolbar.toolbar GtkToolButton:only-child > .button,
.linked .button:insensitive:last-child,
.toolbar .button:insensitive.raised.linked:last-child,
.toolbar .raised.linked .button:insensitive:last-child,
.inline-toolbar.toolbar .button:insensitive:last-child,
.inline-toolbar.toolbar GtkToolButton:last-child > .button:insensitive,
.linked .button:insensitive:only-child,
.toolbar .button:insensitive.raised.linked:only-child,
.toolbar .raised.linked .button:insensitive:only-child,
.inline-toolbar.toolbar .button:insensitive:only-child,
.inline-toolbar.toolbar GtkToolButton:only-child > .button:insensitive {
box-shadow: none;
}
.linked .button:active:last-child,
.toolbar .button:active.raised.linked:last-child,
.toolbar .raised.linked .button:active:last-child,
.inline-toolbar.toolbar .button:active:last-child,
.inline-toolbar.toolbar GtkToolButton:last-child > .button:active,
.linked .button:active:only-child,
.toolbar .button:active.raised.linked:only-child,
.toolbar .raised.linked .button:active:only-child,
.inline-toolbar.toolbar .button:active:only-child,
.inline-toolbar.toolbar GtkToolButton:only-child > .button:active {
box-shadow: inset 1px 0 alpha(@dark_shadow, 0.07),
inset 0 1px alpha(@dark_shadow, 0.08),
inset -1px 0 alpha(@dark_shadow, 0.07),
inset 0 -1px alpha(@dark_shadow, 0.05);
}
2013-02-26 16:48:52 +00:00
/* middle button */
.primary-toolbar .button.raised.linked,
.primary-toolbar .button.raised.linked:active,
.primary-toolbar .button.raised.linked:insensitive,
.primary-toolbar .raised.linked .button,
.primary-toolbar .raised.linked .button:active,
.primary-toolbar .raised.linked .button:insensitive,
.inline-toolbar.toolbar .button,
.inline-toolbar.toolbar .button:active,
.inline-toolbar.toolbar .button:insensitive,
.inline-toolbar.toolbar GtkToolButton .button,
.inline-toolbar.toolbar GtkToolButton .button:active,
.inline-toolbar.toolbar GtkToolButton .button:insensitive {
border-width: 1px;
border-radius: 0;
2013-05-18 08:52:04 +00:00
border-right-width: 0;
border-left-width: 0;
2013-02-26 16:48:52 +00:00
}
/* leftmost button */
.primary-toolbar .button.raised.linked:first-child,
.primary-toolbar .button.raised.linked:active:first-child,
.primary-toolbar .button.raised.linked:insensitive:first-child,
.primary-toolbar .raised.linked .button:first-child,
.primary-toolbar .raised.linked .button:active:first-child,
.primary-toolbar .raised.linked .button:insensitive:first-child,
.inline-toolbar.toolbar .button:first-child,
.inline-toolbar.toolbar .button:active:first-child,
.inline-toolbar.toolbar .button:insensitive:first-child,
.inline-toolbar.toolbar GtkToolButton:first-child .button,
.inline-toolbar.toolbar GtkToolButton:first-child .button:active,
.inline-toolbar.toolbar GtkToolButton:first-child .button:insensitive {
border-width: 1px;
2013-02-27 15:09:50 +00:00
border-radius: 2px;
2013-05-18 08:52:04 +00:00
border-right-width: 0;
2013-02-26 16:48:52 +00:00
border-bottom-right-radius: 0;
2013-05-18 08:52:04 +00:00
border-top-right-radius: 0;
2013-02-26 16:48:52 +00:00
}
/* rightmost button */
.primary-toolbar .button.raised.linked:last-child,
.primary-toolbar .button.raised.linked:active:last-child,
.primary-toolbar .button.raised.linked:insensitive:last-child,
.primary-toolbar .raised.linked .button:last-child,
.primary-toolbar .raised.linked .button:active:last-child,
.primary-toolbar .raised.linked .button:insensitive:last-child,
.inline-toolbar.toolbar .button:last-child,
.inline-toolbar.toolbar .button:active:last-child,
.inline-toolbar.toolbar .button:insensitive:last-child,
.inline-toolbar.toolbar GtkToolButton:last-child .button,
.inline-toolbar.toolbar GtkToolButton:last-child .button:active,
.inline-toolbar.toolbar GtkToolButton:last-child .button:insensitive {
border-width: 1px;
2013-02-27 15:09:50 +00:00
border-radius: 2px;
2013-05-18 08:52:04 +00:00
border-left-width: 0;
2013-02-26 16:48:52 +00:00
border-bottom-left-radius: 0;
border-top-left-radius: 0;
}
2013-05-18 08:52:04 +00:00
/* linked single button */
2013-02-26 16:48:52 +00:00
.primary-toolbar.toolbar .button:only-child,
.primary-toolbar.toolbar .button:active:only-child,
.primary-toolbar.toolbar .button:insensitive:only-child,
.primary-toolbar.toolbar GtkToolButton:only-child .button,
.primary-toolbar.toolbar GtkToolButton:only-child .button:active,
.primary-toolbar.toolbar GtkToolButton:only-child .button:insensitive,
.inline-toolbar.toolbar .button:only-child,
.inline-toolbar.toolbar .button:active:only-child,
.inline-toolbar.toolbar .button:insensitive:only-child,
.inline-toolbar.toolbar GtkToolButton:only-child .button,
.inline-toolbar.toolbar GtkToolButton:only-child .button:active,
.inline-toolbar.toolbar GtkToolButton:only-child .button:insensitive {
border-width: 1px;
2013-02-27 15:09:50 +00:00
border-radius: 2px;
2013-02-26 16:48:52 +00:00
}
/***********
* tooltip *
***********/
.tooltip {
border-width: 1px;
border-style: solid;
border-color: shade(@theme_tooltip_bg_color, 0.8);
2013-02-27 15:09:50 +00:00
border-radius: 2px;
2013-02-26 16:48:52 +00:00
background-color: @theme_tooltip_bg_color;
2013-02-27 20:14:54 +00:00
background-image: none;
2013-02-26 16:48:52 +00:00
color: @theme_tooltip_fg_color;
}
.tooltip * {
background-color: transparent;
}
/************
* treeview *
************/
GtkTreeView {
2013-05-18 08:52:04 +00:00
-GtkTreeView-vertical-separator: 0;
-GtkWidget-focus-line-width: 1;
-GtkWidget-focus-padding: 1;
2013-02-26 16:48:52 +00:00
}
GtkTreeView.dnd {
border-width: 1px;
border-style: solid;
2013-02-28 12:46:14 +00:00
border-color: shade(@theme_selected_bg_color, 0.9);
2013-02-26 16:48:52 +00:00
border-radius: 0;
}
GtkTreeView .entry {
border-radius: 0;
background-color: @theme_base_color;
background-image: none;
}
/************
* viewport *
************/
GtkViewport.frame {
border-width: 0;
}
.view {
background-color: @theme_base_color;
color: @theme_text_color;
}
.view:selected,
.view:selected:focus {
background-color: @theme_selected_bg_color;
color: @theme_selected_fg_color;
2013-03-17 14:31:04 +00:00
}