SF.net SVN: fclient:[846] trunk/fclient/fclient/impl/res/stylesheets/ default.css
Status: Pre-Alpha
Brought to you by:
jurner
From: <jU...@us...> - 2008-08-01 23:52:57
|
Revision: 846 http://fclient.svn.sourceforge.net/fclient/?rev=846&view=rev Author: jUrner Date: 2008-08-01 23:53:07 +0000 (Fri, 01 Aug 2008) Log Message: ----------- experimental, style progressBars Modified Paths: -------------- trunk/fclient/fclient/impl/res/stylesheets/default.css Modified: trunk/fclient/fclient/impl/res/stylesheets/default.css =================================================================== --- trunk/fclient/fclient/impl/res/stylesheets/default.css 2008-08-01 23:51:57 UTC (rev 845) +++ trunk/fclient/fclient/impl/res/stylesheets/default.css 2008-08-01 23:53:07 UTC (rev 846) @@ -14,8 +14,7 @@ **********************************************************************************************/ /* label style. sample: Host: - | 9999| -*/ + | 9999| */ QLabel#fieldHeader, QLabel#fieldHeader_2, QLabel#fieldHeader_3, @@ -30,8 +29,7 @@ /* label style. sample: - Host: | 9999| -*/ + Host: | 9999| */ QLabel#fieldName, QLabel#fieldName_2, QLabel#fieldName_3, @@ -41,6 +39,44 @@ QLabel#fieldName_7, QLabel#fieldName_8, QLabel#fieldName_9{ - font: bold; - color: green; - } \ No newline at end of file + } + + +/* progressBars */ +QProgressBar:horizontal { +border: 1px solid gray; +border-radius: 3px; +background: white; +text-align: center vcenter; +padding: 1px; +} +QProgressBar::chunk:horizontal { +background: qlineargradient(x1: 0, y1: 0.5, x2: 1, y2: 0.5, stop: 0 green, stop: 1 white); +} + +/* +QProgressBar{ + color: white; + border: 0px solid black; + background: gray; + margin: 0px; + padding: 0px; + text-align: center vcenter; +} +QProgressBar::chunk{ + background: #377FFF; + border-radius: 5px; + border: 1px solid darkgrey; + } + + +QProgressBar#downloadKey[status="loading"]::chunk{ + background:#0000FF; + } +QProgressBar#downloadKey[status="complete"]::chunk{ + background:#009600; + } +QProgressBar#downloadKey[status="error"]::chunk{ + background:red; + } +*/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |