2017-05-24 06:25:44 -04:00
|
|
|
$space-between-cards: 8px;
|
|
|
|
|
|
|
|
.convdev-empty svg {
|
|
|
|
margin: 64px auto 32px;
|
|
|
|
max-width: 420px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.convdev-header {
|
|
|
|
margin-top: $gl-padding;
|
|
|
|
margin-bottom: $gl-padding;
|
|
|
|
padding: 0 4px;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
.convdev-header-title {
|
|
|
|
font-size: 48px;
|
|
|
|
line-height: 1;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.convdev-header-subtitle {
|
|
|
|
font-size: 22px;
|
|
|
|
line-height: 1;
|
|
|
|
color: $gl-text-color-secondary;
|
|
|
|
margin-left: 8px;
|
2017-08-24 10:13:24 -04:00
|
|
|
font-weight: $gl-font-weight-normal;
|
2017-05-24 06:25:44 -04:00
|
|
|
|
|
|
|
a {
|
|
|
|
font-size: 18px;
|
|
|
|
color: $gl-text-color-secondary;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: $blue-500;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.convdev-cards {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
2017-06-02 13:18:58 -04:00
|
|
|
flex-wrap: wrap;
|
2017-05-24 06:25:44 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.convdev-card-wrapper {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: stretch;
|
|
|
|
text-align: center;
|
2017-06-02 13:18:58 -04:00
|
|
|
width: 50%;
|
2017-05-24 06:25:44 -04:00
|
|
|
border-color: $border-color;
|
|
|
|
margin: 0 0 32px;
|
|
|
|
padding: $space-between-cards / 2;
|
|
|
|
position: relative;
|
|
|
|
|
2017-06-02 13:18:58 -04:00
|
|
|
@media (min-width: $screen-xs-min) {
|
|
|
|
width: percentage(1 / 4);
|
2017-05-24 06:25:44 -04:00
|
|
|
}
|
|
|
|
|
2017-06-02 13:18:58 -04:00
|
|
|
@media (min-width: $screen-sm-min) {
|
|
|
|
width: percentage(1 / 5);
|
2017-05-24 06:25:44 -04:00
|
|
|
}
|
|
|
|
|
2017-06-02 13:18:58 -04:00
|
|
|
@media (min-width: $screen-md-min) {
|
|
|
|
width: percentage(1 / 6);
|
2017-05-24 06:25:44 -04:00
|
|
|
}
|
|
|
|
|
2017-06-02 13:18:58 -04:00
|
|
|
@media (min-width: $screen-lg-min) {
|
|
|
|
width: percentage(1 / 10);
|
2017-05-24 06:25:44 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.convdev-card {
|
|
|
|
border: solid 1px $border-color;
|
2017-06-01 13:18:28 -04:00
|
|
|
border-radius: 3px;
|
2017-05-24 06:25:44 -04:00
|
|
|
border-top-width: 3px;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.convdev-card-low {
|
|
|
|
border-top-color: $color-low-score;
|
|
|
|
|
|
|
|
.card-score-big {
|
|
|
|
background-color: $red-25;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.convdev-card-average {
|
|
|
|
border-top-color: $color-average-score;
|
|
|
|
|
|
|
|
.card-score-big {
|
|
|
|
background-color: $orange-25;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.convdev-card-high {
|
|
|
|
border-top-color: $color-high-score;
|
|
|
|
|
|
|
|
.card-score-big {
|
|
|
|
background-color: $green-25;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.convdev-card-title {
|
2017-06-02 13:18:58 -04:00
|
|
|
margin: $gl-padding auto auto;
|
|
|
|
max-width: 100px;
|
2017-05-24 06:25:44 -04:00
|
|
|
|
|
|
|
h3 {
|
|
|
|
font-size: 14px;
|
|
|
|
margin: 0 0 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.text-light {
|
|
|
|
font-size: 13px;
|
|
|
|
line-height: 1.25;
|
|
|
|
color: $gl-text-color-secondary;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.card-scores {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-around;
|
|
|
|
align-items: center;
|
|
|
|
margin: $gl-padding $gl-btn-padding;
|
|
|
|
line-height: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.card-score {
|
|
|
|
color: $gl-text-color-secondary;
|
|
|
|
|
|
|
|
.card-score-name {
|
|
|
|
font-size: 13px;
|
|
|
|
margin-top: 4px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.card-score-value {
|
|
|
|
font-size: 16px;
|
|
|
|
color: $gl-text-color;
|
2017-08-24 10:13:24 -04:00
|
|
|
font-weight: $gl-font-weight-normal;
|
2017-05-24 06:25:44 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.card-score-big {
|
|
|
|
border-top: 2px solid $border-color;
|
|
|
|
border-bottom: 1px solid $border-color;
|
|
|
|
font-size: 22px;
|
|
|
|
padding: 10px 0;
|
2017-08-24 10:13:24 -04:00
|
|
|
font-weight: $gl-font-weight-normal;
|
2017-05-24 06:25:44 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.card-buttons {
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
> * {
|
|
|
|
font-size: 16px;
|
|
|
|
color: $gl-text-color-secondary;
|
|
|
|
padding: 10px;
|
|
|
|
flex-grow: 1;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: $border-color;
|
|
|
|
color: $gl-text-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
+ * {
|
|
|
|
border-left: solid 1px $border-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.convdev-steps {
|
|
|
|
margin-top: $gl-padding;
|
|
|
|
height: 1px;
|
|
|
|
min-width: 100%;
|
|
|
|
justify-content: space-around;
|
|
|
|
position: relative;
|
|
|
|
background: $border-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.convdev-step {
|
|
|
|
$step-positions: 5% 10% 30% 42% 48% 55% 60% 70% 75% 90%;
|
|
|
|
@each $pos in $step-positions {
|
|
|
|
$i: index($step-positions, $pos);
|
|
|
|
|
|
|
|
&:nth-child(#{$i}) {
|
|
|
|
left: $pos;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
position: absolute;
|
|
|
|
transform-origin: 75% 50%;
|
|
|
|
padding: 8px;
|
|
|
|
height: 50px;
|
|
|
|
width: 50px;
|
|
|
|
border-radius: 3px;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
border: solid 1px $border-color;
|
|
|
|
background: $white-light;
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
color: $gl-text-color-secondary;
|
|
|
|
fill: $gl-text-color-secondary;
|
|
|
|
box-shadow: 0 2px 4px $dropdown-shadow-color;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
padding: 8px 10px;
|
|
|
|
fill: currentColor;
|
|
|
|
z-index: 100;
|
|
|
|
height: auto;
|
|
|
|
width: auto;
|
|
|
|
|
|
|
|
.convdev-step-title {
|
|
|
|
max-height: 2em;
|
|
|
|
opacity: 1;
|
|
|
|
transition: opacity 0.2s;
|
|
|
|
}
|
|
|
|
|
|
|
|
svg {
|
|
|
|
transform: scale(1.5);
|
|
|
|
margin: $gl-btn-padding;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
svg {
|
|
|
|
transition: transform 0.1s;
|
|
|
|
width: 30px;
|
|
|
|
height: 30px;
|
2017-06-02 13:18:58 -04:00
|
|
|
min-height: 30px;
|
|
|
|
min-width: 30px;
|
2017-05-24 06:25:44 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.convdev-step-title {
|
|
|
|
max-height: 0;
|
|
|
|
opacity: 0;
|
|
|
|
text-transform: uppercase;
|
|
|
|
margin: $gl-vert-padding 0 0;
|
|
|
|
text-align: center;
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.convdev-high-score {
|
|
|
|
color: $color-high-score;
|
|
|
|
}
|
|
|
|
|
|
|
|
.convdev-average-score {
|
|
|
|
color: $color-average-score;
|
|
|
|
}
|
|
|
|
|
|
|
|
.convdev-low-score {
|
|
|
|
color: $color-low-score;
|
|
|
|
}
|