/* Author: Gusak Leonid */
/* Created: 12.2012 */

/* background, font, border color...  */
QFrame{border:none;}
QWidget{background:black;color:#e9e6e9;show-decoration-selected:1;}
QAbstractScrollArea,QComboBox,QTabWidget::pane{border:1px solid #151715;border-radius:0.3em;}
QDialogButtonBox{dialogbuttonbox-buttons-have-icons:0;button-layout:3;}

/* input lines */
QLineEdit{padding:0.5ex;border-bottom:0.06em solid gray;border-bottom-right-radius:0.6em;border-bottom-left-radius:0.6em;}
QLineEdit:focus{border-bottom:0.12em solid #33b5e5;}

/* list items (list, menu, ...) */
QAbstractItemView{font:bold;selection-background-color:#2c94bb;}
QAbstractItemView::item{min-height:%1px;selection-color:#e9e6e9;}
QMenu{min-width:60ex;border:1px solid #151715;border-radius:0.3em;}
QMenu::item{border-bottom:1px solid #151715;}
QMenu::item:text{font:bold;padding:%4px;}
QMenu::item:image{padding-left:1.5em;}
QMenu::indicator:unchecked{border-image:url(img/checkbox_unchecked.png);width:1.5em;height:1.5em;}
QMenu::indicator:checked{border-image:url(img/checkbox_checked.png);width:1.5em;height:1.5em;}
QMenu::item:selected{background:#2c94bb;}
QComboBox{border-bottom:0.1em solid #818181;}
QComboBox QAbstractItemView{border:0.2em solid #818181;}
QComboBox::drop-down{background:transparent;}

/* group boxes */
QGroupBox{font:bold;border-top:2px solid #3d3d3d;border-bottom:2px solid #3d3d3d;color:#e9e6e9;margin-top:1.3em;}
QGroupBox::title{subcontrol-origin:margin;subcontrol-position:top center;margin-top:0.3em;}

/* tabs & group headers*/
QTabWidget{border:none}QTabWidget::tab-bar{alignment:center;}
*::tab{border-bottom:0.2em solid #33b5e5;font:bold;text-transform:uppercase;} 
QTabBar::tab{border-bottom:0.2em solid transparent;padding:0.5em;min-width:6em;border-right:1px solid #3d3d3d;}
QTabBar::tab:last{border-right:none;}
QTabBar::tear,QTabBar::scroller{width:0px;}
*::tab:hover{background:#1f6d89;border-bottom:0.2em solid #33b5e5;}
*::tab:selected{border-bottom:0.2em solid #33b5e5;}
 
/* scrolls */
QScrollBar:horizontal{background:white;height:2px;margin:0px 10px 0px 10px;}
QScrollBar:vertical{background:white;width:2px;margin:10px 0px 10px 0px;}
QScrollBar::handle{background:#2c9fc9;}

/* buttons */
QPushButton{text-align:center;font:bold;min-width:7em;min-height:2em;border-image:url(img/button.png);}
QPushButton::checked,QToolButton::checked{border-image:url(img/button_pressed.png);}
QPushButton::pressed,QToolButton::pressed{border-image:url(img/button_pressed.png);}
QToolButton{border-image:url(img/button.png);}

/* check boxes */
QCheckBox::indicator:unchecked{border-image:url(img/checkbox_unchecked.png);width:2.5em;height:2.5em;}
QCheckBox::indicator:checked{border-image:url(img/checkbox_checked.png);width:2.5em;height:2.5em;}
QCheckBox::indicator:pressed{border-image:url(img/checkbox_pressed.png);width:2.5em;height:2.5em;}

/* spin values */
QSpinBox{max-width:7.5em;min-height:2.5em;font:bold;selection-color:#e9e6e9;selection-background-color:black;border:1px solid #151715;border-radius:0.3em;}
QSpinBox::up-button{border-image:url(img/spinbox_up.png);subcontrol-origin:margin;subcontrol-position:right;width:2em;height:2em;margin:0.2em;}
QSpinBox::down-button{border-image:url(img/spinbox_down.png);subcontrol-origin:margin;subcontrol-position:left;width:2em;height:2em;margin:0.2em;}
QSpinBox::up-button:pressed{border-image:url(img/spinbox_up_pressed.png);width:2em;height:2em;margin:0.2em;}
QSpinBox::down-button:pressed{border-image:url(img/spinbox_down_pressed.png);width:2em;height:2em;margin:0.2em;}
