Skip to content
Permalink
Browse files

Night Mapping theme update

  • Loading branch information
NathanW2 committed Aug 29, 2015
1 parent be2ff5c commit 37fc2444d414533960d7332c77f7450fc775b6ce
Showing with 37 additions and 5 deletions.
  1. +37 −5 resources/themes/Night Mapping/style.qss
@@ -49,6 +49,29 @@ QMenuBar::item:pressed
padding-bottom:1px;
}

QAbstractSpinBox {
padding-right: 0px; /* make room for the arrows */
border: 1px solid #222;
background-color: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #565656, stop: 0.1 #525252, stop: 0.5 #4e4e4e, stop: 0.9 #4a4a4a, stop: 1 #464646);
}

QAbstractSpinBox::up-button {
subcontrol-origin: border;
subcontrol-position: top right;

width: 16px;
image: url(icons/up_arrow.png) 1;
}

QAbstractSpinBox::down-button {
subcontrol-origin: border;
subcontrol-position: bottom right;

width: 16px;
image: url(icons/down_arrow.png);
}


/* ==================================================================================== */
/* MENU */
/* ==================================================================================== */
@@ -122,9 +145,10 @@ QComboBox {
background-color: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #565656, stop: 0.1 #525252, stop: 0.5 #4e4e4e, stop: 0.9 #4a4a4a, stop: 1 #464646);
border-style: solid;
border: 1px solid #1e1e1e;
padding: 1px 0px 1px 3px; /*This makes text colour work*/
padding: 3px 3px 3px 3px;
}


QComboBox:hover,QPushButton:hover {
background-color: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #565656,
@@ -134,7 +158,6 @@ QComboBox:hover,QPushButton:hover {
stop: 1 #464646);
}


QComboBox:on {
padding-top: 1px;
padding-left: 3px;
@@ -147,6 +170,10 @@ QComboBox:on {
selection-background-color: #ffaa00;
}

QComboBox:editable {
background: #323232;
}

QComboBox QAbstractItemView {
border: 1px solid #222;
selection-background-color: #507098;
@@ -163,6 +190,8 @@ QComboBox::down-arrow
{
image: url(icons/down_arrow.png);
}


QLineEdit:focus
{
border: 2px solid QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #ffa02f, stop: 1 #d7801a);
@@ -483,18 +512,21 @@ QgsLayerTreeView
{
}

QgsLayerTreeView::item
QgsLayerTreeView::item,
QTreeView#viewCategories::item
{
border-top: 0.5px solid rgba(108,108,108,50);
border-bottom: 0.5px solid rgba(108,108,108,50);
padding: 3px;
}

QgsLayerTreeView::indicator:unchecked{
QgsLayerTreeView::indicator:unchecked,
QTreeView#viewCategories::indicator:unchecked {
image: url(icons/eye-blocked.svg);
}

QgsLayerTreeView::indicator:checked {
QgsLayerTreeView::indicator:checked,
QTreeView#viewCategories::indicator:checked {
image: url(icons/eye.svg);
}

0 comments on commit 37fc244

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