summaryrefslogtreecommitdiff
path: root/www/wiki/extensions/Translate/resources/css/ext.translate.quickedit.css
blob: 37b9c4d321d79fcd6a08a3667ded27fff31da16e (plain)
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
.mw-sp-translate-edit-fields a {
	color: #00f;
}

.mw-translate-tmsug {
	margin-bottom: 0.2em;
}

.mw-sp-translate-edit-fields fieldset {
	line-height: normal;
	margin: 0;
	border: 1px solid #dbdbdb;
	/* Browsers suck
	max-height: 250px; */
	overflow: auto;
}

.mw-sp-translate-edit-fields legend {
	background-color: transparent;
}

.mw-translate-edit-extra {
	border-bottom: 1px solid #000;
}

.mw-translate-legend {
	border-left: 1px solid #000;
	float: right;
	margin-left: 1em;
	padding-left: 5pt;
	font-weight: bold;
}

/* Align the adder according to the target language */
/* @noflip */
.mw-translate-adder-ltr {
	float: left;
	padding-right: 1px;
}

/* @noflip */
.mw-translate-adder-rtl {
	float: right;
	padding-left: 1px;
}

.mw-translate-sep {
	margin-bottom: 1ex;
	margin-top: 0.5ex;
}

.mw-translate-edit-deftext {
	/*
	 * Some browsers will render the monospace text too small, namely Firefox, Chrome and Safari.
	 * Specifying any valid, second value will trigger correct behavior without forcing a different font.
	 * See docs/uidesign/monospace.html of MediaWiki core source code.
	 */
	font-family: monospace, monospace;
}

.mw-translate-edit-area {
	padding: 0;
	width: 100%;
}

/* Buttons */
.mw-translate-save {
	font-weight: bold;
}

.mw-translate-history {
	float: right;
}

.mw-ajax-dialog #summary {
	width: 5em;
}

/* Blue tints for translate fieldsets */
.mw-sp-translate-edit-inother {
	background-color: #f8f8ff;
}

.mw-sp-translate-in-other-small {
	background-color: #f0f8ff;
}

.mw-sp-translate-in-other-big {
	background-color: #f0f8ff;
}

.mw-sp-translate-message-documentation {
	background-color: #ebebeb;
}

.mw-sp-translate-edit-definition {
	background-color: #eaf3fc;
}

.mw-translate-inputs {
	overflow: auto; /* Fix "100%" width after floats issue */
	padding: 2px; /* Avoid random scrollbars (browsers suck) */
}

.mw-translate-bottom {
	clear: both;
	margin-top: -3px; /* Reduce excess whitespace */
}