uni2work.workflows.visualiser/editor.css
2023-05-28 13:52:51 +02:00

144 lines
2.4 KiB
CSS

/* .body {
margin: 50px 50px 50px 50px;
}
#editor {
border: 10px solid red;
} */
body {
margin: 0 0 0 0;
}
#settings {
line-height: 2;
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
top: 0px;
width: 100%;
position: fixed;
padding: 8 8 8 8;
background-color: rgb(230, 230, 230);
opacity: 0.95;
z-index: 2;
float: left;
overflow: auto;
align-items: center;
}
#settings div {
width: fit-content;
position: relative;
overflow: hidden;
float: left;
margin-right: 20;
}
#sidepanel {
position:fixed;
background-color: rgb(230, 230, 230);
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
top: 80px;
bottom:30px;
right:20px;
width: 500px;
opacity: 0.95;
padding: 20px;
border-radius: 20px;
z-index:10;
overflow: hidden;
display: none;
}
#sideheader {
width: 100%;
}
#sideheader svg {
position: absolute;
top: 20px;
right: 20px;
}
#sideheading {
text-align: center;
font-size: 2em;
font-style: normal;
}
#sidecontent {
position: absolute;
top: 20px;
bottom: 20px;
left: 20px;
right: 20px;
padding-right: 10px;
overflow-y: auto;
overflow-x: hidden;
text-align: justify;
hyphens: auto;
word-wrap: break-word;
/* height: 80%; */
}
#sidebuttons {
position: absolute;
bottom: 20px;
left: 20px;
right: 20px;
padding-top: 20px;
}
.contextmenu {
display: none;
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
border-radius: 5px;
line-height: 2;
position: absolute;
z-index: 15;
}
.contextmenu div {
padding: 5px;
background-color: rgb(230, 230, 230);
opacity: 0.95;
transition: background-color 100ms ease-out 50ms;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
cursor: pointer;
}
.contextmenu .menutop {
border-top-left-radius: 5px;
border-top-right-radius: 5px;
}
.contextmenu .menubottom {
border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
}
.contextmenu div:hover {
background-color: rgb(240, 240, 240);
}
.contextmenu div:active {
background-color: rgb(250, 250, 250);
}
::-webkit-scrollbar {
width: 5px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: rgba(120, 120, 120, 0.555);
border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
background: rgb(120, 120, 120);
}