uni2work.workflows.visualiser/editor.css
2023-05-29 00:33:41 +02:00

222 lines
3.8 KiB
CSS

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; */
padding-left: 10px;
background-color: rgb(230, 230, 230);
opacity: 0.95;
z-index: 2;
float: left;
overflow: auto;
}
.menuitem {
float: left;
}
.menuitem button {
padding: 10 0 10 0;
margin: 0 10 0 10;
font-size: 1em;
background-color: transparent;
border-top: 4px solid transparent;
border-bottom: 4px solid transparent;
border-left: none;
border-right: none;
transition: all 200ms ease-out 0ms;
}
.menuitem:hover button {
border-bottom: 4px solid rgb(75, 151, 151);
}
.menuitem:active button, .selectedmenuitem button {
border-bottom: 4px solid rgb(75, 151, 151);
color: rgb(75, 151, 151);
}
.submenu {
width: fit-content;
position: fixed;
top: 60px;
overflow: hidden;
padding: 20 20 20 20;
display: none;
}
.selectedmenuitem .submenu {
display: block;
}
.submenu div {
position: relative;
}
.submenu, #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);
opacity: 0.95;
padding: 20px;
border-radius: 15px;
}
#sidepanel {
top: 70px;
bottom:20px;
right:20px;
width: 500px;
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: all 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);
}
a {
text-decoration: none;
color: rgb(75, 151, 151);
font-weight: 500;
}
a:hover {
color: rgb(90, 184, 184);
}
a:active {
color: rgb(110, 212, 212);
}
#sidebuttons button {
padding: 5 5 5 5;
border-radius: 5px;
border-style: solid;
border-color: transparent;
background: rgba(120, 120, 120, 0.555);
color: white;
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.082), 0 2px 10px 0 rgba(0, 0, 0, 0.068);
transition: all 100ms ease-in-out 0ms;
cursor: pointer;
}
#sidebuttons button:disabled {
border-color: rgba(0, 0, 0, 0.267);
background: rgba(120, 120, 120, 0.116);
color: rgba(0, 0, 0, 0.267);
border-width: 1px;
cursor: not-allowed;
}
#sidebuttons button:hover {
transform: scale(1.02);
/* transition: all 100ms ease-in-out 0ms; */
background: rgba(120, 120, 120, 0.651);
/* transition: box-shadow ease-in-out 100ms; */
}
#sidebuttons button:active {
background: rgba(105, 105, 105, 0.692);
}
select {
padding: 2 2 2 2;
}