uni2work.workflows.visualiser/editor.css
2023-06-04 14:56:42 +02:00

667 lines
13 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;
}
#mainmenu {
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-left: 10px;
z-index: 11;
float: left;
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
}
.menuitem {
float: left;
cursor: pointer;
}
.menuitem .menubutton {
font-family: 'Inter';
margin: 0 10 0 10;
padding: 5 0 5 0;
font-weight: 500;
font-size: 1em;
transition: all 200ms ease-out 0ms;
color: inherit;
background-color: transparent;
border-top: 4px solid transparent;
border-bottom: 4px solid transparent;
border-left: none;
border-right: none;
cursor: pointer;
}
.menuitem:hover .menubutton {
border-bottom: 4px solid rgb(75, 151, 151);
}
.menuitem:active .menubutton, .selectedmenuitem .menubutton {
border-bottom: 4px solid rgb(75, 151, 151);
color: rgb(75, 151, 151);
}
.menuitem #search-container {
position: fixed;
top: 0px;
bottom: 0px;
width: 400px;
padding: 2 2 2 2;
background-color: transparent;
border-top: 4px solid transparent;
border-bottom: 4px solid transparent;
border-left: none;
border-right: none;
cursor: pointer;
}
#search-container input {
height: 100%;
/* height: 40px; */
width: 100%;
border-radius: 10px;
padding-left: 38px;
padding-right: 10px;
outline: none;
transition: all 100ms ease-out 50ms;
}
.menu-lightmode #search-container input {
border: 1px solid rgba(0, 0, 0, 0.123);
}
.menu-darkmode #search-container input {
border: 1px solid rgba(255, 255, 255, 0.123);
}
#search-container:hover input, #search-container input:active, #search-container input:focus {
/* border: 2px solid rgb(117, 117, 117); */
box-shadow: 0 0px 10px 0 rgba(0, 0, 0, 0.12);
/* padding-left: 9px;
padding-right: 37px; */
}
#search-container input:focus {
box-shadow: 0 0px 10px 0 rgba(0, 0, 0, 0.24);
/* transform: scale(1.02); */
}
::selection {
background-color: rgba(75, 151, 151, 0.702);
color: white;
}
#search-container .search-button {
border-radius: 10px;
border: none;
/* box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12); */
padding: 6 6 6 6;
display: inline-flex;
align-items: center;
position: absolute;
cursor: pointer;
top: 7;
left: 7;
background-color: transparent;
transition: all 100ms ease-out 50ms;
/* background-color: rgb(120, 120, 120); */
}
#search-container .search-button .search-icon-lightmode {
stroke: rgb(117, 117, 117);
}
#search-container .search-button .search-icon-darkmode {
stroke: rgb(138, 138, 138);
}
#search-results {
width: 400px;
overflow: hidden;
padding-bottom: 20px;
}
#search-options {
padding: 15px;
width: 100%;
}
#search-result-list {
overflow-y: auto;
overflow-x: hidden;
font-family: 'OpenSans';
}
#search-result-list > * {
padding-left: 15px;
padding-right: 15px;
}
#search-result-list div div {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
transition: all 100ms ease-out 50ms;
}
#search-result-list .search-result-info {
font-size: .75em;
padding-top: 0px;
padding-bottom: 5px;
}
.menu-lightmode #search-result-list .search-result-info {
color: rgba(0, 0, 0, 0.5);
}
.menu-darkmode #search-result-list .search-result-info {
color: rgba(255, 255, 255, 0.5);
}
#search-result-list div .search-result-head {
padding-bottom: 0px;
padding-top: 5px;
}
#search-result-list div:hover .search-result-head {
font-weight: 500;
color: rgb(75, 151, 151);
}
#search-result-list div:active .search-result-head {
font-weight: 600;
}
.checkbox {
/* position: relative;
display: block; */
padding-right: 10px;
cursor: pointer;
}
.checkbox input {
cursor: pointer;
}
.submenu {
font-family: 'Inter';
width: fit-content;
position: fixed;
top: 60px;
overflow: hidden;
display: none;
cursor: default;
}
.submenu div {
position: relative;
}
.menuitem #filename {
position: fixed;
right: 10px;
padding: 5 0 5 0;
margin: 0 10 0 10;
text-align: center;
font-size: 1em;
font-family: 'Inter';
font-weight: normal;
background-color: transparent;
border-top: 4px solid transparent;
border-bottom: 4px solid transparent;
cursor: default;
}
.submenu, #sidepanel, #filepanel {
position:fixed;
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
padding: 5px;
border-radius: 15px;
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
}
#sidepanel {
top: 70px;
bottom:15px;
right:15px;
width: 500px;
z-index:10;
overflow: hidden;
display: none;
}
#sidepanel * {
background: none;
}
#sideheader, #fileheader {
width: 100%;
}
.sidecontenttype {
font-family: 'Inter';
float: left;
line-height: 2;
position: absolute;
top: 10px;
left: 20px;
cursor: default;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
}
#sidecontentedge, #sidecontentnode {
display: none;
}
.close {
position: absolute;
top: 20px;
right: 20px;
}
#sideheading {
font-family: 'OpenSans';
text-align: center;
font-size: 1.75em;
font-style: normal;
margin-top: 40px;
padding-left: 20px;
padding-right: 20px;
}
#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;
}
#sidecontent h2 {
font-size: 1.25em;
}
#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;
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
}
.contextmenu div, #filemenu div, #editmenu div {
padding-top: 5px;
padding-bottom: 5px;
padding-left: 10px;
padding-right: 10px;
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 .menu-lightmode:hover, #filemenu .menu-lightmode:hover, #editmenu .menu-lightmode:hover {
background-color: rgb(240, 240, 240, 0.8);
}
.contextmenu .menu-lightmode:active, #filemenu .menu-lightmode:active, #editmenu .menu-lightmode:active {
background-color: rgb(250, 250, 250, 0.8);
}
.contextmenu .menu-darkmode:hover, #filemenu .menu-darkmode:hover, #editmenu .menu-darkmode:hover {
background-color: rgba(35, 35, 35, 0.8);
}
.contextmenu .menu-darkmode:active, #filemenu .menu-darkmode:active, #editmenu .menu-darkmode:active {
background-color: rgba(45, 45, 45, 0.8);
}
#filemenu .menutop, #editmenu .menutop {
border-top-left-radius: 15px;
border-top-right-radius: 15px;
padding-top: 10px;
}
#filemenu .menubottom, #editmenu .menubottom {
border-bottom-left-radius: 15px;
border-bottom-right-radius: 15px;
padding-bottom: 10px;
}
#filemenu, #editmenu {
padding: 0 0 0 0;
background-color: transparent;
}
#filemenu div, #editmenu div {
padding-left: 20px;
padding-right: 20px;
}
::-webkit-scrollbar {
width: 5px;
height: 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;
}
#submenu-backdrop {
position: fixed;
top: 60px;
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border-radius: 15px;
background: transparent;
display: none;
z-index: 3;
}
.submenu > table {
padding: 15px;
}
#settings-table, #view-table {
line-height: 2;
color: inherit;
text-align: left;
}
#settings-table tr td:first-child, #view-table tr td:first-child {
padding-right: 10px;
}
.toggle {
position: relative;
display: inline-block;
width: 30px;
height: 20px;
}
.toggle input {
opacity: 0;
width: 0;
height: 0;
}
.toggle-slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(120, 120, 120, 0.5);
border-radius: 15px;
-webkit-transition: 200ms;
transition: 200ms;
}
.toggle-slider:before {
position: absolute;
content: "";
height: 14px;
width: 14px;
left: 3px;
bottom: 3px;
background-color: white;
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
border-radius: 15px;
-webkit-transition: 200ms;
transition: 200ms;
}
.toggle input:checked + .toggle-slider {
background-color: rgb(75, 151, 151);
}
.toggle input:checked + .toggle-slider:before {
-webkit-transform: translateX(10px);
-ms-transform: translateX(10px);
transform: translateX(10px);
}
.force-graph-container .graph-tooltip {
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; */
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
font-family: 'Inter';
font-size: .75em;
border-radius: 5px;
padding-left: 5px;
padding-right: 5px;
}
.menu-lightmode, .force-graph-container .menu-lightmode {
color: black;
background-color: rgba(230, 230, 230, 0.8);
}
.menu-darkmode, .force-graph-container .menu-darkmode {
color: white;
background-color: rgba(25, 25, 25, 0.8);
}
.menu-lightmode svg {
stroke: rgb(63, 63, 63);
}
.menu-darkmode svg {
stroke: rgb(192, 192, 192);
}
.menu-lightmode #search-container input {
background-color: rgba(255, 255, 255, 0.6);
color: black;
}
.menu-darkmode #search-container input {
background-color: rgba(0, 0, 0, 0.6);
color: white;
}
.contenttype-lightmode, .menuitem .contenttype-lightmode {
color: rgba(120, 120, 120, 0.6);
}
.contenttype-darkmode, .menuitem .contenttype-darkmode {
color: rgba(135, 135, 135, 0.6);
}
.contenttype-lightmode svg {
stroke: rgba(120, 120, 120, 0.6);
}
.contenttype-darkmode svg {
stroke: rgba(135, 135, 135, 0.6);
}