bigbuffet-rw/app/styles/components/admin.scss

214 lines
3.5 KiB
SCSS
Raw Normal View History

2020-12-29 10:34:23 -08:00
.dashcounters {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
2020-12-29 10:34:23 -08:00
margin: 0 -5px 0;
padding: 20px;
}
.dashcounter {
box-sizing: border-box;
flex: 0 0 33.333%;
padding: 0 5px;
margin-bottom: 10px;
> a,
> div {
text-decoration: none;
color: inherit;
display: block;
padding: 20px;
background: var(--accent-color--faint);
border-radius: 4px;
transition: 0.2s;
}
> a:hover {
background: var(--accent-color--med);
transform: translateY(-2px);
}
&__num,
&__text {
text-align: center;
font-weight: 500;
font-size: 24px;
line-height: 30px;
color: var(--primary-text-color);
margin-bottom: 10px;
}
&__label {
font-size: 14px;
color: hsla(var(--primary-text-color_hsl), 0.6);
text-align: center;
font-weight: 500;
}
}
.dashwidgets {
display: flex;
flex-wrap: wrap;
margin: 0 -5px;
padding: 0 20px 20px 20px;
}
.dashwidget {
flex: 1;
margin-bottom: 20px;
padding: 0 5px;
h4 {
text-transform: uppercase;
font-size: 13px;
font-weight: 700;
2020-12-29 12:16:19 -08:00
color: hsla(var(--primary-text-color_hsl), 0.6);
2020-12-29 10:34:23 -08:00
padding-bottom: 8px;
margin-bottom: 8px;
2020-12-29 12:16:19 -08:00
border-bottom: 1px solid var(--accent-color--med);
2020-12-29 10:34:23 -08:00
}
}
.unapproved-account {
padding: 15px 20px;
font-size: 14px;
display: flex;
&__nickname {
font-weight: bold;
}
&__actions {
margin-left: auto;
display: flex;
flex-wrap: nowrap;
padding-left: 20px;
button.icon-button:nth-child(n+2) {
padding-left: 10px;
}
}
}
2021-01-01 10:50:13 -08:00
.page--admin .slist .item-list article:nth-child(2n-1) {
.unapproved-account,
.logentry {
background-color: hsla(var(--accent-color_hsl), 0.07);
}
}
2020-12-30 06:43:24 -08:00
.page--admin {
@media screen and (max-width: 895px) {
.columns-area__panels {
flex-direction: column;
align-items: center;
&__pane--left {
display: block;
width: 100%;
max-width: 600px;
padding: 20px 20px 0;
box-sizing: border-box;
.columns-area__panels__pane__inner {
width: auto;
}
}
}
}
blockquote.md {
padding: 5px 0 5px 15px;
border-left: 3px solid hsla(var(--primary-text-color_hsl), 0.4);
color: var(--primary-text-color--faint);
}
2020-12-30 06:43:24 -08:00
}
.admin-report {
padding: 15px;
display: flex;
border-bottom: 1px solid var(--brand-color--faint);
&__content {
2020-12-31 15:54:08 -08:00
padding: 0 16px;
2020-12-31 18:47:15 -08:00
flex: 1;
overflow: hidden;
}
&__title {
font-weight: bold;
text-overflow: ellipsis;
overflow: hidden;
2020-12-31 20:56:17 -08:00
a {
color: var(--primary-text-color);
}
}
&__quote {
font-size: 14px;
a {
color: var(--brand-color--hicontrast);
}
.byline {
font-size: 12px;
2020-12-31 20:56:17 -08:00
a {
color: var(--primary-text-color);
text-decoration: none;
}
}
}
2020-12-31 15:54:08 -08:00
&__actions {
margin-left: auto;
2020-12-31 16:24:52 -08:00
display: flex;
.icon-button {
padding-left: 10px;
> div {
display: flex;
align-items: center;
justify-content: center;
}
}
2020-12-31 15:54:08 -08:00
}
2020-12-31 18:47:15 -08:00
&__statuses .accordion {
padding: 10px;
margin-bottom: 6px;
&__title {
font-size: 12px !important;
font-weight: normal !important;
margin-bottom: 0 !important;
}
}
&__status {
display: flex;
border-bottom: 1px solid var(--accent-color--med);
padding: 10px 0;
&:last-child {
border: 0;
}
2020-12-31 18:47:15 -08:00
.status__content {
flex: 1;
padding: 0;
}
2020-12-31 18:47:15 -08:00
&-actions {
padding: 3px 10px;
margin-left: auto;
2020-12-31 18:47:15 -08:00
}
}
}
2021-01-01 10:50:13 -08:00
.logentry {
padding: 15px;
}