2018-07-03 11:14:53 +08:00
|
|
|
// styles for admin/settings
|
|
|
|
|
|
|
|
.settings {
|
|
|
|
.setting {
|
|
|
|
padding-bottom: 20px;
|
|
|
|
.setting-label {
|
|
|
|
float: left;
|
|
|
|
width: 17.6576%;
|
|
|
|
margin-right: 12px;
|
|
|
|
@media (max-width: $mobile-breakpoint) {
|
|
|
|
float: none;
|
|
|
|
margin-right: 0;
|
|
|
|
width: 100%;
|
|
|
|
h3 {
|
|
|
|
margin-bottom: 6px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.setting-value {
|
|
|
|
float: left;
|
|
|
|
width: 53%;
|
|
|
|
padding-right: 20px;
|
2018-10-09 01:09:54 +08:00
|
|
|
input[type="checkbox"],
|
|
|
|
input[type="radio"] {
|
2018-10-01 22:39:55 +08:00
|
|
|
flex: 0 0 auto;
|
|
|
|
}
|
2018-07-03 11:14:53 +08:00
|
|
|
.category-selector {
|
|
|
|
width: 95%;
|
|
|
|
}
|
|
|
|
@media (max-width: $mobile-breakpoint) {
|
|
|
|
width: 100%;
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
|
|
|
.select-kit {
|
|
|
|
width: 100% !important; // Needs !important to override hard-coded value
|
|
|
|
@media (max-width: $mobile-breakpoint) {
|
|
|
|
width: 100% !important; // !important overrides hard-coded mobile width of 68px
|
|
|
|
}
|
|
|
|
}
|
2018-11-14 15:03:02 +08:00
|
|
|
.uploaded-image-preview {
|
2018-11-21 10:09:28 +08:00
|
|
|
background-size: contain;
|
2018-11-14 15:03:02 +08:00
|
|
|
background-repeat: no-repeat;
|
2018-11-15 08:24:50 +08:00
|
|
|
background-color: $primary-medium;
|
2018-11-14 15:03:02 +08:00
|
|
|
}
|
2018-07-03 11:14:53 +08:00
|
|
|
}
|
|
|
|
.setting-controls {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
.input-setting-string,
|
|
|
|
.input-setting-textarea {
|
|
|
|
width: 100%;
|
|
|
|
@media (max-width: $mobile-breakpoint) {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.input-setting-textarea {
|
|
|
|
height: 150px;
|
|
|
|
}
|
|
|
|
.input-setting-list {
|
|
|
|
@media (max-width: $mobile-breakpoint) {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
padding: 1px;
|
|
|
|
background-color: $secondary;
|
|
|
|
border: 1px solid $primary-low;
|
|
|
|
border-radius: 3px;
|
|
|
|
transition: border linear 0.2s, box-shadow linear 0.2s;
|
|
|
|
li.sortable-placeholder {
|
|
|
|
padding: 3px 5px 3px 18px;
|
|
|
|
margin: 3px 0 3px 5px;
|
|
|
|
position: relative;
|
|
|
|
line-height: $line-height-small;
|
|
|
|
cursor: default;
|
2019-10-05 01:25:54 +08:00
|
|
|
border: 1px dashed $primary-low-mid;
|
2018-07-03 11:14:53 +08:00
|
|
|
border-radius: 3px;
|
|
|
|
background-clip: padding-box;
|
|
|
|
-moz-user-select: none;
|
|
|
|
background-color: transparent;
|
|
|
|
width: 3em;
|
|
|
|
height: 1em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.desc,
|
|
|
|
.validation-error {
|
|
|
|
padding-top: 3px;
|
|
|
|
font-size: $font-down-1;
|
|
|
|
line-height: $line-height-large;
|
|
|
|
}
|
|
|
|
.validation-error {
|
|
|
|
color: $danger;
|
|
|
|
}
|
|
|
|
.desc {
|
2019-09-19 03:57:58 +08:00
|
|
|
color: $primary-medium;
|
2018-07-03 11:14:53 +08:00
|
|
|
}
|
|
|
|
h3 {
|
|
|
|
font-size: $font-0;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.setting.overridden {
|
|
|
|
h3 {
|
|
|
|
color: $highlight-high;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.setting.overridden.string {
|
|
|
|
input[type="text"],
|
|
|
|
input[type="password"],
|
|
|
|
textarea {
|
|
|
|
background-color: $highlight-medium;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.warning {
|
|
|
|
color: $danger;
|
|
|
|
}
|
|
|
|
}
|