diff options
Diffstat (limited to 'js/panels/css-panel/style.reel/style.css')
-rw-r--r-- | js/panels/css-panel/style.reel/style.css | 32 |
1 files changed, 31 insertions, 1 deletions
diff --git a/js/panels/css-panel/style.reel/style.css b/js/panels/css-panel/style.reel/style.css index 4673ab69..9a877b5d 100644 --- a/js/panels/css-panel/style.reel/style.css +++ b/js/panels/css-panel/style.reel/style.css | |||
@@ -5,11 +5,23 @@ | |||
5 | </copyright> */ | 5 | </copyright> */ |
6 | 6 | ||
7 | .style-item { | 7 | .style-item { |
8 | display: block; | ||
8 | overflow: hidden; | 9 | overflow: hidden; |
9 | white-space: nowrap; | 10 | white-space: nowrap; |
10 | text-overflow: ellipsis; | 11 | text-overflow: ellipsis; |
11 | } | 12 | } |
12 | 13 | .style-item input { | |
14 | height: 10px; | ||
15 | width: 10px; | ||
16 | margin: 0 6px; | ||
17 | visibility: hidden; | ||
18 | } | ||
19 | .style-item:hover input, .style-item-disabled input { | ||
20 | visibility: visible; | ||
21 | } | ||
22 | .style-item-disabled { | ||
23 | opacity: .5; | ||
24 | } | ||
13 | .css-property, .css-value { | 25 | .css-property, .css-value { |
14 | border: 1px solid rgba(0,0,0,0); | 26 | border: 1px solid rgba(0,0,0,0); |
15 | border-radius: 2px; | 27 | border-radius: 2px; |
@@ -17,6 +29,9 @@ | |||
17 | outline: none; | 29 | outline: none; |
18 | padding: 0 2px; | 30 | padding: 0 2px; |
19 | } | 31 | } |
32 | .css-property:hover, .css-value:hover { | ||
33 | background-color: #FFDECC; | ||
34 | } | ||
20 | .css-property:after { | 35 | .css-property:after { |
21 | color: #333; | 36 | color: #333; |
22 | content: ":"; | 37 | content: ":"; |
@@ -33,4 +48,19 @@ | |||
33 | } | 48 | } |
34 | .css-value { | 49 | .css-value { |
35 | display: inline; | 50 | display: inline; |
51 | } | ||
52 | .style-item .editable { | ||
53 | border: 1px solid #999; | ||
54 | box-shadow: 1px 1px 1px #CCC; | ||
55 | color: #333; | ||
56 | display: inline-block; | ||
57 | margin-right: 7px; | ||
58 | max-width: none; | ||
59 | overflow: visible; | ||
60 | -webkit-user-select: text; | ||
61 | } | ||
62 | .style-item .editable:after { | ||
63 | position: relative; | ||
64 | margin-right: -7px; | ||
65 | right: -1px; | ||
36 | } \ No newline at end of file | 66 | } \ No newline at end of file |