You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

585 lines
16 KiB
CSS

/* Primary Sass file.
========================================================================== */
/**
* 1. Import modules (functions, mixins and variables -- everything that doesn't actually cause Sass to output CSS).
* 2. Import partials (breakdown by element type)
* 3. Import vendors (all third-party CSS)
*/
/**
* Shadow text mixin.
*/
/**
* Breakpoint mixin and variable for responsive layouts.
*/
/**
* The page base.
*/
@import url(vendors/normalize.css);
@import url(vendors/flaticon.css);
@import url(vendors/font-awesome.min.css);
body {
background-color: #eee9d9; }
.flexcontainer {
display: -webkit-flex;
display: flex;
-webkit-flex-direction: column;
flex-direction: column; }
.flexpage, .intro-page, .info-page, .footer-page, .login-page {
display: flex;
display: -webkit-flex;
justify-content: center;
align-items: center; }
/**
* First section of the main page, containing the logo, login/registration buttons, and a down arrow.
*/
.intro-page {
background: linear-gradient(#070a15, #252b46);
min-height: 100vh;
flex-direction: column;
-webkit-flex-direction: column; }
/**
* Second section of the main page, containing the three descriptive column and flaticons (http://www.flaticon.com/authors/madebyoliver).
*/
.info-page {
background: linear-gradient(#F1D4AF, #eee9d9);
flex-direction: row;
-webkit-flex-direction: row;
min-height: 65vh; }
@media (max-width: 1200px) {
.info-page {
flex-direction: column;
-webkit-flex-direction: column; } }
.info-page-item {
margin: 100px 50px 50px; }
/**
* Page with the technical details.
*/
.technical-page {
background: #24242f;
min-height: 30vh; }
.flex-table {
display: flex;
margin: 50px auto;
max-width: 800px;
flex-wrap: wrap;
padding: 0 10px; }
@media (max-width: 1200px) {
.flex-table {
max-width: 400px;
flex-direction: column; } }
.flex-table-header, .flex-table-value {
width: 200px;
float: left;
box-sizing: border-box; }
.flex-table-row {
max-width: 400px; }
/**
* Third section of the main page, containing the link to the Github page.
*/
.footer-page {
flex: 1;
background-color: #e2f2f0;
flex-direction: column;
-webkit-flex-direction: column;
min-height: 20vh; }
@media (max-width: 1200px) {
.footer-page {
height: 100%; } }
/**
* Login and register pages.
*/
.login-page {
background: linear-gradient(#070a15, #252b46);
flex-direction: column;
-webkit-flex-direction: column; }
.login-page-form {
background-color: #fff;
box-sizing: border-box;
border-radius: 5px;
border-top: 0;
border-bottom: 3px solid #d2d5e7;
border-right: 3px solid #d2d5e7;
border-left: 0;
padding: 50px; }
/**
* The panel pages
*/
.panel-page {
margin: auto;
width: 800px;
position: relative; }
@media (max-width: 1200px) {
.panel-page {
width: 100%; } }
.panel-content {
background: #fff;
color: black;
box-sizing: border-box;
border-bottom: 3px solid #d2d5e7;
border-right: 3px solid #d2d5e7;
padding: 15px;
margin-top: 20px; }
.panel-content .buttons {
float: right; }
.panel-content .buttons button {
padding: 10px;
font-size: 15px; }
.panel-content::after {
content: "";
display: table;
clear: both; }
.invite-create {
float: right; }
.certificate-create,
.invite-create button {
font-size: 16px;
font-weight: normal;
background: #53257e;
color: white;
padding: 5px;
float: right;
text-decoration: none;
cursor: pointer;
font-family: 'Karla', sans-serif; }
.panel-content > h1,
.panel-content > .title > h1 {
margin: 0 0 25px; }
.panel-content > h1 + .undertone,
.panel-content > .title > h1 + .undertone {
margin-top: -25px;
color: #999999;
margin-bottom: 25px; }
.certificate-list,
.servers,
.invites {
margin: 0;
list-style: none;
padding: 0; }
.certificate-list li,
.servers li,
.invites li {
border-left: 3px #e3b2a6 solid;
padding-left: 5px;
margin-bottom: 10px;
position: relative; }
.certificate-list li .text .expiry,
.servers li .text .expiry,
.invites li .text .expiry {
font-size: 14px;
color: #999999; }
.certificate-list li .revoke-q,
.servers li .revoke-q,
.invites li .revoke-q {
display: none; }
.certificate-list li .actions, .certificate-list li .revoke-q,
.servers li .actions,
.servers li .revoke-q,
.invites li .actions,
.invites li .revoke-q {
position: absolute;
right: 0;
bottom: 0; }
.certificate-list li .actions span, .certificate-list li .revoke-q span,
.servers li .actions span,
.servers li .revoke-q span,
.invites li .actions span,
.invites li .revoke-q span {
transition: .2s;
cursor: pointer;
padding: 5px;
float: left;
display: block; }
.certificate-list li .actions span a,
.certificate-list li .actions span button, .certificate-list li .revoke-q span a,
.certificate-list li .revoke-q span button,
.servers li .actions span a,
.servers li .actions span button,
.servers li .revoke-q span a,
.servers li .revoke-q span button,
.invites li .actions span a,
.invites li .actions span button,
.invites li .revoke-q span a,
.invites li .revoke-q span button {
background: none;
font-size: 100%;
font-family: 'Karla', sans-serif;
color: black;
text-decoration: none;
display: block;
margin: -5px;
padding: 5px;
cursor: pointer; }
.certificate-list li .actions .certificate-delete:hover,
.certificate-list li .actions .yes:hover,
.certificate-list li .actions .delete:hover, .certificate-list li .revoke-q .certificate-delete:hover,
.certificate-list li .revoke-q .yes:hover,
.certificate-list li .revoke-q .delete:hover,
.servers li .actions .certificate-delete:hover,
.servers li .actions .yes:hover,
.servers li .actions .delete:hover,
.servers li .revoke-q .certificate-delete:hover,
.servers li .revoke-q .yes:hover,
.servers li .revoke-q .delete:hover,
.invites li .actions .certificate-delete:hover,
.invites li .actions .yes:hover,
.invites li .actions .delete:hover,
.invites li .revoke-q .certificate-delete:hover,
.invites li .revoke-q .yes:hover,
.invites li .revoke-q .delete:hover {
background: #dc6a6a; }
.certificate-list li .actions .certificate-download:hover,
.certificate-list li .actions .certificate-download-key:hover,
.certificate-list li .actions .no:hover,
.certificate-list li .actions .copy:hover,
.certificate-list li .actions .edit:hover,
.certificate-list li .actions .details:hover, .certificate-list li .revoke-q .certificate-download:hover,
.certificate-list li .revoke-q .certificate-download-key:hover,
.certificate-list li .revoke-q .no:hover,
.certificate-list li .revoke-q .copy:hover,
.certificate-list li .revoke-q .edit:hover,
.certificate-list li .revoke-q .details:hover,
.servers li .actions .certificate-download:hover,
.servers li .actions .certificate-download-key:hover,
.servers li .actions .no:hover,
.servers li .actions .copy:hover,
.servers li .actions .edit:hover,
.servers li .actions .details:hover,
.servers li .revoke-q .certificate-download:hover,
.servers li .revoke-q .certificate-download-key:hover,
.servers li .revoke-q .no:hover,
.servers li .revoke-q .copy:hover,
.servers li .revoke-q .edit:hover,
.servers li .revoke-q .details:hover,
.invites li .actions .certificate-download:hover,
.invites li .actions .certificate-download-key:hover,
.invites li .actions .no:hover,
.invites li .actions .copy:hover,
.invites li .actions .edit:hover,
.invites li .actions .details:hover,
.invites li .revoke-q .certificate-download:hover,
.invites li .revoke-q .certificate-download-key:hover,
.invites li .revoke-q .no:hover,
.invites li .revoke-q .copy:hover,
.invites li .revoke-q .edit:hover,
.invites li .revoke-q .details:hover {
background: #aca4bc; }
.certificate-list li .actions .no, .certificate-list li .revoke-q .no,
.servers li .actions .no,
.servers li .revoke-q .no,
.invites li .actions .no,
.invites li .revoke-q .no {
width: 65px;
text-align: center; }
ul.topnav {
list-style-type: none;
margin: 0;
padding: 20px;
overflow: hidden; }
ul.topnav li {
float: left; }
ul.topnav li a {
display: inline-block;
padding: 15px 26px;
text-decoration: none;
font-size: 15px;
background-color: #fff;
margin: 0 10px 0px 10px;
border-radius: 5px;
color: #2f3472; }
ul.topnav li a:hover {
background-color: #dee2ea;
text-decoration: none; }
ul.topnav li.icon {
display: none; }
.message {
padding: 15px;
font-size: 1.2em; }
.menu-list {
width: 200px;
float: left;
list-style: none;
padding: 15px;
margin: 20px 0 0;
background: #fff;
color: black;
box-sizing: border-box;
border-bottom: 3px solid #d2d5e7;
border-right: 3px solid #d2d5e7;
position: absolute;
left: -220px; }
@media (max-width: 1200px) {
.menu-list {
width: 100%;
float: none;
position: inherit;
left: 0; } }
.menu-list > li a {
text-decoration: none;
color: black;
padding: 10px;
display: block; }
.menu-list > li.selected {
background: #e3b2a6; }
input {
padding: 10px;
box-sizing: border-box;
border: 1px solid #cedadf;
border-radius: 4px;
font-size: 1.5em;
font-family: "Montserrat"; }
input:focus {
border: 1px solid #000; }
button {
background-color: #aca4bc;
border: none;
color: white;
padding: 16px 32px;
text-decoration: none;
margin: 4px 2px;
font-size: 1.5em;
font-family: "Montserrat"; }
.row input {
font-size: 16px;
padding: 5px; }
.row input[type=checkbox] {
margin: 5px; }
.row kbd {
display: inline-block;
padding: 5px; }
.row label {
width: 200px;
float: left;
padding: 5px; }
.row::after {
content: " ";
display: table;
clear: both; }
.row {
margin-bottom: 10px; }
.row:last-of-type {
margin-bottom: 0; }
.error-message {
background: #E08E79;
margin: 5px;
padding: 20px;
margin-bottom: 10px; }
@font-face {
font-family: 'Inconsolata';
src: url("/fonts/Inconsolata-Regular.eot");
src: local("Inconsolata"), local("Inconsolata-Regular"), url("/fonts/Inconsolata-Regular.eot?#iefix") format("embedded-opentype"), url("/fonts/Inconsolata-Regular.woff2") format("woff2"), url("/fonts/Inconsolata-Regular.woff") format("woff"), url("/fonts/Inconsolata-Regular.ttf") format("truetype");
font-weight: normal;
font-style: normal; }
@font-face {
font-family: 'Karla';
src: url("/fonts/Karla-Regular.eot");
src: local("Karla"), local("Karla-Regular"), url("/fonts/Karla-Regular.eot?#iefix") format("embedded-opentype"), url("/fonts/Karla-Regular.woff2") format("woff2"), url("/fonts/Karla-Regular.woff") format("woff"), url("/fonts/Karla-Regular.ttf") format("truetype");
font-weight: normal;
font-style: normal; }
@font-face {
font-family: 'Rubik';
src: url("/fonts/Rubik-Regular.eot");
src: local("Rubik-Regular"), url("/fonts/Rubik-Regular.eot?#iefix") format("embedded-opentype"), url("/fonts/Rubik-Regular.woff2") format("woff2"), url("/fonts/Rubik-Regular.woff") format("woff"), url("/fonts/Rubik-Regular.ttf") format("truetype");
font-weight: normal;
font-style: normal; }
@font-face {
font-family: 'Montserrat';
src: url("/fonts/Montserrat-Regular.eot");
src: local("Montserrat-Regular"), url("/fonts/Montserrat-Regular.eot?#iefix") format("embedded-opentype"), url("/fonts/Montserrat-Regular.woff2") format("woff2"), url("/fonts/Montserrat-Regular.woff") format("woff"), url("/fonts/Montserrat-Regular.ttf") format("truetype");
font-weight: normal;
font-style: normal; }
/**
* Main
*/
body {
font-family: 'Karla', sans-serif;
font-size: 100%; }
/**
* First section of the main page, containing the logo, login/registration buttons, and a down arrow.
*/
.intro-page-logo {
font-family: 'Montserrat', serif;
font-size: 12em;
text-transform: uppercase;
color: #E08E79;
text-shadow: 0px 0px 0px #e9bd84, 1px 1px 0px #e9bd84, 2px 2px 0px #e9bd84, 3px 3px 0px #e9bd84, 4px 4px 0px #e9bd84, 5px 5px 0px #e9bd84, 6px 6px 0px #e9bd84, 7px 7px 0px #e9bd84, 8px 8px 0px #e9bd84, 9px 9px 0px #e9bd84, 10px 10px 0px #e9bd84, 11px 11px 0px #e9bd84, 12px 12px 0px #e9bd84, 13px 13px 0px #e9bd84, 14px 14px 0px #e9bd84, 15px 15px 0px #e9bd84, 16px 16px 0px #e9bd84, 17px 17px 0px #e9bd84, 18px 18px 0px #e9bd84, 19px 19px 0px #e9bd84, 20px 20px 0px #e9bd84, 21px 21px 0px #e9bd84, 22px 22px 0px #e9bd84, 23px 23px 0px #e9bd84, 24px 24px 0px #e9bd84, 25px 25px 0px #e9bd84, 26px 26px 0px #e9bd84, 27px 27px 0px #e9bd84, 28px 28px 0px #e9bd84, 29px 29px 0px #e9bd84, 30px 30px 0px #e9bd84; }
@media (max-width: 1200px) {
.intro-page-logo {
font-size: 3.5em;
padding: 20px;
text-shadow: 0px 0px 0px #e9bd84, 1px 1px 0px #e9bd84, 2px 2px 0px #e9bd84, 3px 3px 0px #e9bd84, 4px 4px 0px #e9bd84, 5px 5px 0px #e9bd84, 6px 6px 0px #e9bd84, 7px 7px 0px #e9bd84, 8px 8px 0px #e9bd84, 9px 9px 0px #e9bd84, 10px 10px 0px #e9bd84, 11px 11px 0px #e9bd84, 12px 12px 0px #e9bd84, 13px 13px 0px #e9bd84, 14px 14px 0px #e9bd84, 15px 15px 0px #e9bd84, 16px 16px 0px #e9bd84, 17px 17px 0px #e9bd84, 18px 18px 0px #e9bd84, 19px 19px 0px #e9bd84, 20px 20px 0px #e9bd84; } }
.intro-page-welcome-text {
font-family: 'Inconsolata', serif;
font-size: 2em;
text-transform: uppercase;
color: #fff; }
@media (max-width: 1200px) {
.intro-page-welcome-text {
font-size: 1em;
padding-top: 10px; } }
.fa-angle-double-down {
color: #424769; }
/**
* Second section of the main page, containing the three descriptive columns, flaticons (http://www.flaticon.com/authors/madebyoliver)
and the technical details.
*/
.info-page h1 {
font-family: 'Rubik';
color: #dab199;
text-align: center;
font-size: 2em;
text-transform: uppercase;
line-height: 2em; }
@media (max-width: 1200px) {
.info-page h1 {
line-height: 1em; } }
.info-page-item {
font-size: 1em;
line-height: 1.6em;
color: #8b6d5c; }
[class^="flaticon-"]:before, [class*=" flaticon-"]:before,
[class^="flaticon-"]:after, [class*=" flaticon-"]:after {
font-size: 10em;
color: #fff; }
@media (max-width: 1200px) {
[class^="flaticon-"]:before, [class*=" flaticon-"]:before,
[class^="flaticon-"]:after, [class*=" flaticon-"]:after {
font-size: 5em; } }
.technical-page {
color: #fff;
font-size: 1.2em;
line-height: 2em; }
.technical-page h1 {
font-family: 'Montserrat';
color: #dab199;
text-align: center;
font-size: 2em;
text-transform: uppercase;
line-height: 2em; }
@media (max-width: 1200px) {
.technical-page h1 {
line-height: 1em; } }
.flex-table-header {
color: #E08E79; }
/**
* Third section of the main page, containing the link to the Github page.
*/
.footer-page a {
color: black; }
.footer-page-title, .footer-page h1, .footer-page h2 {
font-family: 'Inconsolata', monospace;
color: #E08E79;
font-weight: lighter;
text-transform: lowercase; }
.footer-page h1 {
font-size: 1.5em; }
.footer-page h2 {
font-size: 1.2em; }
@media (max-width: 1200px) {
.footer-page h2 {
font-size: 1em;
margin: 20px; } }
/**
* Login and register pages.
*/
.login-page-logo {
font-family: 'Montserrat', serif;
font-size: 6em;
text-transform: uppercase;
color: #E08E79;
text-shadow: 0px 0px 0px #e9bd84, 1px 1px 0px #e9bd84, 2px 2px 0px #e9bd84, 3px 3px 0px #e9bd84, 4px 4px 0px #e9bd84, 5px 5px 0px #e9bd84, 6px 6px 0px #e9bd84, 7px 7px 0px #e9bd84, 8px 8px 0px #e9bd84, 9px 9px 0px #e9bd84, 10px 10px 0px #e9bd84; }
.tooltip {
position: relative;
display: inline-block;
border-bottom: 1px solid #8684d3; }
.tooltip .tooltiptext {
visibility: hidden;
width: 250px;
background-color: white;
color: black;
text-align: left;
border-radius: 6px;
padding: 15px;
position: absolute;
z-index: 1;
bottom: 150%;
left: 50%;
margin-left: -60px;
font-size: 0.8em;
line-height: 1.5em; }
.tooltip .tooltiptext::after {
content: "";
position: absolute;
top: 100%;
left: 10%;
margin-left: -5px;
border-width: 5px;
border-style: solid;
border-color: white transparent transparent transparent; }
.tooltip:hover .tooltiptext {
visibility: visible; }
#create-csr {
padding: 10px;
font-size: 15px;
float: right; }
/*# sourceMappingURL=main.css.map */