2017-12-08 00:23:09 +00:00
|
|
|
#stylus-manage .config-dialog #message-box-contents {
|
|
|
|
padding: 2em 16px;
|
2017-12-06 21:11:30 +00:00
|
|
|
}
|
|
|
|
|
2017-12-08 00:23:09 +00:00
|
|
|
#stylus-popup .config-dialog #message-box-contents {
|
|
|
|
padding: 8px 16px;
|
2017-12-06 21:11:30 +00:00
|
|
|
}
|
|
|
|
|
2017-12-08 00:23:09 +00:00
|
|
|
#stylus-popup .config-body label {
|
|
|
|
padding: .5em 0;
|
2017-12-06 21:11:30 +00:00
|
|
|
}
|
|
|
|
|
2017-12-06 20:33:48 +00:00
|
|
|
.config-heading {
|
2017-12-21 13:04:12 +00:00
|
|
|
top: -1em;
|
|
|
|
position: relative;
|
|
|
|
text-align: right;
|
2017-12-05 21:14:21 +00:00
|
|
|
font-size: 0.9em;
|
|
|
|
}
|
|
|
|
|
2017-12-21 13:04:12 +00:00
|
|
|
#stylus-popup .config-heading {
|
|
|
|
top: -.25em;
|
|
|
|
}
|
|
|
|
|
2017-12-06 20:33:48 +00:00
|
|
|
.config-body label {
|
2017-12-05 21:14:21 +00:00
|
|
|
display: flex;
|
|
|
|
padding: .75em 0;
|
|
|
|
align-items: center;
|
2017-12-08 00:23:09 +00:00
|
|
|
margin-right: -16px; /* for .config-reset-icon */
|
2017-12-05 21:14:21 +00:00
|
|
|
}
|
|
|
|
|
2017-12-08 00:23:09 +00:00
|
|
|
.config-body .select-resizer {
|
2017-12-05 21:14:21 +00:00
|
|
|
position: static;
|
|
|
|
}
|
|
|
|
|
2017-12-06 20:33:48 +00:00
|
|
|
.config-body label:first-child {
|
2017-12-05 21:14:21 +00:00
|
|
|
padding-top: 0;
|
|
|
|
}
|
|
|
|
|
2017-12-06 20:33:48 +00:00
|
|
|
.config-body label:last-child {
|
2017-12-05 21:14:21 +00:00
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2017-12-06 20:33:48 +00:00
|
|
|
.config-body label:not(:first-child) {
|
2017-12-05 21:14:21 +00:00
|
|
|
border-top: 1px dotted #ccc;
|
|
|
|
}
|
|
|
|
|
2017-12-08 00:23:09 +00:00
|
|
|
.config-body .dirty {
|
|
|
|
font-style: italic;
|
2017-12-05 21:14:21 +00:00
|
|
|
}
|
|
|
|
|
2017-12-08 00:23:09 +00:00
|
|
|
.config-body .dirty:after {
|
2017-12-05 23:59:12 +00:00
|
|
|
content: "*";
|
|
|
|
position: absolute;
|
|
|
|
left: 6px;
|
|
|
|
}
|
|
|
|
|
2017-12-06 20:33:48 +00:00
|
|
|
.config-body input,
|
|
|
|
.config-body select,
|
|
|
|
.config-body .onoffswitch {
|
2017-12-05 21:14:21 +00:00
|
|
|
width: var(--onoffswitch-width);
|
|
|
|
margin: 0;
|
2017-12-06 21:11:30 +00:00
|
|
|
height: 22px;
|
2017-12-05 21:14:21 +00:00
|
|
|
box-sizing: border-box;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
2017-12-06 21:11:30 +00:00
|
|
|
.config-body input[type="text"],
|
2017-12-06 20:33:48 +00:00
|
|
|
.config-body .select-resizer,
|
|
|
|
.config-body select {
|
2017-12-05 21:14:21 +00:00
|
|
|
width: auto;
|
|
|
|
min-width: var(--onoffswitch-width);
|
|
|
|
max-width: 124px;
|
|
|
|
left: auto;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2017-12-06 20:33:48 +00:00
|
|
|
.config-body .onoffswitch {
|
2017-12-05 21:14:21 +00:00
|
|
|
height: auto;
|
|
|
|
margin: calc((2em - 12px) / 2) 0;
|
2017-12-08 00:23:09 +00:00
|
|
|
flex-grow: 0;
|
2017-12-05 21:14:21 +00:00
|
|
|
}
|
|
|
|
|
2017-12-06 20:33:48 +00:00
|
|
|
.config-body input[type="text"] {
|
2017-12-05 21:14:21 +00:00
|
|
|
padding-left: 0.25em;
|
|
|
|
}
|
|
|
|
|
2017-12-08 00:23:09 +00:00
|
|
|
.config-name {
|
|
|
|
flex-grow: 1;
|
|
|
|
margin-right: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.config-value {
|
2017-12-05 21:14:21 +00:00
|
|
|
box-sizing: border-box;
|
|
|
|
flex-shrink: 0;
|
|
|
|
}
|
|
|
|
|
2018-09-06 05:20:19 +00:00
|
|
|
.config-value:not(.onoffswitch):not(.select-resizer) > :not(:last-child) {
|
|
|
|
margin-right: 4px;
|
|
|
|
}
|
|
|
|
|
2018-09-05 02:16:40 +00:00
|
|
|
.current-value {
|
2018-09-06 05:20:19 +00:00
|
|
|
padding: 2px 4px;
|
2017-12-05 21:14:21 +00:00
|
|
|
margin-right: 4px;
|
2018-09-16 22:17:15 +00:00
|
|
|
}
|
2017-12-05 21:14:21 +00:00
|
|
|
|
2018-09-07 13:47:14 +00:00
|
|
|
.config-number span, .config-range span {
|
2018-09-06 05:20:19 +00:00
|
|
|
line-height: 22px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.current-range:before {
|
|
|
|
content: attr(data-min);
|
|
|
|
padding-right: .25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.current-range:after {
|
|
|
|
content: attr(data-max);
|
|
|
|
padding-left: .25em;
|
|
|
|
}
|
|
|
|
|
2017-12-12 18:33:41 +00:00
|
|
|
.config-body label:not(.nondefault) .config-reset-icon {
|
|
|
|
visibility: hidden;
|
2017-12-08 00:23:09 +00:00
|
|
|
}
|
|
|
|
|
2017-12-21 13:04:12 +00:00
|
|
|
.config-reset-icon {
|
|
|
|
height: 16px;
|
|
|
|
}
|
|
|
|
|
2017-12-09 15:25:44 +00:00
|
|
|
.config-reset-icon .svg-icon {
|
2017-12-08 00:23:09 +00:00
|
|
|
cursor: pointer;
|
|
|
|
fill: #aaa;
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
padding: 0 1px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
flex-shrink: 0;
|
|
|
|
}
|
|
|
|
|
2017-12-09 15:25:44 +00:00
|
|
|
.config-reset-icon:hover .svg-icon {
|
2017-12-08 00:23:09 +00:00
|
|
|
fill: #666;
|
|
|
|
}
|
|
|
|
|
2017-12-06 20:33:48 +00:00
|
|
|
#config-autosave-wrapper {
|
|
|
|
position: relative;
|
|
|
|
padding: 0 0 0 16px;
|
|
|
|
display: inline-flex;
|
|
|
|
}
|
|
|
|
|
2017-12-07 22:08:25 +00:00
|
|
|
#message-box-buttons {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.config-error {
|
|
|
|
position: absolute;
|
|
|
|
z-index: 99;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: -1rem;
|
|
|
|
padding: 0 .75rem;
|
|
|
|
line-height: 24px;
|
|
|
|
height: 24px;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
background-color: red;
|
|
|
|
color: white;
|
|
|
|
font-weight: bold;
|
|
|
|
text-shadow: 0.5px 0.5px 6px #400;
|
|
|
|
animation: fadein .5s;
|
|
|
|
}
|
|
|
|
|
2017-12-21 13:04:12 +00:00
|
|
|
#message-box .colorview-swatch {
|
|
|
|
padding: 0;
|
|
|
|
box-sizing: content-box;
|
2017-12-05 21:14:21 +00:00
|
|
|
}
|
|
|
|
|
2017-12-21 13:04:12 +00:00
|
|
|
#message-box .colorview-swatch,
|
|
|
|
#message-box .colorview-swatch::before,
|
|
|
|
#message-box .colorview-swatch::after,
|
|
|
|
.color-swatch {
|
|
|
|
width: var(--onoffswitch-width);
|
|
|
|
height: 20px;
|
|
|
|
left: 0;
|
|
|
|
margin: 0;
|
|
|
|
border: 1px solid transparent;
|
|
|
|
box-sizing: content-box;
|
|
|
|
background-position: unset;
|
2017-12-05 21:14:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.color-swatch {
|
|
|
|
position: absolute;
|
2017-12-09 15:25:44 +00:00
|
|
|
top: 0;
|
|
|
|
left: 0;
|
2017-12-05 21:14:21 +00:00
|
|
|
border: 1px solid gray;
|
|
|
|
cursor: pointer;
|
2017-12-09 15:25:44 +00:00
|
|
|
opacity: 1;
|
2017-12-21 13:04:12 +00:00
|
|
|
z-index: 2;
|
2017-12-05 21:14:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.colorpicker-popup {
|
|
|
|
z-index: 2147483647 !important;
|
|
|
|
border: none !important;
|
|
|
|
box-shadow: 3px 3px 50px rgba(0,0,0,.5) !important;
|
|
|
|
}
|
2017-12-07 22:08:25 +00:00
|
|
|
|
|
|
|
@keyframes fadein {
|
|
|
|
from {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|