stylesheet comments/adjustments
authorsheepluva
Sat, 29 Oct 2011 18:20:56 +0200
changeset 6235 bb1a657f751b
parent 6233 b81199041d8f
child 6237 a66029015c18
stylesheet comments/adjustments
QTfrontend/res/css/chat.css
QTfrontend/res/css/qt.css
--- a/QTfrontend/res/css/chat.css	Sat Oct 29 17:52:35 2011 +0200
+++ b/QTfrontend/res/css/chat.css	Sat Oct 29 18:20:56 2011 +0200
@@ -17,14 +17,33 @@
  * This file can be stored at different locations, but it will be read only
  * once, based on first file found in this order:
  *
- *     <userdir>/Data/css/chat.css
- *     <datadir>/css/chat.css
- *     <internal default style-sheet>
+ *    <userdir>/Data/css/chat.css ( create/see full path with: /saveStyleSheet )
+ *    <datadir>/css/chat.css
+ *    <internal default style-sheet>
  *
  *****************************************************************************/
 
+/* valid color values
+ *
+ * transparent   (no color)
+ *
+ * colorname
+ *   (a word that is the name of a valid color)
+ *   available colors: http://www.w3.org/TR/SVG/types.html#ColorKeywords
+ *   examples: red, steelblue, mintcream
+ *
+ * #RRGGBB
+ *   (hexadecimal additive red-green-blue, max is ff, min 00, half is 80)
+ *   examples: #ffff00 (yellow), #808080 (gray)
+ *
+ * rgb(r, g, b)
+ *   (decimal additive red-green-blue, max is 255, min 0, half is 128)
+ *   examples: rgb(135, 206, 250) (lightskyblue)
+ */
+
+
 /* links */
-a { color:#c8c8ff; }
+a { color: #c8c8ff; }
 
 /* appearance of the whole chat */
 /* body { color: white; background-color: #000000; } */
@@ -70,7 +89,7 @@
 
 /* messages that contain your nickname */
 .highlight {  }
-.highlight .nick { color: red; } /* nicknames in highlighted messages */
+.highlight .nick { color: #ff0000; } /* nicknames in highlighted messages */
 
 /* system messages */
 .msg_Error { color: #ff0000; }
--- a/QTfrontend/res/css/qt.css	Sat Oct 29 17:52:35 2011 +0200
+++ b/QTfrontend/res/css/qt.css	Sat Oct 29 18:20:56 2011 +0200
@@ -11,9 +11,9 @@
  * This file can be stored at different locations, but it will be read only
  * once, based on first file found in this order:
  *
- *     <userdir>/Data/css/qt.css
- *     <datadir>/css/qt.css
- *     <internal default style-sheet> (:/res/css/qt.css)
+ *    <userdir>/Data/css/qt.css
+ *    <datadir>/css/qt.css
+ *    <internal default style-sheet> (:/res/css/qt.css)
  *
  *****************************************************************************/
 
@@ -30,6 +30,8 @@
 selection-color: #00351d;
 }
 
+a { color:#c8c8ff; }
+
 QLineEdit, QListWidget, QTableView, QTextBrowser, QSpinBox, QComboBox,
 QComboBox QAbstractItemView, QMenu::item {
 background-color: rgba(13, 5, 68, 70%);