Matteo Scandolo | 99fface | 2016-12-21 15:37:23 -0800 | [diff] [blame] | 1 | |
Matteo Scandolo | fb46ae6 | 2017-08-08 09:10:50 -0700 | [diff] [blame] | 2 | /* |
| 3 | * Copyright 2017-present Open Networking Foundation |
| 4 | |
| 5 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | * you may not use this file except in compliance with the License. |
| 7 | * You may obtain a copy of the License at |
| 8 | |
| 9 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | |
| 11 | * Unless required by applicable law or agreed to in writing, software |
| 12 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | * See the License for the specific language governing permissions and |
| 15 | * limitations under the License. |
| 16 | */ |
| 17 | |
| 18 | |
| 19 | |
Matteo Scandolo | 99fface | 2016-12-21 15:37:23 -0800 | [diff] [blame] | 20 | /* HELPER CLASS |
| 21 | * -------------------------- */ |
| 22 | |
| 23 | /* FA based classes */ |
| 24 | |
| 25 | /*! Modified from font-awesome helper CSS classes - PIXEDEN |
| 26 | * Font Awesome 4.0.3 by @davegandy - http://fontawesome.io - @fontawesome |
| 27 | * License - http://fontawesome.io/license (CSS: MIT License) |
| 28 | */ |
| 29 | .inmodal .modal-body { |
| 30 | background-color: #ffffff; |
| 31 | } |
| 32 | /* makes the font 33% larger relative to the icon container */ |
| 33 | .pe-lg { |
| 34 | font-size: 1.3333333333333333em; |
| 35 | line-height: 0.75em; |
| 36 | vertical-align: -15%; |
| 37 | } |
| 38 | .pe-2x { |
| 39 | font-size: 2em; |
| 40 | } |
| 41 | .pe-3x { |
| 42 | font-size: 3em; |
| 43 | } |
| 44 | .pe-4x { |
| 45 | font-size: 4em; |
| 46 | } |
| 47 | .pe-5x { |
| 48 | font-size: 5em; |
| 49 | } |
| 50 | .pe-fw { |
| 51 | width: 1.2857142857142858em; |
| 52 | text-align: center; |
| 53 | } |
| 54 | .pe-ul { |
| 55 | padding-left: 0; |
| 56 | margin-left: 2.142857142857143em; |
| 57 | list-style-type: none; |
| 58 | } |
| 59 | .pe-ul > li { |
| 60 | position: relative; |
| 61 | } |
| 62 | .pe-li { |
| 63 | position: absolute; |
| 64 | left: -2.142857142857143em; |
| 65 | width: 2.142857142857143em; |
| 66 | top: 0.14285714285714285em; |
| 67 | text-align: center; |
| 68 | } |
| 69 | .pe-li.pe-lg { |
| 70 | left: -1.8571428571428572em; |
| 71 | } |
| 72 | .pe-border { |
| 73 | padding: .2em .25em .15em; |
| 74 | border: solid 0.08em #eeeeee; |
| 75 | border-radius: .1em; |
| 76 | } |
| 77 | .pull-right { |
| 78 | float: right; |
| 79 | } |
| 80 | .pull-left { |
| 81 | float: left; |
| 82 | } |
| 83 | .pe.pull-left { |
| 84 | margin-right: .3em; |
| 85 | } |
| 86 | .pe.pull-right { |
| 87 | margin-left: .3em; |
| 88 | } |
| 89 | .pe-spin { |
| 90 | -webkit-animation: spin 2s infinite linear; |
| 91 | -moz-animation: spin 2s infinite linear; |
| 92 | -o-animation: spin 2s infinite linear; |
| 93 | animation: spin 2s infinite linear; |
| 94 | } |
| 95 | @-moz-keyframes spin { |
| 96 | 0% { |
| 97 | -moz-transform: rotate(0deg); |
| 98 | } |
| 99 | 100% { |
| 100 | -moz-transform: rotate(359deg); |
| 101 | } |
| 102 | } |
| 103 | @-webkit-keyframes spin { |
| 104 | 0% { |
| 105 | -webkit-transform: rotate(0deg); |
| 106 | } |
| 107 | 100% { |
| 108 | -webkit-transform: rotate(359deg); |
| 109 | } |
| 110 | } |
| 111 | @-o-keyframes spin { |
| 112 | 0% { |
| 113 | -o-transform: rotate(0deg); |
| 114 | } |
| 115 | 100% { |
| 116 | -o-transform: rotate(359deg); |
| 117 | } |
| 118 | } |
| 119 | @-ms-keyframes spin { |
| 120 | 0% { |
| 121 | -ms-transform: rotate(0deg); |
| 122 | } |
| 123 | 100% { |
| 124 | -ms-transform: rotate(359deg); |
| 125 | } |
| 126 | } |
| 127 | @keyframes spin { |
| 128 | 0% { |
| 129 | transform: rotate(0deg); |
| 130 | } |
| 131 | 100% { |
| 132 | transform: rotate(359deg); |
| 133 | } |
| 134 | } |
| 135 | .pe-rotate-90 { |
| 136 | filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1); |
| 137 | -webkit-transform: rotate(90deg); |
| 138 | -moz-transform: rotate(90deg); |
| 139 | -ms-transform: rotate(90deg); |
| 140 | -o-transform: rotate(90deg); |
| 141 | transform: rotate(90deg); |
| 142 | } |
| 143 | .pe-rotate-180 { |
| 144 | filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2); |
| 145 | -webkit-transform: rotate(180deg); |
| 146 | -moz-transform: rotate(180deg); |
| 147 | -ms-transform: rotate(180deg); |
| 148 | -o-transform: rotate(180deg); |
| 149 | transform: rotate(180deg); |
| 150 | } |
| 151 | .pe-rotate-270 { |
| 152 | filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3); |
| 153 | -webkit-transform: rotate(270deg); |
| 154 | -moz-transform: rotate(270deg); |
| 155 | -ms-transform: rotate(270deg); |
| 156 | -o-transform: rotate(270deg); |
| 157 | transform: rotate(270deg); |
| 158 | } |
| 159 | .pe-flip-horizontal { |
| 160 | filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1); |
| 161 | -webkit-transform: scale(-1, 1); |
| 162 | -moz-transform: scale(-1, 1); |
| 163 | -ms-transform: scale(-1, 1); |
| 164 | -o-transform: scale(-1, 1); |
| 165 | transform: scale(-1, 1); |
| 166 | } |
| 167 | .pe-flip-vertical { |
| 168 | filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1); |
| 169 | -webkit-transform: scale(1, -1); |
| 170 | -moz-transform: scale(1, -1); |
| 171 | -ms-transform: scale(1, -1); |
| 172 | -o-transform: scale(1, -1); |
| 173 | transform: scale(1, -1); |
| 174 | } |
| 175 | .pe-stack { |
| 176 | position: relative; |
| 177 | display: inline-block; |
| 178 | width: 2em; |
| 179 | height: 2em; |
| 180 | line-height: 2em; |
| 181 | vertical-align: middle; |
| 182 | } |
| 183 | .pe-stack-1x, |
| 184 | .pe-stack-2x { |
| 185 | position: absolute; |
| 186 | left: 0; |
| 187 | width: 100%; |
| 188 | text-align: center; |
| 189 | } |
| 190 | .pe-stack-1x { |
| 191 | line-height: inherit; |
| 192 | } |
| 193 | .pe-stack-2x { |
| 194 | font-size: 2em; |
| 195 | } |
| 196 | .pe-inverse { |
| 197 | color: #ffffff; |
| 198 | } |
| 199 | |
| 200 | /* Custom classes / mods - PIXEDEN */ |
| 201 | .pe-va { |
| 202 | vertical-align: middle; |
| 203 | } |
| 204 | |
| 205 | .pe-border { |
| 206 | border: solid 0.08em #eaeaea; |
| 207 | } |
| 208 | |
| 209 | [class^="pe-7s-"], [class*=" pe-7s-"] { |
| 210 | display: inline-block; |
| 211 | } |