ryuu
Version:
Domo App Dev Studio CLI, The main tool used to create, edit, and publish app designs to Domo
253 lines (218 loc) • 4 kB
CSS
body {
margin: 0;
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: stretch;
font-family: "Open Sans","Helvetica Neue",Arial,Helvetica,sans-serif;
font-weight: 300;
}
#header {
background-color: #99ccef;
color: #fff;
padding: .6em 1.2em;
font-weight: 500;
font-size: 1.5em;
letter-spacing: 0.03em;
}
nav {
border-bottom: 1px solid #e5e5e5;
}
nav ul {
padding: 0;
margin: 0;
list-style: none;
display: flex;
align-items: stretch;
}
nav ul li {
padding: 1.65em 0 calc(1.65em - 4px) 0;
margin-left: 2em;
text-transform: uppercase;
font-weight: 500;
font-size: 0.75em;
letter-spacing: 0.06em;
color: #666;
}
nav ul li a {
text-decoration: none;
color: inherit;
}
nav ul li.active {
border-bottom: 4px solid #99ccef;
color: #000;
}
main {
padding: 1em 2em;
}
h1, h2 {
font-weight: 300;
}
table {
width: 100%;
height: 100%;
border-collapse: collapse;
}
table tr {
border-bottom: 1px solid #e5e5e5;
}
table th {
text-align: left;
color: #666;
font-size: 0.75em;
font-weight: normal;
padding: 1em 0.1em;
}
table td {
padding: 1em 0.1em;
font-weight: 300;
font-size: 0.85em;
cursor: hand;
}
div:empty, table:empty {
display: inline-block;
position: absolute;
width: 80px;
height: 80px;
left: 50%;
top: 50%;
margin-left: -40px;
}
div:empty:after, table:empty:after {
content: " ";
display: block;
width: 64px;
height: 64px;
margin: 8px;
border-radius: 50%;
border: 6px solid #99ccef;
border-color: #99ccef transparent #99ccef transparent;
animation: ring 1.2s linear infinite;
}
@keyframes ring {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
.overlay {
position: fixed;
overflow: hidden;
background-color: rgba(0, 0, 0, 0.1);
left : 0;
top: 0;
width: 100%;
height : 100%;
}
.modal {
filter: drop-shadow(0 0 0.5em #999);
border-radius: 5px;
border-top: 8px solid #99ccef;
width: 500px;
height: 650px;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background: #ffffff;
position: fixed;
z-index: 999;
transition: all 0.3s;
display: flex;
flex-direction: column;
align-content: stretch;
&:target {
visibility: visible;
opacity: 1;
pointer-events: auto;
}
}
.modal-header {
width: 100%;
border-bottom: 1px solid #e5e5e5;
text-align: center;
}
.modal-header h2 {
font-weight: 500;
text-align: left;
padding: 1em;
margin: 0;
}
.modal-body {
width: calc(100% - 2.5em);
padding: 1.25em;
border-bottom: 1px solid #e5e5e5;
flex-grow:2 ;
}
.modal-body div {
margin-bottom: 15px;
}
.modal-body label {
text-align: left;
color: #666;
font-size: 0.75em;
font-weight: normal;
padding: 1em 0.1em;
}
.modal-body input, .modal-body select {
display: block;
width: 100%;
font-size: 1em;
font-weight: 300;
padding: 7px;
}
.modal-body input[type=hidden] {
display: block;
}
.modal-body select {
height: 36px;
}
.modal-body a {
display:block;
}
.modal-buttons {
width: calc(100% - 2.5em);
padding: 1.25em;
text-align: right;
}
.modal-buttons button {
cursor: pointer;
text-transform: uppercase;
padding: 0.5em 1em;
font-size: 0.8em;
letter-spacing: 0.5px;
border-radius: 3px;
}
.modal-buttons button.action {
background-color: #fc8f13;
border: #fc9927;
color: #fff;
}
.modal-buttons button.cancel {
background-color: #fff;
border: #fff;
color: #666;
}
.floating-action-button {
width: 60px;
height: 60px;
background-color: #99ceff;
border-radius: 50%;
opacity: 0.75;
box-shadow: 0 6px 14px 0 #666;
border: 0;
transition: all 0.1s ease-in-out;
font-size: 30px;
font-weight: 300;
color: #fff;
text-align: center;
line-height: 30px;
position: fixed;
right: 50px;
bottom: 50px;
}
.floating-action-button:hover {
box-shadow: 0 6px 14px 0 #666;
transform: scale(1.05);
}