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

247 lines
4.4 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;
}
2022-01-02 16:30:05 -05:00
button {
padding: 2px 3px 2px 3px;
border: 1px solid rgba(150,150,150,0.5);
background-color: rgba(220,220,220,0.5);
}
button:hover {
background-color: rgba(200,200,200,1);
}
2022-01-05 15:58:11 -05:00
/** for group/model buttons top/right of workspace */
2022-01-02 16:30:05 -05:00
#grouplist {
position: absolute;
margin: 3px 3px 0 0;
right: 0;
top: 0;
}
#grouplist, #grouplist div {
flex-direction: column;
background-color: transparent;
}
#grouplist > div {
border: 1px solid gray;
border-radius: 3px;
margin: 0 0 2px 0;
padding: 3px;
}
#grouplist .group {
font-weight: bold;
2022-01-02 16:30:05 -05:00
padding: 3px;
}
#grouplist .models button {
margin-top: 1px;
text-align: left;
2022-01-02 16:30:05 -05:00
}
#grouplist .selected {
background-color: rgba(0,255,0,0.5)
2022-01-02 16:30:05 -05:00
}
#grouplist .selected:hover {
background-color: rgba(0,255,0,1)
}
2022-01-02 16:30:05 -05:00
#grouplist .vsep {
margin: 2px 0 1px 0;
border-bottom: 1px dashed gray;
2022-01-02 16:30:05 -05:00
}
2022-01-05 15:58:11 -05:00
/** for selection info bottom/right of workspace */
#selectlist {
font-size: smaller;
2022-01-05 15:58:11 -05:00
position: absolute;
margin: 0 3px 3px 0;
bottom: 0;
right: 0;
gap: 2px;
2022-01-05 15:58:11 -05:00
}
#selectlist > div {
flex-direction: column;
gap: 2px;
}
#selectlist label {
border-radius: 3px;
font-family: monospace;
text-align: right;
padding: 2px;
background-color: rgba(0,0,0,0.05);
}
#selectlist .top {
display: block;
font-weight: bold;
font-size: smaller;
text-align: center;
2022-01-05 15:58:11 -05:00
}
#selectlist .side {
font-weight: bold;
font-size: smaller;
align-items: center;
justify-content: flex-end;
}
#selectlist .grid {
background-color: rgba(255,255,255,0.9);
border: 1px solid rgba(0,0,0,0.15);
border-radius: 3px;
padding: 3px;
2022-01-05 15:58:11 -05:00
display: grid;
gap: 2px 2px;
grid: min-content 1fr 1fr / min-content 1fr 1fr 1fr;
2022-01-05 15:58:11 -05:00
}
#selectlist .grid2 {
grid: min-content 1fr / min-content 1fr;
}