Build mobile apps with simple HTML, CSS, and JS components. http://goratchet.com/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1440 lines
24 KiB

/*!
11 years ago
* =====================================================
* Ratchet v2.0.2 (http://goratchet.com)
11 years ago
* Copyright 2014 Connor Sears
* Licensed under MIT (https://github.com/twbs/ratchet/blob/master/LICENSE)
11 years ago
*
* v2.0.2 designed by @connors.
11 years ago
* =====================================================
*/
/*! normalize.css v3.0.2 | MIT License | git.io/normalize */
11 years ago
html {
font-family: sans-serif;
-webkit-text-size-adjust: 100%;
11 years ago
-ms-text-size-adjust: 100%;
11 years ago
}
body {
margin: 0;
}
12 years ago
article,
aside,
details,
figcaption,
11 years ago
figure,
12 years ago
footer,
header,
hgroup,
11 years ago
main,
menu,
12 years ago
nav,
section,
11 years ago
summary {
display: block;
}
12 years ago
audio,
11 years ago
canvas,
11 years ago
progress,
12 years ago
video {
11 years ago
display: inline-block;
11 years ago
vertical-align: baseline;
11 years ago
}
audio:not([controls]) {
display: none;
height: 0;
}
[hidden],
template {
display: none;
}
a {
background-color: transparent;
11 years ago
}
a:active,
a:hover {
outline: 0;
}
abbr[title] {
border-bottom: 1px dotted;
}
b,
strong {
font-weight: bold;
}
dfn {
font-style: italic;
}
11 years ago
h1 {
11 years ago
margin: .67em 0;
11 years ago
font-size: 2em;
11 years ago
}
mark {
color: #000;
11 years ago
background: #ff0;
11 years ago
}
small {
font-size: 80%;
}
sub,
sup {
11 years ago
position: relative;
11 years ago
font-size: 75%;
line-height: 0;
vertical-align: baseline;
}
sup {
11 years ago
top: -.5em;
11 years ago
}
sub {
11 years ago
bottom: -.25em;
11 years ago
}
img {
border: 0;
}
svg:not(:root) {
overflow: hidden;
}
figure {
11 years ago
margin: 1em 40px;
11 years ago
}
11 years ago
hr {
height: 0;
11 years ago
-moz-box-sizing: content-box;
box-sizing: content-box;
11 years ago
}
11 years ago
pre {
overflow: auto;
}
code,
kbd,
pre,
samp {
font-family: monospace, monospace;
font-size: 1em;
11 years ago
}
button,
input,
11 years ago
optgroup,
11 years ago
select,
textarea {
margin: 0;
11 years ago
font: inherit;
color: inherit;
11 years ago
}
11 years ago
button {
overflow: visible;
11 years ago
}
button,
select {
text-transform: none;
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
-webkit-appearance: button;
cursor: pointer;
}
button[disabled],
html input[disabled] {
cursor: default;
}
11 years ago
button::-moz-focus-inner,
input::-moz-focus-inner {
padding: 0;
11 years ago
border: 0;
11 years ago
}
input {
line-height: normal;
}
11 years ago
input[type="checkbox"],
input[type="radio"] {
box-sizing: border-box;
padding: 0;
}
11 years ago
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
height: auto;
}
11 years ago
input[type="search"] {
-webkit-box-sizing: content-box;
11 years ago
-moz-box-sizing: content-box;
box-sizing: content-box;
-webkit-appearance: textfield;
11 years ago
}
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
11 years ago
fieldset {
11 years ago
padding: .35em .625em .75em;
11 years ago
margin: 0 2px;
11 years ago
border: 1px solid #c0c0c0;
11 years ago
}
legend {
11 years ago
padding: 0;
11 years ago
border: 0;
}
11 years ago
textarea {
overflow: auto;
11 years ago
}
optgroup {
font-weight: bold;
11 years ago
}
table {
border-spacing: 0;
11 years ago
border-collapse: collapse;
}
11 years ago
td,
th {
padding: 0;
}
11 years ago
* {
-webkit-box-sizing: border-box;
11 years ago
-moz-box-sizing: border-box;
box-sizing: border-box;
11 years ago
}
body {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
font-family: "Helvetica Neue", Helvetica, sans-serif;
font-size: 17px;
line-height: 21px;
12 years ago
color: #000;
background-color: #fff;
}
a {
color: #428bca;
text-decoration: none;
11 years ago
-webkit-tap-highlight-color: transparent;
}
11 years ago
a:active {
color: #3071a9;
}
.content {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
overflow: auto;
11 years ago
-webkit-overflow-scrolling: touch;
11 years ago
background-color: #fff;
}
.content > * {
11 years ago
-webkit-transform: translateZ(0);
11 years ago
-ms-transform: translateZ(0);
transform: translateZ(0);
}
11 years ago
.bar-nav ~ .content {
padding-top: 44px;
}
.bar-header-secondary ~ .content {
padding-top: 88px;
}
11 years ago
.bar-footer ~ .content {
padding-bottom: 44px;
}
.bar-footer-secondary ~ .content {
padding-bottom: 88px;
}
.bar-tab ~ .content {
padding-bottom: 50px;
}
.bar-footer-secondary-tab ~ .content {
padding-bottom: 94px;
}
11 years ago
.content-padded {
margin: 10px;
}
.text-center {
text-align: center;
}
.pull-left {
float: left;
}
.pull-right {
float: right;
}
.clearfix:before, .clearfix:after {
display: table;
11 years ago
content: " ";
}
.clearfix:after {
clear: both;
}
h1, h2, h3, h4, h5, h6 {
11 years ago
margin-top: 0;
margin-bottom: 10px;
line-height: 1;
}
h1, .h1 {
font-size: 36px;
}
h2, .h2 {
font-size: 30px;
}
h3, .h3 {
font-size: 24px;
}
h4, .h4 {
font-size: 18px;
}
h5, .h5 {
11 years ago
margin-top: 20px;
11 years ago
font-size: 14px;
}
h6, .h6 {
11 years ago
margin-top: 20px;
11 years ago
font-size: 12px;
}
p {
11 years ago
margin-top: 0;
margin-bottom: 10px;
font-size: 14px;
color: #777;
}
11 years ago
.btn {
position: relative;
display: inline-block;
padding: 6px 8px 7px;
11 years ago
margin-bottom: 0;
11 years ago
font-size: 12px;
font-weight: 400;
11 years ago
line-height: 1;
11 years ago
color: #333;
text-align: center;
white-space: nowrap;
11 years ago
vertical-align: top;
11 years ago
cursor: pointer;
10 years ago
background-color: #fff;
11 years ago
border: 1px solid #ccc;
border-radius: 3px;
}
.btn:active, .btn.active {
color: inherit;
background-color: #ccc;
}
.btn:disabled, .btn.disabled {
opacity: .6;
}
.btn-primary {
color: #fff;
background-color: #428bca;
11 years ago
border: 1px solid #428bca;
11 years ago
}
.btn-primary:active, .btn-primary.active {
color: #fff;
11 years ago
background-color: #3071a9;
11 years ago
border: 1px solid #3071a9;
11 years ago
}
.btn-positive {
color: #fff;
background-color: #5cb85c;
11 years ago
border: 1px solid #5cb85c;
11 years ago
}
.btn-positive:active, .btn-positive.active {
color: #fff;
11 years ago
background-color: #449d44;
11 years ago
border: 1px solid #449d44;
11 years ago
}
.btn-negative {
color: #fff;
background-color: #d9534f;
11 years ago
border: 1px solid #d9534f;
11 years ago
}
.btn-negative:active, .btn-negative.active {
color: #fff;
11 years ago
background-color: #c9302c;
11 years ago
border: 1px solid #c9302c;
11 years ago
}
.btn-outlined {
background-color: transparent;
}
.btn-outlined.btn-primary {
color: #428bca;
}
.btn-outlined.btn-positive {
color: #5cb85c;
}
.btn-outlined.btn-negative {
color: #d9534f;
}
.btn-outlined.btn-primary:active, .btn-outlined.btn-positive:active, .btn-outlined.btn-negative:active {
color: #fff;
}
.btn-link {
padding-top: 6px;
padding-bottom: 6px;
color: #428bca;
background-color: transparent;
11 years ago
border: 0;
11 years ago
}
.btn-link:active, .btn-link.active {
color: #3071a9;
background-color: transparent;
}
.btn-block {
display: block;
width: 100%;
11 years ago
padding: 15px 0;
margin-bottom: 10px;
font-size: 18px;
}
input[type="submit"],
input[type="reset"],
input[type="button"] {
width: 100%;
}
.btn .badge {
margin: -2px -4px -2px 4px;
11 years ago
font-size: 12px;
background-color: rgba(0, 0, 0, .15);
11 years ago
}
.btn .badge-inverted,
.btn:active .badge-inverted {
background-color: transparent;
}
.btn-primary:active .badge-inverted,
.btn-positive:active .badge-inverted,
.btn-negative:active .badge-inverted {
color: #fff;
}
.btn-block .badge {
position: absolute;
right: 0;
margin-right: 10px;
}
.btn .icon {
font-size: inherit;
}
.bar {
position: fixed;
right: 0;
left: 0;
z-index: 10;
height: 44px;
11 years ago
padding-right: 10px;
padding-left: 10px;
10 years ago
background-color: #fff;
11 years ago
border-bottom: 1px solid #ddd;
-webkit-backface-visibility: hidden;
11 years ago
backface-visibility: hidden;
}
11 years ago
.bar-header-secondary {
top: 44px;
}
11 years ago
.bar-footer {
bottom: 0;
}
11 years ago
.bar-footer-secondary {
11 years ago
bottom: 44px;
}
11 years ago
.bar-footer-secondary-tab {
11 years ago
bottom: 50px;
}
.bar-footer,
.bar-footer-secondary,
.bar-footer-secondary-tab {
11 years ago
border-top: 1px solid #ddd;
border-bottom: 0;
}
.bar-nav {
top: 0;
}
.title {
11 years ago
position: absolute;
display: block;
width: 100%;
padding: 0;
11 years ago
margin: 0 -10px;
font-size: 17px;
12 years ago
font-weight: 500;
line-height: 44px;
12 years ago
color: #000;
text-align: center;
white-space: nowrap;
}
11 years ago
.title a {
color: inherit;
}
.bar-tab {
bottom: 0;
11 years ago
display: table;
width: 100%;
11 years ago
height: 50px;
padding: 0;
table-layout: fixed;
11 years ago
border-top: 1px solid #ddd;
border-bottom: 0;
}
.bar-tab .tab-item {
display: table-cell;
width: 1%;
11 years ago
height: 50px;
color: #929292;
text-align: center;
11 years ago
vertical-align: middle;
11 years ago
}
.bar-tab .tab-item.active, .bar-tab .tab-item:active {
color: #428bca;
}
.bar-tab .tab-item .icon {
11 years ago
top: 3px;
width: 24px;
height: 24px;
11 years ago
padding-top: 0;
padding-bottom: 0;
11 years ago
}
.bar-tab .tab-item .icon ~ .tab-label {
display: block;
11 years ago
font-size: 11px;
}
.bar .btn {
11 years ago
position: relative;
top: 7px;
z-index: 20;
11 years ago
padding: 6px 12px 7px;
margin-top: 0;
11 years ago
font-weight: 400;
}
.bar .btn.pull-right {
11 years ago
margin-left: 10px;
}
.bar .btn.pull-left {
11 years ago
margin-right: 10px;
}
.bar .btn-link {
top: 0;
padding: 0;
11 years ago
font-size: 16px;
line-height: 44px;
11 years ago
color: #428bca;
border: 0;
11 years ago
}
.bar .btn-link:active, .bar .btn-link.active {
11 years ago
color: #3071a9;
}
.bar .btn-block {
top: 6px;
padding: 7px 0;
11 years ago
margin-bottom: 0;
font-size: 16px;
}
.bar .btn-nav.pull-left {
margin-left: -5px;
11 years ago
}
.bar .btn-nav.pull-left .icon-left-nav {
margin-right: -3px;
}
.bar .btn-nav.pull-right {
margin-right: -5px;
}
.bar .btn-nav.pull-right .icon-right-nav {
margin-left: -3px;
11 years ago
}
.bar .icon {
position: relative;
z-index: 20;
11 years ago
padding-top: 10px;
padding-bottom: 10px;
11 years ago
font-size: 24px;
}
.bar .btn .icon {
11 years ago
top: 3px;
padding: 0;
11 years ago
}
.bar .title .icon {
padding: 0;
}
.bar .title .icon.icon-caret {
top: 4px;
11 years ago
margin-left: -5px;
}
11 years ago
.bar input[type="search"] {
height: 29px;
margin: 6px 0;
}
.bar .segmented-control {
top: 7px;
margin: 0 auto;
}
11 years ago
.badge {
display: inline-block;
padding: 2px 9px 3px;
font-size: 12px;
11 years ago
line-height: 1;
color: #333;
11 years ago
background-color: rgba(0, 0, 0, .15);
11 years ago
border-radius: 100px;
}
.badge.badge-inverted {
padding: 0 5px 0 0;
background-color: transparent;
}
.badge-primary {
color: #fff;
background-color: #428bca;
}
.badge-primary.badge-inverted {
color: #428bca;
}
.badge-positive {
color: #fff;
background-color: #5cb85c;
}
.badge-positive.badge-inverted {
color: #5cb85c;
}
.badge-negative {
color: #fff;
background-color: #d9534f;
}
.badge-negative.badge-inverted {
color: #d9534f;
}
.card {
margin: 10px;
11 years ago
overflow: hidden;
10 years ago
background-color: #fff;
11 years ago
border: 1px solid #ddd;
border-radius: 6px;
}
.card .table-view {
11 years ago
margin-bottom: 0;
border-top: 0;
border-bottom: 0;
}
11 years ago
.card .table-view .table-view-divider:first-child {
top: 0;
11 years ago
border-top-left-radius: 6px;
11 years ago
border-top-right-radius: 6px;
11 years ago
}
.card .table-view .table-view-divider:last-child {
11 years ago
border-bottom-right-radius: 6px;
border-bottom-left-radius: 6px;
11 years ago
}
11 years ago
.card .table-view-cell:last-child {
border-bottom: 0;
11 years ago
}
.table-view {
11 years ago
padding-left: 0;
margin-top: 0;
margin-bottom: 15px;
list-style: none;
background-color: #fff;
11 years ago
border-top: 1px solid #ddd;
border-bottom: 1px solid #ddd;
}
11 years ago
.table-view-cell {
position: relative;
padding: 11px 65px 11px 15px;
11 years ago
overflow: hidden;
border-bottom: 1px solid #ddd;
}
11 years ago
.table-view-cell:last-child {
border-bottom: 0;
}
11 years ago
.table-view-cell > a:not(.btn) {
position: relative;
display: block;
padding: inherit;
margin: -11px -65px -11px -15px;
11 years ago
overflow: hidden;
color: inherit;
}
11 years ago
.table-view-cell > a:not(.btn):active {
background-color: #eee;
}
11 years ago
.table-view-cell p {
margin-bottom: 0;
11 years ago
}
11 years ago
.table-view-divider {
padding-top: 6px;
padding-bottom: 6px;
padding-left: 15px;
margin-top: -1px;
margin-left: 0;
font-weight: 500;
11 years ago
color: #999;
background-color: #fafafa;
11 years ago
border-top: 1px solid #ddd;
border-bottom: 1px solid #ddd;
}
.table-view .media,
.table-view .media-body {
overflow: hidden;
}
.table-view .media-object.pull-left {
margin-right: 10px;
}
.table-view .media-object.pull-right {
margin-left: 10px;
}
.table-view-cell > .btn,
.table-view-cell > .badge,
.table-view-cell > .toggle,
.table-view-cell > a > .btn,
.table-view-cell > a > .badge,
.table-view-cell > a > .toggle {
position: absolute;
top: 50%;
right: 15px;
-webkit-transform: translateY(-50%);
11 years ago
-ms-transform: translateY(-50%);
transform: translateY(-50%);
}
11 years ago
.table-view-cell .navigate-left > .btn,
.table-view-cell .navigate-left > .badge,
.table-view-cell .navigate-left > .toggle,
.table-view-cell .navigate-right > .btn,
.table-view-cell .navigate-right > .badge,
.table-view-cell .navigate-right > .toggle,
.table-view-cell .push-left > .btn,
.table-view-cell .push-left > .badge,
.table-view-cell .push-left > .toggle,
.table-view-cell .push-right > .btn,
.table-view-cell .push-right > .badge,
.table-view-cell .push-right > .toggle,
11 years ago
.table-view-cell > a .navigate-left > .btn,
.table-view-cell > a .navigate-left > .badge,
.table-view-cell > a .navigate-left > .toggle,
.table-view-cell > a .navigate-right > .btn,
.table-view-cell > a .navigate-right > .badge,
.table-view-cell > a .navigate-right > .toggle,
.table-view-cell > a .push-left > .btn,
.table-view-cell > a .push-left > .badge,
.table-view-cell > a .push-left > .toggle,
.table-view-cell > a .push-right > .btn,
.table-view-cell > a .push-right > .badge,
.table-view-cell > a .push-right > .toggle {
right: 35px;
11 years ago
}
.content > .table-view:first-child {
margin-top: 15px;
}
input,
textarea,
button,
select {
font-family: "Helvetica Neue", Helvetica, sans-serif;
font-size: 17px;
}
select,
textarea,
input[type="text"],
11 years ago
input[type="search"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="tel"],
11 years ago
input[type="color"] {
width: 100%;
height: 35px;
11 years ago
-webkit-appearance: none;
padding: 0 15px;
margin-bottom: 15px;
line-height: 21px;
background-color: #fff;
11 years ago
border: 1px solid #ddd;
border-radius: 3px;
outline: none;
}
11 years ago
input[type="search"] {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
11 years ago
padding: 0 10px;
font-size: 16px;
border-radius: 20px;
}
11 years ago
input[type="search"]:focus {
text-align: left;
}
textarea {
height: auto;
}
select {
height: auto;
font-size: 14px;
background-color: #f8f8f8;
11 years ago
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .1);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, .1);
}
.input-group {
background-color: #fff;
}
.input-group input,
.input-group textarea {
margin-bottom: 0;
background-color: transparent;
border-top: 0;
border-right: 0;
11 years ago
border-left: 0;
border-radius: 0;
11 years ago
-webkit-box-shadow: none;
11 years ago
box-shadow: none;
}
.input-row {
11 years ago
height: 35px;
overflow: hidden;
11 years ago
border-bottom: 1px solid #ddd;
}
.input-row label {
float: left;
11 years ago
width: 35%;
11 years ago
padding: 8px 15px;
font-family: "Helvetica Neue", Helvetica, sans-serif;
line-height: 1.1;
}
11 years ago
.input-row input {
float: right;
width: 65%;
padding-left: 0;
margin-bottom: 0;
border: 0;
}
.segmented-control {
position: relative;
display: table;
overflow: hidden;
font-size: 12px;
font-weight: 400;
10 years ago
background-color: #fff;
border: 1px solid #ccc;
border-radius: 3px;
}
.segmented-control .control-item {
display: table-cell;
width: 1%;
padding-top: 6px;
padding-bottom: 7px;
11 years ago
overflow: hidden;
line-height: 1;
color: #333;
text-align: center;
text-overflow: ellipsis;
11 years ago
white-space: nowrap;
border-left: 1px solid #ccc;
}
.segmented-control .control-item:first-child {
border-left-width: 0;
}
.segmented-control .control-item:active {
background-color: #eee;
}
.segmented-control .control-item.active {
background-color: #ccc;
}
.segmented-control-primary {
11 years ago
border-color: #428bca;
}
.segmented-control-primary .control-item {
color: #428bca;
11 years ago
border-color: inherit;
}
.segmented-control-primary .control-item:active {
background-color: #cde1f1;
}
.segmented-control-primary .control-item.active {
color: #fff;
11 years ago
background-color: #428bca;
}
.segmented-control-positive {
11 years ago
border-color: #5cb85c;
}
.segmented-control-positive .control-item {
color: #5cb85c;
11 years ago
border-color: inherit;
}
.segmented-control-positive .control-item:active {
background-color: #d8eed8;
}
.segmented-control-positive .control-item.active {
color: #fff;
11 years ago
background-color: #5cb85c;
}
.segmented-control-negative {
11 years ago
border-color: #d9534f;
}
.segmented-control-negative .control-item {
color: #d9534f;
11 years ago
border-color: inherit;
}
.segmented-control-negative .control-item:active {
background-color: #f9e2e2;
}
.segmented-control-negative .control-item.active {
color: #fff;
11 years ago
background-color: #d9534f;
}
.control-content {
display: none;
}
.control-content.active {
display: block;
}
.popover {
position: fixed;
top: 55px;
left: 50%;
z-index: 20;
display: none;
width: 280px;
margin-left: -140px;
10 years ago
background-color: #fff;
border-radius: 6px;
11 years ago
-webkit-box-shadow: 0 0 15px rgba(0, 0, 0, .1);
box-shadow: 0 0 15px rgba(0, 0, 0, .1);
opacity: 0;
11 years ago
-webkit-transition: all .25s linear;
-moz-transition: all .25s linear;
transition: all .25s linear;
-webkit-transform: translate3d(0, -15px, 0);
11 years ago
-ms-transform: translate3d(0, -15px, 0);
transform: translate3d(0, -15px, 0);
}
11 years ago
.popover:before {
position: absolute;
top: -15px;
left: 50%;
width: 0;
height: 0;
margin-left: -15px;
11 years ago
content: '';
border-right: 15px solid transparent;
10 years ago
border-bottom: 15px solid #fff;
border-left: 15px solid transparent;
}
.popover.visible {
opacity: 1;
-webkit-transform: translate3d(0, 0, 0);
11 years ago
-ms-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
11 years ago
.popover .bar ~ .table-view {
padding-top: 44px;
}
.backdrop {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
11 years ago
z-index: 15;
11 years ago
background-color: rgba(0, 0, 0, .3);
}
11 years ago
.popover .btn-block {
margin-bottom: 5px;
}
.popover .btn-block:last-child {
margin-bottom: 0;
}
.popover .bar-nav {
11 years ago
border-bottom: 1px solid #ddd;
11 years ago
border-top-left-radius: 12px;
11 years ago
border-top-right-radius: 12px;
-webkit-box-shadow: none;
11 years ago
box-shadow: none;
}
11 years ago
.popover .table-view {
max-height: 300px;
margin-bottom: 0;
overflow: auto;
11 years ago
-webkit-overflow-scrolling: touch;
11 years ago
background-color: #fff;
11 years ago
border-top: 0;
border-bottom: 0;
11 years ago
border-radius: 6px;
}
12 years ago
.modal {
position: fixed;
12 years ago
top: 0;
z-index: 11;
12 years ago
width: 100%;
min-height: 100%;
12 years ago
overflow: hidden;
background-color: #fff;
11 years ago
opacity: 0;
-webkit-transition: -webkit-transform .25s, opacity 1ms .25s;
11 years ago
-moz-transition: -moz-transform .25s, opacity 1ms .25s;
transition: transform .25s, opacity 1ms .25s;
12 years ago
-webkit-transform: translate3d(0, 100%, 0);
11 years ago
-ms-transform: translate3d(0, 100%, 0);
transform: translate3d(0, 100%, 0);
}
.modal.active {
height: 100%;
11 years ago
opacity: 1;
-webkit-transition: -webkit-transform .25s;
11 years ago
-moz-transition: -moz-transform .25s;
transition: transform .25s;
-webkit-transform: translate3d(0, 0, 0);
11 years ago
-ms-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
11 years ago
.slider {
width: 100%;
}
.slider {
overflow: hidden;
background-color: #000;
}
11 years ago
.slider .slide-group {
position: relative;
font-size: 0;
white-space: nowrap;
-webkit-transition: all 0s linear;
-moz-transition: all 0s linear;
transition: all 0s linear;
}
11 years ago
.slider .slide-group .slide {
display: inline-block;
width: 100%;
height: 100%;
font-size: 14px;
11 years ago
vertical-align: top;
}
.toggle {
position: relative;
11 years ago
display: block;
width: 74px;
height: 30px;
12 years ago
background-color: #fff;
border: 2px solid #ddd;
border-radius: 20px;
11 years ago
-webkit-transition-duration: .2s;
-moz-transition-duration: .2s;
transition-duration: .2s;
-webkit-transition-property: background-color, border;
11 years ago
-moz-transition-property: background-color, border;
transition-property: background-color, border;
}
.toggle .toggle-handle {
position: absolute;
top: -1px;
left: -1px;
z-index: 2;
width: 28px;
height: 28px;
background-color: #fff;
border: 1px solid #ddd;
border-radius: 100px;
11 years ago
-webkit-transition-duration: .2s;
-moz-transition-duration: .2s;
transition-duration: .2s;
-webkit-transition-property: -webkit-transform, border, width;
11 years ago
-moz-transition-property: -moz-transform, border, width;
transition-property: transform, border, width;
}
.toggle:before {
position: absolute;
top: 3px;
right: 11px;
font-size: 13px;
11 years ago
color: #999;
text-transform: uppercase;
content: "Off";
}
.toggle.active {
background-color: #5cb85c;
11 years ago
border: 2px solid #5cb85c;
}
.toggle.active .toggle-handle {
border-color: #5cb85c;
-webkit-transform: translate3d(44px, 0, 0);
11 years ago
-ms-transform: translate3d(44px, 0, 0);
transform: translate3d(44px, 0, 0);
}
.toggle.active:before {
right: auto;
left: 15px;
color: #fff;
content: "On";
}
.toggle input[type="checkbox"] {
display: none;
}
.content.fade {
left: 0;
opacity: 0;
}
.content.fade.in {
opacity: 1;
}
.content.sliding {
z-index: 2;
-webkit-transition: -webkit-transform .4s;
11 years ago
-moz-transition: -moz-transform .4s;
transition: transform .4s;
-webkit-transform: translate3d(0, 0, 0);
11 years ago
-ms-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
.content.sliding.left {
z-index: 1;
-webkit-transform: translate3d(-100%, 0, 0);
11 years ago
-ms-transform: translate3d(-100%, 0, 0);
transform: translate3d(-100%, 0, 0);
}
.content.sliding.right {
z-index: 3;
-webkit-transform: translate3d(100%, 0, 0);
11 years ago
-ms-transform: translate3d(100%, 0, 0);
transform: translate3d(100%, 0, 0);
}
.navigate-left:after,
11 years ago
.navigate-right:after,
.push-left:after,
.push-right:after {
position: absolute;
top: 50%;
display: inline-block;
font-family: Ratchicons;
font-size: inherit;
line-height: 1;
11 years ago
color: #bbb;
text-decoration: none;
-webkit-transform: translateY(-50%);
11 years ago
-ms-transform: translateY(-50%);
transform: translateY(-50%);
-webkit-font-smoothing: antialiased;
}
11 years ago
.navigate-left:after,
.push-left:after {
left: 15px;
content: '\e822';
}
11 years ago
.navigate-right:after,
.push-right:after {
right: 15px;
content: '\e826';
}
@font-face {
font-family: Ratchicons;
11 years ago
font-style: normal;
font-weight: normal;
11 years ago
src: url("../fonts/ratchicons.eot");
src: url("../fonts/ratchicons.eot?#iefix") format("embedded-opentype"), url("../fonts/ratchicons.woff") format("woff"), url("../fonts/ratchicons.ttf") format("truetype"), url("../fonts/ratchicons.svg#svgFontName") format("svg");
}
.icon {
display: inline-block;
font-family: Ratchicons;
11 years ago
font-size: 24px;
line-height: 1;
11 years ago
text-decoration: none;
-webkit-font-smoothing: antialiased;
}
11 years ago
.icon-back:before {
content: '\e80a';
}
.icon-bars:before {
content: '\e80e';
}
.icon-caret:before {
content: '\e80f';
}
.icon-check:before {
content: '\e810';
}
.icon-close:before {
content: '\e811';
}
.icon-code:before {
content: '\e812';
}
.icon-compose:before {
content: '\e813';
}
11 years ago
.icon-download:before {
content: '\e815';
}
11 years ago
.icon-edit:before {
content: '\e829';
}
11 years ago
.icon-forward:before {
content: '\e82a';
11 years ago
}
.icon-gear:before {
content: '\e821';
}
.icon-home:before {
content: '\e82b';
}
.icon-info:before {
content: '\e82c';
}
.icon-list:before {
content: '\e823';
}
.icon-more-vertical:before {
content: '\e82e';
}
.icon-more:before {
content: '\e82f';
}
11 years ago
.icon-pages:before {
content: '\e824';
}
.icon-pause:before {
content: '\e830';
}
.icon-person:before {
content: '\e832';
}
.icon-play:before {
content: '\e816';
}
.icon-plus:before {
content: '\e817';
}
11 years ago
.icon-refresh:before {
content: '\e825';
}
11 years ago
.icon-search:before {
content: '\e819';
}
11 years ago
.icon-share:before {
content: '\e81a';
}
11 years ago
11 years ago
.icon-sound:before {
content: '\e827';
}
11 years ago
.icon-sound2:before {
content: '\e828';
}
11 years ago
.icon-sound3:before {
content: '\e80b';
}
11 years ago
.icon-sound4:before {
content: '\e80c';
11 years ago
}
.icon-star-filled:before {
content: '\e81b';
}
.icon-star:before {
content: '\e81c';
}
.icon-stop:before {
content: '\e81d';
}
.icon-trash:before {
content: '\e81e';
}
.icon-up-nav:before {
content: '\e81f';
}
11 years ago
.icon-up:before {
content: '\e80d';
}
.icon-right-nav:before {
content: '\e818';
}
.icon-right:before {
content: '\e826';
}
.icon-down-nav:before {
content: '\e814';
}
.icon-down:before {
content: '\e820';
}
.icon-left-nav:before {
content: '\e82d';
}
.icon-left:before {
content: '\e822';
}