-
Notifications
You must be signed in to change notification settings - Fork 18
/
style.css
290 lines (254 loc) · 5.87 KB
/
style.css
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
#pagelist {
margin-bottom: 1em;
}
#pagelist li {
cursor: move;
}
div.bookcreator__bookbar {
border: 1px solid __border__;
background-color: __background_alt__;
background-image: url(images/notebook-outline.svg);
background-position: 40px 5px;
background-repeat: no-repeat;
background-size: 40px;
margin: 0.5em;
margin-left: auto;
margin-right: auto;
width: 85% !important;
min-height: 40px;
text-align: justify;
vertical-align: middle;
border-collapse: collapse;
padding: 5px 5px 5px 90px;
}
/* Workaround for Bootstrap3 template */
.tpl_bootstrap3 div.bookcreator__bookbar {
min-height: 52px;
}
div.bookcreator__bookbar {
display: none; /* will be shown by JavaScript */
}
div.bookcreator__bookbar {
svg {
height: 18px;
width: 18px;
vertical-align: middle;
}
.bc__bookmarkplus svg{
fill: #00b000;
}
.bc__bookmarkmin svg {
fill: #b1240c;
}
.bc__manager svg {
/*height: 20px;*/
/*width: 20px;*/
fill: #5d6368;
}
.bc__bookmarkhelp svg {
fill: #0d7bdc;
}
}
div.bookcreator__panel {
text-align: justify;
vertical-align: middle;
margin-right: 20px;
float: left;
display: block;
}
/* specific for dokuwiki template: place the ToC just below toolbar */
.tpl_dokuwiki div.bookcreator__bookbar {
margin-bottom: 1.6em;
}
/*
* Book manager
*/
.dokuwiki .bookcreator__manager {
}
.dokuwiki .bookcreator__pagelist {
width:50%;
float:left;
border: 1px solid __border__;
padding: 0.5em;
}
.dokuwiki .bookcreator__pagelist ul{
padding-top:0.5em;
padding-bottom:0.5em;
}
.dokuwiki .bookcreator__pagelist ul.pagelist:empty {
border: 1px solid #eee;
}
.dokuwiki .bookcreator__pagelist li{
margin: 0;
background-color: #fafafa;
}
/* delete and include bottons */
.dokuwiki .bookcreator__pagelist ul li a.action{
width: 16px;
height:16px;
display: inline-block;
cursor: pointer;
vertical-align: middle;
}
.dokuwiki .bookcreator__pagelist ul.selected li a.action.include {
display: none;
}
.dokuwiki .bookcreator__pagelist ul.selected li a.action.remove {
display: inline-block;
}
.dokuwiki .bookcreator__pagelist ul.selected li a.action svg{
fill: #b1240c;
height: 18px;
width: 18px;
}
.dokuwiki .bookcreator__pagelist ul.deleted li a.action.include {
display: inline-block;
}
.dokuwiki .bookcreator__pagelist ul.deleted li a.action.remove {
display: none;
}
.dokuwiki .bookcreator__pagelist ul.deleted li a.action svg{
fill: #00b000;
height: 18px;
width: 18px;
}
.dokuwiki .bookcreator__manager div.bookcreator__actions {
width:40%;
float:left;
padding: 1em;
}
.dokuwiki .bookcreator__manager fieldset {
width: 100%;
text-align:left;
margin-bottom: 1em;
}
.dokuwiki .bookcreator__manager fieldset legend,
.dokuwiki .bookcreator__selections__list fieldset legend {
font-weight: bold;
}
.dokuwiki label.book_skipforbiddenpages {
display: block;
}
/*
* List of saved selections
*/
.dokuwiki .bookcreator__selections__list fieldset {
text-align:left;
}
.bookcreator__selections__list svg {
height: 18px;
width: 18px;
vertical-align: middle;
fill: @ini_link;
}
.bookcreator__selections__list .load svg {
fill: @ini_text;
}
.bookcreator__selections__list .delete svg {
fill: @ini_missing;
}
/*
* download dialoog
*/
.downloadresponse {
margin-top: 1em;
}
/**
* Page tools
* show add/remove icon
*/
/* svg has two paths, toggling depending on selection state of page */
#dokuwiki__pagetools div.tools ul li.plugin_bookcreator__addtobook a .bookmin {
display: none;
}
#dokuwiki__pagetools div.tools ul li.plugin_bookcreator__addtobook a.remove .bookplus {
display: none;
}
#dokuwiki__pagetools div.tools ul li.plugin_bookcreator__addtobook a.remove .bookmin {
display: block;
}
/*
* Workaround for bootstrap3 Template
*/
.tools a.plugin_bookcreator__addtobook .bookmin {
display: none;
}
.tools a.plugin_bookcreator__addtobook.remove .bookplus {
display: none;
}
.tools a.plugin_bookcreator__addtobook.remove .bookmin {
display: block;
}
/*!***/
/* * page add/remove button*/
/* *!*/
/*#dokuwiki__pagetools ul li a.plugin_bookcreator_addtobook {*/
/* display: none; !* will be shown by JavaScript *!*/
/*}*/
/* Namespace picker (opens by clicking on button "Add Namespace to Selection")
******************************************************************************/
.bookcreator__selectns {
display: flex;
align-items: center;
justify-content: center;
}
#bc__nspicker {
}
[dir=rtl] #bc__nspicker_close {
float: left;
}
#bc__nspicker_select {
margin-left: 1em;
}
#bc__nspicker_cancel {
margin-left: 0.5em;
}
#bc__nspicker_recursive {
margin-right: 0.5em;
}
#bc__nspicker_result {
background-color: @ini_background;
width: 40vw;
height: 50vh;
overflow: auto;
border: 1px solid @ini_border;
margin: 3px auto;
text-align: left;
line-height: 1;
}
[dir=rtl] #bc__nspicker_result {
text-align: right;
}
#bc__nspicker_result div {
padding: 3px 3px 3px 0;
}
#bc__nspicker_result div a {
display: block;
padding-left: 22px;
min-height: 16px;
background: transparent 3px center no-repeat;
}
[dir=rtl] #bc__nspicker_result div a {
padding: 3px 22px 3px 3px;
background-position: 257px 3px;
}
#bc__nspicker_result div.type_u a {
background-image: url(../../images/up.png);
}
#bc__nspicker_result div.type_f a {
background-image: url(../../images/page.png);
}
#bc__nspicker_result div.type_d a {
background-image: url(../../images/ns.png);
}
#bc__nspicker_result div.even {
background-color: @ini_background_neu;
}
#bc__nspicker_result div.selected {
background-color: @ini_background_alt;
}
#bc__nspicker_result span {
display: block;
color: @ini_text_neu;
margin-left: 22px;
}