257 lines
13 KiB
CSS
257 lines
13 KiB
CSS
|
|
/* Includes some default style for the starter application.
|
||
|
|
* This can be safely deleted to start fresh.
|
||
|
|
*/
|
||
|
|
|
||
|
|
/* Milligram v1.3.0 https://milligram.github.io
|
||
|
|
* Copyright (c) 2017 CJ Patoilo Licensed under the MIT license
|
||
|
|
*/
|
||
|
|
|
||
|
|
*,*:after,*:before{box-sizing:inherit}html{box-sizing:border-box;font-size:62.5%}body{color:#000000;font-family:'Helvetica', 'Arial', sans-serif;font-size:1.6em;font-weight:300;line-height:1.6}blockquote{border-left:0.3rem solid #d1d1d1;margin-left:0;margin-right:0;padding:1rem 1.5rem}blockquote *:last-child{margin-bottom:0}.button,button,input[type='button'],input[type='reset'],input[type='submit']{background-color:#0069d9;border:0.1rem solid #0069d9;border-radius:.4rem;color:#fff;cursor:pointer;display:inline-block;font-size:1.1rem;font-weight:700;height:3.8rem;letter-spacing:.1rem;line-height:3.8rem;padding:0 3.0rem;text-align:center;text-decoration:none;text-transform:uppercase;white-space:nowrap}.button:focus,.button:hover,button:focus,button:hover,input[type='button']:focus,input[type='button']:hover,input[type='reset']:focus,input[type='reset']:hover,input[type='submit']:focus,input[type='submit']:hover{background-color:#606c76;border-color:#606c76;color:#fff;outline:0}.button[disabled],button[disabled],input[type='button'][disabled],input[type='reset'][disabled],input[type='submit'][disabled]{cursor:default;opacity:.5}.button[disabled]:focus,.button[disabled]:hover,button[disabled]:focus,button[disabled]:hover,input[type='button'][disabled]:focus,input[type='button'][disabled]:hover,input[type='reset'][disabled]:focus,input[type='reset'][disabled]:hover,input[type='submit'][disabled]:focus,input[type='submit'][disabled]:hover{background-color:#0069d9;border-color:#0069d9}.button.button-outline,button.button-outline,input[type='button'].button-outline,input[type='reset'].button-outline,input[type='submit'].button-outline{background-color:transparent;color:#0069d9}.button.button-outline:focus,.button.button-outline:hover,button.button-outline:focus,button.button-outline:hover,input[type='button'].button-outline:focus,input[type='button'].button-outline:hover,input[type='reset'].button-outline:focus,input[type='reset'].button-outline:hover,input[type='submit'].button-outline:focus,input[type='submit'].button-outline:hover{background-color:transparent;border-color:#606c76;color:#606c76}.button.button-outline[disabled]:focus,.button.button-outline[disabled]:hover,button.button-outline[disabled]:focus,button.button-outline[disabled]:hover,input[type='button'].button-outline[disabled]:focus,input[type='button'].button-outline[disabled]:hover,input[type='reset'].button-outline[disabled]:focus,input[type='reset'].button-outline[disabled]:hover,input[type='submit'].button-outline[disabled]:focus,input[type='submit'].button-outline[disabled]:hover{border-color:inherit;color:#0069d9}.button.button-clear,button.button-clear,input[type='button'].button-clear,input[type='reset'].button-clear,input[type='submit'].button-clear{background-color:transparent;border-color:transparent;color:#0069d9}.button.button-clear:focus,.button.button-clear:hover,button.button-clear:focus,button.button-clear:hover,input[type='button'].button-clear:focus,input[type='button'].button-clear:hover,input[type='reset'].button-clear:focus,input[type='reset'].button-clear:hover,input[type='submit'].button-clear:focus,input[type='submit'].button-clear:hover{background-color:transparent;border-color:transparent;color:#606c76}.button.button-clear[disabled]:focus,.button.button-clear[disabled]:hover,button.button-clear[disabled]:focus,button.button-clear[disabled]:hover,input[type='button'].button-clear[disabled]:focus,input[type='button'].button-clear[disabled]:hover,input[type='reset'].button-clear[disabled]:focus,input[type='reset'].button-clear[disabled]:hover,input[type='submit'].button-clear[disabled]:focus,input[type='submit'].button-clear[disabled]:hover{color:#0069d9}code{background:#f4f5f6;border-radius:.4rem;font-size:86%;margin:0 .2rem;padding:.2rem .5rem;white-space:nowrap}pre{background:#f4f5f6;border-left:0.3rem solid #0069d9;overflow-y:hidden}pre>code{border-radius:0;display:block;padding:1rem 1.5rem;white-space:pre}hr{border:0;border-top:0.1rem solid #f4f5f6;margin:3.0rem 0}input[type='email'],input[type='number'],input[type='password'],inpu
|
||
|
|
|
||
|
|
/* General style */
|
||
|
|
h1{font-size: 3.6rem; line-height: 1.25}
|
||
|
|
h2{font-size: 2.8rem; line-height: 1.3}
|
||
|
|
h3{font-size: 2.2rem; letter-spacing: -.08rem; line-height: 1.35}
|
||
|
|
h4{font-size: 1.8rem; letter-spacing: -.05rem; line-height: 1.5}
|
||
|
|
h5{font-size: 1.6rem; letter-spacing: 0; line-height: 1.4}
|
||
|
|
h6{font-size: 1.4rem; letter-spacing: 0; line-height: 1.2}
|
||
|
|
pre{padding: 1em;}
|
||
|
|
|
||
|
|
.container{
|
||
|
|
margin: 0 auto;
|
||
|
|
max-width: 80.0rem;
|
||
|
|
padding: 0 2.0rem;
|
||
|
|
position: relative;
|
||
|
|
width: 100%
|
||
|
|
}
|
||
|
|
select {
|
||
|
|
width: auto;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Phoenix promo and logo */
|
||
|
|
.phx-hero {
|
||
|
|
text-align: center;
|
||
|
|
border-bottom: 1px solid #e3e3e3;
|
||
|
|
background: #eee;
|
||
|
|
border-radius: 6px;
|
||
|
|
padding: 3em 3em 1em;
|
||
|
|
margin-bottom: 3rem;
|
||
|
|
font-weight: 200;
|
||
|
|
font-size: 120%;
|
||
|
|
}
|
||
|
|
.phx-hero input {
|
||
|
|
background: #ffffff;
|
||
|
|
}
|
||
|
|
.phx-logo {
|
||
|
|
min-width: 300px;
|
||
|
|
margin: 1rem;
|
||
|
|
display: block;
|
||
|
|
}
|
||
|
|
.phx-logo img {
|
||
|
|
width: auto;
|
||
|
|
display: block;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Headers */
|
||
|
|
header {
|
||
|
|
width: 100%;
|
||
|
|
background: #fdfdfd;
|
||
|
|
border-bottom: 1px solid #eaeaea;
|
||
|
|
margin-bottom: 2rem;
|
||
|
|
}
|
||
|
|
header section {
|
||
|
|
align-items: center;
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
justify-content: space-between;
|
||
|
|
}
|
||
|
|
header section :first-child {
|
||
|
|
order: 2;
|
||
|
|
}
|
||
|
|
header section :last-child {
|
||
|
|
order: 1;
|
||
|
|
}
|
||
|
|
header nav ul,
|
||
|
|
header nav li {
|
||
|
|
margin: 0;
|
||
|
|
padding: 0;
|
||
|
|
display: block;
|
||
|
|
text-align: right;
|
||
|
|
white-space: nowrap;
|
||
|
|
}
|
||
|
|
header nav ul {
|
||
|
|
margin: 1rem;
|
||
|
|
margin-top: 0;
|
||
|
|
}
|
||
|
|
header nav a {
|
||
|
|
display: block;
|
||
|
|
}
|
||
|
|
|
||
|
|
@media (min-width: 40.0rem) { /* Small devices (landscape phones, 576px and up) */
|
||
|
|
header section {
|
||
|
|
flex-direction: row;
|
||
|
|
}
|
||
|
|
header nav ul {
|
||
|
|
margin: 1rem;
|
||
|
|
}
|
||
|
|
.phx-logo {
|
||
|
|
flex-basis: 527px;
|
||
|
|
margin: 2rem 1rem;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Make clicks pass-through */
|
||
|
|
#nprogress {
|
||
|
|
pointer-events: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
#nprogress .bar {
|
||
|
|
background: #29d;
|
||
|
|
|
||
|
|
position: fixed;
|
||
|
|
z-index: 1031;
|
||
|
|
top: 0;
|
||
|
|
left: 0;
|
||
|
|
|
||
|
|
width: 100%;
|
||
|
|
height: 2px;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Fancy blur effect */
|
||
|
|
#nprogress .peg {
|
||
|
|
display: block;
|
||
|
|
position: absolute;
|
||
|
|
right: 0px;
|
||
|
|
width: 100px;
|
||
|
|
height: 100%;
|
||
|
|
box-shadow: 0 0 10px #29d, 0 0 5px #29d;
|
||
|
|
opacity: 1.0;
|
||
|
|
|
||
|
|
-webkit-transform: rotate(3deg) translate(0px, -4px);
|
||
|
|
-ms-transform: rotate(3deg) translate(0px, -4px);
|
||
|
|
transform: rotate(3deg) translate(0px, -4px);
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Remove these to get rid of the spinner */
|
||
|
|
#nprogress .spinner {
|
||
|
|
display: block;
|
||
|
|
position: fixed;
|
||
|
|
z-index: 1031;
|
||
|
|
top: 15px;
|
||
|
|
right: 15px;
|
||
|
|
}
|
||
|
|
|
||
|
|
#nprogress .spinner-icon {
|
||
|
|
width: 18px;
|
||
|
|
height: 18px;
|
||
|
|
box-sizing: border-box;
|
||
|
|
|
||
|
|
border: solid 2px transparent;
|
||
|
|
border-top-color: #29d;
|
||
|
|
border-left-color: #29d;
|
||
|
|
border-radius: 50%;
|
||
|
|
|
||
|
|
-webkit-animation: nprogress-spinner 400ms linear infinite;
|
||
|
|
animation: nprogress-spinner 400ms linear infinite;
|
||
|
|
}
|
||
|
|
|
||
|
|
.nprogress-custom-parent {
|
||
|
|
overflow: hidden;
|
||
|
|
position: relative;
|
||
|
|
}
|
||
|
|
|
||
|
|
.nprogress-custom-parent #nprogress .spinner,
|
||
|
|
.nprogress-custom-parent #nprogress .bar {
|
||
|
|
position: absolute;
|
||
|
|
}
|
||
|
|
|
||
|
|
@-webkit-keyframes nprogress-spinner {
|
||
|
|
0% { -webkit-transform: rotate(0deg); }
|
||
|
|
100% { -webkit-transform: rotate(360deg); }
|
||
|
|
}
|
||
|
|
@keyframes nprogress-spinner {
|
||
|
|
0% { transform: rotate(0deg); }
|
||
|
|
100% { transform: rotate(360deg); }
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
/* This file is for your main application css. */
|
||
|
|
/* LiveView specific classes for your customizations */
|
||
|
|
.phx-no-feedback.invalid-feedback,
|
||
|
|
.phx-no-feedback .invalid-feedback {
|
||
|
|
display: none; }
|
||
|
|
|
||
|
|
.phx-click-loading {
|
||
|
|
opacity: 0.5;
|
||
|
|
transition: opacity 1s ease-out; }
|
||
|
|
|
||
|
|
.phx-disconnected {
|
||
|
|
cursor: wait; }
|
||
|
|
|
||
|
|
.phx-disconnected * {
|
||
|
|
pointer-events: none; }
|
||
|
|
|
||
|
|
.phx-modal {
|
||
|
|
opacity: 1 !important;
|
||
|
|
position: fixed;
|
||
|
|
z-index: 1;
|
||
|
|
left: 0;
|
||
|
|
top: 0;
|
||
|
|
width: 100%;
|
||
|
|
height: 100%;
|
||
|
|
overflow: auto;
|
||
|
|
background-color: black;
|
||
|
|
background-color: rgba(0, 0, 0, 0.4); }
|
||
|
|
|
||
|
|
.phx-modal-content {
|
||
|
|
background-color: #fefefe;
|
||
|
|
margin: 15% auto;
|
||
|
|
padding: 20px;
|
||
|
|
border: 1px solid #888;
|
||
|
|
width: 80%; }
|
||
|
|
|
||
|
|
.phx-modal-close {
|
||
|
|
color: #aaa;
|
||
|
|
float: right;
|
||
|
|
font-size: 28px;
|
||
|
|
font-weight: bold; }
|
||
|
|
|
||
|
|
.phx-modal-close:hover,
|
||
|
|
.phx-modal-close:focus {
|
||
|
|
color: black;
|
||
|
|
text-decoration: none;
|
||
|
|
cursor: pointer; }
|
||
|
|
|
||
|
|
/* Alerts and form errors */
|
||
|
|
.alert {
|
||
|
|
padding: 15px;
|
||
|
|
margin-bottom: 20px;
|
||
|
|
border: 1px solid transparent;
|
||
|
|
border-radius: 4px; }
|
||
|
|
|
||
|
|
.alert-info {
|
||
|
|
color: #31708f;
|
||
|
|
background-color: #d9edf7;
|
||
|
|
border-color: #bce8f1; }
|
||
|
|
|
||
|
|
.alert-warning {
|
||
|
|
color: #8a6d3b;
|
||
|
|
background-color: #fcf8e3;
|
||
|
|
border-color: #faebcc; }
|
||
|
|
|
||
|
|
.alert-danger {
|
||
|
|
color: #a94442;
|
||
|
|
background-color: #f2dede;
|
||
|
|
border-color: #ebccd1; }
|
||
|
|
|
||
|
|
.alert p {
|
||
|
|
margin-bottom: 0; }
|
||
|
|
|
||
|
|
.alert:empty {
|
||
|
|
display: none; }
|
||
|
|
|
||
|
|
.invalid-feedback {
|
||
|
|
color: #a94442;
|
||
|
|
display: block;
|
||
|
|
margin: -1rem 0 2rem; }
|
||
|
|
|