Skip to content
Permalink
Browse files

[themes] Adjust Night Mapping to improve display on windows

  • Loading branch information
nirvn committed Jan 4, 2019
1 parent e823ab2 commit 15ae474cb2c4e147967d49c3f6cd17cdf479ddb4
Showing with 22 additions and 17 deletions.
  1. +22 −17 resources/themes/Night Mapping/style.qss
@@ -46,7 +46,7 @@ QMenuBar::item:pressed
}

QAbstractSpinBox {
padding: 0.1em 0em 0.1em 0.1em;
padding: 0.12em 0em 0.12em 0.12em;
border: 1px solid #222;
border-radius:0px;
background-color: @darkgradient;
@@ -56,10 +56,10 @@ QAbstractSpinBox {
QAbstractSpinBox::up-button {
subcontrol-origin: border;
subcontrol-position: top right;
padding-top:-0.2em;
padding-top:0em;
padding-right:0.05em;
width: 0.8em;
height: 1.2em;
height: 0.8em;
image: url(@theme_path/icons/arrow-up.svg);
}

@@ -69,7 +69,7 @@ QAbstractSpinBox::down-button {
padding-top:0.2em;
padding-right:0.05em;
width: 0.8em;
height: 1.2em;
height: 0.8em;
image: url(@theme_path/icons/arrow-down.svg);
}

@@ -114,15 +114,15 @@ QWidget:disabled

QLineEdit
{
padding: 0.1em;
padding: 0.12em;
border: 1px solid #111;
background-color: #888;
color: #111;
}

QTextEdit, QPlainTextEdit
{
padding: 0.1em;
padding: 0.12em;
border-width: 1px;
border-color: @itemdarkbackground;
border-style: solid;
@@ -133,7 +133,7 @@ QTextEdit, QPlainTextEdit

QPushButton
{
padding: 0.1em;
padding: 0.12em;
border-width: 1px;
border-color: @itembackground;
border-style: solid;
@@ -144,7 +144,7 @@ QPushButton

QToolButton
{
padding: 0.1em;
padding: 0.12em;
border-width: 1px;
border-color: @itembackground;
border-style: solid;
@@ -198,7 +198,7 @@ QComboBox {
border-style: solid;
border: 1px solid #1e1e1e;
border-radius: 0px;
padding: 0.1em 1em 0.1em 0.1em;
padding: 0.12em 1.2em 0.12em 0.12em;
}


@@ -207,7 +207,7 @@ QComboBox:hover,QPushButton:hover,QToolButton:hover,QAbstractSpinBox:hover {
}

QComboBox:on {
padding: 0.1em;
padding: 0.12em;
padding-left: 0.2em;
background-color: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #555,
@@ -230,7 +230,7 @@ QComboBox:editable QLineEdit {
QComboBox QAbstractItemView, QComboBox QListView {
border: none;
border-radius: 0px;
padding: 0.1em;
padding: 0.12em;
background: @itemdarkbackground;
color: @text;
selection-background-color: @selection;
@@ -251,16 +251,16 @@ QComboBox::down-arrow
}

QComboBox:item {
padding-left: 1.5em;
height:1.2em;
padding-left: 1.3em;
height:1.25em;
}
QComboBox:item:selected {
padding-left: 1.5em;
height:1.2em;
padding-left: 1.3em;
height:1.25em;
}
QComboBox:item:checked {
padding-left: 1.5em;
height:1.2em;
padding-left: 1.3em;
height:1.25em;
}

QLineEdit:focus
@@ -435,6 +435,11 @@ QProgressBar::chunk
margin: 1px;
}

QTabWidget::pane {
border: 1px solid @itemdarkbackground;
top:-1px;
}

QTabBar::tab {
color: @text;
border: 1px solid @itemdarkbackground;

0 comments on commit 15ae474

Please sign in to comment.
You can’t perform that action at this time.