Browse Source

theme: remove v_material theme for its lack of maintenance

Le Tan 7 years ago
parent
commit
87c85ce686
30 changed files with 0 additions and 2154 deletions
  1. 0 9
      src/resources/themes/v_material/arrow_dropdown.svg
  2. 0 8
      src/resources/themes/v_material/branch_closed.svg
  3. 0 7
      src/resources/themes/v_material/branch_end.svg
  4. 0 7
      src/resources/themes/v_material/branch_more.svg
  5. 0 8
      src/resources/themes/v_material/branch_open.svg
  6. 0 7
      src/resources/themes/v_material/checkbox_checked.svg
  7. 0 6
      src/resources/themes/v_material/checkbox_unchecked.svg
  8. 0 10
      src/resources/themes/v_material/close.svg
  9. 0 10
      src/resources/themes/v_material/close_grey.svg
  10. 0 8
      src/resources/themes/v_material/down.svg
  11. 0 8
      src/resources/themes/v_material/down_disabled.svg
  12. 0 12
      src/resources/themes/v_material/float.svg
  13. 0 8
      src/resources/themes/v_material/left.svg
  14. 0 8
      src/resources/themes/v_material/left_disabled.svg
  15. 0 6
      src/resources/themes/v_material/line.svg
  16. 0 6
      src/resources/themes/v_material/menu_checkbox.svg
  17. 0 6
      src/resources/themes/v_material/menu_radiobutton.svg
  18. 0 7
      src/resources/themes/v_material/radiobutton_checked.svg
  19. 0 6
      src/resources/themes/v_material/radiobutton_unchecked.svg
  20. 0 8
      src/resources/themes/v_material/right.svg
  21. 0 8
      src/resources/themes/v_material/right_disabled.svg
  22. 0 8
      src/resources/themes/v_material/up.svg
  23. 0 8
      src/resources/themes/v_material/up_disabled.svg
  24. 0 245
      src/resources/themes/v_material/v_material.css
  25. 0 172
      src/resources/themes/v_material/v_material.mdhl
  26. 0 310
      src/resources/themes/v_material/v_material.palette
  27. 0 1122
      src/resources/themes/v_material/v_material.qss
  28. 0 96
      src/resources/themes/v_material/v_material_codeblock.css
  29. 0 2
      src/vconfigmanager.cpp
  30. 0 28
      src/vnote.qrc

+ 0 - 9
src/resources/themes/v_material/arrow_dropdown.svg

@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Generator: Adobe Illustrator 16.2.1, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
-	 width="512px" height="512px" viewBox="0 0 512 512" enable-background="new 0 0 512 512" xml:space="preserve">
-<g>
-	<polygon  fill="#E0E0E0" points="128,192 256,320 384,192 	"/>
-</g>
-</svg>

+ 0 - 8
src/resources/themes/v_material/branch_closed.svg

@@ -1,8 +0,0 @@
-<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
- <g>
-  <title>Layer 1</title>
-  <g transform="rotate(-90 256.00000000000006,256) " id="svg_1">
-   <polygon fill="#E0E0E0" id="svg_2" points="128,192 256,320 384,192  "/>
-  </g>
- </g>
-</svg>

+ 0 - 7
src/resources/themes/v_material/branch_end.svg

@@ -1,7 +0,0 @@
-<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
- <g>
-  <title>Layer 2</title>
-  <rect stroke="null" fill="#E0E0E0" stroke-width="null" stroke-dasharray="null" stroke-linejoin="null" stroke-linecap="null" x="225.3" y="0.100029" width="51" height="281.537138" id="svg_3"/>
-  <rect fill="#E0E0E0" stroke-width="null" stroke-dasharray="null" stroke-linejoin="null" stroke-linecap="null" x="346.499997" y="116.499998" width="51" height="278.999996" id="svg_6" transform="rotate(90 372,256.00000000000006) " stroke="null"/>
- </g>
-</svg>

+ 0 - 7
src/resources/themes/v_material/branch_more.svg

@@ -1,7 +0,0 @@
-<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
- <g>
-  <title>Layer 2</title>
-  <rect stroke="null" fill="#E0E0E0" stroke-width="null" stroke-dasharray="null" stroke-linejoin="null" stroke-linecap="null" x="225.3" y="0.100029" width="51" height="511.910139" id="svg_3"/>
-  <rect fill="#E0E0E0" stroke-width="null" stroke-dasharray="null" stroke-linejoin="null" stroke-linecap="null" x="346.499997" y="116.499998" width="51" height="278.999996" id="svg_6" transform="rotate(90 372,256.00000000000006) " stroke="null"/>
- </g>
-</svg>

+ 0 - 8
src/resources/themes/v_material/branch_open.svg

@@ -1,8 +0,0 @@
-<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
- <g>
-  <title>Layer 1</title>
-  <g id="svg_1">
-   <polygon fill="#E0E0E0" id="svg_2" points="128,192 256,320 384,192  "/>
-  </g>
- </g>
-</svg>

+ 0 - 7
src/resources/themes/v_material/checkbox_checked.svg

@@ -1,7 +0,0 @@
-<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
- <g>
-  <title>Layer 1</title>
-  <rect id="svg_6" fill-opacity="0" height="299" width="299" y="106.5" x="106.5" stroke-linecap="null" stroke-linejoin="null" stroke-dasharray="null" stroke-width="30" stroke="#E0E0E0" fill="#000000"/>
-  <path stroke-opacity="0" id="svg_3" d="m126,243.24589l27.93756,-27.94743l76.53449,76.52461l127.58052,-127.54102l27.94743,27.92768l-155.52795,155.50821" stroke-width="5" fill="#E0E0E0" stroke="#000000"/>
- </g>
-</svg>

+ 0 - 6
src/resources/themes/v_material/checkbox_unchecked.svg

@@ -1,6 +0,0 @@
-<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
- <g>
-  <title>Layer 1</title>
-  <rect id="svg_6" fill-opacity="0" height="299" width="299" y="106.5" x="106.5" stroke-linecap="null" stroke-linejoin="null" stroke-dasharray="null" stroke-width="30" stroke="#E0E0E0" fill="#000000"/>
- </g>
-</svg>

+ 0 - 10
src/resources/themes/v_material/close.svg

@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Generator: Adobe Illustrator 16.2.1, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
-	 width="512px" height="512px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">
-<path d="M443.6,387.1L312.4,255.4l131.5-130c5.4-5.4,5.4-14.2,0-19.6l-37.4-37.6c-2.6-2.6-6.1-4-9.8-4c-3.7,0-7.2,1.5-9.8,4
-	L256,197.8L124.9,68.3c-2.6-2.6-6.1-4-9.8-4c-3.7,0-7.2,1.5-9.8,4L68,105.9c-5.4,5.4-5.4,14.2,0,19.6l131.5,130L68.4,387.1
-	c-2.6,2.6-4.1,6.1-4.1,9.8c0,3.7,1.4,7.2,4.1,9.8l37.4,37.6c2.7,2.7,6.2,4.1,9.8,4.1c3.5,0,7.1-1.3,9.8-4.1L256,313.1l130.7,131.1
-	c2.7,2.7,6.2,4.1,9.8,4.1c3.5,0,7.1-1.3,9.8-4.1l37.4-37.6c2.6-2.6,4.1-6.1,4.1-9.8C447.7,393.2,446.2,389.7,443.6,387.1z"/>
-</svg>

+ 0 - 10
src/resources/themes/v_material/close_grey.svg

@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Generator: Adobe Illustrator 16.2.1, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
-	 width="512px" height="512px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">
-<path style="fill:#9E9E9E" d="M443.6,387.1L312.4,255.4l131.5-130c5.4-5.4,5.4-14.2,0-19.6l-37.4-37.6c-2.6-2.6-6.1-4-9.8-4c-3.7,0-7.2,1.5-9.8,4
-	L256,197.8L124.9,68.3c-2.6-2.6-6.1-4-9.8-4c-3.7,0-7.2,1.5-9.8,4L68,105.9c-5.4,5.4-5.4,14.2,0,19.6l131.5,130L68.4,387.1
-	c-2.6,2.6-4.1,6.1-4.1,9.8c0,3.7,1.4,7.2,4.1,9.8l37.4,37.6c2.7,2.7,6.2,4.1,9.8,4.1c3.5,0,7.1-1.3,9.8-4.1L256,313.1l130.7,131.1
-	c2.7,2.7,6.2,4.1,9.8,4.1c3.5,0,7.1-1.3,9.8-4.1l37.4-37.6c2.6-2.6,4.1-6.1,4.1-9.8C447.7,393.2,446.2,389.7,443.6,387.1z"/>
-</svg>

+ 0 - 8
src/resources/themes/v_material/down.svg

@@ -1,8 +0,0 @@
-<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
- <g>
-  <title>Layer 1</title>
-  <g transform="null" id="svg_1">
-   <polygon points="128,192 256,320 384,192  " id="svg_2" fill="#333333"/>
-  </g>
- </g>
-</svg>

+ 0 - 8
src/resources/themes/v_material/down_disabled.svg

@@ -1,8 +0,0 @@
-<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
- <g>
-  <title>Layer 1</title>
-  <g transform="null" id="svg_1">
-   <polygon points="128,192 256,320 384,192  " id="svg_2" fill="#C0C0C0"/>
-  </g>
- </g>
-</svg>

+ 0 - 12
src/resources/themes/v_material/float.svg

@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Generator: Adobe Illustrator 16.2.1, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
-	 width="512px" height="512px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">
-<g>
-	<path d="M64,144v304h303.9V144H64z M351.9,432H80V160h271.9V432z"/>
-	<g>
-		<polygon points="448,64 144,64 144,128 160,128 160,80 432,80 432,352 384,352 384,368 448,368 		"/>
-	</g>
-</g>
-</svg>

+ 0 - 8
src/resources/themes/v_material/left.svg

@@ -1,8 +0,0 @@
-<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
- <g>
-  <title>Layer 1</title>
-  <g transform="rotate(90 255.99999999999997,256.00000000000006) " id="svg_1">
-   <polygon points="128,192 256,320 384,192  " id="svg_2" fill="#333333"/>
-  </g>
- </g>
-</svg>

+ 0 - 8
src/resources/themes/v_material/left_disabled.svg

@@ -1,8 +0,0 @@
-<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
- <g>
-  <title>Layer 1</title>
-  <g transform="rotate(90 255.99999999999997,256.00000000000006) " id="svg_1">
-   <polygon points="128,192 256,320 384,192  " id="svg_2" fill="#C0C0C0"/>
-  </g>
- </g>
-</svg>

+ 0 - 6
src/resources/themes/v_material/line.svg

@@ -1,6 +0,0 @@
-<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
- <g>
-  <title>Layer 2</title>
-  <rect stroke="null" id="svg_3" height="510.999989" width="51" y="0.100029" x="225.3" stroke-linecap="null" stroke-linejoin="null" stroke-dasharray="null" stroke-width="null" fill="#E0E0E0"/>
- </g>
-</svg>

+ 0 - 6
src/resources/themes/v_material/menu_checkbox.svg

@@ -1,6 +0,0 @@
-<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
- <g>
-  <title>Layer 1</title>
-  <path stroke-opacity="0" id="svg_3" d="m126,243.24589l27.93756,-27.94743l76.53449,76.52461l127.58052,-127.54102l27.94743,27.92768l-155.52795,155.50821" stroke-width="5" fill="#333333" stroke="#000000"/>
- </g>
-</svg>

+ 0 - 6
src/resources/themes/v_material/menu_radiobutton.svg

@@ -1,6 +0,0 @@
-<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
- <g>
-  <title>Layer 1</title>
-  <circle fill="#333333" stroke="#000000" stroke-width="20" stroke-dasharray="null" stroke-linejoin="null" stroke-linecap="null" stroke-opacity="0" cx="257.00002" cy="256" r="83.2406" id="svg_11"/>
- </g>
-</svg>

+ 0 - 7
src/resources/themes/v_material/radiobutton_checked.svg

@@ -1,7 +0,0 @@
-<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
- <g>
-  <title>Layer 1</title>
-  <circle fill="#000000" stroke-width="30" stroke-dasharray="null" stroke-linejoin="null" stroke-linecap="null" fill-opacity="0" cx="256.00001" cy="256.00001" r="142.96561" id="svg_9" stroke="#333333"/>
-  <circle fill="#333333" stroke="#000000" stroke-width="20" stroke-dasharray="null" stroke-linejoin="null" stroke-linecap="null" stroke-opacity="0" cx="256.00002" cy="256" r="83.2406" id="svg_11"/>
- </g>
-</svg>

+ 0 - 6
src/resources/themes/v_material/radiobutton_unchecked.svg

@@ -1,6 +0,0 @@
-<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
- <g>
-  <title>Layer 1</title>
-  <circle fill="#000000" stroke-width="30" stroke-dasharray="null" stroke-linejoin="null" stroke-linecap="null" fill-opacity="0" cx="256.00001" cy="256.00001" r="142.96561" id="svg_9" stroke="#333333"/>
- </g>
-</svg>

+ 0 - 8
src/resources/themes/v_material/right.svg

@@ -1,8 +0,0 @@
-<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
- <g>
-  <title>Layer 1</title>
-  <g transform="rotate(-90 256.00000000000006,256) " id="svg_1">
-   <polygon fill="#333333" id="svg_2" points="128,192 256,320 384,192  "/>
-  </g>
- </g>
-</svg>

+ 0 - 8
src/resources/themes/v_material/right_disabled.svg

@@ -1,8 +0,0 @@
-<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
- <g>
-  <title>Layer 1</title>
-  <g transform="rotate(-90 256.00000000000006,256) " id="svg_1">
-   <polygon fill="#C0C0C0" id="svg_2" points="128,192 256,320 384,192  "/>
-  </g>
- </g>
-</svg>

+ 0 - 8
src/resources/themes/v_material/up.svg

@@ -1,8 +0,0 @@
-<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
- <g>
-  <title>Layer 1</title>
-  <g transform="rotate(180 255.99999999999997,256) " id="svg_1">
-   <polygon points="128,192 256,320 384,192  " id="svg_2" fill="#333333"/>
-  </g>
- </g>
-</svg>

+ 0 - 8
src/resources/themes/v_material/up_disabled.svg

@@ -1,8 +0,0 @@
-<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
- <g>
-  <title>Layer 1</title>
-  <g transform="rotate(180 255.99999999999997,256) " id="svg_1">
-   <polygon points="128,192 256,320 384,192  " id="svg_2" fill="#C0C0C0"/>
-  </g>
- </g>
-</svg>

+ 0 - 245
src/resources/themes/v_material/v_material.css

@@ -1,245 +0,0 @@
-body {
-    margin: 0 auto;
-    font-family: "Microsoft YaHei", "ubuntu", "Tahoma", arial, sans-serif;
-    color: rgb(238, 255, 255);
-    background: rgb(38, 50, 56);
-    line-height: 1;
-    padding: 30px;
-}
-
-img {
-    max-width: 100%;
-}
-
-@media screen and (min-width: 1000px) {
-    body {
-        width: 842px;
-        margin: 10px auto;
-    }
-
-}
-
-h1, h2, h3, h4, h5 {
-    font-family: "Microsoft YaHei", "ubuntu", "Tahoma", arial, sans-serif;
-    font-weight: 400;
-    margin-top: 1em;
-    color: rgb(171, 232, 141);
-}
-
-h1, h2, h3, h4, h5, dl {
-    margin-bottom: 16px;
-    padding: 0;
-}
-
-p {
-    margin-top: 8px;
-    margin-bottom: 3px;
-}
-
-h1 {
-    font-size: 32px;
-    line-height: 54px;
-}
-
-h1:before {
-    content: '# ';
-}
-
-h2 {
-    font-size: 30px;
-    line-height: 42px;
-}
-
-h2:before {
-    content: '## ';
-}
-
-h1, h2 {
-    padding-bottom: 10px;
-}
-
-h3 {
-    font-size: 24px;
-    line-height: 30px;
-}
-
-h3:before {
-    content: '### ';
-}
-
-h4 {
-    font-size: 20px;
-    line-height: 26px;
-}
-
-h4:before {
-    content: '#### ';
-}
-
-h5 {
-    font-size: 18px;
-    line-height: 23px;
-}
-
-h5:before {
-    content: '##### ';
-}
-
-a {
-    color: rgb(247, 140, 108);
-    margin: 0 2px;
-    padding: 0;
-    vertical-align: baseline;
-}
-
-a:hover {
-
-    color: #0099ff;
-}
-
-ul, ol {
-    padding: 0;
-    padding-left: 18px;
-    margin: 0;
-}
-
-li {
-    line-height: 24px;
-}
-
-p, ul, ol {
-    font-size: 16px;
-    line-height: 24px;
-}
-
-ol ol, ul ol {
-    list-style-type: lower-roman;
-}
-
-strong {
-    color: rgb(240, 113, 120);
-}
-
-i {
-    color: rgb(240, 113, 120);
-}
-
-pre {
-    line-height: 1.7em;
-    overflow: auto;
-    padding: 6px 10px;
-    /*border-left: 2px solid #6CE26C;*/
-
-}
-
-pre code {
-
-    font-family: Consolas, Monaco, Andale Mono, monospace;
-    border: 0;
-    background: rgb(26, 34, 38);
-    display: inline;
-    max-width: initial;
-    padding: 0;
-    margin: 0;
-    overflow: initial;
-    line-height: 1.6em;
-    font-size: .95em;
-    white-space: pre;
-
-}
-
-:not(pre) code {
-    border: none;
-    padding: 1px 3px;
-    color: #c792ea;
-
-}
-
-aside {
-    display: block;
-    float: right;
-    width: 390px;
-}
-
-blockquote {
-    position: relative;
-    color: rgb(101, 170, 255);
-    font-style: italic;
-    font-weight: 300;
-    background: rgb(26, 34, 38);
-    border-left: 4px solid rgb(101, 115, 126);
-    padding-left: 1em;
-
-}
-
-blockquote cite {
-    font-size: 14px;
-    line-height: 20px;
-    color: #bfbfbf;
-}
-
-blockquote cite:before {
-    content: '\2014 \00A0';
-}
-
-hr {
-    text-align: left;
-    color: #999;
-    height: 2px;
-    padding: 0;
-    margin: 16px 0;
-    background-color: #e7e7e7;
-    border: 0 none;
-}
-
-dl {
-    padding: 0;
-}
-
-dl dt {
-    padding: 10px 0;
-    margin-top: 16px;
-    font-size: 1em;
-    font-style: italic;
-    font-weight: bold;
-}
-
-dl dd {
-    padding: 0 16px;
-    margin-bottom: 16px;
-}
-
-dd {
-    margin-left: 0;
-}
-
-table {
-    *border-collapse: collapse; /* IE7 and lower */
-    border-spacing: 0;
-    width: 100%;
-    border: 1px solid #eeffff;
-    margin: 0px;
-    padding: 5px 10px;
-    font-weight: bold;
-}
-
-pre table {
-    border: 0;
-}
-
-::-webkit-scrollbar-track {
-    /*-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);*/
-    background-color: #263238;
-    border-radius: 10px;
-}
-
-::-webkit-scrollbar {
-    width: 10px;
-    background-color: #263238;
-}
-
-::-webkit-scrollbar-thumb {
-    background-color: #1a2226;
-    border-radius: 10px;
-}
-

+ 0 - 172
src/resources/themes/v_material/v_material.mdhl

@@ -1,172 +0,0 @@
-# This is the default markdown styles used for Peg-Markdown-Highlight
-# created by Le Tan([email protected]).
-# For a complete description of the syntax, please refer to the original
-# documentation of the style parser
-# [The Syntax of PEG Markdown Highlight Stylesheets](http://hasseg.org/peg-markdown-highlight/docs/stylesheet_syntax.html).
-# VNote adds some styles in the syntax which will be marked [VNote] in the comment.
-#
-# Note: Empty lines within a section is NOT allowed.
-# Note: Do NOT modify this file directly. Copy it and tune your own style!
-
-editor
-foreground: eeffff
-background: 263238
-caret: FFCC00
-# QTextEdit just choose the first available font, so specify the Chinese fonts first
-# Do not use "" to quote the name
-font-family: Hiragino Sans GB, 冬青黑体, Microsoft YaHei, 微软雅黑, Microsoft YaHei UI, WenQuanYi Micro Hei, 文泉驿雅黑, Dengxian, 等线体, STXihei, 华文细黑, Liberation Sans, Droid Sans, NSimSun, 新宋体, SimSun, 宋体, Helvetica, sans-serif, Tahoma, Arial, Verdana, Geneva, Georgia, Times New Roman
-font-size: 18
-# [VNote] Style for trailing space
-trailing-space: a8a8a8
-# [VNote] Style for line number
-line-number-background: 263238
-line-number-foreground: 374650
-# [VNote] style for selected word highlight
-selected-word-background: dfdf00
-# [VNote] style for searched word highlight
-searched-word-background: 4db6ac
-# [VNote] style for searched word under cursor highlight
-searched-word-cursor-background: 66bb6a
-# [VNote] style for incremental searched word highlight
-incremental-searched-word-background: ce93d8
-
-
-
-editor-selection
-foreground: eeeeee
-background: 444444
-
-editor-current-line
-background: 1a2227
-# [VNote] Vim insert mode cursor line background
-vim-insert-background: bcbcbc
-# [VNote] Vim normal mode cursor line background
-vim-normal-background: b0bec5
-# [VNote] Vim visual mode cursor line background
-vim-visual-background: 90caf9
-# [VNote] Vim replace mode cursor line background
-vim-replace-background: f8bbd0
-
-H1
-foreground: ABE88D
-font-style: bold
-font-size: +8
-
-H2
-foreground: ABE88D
-font-style: bold
-font-size: +6
-
-H3
-foreground: ABE88D
-font-style: bold
-font-size: +4
-
-H4
-foreground: ABE88D
-font-style: bold
-font-size: +2
-
-H5
-foreground: ABE88D
-font-style: bold
-font-size: +2
-
-H6
-foreground: ABE88D
-font-style: bold
-font-size: +2
-
-HRULE
-foreground: 586e75
-
-LIST_BULLET
-foreground: d33682
-font-style: bold
-font-size: +2
-
-LIST_ENUMERATOR
-foreground: 0000ff
-
-LINK
-foreground: F78C6C
-font-style: underlined
-
-AUTO_LINK_URL
-foreground: F78C6C
-font-style: underlined
-
-AUTO_LINK_EMAIL
-foreground: 005fff
-font-style: underlined
-
-IMAGE
-foreground: 616161
-
-REFERENCE
-foreground: b58900
-
-CODE
-foreground: C792EA
-font-family: Consolas, Monaco, Andale Mono, Monospace, Courier New
-
-EMPH
-font-style: italic
-
-
-STRONG
-font-style: bold
-foreground: f78c6c
-
-HTML_ENTITY
-foreground: 6c71c4
-
-COMMENT
-foreground: 93a1a1
-
-VERBATIM
-foreground: c792ea
-font-family: Consolas, Monaco, Andale Mono, Monospace, Courier New
-# [VNote] Codeblock sylte from HighlightJS (bold, italic, underlined, color)
-# The last occurence of the same attribute takes effect
-hljs-comment: 546e7a
-hljs-keyword: c792ea
-hljs-attribute: c3e88d
-hljs-selector-tag: c792ea
-hljs-meta-keyword: c3e88d
-hljs-doctag: c3e88d
-hljs-name: c3e88d
-hljs-type: ffcb6b
-hljs-string: c3e176
-hljs-number: f78c6c
-hljs-selector-id: 880000
-hljs-selector-class: 880000
-hljs-quote: 546e7a
-hljs-template-tag: 880000
-hljs-deletion: 880000
-# Could specify multiple attribute in one line
-hljs-title: bold, ffcb6b
-hljs-section: bold, 880000
-hljs-regexp: bc6060
-hljs-symbol: bc6060
-hljs-variable: bc6060
-hljs-template-variable: bc6060
-hljs-link: bc6060
-hljs-selector-attr: bc6060
-hljs-selector-pseudo: bc6060
-hljs-literal: af00d7
-hljs-built_in: 008700
-hljs-bullet: 008700
-hljs-code: 008700
-hljs-addition: 008700
-hljs-meta: 1f7199
-hljs-meta-string: 4d99bf
-hljs-emphasis: italic
-hljs-strong: bold
-
-BLOCKQUOTE
-foreground: 65aaff
-font-style: italic
-
-STRIKE
-strike-color: 586e75

+ 0 - 310
src/resources/themes/v_material/v_material.palette

@@ -1,310 +0,0 @@
-; File path could be absolute path or relative path (related to this file).
-; Use @color_tag to reference a style.
-
-[metadata]
-qss_file=v_material.qss
-mdhl_file=v_material.mdhl
-css_file=v_material.css
-codeblock_css_file=v_material_codeblock.css
-version=2
-
-[phony]
-; Abstract color attributes.
-
-
-master_fg=#eeffff
-
-master_bg=#80cbc4
-
-base_fg=#80cbc4
-
-base_bg=#263238
-
-
-main_fg=@base_fg
-main_bg=#base_bg
-
-title_fg=@base_fg
-title_bg=@base_bg
-
-disabled_fg=#9E9E9E
-
-content_fg=@base_fg
-content_bg=@base_bg
-
-border_bg=#212b30
-
-separator_bg=#D3D3D3
-
-hover_fg=@base_fg
-hover_bg=#1a2227
-
-selected_fg=@base_fg
-selected_bg=#1a2227
-
-active_fg=@selected_fg
-active_bg=@selected_bg
-
-inactive_fg=@selected_fg
-inactive_bg=#1a2227
-
-focus_fg=@selected_fg
-focus_bg=@selected_bg
-
-pressed_fg=@base_fg
-
-pressed_bg=#b2b2b2
-
-edit_fg=#eeffff
-
-edit_bg=@base_bg
-edit_focus_bg=#1a2227
-edit_focus_border=@master_bg
-edit_selection_fg=@edit_fg
-edit_selection_bg=#31454a
-
-danger_red=#C9302C
-icon_fg=#eeffff
-
-[soft_defined]
-; VAvatar.
-avatar_border_bg=@selected_bg
-avatar_fg=@base_bg
-avatar_bg=@base_fg
-; The border background color of the avatar when Captain mode is triggered.
-avatar_captain_mode_border_bg=@master_bg
-
-; Style of the label in Navigation mode.
-navigation_label_fg=@master_fg
-navigation_label_bg=@master_bg
-
-; Style of the bubble of VButtonWithWidget.
-bubble_fg=@80cbc4
-bubble_bg=@master_bg
-
-; Icons' foreground.
-danger_icon_fg=@danger_red
-item_icon_fg=@icon_fg
-title_icon_fg=@icon_fg
-
-; VVimIndicator.
-vim_indicator_key_label_fg=@base_fg
-vim_indicator_mode_label_fg=@base_fg
-vim_indicator_cmd_edit_pending_bg=@selected_bg
-
-; VTabIndicator.
-tab_indicator_label_fg=@base_fg
-
-[widgets]
-; Widget color attributes.
-
-; QWidget.
-widget_fg=@base_fg
-
-; Separator of dock widgets.
-dock_separator_bg=@border_bg
-dock_separator_hover_bg=@border_bg
-
-; Menubar.
-menubar_bg=@main_bg
-menubar_fg=@main_fg
-menubar_item_selected_bg=@selected_bg
-
-; Menu.
-menu_bg=@base_bg
-menu_fg=@base_fg
-menu_item_disabled_fg=@disabled_fg
-menu_item_selected_fg=@selected_fg
-menu_item_selected_bg=@selected_bg
-menu_separator_bg=@separator_bg
-menu_icon_fg=@icon_fg
-menu_icon_danger_fg=@danger_icon_fg
-
-; Tooltip.
-tooltip_bg=@master_bg
-tooltip_fg=@master_fg
-
-; Toolbar.
-toolbar_bg=@main_bg
-toolbutton_hover_bg=@hover_bg
-toolbutton_pressed_bg=@pressed_bg
-toolbutton_checked_bg=@selected_bg
-toolbutton_icon_fg=@icon_fg
-toolbutton_icon_danger_fg=@danger_icon_fg
-
-; Toolbox.
-toolbox_icon_fg=@icon_fg
-
-; Dockwidget.
-dockwidget_title_fg=@title_fg
-dockwidget_title_bg=@title_bg
-dockwidget_button_hover_bg=@hover_bg
-
-; PushButton.
-pushbutton_fg=@base_fg
-pushbutton_bg=transparent
-pushbutton_border=@border_bg
-pushbutton_pressed_bg=@pressed_bg
-pushbutton_checked_bg=@selected_bg
-pushbutton_hover_bg=@hover_bg
-pushbutton_default_border=@master_bg
-
-pushbutton_specialbtn_fg=@master_fg
-pushbutton_specialbtn_bg=@master_bg
-pushbutton_specialbtn_hover_bg=#3F51B5
-pushbutton_specialbtn_checked_bg=#3949AB
-pushbutton_specialbtn_pressed_bg=#303F9F
-
-pushbutton_cornerbtn_hover_bg=@hover_bg
-pushbutton_cornerbtn_focus_bg=@focus_bg
-pushbutton_cornerbtn_pressed_bg=@pressed_bg
-
-pushbutton_statusbtn_hover_bg=@hover_bg
-pushbutton_statusbtn_focus_bg=@focus_bg
-pushbutton_statusbtn_pressed_bg=@pressed_bg
-
-pushbutton_flatbtn_hover_bg=@hover_bg
-pushbutton_flatbtn_focus_bg=@focus_bg
-pushbutton_flatbtn_pressed_bg=@pressed_bg
-
-pushbutton_selectionbtn_hover_bg=@hover_bg
-pushbutton_selectionbtn_focus_bg=@focus_bg
-pushbutton_selectionbtn_pressed_bg=@pressed_bg
-
-pushbutton_titlebtn_bg=@title_bg
-pushbutton_titlebtn_hover_bg=@hover_bg
-pushbutton_titlebtn_focus_bg=@focus_bg
-pushbutton_titlebtn_pressed_bg=@pressed_bg
-
-pushbutton_dangerbtn_fg=#FFF
-pushbutton_dangerbtn_border=#D43F3A
-pushbutton_dangerbtn_bg=#D9534F
-pushbutton_dangerbtn_hover_fg=#FFF
-pushbutton_dangerbtn_hover_bg=#C9302C
-pushbutton_dangerbtn_hover_border=#AC2925
-
-button_icon_fg=@icon_fg
-button_icon_danger_fg=@danger_icon_fg
-
-; ComboBox.
-combobox_border=@border_bg
-combobox_fg=@content_fg
-combobox_bg=@content_bg
-combobox_view_border=@border_bg
-combobox_view_selected_bg=@selected_bg
-combobox_view_selected_fg=@selected_fg
-combobox_view_item_hover_fg=@hover_fg
-combobox_view_item_hover_bg=@hover_bg
-combobox_focus_bg=@edit_focus_bg
-combobox_focus_border=@edit_focus_border
-combobox_item_icon_fg=@item_icon_fg
-
-; Label.
-label_fg=@base_fg
-label_titlelabel_fg=@title_fg
-label_titlelabel_bg=@title_bg
-
-; LineEdit.
-lineedit_border=@border_bg
-lineedit_fg=@edit_fg
-lineedit_bg=@edit_bg
-lineedit_focus_bg=@edit_focus_bg
-lineedit_focus_border=@edit_focus_border
-lineedit_selection_fg=@edit_selection_fg
-lineedit_selection_bg=@edit_selection_bg
-
-; TabWidget.
-tabwidget_pane_border=@selected_bg
-
-; TabBar.
-tabbar_fg=@base_fg
-tabbar_bg=@base_bg
-tabbar_border=@border_bg
-
-tabbar_selected_fg=@edit_fg
-tabbar_selected_bg=@edit_bg
-tabbar_selected_border=@border_bg
-
-tabbar_hover_fg=@hover_fg
-tabbar_hover_bg=@hover_bg
-
-tabbar_icon_fg=@icon_fg
-tabbar_icon_special_fg=@danger_red
-
-; SelectorItem.
-selectoritem_border=@base_fg
-selectoritem_fg=@base_fg
-selectoritem_bg=@base_bg
-
-; InsertSelector.
-insertselector_bg=@base_bg
-
-; TreeView.
-treeview_fg=@content_fg
-treeview_bg=@content_bg
-treeview_item_hover_fg=@hover_fg
-treeview_item_hover_bg=@hover_bg
-treeview_item_selected_fg=@selected_fg
-treeview_item_selected_bg=@selected_bg
-treeview_item_selected_avtive_fg=@active_fg
-treeview_item_selected_avtive_bg=@active_bg
-treeview_item_selected_inactive_fg=@inactive_fg
-treeview_item_selected_inactive_bg=@inactive_bg
-treeview_item_icon_fg=@item_icon_fg
-
-; ListView.
-listview_fg=@content_fg
-listview_bg=@content_bg
-listview_item_hover_fg=@hover_fg
-listview_item_hover_bg=@hover_bg
-listview_item_selected_fg=@selected_fg
-listview_item_selected_bg=@selected_bg
-listview_item_selected_avtive_fg=@active_fg
-listview_item_selected_avtive_bg=@active_bg
-listview_item_selected_inactive_fg=@inactive_fg
-listview_item_selected_inactive_bg=@inactive_bg
-
-; Splitter.
-splitter_handle_bg=@border_bg
-
-; StatusBar.
-statusbar_fg=@main_fg
-statusbar_bg=@main_bg
-
-
-; ScrollBar.
-scrollbar_bg=@base_bg
-scrollbar_page_bg=transparent
-scrollbar_handle_bg=#222c31
-scrollbar_handle_hover_bg=@hover_bg
-scrollbar_handle_pressed_bg=@pressed_bg
-
-; VEditWindow.
-editwindow_corner_icon_fg=@master_bg
-editwindow_corner_icon_inactive_fg=#D3D3D3
-
-; CheckBox.
-checkbox_indicator_hover_bg=@hover_bg
-checkbox_indicator_pressed_bg=@pressed_bg
-
-; RadioButton.
-radiobutton_indicator_hover_bg=@hover_bg
-radiobutton_indicator_pressed_bg=@pressed_bg
-
-; SpinBox.
-spinbox_fg=@edit_fg
-spinbox_bg=@edit_bg
-spinbox_border=@border_bg
-spinbox_selection_fg=@edit_selection_fg
-spinbox_selection_bg=@edit_selection_bg
-spinbox_focus_border=@edit_focus_border
-spinbox_focus_bg=@edit_focus_bg
-spinbox_button_hover_bg=@hover_bg
-spinbox_button_pressed_bg=@pressed_bg
-
-; HeaderView.
-headerview_bg=#E0E0E0
-headerview_fg=@base_fg
-headerview_border=@border_bg
-headerview_checked_fg=@selected_fg
-headerview_checked_bg=@selected_bg

+ 0 - 1122
src/resources/themes/v_material/v_material.qss

@@ -1,1122 +0,0 @@
-QToolTip
-{
-    border: none;
-    background: @tooltip_bg;
-    color: @tooltip_fg;
-}
-
-/* QWidget */
-QWidget
-{
-    color: @widget_fg;
-}
-/* End QWidget */
-
-/* QMainWindow */
-QMainWindow {
-    color: @base_fg;
-    background: @base_bg;
-}
-
-QMainWindow::separator {
-    background: @dock_separator_bg;
-    width: 2px;
-    height: 2px;
-}
-
-QMainWindow::separator:hover {
-    background: @dock_separator_hover_bg;
-}
-/* End QMainWindow */
-
-QMenuBar {
-    border: none;
-    background: @menubar_bg;
-    color: @menubar_fg;
-}
-
-QMenuBar::item:selected {
-    background: @menubar_item_selected_bg;
-}
-
-/* QMenu */
-QMenu {
-    background: @menu_bg;
-    color: @menu_fg;
-    margin: 2px;
-}
-
-QMenu::icon {
-    margin: 5px;
-}
-
-QMenu::item {
-    padding: 5px 30px 5px 30px;
-    border: 1px solid transparent;
-}
-
-QMenu::item:disabled {
-    color: @menu_item_disabled_fg;
-}
-
-QMenu::item:selected {
-    color: @menu_item_selected_fg;
-    background: @menu_item_selected_bg;
-}
-
-QMenu::icon:checked { /* appearance of a 'checked' icon */
-    border: 2px solid @menu_fg;
-}
-
-QMenu::separator {
-    height: 2px;
-    background: @menu_separator_bg;
-    margin-left: 10px;
-    margin-right: 5px;
-}
-
-QMenu::indicator {
-    width: 20px;
-    height: 20px;
-}
-
-QMenu::indicator:non-exclusive:unchecked {
-    image: none;
-}
-
-QMenu::indicator:non-exclusive:checked {
-    image: url(menu_checkbox.svg);
-}
-
-QMenu::indicator:exclusive:unchecked {
-    image: none;
-}
-
-QMenu::indicator:exclusive:checked {
-    image: url(menu_radiobutton.svg);
-}
-/* End QMenu */
-
-QToolBar {
-    border: none;
-    background: @toolbar_bg;
-}
-
-/* QToolButton */
-QToolButton {
-    border: none;
-    background: transparent;
-    margin: 1px 3px 1px 3px;
-    padding: 0px;
-}
-
-QToolButton[popupMode="1"] { /* only for MenuButtonPopup */
-    padding-right: 16px; /* make way for the popup button */
-}
-
-QToolButton[popupMode="2"] { /* only for InstantPopup */
-    padding-right: 10px; /* make way for the popup button */
-}
-
-QToolButton:hover {
-    border:none;
-    background: @toolbutton_hover_bg;
-}
-
-QToolButton:pressed {
-    background: @toolbutton_pressed_bg;
-}
-
-QToolButton:checked {
-    background: @toolbutton_checked_bg;
-}
-
-QToolButton:checked:hover {
-    background: @toolbutton_hover_bg;
-}
-
-/* the subcontrols below are used only in the MenuButtonPopup mode */
-QToolButton::menu-button {
-    border: none;
-    width: 16px;
-}
-
-QToolButton::menu-arrow {
-    image: url(arrow_dropdown.svg);
-    width: 16px;
-    height: 16px;
-}
-/* End QToolButton*/
-
-/* DockWidget */
-QDockWidget {
-    color: @dockwidget_title_fg;
-    titlebar-close-icon: url(close.svg);
-    titlebar-normal-icon: url(float.svg);
-}
-
-QDockWidget::Title {
-    background: @dockwidget_title_bg;
-    text-align: center left;
-}
-
-QDockWidget::close-button, QDockWidget::float-button {
-    border: none;
-}
-
-QDockWidget::close-button:hover, QDockWidget::float-button:hover {
-    background: @dockwidget_button_hover_bg;
-}
-/* End DockWidget */
-
-/* QPushButton */
-QPushButton {
-    color: @pushbutton_fg;
-    background: @pushbutton_bg;
-    border: 1px solid @pushbutton_border;
-    padding: 3px;
-    min-width: 80px;
-}
-
-QPushButton:pressed {
-    background-color: @pushbutton_pressed_bg;
-}
-
-QPushButton:checked {
-    background-color: @pushbutton_checked_bg;
-}
-
-QPushButton:checked:hover {
-    background-color: @pushbutton_hover_bg;
-}
-
-QPushButton:hover {
-    background-color: @pushbutton_hover_bg;
-}
-
-QPushButton:flat {
-    border: none;
-}
-
-QPushButton:default {
-    border-color: @pushbutton_default_border;
-}
-
-QPushButton::menu-indicator {
-    image: url(arrow_dropdown.svg);
-    width: 16px;
-    height: 16px;
-}
-
-QPushButton[SpecialBtn="true"] {
-    color: @pushbutton_specialbtn_fg;
-    background: @pushbutton_specialbtn_bg;
-}
-
-QPushButton[SpecialBtn="true"]:pressed {
-    background-color: @pushbutton_specialbtn_pressed_bg;
-}
-
-QPushButton[SpecialBtn="true"]:checked {
-    background-color: @pushbutton_specialbtn_checked_bg;
-}
-
-QPushButton[SpecialBtn="true"]:checked:hover {
-    background-color: @pushbutton_specialbtn_hover_bg;
-}
-
-QPushButton[SpecialBtn="true"]:hover {
-    background-color: @pushbutton_specialbtn_hover_bg;
-}
-
-QPushButton[CornerBtn="true"] {
-    padding: 4px -2px 4px -2px;
-    margin: 0px;
-    border: none;
-    background-color: transparent;
-    min-width: -1;
-}
-
-QPushButton[CornerBtn="true"]::menu-indicator {
-    image: none;
-}
-
-QPushButton[CornerBtn="true"]:hover {
-    background-color: @pushbutton_cornerbtn_hover_bg;
-}
-
-QPushButton[CornerBtn="true"]:focus {
-    background-color: @pushbutton_cornerbtn_focus_bg;
-}
-
-QPushButton[CornerBtn="true"]:pressed {
-    background-color: @pushbutton_cornerbtn_pressed_bg;
-}
-
-QPushButton[StatusBtn="true"] {
-    font: bold;
-    padding: 0px 2px 0px 2px;
-    margin: 0px;
-    border: none;
-    background-color: transparent;
-    min-width: -1;
-}
-
-QPushButton[StatusBtn="true"]:hover {
-    background-color: @pushbutton_statusbtn_hover_bg;
-}
-
-QPushButton[StatusBtn="true"]:focus {
-    background-color: @pushbutton_statusbtn_focus_bg;;
-}
-
-QPushButton[StatusBtn="true"]:pressed {
-    background-color: @pushbutton_statusbtn_pressed_bg;
-}
-
-QPushButton[FlatBtn="true"] {
-    padding: 4px;
-    margin: 0px;
-    border: none;
-    background-color: transparent;
-    min-width: -1;
-}
-
-QPushButton[FlatBtn="true"]:hover {
-    background-color: @pushbutton_flatbtn_hover_bg;
-}
-
-QPushButton[FlatBtn="true"]:focus {
-    background-color: @pushbutton_flatbtn_focus_bg;
-}
-
-QPushButton[FlatBtn="true"]:focus {
-    background-color: @pushbutton_flatbtn_pressed_bg;
-}
-
-QPushButton[SelectionBtn="true"] {
-    padding: 4px 10px 4px 10px;
-    border: none;
-    background-color: transparent;
-    font-size: 15pt;
-    text-align: left;
-    min-width: -1;
-}
-
-QPushButton[SelectionBtn="true"]:hover {
-    background-color: @pushbutton_selectionbtn_hover_bg;
-}
-
-QPushButton[SelectionBtn="true"]:focus {
-    background-color: @pushbutton_selectionbtn_focus_bg;
-}
-
-QPushButton[SelectionBtn="true"]:focus {
-    background-color: @pushbutton_selectionbtn_pressed_bg;
-}
-
-QPushButton[TitleBtn="true"] {
-    padding: 4px;
-    margin: 0px;
-    border: none;
-    background-color: @pushbutton_titlebtn_bg;
-    min-width: -1;
-}
-
-QPushButton[TitleBtn="true"]:hover {
-    background-color: @pushbutton_titlebtn_hover_bg;
-}
-
-QPushButton[TitleBtn="true"]:focus {
-    background-color: @pushbutton_titlebtn_focus_bg;
-}
-
-QPushButton[TitleBtn="true"]:focus {
-    background-color: @pushbutton_titlebtn_pressed_bg;
-}
-
-QPushButton[DangerBtn="true"] {
-    color: @pushbutton_dangerbtn_fg;
-    border-color: @pushbutton_dangerbtn_border;
-    background-color: @pushbutton_dangerbtn_bg;
-    min-width: -1;
-}
-
-QPushButton[DangerBtn="true"]:hover {
-    color: @pushbutton_dangerbtn_hover_fg;
-    border-color: @pushbutton_dangerbtn_hover_border;
-    background-color: @pushbutton_dangerbtn_hover_bg;
-}
-
-VButtonMenuItem {
-    padding: 5px;
-    padding-right: 30px;
-    border: 1px solid transparent;
-    background-color: transparent;
-    min-width: -1;
-    text-align: left;
-}
-
-VButtonMenuItem[Heading1="true"] {
-    font-size: 22pt;
-}
-
-VButtonMenuItem[Heading2="true"] {
-    font-size: 20pt;
-}
-
-VButtonMenuItem[Heading3="true"] {
-    font-size: 18pt;
-}
-
-VButtonMenuItem[Heading4="true"] {
-    font-size: 16pt;
-}
-
-VButtonMenuItem[Heading5="true"] {
-    font-size: 14pt;
-}
-
-VButtonMenuItem[Heading6="true"] {
-    font-size: 14pt;
-}
-
-VButtonMenuItem:hover {
-    background-color: @menubar_item_selected_bg;
-}
-
-VButtonMenuItem:focus {
-    background-color: @menubar_item_selected_bg;
-}
-/* End QPushButton*/
-
-/* QComboBox */
-QComboBox {
-    padding: 3px;
-    color: @combobox_fg;
-    background: @combobox_bg;
-    border: 1px solid @combobox_border;
-}
-
-QComboBox:focus, QComboBox:on {
-    background-color: @combobox_focus_bg;
-    border: 2px solid @combobox_focus_border;
-}
-
-QComboBox::drop-down {
-    subcontrol-origin: padding;
-    subcontrol-position: top right;
-    width: 20px;
-    border: none;
-    background: transparent;
-}
-
-QComboBox::down-arrow {
-    image: url(arrow_dropdown.svg);
-    width: 20px;
-    height: 20px;
-}
-
-QComboBox QAbstractItemView {
-    padding: 2px;
-    border: 1px solid @combobox_view_border;
-    background: @combobox_bg;
-    selection-color: @combobox_view_selected_fg;
-    selection-background-color: @combobox_view_selected_bg;
-}
-
-QComboBox QAbstractItemView::item {
-    background: transparent;
-    padding: 3px;
-}
-
-QComboBox QAbstractItemView::item:hover {
-    color: @combobox_view_item_hover_fg;
-    background: @combobox_view_item_hover_bg;
-}
-
-QComboBox#NotebookSelector {
-    border: none;
-    font-size: 13pt;
-    padding-top: 3px;
-    padding-bottom: 3px;
-    icon-size: 30px;
-}
-
-QComboBox#NotebookSelector:focus, QComboBox#NotebookSelector:on {
-    border: none;
-    background: @combobox_bg
-}
-
-QComboBox#NotebookSelector QListWidget {
-    border: 1px solid @combobox_view_border;
-    background-color: @combobox_bg;
-    font-size: 13pt;
-    icon-size: 30px;
-}
-
-QComboBox#NotebookSelector QListWidget::item {
-    padding-top: 10px;
-    padding-bottom: 10px;
-}
-
-QComboBox#NotebookSelector QListWidget::item:hover {
-    color: @combobox_view_item_hover_fg;
-    background-color: @combobox_view_item_hover_bg;
-}
-/* End QComboBox */
-
-/* QLabel */
-QLabel {
-    border: none;
-    color: @label_fg;
-    background: transparent;
-}
-
-QLabel[TitleLabel="true"] {
-    padding-top: 5px;
-    padding-bottom: 5px;
-    color: @label_titlelabel_fg;
-    background-color: @label_titlelabel_bg;
-}
-
-QLabel[ColorRedLabel="true"] {
-    padding-left: 5px;
-    padding-right: 5px;
-    font: bold;
-    color: white;
-    border-radius: 2px;
-    background-color: #D32F2F;
-}
-
-QLabel[ColorGreenLabel="true"] {
-    padding-left: 5px;
-    padding-right: 5px;
-    font: bold;
-    color: white;
-    border-radius: 2px;
-    background-color: #388E3C;
-}
-
-QLabel[ColorGreyLabel="true"] {
-    padding-left: 5px;
-    padding-right: 5px;
-    font: bold;
-    color: white;
-    border-radius: 2px;
-    background-color: #616161;
-}
-
-QLabel[ColorTealLabel="true"] {
-    padding-left: 5px;
-    padding-right: 5px;
-    font: bold;
-    color: white;
-    border-radius: 2px;
-    background-color: #00796B;
-}
-
-QLabel[MenuSeparator="true"] {
-    padding-top: 5px;
-    padding-bottom: 5px;
-    margin-top: 3px;
-    font: italic;
-    border-top: 1px solid @menu_separator_bg
-}
-
-VVimIndicator QLabel[VimIndicatorKeyLabel="true"] {
-    font: bold;
-    color: @vim_indicator_key_label_fg;
-    background: transparent;
-}
-
-VVimIndicator QLabel[VimIndicatorModeLabel="true"] {
-    padding: 0px 2px 0px 2px;
-    font: bold;
-    color: @vim_indicator_mode_label_fg;
-    /* background color will be controlled by the code. */
-}
-
-VTabIndicator QLabel[TabIndicatorLabel="true"] {
-    color: @tab_indicator_label_fg;
-    background: transparent;
-}
-/* End QLabel */
-
-/* QLineEdit */
-QLineEdit {
-    border: 1px solid @lineedit_border;
-    padding: 3px;
-    color: @lineedit_fg;
-    background: @lineedit_bg;
-    selection-color: @lineedit_selection_fg;
-    selection-background-color: @lineedit_selection_bg;
-}
-
-QLineEdit:focus {
-    border: 2px solid @lineedit_focus_border;
-    background: @lineedit_focus_bg;
-}
-
-QLineEdit[VimCommandLine="true"] {
-    padding: 0px;
-    margin: 0px;
-    border: none;
-    color: @lineedit_fg;
-    background: @lineedit_bg;
-}
-/* End QLineEdit */
-
-/* QPlainTextEdit QTextEdit */
-QPlainTextEdit[LineEdit="true"], QTextEdit[LineEdit="true"] {
-    border: 1px solid @lineedit_border;
-    padding: 3px;
-    color: @lineedit_fg;
-    background: @lineedit_bg;
-    selection-color: @lineedit_selection_fg;
-    selection-background-color: @lineedit_selection_bg;
-}
-
-QPlainTextEdit[LineEdit="true"]:focus, QTextEdit[LineEdit="true"]:focus {
-    border: 2px solid @lineedit_focus_border;
-    background: @lineedit_focus_bg;
-}
-/* End QPlainTextEdit QTextEdit */
-
-/* QTabWidget */
-QTabWidget {
-    border: none;
-}
-
-QTabWidget::pane {
-    border: none;
-}
-/* End QTabWidget */
-
-/* QTabBar */
-QTabBar::tab {
-    color: @tabbar_fg;
-    background: @tabbar_bg;
-    border: 1px solid @tabbar_border;
-    border-bottom: none;
-    border-top: none;
-    padding: 2px;
-}
-
-QTabBar::tab:selected {
-    color: @tabbar_selected_fg;
-    background: @tabbar_selected_bg;
-    border-top: 3px solid @master_bg;
-}
-
-QTabBar::tab:hover {
-    color: @tabbar_hover_fg;
-    background: @tabbar_hover_bg;
-}
-
-QTabBar::close-button {
-    image: url(close_grey.svg);
-}
-
-QTabBar::close-button:hover {
-    image: url(close.svg);
-}
-
-QTabBar::close-button:focus {
-    image: url(close.svg);
-}
-
-QTabBar::scroller {
-    width: 20px;
-}
-
-QTabBar QToolButton {
-    border: none;
-}
-
-QTabBar QToolButton::right-arrow:enabled {
-    image: url(right.svg);
-}
-
-QTabBar QToolButton::left-arrow:enabled {
-    image: url(left.svg);
-}
-
-QTabBar QToolButton::right-arrow:disabled {
-    image: url(right_disabled.svg);
-}
-
-QTabBar QToolButton::left-arrow:disabled {
-    image: url(left_disabled.svg);
-}
-/* End QTabBar */
-
-VSelectorItemWidget QLabel[SelectorItemShortcutLabel="true"] {
-    font: bold;
-    border: 2px solid @selectoritem_border;
-    padding: 3px;
-    border-radius: 5px;
-    background-color: @selectoritem_bg;
-    color: @selectoritem_fg;
-}
-
-VInsertSelector {
-    border: none;
-    background: @insertselector_bg;
-}
-
-/* QTreeView */
-QTreeView {
-    color: @treeview_fg;
-    background: @treeview_bg;
-    show-decoration-selected: 0;
-    border: none;
-    selection-background-color: transparent;
-    outline: none;
-}
-
-QTreeView::item {
-    padding-top: 5px;
-    padding-bottom: 5px;
-}
-
-QTreeView::item:hover {
-    color: @treeview_item_hover_fg;
-    background: @treeview_item_hover_bg;
-}
-
-QTreeView::item:selected {
-    color: @treeview_item_selected_fg;
-    background: @treeview_item_selected_bg;
-}
-
-QTreeView::item:selected:active {
-    color: @treeview_item_selected_active_fg;
-    background: @treeview_item_selected_active_bg;
-}
-
-QTreeView::item:selected:!active {
-    color: @treeview_item_selected_inactive_fg;
-    background: @treeview_item_selected_inactive_bg;
-}
-
-
-/*
-QTreeView::branch:has-siblings:!adjoins-item {
-    border-image: url(line.svg) 0;
-}
-
-QTreeView::branch:has-siblings:adjoins-item {
-    border-image: url(branch_more.svg) 0;
-}
-
-QTreeView::branch:!has-children:!has-siblings:adjoins-item {
-    border-image: url(branch_end.svg) 0;
-}
-
-QTreeView::branch:has-children:!has-siblings:closed,
-QTreeView::branch:closed:has-children:has-siblings {
-    border-image: none;
-    image: url(branch_closed.svg);
-}
-
-QTreeView::branch:open:has-children:!has-siblings,
-QTreeView::branch:open:has-children:has-siblings  {
-    border-image: none;
-    image: url(branch_open.svg);
-}
-
-
-*/
-/* End QTreeView */
-
-/* QListView */
-QListView {
-    color: @listview_fg;
-    background: @listview_bg;
-    show-decoration-selected: 0;
-    border: none;
-    selection-background-color: transparent;
-    outline: none;
-}
-
-QListView::item {
-    padding-top: 5px;
-    padding-bottom: 5px;
-}
-
-QListView::item:hover {
-    color: @listview_item_hover_fg;
-    background: @listview_item_hover_bg;
-}
-
-QListView::item:selected {
-    color: @listview_item_selected_fg;
-    background: @listview_item_selected_bg;
-}
-
-QListView::item:selected:active {
-    color: @listview_item_selected_active_fg;
-    background: @listview_item_selected_active_bg;
-}
-
-QListView::item:selected:!active {
-    color: @listview_item_selected_inactive_fg;
-    background: @listview_item_selected_inactive_bg;
-}
-/* End QListView */
-
-/* QSplitter */
-QSplitter {
-    border: none;
-}
-
-QSplitter::handle {
-    background-color: @splitter_handle_bg;
-}
-
-QSplitter::handle:vertical {
-    height: 2px;
-}
-
-QSplitter::handle:horizontal {
-    width: 2px;
-}
-
-QSplitter#MainSplitter {
-    border: none;
-}
-/* End QSplitter */
-
-/* QStatusBar */
-QStatusBar {
-    color: @statusbar_fg;
-    background: @statusbar_bg;
-}
-/* End QStatusBar */
-
-QWidget[MainEditor="true"] {
-    border: none;
-}
-
-QDialog {
-    color: @base_fg;
-    background: @base_bg;
-}
-
-/* QScrollBar */
-QScrollBar::add-page, QScrollBar::sub-page {
-    background: @scrollbar_page_bg;
-}
-
-QScrollBar:vertical {
-    background: @scrollbar_bg;
-    width: 16px;
-    margin: 16px 0px 16px 0px;
-    padding: 0px 2px 0px 2px;
-    border: none;
-}
-
-QScrollBar::handle:vertical {
-    background: @scrollbar_handle_bg;
-    min-height: 16px;
-}
-
-QScrollBar::handle:vertical:hover {
-    background: @scrollbar_handle_hover_bg;
-}
-
-QScrollBar::handle:vertical:pressed {
-    background: @scrollbar_handle_pressed_bg;
-}
-
-QScrollBar::add-line:vertical {
-    border: none;
-    background: @scrollbar_bg;
-    width: 16px;
-    height: 16px;
-    subcontrol-position: bottom;
-    subcontrol-origin: margin;
-}
-
-QScrollBar::add-line:vertical:hover {
-    background: @scrollbar_handle_hover_bg;
-}
-
-QScrollBar::add-line:vertical:pressed {
-    background: @scrollbar_handle_pressed_bg;
-}
-
-QScrollBar::sub-line:vertical {
-    border: none;
-    background: @scrollbar_bg;
-    width: 16px;
-    height: 16px;
-    subcontrol-position: top;
-    subcontrol-origin: margin;
-}
-
-QScrollBar::sub-line:vertical:hover {
-    background: @scrollbar_handle_hover_bg;
-}
-
-QScrollBar::sub-line:vertical:pressed {
-    background: @scrollbar_handle_pressed_bg;
-}
-
-QScrollBar::down-arrow:vertical {
-    image: url(down.svg);
-    width: 16px;
-    height: 16px;
-}
-
-QScrollBar::up-arrow:vertical {
-    image: url(up.svg);
-    width: 16px;
-    height: 16px;
-}
-
-QScrollBar:horizontal {
-    background: @scrollbar_bg;
-    height: 16px;
-    margin: 0px 16px 0px 16px;
-    padding: 2px 0px 2px 0px;
-    border: none;
-}
-
-QScrollBar::handle:horizontal {
-    background: @scrollbar_handle_bg;
-    min-width: 16px;
-}
-
-QScrollBar::handle:horizontal:hover {
-    background: @scrollbar_handle_hover_bg;
-}
-
-QScrollBar::handle:horizontal:pressed {
-    background: @scrollbar_handle_pressed_bg;
-}
-
-QScrollBar::add-line:horizontal {
-    border: none;
-    background: @scrollbar_bg;
-    width: 16px;
-    height: 16px;
-    subcontrol-position: right;
-    subcontrol-origin: margin;
-}
-
-QScrollBar::add-line:horizontal:hover {
-    background: @scrollbar_handle_hover_bg;
-}
-
-QScrollBar::add-line:horizontal:pressed {
-    background: @scrollbar_handle_pressed_bg;
-}
-
-QScrollBar::sub-line:horizontal {
-    border: none;
-    background: @scrollbar_bg;
-    width: 16px;
-    height: 16px;
-    subcontrol-position: left;
-    subcontrol-origin: margin;
-}
-
-QScrollBar::sub-line:horizontal:hover {
-    background: @scrollbar_handle_hover_bg;
-}
-
-QScrollBar::sub-line:horizontal:pressed {
-    background: @scrollbar_handle_pressed_bg;
-}
-
-QScrollBar::right-arrow:horizontal {
-    image: url(right.svg);
-    width: 16px;
-    height: 16px;
-}
-
-QScrollBar::left-arrow:horizontal {
-    image: url(left.svg);
-    width: 16px;
-    height: 16px;
-}
-/* End QScrollBar */
-
-/* QCheckBox */
-QCheckBox {
-    spacing: 5px;
-}
-
-QCheckBox::indicator {
-    width: 20px;
-    height: 20px;
-}
-
-QCheckBox::indicator:unchecked {
-    image: url(checkbox_unchecked.svg);
-}
-
-QCheckBox::indicator:unchecked:hover {
-    background: @checkbox_indicator_hover_bg;
-}
-
-QCheckBox::indicator:unchecked:pressed {
-    background: @checkbox_indicator_pressed_bg;
-}
-
-QCheckBox::indicator:checked {
-    image: url(checkbox_checked.svg);
-}
-
-QCheckBox::indicator:checked:hover {
-    background: @checkbox_indicator_hover_bg;
-}
-
-QCheckBox::indicator:checked:pressed {
-    background: @checkbox_indicator_pressed_bg;
-}
-
-QCheckBox::indicator:indeterminate:hover {
-    background: @checkbox_indicator_hover_bg;
-}
-
-QCheckBox::indicator:indeterminate:pressed {
-    background: @checkbox_indicator_pressed_bg;
-}
-/* End QCheckBox */
-
-/* QRadioButton */
-QRadioButton {
-    spacing: 5px;
-}
-
-QRadioButton::indicator {
-    width: 20px;
-    height: 20px;
-}
-
-QRadioButton::indicator:unchecked {
-    image: url(radiobutton_unchecked.svg);
-}
-
-QRadioButton::indicator:unchecked:hover {
-    background: @radiobutton_indicator_hover_bg;
-}
-
-QRadioButton::indicator:unchecked:pressed {
-    background: @radiobutton_indicator_pressed_bg;
-}
-
-QRadioButton::indicator:checked {
-    image: url(radiobutton_checked.svg);
-}
-
-QRadioButton::indicator:checked:hover {
-    background: @radiobutton_indicator_hover_bg;
-}
-
-QRadioButton::indicator:checked:pressed {
-    background: @radiobutton_indicator_pressed_bg;
-}
-/* End QRadioButton */
-
-/* QSpinBox */
-QSpinBox, QDoubleSpinBox {
-    border: 1px solid @spinbox_border;
-    color: @spinbox_fg;
-    background: @spinbox_bg;
-    padding-right: 25px;
-    min-height: 25px;
-    selection-color: @spinbox_selection_fg;
-    selection-background-color: @spinbox_selection_bg;
-}
-
-QSpinBox:focus, QDoubleSpinBox::focus {
-    border: 2px solid @spinbox_focus_border;
-    background: @spinbox_focus_bg;
-}
-
-QSpinBox::up-button, QDoubleSpinBox::up-button {
-    subcontrol-origin: border;
-    subcontrol-position: top right; /* position at the top right corner */
-    width: 25px;
-    border: none;
-    background: transparent;
-}
-
-QSpinBox::up-button:hover, QDoubleSpinBox::up-button:hover {
-    background: @spinbox_button_hover_bg;
-}
-
-QSpinBox::up-button:pressed, QDoubleSpinBox::up-button:pressed {
-    background: @spinbox_button_pressed_bg;
-}
-
-QSpinBox::up-arrow, QDoubleSpinBox::up-arrow {
-    image: url(up.svg);
-    width: 12px;
-    height: 12px;
-}
-
-QSpinBox::up-arrow:disabled, QSpinBox::up-arrow:off, QDoubleSpinBox::up-arrow:disabled, QDoubleSpinBox::up-arrow:off  {
-    image: url(up_disabled.svg);
-}
-
-QSpinBox::down-button, QDoubleSpinBox::down-button {
-    subcontrol-origin: border;
-    subcontrol-position: bottom right; /* position at the top right corner */
-    width: 25px;
-    border: none;
-    background: transparent;
-}
-
-QSpinBox::down-button:hover, QDoubleSpinBox::down-button:hover {
-    background: @spinbox_button_hover_bg;
-}
-
-QSpinBox::down-button:pressed, QDoubleSpinBox::down-button:pressed {
-    background: @spinbox_button_pressed_bg;
-}
-
-QSpinBox::down-arrow, QDoubleSpinBox::down-arrow {
-    image: url(down.svg);
-    width: 12px;
-    height: 12px;
-}
-
-QSpinBox::down-arrow:disabled, QSpinBox::down-arrow:off, QDoubleSpinBox::down-arrow:disabled, QDoubleSpinBox::down-arrow:off {
-    image: url(down_disabled.svg);
-}
-/* End QSpinBox */
-
-/* QHeaderView */
-QHeaderView::section {
-    background: @headerview_bg;
-    color: @headerview_fg;
-    padding-left: 4px;
-    border: none;
-    border-left: 1px solid @headerview_border;
-    border-bottom: 1px solid @headerview_border;
-}
-
-QHeaderView::section:checked
-{
-    color: @headerview_checked_fg;
-    background: @headerview_checked_bg;
-}
-
-/* style the sort indicator */
-QHeaderView::down-arrow {
-    image: url(down.svg);
-}
-
-QHeaderView::up-arrow {
-    image: url(up.svg);
-}
-/* End QHeaderView */
-
-QWidget#FindReplaceTitleWidget {
-    background: @title_bg;
-}

+ 0 - 96
src/resources/themes/v_material/v_material_codeblock.css

@@ -1,96 +0,0 @@
-/*
-
-Atom One Light by Daniel Gamage
-Original One Light Syntax theme from https://github.com/atom/one-light-syntax
-
-base:    #fafafa
-mono-1:  #383a42
-mono-2:  #686b77
-mono-3:  #a0a1a7
-hue-1:   #0184bb
-hue-2:   #4078f2
-hue-3:   #a626a4
-hue-4:   #50a14f
-hue-5:   #e45649
-hue-5-2: #c91243
-hue-6:   #986801
-hue-6-2: #c18401
-
-*/
-
-.hljs {
-  display: block;
-  overflow-x: auto;
-  padding: 0.5em;
-  color: #eeffff;
-  /*background: #1a2226;*/
-}
-
-.hljs-comment,
-.hljs-quote {
-  color: #546e7a;
-  font-style: italic;
-}
-
-.hljs-doctag,
-.hljs-keyword,
-.hljs-formula {
-  color: #c792ea;
-}
-
-.hljs-section,
-.hljs-name,
-.hljs-selector-tag,
-.hljs-deletion,
-.hljs-subst {
-  color: #c3e88d;
-}
-
-.hljs-literal {
-  color: #0184bb;
-}
-
-.hljs-string,
-.hljs-regexp,
-.hljs-addition,
-.hljs-attribute,
-.hljs-meta-string {
-  color: #c3e176;
-}
-
-.hljs-built_in,
-.hljs-class .hljs-title {
-  color: #ffcb6b;
-}
-
-.hljs-attr,
-.hljs-variable,
-.hljs-template-variable,
-.hljs-type,
-.hljs-selector-class,
-.hljs-selector-attr,
-.hljs-selector-pseudo,
-.hljs-number {
-  color: #f78c6c;
-}
-
-.hljs-symbol,
-.hljs-bullet,
-.hljs-link,
-.hljs-meta,
-.hljs-selector-id,
-.hljs-title {
-  color: #4078f2;
-}
-
-.hljs-emphasis {
-  font-style: italic;
-}
-
-.hljs-strong {
-  font-weight: bold;
-}
-
-.hljs-link {
-  text-decoration: underline;
-}

+ 0 - 2
src/vconfigmanager.cpp

@@ -1299,8 +1299,6 @@ void VConfigManager::initThemes()
     m_themes.insert(VPalette::themeName(file), file);
     file = ":/resources/themes/v_moonlight/v_moonlight.palette";
     m_themes.insert(VPalette::themeName(file), file);
-    file = ":/resources/themes/v_material/v_material.palette";
-    m_themes.insert(VPalette::themeName(file), file);
 
     outputBuiltInThemes();
 

+ 0 - 28
src/vnote.qrc

@@ -134,34 +134,6 @@
         <file>resources/themes/v_pure/v_pure.mdhl</file>
         <file>resources/themes/v_pure/v_pure.css</file>
         <file>resources/themes/v_pure/v_pure_codeblock.css</file>
-        <file>resources/themes/v_material/arrow_dropdown.svg</file>
-        <file>resources/themes/v_material/branch_closed.svg</file>
-        <file>resources/themes/v_material/branch_end.svg</file>
-        <file>resources/themes/v_material/branch_more.svg</file>
-        <file>resources/themes/v_material/branch_open.svg</file>
-        <file>resources/themes/v_material/checkbox_checked.svg</file>
-        <file>resources/themes/v_material/checkbox_unchecked.svg</file>
-        <file>resources/themes/v_material/close.svg</file>
-        <file>resources/themes/v_material/close_grey.svg</file>
-        <file>resources/themes/v_material/down.svg</file>
-        <file>resources/themes/v_material/down_disabled.svg</file>
-        <file>resources/themes/v_material/float.svg</file>
-        <file>resources/themes/v_material/left.svg</file>
-        <file>resources/themes/v_material/left_disabled.svg</file>
-        <file>resources/themes/v_material/line.svg</file>
-        <file>resources/themes/v_material/menu_checkbox.svg</file>
-        <file>resources/themes/v_material/menu_radiobutton.svg</file>
-        <file>resources/themes/v_material/radiobutton_checked.svg</file>
-        <file>resources/themes/v_material/radiobutton_unchecked.svg</file>
-        <file>resources/themes/v_material/right.svg</file>
-        <file>resources/themes/v_material/right_disabled.svg</file>
-        <file>resources/themes/v_material/up.svg</file>
-        <file>resources/themes/v_material/up_disabled.svg</file>
-        <file>resources/themes/v_material/v_material.css</file>
-        <file>resources/themes/v_material/v_material.mdhl</file>
-        <file>resources/themes/v_material/v_material.palette</file>
-        <file>resources/themes/v_material/v_material.qss</file>
-        <file>resources/themes/v_material/v_material_codeblock.css</file>
         <file>resources/themes/v_moonlight/arrow_dropdown.svg</file>
         <file>resources/themes/v_moonlight/branch_closed.svg</file>
         <file>resources/themes/v_moonlight/branch_open.svg</file>