mirror of https://github.com/twbs/ratchet.git
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.
1425 lines
30 KiB
1425 lines
30 KiB
/* |
|
* ===================================================== |
|
* Ratchet v2.0.0 |
|
* Copyright 2014 Connor Sears, Dave Gamache, and Jacob Thornton |
|
* Licensed under http://www.opensource.org/licenses/MIT |
|
* |
|
* Designed and built by @connors, @dhg, and @fat. |
|
* ===================================================== |
|
*/ |
|
|
|
html, |
|
body { |
|
width: 100%; |
|
height: 100%; |
|
} |
|
|
|
body { |
|
position: relative !important; |
|
font: 14px/1.5 "adelle-sans",sans-serif; |
|
color: #333; |
|
background-color: #fff; |
|
-webkit-font-smoothing: antialiased; |
|
-webkit-text-size-adjust: 100%; |
|
} |
|
|
|
.docs-header { |
|
background-image: linear-gradient(45deg, #317ca6 0%, #254456 100%); |
|
} |
|
|
|
.docs-nav { |
|
position: relative; |
|
padding-top: 12px; |
|
padding-bottom: 12px; |
|
border-bottom: 1px solid rgba(255, 255, 255, 0.1); |
|
} |
|
.docs-nav .icon, |
|
.docs-nav .version { |
|
position: absolute; |
|
color: #fff; |
|
opacity: .4; |
|
-webkit-transition: opacity 0.2s linear; |
|
transition: opacity 0.2s linear; |
|
} |
|
.docs-nav .icon:hover, |
|
.docs-nav .version:hover { |
|
opacity: 1; |
|
} |
|
.docs-nav .icon { |
|
top: 13px; |
|
right: 0; |
|
cursor: pointer; |
|
} |
|
.docs-nav .version { |
|
top: 14px; |
|
left: 0; |
|
} |
|
|
|
.docs-nav, |
|
.docs-header-content { |
|
text-align: center; |
|
} |
|
|
|
.docs-header-content { |
|
padding: 50px 10px; |
|
} |
|
.docs-header-content .btn { |
|
display: block; |
|
padding: 15px 30px 16px; |
|
margin: 0 10px 10px; |
|
font-size: 18px; |
|
color: #00d1fe; |
|
border-color: #00d1fe; |
|
-webkit-transition: all 0.2s linear; |
|
transition: all 0.2s linear; |
|
} |
|
.docs-header-content .btn:hover { |
|
color: #63e3ff; |
|
border-color: #63e3ff; |
|
} |
|
.docs-header-content .btn:active { |
|
opacity: .5; |
|
background-color: transparent; |
|
} |
|
.docs-header-content .btn-primary { |
|
margin-bottom: 0; |
|
color: #fff; |
|
border-color: #00d1fe; |
|
background-color: #00d1fe; |
|
} |
|
.docs-header-content .btn-primary:hover { |
|
color: #fff; |
|
border-color: #63e3ff; |
|
background-color: #63e3ff; |
|
} |
|
.docs-header-content .btn-primary:active { |
|
background-color: #63e3ff; |
|
} |
|
|
|
.docs-title, |
|
.docs-subtitle { |
|
color: #fff; |
|
} |
|
|
|
.docs-title { |
|
margin: 0; |
|
font-size: 16px; |
|
font-weight: 500; |
|
text-transform: uppercase; |
|
letter-spacing: 6px; |
|
} |
|
|
|
.docs-subtitle { |
|
max-width: 750px; |
|
margin: 0 auto 20px; |
|
font-size: 26px; |
|
font-weight: 100; |
|
line-height: 34px; |
|
} |
|
|
|
.docs-sub-content { |
|
padding-top: 50px; |
|
color: #fff; |
|
text-align: center; |
|
} |
|
.docs-sub-content .page-title, |
|
.docs-sub-content .page-description { |
|
margin-top: 0; |
|
margin-bottom: 0; |
|
font-weight: 300; |
|
} |
|
.docs-sub-content .page-title { |
|
font-size: 40px; |
|
} |
|
.docs-sub-content .page-description { |
|
font-size: 24px; |
|
opacity: .7; |
|
} |
|
|
|
.docs-section { |
|
padding-top: 80px; |
|
padding-bottom: 80px; |
|
} |
|
|
|
.section-header { |
|
text-align: center; |
|
} |
|
.section-header:after { |
|
display: block; |
|
content: ''; |
|
width: 200px; |
|
margin: 50px auto 80px; |
|
border-bottom: 1px solid #eee; |
|
} |
|
|
|
.section-heading, |
|
.section-lead { |
|
margin-top: 0; |
|
margin-bottom: 0; |
|
} |
|
|
|
.section-heading { |
|
font-size: 26px; |
|
font-weight: 300; |
|
} |
|
|
|
.section-lead { |
|
font-size: 18px; |
|
color: #777; |
|
font-weight: 100; |
|
} |
|
|
|
.social { |
|
padding: 20px 0 20px; |
|
margin: 0; |
|
list-style: none; |
|
text-align: center; |
|
border-bottom: 1px solid #eee; |
|
background-color: #f9f9f9; |
|
} |
|
.social li { |
|
height: 20px; |
|
display: inline-block; |
|
vertical-align: top; |
|
} |
|
.social .twitter-follow-button { |
|
margin-top: 5px; |
|
} |
|
|
|
.docs-benefits { |
|
padding-bottom: 0; |
|
text-align: center; |
|
} |
|
|
|
.benefit-icon { |
|
display: block; |
|
width: 80px; |
|
height: 80px; |
|
margin: 0 auto 30px; |
|
border: 1px solid #eee; |
|
border-radius: 40px; |
|
} |
|
.benefit-icon .icon { |
|
color: #14b9d6; |
|
font-size: 32px; |
|
line-height: 80px; |
|
} |
|
.benefit-icon .icon-download { |
|
margin-top: -4px; |
|
} |
|
|
|
.benefit-heading { |
|
font-weight: 500; |
|
font-size: 24px; |
|
margin-top: 5px; |
|
margin-bottom: 10px; |
|
} |
|
|
|
.benefit-text { |
|
margin-top: 0; |
|
margin-bottom: 100px; |
|
font-size: 18px; |
|
color: #777; |
|
} |
|
|
|
.docs-contribute { |
|
padding-top: 50px; |
|
padding-bottom: 50px; |
|
color: #fff; |
|
text-align: center; |
|
background-color: #00d1fe; |
|
} |
|
.docs-contribute .link { |
|
display: inline-block; |
|
margin-top: 5px; |
|
color: #fff; |
|
text-decoration: underline; |
|
} |
|
.docs-contribute .column { |
|
margin-bottom: 40px; |
|
} |
|
.docs-contribute .column:last-child { |
|
margin-bottom: 0; |
|
} |
|
|
|
.contribute-heading, |
|
.contribute-text { |
|
margin-top: 0; |
|
} |
|
|
|
.contribute-heading { |
|
margin-bottom: 5px; |
|
font-size: 18px; |
|
font-weight: 500; |
|
} |
|
|
|
.contribute-text { |
|
margin-bottom: 0; |
|
color: rgba(255, 255, 255, 0.85); |
|
} |
|
|
|
.docs-footer { |
|
padding-top: 20px; |
|
padding-bottom: 20px; |
|
color: rgba(255, 255, 255, 0.7); |
|
text-align: center; |
|
background-color: #254456; |
|
} |
|
.docs-footer .footer-content { |
|
opacity: .7; |
|
} |
|
.docs-footer .footer-content a { |
|
color: #fff; |
|
} |
|
|
|
.docs-mini-footer { |
|
padding-top: 40px; |
|
padding-bottom: 40px; |
|
color: #777; |
|
} |
|
|
|
.platform-toggle { |
|
padding-top: 15px; |
|
padding-bottom: 90px; |
|
} |
|
.platform-toggle.fixed { |
|
position: fixed; |
|
top: 0; |
|
bottom: auto; |
|
left: 0; |
|
right: 0; |
|
z-index: 20; |
|
padding-top: 8px; |
|
padding-bottom: 8px; |
|
background-image: linear-gradient(45deg, #317ca6 0%, #254456 100%); |
|
-webkit-transition: padding-top 0.2s linear, padding-bottom 0.2s linear; |
|
transition: padding-top 0.2s linear, padding-bottom 0.2s linear; |
|
} |
|
.platform-toggle .segmented-control { |
|
max-width: 300px; |
|
margin: 0 auto; |
|
border-color: #00d1fe; |
|
background-color: transparent; |
|
} |
|
.platform-toggle .segmented-control li { |
|
cursor: pointer; |
|
border-color: #00d1fe; |
|
} |
|
.platform-toggle .segmented-control li a { |
|
color: #00d1fe; |
|
} |
|
.platform-toggle .segmented-control li:active { |
|
background-color: rgba(0, 209, 254, 0.3); |
|
} |
|
.platform-toggle .segmented-control li.active { |
|
background-color: #00d1fe; |
|
} |
|
.platform-toggle .segmented-control li.active a { |
|
color: #fff; |
|
} |
|
|
|
.component { |
|
padding: 50px 15px; |
|
margin-left: -15px; |
|
margin-right: -15px; |
|
border-bottom: 1px solid #ddd; |
|
} |
|
|
|
.component-title { |
|
margin: 0; |
|
font-size: 24px; |
|
font-weight: 300; |
|
} |
|
|
|
.component-description { |
|
margin-top: 10px; |
|
margin-bottom: 10px; |
|
font-size: 16px; |
|
} |
|
|
|
.component-example { |
|
font-family: "Helvetica Neue", Helvetica, sans-serif; |
|
font-size: 17px; |
|
line-height: 21px; |
|
} |
|
|
|
.component-example, |
|
.component-example .bar, |
|
.component-example .content { |
|
position: relative; |
|
} |
|
|
|
.component-example-fullbleed, |
|
.highlight { |
|
margin-left: -15px; |
|
margin-right: -15px; |
|
} |
|
|
|
.component-example .table-view.inset { |
|
margin-left: 0; |
|
margin-right: 0; |
|
} |
|
|
|
.component-example .bar-header-secondary { |
|
top: 0; |
|
} |
|
|
|
.bar-nav ~ .content { |
|
padding: 0; |
|
} |
|
|
|
.highlight pre { |
|
margin-top: 15px; |
|
padding: 15px; |
|
font-size: 13px; |
|
overflow-x: auto; |
|
color: #777; |
|
background-color: #fafafa; |
|
border-top: 1px solid #ddd; |
|
border-bottom: 1px solid #ddd; |
|
white-space: pre; |
|
word-wrap: normal; |
|
} |
|
|
|
#buttonsInDevice .btn, |
|
#buttonsBadgesInDevice .btn { |
|
margin-top: 10px; |
|
margin-right: 100px; |
|
margin-left: 10px; |
|
} |
|
|
|
#blockButtonsInDevice .btn-block { |
|
margin: 10px; |
|
} |
|
|
|
#segmentedControllersInDevice .segmented-control { |
|
margin-right: 10px; |
|
margin-left: 10px; |
|
} |
|
#segmentedControllersInDevice .card p { |
|
padding-right: 10px; |
|
padding-left: 10px; |
|
} |
|
|
|
#badgesInDevice { |
|
text-align: center; |
|
} |
|
#badgesInDevice .badge { |
|
margin-top: 10px; |
|
} |
|
|
|
#formsInDevice form { |
|
margin: 10px; |
|
} |
|
#formsInDevice form.input-group { |
|
margin: 0; |
|
} |
|
|
|
#togglesInDevice .toggle { |
|
margin: 10px auto; |
|
} |
|
|
|
#popoversInDevice #iwindow:before { |
|
position: absolute; |
|
top: 0; |
|
right: 0; |
|
bottom: 0; |
|
left: 0; |
|
z-index: 11; |
|
background-color: rgba(0, 0, 0, 0.3); |
|
content: ''; |
|
} |
|
|
|
#modalsInDevice #iwindow > .btn { |
|
margin: 10px; |
|
} |
|
#modalsInDevice .card p { |
|
padding-right: 10px; |
|
padding-left: 10px; |
|
} |
|
|
|
.device { |
|
font-family: "Helvetica Neue", Helvetica, sans-serif; |
|
font-size: 17px; |
|
line-height: 21px; |
|
display: none; |
|
} |
|
|
|
hr { |
|
height: 0; |
|
margin: 10px 0 30px; |
|
border: solid #ddd; |
|
border-width: 1px 0 0; |
|
clear: both; |
|
} |
|
|
|
.column-group { |
|
*zoom: 1; |
|
} |
|
|
|
.column-group:before, |
|
.column-group:after { |
|
display: table; |
|
line-height: 0; |
|
content: ""; |
|
} |
|
|
|
.column-group:after { |
|
clear: both; |
|
} |
|
|
|
.clear { |
|
display: block; |
|
width: 0; |
|
height: 0; |
|
overflow: hidden; |
|
visibility: hidden; |
|
clear: both; |
|
} |
|
|
|
@media screen and (min-width: 768px) { |
|
.docs-header-content { |
|
padding: 170px 0 200px; |
|
} |
|
|
|
.docs-subtitle { |
|
margin-bottom: 30px; |
|
font-size: 41px; |
|
line-height: 60px; |
|
} |
|
|
|
.docs-header-content .btn { |
|
display: inline-block; |
|
margin: 0; |
|
} |
|
.docs-header-content .btn-primary { |
|
margin-left: 10px; |
|
} |
|
|
|
.docs-title { |
|
font-size: 22px; |
|
} |
|
|
|
.docs-nav .icon { |
|
top: 19px; |
|
} |
|
.docs-nav .version { |
|
top: 21px; |
|
} |
|
|
|
.social .twitter-follow-button { |
|
margin-top: 0; |
|
} |
|
|
|
.docs-contribute .column { |
|
margin-bottom: 0; |
|
} |
|
|
|
.section-heading { |
|
font-size: 40px; |
|
} |
|
|
|
.section-lead { |
|
font-size: 24px; |
|
} |
|
|
|
.device { |
|
position: relative; |
|
top: 50px; |
|
display: block; |
|
width: 395px; |
|
height: 813px; |
|
margin-left: -13px; |
|
font-family: "Helvetica Neue", sans-serif; |
|
background-image: url("../img/iphone5c.png"); |
|
background-size: 100%; |
|
background-repeat: no-repeat; |
|
-webkit-transition: background-image 0.1s linear; |
|
transition: background-image 0.1s linear; |
|
} |
|
.device:after { |
|
content: ''; |
|
background-image: url("../img/iphone5s.png"); |
|
opacity: 0; |
|
} |
|
.device.device-fixed { |
|
position: fixed; |
|
right: auto; |
|
} |
|
|
|
.device .device-content { |
|
position: absolute; |
|
top: 117px; |
|
left: 37px; |
|
width: 320px; |
|
height: 569px; |
|
overflow: hidden; |
|
font-size: 17px; |
|
line-height: 21px; |
|
background-color: #fff; |
|
} |
|
|
|
.device .content, |
|
.device .bar, |
|
.device .modal { |
|
position: absolute; |
|
} |
|
|
|
.device .content { |
|
top: 44px; |
|
left: 0; |
|
right: 0; |
|
bottom: 0; |
|
} |
|
|
|
.component, |
|
.component-example-fullbleed, |
|
.highlight { |
|
margin-left: 0; |
|
margin-right: 0; |
|
} |
|
|
|
.component { |
|
padding-left: 0; |
|
padding-right: 0; |
|
opacity: .3; |
|
-webkit-transition: opacity 0.2s ease-in-out; |
|
transition: opacity 0.2s ease-in-out; |
|
} |
|
.component.active { |
|
opacity: 1; |
|
} |
|
|
|
.component-example { |
|
display: none; |
|
} |
|
|
|
.highlight pre { |
|
border-left: 1px solid #ddd; |
|
border-right: 1px solid #ddd; |
|
border-radius: 3px; |
|
} |
|
|
|
.popover { |
|
position: absolute; |
|
display: block; |
|
top: 72px; |
|
opacity: 1; |
|
} |
|
|
|
.slider li img { |
|
width: 100%; |
|
} |
|
|
|
.slider .slide-text { |
|
position: absolute; |
|
top: 45%; |
|
left: 0; |
|
width: 100%; |
|
color: #fff; |
|
text-align: center; |
|
font-size: 24px; |
|
font-weight: 300; |
|
text-shadow: 0 0 10px rgba(0, 0, 0, 0.5); |
|
} |
|
} |
|
.container { |
|
margin-left: auto; |
|
margin-right: auto; |
|
} |
|
|
|
.column-group { |
|
width: auto; |
|
} |
|
|
|
.column { |
|
padding-left: 15px; |
|
padding-right: 15px; |
|
float: left; |
|
} |
|
.column.pull-right { |
|
float: right; |
|
} |
|
|
|
.column .column-group { |
|
margin-left: -15px; |
|
margin-right: -15px; |
|
} |
|
|
|
.units-1 { |
|
width: 50%; |
|
} |
|
|
|
.units-2 { |
|
width: 100%; |
|
} |
|
|
|
.offset-1 { |
|
margin-left: 50%; |
|
} |
|
|
|
@media screen and (min-width: 768px) { |
|
.container { |
|
padding: 0; |
|
max-width: 940px; |
|
} |
|
|
|
.column { |
|
padding-left: 20px; |
|
padding-right: 20px; |
|
} |
|
|
|
.column .column-group { |
|
margin-left: -20px; |
|
margin-right: -20px; |
|
} |
|
|
|
.units-1 { |
|
width: 50%; |
|
} |
|
|
|
.units-2 { |
|
width: 100%; |
|
} |
|
|
|
.lg-units-1 { |
|
width: 8.333%; |
|
} |
|
|
|
.lg-units-2 { |
|
width: 16.666%; |
|
} |
|
|
|
.lg-units-3 { |
|
width: 25%; |
|
} |
|
|
|
.lg-units-4 { |
|
width: 33.333%; |
|
} |
|
|
|
.lg-units-5 { |
|
width: 41.666%; |
|
} |
|
|
|
.lg-units-6 { |
|
width: 50%; |
|
} |
|
|
|
.lg-units-7 { |
|
width: 58.333%; |
|
} |
|
|
|
.lg-units-8 { |
|
width: 66.666%; |
|
} |
|
|
|
.lg-units-9 { |
|
width: 75%; |
|
} |
|
|
|
.lg-units-10 { |
|
width: 83.333%; |
|
} |
|
|
|
.lg-units-11 { |
|
width: 91.666%; |
|
} |
|
|
|
.lg-units-12 { |
|
width: 100%; |
|
} |
|
|
|
.lg-offset-1 { |
|
margin-left: 8.333%; |
|
} |
|
|
|
.lg-offset-2 { |
|
margin-left: 16.666%; |
|
} |
|
|
|
.lg-offset-3 { |
|
margin-left: 25%; |
|
} |
|
|
|
.lg-offset-4 { |
|
margin-left: 33.333%; |
|
} |
|
|
|
.lg-offset-5 { |
|
margin-left: 41.666%; |
|
} |
|
|
|
.lg-offset-6 { |
|
margin-left: 50%; |
|
} |
|
|
|
.lg-offset-7 { |
|
margin-left: 58.333%; |
|
} |
|
|
|
.lg-offset-8 { |
|
margin-left: 66.666%; |
|
} |
|
|
|
.lg-offset-9 { |
|
margin-left: 75%; |
|
} |
|
|
|
.lg-offset-10 { |
|
margin-left: 83.333%; |
|
} |
|
|
|
.lg-offset-11 { |
|
margin-left: 91.666%; |
|
} |
|
} |
|
@media screen and (min-width: 1200px) { |
|
.container { |
|
max-width: 1170px; |
|
} |
|
|
|
.column { |
|
padding-left: 30px; |
|
padding-right: 30px; |
|
} |
|
|
|
.column .column-group { |
|
margin-left: -30px; |
|
margin-right: -30px; |
|
} |
|
} |
|
.platform-ios { |
|
@-webkit-keyframes fadeOverlay { |
|
from { |
|
-webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0), -320px 0 0 rgba(0, 0, 0, 0); |
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0), -320px 0 0 rgba(0, 0, 0, 0); |
|
} |
|
|
|
to { |
|
-webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.3), -320px 0 0 rgba(0, 0, 0, 0.1); |
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3), -320px 0 0 rgba(0, 0, 0, 0.1); |
|
} |
|
} |
|
|
|
} |
|
.platform-ios .content { |
|
background-color: #efeff4; |
|
} |
|
.platform-ios .bar { |
|
border-bottom: 0; |
|
background-color: rgba(247, 247, 247, 0.98); |
|
-webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.85); |
|
box-shadow: 0 0 1px rgba(0, 0, 0, 0.85); |
|
} |
|
.platform-ios .bar.bar-header-secondary { |
|
top: 44px; |
|
} |
|
.platform-ios .bar.bar-footer-secondary { |
|
bottom: 44px; |
|
} |
|
.platform-ios .bar.bar-footer-secondary-tab { |
|
bottom: 50px; |
|
} |
|
.platform-ios .bar-tab { |
|
border-top: 0; |
|
-webkit-box-shadow: 0 0 -1px rgba(0, 0, 0, 0.85); |
|
box-shadow: 0 0 -1px rgba(0, 0, 0, 0.85); |
|
} |
|
.platform-ios .tab-item.active .tab-label, |
|
.platform-ios .tab-item.active .icon, .platform-ios .tab-item:active .tab-label, |
|
.platform-ios .tab-item:active .icon { |
|
color: #007aff; |
|
} |
|
.platform-ios .popover .bar-nav { |
|
border-bottom: 1px solid rgba(0, 0, 0, 0.15); |
|
} |
|
.platform-ios .table-view .table-view-cell { |
|
border-bottom: 0; |
|
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100%' height='1'><rect fill='#c8c7cc' x='0' y='0' width='100%' height='0.5'/></svg>"); |
|
background-position: 15px 100%; |
|
background-repeat: no-repeat; |
|
} |
|
.platform-ios .table-view .table-view-cell:last-child { |
|
background-image: none; |
|
} |
|
.platform-ios .table-view .table-view-divider { |
|
border-top: 0; |
|
border-bottom: 0; |
|
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100%' height='1'><rect fill='#c8c7cc' x='0' y='0' width='100%' height='0.5'/></svg>"), url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100%' height='1'><rect fill='#c8c7cc' x='0' y='0' width='100%' height='0.5'/></svg>"); |
|
background-position: 0 100%, 0 0%; |
|
background-repeat: no-repeat; |
|
} |
|
.platform-ios .popover .table-view { |
|
border-radius: 12px; |
|
} |
|
.platform-ios .card .table-view li:last-child { |
|
background-image: none; |
|
} |
|
.platform-ios select, |
|
.platform-ios textarea, |
|
.platform-ios input[type="text"], |
|
.platform-ios input[type=search], |
|
.platform-ios input[type="password"], |
|
.platform-ios input[type="datetime"], |
|
.platform-ios input[type="datetime-local"], |
|
.platform-ios input[type="date"], |
|
.platform-ios input[type="month"], |
|
.platform-ios input[type="time"], |
|
.platform-ios input[type="week"], |
|
.platform-ios input[type="number"], |
|
.platform-ios input[type="email"], |
|
.platform-ios input[type="url"], |
|
.platform-ios input[type="tel"], |
|
.platform-ios input[type="color"], |
|
.platform-ios .input-group { |
|
height: 40px; |
|
padding: 10px 15px; |
|
border: 1px solid rgba(0, 0, 0, 0.2); |
|
} |
|
.platform-ios input[type=search] { |
|
height: 34px; |
|
text-align: center; |
|
background-color: rgba(0, 0, 0, 0.1); |
|
border: 0; |
|
border-radius: 6px; |
|
} |
|
.platform-ios input[type=search]:focus { |
|
text-align: left; |
|
} |
|
.platform-ios select, |
|
.platform-ios textarea, |
|
.platform-ios .input-group { |
|
height: auto; |
|
} |
|
.platform-ios .input-group { |
|
padding: 0; |
|
} |
|
.platform-ios .input-group input { |
|
border: 0; |
|
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100%' height='1'><rect fill='#c8c7cc' x='0' y='0' width='100%' height='0.5'/></svg>"); |
|
background-position: 15px 100%; |
|
background-repeat: no-repeat; |
|
} |
|
.platform-ios .input-group input:last-child { |
|
background-image: none; |
|
} |
|
.platform-ios .input-row { |
|
border-bottom: 0; |
|
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100%' height='1'><rect fill='#c8c7cc' x='0' y='0' width='100%' height='0.5'/></svg>"); |
|
background-position: 15px 100%; |
|
background-repeat: no-repeat; |
|
} |
|
.platform-ios .input-row:last-child, |
|
.platform-ios .input-row label + input { |
|
background-image: none; |
|
} |
|
.platform-ios .btn { |
|
border: 1px solid #929292; |
|
color: #929292; |
|
background-color: rgba(247, 247, 247, 0.98); |
|
-webkit-transition: all; |
|
transition: all; |
|
-webkit-transition-duration: 0.2s; |
|
transition-duration: 0.2s; |
|
-webkit-transition-timing-function: linear; |
|
transition-timing-function: linear; |
|
} |
|
.platform-ios .btn:active, .platform-ios .btn.active { |
|
color: #fff; |
|
background-color: #929292; |
|
} |
|
.platform-ios .btn-primary { |
|
color: #fff; |
|
border: 1px solid #007aff; |
|
background-color: #007aff; |
|
} |
|
.platform-ios .btn-primary:active, .platform-ios .btn-primary.active { |
|
border: 1px solid #0062cc; |
|
background-color: #0062cc; |
|
} |
|
.platform-ios .btn-positive { |
|
color: #fff; |
|
border: 1px solid #4cd964; |
|
background-color: #4cd964; |
|
} |
|
.platform-ios .btn-positive:active, .platform-ios .btn-positive.active { |
|
border: 1px solid #2ac845; |
|
background-color: #2ac845; |
|
} |
|
.platform-ios .btn-negative { |
|
color: #fff; |
|
border: 1px solid #dd524d; |
|
background-color: #dd524d; |
|
} |
|
.platform-ios .btn-negative:active, .platform-ios .btn-negative.active { |
|
border: 1px solid #cf2d28; |
|
background-color: #cf2d28; |
|
} |
|
.platform-ios .btn-outlined { |
|
background-color: transparent; |
|
} |
|
.platform-ios .btn-outlined.btn-primary { |
|
color: #007aff; |
|
} |
|
.platform-ios .btn-outlined.btn-positive { |
|
color: #4cd964; |
|
} |
|
.platform-ios .btn-outlined.btn-negative { |
|
color: #dd524d; |
|
} |
|
.platform-ios .btn-outlined.btn-primary:active, .platform-ios .btn-outlined.btn-positive:active, .platform-ios .btn-outlined.btn-negative:active { |
|
color: #fff; |
|
} |
|
.platform-ios .btn-link { |
|
color: #007aff; |
|
background-color: transparent; |
|
border: none; |
|
} |
|
.platform-ios .btn-link:active, .platform-ios .btn-link.active { |
|
color: #0062cc; |
|
background-color: transparent; |
|
} |
|
.platform-ios .bar-nav .btn-link { |
|
color: #007aff; |
|
} |
|
.platform-ios .bar-nav .btn-link:active { |
|
color: #007aff; |
|
opacity: .6; |
|
} |
|
.platform-ios .badge.badge-inverted { |
|
color: #929292; |
|
} |
|
.platform-ios .badge-primary { |
|
color: #fff; |
|
} |
|
.platform-ios .badge-primary.badge-inverted { |
|
color: #007aff; |
|
} |
|
.platform-ios .badge-positive { |
|
color: #fff; |
|
} |
|
.platform-ios .badge-positive.badge-inverted { |
|
color: #4cd964; |
|
} |
|
.platform-ios .badge-negative { |
|
color: #fff; |
|
} |
|
.platform-ios .badge-negative.badge-inverted { |
|
color: #dd524d; |
|
} |
|
.platform-ios .btn:active .badge-inverted { |
|
color: #fff; |
|
} |
|
.platform-ios .segmented-control { |
|
color: #929292; |
|
background-color: transparent; |
|
border: 1px solid #929292; |
|
} |
|
.platform-ios .segmented-control li { |
|
border-color: #929292; |
|
-webkit-transition: background-color 0.1s linear; |
|
transition: background-color 0.1s linear; |
|
} |
|
.platform-ios .segmented-control li:active { |
|
background-color: #ebebeb; |
|
} |
|
.platform-ios .segmented-control li.active { |
|
background-color: #929292; |
|
} |
|
.platform-ios .segmented-control li.active > a { |
|
color: #fff; |
|
} |
|
.platform-ios .segmented-control-primary { |
|
border: 1px solid #007aff; |
|
} |
|
.platform-ios .segmented-control-primary li { |
|
border-color: inherit; |
|
} |
|
.platform-ios .segmented-control-primary li > a { |
|
color: #007aff; |
|
} |
|
.platform-ios .segmented-control-primary li:active { |
|
background-color: #b3d7ff; |
|
} |
|
.platform-ios .segmented-control-primary li.active { |
|
background-color: #007aff; |
|
} |
|
.platform-ios .segmented-control-primary li.active > a { |
|
color: #fff; |
|
} |
|
.platform-ios .segmented-control-positive { |
|
border: 1px solid #4cd964; |
|
} |
|
.platform-ios .segmented-control-positive li { |
|
border-color: inherit; |
|
} |
|
.platform-ios .segmented-control-positive li > a { |
|
color: #4cd964; |
|
} |
|
.platform-ios .segmented-control-positive li:active { |
|
background-color: #dff8e3; |
|
} |
|
.platform-ios .segmented-control-positive li.active { |
|
background-color: #4cd964; |
|
} |
|
.platform-ios .segmented-control-positive li.active > a { |
|
color: #fff; |
|
} |
|
.platform-ios .segmented-control-negative { |
|
border: 1px solid #dd524d; |
|
} |
|
.platform-ios .segmented-control-negative li { |
|
border-color: inherit; |
|
} |
|
.platform-ios .segmented-control-negative li > a { |
|
color: #dd524d; |
|
} |
|
.platform-ios .segmented-control-negative li:active { |
|
background-color: #fae4e3; |
|
} |
|
.platform-ios .segmented-control-negative li.active { |
|
background-color: #dd524d; |
|
} |
|
.platform-ios .segmented-control-negative li.active > a { |
|
color: #fff; |
|
} |
|
.platform-ios .popover { |
|
border-radius: 12px; |
|
-webkit-transition: -webkit-transform 0.2s ease-in-out, transform 0.2s ease-in-out, opacity 0.2s ease-in-out; |
|
transition: -webkit-transform 0.2s ease-in-out, transform 0.2s ease-in-out, opacity 0.2s ease-in-out; |
|
} |
|
.platform-ios .popover:after { |
|
border-bottom: 15px solid rgba(247, 247, 247, 0.98); |
|
} |
|
.platform-ios .modal { |
|
-webkit-transition-timing-function: cubic-bezier(0.1, 0.5, 0.1, 1); |
|
transition-timing-function: cubic-bezier(0.1, 0.5, 0.1, 1); |
|
} |
|
.platform-ios .modal.active { |
|
-webkit-transition-timing-function: cubic-bezier(0.1, 0.5, 0.1, 1); |
|
transition-timing-function: cubic-bezier(0.1, 0.5, 0.1, 1); |
|
} |
|
.platform-ios .toggle { |
|
width: 47px; |
|
border: 2px solid #e6e6e6; |
|
-webkit-box-shadow: inset 0 0 0 0 #e1e1e1; |
|
box-shadow: inset 0 0 0 0 #e1e1e1; |
|
-webkit-transition-property: box-shadow, border; |
|
transition-property: box-shadow, border; |
|
-webkit-transition-duration: 0.2s; |
|
transition-duration: 0.2s; |
|
} |
|
.platform-ios .toggle .toggle-handle { |
|
border: 1px solid rgba(0, 0, 0, 0.2); |
|
-webkit-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.08); |
|
box-shadow: 0 3px 3px rgba(0, 0, 0, 0.08); |
|
-webkit-transition-property: -webkit-transform, border, width; |
|
transition-property: -webkit-transform, border, width; |
|
} |
|
.platform-ios .toggle:before { |
|
display: none; |
|
} |
|
.platform-ios .toggle:active .toggle-handle { |
|
width: 35px; |
|
} |
|
.platform-ios .toggle.active { |
|
border: 2px solid #4cd964; |
|
background-color: transparent; |
|
-webkit-box-shadow: inset 0 0 0 13px #4cd964; |
|
box-shadow: inset 0 0 0 13px #4cd964; |
|
} |
|
.platform-ios .toggle.active .toggle-handle { |
|
-webkit-transform: translate3d(17px, 0, 0); |
|
transform: translate3d(17px, 0, 0); |
|
} |
|
.platform-ios .toggle.active:active .toggle-handle, |
|
.platform-ios .toggle.active .toggle-handle:active { |
|
-webkit-transform: translate3d(10px, 0, 0) !important; |
|
transform: translate3d(10px, 0, 0) !important; |
|
} |
|
.platform-ios .toggle.active .toggle-handle { |
|
border-color: #4cd964; |
|
} |
|
.platform-ios .content.fade { |
|
-webkit-transition: opacity 0.2s ease-in-out; |
|
transition: opacity 0.2s ease-in-out; |
|
} |
|
.platform-ios .content.slide { |
|
-webkit-transition-timing-function: cubic-bezier(0.1, 0.5, 0.1, 1); |
|
transition-timing-function: cubic-bezier(0.1, 0.5, 0.1, 1); |
|
} |
|
.platform-ios .content.slide.sliding-in, .platform-ios .content.slide.right:not([class*="sliding-in"]) { |
|
-webkit-animation-name: fadeOverlay; |
|
animation-name: fadeOverlay; |
|
-webkit-animation-duration: 0.4s; |
|
animation-duration: 0.4s; |
|
} |
|
.platform-ios .content.slide.right:not([class*="sliding-in"]) { |
|
-webkit-animation-direction: reverse; |
|
animation-direction: reverse; |
|
} |
|
.platform-ios .content.slide.left { |
|
-webkit-transform: translate3d(-20%, 0, 0); |
|
transform: translate3d(-20%, 0, 0); |
|
} |
|
.platform-ios .device { |
|
background-image: url("../img/iphone5s.png"); |
|
} |
|
.platform-ios .device .device-content { |
|
background-color: #efeff4; |
|
} |
|
|
|
.platform-android .content { |
|
background: #111111; |
|
background: -moz-linear-gradient(top, #111111 0%, #2b2b2b 100%); |
|
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #111111), color-stop(100%, #2b2b2b)); |
|
background: -webkit-linear-gradient(top, #111111 0%, #2b2b2b 100%); |
|
background: -o-linear-gradient(top, #111111 0%, #2b2b2b 100%); |
|
background: -ms-linear-gradient(top, #111111 0%, #2b2b2b 100%); |
|
background: linear-gradient(to bottom, #111111 0%, #2b2b2b 100%); |
|
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='$color-form', endColorstr='$color-to',GradientType=0 ); |
|
} |
|
.platform-android .bar { |
|
height: 50px; |
|
background-color: #111111; |
|
border-bottom: 1px solid #565656; |
|
} |
|
.platform-android .bar.bar-header-secondary { |
|
top: 51px; |
|
} |
|
.platform-android .bar-tab { |
|
height: 70px; |
|
border-top: 1px solid #565656; |
|
border-bottom: 0; |
|
} |
|
.platform-android .title { |
|
position: static; |
|
padding-left: 10px; |
|
line-height: 50px; |
|
color: white; |
|
text-align: left; |
|
} |
|
.platform-android .popover .bar-nav { |
|
border-bottom: 1px solid #565656; |
|
} |
|
.platform-android .table-view .table-view-cell { |
|
border-bottom: 1px solid #565656; |
|
} |
|
.platform-android .table-view .table-view-cell:last-child { |
|
background-image: none; |
|
} |
|
.platform-android .table-view .table-view-divider { |
|
border-top: 0; |
|
border-bottom: 0; |
|
} |
|
.platform-android .popover .table-view { |
|
border-radius: 12px; |
|
} |
|
.platform-android select, |
|
.platform-android textarea, |
|
.platform-android input[type="text"], |
|
.platform-android input[type=search], |
|
.platform-android input[type="password"], |
|
.platform-android input[type="datetime"], |
|
.platform-android input[type="datetime-local"], |
|
.platform-android input[type="date"], |
|
.platform-android input[type="month"], |
|
.platform-android input[type="time"], |
|
.platform-android input[type="week"], |
|
.platform-android input[type="number"], |
|
.platform-android input[type="email"], |
|
.platform-android input[type="url"], |
|
.platform-android input[type="tel"], |
|
.platform-android input[type="color"], |
|
.platform-android .input-group { |
|
height: 40px; |
|
padding: 10px 15px; |
|
border: 1px solid rgba(0, 0, 0, 0.2); |
|
} |
|
.platform-android input[type=search] { |
|
height: 34px; |
|
text-align: center; |
|
background-color: rgba(0, 0, 0, 0.1); |
|
border: 0; |
|
border-radius: 6px; |
|
} |
|
.platform-android input[type=search]:focus { |
|
text-align: left; |
|
} |
|
.platform-android select, |
|
.platform-android textarea, |
|
.platform-android .input-group { |
|
height: auto; |
|
} |
|
.platform-android .input-group { |
|
padding: 0; |
|
} |
|
.platform-android .input-group input { |
|
border: 0; |
|
} |
|
.platform-android .input-group input:last-child { |
|
background-image: none; |
|
} |
|
.platform-android .input-row { |
|
border-bottom: 0; |
|
} |
|
.platform-android .input-row:last-child, |
|
.platform-android .input-row label + input { |
|
background-image: none; |
|
} |
|
.platform-android .btn { |
|
border: 1px solid #565656; |
|
color: white; |
|
background-color: #111111; |
|
border-radius: 3px; |
|
} |
|
.platform-android .btn:active, .platform-android .btn.active { |
|
color: #fff; |
|
background-color: white; |
|
} |
|
.platform-android .bar .btn { |
|
padding-top: 9px; |
|
padding-bottom: 9px; |
|
} |
|
.platform-android .bar .btn-link { |
|
padding: 0; |
|
color: #33b5e5; |
|
line-height: 50px; |
|
} |
|
.platform-android .bar .btn-link:active, .platform-android .bar .btn-link.active { |
|
color: #1a9bcb; |
|
} |
|
.platform-android .btn-primary { |
|
color: #fff; |
|
border: 1px solid #33b5e5; |
|
background-color: #33b5e5; |
|
} |
|
.platform-android .btn-primary:active, .platform-android .btn-primary.active { |
|
border: 1px solid #1a9bcb; |
|
background-color: #1a9bcb; |
|
} |
|
.platform-android .btn-positive { |
|
color: #fff; |
|
border: 1px solid #81c700; |
|
background-color: #81c700; |
|
} |
|
.platform-android .btn-positive:active, .platform-android .btn-positive.active { |
|
border: 1px solid #609400; |
|
background-color: #609400; |
|
} |
|
.platform-android .btn-negative { |
|
color: #fff; |
|
border: 1px solid #f20754; |
|
background-color: #f20754; |
|
} |
|
.platform-android .btn-negative:active, .platform-android .btn-negative.active { |
|
border: 1px solid #c00643; |
|
background-color: #c00643; |
|
} |
|
.platform-android .btn-outlined { |
|
background-color: transparent; |
|
} |
|
.platform-android .btn-outlined.btn-primary { |
|
color: #33b5e5; |
|
} |
|
.platform-android .btn-outlined.btn-positive { |
|
color: #81c700; |
|
} |
|
.platform-android .btn-outlined.btn-negative { |
|
color: #f20754; |
|
} |
|
.platform-android .btn-outlined.btn-primary:active, .platform-android .btn-outlined.btn-positive:active, .platform-android .btn-outlined.btn-negative:active { |
|
color: #fff; |
|
} |
|
.platform-android .btn-link { |
|
color: #33b5e5; |
|
background-color: transparent; |
|
border: none; |
|
} |
|
.platform-android .btn-link:active, .platform-android .btn-link.active { |
|
color: #1a9bcb; |
|
background-color: transparent; |
|
} |
|
.platform-android .bar-nav .btn-link { |
|
color: #33b5e5; |
|
} |
|
.platform-android .bar-nav .btn-link:active { |
|
color: #33b5e5; |
|
opacity: .6; |
|
} |
|
.platform-android .badge.badge-inverted { |
|
color: white; |
|
} |
|
.platform-android .badge-primary { |
|
color: #fff; |
|
background-color: #33b5e5; |
|
} |
|
.platform-android .badge-primary.badge-inverted { |
|
color: #33b5e5; |
|
} |
|
.platform-android .badge-positive { |
|
color: #fff; |
|
background-color: #81c700; |
|
} |
|
.platform-android .badge-positive.badge-inverted { |
|
color: #81c700; |
|
} |
|
.platform-android .badge-negative { |
|
color: #fff; |
|
background-color: #f20754; |
|
} |
|
.platform-android .badge-negative.badge-inverted { |
|
color: #f20754; |
|
} |
|
.platform-android .segmented-control { |
|
background-color: transparent; |
|
border: 1px solid #33b5e5; |
|
border-radius: 3px; |
|
} |
|
.platform-android .segmented-control li { |
|
border-left: 1px solid #33b5e5; |
|
} |
|
.platform-android .segmented-control li > a { |
|
padding-top: 9px; |
|
padding-bottom: 10px; |
|
color: #33b5e5; |
|
} |
|
.platform-android .segmented-control li.active { |
|
background-color: #33b5e5; |
|
} |
|
.platform-android .popover { |
|
border-radius: 12px; |
|
} |
|
.platform-android .popover:after { |
|
border-bottom: 15px solid #111111; |
|
} |
|
.platform-android .toggle .toggle-handle { |
|
border: 1px solid #565656; |
|
} |
|
.platform-android .toggle:active .toggle-handle { |
|
width: 35px; |
|
} |
|
.platform-android .toggle.active { |
|
border: 2px solid #81c700; |
|
background-color: #81c700; |
|
} |
|
.platform-android .toggle.active .toggle-handle { |
|
border-color: #81c700; |
|
} |
|
.platform-android .device .device-content { |
|
background-color: #000; |
|
background-image: linear-gradient(to bottom, #111111 0%, #2b2b2b 100%); |
|
} |
|
|
|
@-webkit-keyframes fadeOverlay { |
|
from { |
|
-webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0), -320px 0 0 rgba(0, 0, 0, 0); |
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0), -320px 0 0 rgba(0, 0, 0, 0); |
|
} |
|
|
|
to { |
|
-webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.3), -320px 0 0 rgba(0, 0, 0, 0.1); |
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3), -320px 0 0 rgba(0, 0, 0, 0.1); |
|
} |
|
}
|
|
|