Debian Codegraph @

dijit-themes/flat/dijit/ColorPalette.css

raw symbols SCIP
1 /* ColorPalette
2 *
3 * Styling of the ColorPalette consists of the following:
4 *
5 * 1. the whole color palette
6 * .dijitColorPalette - for outline, border, and background color of the whole color palette
7 * Note: outline does not work for IE
8 *
9 * 2. the color swatch
10 * .dijitColorPalette .dijitPaletteImg
11 * transparent (but clickable) <img> node inside of each <td>, overlaying the color swatch.
12 * displays border around a color swatch
13 *
14 * 3. hovered swatch
15 * .dijitColorPalette .dijitPaletteCell:hover .dijitPaletteImg
16 * the hovered state of the color swatch - adds border
17 *
18 * 4. active and selected swatch
19 * .dijitColorPalette .dijitPaletteCell:active .dijitPaletteImg
20 * .dijitColorPalette .dijitPaletteCellSelected .dijitPaletteImg
21 * adds border for active or selected state
22 */
23 .flat .dijitColorPalette {
24 border: 1px solid #9e9e9e;
25 background-color: #fff;
26 border-radius: 3px;
27 /* swatch */
28 }
29 .flat .dijitColorPalette .dijitPaletteTable {
30 padding: 4px;
31 }
32 .flat .dijitColorPalette .dijitColorPaletteSwatch {
33 height: 15px;
34 width: 15px;
35 border-radius: 2px;
36 }
37 .flat .dijitColorPalette .dijitPaletteImg {
38 /* transparent (but clickable) <img> node inside of each <td>, overlaying the color swatch.
39 * displays border around a color swatch
40 * overrides border color in dijit.css */
41 border: 1px solid transparent;
42 line-height: normal;
43 }
44 .flat .dijitColorPalette .dijitPaletteCell:hover .dijitPaletteImg {
45 border-color: #9e9e9e;
46 -webkit-box-shadow: none;
47 box-shadow: none;
48 border-radius: 2px;
49 -webkit-transform: scale(1.2);
50 -moz-transform: scale(1.2);
51 -o-transform: scale(1.2);
52 -ms-transform: scale(1.2);
53 transform: scale(1.2);
54 }
55 .flat .dijitColorPalette .dijitPaletteCell:active .dijitPaletteImg,
56 .flat .dijitColorPalette .dijitPaletteTable .dijitPaletteCellSelected .dijitPaletteImg {
57 border: 1px solid #2196f3;
58 -webkit-box-shadow: 0 1px 0.5px rgba(0,0,0,0.3), 0 2px 2px rgba(0,0,0,0.2);
59 box-shadow: 0 1px 0.5px rgba(0,0,0,0.3), 0 2px 2px rgba(0,0,0,0.2);
60 border-radius: 2px;
61 -webkit-transform: scale(1.2);
62 -moz-transform: scale(1.2);
63 -o-transform: scale(1.2);
64 -ms-transform: scale(1.2);
65 transform: scale(1.2);
66 }