2017-12-06 21:11:30 +00:00
|
|
|
#stylus-popup #message-box-contents {
|
|
|
|
padding: .25rem .75rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
#stylus-popup .config-body label {
|
|
|
|
padding: .5em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#stylus-popup .config-body label > :first-child {
|
|
|
|
max-width: 140px;
|
|
|
|
min-width: 140px;
|
|
|
|
}
|
|
|
|
|
2017-12-06 20:33:48 +00:00
|
|
|
.config-heading {
|
2017-12-05 21:14:21 +00:00
|
|
|
float: right;
|
|
|
|
margin: -1.25rem 0 0 0;
|
|
|
|
font-size: 0.9em;
|
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
.config-dialog .select-resizer {
|
|
|
|
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-06 20:33:48 +00:00
|
|
|
.config-body label > :first-child {
|
2017-12-05 21:14:21 +00:00
|
|
|
margin-right: 8px;
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
2017-12-06 20:33:48 +00:00
|
|
|
.config-body label:not([disabled]) > :first-child {
|
2017-12-05 21:14:21 +00:00
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
2017-12-05 23:59:12 +00:00
|
|
|
.config-dialog .dirty:after {
|
|
|
|
content: "*";
|
|
|
|
position: absolute;
|
|
|
|
left: 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.config-dialog .dirty {
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
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-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-06 20:33:48 +00:00
|
|
|
.config-body label > :last-child {
|
2017-12-05 21:14:21 +00:00
|
|
|
box-sizing: border-box;
|
|
|
|
flex-shrink: 0;
|
|
|
|
}
|
|
|
|
|
2017-12-06 20:33:48 +00:00
|
|
|
.config-body label > :last-child:not(.onoffswitch):not(.select-resizer) > :not(:last-child) {
|
2017-12-05 21:14:21 +00:00
|
|
|
margin-right: 4px;
|
|
|
|
}
|
|
|
|
|
2017-12-06 20:33:48 +00:00
|
|
|
#config-autosave-wrapper {
|
|
|
|
position: relative;
|
|
|
|
padding: 0 0 0 16px;
|
|
|
|
display: inline-flex;
|
|
|
|
}
|
|
|
|
|
2017-12-05 21:14:21 +00:00
|
|
|
.cm-colorview::before,
|
|
|
|
.color-swatch {
|
|
|
|
width: var(--onoffswitch-width) !important;
|
|
|
|
height: 20px !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cm-colorview::before {
|
|
|
|
margin: 1px !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.color-swatch {
|
|
|
|
position: absolute;
|
|
|
|
border: 1px solid gray;
|
|
|
|
margin-top: -22px;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.colorpicker-popup {
|
|
|
|
z-index: 2147483647 !important;
|
|
|
|
border: none !important;
|
|
|
|
box-shadow: 3px 3px 50px rgba(0,0,0,.5) !important;
|
|
|
|
}
|