o3-dapi-ont
Version:
Ontology Plugin for o3-dapi
318 lines (286 loc) • 5.38 kB
CSS
body {
height: 100vh;
width: 100vw;
box-sizing: border-box;
overflow: hidden;
}
textarea {
width: 100%;
height: 10rem;
}
.nav {
width: 100%;
background-color: #37b6d3;
padding: 1rem;
color: white;
display: flex;
align-items: center;
}
.nav .title {
flex: 1;
}
.nav .disconnect,
.nav .account {
font-size: 0.875rem;
padding-right: 0.5rem;
}
.nav .disconnect {
color: lightgrey;
cursor: pointer;
}
.account-container {
display: flex;
text-align: left;
}
.content {
display: flex;
padding: 0 2rem;
padding-top: 1rem;
max-height: 100%;
}
.functions {
flex: 1;
max-width: 50%;
display: flex;
flex-direction: column;
margin-right: 1rem;
}
.scroll-container {
overflow-y: auto;
flex: 1;
padding-bottom: 10rem;
}
.function-container {
margin: 1rem 0;
margin-right: 0.5rem;
border: 1px solid;
padding: 1rem;
border-radius: 0.5rem;
}
.function-container input {
width: 100%;
}
.output {
flex: 1;
max-width: 50%;
display: flex;
flex-direction: column;
}
#result {
padding: 5px;
margin: 5px;
white-space: pre;
word-wrap: break-word;
font-size: 14px;
}
#error {
padding: 5px;
margin: 5px;
white-space: pre;
word-wrap: break-word;
font-size: 14px;
}
.key { color: red; }
#utils-button {
position: absolute;
bottom: 24px;
right: 24px;
color: white;
background-color: #37b6d3;
padding: 24px;
border-radius: 100px;
font-weight: 600;
cursor: pointer;
}
#utils {
flex: 1;
display: none;
flex-direction: column;
}
#utils.active {
display: flex;
}
#utils .text,
#utils .row {
font-size: 12px;
}
#utils .row div {
margin: 10px;
}
#utils .row div input {
margin-bottom: 0;
}
@keyframes lds-pacman-1 {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
50% {
-webkit-transform: rotate(-45deg);
transform: rotate(-45deg);
}
100% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
}
@-webkit-keyframes lds-pacman-1 {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
50% {
-webkit-transform: rotate(-45deg);
transform: rotate(-45deg);
}
100% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
}
@keyframes lds-pacman-2 {
0% {
-webkit-transform: rotate(180deg);
transform: rotate(180deg);
}
50% {
-webkit-transform: rotate(225deg);
transform: rotate(225deg);
}
100% {
-webkit-transform: rotate(180deg);
transform: rotate(180deg);
}
}
@-webkit-keyframes lds-pacman-2 {
0% {
-webkit-transform: rotate(180deg);
transform: rotate(180deg);
}
50% {
-webkit-transform: rotate(225deg);
transform: rotate(225deg);
}
100% {
-webkit-transform: rotate(180deg);
transform: rotate(180deg);
}
}
@keyframes lds-pacman-3 {
0% {
-webkit-transform: translate(190px, 0);
transform: translate(190px, 0);
opacity: 0;
}
20% {
opacity: 1;
}
100% {
-webkit-transform: translate(70px, 0);
transform: translate(70px, 0);
opacity: 1;
}
}
@-webkit-keyframes lds-pacman-3 {
0% {
-webkit-transform: translate(190px, 0);
transform: translate(190px, 0);
opacity: 0;
}
20% {
opacity: 1;
}
100% {
-webkit-transform: translate(70px, 0);
transform: translate(70px, 0);
opacity: 1;
}
}
.lds-pacman {
position: relative;
}
.lds-pacman > div:nth-child(2) div {
position: absolute;
top: 40px;
left: 40px;
width: 120px;
height: 60px;
border-radius: 120px 120px 0 0;
background: #37b6d3;
-webkit-animation: lds-pacman-1 0.5s linear infinite;
animation: lds-pacman-1 0.5s linear infinite;
-webkit-transform-origin: 60px 60px;
transform-origin: 60px 60px;
}
.lds-pacman > div:nth-child(2) div:nth-child(2) {
-webkit-animation: lds-pacman-2 0.5s linear infinite;
animation: lds-pacman-2 0.5s linear infinite;
}
.lds-pacman > div:nth-child(1) div {
position: absolute;
top: 92px;
left: -8px;
width: 16px;
height: 16px;
border-radius: 50%;
background: #2C2E34;
-webkit-animation: lds-pacman-3 0.5s linear infinite;
animation: lds-pacman-3 0.5s linear infinite;
}
.lds-pacman > div:nth-child(1) div:nth-child(1) {
-webkit-animation-delay: -0.335s;
animation-delay: -0.335s;
}
.lds-pacman > div:nth-child(1) div:nth-child(2) {
-webkit-animation-delay: -0.165s;
animation-delay: -0.165s;
}
.lds-pacman > div:nth-child(1) div:nth-child(3) {
-webkit-animation-delay: 0s;
animation-delay: 0s;
}
.lds-pacman {
width: 200px ;
height: 200px ;
-webkit-transform: translate(-100px, -100px) scale(1) translate(100px, 100px);
transform: translate(-100px, -100px) scale(1) translate(100px, 100px);
}
@media only screen and (max-width: 1100px) {
#utils {
display: none;
}
#utils.active {
display: none;
}
#utils-button {
display: none;
}
}
@media only screen and (max-width: 750px) {
.nav {
display: block;
text-align: center;
}
.nav .account {
padding-bottom: 0.5rem;
padding-right: 0rem;
}
.content {
display: block;
max-height: none;
}
.functions {
max-width: none;
margin-right: auto;
height: 45vh;
margin-bottom: 1rem;
}
.output {
max-width: none;
margin-bottom: 1rem;
height: 40vh;
}
.scroll-container {
padding-bottom: none;
}
}