airshipui/web/style.css
Schiefelbein, Andrew a7d68ebdbf addition of monaco editor for online yaml & json editing
Much of this is place holders until further discussion happens

Modified the test to use a more dynamic style of test render

Change-Id: Id9324a66dcd0ad47ce20540d9aa6721747dfb703
2020-06-24 12:47:08 -05:00

140 lines
2.6 KiB
CSS

/* loading spinner CSS taken from SpinKit, http://tobiasahlin.com/spinkit/ */
.spinner {
margin: 100px auto 0;
width: 70px;
text-align: center;
}
.spinner > div {
width: 18px;
height: 18px;
background-color: #333;
border-radius: 100%;
display: inline-block;
-webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}
.spinner .bounce1 {
-webkit-animation-delay: -0.32s;
animation-delay: -0.32s;
}
.spinner .bounce2 {
-webkit-animation-delay: -0.16s;
animation-delay: -0.16s;
}
@-webkit-keyframes sk-bouncedelay {
0%, 80%, 100% { -webkit-transform: scale(0) }
40% { -webkit-transform: scale(1.0) }
}
@keyframes sk-bouncedelay {
0%, 80%, 100% {
-webkit-transform: scale(0);
transform: scale(0);
} 40% {
-webkit-transform: scale(1.0);
transform: scale(1.0);
}
}
/** tab styles taken from w3schools.com https://www.w3schools.com/howto/howto_js_tabs.asp **/
/* Style the tab */
.tab {
overflow: hidden;
border: 1px solid #ccc;
background-color: #f1f1f1;
}
/* Style the buttons that are used to open the tab content */
.tab button {
background-color: inherit;
float: left;
border: none;
outline: none;
cursor: pointer;
padding: 14px 16px;
transition: 0.3s;
}
/* Change background color of buttons on hover */
.tab button:hover {
background-color: #ddd;
}
/* Create an active/current tablink class */
.tab button.active {
background-color: #ccc;
}
/* Style the tab content */
.tabcontent {
display: none;
padding: 6px 12px;
border-top: none;
}
/* tree view taken from w3scools.com https://www.w3schools.com/howto/howto_js_treeview.asp */
/* Remove default bullets */
ul, #treeUL {
list-style-type: none;
}
/* Remove margins and padding from the parent ul */
#treeUL {
margin: 0;
padding: 0;
}
/* Style the folder/arrow */
.folder {
cursor: pointer;
user-select: none; /* Prevent text selection */
}
/* Create the folder/arrow with a unicode, and style it */
.folder::before {
content: "\1F5C0";
display: inline-block;
margin-right: 6px;
font-size:2em;
}
/* Rotate the folder/arrow icon when clicked on (using JavaScript) */
.folder-open::before {
content: "\1F5C1";
font-size:2em;
}
/* Hide the nested list */
.nested {
display: none;
}
/* Show the nested list when the user clicks on the folder/arrow (with JavaScript) */
.active {
display: block;
}
/* for use with the yaml tree view */
.unstyled-button {
border: none;
padding: 0;
background: none;
}
.document::before {
content: "\1F5B9";
font-size: 1.5em;
}
.document-open::before {
content: "\1F5CE";
font-size: 1.5em;
color:darkcyan;"
}