Merge "Fix text extraction on DjVu so that it works beyond first call."
[mediawiki.git] / resources / mediawiki.ui / mixins / forms.less
blob1b177ee330d2c31394a98d36695397b8ebe37f38
1 @import "../settings/colors";
3 // Font is not included.
4 // For Vector, that should be layered on top with vector-type
5 .agora-field-styling() {
7         border: 1px solid @agoraGray;
9         &:focus {
10                 // Styling focus of native checkboxes etc on Mac is almost impossible.
11                 &:not([type=checkbox]):not([type=radio]) {
12                         outline: 0; // Removes OS field focus
13                 }
15                 box-shadow: @agoraBlueShadow 0px 0px 5px;
17                 border-color: @agoraBlueShadow;
18         }
20         color: @agoraTextColor;
21         padding: 0.35em 0.5em 0.35em 0.5em;
23         // Ensure that buttons and inputs are nicely aligned when they have differing heights
24         vertical-align: middle;
27 .agora-label-styling() {
28         //font-weight: bold;
29         font-size: 0.9em;
30         color: darken(@agoraGray, 50%);
32         * {
33                 font-weight: normal;
34         }
37 .agora-inline-label-styling() {
38         margin-bottom: 0.5em;
39         cursor: pointer;
40         vertical-align: bottom;
41         line-height: normal;
43         font-weight: normal;
45         & > input[type="checkbox"],
46         & > input[type="radio"] {
47                 width: auto;
48                 height: auto;
49                 margin: 0 0.1em 0em 0;
50                 padding: 0;
51                 border: 1px solid @agoraGray;
52                 cursor: pointer;
53         }