Mercurial Hosting > sceditor
annotate src/themes/default.css @ 42:69654081643b
css cleanup
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 29 Aug 2022 22:36:31 -0600 |
parents | 2dfdaaac9482 |
children | ab852c9f04c3 |
rev | line source |
---|---|
0
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
1 /** |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
2 * SCEditor |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
3 * http://www.sceditor.com/ |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
4 * |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
5 * Copyright (C) 2017, Sam Clarke (samclarke.com) |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
6 * |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
7 * SCEditor is licensed under the MIT license: |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
8 * http://www.opensource.org/licenses/mit-license.php |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
9 */ |
10 | 10 |
0
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
11 .sceditor-container { |
10 | 12 display: -ms-flexbox; |
13 display: flex; | |
14 -ms-flex-direction: column; | |
15 flex-direction: column; | |
16 position: relative; | |
17 background: #fff; | |
18 border: 1px solid #d9d9d9; | |
19 font-size: 13px; | |
20 font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; | |
21 color: #333; | |
22 line-height: 1; | |
23 font-weight: bold; | |
24 height: 250px; | |
25 border-radius: 4px; | |
26 background-clip: padding-box; | |
0
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
27 } |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
28 .sceditor-container *, |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
29 .sceditor-container *:before, |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
30 .sceditor-container *:after { |
10 | 31 -webkit-box-sizing: content-box; |
32 -moz-box-sizing: content-box; | |
33 box-sizing: content-box; | |
0
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
34 } |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
35 .sceditor-container, |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
36 .sceditor-container div, |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
37 div.sceditor-dropdown, |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
38 div.sceditor-dropdown div { |
10 | 39 padding: 0; |
40 margin: 0; | |
41 z-index: 3; | |
0
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
42 } |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
43 .sceditor-container iframe, |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
44 .sceditor-container textarea { |
10 | 45 display: block; |
46 -ms-flex: 1 1 0%; | |
47 flex: 1 1 0%; | |
48 line-height: 1.25; | |
49 border: 0; | |
50 outline: none; | |
51 font-family: Verdana, Arial, Helvetica, sans-serif; | |
52 font-size: 14px; | |
53 color: #111; | |
54 padding: 0; | |
55 margin: 5px; | |
56 resize: none; | |
57 background: #fff; | |
58 height: auto !important; | |
59 width: auto !important; | |
60 width: calc(100% - 10px) !important; | |
61 min-height: 1px; | |
0
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
62 } |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
63 .sceditor-container textarea { |
10 | 64 margin: 7px 5px; |
0
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
65 } |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
66 div.sceditor-dnd-cover { |
10 | 67 position: absolute; |
68 top: 0; | |
69 left: 0; | |
70 bottom: 0; | |
71 right: 0; | |
72 background: rgba(255, 255, 255, 0.2); | |
73 border: 5px dashed #aaa; | |
74 z-index: 200; | |
75 font-size: 2em; | |
76 text-align: center; | |
77 color: #aaa; | |
0
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
78 } |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
79 div.sceditor-dnd-cover p { |
10 | 80 position: relative; |
81 top: 45%; | |
82 pointer-events: none; | |
0
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
83 } |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
84 div.sceditor-resize-cover { |
10 | 85 position: absolute; |
86 top: 0; | |
87 left: 0; | |
88 background: #000; | |
89 width: 100%; | |
90 height: 100%; | |
91 z-index: 10; | |
92 opacity: 0.3; | |
0
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
93 } |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
94 div.sceditor-grip { |
10 | 95 overflow: hidden; |
96 width: 10px; | |
97 height: 10px; | |
98 cursor: pointer; | |
99 position: absolute; | |
100 bottom: 0; | |
101 right: 0; | |
102 z-index: 3; | |
103 line-height: 0; | |
0
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
104 } |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
105 .sceditor-maximize { |
10 | 106 position: fixed; |
107 top: 0; | |
108 left: 0; | |
109 height: 100% !important; | |
110 width: 100% !important; | |
111 border-radius: 0; | |
112 background-clip: padding-box; | |
113 z-index: 2000; | |
0
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
114 } |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
115 html.sceditor-maximize, |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
116 body.sceditor-maximize { |
10 | 117 height: 100%; |
118 width: 100%; | |
119 padding: 0; | |
120 margin: 0; | |
121 overflow: hidden; | |
0
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
122 } |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
123 .sceditor-maximize div.sceditor-grip { |
10 | 124 display: none; |
0
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
125 } |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
126 .sceditor-maximize div.sceditor-toolbar { |
10 | 127 border-radius: 0; |
128 background-clip: padding-box; | |
0
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
129 } |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
130 /** |
10 | 131 * Dropdown styleing |
132 */ | |
0
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
133 div.sceditor-dropdown { |
10 | 134 position: absolute; |
135 border: 1px solid #ccc; | |
136 background: #fff; | |
137 z-index: 4000; | |
138 padding: 10px; | |
139 font-weight: normal; | |
140 font-size: 15px; | |
141 border-radius: 2px; | |
142 background-clip: padding-box; | |
143 box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.2); | |
0
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
144 } |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
145 div.sceditor-dropdown *, |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
146 div.sceditor-dropdown *:before, |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
147 div.sceditor-dropdown *:after { |
10 | 148 -webkit-box-sizing: border-box; |
149 -moz-box-sizing: border-box; | |
150 box-sizing: border-box; | |
0
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
151 } |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
152 div.sceditor-dropdown a, |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
153 div.sceditor-dropdown a:link { |
10 | 154 color: #333; |
0
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
155 } |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
156 div.sceditor-dropdown form { |
10 | 157 margin: 0; |
0
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
158 } |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
159 div.sceditor-dropdown label { |
10 | 160 display: block; |
161 font-weight: bold; | |
162 color: #3c3c3c; | |
163 padding: 4px 0; | |
0
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
164 } |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
165 div.sceditor-dropdown input, |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
166 div.sceditor-dropdown textarea { |
10 | 167 font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; |
168 outline: 0; | |
169 padding: 4px; | |
170 border: 1px solid #ccc; | |
171 border-top-color: #888; | |
172 margin: 0 0 0.75em; | |
173 border-radius: 1px; | |
174 background-clip: padding-box; | |
0
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
175 } |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
176 div.sceditor-dropdown textarea { |
10 | 177 padding: 6px; |
0
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
178 } |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
179 div.sceditor-dropdown input:focus, |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
180 div.sceditor-dropdown textarea:focus { |
10 | 181 border-color: #aaa; |
182 border-top-color: #666; | |
183 box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.1); | |
0
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
184 } |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
185 div.sceditor-dropdown .button { |
10 | 186 font-weight: bold; |
187 color: #444; | |
188 padding: 6px 12px; | |
189 background: #ececec; | |
190 border: solid 1px #ccc; | |
191 border-radius: 2px; | |
192 background-clip: padding-box; | |
193 cursor: pointer; | |
194 margin: 0.3em 0 0; | |
0
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
195 } |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
196 div.sceditor-dropdown .button:hover { |
10 | 197 background: #f3f3f3; |
198 box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15); | |
0
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
199 } |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
200 div.sceditor-font-picker, |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
201 div.sceditor-fontsize-picker, |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
202 div.sceditor-format { |
10 | 203 padding: 6px 0; |
0
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
204 } |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
205 div.sceditor-color-picker { |
10 | 206 padding: 4px; |
0
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
207 } |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
208 div.sceditor-emoticons, |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
209 div.sceditor-more-emoticons { |
10 | 210 padding: 0; |
0
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
211 } |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
212 .sceditor-pastetext textarea { |
10 | 213 border: 1px solid #bbb; |
214 width: 20em; | |
0
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
215 } |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
216 .sceditor-emoticons img, |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
217 .sceditor-more-emoticons img { |
10 | 218 padding: 0; |
219 cursor: pointer; | |
220 margin: 2px; | |
0
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
221 } |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
222 .sceditor-more { |
10 | 223 border-top: 1px solid #bbb; |
224 display: block; | |
225 text-align: center; | |
226 cursor: pointer; | |
227 font-weight: bold; | |
228 padding: 6px 0; | |
0
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
229 } |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
230 .sceditor-dropdown a:hover { |
10 | 231 background: #eee; |
0
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
232 } |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
233 .sceditor-fontsize-option, |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
234 .sceditor-font-option, |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
235 .sceditor-format a { |
10 | 236 display: block; |
237 padding: 7px 10px; | |
238 cursor: pointer; | |
239 text-decoration: none; | |
240 color: #222; | |
0
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
241 } |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
242 .sceditor-fontsize-option { |
10 | 243 padding: 7px 13px; |
0
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
244 } |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
245 .sceditor-color-column { |
10 | 246 float: left; |
0
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
247 } |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
248 .sceditor-color-option { |
10 | 249 display: block; |
250 border: 2px solid #fff; | |
251 height: 18px; | |
252 width: 18px; | |
253 overflow: hidden; | |
0
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
254 } |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
255 .sceditor-color-option:hover { |
10 | 256 border: 1px solid #aaa; |
0
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
257 } |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
258 /** |
10 | 259 * Toolbar styleing |
260 */ | |
0
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
261 div.sceditor-toolbar { |
10 | 262 flex-shrink: 0; |
263 overflow: hidden; | |
264 padding: 3px 5px 2px; | |
265 background: #f7f7f7; | |
266 border-bottom: 1px solid #c0c0c0; | |
267 line-height: 0; | |
268 text-align: left; | |
269 user-select: none; | |
270 border-radius: 3px 3px 0 0; | |
271 background-clip: padding-box; | |
0
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
272 } |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
273 div.sceditor-group { |
10 | 274 display: inline-block; |
275 background: #ddd; | |
276 margin: 1px 5px 1px 0; | |
277 padding: 1px; | |
278 border-bottom: 1px solid #aaa; | |
279 border-radius: 3px; | |
280 background-clip: padding-box; | |
0
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
281 } |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
282 .sceditor-button { |
10 | 283 float: left; |
284 cursor: pointer; | |
38 | 285 width: 26px; |
286 height: 26px; | |
10 | 287 border-radius: 3px; |
288 background-clip: padding-box; | |
38 | 289 display: flex; |
290 justify-content: center; | |
291 align-items: center; | |
0
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
292 } |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
293 .sceditor-button:hover, |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
294 .sceditor-button:active, |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
295 .sceditor-button.active { |
10 | 296 background: #fff; |
297 box-shadow: inset 1px 1px 0 rgba(0,0,0,0.3), inset -1px 0 rgba(0,0,0,0.3), inset 0 -1px 0 rgba(0,0,0,0.2); | |
0
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
298 } |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
299 .sceditor-button:active { |
10 | 300 background: #fff; |
301 box-shadow: inset 1px 1px 0 rgba(0,0,0,0.3), inset -1px 0 rgba(0,0,0,0.3), inset 0 -1px 0 rgba(0,0,0,0.2), inset 0 0 8px rgba(0,0,0,0.3); | |
0
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
302 } |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
303 .sceditor-button.disabled:hover { |
10 | 304 background: inherit; |
305 cursor: default; | |
306 box-shadow: none; | |
0
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
307 } |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
308 .sceditor-button svg { |
10 | 309 height: 16px; |
310 width: 16px; | |
311 fill: #111; | |
312 text-decoration: none; | |
313 pointer-events: none; | |
314 line-height: 1; | |
0
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
315 } |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
316 .sceditor-button.disabled svg { |
10 | 317 fill: #888; |
0
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
318 } |
38 | 319 .sceditor-button.disabled img { |
10 | 320 opacity: 0.3; |
0
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
321 } |
38 | 322 |
0
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
323 .rtl div.sceditor-toolbar { |
10 | 324 text-align: right; |
0
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
325 } |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
326 .rtl .sceditor-button { |
10 | 327 float: right; |
0
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
328 } |
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
329 .rtl div.sceditor-grip { |
10 | 330 right: auto; |
331 left: 0; | |
0
4c4fc447baea
start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
332 } |