ratchet/docs/dist/ratchet-theme-android.css

590 строки
11 KiB
CSS
Исходник Обычный вид История

/*!
2013-12-20 22:30:00 +04:00
* =====================================================
* Ratchet v2.0.0 (http://goratchet.com)
2014-02-21 06:02:13 +04:00
* Copyright 2014 Connor Sears
2014-02-27 08:34:26 +04:00
* Licensed under MIT.
2013-12-20 22:30:00 +04:00
*
2014-02-27 08:34:26 +04:00
* v2.0.0 designed by @connors.
2013-12-20 22:30:00 +04:00
* =====================================================
*/
2014-02-09 01:21:49 +04:00
body {
font-family: "Roboto", sans-serif;
2014-02-09 02:49:24 +04:00
font-size: 18px;
line-height: 22px;
color: #222222;
2014-02-09 01:21:49 +04:00
}
2014-02-10 03:52:06 +04:00
a {
color: #33b5e5;
}
a:active {
color: #1a9bcb;
}
2013-12-20 22:30:00 +04:00
.content {
2014-02-09 02:49:24 +04:00
background-color: #f2f2f2;
}
.bar-nav ~ .content {
padding-top: 50px;
}
2014-03-03 19:51:34 +04:00
.bar-header-secondary ~ .content {
padding-top: 100px;
}
2014-02-09 02:49:24 +04:00
.bar-tab ~ .content {
2014-03-03 19:51:34 +04:00
padding-top: 50px;
padding-bottom: 0;
}
.bar-footer ~ .content {
2014-02-09 02:49:24 +04:00
padding-bottom: 50px;
}
2014-03-03 19:51:34 +04:00
.bar-footer-secondary ~ .content {
padding-bottom: 100px;
2013-12-20 22:30:00 +04:00
}
2014-02-01 05:32:16 +04:00
.btn {
2014-02-09 10:47:20 +04:00
padding: 8px 15px;
font-size: 14px;
2014-02-09 02:49:24 +04:00
color: #222222;
background-color: #cecece;
border: 0;
border-radius: 2px;
2014-02-21 04:11:39 +04:00
-webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 1px rgba(0, 0, 0, 0.25);
2014-02-09 02:49:24 +04:00
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 1px rgba(0, 0, 0, 0.25);
}
2014-02-01 05:32:16 +04:00
.btn:active, .btn.active {
2014-02-09 02:49:24 +04:00
color: #222222;
border: 0;
background-color: #999999;
2014-02-21 04:11:39 +04:00
-webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
2014-02-09 02:49:24 +04:00
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
2013-12-20 22:30:00 +04:00
}
2014-02-01 05:32:16 +04:00
.btn-primary {
color: #fff;
2014-02-09 02:49:24 +04:00
border: 0;
2013-12-20 22:30:00 +04:00
background-color: #33b5e5;
}
2014-02-01 05:32:16 +04:00
.btn-primary:active, .btn-primary.active {
2014-02-09 02:49:24 +04:00
color: #fff;
border: 0;
background-color: #1a9bcb;
}
2013-12-20 22:30:00 +04:00
2014-02-01 05:32:16 +04:00
.btn-positive {
color: #fff;
2014-02-09 02:49:24 +04:00
border: 0;
2014-02-09 01:30:29 +04:00
background-color: #99cc00;
2013-12-20 22:30:00 +04:00
}
2014-02-01 05:32:16 +04:00
.btn-positive:active, .btn-positive.active {
2014-02-09 02:49:24 +04:00
color: #fff;
border: 0;
2014-02-09 01:30:29 +04:00
background-color: #739900;
}
2013-12-20 22:30:00 +04:00
2014-02-01 05:32:16 +04:00
.btn-negative {
color: #fff;
2014-02-09 02:49:24 +04:00
border: 0;
2014-02-09 01:30:29 +04:00
background-color: #ff4444;
2013-12-20 22:30:00 +04:00
}
2014-02-01 05:32:16 +04:00
.btn-negative:active, .btn-negative.active {
2014-02-09 02:49:24 +04:00
color: #fff;
border: 0;
2014-02-09 01:30:29 +04:00
background-color: #ff1111;
}
2013-12-20 22:30:00 +04:00
2014-02-01 05:32:16 +04:00
.btn-outlined {
2014-02-09 02:49:24 +04:00
border: 1px solid #999999;
background-color: transparent;
2014-02-21 04:11:39 +04:00
-webkit-box-shadow: none;
2014-02-09 02:49:24 +04:00
box-shadow: none;
2013-12-20 22:30:00 +04:00
}
2014-02-01 05:32:16 +04:00
.btn-outlined.btn-primary {
2014-02-09 02:49:24 +04:00
border: 1px solid #33b5e5;
2013-12-20 22:30:00 +04:00
color: #33b5e5;
}
2014-02-09 02:49:24 +04:00
.btn-outlined.btn-primary:active {
border: 1px solid #33b5e5;
background-color: #33b5e5;
}
2014-02-01 05:32:16 +04:00
.btn-outlined.btn-positive {
2014-02-09 02:49:24 +04:00
border: 1px solid #99cc00;
2014-02-09 01:30:29 +04:00
color: #99cc00;
}
2014-02-09 02:49:24 +04:00
.btn-outlined.btn-positive:active {
border: 1px solid #99cc00;
background-color: #99cc00;
}
2014-02-01 05:32:16 +04:00
.btn-outlined.btn-negative {
2014-02-09 02:49:24 +04:00
border: 1px solid #ff4444;
2014-02-09 01:30:29 +04:00
color: #ff4444;
}
2014-02-09 02:49:24 +04:00
.btn-outlined.btn-negative:active {
border: 1px solid #ff4444;
background-color: #ff4444;
}
.btn-outlined:active {
border: 1px solid #999999;
background-color: #999999;
2014-02-21 04:11:39 +04:00
-webkit-box-shadow: none;
2014-02-09 02:49:24 +04:00
box-shadow: none;
}
2014-02-01 05:32:16 +04:00
.btn-outlined.btn-primary:active, .btn-outlined.btn-positive:active, .btn-outlined.btn-negative:active {
color: #fff;
2014-02-21 04:11:39 +04:00
-webkit-box-shadow: none;
2014-02-09 02:49:24 +04:00
box-shadow: none;
}
2013-12-20 22:30:00 +04:00
2014-02-01 05:32:16 +04:00
.btn-link {
2013-12-20 22:30:00 +04:00
color: #33b5e5;
background-color: transparent;
border: none;
2014-02-21 04:11:39 +04:00
-webkit-box-shadow: none;
2014-02-09 02:49:24 +04:00
box-shadow: none;
}
2014-02-01 05:32:16 +04:00
.btn-link:active, .btn-link.active {
color: #1a9bcb;
background-color: transparent;
2014-02-21 04:11:39 +04:00
-webkit-box-shadow: none;
2014-02-09 02:49:24 +04:00
box-shadow: none;
2013-12-20 22:30:00 +04:00
}
2014-02-09 10:47:20 +04:00
.btn-block {
padding: 15px 0;
font-size: 18px;
}
2014-02-10 03:52:06 +04:00
.btn .badge {
background-color: rgba(0, 0, 0, 0.15);
}
.btn .badge.badge-inverted {
background-color: transparent;
}
.btn:active .badge {
color: #fff;
}
.bar {
height: 50px;
background-color: #dddddd;
border-bottom: 1px solid #b1b1b1;
2014-02-21 04:11:39 +04:00
-webkit-box-shadow: inset 0 -2px 0 #d2d2d2, 0 3px 3px rgba(0, 0, 0, 0.07);
2014-02-10 03:52:06 +04:00
box-shadow: inset 0 -2px 0 #d2d2d2, 0 3px 3px rgba(0, 0, 0, 0.07);
}
.bar.bar-header-secondary {
top: 50px;
}
.bar.bar-footer-secondary {
bottom: 50px;
}
.bar.bar-footer-secondary-tab {
bottom: 50px;
}
.bar .bar-footer,
.bar .bar-footer-secondary,
.bar .bar-footer-secondary-tab {
border-bottom: 0;
border-top: 1px solid #b1b1b1;
-webkit-box-shadow: inset 0 -2px 0 #33b5e5;
box-shadow: inset 0 -2px 0 #33b5e5;
}
2014-02-10 03:52:06 +04:00
.bar-tab {
top: 0;
bottom: auto;
height: 50px;
border-top: 0;
}
2014-02-21 06:02:13 +04:00
.bar-tab .tab-item {
color: #929292;
}
2014-02-16 05:19:51 +04:00
.bar-tab .tab-item.active {
2014-02-10 03:52:06 +04:00
color: #33b5e5;
2014-02-21 04:11:39 +04:00
-webkit-box-shadow: inset 0 -2px 0 #33b5e5;
2014-02-17 08:24:11 +04:00
box-shadow: inset 0 -2px 0 #33b5e5;
2014-02-16 05:19:51 +04:00
}
.bar-tab .tab-item:active {
color: #929292;
background-color: #78c6e3;
2014-02-10 03:52:06 +04:00
}
2014-02-16 05:42:18 +04:00
.bar-tab .tab-item .icon {
top: 3px;
2014-02-21 06:02:13 +04:00
padding-top: 0;
padding-bottom: 0;
2014-02-16 05:42:18 +04:00
}
2014-02-10 03:52:06 +04:00
.title {
position: static;
padding-left: 15px;
font-size: 18px;
line-height: 49px;
text-align: left;
}
.bar .btn {
2014-02-24 13:01:47 +04:00
top: 7px;
2014-02-21 06:02:13 +04:00
padding-top: 10px;
padding-bottom: 10px;
2014-02-10 03:52:06 +04:00
}
.bar .btn-link {
2014-02-24 13:01:47 +04:00
top: 0;
2014-02-17 00:03:23 +04:00
padding: 0;
2014-02-10 03:52:06 +04:00
color: #33b5e5;
font-size: 18px;
line-height: 49px;
}
.bar .btn-link:active, .bar .btn-link.active {
color: #1a9bcb;
}
2014-02-17 00:03:23 +04:00
.bar .btn-link .icon {
2014-02-16 06:13:32 +04:00
top: 2px;
padding: 0;
}
2014-02-24 13:01:47 +04:00
.bar .btn-block {
top: 4px;
}
2013-12-20 22:30:00 +04:00
2014-02-10 03:52:06 +04:00
.bar .segmented-control {
top: 7px;
}
2014-02-16 05:42:18 +04:00
.bar .icon {
padding-top: 13px;
padding-bottom: 13px;
2014-02-10 03:52:06 +04:00
}
2014-02-16 06:13:32 +04:00
.bar .title .icon {
2014-02-16 05:42:18 +04:00
padding: 0;
2014-02-16 06:13:32 +04:00
}
.bar .title .icon.icon-caret {
top: 10px;
2014-02-16 01:06:24 +04:00
color: #777;
}
2014-02-10 03:52:06 +04:00
2014-02-15 23:36:36 +04:00
.bar input[type="search"] {
height: 35px;
}
.badge.badge-inverted {
2014-02-09 02:49:24 +04:00
color: #999999;
background-color: transparent;
2013-12-20 22:30:00 +04:00
}
.badge-primary {
color: #fff;
background-color: #33b5e5;
}
.badge-primary.badge-inverted {
color: #33b5e5;
2014-02-09 02:49:24 +04:00
background-color: transparent;
}
2013-12-20 22:30:00 +04:00
.badge-positive {
color: #fff;
2014-02-09 01:30:29 +04:00
background-color: #99cc00;
2013-12-20 22:30:00 +04:00
}
.badge-positive.badge-inverted {
2014-02-09 01:30:29 +04:00
color: #99cc00;
2014-02-09 02:49:24 +04:00
background-color: transparent;
}
2013-12-20 22:30:00 +04:00
.badge-negative {
color: #fff;
2014-02-09 01:30:29 +04:00
background-color: #ff4444;
2013-12-20 22:30:00 +04:00
}
.badge-negative.badge-inverted {
2014-02-09 01:30:29 +04:00
color: #ff4444;
2014-02-09 02:49:24 +04:00
background-color: transparent;
}
2014-02-10 03:52:06 +04:00
.card {
border-color: #d9d9d9;
border-radius: 2px;
background-color: transparent;
2014-02-09 02:49:24 +04:00
}
2014-02-10 03:52:06 +04:00
.table-view {
2014-02-09 02:49:24 +04:00
background-color: transparent;
}
2014-02-10 03:52:06 +04:00
.table-view .table-view-cell {
border-bottom: 1px solid #d9d9d9;
}
.table-view .table-view-cell:last-child {
background-image: none;
}
.table-view .table-view-cell > a:not(.btn):active {
2014-02-16 05:46:03 +04:00
background-color: #e0e0e0;
2014-02-10 03:52:06 +04:00
}
.table-view .table-view-cell > a:not(.btn):active .icon {
2014-02-09 02:49:24 +04:00
color: #fff;
}
2014-02-10 03:52:06 +04:00
.table-view .table-view-divider {
padding-top: 25px;
font-size: 12px;
font-weight: bold;
text-transform: uppercase;
border-top: 0;
border-bottom: 2px solid #a9a9a9;
background-color: transparent;
}
select,
textarea,
input[type="text"],
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"],
input[type="color"],
.input-group {
height: 40px;
padding: 10px 15px;
border: 1px solid rgba(0, 0, 0, 0.2);
2014-02-21 04:11:39 +04:00
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
2014-02-10 03:52:06 +04:00
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}
input[type="search"] {
border-radius: 2px;
}
select,
textarea,
.input-group {
height: auto;
}
.input-group {
padding: 0;
border: 0;
}
.input-group input {
border: 0;
border-bottom: 1px solid #d9d9d9;
2014-02-21 04:11:39 +04:00
-webkit-box-shadow: none;
2014-02-10 03:52:06 +04:00
box-shadow: none;
}
.input-group input:last-child {
background-image: none;
}
.input-row {
border-bottom: 1px solid #d9d9d9;
}
.input-row label + input {
background-image: none;
border-bottom: 0;
}
2013-12-20 22:30:00 +04:00
2014-02-01 05:57:47 +04:00
.segmented-control {
2014-02-11 07:37:39 +04:00
font-size: 14px;
2014-02-09 11:44:01 +04:00
background-color: #cecece;
border: 0;
border-radius: 2px;
2014-02-21 04:11:39 +04:00
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
2014-02-09 11:44:01 +04:00
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
2013-12-20 22:30:00 +04:00
}
2014-02-11 07:37:39 +04:00
.segmented-control .control-item {
2014-02-09 11:44:01 +04:00
padding-top: 10px;
padding-bottom: 10px;
2014-02-09 11:44:01 +04:00
color: #222222;
2014-02-11 07:37:39 +04:00
border-left: 1px solid #999;
2014-02-21 04:11:39 +04:00
-webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
2014-02-11 07:37:39 +04:00
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
2013-12-20 22:30:00 +04:00
}
2014-02-11 07:37:39 +04:00
.segmented-control .control-item:first-child {
2014-02-09 11:44:01 +04:00
border-left-width: 0;
}
2014-02-11 07:37:39 +04:00
.segmented-control .control-item:active, .segmented-control .control-item.active {
2014-02-09 11:44:01 +04:00
background-color: #999999;
}
2014-02-09 12:34:29 +04:00
.segmented-control-primary {
border: 0;
}
2014-02-11 07:37:39 +04:00
.segmented-control-primary .control-item {
color: #fff;
2014-02-09 12:34:29 +04:00
border-color: inherit;
}
2014-02-11 07:37:39 +04:00
.segmented-control-primary .control-item:active, .segmented-control-primary .control-item.active {
2014-02-09 12:34:29 +04:00
color: #fff;
background-color: #33b5e5;
}
.segmented-control-positive {
border: 0;
}
2014-02-11 07:37:39 +04:00
.segmented-control-positive .control-item {
color: #fff;
2014-02-09 12:34:29 +04:00
border-color: inherit;
}
2014-02-11 07:37:39 +04:00
.segmented-control-positive .control-item:active, .segmented-control-positive .control-item.active {
2014-02-09 12:34:29 +04:00
color: #fff;
background-color: #99cc00;
}
.segmented-control-negative {
border: 0;
}
2014-02-11 07:37:39 +04:00
.segmented-control-negative .control-item {
color: #fff;
2014-02-09 12:34:29 +04:00
border-color: inherit;
}
2014-02-11 07:37:39 +04:00
.segmented-control-negative .control-item:active, .segmented-control-negative .control-item.active {
2014-02-09 12:34:29 +04:00
color: #fff;
background-color: #ff4444;
}
2013-12-20 22:30:00 +04:00
.popover {
2014-02-16 01:17:41 +04:00
top: 47px;
left: 15px;
width: 200px;
margin-left: 0;
2014-02-09 03:20:58 +04:00
border: 1px solid #9b9b9b;
border-radius: 0;
-webkit-transition: -webkit-transform .1s ease-in-out, opacity .2s ease-in-out;
-moz-transition: -moz-transform .1s ease-in-out, opacity .2s ease-in-out;
transition: transform .1s ease-in-out, opacity .2s ease-in-out;
2014-02-21 04:11:39 +04:00
-webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
2014-02-09 03:20:58 +04:00
box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
2014-02-16 01:17:41 +04:00
-webkit-transform: scale(0.75);
-ms-transform: scale(0.75);
transform: scale(0.75);
2014-02-09 03:20:58 +04:00
}
.popover:before {
display: none;
2013-12-20 22:30:00 +04:00
}
2014-02-16 01:17:41 +04:00
.popover.visible {
-webkit-transform: scale(1);
-ms-transform: scale(1);
transform: scale(1);
}
2013-12-20 22:30:00 +04:00
2014-02-21 04:11:39 +04:00
.backdrop {
background-color: transparent;
2014-02-21 04:11:39 +04:00
}
2014-02-10 03:52:06 +04:00
.popover .bar {
border-radius: 0;
}
.popover .bar-nav ~ .table-view {
padding-top: 50px;
}
.popover .table-view {
border-radius: 12px;
}
2014-02-09 03:55:36 +04:00
.toggle {
width: 104px;
height: 28px;
border: 2px solid #d7d7d7;
border-radius: 0;
background-color: #d7d7d7;
}
2013-12-20 22:30:00 +04:00
.toggle .toggle-handle {
2014-02-09 03:55:36 +04:00
top: 0;
left: 0;
width: 50px;
height: 24px;
2014-02-09 04:25:34 +04:00
border: 1px solid #b5b5b5;
2014-02-16 00:28:18 +04:00
border-radius: 2px;
2014-02-09 03:55:36 +04:00
background-color: #bebebe;
2014-02-21 04:11:39 +04:00
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
2014-02-09 04:25:34 +04:00
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
2013-12-20 22:30:00 +04:00
}
2014-02-09 03:55:36 +04:00
.toggle:before {
top: 1px;
right: auto;
left: 11px;
z-index: 3;
color: #fff;
2013-12-20 22:30:00 +04:00
}
.toggle.active {
2014-02-16 00:28:18 +04:00
border: 2px solid #d7d7d7;
2014-02-09 03:55:36 +04:00
background-color: #d7d7d7;
2013-12-20 22:30:00 +04:00
}
.toggle.active .toggle-handle {
2014-02-16 01:06:24 +04:00
margin-right: 2px;
2014-02-09 03:55:36 +04:00
background-color: #33b5e5;
border-color: #33b5e5;
-webkit-transform: translate3d(50px, 0, 0);
-ms-transform: translate3d(50px, 0, 0);
2014-02-09 03:55:36 +04:00
transform: translate3d(50px, 0, 0);
}
.toggle.active:before {
left: auto;
2014-02-09 04:25:34 +04:00
right: 14px;
2014-02-09 03:55:36 +04:00
color: #fff;
content: "On";
2013-12-20 22:30:00 +04:00
}
2014-03-02 03:53:37 +04:00
.navigate-left:after,
.push-left:after {
content: '';
}
2014-03-02 03:53:37 +04:00
.navigate-right:after,
.push-right:after {
content: '';
}
.icon-caret:before {
content: '\e800';
}
.icon-down:before,
.icon-down-nav:before {
content: '\e801';
}
.icon-download:before {
content: '\e802';
}
.icon-left:before,
.icon-left-nav:before {
content: '\e803';
}
.icon-more-vertical:before {
content: '\e804';
}
.icon-more:before {
content: '\e805';
}
.icon-right:before,
.icon-right-nav:before {
content: '\e806';
}
.icon-search:before {
content: '\e807';
}
.icon-share:before {
content: '\e808';
}
.icon-up:before,
.icon-up-nav:before {
content: '\e809';
}