123 lines
2.6 KiB
CSS
123 lines
2.6 KiB
CSS
|
.manage__bans__pagination {
|
||
|
margin: 2px;
|
||
|
}
|
||
|
|
||
|
.manage__bans__actions {
|
||
|
display: flex;
|
||
|
gap: 2px;
|
||
|
margin: 2px;
|
||
|
}
|
||
|
|
||
|
.manage__bans__item {
|
||
|
padding: 0 2px;
|
||
|
margin: 2px;
|
||
|
border-top: 1px solid var(--accent-colour);
|
||
|
}
|
||
|
.manage__bans__item:not(:last-child) {
|
||
|
border-bottom: 1px solid var(--accent-colour);
|
||
|
}
|
||
|
|
||
|
.manage__bans__item__header {
|
||
|
display: flex;
|
||
|
overflow: hidden;
|
||
|
align-items: center;
|
||
|
}
|
||
|
|
||
|
.manage__bans__item__attributes {
|
||
|
flex-grow: 1;
|
||
|
flex-shrink: 1;
|
||
|
display: flex;
|
||
|
gap: 12px;
|
||
|
margin: 0 4px;
|
||
|
flex-wrap: wrap;
|
||
|
}
|
||
|
|
||
|
.manage__bans__item__attribute {
|
||
|
display: flex;
|
||
|
gap: 4px;
|
||
|
align-items: center;
|
||
|
}
|
||
|
.manage__bans__item__created__icon,
|
||
|
.manage__bans__item__expires__icon,
|
||
|
.manage__bans__item__permanent__icon {
|
||
|
font-size: 16px;
|
||
|
}
|
||
|
.manage__bans__item__expires__status span {
|
||
|
padding: 2px 4px;
|
||
|
border-radius: 2px;
|
||
|
}
|
||
|
.manage__bans__item__expires__status--active span {
|
||
|
background: rgba(255, 100, 100, 0.2);
|
||
|
font-weight: 700;
|
||
|
}
|
||
|
.manage__bans__item__expires__status--expired span {
|
||
|
background: rgba(100, 255, 100, 0.2);
|
||
|
}
|
||
|
.manage__bans__item__permanent {
|
||
|
background: rgba(255, 200, 100, 0.2);
|
||
|
border-radius: 2px;
|
||
|
padding: 0 4px;
|
||
|
}
|
||
|
.manage__bans__item__permanent__time {
|
||
|
font-weight: 700;
|
||
|
}
|
||
|
|
||
|
.manage__bans__item__actions {
|
||
|
display: flex;
|
||
|
flex-grow: 0;
|
||
|
flex-shrink: 0;
|
||
|
gap: 1px;
|
||
|
padding: 1px;
|
||
|
margin: 1px;
|
||
|
}
|
||
|
.manage__bans__item__action {
|
||
|
width: 36px;
|
||
|
height: 36px;
|
||
|
}
|
||
|
|
||
|
.manage__bans__item__author a,
|
||
|
.manage__bans__item__user a {
|
||
|
color: inherit;
|
||
|
text-decoration: none;
|
||
|
}
|
||
|
.manage__bans__item__author__name a,
|
||
|
.manage__bans__item__user__name a {
|
||
|
font-weight: bold;
|
||
|
display: inline-block;
|
||
|
padding-top: 2px;
|
||
|
border-bottom: 2px solid var(--user-colour, #fff);
|
||
|
}
|
||
|
.manage__bans__item__user__filter a {
|
||
|
padding: 2px 4px;
|
||
|
border-radius: 2px;
|
||
|
background: rgba(255, 255, 255, 0.2);
|
||
|
transition: background .2s;
|
||
|
}
|
||
|
.manage__bans__item__user__filter a:hover,
|
||
|
.manage__bans__item__user__filter a:focus {
|
||
|
background: rgba(255, 255, 255, 0.4);
|
||
|
}
|
||
|
.manage__bans__item__user__filter a:active {
|
||
|
background: rgba(255, 255, 255, 0.1);
|
||
|
}
|
||
|
|
||
|
.manage__bans__item__reason {
|
||
|
margin: 1px 4px;
|
||
|
padding: 2px 4px;
|
||
|
border-top: 1px solid var(--accent-colour);
|
||
|
}
|
||
|
.manage__bans__item__reason__title {
|
||
|
font-size: .9em;
|
||
|
line-height: 1.5em;
|
||
|
font-style: italic;
|
||
|
}
|
||
|
.manage__bans__item__reason__body {
|
||
|
padding-left: 4px;
|
||
|
border-left: 2px solid var(--accent-colour);
|
||
|
}
|
||
|
|
||
|
.manage__bans__item__noreason {
|
||
|
font-size: .9em;
|
||
|
font-style: italic;
|
||
|
}
|