1
0
mirror of https://github.com/funamitech/mastodon synced 2024-12-21 10:08:26 +09:00
YuruToot/app/javascript/styles/mastodon/dashboard.scss

77 lines
1.2 KiB
SCSS
Raw Normal View History

2018-07-16 08:11:53 +09:00
.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 {
2018-07-16 08:11:53 +09:00
text-align: center;
font-weight: 500;
font-size: 24px;
line-height: 21px;
2018-07-16 08:11:53 +09:00
color: $primary-text-color;
font-family: $font-display, sans-serif;
2018-07-16 08:11:53 +09:00
margin-bottom: 20px;
2019-01-08 21:39:49 +09:00
line-height: 30px;
2018-07-16 08:11:53 +09:00
}
&__text {
font-size: 18px;
}
2018-07-16 08:11:53 +09:00
&__label {
font-size: 14px;
color: $darker-text-color;
text-align: center;
font-weight: 500;
}
}
.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;
}
}