| 1 |
/* -------------------------------------- |
| 2 |
Spinner |
| 3 |
-------------------------------------- */ |
| 4 |
|
| 5 |
.gamipress-spinner { |
| 6 |
display: block; |
| 7 |
margin: 4px auto; |
| 8 |
width: 20px; |
| 9 |
height: 20px; |
| 10 |
background: url('../img/spinner.gif'); |
| 11 |
} |
| 12 |
|
| 13 |
|
| 14 |
/* -------------------------------------- |
| 15 |
Achievements List |
| 16 |
-------------------------------------- */ |
| 17 |
|
| 18 |
#gamipress-achievements-filter { |
| 19 |
float: left; |
| 20 |
margin-bottom: 1em; |
| 21 |
} |
| 22 |
|
| 23 |
#gamipress-achievements-search { |
| 24 |
margin-right: 5px; |
| 25 |
margin-bottom: 1em; |
| 26 |
float: right; |
| 27 |
} |
| 28 |
|
| 29 |
#gamipress-achievements-container:not([class*="gamipress-columns"]), |
| 30 |
#achievements_list_load_more, |
| 31 |
#gamipress-achievements-filters-wrap { |
| 32 |
display: block; |
| 33 |
margin: 0 auto; |
| 34 |
clear: both; |
| 35 |
} |
| 36 |
|
| 37 |
#gamipress-achievements-filter select { |
| 38 |
max-width: 100%; |
| 39 |
margin-left: 5px; |
| 40 |
} |
| 41 |
|
| 42 |
.gamipress-achievements-list .gamipress-achievement { |
| 43 |
padding: 1em 0; |
| 44 |
} |
| 45 |
|
| 46 |
.gamipress-no-results { |
| 47 |
width: 100%; |
| 48 |
} |
| 49 |
|
| 50 |
/* -------------------------------------- |
| 51 |
Layout Utility |
| 52 |
-------------------------------------- */ |
| 53 |
|
| 54 |
.gamipress-achievement:not(.gamipress-layout-none), |
| 55 |
.gamipress-rank:not(.gamipress-layout-none), |
| 56 |
.single-achievement.achievement-wrap:not(.gamipress-layout-none), |
| 57 |
.single-rank.rank-wrap:not(.gamipress-layout-none), |
| 58 |
.gamipress-user-points:not(.gamipress-layout-none) { |
| 59 |
display: -webkit-box; |
| 60 |
display: -webkit-flex; |
| 61 |
display: -ms-flexbox; |
| 62 |
display: flex; |
| 63 |
-webkit-flex-wrap: wrap; |
| 64 |
-ms-flex-wrap: wrap; |
| 65 |
flex-wrap: wrap; |
| 66 |
|
| 67 |
align-self: flex-start; |
| 68 |
|
| 69 |
width: 100%; |
| 70 |
|
| 71 |
margin-bottom: 1rem; |
| 72 |
} |
| 73 |
|
| 74 |
.gamipress-points-types:not(.gamipress-layout-none) .gamipress-points-type { |
| 75 |
display: -webkit-box; |
| 76 |
display: -webkit-flex; |
| 77 |
display: -ms-flexbox; |
| 78 |
display: flex; |
| 79 |
-webkit-flex-wrap: wrap; |
| 80 |
-ms-flex-wrap: wrap; |
| 81 |
flex-wrap: wrap; |
| 82 |
|
| 83 |
align-self: flex-start; |
| 84 |
} |
| 85 |
|
| 86 |
/* Force box sizing to box's border instead of box's content */ |
| 87 |
.gamipress-achievement:not(.gamipress-layout-none) *, |
| 88 |
.gamipress-rank:not(.gamipress-layout-none) *, |
| 89 |
.single-achievement.achievement-wrap:not(.gamipress-layout-none) *, |
| 90 |
.single-rank.rank-wrap:not(.gamipress-layout-none) *, |
| 91 |
.gamipress-user-points:not(.gamipress-layout-none) *, |
| 92 |
.gamipress-points-types:not(.gamipress-layout-none) * { |
| 93 |
box-sizing: border-box; |
| 94 |
} |
| 95 |
|
| 96 |
/* Left and Right */ |
| 97 |
.gamipress-achievement.gamipress-layout-left .gamipress-achievement-image, |
| 98 |
.gamipress-achievement.gamipress-layout-right .gamipress-achievement-image, |
| 99 |
.gamipress-rank.gamipress-layout-left .gamipress-rank-image, |
| 100 |
.gamipress-rank.gamipress-layout-right .gamipress-rank-image, |
| 101 |
.single-achievement.gamipress-layout-left .gamipress-achievement-image, |
| 102 |
.single-achievement.gamipress-layout-right .gamipress-achievement-image, |
| 103 |
.single-rank.gamipress-layout-left .gamipress-rank-image, |
| 104 |
.single-rank.gamipress-layout-right .gamipress-rank-image, |
| 105 |
.gamipress-points-types.gamipress-layout-left .gamipress-points-type-image, |
| 106 |
.gamipress-points-types.gamipress-layout-right .gamipress-points-type-image { |
| 107 |
width: 20%; |
| 108 |
} |
| 109 |
|
| 110 |
.gamipress-achievement.gamipress-layout-left .gamipress-achievement-image, |
| 111 |
.gamipress-rank.gamipress-layout-left .gamipress-rank-image, |
| 112 |
.single-achievement.gamipress-layout-left .gamipress-achievement-image, |
| 113 |
.single-rank.gamipress-layout-left .gamipress-rank-image, |
| 114 |
.gamipress-points-types.gamipress-layout-left .gamipress-points-type-image { |
| 115 |
padding-right: 1em; |
| 116 |
} |
| 117 |
|
| 118 |
.gamipress-achievement.gamipress-layout-right .gamipress-achievement-image, |
| 119 |
.gamipress-rank.gamipress-layout-right .gamipress-rank-image, |
| 120 |
.single-achievement.gamipress-layout-right .gamipress-achievement-image, |
| 121 |
.single-rank.gamipress-layout-right .gamipress-rank-image, |
| 122 |
.gamipress-points-types.gamipress-layout-right .gamipress-points-type-image { |
| 123 |
padding-left: 1em; |
| 124 |
} |
| 125 |
|
| 126 |
.gamipress-achievement.gamipress-layout-left .gamipress-achievement-description, |
| 127 |
.gamipress-achievement.gamipress-layout-right .gamipress-achievement-description, |
| 128 |
.gamipress-rank.gamipress-layout-left .gamipress-rank-description, |
| 129 |
.gamipress-rank.gamipress-layout-right .gamipress-rank-description, |
| 130 |
.single-achievement.gamipress-layout-left .gamipress-achievement-description, |
| 131 |
.single-achievement.gamipress-layout-right .gamipress-achievement-description, |
| 132 |
.single-rank.gamipress-layout-left .gamipress-rank-description, |
| 133 |
.single-rank.gamipress-layout-right .gamipress-rank-description, |
| 134 |
.gamipress-points-types.gamipress-layout-left .gamipress-points-type-description, |
| 135 |
.gamipress-points-types.gamipress-layout-right .gamipress-points-type-description { |
| 136 |
margin-top: 0; |
| 137 |
width: 80%; |
| 138 |
} |
| 139 |
|
| 140 |
.gamipress-achievement.gamipress-layout-right, |
| 141 |
.gamipress-rank.gamipress-layout-right, |
| 142 |
.single-achievement.gamipress-layout-right, |
| 143 |
.single-rank.gamipress-layout-right, |
| 144 |
.gamipress-user-points.gamipress-layout-right .gamipress-points, |
| 145 |
.gamipress-points-types.gamipress-layout-right .gamipress-points-type { |
| 146 |
flex-direction: row-reverse; |
| 147 |
} |
| 148 |
|
| 149 |
.gamipress-user-points.gamipress-layout-left .gamipress-points, |
| 150 |
.gamipress-user-points.gamipress-layout-right .gamipress-points { |
| 151 |
display: -webkit-box; |
| 152 |
display: -webkit-flex; |
| 153 |
display: -ms-flexbox; |
| 154 |
display: flex; |
| 155 |
align-items: center; |
| 156 |
} |
| 157 |
|
| 158 |
.gamipress-user-points.gamipress-layout-right .gamipress-points { |
| 159 |
justify-content: flex-end; |
| 160 |
} |
| 161 |
|
| 162 |
/* Top and Bottom */ |
| 163 |
.gamipress-achievement.gamipress-layout-top .gamipress-achievement-image, |
| 164 |
.gamipress-achievement.gamipress-layout-bottom .gamipress-achievement-image, |
| 165 |
.gamipress-rank.gamipress-layout-top .gamipress-rank-image, |
| 166 |
.gamipress-rank.gamipress-layout-bottom .gamipress-rank-image, |
| 167 |
.single-achievement.gamipress-layout-top .gamipress-achievement-image, |
| 168 |
.single-achievement.gamipress-layout-bottom .gamipress-achievement-image, |
| 169 |
.single-rank.gamipress-layout-top .gamipress-rank-image, |
| 170 |
.single-rank.gamipress-layout-bottom .gamipress-rank-image, |
| 171 |
.gamipress-points-types.gamipress-layout-top .gamipress-points-type-image, |
| 172 |
.gamipress-points-types.gamipress-layout-bottom .gamipress-points-type-image { |
| 173 |
width: 100%; |
| 174 |
} |
| 175 |
|
| 176 |
.gamipress-achievement.gamipress-layout-top .gamipress-achievement-image, |
| 177 |
.gamipress-rank.gamipress-layout-top .gamipress-rank-image, |
| 178 |
.single-achievement.gamipress-layout-top .gamipress-achievement-image, |
| 179 |
.single-rank.gamipress-layout-top .gamipress-rank-image, |
| 180 |
.gamipress-points-types.gamipress-layout-top .gamipress-points-type-image { |
| 181 |
padding-bottom: 1em; |
| 182 |
} |
| 183 |
|
| 184 |
.gamipress-achievement.gamipress-layout-bottom .gamipress-achievement-image, |
| 185 |
.gamipress-rank.gamipress-layout-bottom .gamipress-rank-image, |
| 186 |
.single-achievement.gamipress-layout-bottom .gamipress-achievement-image, |
| 187 |
.single-rank.gamipress-layout-bottom .gamipress-rank-image, |
| 188 |
.gamipress-points-types.gamipress-layout-bottom .gamipress-points-type-image { |
| 189 |
padding-top: 1em; |
| 190 |
} |
| 191 |
|
| 192 |
.gamipress-achievement.gamipress-layout-top .gamipress-achievement-description, |
| 193 |
.gamipress-achievement.gamipress-layout-bottom .gamipress-achievement-description, |
| 194 |
.gamipress-rank.gamipress-layout-top .gamipress-rank-description, |
| 195 |
.gamipress-rank.gamipress-layout-bottom .gamipress-rank-description, |
| 196 |
.single-achievement.gamipress-layout-top .gamipress-achievement-description, |
| 197 |
.single-achievement.gamipress-layout-bottom .gamipress-achievement-description, |
| 198 |
.single-rank.gamipress-layout-top .gamipress-rank-description, |
| 199 |
.single-rank.gamipress-layout-bottom .gamipress-rank-description, |
| 200 |
.gamipress-points-types.gamipress-layout-top .gamipress-points-type-description, |
| 201 |
.gamipress-points-types.gamipress-layout-bottom .gamipress-points-type-description { |
| 202 |
width: 100%; |
| 203 |
} |
| 204 |
|
| 205 |
.gamipress-achievement.gamipress-layout-bottom, |
| 206 |
.gamipress-rank.gamipress-layout-bottom, |
| 207 |
.single-achievement.gamipress-layout-bottom, |
| 208 |
.single-rank.gamipress-layout-bottom, |
| 209 |
.gamipress-user-points.gamipress-layout-bottom .gamipress-points, |
| 210 |
.gamipress-points-types.gamipress-layout-bottom .gamipress-points-type { |
| 211 |
flex-direction: column-reverse; |
| 212 |
} |
| 213 |
|
| 214 |
.gamipress-user-points.gamipress-layout-top .gamipress-points, |
| 215 |
.gamipress-user-points.gamipress-layout-bottom .gamipress-points { |
| 216 |
text-align: center; |
| 217 |
} |
| 218 |
|
| 219 |
.gamipress-user-points.gamipress-layout-top .gamipress-user-points-image, |
| 220 |
.gamipress-user-points.gamipress-layout-bottom .gamipress-user-points-image { |
| 221 |
width: 100%; |
| 222 |
} |
| 223 |
|
| 224 |
/* -------------------------------------- |
| 225 |
Align Utility |
| 226 |
-------------------------------------- */ |
| 227 |
|
| 228 |
.gamipress-align-left { |
| 229 |
text-align: left; |
| 230 |
} |
| 231 |
|
| 232 |
.gamipress-align-left .gamipress-share-buttons { |
| 233 |
justify-content: flex-start; |
| 234 |
} |
| 235 |
|
| 236 |
.gamipress-align-center { |
| 237 |
text-align: center; |
| 238 |
} |
| 239 |
|
| 240 |
.gamipress-align-center .gamipress-share-buttons { |
| 241 |
justify-content: center; |
| 242 |
} |
| 243 |
|
| 244 |
.gamipress-align-right { |
| 245 |
text-align: right; |
| 246 |
} |
| 247 |
|
| 248 |
.gamipress-align-right .gamipress-share-buttons { |
| 249 |
justify-content: flex-end; |
| 250 |
} |
| 251 |
|
| 252 |
.gamipress-align-justify { |
| 253 |
text-align: justify; |
| 254 |
} |
| 255 |
|
| 256 |
/* -------------------------------------- |
| 257 |
Columns Utility |
| 258 |
-------------------------------------- */ |
| 259 |
|
| 260 |
[class*="gamipress-columns"] { |
| 261 |
display: -webkit-box; |
| 262 |
display: -webkit-flex; |
| 263 |
display: -ms-flexbox; |
| 264 |
display: flex; |
| 265 |
|
| 266 |
-webkit-flex-wrap: wrap; |
| 267 |
-ms-flex-wrap: wrap; |
| 268 |
flex-wrap: wrap; |
| 269 |
|
| 270 |
width: 100%; |
| 271 |
} |
| 272 |
|
| 273 |
[class*="gamipress-columns"] > .gamipress-achievement, |
| 274 |
[class*="gamipress-columns"] > .gamipress-points, |
| 275 |
[class*="gamipress-columns"] > .gamipress-points-type, |
| 276 |
[class*="gamipress-columns"] .gamipress-rank { |
| 277 |
width: 100%; |
| 278 |
} |
| 279 |
|
| 280 |
/* Force box sizing to box's border instead of box's content */ |
| 281 |
[class*="gamipress-columns"] * { |
| 282 |
box-sizing: border-box; |
| 283 |
} |
| 284 |
|
| 285 |
.gamipress-columns-small-2 > .gamipress-achievement, |
| 286 |
.gamipress-columns-small-2 > .gamipress-points, |
| 287 |
.gamipress-columns-small-2 > .gamipress-points-type, |
| 288 |
.gamipress-columns-small-2 .gamipress-rank { |
| 289 |
width: 50%; |
| 290 |
} |
| 291 |
|
| 292 |
.gamipress-columns-small-3 > .gamipress-achievement, |
| 293 |
.gamipress-columns-small-3 > .gamipress-points, |
| 294 |
.gamipress-columns-small-3 > .gamipress-points-type, |
| 295 |
.gamipress-columns-small-3 .gamipress-rank { |
| 296 |
width: 33%; |
| 297 |
} |
| 298 |
|
| 299 |
.gamipress-columns-small-4 > .gamipress-achievement, |
| 300 |
.gamipress-columns-small-4 > .gamipress-points, |
| 301 |
.gamipress-columns-small-4 > .gamipress-points-type, |
| 302 |
.gamipress-columns-small-4 .gamipress-rank { |
| 303 |
width: 25%; |
| 304 |
} |
| 305 |
|
| 306 |
.gamipress-columns-small-5 > .gamipress-achievement, |
| 307 |
.gamipress-columns-small-5 > .gamipress-points, |
| 308 |
.gamipress-columns-small-5 > .gamipress-points-type, |
| 309 |
.gamipress-columns-small-5 .gamipress-rank { |
| 310 |
width: 20%; |
| 311 |
} |
| 312 |
|
| 313 |
.gamipress-columns-small-6 > .gamipress-achievement, |
| 314 |
.gamipress-columns-small-6 > .gamipress-points, |
| 315 |
.gamipress-columns-small-6 > .gamipress-points-type, |
| 316 |
.gamipress-columns-small-6 .gamipress-rank { |
| 317 |
width: 16.6%; |
| 318 |
} |
| 319 |
|
| 320 |
@media screen and (min-width: 768px) { |
| 321 |
|
| 322 |
#gamipress-achievements-container[class*="gamipress-columns"] > .gamipress-achievement, |
| 323 |
.gamipress-user-points[class*="gamipress-columns"] > .gamipress-points, |
| 324 |
.gamipress-points-types[class*="gamipress-columns"] > .gamipress-points-type, |
| 325 |
.gamipress-ranks-container[class*="gamipress-columns"] .gamipress-rank { |
| 326 |
padding: 1em; |
| 327 |
overflow: hidden; |
| 328 |
border-bottom: none; |
| 329 |
} |
| 330 |
|
| 331 |
.gamipress-columns-2 > .gamipress-achievement, |
| 332 |
.gamipress-columns-2 > .gamipress-points, |
| 333 |
.gamipress-columns-2 > .gamipress-points-type, |
| 334 |
.gamipress-columns-2 .gamipress-rank { |
| 335 |
width: 50%; |
| 336 |
} |
| 337 |
|
| 338 |
.gamipress-columns-3 > .gamipress-achievement, |
| 339 |
.gamipress-columns-3 > .gamipress-points, |
| 340 |
.gamipress-columns-3 > .gamipress-points-type, |
| 341 |
.gamipress-columns-3 .gamipress-rank { |
| 342 |
width: 33%; |
| 343 |
} |
| 344 |
|
| 345 |
.gamipress-columns-4 > .gamipress-achievement, |
| 346 |
.gamipress-columns-4 > .gamipress-points, |
| 347 |
.gamipress-columns-4 > .gamipress-points-type, |
| 348 |
.gamipress-columns-4 .gamipress-rank { |
| 349 |
width: 25%; |
| 350 |
} |
| 351 |
|
| 352 |
.gamipress-columns-5 > .gamipress-achievement, |
| 353 |
.gamipress-columns-5 > .gamipress-points, |
| 354 |
.gamipress-columns-5 > .gamipress-points-type, |
| 355 |
.gamipress-columns-5 .gamipress-rank { |
| 356 |
width: 20%; |
| 357 |
} |
| 358 |
|
| 359 |
.gamipress-columns-6 > .gamipress-achievement, |
| 360 |
.gamipress-columns-6 > .gamipress-points, |
| 361 |
.gamipress-columns-6 > .gamipress-points-type, |
| 362 |
.gamipress-columns-6 .gamipress-rank { |
| 363 |
width: 16.6%; |
| 364 |
} |
| 365 |
|
| 366 |
} |
| 367 |
|
| 368 |
/* Achievement and rank earned status styles */ |
| 369 |
.gamipress-achievement .gamipress-achievement-image, |
| 370 |
.gamipress-rank .gamipress-rank-image, |
| 371 |
.achievement-wrap .gamipress-achievement-image, |
| 372 |
.rank-wrap .gamipress-rank-image { |
| 373 |
opacity: .4; |
| 374 |
} |
| 375 |
|
| 376 |
.gamipress-achievement.user-has-earned .gamipress-achievement-image, |
| 377 |
.gamipress-rank.user-has-earned .gamipress-rank-image, |
| 378 |
.user-has-earned .achievement-wrap .gamipress-achievement-image, |
| 379 |
.achievement-wrap.user-has-earned .gamipress-achievement-image, |
| 380 |
.user-has-earned .rank-wrap .gamipress-rank-image, |
| 381 |
.rank-wrap.user-has-earned .gamipress-rank-image { |
| 382 |
opacity: 1; |
| 383 |
} |
| 384 |
|
| 385 |
.gamipress-points-type .gamipress-points-type-awards, |
| 386 |
.gamipress-points-type .gamipress-points-type-deducts { |
| 387 |
width: 100%; |
| 388 |
} |
| 389 |
|
| 390 |
.gamipress-achievement-points { |
| 391 |
font-weight: bold; |
| 392 |
} |
| 393 |
|
| 394 |
#gamipress-achievements-container .gamipress-achievement-title { |
| 395 |
display: inline-block; |
| 396 |
margin-top: 0; |
| 397 |
} |
| 398 |
|
| 399 |
#achievements_list_load_more { |
| 400 |
margin: 1em auto; |
| 401 |
} |
| 402 |
|
| 403 |
.gamipress-open-close-switch { |
| 404 |
text-align: right; |
| 405 |
} |
| 406 |
|
| 407 |
.gamipress-extras-window { |
| 408 |
display: none; |
| 409 |
} |
| 410 |
|
| 411 |
.gamipress-required-achievements .user-has-earned, |
| 412 |
.gamipress-required-requirements .user-has-earned, |
| 413 |
.gamipress-achievements-list .gamipress-achievement.user-has-earned .gamipress-extras-window li, |
| 414 |
.gamipress-rank.user-has-earned .gamipress-extras-window li, |
| 415 |
.gamipress-points-awards .user-has-earned, |
| 416 |
.gamipress-points-deducts .user-has-earned { |
| 417 |
text-decoration: line-through; |
| 418 |
} |
| 419 |
|
| 420 |
.gamipress-required-achievements .user-has-earned:hover, |
| 421 |
.gamipress-required-requirements .user-has-earned:hover, |
| 422 |
.gamipress-achievements-list .gamipress-achievement.user-has-earned .gamipress-extras-window li:hover, |
| 423 |
.gamipress-rank.user-has-earned .gamipress-extras-window li:hover, |
| 424 |
.gamipress-points-awards .user-has-earned:hover, |
| 425 |
.gamipress-points-deducts .user-has-earned:hover { |
| 426 |
text-decoration: none; |
| 427 |
} |
| 428 |
|
| 429 |
.show-hide-open:after, |
| 430 |
.show-hide-close:after { |
| 431 |
content: ''; |
| 432 |
display: inline-block; |
| 433 |
background: url('../img/arrow.svg') no-repeat; |
| 434 |
background-size: 100%; |
| 435 |
width: 22px; |
| 436 |
height: 22px; |
| 437 |
vertical-align: top; |
| 438 |
} |
| 439 |
|
| 440 |
.show-hide-close:after { |
| 441 |
-webkit-transform: rotate(180deg); |
| 442 |
-moz-transform: rotate(180deg); |
| 443 |
-ms-transform: rotate(180deg); |
| 444 |
-o-transform: rotate(180deg); |
| 445 |
transform: rotate(180deg); |
| 446 |
} |
| 447 |
|
| 448 |
ul.gamipress-achievement-earners-list, |
| 449 |
ul.gamipress-rank-earners-list { |
| 450 |
list-style: none; |
| 451 |
margin: 0; |
| 452 |
padding: 0; |
| 453 |
} |
| 454 |
|
| 455 |
ul.gamipress-achievement-earners-list:after, |
| 456 |
ul.gamipress-rank-earners-list:after { |
| 457 |
content: ""; |
| 458 |
clear: both; |
| 459 |
display: block; |
| 460 |
} |
| 461 |
|
| 462 |
ul.gamipress-achievement-earners-list li, |
| 463 |
ul.gamipress-rank-earners-list li { |
| 464 |
position: relative; |
| 465 |
float: left; |
| 466 |
margin: 5px; |
| 467 |
padding: 0; |
| 468 |
} |
| 469 |
|
| 470 |
ul.gamipress-achievement-earners-list li .earner-display-name, |
| 471 |
ul.gamipress-rank-earners-list li .earner-display-name { |
| 472 |
display: block; |
| 473 |
} |
| 474 |
|
| 475 |
.gamipress-achievement-congratulations, |
| 476 |
.gamipress-rank-congratulations { |
| 477 |
background: #f0f0f0; |
| 478 |
padding: 10px; |
| 479 |
margin:1em auto 2em; |
| 480 |
border-radius: 5px; |
| 481 |
} |
| 482 |
|
| 483 |
.gamipress-achievement-points { |
| 484 |
font-weight: bold; |
| 485 |
} |
| 486 |
|
| 487 |
.gamipress-required-achievements .user-has-earned, |
| 488 |
.gamipress-required-requirements .user-has-earned { |
| 489 |
text-decoration: line-through; |
| 490 |
} |
| 491 |
|
| 492 |
.gamipress-required-achievements .user-has-earned:hover, |
| 493 |
.gamipress-required-requirements .user-has-earned:hover { |
| 494 |
text-decoration: none; |
| 495 |
} |
| 496 |
|
| 497 |
/* GamiPress unlock with points form */ |
| 498 |
.gamipress-achievement-unlock-with-points, |
| 499 |
.gamipress-rank-unlock-with-points { |
| 500 |
display: inline-block; |
| 501 |
} |
| 502 |
|
| 503 |
/* Inline points image */ |
| 504 |
img.gamipress-points-thumbnail-inline { |
| 505 |
height: 1.1em; |
| 506 |
width: auto; |
| 507 |
vertical-align: middle !important; |
| 508 |
margin-top: -0.3em; |
| 509 |
} |
| 510 |
|
| 511 |
/* Inline shortcodes styles */ |
| 512 |
.gamipress-inline-points .gamipress-inline-points-thumbnail img, |
| 513 |
.gamipress-inline-achievement .gamipress-inline-achievement-thumbnail img, |
| 514 |
.gamipress-inline-rank .gamipress-inline-rank-thumbnail img { |
| 515 |
vertical-align: middle; |
| 516 |
} |
| 517 |
|
| 518 |
/* -------------------------------------- |
| 519 |
Share buttons |
| 520 |
-------------------------------------- */ |
| 521 |
|
| 522 |
.gamipress-share-buttons-label { |
| 523 |
margin-top: 0; |
| 524 |
margin-bottom: 2px; |
| 525 |
} |
| 526 |
|
| 527 |
.gamipress-share-buttons { |
| 528 |
display: flex; |
| 529 |
flex-wrap: wrap; |
| 530 |
margin-left: -2px; |
| 531 |
margin-right: -2px; |
| 532 |
} |
| 533 |
|
| 534 |
.gamipress-share-button { |
| 535 |
display: inline-block; |
| 536 |
width: 28px; |
| 537 |
height: 28px; |
| 538 |
vertical-align: middle; |
| 539 |
padding: 4px; |
| 540 |
margin: 2px; |
| 541 |
background-repeat: no-repeat; |
| 542 |
background-position: center; |
| 543 |
background-size: 18px 18px; |
| 544 |
box-sizing: border-box; |
| 545 |
} |
| 546 |
|
| 547 |
.gamipress-share-button span { |
| 548 |
display: none; |
| 549 |
} |
| 550 |
|
| 551 |
.gamipress-share-button-square { |
| 552 |
border-radius: 0; |
| 553 |
} |
| 554 |
|
| 555 |
.gamipress-share-button-rounded { |
| 556 |
border-radius: 6px; |
| 557 |
} |
| 558 |
|
| 559 |
.gamipress-share-button-circle { |
| 560 |
border-radius: 50%; |
| 561 |
} |
| 562 |
|
| 563 |
.gamipress-share-button-facebook { |
| 564 |
background-color: #4766a9; |
| 565 |
background-image: url('../img/social/facebook.svg'); |
| 566 |
} |
| 567 |
|
| 568 |
.gamipress-share-button-twitter { |
| 569 |
background-color: #000; |
| 570 |
background-image: url('../img/social/twitter.svg'); |
| 571 |
} |
| 572 |
|
| 573 |
.gamipress-share-button-linkedin { |
| 574 |
background-color: #0074b3; |
| 575 |
background-image: url('../img/social/linkedin.svg'); |
| 576 |
} |
| 577 |
|
| 578 |
.gamipress-share-button-pinterest { |
| 579 |
background-color: #bd081c; |
| 580 |
background-image: url('../img/social/pinterest.svg'); |
| 581 |
} |
| 582 |
|
| 583 |
/* -------------------------------------- |
| 584 |
User Earnings |
| 585 |
-------------------------------------- */ |
| 586 |
|
| 587 |
/* User earnings in small areas (with support for iPads screens) */ |
| 588 |
@media only screen |
| 589 |
and (max-width: 760px), (min-device-width: 768px) |
| 590 |
and (max-device-width: 1024px) { |
| 591 |
#gamipress-earnings-table, |
| 592 |
#gamipress-earnings-table thead, |
| 593 |
#gamipress-earnings-table tbody, |
| 594 |
#gamipress-earnings-table th, |
| 595 |
#gamipress-earnings-table td, |
| 596 |
#gamipress-earnings-table tr { |
| 597 |
display: block; |
| 598 |
width: 100%; |
| 599 |
} |
| 600 |
|
| 601 |
#gamipress-earnings-table td.gamipress-earnings-col-thumbnail { |
| 602 |
float: left; |
| 603 |
width: 18%; |
| 604 |
margin-right: 2%; |
| 605 |
} |
| 606 |
|
| 607 |
#gamipress-earnings-table td.gamipress-earnings-col-thumbnail img { |
| 608 |
width: 100%; |
| 609 |
height: auto; |
| 610 |
} |
| 611 |
|
| 612 |
#gamipress-earnings-table td.gamipress-earnings-col-thumbnail.gamipress-earnings-col-empty { |
| 613 |
display: none; |
| 614 |
} |
| 615 |
|
| 616 |
#gamipress-earnings-table td.gamipress-earnings-col-description { |
| 617 |
width: 100%; |
| 618 |
} |
| 619 |
|
| 620 |
#gamipress-earnings-table td.gamipress-earnings-col-description:after { |
| 621 |
content: " "; |
| 622 |
display: block; |
| 623 |
clear: both; |
| 624 |
} |
| 625 |
|
| 626 |
#gamipress-earnings-table td.gamipress-earnings-col-date { |
| 627 |
width: 48%; |
| 628 |
float: left; |
| 629 |
} |
| 630 |
|
| 631 |
#gamipress-earnings-table td.gamipress-earnings-col-points { |
| 632 |
width: 50%; |
| 633 |
text-align: right; |
| 634 |
float: right; |
| 635 |
} |
| 636 |
|
| 637 |
#gamipress-earnings-table thead tr { |
| 638 |
position: absolute; |
| 639 |
top: -9999px; |
| 640 |
left: -9999px; |
| 641 |
} |
| 642 |
|
| 643 |
#gamipress-earnings-table tr { |
| 644 |
padding-bottom: 1em; |
| 645 |
border-bottom: 1px solid rgba(0,0,0,0.1); |
| 646 |
margin-bottom: 1em; |
| 647 |
} |
| 648 |
|
| 649 |
#gamipress-earnings-table tr:after { |
| 650 |
content: " "; |
| 651 |
display: block; |
| 652 |
clear: both; |
| 653 |
} |
| 654 |
} |
| 655 |
|
| 656 |
/* Force responsive */ |
| 657 |
#gamipress-earnings-table.gamipress-earnings-force-responsive, |
| 658 |
#gamipress-earnings-table.gamipress-earnings-force-responsive thead, |
| 659 |
#gamipress-earnings-table.gamipress-earnings-force-responsive tbody, |
| 660 |
#gamipress-earnings-table.gamipress-earnings-force-responsive th, |
| 661 |
#gamipress-earnings-table.gamipress-earnings-force-responsive td, |
| 662 |
#gamipress-earnings-table.gamipress-earnings-force-responsive tr { |
| 663 |
display: block; |
| 664 |
} |
| 665 |
|
| 666 |
#gamipress-earnings-table.gamipress-earnings-force-responsive td.gamipress-earnings-col-thumbnail { |
| 667 |
float: left; |
| 668 |
width: 18%; |
| 669 |
margin-right: 2%; |
| 670 |
} |
| 671 |
|
| 672 |
#gamipress-earnings-table.gamipress-earnings-force-responsive td.gamipress-earnings-col-thumbnail img { |
| 673 |
width: 100%; |
| 674 |
height: auto; |
| 675 |
} |
| 676 |
|
| 677 |
#gamipress-earnings-table.gamipress-earnings-force-responsive td.gamipress-earnings-col-thumbnail.gamipress-earnings-col-empty { |
| 678 |
display: none; |
| 679 |
} |
| 680 |
|
| 681 |
#gamipress-earnings-table.gamipress-earnings-force-responsive td.gamipress-earnings-col-description { |
| 682 |
width: 100%; |
| 683 |
} |
| 684 |
|
| 685 |
#gamipress-earnings-table.gamipress-earnings-force-responsive td.gamipress-earnings-col-description:after { |
| 686 |
content: " "; |
| 687 |
display: block; |
| 688 |
clear: both; |
| 689 |
} |
| 690 |
|
| 691 |
#gamipress-earnings-table.gamipress-earnings-force-responsive td.gamipress-earnings-col-date { |
| 692 |
width: 48%; |
| 693 |
float: left; |
| 694 |
} |
| 695 |
|
| 696 |
#gamipress-earnings-table.gamipress-earnings-force-responsive td.gamipress-earnings-col-points { |
| 697 |
width: 50%; |
| 698 |
text-align: right; |
| 699 |
float: right; |
| 700 |
} |
| 701 |
|
| 702 |
#gamipress-earnings-table.gamipress-earnings-force-responsive thead tr { |
| 703 |
position: absolute; |
| 704 |
top: -9999px; |
| 705 |
left: -9999px; |
| 706 |
} |
| 707 |
|
| 708 |
#gamipress-earnings-table.gamipress-earnings-force-responsive tr { |
| 709 |
padding-bottom: 1em; |
| 710 |
border-bottom: 1px solid rgba(0,0,0,0.1); |
| 711 |
margin-bottom: 1em; |
| 712 |
} |
| 713 |
|
| 714 |
#gamipress-earnings-table.gamipress-earnings-force-responsive tr:after { |
| 715 |
content: " "; |
| 716 |
display: block; |
| 717 |
clear: both; |
| 718 |
} |
| 719 |
|
| 720 |
/* -------------------------------------- |
| 721 |
Email Settings |
| 722 |
-------------------------------------- */ |
| 723 |
|
| 724 |
.gamipress-email-settings .gamipress-email-settings-header-yes, |
| 725 |
.gamipress-email-settings .gamipress-email-settings-header-no, |
| 726 |
.gamipress-email-settings .gamipress-email-settings-column-yes, |
| 727 |
.gamipress-email-settings .gamipress-email-settings-column-no { |
| 728 |
width: 80px; |
| 729 |
text-align: center; |
| 730 |
} |
| 731 |
|
| 732 |
.gamipress-email-settings-loader { |
| 733 |
position: absolute; |
| 734 |
right: -65px; |
| 735 |
font-size: 80%; |
| 736 |
width: 60px; |
| 737 |
} |
| 738 |
|
| 739 |
.gamipress-email-settings-loader .gamipress-email-settings-saving { |
| 740 |
-webkit-animation: flickerAnimation 1s infinite; |
| 741 |
-moz-animation: flickerAnimation 1s infinite; |
| 742 |
-o-animation: flickerAnimation 1s infinite; |
| 743 |
animation: flickerAnimation 1s infinite; |
| 744 |
} |
| 745 |
|
| 746 |
@keyframes flickerAnimation { |
| 747 |
0% { opacity:1; } |
| 748 |
50% { opacity:0; } |
| 749 |
100% { opacity:1; } |
| 750 |
} |
| 751 |
@-o-keyframes flickerAnimation{ |
| 752 |
0% { opacity:1; } |
| 753 |
50% { opacity:0; } |
| 754 |
100% { opacity:1; } |
| 755 |
} |
| 756 |
@-moz-keyframes flickerAnimation{ |
| 757 |
0% { opacity:1; } |
| 758 |
50% { opacity:0; } |
| 759 |
100% { opacity:1; } |
| 760 |
} |
| 761 |
@-webkit-keyframes flickerAnimation{ |
| 762 |
0% { opacity:1; } |
| 763 |
50% { opacity:0; } |
| 764 |
100% { opacity:1; } |
| 765 |
} |
| 766 |
|
| 767 |
/* -------------------------------------- |
| 768 |
Shortcode errors |
| 769 |
-------------------------------------- */ |
| 770 |
|
| 771 |
.gamipress-shortcode-error { |
| 772 |
color: #a00; |
| 773 |
background-color: #fdd; |
| 774 |
padding: 0.5em 1em; |
| 775 |
margin-bottom: 1em; |
| 776 |
border-radius: 6px; |
| 777 |
} |
| 778 |
|
| 779 |
.gamipress-shortcode-error .gamipress-shortcode-error-shortcode, |
| 780 |
.gamipress-shortcode-error .gamipress-shortcode-error-reminder { |
| 781 |
font-size: 75%; |
| 782 |
} |
| 783 |
|
| 784 |
.gamipress-shortcode-error .gamipress-shortcode-error-reminder { |
| 785 |
text-align: right; |
| 786 |
} |
| 787 |
|
| 788 |
@media screen and (min-width: 768px) { |
| 789 |
.gamipress-shortcode-error .gamipress-shortcode-error-shortcode { |
| 790 |
float: left; |
| 791 |
} |
| 792 |
} |
| 793 |
|