@quarks/quarks-iam
Version:
A modern authorization server built to authenticate your users and protect your APIs
426 lines (365 loc) • 8.45 kB
CSS
@import url(//fonts.googleapis.com/css?family=Roboto:400,500,300,700);
body {
background: #fafafa;
color: #212121;
color: rgba(0, 0, 0, .87);
}
body, input {
font: normal normal 400 16px Roboto, RobotoDraft, Noto, 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
* {
box-sizing: border-box;
}
[hidden] {
display: none ;
}
:hover {
transition: .3s background;
}
h1, h2, h3, h4, h5, h6 {
font-weight: 300;
}
a {
text-decoration: none;
color: #d14a00;
}
.logo {
width: 260px;
background-origin: content-box;
margin: 16px auto;
display: block;
}
.thin {
font-weight: 100;
display: block;
font-size: 18px;
color: #000;
letter-spacing: 1.3em;
margin-right: -1.3em;
line-height: 0em;
}
.blur-transition {
transition: .3s filter linear;
-webkit-transition: .3s -webkit-filter linear;
-moz-transition: .3s -moz-filter linear;
-moz-transition: .3s filter linear;
-ms-transition: .3s -ms-filter linear;
-o-transition: .3s -o-filter linear;
-webkit-filter: blur(0);
-moz-filter: blur(0);
-o-filter: blur(0);
-ms-filter: blur(0);
filter: blur(0);
}
.blur {
-webkit-filter: blur(3px);
-moz-filter: blur(3px);
-o-filter: blur(3px);
-ms-filter: blur(3px);
filter: blur(3px);
}
.screen, .screen::before {
position: fixed;
top: 0;
left: 0;
bottom: 0;
right: 0;
}
.screen {
padding: 16px;
display: -webkit-flex;
display: flex;
-webkit-align-items: center;
align-items: center;
-webkit-justify-content: center;
justify-content: center;
-webkit-transition: .5s opacity linear;
transition: .5s opacity linear;
opacity: 1;
}
.screen[hidden] {
opacity: 0;
}
.screen::before {
content: '';
background-color: rgba(255, 255, 255, 0.5);
}
.loader {
position: relative;
margin: 0px auto;
width: 56px;
height: 56px;
}
.circular {
-webkit-animation: rotate 2s linear infinite;
animation: rotate 2s linear infinite;
height: 56px;
position: relative;
width: 56px;
}
.path {
stroke-dasharray: 1,200;
stroke-dashoffset: 0;
stroke-linecap: square;
stroke: #1976d2;
-webkit-animation: dash 1.5s ease-in-out infinite;
animation: dash 1.5s ease-in-out infinite;
}
@-webkit-keyframes rotate {
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
@keyframes rotate {
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
@-webkit-keyframes dash {
0% {
stroke-dasharray: 1,200;
stroke-dashoffset: 0;
}
50% {
stroke-dasharray: 89,200;
stroke-dashoffset: -35;
}
100% {
stroke-dasharray: 89,200;
stroke-dashoffset: -124;
}
}
@keyframes dash {
0% {
stroke-dasharray: 1,200;
stroke-dashoffset: 0;
}
50% {
stroke-dasharray: 89,200;
stroke-dashoffset: -35;
}
100% {
stroke-dasharray: 89,200;
stroke-dashoffset: -124;
}
}
.anvilform {
width: 500px;
margin: 0 auto;
margin-top: 60px;
min-height: 200px;
position: relative;
}
.anvilform h1 {
text-align: center;
}
.anvilform .textsep {
color: #999;
border: solid 1px #ccc;
text-align: center;
position: relative;
height: 0px;
border-width: 1px 0 0;
}
.anvilform .textsep:before {
content: '';
display: inline-block;
position: relative;
top: -14px;
padding: 0 10px;
background: #fff;
color: #8c8b8b;
font-size: 16px;
font-style: italic;
}
.anvilform .textsep.signinwith:before {
content: 'sign in with';
}
.anvilform .textsep.signup:before {
content: 'sign up';
}
.anvilform .textsep.or:before {
content: 'or';
}
.anvilform .panel {
background: #ffffff;
border: 1px solid #ccc;
padding: 30px;
width: 420px;
margin: 0 auto;
position: relative;
}
.anvilform .error, .anvilform .message {
padding: 10px;
position: relative;
}
.anvilform .error {
background: #f15a24;
color: #fff;
}
.anvilform .message {
background: #2e7d32;
color: #fff;
}
.anvilform .panel .providers {
padding: 0px;
list-style-type: none;
}
form input[type="text"], form input[type="password"],
form input[type="email"], form input[type="tel"],
form input:not([type]) {
background: #fafafa;
border: 1px solid #ccc;
height: 65px;
display: block;
padding: 20px;
width: 100%;
margin: 10px 0 0;
font-size: 18px;
}
.singlebutton {
display: inline-block;
margin-right: 2px;
}
.singlebutton.cancel {
margin-right: 0;
}
.button, button, input[type="button"],
input[type="submit"] {
display: block;
outline: none;
width: 200px;
cursor: pointer;
text-align: center;
margin: 10px 2px 0 0;
padding: 12px 16px;
border: none;
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12),
0 3px 1px -2px rgba(0, 0, 0, 0.2);
border-radius: 2px;
-webkit-border-radius: 2px;
background: #e65100;
color: #fff;
text-decoration: none;
font-weight: 500;
text-transform: uppercase;
/* Chrome all / Safari all */
-moz-user-select: none;
/* Firefox all */
-ms-user-select: none;
/* IE 10+ */
-o-user-select: none;
user-select: none;
}
.button:focus, button:focus, input[type="button"]:focus, input[type="submit"]:focus,
.button:active, button:active, input[type="button"]:active, input[type="submit"]:active {
background: #ef6c00;
box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.14), 0 0 4px 0 rgba(0, 0, 0, 0.12),
0 3px 0 -3px rgba(0, 0, 0, 0.2);
transform: translate(1px, 1px);
}
.button:hover, button:hover, input[type="button"]:hover,
input[type="submit"]:hover {
background: #ef6C00;
}
.button.callout, button.callout, input[type="button"].callout,
input[type="submit"].callout {
background: #4caf50;
/*font-weight: 400;*/
color: #fff;
}
.button.full, button.full, input[type="button"].full,
input[type="submit"].full {
width: 100%;
}
.button.smalltext, button.smalltext, input[type="button"].smalltext,
input[type="submit"].smalltext {
font-size: 12px;
position: relative;
top: -7px;
}
.button.callout:hover, button.callout:hover, input[type="button"].callout:hover,
input[type="submit"].callout:hover,
.button.callout:focus, button.callout:focus, input[type="button"].callout:focus,
input[type="submit"].callout:focus,
.button.callout:active, button.callout:active, input[type="button"].callout:active,
input[type="submit"].callout:active {
background: #81c784;
}
.button:last-child, button:last-child, input[type="button"]:last-child,
input[type="submit"]:last-child {
/* margin-right: 0px; */
}
button a {
text-decoration: none;
color: #000;
font-weight: 100;
}
.form-provider-name {
color: #424242;
text-align: center;
padding: 4px;
}
.form-providers {
margin-top: 2px;
}
.providers li {
display: inline-block;
margin: 4px;
height: 63px;
width: 63px;
}
.provider {
background: #aaa;
color: #fff;
display: inline-block;
padding: 15px;
height: 100%;
width: 100%;
text-align: center;
-webkit-transition: .3s -webkit-box-shadow;
-moz-transition: .3s -moz-box-shadow;
transition: .3s box-shadow;
position: relative;
outline: none;
}
.provider.selected-provider {
-webkit-box-shadow: 0px 0px 6px 1px #ff0;
-moz-box-shadow: 0px 0px 6px 1px #ff0;
box-shadow: 0px 0px 6px 1px #ff0;
}
.provider:focus {
-webkit-box-shadow: 0px 0px 6px 1px #3680e0;
-moz-box-shadow: 0px 0px 6px 1px #3680e0;
box-shadow: 0px 0px 6px 1px #3680e0;
}
.provider::after, .provider::before {
display: block;
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
content: '';
}
.provider::before {
transition: .3s opacity;
background-color: #000;
opacity: 0;
}
.provider:hover::before, .provider:focus::before {
opacity: 0.2;
}
.provider::after {
background-image: url('data:image/svg+xml,%3Csvg%20fill%3D%22%23fff%22%20width%3D%2248%22%20height%3D%2248%22%20viewBox%3D%220%200%2024%2024%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M0%200h24v24H0z%22%20fill%3D%22none%22%2F%3E%3Cpath%20d%3D%22M18%208h-1V6c0-2.76-2.24-5-5-5S7%203.24%207%206v2H6c-1.1%200-2%20.9-2%202v10c0%201.1.9%202%202%202h12c1.1%200%202-.9%202-2V10c0-1.1-.9-2-2-2zm-6-5.1c1.71%200%203.1%201.39%203.1%203.1v2H9V6h-.1c0-1.71%201.39-3.1%203.1-3.1zM18%2020H6V10h12v10zm-6-3c1.1%200%202-.9%202-2s-.9-2-2-2-2%20.9-2%202%20.9%202%202%202z%22%2F%3E%3C%2Fsvg%3E');
background-repeat: no-repeat;
background-position: center;
}
.center-block {
margin: auto;
}
.full-width {
width: 100%;
}