Debian Codegraph @

skins/Timeless/resources/main.js.less

raw
1 @import 'variables.less';
2
3 // Experimental overflowing table scrolling
4 .overflowed {
5 margin: 1em 0;
6 position: relative;
7 overflow: hidden;
8
9 // Shadow-border containers
10 .content-table-left,
11 .content-table-right {
12 height: 100%;
13 position: absolute;
14 bottom: 0;
15 z-index: @z-index-stacking-1;
16 }
17
18 // Noflips because scrollbar direction depends on the content direction
19 .content-table-right {
20 /* @noflip */
21 right: 0;
22
23 .mw-content-rtl & {
24 /* @noflip */
25 left: 0;
26 /* @noflip */
27 right: unset;
28 }
29
30 .scroll-right& {
31 box-shadow: 0 0 4px 1px rgba( 0, 0, 0, 0.25 );
32 border-left: solid 1px @base70;
33 }
34 }
35
36 .content-table-left {
37 /* @noflip */
38 left: 0;
39
40 .mw-content-rtl & {
41 /* @noflip */
42 right: 0;
43 /* @noflip */
44 left: unset;
45 }
46
47 .scroll-left& {
48 box-shadow: 0 0 4px 1px rgba( 0, 0, 0, 0.25 );
49 border-left: solid 1px @base70;
50 }
51 }
52
53 .content-table {
54 overflow: hidden;
55 overflow-x: scroll;
56
57 > table {
58 margin: 0;
59
60 &.mw_metadata,
61 &.mw-datatable,
62 &.wikitable {
63 border-bottom-width: 0;
64 }
65 }
66 }
67 }
68
69 // Desktop sticky scrollbars
70 .content-table-scrollbar.inactive {
71 position: absolute;
72 top: -99999px;
73 bottom: unset;
74 left: -99999px;
75 }
76
77 .content-table-scrollbar {
78 position: fixed;
79 bottom: 0;
80 overflow-x: scroll;
81 z-index: @z-index-stacking-1;
82 }
83
84 .content-table-spoof {
85 height: 1px;
86 }