Matteo Scandolo | 99fface | 2016-12-21 15:37:23 -0800 | [diff] [blame] | 1 | |
| 2 | /* HELPER CLASS |
| 3 | * -------------------------- */ |
| 4 | |
| 5 | /* FA based classes */ |
| 6 | |
| 7 | /*! Modified from font-awesome helper CSS classes - PIXEDEN |
| 8 | * Font Awesome 4.0.3 by @davegandy - http://fontawesome.io - @fontawesome |
| 9 | * License - http://fontawesome.io/license (CSS: MIT License) |
| 10 | */ |
| 11 | .inmodal .modal-body { |
| 12 | background-color: #ffffff; |
| 13 | } |
| 14 | /* makes the font 33% larger relative to the icon container */ |
| 15 | .pe-lg { |
| 16 | font-size: 1.3333333333333333em; |
| 17 | line-height: 0.75em; |
| 18 | vertical-align: -15%; |
| 19 | } |
| 20 | .pe-2x { |
| 21 | font-size: 2em; |
| 22 | } |
| 23 | .pe-3x { |
| 24 | font-size: 3em; |
| 25 | } |
| 26 | .pe-4x { |
| 27 | font-size: 4em; |
| 28 | } |
| 29 | .pe-5x { |
| 30 | font-size: 5em; |
| 31 | } |
| 32 | .pe-fw { |
| 33 | width: 1.2857142857142858em; |
| 34 | text-align: center; |
| 35 | } |
| 36 | .pe-ul { |
| 37 | padding-left: 0; |
| 38 | margin-left: 2.142857142857143em; |
| 39 | list-style-type: none; |
| 40 | } |
| 41 | .pe-ul > li { |
| 42 | position: relative; |
| 43 | } |
| 44 | .pe-li { |
| 45 | position: absolute; |
| 46 | left: -2.142857142857143em; |
| 47 | width: 2.142857142857143em; |
| 48 | top: 0.14285714285714285em; |
| 49 | text-align: center; |
| 50 | } |
| 51 | .pe-li.pe-lg { |
| 52 | left: -1.8571428571428572em; |
| 53 | } |
| 54 | .pe-border { |
| 55 | padding: .2em .25em .15em; |
| 56 | border: solid 0.08em #eeeeee; |
| 57 | border-radius: .1em; |
| 58 | } |
| 59 | .pull-right { |
| 60 | float: right; |
| 61 | } |
| 62 | .pull-left { |
| 63 | float: left; |
| 64 | } |
| 65 | .pe.pull-left { |
| 66 | margin-right: .3em; |
| 67 | } |
| 68 | .pe.pull-right { |
| 69 | margin-left: .3em; |
| 70 | } |
| 71 | .pe-spin { |
| 72 | -webkit-animation: spin 2s infinite linear; |
| 73 | -moz-animation: spin 2s infinite linear; |
| 74 | -o-animation: spin 2s infinite linear; |
| 75 | animation: spin 2s infinite linear; |
| 76 | } |
| 77 | @-moz-keyframes spin { |
| 78 | 0% { |
| 79 | -moz-transform: rotate(0deg); |
| 80 | } |
| 81 | 100% { |
| 82 | -moz-transform: rotate(359deg); |
| 83 | } |
| 84 | } |
| 85 | @-webkit-keyframes spin { |
| 86 | 0% { |
| 87 | -webkit-transform: rotate(0deg); |
| 88 | } |
| 89 | 100% { |
| 90 | -webkit-transform: rotate(359deg); |
| 91 | } |
| 92 | } |
| 93 | @-o-keyframes spin { |
| 94 | 0% { |
| 95 | -o-transform: rotate(0deg); |
| 96 | } |
| 97 | 100% { |
| 98 | -o-transform: rotate(359deg); |
| 99 | } |
| 100 | } |
| 101 | @-ms-keyframes spin { |
| 102 | 0% { |
| 103 | -ms-transform: rotate(0deg); |
| 104 | } |
| 105 | 100% { |
| 106 | -ms-transform: rotate(359deg); |
| 107 | } |
| 108 | } |
| 109 | @keyframes spin { |
| 110 | 0% { |
| 111 | transform: rotate(0deg); |
| 112 | } |
| 113 | 100% { |
| 114 | transform: rotate(359deg); |
| 115 | } |
| 116 | } |
| 117 | .pe-rotate-90 { |
| 118 | filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1); |
| 119 | -webkit-transform: rotate(90deg); |
| 120 | -moz-transform: rotate(90deg); |
| 121 | -ms-transform: rotate(90deg); |
| 122 | -o-transform: rotate(90deg); |
| 123 | transform: rotate(90deg); |
| 124 | } |
| 125 | .pe-rotate-180 { |
| 126 | filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2); |
| 127 | -webkit-transform: rotate(180deg); |
| 128 | -moz-transform: rotate(180deg); |
| 129 | -ms-transform: rotate(180deg); |
| 130 | -o-transform: rotate(180deg); |
| 131 | transform: rotate(180deg); |
| 132 | } |
| 133 | .pe-rotate-270 { |
| 134 | filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3); |
| 135 | -webkit-transform: rotate(270deg); |
| 136 | -moz-transform: rotate(270deg); |
| 137 | -ms-transform: rotate(270deg); |
| 138 | -o-transform: rotate(270deg); |
| 139 | transform: rotate(270deg); |
| 140 | } |
| 141 | .pe-flip-horizontal { |
| 142 | filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1); |
| 143 | -webkit-transform: scale(-1, 1); |
| 144 | -moz-transform: scale(-1, 1); |
| 145 | -ms-transform: scale(-1, 1); |
| 146 | -o-transform: scale(-1, 1); |
| 147 | transform: scale(-1, 1); |
| 148 | } |
| 149 | .pe-flip-vertical { |
| 150 | filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1); |
| 151 | -webkit-transform: scale(1, -1); |
| 152 | -moz-transform: scale(1, -1); |
| 153 | -ms-transform: scale(1, -1); |
| 154 | -o-transform: scale(1, -1); |
| 155 | transform: scale(1, -1); |
| 156 | } |
| 157 | .pe-stack { |
| 158 | position: relative; |
| 159 | display: inline-block; |
| 160 | width: 2em; |
| 161 | height: 2em; |
| 162 | line-height: 2em; |
| 163 | vertical-align: middle; |
| 164 | } |
| 165 | .pe-stack-1x, |
| 166 | .pe-stack-2x { |
| 167 | position: absolute; |
| 168 | left: 0; |
| 169 | width: 100%; |
| 170 | text-align: center; |
| 171 | } |
| 172 | .pe-stack-1x { |
| 173 | line-height: inherit; |
| 174 | } |
| 175 | .pe-stack-2x { |
| 176 | font-size: 2em; |
| 177 | } |
| 178 | .pe-inverse { |
| 179 | color: #ffffff; |
| 180 | } |
| 181 | |
| 182 | /* Custom classes / mods - PIXEDEN */ |
| 183 | .pe-va { |
| 184 | vertical-align: middle; |
| 185 | } |
| 186 | |
| 187 | .pe-border { |
| 188 | border: solid 0.08em #eaeaea; |
| 189 | } |
| 190 | |
| 191 | [class^="pe-7s-"], [class*=" pe-7s-"] { |
| 192 | display: inline-block; |
| 193 | } |