diff options
Diffstat (limited to 'js/panels/css-panel')
-rw-r--r-- | js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.css | 32 |
1 files changed, 28 insertions, 4 deletions
diff --git a/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.css b/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.css index 03d43ebf..3e7252b5 100644 --- a/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.css +++ b/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.css | |||
@@ -30,13 +30,37 @@ | |||
30 | right: 8px; | 30 | right: 8px; |
31 | text-decoration: none; | 31 | text-decoration: none; |
32 | } | 32 | } |
33 | |||
34 | /* ------------------- | ||
35 | Selector Styles | ||
36 | ------------------ */ | ||
37 | |||
33 | .css-style-rule-item .nj-css-selector { | 38 | .css-style-rule-item .nj-css-selector { |
34 | position: relative; | ||
35 | border: 1px solid rgba(0,0,0,0); | 39 | border: 1px solid rgba(0,0,0,0); |
40 | display: inline-block; | ||
41 | font-weight: bold; | ||
42 | padding: 0 2px; | ||
43 | position: relative; | ||
44 | outline: none; | ||
45 | |||
46 | } | ||
47 | .nj-css-selector:after { | ||
48 | content: " {"; | ||
49 | font-weight: normal; | ||
50 | } | ||
51 | .nj-css-selector.nj-editable-focus { | ||
52 | position: relative; | ||
53 | } | ||
54 | .nj-css-rule-list .nj-css-selector.nj-editable-focus:after { | ||
55 | position: absolute; | ||
56 | } | ||
57 | .css-style-rule-item .nj-css-selector:focus { | ||
58 | box-shadow: none; | ||
36 | } | 59 | } |
37 | .css-style-rule-item .nj-css-selector.editable { | 60 | .css-style-rule-item .nj-css-selector.editable { |
61 | background-color: #FFF; | ||
38 | border: 1px solid #999; | 62 | border: 1px solid #999; |
39 | border-radius: 3px; | 63 | border-radius: 2px; |
40 | box-shadow: 1px 1px 1px #CCC; | 64 | box-shadow: 1px 1px 1px #CCC; |
41 | color: #333; | 65 | color: #333; |
42 | display: inline-block; | 66 | display: inline-block; |
@@ -56,8 +80,8 @@ | |||
56 | Unapplied Rule | 80 | Unapplied Rule |
57 | ------------------ */ | 81 | ------------------ */ |
58 | .unapplied-css-rule { | 82 | .unapplied-css-rule { |
59 | opacity: .8; | 83 | /*opacity: .8;*/ |
60 | background-color: #f3f3f3; | 84 | /*background-color: #f3f3f3;*/ |
61 | } | 85 | } |
62 | .unapplied-css-rule .style-rule-heading { | 86 | .unapplied-css-rule .style-rule-heading { |
63 | background-repeat: no-repeat; | 87 | background-repeat: no-repeat; |