Index: branches/wmf/1.17wmf1/resources/jquery.ui/themes/vector/jquery.ui.button.css |
— | — | @@ -8,16 +8,17 @@ |
9 | 9 | button.ui-button-icons-only { width: 3.7em; } |
10 | 10 | |
11 | 11 | /*button text element */ |
12 | | -.ui-button .ui-button-text { display: block; line-height: 1.4; } |
| 12 | +.ui-button .ui-button-text { display: block; line-height: 1.4em; } |
13 | 13 | .ui-button-text-only .ui-button-text { padding: .125em .25em; } |
14 | 14 | .ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: .4em; text-indent: -9999999px; } |
15 | | -.ui-button-text-icon .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 1em .4em 2.1em; } |
| 15 | +.ui-button-text-icon-primary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .1em 0.8em .1em 1.9em; } |
| 16 | +.ui-button-text-icon-secondary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .1em 1.9em .1em 0.8em; } |
16 | 17 | .ui-button-text-icons .ui-button-text { padding-left: 2.1em; padding-right: 2.1em; } |
17 | 18 | /* no icon support for input elements, provide padding by default */ |
18 | 19 | input.ui-button { padding: .4em 1em; } |
19 | 20 | |
20 | 21 | /*button icon element(s) */ |
21 | | -.ui-button-icon-only .ui-icon, .ui-button-text-icon .ui-icon, .ui-button-text-icons .ui-icon, .ui-button-icons-only .ui-icon { position: absolute; top: 50%; margin-top: -8px; } |
| 22 | +.ui-button-icon-only .ui-icon, .ui-button-text-icon-primary .ui-icon, .ui-button-text-icon-secondary .ui-icon, .ui-button-text-icons .ui-icon, .ui-button-icons-only .ui-icon { position: absolute; top: 50%; margin-top: -9px; } |
22 | 23 | .ui-button-icon-only .ui-icon { left: 50%; margin-left: -8px; } |
23 | 24 | .ui-button-text-icon .ui-button-icon-primary, .ui-button-text-icons .ui-button-icon-primary, .ui-button-icons-only .ui-button-icon-primary { left: .5em; } |
24 | 25 | .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; } |