|
34 | 34 | border-bottom: 1px solid #f1f1f1;
|
35 | 35 | font-size: 13px;
|
36 | 36 | }
|
37 |
| -.w-e-toolbar .w-e-droplist ul { |
| 37 | +.w-e-toolbar .w-e-droplist ul.w-e-list { |
38 | 38 | list-style: none;
|
39 | 39 | line-height: 1;
|
40 | 40 | }
|
41 |
| -.w-e-toolbar .w-e-droplist li { |
| 41 | +.w-e-toolbar .w-e-droplist ul.w-e-list li.w-e-item { |
42 | 42 | color: #333;
|
43 | 43 | padding: 5px 0;
|
44 | 44 | }
|
45 |
| -.w-e-toolbar .w-e-droplist li:hover { |
| 45 | +.w-e-toolbar .w-e-droplist ul.w-e-list li.w-e-item:hover { |
46 | 46 | background-color: #f1f1f1;
|
47 | 47 | }
|
48 |
| -.w-e-toolbar .w-e-droplist li .w-e-inline-block { |
| 48 | +.w-e-toolbar .w-e-droplist ul.w-e-block { |
| 49 | + list-style: none; |
| 50 | + text-align: left; |
| 51 | + padding: 5px; |
| 52 | +} |
| 53 | +.w-e-toolbar .w-e-droplist ul.w-e-block li.w-e-item { |
49 | 54 | display: inline-block;
|
50 | 55 | *display: inline;
|
51 | 56 | *zoom: 1;
|
52 |
| - width: 90%; |
53 |
| - height: 14px; |
54 |
| - border: 1px solid #f1f1f1; |
| 57 | + padding: 3px 5px; |
| 58 | +} |
| 59 | +.w-e-toolbar .w-e-droplist ul.w-e-block li.w-e-item:hover { |
| 60 | + background-color: #f1f1f1; |
55 | 61 | }
|
56 | 62 |
|
57 | 63 | @font-face {
|
|
181 | 187 | }
|
182 | 188 |
|
183 | 189 | .w-e-text-container .w-e-panel-container {
|
184 |
| - font-size: 100px; |
185 | 190 | position: absolute;
|
186 | 191 | top: 0;
|
187 | 192 | left: 50%;
|
188 | 193 | border: 1px solid #ccc;
|
189 | 194 | border-top: 0;
|
190 | 195 | box-shadow: 1px 1px 2px #ccc;
|
191 |
| - background-color: #fff; |
192 | 196 | color: #333;
|
193 |
| -} |
194 |
| -.w-e-text-container .w-e-panel-container textarea { |
195 |
| - width: 100%; |
196 |
| - border: 1px solid #ccc; |
197 |
| -} |
198 |
| -.w-e-text-container .w-e-panel-container textarea:focus { |
199 |
| - border-color: #1e88e5; |
200 |
| -} |
201 |
| -.w-e-text-container .w-e-panel-container input[type=text]:focus { |
202 |
| - border: 1px solid #1e88e5; |
| 197 | + background-color: #fff; |
| 198 | + /* 为 emotion panel 定制的样式 */ |
203 | 199 | }
|
204 | 200 | .w-e-text-container .w-e-panel-container .w-e-panel-tab-title {
|
205 | 201 | list-style: none;
|
206 | 202 | display: -webkit-box;
|
207 | 203 | display: -ms-flexbox;
|
208 | 204 | display: flex;
|
209 |
| - font-size: 0.16em; |
210 |
| - background-color: #f1f1f1; |
211 |
| - border-bottom: 1px solid #ccc; |
212 |
| - padding: 2px 10px 0 10px; |
| 205 | + font-size: 14px; |
| 206 | + margin: 2px 10px 0 10px; |
| 207 | + border-bottom: 1px solid #f1f1f1; |
213 | 208 | }
|
214 | 209 | .w-e-text-container .w-e-panel-container .w-e-panel-tab-title .w-e-item {
|
215 | 210 | padding: 3px 5px;
|
|
222 | 217 | .w-e-text-container .w-e-panel-container .w-e-panel-tab-title .w-e-active {
|
223 | 218 | color: #333;
|
224 | 219 | border-bottom: 1px solid #333;
|
| 220 | + cursor: default; |
| 221 | + font-weight: 700; |
225 | 222 | }
|
226 | 223 | .w-e-text-container .w-e-panel-container .w-e-panel-tab-content {
|
227 |
| - padding: 10px 15px 0 15px; |
228 |
| - font-size: 0.16em; |
| 224 | + padding: 10px 15px 10px 15px; |
| 225 | + font-size: 16px; |
| 226 | + /* 输入框的样式 */ |
| 227 | + /* 按钮的样式 */ |
| 228 | +} |
| 229 | +.w-e-text-container .w-e-panel-container .w-e-panel-tab-content input:focus, |
| 230 | +.w-e-text-container .w-e-panel-container .w-e-panel-tab-content textarea:focus, |
| 231 | +.w-e-text-container .w-e-panel-container .w-e-panel-tab-content button:focus { |
| 232 | + outline: none; |
229 | 233 | }
|
230 |
| -.w-e-text-container .w-e-panel-container .w-e-panel-tab-content table.form-table { |
| 234 | +.w-e-text-container .w-e-panel-container .w-e-panel-tab-content textarea { |
231 | 235 | width: 100%;
|
232 |
| - border: 0; |
| 236 | + border: 1px solid #ccc; |
| 237 | + padding: 5px; |
233 | 238 | }
|
234 |
| -.w-e-text-container .w-e-panel-container .w-e-panel-tab-content table.form-table td { |
235 |
| - padding: 5px 0; |
| 239 | +.w-e-text-container .w-e-panel-container .w-e-panel-tab-content textarea:focus { |
| 240 | + border-color: #1e88e5; |
236 | 241 | }
|
237 |
| -.w-e-text-container .w-e-panel-container .w-e-panel-tab-content table.form-table td input[type=text] { |
238 |
| - width: 100%; |
239 |
| - border: 0; |
| 242 | +.w-e-text-container .w-e-panel-container .w-e-panel-tab-content input[type=text] { |
| 243 | + border: none; |
240 | 244 | border-bottom: 1px solid #ccc;
|
241 |
| - font-size: 15px; |
| 245 | + font-size: 14px; |
| 246 | + height: 20px; |
| 247 | + color: #333; |
| 248 | + padding: 10px 5px; |
| 249 | + text-align: left; |
| 250 | +} |
| 251 | +.w-e-text-container .w-e-panel-container .w-e-panel-tab-content input[type=text].small { |
| 252 | + width: 30px; |
| 253 | + text-align: center; |
242 | 254 | }
|
243 |
| -.w-e-text-container .w-e-panel-container .w-e-panel-tab-content table.form-table td input[type=text]:focus { |
244 |
| - border-bottom-color: #1e88e5; |
| 255 | +.w-e-text-container .w-e-panel-container .w-e-panel-tab-content input[type=text].block { |
| 256 | + display: block; |
| 257 | + width: 100%; |
| 258 | + margin: 10px 0; |
245 | 259 | }
|
246 |
| -.w-e-text-container .w-e-panel-container .w-e-panel-tab-content .w-e-button-container { |
247 |
| - margin-top: 10px; |
| 260 | +.w-e-text-container .w-e-panel-container .w-e-panel-tab-content input[type=text]:focus { |
| 261 | + border-bottom: 2px solid #1e88e5; |
248 | 262 | }
|
249 | 263 | .w-e-text-container .w-e-panel-container .w-e-panel-tab-content .w-e-button-container button {
|
250 |
| - color: #999; |
251 |
| - border: 1px solid #ccc; |
252 | 264 | font-size: 14px;
|
| 265 | + color: #1e88e5; |
| 266 | + border: none; |
| 267 | + padding: 10px; |
253 | 268 | background-color: #fff;
|
254 |
| - padding: 2px 5px; |
255 | 269 | cursor: pointer;
|
256 |
| -} |
257 |
| -.w-e-text-container .w-e-panel-container .w-e-panel-tab-content .w-e-button-container button:hover { |
258 |
| - background-color: #f1f1f1; |
259 |
| -} |
260 |
| -.w-e-text-container .w-e-panel-container .w-e-panel-tab-content .w-e-button-container button.default { |
261 |
| - color: #1e88e5; |
262 |
| - border-color: #1e88e5; |
263 |
| -} |
264 |
| -.w-e-text-container .w-e-panel-container .w-e-panel-tab-content .w-e-button-container button.red { |
265 |
| - color: red; |
266 |
| - border-color: red; |
| 270 | + border-radius: 3px; |
267 | 271 | }
|
268 | 272 | .w-e-text-container .w-e-panel-container .w-e-panel-tab-content .w-e-button-container button.left {
|
269 | 273 | float: left;
|
| 274 | + margin-right: 10px; |
270 | 275 | }
|
271 | 276 | .w-e-text-container .w-e-panel-container .w-e-panel-tab-content .w-e-button-container button.right {
|
272 | 277 | float: right;
|
| 278 | + margin-left: 10px; |
| 279 | +} |
| 280 | +.w-e-text-container .w-e-panel-container .w-e-panel-tab-content .w-e-button-container button.gray { |
| 281 | + color: #999; |
| 282 | +} |
| 283 | +.w-e-text-container .w-e-panel-container .w-e-panel-tab-content .w-e-button-container button.red { |
| 284 | + color: #c24f4a; |
| 285 | +} |
| 286 | +.w-e-text-container .w-e-panel-container .w-e-panel-tab-content .w-e-button-container button:hover { |
| 287 | + background-color: #f1f1f1; |
| 288 | +} |
| 289 | +.w-e-text-container .w-e-panel-container .w-e-panel-tab-content .w-e-button-container:after { |
| 290 | + content: ""; |
| 291 | + display: table; |
| 292 | + clear: both; |
273 | 293 | }
|
274 | 294 | .w-e-text-container .w-e-panel-container .w-e-emoticon-container .w-e-item {
|
275 | 295 | cursor: pointer;
|
276 | 296 | font-size: 18px;
|
277 | 297 | padding: 0 3px;
|
278 | 298 | }
|
279 |
| -.w-e-text-container .w-e-panel-container input:focus { |
280 |
| - outline: none; |
281 |
| -} |
282 |
| -.w-e-text-container .w-e-panel-container textarea:focus { |
283 |
| - outline: none; |
284 |
| -} |
285 |
| -.w-e-text-container .w-e-panel-container button:focus { |
286 |
| - outline: none; |
287 |
| -} |
288 | 299 |
|
289 | 300 | .w-e-text-container {
|
290 | 301 | position: relative;
|
|
0 commit comments