soapbox/app/styles/components/admin.scss

159 wiersze
2.5 KiB
SCSS

.dashcounters {
@apply grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-2 mb-4;
}
.dashcounter {
@apply bg-gray-200 dark:bg-gray-800 p-4 rounded flex flex-col items-center space-y-2 hover:-translate-y-1 transition-transform cursor-pointer;
}
.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;
color: hsla(var(--primary-text-color_hsl), 0.6);
padding-bottom: 8px;
margin-bottom: 8px;
border-bottom: 1px solid var(--accent-color--med);
}
a {
color: var(--brand-color);
}
}
.unapproved-account {
padding: 15px 20px;
font-size: 14px;
display: flex;
&__nickname {
font-weight: bold;
}
&__actions {
margin-left: auto;
display: flex;
flex-wrap: nowrap;
column-gap: 10px;
padding-left: 20px;
.svg-icon {
height: 24px;
width: 24px;
}
}
}
.admin-report {
padding: 15px;
display: flex;
border-bottom: 1px solid var(--brand-color--faint);
&__content {
padding: 0 16px;
flex: 1;
overflow: hidden;
}
&__title {
font-weight: bold;
text-overflow: ellipsis;
overflow: hidden;
}
&__quote {
font-size: 14px;
a {
color: var(--brand-color--hicontrast);
}
.byline {
font-size: 12px;
a {
text-decoration: none;
}
}
}
&__actions {
display: flex;
align-items: center;
height: fit-content;
margin-left: auto;
.icon-button {
padding-left: 10px;
> div {
display: flex;
align-items: center;
justify-content: center;
> .svg-icon {
height: 20px;
width: 20px;
}
}
}
}
&__statuses .accordion {
padding: 10px;
margin-bottom: 6px;
&__title {
font-size: 12px !important;
font-weight: normal !important;
margin-bottom: 0 !important;
}
}
&__status-content {
overflow: hidden;
}
&__status {
display: flex;
border-bottom: 1px solid var(--accent-color--med);
padding: 10px 0;
&:last-child {
border: 0;
}
.status__content {
flex: 1;
padding: 0;
}
&-actions {
padding: 3px 10px;
margin-left: auto;
}
}
}
.logentry {
padding: 15px;
&__timestamp {
color: var(--primary-text-color--faint);
font-size: 13px;
text-align: right;
}
}