diff options
author | Jose Antonio Marquez | 2012-06-20 16:45:29 -0700 |
---|---|---|
committer | Jose Antonio Marquez | 2012-06-20 16:45:29 -0700 |
commit | 7615da5c6ba54bd082eac4b8a6d9196084e5c590 (patch) | |
tree | d3f991a879ae252cbdeb3b88fd9229147367cc9c /js/panels | |
parent | fe569a08853fe986849b6496384d01f3abb65e40 (diff) | |
download | ninja-7615da5c6ba54bd082eac4b8a6d9196084e5c590.tar.gz |
Adding transparent background to color chip buttons
Add a transparent pattern to the background of color chips consumed in the app, this way you can preview colors in alpha. This was lost, just added back again. Not a big change, just minor CSS, so should only be quickly tested prior to merge.
Diffstat (limited to 'js/panels')
-rwxr-xr-x | js/panels/properties.reel/properties.css | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/js/panels/properties.reel/properties.css b/js/panels/properties.reel/properties.css index 84f52ed4..d1aa750a 100755 --- a/js/panels/properties.reel/properties.css +++ b/js/panels/properties.reel/properties.css | |||
@@ -239,8 +239,9 @@ padding-right:6px; | |||
239 | } | 239 | } |
240 | 240 | ||
241 | .propertiesPanel .colortoolbar div { | 241 | .propertiesPanel .colortoolbar div { |
242 | margin: 0px 10px 0px 20px; | 242 | margin: 0px 5px 0px 10px; |
243 | clear:none; | 243 | clear:none; |
244 | float: left; | ||
244 | } | 245 | } |
245 | 246 | ||
246 | /* color select */ | 247 | /* color select */ |
@@ -250,6 +251,13 @@ padding-right:6px; | |||
250 | clear:none; | 251 | clear:none; |
251 | } | 252 | } |
252 | 253 | ||
254 | .propertiesPanel .colortoolbar .chipContainer { | ||
255 | margin-top: 2px; | ||
256 | background: url(../../../../../images/colorpanel/transparent.png) repeat; | ||
257 | width: 40px; | ||
258 | height: 20px; | ||
259 | } | ||
260 | |||
253 | .propertiesPanel .button:active { | 261 | .propertiesPanel .button:active { |
254 | outline: none; | 262 | outline: none; |
255 | } | 263 | } |