MojoFrontend/styles/console.css

195 lines
2.9 KiB
CSS
Raw Normal View History

2022-05-03 10:12:30 +00:00
html {
margin: 0;
padding: 0;
height: 100vh;
2022-05-03 10:15:30 +00:00
user-select: none;
2022-05-03 10:12:30 +00:00
overflow: hidden;
}
2022-05-03 09:40:07 +00:00
body {
2022-05-03 10:12:30 +00:00
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
margin: 0;
padding: 0;
}
iframe {
border: none;
2022-05-03 10:15:30 +00:00
margin: 20px;
2022-05-03 10:12:30 +00:00
}
2022-05-03 11:19:25 +00:00
button {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
font-size: 14px;
border: 1px solid #ccc;
background: none;
cursor: pointer;
padding: 5px 10px;
margin: 0;
border-radius: 3px;
transition: background-color 0.2s ease-in-out;
}
button:hover {
background-color: #eee;
}
2022-05-03 10:12:30 +00:00
#logo {
height: 20px;
2022-05-03 09:40:07 +00:00
}
#main {
background-color: #fff;
color: #000;
font-size: 12px;
padding: 5px;
text-align: center;
width: 100%;
height: 100%;
overflow: hidden;
}
2022-05-03 10:12:30 +00:00
#right {
display: flex;
flex-direction: row;
justify-content: space-between;
2022-05-10 07:48:40 +00:00
overflow: hidden;
2022-05-03 10:12:30 +00:00
}
2022-05-03 09:40:07 +00:00
#titleBar {
2022-05-05 01:16:56 +00:00
font-size: 2em;
2022-05-10 07:59:31 +00:00
padding: 10px;
2022-05-03 10:12:30 +00:00
text-align: left;
font-weight: bold;
2022-05-04 20:12:44 +00:00
margin-left: 30px;
}
#status {
font-size: 0.7em;
2022-05-05 01:16:56 +00:00
float: right;
margin-top: -1em;
display: flex;
align-items: center;
2022-05-03 10:12:30 +00:00
}
#sidebar {
display: flex;
flex-direction: column;
height: 100%;
width: 200px;
background-color: #eee;
}
.sidebarItem {
font-size: 1.4em;
padding: 20px;
border-bottom: 1px solid #ccc;
2022-05-03 10:15:30 +00:00
transition: background-color 0.1s ease-in-out;
2022-05-03 10:12:30 +00:00
}
.sidebarItem:hover {
background: #ccc;
cursor: pointer;
}
#content {
height: 100%;
width: 100%;
2022-05-04 20:12:44 +00:00
}
.dot {
height: 20px;
width: 20px;
border-radius: 50%;
2022-05-05 01:16:56 +00:00
border: 2px solid grey;
2022-05-04 20:12:44 +00:00
display: inline-block;
2022-05-05 01:16:56 +00:00
margin-left: 3px;
2022-05-04 20:12:44 +00:00
}
.ready {
color: lightgreen;
}
.ready .dot {
background-color: lightgreen;
}
.error {
color: darkred;
}
.error .dot {
background-color: darkred;
}
#message {
position: absolute;
2022-05-04 23:38:03 +00:00
background-color: #00000000;
left: 50vw;
transform: translateX(-50%);
height: fit-content;
2022-05-04 20:12:44 +00:00
z-index: 100;
top: 0px;
opacity: 1;
2022-05-04 23:38:03 +00:00
display: flex;
flex-direction: column;
align-items: center;
2022-05-04 20:12:44 +00:00
}
2022-05-04 23:38:03 +00:00
.messageBox {
margin-top: 1em;
width: 400px;
/* min-height: 60px; */
2022-05-04 20:12:44 +00:00
background-color: #f2f3c6;
display: flex;
2022-05-04 23:38:03 +00:00
flex-direction: row;
2022-05-04 20:12:44 +00:00
align-items: center;
justify-content: space-between;
2022-05-04 23:38:03 +00:00
border-radius: 10px;
2022-05-04 20:12:44 +00:00
overflow: hidden;
-webkit-box-shadow: 0px 0px 26px -9px rgba(0,0,0,0.83);
box-shadow: 0px 0px 26px -9px rgba(0,0,0,0.83);
2022-05-04 23:38:03 +00:00
padding: 1em 1em;
transition: all ease-in-out 0.3s;
height: fit-content;
}
2022-05-05 01:16:56 +00:00
.messageBox.fail {
background-color: #f65531;
}
2022-05-04 23:38:03 +00:00
.messageBox.initial {
transform: translateY(100%);
opacity: 0;
}
.messageBox.finish {
transform: translateY(-100%);
opacity: 0;
min-height: 0px;
height: 0px;
margin: -15px;
2022-05-04 20:12:44 +00:00
}
2022-05-04 23:38:03 +00:00
.messageContent {
2022-05-04 20:12:44 +00:00
overflow-wrap: break-word;
overflow-y: auto;
}
.hide {
display: none;
}
.messageBoxTitle {
width: 100%;
height: 2em;
padding-top:1em;
text-align: center;
background: rgb(16,232,253);
background: linear-gradient(180deg, rgba(16,232,253,1) 0%, rgba(16,248,253,0.5914959733893557) 70%, rgba(249,255,0,0) 100%);
2022-05-03 09:40:07 +00:00
}