2018-07-03 11:14:53 +08:00
|
|
|
// Styles for /admin/logs
|
|
|
|
|
|
|
|
.log-details-modal {
|
|
|
|
pre {
|
|
|
|
white-space: pre-wrap;
|
|
|
|
max-height: 250px;
|
|
|
|
}
|
|
|
|
.modal-tab {
|
|
|
|
width: 95%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.staff-actions {
|
|
|
|
width: 100%;
|
|
|
|
word-wrap: break-word;
|
|
|
|
@media screen and (min-width: 550px) and (max-width: 767px) {
|
|
|
|
table.staff-logs tr {
|
|
|
|
display: grid;
|
|
|
|
grid-template-rows: auto auto;
|
|
|
|
grid-template-columns: repeat(4, 1fr);
|
|
|
|
td {
|
|
|
|
align-self: start;
|
|
|
|
padding: 2px 4px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
td.created-at {
|
|
|
|
grid-column-start: -1;
|
|
|
|
}
|
|
|
|
td.subject {
|
|
|
|
grid-row: 2;
|
|
|
|
grid-column-start: 2;
|
|
|
|
div.subject {
|
|
|
|
display: flex;
|
|
|
|
a {
|
|
|
|
word-wrap: break-word;
|
|
|
|
min-width: 25px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
td.details {
|
|
|
|
grid-row: 1;
|
|
|
|
grid-row-start: 1;
|
|
|
|
grid-row-end: 3;
|
|
|
|
grid-column-start: 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
td.context {
|
|
|
|
grid-row-start: 1;
|
|
|
|
grid-row-end: 3;
|
|
|
|
grid-column-start: 4;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-07-11 21:57:53 +08:00
|
|
|
@include breakpoint(mobile-extra-large) {
|
2018-07-03 11:14:53 +08:00
|
|
|
table.staff-logs tr {
|
|
|
|
grid-template-columns: 1fr 1fr 0.5fr;
|
|
|
|
td.staff-users {
|
|
|
|
grid-column-start: 1;
|
|
|
|
grid-column-end: 3;
|
|
|
|
}
|
|
|
|
td.created-at {
|
|
|
|
grid-row: 1;
|
|
|
|
grid-column-start: -1;
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
td.action {
|
|
|
|
grid-row: 2;
|
|
|
|
grid-column-start: 1;
|
|
|
|
}
|
|
|
|
td.subject {
|
|
|
|
grid-row: 2;
|
|
|
|
grid-column-start: 2;
|
|
|
|
grid-column-end: 5;
|
|
|
|
max-width: 60vw;
|
|
|
|
}
|
|
|
|
td.details,
|
|
|
|
td.context {
|
|
|
|
max-width: unset;
|
|
|
|
}
|
|
|
|
td.details {
|
|
|
|
grid-row: 3;
|
|
|
|
grid-column-start: 1;
|
|
|
|
grid-column-end: 5;
|
|
|
|
padding: 0.25em 0;
|
|
|
|
max-width: 90vw;
|
|
|
|
}
|
|
|
|
td.context {
|
|
|
|
grid-row: 4;
|
|
|
|
grid-column-start: 1;
|
|
|
|
grid-column-end: 5;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.staff-user {
|
|
|
|
font-weight: bold;
|
|
|
|
display: flex;
|
|
|
|
a:first-of-type {
|
|
|
|
margin-right: 0.25em;
|
|
|
|
}
|
2018-10-03 01:46:43 +08:00
|
|
|
.deleted-user {
|
2022-10-12 21:31:59 +08:00
|
|
|
font-size: var(--font-up-2);
|
2018-10-03 01:46:43 +08:00
|
|
|
}
|
2018-07-03 11:14:53 +08:00
|
|
|
}
|
|
|
|
.created_at {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
td.subject,
|
|
|
|
td.details {
|
2021-04-30 23:58:17 +08:00
|
|
|
max-width: 10vw;
|
2020-02-15 03:23:31 +08:00
|
|
|
> div {
|
|
|
|
max-height: 100px;
|
|
|
|
overflow-y: auto;
|
|
|
|
}
|
2018-07-03 11:14:53 +08:00
|
|
|
}
|
2021-03-24 05:08:28 +08:00
|
|
|
td.context {
|
|
|
|
word-break: break-all;
|
|
|
|
}
|
2018-07-03 11:14:53 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.staff-action-logs-controls {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
.select-kit {
|
|
|
|
margin: 0 0.5em;
|
|
|
|
}
|
|
|
|
button {
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
margin: 0 0 1em 0;
|
|
|
|
a.filter {
|
|
|
|
.label {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2018-11-27 05:49:57 +08:00
|
|
|
.d-icon {
|
2021-09-09 23:01:56 +08:00
|
|
|
margin-left: 0.5em;
|
2018-07-03 11:14:53 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.screened-email-export {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.screened-ip-controls {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
.screened-ip-address-form {
|
2021-09-09 23:01:56 +08:00
|
|
|
.combobox {
|
|
|
|
width: 140px;
|
|
|
|
}
|
|
|
|
@media screen and (min-width: 900px) {
|
2018-07-03 11:14:53 +08:00
|
|
|
margin-left: auto;
|
|
|
|
}
|
2021-09-09 23:01:56 +08:00
|
|
|
@media screen and (max-width: 899px) {
|
|
|
|
margin-top: 1em;
|
|
|
|
}
|
2018-07-03 11:14:53 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
table.screened-ip-addresses {
|
|
|
|
td.ip_address {
|
|
|
|
min-width: 150px;
|
|
|
|
word-wrap: break-word;
|
|
|
|
input {
|
|
|
|
width: 80%;
|
|
|
|
}
|
|
|
|
}
|
2021-09-09 23:01:56 +08:00
|
|
|
td.actions {
|
|
|
|
text-align: right;
|
2018-07-03 11:14:53 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (min-width: 550px) {
|
|
|
|
table.screened-ip-addresses tr {
|
|
|
|
grid-template-columns: repeat(5, 1fr) auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: 549px) {
|
|
|
|
table.screened-ip-addresses tr {
|
|
|
|
td.actions {
|
|
|
|
grid-row: 3;
|
|
|
|
grid-column-start: -1;
|
|
|
|
grid-column-end: -4;
|
|
|
|
text-align: right;
|
|
|
|
margin-top: 0.5em;
|
|
|
|
}
|
|
|
|
td.created_at {
|
|
|
|
grid-row: 1;
|
|
|
|
grid-column-start: 3;
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
td.last_match_at {
|
|
|
|
grid-row: 2;
|
|
|
|
grid-column-start: 3;
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
td.match_count {
|
|
|
|
grid-row: 2;
|
|
|
|
grid-column-start: 2;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-07-14 03:25:04 +08:00
|
|
|
// Screened URLs
|
|
|
|
|
|
|
|
@include breakpoint(tablet) {
|
|
|
|
.screened-urls {
|
|
|
|
td.domain {
|
|
|
|
grid-column-start: 1;
|
|
|
|
grid-column-end: 3;
|
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Screened emails
|
|
|
|
.screened-emails {
|
|
|
|
td.ip_address {
|
|
|
|
word-wrap: break-word;
|
|
|
|
@include breakpoint(tablet, min-width) {
|
|
|
|
max-width: 20vw;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@include breakpoint(tablet) {
|
|
|
|
td.email {
|
|
|
|
grid-column-start: 1;
|
|
|
|
grid-column-end: 3;
|
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
|
|
|
td.ip_address {
|
|
|
|
grid-row: 2;
|
|
|
|
grid-column-start: 1;
|
|
|
|
grid-column-end: -1;
|
|
|
|
}
|
|
|
|
td.action {
|
|
|
|
margin-top: 0.25em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-07-03 11:14:53 +08:00
|
|
|
// Watched words
|
|
|
|
|
|
|
|
.watched-word-box {
|
|
|
|
display: inline-block;
|
|
|
|
width: 250px;
|
|
|
|
margin-bottom: 1em;
|
2019-07-22 19:59:56 +08:00
|
|
|
vertical-align: top;
|
2021-05-21 22:50:24 +08:00
|
|
|
}
|
|
|
|
|
2021-06-02 13:36:49 +08:00
|
|
|
.watched-words-link {
|
|
|
|
.watched-word-box {
|
|
|
|
min-width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.watched-words-replace,
|
|
|
|
.watched-words-tag {
|
|
|
|
.watched-word-box {
|
|
|
|
min-width: calc(50% - 5px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-05-21 22:50:24 +08:00
|
|
|
.watched-word-box,
|
|
|
|
.watched-words-test-modal {
|
2021-05-06 23:06:25 +08:00
|
|
|
.replacement {
|
|
|
|
white-space: pre;
|
2021-05-21 22:50:24 +08:00
|
|
|
background: var(--tertiary-low);
|
|
|
|
}
|
|
|
|
|
|
|
|
.tag {
|
|
|
|
background: var(--primary-low);
|
2022-10-12 21:31:59 +08:00
|
|
|
font-size: var(--font-down-1);
|
2021-05-21 22:50:24 +08:00
|
|
|
margin-right: 0.1em;
|
|
|
|
padding: 0.5em;
|
2021-05-06 23:06:25 +08:00
|
|
|
}
|
2019-07-22 19:59:56 +08:00
|
|
|
}
|
|
|
|
|
2021-02-25 20:00:58 +08:00
|
|
|
.watched-words-uploader {
|
|
|
|
display: inline-block;
|
2018-07-03 11:14:53 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.watched-words-list {
|
|
|
|
margin-top: 20px;
|
2019-07-22 19:59:56 +08:00
|
|
|
display: inline-block;
|
2021-06-02 13:36:49 +08:00
|
|
|
width: 100%;
|
2018-07-03 11:14:53 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.watched-word {
|
|
|
|
display: inline-block;
|
|
|
|
cursor: pointer;
|
2021-02-25 20:00:58 +08:00
|
|
|
|
2018-07-03 11:14:53 +08:00
|
|
|
.d-icon {
|
|
|
|
margin-right: 0.25em;
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-medium);
|
2021-02-25 20:00:58 +08:00
|
|
|
|
2021-06-28 17:44:18 +08:00
|
|
|
&:hover {
|
|
|
|
color: var(--danger);
|
|
|
|
}
|
2018-07-03 11:14:53 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.watched-word-form {
|
|
|
|
.success-message {
|
|
|
|
margin-left: 1em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-03-09 17:52:12 +08:00
|
|
|
.watched-words-detail {
|
|
|
|
.watched-word-controls,
|
|
|
|
.about,
|
|
|
|
.watched-word-form {
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
2021-06-18 20:57:13 +08:00
|
|
|
|
2023-03-21 22:40:26 +08:00
|
|
|
.about {
|
|
|
|
font-size: var(--font-up-1);
|
|
|
|
max-width: 30em;
|
|
|
|
}
|
|
|
|
|
2021-06-18 20:57:13 +08:00
|
|
|
.watched-word-controls .btn {
|
|
|
|
margin-bottom: 0.25em;
|
|
|
|
margin-right: 0.25em;
|
|
|
|
}
|
2018-07-03 11:14:53 +08:00
|
|
|
}
|
|
|
|
|
2019-08-02 17:53:03 +08:00
|
|
|
.watched-words-test-modal p {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
2021-02-25 20:00:58 +08:00
|
|
|
.watched-word-input {
|
|
|
|
label {
|
|
|
|
display: inline-block;
|
2021-05-06 10:40:07 +08:00
|
|
|
min-width: 150px;
|
2021-06-18 01:42:16 +08:00
|
|
|
padding-top: 4px;
|
|
|
|
vertical-align: top;
|
2021-05-06 10:40:07 +08:00
|
|
|
}
|
|
|
|
input.watched-word-input-field {
|
|
|
|
min-width: 300px;
|
|
|
|
}
|
2021-06-02 13:36:49 +08:00
|
|
|
.select-kit.multi-select.watched-word-input-field {
|
|
|
|
width: 300px;
|
|
|
|
}
|
2021-06-18 01:42:16 +08:00
|
|
|
|
|
|
|
+ .btn-primary {
|
|
|
|
margin-top: 1em;
|
|
|
|
}
|
2021-02-25 20:00:58 +08:00
|
|
|
}
|
|
|
|
|
2018-07-03 11:14:53 +08:00
|
|
|
// Search logs
|
|
|
|
|
|
|
|
table.search-logs-list {
|
|
|
|
td.term {
|
|
|
|
width: 60%;
|
|
|
|
word-wrap: break-word;
|
|
|
|
@media screen and (max-width: 767px) {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
th:not(.term),
|
|
|
|
td:not(.term) {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
@media screen and (min-width: 550px) {
|
|
|
|
tr {
|
|
|
|
td.term {
|
|
|
|
grid-column-start: 1;
|
|
|
|
grid-column: span 3;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-07-11 21:57:53 +08:00
|
|
|
@include breakpoint(mobile-extra-large) {
|
2018-07-03 11:14:53 +08:00
|
|
|
tr {
|
|
|
|
td.term {
|
|
|
|
grid-column-start: 1;
|
|
|
|
grid-column-end: 4;
|
|
|
|
}
|
|
|
|
th:not(.term),
|
|
|
|
td:not(.term) {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|