Added new moderator notes system.
This commit is contained in:
parent
8c52338751
commit
96f9ea7271
20 changed files with 918 additions and 61 deletions
assets/misuzu.css
|
@ -160,21 +160,6 @@ html {
|
|||
@include home/landingv2.css;
|
||||
|
||||
@include manage/_manage.css;
|
||||
@include manage/blacklist.css;
|
||||
@include manage/changelog-actions-tags.css;
|
||||
@include manage/emote.css;
|
||||
@include manage/emotes.css;
|
||||
@include manage/navigation.css;
|
||||
@include manage/role-item.css;
|
||||
@include manage/roles.css;
|
||||
@include manage/settings.css;
|
||||
@include manage/statistic.css;
|
||||
@include manage/statistics.css;
|
||||
@include manage/tag.css;
|
||||
@include manage/tags.css;
|
||||
@include manage/user-item.css;
|
||||
@include manage/user.css;
|
||||
@include manage/users.css;
|
||||
|
||||
@include news/container.css;
|
||||
@include news/feeds.css;
|
||||
|
|
|
@ -23,3 +23,21 @@
|
|||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
@include manage/blacklist.css;
|
||||
@include manage/changelog-actions-tags.css;
|
||||
@include manage/emote.css;
|
||||
@include manage/emotes.css;
|
||||
@include manage/navigation.css;
|
||||
@include manage/note.css;
|
||||
@include manage/notes.css;
|
||||
@include manage/role-item.css;
|
||||
@include manage/roles.css;
|
||||
@include manage/settings.css;
|
||||
@include manage/statistic.css;
|
||||
@include manage/statistics.css;
|
||||
@include manage/tag.css;
|
||||
@include manage/tags.css;
|
||||
@include manage/user-item.css;
|
||||
@include manage/user.css;
|
||||
@include manage/users.css;
|
||||
|
|
88
assets/misuzu.css/manage/note.css
Normal file
88
assets/misuzu.css/manage/note.css
Normal file
|
@ -0,0 +1,88 @@
|
|||
.manage__note {
|
||||
margin: 2px;
|
||||
}
|
||||
|
||||
.manage__note--view .manage__note--editing,
|
||||
.manage__note--edit .manage__note--viewing {
|
||||
display: none !important;
|
||||
visibility: hidden !important;
|
||||
}
|
||||
|
||||
.manage__note__header {
|
||||
display: flex;
|
||||
overflow: hidden;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.manage__note__title {
|
||||
flex-grow: 1;
|
||||
flex-shrink: 1;
|
||||
font-size: 1.4em;
|
||||
line-height: 1.3em;
|
||||
}
|
||||
.manage__note__title__text {
|
||||
padding: 2px 5px;
|
||||
}
|
||||
.manage__note__title input {
|
||||
width: 100%;
|
||||
}
|
||||
.manage__note__actions {
|
||||
display: flex;
|
||||
flex-grow: 0;
|
||||
flex-shrink: 0;
|
||||
gap: 1px;
|
||||
padding: 1px;
|
||||
margin: 1px;
|
||||
}
|
||||
.manage__note__action {
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
}
|
||||
|
||||
.manage__note__attributes {
|
||||
display: flex;
|
||||
gap: 12px;
|
||||
margin: 0 4px;
|
||||
}
|
||||
|
||||
.manage__note__attribute {
|
||||
display: flex;
|
||||
gap: 4px;
|
||||
align-items: center;
|
||||
}
|
||||
.manage__note__created__icon {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.manage__note__author a,
|
||||
.manage__note__user a {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
.manage__note__author__name a,
|
||||
.manage__note__user__name a {
|
||||
font-weight: bold;
|
||||
display: inline-block;
|
||||
padding-top: 2px;
|
||||
border-bottom: 2px solid var(--user-colour, #fff);
|
||||
}
|
||||
|
||||
.manage__note__body {
|
||||
margin: 2px;
|
||||
}
|
||||
|
||||
.manage__note__nobody {
|
||||
text-align: center;
|
||||
font-size: .9em;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.manage__note__editor {
|
||||
width: 100%;
|
||||
}
|
||||
.manage__note__editor textarea {
|
||||
width: 100%;
|
||||
min-width: 100%;
|
||||
max-width: 100%;
|
||||
min-height: 300px;
|
||||
}
|
122
assets/misuzu.css/manage/notes.css
Normal file
122
assets/misuzu.css/manage/notes.css
Normal file
|
@ -0,0 +1,122 @@
|
|||
.manage__notes__pagination {
|
||||
margin: 2px;
|
||||
}
|
||||
|
||||
.manage__notes__actions {
|
||||
display: flex;
|
||||
gap: 2px;
|
||||
margin: 2px;
|
||||
}
|
||||
|
||||
.manage__notes__item {
|
||||
padding: 2px;
|
||||
margin: 2px;
|
||||
}
|
||||
.manage__notes__item:not(:last-child) {
|
||||
border-bottom: 1px solid var(--accent-colour);
|
||||
}
|
||||
|
||||
.manage__notes__item__header {
|
||||
display: flex;
|
||||
overflow: hidden;
|
||||
align-items: center;
|
||||
}
|
||||
.manage__notes__item__title {
|
||||
flex-grow: 1;
|
||||
flex-shrink: 1;
|
||||
font-size: 1.4em;
|
||||
line-height: 1.3em;
|
||||
padding: 2px 5px;
|
||||
}
|
||||
.manage__notes__item__title a {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
.manage__notes__item__title a:hover,
|
||||
.manage__notes__item__title a:focus {
|
||||
text-decoration: underline;
|
||||
}
|
||||
.manage__notes__item__actions {
|
||||
display: flex;
|
||||
flex-grow: 0;
|
||||
flex-shrink: 0;
|
||||
gap: 1px;
|
||||
padding: 1px;
|
||||
margin: 1px;
|
||||
}
|
||||
.manage__notes__item__action {
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
}
|
||||
|
||||
.manage__notes__item__attributes {
|
||||
display: flex;
|
||||
gap: 12px;
|
||||
margin: 0 4px;
|
||||
}
|
||||
|
||||
.manage__notes__item__attribute {
|
||||
display: flex;
|
||||
gap: 4px;
|
||||
align-items: center;
|
||||
}
|
||||
.manage__notes__item__created__icon {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.manage__notes__item__author a,
|
||||
.manage__notes__item__user a {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
.manage__notes__item__author__name a,
|
||||
.manage__notes__item__user__name a {
|
||||
font-weight: bold;
|
||||
display: inline-block;
|
||||
padding-top: 2px;
|
||||
border-bottom: 2px solid var(--user-colour, #fff);
|
||||
}
|
||||
.manage__notes__item__user__filter a {
|
||||
padding: 2px 4px;
|
||||
border-radius: 2px;
|
||||
background: rgba(255, 255, 255, 0.2);
|
||||
transition: background .2s;
|
||||
}
|
||||
.manage__notes__item__user__filter a:hover,
|
||||
.manage__notes__item__user__filter a:focus {
|
||||
background: rgba(255, 255, 255, 0.4);
|
||||
}
|
||||
.manage__notes__item__user__filter a:active {
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
|
||||
.manage__notes__item__body {
|
||||
margin: 2px;
|
||||
}
|
||||
|
||||
.manage__notes__item__nobody {
|
||||
text-align: center;
|
||||
font-size: .9em;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.manage__notes__item__continue {
|
||||
text-align: center;
|
||||
}
|
||||
.manage__notes__item__continue a {
|
||||
display: inline-block;
|
||||
padding: 2px 5px;
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
border-radius: 5px;
|
||||
background: rgba(255, 255, 255, 0.2);
|
||||
background: rgba(255, 255, 255, 0.2);
|
||||
transition: background .2s;
|
||||
}
|
||||
.manage__notes__item__continue a:hover,
|
||||
.manage__notes__item__continue a:focus {
|
||||
background: rgba(255, 255, 255, 0.4);
|
||||
}
|
||||
.manage__notes__item__continue a:active {
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue