ratchet-theme-android.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622
  1. /*!
  2. * =====================================================
  3. * Ratchet v2.0.2 (http://goratchet.com)
  4. * Copyright 2014 Connor Sears
  5. * Licensed under MIT (https://github.com/twbs/ratchet/blob/master/LICENSE)
  6. *
  7. * v2.0.2 designed by @connors.
  8. * =====================================================
  9. */
  10. body {
  11. font-family: "Roboto", sans-serif;
  12. font-size: 18px;
  13. line-height: 22px;
  14. color: #222;
  15. }
  16. a {
  17. color: #33b5e5;
  18. }
  19. a:active {
  20. color: #1a9bcb;
  21. }
  22. .content {
  23. background-color: #f2f2f2;
  24. }
  25. .bar-nav ~ .content {
  26. padding-top: 50px;
  27. }
  28. .bar-header-secondary ~ .content {
  29. padding-top: 100px;
  30. }
  31. .bar-tab ~ .content {
  32. padding-top: 50px;
  33. padding-bottom: 0;
  34. }
  35. .bar-footer ~ .content {
  36. padding-bottom: 50px;
  37. }
  38. .bar-footer-secondary ~ .content {
  39. padding-bottom: 100px;
  40. }
  41. .btn {
  42. padding: 8px 15px;
  43. font-size: 14px;
  44. color: #222;
  45. background-color: #cecece;
  46. border: 0;
  47. border-radius: 2px;
  48. -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .2), inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 1px rgba(0, 0, 0, .25);
  49. box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .2), inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 1px rgba(0, 0, 0, .25);
  50. }
  51. .btn:active, .btn.active {
  52. color: #222;
  53. background-color: #999;
  54. border: 0;
  55. -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .2), inset 0 1px 0 rgba(255, 255, 255, .2);
  56. box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .2), inset 0 1px 0 rgba(255, 255, 255, .2);
  57. }
  58. .btn-primary {
  59. color: #fff;
  60. background-color: #33b5e5;
  61. border: 0;
  62. }
  63. .btn-primary:active, .btn-primary.active {
  64. color: #fff;
  65. background-color: #1a9bcb;
  66. border: 0;
  67. }
  68. .btn-positive {
  69. color: #fff;
  70. background-color: #9c0;
  71. border: 0;
  72. }
  73. .btn-positive:active, .btn-positive.active {
  74. color: #fff;
  75. background-color: #739900;
  76. border: 0;
  77. }
  78. .btn-negative {
  79. color: #fff;
  80. background-color: #f44;
  81. border: 0;
  82. }
  83. .btn-negative:active, .btn-negative.active {
  84. color: #fff;
  85. background-color: #f11;
  86. border: 0;
  87. }
  88. .btn-outlined {
  89. background-color: transparent;
  90. border: 1px solid #999;
  91. -webkit-box-shadow: none;
  92. box-shadow: none;
  93. }
  94. .btn-outlined.btn-primary {
  95. color: #33b5e5;
  96. border: 1px solid #33b5e5;
  97. }
  98. .btn-outlined.btn-primary:active {
  99. background-color: #33b5e5;
  100. border: 1px solid #33b5e5;
  101. }
  102. .btn-outlined.btn-positive {
  103. color: #9c0;
  104. border: 1px solid #9c0;
  105. }
  106. .btn-outlined.btn-positive:active {
  107. background-color: #9c0;
  108. border: 1px solid #9c0;
  109. }
  110. .btn-outlined.btn-negative {
  111. color: #f44;
  112. border: 1px solid #f44;
  113. }
  114. .btn-outlined.btn-negative:active {
  115. background-color: #f44;
  116. border: 1px solid #f44;
  117. }
  118. .btn-outlined:active {
  119. background-color: #999;
  120. border: 1px solid #999;
  121. -webkit-box-shadow: none;
  122. box-shadow: none;
  123. }
  124. .btn-outlined.btn-primary:active, .btn-outlined.btn-positive:active, .btn-outlined.btn-negative:active {
  125. color: #fff;
  126. -webkit-box-shadow: none;
  127. box-shadow: none;
  128. }
  129. .btn-link {
  130. color: #33b5e5;
  131. background-color: transparent;
  132. border: none;
  133. -webkit-box-shadow: none;
  134. box-shadow: none;
  135. }
  136. .btn-link:active, .btn-link.active {
  137. color: #1a9bcb;
  138. background-color: transparent;
  139. -webkit-box-shadow: none;
  140. box-shadow: none;
  141. }
  142. .btn-block {
  143. padding: 15px 0;
  144. font-size: 18px;
  145. }
  146. .btn .badge {
  147. background-color: rgba(0, 0, 0, .15);
  148. }
  149. .btn .badge.badge-inverted {
  150. background-color: transparent;
  151. }
  152. .btn:active .badge {
  153. color: #fff;
  154. }
  155. .bar {
  156. height: 50px;
  157. background-color: #ddd;
  158. border-bottom: 1px solid #b1b1b1;
  159. -webkit-box-shadow: inset 0 -2px 0 #d2d2d2, 0 3px 3px rgba(0, 0, 0, .07);
  160. box-shadow: inset 0 -2px 0 #d2d2d2, 0 3px 3px rgba(0, 0, 0, .07);
  161. }
  162. .bar.bar-header-secondary {
  163. top: 50px;
  164. }
  165. .bar.bar-footer-secondary {
  166. bottom: 50px;
  167. }
  168. .bar.bar-footer-secondary-tab {
  169. bottom: 50px;
  170. }
  171. .bar .bar-footer,
  172. .bar .bar-footer-secondary,
  173. .bar .bar-footer-secondary-tab {
  174. border-top: 1px solid #b1b1b1;
  175. border-bottom: 0;
  176. -webkit-box-shadow: inset 0 -2px 0 #33b5e5;
  177. box-shadow: inset 0 -2px 0 #33b5e5;
  178. }
  179. .bar-tab {
  180. top: 0;
  181. bottom: auto;
  182. height: 50px;
  183. border-top: 0;
  184. }
  185. .bar-tab .tab-item {
  186. color: #929292;
  187. }
  188. .bar-tab .tab-item.active {
  189. color: #33b5e5;
  190. -webkit-box-shadow: inset 0 -2px 0 #33b5e5;
  191. box-shadow: inset 0 -2px 0 #33b5e5;
  192. }
  193. .bar-tab .tab-item:active {
  194. color: #929292;
  195. background-color: #78c6e3;
  196. }
  197. .bar-tab .tab-item .icon {
  198. top: 3px;
  199. padding-top: 0;
  200. padding-bottom: 0;
  201. }
  202. .title {
  203. position: static;
  204. padding-left: 15px;
  205. font-size: 18px;
  206. line-height: 49px;
  207. text-align: left;
  208. }
  209. .bar .btn {
  210. top: 7px;
  211. padding-top: 10px;
  212. padding-bottom: 10px;
  213. }
  214. .bar .btn-link {
  215. top: 0;
  216. padding: 0;
  217. font-size: 18px;
  218. line-height: 49px;
  219. color: #33b5e5;
  220. }
  221. .bar .btn-link:active, .bar .btn-link.active {
  222. color: #1a9bcb;
  223. }
  224. .bar .btn-link .icon {
  225. top: 2px;
  226. padding: 0;
  227. }
  228. .bar .btn-block {
  229. top: 4px;
  230. }
  231. .bar .segmented-control {
  232. top: 7px;
  233. }
  234. .bar .icon {
  235. padding-top: 13px;
  236. padding-bottom: 13px;
  237. }
  238. .bar .title .icon {
  239. padding: 0;
  240. }
  241. .bar .title .icon.icon-caret {
  242. top: 10px;
  243. color: #777;
  244. }
  245. .bar input[type="search"] {
  246. height: 35px;
  247. }
  248. .badge.badge-inverted {
  249. color: #999;
  250. background-color: transparent;
  251. }
  252. .badge-primary {
  253. color: #fff;
  254. background-color: #33b5e5;
  255. }
  256. .badge-primary.badge-inverted {
  257. color: #33b5e5;
  258. background-color: transparent;
  259. }
  260. .badge-positive {
  261. color: #fff;
  262. background-color: #9c0;
  263. }
  264. .badge-positive.badge-inverted {
  265. color: #9c0;
  266. background-color: transparent;
  267. }
  268. .badge-negative {
  269. color: #fff;
  270. background-color: #f44;
  271. }
  272. .badge-negative.badge-inverted {
  273. color: #f44;
  274. background-color: transparent;
  275. }
  276. .card {
  277. background-color: transparent;
  278. border-color: #d9d9d9;
  279. border-radius: 2px;
  280. }
  281. .table-view {
  282. background-color: transparent;
  283. }
  284. .table-view .table-view-cell {
  285. border-bottom: 1px solid #d9d9d9;
  286. }
  287. .table-view .table-view-cell:last-child {
  288. background-image: none;
  289. }
  290. .table-view .table-view-cell > a:not(.btn):active {
  291. color: inherit;
  292. background-color: #e0e0e0;
  293. }
  294. .table-view .table-view-cell > a:not(.btn):active .icon {
  295. color: #fff;
  296. }
  297. .table-view .table-view-divider {
  298. padding-top: 25px;
  299. font-size: 12px;
  300. font-weight: bold;
  301. text-transform: uppercase;
  302. background-color: transparent;
  303. border-top: 0;
  304. border-bottom: 2px solid #a9a9a9;
  305. }
  306. .table-view-cell .navigate-left > .btn,
  307. .table-view-cell .navigate-left > .badge,
  308. .table-view-cell .navigate-left > .toggle,
  309. .table-view-cell .navigate-right > .btn,
  310. .table-view-cell .navigate-right > .badge,
  311. .table-view-cell .navigate-right > .toggle,
  312. .table-view-cell .push-left > .btn,
  313. .table-view-cell .push-left > .badge,
  314. .table-view-cell .push-left > .toggle,
  315. .table-view-cell .push-right > .btn,
  316. .table-view-cell .push-right > .badge,
  317. .table-view-cell .push-right > .toggle,
  318. .table-view-cell > a .navigate-left > .btn,
  319. .table-view-cell > a .navigate-left > .badge,
  320. .table-view-cell > a .navigate-left > .toggle,
  321. .table-view-cell > a .navigate-right > .btn,
  322. .table-view-cell > a .navigate-right > .badge,
  323. .table-view-cell > a .navigate-right > .toggle,
  324. .table-view-cell > a .push-left > .btn,
  325. .table-view-cell > a .push-left > .badge,
  326. .table-view-cell > a .push-left > .toggle,
  327. .table-view-cell > a .push-right > .btn,
  328. .table-view-cell > a .push-right > .badge,
  329. .table-view-cell > a .push-right > .toggle {
  330. right: 15px;
  331. }
  332. select,
  333. textarea,
  334. input[type="text"],
  335. input[type="search"],
  336. input[type="password"],
  337. input[type="datetime"],
  338. input[type="datetime-local"],
  339. input[type="date"],
  340. input[type="month"],
  341. input[type="time"],
  342. input[type="week"],
  343. input[type="number"],
  344. input[type="email"],
  345. input[type="url"],
  346. input[type="tel"],
  347. input[type="color"],
  348. .input-group {
  349. height: 40px;
  350. padding: 10px 15px;
  351. border: 1px solid rgba(0, 0, 0, .2);
  352. -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .1);
  353. box-shadow: 0 1px 1px rgba(0, 0, 0, .1);
  354. }
  355. input[type="search"] {
  356. border-radius: 2px;
  357. }
  358. select,
  359. textarea,
  360. .input-group {
  361. height: auto;
  362. }
  363. .input-group {
  364. padding: 0;
  365. border: 0;
  366. }
  367. .input-group input {
  368. border: 0;
  369. border-bottom: 1px solid #d9d9d9;
  370. -webkit-box-shadow: none;
  371. box-shadow: none;
  372. }
  373. .input-group input:last-child {
  374. background-image: none;
  375. }
  376. .input-row {
  377. height: 40px;
  378. border-bottom: 1px solid #d9d9d9;
  379. }
  380. .input-row label {
  381. padding-top: 10px;
  382. padding-bottom: 10px;
  383. }
  384. .input-row label + input {
  385. background-image: none;
  386. border-bottom: 0;
  387. }
  388. .segmented-control {
  389. font-size: 14px;
  390. background-color: #cecece;
  391. border: 0;
  392. border-radius: 2px;
  393. -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .25);
  394. box-shadow: 0 1px 1px rgba(0, 0, 0, .25);
  395. }
  396. .segmented-control .control-item {
  397. padding-top: 10px;
  398. padding-bottom: 10px;
  399. color: #222;
  400. border-left: 1px solid #999;
  401. -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .2), inset 0 1px 0 rgba(255, 255, 255, .2);
  402. box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .2), inset 0 1px 0 rgba(255, 255, 255, .2);
  403. }
  404. .segmented-control .control-item:first-child {
  405. border-left-width: 0;
  406. }
  407. .segmented-control .control-item:active, .segmented-control .control-item.active {
  408. background-color: #999;
  409. }
  410. .segmented-control-primary {
  411. border: 0;
  412. }
  413. .segmented-control-primary .control-item {
  414. color: #fff;
  415. border-color: inherit;
  416. }
  417. .segmented-control-primary .control-item:active, .segmented-control-primary .control-item.active {
  418. color: #fff;
  419. background-color: #33b5e5;
  420. }
  421. .segmented-control-positive {
  422. border: 0;
  423. }
  424. .segmented-control-positive .control-item {
  425. color: #fff;
  426. border-color: inherit;
  427. }
  428. .segmented-control-positive .control-item:active, .segmented-control-positive .control-item.active {
  429. color: #fff;
  430. background-color: #9c0;
  431. }
  432. .segmented-control-negative {
  433. border: 0;
  434. }
  435. .segmented-control-negative .control-item {
  436. color: #fff;
  437. border-color: inherit;
  438. }
  439. .segmented-control-negative .control-item:active, .segmented-control-negative .control-item.active {
  440. color: #fff;
  441. background-color: #f44;
  442. }
  443. .popover {
  444. top: 47px;
  445. left: 15px;
  446. width: 200px;
  447. margin-left: 0;
  448. border: 1px solid #9b9b9b;
  449. border-radius: 0;
  450. -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, .2);
  451. box-shadow: 0 0 3px rgba(0, 0, 0, .2);
  452. -webkit-transition: -webkit-transform .1s ease-in-out, opacity .2s ease-in-out;
  453. -moz-transition: -moz-transform .1s ease-in-out, opacity .2s ease-in-out;
  454. transition: transform .1s ease-in-out, opacity .2s ease-in-out;
  455. -webkit-transform: scale(.75);
  456. -ms-transform: scale(.75);
  457. transform: scale(.75);
  458. }
  459. .popover:before {
  460. display: none;
  461. }
  462. .popover.visible {
  463. -webkit-transform: scale(1);
  464. -ms-transform: scale(1);
  465. transform: scale(1);
  466. }
  467. .backdrop {
  468. background-color: transparent;
  469. }
  470. .popover .bar {
  471. border-radius: 0;
  472. }
  473. .popover .bar-nav ~ .table-view {
  474. padding-top: 50px;
  475. }
  476. .popover .table-view {
  477. border-radius: 12px;
  478. }
  479. .toggle {
  480. width: 104px;
  481. height: 28px;
  482. background-color: #d7d7d7;
  483. border: 2px solid #d7d7d7;
  484. border-radius: 0;
  485. }
  486. .toggle .toggle-handle {
  487. top: 0;
  488. left: 0;
  489. width: 50px;
  490. height: 24px;
  491. background-color: #bebebe;
  492. border: 1px solid #b5b5b5;
  493. border-radius: 2px;
  494. -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 -1px 0 rgba(0, 0, 0, .1);
  495. box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 -1px 0 rgba(0, 0, 0, .1);
  496. }
  497. .toggle:before {
  498. top: 1px;
  499. right: auto;
  500. left: 11px;
  501. z-index: 3;
  502. color: #fff;
  503. }
  504. .toggle.active {
  505. background-color: #d7d7d7;
  506. border: 2px solid #d7d7d7;
  507. }
  508. .toggle.active .toggle-handle {
  509. margin-right: 2px;
  510. background-color: #33b5e5;
  511. border-color: #33b5e5;
  512. -webkit-transform: translate3d(50px, 0, 0);
  513. -ms-transform: translate3d(50px, 0, 0);
  514. transform: translate3d(50px, 0, 0);
  515. }
  516. .toggle.active:before {
  517. right: 14px;
  518. left: auto;
  519. color: #fff;
  520. }
  521. .navigate-left:after,
  522. .push-left:after {
  523. content: '';
  524. }
  525. .navigate-right:after,
  526. .push-right:after {
  527. content: '';
  528. }
  529. .icon-caret:before {
  530. content: '\e800';
  531. }
  532. .icon-down:before,
  533. .icon-down-nav:before {
  534. content: '\e801';
  535. }
  536. .icon-download:before {
  537. content: '\e802';
  538. }
  539. .icon-left:before,
  540. .icon-left-nav:before {
  541. content: '\e803';
  542. }
  543. .icon-more-vertical:before {
  544. content: '\e804';
  545. }
  546. .icon-more:before {
  547. content: '\e805';
  548. }
  549. .icon-right:before,
  550. .icon-right-nav:before {
  551. content: '\e806';
  552. }
  553. .icon-search:before {
  554. content: '\e807';
  555. }
  556. .icon-share:before {
  557. content: '\e808';
  558. }
  559. .icon-up:before,
  560. .icon-up-nav:before {
  561. content: '\e809';
  562. }