aboutsummaryrefslogtreecommitdiff
path: root/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.css
diff options
context:
space:
mode:
authorAnanya Sen2012-05-31 10:13:40 -0700
committerAnanya Sen2012-05-31 10:13:40 -0700
commit286457b4f23974277274ba388afd283e8aa085cb (patch)
treec21bf791e7c4f572d12f97987ea6b89e74da67fe /js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.css
parent4d9b481c58090e8f1fc7b0e9d73a81b0f49cccc8 (diff)
parentd49c909cff7f0c5e5d0b127ad84a2fefc6677dc6 (diff)
downloadninja-286457b4f23974277274ba388afd283e8aa085cb.tar.gz
Merge branch 'refs/heads/ninja-internal-master' into cut-copy-paste
Conflicts: js/controllers/styles-controller.js Signed-off-by: Ananya Sen <Ananya.Sen@motorola.com>
Diffstat (limited to 'js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.css')
-rw-r--r--js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.css93
1 files changed, 93 insertions, 0 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
new file mode 100644
index 00000000..3e7252b5
--- /dev/null
+++ b/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.css
@@ -0,0 +1,93 @@
1/* <copyright>
2 This file contains proprietary software owned by Motorola Mobility, Inc.<br/>
3 No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/>
4 (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved.
5 </copyright> */
6.css-style-rule-item {
7 min-height: 69px;
8 position: relative;
9}
10.css-style-rule-item:after {
11 content: "}";
12 padding: 0 0 0 4px;
13 position: relative;
14 top: -10px;
15}
16.style-rule-heading {
17 background-color: #f3f3f3;
18 /*background-color: #DDDDDD;*/
19 border: 1px #e7e7e7;
20 /*border: 1px #CCC;*/
21 border-style: solid none;
22 box-shadow: inset 0 0 1px #FFF;
23 padding: 4px;
24}
25.style-sheet-name {
26 color: #333;
27 font-family: "Droid Sans", sans-serif;
28 padding-top: 1px;
29 position: absolute;
30 right: 8px;
31 text-decoration: none;
32}
33
34/* -------------------
35 Selector Styles
36------------------ */
37
38.css-style-rule-item .nj-css-selector {
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;
59}
60.css-style-rule-item .nj-css-selector.editable {
61 background-color: #FFF;
62 border: 1px solid #999;
63 border-radius: 2px;
64 box-shadow: 1px 1px 1px #CCC;
65 color: #333;
66 display: inline-block;
67 margin-right: 7px;
68 max-width: none;
69 overflow: visible;
70 -webkit-user-select: text;
71}
72.css-style-rule-item .nj-css-selector:after {
73 position: absolute;
74
75 right: -10px;
76
77}
78
79/* -------------------
80 Unapplied Rule
81------------------ */
82.unapplied-css-rule {
83 /*opacity: .8;*/
84 /*background-color: #f3f3f3;*/
85}
86.unapplied-css-rule .style-rule-heading {
87 background-repeat: no-repeat;
88 background-position: 6px 6px;
89 background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAALCAYAAABGbhwYAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw%2FeHBhY2tldCBiZWdpbj0i77u%2FIiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8%2BIDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0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