}
.cbi-dropdown:not(.btn):not(.cbi-button),
-.cbi-dynlist,
-.cbi-select {
+.cbi-dynlist {
min-width: 210px;
max-width: 400px;
width: auto;
padding: 0;
position: relative;
background: linear-gradient(var(--background-color-high), var(--border-color-low));
- width: auto;
}
.cbi-select select,
background: transparent;
height: 100%;
width: 100%;
- padding: 0 .25em;
+ padding: 0 .3em;
cursor: pointer;
margin-right: .6em;
}
position: absolute;
top: 0;
right: 0;
+ bottom: 0;
content: "▾";
- line-height: 2em;
- padding: 0 .25em;
+ padding: 0 .3em;
background: linear-gradient(var(--background-color-high), var(--border-color-low));
pointer-events: none;
border-radius: 3px;
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
}
.cbi-select select option {
button[disabled],
select[disabled],
textarea[disabled],
-.cbi-dropdown[disabled],
+.cbi-select[disabled]::before,
+.cbi-dropdown[disabled]:not(.btn):not(.cbi-button),
input[type="checkbox"][disabled]::before,
input[type="checkbox"][disabled]::after,
input[type="radio"][disabled]::before,
-input[type="radio"][disabled]::after,
-input[readonly],
-button[readonly],
-select[readonly],
-textarea[readonly],
-.cbi-dropdown[readonly],
-input[type="checkbox"][readonly]::before,
-input[type="checkbox"][readonly]::after,
-input[type="radio"][readonly]::before,
-input[type="radio"][readonly]::after {
+input[type="radio"][disabled]::after {
opacity: var(--disabled-opacity);
pointer-events: none;
cursor: default;
}
+input[readonly],
select[readonly],
textarea[readonly] {
+ border-color: hsla(var(--border-color-high-hsl), var(--disabled-opacity));
pointer-events: auto;
cursor: auto;
}
justify-content: center;
text-align: center;
line-height: 2em;
- padding: 0 .25em;
+ padding: 0 .3em;
}
.cbi-dropdown.btn > .open,
input[type="text"] + .cbi-button,
input[type="password"] + .cbi-button,
-select + .cbi-button {
+select + .cbi-button,
+.cbi-select + .cbi-button {
border-radius: 0 3px 3px 0;
border-color: var(--border-color-high);
margin-left: -2px;
line-height: 28px;
}
-select + .cbi-button {
- border-left-color: transparent;
+select + .cbi-button,
+.cbi-select + .cbi-button {
+ position: relative;
}
.cbi-title-ref {
.uci-change-dialog div > ins,
.uci-change-dialog div > var {
margin-bottom: 2px;
- border: 1px solid #ccc;
- background: #eee;
+ border: 1px solid hsla(var(--border-color-high-hsl), .6);
line-height: 15px;
overflow: hidden;
text-overflow: ellipsis;
- padding: 0;
+ padding: 2px;
position: relative;
-}
-
-.uci-change-list > * > * {
- overflow: hidden;
- text-overflow: ellipsis;
-}
-
-.uci-change-dialog del,
-.uci-change-dialog ins,
-.uci-change-dialog var {
- text-decoration: none;
- font-family: monospace;
- font-style: normal;
- color: var(--text-color-high);
- display: block;
+ background-color: hsla(var(--background-color-low-hsl), .3);
}
.uci-change-dialog div > ins {
+ background-color: rgba(var(--success-color-high-rgb), .3);
border-color: rgba(var(--success-color-high-rgb), .6);
- background: var(--border-color-low);
}
.uci-change-dialog div > del {
+ background-color: rgba(var(--error-color-high-rgb), .3);
border-color: rgba(var(--error-color-high-rgb), .6);
- background: var(--border-color-low);
}
-.uci-change-dialog div > var {
- border-color: var(--border-color-high);
- background: var(--border-color-low);
-}
-
-.uci-change-dialog div > :not(div) > ins {
- background: rgba(var(--success-color-high-rgb), .3);
+.uci-change-dialog var > ins {
+ background-color: rgba(var(--success-color-high-rgb), .3);
}
-.uci-change-dialog div > :not(div) > del {
- background: rgba(var(--error-color-high-rgb), .3);
+.uci-change-dialog var > del {
+ background-color: rgba(var(--error-color-high-rgb), .3);
}
-.uci-change-dialog div > var > * {
- padding: 0;
- margin: 2px;
+.uci-change-list > var > * {
+ overflow: hidden;
+ text-overflow: ellipsis;
}
-.uci-change-dialog div > ins > ins,
-.uci-change-dialog div > del > del {
- padding: 2px;
- margin: 0;
+.uci-change-dialog del,
+.uci-change-dialog ins,
+.uci-change-dialog var {
+ text-decoration: none;
+ font-family: monospace;
+ font-style: normal;
+ color: var(--text-color-high);
+ display: block;
}
.uci-change-legend {