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

NemoView .view,
NautilusView .view {
	background-color: shade(@theme_bg_color, 1.05)
}

.nautilus-inactive-pane .view,
.nemo-inactive-pane .view {
	background-color: shade(@theme_bg_color, 0.9);
}

.nautilus-inactive-pane .notebook,
.nemo-inactive-pane .notebook {
	background-color: shade(@theme_bg_color, 0.9);
}

.nautilus-inactive-pane .notebook tab.top:active,
.nemo-inactive-pane .notebook tab.top:active {
	background-image: linear-gradient(to bottom,
	                                  shade(@theme_bg_color, 0.8),
	                                  shade(@theme_bg_color, 0.86) 40%,
	                                  shade(@theme_bg_color, 0.88) 70%,
	                                  shade(@theme_bg_color, 0.9));
}

.nautilus-inactive-pane .notebook .scrollbar.button:insensitive,
.nemo-inactive-pane .notebook .scrollbar.button:insensitive {
	background-color: shade(@theme_bg_color, 0.9);
	border-radius: 0px;
}

/* file renaming */
NautilusView .view .entry,
NautilusView .view .entry:focus,
NemoView .view .entry,
NemoView .view .entry:focus {
	background-image: none;
	border-image: none;
	border-style: solid;
	border-radius: 1px;
	border-color: @theme_selected_bg_color;
}

/*NemoToolbar .toolbar {
	border-radius: 0px;
}*/

NautilusWindow GtkScrolledWindow.frame,
NemoWindow GtkScrolledWindow.frame {
	border-style: none;
}

NautilusView .expander column:sorted:selected,
NautilusView .expander column:sorted:selected:hover,
NemoView .expander column:sorted:selected,
NemoView .expander column:sorted:selected:hover {
	background-image: none;
	background-color: transparent;
}

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

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

NautilusWindow GtkStatusbar,
NautilusWindow .floating-bar,
NemoWindow GtkStatusbar,
NemoWindow .floating-bar {
	font: italic;
}

NautilusWindow .notebook,
NemoWindow .notebook {
	/*border-color: shade(@notebook_border, 1.2);*/
	border-radius: 0px 0px 5px 5px;
}

NautilusWindow .notebook tab,
NemoWindow .notebook tab {
	border-radius: 0px;
}

NautilusWindow .notebook tab:active,
NemoWindow .notebook tab:active {
	border-radius: 0px 0px 5px 5px;
}

NautilusWindow .notebook tab.top,
NemoWindow .notebook tab.top {
	/* top right-left bottom */
	padding: 4px 8px 4px;
}

NautilusWindow .notebook tab.top:active,
NemoWindow .notebook tab.top:active {
	padding: 6px 8px 4px;
}

NautilusWindow .notebook .view.rubberband,
NautilusWindow .notebook .rubberband,
NemoWindow .notebook .view.rubberband,
NemoWindow .notebook .rubberband {
	background-color: alpha(@theme_selected_bg_color, 0.35);
	border-radius: 6px;
}

NautilusWindow .sidebar .view,
NemoWindow .sidebar .view{
    background-color: shade(@theme_bg_color, 0.92);
	border-width: 0px;
}

NautilusWindow .sidebar .frame,
NemoWindow .sidebar .frame {
	border-width: 0px;
}

NautilusWindow .sidebar .scrollbar.button.vertical.top,
NautilusWindow .sidebar .scrollbar.button.vertical.top:hover,
NautilusWindow .sidebar .scrollbar.button.vertical.top:active,
NautilusWindow .sidebar .scrollbar.button.vertical.top:insensitive,
NemoWindow .sidebar .scrollbar.button.vertical.top,
NemoWindow .sidebar .scrollbar.button.vertical.top:hover,
NemoWindow .sidebar .scrollbar.button.vertical.top:active,
NemoWindow .sidebar .scrollbar.button.vertical.top:insensitive {
	border-width: 0px 0px 0px 1px;
}

NautilusWindow .sidebar .scrollbar.button.vertical.bottom,
NautilusWindow .sidebar .scrollbar.button.vertical.bottom:hover,
NautilusWindow .sidebar .scrollbar.button.vertical.bottom:active,
NautilusWindow .sidebar .scrollbar.button.vertical.bottom:insensitive,
NemoWindow .sidebar .scrollbar.button.vertical.bottom,
NemoWindow .sidebar .scrollbar.button.vertical.bottom:hover,
NemoWindow .sidebar .scrollbar.button.vertical.bottom:active,
NemoWindow .sidebar .scrollbar.button.vertical.bottom:insensitive {
	border-width: 0px 0px 0px 1px;
}

NemoWindow .sidebar .scrollbar.button.horizontal.left,
NemoWindow .sidebar .scrollbar.button.horizontal.left:hover,
NemoWindow .sidebar .scrollbar.button.horizontal.left:active,
NemoWindow .sidebar .scrollbar.button.horizontal.left:insensitive {
	border-width: 1px 0px 1px 0px;
}

NemoWindow .sidebar .scrollbar.button.horizontal.right,
NemoWindow .sidebar .scrollbar.button.horizontal.right:hover,
NemoWindow .sidebar .scrollbar.button.horizontal.right:active,
NemoWindow .sidebar .scrollbar.button.horizontal.right:insensitive {
	border-width: 1px 0px 1px 0px;
}

NautilusWindow .sidebar .scrollbar.trough.vertical,
NemoWindow .sidebar .scrollbar.trough.vertical {
	border-top: 0px;
	border-bottom: 0px;
	border-right: 0px;
}

NautilusPlacesSidebar .cell:selected,
NautilusPlacesSidebar *.cell:selected,
NemoPlacesSidebar .cell:selected,
NemoPlacesSidebar *.cell:selected {
	background-image:  linear-gradient(to bottom,
	                                   shade(@theme_bg_color, 1.2),
	                                   shade(@theme_bg_color, 0.63));
	color: @theme_text_color;
	border-radius: 2px;
}

NautilusPlacesSidebar .cell:selected:focus,
NautilusPlacesSidebar *.cell:selected:focus,
NemoPlacesSidebar .cell:selected:focus,
NemoPlacesSidebar *.cell:selected:focus {
	color: @theme_text_color;
	background-image:  linear-gradient(to top,
	                                   shade(@theme_bg_color, 1.2),
	                                   shade(@theme_bg_color, 0.63));
}

NautilusPlacesSidebar .cell.image:selected,
NautilusPlacesSidebar .cell.image:selected:focus,
NemoPlacesSidebar .cell.image:selected,
NemoPlacesSidebar .cell.image:selected:focus {
	color: shade(@theme_selected_bg_color, 0.75);
}

NautilusWindow .question, /* why question for trash? */
NautilusWindow .info,
NautilusTrashBar.info,
NautilusXContentBar.info,
NautilusQueryEditor.info,
NautilusSearchBar.info,
NemoWindow .question,
NemoWindow .info,
NemoTrashBar.info,
NemoXContentBar.info,
NemoQueryEditor.info,
NemoSearchBar.info {
	background-color: @theme_bg_color;
}

NemoSearchBar.info {
	border-radius: 0px;
}

NautilusWindow NautilusQueryEditor .toolbar,
NautilusWindow .notebook NautilusQueryEditor .toolbar,
NemoWindow NemoQueryEditor .toolbar,
NemoWindow .notebook NemoQueryEditor .toolbar {
	background-image: none;
	background-color: transparent;
	padding: 5px 7px;
}

.nautilus-canvas-item,
.nemo-canvas-item {
	border-radius: 5px;
}

.nautilus-desktop.nautilus-canvas-item,
.nemo-desktop.nemo-canvas-item {
	color: @theme_bg_color;
	text-shadow: 1px 1px black;
}

.nautilus-desktop.nautilus-canvas-item:active,
.nemo-desktop.nemo-canvas-item:active {
	color: @theme_text_color;
}

.nautilus-desktop.nautilus-canvas-item:selected,
.nemo-desktop.nemo-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,
.nemo-desktop.nemo-canvas-item:active,
.nemo-desktop.nemo-canvas-item:prelight,
.nemo-desktop.nemo-canvas-item:selected {
	text-shadow: none;
}

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

DConfKeyView.view {
    background-color: @theme_main_color;
}

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

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

/* gcalctool */
MathWindow {
	background-image: none;
	background-color: @theme_bg_color;

}

MathWindow .frame {
	border-color: @theme_main_color;
	padding: 0px;
}

MathWindow GtkScrolledWindow GtkViewport.frame {
	border-style: solid;
	border-width: 2px;
	border-radius: 3px;
	border-color: @theme_main_color;
}

/* gnome-contacts */
.contacts-main-view.view {
	background-color: @theme_bg_color;
	color: @theme_fg_color;
}

.contacts-left-toolbar.toolbar.menubar {
	border-width: 0 2px 0 0;
	border-style: solid;
	border-color: @theme_bg_color;
}

/* empathy and gnome-contacts */
EmpathyRosterView,
ContactsListPane.frame * {
	background-color: @theme_bg_color;
	color: @theme_text_color;
}

ContactsListPane.frame GtkLabel,
ContactsListPane.frame GtkImage,
/* gtk-3.12 */
ContactsListPane.frame GtkBox,
ContactsListPane.frame GtkGrid {
	background-color: transparent;
}

EmpathyRosterView:hover,
ContactsView:hover,
EmpathyRosterView GtkBin:hover,
ContactsView GtkBin:hover {
	background-color: alpha(shade(@theme_bg_color, 1.1), 0.4);
}

.contacts-suggestion {
	background-color: @theme_bg_color;
}

EmpathyRosterView:selected,
ContactsView:selected,
EmpathyRosterView GtkBin:selected,
ContactsView GtkBin:selected {
	background-image: linear-gradient(to bottom,
	                                  shade(@theme_bg_color, 0.8),
	                                  shade(@theme_bg_color, 1.2));
}

ContactsWindow .toolbar {
	background-image: none;
}

ContactsListPane.frame GtkToolbar,
ContactsListPane GtkScrolledWindow {
	border-radius: 0px;
}

ContactsListPane.frame GtkToolbar {
	padding: 4px 4px 10px 4px;
}

/* evolution */
GtkHTML,
EMailDisplay {
	background-color: @theme_main_color;
}

EShellWindow *:active {
	background-color: shade(@theme_selected_bg_color, 1.3);
	color: @theme_main_color;
}

EShellWindow .button *:active {
	background-color: transparent;
	color: @theme_fg_color;
}

EShellSidebar *.cell:insensitive { /* removes the "flash" when quitting */
	background-color: @theme_bg_color;
}

/* File Roller */
FrWindow GtkTreeView.view {
	background-color: @theme_bg_color;
}

/* gnome-documents and Totem's search */
.documents-entry-tag {
	background-color: transparent;
	border-radius: 3px;
	border-width: 0;
	margin: 2px;
	padding: 4px;

}

.documents-entry-tag:hover {
	background-color: shade(@theme_selected_bg_color, 1.23);
}

/* Rhythmbox */
RBSource .cell.image {
	color: black;
}
