aboutsummaryrefslogtreecommitdiff
path: root/js/panels/css-panel/style.reel/style.css
diff options
context:
space:
mode:
authorEric Guzman2012-04-23 11:51:02 -0700
committerEric Guzman2012-04-23 11:51:02 -0700
commit0e5520008925f480d5d1bb8356220c773d1c5e37 (patch)
treeb520f21d424f32c39e5633a24219030db97c1b96 /js/panels/css-panel/style.reel/style.css
parent97f21076db2603a1437f8bade3d9713433d473fe (diff)
downloadninja-0e5520008925f480d5d1bb8356220c773d1c5e37.tar.gz
CSS Panel - Add editing and adding new styles in declaration and style
Diffstat (limited to 'js/panels/css-panel/style.reel/style.css')
-rw-r--r--js/panels/css-panel/style.reel/style.css56
1 files changed, 55 insertions, 1 deletions
diff --git a/js/panels/css-panel/style.reel/style.css b/js/panels/css-panel/style.reel/style.css
index 66c25fe0..f8750eea 100644
--- a/js/panels/css-panel/style.reel/style.css
+++ b/js/panels/css-panel/style.reel/style.css
@@ -11,7 +11,7 @@
11 border-bottom: 1px solid rgba(0,0,0,0); 11 border-bottom: 1px solid rgba(0,0,0,0);
12 cursor: url(/js/../images/tools/hand_down.png), default; 12 cursor: url(/js/../images/tools/hand_down.png), default;
13 display: block; 13 display: block;
14 overflow: hidden; 14 /*overflow: hidden;*/
15 white-space: nowrap; 15 white-space: nowrap;
16 text-overflow: ellipsis; 16 text-overflow: ellipsis;
17} 17}
@@ -93,6 +93,60 @@
93} 93}
94 94
95/* ------------------------ 95/* ------------------------
96 Empty Style (Add Style)
97------------------------ */
98.add-style-button {
99 display: none;
100}
101.empty-css-style {
102 cursor: default;
103 -webkit-transition: -webkit-transform .2s cubic-bezier(0.44, 0.19, 0, 0.99);
104 -webkit-transform: translate3d(-120px, 0, 0);
105}
106.empty-css-style:hover {
107 border-right-style: none;
108}
109.empty-css-style .add-style-button {
110 cursor: pointer;
111 color: #333;
112 display: inline-block;
113 font-family: "Droid Sans", sans-serif;
114 background: -webkit-linear-gradient(top, rgba(242,242,242,1) 1%,rgba(221,221,221,1) 100%);
115 border-radius: 5px;
116 border: 1px solid #CCC;
117 padding: 1px 10px 0;
118 position: absolute;
119 left: 140px;
120 text-shadow: 1px 1px 0 #FFF;
121 -webkit-transition: opacity .2s cubic-bezier(0.44, 0.19, 0, 0.99);
122}
123.empty-css-style .add-style-button:hover {
124 background: -webkit-linear-gradient(top, rgba(252,252,252,1) 1%,rgba(234,234,234,1) 100%);
125}
126.empty-css-style .add-style-button:active {
127 background: -webkit-linear-gradient(top, rgba(234,234,234,1) 0%,rgba(252,252,252,1) 99%);
128}
129.empty-css-style .css-property, .empty-css-style .css-value {
130 -webkit-transition: opacity .2s cubic-bezier(0.44, 0.19, 0, 0.99);
131 opacity: 0;
132}
133.empty-css-style.edit-empty-style .css-property, .empty-css-style.edit-empty-style .css-value {
134 opacity: 1;
135}
136.empty-css-style.edit-empty-style {
137 border-right-style: none;
138 -webkit-transform: translate3d(0, 0, 0);
139}
140.empty-css-style.edit-empty-style .css-property, .empty-css-style.edit-empty-style .css-value {
141 color: #adadad;
142}
143.empty-css-style.edit-empty-style .add-style-button {
144 opacity: 0;
145}
146.empty-css-style input[type="checkbox"] {
147 visibility: hidden;
148}
149/* ------------------------
96 Drag/Drop Styles 150 Drag/Drop Styles
97------------------------ */ 151------------------------ */
98 152