mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-27 19:45:43 +03:00
Переделано под один мега-проект LMS с общим CMakeLists.txt
This commit is contained in:
230
InstructorsAndTrainees/resources/css/styleSheetMain.css
Normal file
230
InstructorsAndTrainees/resources/css/styleSheetMain.css
Normal file
@@ -0,0 +1,230 @@
|
||||
/*Обязательные поля*/
|
||||
*[mandatoryField="true"] {
|
||||
background-color: #fff2fb
|
||||
}
|
||||
|
||||
|
||||
/*Общие настройки виджетов*/
|
||||
QWidget {
|
||||
font-family: Tahoma;
|
||||
font-size: 14pt;
|
||||
icon-size: 24px;
|
||||
}
|
||||
|
||||
|
||||
QLineEdit, QTextEdit {
|
||||
border: 1px solid gray;
|
||||
border-radius: 4px;
|
||||
padding: 0px 8px;
|
||||
background: white;
|
||||
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: 5px;
|
||||
margin-top: 5ex; /* leave space at the top for the title */
|
||||
}
|
||||
QGroupBox::title {
|
||||
border: 1px solid gray;
|
||||
border-bottom: none;
|
||||
border-radius: 5px;
|
||||
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: 80px;
|
||||
height: 60px;
|
||||
padding: 1px;
|
||||
}
|
||||
QPushButton {
|
||||
height: 25px;
|
||||
}
|
||||
QToolButton {
|
||||
width: 200px;
|
||||
}
|
||||
QToolButton#btnSend { /*Кнопка Send Мессенджера*/
|
||||
width: 60px;
|
||||
}
|
||||
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::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: 12pt;
|
||||
font-family: Tahoma;
|
||||
icon-size: 24px;
|
||||
}
|
||||
QTreeWidget::item {
|
||||
height: 30px;
|
||||
}
|
||||
/*Бранчи*/
|
||||
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);
|
||||
color: #ffff00;
|
||||
}
|
||||
|
||||
|
||||
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);
|
||||
color: white;
|
||||
padding-left: 4px;
|
||||
border: 1px solid #6c6c6c;
|
||||
}
|
||||
|
||||
|
||||
QTabWidget::pane { /* The tab widget frame */
|
||||
border-top: 1px solid #C2C7CB;
|
||||
background-image: url(:/resources/icons/messengerPrint.png);
|
||||
|
||||
}
|
||||
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: 8ex;
|
||||
padding: 2px;
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
QTabBar::tab:selected {
|
||||
border-color: #9B9B9B;
|
||||
border-bottom-color: #C2C7CB; /* same as pane color */
|
||||
/* 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);
|
||||
color: #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;
|
||||
}
|
||||
|
||||
QListWidget::item {
|
||||
padding: -5px;
|
||||
}
|
||||
QListWidget {
|
||||
/*background: pink;*/
|
||||
background: transparent;
|
||||
background: #f0ffff;
|
||||
}
|
||||
|
||||
QTextEdit {
|
||||
padding: -20px;
|
||||
font-size: 12pt;
|
||||
|
||||
}
|
||||
QTextEdit#MsgWidgetLocal {
|
||||
background: lightgreen;
|
||||
}
|
||||
QTextEdit#MsgWidgetRemote {
|
||||
background: lightblue;
|
||||
}
|
||||
|
||||
QWidget {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user