Files
stf-DeviceFarmer-1/res/app/control-panes/device-control/device-control.css
2014-05-01 21:25:13 +09:00

151 lines
2.5 KiB
CSS

device-screen canvas {
transition: width 100ms linear;
-ms-transform: width 100ms linear;
-webkit-transform: width 100ms linear;
}
device-screen {
position: relative;
display: block;
overflow: hidden;
}
device-screen canvas {
position: absolute;
margin: auto;
top: 0;
right: 0;
bottom: 0;
left: 0;
pointer-events: none; /* MUST HAVE */
}
device-screen .finger {
position: absolute;
border-radius: 50%;
background: lime;
opacity: 0.5;
width: 6mm;
height: 6mm;
top: -3mm;
left: -3mm;
pointer-events: none;
display: none;
}
device-screen.fingering .finger {
display: block;
}
device-screen textarea {
position: absolute;
z-index: 10;
outline: none;
pointer-events: none;
opacity: 0;
}
.stf-device-control .dragover {
opacity: 0.7;
}
.stf-device-control .dropdown-menu {
top: auto;
}
.stf-device-control .device-small-image {
width: 14px;
height: 14px;
display: inline-block;
margin-right: 7px;
}
.stf-device-control .device-small-image img {
width: 100%;
}
.stf-device-control .kick-device {
color: #9c9c9c;
margin-left: 25px;
}
.stf-device-control .kick-device:hover {
color: #d9534f;
}
.stf-device-control .kick-device i {
margin-right: 0;
}
.stf-device-control .orientation-degree {
min-width: 34px;
display: inline-block;
}
/* VNC buttons */
.stf-vnc-bottom .btn-primary:hover {
background: rgba(255, 255, 255, 1.0);
/*border-color: rgba(255, 255, 255, 1.0);*/
border: none;
}
.stf-vnc-bottom .btn {
border-radius: 0;
}
/*.stf-vnc-bottom .btn-primary:active,*/
.stf-vnc-bottom .btn-primary.active {
background: rgba(255, 255, 255, 0.7);
border: none;
/*border-color: rgba(255, 255, 255, 0.7);*/
}
.stf-vnc-navbar-buttons {
padding-top: 2px;
padding-bottom: 32px;
}
.stf-vnc-navbar-buttons .btn {
margin-bottom: 0;
min-width: 37px;
}
.stf-device-control .stf-vnc-device-name {
/*padding: 6px 2px 6px 15px;*/
/*float: left;*/
font-size: 16px;
line-height: 20px;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
color: #858585;
}
.stf-device-control .device-name-container {
overflow: hidden;
text-overflow: ellipsis;
}
.stf-device-control .stf-vnc-device-name .device-small-image {
margin-left: 10px;
}
.stf-device-control .current-device {
font-weight: bold;
}
.stf-vnc-navbar {
background: #fff;
margin-bottom: 2px;
}
.stf-vnc-fps {
line-height: 28px;
color: #D1D1D1;
font-family: monospace;
display: inline-block;
width: 28px;
min-height: 10px;
text-align: center;
}