uni2work.workflows.visualiser/editor.css
2023-05-30 16:22:29 +02:00

353 lines
6.4 KiB
CSS

@font-face {
font-family: Inter;
src: url(fonts/Inter/Inter-VariableFont_slnt\,wght.ttf);
}
@font-face {
font-family: OpenSans;
src: url(fonts/Open_Sans/OpenSans-VariableFont_wdth\,wght.ttf);
}
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;
cursor: pointer;
}
.menuitem button {
font-family: 'Inter';
font-weight: 500;
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;
cursor: pointer;
}
.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 {
font-family: 'Inter';
width: fit-content;
position: fixed;
top: 60px;
overflow: hidden;
padding: 20 20 20 20;
display: none;
cursor: default;
}
/* .selectedmenuitem .submenu {
display: block;
} */
.submenu div {
position: relative;
}
.submenu, #sidepanel, #filepanel {
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, #fileheader {
width: 100%;
}
#sideheader svg {
position: absolute;
top: 20px;
right: 20px;
}
#sideheading {
font-family: 'OpenSans';
text-align: center;
font-size: 2em;
font-style: normal;
}
#sidecontent {
font-family: 'OpenSans';
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;
}
#sidebuttons, #filebuttons {
position: absolute;
bottom: 20px;
left: 20px;
right: 20px;
padding-top: 20px;
}
.contextmenu {
font-family: 'Inter';
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, #filemenu 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, #filemenu div:hover {
background-color: rgb(240, 240, 240);
}
.contextmenu div:active, #filemenu div:active {
background-color: rgb(250, 250, 250);
}
#filemenu .menutop {
border-top-left-radius: 15px;
border-top-right-radius: 15px;
padding-top: 20px;
}
#filemenu .menubottom {
border-bottom-left-radius: 15px;
border-bottom-right-radius: 15px;
padding-bottom: 20px;
}
#filemenu {
padding: 0 0 0 0;
}
#filemenu div {
padding-left: 20px;
padding-right: 20px;
}
::-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: 600;
}
a:hover {
color: rgb(90, 184, 184);
}
a:active {
color: rgb(110, 212, 212);
}
#sidebuttons button, #filebuttons button {
font-family: 'Inter';
padding: 5 5 5 5;
border-radius: 5px;
border-style: solid;
border-color: transparent;
background: rgba(120, 120, 120, 0.555);
color: white;
transition: all 100ms ease-in-out 0ms;
cursor: pointer;
}
#sidebuttons button:disabled, #filebuttons button:disabled, #filecontent div: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, #filebuttons button:hover, #filecontent div:hover {
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.082), 0 2px 10px 0 rgba(0, 0, 0, 0.068);
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, #filebuttons button:active, #filecontent div:active {
background: rgba(105, 105, 105, 0.692);
}
select {
padding: 2 2 2 2;
font-family: 'Inter';
}
label {
font-family: 'Inter';
}
#filepanel {
top: 15%;
bottom:15%;
left: 15%;
right:15%;
z-index:100;
overflow: hidden;
display: none;
}
#fileheading {
font-family: 'Inter';
text-align: center;
font-style: normal;
}
#filecontent {
font-family: 'OpenSans';
position: absolute;
top: 20px;
bottom: 20px;
left: 20px;
right: 20px;
padding-right: 10px;
overflow-y: auto;
overflow-x: hidden;
}
#filecontent div {
border-radius: 15px;
position: relative;
float: left;
width: 200px;
height: 200px;
margin: 10 10 10 10;
text-align: center;
padding: 10 10 10 10;
background-color: rgba(120, 120, 120, 0.555);
color: white;
transition: all 100ms ease-in-out 0ms;
cursor: pointer;
hyphens: auto;
word-wrap: break-word;
overflow: hidden;
text-overflow: clip;
overflow-wrap: break-word;
text-align: left;
}
#filecontent div h3 {
text-align: center;
}
/* #filecontent div p {
text-align: left;
margin-bottom: 10px;
hyphens: auto;
word-wrap: break-word;
overflow: hidden;
text-overflow: ellipsis;
} */
#curtain {
z-index: 50;
position: fixed;
top: 0px;
bottom: 0px;
left: 0px;
right: 0px;
background-color: black;
opacity: 0%;
display: none;
}
.force-graph-container .graph-tooltip {
color: black;
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;
font-family: 'Inter';
font-size: .75em;
border-radius: 5px;
padding-left: 5px;
padding-right: 5px;
}