1
0
mirror of https://tt-rss.org/git/tt-rss.git synced 2024-07-16 14:57:44 +02:00
ttrss/lib/dijit/themes/claro/ColorPalette.css

42 lines
1.5 KiB
CSS
Raw Normal View History

2011-11-08 17:40:44 +01:00
/* ColorPalette
*
* Styling of the ColorPalette consists of the following:
*
* 1. the whole color palette
* .dijitColorPalette - for outline, border, and background color of the whole color palette
* Note: outline does not work for IE
*
* 2. the color swatch
* .dijitColorPalette .dijitPaletteImg
* transparent (but clickable) <img> node inside of each <td>, overlaying the color swatch.
* displays border around a color swatch
*
* 3. hovered swatch
2012-08-14 16:59:10 +02:00
* .dijitColorPalette .dijitPaletteCell:hover .dijitPaletteImg
2011-11-08 17:40:44 +01:00
* the hovered state of the color swatch - adds border
*
* 4. active and selected swatch
2012-08-14 16:59:10 +02:00
* .dijitColorPalette .dijitPaletteCell:active .dijitPaletteImg
2011-11-08 17:40:44 +01:00
* .dijitColorPalette .dijitPaletteCellSelected .dijitPaletteImg
* adds border for active or selected state
*/
.claro .dijitColorPalette {
2011-11-08 17:40:44 +01:00
border: 1px solid #b5bcc7;
background: #ffffff;
-moz-border-radius: 0;
border-radius: 0;
}
.claro .dijitColorPalette .dijitPaletteImg {
2011-11-08 17:40:44 +01:00
/* transparent (but clickable) <img> node inside of each <td>, overlaying the color swatch.
* displays border around a color swatch
* overrides border color in dijit.css */
border: 1px solid #d3d3d3;
}
2012-08-14 16:59:10 +02:00
.claro .dijitColorPalette .dijitPaletteCell:hover .dijitPaletteImg {
2011-11-08 17:40:44 +01:00
border: 1px solid #000000;
}
2012-08-14 16:59:10 +02:00
.claro .dijitColorPalette .dijitPaletteCell:active .dijitPaletteImg, .claro .dijitColorPalette .dijitPaletteTable .dijitPaletteCellSelected .dijitPaletteImg {
2011-11-08 17:40:44 +01:00
border: 2px solid #000000;
}