/
translate.less
98 lines (86 loc) · 1.87 KB
/
translate.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
@import '../node_modules/wikimedia-ui-base/wikimedia-ui-base.less';
body.translate {
header {
margin: 2rem auto 2.1rem auto;
}
header h1,
header p {
margin: 0;
}
header h1 {
font-weight: 500;
font-size: 1.5rem;
letter-spacing: 0;
}
main {
form {
padding: 2rem 5rem;
display: flex;
align-items: flex-start;
.form-column,
.image-column {
flex-grow: 1;
width: 50%;
}
.form-column .language-selectors,
.image-column .buttons {
margin-bottom: 2rem;
}
.form-column {
margin-right: 1rem;
.language-selectors {
display: flex;
align-items: center;
.source-lang-widget {
flex: 2;
text-align: left;
}
.source-to-target-label {
flex-grow: 2;
text-align: center;
}
.target-lang-widget {
flex: 2;
button {
text-align: left;
width: 100%;
font-weight: normal;
}
}
}
.oo-ui-fieldLayout {
margin-bottom: 1.5rem;
}
.source-lang-not-found label {
font-style: italic;
color: @wmui-color-base30;
}
}
.image-column {
position: sticky;
top: 1rem;
text-align: right;
.buttons {
display: flex;
flex-direction: row-reverse;
align-items: center;
.oo-ui-widget {
margin-right: 0;
}
.download-or-upload {
margin: 0 1rem 0 0.8rem;
}
}
.leaflet-container,
.image {
border: 1px solid @wmui-color-base50;
background-color: white;
}
img {
margin-top: 1rem;
max-width: 100%;
}
}
}
}
}