2017-04-12 22:52:52 +08:00
|
|
|
// Customise area
|
2018-07-03 11:14:53 +08:00
|
|
|
|
|
|
|
// email templates
|
|
|
|
|
|
|
|
.content-editor {
|
|
|
|
min-height: 500px;
|
|
|
|
float: left;
|
|
|
|
width: 54.054%;
|
|
|
|
margin-left: 1.8018%;
|
|
|
|
p.description {
|
|
|
|
color: $primary;
|
|
|
|
}
|
|
|
|
.controls {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
textarea.plain {
|
|
|
|
width: 98%;
|
|
|
|
height: 200px;
|
|
|
|
}
|
|
|
|
.d-editor-input {
|
|
|
|
width: 98%;
|
|
|
|
height: 200px;
|
|
|
|
}
|
|
|
|
.ace-wrapper {
|
|
|
|
position: relative;
|
|
|
|
height: 600px;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
.ace_editor {
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.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 {
|
|
|
|
color: $danger;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.admin-customize.admin-customize-themes {
|
|
|
|
.admin-container {
|
|
|
|
padding: 0;
|
|
|
|
}
|
2018-09-08 21:24:11 +08:00
|
|
|
.error-message {
|
|
|
|
margin-top: 5px;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
.fa {
|
|
|
|
color: $danger;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.raw-error {
|
|
|
|
background-color: $primary-very-low;
|
|
|
|
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;
|
2018-01-13 06:27:38 +08:00
|
|
|
font-size: $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
|
|
|
|
2017-04-20 04:46:28 +08:00
|
|
|
.field-error {
|
|
|
|
margin-top: 10px;
|
|
|
|
margin-bottom: 10px;
|
2017-06-12 10:20:14 +08:00
|
|
|
background-color: $quaternary-low;
|
2017-04-20 04:46:28 +08:00
|
|
|
padding: 5px;
|
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
color: $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;
|
|
|
|
|
2019-02-01 02:59:49 +08:00
|
|
|
.btn {
|
|
|
|
line-height: $line-height-medium; // Temporary button-height fix
|
|
|
|
}
|
|
|
|
|
2018-08-31 03:23:15 +08:00
|
|
|
.title {
|
|
|
|
font-size: $font-up-4;
|
|
|
|
font-weight: bold;
|
2017-04-12 22:52:52 +08:00
|
|
|
margin-bottom: 10px;
|
2019-02-08 11:27:35 +08:00
|
|
|
a {
|
|
|
|
font-size: $font-down-2;
|
|
|
|
}
|
|
|
|
.btn {
|
|
|
|
line-height: $line-height-small;
|
|
|
|
}
|
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 {
|
|
|
|
font-size: $font-down-1;
|
|
|
|
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 {
|
|
|
|
font-size: $font-up-1;
|
|
|
|
font-weight: bold;
|
|
|
|
margin-bottom: 7px;
|
|
|
|
}
|
|
|
|
.control-unit {
|
|
|
|
margin-bottom: 25px;
|
|
|
|
margin-top: 15px;
|
|
|
|
}
|
|
|
|
.control {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
.description {
|
|
|
|
margin-bottom: 12px;
|
|
|
|
}
|
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%;
|
|
|
|
border-bottom: 1px solid $primary-low;
|
2019-02-08 11:27:35 +08:00
|
|
|
border-top: 1px solid $primary-low;
|
|
|
|
border-right: 1px solid $primary-low;
|
2020-02-11 22:55:16 +08:00
|
|
|
display: flex;
|
|
|
|
|
2018-08-31 03:23:15 +08:00
|
|
|
.tab {
|
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;
|
|
|
|
|
|
|
|
&.active {
|
2020-02-11 22:55:16 +08:00
|
|
|
font-weight: 700;
|
2018-08-31 03:23:15 +08:00
|
|
|
}
|
|
|
|
|
2020-02-11 22:55:16 +08:00
|
|
|
&:last-child {
|
|
|
|
border-left: 1px solid $primary-low;
|
2018-08-31 03:23:15 +08:00
|
|
|
}
|
|
|
|
}
|
2018-08-24 09:30:00 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.themes-list-container {
|
2019-02-08 11:27:35 +08:00
|
|
|
overflow-y: auto;
|
2018-09-07 02:56:00 +08:00
|
|
|
box-sizing: content-box;
|
2019-02-08 11:27:35 +08:00
|
|
|
max-height: 60vh;
|
|
|
|
@media screen and (max-height: 1000px) {
|
|
|
|
max-height: 50vh;
|
|
|
|
}
|
|
|
|
@media screen and (max-height: 800px) {
|
|
|
|
max-height: 40vh;
|
|
|
|
}
|
|
|
|
border-right: 1px solid $primary-low;
|
|
|
|
border-bottom: 1px solid $primary-low;
|
|
|
|
width: 100%;
|
2018-08-24 09:30:00 +08:00
|
|
|
|
2018-08-31 03:23:15 +08:00
|
|
|
.themes-list-item:last-child {
|
|
|
|
border-bottom: none;
|
2018-08-24 09:30:00 +08:00
|
|
|
}
|
|
|
|
.themes-list-item {
|
|
|
|
color: $primary;
|
|
|
|
border-bottom: 1px solid $primary-low;
|
|
|
|
display: flex;
|
2018-08-31 03:23:15 +08:00
|
|
|
border-left: 1px solid $primary-low;
|
2018-08-24 09:30:00 +08:00
|
|
|
|
2018-09-07 02:56:00 +08:00
|
|
|
&.inactive-indicator {
|
|
|
|
border-right: 0;
|
|
|
|
border-left: 0;
|
|
|
|
font-weight: bold;
|
|
|
|
color: $primary-medium;
|
|
|
|
|
|
|
|
span.empty {
|
|
|
|
padding-left: 5px;
|
|
|
|
padding-top: 15px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&:not(.inactive-indicator):not(.selected):hover {
|
2018-09-10 02:48:08 +08:00
|
|
|
background-color: $primary-very-low;
|
2018-08-31 03:23:15 +08:00
|
|
|
.component {
|
|
|
|
border-color: $primary-low-mid;
|
|
|
|
}
|
2018-08-24 09:30:00 +08:00
|
|
|
}
|
2018-09-07 02:56:00 +08:00
|
|
|
|
|
|
|
&.selected {
|
2018-08-24 09:30:00 +08:00
|
|
|
color: $secondary;
|
|
|
|
background-color: $tertiary;
|
2019-01-26 06:25:12 +08:00
|
|
|
.components-list {
|
|
|
|
color: $secondary;
|
|
|
|
}
|
2018-08-31 03:23:15 +08:00
|
|
|
.fa {
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
}
|
2018-09-07 02:56:00 +08:00
|
|
|
&:not(.selected) {
|
|
|
|
.broken-indicator {
|
|
|
|
color: $danger;
|
|
|
|
}
|
|
|
|
.fa {
|
|
|
|
opacity: 0.7;
|
|
|
|
}
|
|
|
|
.default-indicator {
|
|
|
|
color: $success;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-08-31 03:23:15 +08:00
|
|
|
.light-grey-icon {
|
|
|
|
color: $primary-medium;
|
|
|
|
}
|
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;
|
2018-08-31 03:23:15 +08:00
|
|
|
font-weight: bold;
|
|
|
|
font-size: $font-up-1;
|
|
|
|
|
|
|
|
.icons {
|
2019-02-08 11:27:35 +08:00
|
|
|
margin-left: auto;
|
2018-08-31 03:23:15 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.components-list {
|
|
|
|
margin-top: 5px;
|
2018-11-13 21:57:50 +08:00
|
|
|
display: inline-block;
|
2018-08-31 03:23:15 +08:00
|
|
|
font-size: $font-down-1;
|
|
|
|
align-items: baseline;
|
2018-11-13 21:57:50 +08:00
|
|
|
color: $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 {
|
2020-02-11 22:55:16 +08:00
|
|
|
color: $primary-high;
|
2018-09-07 02:56:00 +08:00
|
|
|
text-decoration: underline;
|
|
|
|
}
|
2018-08-31 03:23:15 +08:00
|
|
|
}
|
|
|
|
|
2018-09-07 02:56:00 +08:00
|
|
|
.inner-wrapper {
|
2018-08-31 03:23:15 +08:00
|
|
|
padding: 10px;
|
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;
|
|
|
|
}
|
|
|
|
.setting-label {
|
|
|
|
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
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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");
|
2017-04-12 22:52:52 +08:00
|
|
|
background-color: white;
|
|
|
|
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 .nav-pills > li a.active {
|
|
|
|
background-color: $quaternary;
|
|
|
|
color: $secondary;
|
|
|
|
}
|
|
|
|
|
|
|
|
.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;
|
|
|
|
}
|
|
|
|
|
2019-03-07 08:42:44 +08:00
|
|
|
a.active {
|
|
|
|
background: $primary-medium;
|
|
|
|
color: $secondary;
|
|
|
|
}
|
|
|
|
|
2019-02-19 20:56:01 +08:00
|
|
|
a.blank:not(.active) {
|
|
|
|
color: $primary-medium;
|
|
|
|
}
|
|
|
|
|
|
|
|
input {
|
|
|
|
margin-bottom: 0;
|
|
|
|
margin-left: 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
button {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
}
|
2017-04-12 22:52:52 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.ace-wrapper {
|
|
|
|
position: relative;
|
|
|
|
height: 600px;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.maximized {
|
|
|
|
.admin-container {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 50px;
|
|
|
|
top: 80px;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
.admin-footer {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 10px;
|
|
|
|
}
|
|
|
|
.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;
|
|
|
|
}
|
|
|
|
|
|
|
|
.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;
|
|
|
|
color: $primary;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.color-scheme {
|
|
|
|
.controls {
|
2018-06-08 17:49:31 +08:00
|
|
|
button,
|
|
|
|
a {
|
2017-04-12 22:52:52 +08:00
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.colors {
|
2018-06-08 17:49:31 +08:00
|
|
|
thead th {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
td.hex {
|
|
|
|
width: 160px;
|
|
|
|
}
|
|
|
|
td.actions {
|
|
|
|
width: 200px;
|
|
|
|
}
|
|
|
|
.hex-input {
|
|
|
|
width: 80px;
|
|
|
|
margin-bottom: 0;
|
2020-05-31 02:46:25 +08:00
|
|
|
margin-right: 6px;
|
2018-06-08 17:49:31 +08:00
|
|
|
}
|
|
|
|
.hex {
|
|
|
|
text-align: center;
|
|
|
|
}
|
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;
|
|
|
|
color: $primary-high;
|
|
|
|
font-size: $font-down-1;
|
|
|
|
line-height: $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;
|
|
|
|
border-color: $danger;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.status-message {
|
|
|
|
display: block;
|
2018-06-08 17:49:31 +08:00
|
|
|
font-size: $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 {
|
|
|
|
color: $primary-medium;
|
|
|
|
&: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 {
|
|
|
|
color: $primary-medium;
|
|
|
|
}
|
|
|
|
}
|
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
|
|
|
|
2018-10-09 14:01:08 +08:00
|
|
|
.modal-body .inputs .branch {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
|
2018-03-09 13:14:21 +08:00
|
|
|
.modal-body .inputs .check-private {
|
|
|
|
margin-top: 10px;
|
|
|
|
label {
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
|
|
|
label input {
|
|
|
|
width: auto;
|
|
|
|
margin: 3px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.public-key {
|
|
|
|
margin-top: 10px;
|
|
|
|
textarea {
|
|
|
|
cursor: auto;
|
|
|
|
height: 150px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-07-03 11:14:53 +08:00
|
|
|
|
|
|
|
// Permalinks
|
|
|
|
.permalinks {
|
|
|
|
.url,
|
|
|
|
.topic,
|
|
|
|
.category,
|
|
|
|
.external_url,
|
|
|
|
.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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.permalink-search {
|
|
|
|
text-align: left;
|
2019-10-05 01:25:54 +08:00
|
|
|
@include breakpoint(tablet, min-width) {
|
2018-10-17 23:37:14 +08:00
|
|
|
text-align: right;
|
2018-07-03 11:14:53 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-09-19 20:37:04 +08:00
|
|
|
.permalink-form {
|
2018-10-17 23:37:14 +08:00
|
|
|
align-items: flex-start;
|
2018-09-19 20:37:04 +08:00
|
|
|
display: flex;
|
2018-10-17 23:37:14 +08:00
|
|
|
flex-direction: column;
|
|
|
|
flex-wrap: wrap;
|
2019-10-05 01:25:54 +08:00
|
|
|
@include breakpoint(tablet, min-width) {
|
2018-10-17 23:37:14 +08:00
|
|
|
align-items: center;
|
|
|
|
flex-direction: row;
|
|
|
|
}
|
2018-09-19 20:37:04 +08:00
|
|
|
|
|
|
|
.select-kit {
|
2020-06-22 11:14:16 +08:00
|
|
|
width: 200px;
|
2018-09-19 20:37:04 +08:00
|
|
|
}
|
|
|
|
input {
|
2018-10-17 23:37:14 +08:00
|
|
|
margin: 5px 0;
|
2019-10-05 01:25:54 +08:00
|
|
|
@include breakpoint(tablet, min-width) {
|
2018-10-17 23:37:14 +08:00
|
|
|
margin: 0 5px;
|
|
|
|
}
|
2018-09-19 20:37:04 +08:00
|
|
|
}
|
2018-08-09 21:55:59 +08:00
|
|
|
}
|
|
|
|
|
2018-07-03 11:14:53 +08:00
|
|
|
.permalink-title {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
2019-05-07 19:42:41 +08:00
|
|
|
.permalink-description {
|
2019-10-05 01:25:54 +08:00
|
|
|
color: $primary-medium;
|
2019-05-07 19:42:41 +08:00
|
|
|
}
|
|
|
|
|
2018-07-03 11:14:53 +08:00
|
|
|
// embedding
|
|
|
|
.embeddable-hosts {
|
|
|
|
margin-bottom: 2em;
|
|
|
|
table.grid {
|
|
|
|
margin-bottom: 1em;
|
|
|
|
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;
|
|
|
|
font-size: $font-down-1;
|
|
|
|
color: $primary-medium;
|
|
|
|
}
|
|
|
|
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 {
|
2019-10-05 01:25:54 +08:00
|
|
|
color: $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 {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
.user-field {
|
|
|
|
padding: 10px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
border-bottom: 1px solid $primary-low;
|
|
|
|
.form-display {
|
|
|
|
width: 25%;
|
|
|
|
display: inline-block;
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
.form-element,
|
|
|
|
.form-element-desc {
|
|
|
|
float: left;
|
|
|
|
min-height: 30px;
|
|
|
|
padding: 0.25em 0;
|
|
|
|
&.input-area {
|
|
|
|
width: 75%;
|
2018-08-04 04:41:37 +08:00
|
|
|
.value-list,
|
|
|
|
.select-kit,
|
2018-07-03 11:14:53 +08:00
|
|
|
input[type="text"] {
|
|
|
|
width: 50%;
|
|
|
|
}
|
2018-08-04 04:41:37 +08:00
|
|
|
|
|
|
|
.value-list {
|
|
|
|
.select-kit {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
2018-07-03 11:14:53 +08:00
|
|
|
}
|
|
|
|
&.label-area {
|
|
|
|
width: 25%;
|
|
|
|
label {
|
|
|
|
margin: 0.5em 1em 0 0;
|
|
|
|
text-align: right;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.controls {
|
|
|
|
float: right;
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
.clearfix {
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-03-19 04:09:13 +08:00
|
|
|
|
|
|
|
.reseed-modal {
|
|
|
|
.options-group-title {
|
|
|
|
font-size: $font-up-2;
|
|
|
|
font-weight: bold;
|
|
|
|
margin: 8px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.option {
|
|
|
|
margin-left: 1em;
|
|
|
|
}
|
|
|
|
}
|
2019-07-16 01:47:44 +08:00
|
|
|
|
|
|
|
.robots-txt-edit {
|
|
|
|
div.overridden {
|
|
|
|
background: $highlight-medium;
|
|
|
|
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%;
|
|
|
|
height: 400px;
|
|
|
|
.ace_editor {
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|