mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-27 19:45:43 +03:00
331 lines
7.1 KiB
CSS
331 lines
7.1 KiB
CSS
/*Обязательные поля*/
|
|
*[mandatoryField="true"] {
|
|
background-color: #fffdfd
|
|
}
|
|
|
|
|
|
/*Общие настройки виджетов*/
|
|
QWidget {
|
|
font-family: Tahoma;
|
|
font-size: 12pt;
|
|
icon-size: 24px;
|
|
/*background-color: green;*/
|
|
}
|
|
|
|
QWidget#widgetControl {
|
|
/*border: 1px solid gray;*/
|
|
background: #E0E0E0;
|
|
}
|
|
|
|
QWidget#viewerTrainees
|
|
{
|
|
padding-left: 20px;
|
|
}
|
|
|
|
|
|
QLineEdit, QTextEdit, QComboBox {
|
|
border: 1px solid gray;
|
|
border-radius: 2px;
|
|
padding: 0px 8px;
|
|
background: #fafafafa;
|
|
selection-background-color: darkgray;
|
|
}
|
|
QLineEdit[echoMode="2"] {
|
|
lineedit-password-character: 9679; /*Сокрытие пароля*/
|
|
}
|
|
QLineEdit:read-only {
|
|
background: lightblue;
|
|
}
|
|
|
|
|
|
QGroupBox {
|
|
background: #E0E0E0;
|
|
border: 1px solid gray;
|
|
border-radius: 3px;
|
|
margin-top: 5ex; /* leave space at the top for the title */
|
|
|
|
|
|
}
|
|
QGroupBox::title {
|
|
border: 1px solid gray;
|
|
border-bottom: none;
|
|
border-radius: 4px;
|
|
subcontrol-origin: margin;
|
|
subcontrol-position: top left;
|
|
padding-left: 10px;
|
|
padding-right: 10px;
|
|
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
|
|
stop: 0 #A0CECE, stop: 1 #FFFFFF);
|
|
|
|
}
|
|
|
|
QPushButton, QToolButton {
|
|
border: 2px solid #8f8f91;
|
|
border-style: outset;
|
|
border-radius: 5px;
|
|
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
|
|
stop: 0 #f6f7fa, stop: 1 #dadbde);
|
|
min-width: 75px;
|
|
height: 50px;
|
|
padding: 1px;
|
|
|
|
qproperty-iconSize: 32px;
|
|
}
|
|
QPushButton {
|
|
height: 25px;
|
|
}
|
|
QToolButton {
|
|
width: 180px;
|
|
height: 55px;
|
|
}
|
|
|
|
QToolButton#btnSend, QToolButton#btnDelete, QToolButton#btnCheck, QToolButton#btnOnlyActive,
|
|
QToolButton#btnSave, QToolButton#btnUpdateStyle, QToolButton#btnSetVersion,
|
|
QToolButton#btnAssignTask {
|
|
width: 80px;
|
|
height: 55px;
|
|
}
|
|
QPushButton:flat, QToolButton:flat {
|
|
border: none; /* no border for a flat push button */
|
|
}
|
|
QPushButton:default, QToolButton:default {
|
|
border-color: navy; /* make the default button prominent */
|
|
}
|
|
QPushButton:hover , QToolButton:hover {
|
|
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
|
|
stop: 0 #fafafa, stop: 0.4 #f4f4f4,
|
|
stop: 0.5 #e7e7e7, stop: 1.0 #fafafa);
|
|
}
|
|
QPushButton:pressed, QToolButton:pressed {
|
|
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
|
|
stop: 0 #dadbde, stop: 1 #f6f7fa);
|
|
border-style: inset;
|
|
}
|
|
QPushButton:checked, QToolButton:checked {
|
|
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
|
|
stop: 0 #dadbde, stop: 1 #f6f7fa);
|
|
border-style: inset;
|
|
}
|
|
|
|
|
|
QCheckBox {
|
|
spacing: 20px;
|
|
}
|
|
QCheckBox#checkAutoStart {
|
|
spacing: 0px;
|
|
}
|
|
|
|
QCheckBox::indicator:checked {
|
|
width: 24px;
|
|
height: 24px;
|
|
image: url(:/resources/icons/chekYes.png);
|
|
}
|
|
QCheckBox::indicator:!checked {
|
|
width: 24px;
|
|
height: 24px;
|
|
image: url(:/resources/icons/chekNo.png);
|
|
}
|
|
|
|
|
|
QTreeWidget {
|
|
font-size: 13pt;
|
|
font-family: Tahoma;
|
|
icon-size: 32px;
|
|
}
|
|
QTreeWidget::item {
|
|
height: 34px;
|
|
}
|
|
/*Бранчи*/
|
|
QTreeWidget::branch:has-siblings:!adjoins-item {
|
|
border-image: url(:/resources/icons/vline.png) 0;
|
|
|
|
}
|
|
QTreeWidget::branch:has-siblings:adjoins-item {
|
|
border-image: url(:/resources/icons/branch-more.png) 0;
|
|
|
|
}
|
|
QTreeWidget::branch:!has-children:!has-siblings:adjoins-item {
|
|
border-image: url(:/resources/icons/branch-end.png) 0;
|
|
}
|
|
QTreeWidget::branch:closed:has-children:!has-siblings,
|
|
QTreeWidget::branch:closed:has-children:has-siblings {
|
|
border-image: none;
|
|
image: url(:/resources/icons/branch-closed.png);
|
|
}
|
|
QTreeWidget::branch:open:has-children:!has-siblings,
|
|
QTreeWidget::branch:open:has-children:has-siblings {
|
|
border-image: none;
|
|
image: url(:/resources/icons/branch-open.png);
|
|
}
|
|
|
|
QTreeWidget::item:hover,
|
|
QTreeWidget::branch:hover {
|
|
background: #aee1ff;
|
|
}
|
|
|
|
QTreeWidget::item:selected {
|
|
/*background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #6ea1f1, stop: 1 #567dbc);*/
|
|
background: #6ea1f1;
|
|
color: #ffffff;
|
|
}
|
|
|
|
|
|
QHeaderView::section {
|
|
/*
|
|
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,
|
|
stop:0 #c1c1c1, stop: 0.5 #505050,
|
|
stop: 0.6 #434343, stop:1 #656565);*/
|
|
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
|
|
stop: 0 #A0CECE, stop: 1 #FFFFFF);
|
|
color: black;
|
|
padding-left: 4px;
|
|
border: 1px solid #6c6c6c;
|
|
|
|
font-size: 13pt;
|
|
}
|
|
|
|
|
|
QTabWidget::pane { /* The tab widget frame */
|
|
border-top: 1px solid #C2C7CB;
|
|
/*background-image: url(:/resources/icons/messengerPrint.png);*/
|
|
}
|
|
QTabWidget::pane#tabWidgetTasks { /* The tab widget frame */
|
|
border-top: 1px solid #C2C7CB;
|
|
/*background-image: url(:/resources/icons/messengerPrint.png);*/
|
|
/*
|
|
padding-left: -18px;
|
|
padding-right: -18px;
|
|
padding-top: -8px;
|
|
padding-bottom: -8px;
|
|
*/
|
|
}
|
|
QTabWidget::tab-bar {
|
|
left: 0px; /* move to the right by 0px */
|
|
}
|
|
|
|
QTabBar::tab {
|
|
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
|
|
stop: 0 #E1E1E1, stop: 0.4 #DDDDDD,
|
|
stop: 0.5 #D8D8D8, stop: 1.0 #D3D3D3);
|
|
border: 2px solid #C4C4C3;
|
|
border-bottom-color: #C2C7CB; /* same as the pane color */
|
|
border-top-left-radius: 4px;
|
|
border-top-right-radius: 4px;
|
|
min-width: 40ex;
|
|
padding: 2px;
|
|
|
|
font-size: 12pt;
|
|
|
|
}
|
|
|
|
|
|
/*
|
|
QTabBar::tab:selected {
|
|
border-color: #9B9B9B;
|
|
border-bottom-color: #C2C7CB;
|
|
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #6ea1f1, stop: 1 #567dbc);
|
|
color: #ffffff;
|
|
}
|
|
*/
|
|
QTabBar::tab:selected {
|
|
background: #ffffff;
|
|
}
|
|
QTabBar::tab:!selected {
|
|
margin-top: 5px; /* make non-selected tabs look smaller */
|
|
/*background: #ffffff;*/
|
|
}
|
|
|
|
|
|
QTabBar::tab:hover {
|
|
background: #aee1ff;
|
|
}
|
|
|
|
QTabBar::scroller { /* the width of the scroll buttons */
|
|
width: 80px;
|
|
}
|
|
QTabBar QToolButton { /* the scroll buttons are tool buttons */
|
|
min-width: 30px;
|
|
width: 30px;
|
|
padding: 0px;
|
|
margin-top: 5px;
|
|
}
|
|
|
|
QListWidget::item {
|
|
/*padding: -5px;*/
|
|
}
|
|
QListWidget {
|
|
/*background: pink;*/
|
|
background: transparent;
|
|
/*background: #ffffff;*/
|
|
background: #ddeeff;
|
|
}
|
|
|
|
QTextEdit {
|
|
padding: -20px;
|
|
font-size: 12pt;
|
|
|
|
}
|
|
QTextEdit#editMsg {
|
|
height: 65px; /**/
|
|
background: #ddeeff;
|
|
}
|
|
QTextEdit#MsgWidgetEditTextLocal {
|
|
/*background: tlightgreen;*/
|
|
background: #ddffdd;
|
|
border-radius: 8px;
|
|
}
|
|
QTextEdit#MsgWidgetEditTextRemote {
|
|
/*background: lightblue;*/
|
|
/*background: #ddeeff;*/
|
|
background: #ffffff;
|
|
border-radius: 8px;
|
|
}
|
|
QLabel#MsgWidgetLblTimeLocal {
|
|
font-size: 9pt;
|
|
/*background: yellow;*/
|
|
}
|
|
QLabel#MsgWidgetLblTimeRemote {
|
|
font-size: 9pt;
|
|
/*background: yellow;*/
|
|
}
|
|
|
|
QLabel#MsgWidgetLblNameLocal {
|
|
font-size: 9pt;
|
|
/*background: yellow;*/
|
|
}
|
|
QLabel#MsgWidgetLblNameRemote {
|
|
font-size: 9pt;
|
|
/*background: yellow;*/
|
|
}
|
|
|
|
QLabel#MsgWidgetLblAvatar {
|
|
/*background: pink;*/
|
|
}
|
|
|
|
|
|
QLabel#MessangerWidgetLblUser {
|
|
background: #ddeeff;
|
|
padding-left: 4px;
|
|
border-radius: 8px;
|
|
}
|
|
QLabel#MessangerWidgetLblAvatar {
|
|
|
|
}
|
|
QLabel#MessangerWidgetLblLoggedIn {
|
|
|
|
}
|
|
|
|
QWidget {
|
|
|
|
}
|
|
|
|
QPlainTextEdit#plainText{ /*Репорт*/
|
|
margin-left: 50pt;
|
|
margin-right: 100pt;
|
|
}
|
|
/**/
|
|
QComboBox {
|
|
/*background: #ffffff;
|
|
border-radius: 5px;*/
|
|
}
|