grid-apps-cmms/web/mesh/index.css

142 lines
2.6 KiB
CSS
Raw Normal View History

2021-12-16 19:11:52 -05:00
:root {
--fg-gray: #495057;
--bg-gray: rgba(0,0,0,0.25);
--gradbar: linear-gradient(to right, #ddd, #666, #ddd);
--holdbar: linear-gradient(to top, rgba(100,100,100,0.1), rgba(255,255,255,1), rgba(100,100,100,0.1));
--holdbar-sf: linear-gradient(to top, rgba(200,200,200,0.1), rgba(255,255,255,1), rgba(200,200,200,0.1)) !important;
--highlight: rgba(126,153,183,0.4);
--main-color: rgba(126,153,183,1);
}
2021-12-26 20:01:56 -05:00
2021-12-16 19:11:52 -05:00
@font-face {
font-family: 'Russo One';
2021-12-26 22:00:31 -05:00
src: url('/moto/russo-one.ttf');
2021-12-16 19:11:52 -05:00
}
2021-12-26 20:01:56 -05:00
2021-12-16 19:11:52 -05:00
a, a:hover, a:visited {
border: none;
color: inherit;
text-decoration: none;
}
2021-12-26 20:01:56 -05:00
2021-12-26 22:00:31 -05:00
body, div {
2021-12-26 20:01:56 -05:00
position: relative;
display: flex;
padding: 0;
border: 0;
margin: 0;
}
2021-12-16 19:11:52 -05:00
#app {
position: fixed;
overflow: hidden;
2021-12-26 22:00:31 -05:00
flex-direction: column;
2021-12-16 19:11:52 -05:00
font-family: sans-serif;
2021-12-26 22:00:31 -05:00
font-weight: normal;
2021-12-16 19:11:52 -05:00
font-size: larger;
bottom: 0;
2021-12-26 22:00:31 -05:00
right: 0;
left: 0;
top: 0;
2021-12-16 19:11:52 -05:00
}
2021-12-26 20:01:56 -05:00
#app-info {
2021-12-26 22:00:31 -05:00
z-index: 50;
2021-12-16 19:11:52 -05:00
top: 50%;
left: 50%;
transform: translateX(-50%) translateY(-50%);
2021-12-26 22:00:31 -05:00
cursor: pointer;
flex-direction: column;
align-items: center;
2021-12-16 19:11:52 -05:00
}
2021-12-26 20:01:56 -05:00
#app-info:hover #app-vers {
2021-12-26 19:43:48 -05:00
display: flex;
2021-12-16 19:11:52 -05:00
}
2021-12-26 20:01:56 -05:00
#app-vers {
2021-12-26 19:43:48 -05:00
display: none;
position: absolute;
white-space: nowrap;
font-size: smaller;
font-family: sans-serif;
margin-top: 5px;
padding: 5px;
transform: translateX(-50%);
left: 50%;
top: 100%;
color: var(--fg-gray);
border-radius: 3px;
border: 1px solid #ddd;
background-color: white;
}
2021-12-26 20:01:56 -05:00
2021-12-26 22:00:31 -05:00
#app-body {
2021-12-16 19:11:52 -05:00
flex-grow: 1;
}
2021-12-26 22:00:31 -05:00
#app-body > div {
z-index: 2;
2021-12-16 19:11:52 -05:00
}
#curtain {
2021-12-26 22:00:31 -05:00
z-index: 50000;
2021-12-16 19:11:52 -05:00
top: 0;
left: 0;
right: 0;
bottom: 0;
position: fixed;
background-color: #fff;
font-family: 'Russo One', sans-serif;
2021-12-26 22:00:31 -05:00
justify-content: center;
align-items: center;
2021-12-16 19:11:52 -05:00
}
#container {
2021-12-26 22:00:31 -05:00
z-index: 1;
2021-12-16 19:11:52 -05:00
position: fixed;
width: 100%;
height: 100%;
}
2021-12-26 20:01:56 -05:00
2021-12-16 19:11:52 -05:00
#container canvas {
width: 100%;
height: 100%;
overflow: hidden;
}
#top {
2021-12-26 22:00:31 -05:00
z-index: 2;
padding: 3px;
flex-direction: row;
2021-12-16 19:11:52 -05:00
font-family: 'Russo One', sans-serif;
background-color: rgba(255,255,255,0.75);
}
2021-12-26 20:01:56 -05:00
2021-12-16 19:11:52 -05:00
#top > div {
margin: 0 5px 0 5px;
}
2021-12-26 22:00:31 -05:00
#top-sep {
z-index: 2;
height: 1px;
background-image: var(--gradbar);
}
.noselect {
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
:-moz-any() {
overflow-x: hidden !important;
overflow-y: hidden !important;
}
:-moz-any() {
overflow-x: scroll !important;
overflow-y: scroll !important;
margin-right: -14px !important;
margin-bottom: -14px !important;
}