mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-28 19:55:48 +03:00
440 lines
9.9 KiB
CSS
440 lines
9.9 KiB
CSS
/*Обязательные поля*/
|
||
*[mandatoryField="true"] {
|
||
background-color: #fffdfd
|
||
}
|
||
|
||
|
||
/*Общие настройки виджетов*/
|
||
QWidget {
|
||
font-family: Tahoma;
|
||
font-size: 12pt;
|
||
icon-size: 24px;
|
||
}
|
||
QWidget#widgetControl {
|
||
background: #E0E0E0;
|
||
}
|
||
QWidget#viewerTrainees
|
||
{
|
||
padding-left: 20px;
|
||
}
|
||
|
||
QDialog {
|
||
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
|
||
stop: 0 #e6e7ea, stop: 1 #eaebee);
|
||
}
|
||
|
||
|
||
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: 26px;
|
||
font-size: 13pt;
|
||
}
|
||
QGroupBox#groupBox_Report {
|
||
background: #FFFFFF;
|
||
}
|
||
QGroupBox::title {
|
||
border: 1px solid gray;
|
||
border-bottom: none;
|
||
border-top-left-radius: 4px;
|
||
border-top-right-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 #fafafa, stop: 0.1 #E0E0E0,
|
||
stop: 0.6 #E0E0E0, stop: 1.0 #fafafa);
|
||
color: black;
|
||
min-height: 25px;
|
||
}
|
||
|
||
|
||
QPushButton, QToolButton {
|
||
border: 3px outset /*#2d5585*/gray;
|
||
/*border: 3px solid #8f8f91;
|
||
border-style: outset;*/
|
||
border-radius: 5px;
|
||
background-color: #5d85B5;
|
||
min-width: 75px;
|
||
height: 55px;
|
||
padding: 1px;
|
||
qproperty-iconSize: 32px;
|
||
color: white;
|
||
}
|
||
QToolButton::icon {
|
||
background-color: white;
|
||
}
|
||
|
||
QPushButton {
|
||
height: 25px;
|
||
width: 100px;
|
||
}
|
||
QToolButton {
|
||
width: 180px;
|
||
height: 55px;
|
||
}
|
||
|
||
QToolButton#btnSend, QToolButton#btnDelete, QToolButton#btnCheck, QToolButton#btnOnlyActive, QToolButton#btnStatus,
|
||
QToolButton#btnSave, QToolButton#btnUpdateStyle, QToolButton#btnSetVersion, QToolButton#btnDocsUpdating,
|
||
QToolButton#btnAssignTask,
|
||
QToolButton#btnAssign {
|
||
width: 100px;
|
||
height: 55px;
|
||
}
|
||
QToolButton#btnCheckDB, QToolButton#btnUpdateDocs, QToolButton#btnRepare {
|
||
width: 150px;
|
||
height: 55px;
|
||
}
|
||
|
||
QToolButton#btnViewPassword, QToolButton#btnChangePassword {
|
||
min-width: 18px;
|
||
width: 18px;
|
||
height: 18px;
|
||
}
|
||
|
||
QPushButton#createDuplicateButton, QPushButton#deleteVersionButton, QPushButton#switchServerVersionButton {
|
||
width: 130px;
|
||
}
|
||
|
||
QPushButton:flat, QToolButton:flat {
|
||
border: none; /* no border for a flat push button */
|
||
}
|
||
QPushButton:disabled, QToolButton:disabled {
|
||
background-color: #777777;
|
||
/*border-color: gray;*/
|
||
}
|
||
QPushButton:default, QToolButton:default {
|
||
border-color: #2d5585;
|
||
}
|
||
QPushButton:hover , QToolButton:hover {
|
||
background-color: #9dc5f5;
|
||
}
|
||
QPushButton:pressed, QToolButton:pressed {
|
||
background-color: #8db5e5;
|
||
border-style: inset;
|
||
}
|
||
QPushButton:checked, QToolButton:checked {
|
||
background-color: #8db5e5;
|
||
border-style: inset;
|
||
}
|
||
|
||
|
||
QCheckBox {
|
||
spacing: 20px;
|
||
}
|
||
QCheckBox#checkAutoStart, QCheckBox#checkLocalhost {
|
||
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;
|
||
border-radius: 4px;
|
||
border: 2px solid white;
|
||
}
|
||
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: #EEEEEE;
|
||
/*border: 1px solid #6c6c6c;*/
|
||
/*border-radius: 3px;*/
|
||
}
|
||
|
||
QTreeWidget::item:selected {
|
||
background: #9dc5f5;
|
||
color: #000000;
|
||
}
|
||
|
||
QTreeWidget::indicator:checked {
|
||
width: 24px;
|
||
height: 24px;
|
||
image: url(:/resources/icons/chekYes.png);
|
||
}
|
||
QTreeWidget::indicator:!checked {
|
||
width: 24px;
|
||
height: 24px;
|
||
image: url(:/resources/icons/chekNo.png);
|
||
}
|
||
|
||
|
||
QHeaderView::section {
|
||
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
|
||
stop: 0 #2d5585, stop: 1 #9dc5f5);
|
||
color: white;
|
||
padding-left: 4px;
|
||
border: 1px solid #6c6c6c;
|
||
border-radius: 2px;
|
||
font-size: 13pt;
|
||
}
|
||
|
||
|
||
QTabWidget::pane { /* The tab widget frame */
|
||
border-top: 1px solid #C2C7CB;
|
||
border: 1px solid #C2C7CB;
|
||
}
|
||
QTabWidget::pane#tabWidgetTasks { /* The tab widget frame */
|
||
border-top: 1px solid #C2C7CB;
|
||
border: 1px solid #C2C7CB;
|
||
}
|
||
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;
|
||
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
|
||
stop: 0 #A0CECE, stop: 1 #FFFFFF);
|
||
|
||
background-color: #5d85B5;
|
||
color: black;
|
||
height: 20px;
|
||
}
|
||
|
||
QTabBar::tab:selected {
|
||
border-style: outset;
|
||
background: #8db5e5;
|
||
|
||
}
|
||
QTabBar::tab:!selected {
|
||
border-style: inset;
|
||
background: #aaaaaa;
|
||
}
|
||
|
||
QTabBar::tab:hover {
|
||
background: #aee1ff;
|
||
background: #EEEEEE;
|
||
background-color: #9dc5f5;
|
||
background: #8db5e5;
|
||
}
|
||
|
||
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 {
|
||
|
||
}
|
||
QListWidget#oneDialogMessenger {
|
||
background-color: white;
|
||
border: 1px solid gray;
|
||
border-radius: 2px;
|
||
}
|
||
|
||
QListWidget::item:selected {
|
||
color: #000000;
|
||
}
|
||
QListWidget#oneDialogMessenger::item:selected {
|
||
color: #000000;
|
||
background: #ffffff;
|
||
}
|
||
QListWidget::item:hover {
|
||
background: #EEEEEE;
|
||
}
|
||
QListWidget#oneDialogMessenger::item:hover {
|
||
background: #ffffff;
|
||
}
|
||
QListWidget#subProcItemListWidget::item:hover {
|
||
background: #ffffff;
|
||
}
|
||
|
||
QListWidget {
|
||
selection-background-color: #9dc5f5;; /* Цвет выделенного элемента */
|
||
selection-color: black; /* Цвет текста выделенного элемента */
|
||
show-decoration-selected: false; /* Показывать выделение на выбранном элементе */
|
||
outline: none; /* Без выделения фокуса */
|
||
}
|
||
|
||
|
||
QTextEdit {
|
||
padding: -20px;
|
||
font-size: 12pt;
|
||
|
||
}
|
||
QTextEdit#editMsg {
|
||
height: 65px;
|
||
background: #ffffff;
|
||
}
|
||
QTextEdit#MsgWidgetEditTextLocal {
|
||
background: #EEEEEE;
|
||
border-radius: 8px;
|
||
}
|
||
QTextEdit#MsgWidgetEditTextRemote {
|
||
background: #9dc5f5;
|
||
border-radius: 8px;
|
||
}
|
||
QLabel#MsgWidgetLblTimeLocal {
|
||
font-size: 9pt;
|
||
}
|
||
QLabel#MsgWidgetLblTimeRemote {
|
||
font-size: 9pt;
|
||
}
|
||
|
||
QLabel#MsgWidgetLblNameLocal {
|
||
font-size: 9pt;
|
||
}
|
||
QLabel#MsgWidgetLblNameRemote {
|
||
font-size: 9pt;
|
||
}
|
||
|
||
QLabel#MsgWidgetLblAvatar {
|
||
|
||
}
|
||
|
||
QLabel#MessangerWidgetLblUser {
|
||
background: #ddeeff;
|
||
padding-left: 4px;
|
||
border-radius: 4px;
|
||
background: #9dc5f5;
|
||
}
|
||
QLabel#MessangerWidgetLblAvatar {
|
||
|
||
}
|
||
QLabel#MessangerWidgetLblLoggedIn {
|
||
|
||
}
|
||
|
||
QLabel#PersonalCard_lblName {
|
||
font-size: 16pt;
|
||
color: #2d5585;
|
||
}
|
||
|
||
QLabel#ReportFimWidget_label_MMEL, QLabel#ActionWidget_lbl_Type {
|
||
color: gray;
|
||
border-radius: 4px;
|
||
min-width: 50px;
|
||
min-height: 25px;
|
||
background: #ffffff;
|
||
border: 1px solid gray;
|
||
}
|
||
QLabel#ActionWidget_lbl_Status {
|
||
color: black;
|
||
border-radius: 18px;
|
||
min-width: 150px;
|
||
min-height: 40px;
|
||
background: #d0d0d0;
|
||
border: 1px solid gray;
|
||
}
|
||
QLabel#DeviceWidget_lbl_Status {
|
||
color: black;
|
||
border-radius: 18px;
|
||
min-width: 250px;
|
||
min-height: 40px;
|
||
background: #f0f0f0;
|
||
border: 1px solid gray;
|
||
}
|
||
|
||
QLabel#DeviceWidget_lbl_ObjName {
|
||
color: black;
|
||
}
|
||
QLabel#DeviceWidget_lbl_Code {
|
||
color: gray;
|
||
}
|
||
|
||
QPlainTextEdit#ActionWidget_plainTextEdit_Procedure{
|
||
border-radius: 5px;
|
||
border: 1px solid gray;
|
||
background: #F0F0F2;
|
||
}
|
||
QPlainTextEdit#ActionWidget_plainTextEdit_Comment{
|
||
border-radius: 5px;
|
||
border: 1px solid gray;
|
||
background: #FEFEFE;
|
||
}
|
||
|
||
QPlainTextEdit#plainText{ /*Репорт*/
|
||
margin-left: 50pt;
|
||
margin-right: 100pt;
|
||
}
|
||
|
||
|
||
QComboBox::drop-down {
|
||
subcontrol-position: right center; /*Выравнивание стрелки по центру */
|
||
width: 20px; /* Ширина области со стрелкой */
|
||
border: none;
|
||
border-left: 1px solid gray;
|
||
background: #E0E0E0;
|
||
}
|
||
QComboBox::down-arrow {
|
||
image: url(:/resources/icons/branch-open.png); /* Подставляем свою картинку стрелки */
|
||
width: 16px; /* Размер иконки */
|
||
height: 16px;
|
||
}
|
||
|
||
QComboBox QAbstractItemView {
|
||
selection-background-color: #9dc5f5;; /* Цвет выделенного элемента */
|
||
selection-color: black; /* Цвет текста выделенного элемента */
|
||
alternate-background-color: lightgrey; /* Чередующиеся строки */
|
||
show-decoration-selected: true; /* Показывать выделение на выбранном элементе */
|
||
outline: none; /* Без выделения фокуса */
|
||
}
|