Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
319 lines (291 sloc) 6.66 KB
// $Imports
// ============================================================
@import "vars";
@import "queries";
// $Global Author Styles
// ============================================================
body {
margin: 6em auto;
max-width: 34em;
background: url(../img/subtle_grunge.png) top left repeat;
.wf-loading & {
font-family: serif;
visibility: hidden;
}
.wf-active &,
.wf-inactive & {
font-family: "ff-meta-serif-web-pro",serif;
font-weight: 400;
visibility: visible;
}
}
img {
max-width: 100%;
}
// $Top Banner Stripe
// ============================================================
#typeplate-widgets-wrap {
border-top: 6px solid #606060;
box-shadow: 0 2px 2px rgba(0, 0, 0, 0.4);
padding: .875em;
position: fixed;
top: 0;
left: 0;
width: 100%;
z-index: 0;
font-family: "ff-meta-serif-web-pro",serif;
font-size: 100%;
background: $cobalt-deep url("../img/asfalt.png") top left repeat;
color: #EFEFEF;
}
#typeplate-widgets-wrap form {
display: inline-block;
}
#normalize-form,
#typeplate-form {
display: block;
width: 80px;
}
// $Logo
// ============================================================
.logo {
vertical-align: -100%;
cursor: pointer;
@include breakpoint(papa-bear) {
vertical-align: -190%;
margin-right: 5em;
}
@include breakpoint(baby-bear) {
display: block;
text-align: center;
margin-right: 0;
}
}
.logo-img {
width: 12em;
background: url("../img/logo.png") 50% no-repeat;
background-size: 100%;
&:before {
content: "";
display: block;
width: 0;
height: 100%;
}
}
// $On/Off Radio Buttons
// ============================================================
input[type="checkbox"] {
box-sizing: border-box;
display: inline-block;
font-size: 100%;
line-height: normal;
padding: 5px;
}
.bg-slategray {
color: #c7c7c7;
font-size: .875em;
display: inline-block;
}
.bg-slategray .title {
color: #fff;
font-size: 18px;
text-shadow: 0 -1px 0 #000;
}
input.slide-switch[type=checkbox] {
border: 0;
clip: rect(0 0 0 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute !important;
width: 1px;
}
input.slide-switch[type=checkbox] + label {
background-clip: padding-box !important;
border: 1px solid rgba(0,0,0,0);
border-radius: 3px;
display: inline-block;
height: 21px;
line-height: 21px;
min-width: 15px;
max-width: 150px;
overflow: hidden;
padding: 0 8px;
position: relative;
text-decoration: none;
text-overflow: ellipsis;
vertical-align: top;
white-space: nowrap;
user-select: none;
-webkit-touch-callout: none;
-webkit-user-select: none;
background-color: #ccc;
background-image: none !important;
border: 1px solid #9b9d9d;
cursor: pointer;
padding: 0;
position: relative;
width: 54px;
vertical-align: middle;
}
input.slide-switch[type=checkbox]:checked + label .wrapper {
left: 0;
padding: 0;
}
input.slide-switch[type=checkbox]:checked + label .wrapper .on {
visibility: visible;
transition: visibility 0s linear 0s;
}
input.slide-switch[type=checkbox]:checked + label .wrapper .off {
visibility: hidden;
transition: visibility 0s linear 0.2s;
}
input.slide-switch[type=checkbox]:focus + label {
border: none;
box-shadow: none;
outline: none;
padding: 0;
margin: 0 5px 5px 5px;
}
input.slide-switch[type=checkbox]:focus + label .switch {
border: none;
box-shadow: none;
}
input.slide-switch.dark[type=checkbox]:focus + label {
border: none;
box-shadow: none;
outline: none;
padding: 0;
margin: 0 5px 5px 5px;
}
input.slide-switch.dark[type=checkbox]:focus + label .switch {
border: none;
box-shadow: none;
}
input.slide-switch[type=checkbox] + label .wrapper {
display: block;
height: 21px;
position: relative;
top: 0;
left: -38px;
transition: left 0.2s ease-out;
width: 90px;
z-index: 1;
}
input.slide-switch[type=checkbox] + label .switch,
input.slide-switch[type=checkbox] + label .on,
input.slide-switch[type=checkbox] + label .off {
display: block;
height: 21px;
font-size: 12px;
line-height: 21px;
position: absolute;
text-align: center;
text-shadow: 0 1px 0 #fff;
top: 0;
}
input.slide-switch[type=checkbox] + label .switch {
background: #e5e9e9;
background: linear-gradient(top, #e5e9e9, #e5e9e9);
border: 1px solid #9b9d9d;
border-radius: 3px;
box-shadow: inset 0 1px 0 #fff;
left: 37px;
width: 16px;
top: -1px;
z-index: 1;
}
input.slide-switch[type=checkbox] + label .on {
background: #e0f0fa;
border-top-left-radius: 3px;
border-bottom-left-radius: 3px;
box-shadow: inset 0 1px 0px rgba(0,0,0,0.12);
color: light-blue-text;
width: 38px;
padding-right: 3px;
visibility: hidden;
transition: visibility 0s linear 0.2s;
}
input.slide-switch[type=checkbox] + label .off {
background: #d3d7d7;
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
box-shadow: inset 0 1px 0px rgba(0,0,0,0.12);
left: 51px;
width: 38px;
padding-left: 3px;
visibility: visible;
transition: visibility 0s linear 0s;
}
input.slide-switch.dark[type=checkbox] + label {
background-color: #404141;
border: 1px solid #2d2f31;
padding: 0 0 0 0;
}
input.slide-switch.dark[type=checkbox] + label .switch,
input.slide-switch.dark[type=checkbox] + label .on,
input.slide-switch.dark[type=checkbox] + label .off {
text-shadow: 0 -1px 0 rgba(0,0,0,0.69);
}
input.slide-switch.dark[type=checkbox] + label .switch {
border: 1px solid #2d2f31;
box-shadow: inset 0 1px 0 rgba(255,255,255,0.15);
background: #595b5b;
background: linear-gradient(top, #595b5b, #595b5b);
}
input.slide-switch.dark[type=checkbox] + label .on {
box-shadow: inset 0 1px 0 rgba(0,0,0,0.18);
background: #404141;
color: dark-blue-text;
}
input.slide-switch.dark[type=checkbox] + label .off {
box-shadow: inset 0 1px 0px rgba(0,0,0,0.18);
background: #404141;
color: #999;
}
input.slide-switch.large[type=checkbox] + label {
height: 27px;
width: 69px;
}
input.slide-switch.large[type=checkbox] + label .wrapper {
display: block;
height: 27px;
position: relative;
top: 0;
left: -48px;
transition: left 0.2s ease-out;
z-index: 1;
}
input.slide-switch.large[type=checkbox] + label .switch,
input.slide-switch.large[type=checkbox] + label .on,
input.slide-switch.large[type=checkbox] + label .off {
height: 27px;
font-size: 14px;
line-height: 28px;
}
input.slide-switch.large[type=checkbox] + label .switch {
left: 47px;
width: 21px;
}
input.slide-switch.large[type=checkbox] + label .on {
width: 48px;
}
input.slide-switch.large[type=checkbox] + label .off {
left: 66px;
width: 48px;
}
input.slide-switch.large[type=checkbox]:checked + label .wrapper {
left: 0;
}
// $Rule
// ============================================================
.rule {
display: block;
text-align: center;
}
// $Viewport
// ============================================================
@viewport {
width: device-width;
}