Refresh the Night Mapping theme, including _many_ fixes

This commit is contained in:
nirvn 2018-12-28 10:36:34 +07:00 committed by Mathieu Pellerin
parent 026f914f9b
commit abc20e18c7
17 changed files with 328 additions and 199 deletions

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 3.704 3.704"><path d="M2.249 1.455h-.794l.397.794z" fill="#b2b2b2" stroke="#b2b2b2" stroke-width=".265" stroke-linecap="round" stroke-linejoin="round"/></svg>

After

Width:  |  Height:  |  Size: 235 B

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 3.704 3.704"><path d="M1.455 2.249h.794l-.397-.794z" fill="#b2b2b2" stroke="#b2b2b2" stroke-width=".265" stroke-linecap="round" stroke-linejoin="round"/></svg>

After

Width:  |  Height:  |  Size: 236 B

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 3.704 3.704"><path d="M2.249 1.455h-.794l.397.794z" fill="#727272" stroke="#727272" stroke-width=".265" stroke-linecap="round" stroke-linejoin="round"/></svg>

After

Width:  |  Height:  |  Size: 235 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 152 B

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 3.704 3.704"><path d="M1.455 1.455v.794l.794-.397z" fill="#727272" stroke="#727272" stroke-width=".265" stroke-linecap="round" stroke-linejoin="round"/></svg>

After

Width:  |  Height:  |  Size: 235 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 149 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 191 B

View File

@ -0,0 +1 @@
<svg:svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="0 0 16 16" height="16" width="16" y="0" x="0" id="Layer_1" version="1.1"><svg:metadata id="metadata9"><rdf:RDF><cc:Work><dc:format>image/svg+xml</dc:format><dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/><dc:title/></cc:Work></rdf:RDF></svg:metadata><svg:defs id="defs7"/><script/><svg:rect ry="2.884" rx="2.991" y="2.5" x="2.5" height="11" width="11" id="rect819" opacity="1" fill="none" fill-opacity="1" stroke="#373737" stroke-width="1" stroke-linecap="round" stroke-linejoin="miter" stroke-miterlimit="4" stroke-dasharray="none" stroke-dashoffset="0" stroke-opacity="1"/><svg:path id="path821" d="M 5,11 11,5" fill="none" stroke="#373737" stroke-width="2" stroke-linecap="round" stroke-linejoin="miter" stroke-miterlimit="4" stroke-dasharray="none" stroke-opacity="1"/><svg:path id="path821-3" d="M 11,11 5,5" fill="none" stroke="#373737" stroke-width="2" stroke-linecap="round" stroke-linejoin="miter" stroke-miterlimit="4" stroke-dasharray="none" stroke-opacity="1"/></svg:svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@ -1,59 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Generated by IcoMoon.io -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.1"
width="32"
height="32"
viewBox="0 0 32 32"
id="svg2"
inkscape:version="0.48.5 r10040"
sodipodi:docname="cross.svg">
<metadata
id="metadata10">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs8" />
<sodipodi:namedview
pagecolor="#000000"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1166"
inkscape:window-height="781"
id="namedview6"
showgrid="false"
inkscape:zoom="7.375"
inkscape:cx="16"
inkscape:cy="16"
inkscape:window-x="2297"
inkscape:window-y="104"
inkscape:window-maximized="0"
inkscape:current-layer="svg2"
inkscape:showpageshadow="true"
showborder="true" />
<path
d="M31.708 25.708c-0-0-0-0-0-0l-9.708-9.708 9.708-9.708c0-0 0-0 0-0 0.105-0.105 0.18-0.227 0.229-0.357 0.133-0.356 0.057-0.771-0.229-1.057l-4.586-4.586c-0.286-0.286-0.702-0.361-1.057-0.229-0.13 0.048-0.252 0.124-0.357 0.228 0 0-0 0-0 0l-9.708 9.708-9.708-9.708c-0-0-0-0-0-0-0.105-0.104-0.227-0.18-0.357-0.228-0.356-0.133-0.771-0.057-1.057 0.229l-4.586 4.586c-0.286 0.286-0.361 0.702-0.229 1.057 0.049 0.13 0.124 0.252 0.229 0.357 0 0 0 0 0 0l9.708 9.708-9.708 9.708c-0 0-0 0-0 0-0.104 0.105-0.18 0.227-0.229 0.357-0.133 0.355-0.057 0.771 0.229 1.057l4.586 4.586c0.286 0.286 0.702 0.361 1.057 0.229 0.13-0.049 0.252-0.124 0.357-0.229 0-0 0-0 0-0l9.708-9.708 9.708 9.708c0 0 0 0 0 0 0.105 0.105 0.227 0.18 0.357 0.229 0.356 0.133 0.771 0.057 1.057-0.229l4.586-4.586c0.286-0.286 0.362-0.702 0.229-1.057-0.049-0.13-0.124-0.252-0.229-0.357z"
id="path4"
style="fill:#ffffff"
/>
</svg>

Before

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1008 B

View File

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg:svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xml:space="preserve"
viewBox="0 0 16 16"
height="16"
width="16"
y="0"
x="0"
id="Layer_1"
version="1.1"><svg:metadata
id="metadata9"><rdf:RDF><cc:Work><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></svg:metadata><svg:defs
id="defs7" /><script /><svg:rect
style="opacity:1;fill:#0f6e00;fill-opacity:1;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
stroke-miterlimit="4"
y="0"
x="0"
height="16"
width="16"
id="rect819" /></svg:svg>

After

Width:  |  Height:  |  Size: 964 B

View File

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg:svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xml:space="preserve"
viewBox="0 0 16 16"
height="16"
width="16"
y="0"
x="0"
id="Layer_1"
version="1.1"><svg:metadata
id="metadata9"><rdf:RDF><cc:Work><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></svg:metadata><svg:defs
id="defs7" /><script /><svg:rect
style="opacity:1;fill:#535353;fill-opacity:1;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
stroke-miterlimit="4"
y="0"
x="0"
height="16"
width="16"
id="rect819" /></svg:svg>

After

Width:  |  Height:  |  Size: 964 B

View File

@ -0,0 +1,48 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg:svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.1"
id="Layer_1"
x="0"
y="0"
width="16"
height="16"
viewBox="0 0 16 16"
xml:space="preserve"
sodipodi:docname="qradiobox-checked.svg"
inkscape:version="0.92.3 (2405546, 2018-03-11)"><svg:metadata
id="metadata9"><rdf:RDF><cc:Work><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title /></cc:Work></rdf:RDF></svg:metadata><svg:defs
id="defs7" /><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1869"
inkscape:window-height="1053"
id="namedview5"
showgrid="true"
inkscape:zoom="41.724957"
inkscape:cx="8.4660539"
inkscape:cy="7.83762"
inkscape:window-x="51"
inkscape:window-y="27"
inkscape:window-maximized="1"
inkscape:current-layer="Layer_1"><inkscape:grid
type="xygrid"
id="grid823" /></sodipodi:namedview><script /><svg:circle
style="opacity:1;vector-effect:none;fill:#0f6e00;fill-opacity:1;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="path814"
cx="8"
cy="8"
stroke-miterlimit="4"
r="8" /></svg:svg>

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@ -0,0 +1,48 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg:svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.1"
id="Layer_1"
x="0"
y="0"
width="16"
height="16"
viewBox="0 0 16 16"
xml:space="preserve"
sodipodi:docname="qradiobox-unchecked.svg"
inkscape:version="0.92.3 (2405546, 2018-03-11)"><svg:metadata
id="metadata9"><rdf:RDF><cc:Work><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></svg:metadata><svg:defs
id="defs7" /><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1869"
inkscape:window-height="1053"
id="namedview5"
showgrid="true"
inkscape:zoom="41.724957"
inkscape:cx="8.4660539"
inkscape:cy="7.83762"
inkscape:window-x="51"
inkscape:window-y="27"
inkscape:window-maximized="1"
inkscape:current-layer="Layer_1"><inkscape:grid
type="xygrid"
id="grid823" /></sodipodi:namedview><script /><svg:circle
style="opacity:1;vector-effect:none;fill:#535353;fill-opacity:1;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="path814"
cx="8"
cy="8"
stroke-miterlimit="4"
r="8" /></svg:svg>

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 990 B

View File

@ -1,30 +1,31 @@
QToolTip
{
border: 1px solid #222;
background-color: #333;
color: @text;
background-color: @itemdarkbackground;
color: @itembackground;
}
QWidget
QWindow, QMainWindow, QWidget
{
color: @text;
background-color: @background;
}
QWidget:item:hover
{
background-color: #507098;
background-color: @selection;
color: @text;
}
QWidget:item:selected
{
background-color: #507098;
background-color: @selection;
color: @text;
}
QMenuBar {
background-color: @background;
color: @text;
}
QMenuBar::item
@ -34,42 +35,37 @@ QMenuBar::item
QMenuBar::item:selected
{
/*
background: transparent;
border: 1px solid @hover;
*/
background: #444;
background: @background;
color: @text;
}
QMenuBar::item:pressed
{
border: 1px solid #000;
background-color: #444;
margin-bottom:-1px;
padding-bottom:1px;
background: @background;
color: @text;
}
QAbstractSpinBox {
padding-right: 0px; /* make room for the arrows */
padding: 3px 0px 3px 3px;
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);
}
border-radius:0px;
background-color: @darkgradient;
color:@text;
}
QAbstractSpinBox::up-button {
QAbstractSpinBox::up-button {
subcontrol-origin: border;
subcontrol-position: top right;
subcontrol-position: top right;
width: 16px;
image: url(@theme_path/icons/arrow-up.svg);
}
width: 16px;
image: url(@theme_path/icons/up_arrow.png) 1;
}
QAbstractSpinBox::down-button {
subcontrol-origin: border;
subcontrol-position: bottom right;
width: 16px;
image: url(@theme_path/icons/down_arrow.png);
}
QAbstractSpinBox::down-button {
subcontrol-origin: border;
subcontrol-position: bottom right;
width: 16px;
image: url(@theme_path/icons/arrow-down.svg);
}
/* ==================================================================================== */
@ -100,7 +96,7 @@ QMenu::item:disabled
QMenu::item:selected
{
background-color: #507098;
background-color: @selection;
color: @text;
}
@ -112,33 +108,43 @@ QWidget:disabled
QLineEdit
{
padding: 1px;
padding: 3px;
border: 1px solid #111;
background-color: #888;
color: #111;
}
QTextEdit, QPlainTextEdit
{
padding: 3px;
border-width: 1px;
border-color: @itemdarkbackground;
border-style: solid;
border-radius: 0px;
background-color:@itembackground;
color:@text;
}
QPushButton
{
color: #b1b1b1;
border-width: 1px;
border-color: #1e1e1e;
border-style: solid;
padding: 3px;
font-size: 12px;
padding-left: 5px;
padding-right: 5px;
border-width: 1px;
border-color: @itembackground;
border-style: solid;
border-radius: 0px;
background-color:@background;
color:@text;
}
QToolButton
{
color: #b1b1b1;
padding: 3px 5px 3px 5px;
font-size: 12px;
padding: 2px;
border-width: 1px;
border-color: #1e1e1e;
border-color: @itembackground;
border-style: solid;
background-color:@itembackground;
border-radius: 0px;
background-color:@itemdarkbackground;
color:@text;
}
QToolButton[popupMode="1"]
{
@ -148,22 +154,28 @@ QToolButton::menu-button {
width: 14px;
border-width: 1px;
border-color: none;
background: none;
border-radius: 0px;
background:@itemdarkbackground;
}
QToolButton::hover, QToolButton::menu-button::hover
{
border-width: 1px;
border-color: #1e1e1e;
border-style: solid;
background-color:@itembackground;
border-radius: 0px;
background-color: none;
}
QToolButton:checked
{
border: 1px solid @focus;
}
QToolButton::menu-arrow
{
image: url(@theme_path/icons/down_arrow.png);
image: url(@theme_path/icons/arrow-down.svg);
}
QToolBar QToolButton, QToolButton::menu-button
{
border:0;
border-color: rgba(0,0,0,0);
background-color: none;
}
@ -172,21 +184,18 @@ QToolBar QToolButton, QToolButton::menu-button
/* ==================================================================================== */
QComboBox {
selection-background-color: @hover;
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);
selection-background-color: @selection;
background-color: @darkgradient;
color:@text;
border-style: solid;
border: 1px solid #1e1e1e;
padding: 3px 3px 3px 3px;
border-radius: 0px;
padding: 3px;
}
QComboBox:hover,QPushButton:hover {
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);
QComboBox:hover,QPushButton:hover,QToolButton:hover,QAbstractSpinBox:hover {
background-color: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #565656,stop: 1 #464646);
}
QComboBox:on {
@ -198,40 +207,49 @@ QComboBox:on {
stop: 0.5 #464646,
stop: 0.9 #414141,
stop: 1 #444);
selection-background-color: @hover;
selection-background-color: @selection;
}
QComboBox:editable {
background: @background;
background-color: @darkgradient;
}
QComboBox:editable QLineEdit {
border-color: @itemdarkbackground;
background-color: @itemdarkbackground;
color:@text;
}
QComboBox QAbstractItemView {
border: 1px solid #222;
selection-background-color: #507098;
QComboBox QAbstractItemView, QComboBox QListView {
border: none;
border-radius: 0px;
padding: 3px;
background: @itemdarkbackground;
color: @text;
selection-background-color: @selection;
selection-color: @text;
}
QComboBox::drop-down {
subcontrol-origin: padding;
subcontrol-position: top right;
width: 15px;
border: 0px;
}
}
QComboBox::down-arrow
{
image: url(@theme_path/icons/down_arrow.png);
image: url(@theme_path/icons/arrow-down.svg);
}
QLineEdit:focus
{
border: 2px solid QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #ffa02f, stop: 1 #d7801a);
border: 1px solid @focus;
}
QTextEdit:focus
{
border: 2px solid QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #ffa02f, stop: 1 #d7801a);
border: 1px solid @focus;
}
/* ==================================================================================== */
@ -274,16 +292,6 @@ QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
}
QTextEdit
{
background-color: #242424;
}
QPlainTextEdit
{
background-color: #242424;
}
QSizeGrip
{
width: 1px;
@ -292,13 +300,13 @@ QSizeGrip
QHeaderView::section
{
/*background-color: QLinearGradient(x1:0, y1:0, x2:0, y2:1, stop:0 #616161, stop: 0.5 #505050, stop: 0.6 #434343, stop:1 #656565);*/
color: white;
color: @text;
padding-left: 4px;
border: 1px solid #6c6c6c;
}
QDockWidget
{
titlebar-close-icon: url(@theme_path/icons/cross.svg);
titlebar-close-icon: url(@theme_path/icons/close.svg);
}
QDockWidget::separator
@ -352,7 +360,6 @@ QMainWindow::separator:hover
QToolBar {
background: @background;
border: 1px solid @background;
font-weight: bold;
}
QToolBar::handle:horizontal
@ -378,10 +385,8 @@ QToolBar::separator:vertical
QMenu::separator
{
height: 2px;
/*
background-color: QLinearGradient(x1:0, y1:0, x2:0, y2:1, stop:0 #161616, stop: 0.5 #151515, stop: 0.6 #212121, stop:1 #343434);
*/
color: white;
border:none;
border-bottom:1px solid @itemdarkbackground;
padding-left: 4px;
margin-left: 10px;
margin-right: 5px;
@ -395,15 +400,15 @@ QProgressBar
QProgressBar::chunk
{
background-color: #d7801a;
width: 2.15px;
margin: 0.5px;
background-color: @focus;
width: 3px;
margin: 1px;
}
QTabBar::tab {
color: #b1b1b1;
border: 1px solid #444;
border-bottom-style: none;
color: @text;
border: 1px solid @itemdarkbackground;
border-bottom: none;
background-color: @background;
padding-left: 10px;
padding-right: 10px;
@ -412,11 +417,6 @@ QTabBar::tab {
margin-right: -1px;
}
QTabWidget::pane {
border: 1px solid #444;
top: 1px;
}
QTabBar::tab:last
{
margin-right: 0; /* the last selected tab has nothing to overlap with on the right */
@ -428,7 +428,8 @@ QTabBar::tab:first:!selected
}
QTabBar::tab:bottom {
border-bottom: 1px solid rgb(190, 190, 190);
border-top: none;
border-bottom: 1px solid @itemdarkbackground;
}
QTabBar::tab:!selected
@ -443,7 +444,7 @@ QTabBar::tab:selected
QTabBar::tab:!selected:hover
{
/*border-top: 2px solid @hover;
/*border-top: 2px solid @selection;
padding-bottom: 3px;*/
/*background-color: QLinearGradient(x1:0, y1:0, x2:0, y2:1, stop:1 #212121, stop:0.4 #343434, stop:0.2 #343434, stop:0.1 #ffaa00);*/
}
@ -452,34 +453,39 @@ QGroupBox::indicator:hover,
QCheckBox::indicator:hover,
QRadioButton::indicator:hover
{
border: 1px solid @hover;
border: 1px solid @selection;
}
/* ==================================================================================== */
/* GROUP */
/* ==================================================================================== */
QGroupBox::title { color:#FFFFFF; }
QGroupBox::title {
color: @textlight;
}
QGroupBox::indicator:unchecked {
background-color: @toggleoff;
border: 1px solid @background;
image: url(@theme_path/icons/qcheckbox-unchecked.svg);
}
QGroupBox::indicator:checked {
background-color: @toggleon;
border: 1px solid @background;
image: url(@theme_path/icons/qcheckbox-checked.svg);
}
/* ==================================================================================== */
/* RADIO BUTTON */
/* ==================================================================================== */
QRadioButton::indicator:unchecked {
background-color: @toggleoff;
border-radius:10px;
border: 1px solid @background;
image: url(@theme_path/icons/qradiobox-unchecked.svg);
}
QRadioButton::indicator:checked {
background-color: @toggleon;
border-radius:10px;
border: 1px solid @background;
image: url(@theme_path/icons/qradiobox-checked.svg);
}
/* ==================================================================================== */
@ -487,11 +493,13 @@ QRadioButton::indicator:checked {
/* ==================================================================================== */
QCheckBox::indicator:unchecked {
background-color: @toggleoff;
border: 1px solid @background;
image: url(@theme_path/icons/qcheckbox-unchecked.svg);
}
QCheckBox::indicator:checked {
background-color: @toggleon;
border: 1px solid @background;
image: url(@theme_path/icons/qcheckbox-checked.svg);
}
/* ==================================================================================== */
@ -500,7 +508,7 @@ QCheckBox::indicator:checked {
QSlider::groove:horizontal,
QSlider::groove:vertical {
border: 1px solid #262626;
border: 1px solid @itemdarkbackground;
height: 8px; /* the groove expands to the size of the slider by default. by giving it a height, it has a fixed size */
background-color: @itembackground;
margin: 2px 0;
@ -508,75 +516,75 @@ QSlider::groove:vertical {
QSlider::handle:horizontal {
background: qlineargradient(x1:0, y1:0, x2:1, y2:1, stop:0 #b4b4b4, stop:1 #8f8f8f);
border: 1px solid #5c5c5c;
border: 1px solid itemdarkbackground;
width: 18px;
margin: -2px 0; /* handle is placed by default on the contents rect of the groove. Expand outside the groove */
border-radius: 3px;
border-radius: 0px;
}
QSlider::handle:vertical {
background: qlineargradient(x1:0, y1:0, x2:1, y2:1, stop:0 #b4b4b4, stop:1 #8f8f8f);
border: 1px solid #5c5c5c;
border: 1px solid itemdarkbackground;
height: 18px;
margin: -2px 0; /* handle is placed by default on the contents rect of the groove. Expand outside the groove */
border-radius: 3px;
border-radius: 0px;
}
/* ==================================================================================== */
/* OTHER */
/* ==================================================================================== */
QAbstractItemView
QAbstractItemView, QListView
{
background-color: #222;
alternate-background-color: @background;
color: silver;
border: none;
border-radius: 3px;
padding: 1px;
background-color: @itembackground;
alternate-background-color: @itemalternativebackground;
color: @text;
border: none;
border-radius: 0px;
padding: 1px;
selection-color: @text;
selection-background-color: @selection;
}
QAbstractItemView::selected {
QAbstractItemView::selected, QListView::selected {
border: 0px;
outline: none;
}
/* ==================================================================================== */
/* TREE VIEW */
/* ==================================================================================== */
QTreeView {
border: 0.5px solid rgba(108,108,108,75);
border: 1px solid @itemdarkbackground;
alternate-background-color: @itemalternativebackground;
}
QTreeView::item, QTreeView::branch {
background: transparent;
color: #DDD;
color: @textlight;
}
QTreeView::item:hover, QTreeView::branch:hover {
background-color: @toggleoff;
color: #DDD;
color: @itembackground;
}
QTreeView::item:selected, QTreeView::branch:selected {
background-color: @selection;
color: #DDD;
color: @textlight;
}
QTreeView::branch:has-children:!has-siblings:closed,
QTreeView::branch:closed:has-children:has-siblings {
border-image: none;
image: url(@theme_path/icons/caret-right_ffffff_14.png);
image: url(@theme_path/icons/caret-right.svg);
}
QTreeView::branch:open:has-children:!has-siblings,
QTreeView::branch:open:has-children:has-siblings {
border-image: none;
image: url(@theme_path/icons/caret-down_ffffff_14.png);
}
QgsLayerTreeView
{
image: url(@theme_path/icons/caret-down.svg);
}
QgsLayerTreeView::item,
@ -586,7 +594,7 @@ QTreeView#viewRules::item
{
border-top: 0.5px solid rgba(108,108,108,50);
border-bottom: 0.5px solid rgba(108,108,108,50);
padding: 3px;
padding: 1px 0px 1px 0px;
}
QgsLayerTreeView::indicator:unchecked,
@ -609,14 +617,41 @@ QTreeView#viewRules::indicator:checked
/* TABLE VIEW */
/* ==================================================================================== */
QHeaderView {
QTableView {
color: @text;
}
QHeaderView::section {
background: transparent;
background-color: @background;
color: #777;
border-right: 0px solid #777;
border-top: 0px solid #777;
color: @text;
border-right: 1px solid @itemdarkbackground;
padding: 0 0 2px 3px
}
/* ==================================================================================== */
/* QGIS-SPECIFIC TWEAKS */
/* ==================================================================================== */
QgsColorButton, QgsColorRampButton, QgsSymbolButton, QgsFontButton {
background-color: @darkgradient;
}
QgsMessageBar QLabel, QgsMessageBar QTextEdit, QMessageBar QToolButton, QMessageBar QToolButton::menu-button {
background: transparent;
border: none;
padding: 0px;
}
QgsPropertyOverrideButton {
padding: 0px;
}
QListWidget#mOptionsListWidget {
background-color: @itembackground;
color: @text;
}
QListWidget#mOptionsListWidget::item {
padding: 3px;
}

View File

@ -1,7 +1,11 @@
@background: #323232
@itembackground: #535353
@text: #aaa;
@itembackground: #222
@itemalternativebackground: #9a9a9a
@itemdarkbackground: #535353
@darkgradient: 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)
@textlight: #ddd
@text: #aaa
@toggleoff: #535353
@toggleon: #0f6e00
@hover: #0d7200
@selection: #0f6e00
@focus: #d7801a