Remote-Mouse/src/core/static/css/main.css

100 lines
2.0 KiB
CSS

/* Elms */
ul, li {
list-style: none;
}
body {
touch-action: manipulation;
overflow: hidden; /* Used to prevent touch scroll down reloading page. Ref: https://stackoverflow.com/questions/29008194/disabling-androids-chrome-pull-down-to-refresh-feature */
-webkit-touch-callout: none; /* iOS Safari */
-webkit-user-select: none; /* Safari */
-khtml-user-select: none; /* Konqueror HTML */
-moz-user-select: none; /* Old versions of Firefox */
-ms-user-select: none; /* Internet Explorer/Edge */
user-select: none; /* Non-prefixed version, currently
supported by Chrome, Opera and Firefox */
}
input {
width: 100% !important;
margin: 0 auto !important;
background-color: #00000000 !important;
height: 2.5em;
}
/* IDs */
#bg {
position: fixed;
top: 0%;
left: 0%;
width: 100%;
height: 100%;
z-index: -999;
}
#bg img {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
width: 100%;
height: 100%;
z-index: -999;
}
#canvas {
position: relative;
width: 98%;
min-height: 1000px;
border: 2px solid #c3c3c3;
}
#controlsModalBtn,
#typingModalBtn,
#sendKeysBtn,
#pressEnterBtn,
#scrollToggle,
#mouseHoldToggle,
#rightClickBtn {
display: inline-block;
font-size: 280%;
width: 100%;
height: 5em;
}
#controlsModalBtn,
#typingModalBtn {
height: 2em;
}
#hideHandler {
display: none; /* Hide button unless screen bigger than media query says it is */
}
@media only screen and (max-device-width: 800px) {
#sendKeysField {
font-size: 300% !important;
}
}
/* nothing with screen size smaller than 8000px */
@media only screen and (min-device-width: 801px) {
body {
width: 800px;
margin: 0 auto;
}
#hideHandler {
display: block;
}
}
/* Classes */
/* Other message text colors */
.errorTxt { color: rgb(170, 18, 18); }
.warningTxt { color: rgb(255, 168, 0); }
.successTxt { color: rgb(136, 204, 39); }