Migrate Extension:PostEdit interface to core
[lhc/web/wiklou.git] / resources / mediawiki.action / mediawiki.action.view.postEdit.css
1 .postedit-container {
2 margin: 0 auto;
3 position: fixed;
4 top: 0;
5 height: 0;
6 left: 50%;
7 z-index: 1000;
8 }
9
10 .postedit {
11 position: relative;
12 top: 0.6em;
13 left: -50%;
14 padding: .6em 3.6em .6em 1.1em;
15 font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
16 font-size: 0.8em;
17 line-height: 1.5625em;
18 color: #626465;
19 /* @embed */
20 background-color: #f4f4f4;
21 border: 1px solid #dcd9d9;
22 -webkit-text-shadow: 0 0.0625em 0 rgba(255, 255, 255, 0.5);
23 -moz-text-shadow: 0 0.0625em 0 rgba(255, 255, 255, 0.5);
24 text-shadow: 0 0.0625em 0 rgba(255, 255, 255, 0.5);
25 -webkit-border-radius: 5px;
26 -moz-border-radius: 5px;
27 border-radius: 5px;
28 -webkit-box-shadow: 0 2px 5px 0 #ccc;
29 -moz-box-shadow: 0 2px 5px 0 #ccc;
30 box-shadow: 0 2px 5px 0 #ccc;
31 -webkit-transition: all 0.25s ease-in-out;
32 -moz-transition: all 0.25s ease-in-out;
33 -ms-transition: all 0.25s ease-in-out;
34 -o-transition: all 0.25s ease-in-out;
35 transition: all 0.25s ease-in-out;
36 }
37
38 .skin-monobook .postedit {
39 top: 3em !important;
40 }
41
42 .postedit-faded {
43 opacity: 0;
44 }
45
46 .postedit-icon {
47 padding-left: 41px; /* 25 + 8 + 8 */
48 /* like min-height, but old IE compatible and keeps text vertically aligned, too */
49 line-height: 25px;
50 background-repeat: no-repeat;
51 background-position: 8px 50%;
52 }
53
54 .postedit-icon-checkmark {
55 /* @embed */
56 background-image: url(images/green-checkmark.png);
57 background-position: left;
58 }
59
60 .postedit-close {
61 position: absolute;
62 padding: 0 .8em;
63 right: 0;
64 top: 0;
65 font-size: 1.25em;
66 font-weight: bold;
67 line-height: 2.3em;
68 color: black;
69 text-shadow: 0 0.0625em 0 white;
70 text-decoration: none;
71 opacity: 0.2;
72 filter: alpha(opacity=20);
73 }
74
75 .postedit-close:hover {
76 color: black;
77 text-decoration: none;
78 cursor: pointer;
79 opacity: 0.4;
80 filter: alpha(opacity=40);
81 }