Styles: added some Qt style sheets and some highlighter styles.

Sat, 11 Apr 2020 14:13:25 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 11 Apr 2020 14:13:25 +0200
changeset 7522
e0e05a1b576f
parent 7521
17974c348101
child 7523
6e26ec343c78

Styles: added some Qt style sheets and some highlighter styles.

eric6.e4p file | annotate | diff | comparison | revisions
eric6/Styles/BreezeDark.qss file | annotate | diff | comparison | revisions
eric6/Styles/BreezeDark_NoSingleClick.qss file | annotate | diff | comparison | revisions
eric6/Styles/eric6_Dark-CSS.e6h file | annotate | diff | comparison | revisions
eric6/Styles/eric6_Dark-QSS.e6h file | annotate | diff | comparison | revisions
diff -r 17974c348101 -r e0e05a1b576f eric6.e4p
--- a/eric6.e4p	Fri Apr 10 19:27:51 2020 +0200
+++ b/eric6.e4p	Sat Apr 11 14:13:25 2020 +0200
@@ -2053,6 +2053,9 @@
     <Other>eric6/APIs/MicroPython/circuitpython.api</Other>
     <Other>eric6/APIs/MicroPython/microbit.api</Other>
     <Other>eric6/APIs/MicroPython/micropython.api</Other>
+    <Other>eric6/APIs/Python/zope-2.10.7.api</Other>
+    <Other>eric6/APIs/Python/zope-2.11.2.api</Other>
+    <Other>eric6/APIs/Python/zope-3.3.1.api</Other>
     <Other>eric6/APIs/Python3/PyQt4.bas</Other>
     <Other>eric6/APIs/Python3/PyQt5.bas</Other>
     <Other>eric6/APIs/Python3/PyQtChart.bas</Other>
@@ -2060,9 +2063,6 @@
     <Other>eric6/APIs/Python3/QScintilla2.bas</Other>
     <Other>eric6/APIs/Python3/eric6.api</Other>
     <Other>eric6/APIs/Python3/eric6.bas</Other>
-    <Other>eric6/APIs/Python/zope-2.10.7.api</Other>
-    <Other>eric6/APIs/Python/zope-2.11.2.api</Other>
-    <Other>eric6/APIs/Python/zope-3.3.1.api</Other>
     <Other>eric6/APIs/QSS/qss.api</Other>
     <Other>eric6/APIs/Ruby/Ruby-1.8.7.api</Other>
     <Other>eric6/APIs/Ruby/Ruby-1.8.7.bas</Other>
diff -r 17974c348101 -r e0e05a1b576f eric6/Styles/BreezeDark.qss
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/eric6/Styles/BreezeDark.qss	Sat Apr 11 14:13:25 2020 +0200
@@ -0,0 +1,22 @@
+/* Breeze Dark theme for Eric6
+ *
+ * Theme Notes:
+ *  - This theme is designed to work on top of the Fusion client style.
+ */
+
+QCheckBox, QRadioButton {
+    background:#484848;
+}
+
+QProgressBar:horizontal {
+    padding: 1px;
+    text-align: center;
+}
+QProgressBar::chunk:horizontal {
+    background: #5cad39;
+}
+
+* { 
+    selection-background-color: #5cad39;
+    selection-color: #ffffff;
+}
diff -r 17974c348101 -r e0e05a1b576f eric6/Styles/BreezeDark_NoSingleClick.qss
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/eric6/Styles/BreezeDark_NoSingleClick.qss	Sat Apr 11 14:13:25 2020 +0200
@@ -0,0 +1,24 @@
+/* Breeze Dark theme for Eric6
+ *
+ * Theme Notes:
+ *  - This theme is designed to work on top of the Fusion client style.
+ */
+
+QCheckBox, QRadioButton {
+    background:#484848;
+}
+
+QProgressBar:horizontal {
+    padding: 1px;
+    text-align: center;
+}
+QProgressBar::chunk:horizontal {
+    background: #5cad39;
+}
+
+* { 
+    selection-background-color: #5cad39;
+    selection-color: #ffffff;
+    
+    activate-on-singleclick: 0;
+}
diff -r 17974c348101 -r e0e05a1b576f eric6/Styles/eric6_Dark-CSS.e6h
--- a/eric6/Styles/eric6_Dark-CSS.e6h	Fri Apr 10 19:27:51 2020 +0200
+++ b/eric6/Styles/eric6_Dark-CSS.e6h	Sat Apr 11 14:13:25 2020 +0200
@@ -1,80 +1,80 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE HighlightingStyles SYSTEM "HighlightingStyles-6.0.dtd">
 <!-- Eric6 highlighting styles -->
-<!-- Saved: 2020-04-08, 18:09:46-->
+<!-- Saved: 2020-04-11, 12:29:21-->
 <!-- Author: Detlev Offenbach <detlev@die-offenbachs.de> -->
 <HighlightingStyles version="6.0">
   <Lexer name="CSS">
-    <Style style="0" substyle="-1" color="#ff7bc2" paper="#262626" font="Liberation Mono,9,-1,5,50,0,0,0,0,0" eolfill="False">
+    <Style style="0" substyle="-1" color="#ff7bc2" paper="#262626" font="Hack,9,-1,5,50,0,0,0,0,0" eolfill="False">
       <Description>Default</Description>
     </Style>
-    <Style style="1" substyle="-1" color="#77a0ff" paper="#262626" font="Liberation Mono,9,-1,5,75,0,0,0,0,0" eolfill="False">
+    <Style style="1" substyle="-1" color="#75ff98" paper="#262626" font="Hack,9,-1,5,75,0,0,0,0,0,Bold" eolfill="False">
       <Description>Tag</Description>
     </Style>
-    <Style style="2" substyle="-1" color="#ffffff" paper="#262626" font="Liberation Mono,9,-1,5,50,0,0,0,0,0" eolfill="False">
+    <Style style="2" substyle="-1" color="#ffffff" paper="#262626" font="Hack,9,-1,5,50,0,0,0,0,0" eolfill="False">
       <Description>Class selector</Description>
     </Style>
-    <Style style="3" substyle="-1" color="#cc6363" paper="#262626" font="Liberation Mono,9,-1,5,50,0,0,0,0,0" eolfill="False">
+    <Style style="3" substyle="-1" color="#cc6363" paper="#262626" font="Hack,9,-1,5,50,0,0,0,0,0" eolfill="False">
       <Description>Pseudo-class</Description>
     </Style>
-    <Style style="4" substyle="-1" color="#ffb45d" paper="#262626" font="Liberation Mono,9,-1,5,50,0,0,0,0,0" eolfill="False">
+    <Style style="4" substyle="-1" color="#ffb45d" paper="#262626" font="Hack,9,-1,5,50,0,0,0,0,0" eolfill="False">
       <Description>Unknown pseudo-class</Description>
     </Style>
-    <Style style="5" substyle="-1" color="#ffffff" paper="#262626" font="Liberation Mono,9,-1,5,50,0,0,0,0,0" eolfill="False">
+    <Style style="5" substyle="-1" color="#ffffff" paper="#262626" font="Hack,9,-1,5,50,0,0,0,0,0" eolfill="False">
       <Description>Operator</Description>
     </Style>
-    <Style style="6" substyle="-1" color="#81a9ff" paper="#262626" font="Liberation Mono,9,-1,5,50,0,0,0,0,0" eolfill="False">
+    <Style style="6" substyle="-1" color="#81a9ff" paper="#262626" font="Hack,9,-1,5,50,0,0,0,0,0" eolfill="False">
       <Description>CSS1 property</Description>
     </Style>
-    <Style style="7" substyle="-1" color="#ff0000" paper="#262626" font="Liberation Mono,9,-1,5,50,0,0,0,0,0" eolfill="False">
+    <Style style="7" substyle="-1" color="#ff0000" paper="#262626" font="Hack,9,-1,5,50,0,0,0,0,0" eolfill="False">
       <Description>Unknown property</Description>
     </Style>
-    <Style style="8" substyle="-1" color="#ff92bc" paper="#262626" font="Liberation Mono,9,-1,5,50,0,0,0,0,0" eolfill="False">
+    <Style style="8" substyle="-1" color="#ff92bc" paper="#262626" font="Hack,9,-1,5,50,0,0,0,0,0" eolfill="False">
       <Description>Value</Description>
     </Style>
-    <Style style="9" substyle="-1" color="#00b400" paper="#262626" font="Bitstream Vera Serif,9,-1,5,50,0,0,0,0,0" eolfill="False">
+    <Style style="9" substyle="-1" color="#00b400" paper="#262626" font="Hack,9,-1,5,50,0,0,0,0,0" eolfill="False">
       <Description>Comment</Description>
     </Style>
-    <Style style="10" substyle="-1" color="#00dada" paper="#262626" font="Liberation Mono,9,-1,5,50,1,0,0,0,0" eolfill="False">
+    <Style style="10" substyle="-1" color="#00dada" paper="#262626" font="Hack,9,-1,5,50,1,0,0,0,0" eolfill="False">
       <Description>ID selector</Description>
     </Style>
-    <Style style="11" substyle="-1" color="#ff8000" paper="#262626" font="Liberation Mono,9,-1,5,75,0,0,0,0,0" eolfill="False">
+    <Style style="11" substyle="-1" color="#ff8000" paper="#262626" font="Hack,9,-1,5,75,0,0,0,0,0" eolfill="False">
       <Description>Important</Description>
     </Style>
-    <Style style="12" substyle="-1" color="#aaaa00" paper="#262626" font="Liberation Mono,9,-1,5,75,0,0,0,0,0" eolfill="False">
+    <Style style="12" substyle="-1" color="#aaaa00" paper="#262626" font="Hack,9,-1,5,75,0,0,0,0,0" eolfill="False">
       <Description>@-rule</Description>
     </Style>
-    <Style style="13" substyle="-1" color="#ff00ff" paper="#262626" font="Liberation Mono,9,-1,5,50,0,0,0,0,0" eolfill="False">
+    <Style style="13" substyle="-1" color="#ff00ff" paper="#262626" font="Hack,9,-1,5,50,0,0,0,0,0" eolfill="False">
       <Description>Double-quoted string</Description>
     </Style>
-    <Style style="14" substyle="-1" color="#ff00ff" paper="#262626" font="Liberation Mono,9,-1,5,50,0,0,0,0,0" eolfill="False">
+    <Style style="14" substyle="-1" color="#ff00ff" paper="#262626" font="Hack,9,-1,5,50,0,0,0,0,0" eolfill="False">
       <Description>Single-quoted string</Description>
     </Style>
-    <Style style="15" substyle="-1" color="#00b7ff" paper="#262626" font="Liberation Mono,9,-1,5,50,0,0,0,0,0" eolfill="False">
+    <Style style="15" substyle="-1" color="#00b7ff" paper="#262626" font="Hack,9,-1,5,50,0,0,0,0,0" eolfill="False">
       <Description>CSS2 property</Description>
     </Style>
-    <Style style="16" substyle="-1" color="#ff7575" paper="#262626" font="Liberation Mono,9,-1,5,50,0,0,0,0,0" eolfill="False">
+    <Style style="16" substyle="-1" color="#ff7575" paper="#262626" font="Hack,9,-1,5,50,0,0,0,0,0" eolfill="False">
       <Description>Attribute</Description>
     </Style>
-    <Style style="17" substyle="-1" color="#c8ffb3" paper="#262626" font="Liberation Mono,9,-1,5,50,0,0,0,0,0" eolfill="False">
+    <Style style="17" substyle="-1" color="#c8ffb3" paper="#262626" font="Hack,9,-1,5,50,0,0,0,0,0" eolfill="False">
       <Description>CSS3 property</Description>
     </Style>
-    <Style style="18" substyle="-1" color="#ddd2c8" paper="#262626" font="Liberation Mono,9,-1,5,50,0,0,0,0,0" eolfill="False">
+    <Style style="18" substyle="-1" color="#ddd2c8" paper="#262626" font="Hack,9,-1,5,50,0,0,0,0,0" eolfill="False">
       <Description>Pseudo-element</Description>
     </Style>
-    <Style style="19" substyle="-1" color="#ddd2c8" paper="#262626" font="Liberation Mono,9,-1,5,50,0,0,0,0,0" eolfill="False">
+    <Style style="19" substyle="-1" color="#ddd2c8" paper="#262626" font="Hack,9,-1,5,50,0,0,0,0,0" eolfill="False">
       <Description>Extended CSS property</Description>
     </Style>
-    <Style style="20" substyle="-1" color="#ddd2c8" paper="#262626" font="Liberation Mono,9,-1,5,50,0,0,0,0,0" eolfill="False">
+    <Style style="20" substyle="-1" color="#ddd2c8" paper="#262626" font="Hack,9,-1,5,50,0,0,0,0,0" eolfill="False">
       <Description>Extended pseudo-class</Description>
     </Style>
-    <Style style="21" substyle="-1" color="#ddd2c8" paper="#262626" font="Liberation Mono,9,-1,5,50,0,0,0,0,0" eolfill="False">
+    <Style style="21" substyle="-1" color="#ddd2c8" paper="#262626" font="Hack,9,-1,5,50,0,0,0,0,0" eolfill="False">
       <Description>Extended pseudo-element</Description>
     </Style>
-    <Style style="22" substyle="-1" color="#c7c700" paper="#262626" font="Liberation Mono,9,-1,5,75,0,0,0,0,0" eolfill="False">
+    <Style style="22" substyle="-1" color="#c7c700" paper="#262626" font="Hack,9,-1,5,75,0,0,0,0,0" eolfill="False">
       <Description>Media rule</Description>
     </Style>
-    <Style style="23" substyle="-1" color="#ddd2c8" paper="#262626" font="Liberation Mono,9,-1,5,50,0,0,0,0,0" eolfill="False">
+    <Style style="23" substyle="-1" color="#ddd2c8" paper="#262626" font="Hack,9,-1,5,50,0,0,0,0,0" eolfill="False">
       <Description>Variable</Description>
     </Style>
   </Lexer>
diff -r 17974c348101 -r e0e05a1b576f eric6/Styles/eric6_Dark-QSS.e6h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/eric6/Styles/eric6_Dark-QSS.e6h	Sat Apr 11 14:13:25 2020 +0200
@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE HighlightingStyles SYSTEM "HighlightingStyles-6.0.dtd">
+<!-- Eric6 highlighting styles -->
+<!-- Saved: 2020-04-11, 12:29:21-->
+<!-- Author: Detlev Offenbach <detlev@die-offenbachs.de> -->
+<HighlightingStyles version="6.0">
+  <Lexer name="QSS">
+    <Style style="0" substyle="-1" color="#ff7bc2" paper="#262626" font="Hack,9,-1,5,50,0,0,0,0,0" eolfill="False">
+      <Description>Default</Description>
+    </Style>
+    <Style style="1" substyle="-1" color="#75ff98" paper="#262626" font="Hack,9,-1,5,75,0,0,0,0,0,Bold" eolfill="False">
+      <Description>Tag</Description>
+    </Style>
+    <Style style="2" substyle="-1" color="#ffffff" paper="#262626" font="Hack,9,-1,5,50,0,0,0,0,0" eolfill="False">
+      <Description>Class selector</Description>
+    </Style>
+    <Style style="3" substyle="-1" color="#cc6363" paper="#262626" font="Hack,9,-1,5,50,0,0,0,0,0" eolfill="False">
+      <Description>Pseudo-class</Description>
+    </Style>
+    <Style style="4" substyle="-1" color="#ffb45d" paper="#262626" font="Hack,9,-1,5,50,0,0,0,0,0" eolfill="False">
+      <Description>Unknown pseudo-class</Description>
+    </Style>
+    <Style style="5" substyle="-1" color="#ffffff" paper="#262626" font="Hack,9,-1,5,50,0,0,0,0,0" eolfill="False">
+      <Description>Operator</Description>
+    </Style>
+    <Style style="6" substyle="-1" color="#81a9ff" paper="#262626" font="Hack,9,-1,5,50,0,0,0,0,0" eolfill="False">
+      <Description>CSS1 property</Description>
+    </Style>
+    <Style style="7" substyle="-1" color="#ff0000" paper="#262626" font="Hack,9,-1,5,50,0,0,0,0,0" eolfill="False">
+      <Description>Unknown property</Description>
+    </Style>
+    <Style style="8" substyle="-1" color="#ff92bc" paper="#262626" font="Hack,9,-1,5,50,0,0,0,0,0" eolfill="False">
+      <Description>Value</Description>
+    </Style>
+    <Style style="9" substyle="-1" color="#00b400" paper="#262626" font="Hack,9,-1,5,50,0,0,0,0,0" eolfill="False">
+      <Description>Comment</Description>
+    </Style>
+    <Style style="10" substyle="-1" color="#00dada" paper="#262626" font="Hack,9,-1,5,50,1,0,0,0,0" eolfill="False">
+      <Description>ID selector</Description>
+    </Style>
+    <Style style="11" substyle="-1" color="#ff8000" paper="#262626" font="Hack,9,-1,5,75,0,0,0,0,0" eolfill="False">
+      <Description>Important</Description>
+    </Style>
+    <Style style="12" substyle="-1" color="#aaaa00" paper="#262626" font="Hack,9,-1,5,75,0,0,0,0,0" eolfill="False">
+      <Description>@-rule</Description>
+    </Style>
+    <Style style="13" substyle="-1" color="#ff00ff" paper="#262626" font="Hack,9,-1,5,50,0,0,0,0,0" eolfill="False">
+      <Description>Double-quoted string</Description>
+    </Style>
+    <Style style="14" substyle="-1" color="#ff00ff" paper="#262626" font="Hack,9,-1,5,50,0,0,0,0,0" eolfill="False">
+      <Description>Single-quoted string</Description>
+    </Style>
+    <Style style="15" substyle="-1" color="#00b7ff" paper="#262626" font="Hack,9,-1,5,50,0,0,0,0,0" eolfill="False">
+      <Description>CSS2 property</Description>
+    </Style>
+    <Style style="16" substyle="-1" color="#ff7575" paper="#262626" font="Hack,9,-1,5,50,0,0,0,0,0" eolfill="False">
+      <Description>Attribute</Description>
+    </Style>
+    <Style style="17" substyle="-1" color="#c8ffb3" paper="#262626" font="Hack,9,-1,5,50,0,0,0,0,0" eolfill="False">
+      <Description>CSS3 property</Description>
+    </Style>
+    <Style style="18" substyle="-1" color="#ddd2c8" paper="#262626" font="Hack,9,-1,5,50,0,0,0,0,0" eolfill="False">
+      <Description>Pseudo-element</Description>
+    </Style>
+    <Style style="19" substyle="-1" color="#ddd2c8" paper="#262626" font="Hack,9,-1,5,50,0,0,0,0,0" eolfill="False">
+      <Description>Extended CSS property</Description>
+    </Style>
+    <Style style="20" substyle="-1" color="#ddd2c8" paper="#262626" font="Hack,9,-1,5,50,0,0,0,0,0" eolfill="False">
+      <Description>Extended pseudo-class</Description>
+    </Style>
+    <Style style="21" substyle="-1" color="#ddd2c8" paper="#262626" font="Hack,9,-1,5,50,0,0,0,0,0" eolfill="False">
+      <Description>Extended pseudo-element</Description>
+    </Style>
+    <Style style="22" substyle="-1" color="#c7c700" paper="#262626" font="Hack,9,-1,5,75,0,0,0,0,0" eolfill="False">
+      <Description>Media rule</Description>
+    </Style>
+    <Style style="23" substyle="-1" color="#ddd2c8" paper="#262626" font="Hack,9,-1,5,50,0,0,0,0,0" eolfill="False">
+      <Description>Variable</Description>
+    </Style>
+  </Lexer>
+</HighlightingStyles>

eric ide

mercurial