Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 1 | espaco | 1 | /*** |
| 2 | Fontawesome Icons |
||
| 3 | ***/ |
||
| 4 | |||
| 5 | [class^="fa-"], |
||
| 6 | [class^="glyphicon-"], |
||
| 7 | [class^="icon-"], |
||
| 8 | [class*=" fa-"], |
||
| 9 | [class*=" glyphicon-"], |
||
| 10 | [class*=" icon-"] { |
||
| 11 | display: inline-block; |
||
| 12 | margin-top: 1px; |
||
| 13 | font-size: $icon-size-normal; |
||
| 14 | *margin-right: .3em; |
||
| 15 | line-height: $icon-size-normal; |
||
| 16 | -webkit-font-smoothing: antialiased; |
||
| 17 | } |
||
| 18 | |||
| 19 | /* Make font awesome icons fixed width */ |
||
| 20 | |||
| 21 | li [class^="fa-"], |
||
| 22 | li [class^="glyphicon-"], |
||
| 23 | li [class^="icon-"], |
||
| 24 | li [class*=" fa-"], |
||
| 25 | li [class*=" glyphicon-"], |
||
| 26 | li [class*=" icon-"] { |
||
| 27 | display: inline-block; |
||
| 28 | width: 1.25em; |
||
| 29 | text-align: center; |
||
| 30 | } |
||
| 31 | |||
| 32 | li [class^="glyphicon-"], |
||
| 33 | li [class*=" glyphicon-"] { |
||
| 34 | top: 2px; |
||
| 35 | } |
||
| 36 | |||
| 37 | li [class^="icon-"], |
||
| 38 | li [class*=" icon-"] { |
||
| 39 | top: 1px; |
||
| 40 | position: relative; |
||
| 41 | } |
||
| 42 | |||
| 43 | li [class^="fa-"].icon-large, |
||
| 44 | li [class^="glyphicon-"].icon-large, |
||
| 45 | li [class^="icon-"].icon-large, |
||
| 46 | li [class*=" fa-"].icon-large, |
||
| 47 | li [class*=" glyphicon-"].icon-large, |
||
| 48 | li [class*=" icon-"].icon-large { |
||
| 49 | /* increased font size for icon-large */ |
||
| 50 | width: 1.5625em; |
||
| 51 | } |
||
| 52 | |||
| 53 | /* Icon sizing */ |
||
| 54 | |||
| 55 | .fa-sm, |
||
| 56 | .icon-sm { |
||
| 57 | font-size: 12px; |
||
| 58 | } |
||
| 59 | |||
| 60 | .fa-lg, |
||
| 61 | .icon-lg { |
||
| 62 | font-size: 16px !important; |
||
| 63 | } |
||
| 64 | |||
| 65 | .fa-2x { |
||
| 66 | font-size: 2em; |
||
| 67 | } |
||
| 68 | |||
| 69 | .fa-3x { |
||
| 70 | font-size: 3em; |
||
| 71 | } |
||
| 72 | |||
| 73 | .fa-4x { |
||
| 74 | font-size: 4em; |
||
| 75 | } |
||
| 76 | |||
| 77 | .fa-5x { |
||
| 78 | font-size: 5em; |
||
| 79 | } |
||
| 80 | |||
| 81 | /* Icon coloring */ |
||
| 82 | |||
| 83 | .icon-state-default { |
||
| 84 | color: $brand-default; |
||
| 85 | } |
||
| 86 | |||
| 87 | .icon-state-success { |
||
| 88 | color: $brand-success; |
||
| 89 | } |
||
| 90 | |||
| 91 | .icon-state-info { |
||
| 92 | color: $brand-info; |
||
| 93 | } |
||
| 94 | |||
| 95 | .icon-state-warning { |
||
| 96 | color: $brand-warning; |
||
| 97 | } |
||
| 98 | |||
| 99 | .icon-state-danger { |
||
| 100 | color: $brand-danger; |
||
| 101 | } |
||
| 102 | |||
| 103 | /*** |
||
| 104 | Font Awesome 4.x Demo |
||
| 105 | ***/ |
||
| 106 | |||
| 107 | .fa-item { |
||
| 108 | font-size: 14px; |
||
| 109 | padding: 10px 10px 10px 20px; |
||
| 110 | |||
| 111 | i { |
||
| 112 | font-size: 16px; |
||
| 113 | display: inline-block; |
||
| 114 | width: 20px; |
||
| 115 | color: #333; |
||
| 116 | } |
||
| 117 | |||
| 118 | &:hover { |
||
| 119 | cursor: pointer; |
||
| 120 | background: #eee; |
||
| 121 | } |
||
| 122 | } |
||
| 123 | |||
| 124 | /*** |
||
| 125 | Simple Line Icons Demo |
||
| 126 | ***/ |
||
| 127 | |||
| 128 | .simplelineicons-demo { |
||
| 129 | .item-box { |
||
| 130 | display: inline-block; |
||
| 131 | font-size: 16px; |
||
| 132 | margin: 0 -0.22em 1em 0; |
||
| 133 | padding-left: 1em; |
||
| 134 | width: 100%; |
||
| 135 | |||
| 136 | .item { |
||
| 137 | background-color: #fff; |
||
| 138 | color: #33383e; |
||
| 139 | border-radius: 8px; |
||
| 140 | display: inline-block; |
||
| 141 | padding: 10px; |
||
| 142 | width: 100%; |
||
| 143 | |||
| 144 | span { |
||
| 145 | font-size: 22px; |
||
| 146 | } |
||
| 147 | } |
||
| 148 | } |
||
| 149 | } |
||
| 150 | |||
| 151 | @media only screen and (min-width: 768px) { |
||
| 152 | |||
| 153 | .simplelineicons-demo { |
||
| 154 | .item-box { |
||
| 155 | width: 33.333%; |
||
| 156 | } |
||
| 157 | } |
||
| 158 | } |
||
| 159 | |||
| 160 | /*** |
||
| 161 | Glyphicons Demo |
||
| 162 | ***/ |
||
| 163 | |||
| 164 | .glyphicons-demo ul { |
||
| 165 | padding-left: 0; |
||
| 166 | padding-bottom: 1px; |
||
| 167 | margin-bottom: 20px; |
||
| 168 | list-style: none; |
||
| 169 | overflow: hidden; |
||
| 170 | } |
||
| 171 | |||
| 172 | .bs-glyphicon-class { |
||
| 173 | text-align: center; |
||
| 174 | } |
||
| 175 | |||
| 176 | .bs-glyphicons { |
||
| 177 | padding-left: 0; |
||
| 178 | padding-bottom: 1px; |
||
| 179 | margin-bottom: 20px; |
||
| 180 | list-style: none; |
||
| 181 | overflow: hidden; |
||
| 182 | } |
||
| 183 | |||
| 184 | .glyphicons-demo ul li { |
||
| 185 | float: left; |
||
| 186 | width: 25%; |
||
| 187 | height: 115px; |
||
| 188 | padding: 10px; |
||
| 189 | margin: 0 -1px -1px 0; |
||
| 190 | font-size: 14px; |
||
| 191 | line-height: 1.4; |
||
| 192 | text-align: center; |
||
| 193 | border: 1px solid #ddd; |
||
| 194 | } |
||
| 195 | |||
| 196 | .glyphicons-demo .glyphicon { |
||
| 197 | display: block; |
||
| 198 | margin: 5px auto 10px; |
||
| 199 | font-size: 24px; |
||
| 200 | color: #444; |
||
| 201 | } |
||
| 202 | |||
| 203 | .glyphicons-demo ul li:hover { |
||
| 204 | background-color: rgba(86,61,124,.1); |
||
| 205 | } |
||
| 206 | |||
| 207 | @media (min-width: 768px) { |
||
| 208 | .glyphicons-demo ul li { |
||
| 209 | width: 12.5%; |
||
| 210 | } |
||
| 211 | } |