/*
 * Copyright (c) 2012 Josh Rickmar <jrick@devio.us>
 *
 * Permission to use, copy, modify, and distribute this software for any
 * purpose with or without fee is hereby granted, provided that the above
 * copyright notice and this permission notice appear in all copies.
 *
 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 */

@define-color red #cc0000;
@define-color yellow #ffff66;
@define-color green #99ff66;
@define-color blue lightblue;
@define-color ct_bg #000000;
@define-color ct_inactive #dddddd;
@define-color ct_active #bbbb00;
@define-color ct_separator #555555;

* {
	border-width: 1px;
	padding: 1;
	margin: 1;
	-GtkScrolledWindow-scrollbar-spacing: 1;
	-GtkWidget-line-width: 1;
}

.button,
GtkSpinner {
	-GtkWidget-focus-padding: 0;
	-GtkWidget-line-width: 0;
}

#statusbar > GtkEventBox {
	background-image: none;
	background-color: white;
}

#statusbar > GtkEventBox .entry {
	background-image: none;
	background-color: rgba(0, 0, 0, 0);
}

GtkEventBox#red,
.entry#red {
	background-image: none;
	background-color: @red;
}

GtkEventBox#yellow,
.entry#yellow {
	background-image: none;
	background-color: @yellow;
}

GtkEventBox#green,
.entry#green {
	background-image: none;
	background-color: @green;
}

GtkEventBox#blue,
.entry#blue {
	background-image: none;
	background-color: @blue;
}

.entry:selected,
.entry:selected#red,
.entry:selected#yellow,
.entry:selected#green,
.entry:selected#blue,
.entry.progressbar,
.entry.progressbar#red,
.entry.progressbar#yellow,
.entry.progressbar#green,
.entry.progressbar#blue,
#statusbar .entry:selected,
#statusbar .entry:selected#red,
#statusbar .entry:selected#yellow,
#statusbar .entry:selected#green,
#statusbar .entry:selected#blue,
#statusbar .entry.progressbar,
#statusbar .entry.progressbar#red,
#statusbar .entry.progressbar#yellow,
#statusbar .entry.progressbar#green,
#statusbar .entry.progressbar#blue {
	background-color: shade (@blue, 0.70);
}

/* compact tabs */

#tab_bar {
	background-color: @ct_separator;
}

#compact_tab {
	background-color: @ct_bg;
}

#compact_tab GtkLabel {
	-GtkLabel-width-chars: 1;
	color: @ct_inactive;
	padding: 4px;
}

#compact_tab GtkLabel#active {
	color: @ct_active;
}
