2014-04-16 14:49:28 -04:00
|
|
|
/* Default badge styles. */
|
2014-04-16 06:02:57 -04:00
|
|
|
.user-badge {
|
|
|
|
padding: 3px 8px;
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--primary);
|
|
|
|
border: 1px solid var(--primary-low);
|
2018-01-12 17:27:38 -05:00
|
|
|
line-height: $line-height-large;
|
2018-12-14 22:16:18 -05:00
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
2020-08-03 22:57:10 -04:00
|
|
|
background-color: var(--secondary);
|
2015-08-19 01:02:01 -04:00
|
|
|
margin: 0 0 3px;
|
2014-04-16 06:02:57 -04:00
|
|
|
|
2014-06-10 22:14:47 -04:00
|
|
|
img {
|
|
|
|
height: 16px;
|
|
|
|
width: 16px;
|
|
|
|
}
|
|
|
|
|
2019-01-23 05:29:51 -05:00
|
|
|
.badge-display-name {
|
|
|
|
margin-left: 0.25em;
|
|
|
|
}
|
|
|
|
|
2014-04-16 06:02:57 -04:00
|
|
|
&.badge-type-gold .fa {
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--gold) !important;
|
2014-04-16 06:02:57 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
&.badge-type-silver .fa {
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--silver) !important;
|
2014-04-16 06:02:57 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
&.badge-type-bronze .fa {
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--bronze) !important;
|
2014-04-16 06:02:57 -04:00
|
|
|
}
|
2017-12-27 00:57:21 -05:00
|
|
|
|
|
|
|
&.disabled {
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--primary-medium);
|
|
|
|
background-color: var(--primary-very-low);
|
2017-12-27 00:57:21 -05:00
|
|
|
.fa {
|
|
|
|
opacity: 0.4;
|
|
|
|
}
|
|
|
|
}
|
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;
|
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
.info,
|
|
|
|
.grant-count {
|
2015-11-05 04:51:05 -05:00
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
.row > div.info {
|
|
|
|
display: none;
|
|
|
|
}
|
2015-11-05 04:51:05 -05:00
|
|
|
|
|
|
|
.row {
|
|
|
|
display: block;
|
|
|
|
> div {
|
|
|
|
display: block;
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
}
|
2014-04-16 09:12:06 -04:00
|
|
|
}
|
|
|
|
}
|
2016-03-30 12:05:16 -04:00
|
|
|
|
2016-01-18 01:59:07 -05:00
|
|
|
.show-badge .badge-user-info {
|
|
|
|
.earned {
|
2018-01-12 17:27:38 -05:00
|
|
|
font-size: $font-up-2;
|
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;
|
2018-01-12 17:27:38 -05:00
|
|
|
font-size: $font-up-2;
|
2016-01-18 01:59:07 -05: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-12 17:27:38 -05:00
|
|
|
font-size: $font-up-1;
|
2016-01-18 01:59:07 -05:00
|
|
|
margin-left: 10px;
|
|
|
|
}
|
|
|
|
.post-link {
|
2018-01-12 17:27:38 -05:00
|
|
|
font-size: $font-up-2;
|
2016-01-18 01:59:07 -05:00
|
|
|
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;
|
2020-08-03 22:57:10 -04:00
|
|
|
background-color: var(--primary-very-low);
|
|
|
|
border: 1px solid var(--primary-low);
|
2018-03-02 12:42:02 -05:00
|
|
|
margin-bottom: 2vh;
|
2018-06-08 05:49:31 -04:00
|
|
|
transition: box-shadow 0.25s;
|
|
|
|
|
2016-03-25 15:32:48 -04:00
|
|
|
.check-display {
|
|
|
|
position: absolute;
|
|
|
|
left: 5px;
|
|
|
|
top: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.grant-count {
|
|
|
|
position: absolute;
|
|
|
|
right: 5px;
|
|
|
|
top: 5px;
|
|
|
|
font-weight: bold;
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--primary-medium);
|
2018-01-12 17:27:38 -05:00
|
|
|
font-size: $font-up-2;
|
2016-03-25 15:32:48 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.badge-contents {
|
|
|
|
display: flex;
|
|
|
|
min-height: 128px;
|
2017-08-17 16:32:37 -04:00
|
|
|
height: 100%;
|
2019-04-03 05:35:27 -04:00
|
|
|
padding: 0 10%;
|
2018-06-08 05:49:31 -04:00
|
|
|
|
2018-03-02 12:42:02 -05:00
|
|
|
.badge-link {
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--primary);
|
2018-03-02 12:42:02 -05:00
|
|
|
}
|
2016-03-25 15:32:48 -04:00
|
|
|
|
|
|
|
.badge-icon {
|
|
|
|
display: flex;
|
2018-06-08 05:49:31 -04:00
|
|
|
flex: 0 0 auto;
|
2018-03-02 12:42:02 -05:00
|
|
|
width: 1.23em;
|
|
|
|
margin-right: 5%;
|
2016-03-25 15:32:48 -04:00
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2018-03-02 12:42:02 -05:00
|
|
|
font-size: 3.5em;
|
2019-07-05 12:37:18 -04:00
|
|
|
a {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2016-03-28 14:39:55 -04:00
|
|
|
img {
|
2019-07-05 12:37:18 -04:00
|
|
|
width: 100%;
|
|
|
|
max-width: 65px;
|
2016-03-30 16:06:17 -04:00
|
|
|
max-height: 80px;
|
2016-03-28 14:39:55 -04:00
|
|
|
}
|
|
|
|
|
2016-03-25 15:32:48 -04:00
|
|
|
&.badge-type-gold .fa {
|
2016-04-05 03:05:38 -04:00
|
|
|
color: rgb(231, 195, 0) !important;
|
2016-03-25 15:32:48 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
&.badge-type-silver .fa {
|
2016-03-29 09:46:41 -04:00
|
|
|
color: #c0c0c0 !important;
|
2016-03-25 15:32:48 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
&.badge-type-bronze .fa {
|
2016-03-29 09:46:41 -04:00
|
|
|
color: #cd7f32 !important;
|
2016-03-25 15:32:48 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.badge-info {
|
|
|
|
display: flex;
|
2018-03-02 12:42:02 -05:00
|
|
|
flex: 1 1 auto;
|
2016-03-25 15:32:48 -04:00
|
|
|
align-items: center;
|
2018-03-02 12:42:02 -05:00
|
|
|
padding: 1em 1.5em 1em 0;
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--primary);
|
2018-03-02 12:42:02 -05:00
|
|
|
@media screen and (max-width: 600px) {
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
2016-03-25 15:32:48 -04:00
|
|
|
|
|
|
|
h3 {
|
2018-03-02 12:42:02 -05:00
|
|
|
margin-bottom: 0.25em;
|
|
|
|
font-size: $font-up-1;
|
|
|
|
@media screen and (min-width: 900px) {
|
|
|
|
font-size: $font-up-2;
|
|
|
|
}
|
2016-03-25 15:32:48 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-03-02 12:42:02 -05:00
|
|
|
&.medium {
|
2018-12-11 09:45:49 -05:00
|
|
|
flex: 0 0 auto;
|
|
|
|
width: 32%;
|
2019-01-11 12:50:16 -05:00
|
|
|
margin-right: 1.63%;
|
2018-12-11 09:45:49 -05:00
|
|
|
@media screen and (min-width: 851px) {
|
|
|
|
&:nth-of-type(3n) {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
2018-03-02 12:42:02 -05:00
|
|
|
}
|
2018-07-12 16:38:51 -04:00
|
|
|
@include breakpoint(medium) {
|
2018-12-11 09:45:49 -05:00
|
|
|
width: 48.5%;
|
|
|
|
&:nth-of-type(2n) {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
2018-03-02 12:42:02 -05:00
|
|
|
}
|
2019-07-11 09:57:53 -04:00
|
|
|
@include breakpoint(mobile-extra-large) {
|
2018-03-02 12:42:02 -05:00
|
|
|
flex: 0 0 100%;
|
|
|
|
}
|
|
|
|
&:hover {
|
|
|
|
box-shadow: shadow("card");
|
|
|
|
}
|
|
|
|
&:active {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.large {
|
2016-03-30 12:05:16 -04:00
|
|
|
width: 100%;
|
2018-03-02 16:15:31 -05:00
|
|
|
align-self: flex-start;
|
2018-03-02 12:42:02 -05:00
|
|
|
@media screen and (min-width: 767px) {
|
|
|
|
max-width: calc(#{$large-width} / 2);
|
2018-06-08 05:49:31 -04:00
|
|
|
margin-right: 1.5em;
|
2018-03-02 12:42:02 -05:00
|
|
|
}
|
|
|
|
.badge-contents {
|
2019-04-03 05:35:27 -04:00
|
|
|
padding: 0 5%;
|
|
|
|
h3 {
|
|
|
|
font-size: $font-up-3;
|
2018-06-08 05:49:31 -04:00
|
|
|
}
|
2018-03-02 12:42:02 -05:00
|
|
|
}
|
2016-03-30 12:05:16 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-03-02 12:42:02 -05:00
|
|
|
.badges-granted {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
@media screen and (max-width: $small-width) {
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
2016-03-25 15:32:48 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.badge-groups {
|
|
|
|
margin: 20px 0;
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--primary-med-or-secondary-med);
|
2016-03-25 15:32:48 -04:00
|
|
|
h3 {
|
2018-06-08 05:49:31 -04:00
|
|
|
margin-bottom: 1em;
|
2016-03-25 15:32:48 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-03-02 16:15:31 -05:00
|
|
|
.badge-title {
|
|
|
|
.user-content {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.badge-group-list {
|
2016-03-25 15:32:48 -04:00
|
|
|
margin-bottom: 1.5em;
|
2018-03-02 12:42:02 -05:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
2018-07-12 16:38:51 -04:00
|
|
|
@include breakpoint(medium) {
|
2018-06-08 05:49:31 -04:00
|
|
|
justify-content: space-between;
|
2018-03-02 12:42:02 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.title {
|
|
|
|
width: 100%;
|
|
|
|
font-size: $font-up-1;
|
|
|
|
}
|
2016-03-25 15:32:48 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.show-badge-details {
|
|
|
|
display: flex;
|
2018-03-02 13:21:04 -05:00
|
|
|
flex-wrap: wrap;
|
2016-03-25 15:32:48 -04:00
|
|
|
flex-direction: row;
|
|
|
|
margin-bottom: 2em;
|
|
|
|
margin-top: 1em;
|
|
|
|
|
|
|
|
.badge-grant-info {
|
2017-08-17 16:32:37 -04:00
|
|
|
&.hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
2016-03-25 15:32:48 -04:00
|
|
|
}
|
2018-03-02 16:15:31 -05:00
|
|
|
|
2016-03-25 15:32:48 -04:00
|
|
|
.grant-info-item {
|
|
|
|
margin-bottom: 1em;
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--primary-med-or-secondary-med);
|
2018-03-02 14:43:54 -05:00
|
|
|
&:first-of-type {
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
2016-03-25 15:32:48 -04:00
|
|
|
}
|
2017-08-17 16:32:37 -04:00
|
|
|
|
2018-03-02 16:15:31 -05:00
|
|
|
.badge-set-title {
|
|
|
|
padding: 1.5em;
|
2020-08-03 22:57:10 -04:00
|
|
|
border: 1px solid var(--primary-low);
|
2018-06-08 05:49:31 -04:00
|
|
|
|
2018-03-02 16:15:31 -05:00
|
|
|
.user-content {
|
|
|
|
padding: 0;
|
|
|
|
.control-group {
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-08-17 16:32:37 -04:00
|
|
|
.badge-title .form-horizontal .controls {
|
2018-03-02 16:15:31 -05:00
|
|
|
margin-left: 0;
|
2017-08-17 16:32:37 -04:00
|
|
|
}
|
|
|
|
|
2018-03-02 16:15:31 -05:00
|
|
|
.form-horizontal {
|
|
|
|
margin-bottom: 0;
|
2017-08-17 16:32:37 -04:00
|
|
|
}
|
2016-03-25 15:32:48 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.check-display {
|
|
|
|
display: inline-block;
|
2019-01-31 15:27:46 -05:00
|
|
|
padding: 0 0.25em;
|
2016-03-25 15:32:48 -04:00
|
|
|
border-radius: 10px;
|
|
|
|
text-align: center;
|
|
|
|
.fa {
|
|
|
|
font-size: 0.9em;
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--secondary);
|
2016-03-25 15:32:48 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.check-display.status-checked {
|
2020-08-03 22:57:10 -04:00
|
|
|
background-color: var(--success);
|
2016-03-25 15:32:48 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.check-display.status-unchecked {
|
2020-08-03 22:57:10 -04:00
|
|
|
background-color: var(--danger);
|
2016-03-25 15:32:48 -04:00
|
|
|
}
|
|
|
|
|
2016-03-29 01:21:39 -04:00
|
|
|
.hyperlink {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|