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