gab-social/app/javascript/styles/gabsocial/dashboard.scss
2019-09-16 19:31:30 -04:00

73 lines
1.1 KiB
SCSS

.dashboard__counters {
display: flex;
flex-wrap: wrap;
margin: 0 -5px;
margin-bottom: 20px;
& > div {
box-sizing: border-box;
flex: 0 0 33.333%;
padding: 0 5px;
margin-bottom: 10px;
& > div,
& > a {
padding: 20px;
background: lighten($ui-base-color, 4%);
border-radius: 4px;
}
& > a {
text-decoration: none;
color: inherit;
display: block;
&:hover,
&:focus,
&:active {
background: lighten($ui-base-color, 8%);
}
}
}
&__num,
&__text {
color: $primary-text-color;
font-family: $font-display, sans-serif;
margin-bottom: 20px;
@include text-sizing(24px, 500, 30px, center);
}
&__text {
font-size: 18px;
}
&__label {
color: $gab-secondary-text;
@include text-sizing(14px, 500, 1, center);
}
}
.dashboard__widgets {
display: flex;
flex-wrap: wrap;
margin: 0 -5px;
& > div {
flex: 0 0 33.333%;
margin-bottom: 20px;
& > div {
padding: 0 5px;
}
}
a:not(.name-tag) {
color: $ui-secondary-color;
font-weight: 500;
text-decoration: none;
}
}