summaryrefslogtreecommitdiff
path: root/static-files/journal/wymeditor/skins/seamless/skin.css
blob: c48d618565bc7974e5ad1b308086e8b8fe145d64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
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
/*TRYING TO RESET STYLES THAT MAY INTERFERE WITH WYMEDITOR*/
.wym_skin_seamless p,
.wym_skin_seamless h2,
.wym_skin_seamless h3,
.wym_skin_seamless ul,
.wym_skin_seamless li {
    background: transparent url();
    margin: 0;
    padding: 0;
    border-width: 0;
    list-style: none;
}

/*HIDDEN BY DEFAULT*/
.wym_skin_seamless .wym_area_left {
    display: none;
}
.wym_skin_seamless .wym_area_right {
    display: block;
}

/*TYPOGRAPHY*/
.wym_skin_seamless {
    font-size: 62.5%;
    font-family: Verdana, Arial, sans-serif;
}
.wym_skin_seamless h2 {
    font-size: 110%; /* = 11px */
}
.wym_skin_seamless h3 {
    font-size: 100%; /* = 10px */
}
.wym_skin_seamless li {
    font-size: 100%; /* = 10px */
}

/*WYM_BOX*/
.wym_box {
    margin:   0;
    overflow: visible;
    width:    98%;
}
.wym_skin_seamless {
    border-style: none;
    padding: 1px;
}

/*WYM_HTML*/
.wym_skin_seamless .wym_html {
    width: 98%;
}
.wym_skin_seamless .wym_html textarea {
    width: 100%;
    height: 200px;
    border: 1px solid gray;
    background: white;
}

/* Top controls */
.wym_skin_seamless .wym_area_top {
    width: 802px;
    margin-left: auto;
    margin-right: auto;
    height: 24px;
}
.wym_skin_seamless .wym_area_top_affix_placeholder {
    margin: 0px;
    padding: 0px;
}
.wym_skin_seamless .affix {
    position: fixed;
    top: 0px;
    width: 100%;
    background: white;
}

/*WYM_IFRAME*/
.wym_skin_seamless .wym_iframe {
    width: 802px;
    margin-left: auto;
    margin-right: auto;
}
.wym_skin_seamless .wym_iframe iframe {
    width: 100%;
    /* Don't set a height. That will be dynamic based on the content. */
    border-style: none;
    background: white;
    display: block;
    vertical-align: bottom;
}

/*AREAS*/
.wym_skin_seamless .wym_area_left {
    width: 150px;
    float: left;
}
.wym_skin_seamless .wym_area_right {
    width: 150px;
    float: right;
}
.wym_skin_seamless .wym_area_bottom {
    height: 1%;
    clear: both;
}

/*SECTIONS SYSTEM*/
/*common defaults for all sections*/
.wym_skin_seamless .wym_section {
    margin-bottom: 5px;
}
.wym_skin_seamless .wym_section h2,
.wym_skin_seamless .wym_section h3 {
    padding: 1px 3px;
    margin: 0;
}
.wym_skin_seamless .wym_section a {
    display: block;
    text-decoration: none;
    color: black;
}
.wym_skin_seamless .wym_section a:hover {
    background-color: yellow;
}
/*hide section titles by default*/
.wym_skin_seamless .wym_section h2 {
    display: none;
}
/*disable any margin-collapse*/
.wym_skin_seamless .wym_section {
    padding-top: 1px;
    padding-bottom: 1px;
}

/*option: add this class to a section to make it render as a panel*/
.wym_skin_seamless .wym_panel {
}
.wym_skin_seamless .wym_panel h2 {
    display: block;
}

/*option: add this class to a section to make it render as a dropdown menu*/
.wym_skin_seamless .wym_dropdown {
    padding: 0;
    background: #ddd;
    border: solid gray;
    margin-right: 10px;
    width: 110px;
    float: left;
    border-width: 1px 1px 1px 1px;
}
.wym_skin_seamless .wym_dropdown h2 {
    display: block;
    font-size: 2.0em;
    line-height: 20px;
}
.wym_skin_seamless .wym_dropdown ul {
    display: none;
    position: absolute;
    background: white;
    font-size: 1.7em;
    /* If there's a top margin, we hit a gap and break the hover
     * when scrolling down */
    margin-top: 0px;
    margin-left: -1px;
    padding: 5px 10px 5px 3px;
}
.wym_skin_seamless .wym_dropdown:hover ul,
.wym_skin_seamless .wym_dropdown.hover ul {
    display: block;
}
.wym_skin_seamless .wym_dropdown li {
    width: 120px;
}

/* option: add this class to a section to make its elements render buttons
   (icons are only available for the wym_tools section for now)
 */
.wym_skin_seamless .wym_buttons {
    margin-right: 5px;
    float: left;
}
.wym_skin_seamless .wym_buttons li {
    float:left;
}
.wym_skin_seamless .wym_buttons a {
    width: 20px;
    height: 20px;
    overflow: hidden;
    padding: 2px;
}
/*image replacements*/
.wym_skin_seamless .wym_buttons li a {
    background: url(icons.png) no-repeat;
    text-indent: -9999px;
}
.wym_skin_seamless .wym_buttons li.wym_tools_strong a {
    background-position: 0 -382px;
}
.wym_skin_seamless .wym_buttons li.wym_tools_emphasis a {
    background-position: 0 -22px;
}
.wym_skin_seamless .wym_buttons li.wym_tools_superscript a {
    background-position: 0 -430px;
}
.wym_skin_seamless .wym_buttons li.wym_tools_subscript a {
    background-position: 0 -454px;
}
.wym_skin_seamless .wym_buttons li.wym_tools_ordered_list a {
    background-position: 0 -48px;
}
.wym_skin_seamless .wym_buttons li.wym_tools_unordered_list a {
    background-position: 0 -72px;
}
.wym_skin_seamless .wym_buttons li.wym_tools_indent a {
    background-position: 0 -574px;
}
.wym_skin_seamless .wym_buttons li.wym_tools_outdent a {
    background-position: 0 -598px;
}
.wym_skin_seamless .wym_buttons li.wym_tools_undo a {
    background-position: 0 -502px;
}
.wym_skin_seamless .wym_buttons li.wym_tools_redo a {
    background-position: 0 -526px;
}
.wym_skin_seamless .wym_buttons li.wym_tools_link a {
    background-position: 0 -96px;
}
.wym_skin_seamless .wym_buttons li.wym_tools_unlink a {
    background-position: 0 -168px;
}
.wym_skin_seamless .wym_buttons li.wym_tools_image a {
    background-position: 0 -121px;
}
.wym_skin_seamless .wym_buttons li.wym_tools_table a {
    background-position: 0 -144px;
}
.wym_skin_seamless .wym_buttons li.wym_tools_paste a {
    background-position: 0 -552px;
}
.wym_skin_seamless .wym_buttons li.wym_tools_html a {
    background-position: 0 -193px;
}
.wym_skin_seamless .wym_buttons li.wym_tools_preview a {
    background-position: 0 -408px;
}

/*DECORATION*/
.wym_skin_seamless .wym_panel {
    padding: 0;
    border: solid gray;
    border-width: 1px;
    background: white;
}
.wym_skin_seamless .wym_panel ul {
    margin: 2px 0 5px;
}

/*DIALOGS*/
.wym_dialog div.row {
    margin-bottom: 5px;
}
.wym_dialog div.row input {
    margin-right: 5px;
}
.wym_dialog div.row label {
    float: left;
    width: 120px;
    display: block;
    text-align: right;
    margin-right: 10px;
}
.wym_dialog div.row-indent {
    padding-left: 160px;
}
/*autoclearing*/
.wym_dialog div.row:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
.wym_dialog div.row {
    display: inline-block;
}
/* Hides from IE-mac \*/
* html .wym_dialog div.row {
    height: 1%;
}
.wym_dialog div.row {
    display: block;
}
/* End hide from IE-mac */

/*WYMEDITOR_LINK*/
a.wym_wymeditor_link {
    text-indent: -9999px;
    float: right;
    display: block;
    width: 50px;
    height: 15px;
    background: url(../wymeditor_icon.png);
    overflow: hidden;
    text-decoration: none;
}