2013-06-25 20:19:49 +00:00
|
|
|
form {
|
|
|
|
margin: 0 0 5px 0;
|
|
|
|
fieldset {
|
|
|
|
margin-bottom: 5px;
|
|
|
|
padding: 0;
|
|
|
|
border-width: 0;
|
|
|
|
}
|
|
|
|
legend {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
margin-bottom: 5px * 2;
|
|
|
|
*margin-left: -7px;
|
|
|
|
padding: 0;
|
2014-08-08 19:52:28 +00:00
|
|
|
color: $text-color;
|
2013-06-25 20:19:49 +00:00
|
|
|
border: 0;
|
2014-08-08 19:52:28 +00:00
|
|
|
border-bottom: 1px solid lighten($black, 80);
|
2013-06-25 20:19:49 +00:00
|
|
|
white-space: normal;
|
|
|
|
}
|
|
|
|
p {
|
|
|
|
margin-bottom: 5px / 2;
|
|
|
|
}
|
|
|
|
ul {
|
|
|
|
list-style-type: none;
|
|
|
|
margin: 0 0 5px 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
br {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
label,
|
|
|
|
input,
|
|
|
|
button,
|
|
|
|
select,
|
|
|
|
textarea {
|
|
|
|
vertical-align: baseline;
|
|
|
|
*vertical-align: middle;
|
|
|
|
}
|
|
|
|
input,
|
|
|
|
button,
|
|
|
|
select,
|
|
|
|
textarea {
|
2014-08-08 19:52:28 +00:00
|
|
|
font-family: $base-font;
|
|
|
|
@include box-sizing(border-box);
|
2013-06-25 20:19:49 +00:00
|
|
|
}
|
|
|
|
label {
|
|
|
|
display: block;
|
|
|
|
margin-bottom: 10px / 8;
|
|
|
|
font-weight: bold;
|
2014-08-08 19:52:28 +00:00
|
|
|
color: $text-color;
|
2013-06-25 20:19:49 +00:00
|
|
|
cursor: pointer;
|
|
|
|
input,
|
|
|
|
textarea,
|
|
|
|
select {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
input,
|
|
|
|
textarea,
|
|
|
|
select {
|
|
|
|
display: inline-block;
|
|
|
|
width: 100%;
|
|
|
|
padding: 4px;
|
|
|
|
margin-bottom: 5px / 4;
|
2014-08-08 19:52:28 +00:00
|
|
|
background-color: $white;
|
|
|
|
border: 1px solid lighten($black, 80);
|
|
|
|
color: $text-color;
|
2013-06-25 20:19:49 +00:00
|
|
|
&:hover {
|
2014-08-08 19:52:28 +00:00
|
|
|
border-color: lighten($accent-color, 50);
|
2013-06-25 20:19:49 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.input-mini {
|
|
|
|
width: 60px;
|
|
|
|
}
|
|
|
|
.input-small {
|
|
|
|
width: 90px;
|
|
|
|
}
|
|
|
|
input[type="image"],
|
|
|
|
input[type="checkbox"],
|
|
|
|
input[type="radio"] {
|
|
|
|
width: auto;
|
|
|
|
height: auto;
|
|
|
|
padding: 0;
|
|
|
|
margin: 3px 0;
|
|
|
|
*margin-top: 0;
|
|
|
|
line-height: normal;
|
|
|
|
cursor: pointer;
|
2014-08-08 19:52:28 +00:00
|
|
|
@include rounded(0);
|
2013-06-25 20:19:49 +00:00
|
|
|
border: 0 \9;
|
|
|
|
}
|
|
|
|
input[type="checkbox"],
|
|
|
|
input[type="radio"] {
|
2014-08-08 19:52:28 +00:00
|
|
|
@include box-sizing(border-box);
|
2013-06-25 20:19:49 +00:00
|
|
|
padding: 0;
|
|
|
|
*width: 13px;
|
|
|
|
*height: 13px;
|
|
|
|
}
|
|
|
|
input[type="image"] {
|
|
|
|
border: 0;
|
2014-08-08 19:52:28 +00:00
|
|
|
@include box-shadow(none);
|
2013-06-25 20:19:49 +00:00
|
|
|
}
|
|
|
|
input[type="file"] {
|
|
|
|
width: auto;
|
|
|
|
padding: initial;
|
|
|
|
line-height: initial;
|
|
|
|
border: initial;
|
|
|
|
background-color: transparent;
|
|
|
|
background-color: initial;
|
2014-08-08 19:52:28 +00:00
|
|
|
@include box-shadow(none);
|
2013-06-25 20:19:49 +00:00
|
|
|
}
|
|
|
|
input[type="button"],
|
|
|
|
input[type="reset"],
|
|
|
|
input[type="submit"] {
|
|
|
|
width : auto;
|
|
|
|
height : auto;
|
|
|
|
cursor : pointer;
|
|
|
|
*overflow : visible;
|
|
|
|
}
|
|
|
|
select,
|
|
|
|
input[type="file"] {
|
|
|
|
*margin-top : 4px;
|
|
|
|
}
|
|
|
|
select {
|
|
|
|
width : auto;
|
2014-08-08 19:52:28 +00:00
|
|
|
background-color : $white;
|
2013-06-25 20:19:49 +00:00
|
|
|
}
|
|
|
|
select[multiple],
|
|
|
|
select[size] {
|
|
|
|
height : auto;
|
|
|
|
}
|
|
|
|
textarea {
|
2014-08-08 19:52:28 +00:00
|
|
|
@include resize(vertical);
|
2013-06-25 20:19:49 +00:00
|
|
|
height : auto;
|
|
|
|
overflow : auto;
|
|
|
|
vertical-align : top;
|
|
|
|
}
|
|
|
|
input[type="hidden"] {
|
|
|
|
display : none;
|
|
|
|
}
|
|
|
|
.radio,
|
|
|
|
.checkbox {
|
|
|
|
padding-left : 18px;
|
|
|
|
font-weight : normal;
|
|
|
|
}
|
|
|
|
.radio input[type="radio"],
|
|
|
|
.checkbox input[type="checkbox"] {
|
|
|
|
float : left;
|
|
|
|
margin-left : -18px;
|
|
|
|
}
|
|
|
|
.radio.inline,
|
|
|
|
.checkbox.inline {
|
|
|
|
display : inline-block;
|
|
|
|
padding-top : 5px;
|
|
|
|
margin-bottom : 0;
|
|
|
|
vertical-align : middle;
|
|
|
|
}
|
|
|
|
.radio.inline + .radio.inline,
|
|
|
|
.checkbox.inline + .checkbox.inline {
|
|
|
|
margin-left : 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
// disabled
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
input[disabled],
|
|
|
|
select[disabled],
|
|
|
|
textarea[disabled],
|
|
|
|
input[readonly],
|
|
|
|
select[readonly],
|
|
|
|
textarea[readonly] {
|
2014-08-08 19:52:28 +00:00
|
|
|
@include opacity(.5);
|
2013-06-25 20:19:49 +00:00
|
|
|
cursor : not-allowed;
|
|
|
|
}
|
|
|
|
|
|
|
|
// focus and active
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
input:focus,
|
|
|
|
textarea:focus {
|
2014-08-08 19:52:28 +00:00
|
|
|
border-color : $accent-color;
|
2013-06-25 20:19:49 +00:00
|
|
|
outline : 0;
|
|
|
|
outline : thin dotted \9;
|
|
|
|
}
|
|
|
|
input[type="file"]:focus,
|
|
|
|
input[type="radio"]:focus,
|
|
|
|
input[type="checkbox"]:focus,
|
|
|
|
select:focus {
|
2014-08-08 19:52:28 +00:00
|
|
|
@include box-shadow(none);
|
2013-06-25 20:19:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// help text
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
.help-block,
|
|
|
|
.help-inline {
|
2014-08-08 19:52:28 +00:00
|
|
|
color : lighten($black, 50);
|
2013-06-25 20:19:49 +00:00
|
|
|
}
|
|
|
|
.help-block {
|
|
|
|
display : block;
|
|
|
|
margin-bottom : 1em;
|
|
|
|
line-height : 1em;
|
|
|
|
}
|
|
|
|
.help-inline {
|
|
|
|
display : inline-block;
|
|
|
|
vertical-align : middle;
|
|
|
|
padding-left : 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
// .form-inline
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
.form-inline input,
|
|
|
|
.form-inline textarea,
|
|
|
|
.form-inline select {
|
|
|
|
display : inline-block;
|
|
|
|
margin-bottom : 0;
|
|
|
|
}
|
|
|
|
.form-inline label {
|
|
|
|
display : inline-block;
|
|
|
|
}
|
|
|
|
.form-inline .radio,
|
|
|
|
.form-inline .checkbox,
|
|
|
|
.form-inline .radio {
|
|
|
|
padding-left : 0;
|
|
|
|
margin-bottom : 0;
|
|
|
|
vertical-align : middle;
|
|
|
|
}
|
|
|
|
.form-inline .radio input[type="radio"],
|
|
|
|
.form-inline .checkbox input[type="checkbox"] {
|
|
|
|
float : left;
|
|
|
|
margin-left : 0;
|
2013-09-11 16:12:08 +00:00
|
|
|
margin-right : 3px; }
|
|
|
|
|
|
|
|
// Jekyll Simple Search
|
|
|
|
// -------------------------------------------------
|
|
|
|
.dosearch {
|
|
|
|
padding: 6px 10px;
|
|
|
|
cursor: pointer;
|
|
|
|
display: block;
|
2014-08-08 19:52:28 +00:00
|
|
|
color: $white;
|
|
|
|
@include rounded(4px);
|
2013-09-11 16:12:08 +00:00
|
|
|
&:hover {
|
2014-08-08 19:52:28 +00:00
|
|
|
@include box-shadow($shadow: inset 0 0 1px $white);
|
|
|
|
background-color: lighten($black, 10);
|
2013-09-11 16:12:08 +00:00
|
|
|
}
|
|
|
|
}
|
2013-09-11 18:24:55 +00:00
|
|
|
.search-form {
|
2013-09-11 16:12:08 +00:00
|
|
|
width: 100%;
|
|
|
|
position: relative;
|
|
|
|
opacity: 0;
|
|
|
|
transition: all 200ms 100ms cubic-bezier(0, 0.6, 0.4, 1);
|
|
|
|
top: 0;
|
|
|
|
left: -200px;
|
|
|
|
z-index: 9002;
|
2013-09-11 18:24:55 +00:00
|
|
|
.search-field {
|
2013-09-11 16:12:08 +00:00
|
|
|
-webkit-appearance: none;
|
|
|
|
border: none;
|
|
|
|
width: 100%;
|
2014-08-08 19:52:28 +00:00
|
|
|
color: $white;
|
2013-09-11 16:12:08 +00:00
|
|
|
border: none;
|
2014-08-08 19:52:28 +00:00
|
|
|
border-bottom: 1px solid lighten($white, 20);
|
2013-09-11 16:12:08 +00:00
|
|
|
background-color: transparent;
|
|
|
|
box-shadow: none;
|
|
|
|
border-radius: 0;
|
|
|
|
background-clip: padding-box;
|
2014-08-08 19:52:28 +00:00
|
|
|
@include font-rem(32);
|
2013-09-11 16:12:08 +00:00
|
|
|
&:focus {
|
|
|
|
box-shadow: none;
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.active {
|
|
|
|
opacity: 1;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
&.hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
::-webkit-input-placeholder {
|
2014-08-08 19:52:28 +00:00
|
|
|
@include font-rem(32);
|
2013-09-11 16:12:08 +00:00
|
|
|
}
|
2013-09-11 18:24:55 +00:00
|
|
|
.search-field::-webkit-search-decoration,
|
|
|
|
.search-field::-webkit-search-cancel-button,
|
|
|
|
.search-field::-webkit-search-results-button,
|
|
|
|
.search-field::-webkit-search-results-decoration {
|
2013-09-11 16:12:08 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.post-list {
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
h4, li, p, a {
|
2014-08-08 19:52:28 +00:00
|
|
|
color: $white;
|
2013-09-11 16:12:08 +00:00
|
|
|
}
|
|
|
|
li {
|
2014-08-08 19:52:28 +00:00
|
|
|
border-bottom: 1px solid lighten($white,20);
|
2013-09-11 16:12:08 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
body.search-overlay {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
body.search-overlay:after {
|
|
|
|
content: '';
|
2014-08-08 19:52:28 +00:00
|
|
|
background-color: lighten($black,5);
|
|
|
|
background-color: rgba($black,.95);
|
2013-09-11 16:12:08 +00:00
|
|
|
width: 100%;
|
|
|
|
min-height: 100%;
|
|
|
|
height: 100%;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
z-index: 9001;
|
|
|
|
}
|
|
|
|
.no-js .dosearch {
|
|
|
|
display: none;
|
|
|
|
}
|