|
12 | 12 | * Licensed under
|
13 | 13 | * MIT License http://www.opensource.org/licenses/mit-license
|
14 | 14 | *
|
15 |
| - * Date: 2016-04-25T15:40:40.026Z |
| 15 | + * Date: 2016-05-24T13:08:41.760Z |
16 | 16 | */
|
17 | 17 | @font-face {
|
18 | 18 | font-family: "context-menu-icons";
|
19 | 19 | font-style: normal;
|
20 | 20 | font-weight: normal;
|
21 | 21 |
|
22 |
| - src: url("font/context-menu-icons.eot?ilzz"); |
23 |
| - src: url("font/context-menu-icons.eot?ilzz#iefix") format("embedded-opentype"), url("font/context-menu-icons.woff2?ilzz") format("woff2"), url("font/context-menu-icons.woff?ilzz") format("woff"), url("font/context-menu-icons.ttf?ilzz") format("truetype"); |
24 |
| -} |
25 |
| - |
26 |
| -.context-menu-icon:before { |
27 |
| - position: absolute; |
28 |
| - top: 50%; |
29 |
| - left: 0; |
30 |
| - width: 2em; |
31 |
| - font-family: "context-menu-icons"; |
32 |
| - font-size: 1em; |
33 |
| - font-style: normal; |
34 |
| - font-weight: normal; |
35 |
| - line-height: 1; |
36 |
| - color: #2980b9; |
37 |
| - text-align: center; |
38 |
| - -webkit-transform: translateY(-50%); |
39 |
| - -ms-transform: translateY(-50%); |
40 |
| - -o-transform: translateY(-50%); |
41 |
| - transform: translateY(-50%); |
42 |
| - |
43 |
| - -webkit-font-smoothing: antialiased; |
44 |
| - -moz-osx-font-smoothing: grayscale; |
| 22 | + src: url("font/context-menu-icons.eot?1rzc4"); |
| 23 | + src: url("font/context-menu-icons.eot?1rzc4#iefix") format("embedded-opentype"), url("font/context-menu-icons.woff2?1rzc4") format("woff2"), url("font/context-menu-icons.woff?1rzc4") format("woff"), url("font/context-menu-icons.ttf?1rzc4") format("truetype"); |
45 | 24 | }
|
46 | 25 |
|
47 | 26 | .context-menu-icon-add:before {
|
|
72 | 51 | content: "\EA07";
|
73 | 52 | }
|
74 | 53 |
|
| 54 | +.context-menu-icon::before { |
| 55 | + position: absolute; |
| 56 | + top: 50%; |
| 57 | + left: 0; |
| 58 | + width: 2em; |
| 59 | + font-family: "context-menu-icons"; |
| 60 | + font-size: 1em; |
| 61 | + font-style: normal; |
| 62 | + font-weight: normal; |
| 63 | + line-height: 1; |
| 64 | + color: #2980b9; |
| 65 | + text-align: center; |
| 66 | + -webkit-transform: translateY(-50%); |
| 67 | + -ms-transform: translateY(-50%); |
| 68 | + -o-transform: translateY(-50%); |
| 69 | + transform: translateY(-50%); |
| 70 | + |
| 71 | + -webkit-font-smoothing: antialiased; |
| 72 | + -moz-osx-font-smoothing: grayscale; |
| 73 | +} |
| 74 | + |
75 | 75 | .context-menu-icon.context-menu-hover:before {
|
76 | 76 | color: #fff;
|
77 | 77 | }
|
|
80 | 80 | color: #bbb;
|
81 | 81 | }
|
82 | 82 |
|
| 83 | +.context-menu-icon.context-menu-icon--fa { |
| 84 | + display: list-item; |
| 85 | +} |
| 86 | +.context-menu-icon.context-menu-icon--fa::before { |
| 87 | + position: absolute; |
| 88 | + top: 50%; |
| 89 | + left: 0; |
| 90 | + width: 2em; |
| 91 | + font-family: FontAwesome; |
| 92 | + font-size: 1em; |
| 93 | + font-style: normal; |
| 94 | + font-weight: normal; |
| 95 | + line-height: 1; |
| 96 | + color: #2980b9; |
| 97 | + text-align: center; |
| 98 | + -webkit-transform: translateY(-50%); |
| 99 | + -ms-transform: translateY(-50%); |
| 100 | + -o-transform: translateY(-50%); |
| 101 | + transform: translateY(-50%); |
| 102 | + |
| 103 | + -webkit-font-smoothing: antialiased; |
| 104 | + -moz-osx-font-smoothing: grayscale; |
| 105 | +} |
| 106 | +.context-menu-icon.context-menu-icon--fa.context-menu-hover:before { |
| 107 | + color: #fff; |
| 108 | +} |
| 109 | +.context-menu-icon.context-menu-icon--fa.context-menu-disabled::before { |
| 110 | + color: #bbb; |
| 111 | +} |
| 112 | + |
| 113 | +.context-menu-icon.context-menu-icon--fa span { |
| 114 | + font-family: sans-serif; |
| 115 | +} |
| 116 | + |
83 | 117 | .context-menu-list {
|
84 | 118 | position: absolute;
|
85 | 119 | display: inline-block;
|
|
0 commit comments