Keine Beschreibung

onsenui.css 16KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738
  1. /*! onsenui - v2.10.8 - 2019-04-01 */
  2. @import url("./ionicons/css/ionicons.min.css");
  3. @import url("./material-design-iconic-font/css/material-design-iconic-font.min.css");
  4. @import url("./font_awesome/css/font-awesome.min.css");
  5. @import url("./font_awesome/css/v4-shims.min.css");
  6. ons-page, ons-navigator,
  7. ons-tabbar,
  8. ons-gesture-detector {
  9. display: block;
  10. touch-action: manipulation; /* Remove click delay */
  11. }
  12. ons-navigator,
  13. ons-tabbar,
  14. ons-splitter,
  15. ons-action-sheet,
  16. ons-dialog,
  17. ons-toast,
  18. ons-alert-dialog {
  19. position: absolute;
  20. top: 0;
  21. left: 0;
  22. bottom: 0;
  23. right: 0;
  24. overflow: hidden;
  25. touch-action: manipulation; /* Remove click delay */
  26. }
  27. ons-toast {
  28. pointer-events: none;
  29. }
  30. ons-toast .toast {
  31. pointer-events: auto;
  32. }
  33. ons-tab {
  34. -webkit-transform: translate3d(0, 0, 0);
  35. transform: translate3d(0, 0, 0);
  36. }
  37. ons-page, ons-navigator, ons-tabbar, ons-dialog, ons-alert-dialog, ons-action-sheet, ons-toast {
  38. z-index: 2;
  39. }
  40. ons-fab, ons-speed-dial {
  41. z-index: 10001;
  42. }
  43. ons-toolbar:not([inline]), ons-bottom-toolbar {
  44. position: absolute;
  45. left: 0;
  46. right: 0;
  47. z-index: 10000;
  48. }
  49. ons-toolbar:not([inline]) {
  50. top: 0;
  51. }
  52. ons-bottom-toolbar {
  53. bottom: 0;
  54. }
  55. .page, .page__content,
  56. .page--material, .page--material__content {
  57. background-color: transparent !important;
  58. background: transparent !important;
  59. }
  60. .page__content {
  61. overflow: auto;
  62. -webkit-overflow-scrolling: touch;
  63. z-index: 0;
  64. -ms-touch-action: pan-y;
  65. }
  66. .page.overflow-visible,
  67. .page.overflow-visible .page,
  68. .page.overflow-visible .page__content,
  69. .page.overflow-visible ons-navigator,
  70. .page.overflow-visible ons-splitter {
  71. overflow: visible;
  72. }
  73. .page.overflow-visible .page__content.content-swiping,
  74. .page.overflow-visible .page__content.content-swiping .page,
  75. .page.overflow-visible .page__content.content-swiping .page__content {
  76. overflow: auto;
  77. }
  78. .page[status-bar-fill] > .page__content {
  79. top: 20px;
  80. }
  81. .page[status-bar-fill] > .toolbar {
  82. padding-top: 20px;
  83. box-sizing: content-box;
  84. }
  85. .page[status-bar-fill] > .toolbar:not(.toolbar--transparent) + .page__background,
  86. .page[status-bar-fill] > .toolbar:not(.toolbar--cover-content) + .page__background + .page__content {
  87. top: 64px;
  88. }
  89. .page[status-bar-fill] > .toolbar--material:not(.toolbar-transparent) + .page__background,
  90. .page[status-bar-fill] > .toolbar--material:not(.toolbar--cover-content) + .page__background + .page__content {
  91. top: 76px;
  92. }
  93. .page[status-bar-fill] > .toolbar.toolbar--transparent + .page__background {
  94. top: 0;
  95. }
  96. ons-tabbar[status-bar-fill] > .tabbar--top__content {
  97. top: 71px;
  98. }
  99. ons-tabbar[status-bar-fill] > .tabbar--top {
  100. padding-top: 22px;
  101. }
  102. ons-tabbar[position="top"] .page[status-bar-fill] > .page__content {
  103. top: 0px;
  104. }
  105. .toolbar + .page__background + .page__content ons-tabbar[status-bar-fill] > .tabbar--top {
  106. top: 0px;
  107. }
  108. .toolbar + .page__background + .page__content ons-tabbar[status-bar-fill] > .tabbar--top__content {
  109. top: 49px;
  110. }
  111. .page__content > .list:not(.list--material):first-child {
  112. margin-top: -1px; /* Avoid double border with toolbar */
  113. }
  114. .page--wrapper > .page__background {
  115. display: none;
  116. }
  117. ons-action-sheet[disabled],
  118. ons-dialog[disabled],
  119. ons-alert-dialog[disabled],
  120. ons-popover[disabled] {
  121. pointer-events: none;
  122. opacity: 0.75;
  123. }
  124. ons-list-item[disabled] {
  125. pointer-events: none;
  126. }
  127. ons-range[disabled] {
  128. opacity: 0.3;
  129. pointer-events: none;
  130. }
  131. ons-pull-hook {
  132. position: relative;
  133. display: block;
  134. margin: auto;
  135. text-align: center;
  136. z-index: 20002;
  137. }
  138. ons-splitter, ons-splitter-mask, ons-splitter-content, ons-splitter-side {
  139. display: block;
  140. position: absolute;
  141. left: 0;
  142. right: 0;
  143. top: 0;
  144. bottom: 0;
  145. box-sizing: border-box;
  146. z-index: 0;
  147. }
  148. ons-splitter-mask {
  149. z-index: 4;
  150. background-color: rgba(0, 0, 0, 0.1);
  151. display: none;
  152. opacity: 0;
  153. }
  154. ons-splitter-content {
  155. z-index: 2;
  156. }
  157. ons-splitter-side {
  158. right: auto;
  159. z-index: 2;
  160. }
  161. ons-splitter-side[side="right"] {
  162. right: 0;
  163. left: auto;
  164. }
  165. ons-splitter-side[mode="collapse"] {
  166. z-index: 5;
  167. left: auto;
  168. right: 100%;
  169. }
  170. ons-splitter-side[side="right"][mode="collapse"] {
  171. right: auto;
  172. left: 100%;
  173. }
  174. ons-splitter-side[mode="split"] {
  175. z-index: 3;
  176. }
  177. ons-toolbar-button > ons-icon[icon*="ion-"] {
  178. font-size: 26px;
  179. }
  180. ons-range, ons-select {
  181. display: inline-block;
  182. }
  183. ons-range > input {
  184. min-width: 50px;
  185. width: 100%;
  186. }
  187. ons-select > select {
  188. width: 100%;
  189. }
  190. ons-carousel[disabled] {
  191. pointer-events: none;
  192. opacity: 0.75;
  193. }
  194. ons-carousel[fullscreen] {
  195. height: 100%;
  196. }
  197. .ons-status-bar-mock {
  198. position: absolute;
  199. width: 100%;
  200. height: 20px;
  201. padding: 0 16px 0 6px;
  202. box-sizing: border-box;
  203. z-index: 30000;
  204. display: -webkit-box;
  205. display: -webkit-flex;
  206. display: flex;
  207. -webkit-box-pack: justify;
  208. -webkit-justify-content: space-between;
  209. justify-content: space-between;
  210. font-size: 12px;
  211. line-height: 20px;
  212. font-family: Arial, Helvetica;
  213. }
  214. .ons-status-bar-mock i {
  215. padding: 0 2px;
  216. }
  217. .ons-status-bar-mock.android {
  218. color: white;
  219. background-color: #222;
  220. font-family: Roboto, Arial, Helvetica;
  221. }
  222. .ons-status-bar-mock.android ~ * {
  223. top: 20px;
  224. bottom: 0;
  225. position: inherit;
  226. width: 100%;
  227. }
  228. .ons-ios-scroll-fix .page:not(.page--wrapper)[shown] > .page__content {
  229. overflow-y: hidden;
  230. }
  231. .ons-ios-scroll-fix ons-splitter-side > .page:not(.page--wrapper)[shown] > .page__content {
  232. overflow-y: auto;
  233. }
  234. ons-row {
  235. display: -webkit-box;
  236. display: -webkit-flex;
  237. display: -moz-box;
  238. display: -moz-flex;
  239. display: -ms-flexbox;
  240. display: flex;
  241. -webkit-flex-wrap: wrap;
  242. flex-wrap: wrap;
  243. width: 100%;
  244. box-sizing: border-box;
  245. }
  246. ons-row[vertical-align="top"], ons-row[align="top"] {
  247. -webkit-box-align: start;
  248. box-align: start;
  249. -ms-flex-align: start;
  250. -webkit-align-items: flex-start;
  251. -moz-align-items: flex-start;
  252. align-items: flex-start;
  253. }
  254. ons-row[vertical-align="bottom"], ons-row[align="bottom"] {
  255. -webkit-box-align: end;
  256. box-align: end;
  257. -ms-flex-align: end;
  258. -webkit-align-items: flex-end;
  259. -moz-align-items: flex-end;
  260. align-items: flex-end;
  261. }
  262. ons-row[vertical-align="center"], ons-row[align="center"] {
  263. -webkit-box-align: center;
  264. box-align: center;
  265. -ms-flex-align: center;
  266. -webkit-align-items: center;
  267. -moz-align-items: center;
  268. align-items: center;
  269. text-align: inherit;
  270. }
  271. ons-row + ons-row {
  272. padding-top: 0;
  273. }
  274. ons-col {
  275. -webkit-box-flex: 1;
  276. -webkit-flex: 1;
  277. -moz-box-flex: 1;
  278. -moz-flex: 1;
  279. -ms-flex: 1;
  280. flex: 1;
  281. display: block;
  282. width: 100%;
  283. box-sizing: border-box;
  284. }
  285. ons-col[vertical-align="top"], ons-col[align="top"] {
  286. -webkit-align-self: flex-start;
  287. -moz-align-self: flex-start;
  288. -ms-flex-item-align: start;
  289. align-self: flex-start;
  290. }
  291. ons-col[vertical-align="bottom"], ons-col[align="bottom"] {
  292. -webkit-align-self: flex-end;
  293. -moz-align-self: flex-end;
  294. -ms-flex-item-align: end;
  295. align-self: flex-end; }
  296. ons-col[vertical-align="center"], ons-col[align="center"] {
  297. -webkit-align-self: center;
  298. -moz-align-self: center;
  299. -ms-flex-item-align: center;
  300. text-align: inherit;
  301. }
  302. /*
  303. Copyright 2013-2015 ASIAL CORPORATION
  304. Licensed under the Apache License, Version 2.0 (the "License");
  305. you may not use this file except in compliance with the License.
  306. You may obtain a copy of the License at
  307. http://www.apache.org/licenses/LICENSE-2.0
  308. Unless required by applicable law or agreed to in writing, software
  309. distributed under the License is distributed on an "AS IS" BASIS,
  310. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  311. See the License for the specific language governing permissions and
  312. limitations under the License.
  313. */
  314. .ons-icon {
  315. display: inline-block;
  316. line-height: inherit;
  317. font-style: normal;
  318. font-weight: normal;
  319. font-size: inherit;
  320. text-rendering: auto;
  321. -webkit-font-smoothing: antialiased;
  322. -moz-osx-font-smoothing: grayscale;
  323. }
  324. .segment__button .ons-icon {
  325. line-height: initial;
  326. }
  327. :not(ons-toolbar-button):not(ons-action-sheet-button):not(.segment__button) > .ons-icon--ion {
  328. line-height: 0.75em;
  329. vertical-align: -25%;
  330. }
  331. .ons-icon[spin] {
  332. -webkit-animation: ons-icon-spin 2s infinite linear;
  333. -moz-animation: ons-icon-spin 2s infinite linear;
  334. animation: ons-icon-spin 2s infinite linear;
  335. }
  336. @-moz-keyframes ons-icon-spin {
  337. 0% {
  338. -moz-transform: rotate(0deg);
  339. }
  340. 100% {
  341. -moz-transform: rotate(359deg);
  342. }
  343. }
  344. @-webkit-keyframes ons-icon-spin {
  345. 0% {
  346. -webkit-transform: rotate(0deg);
  347. }
  348. 100% {
  349. -webkit-transform: rotate(359deg);
  350. }
  351. }
  352. @keyframes ons-icon-spin {
  353. 0% {
  354. -webkit-transform: rotate(0deg);
  355. transform: rotate(0deg);
  356. }
  357. 100% {
  358. -webkit-transform: rotate(359deg);
  359. transform: rotate(359deg);
  360. }
  361. }
  362. .ons-icon[rotate="90"] {
  363. -webkit-transform: rotate(90deg);
  364. -moz-transform: rotate(90deg);
  365. transform: rotate(90deg);
  366. }
  367. .ons-icon[rotate="180"] {
  368. -webkit-transform: rotate(180deg);
  369. -moz-transform: rotate(180deg);
  370. transform: rotate(180deg);
  371. }
  372. .ons-icon[rotate="270"] {
  373. -webkit-transform: rotate(270deg);
  374. -moz-transform: rotate(270deg);
  375. transform: rotate(270deg);
  376. }
  377. .ons-icon[fixed-width] {
  378. width: 1.28571429em;
  379. text-align: center;
  380. }
  381. .ons-icon--lg {
  382. font-size: 1.33333333em;
  383. line-height: 0.75em;
  384. vertical-align: -15%;
  385. }
  386. .ons-icon--2x {
  387. font-size: 2em;
  388. }
  389. .ons-icon--3x {
  390. font-size: 3em;
  391. }
  392. .ons-icon--4x {
  393. font-size: 4em;
  394. }
  395. .ons-icon--5x {
  396. font-size: 5em;
  397. }
  398. /**
  399. * ons-icon with Font Awesome backward compatibility
  400. */
  401. .ons-icon.fa {
  402. font-family: 'Font Awesome 5 Brands', 'Font Awesome 5 Free';
  403. font-weight: 900;
  404. }
  405. ons-input, ons-radio, ons-checkbox, ons-search-input {
  406. display: inline-block;
  407. position: relative;
  408. }
  409. ons-input .text-input,
  410. ons-search-input .search-input {
  411. width: 100%;
  412. display: inline-block;
  413. }
  414. ons-input .text-input__label:not(.text-input--material__label) {
  415. display: none;
  416. }
  417. ons-input:not([float]) .text-input--material__label--active {
  418. display: none;
  419. }
  420. ons-input[disabled],
  421. ons-radio[disabled],
  422. ons-checkbox[disabled],
  423. ons-segment[disabled],
  424. ons-search-input[disabled] {
  425. opacity: 0.5;
  426. pointer-events: none;
  427. }
  428. ons-input input.text-input--material::-webkit-input-placeholder {
  429. color: transparent;
  430. }
  431. ons-input input.text-input--material::-moz-placeholder {
  432. color: transparent;
  433. }
  434. ons-input input.text-input--material:-ms-input-placeholder {
  435. color: transparent;
  436. }
  437. /* Suppress safe area support for pages in splitter sides */
  438. @media (orientation: landscape) {
  439. html[onsflag-iphonex-landscape] ons-splitter-side[side="left"] .page__content {
  440. padding-right: 0;
  441. }
  442. html[onsflag-iphonex-landscape] ons-splitter-side[side="right"] .page__content {
  443. padding-left: 0;
  444. }
  445. }
  446. /* Support the situation that a progress bar is located just below a toolbar */
  447. @media (orientation: landscape) {
  448. html[onsflag-iphonex-landscape] .page__content > ons-progress-bar > .progress-bar {
  449. margin-left: -44px;
  450. margin-right: -44px;
  451. width: calc(100% + 88px);
  452. }
  453. }
  454. /* Lists in .page__content in splitter-sides */
  455. @media (orientation: landscape) {
  456. /* Suppress left safe area support for pages in right splitter sides */
  457. html[onsflag-iphonex-landscape] ons-splitter-side[side="right"] .page__content > .list:not(.list--inset) {
  458. margin-left: 0;
  459. }
  460. html[onsflag-iphonex-landscape] ons-splitter-side[side="right"] .page__content > .list:not(.list--inset) > .list-header {
  461. padding-left: 15px;
  462. }
  463. html[onsflag-iphonex-landscape] ons-splitter-side[side="right"] .page__content > .list:not(.list--inset) > .list-item {
  464. padding-left: 14px;
  465. }
  466. /* Suppress right safe area support for pages in left splitter sides */
  467. html[onsflag-iphonex-landscape] ons-splitter-side[side="left"] .page__content > .list:not(.list--inset) {
  468. margin-right: 0;
  469. }
  470. html[onsflag-iphonex-landscape] ons-splitter-side[side="left"] .page__content > .list:not(.list--inset) > .list-item--chevron:before {
  471. right: 16px;
  472. }
  473. html[onsflag-iphonex-landscape] ons-splitter-side[side="left"] .page__content > .list:not(.list--inset) > .list-item > .list-item__center:last-child {
  474. padding-right: 6px;
  475. }
  476. html[onsflag-iphonex-landscape] ons-splitter-side[side="left"] .page__content > .list:not(.list--inset) > .list-item > .list-item__right {
  477. padding-right: 12px;
  478. }
  479. html[onsflag-iphonex-landscape] ons-splitter-side[side="left"] .page__content > .list:not(.list--inset) > .list-item > .list-item--chevron__right {
  480. padding-right: 30px;
  481. }
  482. }
  483. /*
  484. Copyright 2013-2015 ASIAL CORPORATION
  485. Licensed under the Apache License, Version 2.0 (the "License");
  486. you may not use this file except in compliance with the License.
  487. You may obtain a copy of the License at
  488. http://www.apache.org/licenses/LICENSE-2.0
  489. Unless required by applicable law or agreed to in writing, software
  490. distributed under the License is distributed on an "AS IS" BASIS,
  491. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  492. See the License for the specific language governing permissions and
  493. limitations under the License.
  494. */
  495. ons-progress-bar {
  496. display: block;
  497. }
  498. ons-progress-circular {
  499. display: inline-block;
  500. width: 32px;
  501. height: 32px;
  502. }
  503. ons-progress-circular > svg.progress-circular {
  504. width: 100%;
  505. height: 100%;
  506. }
  507. /*
  508. Copyright 2013-2015 ASIAL CORPORATION
  509. Licensed under the Apache License, Version 2.0 (the "License");
  510. you may not use this file except in compliance with the License.
  511. You may obtain a copy of the License at
  512. http://www.apache.org/licenses/LICENSE-2.0
  513. Unless required by applicable law or agreed to in writing, software
  514. distributed under the License is distributed on an "AS IS" BASIS,
  515. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  516. See the License for the specific language governing permissions and
  517. limitations under the License.
  518. */
  519. .ripple {
  520. display: block;
  521. position: absolute;
  522. overflow: hidden;
  523. top: 0;
  524. left: 0;
  525. right: 0;
  526. bottom: 0;
  527. pointer-events: none;
  528. }
  529. .ripple__background {
  530. background: rgba(255, 255, 255, 0.2);
  531. position: absolute;
  532. top: 0;
  533. left: 0;
  534. right: 0;
  535. bottom: 0;
  536. opacity: 0;
  537. pointer-events: none;
  538. }
  539. .ripple__wave {
  540. background: rgba(255, 255, 255, 0.2);
  541. width: 0;
  542. height: 0;
  543. border-radius: 50%;
  544. position: absolute;
  545. top: 0;
  546. left: 0;
  547. z-index: 0;
  548. pointer-events: none;
  549. }
  550. /* FIXME */
  551. ons-list-item .ripple__wave,
  552. ons-list-item .ripple__background,
  553. .button--material--flat .ripple__wave,
  554. .button--material--flat .ripple__background {
  555. background: rgba(189, 189, 189, 0.3);
  556. }
  557. .ripple--light-gray__wave,
  558. .ripple--light-gray__background {
  559. background: rgba(189, 189, 189, 0.3);
  560. }
  561. /*
  562. Copyright 2013-2015 ASIAL CORPORATION
  563. Licensed under the Apache License, Version 2.0 (the "License");
  564. you may not use this file except in compliance with the License.
  565. You may obtain a copy of the License at
  566. http://www.apache.org/licenses/LICENSE-2.0
  567. Unless required by applicable law or agreed to in writing, software
  568. distributed under the License is distributed on an "AS IS" BASIS,
  569. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  570. See the License for the specific language governing permissions and
  571. limitations under the License.
  572. */
  573. .ons-swiper {
  574. overflow: hidden;
  575. display: block;
  576. box-sizing: border-box;
  577. }
  578. .ons-swiper-target {
  579. display: -webkit-box;
  580. display: -webkit-flex;
  581. display: flex;
  582. height: 100%;
  583. z-index: 1;
  584. -webkit-box-orient: horizontal;
  585. -webkit-box-direction: normal;
  586. -webkit-flex-direction: row;
  587. flex-direction: row;
  588. }
  589. .ons-swiper-target--vertical {
  590. -webkit-box-orient: vertical;
  591. -webkit-box-direction: normal;
  592. -webkit-flex-direction: column;
  593. flex-direction: column;
  594. }
  595. .ons-swiper-target > * {
  596. height: inherit;
  597. -webkit-flex-shrink: 0;
  598. flex-shrink: 0;
  599. box-sizing: border-box;
  600. width: 100%;
  601. position: relative !important;
  602. }
  603. .ons-swiper-target.active:not(.swiping) > .page:not([shown]) {
  604. visibility: hidden;
  605. }
  606. .ons-swiper-tabbar .tabbar--material__button:after {
  607. display: none;
  608. }
  609. .ons-swiper-blocker {
  610. display: block;
  611. position: absolute;
  612. top: 0;
  613. bottom: 0;
  614. left: 0;
  615. right: 0;
  616. pointer-events: none
  617. }