mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-03 09:39:40 +00:00
Some stylesheet improvements and a drop-shadow for the scroll background
This commit is contained in:
parent
6f663bb17e
commit
6716bf649e
2 changed files with 19 additions and 5 deletions
Binary file not shown.
Before Width: | Height: | Size: 233 KiB After Width: | Height: | Size: 231 KiB |
|
@ -11,9 +11,7 @@
|
|||
}
|
||||
|
||||
#PlayButton {
|
||||
|
||||
height: 50px;
|
||||
|
||||
margin-bottom: 30px;
|
||||
|
||||
background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1,
|
||||
|
@ -45,18 +43,24 @@
|
|||
}
|
||||
|
||||
#PlayButton:pressed {
|
||||
background: qlineargradient(x1:0, y1:0, x2:0, y2:1,
|
||||
stop:0 rgba(0, 0, 0, 75),
|
||||
stop:0.1 rgba(0, 0, 0, 15),
|
||||
stop:0.2 rgba(255, 255, 255, 55)
|
||||
stop:0.95 rgba(255, 255, 255, 55),
|
||||
stop:1 rgba(255, 255, 255, 155));
|
||||
|
||||
border: 1px solid rgba(0, 0, 0, 55);
|
||||
}
|
||||
|
||||
#ProfileLabel {
|
||||
font: 14pt "Trebuchet MS";
|
||||
}
|
||||
|
||||
|
||||
#ProfilesComboBox {
|
||||
padding: 1px 18px 1px 3px;
|
||||
|
||||
background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 white, stop:0.2 rgba(0, 0, 0, 25), stop:1 rgba(255, 255, 255, 200));
|
||||
background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 white, stop:0.2 rgba(0, 0, 0, 25), stop:1 white);
|
||||
border-width: 1px;
|
||||
border-color: rgba(0, 0, 0, 125);
|
||||
border-style: solid;
|
||||
|
@ -65,7 +69,12 @@
|
|||
|
||||
/*QComboBox gets the "on" state when the popup is open */
|
||||
#ProfilesComboBox:!editable:on, #ProfilesComboBox::drop-down:editable:on {
|
||||
background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 gray, stop:0.2 white);
|
||||
background: qlineargradient(x1:0, y1:0, x2:0, y2:1,
|
||||
stop:0 rgba(0, 0, 0, 75),
|
||||
stop:0.1 rgba(0, 0, 0, 15),
|
||||
stop:0.2 rgba(255, 255, 255, 55));
|
||||
|
||||
border: 1px solid rgba(0, 0, 0, 55);
|
||||
}
|
||||
|
||||
|
||||
|
@ -97,6 +106,11 @@
|
|||
left: 1px;
|
||||
}
|
||||
|
||||
#ProfilesComboBox QAbstractItemView {
|
||||
border: 2px solid lightgray;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
#IconWidget {
|
||||
background-image: url(":/images/openmw-header.png");
|
||||
background-color: white;
|
||||
|
|
Loading…
Reference in a new issue