Merge "Gallery: Use intrinsic width for gallery to center caption"
[lhc/web/wiklou.git] / resources / src / mediawiki / htmlform / styles.css
1 /* HTMLForm styles */
2
3 table.mw-htmlform-nolabel td.mw-label {
4 display: none;
5 }
6
7 .mw-htmlform-invalid-input td.mw-input input {
8 border-color: #f00;
9 }
10
11 .mw-htmlform-flatlist div.mw-htmlform-flatlist-item {
12 display: inline;
13 margin-right: 1em;
14 white-space: nowrap;
15 }
16
17 /* HTMLCheckMatrix */
18
19 .mw-htmlform-matrix td {
20 padding-left: 0.5em;
21 padding-right: 0.5em;
22 }
23
24 tr.mw-htmlform-vertical-label td.mw-label {
25 text-align: left !important;
26 }
27
28 .mw-icon-question {
29 /* SVG support using a transparent gradient to guarantee cross-browser
30 * compatibility (browsers able to understand gradient syntax support also SVG).
31 * http://pauginer.tumblr.com/post/36614680636/invisible-gradient-technique */
32 background-image: url( images/question.png );
33 /* @embed */
34 background-image: linear-gradient( transparent, transparent ), url( images/question.svg );
35 background-repeat: no-repeat;
36 background-size: 13px 13px;
37 display: inline-block;
38 height: 13px;
39 width: 13px;
40 margin-left: 4px;
41 }
42
43 .mw-icon-question:lang(ar),
44 .mw-icon-question:lang(fa),
45 .mw-icon-question:lang(ur) {
46 -webkit-transform: scaleX( -1 );
47 -ms-transform: scaleX( -1 );
48 transform: scaleX( -1 );
49 }