/****************
 * Dconf-editor *
 ****************/

/* sidebar */
DConfWindow GtkTreeView.view {
    background-color: shade(@theme_bg_color, 1.03);
}

DConfWindow GtkTreeView.view row:selected,
DConfWindow GtkTreeView.view row:selected:focus {
    background-image:  linear-gradient(to bottom,
                                       shade(@theme_bg_color, 1.3),
                                       shade(@theme_bg_color, 0.73));
    color: @theme_fg_color;
}

DConfWindow DConfKeyView.view {
    background-color: shade(@base_color, 1.06)
}

DConfWindow DConfKeyView.view row:selected,
DConfWindow DConfKeyView.view row:selected:hover,
DConfWindow DConfKeyView.view row:selected:focus {
    background-image: linear-gradient(to bottom,
                                      shade(@theme_selected_bg_color, 1.45),
                                      shade(@theme_selected_bg_color, 0.95));
    color: @theme_selected_fg_color;
}

DConfWindow DConfKeyView.view row:hover {
    background-image:  linear-gradient(to bottom,
                                       @theme_bg_color,
                                       shade(@theme_bg_color, 0.80));
    color: shade (@theme_selected_bg_color, 0.35);
}

/* the small line between sidebar and view */
DConfWindow GtkPaned.horizontal {
    -GtkPaned-handle-size: 3px;
    border-color: transparent;
    background-color: @theme_bg_color;
}

DConfKeyView.view .spinbutton .button {
    border-image: none;
    border-style: solid;
    border-width:  1px;
    border-radius: 0px;
}

/********
 * Nemo *
 ********/

NemoView .view,
NemoView .view row {
	background-color: shade(@base_color, 1.04)
}

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

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

.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));
}

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

/* file renaming */
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;
}

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

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

/* the small line between sidebar and view */
NemoWindow GtkPaned.horizontal {
    -GtkPaned-handle-size: 3px;
    border-style: solid;
    border-width: 1px;
    border-color: shade(@toolbar_gradient_base, 0.98);
    background-color: @theme_bg_color;
}

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

NemoWindow NemoStatusBar.toolbar.horizontal {
    border-style: solid;
    border-width: 0 1px 0 0;
    border-color: shade(@toolbar_gradient_base, 0.98);
}

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

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

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

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

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

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

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

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

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;
}

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));
}

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

NemoWindow .question,
NemoWindow .info,
NemoTrashBar.info,
NemoXContentBar.info,
NemoQueryEditor.info,
NemoSearchBar.info {
	background-color: @theme_bg_color;
}

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

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

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

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

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

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

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

