/* PSS程序全局字体设置 */
QWidget {
	font-size: 13px;
	font-family: "Calibri";
}

/* ======界面特殊字体设置====== Start */
/* 主页登录时间 */
QLabel#HomeLoginTime {
	font-family: "Arial";
	font-size: 33px;
	font:bold;
}
QLabel#HomeLoginTimeShort {
	font-family: "Arial";
	font-size: 20px;
	font:bold;
}


/* 主页登录日期 */
QLabel#HomeLoginDate {
	font-size: 19px;
	font:bold;
}
/* 主页各模块标题字号 */
QLabel#HomeMouduleTitle {
	font-size: 15px;
}
/* 报警浮动框报警数目 */
QLabel#AlarmNotifyCount {
	font-size: 11px;
}

/*版本信息*/
QLabel#VersionInfo {
	font-family: "Arial";
	font-size: 20px;
	font:bold;
}

/* ======界面特殊字体设置====== End */

/* 回放进度控制条表格样式*/
QTableView#PlaybackCtrlTable {
	border: 1px rgb(136,136,136);
	border-style:solid solid none none;
	color: white;
	background-color: rgb(57,67,82);
	gridline-color: rgb(136,136,136);
}
QTableView#PlaybackCtrlTable::item:selected {
	color: white;
	background:qlineargradient(spread:pad, x1:0.983, y1:1, x2:1,y2:0.00568182, stop:0.338983 rgba(9, 112, 233, 255), stop:1 rgba(255, 255, 255, 255));
}
		
/* 日历样式 */
QTableView#CalendarView {
    font-size: 10px;
    color: black;
    background-color: rgb(197,202,211);
    gridline-color: rgb(134, 143, 159);
}
QTableView#CalendarView::item:selected {
    background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #6ea1f1, stop: 1 #567dbc) 
}
 
/*QGroupBox START*/
QGroupBox {
	border: 1px solid gray;
	border-radius: 5px;
	margin-top: 1ex; 
	font:bold;
}
QGroupBox::title {
	subcontrol-origin: margin;
	left: 12px;
	padding: 0 3px;
	color:black;
}
/*QGroupBox END*/

/*QTreeView START*/
QTreeView::branch:has-children:!has-siblings:closed,
QTreeView::branch:closed:has-children:has-siblings {
border-image: none;
	image: url(./Skin/theme1/devmanage/branch-closed.jpg);
}
QTreeView::branch:open:has-children:!has-siblings,
QTreeView::branch:open:has-children:has-siblings  {
border-image: none;
	image: url(./Skin/theme1/devmanage/branch-open.jpg);
}
/*QTreeView END*/

 /*QScrollBar Start*/
QScrollBar:horizontal {
	background: rgb(136, 148, 172);
	margin: 0px 0px 0px 0px;
	height: 8px;
	border-radius:4px 
}
QScrollBar:vertical {
	background: rgb(136, 148, 172);
	margin: 0px 0px 0px 0px;
	width: 8px;
	border-radius:4px 
}
QScrollBar::handle {background-color:rgb(92, 101, 118); border-radius:4px }
QScrollBar::add-line:horizontal {width: 0px}
QScrollBar::sub-line:horizontal {width: 0px}
QScrollBar::sub-line:vertical {height:0px}
QScrollBar::add-line:vertical {height:0px}
QScrollBar::add-page {background-color: none; }
QScrollBar::sub-page {background-color: none; }
 /*QScrollBar END*/
 
QMenu {
	font-size: 12px;
	background-image:url(./Skin/theme1/menu/menu-background.png);
	border: 1px solid #5c6576;
}
QMenu::item:enabled{
	padding: 2px 30px 2px 40px;
	color: #353b48;
}
QMenu::item:disabled{
	padding: 2px 30px 2px 40px;
	color: rgb(172,184,201);
}
QMenu::item:enabled:selected {
	background-color: rgb(92, 101, 118); 
	color:rgb(219, 221, 225)
}
QMenu::separator {
    height: 1px;
    background-color: #aeb6c5;
	margin-left: 38px;
    margin-top: 5px;
	margin-right: 30px;
    margin-bottom: 5px;
}
QMenu{menu-scrollable:1;}

/*输入框 START*/
QLineEdit,QTextEdit { 
	color: white;
	background-color: rgb(92,101,118);
	border: 1px solid gray;
}
QLineEdit:focus{
	background-color:rgb(172,183,199);
	color:black;
}
QLineEdit:!enabled,QTextEdit:!enabled { 
	color: #6b6b6b;
	background-color: rgb(189,189,189);
}
/*输入框 END*/

/*设备树输入框 START*/
QLineEdit#DevSearchInput { 
	color:rgb(154,155,156);
	background-color: rgb(92,101,118);
	border: none;
}
QLineEdit#DevSearchInput:focus{
	color: white;
}
/*设备树输入框 END*/

QDateTimeEdit { color: white; background-color: rgb(92,101,118); }

 /*PlaybackControl QScrollBar Start*/
QScrollBar#PlaybackCtrlScr:horizontal {
     border: 1px rgb(114,114,114);
	 border-style:solid none  solid none;
     height: 15px;
     margin: 0px 14px 0 14px;
	 border-radius:0px 
 }
QScrollBar#PlaybackCtrlScr::add-page:horizontal, QScrollBar#PlaybackCtrlScr::sub-page:horizontal {
	background: rgb(137,137,137);
}
QScrollBar#PlaybackCtrlScr::handle:horizontal {
	background:url("./Skin/theme1/playback/handle.png");
	border-radius:0px
}
QScrollBar#PlaybackCtrlScr::add-line:horizontal {
	background:url("./Skin/theme1/playback/scrollRight.png");
	width: 14px;
	subcontrol-position: right;
	subcontrol-origin: margin;
}
QScrollBar#PlaybackCtrlScr::sub-line:horizontal {
	background:url("./Skin/theme1/playback/scrollLeft.png");
	width: 14px;
	subcontrol-position: left;
	subcontrol-origin: margin;
}
 /*PlaybackControl QScrollBar Start*/

QHeaderView::section {
	background-color: rgb(174,182,197);
	color: black;
	border: 1px gray;
	padding: 5px 5px 5px 5px;
	border-style:none  solid solid none;
}
QHeaderView::section:checked
{
	background-color: rgb(174,182,197);
}

/*QTableView { background-color : rgb(174,182,197); }*/
QTableView::item:selected {
	color:white;
	background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #6ea1f1, stop: 1 #567dbc);
}
QProgressBar::chunk{background-color: #05B8CC;}
QProgressBar{border: 2px solid grey;border-radius: 5px;text-align: center;}
QLabel::disabled{color:rgb(0xe4,0xea,0xf4);}

QTimeEdit { background-color : rgb(92,101,118); color:white;}

QSpinBox { background-color : rgb(92,101,118); color:white;}
