mirror of
https://github.com/immense/Remotely.git
synced 2025-10-26 11:27:15 +00:00
273 lines
4.4 KiB
CSS
273 lines
4.4 KiB
CSS
body {
|
|
background-color: rgb(25,25,25);
|
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
font-size: 14px;
|
|
line-height: 1.42857143;
|
|
color: #888888;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
button {
|
|
cursor: pointer;
|
|
background-color: rgb(40,40,40);
|
|
color: white;
|
|
border-radius: 5px;
|
|
border: none;
|
|
}
|
|
|
|
.bar-button {
|
|
height: 100%;
|
|
}
|
|
|
|
button:hover {
|
|
background-color: rgb(100,100,100);
|
|
}
|
|
|
|
button:active {
|
|
background-color: rgb(80,80,80);
|
|
}
|
|
|
|
button.toggled {
|
|
background-color: rgb(120,120,120);
|
|
}
|
|
|
|
button[disabled] {
|
|
background-color: rgb(90,90,90);
|
|
color: gray;
|
|
}
|
|
|
|
.center-aligned {
|
|
text-align: center;
|
|
}
|
|
|
|
.connection-bar {
|
|
display: inline-block;
|
|
position: fixed;
|
|
top: 10px;
|
|
border: none;
|
|
border-radius: 5px;
|
|
background-color: rgb(60, 60, 60);
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
z-index: 3;
|
|
overflow: visible;
|
|
height: 0;
|
|
transition: height 250ms;
|
|
padding-right: 1px;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.connection-bar.open {
|
|
height: 40px;
|
|
transition: height 250ms;
|
|
border: 1px solid white;
|
|
pointer-events: all;
|
|
}
|
|
|
|
.connection-bar-body {
|
|
overflow: hidden;
|
|
height: 100%;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
|
|
#menuButton {
|
|
background-color: rgb(40,40,40);
|
|
font-size: 1.5em;
|
|
padding: 5px;
|
|
border-radius: 3px;
|
|
pointer-events: all;
|
|
margin-right: -1.5em;
|
|
float: right;
|
|
cursor: pointer;
|
|
}
|
|
|
|
#menuButton:hover {
|
|
color: white;
|
|
}
|
|
|
|
.horizontal-button-bar {
|
|
position: fixed;
|
|
background-color: rgb(90, 90, 90);
|
|
height: 0;
|
|
padding: 0;
|
|
top: 55px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
z-index: 3;
|
|
transition: all 250ms;
|
|
border-radius: 5px;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.horizontal-button-bar.open {
|
|
height: 40px;
|
|
padding: 10px;
|
|
transition: all 250ms;
|
|
}
|
|
|
|
.horizontal-button-bar .bar-button {
|
|
margin: 0 5px 0 5px;
|
|
font-size: .8em;
|
|
}
|
|
|
|
#screenViewer {
|
|
max-width: 99vw;
|
|
max-height: 99vh;
|
|
-ms-touch-action: pinch-zoom;
|
|
touch-action: pinch-zoom;
|
|
z-index: 1;
|
|
}
|
|
|
|
#connectBox {
|
|
position: fixed;
|
|
top: 40%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
border: 1px solid white;
|
|
border-radius: 5px;
|
|
background-color: rgb(60, 60, 60);
|
|
width: 300px;
|
|
color: white;
|
|
z-index: 2;
|
|
padding: 0 20px 20px 20px;
|
|
}
|
|
|
|
#connectBox button {
|
|
height: 30px;
|
|
}
|
|
|
|
#connectBox input {
|
|
width: 100%;
|
|
}
|
|
|
|
.remotely-header {
|
|
position: fixed;
|
|
top: 15px;
|
|
left: 15px;
|
|
animation: fadeout 3s ease 2s forwards;
|
|
z-index: -1;
|
|
}
|
|
|
|
@keyframes fadeout {
|
|
0% {
|
|
opacity: 1;
|
|
}
|
|
|
|
100% {
|
|
opacity: .1;
|
|
}
|
|
}
|
|
|
|
.logo-subtitle {
|
|
font-size: .6em;
|
|
color: deepskyblue;
|
|
}
|
|
|
|
.logo-title {
|
|
font-size: 18px;
|
|
color: white;
|
|
}
|
|
|
|
footer {
|
|
position: fixed;
|
|
bottom: 0;
|
|
width: 100vw;
|
|
text-align: center;
|
|
pointer-events: none;
|
|
z-index: -1;
|
|
}
|
|
|
|
footer a {
|
|
color: deepskyblue;
|
|
}
|
|
|
|
.footer-wrapper {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
font-size: .9em;
|
|
}
|
|
|
|
.right-aligned {
|
|
text-align: right;
|
|
}
|
|
|
|
.form-block {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.status-message {
|
|
color: deepskyblue;
|
|
font-size: .9em;
|
|
}
|
|
|
|
.float-message {
|
|
position: fixed;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
padding: 10px;
|
|
font-size: 1.25em;
|
|
font-weight: bold;
|
|
background-color: rgba(0, 0, 0, .75);
|
|
opacity: 1;
|
|
color: white;
|
|
z-index: 4;
|
|
border-radius: 5px;
|
|
user-select: none;
|
|
pointer-events: none;
|
|
animation-name: float-message;
|
|
animation-delay: 1s;
|
|
animation-duration: 2s;
|
|
animation-fill-mode: forwards;
|
|
animation-timing-function: ease-in;
|
|
}
|
|
|
|
@keyframes float-message {
|
|
from {
|
|
opacity: 1;
|
|
top: 50%;
|
|
}
|
|
|
|
to {
|
|
opacity: 0;
|
|
top: 0;
|
|
}
|
|
}
|
|
|
|
|
|
.modal-prompt {
|
|
position: fixed;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
padding: 10px;
|
|
background-color: rgb(60, 60, 60);
|
|
border: 2px solid white;
|
|
border-radius: 5px;
|
|
box-shadow: 10px 10px 5px rgba(50,50,50,0.9);
|
|
z-index: 3;
|
|
min-height: 100px;
|
|
color: white;
|
|
}
|
|
.modal-prompt input {
|
|
margin-top: 15px;
|
|
width: 100%;
|
|
}
|
|
.buttons-footer {
|
|
text-align: right;
|
|
margin-top: 10px
|
|
}
|
|
.buttons-footer button {
|
|
height: 30px;
|
|
width: 60px;
|
|
margin-left: 10px;
|
|
}
|
|
|
|
#touchKeyboardInput {
|
|
position: fixed;
|
|
top: -100%;
|
|
}
|