mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-28 19:55:48 +03:00
Белые табы
This commit is contained in:
@@ -1,22 +1,33 @@
|
|||||||
/*Обязательные поля*/
|
/*Обязательные поля*/
|
||||||
*[mandatoryField="true"] {
|
*[mandatoryField="true"] {
|
||||||
background-color: #fff2fb
|
background-color: #fffdfd
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*Общие настройки виджетов*/
|
/*Общие настройки виджетов*/
|
||||||
QWidget {
|
QWidget {
|
||||||
font-family: Tahoma;
|
font-family: Tahoma;
|
||||||
font-size: 14pt;
|
font-size: 11pt;
|
||||||
icon-size: 24px;
|
icon-size: 20px;
|
||||||
|
/*background-color: green;*/
|
||||||
|
}
|
||||||
|
|
||||||
|
QWidget#widgetTop {
|
||||||
|
/*border: 1px solid gray;*/
|
||||||
|
background: #E0E0E0;
|
||||||
|
}
|
||||||
|
|
||||||
|
QWidget#viewerTrainees
|
||||||
|
{
|
||||||
|
padding-left: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
QLineEdit, QTextEdit {
|
QLineEdit, QTextEdit, QComboBox {
|
||||||
border: 1px solid gray;
|
border: 1px solid gray;
|
||||||
border-radius: 4px;
|
border-radius: 2px;
|
||||||
padding: 0px 8px;
|
padding: 0px 8px;
|
||||||
background: white;
|
background: #fafafafa;
|
||||||
selection-background-color: darkgray;
|
selection-background-color: darkgray;
|
||||||
}
|
}
|
||||||
QLineEdit[echoMode="2"] {
|
QLineEdit[echoMode="2"] {
|
||||||
@@ -30,13 +41,14 @@ QLineEdit:read-only {
|
|||||||
QGroupBox {
|
QGroupBox {
|
||||||
background: #E0E0E0;
|
background: #E0E0E0;
|
||||||
border: 1px solid gray;
|
border: 1px solid gray;
|
||||||
border-radius: 5px;
|
border-radius: 3px;
|
||||||
margin-top: 5ex; /* leave space at the top for the title */
|
margin-top: 5ex; /* leave space at the top for the title */
|
||||||
|
|
||||||
}
|
}
|
||||||
QGroupBox::title {
|
QGroupBox::title {
|
||||||
border: 1px solid gray;
|
border: 1px solid gray;
|
||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
border-radius: 5px;
|
border-radius: 4px;
|
||||||
subcontrol-origin: margin;
|
subcontrol-origin: margin;
|
||||||
subcontrol-position: top left;
|
subcontrol-position: top left;
|
||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
@@ -45,25 +57,32 @@ QGroupBox::title {
|
|||||||
stop: 0 #A0CECE, stop: 1 #FFFFFF);
|
stop: 0 #A0CECE, stop: 1 #FFFFFF);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
QPushButton, QToolButton {
|
QPushButton, QToolButton {
|
||||||
border: 2px solid #8f8f91;
|
border: 2px solid #8f8f91;
|
||||||
border-style: outset;
|
border-style: outset;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
|
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
|
||||||
stop: 0 #f6f7fa, stop: 1 #dadbde);
|
stop: 0 #f6f7fa, stop: 1 #dadbde);
|
||||||
min-width: 80px;
|
min-width: 75px;
|
||||||
height: 60px;
|
height: 50px;
|
||||||
padding: 1px;
|
padding: 1px;
|
||||||
|
|
||||||
|
qproperty-iconSize: 24px;
|
||||||
}
|
}
|
||||||
QPushButton {
|
QPushButton {
|
||||||
height: 25px;
|
height: 25px;
|
||||||
}
|
}
|
||||||
QToolButton {
|
QToolButton {
|
||||||
width: 200px;
|
width: 165px;
|
||||||
|
height: 44px;
|
||||||
}
|
}
|
||||||
QToolButton#btnSend { /*Кнопка Send Мессенджера*/
|
|
||||||
width: 60px;
|
/*QToolButton#btnSettings, */
|
||||||
|
QToolButton#btnSend, QToolButton#btnDelete, QToolButton#btnCheck, QToolButton#btnOnlyActive,
|
||||||
|
QToolButton#btnSave, QToolButton#btnUpdateStyle, QToolButton#btnSetVersion,
|
||||||
|
QToolButton#btnAssignTask {
|
||||||
|
width: 70px;
|
||||||
|
height: 44px;
|
||||||
}
|
}
|
||||||
QPushButton:flat, QToolButton:flat {
|
QPushButton:flat, QToolButton:flat {
|
||||||
border: none; /* no border for a flat push button */
|
border: none; /* no border for a flat push button */
|
||||||
@@ -91,6 +110,10 @@ QPushButton:checked, QToolButton:checked {
|
|||||||
QCheckBox {
|
QCheckBox {
|
||||||
spacing: 20px;
|
spacing: 20px;
|
||||||
}
|
}
|
||||||
|
QCheckBox#checkAutoStart {
|
||||||
|
spacing: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
QCheckBox::indicator:checked {
|
QCheckBox::indicator:checked {
|
||||||
width: 24px;
|
width: 24px;
|
||||||
height: 24px;
|
height: 24px;
|
||||||
@@ -104,7 +127,7 @@ QCheckBox::indicator:!checked {
|
|||||||
|
|
||||||
|
|
||||||
QTreeWidget {
|
QTreeWidget {
|
||||||
font-size: 12pt;
|
font-size: 11pt;
|
||||||
font-family: Tahoma;
|
font-family: Tahoma;
|
||||||
icon-size: 24px;
|
icon-size: 24px;
|
||||||
}
|
}
|
||||||
@@ -157,8 +180,17 @@ QHeaderView::section {
|
|||||||
|
|
||||||
QTabWidget::pane { /* The tab widget frame */
|
QTabWidget::pane { /* The tab widget frame */
|
||||||
border-top: 1px solid #C2C7CB;
|
border-top: 1px solid #C2C7CB;
|
||||||
background-image: url(:/resources/icons/messengerPrint.png);
|
/*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 {
|
QTabWidget::tab-bar {
|
||||||
left: 0px; /* move to the right by 0px */
|
left: 0px; /* move to the right by 0px */
|
||||||
@@ -171,26 +203,29 @@ QTabBar::tab {
|
|||||||
border-bottom-color: #C2C7CB; /* same as the pane color */
|
border-bottom-color: #C2C7CB; /* same as the pane color */
|
||||||
border-top-left-radius: 4px;
|
border-top-left-radius: 4px;
|
||||||
border-top-right-radius: 4px;
|
border-top-right-radius: 4px;
|
||||||
min-width: 8ex;
|
min-width: 20ex;
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
QTabBar::tab:selected {
|
QTabBar::tab:selected {
|
||||||
border-color: #9B9B9B;
|
border-color: #9B9B9B;
|
||||||
border-bottom-color: #C2C7CB; /* same as pane color */
|
border-bottom-color: #C2C7CB;
|
||||||
/* expand/overlap to the left and right by 4px */
|
|
||||||
margin-left: -4px;
|
|
||||||
margin-right: -4px;
|
|
||||||
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #6ea1f1, stop: 1 #567dbc);
|
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #6ea1f1, stop: 1 #567dbc);
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
}
|
}
|
||||||
QTabBar::tab:!selected {
|
*/
|
||||||
margin-top: 5px; /* make non-selected tabs look smaller */
|
QTabBar::tab:selected {
|
||||||
background: #ffffff;
|
background: #ffffff;
|
||||||
}
|
}
|
||||||
|
QTabBar::tab:!selected {
|
||||||
|
margin-top: 5px; /* make non-selected tabs look smaller */
|
||||||
|
/*background: #ffffff;*/
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
QTabBar::tab:hover {
|
QTabBar::tab:hover {
|
||||||
background: #aee1ff;
|
background: #aee1ff;
|
||||||
}
|
}
|
||||||
@@ -202,20 +237,21 @@ QTabBar QToolButton { /* the scroll buttons are tool buttons */
|
|||||||
min-width: 30px;
|
min-width: 30px;
|
||||||
width: 30px;
|
width: 30px;
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
|
margin-top: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QListWidget::item {
|
QListWidget::item {
|
||||||
padding: -5px;
|
/*padding: -5px;*/
|
||||||
}
|
}
|
||||||
QListWidget {
|
QListWidget {
|
||||||
/*background: pink;*/
|
/*background: pink;*/
|
||||||
background: transparent;
|
background: transparent;
|
||||||
background: #f0ffff;
|
background: #ffffff;
|
||||||
}
|
}
|
||||||
|
|
||||||
QTextEdit {
|
QTextEdit {
|
||||||
padding: -20px;
|
padding: -20px;
|
||||||
font-size: 12pt;
|
font-size: 11pt;
|
||||||
|
|
||||||
}
|
}
|
||||||
QTextEdit#MsgWidgetLocal {
|
QTextEdit#MsgWidgetLocal {
|
||||||
@@ -228,3 +264,13 @@ QTextEdit#MsgWidgetRemote {
|
|||||||
QWidget {
|
QWidget {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QPlainTextEdit#plainText{ /*Репорт*/
|
||||||
|
margin-left: 50pt;
|
||||||
|
margin-right: 100pt;
|
||||||
|
}
|
||||||
|
/**/
|
||||||
|
QComboBox {
|
||||||
|
/*background: #ffffff;
|
||||||
|
border-radius: 5px;*/
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user