-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathstyle.less
112 lines (91 loc) · 1.81 KB
/
style.less
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
// fix problem in dokuwiki template where short sidebar may clip dropdown
// in the future this should be fixed in the dokuwiki template
.dokuwiki.tpl_dokuwiki .aside {
overflow-y: visible;
overflow-x: clip;
}
// default styles for inline language selector
.dokuwiki div.plugin_translation {
position: relative;
text-align: right;
ul {
display: inline;
margin: 0;
padding: 0;
li {
list-style-type: none;
display: inline-block;
margin: 0.25em;
padding: 0;
a:link,
a:hover,
a:active,
a:visited,
span {
display: block;
padding: 0.25em;
background-color: #008;
color: #fff;
text-decoration: none;
border: none;
white-space: nowrap;
text-align: left;
&.wikilink2 {
background-color: #888;
svg {
opacity: 0.5;
}
}
svg {
height: 1em;
margin-right: 0.5em;
vertical-align: middle;
}
}
}
}
}
// overrides for dropdown style language selector
.dokuwiki div.plugin_translation.is-dropdown {
padding-bottom: 2em;
ul {
position: absolute;
right: 0;
display: flex; // flex allows reordering of elements
flex-direction: column;
// current language is always first
li.span {
order: -1;
cursor: default;
}
li {
margin: 0;
a {
display: none;
}
}
&:focus-within,
&:hover {
li {
a {
display: block;
}
}
}
}
}
table#outdated_translations {
td {
padding-left: 3px;
padding-right: 3px;
&.missing {
background-color: #ff6666;
}
&.outdated {
background-color: #ffff66;
}
&.current {
background-color: #00CC00;
}
}
}