Files
videospeed/shadow.css
Chad Bailey 55500fc010 Feature/578 prettier.io formatting (#585)
* Reformatted codebase using prettier.io (should not change functional behavior)
* Formatted README.md, added CONTRIBUTING.md, .prettierrc configuration file, and installed pre-commit hook
2020-02-08 23:26:10 +01:00

90 lines
1.1 KiB
CSS

* {
line-height: 1.8em;
font-family: Verdana, Geneva, sans-serif;
font-size: 13px;
}
:host(:hover) #controls {
display: inline;
}
#controller {
position: absolute;
top: 0;
left: 0;
background: black;
color: white;
border-radius: 5px;
padding: 5px;
margin: 10px 10px 10px 15px;
cursor: default;
z-index: 9999999;
}
#controller:hover {
opacity: 0.7;
}
#controller:hover > .draggable {
margin-right: 0.8em;
}
#controls {
display: none;
}
#controller.dragging {
cursor: -webkit-grabbing;
opacity: 0.7;
}
#controller.dragging #controls {
display: inline;
}
.draggable {
cursor: -webkit-grab;
}
.draggable:active {
cursor: -webkit-grabbing;
}
button {
cursor: pointer;
color: black;
background: white;
font-weight: bold;
border-radius: 5px;
padding: 1px 6px 3px 6px;
font-size: 14px;
line-height: 14px;
border: 1px solid white;
font-family: "Lucida Console", Monaco, monospace;
margin-bottom: 2px;
}
button:focus {
outline: 0;
}
button:hover {
opacity: 1;
}
button:active {
background: #ccc;
}
button.rw {
opacity: 0.65;
}
button.hideButton {
margin-right: 2px;
opacity: 0.5;
}