/* 菜单栏和工具栏背景颜色设置*/
QToolBar, QToolBar QToolButton, QStatusBar{
	background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,
			stop:0 rgb(239, 239, 236),
			stop:1 rgb(235, 229, 225));
}

/* R4工具栏前景颜色设置 */
QToolBar QToolButton:hover, QToolBar QToolButton:checked{
    background-color: rgb(237, 243, 253);
    border:1px solid rgb(124, 164, 249);
    border-radius: 4px;
    padding:2px 2px;
}

QToolBar QToolButton:pressed{
    border:1px solid rgb(124, 164, 249);
    border-radius: 4px;
    padding:4px 4px;
}

/*工具栏按钮边界间距设置*/
QToolBar QToolButton
{
    padding:2px 2px;
}

.QTabBar::tab:hover
{
    border:1px solid rgb(125, 164, 249);
    background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,
			stop:0 rgb(242, 246, 254),
                        stop:0.5 rgb(209, 223, 252),
			stop:1 rgb(240, 245, 254));
}

QTabWidget::tab-bar {
    left: 2px; 
}

.QTabBar::tab
{
    width:150px;
    padding:3px 3px;
}

.QTabBar::tab:!selected {
     margin-top: 2px;   /* make non-selected tabs look smaller */
     border:1px solid gray
 }

.QTabBar::tab:selected
{
    font-weight: bold;
    border:1px solid rgb(97, 139, 191);
    background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,
			stop:0 rgb(238, 242, 248),
                        stop:0.5 rgb(186, 205, 228),
			stop:1 rgb(220, 231, 241));
}
GUpdateDialog QPushButton[objectName=OpBtn]
{
	 background-color: #fe9761;
     font: bold 20px;
	 color: white;
	  border-radius: 5px;
     padding: 6px;
 }
 GUpdateDialog QPushButton[objectName=OpBtn]:hover
{
	 background-color: #b45d00;
     border-radius: 5px;
  
     font: bold 20px;
	 color: white;
     padding: 6px;
 }

GUpdateDialog QLabel[objectName=baiduyun]:hover:pressed
{
	border:0;
}
GUpdateDialog QLabel[objectName=baiduyun]:hover:!pressed
{
	border:1px solid grey;
}
/*GLoginView*/
GLoginView QPushButton[objectName=btnClose]
{
	border-image:url(:GMainWindow/Images/loginClosehover.png);
}
GLoginView QPushButton[objectName=btnClose]:hover:pressed
{
	border-image:url(:GMainWindow/Images/loginClosehover.png);
}
GLoginView QPushButton[objectName=btnClose]:hover:!pressed
{
	border-image:url(:GMainWindow/Images/loginClose.png);
}

GLoginView QWidget[objectName=footWidget]
{
	background-color: rgb(233, 233, 233);
	margin-left: 10px;
	margin-right: 10px;
	margin-bottom: 10px;
	border-top: 2px solid rgb(215,215,215);
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
}
GLoginView QLabel[objectName=LblLeft],[objectName=LblRight]
{
	color: rgb(9,164,221);
	font-family: "microsoft yahei";
	font: 12pt;
}
 
/*Login UI*/
GLoginWidget
{
	background-color: rgb(230, 230, 230);
}
GLoginWidget QLabel[objectName=LblReg],[objectName=LblReset]
{
	font-family: "microsoft yahei";
	font: 12pt;
}
GLoginWidget QLabel[objectName=LblTitle]
{
	font-family: "microsoft yahei";
	font: 16pt;
}
GLoginWidget QLabel[objectName=LblErrMsg]
{
	color: rgb(222, 112, 94);
	font-family: "microsoft yahei";
	font: 9.5pt;
}
GLoginWidget QLabel[objectName=userPic],[objectName=pwdPic]
{
	border-left: 1px solid rgb(200, 200, 200);
	border-top: 1px solid rgb(200, 200, 200);
	border-bottom: 1px solid rgb(200, 200, 200);
}
GLoginWidget QLineEdit
{
	font-family: "microsoft yahei";
	font-size: 11pt;
	/*border-radius: 1px;*/
	border-top-right-radius: 3px;
	border-bottom-right-radius: 3px;
	border: 1px solid rgb(200, 200, 200);
}
GLoginWidget QLineEdit:hover, QLineEdit:focus
{
	border: 1px solid rgb(9,164,221);
}

GLoginWidget QPushButton
{
	color: white;
	font-family: "microsoft yahei";
	font-size: 12pt;
	background-color: rgb(9,164,221);
	border: none;
	border-radius: 2px;
}

GLoginWidget QWidget[objectName=footWidget]
{
	background-color: rgb(220, 220, 220);
}

 
 /*Register & Reset UI*/
GRegisterWidget
{
	background-color: rgb(230, 230, 230);
}
GRegisterWidget [objectName=LblSms]
{
	color: rgb(9,164,221);
	font-family: "microsoft yahei";
	font: 10pt;
}
GRegisterWidget QLabel[objectName=LblTitle]
{
	font-family: "microsoft yahei";
	font: 16pt;
}
GRegisterWidget QLabel[objectName=LblErrMsg]
{
	color: rgb(222, 112, 94);
	font-family: "microsoft yahei";
	font: 9.5pt;
}
GRegisterWidget QLineEdit
{
	font-family: "microsoft yahei";
	font-size: 11pt;
	border-radius: 3px;
	border: 1px solid rgb(200, 200, 200);
}
GRegisterWidget QPushButton
{
	color: white;
	font-family: "microsoft yahei";
	font-size: 12pt;
	background-color: rgb(9,164,221);
	border: none;
	border-radius: 2px;
}

 /*Complete UI*/
GCompleteWidget
{
	background-color: rgb(230, 230, 230);
}
GCompleteWidget QLabel[objectName=LblInfo1],[objectName=LblInfo2],[objectName=LblCount]
{
	color: rgb(9,164,221);
	font-family: "microsoft yahei";
	font: 12pt;
}
GCompleteWidget QLabel[objectName=LblTitle]
{
	font-family: "microsoft yahei";
	font: 16pt;
}
GCompleteWidget QLabel[objectName=LblAccount]
{
	font-family: "microsoft yahei";
	font: 13pt;
}
GCompleteWidget QPushButton
{
	color: white;
	font-family: "microsoft yahei";
	font-size: 12pt;
	background-color: rgb(9,164,221);
	border: none;
	border-radius: 2px;
}
/*GAboutUsDialog*/
GAboutUsDialog  QPushButton[objectName=btnClose]
{
	border-image:url(:GMainWindow/Images/loginClosehover.png);
}
GAboutUsDialog  QPushButton[objectName=btnClose]:hover:pressed
{
	border-image:url(:GMainWindow/Images/loginClosehover.png);
}
GAboutUsDialog  QPushButton[objectName=btnClose]:hover:!pressed
{
	border-image:url(:GMainWindow/Images/loginClose.png);
}

QMainWindow::separator {
    background: rgb(249, 249, 249);
    width: 5px; /* when vertical */
    height: 5px; /* when horizontal */
}

QMainWindow::separator:hover {
    background: lightgray;
}

/*KKCloudPanel*/
QDockWidget#KKCloudPanel::title
{
	background: rgb(23,137,219);
	padding-left: 5px;
}
QDockWidget#KKCloudPanel
{
	font: 12pt;
	color:white;
	font-family:"microsoft yahei";
	background-color: rgb(249, 249, 249);
}

QDockWidget#KKCloudPanel QToolBar
{
	background-color: rgb(249, 249, 249);
	border:0px;
	padding: 0px;
}
QDockWidget#KKCloudPanel QToolBar QToolButton
{
	background-color: rgb(249, 249, 249);
	font-family:"microsoft yahei";
	font: 14px;
}
QDockWidget#KKCloudPanel QToolBar QToolButton:hover
{
	padding:0px 0px;
}
QDockWidget#KKCloudPanel QToolBar QToolButton:pressed
{
	padding:2px 2px;
}
QDockWidget#KKCloudPanel QLabel#currentTitle
{
	background-color: rgb(240, 240, 240);
	font-family: "microsoft yahei";
	font: 12pt;
}

QPushButton#OpBtn
{
	font-family: microsoft yahei;
	font: 10pt;
	color: white;
	background-color: rgb(0,133,245);
	border-radius: 4px;
}
QPushButton#OpBtn:disabled
{
	font-family: microsoft yahei;
	font: 10pt;
	color: white;
	background-color: lightgray;
	border-radius: 4px;
}
QPushButton#OpBtn:hover
{
/*	background-color:qlineargradient(x1:0, y1:0, x2:0, y2:1,
						stop:0 rgb(80, 141, 204),
						stop:1 rgb(43, 69, 103));*/
	background-color: rgb(15,146,255);
}
QPushButton#OpBtn:pressed
{
	background-color: rgb(0,133,245);
}

/*OpBtn_Super*/
QPushButton#OpBtn_Super
{
	font-family: microsoft yahei;
	font: 10pt;
	color: white;
	background-color: rgb(235, 97, 0);
	border-radius: 4px;
}
QPushButton#OpBtn_Super:disabled
{
	font-family: microsoft yahei;
	font: 10pt;
	color: white;
	background-color: lightgray;
	border-radius: 4px;
}
QPushButton#OpBtn_Super:hover
{
	background-color: rgb(225, 85, 0);
}
QPushButton#OpBtn_Super:pressed
{
	background-color: rgb(235, 97, 0);
}

/*OpBtn_Super_Cancel*/
QPushButton#OpBtn_Super_Cancel
{
	font-family: microsoft yahei;
	font: 10pt;
	color: white;
	background-color: rgb(175, 175, 175);
	border-radius: 4px;
}
QPushButton#OpBtn_Super_Cancel:hover
{
	background-color: darkgray;
}
QPushButton#OpBtn_Super_Cancel:pressed
{
	background-color: rgb(175, 175, 175);
}

QPushButton#FlatBtn
{
	font-family: microsoft yahei;
	font: 10pt;
	border-style: hidden;
	border-radius: 4px;
	border:1px solid rgb(124, 164, 249);
}
QPushButton#FlatBtn:hover
{
	padding: 1px -1px -1px 1px;
	background-color: rgb(239, 239, 239);
}
QPushButton#FlatBtn:pressed
{
	padding: 2px -2px -2px 2px;
}
QLabel#NodataMsg
{
	color: gray;
	border: 1px solid darkgray;
	font-family: microsoft yahei;
	font-size: 10pt;
	padding: 10px;
}
QLabel#OpHint
{
	font-family: microsoft yahei;
	font-size: 9pt;
	color: gray;
}

/*KKCloudProjectsView*/
KKCloudProjectItemWidget QLabel#text
{
	font-family:"microsoft yahei";
	font: 12pt;
}
KKCloudProjectItemWidget QLabel#date
{
	color:gray;
	font-family:"microsoft yahei";
}
KKCloudProjectItemWidget QLabel#memNum, QLabel#fileNum
{
	font-family:"microsoft yahei";
}
KKCloudProjectItemWidget QLabel#superLabel
{
	font-family:"microsoft yahei";
	font-size: 8pt;
	color: rgb(164,139,62);
	border-radius: 5px;
	border: 1px solid rgb(164,139,62);
}
KKCloudProjectList,
KKCloudSelectFolderDialog
{
	background-color: rgb(249,249,249);
}
KKCloudProjectList QScrollBar,
KKCloudSelectFolderDialog QScrollBar
{
	width: 10px;
	background: lightgray;
}
KKCloudProjectList QScrollBar::handle:vertical,
KKCloudSelectFolderDialog QScrollBar::handle:vertical
{
	background: darkgray;
	min-height: 20px;
}

/*KKCloudFilesView*/
KKCloudFilesView QMenu#pathMenu::item,
KKCloudSelectFolderDialog QMenu#pathMenu::item
{
	padding: 2px 25px 2px 20px;						
}
KKCloudFilesView QMenu#pathMenu::item:selected,
KKCloudSelectFolderDialog QMenu#pathMenu::item:selected
{
	padding: 2px 25px 2px 20px;
	background: lightblue;
}
KKCloudFilesView QLineEdit#labelPath,
KKCloudSelectFolderDialog QLineEdit#labelPath
{
	font-family: microsoft yahei;
	background-color: rgb(249,249,249);
	border: 1px solid rgb(0, 147, 211);
	font-size: 10.5pt;
}

KKCloudFilesView QToolButton
{
	padding: 0;
}

KKCloudFileItemWidget
{
/*	border-top: 0px;
	border-bottom: 1px solid gray;
	border-left: 0px;
	border-right: 0px;
	border: 1px solid gray;*/
}

KKCloudFileItemWidget QLabel#text
{
	font-family: microsoft yahei;
	font: 10pt;
}
KKCloudFileItemWidget QLabel#date
{
	font-family: microsoft yahei;
	color:gray;
}
KKCloudFileItemWidget QLabel#fileSize
{
	font-family: microsoft yahei;
	color:gray;
}

KKCloudFileList
{
	background-color: rgb(249,249,249);
}
KKCloudFileList QScrollBar
{
	width: 10px;
	background: lightgray;
}
KKCloudFileList QScrollBar::handle:vertical
{
	background: darkgray;
	min-height: 20px;
}

KKCloudIntroWidget QScrollBar
{
	width: 10px;
	background: lightgray;
}
KKCloudIntroWidget QScrollBar::handle:vertical
{
	background: darkgray;
	min-height: 20px;
}

/*KKCloudMembersView*/
KKCloudMemberItemWidget QLabel#text
{
	font-family:"microsoft yahei";
	font: 11pt;
}
KKCloudMemberItemWidget QLabel#date
{
	color:gray;
	font-family:"microsoft yahei";
}
KKCloudMemberList
{
	background-color: rgb(249,249,249);
}
KKCloudMemberList QScrollBar
{
	width: 10px;
	background: lightgray;
}
KKCloudMemberList QScrollBar::handle:vertical
{
	background: darkgray;
	min-height: 20px;
}

GBottomTabBar
{
	font-family: "microsoft yahei";
	font: 9pt;
}

GBottomTabBar::tab
{
	min-height: 20px;
	margin-left: -3px;
	margin-right: -3px;
	padding-left: 5px;
}

GBottomTabBar::tab:first
{
	margin-left: 0;
	padding-left: 0;
}
GBottomTabBar::tab:last
{
	margin-right: 0;
}
GBottomTabBar::tab:only-one
{
    margin: 0;
}
GBottomTabBar::tab:!selected
{
	margin-top: 0px;
}

GBottomTabBar QToolButton
{ /* the scroll buttons are tool buttons */
    background: lightgrey;
}

CommentPromptView QPushButton[objectName=btnClose]
{
	border-image:url(:GMainWindow/Images/loginClosehover.png);
}
CommentPromptView QPushButton[objectName=btnClose]:hover:pressed
{
	border-image:url(:GMainWindow/Images/loginClosehover.png);
}
CommentPromptView QPushButton[objectName=btnClose]:hover:!pressed
{
	border-image:url(:GMainWindow/Images/loginClose.png);
}

VIPPurchasePromptView QPushButton[objectName=btnClose]
{
	border-image:url(:GMainWindow/Images/loginClosehover.png);
}
VIPPurchasePromptView QPushButton[objectName=btnClose]:hover:pressed
{
	border-image:url(:GMainWindow/Images/loginClosehover.png);
}
VIPPurchasePromptView QPushButton[objectName=btnClose]:hover:!pressed
{
	border-image:url(:GMainWindow/Images/loginClose.png);
}

/*云盘工具栏*/
QPushButton#cloudToolBarSideButton
{
	background-color: rgb(218, 218, 218);
	border: 0px;
}

QPushButton#cloudToolBarSideButton::hover,
QPushButton#cloudToolBarSideButton::pressed
{
	/*border: 1px solid rgb(124, 164, 249);*/
	background-color: rgb(200, 200, 200);
}

QToolBar#cloudTbComment
{
	background-color: rgb(238, 238, 238);
}

QToolBar#cloudTbComment QToolButton
{
	border: none;
	border-radius: 0px;
}

QToolBar#cloudTbComment QToolButton:hover
{
	background-color: rgb(210, 210, 210);
}

QToolBar#cloudTbComment QToolButton:pressed
{
	padding-left: 6px;
	padding-top: 6px;
}


/*客服提示*/
GHelpPromptDialog
{
	background-color: white;
}

GHelpPromptDialog QPushButton#btnHelp,
GHelpPromptDialog QPushButton#btnVIP
{
	background-color: transparent;
	border: 1px solid rgb(1, 175, 255);
	border-radius: 4px;
	color: rgb(1, 175, 255);
	font-family: "microsoft yahei";
	font-size: 10pt;
}

GHelpPromptDialog QPushButton#btnHelp:hover,
GHelpPromptDialog QPushButton#btnVIP:hover
{
	color: #0185bf;
	border: 1px solid #0185bf;
}

GHelpPromptDialog QPushButton#btnClose
{
	border-image:url(:GMainWindow/Images/close.png);
}

GHelpPromptDialog QPushButton#btnClose:hover:pressed
{
	border-image:url(:GMainWindow/Images/close.png);
}

GHelpPromptDialog QPushButton#btnClose:hover:!pressed
{
	border-image:url(:GMainWindow/Images/loginClose.png);
}