2014-04-17 02:49:28 +08:00
|
|
|
/* Default badge styles. */
|
2014-04-16 18:02:57 +08:00
|
|
|
.user-badge {
|
|
|
|
padding: 3px 8px;
|
2014-08-06 21:31:13 +08:00
|
|
|
color: $primary;
|
2017-06-12 10:20:14 +08:00
|
|
|
border: 1px solid $primary-low;
|
2018-01-13 06:27:38 +08:00
|
|
|
line-height: $line-height-large;
|
2014-04-16 18:02:57 +08:00
|
|
|
display: inline-block;
|
2014-05-06 13:50:51 +08:00
|
|
|
background-color: $secondary;
|
2015-08-19 13:02:01 +08:00
|
|
|
margin: 0 0 3px;
|
2014-04-16 18:02:57 +08:00
|
|
|
|
|
|
|
.fa {
|
2014-04-16 21:12:06 +08:00
|
|
|
padding-right: 3px;
|
|
|
|
font-size: 1.4em;
|
|
|
|
vertical-align: bottom;
|
2014-04-16 18:02:57 +08:00
|
|
|
}
|
|
|
|
|
2014-06-11 10:14:47 +08:00
|
|
|
img {
|
|
|
|
height: 16px;
|
|
|
|
width: 16px;
|
|
|
|
}
|
|
|
|
|
2014-04-16 18:02:57 +08:00
|
|
|
&.badge-type-gold .fa {
|
2016-04-05 15:05:38 +08:00
|
|
|
color: rgb(231, 195, 0) !important;
|
2014-04-16 18:02:57 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
&.badge-type-silver .fa {
|
2016-03-18 06:29:39 +08:00
|
|
|
color: #c0c0c0 !important;
|
2014-04-16 18:02:57 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
&.badge-type-bronze .fa {
|
2016-03-18 06:29:39 +08:00
|
|
|
color: #cd7f32 !important;
|
2014-04-16 18:02:57 +08:00
|
|
|
}
|
2017-12-27 13:57:21 +08:00
|
|
|
|
|
|
|
&.disabled {
|
|
|
|
color: $primary-medium;
|
|
|
|
background-color: $primary-very-low;
|
|
|
|
.fa {
|
|
|
|
opacity: 0.4;
|
|
|
|
}
|
|
|
|
}
|
2014-04-16 18:02:57 +08:00
|
|
|
}
|
2014-04-16 21:12:06 +08:00
|
|
|
|
2015-11-05 17:51:05 +08:00
|
|
|
@media all and (max-width: 750px) {
|
|
|
|
.show-badge .user-badge-with-posts .badge-user a.post-link {
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
.show-badge div.badge-user {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
.badges-listing {
|
|
|
|
display: block;
|
|
|
|
|
|
|
|
.info, .grant-count {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.row > div.info { display: none; }
|
|
|
|
|
|
|
|
.row {
|
|
|
|
display: block;
|
|
|
|
> div {
|
|
|
|
display: block;
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
}
|
2014-04-16 21:12:06 +08:00
|
|
|
}
|
|
|
|
}
|
2016-03-31 00:05:16 +08:00
|
|
|
|
2016-01-18 14:59:07 +08:00
|
|
|
.show-badge .badge-user-info {
|
|
|
|
.earned {
|
2018-01-13 06:27:38 +08:00
|
|
|
font-size: $font-up-2;
|
2016-03-25 01:05:09 +08:00
|
|
|
margin-bottom: 1em;
|
2016-01-18 14:59:07 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.show-badge .single-user {
|
|
|
|
margin-left: 2%;
|
|
|
|
padding-bottom: 20px;
|
|
|
|
.load-more {
|
|
|
|
padding-top: 30px;
|
|
|
|
display: block;
|
2018-01-13 06:27:38 +08:00
|
|
|
font-size: $font-up-2;
|
2016-01-18 14:59:07 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.show-badge .single-user .badge-user {
|
|
|
|
padding-left: 0;
|
|
|
|
|
|
|
|
text-align: left;
|
|
|
|
display: block;
|
|
|
|
margin: 20px 0;
|
|
|
|
.badge-info {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.date {
|
|
|
|
display: inline-block;
|
2018-01-13 06:27:38 +08:00
|
|
|
font-size: $font-up-1;
|
2016-01-18 14:59:07 +08:00
|
|
|
margin-left: 10px;
|
|
|
|
}
|
|
|
|
.post-link {
|
2018-01-13 06:27:38 +08:00
|
|
|
font-size: $font-up-2;
|
2016-01-18 14:59:07 +08:00
|
|
|
width: 500px;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
width: 800px;
|
|
|
|
|
|
|
|
&:after {
|
|
|
|
content: "";
|
|
|
|
clear: both;
|
|
|
|
display: table;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-02-27 14:19:18 +08:00
|
|
|
.long-description.banner {
|
|
|
|
width: 88%;
|
2016-03-23 14:27:03 +08:00
|
|
|
margin-bottom: 15px;
|
|
|
|
margin-top: 15px;
|
2015-02-27 14:19:18 +08:00
|
|
|
}
|
2016-03-26 03:32:48 +08:00
|
|
|
|
|
|
|
.badge-card {
|
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
2017-06-12 10:20:14 +08:00
|
|
|
background-color: $primary-low;
|
2016-03-26 03:32:48 +08:00
|
|
|
margin-right: 5px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
|
|
|
.check-display {
|
|
|
|
position: absolute;
|
|
|
|
left: 5px;
|
|
|
|
top: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.grant-count {
|
|
|
|
position: absolute;
|
|
|
|
right: 5px;
|
|
|
|
top: 5px;
|
|
|
|
font-weight: bold;
|
2017-06-12 10:20:14 +08:00
|
|
|
color: $primary-medium;
|
2018-01-13 06:27:38 +08:00
|
|
|
font-size: $font-up-2;
|
2016-03-26 03:32:48 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.badge-contents {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
min-height: 128px;
|
2017-08-18 04:32:37 +08:00
|
|
|
height: 100%;
|
2016-03-26 03:32:48 +08:00
|
|
|
|
|
|
|
.badge-icon {
|
|
|
|
min-width: 90px;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2017-06-12 10:20:14 +08:00
|
|
|
background-color: $primary-low;
|
2016-03-26 03:32:48 +08:00
|
|
|
font-size: 3em;
|
|
|
|
|
2016-03-29 02:39:55 +08:00
|
|
|
img {
|
|
|
|
max-width: 80px;
|
2016-03-31 04:06:17 +08:00
|
|
|
max-height: 80px;
|
2016-03-29 02:39:55 +08:00
|
|
|
}
|
|
|
|
|
2016-03-26 03:32:48 +08:00
|
|
|
&.badge-type-gold .fa {
|
2016-04-05 15:05:38 +08:00
|
|
|
color: rgb(231, 195, 0) !important;
|
2016-03-26 03:32:48 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
&.badge-type-silver .fa {
|
2016-03-29 21:46:41 +08:00
|
|
|
color: #c0c0c0 !important;
|
2016-03-26 03:32:48 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
&.badge-type-bronze .fa {
|
2016-03-29 21:46:41 +08:00
|
|
|
color: #cd7f32 !important;
|
2016-03-26 03:32:48 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.badge-info {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
padding: 15px;
|
|
|
|
color: $primary;
|
|
|
|
|
|
|
|
h3 {
|
2016-08-12 00:59:54 +08:00
|
|
|
margin-bottom: 0.4em;
|
2016-03-26 03:32:48 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.badge-card.medium {
|
2016-03-26 04:10:21 +08:00
|
|
|
width: 350px;
|
2016-03-29 02:39:55 +08:00
|
|
|
vertical-align: top;
|
2016-03-26 03:32:48 +08:00
|
|
|
}
|
|
|
|
|
2016-03-31 00:05:16 +08:00
|
|
|
@media all and (max-width: 320px) {
|
|
|
|
.badge-card.medium {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-03-26 03:32:48 +08:00
|
|
|
.badge-card.large {
|
|
|
|
width: 750px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.badge-groups {
|
|
|
|
margin: 20px 0;
|
2017-10-11 04:07:46 +08:00
|
|
|
color: dark-light-choose($primary-medium, $secondary-medium);
|
2016-03-26 03:32:48 +08:00
|
|
|
h3 {
|
|
|
|
margin-bottom: 1.0em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.badge-grouping {
|
|
|
|
margin-bottom: 1.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.show-badge-details {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
margin-bottom: 2em;
|
|
|
|
margin-top: 1em;
|
|
|
|
|
|
|
|
.badge-grant-info {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
margin-left: 1em;
|
2017-08-18 04:32:37 +08:00
|
|
|
&.hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
2016-03-26 03:32:48 +08:00
|
|
|
}
|
|
|
|
.grant-info-item {
|
|
|
|
margin-bottom: 1em;
|
2017-10-11 04:07:46 +08:00
|
|
|
color: dark-light-choose($primary-medium, $secondary-medium);
|
2016-03-26 03:32:48 +08:00
|
|
|
}
|
2017-08-18 04:32:37 +08:00
|
|
|
|
|
|
|
.badge-title .form-horizontal .controls {
|
|
|
|
margin-left: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.close-btn {
|
|
|
|
margin: -20px 0 0 20px;
|
|
|
|
}
|
2016-03-26 03:32:48 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.check-display {
|
|
|
|
display: inline-block;
|
|
|
|
width: 18px;
|
|
|
|
border-radius: 10px;
|
|
|
|
text-align: center;
|
|
|
|
.fa {
|
|
|
|
font-size: 0.9em;
|
|
|
|
color: $secondary;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.check-display.status-checked {
|
2016-03-26 05:03:00 +08:00
|
|
|
background-color: $success;
|
2016-03-26 03:32:48 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.check-display.status-unchecked {
|
|
|
|
background-color: $danger;
|
|
|
|
}
|
|
|
|
|
2016-03-29 13:21:39 +08:00
|
|
|
.hyperlink {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|