2018-07-02 23:14:53 -04: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;
|
|
|
|
}
|
|
|
|
}
|
2020-11-17 10:59:55 -05:00
|
|
|
.history-icon {
|
|
|
|
opacity: 0;
|
|
|
|
transition: opacity 0.3s;
|
|
|
|
color: var(--primary-medium);
|
|
|
|
}
|
|
|
|
&:hover .history-icon {
|
|
|
|
opacity: 1;
|
2020-11-12 07:07:36 -05:00
|
|
|
}
|
2018-07-02 23:14:53 -04:00
|
|
|
}
|
|
|
|
.setting-value {
|
|
|
|
float: left;
|
|
|
|
width: 53%;
|
|
|
|
padding-right: 20px;
|
2018-10-08 13:09:54 -04:00
|
|
|
input[type="checkbox"],
|
|
|
|
input[type="radio"] {
|
2018-10-01 10:39:55 -04:00
|
|
|
flex: 0 0 auto;
|
|
|
|
}
|
2018-07-02 23:14:53 -04: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
|
|
|
|
}
|
|
|
|
}
|
2020-06-02 20:36:01 -04:00
|
|
|
.image-uploader {
|
|
|
|
display: flex;
|
|
|
|
}
|
2018-11-14 02:03:02 -05:00
|
|
|
.uploaded-image-preview {
|
2018-11-20 21:09:28 -05:00
|
|
|
background-size: contain;
|
2018-11-14 02:03:02 -05:00
|
|
|
background-repeat: no-repeat;
|
2020-08-03 22:57:10 -04:00
|
|
|
background-color: var(--primary-medium);
|
2018-11-14 02:03:02 -05:00
|
|
|
}
|
2018-07-02 23:14:53 -04: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;
|
2020-08-03 22:57:10 -04:00
|
|
|
background-color: var(--secondary);
|
|
|
|
border: 1px solid var(--primary-low);
|
2018-07-02 23:14:53 -04:00
|
|
|
border-radius: 3px;
|
|
|
|
transition: border linear 0.2s, box-shadow linear 0.2s;
|
|
|
|
li.sortable-placeholder {
|
2020-09-21 07:32:46 -04:00
|
|
|
@include unselectable;
|
2018-07-02 23:14:53 -04:00
|
|
|
padding: 3px 5px 3px 18px;
|
|
|
|
margin: 3px 0 3px 5px;
|
|
|
|
position: relative;
|
2022-10-12 10:05:42 -04:00
|
|
|
line-height: var(--line-height-small);
|
2018-07-02 23:14:53 -04:00
|
|
|
cursor: default;
|
2020-08-03 22:57:10 -04:00
|
|
|
border: 1px dashed var(--primary-low-mid);
|
2018-07-02 23:14:53 -04:00
|
|
|
border-radius: 3px;
|
|
|
|
background-clip: padding-box;
|
|
|
|
background-color: transparent;
|
|
|
|
width: 3em;
|
|
|
|
height: 1em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.desc,
|
|
|
|
.validation-error {
|
|
|
|
padding-top: 3px;
|
2022-10-12 09:31:59 -04:00
|
|
|
font-size: var(--font-down-1);
|
2022-10-12 10:05:42 -04:00
|
|
|
line-height: var(--line-height-large);
|
2018-07-02 23:14:53 -04:00
|
|
|
}
|
|
|
|
.validation-error {
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--danger);
|
2018-07-02 23:14:53 -04:00
|
|
|
}
|
|
|
|
.desc {
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--primary-medium);
|
2018-07-02 23:14:53 -04:00
|
|
|
}
|
|
|
|
h3 {
|
2022-10-12 09:31:59 -04:00
|
|
|
font-size: var(--font-0);
|
2018-07-02 23:14:53 -04:00
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.setting.overridden {
|
2023-06-22 18:01:48 -04:00
|
|
|
.values input {
|
2023-02-21 04:15:49 -05:00
|
|
|
background-color: var(--highlight-bg);
|
2022-10-15 16:29:37 -04:00
|
|
|
}
|
2018-07-02 23:14:53 -04:00
|
|
|
h3 {
|
2022-10-15 16:29:37 -04:00
|
|
|
position: relative;
|
|
|
|
&:before {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
top: 0.5rem;
|
|
|
|
left: -1rem;
|
|
|
|
width: 0.5rem;
|
|
|
|
height: 0.5rem;
|
|
|
|
border-radius: 100%;
|
2023-04-18 03:09:38 -04:00
|
|
|
background-color: var(--quaternary-low);
|
2022-10-15 16:29:37 -04:00
|
|
|
}
|
2018-07-02 23:14:53 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.setting.overridden.string {
|
|
|
|
input[type="text"],
|
|
|
|
input[type="password"],
|
|
|
|
textarea {
|
2023-02-21 04:15:49 -05:00
|
|
|
background-color: var(--highlight-bg);
|
2018-07-02 23:14:53 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.warning {
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--danger);
|
2018-07-02 23:14:53 -04:00
|
|
|
}
|
|
|
|
}
|