From 967cdaf666026c5c90a7ff793610695e1a8430f9 Mon Sep 17 00:00:00 2001 From: Adam Bradley Date: Wed, 6 Nov 2013 22:02:40 -0600 Subject: [PATCH] remove .alert css --- dist/css/ionic-ios7.css | 2747 +++++++++++++++++++++++++++++++ dist/css/ionic.css | 54 - scss/ionic-ios7/ionic-ios7.scss | 8 +- scss/ionic/_alerts.scss | 62 - scss/ionic/_variables.scss | 23 - scss/ionic/ionic.scss | 2 - test/alerts.html | 43 - test/index.html | 1 - 8 files changed, 2750 insertions(+), 190 deletions(-) delete mode 100644 scss/ionic/_alerts.scss delete mode 100644 test/alerts.html diff --git a/dist/css/ionic-ios7.css b/dist/css/ionic-ios7.css index e69de29bb2..c9859375a9 100644 --- a/dist/css/ionic-ios7.css +++ b/dist/css/ionic-ios7.css @@ -0,0 +1,2747 @@ +@charset "UTF-8"; +/** +* Adapted from normalize.css and some reset.css. We don't care even one +* bit about old IE, so we don't need any hacks for that in here. +* +* There are probably other things we could remove here, as well. +* +* normalize.css v2.1.2 | MIT License | git.io/normalize +*/ +/** + * Eric Meyer's Reset CSS v2.0 (http://meyerweb.com/eric/tools/css/reset/) + * http://cssreset.com + */ +html, body, div, span, applet, object, iframe, +h1, h2, h3, h4, h5, h6, p, blockquote, pre, +a, abbr, acronym, address, big, cite, code, +del, dfn, em, img, ins, kbd, q, s, samp, +small, strike, strong, sub, sup, tt, var, +b, u, center, +dl, dt, dd, ol, ul, li, +fieldset, form, label, legend, +table, caption, tbody, tfoot, thead, tr, th, td, +article, aside, canvas, details, embed, fieldset, +figure, figcaption, footer, header, hgroup, +menu, nav, output, ruby, section, summary, +time, mark, audio, video { + margin: 0; + padding: 0; + border: 0; + vertical-align: baseline; + font: inherit; + font-size: 100%; } + +ol, ul { + list-style: none; } + +blockquote, q { + quotes: none; } + +blockquote:before, blockquote:after, +q:before, q:after { + content: ''; + content: none; } + +/** + * Prevent modern browsers from displaying `audio` without controls. + * Remove excess height in iOS 5 devices. + */ +audio:not([controls]) { + display: none; + height: 0; } + +/** + * Hide the `template` element in IE, Safari, and Firefox < 22. + */ +[hidden], +template { + display: none; } + +script { + display: none !important; } + +/* ========================================================================== + Base + ========================================================================== */ +/** + * 1. Set default font family to sans-serif. + * 2. Prevent iOS text size adjust after orientation change, without disabling + * user zoom. + */ +html { + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + -o-user-select: none; + user-select: none; + font-family: sans-serif; + /* 1 */ + -webkit-text-size-adjust: 100%; + -ms-text-size-adjust: 100%; + /* 2 */ + -webkit-text-size-adjust: 100%; + /* 2 */ } + +/** + * Remove default margin. + */ +body { + margin: 0; + line-height: 1; } + +/* * + * Remove tap highlight color on Safari + */ +a { + -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } + +/** + * Address `outline` inconsistency between Chrome and other browsers. + */ +a:focus { + outline: thin dotted; } + +/** + * Improve readability when focused and also mouse hovered in all browsers. + */ +a:active, +a:hover { + outline: 0; } + +/* ========================================================================== + Typography + ========================================================================== */ +/** + * Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome. + */ +b, +strong { + font-weight: bold; } + +/** + * Address styling not present in Safari 5 and Chrome. + */ +dfn { + font-style: italic; } + +/** + * Address differences between Firefox and other browsers. + */ +hr { + -moz-box-sizing: content-box; + box-sizing: content-box; + height: 0; } + +/** + * Correct font family set oddly in Safari 5 and Chrome. + */ +code, +kbd, +pre, +samp { + font-size: 1em; + font-family: monospace, serif; } + +/** + * Improve readability of pre-formatted text in all browsers. + */ +pre { + white-space: pre-wrap; } + +/** + * Set consistent quote types. + */ +q { + quotes: "\201C" "\201D" "\2018" "\2019"; } + +/** + * Address inconsistent and variable font size in all browsers. + */ +small { + font-size: 80%; } + +/** + * Prevent `sub` and `sup` affecting `line-height` in all browsers. + */ +sub, +sup { + position: relative; + vertical-align: baseline; + font-size: 75%; + line-height: 0; } + +sup { + top: -0.5em; } + +sub { + bottom: -0.25em; } + +/** + * Define consistent border, margin, and padding. + */ +fieldset { + margin: 0 2px; + padding: 0.35em 0.625em 0.75em; + border: 1px solid silver; } + +/** + * 1. Correct `color` not being inherited in IE 8/9. + * 2. Remove padding so people aren't caught out if they zero out fieldsets. + */ +legend { + padding: 0; + /* 2 */ + border: 0; + /* 1 */ } + +/** + * 1. Correct font family not being inherited in all browsers. + * 2. Correct font size not being inherited in all browsers. + * 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome. + * 4. Remove any default :focus styles + * 5. Make sure webkit font smoothing is being inherited + */ +button, +input, +select, +textarea { + margin: 0; + /* 3 */ + font-size: 100%; + /* 2 */ + font-family: inherit; + /* 1 */ + outline-offset: 0; + /* 4 */ + outline-style: none; + /* 4 */ + outline-width: 0; + /* 4 */ + -webkit-font-smoothing: inherit; + /* 5 */ } + +/** + * Address Firefox 4+ setting `line-height` on `input` using `!important` in + * the UA stylesheet. + */ +button, +input { + line-height: normal; } + +/** + * Address inconsistent `text-transform` inheritance for `button` and `select`. + * All other form control elements do not inherit `text-transform` values. + * Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+. + * Correct `select` style inheritance in Firefox 4+ and Opera. + */ +button, +select { + text-transform: none; } + +/** + * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` + * and `video` controls. + * 2. Correct inability to style clickable `input` types in iOS. + * 3. Improve usability and consistency of cursor style between image-type + * `input` and others. + */ +button, +html input[type="button"], +input[type="reset"], +input[type="submit"] { + cursor: pointer; + /* 3 */ + -webkit-appearance: button; + /* 2 */ } + +/** + * Re-set default cursor for disabled elements. + */ +button[disabled], +html input[disabled] { + cursor: default; } + +/** + * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome. + * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome + * (include `-moz` to future-proof). + */ +input[type="search"] { + -webkit-box-sizing: content-box; + /* 2 */ + -moz-box-sizing: content-box; + box-sizing: content-box; + -webkit-appearance: textfield; + /* 1 */ } + +/** + * Remove inner padding and search cancel button in Safari 5 and Chrome + * on OS X. + */ +input[type="search"]::-webkit-search-cancel-button, +input[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; } + +/** + * Remove inner padding and border in Firefox 4+. + */ +button::-moz-focus-inner, +input::-moz-focus-inner { + padding: 0; + border: 0; } + +/** + * 1. Remove default vertical scrollbar in IE 8/9. + * 2. Improve readability and alignment in all browsers. + */ +textarea { + overflow: auto; + /* 1 */ + vertical-align: top; + /* 2 */ } + +/* ========================================================================== + Tables + ========================================================================== */ +/** + * Remove most spacing between table cells. + */ +table { + border-spacing: 0; + border-collapse: collapse; } + +*, +*:before, +*:after { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; } + +a { + -webkit-user-drag: none; + -webkit-tap-highlight-color: transparent; } + +img { + -webkit-user-drag: none; } + +a:focus, button:focus { + outline: 0; } + +body, .ionic-body { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + overflow: hidden; + margin: 0; + padding: 0; + color: black; + word-wrap: break-word; + font-size: 14px; + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + line-height: 20px; + text-rendering: optimizeLegibility; + -webkit-font-smoothing: antialiased; + -webkit-text-size-adjust: none; + text-size-adjust: none; + -webkit-tap-highlight-color: transparent; + -webkit-user-drag: none; + -webkit-user-select: none; } + +.content:before, +.content:after { + display: block; + overflow: hidden; + height: 0; + content: "\00a0"; + /* No-break space character */ } + +/* Force all relatively and absolutely positioned elements still render while scrolling + Note: This is a bug for "-webkit-overflow-scrolling: touch" (via ratchet) */ +.content > * { + -webkit-transform: translateZ(0px); + transform: translateZ(0px); } + +.content { + position: absolute; + width: 100%; + height: 100%; } + +.scroll-content { + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + overflow: hidden; } + +.overflow-scroll { + overflow: auto; + -webkit-overflow-scrolling: touch; } + +.has-header { + top: 44px; } + +.has-footer { + bottom: 44px; } + +.has-tabs { + bottom: 84px; } + +.pane { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1; + width: 100%; + height: 100%; + background-color: #fff; } + +p { + margin: 0 0 10px; } + +.lead { + margin-bottom: 20px; + font-weight: 200; + font-size: 16.1px; + line-height: 1.4; } + +small { + font-size: 85%; } + +cite { + font-style: normal; } + +.text-left { + text-align: left; } + +.text-right { + text-align: right; } + +.text-center { + text-align: center; } + +h1, h2, h3, h4, h5, h6, +.h1, .h2, .h3, .h4, .h5, .h6 { + color: black; + font-weight: 500; + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + line-height: 1.1; } + h1 small, h2 small, h3 small, h4 small, h5 small, h6 small, + .h1 small, .h2 small, .h3 small, .h4 small, .h5 small, .h6 small { + font-weight: normal; + line-height: 1; } + +h1, +h2, +h3 { + margin-top: 20px; + margin-bottom: 10px; } + +h4, +h5, +h6 { + margin-top: 10px; + margin-bottom: 10px; } + +h1, .h1 { + font-size: 36px; } + +h2, .h2 { + font-size: 30px; } + +h3, .h3 { + font-size: 24px; } + +h4, .h4 { + font-size: 18px; } + +h5, .h5 { + font-size: 14px; } + +h6, .h6 { + font-size: 12px; } + +h1 small, .h1 small { + font-size: 24px; } + +h2 small, .h2 small { + font-size: 18px; } + +h3 small, .h3 small, +h4 small, .h4 small { + font-size: 14px; } + +dl { + margin-bottom: 20px; } + +dt, +dd { + line-height: 1.42857; } + +dt { + font-weight: bold; } + +dd { + margin-left: 0; } + +blockquote { + margin: 0 0 20px; + padding: 10px 20px; + border-left: 5px solid gray; } + blockquote p { + font-weight: 300; + font-size: 17.5px; + line-height: 1.25; } + blockquote p:last-child { + margin-bottom: 0; } + blockquote small { + display: block; + line-height: 1.42857; } + blockquote small:before { + content: '\2014 \00A0'; } + blockquote.pull-right { + padding-right: 15px; + padding-left: 0; + border-right: 5px solid gray; + border-left: 0; } + blockquote.pull-right p, + blockquote.pull-right small { + text-align: right; } + blockquote.pull-right small:before { + content: ''; } + blockquote.pull-right small:after { + content: '\00A0 \2014'; } + +q:before, +q:after, +blockquote:before, +blockquote:after { + content: ""; } + +address { + display: block; + margin-bottom: 20px; + font-style: normal; + line-height: 1.42857; } + +a.subdued‎ { + padding-right: 10px; + color: #555555; + text-decoration: none; } + a.subdued‎:hover { + text-decoration: none; } + a.subdued‎:last-child { + padding-right: 0; } + +.bar { + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + -o-user-select: none; + user-select: none; + position: absolute; + right: 0; + left: 0; + z-index: 10; + display: -webkit-box; + display: box; + box-sizing: border-box; + padding: 5px; + width: 100%; + height: 44px; + border-width: 0; + border-style: solid; + border-top: 1px solid transparent; + border-bottom: 1px solid #dddddd; + background-color: white; + background-size: 0; } + @media (min--moz-device-pixel-ratio: 1.5), (-webkit-min-device-pixel-ratio: 1.5), (min-device-pixel-ratio: 1.5), (min-resolution: 144dpi), (min-resolution: 1.5dppx) { + .bar { + border-top: none !important; + border-bottom: none !important; + background-image: linear-gradient(0deg, #dddddd, #dddddd, 50%, transparent 50%); + background-position: bottom; + background-size: 100% 1px; + background-repeat: no-repeat; } } + .bar.bar-clear { + border: none; + background: none; + color: #fff; } + .bar.bar-clear .button { + color: #fff; } + .bar.bar-clear .title { + color: #fff; } + .bar.bar-default { + background-color: rgba(255, 255, 255, 0.9); + border-color: #dddddd; + background-image: linear-gradient(0deg, #dddddd, #dddddd 50%, transparent 50%); + color: #333333; } + .bar.bar-default .title { + color: #333333; } + .bar.bar-secondary { + background-color: rgba(245, 245, 245, 0.9); + border-color: #bbbbbb; + background-image: linear-gradient(0deg, #bbbbbb, #bbbbbb 50%, transparent 50%); + color: #333333; } + .bar.bar-secondary .title { + color: #333333; } + .bar.bar-primary { + background-color: rgba(74, 135, 238, 0.9); + border-color: #3b6dc2; + background-image: linear-gradient(0deg, #3b6dc2, #3b6dc2 50%, transparent 50%); + color: white; } + .bar.bar-primary .title { + color: white; } + .bar.bar-info { + background-color: rgba(67, 206, 230, 0.9); + border-color: #3bb3c8; + background-image: linear-gradient(0deg, #3bb3c8, #3bb3c8 50%, transparent 50%); + color: white; } + .bar.bar-info .title { + color: white; } + .bar.bar-success { + background-color: rgba(102, 204, 51, 0.9); + border-color: #5bb22f; + background-image: linear-gradient(0deg, #5bb22f, #5bb22f 50%, transparent 50%); + color: white; } + .bar.bar-success .title { + color: white; } + .bar.bar-warning { + background-color: rgba(240, 184, 64, 0.9); + border-color: #d29f31; + background-image: linear-gradient(0deg, #d29f31, #d29f31 50%, transparent 50%); + color: white; } + .bar.bar-warning .title { + color: white; } + .bar.bar-danger { + background-color: rgba(239, 78, 58, 0.9); + border-color: #c73927; + background-image: linear-gradient(0deg, #c73927, #c73927 50%, transparent 50%); + color: white; } + .bar.bar-danger .title { + color: white; } + .bar.bar-dark { + background-color: rgba(68, 68, 68, 0.9); + border-color: #111111; + background-image: linear-gradient(0deg, #111111, #111111 50%, transparent 50%); + color: white; } + .bar.bar-dark .title { + color: white; } + .bar .title { + position: absolute; + top: 0; + right: 0; + left: 0; + z-index: 0; + margin: 0; + min-width: 30px; + text-align: center; + text-overflow: ellipsis; + white-space: nowrap; + font-size: 17px; + line-height: 44px; } + .bar .title a { + color: inherit; } + .bar > .button { + z-index: 1; + padding: 0 8px; + height: 32px; + min-width: 44px; + min-height: 31px; + font-size: 12px; + line-height: 29px; } + .bar > .button .icon { + font-size: 24px; + line-height: 29px; } + .bar .button-bar > .button { + height: 32px; + min-height: 31px; + line-height: 30px; } + .bar .button-bar + .button, .bar .button + .button-bar { + margin-left: 5px; } + .bar .title + .button:last-child, + .bar > .button + .button:last-child, + .bar > .button.pull-right, + .bar .title + .buttons { + position: absolute; + top: 5px; + right: 5px; + bottom: 5px; } + +.bar-default .button { + color: #333333; + background-color: white; + border-color: #dddddd; } + .bar-default .button:hover { + color: #333333; + text-decoration: none; } + .bar-default .button.active, .bar-default .button:active { + background-color: #fafafa; + box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.15); + border-color: #bbbbbb; } + .bar-default .button.button-clear { + color: #333333; + background: none; + box-shadow: none; + font-size: 17px; } + +.bar-secondary .button { + color: #333333; + background-color: whitesmoke; + border-color: #bbbbbb; } + .bar-secondary .button:hover { + color: #333333; + text-decoration: none; } + .bar-secondary .button.active, .bar-secondary .button:active { + background-color: #e5e5e5; + box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.15); + border-color: #999999; } + .bar-secondary .button.button-clear { + color: #333333; + background: none; + box-shadow: none; + font-size: 17px; } + +.bar-primary .button { + color: white; + background-color: #4a87ee; + border-color: #3b6dc2; } + .bar-primary .button:hover { + color: white; + text-decoration: none; } + .bar-primary .button.active, .bar-primary .button:active { + background-color: #4175ce; + box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.15); + border-color: #32599c; } + .bar-primary .button.button-clear { + color: white; + background: none; + box-shadow: none; + font-size: 17px; } + +.bar-info .button { + color: white; + background-color: #43cee6; + border-color: #3bb3c8; } + .bar-info .button:hover { + color: white; + text-decoration: none; } + .bar-info .button.active, .bar-info .button:active { + background-color: #3db8cd; + box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.15); + border-color: #3293a4; } + .bar-info .button.button-clear { + color: white; + background: none; + box-shadow: none; + font-size: 17px; } + +.bar-success .button { + color: white; + background-color: #66cc33; + border-color: #5bb22f; } + .bar-success .button:hover { + color: white; + text-decoration: none; } + .bar-success .button.active, .bar-success .button:active { + background-color: #55aa2b; + box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.15); + border-color: #448922; } + .bar-success .button.button-clear { + color: white; + background: none; + box-shadow: none; + font-size: 17px; } + +.bar-warning .button { + color: white; + background-color: #f0b840; + border-color: #d29f31; } + .bar-warning .button:hover { + color: white; + text-decoration: none; } + .bar-warning .button.active, .bar-warning .button:active { + background-color: #e2a114; + box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.15); + border-color: #b88517; } + .bar-warning .button.button-clear { + color: white; + background: none; + box-shadow: none; + font-size: 17px; } + +.bar-danger .button { + color: white; + background-color: #ef4e3a; + border-color: #c73927; } + .bar-danger .button:hover { + color: white; + text-decoration: none; } + .bar-danger .button.active, .bar-danger .button:active { + background-color: #ce4331; + box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.15); + border-color: #9f3527; } + .bar-danger .button.button-clear { + color: white; + background: none; + box-shadow: none; + font-size: 17px; } + +.bar-dark .button { + color: white; + background-color: #444444; + border-color: #111111; } + .bar-dark .button:hover { + color: white; + text-decoration: none; } + .bar-dark .button.active, .bar-dark .button:active { + background-color: #222222; + box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.15); + border-color: black; } + .bar-dark .button.button-clear { + color: white; + background: none; + box-shadow: none; + font-size: 17px; } + +.bar-header { + top: 0; + border-top-width: 0; + border-bottom-width: 1px; } + +.bar-footer { + bottom: 0; + border-top-width: 1px; + border-bottom-width: 0; + background-position: top; } + +.bar-tabs { + padding: 0; } + +.bar-subheader { + top: 44px; + display: block; } + +.bar-subfooter { + bottom: 44px; + display: block; } + +/** + * Tabs + * + * A navigation bar with any number of tab items supported. + */ +.tabs { + display: -webkit-box; + display: -webkit-flex; + display: -moz-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-direction: normal; + -webkit-box-orient: horizontal; + -webkit-flex-direction: horizontal; + -moz-flex-direction: horizontal; + -ms-flex-direction: horizontal; + flex-direction: horizontal; + background-color: white; + background-image: linear-gradient(0deg, #dddddd, #dddddd 50%, transparent 50%); + border-color: #dddddd; + color: #333333; + position: fixed; + bottom: 0; + z-index: 5; + width: 100%; + height: 49px; + border-style: solid; + border-top-width: 1px; + line-height: 49px; + background-size: 0; } + .tabs.tabs-default { + background-color: white; + background-image: linear-gradient(0deg, #dddddd, #dddddd 50%, transparent 50%); + border-color: #dddddd; + color: #333333; } + .tabs.tabs-secondary { + background-color: whitesmoke; + background-image: linear-gradient(0deg, #bbbbbb, #bbbbbb 50%, transparent 50%); + border-color: #bbbbbb; + color: #333333; } + .tabs.tabs-primary { + background-color: #4a87ee; + background-image: linear-gradient(0deg, #3b6dc2, #3b6dc2 50%, transparent 50%); + border-color: #3b6dc2; + color: white; } + .tabs.tabs-success { + background-color: #66cc33; + background-image: linear-gradient(0deg, #5bb22f, #5bb22f 50%, transparent 50%); + border-color: #5bb22f; + color: white; } + .tabs.tabs-info { + background-color: #43cee6; + background-image: linear-gradient(0deg, #3bb3c8, #3bb3c8 50%, transparent 50%); + border-color: #3bb3c8; + color: white; } + .tabs.tabs-warning { + background-color: #f0b840; + background-image: linear-gradient(0deg, #d29f31, #d29f31 50%, transparent 50%); + border-color: #d29f31; + color: white; } + .tabs.tabs-danger { + background-color: #ef4e3a; + background-image: linear-gradient(0deg, #c73927, #c73927 50%, transparent 50%); + border-color: #c73927; + color: white; } + .tabs.tabs-dark { + background-color: #444444; + background-image: linear-gradient(0deg, #111111, #111111 50%, transparent 50%); + border-color: #111111; + color: white; } + @media (min--moz-device-pixel-ratio: 1.5), (-webkit-min-device-pixel-ratio: 1.5), (min-device-pixel-ratio: 1.5), (min-resolution: 144dpi), (min-resolution: 1.5dppx) { + .tabs { + padding-top: 2px; + border-top: none !important; + border-bottom: none !important; + background-position: top; + background-size: 100% 1px; + background-repeat: no-repeat; } } + +.tabs-top { + top: 44px; } + +.tab-item { + -webkit-box-flex: 1; + -webkit-flex: 1; + -moz-box-flex: 1; + -moz-flex: 1; + -ms-flex: 1; + flex: 1; + display: inline-block; + overflow: hidden; + box-sizing: border-box; + margin: auto; + height: 100%; + color: inherit; + text-align: center; + text-decoration: none; + text-overflow: ellipsis; + white-space: nowrap; + font-weight: 400; + font-size: 14px; + font-family: "Helvetica Neue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, sans-serif; + opacity: 0.7; } + +.tabs-icon-top .tab-item, +.tabs-icon-bottom .tab-item { + font-size: 10px; + line-height: 14px; } + +.tab-item .icon { + display: block; + margin: 0 auto; + height: 32px; + font-size: 32px; } + +.tabs-icon-left .tab-item, +.tabs-icon-right .tab-item { + font-size: 10px; } + .tabs-icon-left .tab-item .icon, + .tabs-icon-right .tab-item .icon { + font-size: 24px; + display: inline-block; + vertical-align: top; + line-height: 49px; } + +.tabs-icon-only .icon { + line-height: inherit; } + +/* Navigational tab */ +/* Active state for tab */ +.tab-item.active, .tab-item:active { + opacity: 1; } + .tab-item.active.tab-item-default, .tab-item:active.tab-item-default { + color: white; } + .tab-item.active.tab-item-secondary, .tab-item:active.tab-item-secondary { + color: whitesmoke; } + .tab-item.active.tab-item-primary, .tab-item:active.tab-item-primary { + color: #4a87ee; } + .tab-item.active.tab-item-success, .tab-item:active.tab-item-success { + color: #66cc33; } + .tab-item.active.tab-item-danger, .tab-item:active.tab-item-danger { + color: #ef4e3a; } + .tab-item.active.tab-item-warning, .tab-item:active.tab-item-warning { + color: #f0b840; } + .tab-item.active.tab-item-dark, .tab-item:active.tab-item-dark { + color: #444444; } + +.item.tabs { + display: -webkit-box; + display: -webkit-flex; + display: -moz-flex; + display: -ms-flexbox; + display: flex; + padding: 0; } + .item.tabs .icon { + position: relative; } + +.menu { + position: absolute; + top: 0; + bottom: 0; + z-index: 0; + overflow-y: scroll; + min-height: 100%; + max-height: 100%; + width: 270px; + background-color: #fff; + -webkit-overflow-scrolling: touch; } + +.menu-content { + box-shadow: -1px 0px 3px rgba(0, 0, 0, 0.2), 1px 0px 3px rgba(0, 0, 0, 0.2); } + +.menu-left { + left: 0; } + +.menu-right { + right: 0; } + +.menu-animated { + -webkit-transition: -webkit-transform 200ms ease; + -moz-transition: -moz-transform 200ms ease; + transition: transform 200ms ease; } + +/** + * Modals are independent windows that slide in from off-screen. + */ +.modal { + position: fixed; + z-index: 10; + top: 0; + opacity: 0; + -webkit-transform: translate3d(0, 100%, 0); + width: 100%; + min-height: 100%; + overflow: hidden; + background-color: white; } + .modal.active { + height: 100%; } + +.item { + position: relative; + z-index: 2; + display: block; + margin: -1px; + padding: 15px 40px 15px 15px; + border: none; + background-color: white; + box-shadow: inset 0 0 1px #666666; + font-size: 16px; + -webkit-transition: margin-left 0.2s ease-in-out, margin-right 0.2s ease-in-out, left 0.2s ease-in-out; } + .item h2 { + margin: 0 0 4px 0; + font-size: 16px; } + .item h3 { + margin: 0 0 4px 0; + font-size: 14px; } + .item h4 { + margin: 0 0 4px 0; + font-size: 12px; } + .item h5, .item h6 { + margin: 0 0 3px 0; + font-size: 10px; } + .item p { + color: #666; + font-size: 14px; } + .item h1:last-child, + .item h2:last-child, + .item h3:last-child, + .item h4:last-child, + .item h5:last-child, + .item h6:last-child, + .item p:last-child { + margin-bottom: 0; } + .item .badge { + float: right; } + .item .badge + .badge { + margin-right: 5px; } + .item.active, .item.active:hover, .item.active:focus { + z-index: 2; } + .item.active .item-heading, .item.active:hover .item-heading, .item.active:focus .item-heading { + color: inherit; } + +.item-default.active, .item-default:active { + color: #333333; + background-color: white; + border-color: #333333; } + .item-default.active .list-item-content, .item-default:active .list-item-content { + background-color: white; + color: #333333; } + +.item-secondary.active, .item-secondary:active { + color: #333333; + background-color: white; + border-color: #333333; } + .item-secondary.active .list-item-content, .item-secondary:active .list-item-content { + background-color: white; + color: #333333; } + +.item-primary.active, .item-primary:active { + color: white; + background-color: #4a87ee; + border-color: #333333; } + .item-primary.active .list-item-content, .item-primary:active .list-item-content { + background-color: #4a87ee; + color: white; } + +.item-info.active, .item-info:active { + color: white; + background-color: #43cee6; + border-color: #333333; } + .item-info.active .list-item-content, .item-info:active .list-item-content { + background-color: #43cee6; + color: white; } + +.item-success.active, .item-success:active { + color: white; + background-color: #66cc33; + border-color: #333333; } + .item-success.active .list-item-content, .item-success:active .list-item-content { + background-color: #66cc33; + color: white; } + +.item-warning.active, .item-warning:active { + color: white; + background-color: #f0b840; + border-color: #333333; } + .item-warning.active .list-item-content, .item-warning:active .list-item-content { + background-color: #f0b840; + color: white; } + +.item-danger.active, .item-danger:active { + color: white; + background-color: #ef4e3a; + border-color: #333333; } + .item-danger.active .list-item-content, .item-danger:active .list-item-content { + background-color: #ef4e3a; + color: white; } + +.item-dark.active, .item-dark:active { + color: white; + background-color: #444444; + border-color: #333333; } + .item-dark.active .list-item-content, .item-dark:active .list-item-content { + background-color: #444444; + color: white; } + +.item, +.item h1, +.item h2, +.item h3, +.item h4, +.item h5, +.item h6, +.item p, +.item-content, +.item-content h1, +.item-content h2, +.item-content h3, +.item-content h4, +.item-content h5, +.item-content h6, +.item-content p { + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; } + +a.item { + color: #333333; + text-decoration: none; } + a.item:hover, a.item:focus { + text-decoration: none; } + +.item-slider { + padding: 0; } + +.item-slider .item-content, +.item-radio .item-content { + /** + * The content area of a complex list item. This area can + * Slide left and right and be dragged to support different + * UI interactions. + */ + position: relative; + z-index: 2; + padding: 15px 40px 15px 15px; + border: none; + background-color: white; + box-shadow: inset 0 0 1px #666666; + -webkit-transition: margin-left 0.2s ease-in-out, margin-right 0.2s ease-in-out, left 0.2s ease-in-out; } + +.item-text-wrap, +.item-text-wrap h1, +.item-text-wrap h2, +.item-text-wrap h3, +.item-text-wrap h4, +.item-text-wrap h5, +.item-text-wrap h6, +.item-text-wrap p, +.item-slider.item-text-wrap .item-content, +.item-body h1, +.item-body h2, +.item-body h3, +.item-body h4, +.item-body h5, +.item-body h6, +.item-body p { + overflow: auto; + white-space: normal; } + +.item-slider.item-text-wrap, +.item-slider.item-text-wrap h1, +.item-slider.item-text-wrap h2, +.item-slider.item-text-wrap h3, +.item-slider.item-text-wrap h4, +.item-slider.item-text-wrap h5, +.item-slider.item-text-wrap h6, +.item-slider.item-text-wrap p { + overflow: hidden; + white-space: nowrap; } + +.item .icon { + display: -webkit-box; + display: -webkit-flex; + display: -moz-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -ms-flex-align: center; + -webkit-align-items: center; + -moz-align-items: center; + align-items: center; + position: absolute; + top: 0; + height: 100%; + font-size: 32px; } + +.item .fill-icon { + min-width: 30px; + min-height: 30px; + font-size: 28px; } + +.item-icon-left { + padding-left: 45px; } + .item-icon-left .icon { + left: 7.5px; } + +.item-slider.item-icon-left { + padding-left: 0; } + .item-slider.item-icon-left .item-content { + padding-left: 45px; } + +.item-icon-right .icon { + right: 7.5px; } + +.item-icon-left.item-icon-right .icon:first-child { + right: auto; } + +.item-icon-left.item-icon-right .icon:last-child { + left: auto; } + +a.item:active, +button.item:active, +.item.active { + background-color: #F7F7F7; } + +.item-button-left { + padding-left: 75px; } + +.item-button-left > .button, +.item-button-left .item-content > .button { + display: -webkit-box; + display: -webkit-flex; + display: -moz-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -ms-flex-align: center; + -webkit-align-items: center; + -moz-align-items: center; + align-items: center; + position: absolute; + top: 7.5px; + left: 7.5px; + min-height: 32px; + font-size: 32px; } + .item-button-left > .button .icon, + .item-button-left .item-content > .button .icon { + position: relative; + left: auto; + line-height: 31px; } + +.item-button-right { + padding-right: 75px; } + +.item-button-right > .button, +.item-button-right .item-content > .button { + display: -webkit-box; + display: -webkit-flex; + display: -moz-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -ms-flex-align: center; + -webkit-align-items: center; + -moz-align-items: center; + align-items: center; + position: absolute; + top: 7.5px; + right: 15px; + min-height: 32px; + font-size: 32px; } + .item-button-right > .button .icon, + .item-button-right .item-content > .button .icon { + position: relative; + left: auto; + line-height: 31px; } + +a.item:after, +button.item:after { + /* By default, both and