/* ~/.config/gtk-3.0/gtk.css */

@define-color bkgnd #d2d2d2; /* Default widget background */
@define-color fgrnd #000000; /* Default text color */
@define-color tshdw #fafafa; /* Top shadow */
@define-color bshdw #828282; /* Bottom shadow */
@define-color selbg #7f94c9; /* Selection background */
@define-color selfg #ffffff; /* Selection text */
@define-color inpbg #d2d2c4; /* Input (Text, List etc.) Background */
@define-color shdbg #a2a2a2; /* Shaded (Pressed in Button/Menu) */
@define-color frmbr #828282; /* Frame border */
@define-color ttpbg #ebebd4; /* Tooltip background */

* {
	border-radius: 0;
	box-shadow: none;
	animation-duration: 0s;
	transition-duration: 0s;
}

dialog, frame, window, headerbar, placessidebar {
	color: @fgrnd;
	background: none;
	background-color: @bkgnd;
}

decoration {
	background-color: @selbg;
	border-top: @tshdw 1px solid;
	border-left: @tshdw 1px solid;
	border-bottom: @bshdw 1px solid;
	border-right: @bshdw 1px solid;
}

frame border {
	border: @frmbr 1px solid;
}

notebook header, notebook stack{
	background-color: @bkgnd;
}

tab {
	color: @fgrnd;
	background-color: @bkgnd;
	border-top: @tshdw 1px solid;
	border-left: @tshdw 1px solid;
	border-right: @bshdw 1px solid;
	min-height: 1em;
}

tab label {
	color: @fgrnd;
	background-color: @bkgnd;
	min-height: 1em;
	text-shadow: none;
}

tab:checked, tab:checked label {
	color: @selfg;
	background-color: @selbg;
	text-shadow: none;
}

button, button:hover {
	color: @fgrnd;
	background: none;
	background-color: @bkgnd;
	border-top: @tshdw 1px solid;
	border-left: @tshdw 1px solid;
	border-bottom: @bshdw 1px solid;
	border-right: @bshdw 1px solid;
	min-height: 1em;
	min-width: 1em;
}

button:active {
	color: @fgrnd;
	background-color: @shdbg;
	border-top: @bshdw 1px solid;
	border-left: @bshdw 1px solid;
	border-bottom: @tshdw 1px solid;
	border-right: @tshdw 1px solid;
}

button:active * {
	color: @fgrnd;
	background-color: @shdbg;
}

button:disabled {
	color: @bshdw;
	border-top: @tshdw 1px solid;
	border-left: @tshdw 1px solid;
	border-bottom: @bshdw 1px solid;
	border-right: @bshdw 1px solid;
}

button:disabled label {
	color: @bshdw;
	text-shadow: none;
}

checkbutton check,
radiobutton radio,
menuitem radio,
popover radio,
popover check {
	background: none;
	background-color: @inpbg;
	color: @fgrnd;
	border-top: @bshdw 1px solid;
	border-left: @bshdw 1px solid;
	border-bottom: @tshdw 1px solid;
	border-right: @tshdw 1px solid;
}

radiobutton radio {
	border-radius: 50%;
}

label {
	padding: .2em;
	text-shadow: none;
}

combobox * {
	text-shadow: none;
}

scale slider {
	background: none;
	background-color: @bkgnd;
	border-top: @tshdw 1px solid;
	border-left: @tshdw 1px solid;
	border-bottom: @bshdw 1px solid;
	border-right: @bshdw 1px solid;
	border-radius: 50%;
}

scale trough {
	background: none;
	background-color: @bkgnd;
	border-top: @bshdw 1px solid;
	border-left: @bshdw 1px solid;
	border-bottom: @tshdw 1px solid;
	border-right: @tshdw 1px solid;
}

scale trough:disabled {
	background: none;
	background-color: @bkgnd;
	border-top: @bshdw 1px solid;
	border-left: @bshdw 1px solid;
	border-bottom: @tshdw 1px solid;
	border-right: @tshdw 1px solid;
}

entry, textview, text {
	background-color: @inpbg;
	color: @fgrnd;
	border-top: @bshdw 1px solid;
	border-left: @bshdw 1px solid;
	border-bottom: @tshdw 1px solid;
	border-right: @tshdw 1px solid;
	padding: .3em;
	min-height: 1em;
}

list row, treeview, iconview {
	background-color: @inpbg;
	color: @fgrnd;
}

list row:selected {
	background-color: @selbg;
	color: @selfg;
}

treeview:selected, iconview:selected {
	background-color: @selbg;
	color: @selfg;
}

selection {
	background-color: @selbg;
	color: @selfg;
}

scrolledwindow text, treeview, iconview, textview, listbox {
	border: none;
}

menu {
	padding: 1px;
	background-color: @bkgnd;
	border-top: @tshdw 1px solid;
	border-left: @tshdw 1px solid;
	border-bottom: @bshdw 1px solid;
	border-right: @bshdw 1px solid;
}

toolbar, box {
	color: @fgrnd;
	background-color: @bkgnd;
}

menuitem {
	color: @fgrnd;
	background-color: @bkgnd;
	border: @bkgnd 1px solid;
	min-height: 1em;
	padding: .3em;
}

menuitem:hover {
	background-color: @shdbg;
	color: @fgrnd;
	border-top: @bshdw 1px solid;
	border-left: @bshdw 1px solid;
	border-bottom: @tshdw 1px solid;
	border-right: @tshdw 1px solid;
}

menuitem > * {
	padding: 0px;
	min-height: 1em;
	min-width: 1em;
}

menuitem:hover > * {
	background-color: @shdbg;
	color: @fgrnd;
}

scrollbar {
	background-color: @bkgnd;
	border-top: @bshdw 1px solid;
	border-left: @bshdw 1px solid;
	border-bottom: @tshdw 1px solid;
	border-right: @tshdw 1px solid;
	-GtkScrollbar-has-backward-stepper: true;
	-GtkScrollbar-has-forward-stepper: true;
}

scrollbar.vertical {
	margin-left: 1px;
}

scrollbar.horizontal {
	margin-top: 1px;
}

scrollbar.vertical slider
{
	min-width: 1em;
	background-color: @bkgnd;
	border-top: @tshdw 1px solid;
	border-left: @tshdw 1px solid;
	border-bottom: @bshdw 1px solid;
	border-right: @bshdw 1px solid;
}

scrollbar.horizontal slider
{
	min-height: 1em;
	background-color: @bkgnd;
	border-top: @tshdw 1px solid;
	border-left: @tshdw 1px solid;
	border-bottom: @bshdw 1px solid;
	border-right: @bshdw 1px solid;
}

scrollbar button {
	background-color: @bkgnd;
    min-width: 1em;
    min-height: 1em;
	border-top: @tshdw 1px solid;
	border-left: @tshdw 1px solid;
	border-bottom: @bshdw 1px solid;
	border-right: @bshdw 1px solid;
}

scrollbar.vertical button {
	background-color: @bkgnd;
	margin-top: 1px;
	margin-bottom: 1px;
}

scrollbar.horizontal button {
	background-color: @bkgnd;
	margin-left: 1px;
	margin-right: 1px;
}

scrolledwindow {
	padding: 1px;
	border-top: @bshdw 1px solid;
	border-left: @bshdw 1px solid;
	border-bottom: @tshdw 1px solid;
	border-right: @tshdw 1px solid;
}

overshoot, undershoot {
	background: none;
	border: none;
}

popover {
	background-color: @bkgnd;
	border: @bshdw 1px solid;
}

popover * {
	background-color: @bkgnd;
}

tooltip {
	background-color: @ttpbg;
	border: @shdbg 1px solid;
}

tooltip * {
	color: @fgrnd;
	background-color: @ttpbg;
	padding: 0px;
}
