blob: 46976d4c04e48dd1cd5febfee3e337e5706e7e6a (
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
|
@import 'mediawiki.mixins';
.postedit-container {
margin: 0 auto;
position: fixed;
top: 0;
height: 0;
left: 50%;
z-index: 1000;
font-size: 14px;
cursor: pointer;
}
.postedit {
position: relative;
top: 0.6em;
left: -50%;
line-height: 1.35;
opacity: 1;
.transition( opacity 250ms );
&:after {
content: '';
background: no-repeat center center;
.background-image-svg( 'images/close.svg', 'images/close.png' );
background-size: 12px 12px;
position: absolute;
right: 0.4em;
top: 0;
bottom: 0;
min-width: 32px;
min-height: 32px;
opacity: 0.87;
&:hover {
opacity: 1;
}
}
&.mw-notification {
padding-right: 3em;
}
}
.postedit-faded {
opacity: 0;
}
.postedit-icon {
padding-left: 25px;
/* like min-height, but old IE compatible and keeps text vertically aligned, too */
line-height: 25px;
background-repeat: no-repeat;
}
.postedit-icon-checkmark {
/* @embed */
background-image: url( images/green-checkmark.png );
/* T176796 */
background-position: left;
}
|