Création d'un compte pour un collaborateur extérieur au laboratoire depuis l'intranet ICube : https://intranet.icube.unistra.fr/fr/labs/member/profile

Commit 9647b707 authored by Frédéric Larue's avatar Frédéric Larue
Browse files

Template CSS style sheet modified to use "em" instead of "px" metrics.

parent 09dea6e0
......@@ -80,8 +80,8 @@ QSpinBox:hover, QDoubleSpinBox:hover
QCheckBox::indicator, QTreeView::indicator, QTableView::indicator, QListView::indicator
{
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 palette(dark), stop:0.3 palette(base));
width: 20px;
height: 20px;
width: 1.15em;
height: 1.15em;
}
QCheckBox::indicator:hover, QTreeView::indicator:hover, QTableView::indicator:hover, QListView::indicator:hover
{
......@@ -99,7 +99,7 @@ QCheckBox::indicator:checked:disabled, QTreeView::indicator:checked:disabled, QT
QRadioButton
{
height: 23px;
height: 1.15em;
}
QRadioButton:hover
{
......@@ -108,9 +108,9 @@ QRadioButton:hover
QRadioButton::indicator
{
background-color: qradialgradient(cx:0.75, cy:1, radius:1, fx:0.5, fy:0.5 stop:0 palette(base), stop:0.85 palette(dark));
border-radius: 9px;
width: 18px;
height: 18px;
border-radius: 0.55em;
width: 1em;
height: 1em;
}
QRadioButton::indicator:hover
{
......@@ -129,8 +129,8 @@ QRadioButton::indicator:checked:disabled, QSlider::handle:horizontal:disabled, Q
QSlider::groove:horizontal
{
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 palette(dark), stop:0.3 palette(mid));
border-radius: 9px;
height: 18px;
border-radius: 0.55em;
height: 1em;
}
......@@ -143,22 +143,22 @@ QScrollBar:horizontal
{
border-width: 1 0 1 0;
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 palette(dark), stop: 0.3 palette(base), stop: 1 palette(mid));
height: 16px;
height: 0.8em;
}
QScrollBar:vertical
{
border-width: 0 1 0 1;
background-color: qlineargradient(x1: 0, y1: 0, x2: 1, y2: 0, stop: 0 palette(dark), stop: 0.3 palette(base), stop: 1 palette(mid));
width: 16px;
width: 0.8em;
}
QScrollBar::handle
{
border-radius: 7px;
border-radius: 3px;
}
QScrollBar::handle:horizontal
{
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 palette(window), stop: 0.35 palette(light), stop: 0.75 palette(base));
min-width: 40px;
min-width: 2em;
}
QScrollBar::handle:horizontal:hover
{
......@@ -167,7 +167,7 @@ QScrollBar::handle:horizontal:hover
QScrollBar::handle:vertical
{
background-color: qlineargradient(x1: 0, y1: 0, x2: 1, y2: 0, stop: 0 palette(window), stop: 0.35 palette(light), stop: 0.75 palette(base));
min-height: 40px;
min-height: 2em;
}
QScrollBar::handle:vertical:hover
{
......@@ -188,6 +188,7 @@ QMenuBar
QMenuBar::item
{
color: palette(text);
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 palette(dark), stop:0.3 palette(base));
}
QMenuBar::item:selected
{
......@@ -254,7 +255,7 @@ QTreeView#tableCurrentProjContent::indicator:unchecked
}
QHeaderView::section
{
padding-left: 10px;
padding: 0 10px 0 10px;
color: palette(text);
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 palette(window), stop: 0.35 palette(light), stop: 0.75 palette(base));
}
......@@ -270,10 +271,18 @@ QHeaderView::up-arrow, QHeaderView::down-arrow
right: 10px;
}
QHeaderView::up-arrow
{
image: url([QHeaderViewUpArrow:text]);
}
QHeaderView::up-arrow:hover
{
image: url([QHeaderViewUpArrow:bright-text]);
}
QHeaderView::down-arrow
{
image: url([QHeaderViewDownArrow:text]);
}
QHeaderView::down-arrow:hover
{
image: url([QHeaderViewDownArrow:bright-text]);
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment