Files
Grav-Admin-Plugin/themes/grav/css-compiled/template.css

850 lines
22 KiB
CSS
Raw Normal View History

2014-09-10 11:29:49 -06:00
@charset "UTF-8";
2014-09-04 15:36:34 -06:00
@import url(//fonts.googleapis.com/css?family=Montserrat:400|Lato:300,400,700);
#admin-login, #admin-logo h3, #admin-main .titlebar h1, #admin-main .titlebar .button-bar, #admin-dashboard .dashboard-item .button-bar .button, #admin-dashboard #updates .numeric, #admin-dashboard #popularity .stat {
2014-09-04 15:36:34 -06:00
position: relative;
top: 50%;
-webkit-transform: translateY(-50%);
-moz-transform: translateY(-50%);
-o-transform: translateY(-50%);
-ms-transform: translateY(-50%);
transform: translateY(-50%); }
.button {
2014-09-03 22:22:03 -06:00
display: inline-block;
2014-09-04 15:36:34 -06:00
padding: 0.3rem 1.5rem;
font-weight: 300;
cursor: pointer;
2014-09-04 15:36:34 -06:00
font-family: "Lato", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif; }
.button i {
padding-right: 5px; }
.button-small.button {
padding: 2px 10px;
font-size: 1rem; }
2014-09-03 22:22:03 -06:00
html, body {
height: 100%; }
body {
2014-09-04 15:36:34 -06:00
background: #314d5b;
color: white;
2014-09-03 22:22:03 -06:00
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; }
a {
color: #1bb3e9; }
a:hover {
color: #0e6e90; }
2014-09-10 11:29:49 -06:00
b, strong {
2014-09-03 22:22:03 -06:00
font-weight: 600; }
.button-bar {
text-align: right;
float: right; }
2014-09-04 15:36:34 -06:00
.secondary-accent {
background: #349886;
color: white; }
.secondary-accent .button-bar {
background: #349886; }
.secondary-accent .button {
background: #41bea8; }
.tertiary-accent {
background: #2693b7;
color: white; }
.tertiary-accent .button-bar {
background: #2693b7; }
.tertiary-accent .button {
background: #3aafd6; }
2014-09-04 15:36:34 -06:00
.info {
background: #9055af;
color: white;
2014-09-10 11:29:49 -06:00
font-size: 1.1rem;
padding: 1rem 3rem; }
2014-09-04 15:36:34 -06:00
.badge {
font-size: 0.9rem;
font-family: "Lato", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
font-weight: 700;
border-radius: 100%;
padding: 0px 6px;
min-width: 23px;
line-height: 23px;
text-align: center; }
2014-09-03 22:22:03 -06:00
.default-animation {
-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
transition: all 0.5s ease; }
2014-09-04 15:36:34 -06:00
.default-border-radius {
border-radius: 4px; }
.default-glow-shadow {
box-shadow: 0 0 20px rgba(0, 0, 0, 0.2); }
.default-box-shadow {
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); }
2014-09-03 22:22:03 -06:00
.padding-horiz {
padding-left: 7rem;
padding-right: 7rem; }
@media only all and (max-width: 59.938em) {
.padding-horiz {
padding-left: 4rem;
padding-right: 4rem; } }
@media only all and (max-width: 47.938em) {
.padding-horiz {
padding-left: 1rem;
padding-right: 1rem; } }
.padding-vert {
padding-top: 3rem;
padding-bottom: 3rem; }
body {
2014-09-04 15:36:34 -06:00
font-family: "Lato", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
2014-09-03 22:22:03 -06:00
font-weight: 400; }
h1, h2, h3, h4, h5, h6 {
font-family: "Montserrat", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
font-weight: 400;
text-rendering: optimizeLegibility;
letter-spacing: -0px; }
h1 {
font-size: 3.2rem; }
@media only all and (max-width: 47.938em) {
h1 {
font-size: 2.5rem;
line-height: 1.2;
margin-bottom: 2.5rem; } }
@media only all and (min-width: 48em) and (max-width: 59.938em) {
h2 {
font-size: 2.1rem; } }
@media only all and (max-width: 47.938em) {
h2 {
font-size: 2rem; } }
@media only all and (min-width: 48em) and (max-width: 59.938em) {
h3 {
font-size: 1.7rem; } }
@media only all and (max-width: 47.938em) {
h3 {
font-size: 1.6rem; } }
@media only all and (min-width: 48em) and (max-width: 59.938em) {
h4 {
font-size: 1.35rem; } }
@media only all and (max-width: 47.938em) {
h4 {
font-size: 1.25rem; } }
h1 {
letter-spacing: -3px; }
h2 {
letter-spacing: -2px; }
h3 {
letter-spacing: -1px; }
blockquote {
border-left: 10px solid #f0f2f4; }
blockquote p {
font-size: 1.1rem;
color: #999; }
blockquote cite {
display: block;
text-align: right;
color: #666;
font-size: 1.2rem; }
blockquote > blockquote > blockquote {
margin: 0; }
blockquote > blockquote > blockquote p {
padding: 15px;
display: block;
font-size: 1rem;
margin-top: 0rem;
margin-bottom: 0rem; }
blockquote > blockquote > blockquote > p {
margin-left: -71px;
border-left: 10px solid #F0AD4E;
background: #FCF8F2;
color: #df8a13; }
blockquote > blockquote > blockquote > blockquote > p {
margin-left: -94px;
border-left: 10px solid #D9534F;
background: #FDF7F7;
color: #b52b27; }
blockquote > blockquote > blockquote > blockquote > blockquote > p {
margin-left: -118px;
border-left: 10px solid #5BC0DE;
background: #F4F8FA;
color: #28a1c5; }
blockquote > blockquote > blockquote > blockquote > blockquote > blockquote > p {
margin-left: -142px;
border-left: 10px solid #5CB85C;
background: #F1F9F1;
color: #3d8b3d; }
code,
kbd,
pre,
samp {
font-family: "Inconsolata", monospace; }
code {
background: #f9f2f4;
color: #9c1d3d; }
pre {
padding: 2rem;
background: #f6f6f6;
border: 1px solid #dddddd;
border-radius: 3px; }
pre code {
color: #237794;
background: inherit; }
hr {
border-bottom: 4px solid #f0f2f4; }
.label {
vertical-align: middle;
background: #1bb3e9;
border-radius: 100%;
color: white;
height: 1rem;
min-width: 1rem;
line-height: 1rem;
display: inline-block;
text-align: center;
font-size: 0.7rem;
font-family: "Montserrat", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
margin-right: 0.75rem; }
2014-09-10 11:29:49 -06:00
/*
* CSS TOGGLE SWITCHES
* Unlicense
*
* Ionuț Colceriu - ghinda.net
* https://github.com/ghinda/css-toggle-switch
*
*/
/* Toggle Switches
*/
/* Shared
*/
/* Checkbox
*/
/* Radio Switch
*/
/* Hide by default
*/
.switch-toggle a,
.switch-light span span {
display: none; }
/* We can't test for a specific feature,
* so we only target browsers with support for media queries.
*/
@media only screen {
/* Checkbox switch
*/
.switch-light {
display: inline-block;
/* Outline the toggles when the inputs are focused
*/
position: relative;
overflow: visible;
padding: 0;
margin-left: 100px;
/* Position the label over all the elements, except the slide-button (<a>)
* Clicking anywhere on the label will change the switch-state
*/
/* Don't hide the input from screen-readers and keyboard access
*/ }
.switch-light * {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box; }
.switch-light a {
display: block;
-webkit-transition: all 0.1s ease-out;
-moz-transition: all 0.1s ease-out;
transition: all 0.1s ease-out; }
.switch-light label,
.switch-light > span {
vertical-align: middle; }
.switch-light input:focus ~ a,
.switch-light input:focus + label {
outline: 1px dotted #888; }
.switch-light label {
position: relative;
z-index: 3;
display: block;
width: 100%; }
.switch-light input {
position: absolute;
opacity: 0;
z-index: 5; }
.switch-light input:checked ~ a {
right: 0%; }
.switch-light > span {
position: absolute;
left: -100px;
width: 100%;
margin: 0;
padding-right: 100px;
text-align: left; }
.switch-light > span span {
position: absolute;
top: 0;
left: 0;
z-index: 5;
display: block;
width: 50%;
margin-left: 100px;
text-align: center; }
.switch-light > span span:last-child {
left: 50%; }
.switch-light a {
position: absolute;
right: 50%;
top: 0;
z-index: 4;
display: block;
width: 50%;
height: 100%;
padding: 0; }
2014-09-03 22:22:03 -06:00
2014-09-10 11:29:49 -06:00
/* Radio switch
*/
.switch-toggle {
display: inline-block;
/* Outline the toggles when the inputs are focused
*/
position: relative;
/* For callout panels in foundation
*/
padding: 0 !important;
/* Generate styles for the multiple states */ }
.switch-toggle * {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box; }
.switch-toggle a {
display: block;
-webkit-transition: all 0.1s ease-out;
-moz-transition: all 0.1s ease-out;
transition: all 0.1s ease-out; }
.switch-toggle label,
.switch-toggle > span {
vertical-align: middle; }
.switch-toggle input:focus ~ a,
.switch-toggle input:focus + label {
outline: 1px dotted #888; }
.switch-toggle input {
position: absolute;
opacity: 0; }
.switch-toggle input + label {
position: relative;
z-index: 2;
float: left;
width: 50%;
height: 100%;
margin: 0;
text-align: center; }
.switch-toggle a {
position: absolute;
top: 0;
left: 0;
padding: 0;
z-index: 1;
width: 50%;
height: 100%; }
.switch-toggle input:last-of-type:checked ~ a {
left: 50%; }
.switch-toggle.switch-3 label,
.switch-toggle.switch-3 a {
width: 33.33333%; }
.switch-toggle.switch-3 input:checked:nth-of-type(2) ~ a {
left: 33.33333%; }
.switch-toggle.switch-3 input:checked:last-of-type ~ a {
left: 66.66667%; }
.switch-toggle.switch-4 label,
.switch-toggle.switch-4 a {
width: 25%; }
.switch-toggle.switch-4 input:checked:nth-of-type(2) ~ a {
left: 25%; }
.switch-toggle.switch-4 input:checked:nth-of-type(3) ~ a {
left: 50%; }
.switch-toggle.switch-4 input:checked:last-of-type ~ a {
left: 75%; }
.switch-toggle.switch-5 label,
.switch-toggle.switch-5 a {
width: 20%; }
.switch-toggle.switch-5 input:checked:nth-of-type(2) ~ a {
left: 20%; }
.switch-toggle.switch-5 input:checked:nth-of-type(3) ~ a {
left: 40%; }
.switch-toggle.switch-5 input:checked:nth-of-type(4) ~ a {
left: 60%; }
.switch-toggle.switch-5 input:checked:last-of-type ~ a {
left: 80%; }
/* Standalone Themes */
/* Grav Theme
*/
.switch-grav {
background-color: white;
border: 1px solid #d4d4d4;
border-radius: 4px;
/* Selected ON switch-light
*/ }
.switch-grav label {
color: #737c81;
-webkit-transition: color 0.2s ease-out;
-moz-transition: color 0.2s ease-out;
transition: color 0.2s ease-out;
padding: 5px 20px; }
.switch-grav > span span {
opacity: 0;
-webkit-transition: all 0.1s;
-moz-transition: all 0.1s;
transition: all 0.1s; }
.switch-grav > span span:first-of-type {
opacity: 1; }
.switch-grav a {
background: #777;
border-radius: 3px; }
.switch-grav.switch-toggle input.highlight:checked ~ a {
background: #41bea8; }
.switch-grav.switch-light input:checked ~ a {
background-color: #777; }
.switch-grav.switch-light input:checked ~ span span:first-of-type {
opacity: 0; }
.switch-grav.switch-light input:checked ~ span span:last-of-type {
opacity: 1; }
.switch-grav input:checked + label {
color: #fff; } }
/* Bugfix for older Webkit, including mobile Webkit. Adapted from
* http://css-tricks.com/webkit-sibling-bug/
*/
@media only screen and (-webkit-max-device-pixel-ratio: 2) and (max-device-width: 1280px) {
.switch-light,
.switch-toggle {
-webkit-animation: webkitSiblingBugfix infinite 1s; } }
@-webkit-keyframes webkitSiblingBugfix {
from {
-webkit-transform: translate3d(0, 0, 0); }
to {
-webkit-transform: translate3d(0, 0, 0); } }
form .form-field {
margin-bottom: 1rem; }
form label {
padding: 5px 0 5px 3rem;
font-weight: 400;
margin: 0; }
form input, form select, form textarea, form button {
font-family: "Lato", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
font-size: 1rem;
line-height: 1.7;
border-radius: 4px;
-webkit-font-smoothing: antialiased; }
form .form-select-wrapper {
position: relative;
2014-09-03 22:22:03 -06:00
display: inline-block; }
2014-09-10 11:29:49 -06:00
form .form-select-wrapper:after {
position: absolute;
content: '\f078';
font-family: 'FontAwesome';
right: 12px;
top: 50%;
line-height: 0;
color: #9ba2a6;
pointer-events: none; }
form .small select, form .small input {
min-width: 10rem; }
form .medium select, form .medium input {
min-width: 20rem; }
form .large select, form .large input {
min-width: 30rem; }
form select {
border: 1px solid #d4d4d4;
background: white;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
padding: 5px 30px 5px 10px;
cursor: pointer;
margin: 0; }
form .switch-toggle label {
cursor: pointer; }
form .switch-toggle a, form .switch-toggle label {
outline: none !important; }
form .dynfields input[type=text] {
width: 40%; }
form .dynfields .inline > div {
margin-left: 30%; }
form .dynfields .button {
padding: 0.5rem;
display: inline-block;
background: #999; }
form .button-bar {
margin-top: 50px;
background: #e6e6e6;
padding: 5px 10px;
padding-left: 30%; }
form .checkboxes {
display: inline-block;
padding: 5px 0; }
form .checkboxes label {
display: inline;
cursor: pointer;
position: relative;
padding: 0 0 0 2rem;
margin-right: 15px; }
form .checkboxes label:before {
content: "";
display: inline-block;
width: 1.5rem;
height: 1.5rem;
top: 50%;
left: 0;
margin-top: -0.75rem;
margin-right: 10px;
position: absolute;
background: white;
border: 1px solid #d4d4d4;
border-radius: 4px; }
form .checkboxes input[type=checkbox] {
display: none; }
form .checkboxes input[type=checkbox]:checked + label:before {
content: "\f00c";
font-family: "FontAwesome";
font-size: 1.2rem;
line-height: 1.5rem;
text-align: center; }
2014-09-03 22:22:03 -06:00
td {
2014-09-10 11:29:49 -06:00
border: 0;
border-bottom: 1px solid #e1e1e1; }
tr {
-webkit-transition: all 0.2s ease;
-moz-transition: all 0.2s ease;
transition: all 0.2s ease; }
tr td:first-child {
padding-left: 3rem; }
tr td:last-child {
text-align: right;
padding-right: 3rem; }
tr:last-child td {
border-bottom: 0; }
tr:hover {
background: #f3f3f3; }
2014-09-03 22:22:03 -06:00
.button {
2014-09-04 15:36:34 -06:00
background: #41bea8;
color: rgba(255, 255, 255, 0.85);
border-radius: 4px; }
.button:hover {
2014-09-04 15:36:34 -06:00
background: #54c5b0;
2014-09-03 22:22:03 -06:00
color: white; }
.button:active {
2014-09-04 15:36:34 -06:00
box-shadow: 0 1px 0 #31907f; }
.button.secondary {
background: #29796b;
color: rgba(255, 255, 255, 0.85);
border-radius: 4px; }
.button.secondary:hover {
background: #2f8c7c;
color: white; }
.button.secondary:active {
box-shadow: 0 1px 0 #1a4b43; }
2014-09-03 22:22:03 -06:00
#error {
text-align: center;
display: flex;
align-items: center;
justify-content: center;
height: 100%;
padding-bottom: 6rem; }
#error h1 {
font-size: 5rem; }
#error p {
margin: 1rem 0; }
2014-09-04 15:36:34 -06:00
#admin-login {
background: #253a47;
max-width: 24rem;
2014-09-04 15:36:34 -06:00
margin: 0 auto; }
#admin-login h1 {
background: #20333e url(../images/logo.png) 50% 50% no-repeat;
font-size: 0;
color: transparent;
height: 14rem;
margin: 0; }
#admin-login form {
padding: 3rem; }
#admin-login form input {
margin-bottom: 2rem;
background: #314d5b;
color: white;
font-size: 1.4rem;
line-height: 1.5;
text-align: center;
font-weight: 300;
border: 1px solid #1d2e38; }
#admin-login form input::-webkit-input-placeholder {
color: #83949c; }
#admin-login form input::-moz-placeholder {
color: #83949c; }
#admin-login form input:-moz-placeholder {
color: #83949c; }
#admin-login form input:-ms-input-placeholder {
color: #83949c; }
#admin-login form .form-actions {
text-align: center;
margin: 0 -3rem -3rem -3rem;
padding: 1.5rem 3rem; }
#admin-login form .form-actions button:first-child {
margin-right: 1rem; }
#admin-login .info {
text-align: center;
padding: 1rem 3rem; }
#admin-sidebar {
position: absolute;
left: 0;
top: 0;
bottom: 0;
width: 20%;
background: #253a47; }
#admin-logo {
background: #20333e;
height: 4.2rem; }
#admin-logo h3 {
text-transform: uppercase;
margin: 0;
text-align: center;
font-size: 1.2rem; }
#admin-user-details {
padding: 2rem;
border-bottom: 1px solid #20333e; }
#admin-user-details img {
border-radius: 100%;
float: left; }
#admin-user-details .admin-user-names {
margin-left: 45px; }
#admin-user-details .admin-user-names h4, #admin-user-details .admin-user-names h5 {
margin: 0;
font-size: 1rem;
line-height: 1.3; }
#admin-user-details .admin-user-names h5 {
font-family: "Lato", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
color: #afc7d5;
font-size: 0.9rem; }
#admin-menu {
display: block;
margin: 0;
padding: 0;
list-style: none; }
#admin-menu li {
font-family: "Montserrat", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif; }
#admin-menu li .badge {
background-color: #141f25;
color: #e5e5e5;
float: right;
margin-right: 1rem; }
#admin-menu li a {
-webkit-transition: all 0.2s ease;
-moz-transition: all 0.2s ease;
transition: all 0.2s ease;
display: block;
padding-left: 25px;
padding-top: 0.7rem;
padding-bottom: 0.7rem;
color: #d1dee7; }
#admin-menu li a i {
-webkit-transition: all 0.2s ease;
-moz-transition: all 0.2s ease;
transition: all 0.2s ease;
color: #afc7d5;
margin-right: 8px; }
#admin-menu li a:hover {
background: #20333e;
color: white; }
#admin-menu li a:hover i {
font-size: 1.2rem; }
#admin-menu li.selected a {
background: #314d5b;
color: white;
padding-left: 16px;
border-left: 9px solid #349886; }
#admin-menu li.selected a i {
color: #e1eaf0; }
#admin-main {
margin-left: 20%; }
#admin-main h1 {
margin: 0;
font-size: 1.5rem;
text-align: left;
letter-spacing: -1px; }
#admin-main .titlebar {
height: 4.2rem;
padding: 0 3rem; }
#admin-main .titlebar .button-bar {
padding: 0; }
#admin-main .grav-update {
height: 3rem;
padding: 0 3rem;
background: #9055af; }
#admin-main .grav-update .button {
margin-left: 1rem;
line-height: 1.5;
background: #73448c;
color: rgba(255, 255, 255, 0.85);
border-radius: 4px; }
#admin-main .grav-update .button:hover {
background: #814c9d;
color: white; }
#admin-main .grav-update .button:active {
box-shadow: 0 1px 0 #513063; }
#admin-main .grav-update p {
line-height: 3rem;
margin: 0; }
#admin-main .grav-update i {
padding-right: 0.5rem; }
#admin-main .grav-update .less {
color: rgba(255, 255, 255, 0.75); }
#admin-main .grav-update + .content-padding {
top: 7.2rem; }
#admin-main .content-padding {
position: absolute;
top: 4.2rem;
bottom: 0;
left: 20%;
right: 0;
overflow-y: auto;
padding: 2.5rem; }
#admin-main .admin-block {
background: #eeeeee;
color: #737c81;
padding: 2rem 0; }
#admin-main .admin-block h1 {
padding: 0 3rem 0.5rem;
margin: 0 0 1rem;
border-bottom: 3px solid #e1e1e1; }
#admin-main .admin-block .button-bar {
margin-right: 3rem; }
#admin-dashboard:after {
content: "";
display: table;
clear: both; }
#admin-dashboard .dashboard-item {
float: left;
width: 50%;
margin-bottom: 2.5rem; }
#admin-dashboard .dashboard-item > div {
padding: 1rem 2rem; }
#admin-dashboard .dashboard-item .button-bar {
margin: 1rem -2rem -1rem;
height: 70px;
padding: 0 1rem;
float: none; }
#admin-dashboard .dashboard-left {
padding-right: 1.25rem; }
#admin-dashboard .dashboard-right {
padding-left: 1.25rem; }
#admin-dashboard #updates p {
text-align: center;
color: rgba(255, 255, 255, 0.95);
margin: 0; }
#admin-dashboard #updates .updates-chart {
width: 50%;
float: left; }
#admin-dashboard #updates .chart-wrapper {
position: relative; }
#admin-dashboard #updates .backups-chart {
position: relative;
width: 50%;
float: left; }
#admin-dashboard #updates .numeric {
display: block;
position: absolute;
width: 100%;
text-align: center;
font-size: 1.7rem;
line-height: 1; }
#admin-dashboard #updates .numeric em {
display: block;
font-style: normal;
font-size: 1rem;
color: rgba(255, 255, 255, 0.85); }
#admin-dashboard #updates .admin-update-charts {
min-height: 191px; }
#admin-dashboard #updates .admin-update-charts:after {
content: "";
display: table;
clear: both; }
#admin-dashboard #updates .button {
margin-left: 0.5rem; }
#admin-dashboard #popularity p {
text-align: center;
color: rgba(255, 255, 255, 0.95);
margin: 0; }
#admin-dashboard #popularity .button-bar {
height: 100px;
padding: 0 1rem; }
#admin-dashboard #popularity .stat {
display: block;
float: left;
width: 33%;
text-align: center; }
#admin-dashboard #popularity .stat b {
display: block;
font-size: 2.5rem;
line-height: 1;
font-weight: 300; }
#admin-dashboard #popularity .stat i {
display: block;
font-style: normal;
color: rgba(255, 255, 255, 0.75); }
#admin-dashboard .tertiary-accent {
background-color: #2693b7;
background-image: -webkit-linear-gradient(#2693b7, #64c0df);
background-image: linear-gradient(#2693b7, #64c0df); }
#admin-dashboard .secondary-accent {
background-color: #349886;
background-image: -webkit-linear-gradient(#349886, #67cbb9);
background-image: linear-gradient(#349886, #67cbb9); }
#footer {
text-align: center;
padding: 3rem 0 1rem; }
.ct-chart .ct-series .ct-bar {
stroke-width: 15px; }
.ct-chart .ct-series.ct-series-a .ct-bar {
stroke: rgba(255, 255, 255, 0.85) !important; }
.ct-chart .ct-series.ct-series-a .ct-slice.ct-donut {
stroke: white !important; }
.ct-chart .ct-series.ct-series-b .ct-slice.ct-donut {
stroke: rgba(255, 255, 255, 0.2) !important; }
2014-09-03 22:22:03 -06:00
/*# sourceMappingURL=template.css.map */