2014-04-16 14:49:28 -04:00
|
|
|
/* Default badge styles. */
|
2014-04-16 06:02:57 -04:00
|
|
|
.user-badge {
|
|
|
|
padding: 3px 8px;
|
2014-08-06 09:31:13 -04:00
|
|
|
color: $primary;
|
|
|
|
border: 1px solid dark-light-diff($primary, $secondary, 90%, -65%);
|
2014-06-19 14:04:23 -04:00
|
|
|
line-height: 19px;
|
2014-04-16 06:02:57 -04:00
|
|
|
display: inline-block;
|
2014-05-06 01:50:51 -04:00
|
|
|
background-color: $secondary;
|
2015-08-19 01:02:01 -04:00
|
|
|
margin: 0 0 3px;
|
2014-04-16 06:02:57 -04:00
|
|
|
|
|
|
|
.fa {
|
2014-04-16 09:12:06 -04:00
|
|
|
padding-right: 3px;
|
|
|
|
font-size: 1.4em;
|
|
|
|
vertical-align: bottom;
|
2014-04-16 06:02:57 -04:00
|
|
|
}
|
|
|
|
|
2014-06-10 22:14:47 -04:00
|
|
|
img {
|
|
|
|
height: 16px;
|
|
|
|
width: 16px;
|
|
|
|
}
|
|
|
|
|
2014-04-16 06:02:57 -04:00
|
|
|
&.badge-type-gold .fa {
|
2016-03-17 18:29:39 -04:00
|
|
|
color: #ffd700 !important;
|
2014-04-16 06:02:57 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
&.badge-type-silver .fa {
|
2016-03-17 18:29:39 -04:00
|
|
|
color: #c0c0c0 !important;
|
2014-04-16 06:02:57 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
&.badge-type-bronze .fa {
|
2016-03-17 18:29:39 -04:00
|
|
|
color: #cd7f32 !important;
|
2014-04-16 06:02:57 -04:00
|
|
|
}
|
|
|
|
}
|
2014-04-16 09:12:06 -04:00
|
|
|
|
2015-11-05 04:51:05 -05: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 09:12:06 -04:00
|
|
|
}
|
|
|
|
}
|
2016-03-24 13:05:09 -04:00
|
|
|
.user-info.medium.badge-info {
|
|
|
|
min-height: 80px;
|
2014-04-22 02:19:31 -04:00
|
|
|
|
2016-03-24 13:05:09 -04:00
|
|
|
.granted-on {
|
|
|
|
color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 50%));
|
2014-07-01 19:46:28 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.post-link {
|
|
|
|
display: block;
|
2016-03-24 13:05:09 -04:00
|
|
|
margin-top: 0.2em;
|
2014-07-01 19:46:28 -04:00
|
|
|
}
|
|
|
|
}
|
2015-02-27 01:19:18 -05:00
|
|
|
|
2016-01-18 01:59:07 -05:00
|
|
|
.show-badge .badge-user-info {
|
|
|
|
.earned {
|
|
|
|
font-size: 1.3em;
|
2016-03-24 13:05:09 -04:00
|
|
|
margin-bottom: 1em;
|
2016-01-18 01:59:07 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.show-badge .single-user {
|
|
|
|
margin-left: 2%;
|
|
|
|
padding-bottom: 20px;
|
|
|
|
.load-more {
|
|
|
|
padding-top: 30px;
|
|
|
|
display: block;
|
|
|
|
font-size: 1.2em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.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;
|
|
|
|
font-size: 1.1em;
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
|
|
|
.post-link {
|
|
|
|
font-size: 1.3em;
|
|
|
|
width: 500px;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
width: 800px;
|
|
|
|
|
|
|
|
&:after {
|
|
|
|
content: "";
|
|
|
|
clear: both;
|
|
|
|
display: table;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-02-27 01:19:18 -05:00
|
|
|
.long-description.banner {
|
|
|
|
width: 88%;
|
2016-03-23 02:27:03 -04:00
|
|
|
margin-bottom: 15px;
|
|
|
|
margin-top: 15px;
|
2015-02-27 01:19:18 -05:00
|
|
|
}
|
2016-03-25 15:32:48 -04:00
|
|
|
|
|
|
|
.badge-card {
|
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
|
|
|
background-color: dark-light-diff($primary, $secondary, 95%, -65%);
|
|
|
|
margin-right: 5px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
box-shadow: 1px 1px 3px rgba(0.0, 0.0, 0.0, 0.2);
|
|
|
|
|
|
|
|
.check-display {
|
|
|
|
position: absolute;
|
|
|
|
left: 5px;
|
|
|
|
top: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.grant-count {
|
|
|
|
position: absolute;
|
|
|
|
right: 5px;
|
|
|
|
top: 5px;
|
|
|
|
font-weight: bold;
|
|
|
|
color: dark-light-diff($primary, $secondary, 50%, -65%);
|
|
|
|
font-size: 1.2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.badge-contents {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
min-height: 128px;
|
|
|
|
|
|
|
|
.badge-icon {
|
|
|
|
min-width: 90px;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
background-color: dark-light-diff($primary, $secondary, 92%, -60%);
|
|
|
|
font-size: 3em;
|
|
|
|
|
2016-03-28 14:39:55 -04:00
|
|
|
img {
|
|
|
|
max-width: 80px;
|
|
|
|
}
|
|
|
|
|
2016-03-25 15:32:48 -04:00
|
|
|
&.badge-type-gold .fa {
|
2016-03-28 14:39:55 -04:00
|
|
|
color: #ffd700;
|
2016-03-25 15:32:48 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
&.badge-type-silver .fa {
|
2016-03-28 14:39:55 -04:00
|
|
|
color: #c0c0c0;
|
2016-03-25 15:32:48 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
&.badge-type-bronze .fa {
|
2016-03-28 14:39:55 -04:00
|
|
|
color: #cd7f32;
|
2016-03-25 15:32:48 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.badge-info {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
padding: 15px;
|
|
|
|
color: $primary;
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
margin-bottom: 0.25em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.badge-card.medium {
|
2016-03-25 16:10:21 -04:00
|
|
|
width: 350px;
|
2016-03-28 14:39:55 -04:00
|
|
|
vertical-align: top;
|
2016-03-25 15:32:48 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.badge-card.large {
|
|
|
|
width: 750px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.badge-groups {
|
|
|
|
margin: 20px 0;
|
|
|
|
color: dark-light-choose(scale-color($primary, $lightness: 40%), scale-color($secondary, $lightness: 60%));
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
.grant-info-item {
|
|
|
|
margin-bottom: 1em;
|
|
|
|
color: dark-light-choose(scale-color($primary, $lightness: 40%), scale-color($secondary, $lightness: 60%));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.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-25 17:03:00 -04:00
|
|
|
background-color: $success;
|
2016-03-25 15:32:48 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.check-display.status-unchecked {
|
|
|
|
background-color: $danger;
|
|
|
|
}
|
|
|
|
|
2016-03-29 01:21:39 -04:00
|
|
|
.hyperlink {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|