Style improvements

This commit is contained in:
Rico Sta. Cruz 2017-08-29 05:18:54 +08:00
parent d1cabcddd4
commit 50f48ffee0
No known key found for this signature in database
GPG Key ID: CAAD38AE2962619A
3 changed files with 26 additions and 6 deletions

View File

@ -1,12 +1,18 @@
.missing-message.missing-message {
text-align: center;
border: solid 1px $dark-line-color;
margin: 32px 0;
padding: 16px;
display: flex;
align-items: center;
border-top: solid 1px $dark-line-color;
padding-top: 16px;
@media (min-width: 769px) {
padding-top: 32px;
}
& > h3,
& > p {
margin: 16px 0;
margin: 0;
padding: 0;
}
@ -14,9 +20,19 @@
@include font-size(1);
font-weight: normal;
color: $base-text;
flex: 1 0 auto;
text-align: left;
}
& > h3::before {
@include ion-icon('md-arrow-forward');
font-size: 24px;
color: $base-a;
margin-right: 16px;
}
& > p {
color: $base-mute;
flex: 0 0 auto;
}
}

View File

@ -6,7 +6,11 @@
&,
&:visited {
background: $base-a;
background-color: $base-a;
background: linear-gradient(
to right,
$base-a,
adjust-color($base-a, $lightness: 2%, $hue: 16deg));
color: white;
}

View File

@ -2,7 +2,7 @@
@include font-size(-1);
@include carbon-style;
@media (min-width: 769px) {
@media (min-width: 961px) {
position: absolute;
right: 32px;
top: 80px;
@ -14,7 +14,7 @@
}
}
@media (max-width: 768px) {
@media (max-width: 960px) {
& {
margin: 16px auto;
max-width: 300px;