2021-08-02 22:15:53 +08:00
|
|
|
// Customize area
|
2018-07-03 11:14:53 +08:00
|
|
|
|
|
|
|
.email-template {
|
|
|
|
input {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
label {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-08-24 09:30:00 +08:00
|
|
|
.create-theme-modal {
|
|
|
|
div.input {
|
|
|
|
margin-bottom: 12px;
|
|
|
|
.label {
|
|
|
|
width: 20%;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
}
|
2018-08-31 03:23:15 +08:00
|
|
|
|
|
|
|
.error {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--danger);
|
2018-08-31 03:23:15 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-07-28 01:48:59 +08:00
|
|
|
.settings-editor {
|
|
|
|
.ace-wrapper {
|
|
|
|
position: relative;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
min-height: 300px;
|
|
|
|
.ace_editor {
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.theme-settings-editor-dialog {
|
|
|
|
.dialog-footer {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-08-31 03:23:15 +08:00
|
|
|
.admin-customize.admin-customize-themes {
|
|
|
|
.admin-container {
|
|
|
|
padding: 0;
|
|
|
|
}
|
2022-08-10 18:30:18 +08:00
|
|
|
.error-message,
|
|
|
|
.raw-error {
|
2018-09-08 21:24:11 +08:00
|
|
|
margin-top: 5px;
|
|
|
|
margin-bottom: 5px;
|
2022-08-10 18:30:18 +08:00
|
|
|
}
|
|
|
|
.error-message {
|
2018-09-08 21:24:11 +08:00
|
|
|
.fa {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--danger);
|
2018-09-08 21:24:11 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.raw-error {
|
2020-08-04 10:57:10 +08:00
|
|
|
background-color: var(--primary-very-low);
|
2018-09-08 21:24:11 +08:00
|
|
|
padding: 5px;
|
|
|
|
}
|
2018-08-24 09:30:00 +08:00
|
|
|
}
|
|
|
|
|
2017-10-31 02:13:49 +08:00
|
|
|
.admin-customize {
|
2017-04-18 03:56:13 +08:00
|
|
|
h1 {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
input {
|
|
|
|
margin-bottom: 0;
|
2022-10-12 21:31:59 +08:00
|
|
|
font-size: var(--font-down-2);
|
2021-09-14 01:43:57 +08:00
|
|
|
.ios-device & {
|
|
|
|
font-size: var(--font-down-2);
|
|
|
|
}
|
2017-12-22 06:13:06 +08:00
|
|
|
}
|
2017-04-18 03:56:13 +08:00
|
|
|
}
|
2017-04-20 03:24:00 +08:00
|
|
|
|
2021-05-11 21:01:06 +08:00
|
|
|
.field-error,
|
|
|
|
.field-warning {
|
2017-04-20 04:46:28 +08:00
|
|
|
margin-top: 10px;
|
|
|
|
margin-bottom: 10px;
|
2021-05-11 21:01:06 +08:00
|
|
|
background-color: var(--danger-low-mid);
|
|
|
|
padding: 10px;
|
2021-02-12 04:48:57 +08:00
|
|
|
white-space: pre-wrap;
|
2017-04-20 04:46:28 +08:00
|
|
|
}
|
|
|
|
|
2021-05-11 21:01:06 +08:00
|
|
|
.field-warning {
|
2023-02-21 17:15:49 +08:00
|
|
|
background-color: var(--highlight-bg);
|
2021-05-11 21:01:06 +08:00
|
|
|
}
|
|
|
|
|
2017-04-12 22:52:52 +08:00
|
|
|
.admin-container {
|
|
|
|
padding-left: 10px;
|
|
|
|
padding-right: 10px;
|
|
|
|
}
|
|
|
|
.admin-footer {
|
|
|
|
margin-top: 20px;
|
|
|
|
}
|
2018-02-26 18:42:57 +08:00
|
|
|
.color-schemes li {
|
2019-10-05 01:25:54 +08:00
|
|
|
.d-icon {
|
|
|
|
margin-right: 0.25em;
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-medium);
|
2017-04-19 23:06:06 +08:00
|
|
|
}
|
|
|
|
}
|
2017-04-12 22:52:52 +08:00
|
|
|
.show-current-style {
|
2018-09-10 02:48:08 +08:00
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
|
|
|
|
2018-08-31 03:23:15 +08:00
|
|
|
.title {
|
2022-10-12 21:31:59 +08:00
|
|
|
font-size: var(--font-up-4);
|
2018-08-31 03:23:15 +08:00
|
|
|
font-weight: bold;
|
2020-08-25 10:51:58 +08:00
|
|
|
margin-bottom: 0.25em;
|
|
|
|
display: flex;
|
2021-09-14 01:43:57 +08:00
|
|
|
align-items: center;
|
2020-08-25 10:51:58 +08:00
|
|
|
|
2023-10-18 21:41:21 +08:00
|
|
|
span {
|
|
|
|
min-width: 0;
|
|
|
|
overflow-wrap: anywhere;
|
|
|
|
}
|
2020-08-25 10:51:58 +08:00
|
|
|
input {
|
|
|
|
margin: 0;
|
2019-02-08 11:27:35 +08:00
|
|
|
}
|
|
|
|
.btn {
|
2020-08-25 10:51:58 +08:00
|
|
|
margin-left: 0.5em;
|
|
|
|
}
|
|
|
|
a {
|
2022-10-12 21:31:59 +08:00
|
|
|
font-size: var(--font-down-2);
|
2019-02-08 11:27:35 +08:00
|
|
|
}
|
2017-04-12 22:52:52 +08:00
|
|
|
}
|
2019-01-25 22:19:01 +08:00
|
|
|
|
|
|
|
.theme-description {
|
|
|
|
display: block;
|
|
|
|
margin: 10px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.metadata {
|
|
|
|
.authors,
|
|
|
|
.version {
|
|
|
|
display: block;
|
|
|
|
|
|
|
|
.heading {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-03-01 01:01:59 +08:00
|
|
|
div.remote-url {
|
2022-10-12 21:31:59 +08:00
|
|
|
font-size: var(--font-down-1);
|
2019-03-01 01:01:59 +08:00
|
|
|
margin-bottom: 7px;
|
|
|
|
}
|
|
|
|
|
|
|
|
a.remote-url,
|
|
|
|
a.about-url,
|
|
|
|
a.license-url {
|
2019-01-25 22:19:01 +08:00
|
|
|
display: inline-block;
|
|
|
|
margin-right: 10px;
|
2019-11-28 13:19:01 +08:00
|
|
|
.d-icon {
|
|
|
|
margin-left: 5px;
|
|
|
|
}
|
2019-01-17 00:09:16 +08:00
|
|
|
}
|
2019-01-25 22:19:01 +08:00
|
|
|
|
2018-08-31 03:23:15 +08:00
|
|
|
.mini-title {
|
2022-10-12 21:31:59 +08:00
|
|
|
font-size: var(--font-up-1);
|
2018-08-31 03:23:15 +08:00
|
|
|
font-weight: bold;
|
|
|
|
margin-bottom: 7px;
|
|
|
|
}
|
|
|
|
.control-unit {
|
2020-08-25 10:51:58 +08:00
|
|
|
margin-top: 0.5em;
|
|
|
|
margin-bottom: 2em;
|
2024-03-19 00:00:28 +08:00
|
|
|
|
|
|
|
.translation-selector-container {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
width: 79.7%;
|
|
|
|
|
|
|
|
@media screen and (max-width: 700px) {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (min-width: 700px) and (max-width: 768px) {
|
|
|
|
width: 73%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.translation-selector {
|
|
|
|
width: auto;
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
}
|
2018-08-31 03:23:15 +08:00
|
|
|
}
|
|
|
|
.control {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
.description {
|
|
|
|
margin-bottom: 12px;
|
|
|
|
}
|
2020-08-25 10:51:58 +08:00
|
|
|
.theme-controls {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
.btn {
|
|
|
|
margin: 0 0.5em 0.5em 0;
|
|
|
|
}
|
|
|
|
}
|
2020-08-28 22:36:52 +08:00
|
|
|
|
|
|
|
&.color-scheme .admin-controls {
|
2023-08-29 20:47:12 +08:00
|
|
|
display: flex;
|
2021-09-14 01:43:43 +08:00
|
|
|
padding: 1em;
|
|
|
|
label {
|
|
|
|
margin-bottom: 0;
|
|
|
|
input[type="checkbox"] {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
}
|
2023-08-29 20:47:12 +08:00
|
|
|
.pull-left {
|
|
|
|
width: 70%;
|
|
|
|
}
|
|
|
|
.pull-right {
|
|
|
|
width: 30%;
|
|
|
|
}
|
2020-08-28 22:36:52 +08:00
|
|
|
}
|
2018-08-24 09:30:00 +08:00
|
|
|
}
|
2018-09-07 02:56:00 +08:00
|
|
|
.add-component-button {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
2018-08-24 09:30:00 +08:00
|
|
|
.themes-list {
|
2018-09-10 02:48:08 +08:00
|
|
|
display: inline-block;
|
2019-02-08 11:27:35 +08:00
|
|
|
.create-actions {
|
|
|
|
margin-top: 0.5em;
|
|
|
|
}
|
2018-08-24 09:30:00 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.themes-list-header {
|
2018-08-31 03:23:15 +08:00
|
|
|
width: 100%;
|
2020-02-11 22:55:16 +08:00
|
|
|
display: flex;
|
2024-06-24 21:54:34 +08:00
|
|
|
border: 1px solid var(--primary-low);
|
2018-08-31 03:23:15 +08:00
|
|
|
.tab {
|
2022-02-02 03:07:23 +08:00
|
|
|
border: none;
|
2020-02-11 22:55:16 +08:00
|
|
|
padding: 1em;
|
2018-08-31 03:23:15 +08:00
|
|
|
width: 50%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
text-align: center;
|
2024-06-24 21:54:34 +08:00
|
|
|
background: var(--d-nav-bg-color);
|
2023-08-26 05:09:18 +08:00
|
|
|
&.themes-tab {
|
2024-06-24 21:54:34 +08:00
|
|
|
border-top-right-radius: 0;
|
|
|
|
border-bottom-left-radius: 0;
|
|
|
|
border-bottom-right-radius: 0;
|
2023-08-26 05:09:18 +08:00
|
|
|
}
|
|
|
|
&.components-tab {
|
2024-06-24 21:54:34 +08:00
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-bottom-left-radius: 0;
|
|
|
|
border-bottom-right-radius: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.discourse-no-touch & {
|
|
|
|
&:focus,
|
|
|
|
&:hover {
|
|
|
|
color: var(--d-nav-color--hover);
|
|
|
|
background: var(--d-nav-bg-color--hover);
|
|
|
|
&.active {
|
|
|
|
color: var(--d-nav-color--active);
|
|
|
|
background: var(--d-nav-bg-color--active);
|
|
|
|
}
|
|
|
|
.d-icon {
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
}
|
2023-08-26 05:09:18 +08:00
|
|
|
}
|
2018-08-31 03:23:15 +08:00
|
|
|
|
|
|
|
&.active {
|
2024-06-24 21:54:34 +08:00
|
|
|
position: relative;
|
|
|
|
@include nav-active();
|
2018-08-31 03:23:15 +08:00
|
|
|
}
|
|
|
|
}
|
2023-04-08 05:16:44 +08:00
|
|
|
|
|
|
|
.d-button-label {
|
|
|
|
@include ellipsis;
|
|
|
|
}
|
2018-08-24 09:30:00 +08:00
|
|
|
}
|
2024-01-04 13:00:25 +08:00
|
|
|
.themes-list-search {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
position: sticky;
|
|
|
|
top: 0;
|
|
|
|
z-index: z("base");
|
|
|
|
height: 3em;
|
|
|
|
background: var(--primary-very-low);
|
|
|
|
|
|
|
|
.d-icon {
|
|
|
|
position: absolute;
|
|
|
|
padding-left: 0.5em;
|
|
|
|
}
|
|
|
|
&__input {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
margin: 0;
|
|
|
|
border: 0;
|
|
|
|
padding-left: 2em;
|
|
|
|
background-color: var(--primary-very-low);
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
outline: 0;
|
|
|
|
|
|
|
|
~ .d-icon {
|
|
|
|
color: var(--tertiary-hover);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.themes-list-filter {
|
|
|
|
padding-left: 0.67em;
|
|
|
|
display: flex;
|
|
|
|
height: 3em;
|
|
|
|
align-items: center;
|
|
|
|
background-color: var(--primary-very-low);
|
|
|
|
|
|
|
|
&__label {
|
|
|
|
white-space: nowrap;
|
|
|
|
margin-right: 1em;
|
|
|
|
}
|
|
|
|
&__input {
|
|
|
|
margin-right: 0.5em;
|
|
|
|
summary {
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.themes-list-filter,
|
|
|
|
.themes-list-search {
|
|
|
|
color: var(--primary);
|
|
|
|
border-bottom: 1px solid var(--primary-low);
|
|
|
|
display: flex;
|
|
|
|
border-right: 1px solid var(--primary-low);
|
|
|
|
border-bottom: 1px solid var(--primary-low);
|
|
|
|
border-left: 1px solid var(--primary-low);
|
|
|
|
}
|
2018-08-24 09:30:00 +08:00
|
|
|
|
|
|
|
.themes-list-container {
|
2024-01-04 13:00:25 +08:00
|
|
|
overflow-y: auto;
|
2022-02-02 03:07:23 +08:00
|
|
|
box-sizing: border-box;
|
2019-02-08 11:27:35 +08:00
|
|
|
max-height: 60vh;
|
2023-08-26 05:09:18 +08:00
|
|
|
border-bottom-right-radius: var(--d-border-radius);
|
|
|
|
border-bottom-left-radius: var(--d-border-radius);
|
2019-02-08 11:27:35 +08:00
|
|
|
@media screen and (max-height: 1000px) {
|
|
|
|
max-height: 50vh;
|
|
|
|
}
|
|
|
|
@media screen and (max-height: 800px) {
|
|
|
|
max-height: 40vh;
|
|
|
|
}
|
2020-08-04 10:57:10 +08:00
|
|
|
border-right: 1px solid var(--primary-low);
|
|
|
|
border-bottom: 1px solid var(--primary-low);
|
2022-02-02 03:07:23 +08:00
|
|
|
border-left: 1px solid var(--primary-low);
|
2019-02-08 11:27:35 +08:00
|
|
|
width: 100%;
|
2018-08-24 09:30:00 +08:00
|
|
|
|
2024-01-04 11:29:08 +08:00
|
|
|
&__item:last-child {
|
2018-08-31 03:23:15 +08:00
|
|
|
border-bottom: none;
|
2018-08-24 09:30:00 +08:00
|
|
|
}
|
2024-01-04 11:29:08 +08:00
|
|
|
&__item {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary);
|
|
|
|
border-bottom: 1px solid var(--primary-low);
|
2018-08-24 09:30:00 +08:00
|
|
|
display: flex;
|
|
|
|
|
2023-10-09 05:35:53 +08:00
|
|
|
.select-inactive-mode-label {
|
|
|
|
color: var(--tertiary);
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2023-03-11 04:15:31 +08:00
|
|
|
&.inactive-theme {
|
|
|
|
color: var(--primary-high);
|
|
|
|
background: var(--primary-very-low);
|
|
|
|
&:not(.selected):hover {
|
|
|
|
color: var(--primary);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-09-07 02:56:00 +08:00
|
|
|
&.inactive-indicator {
|
|
|
|
border-right: 0;
|
|
|
|
border-left: 0;
|
2023-03-11 04:15:31 +08:00
|
|
|
margin-top: 1em;
|
|
|
|
padding-left: 0.33em;
|
2018-09-07 02:56:00 +08:00
|
|
|
|
|
|
|
span.empty {
|
2023-03-11 04:15:31 +08:00
|
|
|
padding-left: 0.33em;
|
|
|
|
padding-top: 1em;
|
2018-09-07 02:56:00 +08:00
|
|
|
}
|
2023-10-09 05:35:53 +08:00
|
|
|
.btn.select-inactive-mode {
|
|
|
|
padding-left: 0;
|
|
|
|
padding-top: 0;
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
2018-09-07 02:56:00 +08:00
|
|
|
}
|
|
|
|
&:not(.inactive-indicator):not(.selected):hover {
|
2020-08-04 10:57:10 +08:00
|
|
|
background-color: var(--primary-very-low);
|
2018-08-31 03:23:15 +08:00
|
|
|
.component {
|
2020-08-04 10:57:10 +08:00
|
|
|
border-color: var(--primary-low-mid);
|
2018-08-31 03:23:15 +08:00
|
|
|
}
|
2018-08-24 09:30:00 +08:00
|
|
|
}
|
2018-09-07 02:56:00 +08:00
|
|
|
|
|
|
|
&.selected {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--secondary);
|
|
|
|
background-color: var(--tertiary);
|
2019-01-26 06:25:12 +08:00
|
|
|
.components-list {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--secondary);
|
2019-01-26 06:25:12 +08:00
|
|
|
}
|
2018-08-31 03:23:15 +08:00
|
|
|
}
|
2018-09-07 02:56:00 +08:00
|
|
|
&:not(.selected) {
|
|
|
|
.broken-indicator {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--danger);
|
2018-09-07 02:56:00 +08:00
|
|
|
}
|
|
|
|
.fa {
|
|
|
|
opacity: 0.7;
|
|
|
|
}
|
|
|
|
.default-indicator {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--success);
|
2018-09-07 02:56:00 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-08-31 03:23:15 +08:00
|
|
|
.light-grey-icon {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-medium);
|
2018-08-31 03:23:15 +08:00
|
|
|
}
|
2018-09-07 02:56:00 +08:00
|
|
|
|
2018-08-31 03:23:15 +08:00
|
|
|
.info {
|
|
|
|
overflow: hidden;
|
2019-02-08 11:27:35 +08:00
|
|
|
display: flex;
|
2023-10-09 05:35:53 +08:00
|
|
|
align-items: center;
|
2023-10-18 21:41:21 +08:00
|
|
|
@include line-clamp(4);
|
2018-08-31 03:23:15 +08:00
|
|
|
.icons {
|
2019-02-08 11:27:35 +08:00
|
|
|
margin-left: auto;
|
2018-08-31 03:23:15 +08:00
|
|
|
}
|
2023-10-09 05:35:53 +08:00
|
|
|
|
|
|
|
.cancel-select-inactive-mode {
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
.btn-delete {
|
|
|
|
font-size: var(--font-down-1);
|
|
|
|
margin-left: 0.5em;
|
|
|
|
svg {
|
|
|
|
margin-right: 0.5em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
input {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
2018-08-31 03:23:15 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.components-list {
|
|
|
|
margin-top: 5px;
|
2018-11-13 21:57:50 +08:00
|
|
|
display: inline-block;
|
2022-10-12 21:31:59 +08:00
|
|
|
font-size: var(--font-down-1);
|
2018-08-31 03:23:15 +08:00
|
|
|
align-items: baseline;
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-high);
|
2018-08-31 03:23:15 +08:00
|
|
|
|
2018-11-13 21:57:50 +08:00
|
|
|
.others-count,
|
2018-09-07 02:56:00 +08:00
|
|
|
.others-count:hover {
|
2021-10-28 01:09:34 +08:00
|
|
|
color: inherit;
|
2018-09-07 02:56:00 +08:00
|
|
|
text-decoration: underline;
|
|
|
|
}
|
2021-10-28 01:09:34 +08:00
|
|
|
|
|
|
|
.d-icon {
|
|
|
|
color: inherit;
|
|
|
|
}
|
2018-08-31 03:23:15 +08:00
|
|
|
}
|
|
|
|
|
2023-10-18 21:41:21 +08:00
|
|
|
.components {
|
|
|
|
overflow-wrap: anywhere;
|
|
|
|
}
|
|
|
|
|
2018-09-07 02:56:00 +08:00
|
|
|
.inner-wrapper {
|
2023-10-18 21:41:21 +08:00
|
|
|
box-sizing: border-box;
|
|
|
|
padding: 0.67em;
|
2018-09-07 02:56:00 +08:00
|
|
|
cursor: pointer;
|
2018-08-31 03:23:15 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
span.empty {
|
|
|
|
padding: 3px 10px 3px 10px;
|
2018-08-24 09:30:00 +08:00
|
|
|
}
|
|
|
|
|
2018-09-07 02:56:00 +08:00
|
|
|
.inner-wrapper,
|
2018-08-24 09:30:00 +08:00
|
|
|
span.empty {
|
|
|
|
color: inherit;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-03-05 08:04:23 +08:00
|
|
|
.theme.settings {
|
2019-12-04 14:13:41 +08:00
|
|
|
.theme-setting {
|
|
|
|
min-height: 35px;
|
|
|
|
}
|
2019-01-17 19:46:11 +08:00
|
|
|
.theme-translation {
|
2018-03-05 08:04:23 +08:00
|
|
|
padding-bottom: 0;
|
2018-08-31 03:23:15 +08:00
|
|
|
margin-top: 18px;
|
2018-03-05 08:04:23 +08:00
|
|
|
min-height: 35px;
|
2021-09-14 01:57:19 +08:00
|
|
|
|
|
|
|
.input-setting-textarea {
|
|
|
|
height: unset;
|
|
|
|
}
|
2018-03-05 08:04:23 +08:00
|
|
|
}
|
|
|
|
.setting-label {
|
2021-09-20 21:52:03 +08:00
|
|
|
@include breakpoint(tablet, min-width) {
|
|
|
|
width: 25%;
|
|
|
|
}
|
2019-01-25 22:19:01 +08:00
|
|
|
word-wrap: break-word;
|
2018-03-05 08:04:23 +08:00
|
|
|
h3 {
|
|
|
|
margin-top: 0;
|
2018-06-08 17:49:31 +08:00
|
|
|
margin-bottom: 0.5rem;
|
2018-03-05 08:04:23 +08:00
|
|
|
}
|
|
|
|
}
|
2020-08-25 10:51:58 +08:00
|
|
|
.setting {
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
2024-01-02 18:45:52 +08:00
|
|
|
|
|
|
|
.color-palette-input-group {
|
|
|
|
display: flex;
|
|
|
|
gap: 0.5rem;
|
|
|
|
}
|
2018-03-05 08:04:23 +08:00
|
|
|
}
|
|
|
|
|
2020-12-08 07:54:44 +08:00
|
|
|
.editor-information {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2022-10-12 21:31:59 +08:00
|
|
|
font-size: var(--font-up-1);
|
2020-12-08 07:54:44 +08:00
|
|
|
margin-bottom: 0.5em;
|
|
|
|
|
|
|
|
.editor-back-button {
|
|
|
|
margin-right: 0.25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.editor-theme-name-wrapper {
|
|
|
|
margin-left: 0.25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.editor-theme-name {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-04-12 22:52:52 +08:00
|
|
|
.current-style.maximized {
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
2018-01-17 08:05:12 +08:00
|
|
|
z-index: z("fullscreen");
|
2024-01-04 11:29:08 +08:00
|
|
|
background: var(--secondary);
|
2017-04-12 22:52:52 +08:00
|
|
|
width: 100%;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
.wrapper {
|
|
|
|
position: absolute;
|
|
|
|
top: 20px;
|
|
|
|
bottom: 10px;
|
|
|
|
left: 20px;
|
|
|
|
right: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-06-08 17:49:31 +08:00
|
|
|
.content-list,
|
|
|
|
.current-style {
|
2017-04-12 22:52:52 +08:00
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
.content-list ul {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
.current-style {
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
.admin-container {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2019-02-19 20:56:01 +08:00
|
|
|
.edit-main-nav ul {
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
2017-11-01 14:14:14 +08:00
|
|
|
|
2019-02-19 20:56:01 +08:00
|
|
|
.nav-pills {
|
2017-04-19 04:48:15 +08:00
|
|
|
li {
|
2019-02-19 20:56:01 +08:00
|
|
|
margin-right: 0;
|
|
|
|
display: flex;
|
2019-03-07 08:52:34 +08:00
|
|
|
|
2019-02-19 20:56:01 +08:00
|
|
|
&.spacer {
|
|
|
|
flex-grow: 1;
|
2017-11-01 14:14:14 +08:00
|
|
|
}
|
|
|
|
|
2019-02-19 20:56:01 +08:00
|
|
|
&:last-of-type > a {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
2017-11-01 14:14:14 +08:00
|
|
|
|
2019-02-19 20:56:01 +08:00
|
|
|
a.no-text .d-icon {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
2017-04-12 22:52:52 +08:00
|
|
|
|
2019-02-19 20:56:01 +08:00
|
|
|
label {
|
|
|
|
padding: 6px 12px;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
a.blank:not(.active) {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-medium);
|
2019-02-19 20:56:01 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
input {
|
|
|
|
margin-bottom: 0;
|
|
|
|
margin-left: 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
button {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
}
|
2017-04-12 22:52:52 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.ace-wrapper {
|
|
|
|
position: relative;
|
2021-02-18 02:00:34 +08:00
|
|
|
height: calc(100vh - 450px);
|
|
|
|
min-height: 200px;
|
2017-04-12 22:52:52 +08:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.maximized {
|
|
|
|
.admin-container {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 50px;
|
|
|
|
top: 80px;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
.admin-footer {
|
2021-02-18 02:00:34 +08:00
|
|
|
margin-top: 10px;
|
2017-04-12 22:52:52 +08:00
|
|
|
}
|
|
|
|
.ace-wrapper {
|
2019-12-20 23:37:23 +08:00
|
|
|
height: calc(100vh - 200px);
|
2017-04-12 22:52:52 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ace_editor {
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
}
|
|
|
|
|
2020-08-19 01:02:13 +08:00
|
|
|
.ace_placeholder {
|
|
|
|
font-family: inherit;
|
2022-10-12 21:31:59 +08:00
|
|
|
font-size: var(--font-up-1);
|
2022-10-12 22:05:42 +08:00
|
|
|
color: var(--primary-high);
|
2020-08-19 01:02:13 +08:00
|
|
|
}
|
|
|
|
|
2017-04-12 22:52:52 +08:00
|
|
|
.status-actions {
|
|
|
|
float: right;
|
|
|
|
margin-top: 7px;
|
|
|
|
span {
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.buttons {
|
|
|
|
float: left;
|
|
|
|
width: 200px;
|
|
|
|
.saving {
|
|
|
|
padding: 5px 0 0 0;
|
|
|
|
margin-left: 10px;
|
|
|
|
width: 80px;
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary);
|
2017-04-12 22:52:52 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.color-scheme {
|
|
|
|
.controls {
|
2020-08-28 22:36:52 +08:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2021-09-14 01:43:57 +08:00
|
|
|
margin-bottom: 1em;
|
|
|
|
button:not(:last-child),
|
2018-06-08 17:49:31 +08:00
|
|
|
a {
|
2017-04-12 22:52:52 +08:00
|
|
|
margin-right: 10px;
|
|
|
|
}
|
2020-08-28 22:36:52 +08:00
|
|
|
|
|
|
|
button.btn-danger {
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
2017-04-12 22:52:52 +08:00
|
|
|
}
|
2021-01-20 16:40:05 +08:00
|
|
|
|
|
|
|
.admin-controls {
|
|
|
|
display: block;
|
|
|
|
}
|
2017-04-12 22:52:52 +08:00
|
|
|
}
|
|
|
|
.colors {
|
2018-06-08 17:49:31 +08:00
|
|
|
thead th {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
td.hex {
|
|
|
|
width: 160px;
|
2021-09-14 01:43:57 +08:00
|
|
|
.color-picker {
|
|
|
|
display: inline-flex;
|
|
|
|
}
|
2018-06-08 17:49:31 +08:00
|
|
|
}
|
|
|
|
td.actions {
|
|
|
|
width: 200px;
|
|
|
|
}
|
2022-02-01 22:18:13 +08:00
|
|
|
.color-picker input {
|
2018-06-08 17:49:31 +08:00
|
|
|
width: 80px;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2022-04-07 05:17:20 +08:00
|
|
|
th.overridden {
|
2020-08-28 22:36:52 +08:00
|
|
|
text-align: right;
|
2018-06-08 17:49:31 +08:00
|
|
|
}
|
2020-05-31 02:46:25 +08:00
|
|
|
.color-input {
|
|
|
|
display: flex;
|
|
|
|
}
|
2019-10-05 01:25:54 +08:00
|
|
|
h3 {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2018-06-08 17:49:31 +08:00
|
|
|
.description {
|
2019-10-05 01:25:54 +08:00
|
|
|
margin: 0.15em 0 0;
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-high);
|
2022-10-12 21:31:59 +08:00
|
|
|
font-size: var(--font-down-1);
|
2022-10-12 22:05:42 +08:00
|
|
|
line-height: var(--line-height-medium);
|
2018-06-08 17:49:31 +08:00
|
|
|
}
|
2017-04-12 22:52:52 +08:00
|
|
|
|
|
|
|
.invalid .hex input {
|
|
|
|
background-color: white;
|
|
|
|
color: black;
|
2020-08-04 10:57:10 +08:00
|
|
|
border-color: var(--danger);
|
2017-04-12 22:52:52 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.status-message {
|
|
|
|
display: block;
|
2022-10-12 21:31:59 +08:00
|
|
|
font-size: var(--font-down-1);
|
2017-04-12 22:52:52 +08:00
|
|
|
margin-top: 8px;
|
|
|
|
}
|
2017-05-10 05:20:28 +08:00
|
|
|
|
|
|
|
.removable-list {
|
|
|
|
list-style: none;
|
|
|
|
margin-left: 0;
|
|
|
|
li {
|
2019-07-03 16:18:11 +08:00
|
|
|
&.disabled-child {
|
|
|
|
.child-link {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-medium);
|
2019-07-03 16:18:11 +08:00
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.btn {
|
|
|
|
margin-left: 5px;
|
|
|
|
}
|
2017-05-10 05:20:28 +08:00
|
|
|
display: table-row;
|
2019-07-03 16:18:11 +08:00
|
|
|
.col.child-link {
|
2017-05-11 02:43:05 +08:00
|
|
|
padding-right: 10px;
|
2017-05-10 05:20:28 +08:00
|
|
|
padding-bottom: 10px;
|
2017-05-11 02:43:05 +08:00
|
|
|
min-width: 80px;
|
2017-05-10 05:20:28 +08:00
|
|
|
}
|
2017-05-11 02:43:05 +08:00
|
|
|
.col {
|
2017-05-10 05:20:28 +08:00
|
|
|
display: table-cell;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-04-12 22:52:52 +08:00
|
|
|
}
|
|
|
|
|
2017-05-11 02:43:05 +08:00
|
|
|
.add-upload-modal {
|
2018-11-22 05:50:49 +08:00
|
|
|
input[type="file"] {
|
|
|
|
display: block;
|
|
|
|
margin-bottom: 0.25em;
|
|
|
|
+ label {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-medium);
|
2018-11-22 05:50:49 +08:00
|
|
|
}
|
|
|
|
}
|
2017-05-11 02:43:05 +08:00
|
|
|
label {
|
2018-11-22 05:50:49 +08:00
|
|
|
display: inline-block;
|
2017-05-11 02:43:05 +08:00
|
|
|
}
|
|
|
|
}
|
2018-02-15 01:26:05 +08:00
|
|
|
|
2018-02-16 04:07:26 +08:00
|
|
|
#custom_emoji {
|
2020-03-31 02:16:10 +08:00
|
|
|
width: 100%;
|
2018-02-15 01:26:05 +08:00
|
|
|
}
|
2018-03-09 13:14:21 +08:00
|
|
|
|
2021-04-17 00:46:34 +08:00
|
|
|
.public-key {
|
|
|
|
margin-top: 1em;
|
|
|
|
textarea {
|
|
|
|
cursor: auto;
|
|
|
|
min-height: 220px;
|
2021-07-13 02:34:08 +08:00
|
|
|
margin-bottom: 0;
|
2018-03-09 13:14:21 +08:00
|
|
|
}
|
2021-07-13 02:34:08 +08:00
|
|
|
button {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.public-key-text-wrapper {
|
|
|
|
position: relative;
|
2018-03-09 13:14:21 +08:00
|
|
|
}
|
2018-07-03 11:14:53 +08:00
|
|
|
|
2021-04-17 00:46:34 +08:00
|
|
|
.public-key-note {
|
|
|
|
margin-top: 1em;
|
|
|
|
color: var(--primary-medium);
|
|
|
|
}
|
2021-11-05 02:15:55 +08:00
|
|
|
|
2018-07-03 11:14:53 +08:00
|
|
|
// Permalinks
|
|
|
|
.permalinks {
|
|
|
|
.url,
|
|
|
|
.topic,
|
|
|
|
.category,
|
|
|
|
.external_url,
|
2021-11-05 02:15:55 +08:00
|
|
|
.destination,
|
2018-07-03 11:14:53 +08:00
|
|
|
.post {
|
2019-11-07 03:00:29 +08:00
|
|
|
@include ellipsis;
|
|
|
|
max-width: 100px;
|
|
|
|
@include breakpoint(tablet) {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
2018-10-17 23:37:14 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
&.grid tr.admin-list-item {
|
|
|
|
grid-template-columns: unset;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-09-19 20:37:04 +08:00
|
|
|
.permalink-form {
|
2021-11-05 02:15:55 +08:00
|
|
|
padding: 0.5em 1em 0 1em;
|
|
|
|
margin-top: 1em;
|
|
|
|
background: var(--primary-very-low);
|
2018-09-19 20:37:04 +08:00
|
|
|
.select-kit {
|
2021-11-05 02:15:55 +08:00
|
|
|
max-width: 260px;
|
|
|
|
}
|
|
|
|
@include breakpoint(tablet) {
|
|
|
|
label {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2018-09-19 20:37:04 +08:00
|
|
|
}
|
2018-07-03 11:14:53 +08:00
|
|
|
}
|
|
|
|
|
2019-05-07 19:42:41 +08:00
|
|
|
.permalink-description {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-medium);
|
2019-05-07 19:42:41 +08:00
|
|
|
}
|
|
|
|
|
2021-11-05 02:15:55 +08:00
|
|
|
.permalink-search {
|
|
|
|
margin-top: 2em;
|
|
|
|
input {
|
|
|
|
min-width: 250px;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
table.permalinks {
|
|
|
|
@include breakpoint(tablet, min-width) {
|
|
|
|
td.url,
|
|
|
|
th.url {
|
|
|
|
width: 33%;
|
|
|
|
}
|
|
|
|
|
|
|
|
th.destination,
|
|
|
|
td.destination {
|
|
|
|
width: 60%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@include breakpoint(tablet) {
|
|
|
|
td.url .btn-flat {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-07-03 11:14:53 +08:00
|
|
|
// embedding
|
|
|
|
.embeddable-hosts {
|
|
|
|
margin-bottom: 2em;
|
|
|
|
table.grid {
|
|
|
|
margin-bottom: 1em;
|
2024-05-17 03:47:01 +08:00
|
|
|
.tag-chooser,
|
|
|
|
.user-chooser {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2018-07-03 11:14:53 +08:00
|
|
|
tr td {
|
|
|
|
word-wrap: break-word;
|
|
|
|
max-width: 25vw;
|
|
|
|
align-self: start;
|
|
|
|
}
|
|
|
|
td.controls {
|
|
|
|
min-width: 6em;
|
|
|
|
}
|
|
|
|
.select-kit.combo-box.category-chooser {
|
|
|
|
width: calc(100% - 10px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media screen and (max-width: 880px) {
|
|
|
|
table.grid {
|
|
|
|
thead {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
div.label {
|
|
|
|
display: block;
|
2022-10-12 21:31:59 +08:00
|
|
|
font-size: var(--font-down-1);
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-medium);
|
2018-07-03 11:14:53 +08:00
|
|
|
}
|
|
|
|
td.controls,
|
|
|
|
td.editing-controls {
|
|
|
|
align-self: end;
|
|
|
|
}
|
|
|
|
tr {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(3, 1fr);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: 580px) {
|
|
|
|
table.grid {
|
|
|
|
tr td.editing-input {
|
|
|
|
grid-column-start: 1;
|
|
|
|
grid-column-end: 4;
|
|
|
|
max-width: 100%;
|
|
|
|
input {
|
|
|
|
width: calc(100% - 20px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
td.editing-controls {
|
|
|
|
margin-top: 1em;
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-04-10 01:15:31 +08:00
|
|
|
@include breakpoint(mobile-medium) {
|
2018-07-03 11:14:53 +08:00
|
|
|
table.grid tr {
|
|
|
|
grid-template-columns: repeat(2, 1fr);
|
|
|
|
td.controls {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.embedding-secondary {
|
|
|
|
h3 {
|
|
|
|
margin: 1em 0;
|
|
|
|
}
|
|
|
|
margin-bottom: 2em;
|
|
|
|
.embed-setting {
|
|
|
|
input[type="text"] {
|
|
|
|
width: 50%;
|
|
|
|
}
|
|
|
|
margin: 0.75em 0;
|
|
|
|
}
|
|
|
|
p.description {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-medium);
|
2018-07-03 11:14:53 +08:00
|
|
|
margin-bottom: 1em;
|
|
|
|
max-width: 700px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.embedding td input {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.user-fields {
|
|
|
|
h2 {
|
2024-10-14 13:19:53 +08:00
|
|
|
margin-bottom: 1em;
|
2018-07-03 11:14:53 +08:00
|
|
|
}
|
|
|
|
.user-field {
|
2024-10-14 13:19:53 +08:00
|
|
|
padding-block: 0.5em;
|
|
|
|
margin-bottom: 1em;
|
2020-08-04 10:57:10 +08:00
|
|
|
border-bottom: 1px solid var(--primary-low);
|
2018-07-03 11:14:53 +08:00
|
|
|
.form-display {
|
|
|
|
width: 25%;
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
.clearfix {
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-03-19 04:09:13 +08:00
|
|
|
|
|
|
|
.reseed-modal {
|
|
|
|
.options-group-title {
|
2022-10-12 21:31:59 +08:00
|
|
|
font-size: var(--font-up-2);
|
2019-03-19 04:09:13 +08:00
|
|
|
font-weight: bold;
|
|
|
|
margin: 8px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.option {
|
|
|
|
margin-left: 1em;
|
|
|
|
}
|
|
|
|
}
|
2019-07-16 01:47:44 +08:00
|
|
|
|
|
|
|
.robots-txt-edit {
|
|
|
|
div.overridden {
|
2023-02-21 17:15:49 +08:00
|
|
|
background: var(--highlight-bg);
|
2019-07-16 01:47:44 +08:00
|
|
|
padding: 7px;
|
|
|
|
margin-bottom: 7px;
|
|
|
|
}
|
|
|
|
.robots-txt-input {
|
|
|
|
width: 100%;
|
|
|
|
box-sizing: border-box;
|
2019-07-16 03:32:55 +08:00
|
|
|
height: 55vh;
|
2019-07-16 01:47:44 +08:00
|
|
|
}
|
|
|
|
}
|
2019-07-31 03:05:08 +08:00
|
|
|
|
2019-08-12 16:27:25 +08:00
|
|
|
.admin-customize-email-templates {
|
|
|
|
.email-template,
|
|
|
|
.controls {
|
|
|
|
margin-top: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.d-editor {
|
|
|
|
height: 50vh;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-07-31 03:05:08 +08:00
|
|
|
.admin-customize-email-style {
|
|
|
|
.ace-wrapper {
|
|
|
|
position: relative;
|
|
|
|
width: 100%;
|
2021-02-18 02:00:34 +08:00
|
|
|
height: calc(100vh - 480px);
|
|
|
|
min-height: 200px;
|
2019-07-31 03:05:08 +08:00
|
|
|
.ace_editor {
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-02-09 03:21:39 +08:00
|
|
|
|
|
|
|
.form-templates {
|
2023-03-02 03:07:13 +08:00
|
|
|
&__info {
|
2023-02-09 03:21:39 +08:00
|
|
|
margin-top: 1rem;
|
|
|
|
}
|
|
|
|
|
2023-03-02 03:07:13 +08:00
|
|
|
&__table {
|
2023-02-09 03:21:39 +08:00
|
|
|
margin-bottom: 1rem;
|
|
|
|
|
|
|
|
.admin-list-item .action {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-03-02 03:07:13 +08:00
|
|
|
&__form {
|
2023-02-09 03:21:39 +08:00
|
|
|
input {
|
|
|
|
width: 300px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ace-wrapper {
|
|
|
|
position: relative;
|
|
|
|
height: calc(100vh - 450px);
|
|
|
|
min-height: 200px;
|
|
|
|
width: 100%;
|
2023-06-14 04:38:31 +08:00
|
|
|
box-shadow: var(--shadow-footer-nav);
|
2023-02-09 03:21:39 +08:00
|
|
|
border-radius: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ace_editor {
|
|
|
|
border-radius: 4px;
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ace_placeholder {
|
|
|
|
font-family: inherit;
|
|
|
|
font-size: var(--font-up-1);
|
|
|
|
color: var(--primary-high);
|
|
|
|
}
|
|
|
|
|
|
|
|
.footer-buttons {
|
|
|
|
display: flex;
|
|
|
|
gap: 0.5rem;
|
|
|
|
.btn-danger {
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-03-02 03:07:13 +08:00
|
|
|
&__editor {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__quick-insert-field-buttons {
|
2023-02-09 03:21:39 +08:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
margin-left: 1rem;
|
|
|
|
|
|
|
|
span {
|
|
|
|
margin-right: 0.25rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn {
|
2023-03-02 03:07:13 +08:00
|
|
|
&:not(:last-of-type) {
|
2023-02-09 03:21:39 +08:00
|
|
|
border-right: 1px solid var(--primary-low);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-03-02 03:07:13 +08:00
|
|
|
|
|
|
|
&__validation-options td {
|
|
|
|
padding: 0.75rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__preview-button {
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
2023-02-09 03:21:39 +08:00
|
|
|
}
|
|
|
|
|
2023-03-02 03:07:13 +08:00
|
|
|
.customize-form-template-view-modal {
|
2024-02-23 22:14:37 +08:00
|
|
|
.d-modal__footer {
|
2023-02-09 03:21:39 +08:00
|
|
|
.btn:last-child {
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|