49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
|
.blue:hover { background-color: hsl(210, 60%, 40%); color: hsl(210, 10%, 96%); }
/* links */
a:link, a:visited {
color: hsl(210, 70%, 40%);
/*text-decoration: none;*/
}
a:hover, a:active {
text-shadow: 0 0 2px hsl(210, 80%, 60%);
}
a.extlink:hover:after {
content: " >";
}
/* Main classes */
html {
box-sizing: border-box;
width: 530px;
height: 880px;
font-family: "Trebuchet MS", "Liberation Sans", sans-serif;
}
body {
width: 530px;
height: 880px;
}
#main {
display: flex;
flex-direction: row;
flex-wrap: nowrap;
align-items: stretch;
background-color: hsl(210, 0%, 100%);
min-height: 100%;
}
#left {
width: 54px;
background-color: hsl(210, 10%, 96%);
border-right: solid 1px hsl(210, 0%, 70%);
color: hsl(210, 10%, 96%);
}
#logo {
padding: 10px;
}
#left li {
padding: 10px 5px;
border-bottom: 1px solid hsl(210, 10%, 90%);
text-align: center;
cursor: pointer;
color: hsl(210, 10%, 50%);
list-style-type: none;
}
#left li:hover {
background-color: hsl(210, 10%, 92%);
}
#page {
background-color: hsl(210, 0%, 100%);
}
#page h1 {
margin: 0 0 10px 0;
color: hsl(210, 70%, 70%);
font: bold 30px 'Yanone Kaffeesatz', "Liberation Sans Narrow", sans-serif;
}
#page p {
margin: 10px 0 5px 0;
}
#home_page {
display: block;
padding: 20px;
}
#tf_page {
display: none;
padding: 20px;
}
#gc_page {
display: none;
padding: 20px 20px 30px 20px;
}
#gc_options_page {
display: none;
padding: 20px;
}
#sc_options_page {
display: none;
padding: 20px;
}
#lxg_page {
display: none;
padding: 20px;
}
/*
Conjugueur page
*/
#conj_page {
display: none;
padding: 10px;
}
#conj_page h2 {
margin: 5px 0 2px 0;
color: hsl(210, 50%, 50%);
font: bold 30px Tahoma, "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", sans-serif;
}
#conj_page h3 {
margin: 5px 0 2px 0;
color: hsl(0, 50%, 50%);
font: bold 16px Tahoma, "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", sans-serif;
}
#conj_page h4 {
margin: 5px 0 2px 0;
color: hsl(210, 50%, 50%);
font: bold 14px Tahoma, "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", sans-serif;
}
#conj_page .colonne {
float: left;
width: 240px;
}
#conj_page .colsep {
float: left;
width: 20px;
}
#conj_page .colonne p {
font-size: 12px;
}
#conj_page input#verb {
display: inline-block;
width: 230px;
margin-left: 5px;
padding: 5px 10px;
border: 2px solid hsl(0, 0%, 80%);
border-radius: 3px;
height: 24px;
background: transparent;
font: normal 20px Tahoma, "Ubuntu Condensed";
color: hsl(0, 0%, 30%);
}
#conj_page input[placeholder]#verb {
color: hsl(0, 0%, 70%);
}
#conj_page a#conjugate {
display: inline-block;
padding: 7px 10px;
font-size: 20px;
background-color: hsl(0, 30%, 30%);
color: hsl(0, 30%, 60%);
border-radius: 3px;
text-transform: uppercase;
text-align: center;
text-decoration: none;
}
#conj_page a#conjugate:hover {
background-color: hsl(0, 60%, 40%);
color: hsl(0, 60%, 70%);
box-shadow: 0 0 2px hsl(0, 60%, 50%);
}
#conj_options {
margin: 10px 5px 0 5px;
font-size: 16px;
text-align: center;
}
#conj_smallnote {
float: right;
width: 190px;
margin: 15px 0 0 0;
padding: 0 5px;
font-size: 8.5px;
color: hsl(0, 0%, 60%);
text-align: center;
}
/*
Test page
*/
#test_page {
display: none;
}
#test_cmd {
padding: 15px;
background-color: hsl(0, 0%, 92%);
border-bottom: 1px solid hsl(0, 0%, 86%);
}
#test_cmd textarea {
width: 100%;
border: 2px solid hsl(0, 0%, 89%);
border-radius: 3px;
resize: vertical;
}
#test_results {
padding: 15px;
background-color: hsl(0, 0%, 96%);
}
#test_page .button {
display: inline-block;
padding: 5px 10px;
width: 120px;
border-radius: 3px;
font-size: 12px;
text-align: center;
cursor: pointer;
}
/*
Text formatter
*/
#tf_options {
}
#tf_options fieldset {
margin: 5px 0;
padding: 5px 10px 10px 10px;
background-color: hsl(0, 0%, 92%);
border-radius: 3px;
}
#tf_options legend {
font-size: 20px;
color: hsla(210, 20%, 50%, .8);
font-weight: bold;
}
#tf_options legend span {
display: none;
}
#tf_options fieldset h2 {
color: hsl(210, 80%, 40%);
}
#tf_options fieldset .blockopt {
padding: 2px 3px;
font-size: 12.5px;
}
#tf_options fieldset .underline:hover {
background-color: hsl(180, 10%, 86%);
border-radius: 2px;
}
#tf_options fieldset .option {
margin: 1px 3px 0 0;
float: left;
}
#tf_options legend .option {
margin: 7px 5px 0 3px;
float: left;
}
#tf_options fieldset .opt_lbl {
display: inline-block;
color: hsl(0, 0%, 20%);
}
#tf_options fieldset .largew {
width: 300px;
}
#tf_options fieldset .reducedw {
width: 200px;
}
#tf_options fieldset .smallw {
width: 90px;
}
#tf_options fieldset .secondoption {
display: inline-block;
}
#tf_options fieldset label span {
display: none;
}
#tf_options .groupblock {
opacity: 0.3;
}
#tf_options .inlineblock {
display: inline-block;
}
#tf_options .indent {
margin-left: 15px;
}
#tf_actions {
background-color: hsl(120, 10%, 92%);
padding: 15px;
border-top: 1px solid hsl(120, 20%, 86%);
}
#tf_options .button {
display: inline-block;
padding: 5px 10px;
width: 100px;
border-radius: 3px;
font-size: 16px;
font-weight: bold;
text-align: center;
cursor: pointer;
}
#tf_progressbarbox {
display: inline-block;
padding: 10px 20px;
}
/*
Other elements
*/
#movewindow {
position: fixed;
right: 0;
top: 50;
width: 16px;
margin-top: 60px;
z-index: 100;
}
#movewindow .arrow {
background-color: hsl(180, 60%, 50%);
cursor: pointer;
padding: 1px 3px;
font-size: 10px;
font-weight: bold;
text-align: center;
color: hsl(180, 50%, 90%);
}
#movewindow .arrow:hover {
background-color: hsl(180, 70%, 40%);
cursor: hsl(180, 50%, 96%);
}
#rightcorner {
position: absolute;
top: 0;
right: 0;
}
a.rightcornerbutton1 {
float: right;
padding: 2px 10px 5px 10px;
border-radius: 0 0 0 3px;
font-size: 18px;
text-decoration: none;
}
a.rightcornerbutton {
float: right;
padding: 2px 10px 5px 10px;
font-size: 18px;
text-decoration: none;
}
/*
CSS Spinner
Double bounce
http://tobiasahlin.com/spinkit/
*/
.spinner {
|
|
|
|
|
|
>
>
>
>
>
>
>
<
<
<
|
|
<
>
|
|
|
|
|
|
|
|
>
|
|
>
>
|
|
>
>
|
<
<
|
>
>
>
|
>
>
>
>
|
>
>
>
>
>
>
|
|
<
|
>
>
>
>
>
>
|
|
|
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
|
|
|
|
|
>
>
>
>
>
>
>
>
>
|
|
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
|
>
>
>
>
|
|
<
|
|
|
<
|
<
<
<
|
|
|
<
<
<
<
|
<
|
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
|
<
<
<
<
<
<
<
<
<
<
<
<
<
|
<
<
<
|
<
<
<
<
<
|
<
<
|
<
<
|
>
>
|
<
<
<
<
|
<
|
|
<
|
>
>
|
|
|
>
|
>
|
<
|
|
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
|
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
|
.blue:hover { background-color: hsl(210, 60%, 40%); color: hsl(210, 10%, 96%); }
/* links */
a:link, a:visited {
color: hsl(210, 70%, 40%);
text-decoration: none;
}
a:hover, a:active {
text-shadow: 0 0 2px hsl(210, 80%, 60%);
}
a.extlink:hover:after {
content: " >";
}
/* Main classes */
html {
box-sizing: border-box;
width: 400px;
height: 500px;
font-family: "Trebuchet MS", "Liberation Sans", sans-serif;
}
body {
width: 400px;
height: 500px;
}
/*
Maximal height of a panel in WebExtention seems to be 500px.
When going over this limit, a scrollbar appears which destructs the
horizontal balance of elements.
--> vertical scrolling is done with overflow in #page.
#page must have the same height than body.
*/
#main {
display: flex;
background-color: hsl(210, 0%, 100%);
min-height: 100%;
}
#menu {
width: 50px;
border-right: solid 1px hsl(210, 0%, 70%);
background-color: hsl(210, 10%, 96%);
color: hsl(210, 10%, 96%);
}
#logo {
padding: 10px;
}
#menu li {
padding: 10px 5px;
border-bottom: 1px solid hsl(210, 10%, 90%);
text-align: center;
cursor: pointer;
color: hsl(210, 10%, 50%);
list-style-type: none;
font-size: 20px;
}
#menu li:hover {
background-color: hsl(210, 10%, 92%);
color: hsl(210, 80%, 50%);
text-shadow: 0px 0px 1px hsl(210, 100%, 70%);
}
#page {
background-color: hsl(210, 0%, 100%);
height: 500px;
overflow: auto;
}
#page h1 {
margin: 0 0 10px 0;
color: hsl(210, 50%, 50%);
font: bold 30px 'Yanone Kaffeesatz', "Liberation Sans Narrow", sans-serif;
}
/*
Home
*/
#home_page {
display: block;
background-color: hsl(210, 20%, 92%);
min-height: 100%;
}
#home_page #mainlogo {
padding: 5px 20px 20px 20px;
background-color: hsl(210, 20%, 96%);
}
#home_page .notice {
margin-top: 5px;
font-size: 12px;
font-variant-caps: small-caps;
color: hsl(210, 20%, 50%);
}
#home_page #thanks {
padding: 20px 0 0 0;
border-top: 1px solid hsl(210, 20%, 88%);
font-size: 14px;
}
/*
Help
*/
#help_page {
display: none;
padding: 20px;
}
#help_page h2 {
font-size: 20px;
color: hsl(210, 50%, 50%);
}
#help_page .shortcut {
margin-top: 10px;
font-weight: bold;
font-size: 13px;
}
#help_page .shortcut_label {
margin-left: 30px;
}
/*
Grammar checking options
*/
#gc_options_page {
display: none;
padding: 20px;
}
.opt_subsection {
margin: 5px 0;
padding: 10px;
background-color: hsl(210, 20%, 95%);
border-radius: 3px;
}
.opt_subsection h2 {
color: hsl(210, 30%, 50%);
margin-bottom: 3px;
font-size: 16px;
font-family: "Trebuchet MS", sans-serif;
}
.opt_subsection p {
padding: 2px 3px;
display: flex;
align-items: center;
}
.opt_subsection p:hover {
background-color: hsl(210, 20%, 90%);
border-radius: 2px;
}
.opt_subsection label {
flex: 1;
font-size: 12px;
}
.opt_subsection input {
order: 1
}
#gc_options_page .button {
margin: 20px 30px 0 30px;
padding: 5px 10px;
border-radius: 3px;
font-size: 16px;
text-align: center;
cursor: pointer;
}
/*
Spell checking options
*/
#sc_options_page {
display: none;
padding: 20px;
}
#dictionaries_info {
margin: 10px 0;
padding: 10px;
border-radius: 3px;
background-color: hsl(0, 50%, 40%);
color: hsl(0, 10%, 96%);
}
.dict_section {
padding: 10px;
margin-top: 10px;
border-radius: 5px;
background-color: hsl(210, 20%, 96%);
}
.dict_section label {
font-size: 16px;
line-height: 20px;
color: hsl(210, 20%, 50%);
font-weight: bold;
}
.dict_description {
padding: 0 0 0 20px;
color: hsl(0, 0%, 0%);
font-size: 12px;
}
/*
Test page
*/
#test_page {
display: none;
background-color: hsl(210, 20%, 96%);
min-height: 100%;
}
#test_cmd {
padding: 15px;
background-color: hsl(210, 20%, 92%);
border-bottom: 1px solid hsl(210, 20%, 90%);
}
#test_cmd textarea {
width: 95%;
padding: 5px;
border: 2px solid hsl(210, 20%, 80%);
background-color: hsl(210, 20%, 98%);
border-radius: 3px;
resize: vertical;
}
#tests_result {
padding: 15px;
}
#test_page .button {
display: inline-block;
padding: 5px;
width: 100px;
border-radius: 3px;
font-size: 12px;
text-align: center;
cursor: pointer;
}
/*
CSS Spinner
Double bounce
http://tobiasahlin.com/spinkit/
*/
.spinner {
|