2018-07-03 11:14:53 +08:00
|
|
|
// Styles for /admin section
|
|
|
|
|
2015-08-31 03:09:28 +08:00
|
|
|
$mobile-breakpoint: 700px;
|
2015-08-02 06:00:39 +08:00
|
|
|
|
2024-10-22 08:19:21 +08:00
|
|
|
:root {
|
|
|
|
--space-1: 0.25rem;
|
|
|
|
--space-2: calc(0.25rem * 2);
|
|
|
|
--space-3: calc(0.25rem * 3);
|
|
|
|
--space-4: calc(0.25rem * 4);
|
|
|
|
--space-5: calc(0.25rem * 5);
|
|
|
|
--space-6: calc(0.25rem * 6);
|
|
|
|
}
|
|
|
|
|
2018-07-03 11:14:53 +08:00
|
|
|
// Common admin styles
|
2015-08-02 06:00:39 +08:00
|
|
|
|
2018-07-03 11:14:53 +08:00
|
|
|
.admin-main-nav {
|
|
|
|
display: inline-flex;
|
|
|
|
position: relative;
|
|
|
|
width: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
height: 100%;
|
2023-09-09 00:07:04 +08:00
|
|
|
background: var(--d-content-background);
|
2022-02-02 04:32:48 +08:00
|
|
|
|
2018-07-13 04:38:51 +08:00
|
|
|
@include breakpoint(tablet) {
|
2018-07-03 11:14:53 +08:00
|
|
|
width: calc(100% + 10px);
|
|
|
|
margin-left: -10px;
|
|
|
|
padding: 0 0 0 10px;
|
|
|
|
}
|
|
|
|
|
2018-08-04 05:43:07 +08:00
|
|
|
.nav-pills {
|
2018-07-03 11:14:53 +08:00
|
|
|
display: inline-flex;
|
2018-11-27 03:50:45 +08:00
|
|
|
flex-wrap: wrap;
|
2018-07-03 11:14:53 +08:00
|
|
|
width: calc(100% - 10px);
|
|
|
|
flex: 1 0 auto;
|
2021-06-08 01:22:28 +08:00
|
|
|
margin-top: 0;
|
2018-07-13 04:38:51 +08:00
|
|
|
@include breakpoint(tablet) {
|
2018-07-03 11:14:53 +08:00
|
|
|
white-space: nowrap;
|
2018-11-27 03:50:45 +08:00
|
|
|
flex-wrap: nowrap;
|
2018-07-03 11:14:53 +08:00
|
|
|
overflow-x: scroll;
|
|
|
|
-webkit-overflow-scrolling: touch;
|
|
|
|
margin: 0 0 0 -10px;
|
|
|
|
padding: 0 10px 10px 10px;
|
|
|
|
}
|
|
|
|
&:before {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
> li {
|
|
|
|
margin: 0;
|
|
|
|
&:last-of-type {
|
|
|
|
> a {
|
|
|
|
margin-right: 25px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-07-13 04:38:51 +08:00
|
|
|
@include breakpoint(tablet) {
|
2018-07-03 11:14:53 +08:00
|
|
|
// Fade-out for horizontal scroll nav
|
|
|
|
&:before {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
width: 10px;
|
|
|
|
margin-left: -10px;
|
|
|
|
height: 100%;
|
|
|
|
background: linear-gradient(
|
|
|
|
to right,
|
2020-11-26 21:03:25 +08:00
|
|
|
rgba(var(--secondary-rgb), 1),
|
|
|
|
rgba(var(--secondary-rgb), 0)
|
2018-07-03 11:14:53 +08:00
|
|
|
);
|
|
|
|
}
|
|
|
|
&:after {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
right: 0px;
|
|
|
|
width: 30px;
|
|
|
|
height: 100%;
|
|
|
|
background: linear-gradient(
|
|
|
|
to right,
|
2020-11-26 21:03:25 +08:00
|
|
|
rgba(var(--secondary-rgb), 0),
|
|
|
|
rgba(var(--secondary-rgb), 1)
|
2018-07-03 11:14:53 +08:00
|
|
|
);
|
2015-08-02 06:00:39 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-08-17 01:35:23 +08:00
|
|
|
.admin-contents {
|
|
|
|
position: relative;
|
2020-10-24 00:49:02 +08:00
|
|
|
.nav-stacked {
|
|
|
|
@media screen and (max-width: 700px) {
|
2024-07-19 07:52:15 +08:00
|
|
|
margin: 0;
|
2020-10-24 00:49:02 +08:00
|
|
|
}
|
|
|
|
}
|
2022-06-29 22:17:01 +08:00
|
|
|
|
|
|
|
.row:before,
|
|
|
|
.row:after {
|
|
|
|
display: table;
|
|
|
|
content: "";
|
|
|
|
}
|
|
|
|
.row:after {
|
|
|
|
clear: both;
|
|
|
|
}
|
2024-07-19 07:52:15 +08:00
|
|
|
|
|
|
|
&.admin-site-settings-category {
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
@media (max-width: 500px) {
|
|
|
|
background-color: var(--primary-very-low);
|
|
|
|
}
|
|
|
|
}
|
2015-08-17 01:35:23 +08:00
|
|
|
}
|
|
|
|
|
2013-10-29 01:46:59 +08:00
|
|
|
.admin-contents table {
|
2014-02-13 12:36:10 +08:00
|
|
|
width: 100%;
|
2017-03-20 22:23:00 +08:00
|
|
|
margin-top: 10px;
|
|
|
|
|
2018-06-08 17:49:31 +08:00
|
|
|
tr {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
td,
|
|
|
|
th {
|
|
|
|
padding: 8px;
|
|
|
|
}
|
|
|
|
tr:hover {
|
2020-08-04 10:57:10 +08:00
|
|
|
background-color: var(--primary-very-low);
|
2018-06-08 17:49:31 +08:00
|
|
|
}
|
|
|
|
tr.selected {
|
2020-08-04 10:57:10 +08:00
|
|
|
background-color: var(--primary-low);
|
2018-06-08 17:49:31 +08:00
|
|
|
}
|
|
|
|
.filters input {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2018-07-03 11:14:53 +08:00
|
|
|
.label {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: 970px) and (min-width: 768px) {
|
|
|
|
td,
|
|
|
|
th {
|
|
|
|
padding: 6px 4px;
|
|
|
|
}
|
|
|
|
th {
|
|
|
|
vertical-align: bottom;
|
|
|
|
}
|
|
|
|
th.sortable {
|
|
|
|
max-width: 100px;
|
|
|
|
}
|
|
|
|
}
|
2024-09-10 13:16:16 +08:00
|
|
|
|
|
|
|
.admin-table-row-controls {
|
|
|
|
text-align: right;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
gap: 0.5em;
|
|
|
|
justify-content: flex-end;
|
|
|
|
|
|
|
|
.fk-d-menu__trigger {
|
|
|
|
font-size: var(--font-down-1);
|
|
|
|
}
|
|
|
|
}
|
2018-07-03 11:14:53 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.admin-contents table.grid {
|
|
|
|
// Table switches to grid for narrow screens
|
|
|
|
@media screen and (max-width: 767px) {
|
|
|
|
thead {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.label {
|
|
|
|
display: block;
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-medium);
|
2022-10-12 21:31:59 +08:00
|
|
|
font-size: var(--font-down-1);
|
2018-07-03 11:14:53 +08:00
|
|
|
margin: 0.5em 0 0.15em 0;
|
|
|
|
}
|
|
|
|
tr {
|
|
|
|
grid-template-columns: repeat(3, 1fr);
|
|
|
|
display: grid;
|
2022-10-12 22:05:42 +08:00
|
|
|
line-height: var(--line-height-medium);
|
2018-07-03 11:14:53 +08:00
|
|
|
padding: 8px 0;
|
|
|
|
min-width: 0;
|
|
|
|
td {
|
|
|
|
padding: 2px;
|
|
|
|
align-self: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
tr.flagged-topic {
|
|
|
|
grid-template-columns: 0.25fr 1fr 1fr;
|
|
|
|
td.topic-title {
|
|
|
|
grid-column-start: 2;
|
|
|
|
grid-column-end: -2;
|
|
|
|
min-width: 0;
|
|
|
|
align-self: start;
|
|
|
|
}
|
|
|
|
td.last-flagged {
|
|
|
|
grid-row: 1;
|
|
|
|
grid-column-end: -1;
|
|
|
|
text-align: right;
|
|
|
|
align-self: start;
|
|
|
|
}
|
|
|
|
td.flag-details {
|
|
|
|
grid-row: 2;
|
|
|
|
grid-column-end: -1;
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
td.flagged-topic-users {
|
|
|
|
grid-row: 1;
|
|
|
|
grid-column-start: 1;
|
|
|
|
max-width: 60px;
|
|
|
|
align-self: start;
|
|
|
|
a {
|
|
|
|
display: inline-block;
|
|
|
|
margin: 0 0.25em 0.25em 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
td.flag-counts {
|
|
|
|
grid-row: 2;
|
|
|
|
grid-column-start: 2;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (min-width: 550px) {
|
|
|
|
tr {
|
|
|
|
grid-template-columns: repeat(6, 1fr);
|
|
|
|
}
|
|
|
|
}
|
2013-10-29 01:46:59 +08:00
|
|
|
}
|
|
|
|
|
2015-11-24 05:45:05 +08:00
|
|
|
.site-texts {
|
|
|
|
.search-area {
|
|
|
|
margin-bottom: 2em;
|
|
|
|
p {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
2015-12-01 04:22:58 +08:00
|
|
|
.site-text-search {
|
2015-11-24 05:45:05 +08:00
|
|
|
padding: 0.5em;
|
2022-10-12 21:31:59 +08:00
|
|
|
font-size: var(--font-0);
|
2015-11-24 05:45:05 +08:00
|
|
|
width: 50%;
|
|
|
|
}
|
2019-03-19 04:09:13 +08:00
|
|
|
.reseed {
|
2015-12-01 04:22:58 +08:00
|
|
|
float: right;
|
|
|
|
}
|
2021-01-19 01:53:45 +08:00
|
|
|
.locale {
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
}
|
|
|
|
.locale-search {
|
|
|
|
width: 50%;
|
|
|
|
}
|
2015-11-24 05:45:05 +08:00
|
|
|
}
|
|
|
|
.text-highlight {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
.site-text {
|
|
|
|
cursor: pointer;
|
2020-08-04 10:57:10 +08:00
|
|
|
border-bottom: 1px solid var(--primary-low);
|
2015-11-24 05:45:05 +08:00
|
|
|
margin-bottom: 0.5em;
|
2015-12-01 04:22:58 +08:00
|
|
|
&.overridden {
|
2023-02-21 17:15:49 +08:00
|
|
|
background-color: var(--highlight-bg);
|
2015-12-01 04:22:58 +08:00
|
|
|
}
|
2015-11-24 05:45:05 +08:00
|
|
|
h3 {
|
|
|
|
font-weight: normal;
|
2022-10-12 21:31:59 +08:00
|
|
|
font-size: var(--font-0);
|
2019-07-11 21:57:53 +08:00
|
|
|
@include breakpoint(mobile-extra-large) {
|
2018-07-13 13:43:40 +08:00
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
2015-11-24 05:45:05 +08:00
|
|
|
}
|
2024-08-26 09:25:36 +08:00
|
|
|
.site-text-edit {
|
2015-11-24 05:45:05 +08:00
|
|
|
float: right;
|
|
|
|
}
|
2021-12-18 00:45:12 +08:00
|
|
|
|
|
|
|
$maxHeight: 8 * 1.4em;
|
|
|
|
$gradientHeight: 2.2em;
|
|
|
|
|
2015-11-24 05:45:05 +08:00
|
|
|
.site-text-value {
|
|
|
|
margin: 0.5em 5em 0.5em 0;
|
2021-12-18 00:45:12 +08:00
|
|
|
max-height: $maxHeight;
|
|
|
|
overflow: hidden;
|
|
|
|
position: relative;
|
|
|
|
&::after {
|
|
|
|
content: " ";
|
|
|
|
position: absolute;
|
|
|
|
background-color: red;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
top: $maxHeight - $gradientHeight;
|
|
|
|
height: $gradientHeight;
|
|
|
|
background: linear-gradient(
|
|
|
|
to top,
|
|
|
|
rgba(var(--secondary-rgb), 1),
|
|
|
|
rgba(var(--secondary-rgb), 0.15)
|
|
|
|
);
|
2018-07-13 13:43:40 +08:00
|
|
|
}
|
2019-07-11 21:57:53 +08:00
|
|
|
@include breakpoint(mobile-extra-large) {
|
2018-07-13 13:43:40 +08:00
|
|
|
word-wrap: break-word;
|
2021-12-18 00:45:12 +08:00
|
|
|
max-width: 80vw;
|
|
|
|
margin-right: 3em;
|
2018-07-13 13:43:40 +08:00
|
|
|
}
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-medium);
|
2015-11-24 05:45:05 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.edit-site-text {
|
|
|
|
textarea {
|
2023-06-28 19:03:04 +08:00
|
|
|
display: block;
|
2018-07-13 13:43:40 +08:00
|
|
|
width: 100%;
|
|
|
|
max-width: 800px;
|
2023-06-28 19:03:04 +08:00
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
.save-button {
|
|
|
|
margin-top: 1em;
|
2015-11-24 05:45:05 +08:00
|
|
|
}
|
2020-03-10 21:37:54 +08:00
|
|
|
.save-button,
|
2018-06-08 17:49:31 +08:00
|
|
|
.title {
|
2015-11-24 05:45:05 +08:00
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
2019-07-11 21:57:53 +08:00
|
|
|
@include breakpoint(mobile-extra-large) {
|
2018-07-13 13:43:40 +08:00
|
|
|
.title {
|
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
|
|
|
}
|
2015-11-24 05:45:05 +08:00
|
|
|
.go-back {
|
|
|
|
margin-top: 1em;
|
|
|
|
}
|
2023-06-28 19:03:04 +08:00
|
|
|
.desc {
|
|
|
|
padding-top: 3px;
|
|
|
|
font-size: var(--font-down-1);
|
|
|
|
line-height: var(--line-height-large);
|
|
|
|
color: var(--primary-medium);
|
|
|
|
}
|
2023-07-19 23:06:13 +08:00
|
|
|
.outdated {
|
|
|
|
border: 1px solid var(--primary-low);
|
|
|
|
box-sizing: border-box;
|
|
|
|
color: var(--primary);
|
|
|
|
margin-bottom: 1em;
|
|
|
|
max-width: 800px;
|
|
|
|
padding: 1em;
|
|
|
|
|
|
|
|
p {
|
|
|
|
color: var(--primary-high);
|
|
|
|
}
|
|
|
|
}
|
2015-11-24 05:45:05 +08:00
|
|
|
}
|
2019-03-12 00:32:41 +08:00
|
|
|
p.warning {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--danger);
|
2019-03-09 05:13:10 +08:00
|
|
|
}
|
2015-11-24 05:45:05 +08:00
|
|
|
}
|
|
|
|
|
2018-02-15 01:26:05 +08:00
|
|
|
.content-list {
|
|
|
|
width: 27%;
|
|
|
|
float: left;
|
|
|
|
li a span.count {
|
2022-10-12 21:31:59 +08:00
|
|
|
font-size: var(--font-down-1);
|
2018-02-15 01:26:05 +08:00
|
|
|
float: right;
|
|
|
|
margin-right: 10px;
|
2020-08-04 10:57:10 +08:00
|
|
|
background-color: var(--primary-low);
|
2018-02-15 01:26:05 +08:00
|
|
|
padding: 2px 5px;
|
|
|
|
border-radius: 5px;
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary);
|
2018-02-15 01:26:05 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.content-body {
|
|
|
|
float: left;
|
|
|
|
width: 60%;
|
2013-05-08 13:20:38 +08:00
|
|
|
}
|
|
|
|
|
2013-02-06 03:16:51 +08:00
|
|
|
.admin-content {
|
|
|
|
.admin-contents {
|
2018-07-03 11:14:53 +08:00
|
|
|
padding: 0 0 8px 0;
|
2015-03-23 22:23:42 +08:00
|
|
|
@include clearfix();
|
2013-02-06 03:16:51 +08:00
|
|
|
}
|
2014-11-06 03:46:27 +08:00
|
|
|
.view-options {
|
|
|
|
float: right;
|
|
|
|
}
|
2013-03-18 03:02:36 +08:00
|
|
|
table.report {
|
2014-03-27 00:03:58 +08:00
|
|
|
margin-top: 20px;
|
2013-03-18 03:02:36 +08:00
|
|
|
tr {
|
|
|
|
th:nth-of-type(1) {
|
|
|
|
width: 20%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-06-22 04:46:53 +08:00
|
|
|
tr.total-for-period,
|
|
|
|
tr.total {
|
2018-06-22 00:17:22 +08:00
|
|
|
td {
|
|
|
|
font-weight: 700;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-03-16 05:10:45 +08:00
|
|
|
&.web_crawlers {
|
|
|
|
tr {
|
|
|
|
th:nth-of-type(1) {
|
|
|
|
width: 60%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
td.x-value {
|
|
|
|
max-width: 0;
|
2019-11-07 03:00:29 +08:00
|
|
|
@include ellipsis;
|
2018-03-16 05:10:45 +08:00
|
|
|
}
|
|
|
|
}
|
2013-03-18 03:02:36 +08:00
|
|
|
.bar-container {
|
|
|
|
float: left;
|
|
|
|
width: 300px;
|
|
|
|
margin-right: 15px;
|
|
|
|
margin-bottom: 5px;
|
2022-10-12 22:35:51 +08:00
|
|
|
|
2013-03-18 03:02:36 +08:00
|
|
|
.bar {
|
|
|
|
margin-top: 5px;
|
2020-08-04 10:57:10 +08:00
|
|
|
background-color: var(--tertiary);
|
2013-03-18 03:02:36 +08:00
|
|
|
display: inline-block;
|
|
|
|
text-align: right;
|
|
|
|
padding-right: 8px;
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--secondary);
|
2013-03-18 03:02:36 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2013-02-06 03:16:51 +08:00
|
|
|
}
|
|
|
|
|
2017-12-08 02:26:41 +08:00
|
|
|
.full-reason {
|
2017-12-08 02:20:42 +08:00
|
|
|
white-space: pre-wrap;
|
|
|
|
}
|
|
|
|
|
2017-11-25 05:11:34 +08:00
|
|
|
.admin-users .users-list {
|
2019-10-05 01:25:54 +08:00
|
|
|
.username .d-icon {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-medium);
|
2017-11-25 05:11:34 +08:00
|
|
|
}
|
|
|
|
}
|
2024-12-02 07:11:23 +08:00
|
|
|
.admin-users-list {
|
|
|
|
&__search {
|
|
|
|
@media screen and (max-width: 500px) {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
input {
|
|
|
|
min-width: 15em;
|
|
|
|
@media screen and (max-width: 500px) {
|
|
|
|
box-sizing: border-box;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-11-25 05:11:34 +08:00
|
|
|
|
2014-07-08 04:18:18 +08:00
|
|
|
.ip-lookup {
|
2014-06-16 00:14:19 +08:00
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
|
|
|
.location-box {
|
|
|
|
position: absolute;
|
|
|
|
width: 460px;
|
2018-01-25 22:53:36 +08:00
|
|
|
right: 0;
|
2018-01-17 08:05:12 +08:00
|
|
|
z-index: z("dropdown");
|
2023-06-14 04:38:31 +08:00
|
|
|
box-shadow: var(--shadow-card);
|
2014-06-16 00:14:19 +08:00
|
|
|
margin-top: -2px;
|
2020-08-04 10:57:10 +08:00
|
|
|
background-color: var(--secondary);
|
2014-06-16 00:14:19 +08:00
|
|
|
padding: 12px 12px 5px;
|
2017-08-22 02:18:40 +08:00
|
|
|
.powered-by {
|
2022-10-12 21:31:59 +08:00
|
|
|
font-size: var(--font-down-1);
|
2017-08-22 02:18:40 +08:00
|
|
|
position: absolute;
|
|
|
|
bottom: -10px;
|
|
|
|
left: 10px;
|
|
|
|
}
|
2014-11-17 21:51:28 +08:00
|
|
|
.other-accounts {
|
2014-11-21 02:59:20 +08:00
|
|
|
margin: 5px 0 0;
|
2014-11-17 21:51:28 +08:00
|
|
|
max-height: 200px;
|
|
|
|
overflow: auto;
|
2014-11-21 02:59:20 +08:00
|
|
|
width: 455px;
|
2018-06-08 17:49:31 +08:00
|
|
|
ul {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
li {
|
|
|
|
list-style: none;
|
|
|
|
}
|
|
|
|
tr td:first-of-type {
|
|
|
|
width: 130px;
|
|
|
|
}
|
2014-11-17 21:51:28 +08:00
|
|
|
}
|
2014-06-16 00:14:19 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-11-17 03:14:34 +08:00
|
|
|
.admin-container {
|
2024-10-10 09:40:05 +08:00
|
|
|
margin-top: var(--space-4);
|
|
|
|
margin-bottom: var(--space-4);
|
2017-10-20 03:51:08 +08:00
|
|
|
|
2023-06-21 20:13:36 +08:00
|
|
|
.admin-section {
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
2024-08-30 12:53:36 +08:00
|
|
|
&.-no-header {
|
|
|
|
margin-top: 1em;
|
|
|
|
}
|
|
|
|
|
2018-07-03 11:14:53 +08:00
|
|
|
.username {
|
2024-11-25 16:13:35 +08:00
|
|
|
input[type="text"] {
|
2019-01-18 03:39:28 +08:00
|
|
|
min-width: 15em;
|
2018-07-03 11:14:53 +08:00
|
|
|
@media screen and (max-width: 500px) {
|
|
|
|
box-sizing: border-box;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-11-21 18:53:09 +08:00
|
|
|
.select-kit {
|
2017-10-20 03:51:08 +08:00
|
|
|
width: 350px;
|
|
|
|
}
|
2017-11-21 18:53:09 +08:00
|
|
|
.select-kit.multi-select {
|
2017-11-10 02:57:53 +08:00
|
|
|
width: 500px;
|
2017-10-20 03:51:08 +08:00
|
|
|
}
|
2018-02-06 01:25:39 +08:00
|
|
|
.select-kit.dropdown-select-box {
|
2017-11-14 23:55:08 +08:00
|
|
|
width: auto;
|
|
|
|
}
|
2017-11-29 01:54:27 +08:00
|
|
|
.search-logs-filter {
|
2018-07-03 11:14:53 +08:00
|
|
|
margin-left: auto;
|
|
|
|
@media screen and (max-width: 700px) {
|
|
|
|
flex: 1 1 100%;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
2017-11-29 01:54:27 +08:00
|
|
|
}
|
2018-07-03 11:14:53 +08:00
|
|
|
|
2018-01-16 18:29:22 +08:00
|
|
|
.header-search-results {
|
|
|
|
clear: both;
|
|
|
|
padding: 4px;
|
|
|
|
}
|
2021-09-09 23:01:56 +08:00
|
|
|
|
2018-07-03 11:14:53 +08:00
|
|
|
.controls {
|
|
|
|
@include clearfix;
|
2015-11-21 01:30:04 +08:00
|
|
|
}
|
2021-06-24 01:42:16 +08:00
|
|
|
.users-list-container {
|
|
|
|
overflow-x: auto;
|
|
|
|
}
|
2015-08-02 06:00:39 +08:00
|
|
|
}
|
|
|
|
|
2014-11-03 19:46:08 +08:00
|
|
|
.admin-title {
|
2018-07-03 11:14:53 +08:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
align-items: flex-start;
|
2019-03-21 17:25:05 +08:00
|
|
|
.show-emails,
|
|
|
|
.hide-emails {
|
2018-07-03 11:14:53 +08:00
|
|
|
margin-left: auto;
|
|
|
|
}
|
2014-11-03 19:46:08 +08:00
|
|
|
}
|
|
|
|
|
2013-02-06 03:16:51 +08:00
|
|
|
.admin-controls {
|
2018-07-03 11:14:53 +08:00
|
|
|
display: flex;
|
2018-07-05 14:32:27 +08:00
|
|
|
align-items: center;
|
2024-06-24 21:54:34 +08:00
|
|
|
background: var(--primary-low);
|
2018-07-03 11:14:53 +08:00
|
|
|
|
|
|
|
.admin-actions {
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
2018-02-15 01:26:05 +08:00
|
|
|
nav {
|
2020-08-04 10:57:10 +08:00
|
|
|
background-color: var(--primary-low);
|
2018-07-03 11:14:53 +08:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
nav {
|
|
|
|
display: inline-flex;
|
|
|
|
position: relative;
|
2019-01-22 02:40:55 +08:00
|
|
|
flex: 1 0 0px;
|
2018-07-03 11:14:53 +08:00
|
|
|
height: auto;
|
|
|
|
overflow: hidden;
|
|
|
|
padding: 0;
|
|
|
|
height: 100%;
|
2018-07-13 04:38:51 +08:00
|
|
|
@include breakpoint(tablet) {
|
2018-07-03 11:14:53 +08:00
|
|
|
width: calc(100% + 10px);
|
|
|
|
padding-left: 10px;
|
|
|
|
margin-left: -10px;
|
|
|
|
margin-right: -10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
// Fade out sides of horizontal nav
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
width: 10px;
|
|
|
|
left: 0;
|
|
|
|
height: calc(100% - 5px);
|
|
|
|
background: linear-gradient(
|
|
|
|
to right,
|
2020-11-26 21:03:25 +08:00
|
|
|
rgba(var(--primary-low-rgb), 1),
|
|
|
|
rgba(var(--primary-low-rgb), 0)
|
2018-07-03 11:14:53 +08:00
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:after {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
right: 0px;
|
2018-09-10 23:25:41 +08:00
|
|
|
width: 15px;
|
2018-07-03 11:14:53 +08:00
|
|
|
height: calc(100% - 5px);
|
|
|
|
background: linear-gradient(
|
|
|
|
to right,
|
2020-11-26 21:03:25 +08:00
|
|
|
rgba(var(--primary-low-rgb), 0),
|
|
|
|
rgba(var(--primary-low-rgb), 1)
|
2018-07-03 11:14:53 +08:00
|
|
|
);
|
|
|
|
}
|
2018-02-15 01:26:05 +08:00
|
|
|
}
|
2018-07-03 11:14:53 +08:00
|
|
|
|
2018-08-04 05:43:07 +08:00
|
|
|
.nav-pills {
|
2024-06-24 21:54:34 +08:00
|
|
|
width: 100%;
|
2018-07-03 11:14:53 +08:00
|
|
|
display: inline-flex;
|
2024-06-24 21:54:34 +08:00
|
|
|
padding: 0.5em;
|
2018-07-03 11:14:53 +08:00
|
|
|
margin: 0;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow-x: auto;
|
2018-07-13 04:38:51 +08:00
|
|
|
@include breakpoint(tablet) {
|
2018-07-03 11:14:53 +08:00
|
|
|
margin-left: -10px;
|
|
|
|
overflow-x: scroll;
|
|
|
|
-webkit-overflow-scrolling: touch;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
display: none;
|
|
|
|
}
|
2013-02-06 03:16:51 +08:00
|
|
|
}
|
|
|
|
h1 {
|
2022-10-12 21:31:59 +08:00
|
|
|
font-size: var(--font-up-3);
|
2022-10-12 22:05:42 +08:00
|
|
|
line-height: var(--line-height-medium);
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary);
|
2013-02-06 03:16:51 +08:00
|
|
|
}
|
|
|
|
.controls {
|
2020-08-04 10:57:10 +08:00
|
|
|
background: var(--primary-low);
|
2018-07-03 11:14:53 +08:00
|
|
|
width: 100%;
|
|
|
|
padding: 10px;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2021-09-09 23:01:56 +08:00
|
|
|
.inline-form {
|
|
|
|
// Hacky, but fixes email preview summary
|
|
|
|
margin-bottom: -0.5em;
|
|
|
|
> div {
|
|
|
|
margin-right: 0.5em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-07-11 21:57:53 +08:00
|
|
|
@include breakpoint(mobile-extra-large) {
|
2018-07-13 13:43:40 +08:00
|
|
|
margin: 0 -10px;
|
|
|
|
}
|
2018-07-03 11:14:53 +08:00
|
|
|
input {
|
2018-07-13 13:43:40 +08:00
|
|
|
@include breakpoint(tablet) {
|
|
|
|
max-width: 150px;
|
|
|
|
}
|
2018-07-03 11:14:53 +08:00
|
|
|
}
|
|
|
|
&.search {
|
|
|
|
width: auto;
|
|
|
|
white-space: nowrap;
|
|
|
|
label {
|
|
|
|
flex: 1 1 250px;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
input {
|
|
|
|
margin-right: 0.5em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2013-02-06 03:16:51 +08:00
|
|
|
}
|
2021-09-14 01:43:43 +08:00
|
|
|
.menu-toggle {
|
|
|
|
border-color: var(--primary-medium);
|
2015-08-17 01:35:23 +08:00
|
|
|
border-radius: 3px;
|
|
|
|
background: transparent;
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary);
|
2015-08-17 01:35:23 +08:00
|
|
|
&:hover {
|
2020-08-04 10:57:10 +08:00
|
|
|
background-color: var(--primary-low-mid);
|
2015-08-17 01:35:23 +08:00
|
|
|
}
|
2021-09-14 01:43:43 +08:00
|
|
|
|
|
|
|
.not-mobile-device & {
|
|
|
|
display: none;
|
2015-08-17 01:35:23 +08:00
|
|
|
}
|
|
|
|
}
|
2021-09-14 01:43:43 +08:00
|
|
|
|
2013-02-06 03:16:51 +08:00
|
|
|
.result-message {
|
|
|
|
display: inline-block;
|
|
|
|
padding-left: 10px;
|
|
|
|
}
|
2021-09-14 01:43:43 +08:00
|
|
|
|
2013-02-06 03:16:51 +08:00
|
|
|
.search {
|
|
|
|
label {
|
2021-09-14 01:43:43 +08:00
|
|
|
margin-bottom: 0px;
|
2013-02-06 03:16:51 +08:00
|
|
|
}
|
2021-09-14 01:43:43 +08:00
|
|
|
|
|
|
|
// Hide the search checkbox for very small screens
|
2015-08-02 06:00:39 +08:00
|
|
|
// Todo: find somewhere to display it - probably requires switching its order in the html
|
2015-08-31 01:36:54 +08:00
|
|
|
@media (max-width: 550px) {
|
2015-08-02 06:00:39 +08:00
|
|
|
display: none;
|
|
|
|
}
|
2013-02-06 03:16:51 +08:00
|
|
|
}
|
2021-09-14 01:43:43 +08:00
|
|
|
|
2013-06-04 04:12:24 +08:00
|
|
|
.toggle {
|
|
|
|
span {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
label {
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
2023-02-17 23:21:30 +08:00
|
|
|
|
|
|
|
.horizontal-overflow-nav__scroll-right,
|
|
|
|
.horizontal-overflow-nav__scroll-left {
|
|
|
|
--fade-color: var(--primary-low-rgb);
|
|
|
|
background: var(--primary-low);
|
|
|
|
}
|
2015-10-27 03:56:59 +08:00
|
|
|
}
|
|
|
|
|
2018-06-08 17:49:31 +08:00
|
|
|
.badges,
|
|
|
|
.web-hook-container {
|
2021-09-20 21:52:03 +08:00
|
|
|
input[type="text"],
|
|
|
|
textarea {
|
|
|
|
min-width: 350px;
|
2015-01-06 01:51:45 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-06-16 01:49:57 +08:00
|
|
|
.text-successful {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--success);
|
2016-06-16 01:49:57 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.text-danger {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--danger);
|
2016-06-16 01:49:57 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.text-muted {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-medium);
|
2016-06-16 01:49:57 +08:00
|
|
|
}
|
|
|
|
|
2015-02-07 06:32:59 +08:00
|
|
|
.admin-nav {
|
2020-09-17 23:45:32 +08:00
|
|
|
width: 18%;
|
|
|
|
box-sizing: border-box;
|
2018-07-03 11:14:53 +08:00
|
|
|
position: relative; // The admin-nav becomes a slide-out menu at the mobile-nav breakpoint
|
2015-08-02 06:00:39 +08:00
|
|
|
@media (max-width: $mobile-breakpoint) {
|
2015-11-13 02:01:12 +08:00
|
|
|
position: absolute;
|
2018-01-17 08:05:12 +08:00
|
|
|
z-index: z("base") - 1;
|
2018-07-03 11:14:53 +08:00
|
|
|
width: 250px;
|
|
|
|
}
|
|
|
|
@media (max-width: 500px) {
|
2015-08-17 01:35:23 +08:00
|
|
|
width: 50%;
|
2015-08-02 06:00:39 +08:00
|
|
|
}
|
2024-02-17 05:28:25 +08:00
|
|
|
.nav-stacked {
|
|
|
|
background-color: inherit;
|
|
|
|
|
|
|
|
a.active {
|
2024-02-20 09:25:35 +08:00
|
|
|
color: var(--primary);
|
2024-02-17 05:28:25 +08:00
|
|
|
background-color: initial;
|
|
|
|
font-weight: 700;
|
2024-06-24 21:54:34 +08:00
|
|
|
border-right: 4px solid var(--d-nav-color--active);
|
2024-02-17 05:28:25 +08:00
|
|
|
|
|
|
|
&::after {
|
|
|
|
display: none; // Hides the arrow
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2013-11-15 04:26:48 +08:00
|
|
|
}
|
|
|
|
|
2015-02-07 06:32:59 +08:00
|
|
|
.admin-detail {
|
2020-09-17 23:45:32 +08:00
|
|
|
background-color: var(--secondary);
|
2013-11-17 03:14:34 +08:00
|
|
|
margin-left: 0;
|
2020-08-04 10:57:10 +08:00
|
|
|
border-left: solid 1px var(--primary-low);
|
2013-11-17 03:14:34 +08:00
|
|
|
padding: 30px 0 30px 30px;
|
2020-09-17 23:45:32 +08:00
|
|
|
width: 82%;
|
|
|
|
box-sizing: border-box;
|
2015-08-02 06:00:39 +08:00
|
|
|
@media (max-width: $mobile-breakpoint) {
|
2024-07-19 07:52:15 +08:00
|
|
|
width: 100%;
|
2015-08-17 01:35:23 +08:00
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.admin-detail.mobile-open {
|
|
|
|
@media (max-width: $mobile-breakpoint) {
|
2018-07-03 11:14:53 +08:00
|
|
|
transition: transform 0.3s ease;
|
|
|
|
@include transform(translateX(250px));
|
|
|
|
}
|
|
|
|
@media (max-width: 500px) {
|
2015-08-31 01:30:56 +08:00
|
|
|
transition: transform 0.3s ease;
|
2015-08-31 01:02:12 +08:00
|
|
|
@include transform(translateX(50%));
|
2015-08-17 01:35:23 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.admin-detail.mobile-closed {
|
|
|
|
@media (max-width: $mobile-breakpoint) {
|
2015-08-31 01:30:56 +08:00
|
|
|
transition: transform 0.3s ease;
|
2015-08-31 01:02:12 +08:00
|
|
|
@include transform(translateX(0));
|
2024-07-19 07:52:15 +08:00
|
|
|
padding: 30px 20px;
|
2018-05-16 21:37:40 +08:00
|
|
|
}
|
2013-02-06 03:16:51 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
section.details {
|
|
|
|
h1 {
|
2022-10-12 21:31:59 +08:00
|
|
|
font-size: var(--font-up-3);
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary);
|
2014-08-28 01:52:01 +08:00
|
|
|
padding: 5px 10px;
|
|
|
|
margin: 30px 0 5px 0;
|
2020-08-04 10:57:10 +08:00
|
|
|
border-bottom: 5px solid var(--primary-low);
|
2013-02-06 03:16:51 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-08-28 01:52:01 +08:00
|
|
|
.user-controls {
|
|
|
|
padding: 5px;
|
|
|
|
clear: both;
|
|
|
|
text-align: right;
|
2019-01-23 03:00:38 +08:00
|
|
|
.btn {
|
2022-10-12 22:05:42 +08:00
|
|
|
line-height: var(--line-height-medium);
|
2019-01-23 03:00:38 +08:00
|
|
|
}
|
2017-05-30 02:13:22 +08:00
|
|
|
@media (max-width: $mobile-breakpoint) {
|
|
|
|
.btn {
|
|
|
|
margin: 2px;
|
|
|
|
}
|
|
|
|
}
|
2014-08-28 01:52:01 +08:00
|
|
|
}
|
|
|
|
|
2018-07-03 11:14:53 +08:00
|
|
|
.row.groups {
|
|
|
|
input[type="text"] {
|
|
|
|
width: 500px;
|
|
|
|
}
|
|
|
|
input#group-users {
|
|
|
|
width: 600px;
|
2017-04-21 10:18:01 +08:00
|
|
|
}
|
2014-09-25 14:38:44 +08:00
|
|
|
}
|
|
|
|
|
2018-07-03 11:14:53 +08:00
|
|
|
// Ember.ListView
|
|
|
|
.ember-list-view {
|
|
|
|
overflow-y: auto;
|
|
|
|
overflow-x: hidden;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ember-list-item-view {
|
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tl3-requirements {
|
|
|
|
.d-icon-check {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--success);
|
2013-02-06 03:16:51 +08:00
|
|
|
}
|
2024-09-13 23:50:52 +08:00
|
|
|
.d-icon-xmark {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--danger);
|
2013-11-06 03:41:04 +08:00
|
|
|
}
|
2018-07-03 11:14:53 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
@media all and (min-width: 320px) and (max-width: 500px) {
|
|
|
|
.full-width {
|
|
|
|
margin: 0;
|
2018-06-08 17:49:31 +08:00
|
|
|
}
|
|
|
|
.site-settings-nav {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
.site-settings-detail {
|
|
|
|
width: 100%;
|
|
|
|
padding: 0;
|
|
|
|
border: none;
|
|
|
|
.settings .setting {
|
2014-07-23 04:30:32 +08:00
|
|
|
.setting-label {
|
2018-06-08 17:49:31 +08:00
|
|
|
float: left;
|
|
|
|
width: 100%;
|
|
|
|
h3 {
|
|
|
|
margin-bottom: 5px;
|
|
|
|
font-weight: bold;
|
|
|
|
margin-top: 25px;
|
2014-07-23 04:30:32 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.setting-value {
|
|
|
|
width: 100%;
|
2018-06-08 17:49:31 +08:00
|
|
|
}
|
2014-07-23 04:30:32 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.content-editor {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
div.ac-wrap {
|
|
|
|
width: 100% !important;
|
|
|
|
box-sizing: border-box;
|
2017-06-29 03:36:34 +08:00
|
|
|
}
|
2014-07-23 04:30:32 +08:00
|
|
|
|
2018-06-08 17:49:31 +08:00
|
|
|
.dashboard-left,
|
|
|
|
.dashboard-right {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
.dashboard-stats {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2014-07-23 04:30:32 +08:00
|
|
|
.badges {
|
2018-06-08 17:49:31 +08:00
|
|
|
.current-badge {
|
|
|
|
margin: 70px 0 0 0;
|
|
|
|
}
|
|
|
|
.current-badge-actions {
|
|
|
|
padding: 0;
|
|
|
|
}
|
2014-07-23 04:30:32 +08:00
|
|
|
}
|
2018-06-08 17:49:31 +08:00
|
|
|
.customize .content-list,
|
|
|
|
.customize .current-style {
|
2014-07-23 04:30:32 +08:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
2014-07-27 16:22:01 +08:00
|
|
|
|
2023-03-03 04:10:19 +08:00
|
|
|
.directory-table {
|
|
|
|
.not-activated {
|
|
|
|
.directory-table__cell {
|
|
|
|
&,
|
|
|
|
a,
|
|
|
|
a:visited {
|
|
|
|
color: #bbb;
|
|
|
|
}
|
|
|
|
}
|
2014-09-03 22:41:13 +08:00
|
|
|
}
|
2014-09-08 10:46:04 +08:00
|
|
|
}
|
2014-09-25 23:32:08 +08:00
|
|
|
|
2015-01-29 11:53:02 +08:00
|
|
|
.preview {
|
2018-06-08 17:49:31 +08:00
|
|
|
margin-top: 5px;
|
2015-01-29 11:53:02 +08:00
|
|
|
}
|
2015-02-25 09:52:43 +08:00
|
|
|
|
|
|
|
table#user-badges {
|
|
|
|
.reason {
|
|
|
|
max-width: 200px;
|
|
|
|
}
|
|
|
|
}
|
2015-03-03 01:12:19 +08:00
|
|
|
|
2018-10-15 13:03:53 +08:00
|
|
|
@mixin value-btn {
|
|
|
|
width: 29px;
|
2020-08-04 10:57:10 +08:00
|
|
|
border: 1px solid var(--primary-low);
|
2018-10-15 13:03:53 +08:00
|
|
|
outline: none;
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
&:focus {
|
2020-08-04 10:57:10 +08:00
|
|
|
border-color: var(--tertiary);
|
2018-10-15 13:03:53 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-06-10 00:19:41 +08:00
|
|
|
.value-list {
|
|
|
|
.value {
|
2018-08-04 04:41:37 +08:00
|
|
|
padding: 0.125em 0;
|
2019-11-07 03:00:29 +08:00
|
|
|
@include ellipsis;
|
2018-08-04 04:41:37 +08:00
|
|
|
display: flex;
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.value-input {
|
|
|
|
box-sizing: border-box;
|
2019-01-22 02:40:55 +08:00
|
|
|
flex: 1 0 0px;
|
2020-08-04 10:57:10 +08:00
|
|
|
border-color: var(--primary-low);
|
2018-08-04 04:41:37 +08:00
|
|
|
cursor: pointer;
|
|
|
|
margin: 0;
|
|
|
|
|
|
|
|
&:focus {
|
2020-08-04 10:57:10 +08:00
|
|
|
border-color: var(--tertiary);
|
2018-08-04 04:41:37 +08:00
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.remove-value-btn {
|
2018-10-15 13:03:53 +08:00
|
|
|
@include value-btn;
|
2018-08-04 04:41:37 +08:00
|
|
|
margin-right: 0.25em;
|
|
|
|
}
|
2022-02-04 05:47:02 +08:00
|
|
|
|
|
|
|
.shift-up-value-btn,
|
|
|
|
.shift-down-value-btn {
|
|
|
|
display: none;
|
|
|
|
margin-inline: 0.25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
.shift-up-value-btn,
|
|
|
|
.shift-down-value-btn {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
2015-03-03 01:12:19 +08:00
|
|
|
}
|
2015-06-10 00:19:41 +08:00
|
|
|
.values {
|
2018-08-04 04:41:37 +08:00
|
|
|
margin-bottom: 0.5em;
|
2015-03-03 01:12:19 +08:00
|
|
|
}
|
|
|
|
}
|
2015-07-15 20:54:28 +08:00
|
|
|
|
2021-04-07 21:32:05 +08:00
|
|
|
.emoji-value-list {
|
|
|
|
margin-left: 0;
|
|
|
|
|
|
|
|
.emoji-details {
|
2021-09-09 23:01:56 +08:00
|
|
|
@include form-item-sizing;
|
2021-04-07 21:32:05 +08:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
min-height: 30px;
|
|
|
|
color: var(--primary);
|
2021-09-09 23:01:56 +08:00
|
|
|
border-color: var(--primary-low);
|
|
|
|
padding-left: 10px;
|
|
|
|
padding-right: 10px;
|
2021-04-07 21:32:05 +08:00
|
|
|
|
|
|
|
.emoji-name {
|
|
|
|
margin-left: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:not(.can-edit) {
|
|
|
|
pointer-events: none;
|
|
|
|
background-color: var(--primary-very-low);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.value-input {
|
|
|
|
flex-direction: row;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.value .add-emoji-button {
|
|
|
|
display: block;
|
|
|
|
background-color: var(--primary-low);
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.value .add-value-btn,
|
|
|
|
.shift-up-value-btn,
|
|
|
|
.shift-down-value-btn {
|
|
|
|
@include value-btn;
|
|
|
|
margin-right: 0 !important;
|
|
|
|
margin-left: 0.25em;
|
|
|
|
}
|
|
|
|
|
2018-10-15 13:03:53 +08:00
|
|
|
.secret-value-list {
|
|
|
|
.value {
|
|
|
|
flex-flow: row wrap;
|
|
|
|
margin-left: -0.25em;
|
|
|
|
margin-top: -0.125em;
|
|
|
|
.new-value-input {
|
2019-01-22 02:40:55 +08:00
|
|
|
flex: 1 0 0px;
|
2018-10-15 13:03:53 +08:00
|
|
|
}
|
|
|
|
.value-input,
|
|
|
|
.new-value-input {
|
|
|
|
margin-top: 0.125em;
|
|
|
|
&:last-of-type {
|
|
|
|
margin-left: 0.25em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.remove-value-btn {
|
|
|
|
margin-left: 0.25em;
|
|
|
|
margin-top: 0.125em;
|
|
|
|
}
|
|
|
|
.add-value-btn {
|
|
|
|
@include value-btn;
|
|
|
|
margin-left: 0.25em;
|
|
|
|
margin-top: 0.125em;
|
|
|
|
}
|
2018-11-05 04:18:58 +08:00
|
|
|
.new-value-input {
|
|
|
|
margin-left: 0.25em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mobile-view .secret-value-list {
|
|
|
|
.add-value-btn {
|
|
|
|
margin-bottom: 9px;
|
|
|
|
}
|
|
|
|
.value {
|
|
|
|
.value-input:last-of-type {
|
|
|
|
margin-left: 2.35em;
|
|
|
|
}
|
|
|
|
.new-value-input:first-of-type {
|
|
|
|
margin-right: 2.15em;
|
|
|
|
margin-left: 0.25em;
|
2018-10-15 13:03:53 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-06-04 22:44:54 +08:00
|
|
|
.simple-list-input {
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
.add-value-input {
|
|
|
|
margin: 0;
|
|
|
|
box-sizing: border-box;
|
|
|
|
flex: 1 0 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.add-value-btn {
|
|
|
|
margin-left: 0.25em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-08-02 06:00:39 +08:00
|
|
|
.mobile-view .full-width {
|
|
|
|
margin: 0;
|
2015-08-19 02:13:40 +08:00
|
|
|
}
|
2015-08-21 04:30:34 +08:00
|
|
|
|
2016-03-05 01:03:47 +08:00
|
|
|
// Mobile specific style for Admin IP Lookup box
|
|
|
|
.mobile-view .admin-contents .ip-lookup .location-box {
|
|
|
|
width: 300px;
|
2017-04-21 10:18:01 +08:00
|
|
|
left: -100%;
|
2016-03-05 01:03:47 +08:00
|
|
|
}
|
|
|
|
|
2017-04-12 22:52:52 +08:00
|
|
|
.inline-edit label {
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: 20px;
|
|
|
|
}
|
|
|
|
|
2020-02-11 22:55:16 +08:00
|
|
|
a.inline-editable-field {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary);
|
2020-02-11 22:55:16 +08:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2018-07-03 11:14:53 +08:00
|
|
|
// Styles for subtabs in admin
|
2019-04-01 18:39:49 +08:00
|
|
|
@import "common/admin/dashboard";
|
2024-07-15 14:31:16 +08:00
|
|
|
@import "common/admin/sidebar";
|
2018-07-03 11:14:53 +08:00
|
|
|
@import "common/admin/settings";
|
|
|
|
@import "common/admin/users";
|
2022-12-08 20:42:33 +08:00
|
|
|
@import "common/admin/penalty";
|
2018-07-03 11:14:53 +08:00
|
|
|
@import "common/admin/badges";
|
|
|
|
@import "common/admin/emails";
|
2024-05-29 12:39:58 +08:00
|
|
|
@import "common/admin/flags";
|
2024-11-25 11:54:43 +08:00
|
|
|
@import "common/admin/user_fields";
|
2022-05-05 09:52:58 +08:00
|
|
|
@import "common/admin/json_schema_editor";
|
2024-03-15 07:47:42 +08:00
|
|
|
@import "common/admin/schema_field";
|
2018-07-03 11:14:53 +08:00
|
|
|
@import "common/admin/staff_logs";
|
|
|
|
@import "common/admin/customize";
|
2019-02-21 03:58:31 +08:00
|
|
|
@import "common/admin/customize-install-theme";
|
2018-07-03 11:14:53 +08:00
|
|
|
@import "common/admin/api";
|
|
|
|
@import "common/admin/backups";
|
|
|
|
@import "common/admin/plugins";
|
2024-09-30 14:04:46 +08:00
|
|
|
@import "common/admin/site-settings";
|
2024-06-03 15:18:14 +08:00
|
|
|
@import "common/admin/admin_config_area";
|
2024-10-22 08:19:21 +08:00
|
|
|
@import "common/admin/admin_table";
|
2024-12-03 15:22:13 +08:00
|
|
|
@import "common/admin/admin_filter";
|
2018-07-03 11:14:53 +08:00
|
|
|
@import "common/admin/admin_reports";
|
2018-07-20 02:33:11 +08:00
|
|
|
@import "common/admin/admin_report";
|
2018-08-07 04:57:40 +08:00
|
|
|
@import "common/admin/admin_report_counters";
|
2018-07-20 02:33:11 +08:00
|
|
|
@import "common/admin/admin_report_chart";
|
2023-11-08 21:48:12 +08:00
|
|
|
@import "common/admin/admin_report_radar";
|
2019-01-21 22:17:04 +08:00
|
|
|
@import "common/admin/admin_report_stacked_chart";
|
2024-08-03 00:40:27 +08:00
|
|
|
@import "common/admin/admin_report_stacked_line_chart";
|
2018-07-20 02:33:11 +08:00
|
|
|
@import "common/admin/admin_report_table";
|
|
|
|
@import "common/admin/admin_report_inline_table";
|
2024-10-02 10:19:38 +08:00
|
|
|
@import "common/admin/admin_section_landing_page";
|
2024-08-20 07:59:43 +08:00
|
|
|
@import "common/admin/admin_page_header";
|
2019-04-10 08:32:24 +08:00
|
|
|
@import "common/admin/admin_intro";
|
2021-11-16 02:39:11 +08:00
|
|
|
@import "common/admin/mini_profiler";
|
2024-03-18 10:03:30 +08:00
|
|
|
@import "common/admin/schema_theme_setting_editor";
|
|
|
|
@import "common/admin/customize_themes_show_schema";
|
2024-11-25 16:13:35 +08:00
|
|
|
@import "common/admin/admin_bulk_users_delete_modal";
|