annotate src/themes/default.css @ 47:16b61f228546 default tip

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