Merge "RollbackAction: Implement AJAX interface and require POST"
[lhc/web/wiklou.git] / resources / src / mediawiki.action / mediawiki.action.view.redirectPage.css
1 /*!
2 * Display neat icons on redirect pages.
3 */
4
5 /* Hide, but keep accessible for screen-readers. */
6 .redirectMsg p {
7 overflow: hidden;
8 height: 0;
9 zoom: 1;
10 }
11
12 .redirectText {
13 list-style: none none;
14 display: inline;
15 /* shared.css has some very weird directionality-specific rules for 'ul' we need to override,
16 search for "Correct directionality when page dir is different from site/user dir" */
17 margin: 0 !important;
18 padding: 0 !important;
19 }
20
21 /* @noflip */
22 .mw-content-ltr .redirectText li {
23 display: inline;
24 margin: 0;
25 padding: 0;
26 padding-left: 42px;
27 background: transparent url( images/nextredirect-ltr.png ) bottom left no-repeat;
28 /* @embed */
29 background-image: linear-gradient( transparent, transparent ), url( images/nextredirect-ltr.svg );
30 }
31
32 /* @noflip */
33 .mw-content-ltr .redirectText li:first-child {
34 padding-left: 47px;
35 background: transparent url( images/redirect-ltr.png ) bottom left no-repeat;
36 /* @embed */
37 background-image: linear-gradient( transparent, transparent ), url( images/redirect-ltr.svg );
38 }
39
40 /* @noflip */
41 .mw-content-rtl .redirectText li {
42 display: inline;
43 margin: 0;
44 padding: 0;
45 padding-right: 42px;
46 background: transparent url( images/nextredirect-rtl.png ) bottom right no-repeat;
47 /* @embed */
48 background-image: linear-gradient( transparent, transparent ), url( images/nextredirect-rtl.svg );
49 }
50
51 /* @noflip */
52 .mw-content-rtl .redirectText li:first-child {
53 padding-right: 47px;
54 background: transparent url( images/redirect-rtl.png ) bottom right no-repeat;
55 /* @embed */
56 background-image: linear-gradient( transparent, transparent ), url( images/redirect-rtl.svg );
57 }