summaryrefslogtreecommitdiff
path: root/platform/www/lib/plugins/wrap/style.less
blob: 4f701a7dd3320d38d16e2dba11abf761a27e0283 (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
/********************************************************************
Screen Styles for the Wrap Plugin (additional to all.css)
********************************************************************/

.dokuwiki {

/* box
********************************************************************/

.wrap_box {
    background: @ini_background_alt;
    color: @ini_text;
}
div.wrap_box,
div.wrap_danger,
div.wrap_warning,
div.wrap_caution,
div.wrap_notice,
div.wrap_safety {
    padding: 1em 1em .5em;
    margin-bottom: 1.5em;
    overflow: hidden;
}
span.wrap_box,
span.wrap_danger,
span.wrap_warning,
span.wrap_caution,
span.wrap_notice,
span.wrap_safety {
    padding: 0 .3em;
}

/*____________ notes with icons ____________*/

/* general styles for all note divs */
div.wrap_info,
div.wrap_important,
div.wrap_alert,
div.wrap_tip,
div.wrap_help,
div.wrap_todo,
div.wrap_download {
    padding: 1em 1em .5em 70px;
    margin-bottom: 1.5em;
    min-height: 68px;
    background-position: 10px 50%;
    background-repeat: no-repeat;
    color: inherit;
    overflow: hidden;
}
/* general styles for all note spans */
span.wrap_info,
span.wrap_important,
span.wrap_alert,
span.wrap_tip,
span.wrap_help,
span.wrap_todo,
span.wrap_download {
    padding: 0 2px 0 20px;
    min-height: 20px;
    background-position: 2px 50%;
    background-repeat: no-repeat;
    color: inherit;
}

/* sorry for icons glued to the right side, but there is currently no way
     to make this look good without adjusting the images themselves */
[dir=rtl] div.wrap_info,
[dir=rtl] div.wrap_important,
[dir=rtl] div.wrap_alert,
[dir=rtl] div.wrap_tip,
[dir=rtl] div.wrap_help,
[dir=rtl] div.wrap_todo,
[dir=rtl] div.wrap_download {
    padding: 1em 60px .5em 1em;
    background-position: right 50%;
}
[dir=rtl] span.wrap_info,
[dir=rtl] span.wrap_important,
[dir=rtl] span.wrap_alert,
[dir=rtl] span.wrap_tip,
[dir=rtl] span.wrap_help,
[dir=rtl] span.wrap_todo,
[dir=rtl] span.wrap_download {
    padding: 0 18px 0 2px;
    background-position: right 50%;
}

/*____________ info ____________*/
.wrap_info { background-color: #d1d7df; }
.wrap__dark.wrap_info { background-color: #343e4a; }
div.wrap_info { background-image: url(images/note/48/info.png); }
span.wrap_info { background-image: url(images/note/16/info.png); }

/*____________ important ____________*/
.wrap_important { background-color: #ffd39f; }
.wrap__dark.wrap_important { background-color: #6c3b00; }
div.wrap_important { background-image: url(images/note/48/important.png); }
span.wrap_important { background-image: url(images/note/16/important.png); }

/*____________ alert ____________*/
.wrap_alert { background-color: #ffbcaf; }
.wrap__dark.wrap_alert { background-color: #6b1100; }
div.wrap_alert { background-image: url(images/note/48/alert.png); }
span.wrap_alert { background-image: url(images/note/16/alert.png); }

/*____________ tip ____________*/
.wrap_tip { background-color: #fff79f; }
.wrap__dark.wrap_tip { background-color: #4a4400; }
div.wrap_tip { background-image: url(images/note/48/tip.png); }
span.wrap_tip { background-image: url(images/note/16/tip.png); }

/*____________ help ____________*/
.wrap_help { background-color: #dcc2ef; }
.wrap__dark.wrap_help { background-color: #3c1757; }
div.wrap_help { background-image: url(images/note/48/help.png); }
span.wrap_help { background-image: url(images/note/16/help.png); }

/*____________ todo ____________*/
.wrap_todo { background-color: #c2efdd; }
.wrap__dark.wrap_todo { background-color: #17573e; }
div.wrap_todo { background-image: url(images/note/48/todo.png); }
span.wrap_todo { background-image: url(images/note/16/todo.png); }

/*____________ download ____________*/
.wrap_download { background-color: #d6efc2; }
.wrap__dark.wrap_download { background-color: #345717; }
div.wrap_download { background-image: url(images/note/48/download.png); }
span.wrap_download { background-image: url(images/note/16/download.png); }


/*____________ safety notes ____________*/

.wrap_danger {
    background-color: #c00;
    color: #fff;
}
.wrap_warning {
    background-color: #f60;
    color: #000;
}
.wrap_caution {
    background-color: #ff0;
    color: #000;
}
.wrap_notice {
    background-color: #06f;
    color: #fff;
}
.wrap_safety {
    background-color: #090;
    color: #fff;
}

.wrap_danger *,
.wrap_warning *,
.wrap_caution *,
.wrap_notice *,
.wrap_safety * {
    color: inherit !important;
}


/* mark
********************************************************************/

.wrap_hi {
    background-color: #ff9;
    overflow: hidden;
}
.wrap__dark.wrap_hi {
    background-color: #4e4e0d;
}


/* miscellaneous
********************************************************************/

/*____________ spoiler ____________*/

.wrap_spoiler {
    background-color: @ini_background !important;
    color: @ini_background !important;
    border: 1px dotted red;
}

/*____________ only print ____________*/

.wrap_onlyprint {
    display: none;
}

/*____________ tabs ____________*/
/* in addition to template styles */

.plugin_wrap.tabs {
    margin-bottom: 1.4em;
}

/*____________ button-style link ____________*/

.wrap_button a:link,
.wrap_button a:visited {
    background-color: @ini_background_alt;
}
.wrap_button a:link:hover,
.wrap_button a:visited:hover,
.wrap_button a:link:focus,
.wrap_button a:visited:focus,
.wrap_button a:link:active,
.wrap_button a:visited:active {
    background-color: @ini_background_neu;
}

} /* /.dokuwiki */