Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 1 | espaco | 1 | /*** |
| 2 | Tiles(new in v1.1.1) |
||
| 3 | ***/ |
||
| 4 | |||
| 5 | .tiles { |
||
| 6 | margin-right: -10px; |
||
| 7 | |||
| 8 | &:before, |
||
| 9 | &:after { |
||
| 10 | display: table; |
||
| 11 | content: " "; |
||
| 12 | } |
||
| 13 | |||
| 14 | &:after { |
||
| 15 | clear: both; |
||
| 16 | } |
||
| 17 | |||
| 18 | .tile { |
||
| 19 | display: block; |
||
| 20 | letter-spacing: 0.02em; |
||
| 21 | float: left; |
||
| 22 | height: 135px; |
||
| 23 | width: 135px !important; |
||
| 24 | cursor: pointer; |
||
| 25 | text-decoration: none; |
||
| 26 | color: #ffffff; |
||
| 27 | position: relative; |
||
| 28 | font-weight: 300; |
||
| 29 | font-size: 12px; |
||
| 30 | letter-spacing: 0.02em; |
||
| 31 | line-height: 20px; |
||
| 32 | overflow: hidden; |
||
| 33 | border: 4px solid transparent; |
||
| 34 | margin: 0 10px 10px 0; |
||
| 35 | |||
| 36 | &:after, |
||
| 37 | &:before { |
||
| 38 | content: ""; |
||
| 39 | float: left; |
||
| 40 | } |
||
| 41 | |||
| 42 | &.double { |
||
| 43 | width: 280px !important; |
||
| 44 | } |
||
| 45 | |||
| 46 | &.double-down { |
||
| 47 | height: 280px !important; |
||
| 48 | |||
| 49 | i { |
||
| 50 | margin-top: 95px; |
||
| 51 | } |
||
| 52 | } |
||
| 53 | |||
| 54 | &:hover { |
||
| 55 | border-color: #aaa !important; |
||
| 56 | } |
||
| 57 | |||
| 58 | &:active, |
||
| 59 | &.selected { |
||
| 60 | border-color: #ccc !important; |
||
| 61 | } |
||
| 62 | |||
| 63 | &.selected .corner:after { |
||
| 64 | content: ""; |
||
| 65 | display: inline-block; |
||
| 66 | border-left: 40px solid transparent; |
||
| 67 | border-bottom: 40px solid transparent; |
||
| 68 | border-right: 40px solid #ccc; |
||
| 69 | position: absolute; |
||
| 70 | top: -3px; |
||
| 71 | right: -3px; |
||
| 72 | } |
||
| 73 | |||
| 74 | &.selected .check:after { |
||
| 75 | content: ""; |
||
| 76 | font-family: FontAwesome; |
||
| 77 | font-size: 13px; |
||
| 78 | content: "\f00c"; |
||
| 79 | display: inline-block; |
||
| 80 | position: absolute; |
||
| 81 | top: 2px; |
||
| 82 | right: 2px; |
||
| 83 | } |
||
| 84 | |||
| 85 | |||
| 86 | &.icon { |
||
| 87 | padding: 0; |
||
| 88 | } |
||
| 89 | |||
| 90 | &.image { |
||
| 91 | .tile-body { |
||
| 92 | padding: 0 !important; |
||
| 93 | |||
| 94 | > img { |
||
| 95 | width: 100%; |
||
| 96 | height: auto; |
||
| 97 | min-height: 100%; |
||
| 98 | max-width: 100%; |
||
| 99 | } |
||
| 100 | |||
| 101 | h3 { |
||
| 102 | display: inline-block; |
||
| 103 | } |
||
| 104 | } |
||
| 105 | } |
||
| 106 | |||
| 107 | |||
| 108 | .tile-body { |
||
| 109 | height: 100%; |
||
| 110 | vertical-align: top; |
||
| 111 | padding: 10px 10px; |
||
| 112 | overflow: hidden; |
||
| 113 | position: relative; |
||
| 114 | font-weight: 400; |
||
| 115 | font-size: 12px; |
||
| 116 | color: #000000; |
||
| 117 | color: #ffffff; |
||
| 118 | margin-bottom: 10px; |
||
| 119 | |||
| 120 | p { |
||
| 121 | font-weight: 400; |
||
| 122 | font-size: 13px; |
||
| 123 | color: #000000; |
||
| 124 | color: #ffffff; |
||
| 125 | line-height: 20px; |
||
| 126 | overflow: hidden; |
||
| 127 | |||
| 128 | &:hover { |
||
| 129 | color: rgba(0, 0, 0, 0.8); |
||
| 130 | } |
||
| 131 | |||
| 132 | &:active { |
||
| 133 | color: rgba(0, 0, 0, 0.4); |
||
| 134 | } |
||
| 135 | |||
| 136 | &:hover { |
||
| 137 | color: #ffffff; |
||
| 138 | } |
||
| 139 | } |
||
| 140 | |||
| 141 | img { |
||
| 142 | float: left; |
||
| 143 | margin-right: 10px; |
||
| 144 | |||
| 145 | &.pull-right { |
||
| 146 | float: right !important; |
||
| 147 | margin-left: 10px; |
||
| 148 | margin-right: 0px; |
||
| 149 | } |
||
| 150 | } |
||
| 151 | |||
| 152 | > .content { |
||
| 153 | display: inline-block; |
||
| 154 | } |
||
| 155 | |||
| 156 | > i { |
||
| 157 | margin-top: 17px; |
||
| 158 | display: block; |
||
| 159 | font-size: 56px; |
||
| 160 | line-height: 56px; |
||
| 161 | text-align: center; |
||
| 162 | } |
||
| 163 | |||
| 164 | h1, |
||
| 165 | h2, |
||
| 166 | h3, |
||
| 167 | h4, |
||
| 168 | h5, |
||
| 169 | h6, |
||
| 170 | p { |
||
| 171 | padding: 0; |
||
| 172 | margin: 0; |
||
| 173 | line-height: 14px; |
||
| 174 | |||
| 175 | &:hover { |
||
| 176 | color: #ffffff; |
||
| 177 | } |
||
| 178 | } |
||
| 179 | |||
| 180 | h3, |
||
| 181 | h4 { |
||
| 182 | margin-bottom: 5px; |
||
| 183 | } |
||
| 184 | } |
||
| 185 | |||
| 186 | .tile-object { |
||
| 187 | position: absolute; |
||
| 188 | bottom: 0; |
||
| 189 | left: 0; |
||
| 190 | right: 0; |
||
| 191 | min-height: 30px; |
||
| 192 | background-color: transparent; |
||
| 193 | *zoom: 1; |
||
| 194 | |||
| 195 | &:before, |
||
| 196 | &:after { |
||
| 197 | display: table; |
||
| 198 | content: ""; |
||
| 199 | } |
||
| 200 | |||
| 201 | &:after { |
||
| 202 | clear: both; |
||
| 203 | } |
||
| 204 | |||
| 205 | > .name { |
||
| 206 | position: absolute; |
||
| 207 | bottom: 0; |
||
| 208 | left: 0; |
||
| 209 | margin-bottom: 5px; |
||
| 210 | margin-left: 10px; |
||
| 211 | margin-right: 15px; |
||
| 212 | font-weight: 400; |
||
| 213 | font-size: 13px; |
||
| 214 | color: #ffffff; |
||
| 215 | |||
| 216 | > i { |
||
| 217 | vertical-align: middle; |
||
| 218 | display: block; |
||
| 219 | font-size: 24px; |
||
| 220 | height: 18px; |
||
| 221 | width: 24px; |
||
| 222 | } |
||
| 223 | } |
||
| 224 | |||
| 225 | > .number { |
||
| 226 | position: absolute; |
||
| 227 | bottom: 0; |
||
| 228 | right: 0; |
||
| 229 | margin-bottom: 0; |
||
| 230 | color: #ffffff; |
||
| 231 | text-align: center; |
||
| 232 | font-weight: 600; |
||
| 233 | font-size: 14px; |
||
| 234 | letter-spacing: 0.01em; |
||
| 235 | line-height: 14px; |
||
| 236 | margin-bottom: 8px; |
||
| 237 | margin-right: 10px; |
||
| 238 | } |
||
| 239 | } |
||
| 240 | } |
||
| 241 | } |
||
| 242 | |||
| 243 |