summaryrefslogtreecommitdiff
path: root/kvmd/web/css/main.css
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2018-08-24 07:13:40 +0300
committerDevaev Maxim <[email protected]>2018-08-24 07:13:40 +0300
commit52d2b8a3158f6bf8651c07b11a056ecf17f9e49c (patch)
tree02fd818cbac3cea05827bf7e304467df24b9234f /kvmd/web/css/main.css
parent0468100bba78f89743edf77a095aa24de5406dbb (diff)
configurable stream resolution
Diffstat (limited to 'kvmd/web/css/main.css')
-rw-r--r--kvmd/web/css/main.css36
1 files changed, 29 insertions, 7 deletions
diff --git a/kvmd/web/css/main.css b/kvmd/web/css/main.css
index 44ca1ac1..4ff39abe 100644
--- a/kvmd/web/css/main.css
+++ b/kvmd/web/css/main.css
@@ -91,7 +91,7 @@ div.ctl-dropdown-content div.buttons-row {
padding: 0;
font-size: 0;
}
-div.ctl-dropdown-content button {
+div.ctl-dropdown-content button, select {
box-shadow: none;
border: none;
color: var(--fg-color-normal);
@@ -105,26 +105,48 @@ div.ctl-dropdown-content button {
outline: none;
cursor: pointer;
}
-div.ctl-dropdown-content button:enabled:hover {
+div.ctl-dropdown-content button:enabled:hover, select:enabled:hover {
color: var(--fg-color-intensive);
background-color: var(--bg-color-dark) !important;
}
-div.ctl-dropdown-content button:disabled {
+div.ctl-dropdown-content button:disabled, select:disabled {
color: var(--fg-color-inactive);
cursor: default;
}
-div.ctl-dropdown-content button:active {
+div.ctl-dropdown-content button:active, select:active {
color: var(--fg-color-selected) !important;
}
-div.ctl-dropdown-content button.row50 {
+div.ctl-dropdown-content select {
+ -webkit-appearance: button;
+ -moz-appearance: button;
+ appearance: button;
+ -webkit-user-select: none;
+ -moz-user-select: none;
+ user-select: none;
+ background-image: url("../svg/select-arrow-normal.svg");
+ background-position: center right;
+ background-repeat: no-repeat;
+}
+div.ctl-dropdown-content select:enabled:hover {
+ background-image: url("../svg/select-arrow-intensive.svg") !important;
+}
+div.ctl-dropdown-content select:disabled {
+ background-image: url("../svg/select-arrow-inactive.svg") !important;
+}
+div.ctl-dropdown-content select:active {
+ color: var(--fg-color-intensive) !important;
+ background-color: var(--bg-color-dark) !important;
+ background-image: url("../svg/select-arrow-intensive.svg") !important;
+}
+div.ctl-dropdown-content .row50 {
display: inline-block;
width: 50%;
}
-div.ctl-dropdown-content button.row25 {
+div.ctl-dropdown-content .row25 {
display: inline-block;
width: 25%;
}
-div.ctl-dropdown-content button.row50:not(:first-child), button.row25:not(:first-child) {
+div.ctl-dropdown-content .row50:not(:first-child), .row25:not(:first-child) {
border-left: var(--dark-border);
}
div.ctl-dropdown-content hr {