extra.css
69 lines
| 1 | .menu-item i._mi, |
| 2 | .menu-item img._mi { |
| 3 | display: inline-block; |
| 4 | vertical-align: middle; |
| 5 | } |
| 6 | .menu-item i._mi { |
| 7 | margin-top: -.265em; |
| 8 | width: auto; |
| 9 | height: auto; |
| 10 | font-size: 1.2em; |
| 11 | line-height: 1; |
| 12 | } |
| 13 | |
| 14 | .menu-item i._before, |
| 15 | .rtl .menu-item i._after { |
| 16 | margin-right: .25em; |
| 17 | } |
| 18 | .menu-item i._after, |
| 19 | .rtl .menu-item i._before { |
| 20 | margin-left: .25em; |
| 21 | } |
| 22 | |
| 23 | .menu-item img._before, |
| 24 | .rtl .menu-item img._after { |
| 25 | margin-right: .5em; |
| 26 | } |
| 27 | .menu-item img._after, |
| 28 | .rtl .menu-item img._before { |
| 29 | margin-left: .5em; |
| 30 | } |
| 31 | .menu-item ._svg { |
| 32 | width: 1em; |
| 33 | } |
| 34 | |
| 35 | .rtl .menu-item i._before { |
| 36 | margin-right: 0; |
| 37 | } |
| 38 | .rtl .menu-item i._after { |
| 39 | margin-left: 0; |
| 40 | } |
| 41 | |
| 42 | .visuallyhidden { |
| 43 | border: 0; |
| 44 | clip: rect(0 0 0 0); |
| 45 | height: 1px; |
| 46 | margin: -1px; |
| 47 | overflow: hidden; |
| 48 | padding: 0; |
| 49 | position: absolute; |
| 50 | width: 1px; |
| 51 | } |
| 52 | |
| 53 | .menu-item i.elusive { |
| 54 | margin-top: -.3em; |
| 55 | } |
| 56 | |
| 57 | /** |
| 58 | * Force the icons' styles |
| 59 | * |
| 60 | * Some themes -- notably 2014 -- has nasty rules that |
| 61 | * could override the icons' styles so we need to force them here. |
| 62 | */ |
| 63 | .dashicons-admin-site:before { |
| 64 | content:"\f319" !important; |
| 65 | } |
| 66 | .dashicons-welcome-view-site:before { |
| 67 | content:"\f115" !important; |
| 68 | } |
| 69 |