@@ -149,29 +149,29 @@ th {
149
149
padding-left : 1em ;
150
150
}
151
151
.sideMenuPart a {
152
- align-items : center;
153
- flex : 1 ;
154
- overflow-x : hidden;
152
+ align-items : center;
153
+ flex : 1 ;
154
+ overflow-x : hidden;
155
155
overflow-wrap : anywhere;
156
156
color : var (--leftbar-fg );
157
157
margin-right : .5rem ;
158
+ padding : 7px 0 ;
158
159
}
159
160
.sideMenuPart > .overview {
160
- display : flex;
161
- align-items : center;
162
- position : relative;
161
+ display : flex;
162
+ align-items : center;
163
+ position : relative;
163
164
user-select : none;
164
- padding : 7px 0 ;
165
165
}
166
166
.sideMenuPart > .overview ::before {
167
167
width : var (--side-width );
168
- box-sizing : border-box;
169
- content : '' ;
170
- top : 0 ;
171
- right : 0 ;
172
- bottom : 0 ;
173
- position : absolute;
174
- z-index : 1 ;
168
+ box-sizing : border-box;
169
+ content : '' ;
170
+ top : 0 ;
171
+ right : 0 ;
172
+ bottom : 0 ;
173
+ position : absolute;
174
+ z-index : 1 ;
175
175
}
176
176
.sideMenuPart > .overview : hover ::before {
177
177
background : var (--leftbar-hover-bg );
@@ -187,18 +187,18 @@ th {
187
187
color : var (--leftbar-current-fg );
188
188
}
189
189
.sideMenuPart .hidden > .sideMenuPart {
190
- height : 0 ;
191
- visibility : hidden;
190
+ height : 0 ;
191
+ visibility : hidden;
192
192
}
193
193
.overview a , .overview .navButton {
194
194
z-index : 3 ;
195
195
}
196
196
.sideMenuPart .navButton {
197
- height : 100% ;
198
- align-items : center;
199
- display : flex;
200
- justify-content : flex-end;
201
- padding-right : 1 rem ;
197
+ height : 100% ;
198
+ align-items : center;
199
+ display : flex;
200
+ justify-content : flex-end;
201
+ padding : 7 px 10 px ;
202
202
cursor : pointer;
203
203
}
204
204
.sideMenuPart .navButtonContent ::before {
@@ -216,55 +216,10 @@ th {
216
216
.sideMenuPart .hidden .navButtonContent ::before {
217
217
content : "\e903" ; /* arrow down */
218
218
}
219
- .sideMenuPart .navButtonContent : hover ::before {
219
+ .sideMenuPart .navButton : hover . navButtonContent ::before {
220
220
color : var (--leftbar-current-bg );
221
221
}
222
222
223
- /* Search */
224
- .search-content {
225
- /* TODO override search style without !important */
226
- padding : 0 !important ;
227
- margin : var (--content-padding ) !important ;
228
- position : absolute !important ;
229
- top : 0 !important ;
230
- right : 0 !important ;
231
- z-index : 5 !important ;
232
- background : none !important ;
233
- }
234
- .search button {
235
- background : none !important ;
236
- fill : var (--icon-color ) !important ;
237
- cursor : pointer !important ;
238
- }
239
- .search button : hover {
240
- fill : var (--link-hover-fg ) !important ;
241
- }
242
- .search button svg {
243
- width : 24px !important ;
244
- height : 24px !important ;
245
- }
246
- .popup-wrapper { /* search popup */
247
- box-shadow : 0 0 10px var (--border-light ) !important ;
248
- border : 2px solid var (--border-light ) !important ;
249
- font-family : var (--mono-font ) !important ;
250
- /* TODO dokka already uses !important so I can't override that...
251
- min-width: calc(100% - var(--side-width) - 36px) !important;
252
- left: 24px;
253
- */
254
- }
255
- .popup-wrapper .indented {
256
- text-indent : 1.5em !important ;
257
- }
258
- .popup-wrapper .disabled {
259
- color : var (--inactive-fg ) !important ;
260
- font-weight : 500 !important ;
261
- }
262
- .action_def : hover , .action_def : focus-within {
263
- color : var (--selected-fg );
264
- background : var (--selected-bg ) !important ;
265
- font-weight : 500 ;
266
- }
267
-
268
223
/* Cover */
269
224
.cover h1 {
270
225
font-size : 38px ;
@@ -274,99 +229,99 @@ th {
274
229
275
230
/* Tabs */
276
231
.section-tab {
277
- border : none;
278
- outline : none;
232
+ border : none;
233
+ outline : none;
279
234
background : transparent;
280
- padding : 0 6px 4px 6px ;
281
- margin : 1rem 1rem 0 0 ;
282
- border-bottom : 1px solid grey;
283
- cursor : pointer;
235
+ padding : 0 6px 4px 6px ;
236
+ margin : 1rem 1rem 0 0 ;
237
+ border-bottom : 1px solid grey;
238
+ cursor : pointer;
284
239
}
285
240
.section-tab [data-active = "" ] {
286
241
color : unset;
287
242
font-weight : bold;
288
- border-bottom : 2px solid var (--active-tab-color );
243
+ border-bottom : 2px solid var (--active-tab-color );
289
244
}
290
245
.tabs-section-body > : not ([data-active ]) {
291
- display : none;
246
+ display : none;
292
247
}
293
248
294
249
/* Tabs content */
295
250
.table {
296
- /*! display: flex; */
297
- flex-direction : column;
251
+ /*! display: flex; */
252
+ flex-direction : column;
298
253
}
299
254
.table-row {
300
- border-bottom : 2px solid var (--border-light );
301
- padding : 8px 24px 8px 0 ;
255
+ border-bottom : 2px solid var (--border-light );
256
+ padding : 8px 24px 8px 0 ;
302
257
}
303
258
.main-subrow {
304
259
margin-bottom : .5em ;
305
260
}
306
261
.main-subrow > span > a , .main-subrow > span > span [data-unresolved-link ] {
307
- text-decoration : none;
308
- font-style : normal;
309
- font-weight : bold;
310
- color : unset;
311
- font-size : 18px ;
262
+ text-decoration : none;
263
+ font-style : normal;
264
+ font-weight : bold;
265
+ color : unset;
266
+ font-size : 18px ;
312
267
}
313
268
.main-subrow .anchor-icon { /* Link Anchor */
314
- margin-left : .25rem ;
315
- opacity : 0 ;
316
- transition : 0.2s 0.5s ;
269
+ margin-left : .25rem ;
270
+ opacity : 0 ;
271
+ transition : 0.2s 0.5s ;
317
272
cursor : pointer;
318
273
}
319
274
.main-subrow .anchor-icon > svg {
320
275
margin-bottom : -5px ;
321
276
fill : var (--link-fg );
322
277
}
323
278
.main-subrow : hover .anchor-icon {
324
- opacity : 1 ;
325
- transition : 0.2s ;
279
+ opacity : 1 ;
280
+ transition : 0.2s ;
326
281
}
327
282
.brief-with-platform-tags ~ .main-subrow {
328
- padding-top : 0 ;
283
+ padding-top : 0 ;
329
284
}
330
285
331
286
.brief {
332
- white-space : pre-wrap;
333
- overflow : hidden;
287
+ white-space : pre-wrap;
288
+ overflow : hidden;
334
289
margin-bottom : .5em ;
335
290
}
336
291
/* Declarations */
337
292
.symbol .monospace {
338
293
color : var (--symbol-fg );
339
- display : block;
340
- white-space : normal;
294
+ display : block;
295
+ white-space : normal;
341
296
position : relative;
342
297
padding-right : 24px ; /* avoid the copy button */
343
298
margin : 1em 0 ;
344
299
}
345
300
.symbol .top-right-position {
346
- position : absolute;
347
- top : 8px ;
348
- right : 8px ;
301
+ position : absolute;
302
+ top : 8px ;
303
+ right : 8px ;
349
304
}
350
305
/* "copy to clipboard" button */
351
306
.copy-popup-wrapper {
352
- display : none;
353
- position : absolute;
354
- z-index : 1000 ;
355
- background : white;
356
- width : max-content;
357
- cursor : default;
358
- border : 1px solid var (--border-light );
359
- box-sizing : border-box;
360
- box-shadow : 0px 5px 10px var (--border-light );
361
- border-radius : 3px ;
307
+ display : none;
308
+ position : absolute;
309
+ z-index : 1000 ;
310
+ background : white;
311
+ width : max-content;
312
+ cursor : default;
313
+ border : 1px solid var (--border-light );
314
+ box-sizing : border-box;
315
+ box-shadow : 0px 5px 10px var (--border-light );
316
+ border-radius : 3px ;
362
317
font-weight : normal;
363
318
}
364
319
.copy-popup-wrapper .active-popup {
365
320
display : flex;
366
321
align-items : center;
367
322
}
368
323
.copy-popup-wrapper .popup-to-left {
369
- left : -14rem ;
324
+ left : -14rem ;
370
325
}
371
326
.copy-popup-wrapper svg {
372
327
padding : 8px ;
@@ -404,29 +359,29 @@ dl.attributes > dd {
404
359
405
360
/* params list documentation */
406
361
dl .paramsdesc {
407
- display : flex;
408
- flex-flow : row wrap;
362
+ display : flex;
363
+ flex-flow : row wrap;
409
364
}
410
365
dl .paramsdesc dt {
411
- flex-basis : 20% ;
412
- padding : 2px 0 ;
413
- text-align : left;
414
- font-weight : bold;
366
+ flex-basis : 20% ;
367
+ padding : 2px 0 ;
368
+ text-align : left;
369
+ font-weight : bold;
415
370
}
416
371
dl .paramsdesc dd {
417
- flex-basis : 80% ;
418
- flex-grow : 1 ;
419
- margin : 0 ;
420
- padding : 2px 0 ;
372
+ flex-basis : 80% ;
373
+ flex-grow : 1 ;
374
+ margin : 0 ;
375
+ padding : 2px 0 ;
421
376
}
422
377
423
378
.platform-dependent-row dl .attributes > dd {
424
379
padding-left : 3em ;
425
380
}
426
381
427
- /* Workaround for dynamically rendered content inside hidden tab.
382
+ /* Workaround for dynamically rendered content inside hidden tab.
428
383
There's some limitation of css/html that causes wrong width/height property of elements that are rendered dynamically inside element with display:none;
429
- Same solution is already used in Dokka.
384
+ Same solution is already used in Dokka.
430
385
*/
431
386
.platform-hinted [data-togglable = "Type hierarchy" ] > .content : not ([data-active ]),
432
387
.tabs-section-body > * [data-togglable = "Type hierarchy" ]: not ([data-active ]) {
@@ -480,7 +435,7 @@ footer .pull-right {
480
435
.documentableElement {
481
436
width : 100% ;
482
437
color : var (--symbol-fg );
483
- white-space : normal;
438
+ white-space : normal;
484
439
position : relative;
485
440
margin : 0 ;
486
441
padding : 5px 4px 5px 4px ;
@@ -578,12 +533,6 @@ footer .pull-right {
578
533
content : "\e900" ; /* clear icon */
579
534
}
580
535
/* --- */
581
-
582
- .search-content {
583
- margin : 0 !important ;
584
- top : 9px !important ;
585
- right : 12px !important ;
586
- }
587
536
.cover h1 {
588
537
margin-top : 0 ;
589
538
}
0 commit comments