dashboard/common-static/css/main.css

646 lines
8.9 KiB
CSS

* {
margin: 0;
padding: 0;
}
html {
/*
font-family: Georgia, "Times New Roman", Times, serif;
*/
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
color: #333;
}
p,
h1,
h2,
h3,
h4,
h5,
h6 {
color: #333;
}
/*
h1 {
font-size: 2rem;
}
h2 {
font-size: 1.5rem;
}
*/
body {
width: 100%;
min-height: 100vh;
display: flex;
flex-direction: column;
justify-content: space-between;
}
a:hover {
color: rgb(0, 86, 179);
text-decoration: underline;
}
a {
text-decoration: none;
}
a,
a:visited {
color: rgb(0, 86, 179);
}
main {
flex: 4;
width: 100%;
margin: auto;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-evenly;
}
header {
z-index: 5;
position: sticky;
top: 0;
background-color: #fff;
}
/*
* error statrs
*/
.error__container {
text-align: center;
color: #c00;
width: 100%;
margin: 10px 0;
}
.error__title,
.error__message {
color: #c00;
}
/* error ends */
/* nav starts */
.nav__container {
display: flex;
flex-direction: row;
box-sizing: border-box;
width: 100%;
padding-top: 5px;
border-bottom: 1px solid rgb(211, 211, 211);
height: 63px;
}
.nav__home-btn {
font-weight: bold;
margin: auto;
margin-left: -10px;
}
.nav__hamburger-menu {
display: none;
}
.nav__spacer {
flex: 3;
margin: auto;
}
.nav__logo-container {
display: inline-flex;
text-decoration: none;
}
.nav__logo-container:hover {
color: rgb(0, 86, 179);
text-decoration: underline;
}
.nav__logo-img {
height: 48px;
}
.nav__toggle {
display: none;
}
.nav__logo {
display: inline-flex;
margin: auto;
padding: 5px;
width: 40px;
}
.nav__link-group {
list-style: none;
display: flex;
flex-direction: row;
align-items: center;
align-self: center;
margin: auto;
text-align: center;
}
.nav__link-container {
display: flex;
padding: 10px;
height: 100%;
margin: auto;
}
.nav__link {
text-decoration: none;
color: black !important;
font-weight: 600;
font-size: 14px;
}
.nav__link:hover {
color: rgb(0, 86, 179);
text-decoration: underline;
}
/* nav ends */
.auth__main {
flex-direction: row;
}
.main {
min-height: 80vh;
align-items: center;
display: flex;
flex-direction: column;
justify-content: center;
flex: 2;
align-items: center;
}
.welcome {
max-width: 800px;
}
.index-banner__features-list {
margin: 20px;
}
.index-banner__features {
margin: 10px 0;
}
.login {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
}
.form {
display: flex;
flex-direction: column;
width: 80%;
margin: auto;
padding: 0 10px;
}
.form__label {
margin: 5px 0;
}
.form__input {
display: block;
width: 100%;
margin: 10px 0;
padding: 5px 0;
height: 25px;
}
.form__submit {
width: 100%;
display: block;
margin: 10px 0;
color: #fff;
border: none;
font-weight: 400;
padding: 15px;
cursor: pointer;
background-color: rgb(0, 128, 0);
}
.form__submit:hover {
background-color: #329932;
}
footer {
display: block;
font-size: 0.7rem;
margin-bottom: 5px;
margin-left: 260px;
width: 100%;
}
.footer__container {
width: 90%;
justify-content: space-between;
margin: auto;
display: flex;
flex-direction: row;
}
.footer__column {
list-style: none;
display: flex;
margin: auto 50px;
}
.footer__link-container {
margin: 5px;
}
.license__conatiner {
display: flex;
}
.footer__link {
text-decoration: none;
padding: 0 10px;
}
.footer__column-divider,
.footer__column-divider--mobile-visible {
font-weight: 500;
opacity: 0.7;
margin: 0 5px;
}
.footer__icon {
margin: auto 5px;
height: 20px;
}
.error_container {
text-align: center;
color: #c00;
width: 100%;
margin: 10px 0;
}
.gist__new {
width: 80%;
}
.gist__file-content {
display: block;
width: 100%;
margin: 10px 0;
padding: 5px 0;
height: 320px;
}
.gist__button-group {
display: flex;
width: 100%;
align-items: center;
justify-content: space-between;
}
.gist__button-container {
flex: 1;
max-width: 200px;
}
.form__submit--secondary {
width: 100%;
display: block;
margin: 10px 0;
border: none;
padding: 5px 0;
cursor: pointer;
background-color: #e9e9ed;
}
.auth__demo-user__banner {
margin: auto;
margin-top: 5px;
font-size: 0.8rem;
text-align: center;
}
.auth__demo-user__cred {
font-family: monospace, monospace;
}
.gist__container {
display: flex;
width: 100%;
flex-direction: column;
height: auto;
}
pre {
font-size: 13px;
font-family: Consolas, \"Liberation Mono\", Menlo, Courier, monospace;
box-sizing: border-box;
}
.line {
display: block;
padding: 0px;
cursor: pointer;
}
.line-number {
color: #24292f;
margin: 0;
margin-right: 20px;
min-width: 35px;
padding: 0;
width: 1%;
padding-right: 10px;
padding-left: 10px;
display: inline-block;
text-align: right;
}
.line-link {
display: block;
}
pre {
box-sizing: border-box;
}
.dialogue-box__container {
width: 30%;
display: flex;
align-items: center;
flex-direction: column;
}
/* footer starts */
footer {
display: block;
color: #333;
font-size: 0.7rem;
padding: 0;
margin: 0;
margin-left: 260px;
width: calc(100vw - 260px);
}
.footer__container {
width: 100%;
padding: 0;
justify-content: space-between;
margin: auto;
display: flex;
flex-direction: row;
overflow: hidden;
}
.footer__column--center {
list-style: none;
display: flex;
margin: auto 50px;
align-items: center;
flex: 2.5;
margin: auto;
flex-direction: column;
align-items: center;
flex: 2;
}
.footer__column:last-child {
justify-content: flex-end;
}
.footer__column:last-child > a {
margin: 10px;
}
.footer__link-container {
margin: 5px;
}
.footer__link {
text-decoration: none;
}
.license__link {
display: inline;
}
.license__link:hover {
color: rgb(0, 86, 179);
text-decoration: underline;
}
.footer__column-divider,
.footer__column-divider--mobile-visible,
.footer__column-divider--mobile-only {
font-weight: 500;
opacity: 0.7;
margin: auto;
}
.footer__column-divider--mobile-only {
display: none;
}
.footer__icon {
margin: auto 5px;
height: 20px;
}
/* footer ends */
/* dashbaord starts */
.panel__container {
/* background-color: green; */
}
/* secondary nav starts */
.secondary-nav__container {
box-sizing: border-box;
overflow-x: auto;
flex: 1;
position: fixed;
top: 63px;
bottom: 0;
z-index: 1000;
width: 260px;
border-right: 1px solid rgb(217, 217, 217);
}
.secondary-nav {
width: 100%;
height: 100%;
position: relative;
box-sizing: border-box;
}
.secondary-nav__options {
display: flex;
flex-direction: column;
border-bottom: 1px solid rgb(217, 217, 217);
}
.secondary-nav__option-link {
padding: 20px 0 20px 20px;
}
.secondary-nav__option-link:hover {
background-color: lightslategray;
}
.secondary-nav__options-group {
padding: 20px 0 20px 20px;
}
.secondary-nav__options-group-options {
display: flex;
flex-direction: column;
margin-left: 10px;
}
.secondary-nav__options-group > summary {
list-style: none;
}
.secondary-nav__options-group > summary::-webkit-details-marker {
display: none;
}
.secondary-nav__options-group > summary::after {
margin-left: 30px;
content: " ";
}
.secondary-nav__options-group[open] > summary::after {
margin-left: 30px;
content: " ";
}
/* secondary nav ends */
.dash__main {
display: flex;
flex-direction: column;
justify-content: space-between;
min-height: calc(-63px + 100vh);
flex: 2;
}
/* dash forms starts */
.dash__form {
display: flex;
flex-direction: column;
width: 50%;
margin: auto;
background-color: ping;
padding: 0 10px;
}
fieldset {
border: none;
}
.configurations__container {
margin: auto;
display: grid;
justify-content: space-between;
grid-template-columns: repeat(3, auto);
grid-auto-rows: 330px;
}
.configuration__container {
padding: 20px;
width: 200px;
margin: auto;
border: 1px solid rgb(211, 211, 211);
display: inline-flex;
flex-direction: column;
}
.configuration__name {
margin-bottom: 20px;
}
.configuration__spec-list {
list-style: " " outside none;
}
.configuration__spec {
margin-left: 40px;
}
.configuration__rent {
font-size: 3rem;
font-weight: 700;
margin: 10px auto;
}
.configuration__rent--unit {
font-size: 1rem;
font-weight: 500;
}
.configuration__option {
margin: 10px;
}
.form__submit--danger {
width: 100%;
display: block;
margin: 10px 0;
color: #fff;
border: none;
font-weight: 400;
padding: 15px;
cursor: pointer;
background-color: #e11d21;
}
/*
.form__label {
margin: 5px 0;
}
.form__input {
display: block;
width: 100%;
margin: 10px 0;
padding: 5px 0;
height: 25px;
}
.form__submit {
width: 100%;
display: block;
margin: 10px 0;
color: #fff;
border: none;
font-weight: 400;
padding: 15px;
cursor: pointer;
background-color: rgb(0, 128, 0);
}
*/
/* dash forms ends */
/* dashbaord ends */