mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 09:10:30 +08:00
61 lines
1.5 KiB
CSS
61 lines
1.5 KiB
CSS
div#stream-box {
|
|
box-sizing: border-box;
|
|
display: inline-block;
|
|
background-color: #e5e5f5;
|
|
padding: 10px;
|
|
}
|
|
img#stream-image {
|
|
width: 640px;
|
|
height: 480px;
|
|
display: inline-block;
|
|
border: 1px solid grey;
|
|
}
|
|
img.stream-image-active {
|
|
cursor: crosshair;
|
|
-webkit-filter: none;
|
|
filter: none;
|
|
}
|
|
img.stream-image-inactive {
|
|
cursor: wait;
|
|
-webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
|
|
filter: grayscale(100%);
|
|
}
|
|
|
|
img#atx-power-led,
|
|
img#hid-mouse-led,
|
|
img#msd-led,
|
|
img#atx-hdd-led,
|
|
img#stream-led,
|
|
img#hid-keyboard-led {
|
|
height: 24px;
|
|
}
|
|
img.led-on {
|
|
-webkit-filter: invert(.5) sepia(1) saturate(5) hue-rotate(100deg);
|
|
filter: invert(.5) sepia(1) saturate(5) hue-rotate(100deg);
|
|
}
|
|
img.led-off {
|
|
-webkit-filter: invert(.5);
|
|
filter: invert(.5);
|
|
}
|
|
img.led-hdd-busy {
|
|
-webkit-filter: invert(.5) sepia(1) saturate(15) hue-rotate(320deg);
|
|
filter: invert(.5) sepia(1) saturate(15) hue-rotate(320deg);
|
|
}
|
|
img.led-msd-writing {
|
|
-webkit-filter: invert(.5) sepia(1) saturate(5) hue-rotate(0deg);
|
|
filter: invert(.5) sepia(1) saturate(5) hue-rotate(0deg);
|
|
-webkit-animation:spin 2s linear infinite;
|
|
-moz-animation:spin 2s linear infinite;
|
|
animation:spin 2s linear infinite;
|
|
}
|
|
@-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } }
|
|
@-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } }
|
|
@keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }
|
|
|
|
button#stream-reset-button,
|
|
button#atx-power-button,
|
|
button#atx-power-button-long,
|
|
button#atx-reset-button {
|
|
height: 24px;
|
|
}
|