From a6e443eaa667aa0426b70381e3f0ec705f8c60fa Mon Sep 17 00:00:00 2001 From: Max Lynch Date: Tue, 8 Oct 2013 16:17:58 -0500 Subject: [PATCH] Toderp work --- dist/ionic-ios7.css | 2419 ------------------------ dist/ionic.css | 9 +- dist/ionic.js | 6 + example/toderp2/css/app.css | 8 + example/toderp2/img/logo-header.png | Bin 0 -> 1409 bytes example/toderp2/img/logo-header@2x.png | Bin 0 -> 1885 bytes example/toderp2/index.html | 17 +- example/toderp2/js/controllers.js | 40 +- js/controllers/sideMenuController.js | 6 + 9 files changed, 66 insertions(+), 2439 deletions(-) create mode 100644 example/toderp2/img/logo-header.png create mode 100644 example/toderp2/img/logo-header@2x.png diff --git a/dist/ionic-ios7.css b/dist/ionic-ios7.css index cbea98357d..e69de29bb2 100644 --- a/dist/ionic-ios7.css +++ b/dist/ionic-ios7.css @@ -1,2419 +0,0 @@ -/** -* 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, i, center, -dl, dt, dd, ol, ul, li, -fieldset, form, label, legend, -table, caption, tbody, tfoot, thead, tr, th, td, -article, aside, canvas, details, embed, -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 #c0c0c0; } - -/** - * 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. - */ -button, -input, -select, -textarea { - margin: 0; - /* 3 */ - font-size: 100%; - /* 2 */ - font-family: inherit; - /* 1 */ } - -/** - * 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; } - -body { - position: fixed; - top: 0; - right: 0; - bottom: 0; - left: 0; - overflow: hidden; - margin: 0; - padding: 0; - 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; } - -.view-full { - position: fixed; - top: 0; - left: 0; - width: 100%; - height: 100%; } - -/* Hack to 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-wrapper { - position: absolute; - top: 0; - height: 100%; - width: 100%; - overflow: auto; - -webkit-overflow-scrolling: touch; } - -.has-header { - margin-top: 44px; } - -.has-tabs { - bottom: 49px; } - -.page, .full-section { - position: fixed; - top: 0; - right: 0; - bottom: 0; - left: 0; - z-index: 1; - overflow: auto; - width: 100%; - height: 100%; - background-color: #fff; - -webkit-overflow-scrolling: touch; } - -.platform-ios7 .bar-header { - height: 64px; } - .platform-ios7 .bar-header > * { - margin-top: 20px; } -.platform-ios7 .has-header { - margin-top: 64px; } - -.hidden, .hide { - display: none !important; } - -.padded { - padding: 10px; } - -.inset { - margin: 10px; } - -.rounded { - border-radius: 4px; } - -.container { - margin-right: auto; - margin-left: auto; - padding-left: 15px; - padding-right: 15px; - *zoom: 1; } - .container:before, .container:after { - display: table; - content: ""; - line-height: 0; } - .container:after { - clear: both; } - -.row { - margin-left: -15px; - margin-right: -15px; - *zoom: 1; } - .row:before, .row:after { - display: table; - content: ""; - line-height: 0; } - .row:after { - clear: both; } - -.col-xs-1, -.col-xs-2, -.col-xs-3, -.col-xs-4, -.col-xs-5, -.col-xs-6, -.col-xs-7, -.col-xs-8, -.col-xs-9, -.col-xs-10, -.col-xs-11, -.col-xs-12, -.col-sm-1, -.col-sm-2, -.col-sm-3, -.col-sm-4, -.col-sm-5, -.col-sm-6, -.col-sm-7, -.col-sm-8, -.col-sm-9, -.col-sm-10, -.col-sm-11, -.col-sm-12, -.col-md-1, -.col-md-2, -.col-md-3, -.col-md-4, -.col-md-5, -.col-md-6, -.col-md-7, -.col-md-8, -.col-md-9, -.col-md-10, -.col-md-11, -.col-md-12, -.col-lg-1, -.col-lg-2, -.col-lg-3, -.col-lg-4, -.col-lg-5, -.col-lg-6, -.col-lg-7, -.col-lg-8, -.col-lg-9, -.col-lg-10, -.col-lg-11, -.col-lg-12 { - position: relative; - padding-right: 15px; - padding-left: 15px; - min-height: 1px; } - -.col-xs-1, -.col-xs-2, -.col-xs-3, -.col-xs-4, -.col-xs-5, -.col-xs-6, -.col-xs-7, -.col-xs-8, -.col-xs-9, -.col-xs-10, -.col-xs-11 { - float: left; } - -.col-xs-1 { - width: 8.33333%; } - -.col-xs-2 { - width: 16.66667%; } - -.col-xs-3 { - width: 25%; } - -.col-xs-4 { - width: 33.33333%; } - -.col-xs-5 { - width: 41.66667%; } - -.col-xs-6 { - width: 50%; } - -.col-xs-7 { - width: 58.33333%; } - -.col-xs-8 { - width: 66.66667%; } - -.col-xs-9 { - width: 75%; } - -.col-xs-10 { - width: 83.33333%; } - -.col-xs-11 { - width: 91.66667%; } - -.col-xs-12 { - width: 100%; } - -@media (min-width: 768px) { - .container { - max-width: 750px; } - - .col-sm-1, - .col-sm-2, - .col-sm-3, - .col-sm-4, - .col-sm-5, - .col-sm-6, - .col-sm-7, - .col-sm-8, - .col-sm-9, - .col-sm-10, - .col-sm-11 { - float: left; } - - .col-sm-1 { - width: 8.33333%; } - - .col-sm-2 { - width: 16.66667%; } - - .col-sm-3 { - width: 25%; } - - .col-sm-4 { - width: 33.33333%; } - - .col-sm-5 { - width: 41.66667%; } - - .col-sm-6 { - width: 50%; } - - .col-sm-7 { - width: 58.33333%; } - - .col-sm-8 { - width: 66.66667%; } - - .col-sm-9 { - width: 75%; } - - .col-sm-10 { - width: 83.33333%; } - - .col-sm-11 { - width: 91.66667%; } - - .col-sm-12 { - width: 100%; } - - .col-sm-push-1 { - left: 8.33333%; } - - .col-sm-push-2 { - left: 16.66667%; } - - .col-sm-push-3 { - left: 25%; } - - .col-sm-push-4 { - left: 33.33333%; } - - .col-sm-push-5 { - left: 41.66667%; } - - .col-sm-push-6 { - left: 50%; } - - .col-sm-push-7 { - left: 58.33333%; } - - .col-sm-push-8 { - left: 66.66667%; } - - .col-sm-push-9 { - left: 75%; } - - .col-sm-push-10 { - left: 83.33333%; } - - .col-sm-push-11 { - left: 91.66667%; } - - .col-sm-pull-1 { - right: 8.33333%; } - - .col-sm-pull-2 { - right: 16.66667%; } - - .col-sm-pull-3 { - right: 25%; } - - .col-sm-pull-4 { - right: 33.33333%; } - - .col-sm-pull-5 { - right: 41.66667%; } - - .col-sm-pull-6 { - right: 50%; } - - .col-sm-pull-7 { - right: 58.33333%; } - - .col-sm-pull-8 { - right: 66.66667%; } - - .col-sm-pull-9 { - right: 75%; } - - .col-sm-pull-10 { - right: 83.33333%; } - - .col-sm-pull-11 { - right: 91.66667%; } - - .col-sm-offset-1 { - margin-left: 8.33333%; } - - .col-sm-offset-2 { - margin-left: 16.66667%; } - - .col-sm-offset-3 { - margin-left: 25%; } - - .col-sm-offset-4 { - margin-left: 33.33333%; } - - .col-sm-offset-5 { - margin-left: 41.66667%; } - - .col-sm-offset-6 { - margin-left: 50%; } - - .col-sm-offset-7 { - margin-left: 58.33333%; } - - .col-sm-offset-8 { - margin-left: 66.66667%; } - - .col-sm-offset-9 { - margin-left: 75%; } - - .col-sm-offset-10 { - margin-left: 83.33333%; } - - .col-sm-offset-11 { - margin-left: 91.66667%; } } -@media (min-width: 992px) { - .container { - max-width: 970px; } - - .col-md-1, - .col-md-2, - .col-md-3, - .col-md-4, - .col-md-5, - .col-md-6, - .col-md-7, - .col-md-8, - .col-md-9, - .col-md-10, - .col-md-11 { - float: left; } - - .col-md-1 { - width: 8.33333%; } - - .col-md-2 { - width: 16.66667%; } - - .col-md-3 { - width: 25%; } - - .col-md-4 { - width: 33.33333%; } - - .col-md-5 { - width: 41.66667%; } - - .col-md-6 { - width: 50%; } - - .col-md-7 { - width: 58.33333%; } - - .col-md-8 { - width: 66.66667%; } - - .col-md-9 { - width: 75%; } - - .col-md-10 { - width: 83.33333%; } - - .col-md-11 { - width: 91.66667%; } - - .col-md-12 { - width: 100%; } - - .col-md-push-0 { - left: auto; } - - .col-md-push-1 { - left: 8.33333%; } - - .col-md-push-2 { - left: 16.66667%; } - - .col-md-push-3 { - left: 25%; } - - .col-md-push-4 { - left: 33.33333%; } - - .col-md-push-5 { - left: 41.66667%; } - - .col-md-push-6 { - left: 50%; } - - .col-md-push-7 { - left: 58.33333%; } - - .col-md-push-8 { - left: 66.66667%; } - - .col-md-push-9 { - left: 75%; } - - .col-md-push-10 { - left: 83.33333%; } - - .col-md-push-11 { - left: 91.66667%; } - - .col-md-pull-0 { - right: auto; } - - .col-md-pull-1 { - right: 8.33333%; } - - .col-md-pull-2 { - right: 16.66667%; } - - .col-md-pull-3 { - right: 25%; } - - .col-md-pull-4 { - right: 33.33333%; } - - .col-md-pull-5 { - right: 41.66667%; } - - .col-md-pull-6 { - right: 50%; } - - .col-md-pull-7 { - right: 58.33333%; } - - .col-md-pull-8 { - right: 66.66667%; } - - .col-md-pull-9 { - right: 75%; } - - .col-md-pull-10 { - right: 83.33333%; } - - .col-md-pull-11 { - right: 91.66667%; } - - .col-md-offset-0 { - margin-left: 0; } - - .col-md-offset-1 { - margin-left: 8.33333%; } - - .col-md-offset-2 { - margin-left: 16.66667%; } - - .col-md-offset-3 { - margin-left: 25%; } - - .col-md-offset-4 { - margin-left: 33.33333%; } - - .col-md-offset-5 { - margin-left: 41.66667%; } - - .col-md-offset-6 { - margin-left: 50%; } - - .col-md-offset-7 { - margin-left: 58.33333%; } - - .col-md-offset-8 { - margin-left: 66.66667%; } - - .col-md-offset-9 { - margin-left: 75%; } - - .col-md-offset-10 { - margin-left: 83.33333%; } - - .col-md-offset-11 { - margin-left: 91.66667%; } } -@media (min-width: 1200px) { - .container { - max-width: 1170px; } - - .col-lg-1, - .col-lg-2, - .col-lg-3, - .col-lg-4, - .col-lg-5, - .col-lg-6, - .col-lg-7, - .col-lg-8, - .col-lg-9, - .col-lg-10, - .col-lg-11 { - float: left; } - - .col-lg-1 { - width: 8.33333%; } - - .col-lg-2 { - width: 16.66667%; } - - .col-lg-3 { - width: 25%; } - - .col-lg-4 { - width: 33.33333%; } - - .col-lg-5 { - width: 41.66667%; } - - .col-lg-6 { - width: 50%; } - - .col-lg-7 { - width: 58.33333%; } - - .col-lg-8 { - width: 66.66667%; } - - .col-lg-9 { - width: 75%; } - - .col-lg-10 { - width: 83.33333%; } - - .col-lg-11 { - width: 91.66667%; } - - .col-lg-12 { - width: 100%; } - - .col-lg-push-0 { - left: auto; } - - .col-lg-push-1 { - left: 8.33333%; } - - .col-lg-push-2 { - left: 16.66667%; } - - .col-lg-push-3 { - left: 25%; } - - .col-lg-push-4 { - left: 33.33333%; } - - .col-lg-push-5 { - left: 41.66667%; } - - .col-lg-push-6 { - left: 50%; } - - .col-lg-push-7 { - left: 58.33333%; } - - .col-lg-push-8 { - left: 66.66667%; } - - .col-lg-push-9 { - left: 75%; } - - .col-lg-push-10 { - left: 83.33333%; } - - .col-lg-push-11 { - left: 91.66667%; } - - .col-lg-pull-0 { - right: auto; } - - .col-lg-pull-1 { - right: 8.33333%; } - - .col-lg-pull-2 { - right: 16.66667%; } - - .col-lg-pull-3 { - right: 25%; } - - .col-lg-pull-4 { - right: 33.33333%; } - - .col-lg-pull-5 { - right: 41.66667%; } - - .col-lg-pull-6 { - right: 50%; } - - .col-lg-pull-7 { - right: 58.33333%; } - - .col-lg-pull-8 { - right: 66.66667%; } - - .col-lg-pull-9 { - right: 75%; } - - .col-lg-pull-10 { - right: 83.33333%; } - - .col-lg-pull-11 { - right: 91.66667%; } - - .col-lg-offset-0 { - margin-left: 0; } - - .col-lg-offset-1 { - margin-left: 8.33333%; } - - .col-lg-offset-2 { - margin-left: 16.66667%; } - - .col-lg-offset-3 { - margin-left: 25%; } - - .col-lg-offset-4 { - margin-left: 33.33333%; } - - .col-lg-offset-5 { - margin-left: 41.66667%; } - - .col-lg-offset-6 { - margin-left: 50%; } - - .col-lg-offset-7 { - margin-left: 58.33333%; } - - .col-lg-offset-8 { - margin-left: 66.66667%; } - - .col-lg-offset-9 { - margin-left: 75%; } - - .col-lg-offset-10 { - margin-left: 83.33333%; } - - .col-lg-offset-11 { - margin-left: 91.66667%; } } -p { - margin: 0 0 10px; } - -.lead { - margin-bottom: 20px; - font-size: 16.1px; - font-weight: 200; - 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 { - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; - font-weight: 500; - 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 { - padding: 10px 20px; - margin: 0 0 20px; - border-left: 5px solid gray; } - blockquote p { - font-size: 17.5px; - font-weight: 300; - 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; } - -.bar { - position: absolute; - left: 0; - right: 0; - z-index: 10; - display: -webkit-box; - display: box; - width: 100%; - height: 44px; - padding: 5px; - box-sizing: border-box; - background-color: white; - border-style: solid; - border-width: 0; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - -o-user-select: none; - user-select: none; } - .bar.bar-header { - border-bottom-width: 1px; } - .bar.bar-footer { - border-top-width: 1px; } - .bar.bar-default { - background-color: rgba(255, 255, 255, 0.9); - border-color: #dddddd; - color: #333333; } - .bar.bar-secondary { - background-color: rgba(245, 245, 245, 0.9); - border-color: #bbbbbb; - color: #333333; } - .bar.bar-primary { - background-color: rgba(74, 135, 238, 0.9); - border-color: #3b6dc2; - color: white; } - .bar.bar-info { - background-color: rgba(67, 206, 230, 0.9); - border-color: #3bb3c8; - color: white; } - .bar.bar-success { - background-color: rgba(102, 204, 51, 0.9); - border-color: #5bb22f; - color: white; } - .bar.bar-warning { - background-color: rgba(240, 184, 64, 0.9); - border-color: #d29f31; - color: white; } - .bar.bar-danger { - background-color: rgba(239, 78, 58, 0.9); - border-color: #c73927; - color: white; } - .bar.bar-dark { - background-color: rgba(68, 68, 68, 0.9); - border-color: #111111; - color: white; } - .bar .title { - position: absolute; - z-index: 0; - top: 0; - left: 0; - right: 0; - line-height: 44px; - margin: 0; - min-width: 30px; - text-overflow: ellipsis; - text-align: center; - white-space: nowrap; - font-size: 17px; } - .bar .title a { - color: inherit; } - .bar .button { - box-flex: 1; - -webkit-box-flex: 0; - -moz-box-flex: 0; - background-color: transparent; - line-height: 23px; - font-size: 12px; - padding: 4px 12px; - z-index: 1; } - .bar .button.button-clear { - line-height: 34px; - padding: 0 5px; } - .bar .button-bar { - line-height: 18px; } - .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; } - -.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 .button-icon { - background-color: transparent; - border: 1px solid transparent; } - -.bar-header { - top: 0; } - -.bar-footer { - bottom: 0; } - -.bar-tabs { - padding: 0; } - -.bar-header-secondary { - top: 44px; - display: block; } - -.bar-footer-secondary { - bottom: 44px; - display: block; } - -/** - * Tabs - * - * A navigation bar with any number of tab items supported. - */ -.tabs { - font-size: 16px; - position: fixed; - bottom: 0; - width: 100%; - height: 49px; - box-orient: horizontal; - -webkit-box-orient: horizontal; - -moz-box-orient: horizontal; - display: -webkit-box; - display: box; - border-top-width: 1px; - border-style: solid; - background-color: white; - border-color: #dddddd; - color: #333333; } - .tabs.tabs-default { - background-color: white; - border-color: #dddddd; - color: #333333; } - .tabs.tabs-secondary { - background-color: whitesmoke; - border-color: #bbbbbb; - color: #333333; } - .tabs.tabs-primary { - background-color: #4a87ee; - border-color: #3b6dc2; - color: white; } - .tabs.tabs-success { - background-color: #66cc33; - border-color: #5bb22f; - color: white; } - .tabs.tabs-info { - background-color: #43cee6; - border-color: #3bb3c8; - color: white; } - .tabs.tabs-warning { - background-color: #f0b840; - border-color: #d29f31; - color: white; } - .tabs.tabs-danger { - background-color: #ef4e3a; - border-color: #c73927; - color: white; } - .tabs.tabs-dark { - background-color: #ef4e3a; - border-color: #c73927; - color: white; } - -.tab-item { - display: block; - width: 0; - height: 100%; - box-flex: 1; - -webkit-box-flex: 1; - -moz-box-flex: 1; - box-sizing: border-box; - text-align: center; - text-decoration: none; - font-weight: 400; - font-family: "Helvetica Neue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, sans-serif; - font-size: 10px; - color: inherit; - text-overflow: ellipsis; - white-space: nowrap; - overflow: hidden; - opacity: 0.7; } - .tab-item i { - font-size: 32px; } - -/* 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; } - -/* Icon for tab */ -.tab-item i { - display: block; - margin: 1px auto -3px auto; } - -/* Label for tab */ -.tab-label { - margin-top: 1px; - color: #fff; - font-weight: bold; - font-size: 10px; } - -.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-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; - width: 100%; - min-height: 100%; - overflow: hidden; - background-color: white; } - .modal.active { - height: 100%; } - -.list { - margin-bottom: 20px; - padding-left: 0; - color: #333333; - background-color: white; - border-color: #dddddd; } - .list:hover { - color: #333333; - text-decoration: none; } - .list.active, .list:active { - background-color: #ebebeb; - box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.12); - border-color: #c4c4c4; } - .list.list-success { - color: white; - background-color: #66cc33; - border-color: #66cc33; } - .list.list-success:hover { - color: white; - text-decoration: none; } - .list.list-success.active, .list.list-success:active { - background-color: #56ab2b; - box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.12); - border-color: #52a329; } - -.list-item { - position: relative; - display: block; - margin-bottom: -1px; - padding: 15px 15px; - background-color: white; - border: 1px solid #dddddd; } - .list-item:last-child { - margin-bottom: 0; } - .list-item > .badge { - float: right; } - .list-item > i:last-child { - float: right; } - .list-item > .badge + .badge { - margin-right: 5px; } - .list-item.active, .list-item.active:hover, .list-item.active:focus { - z-index: 2; } - .list-item.active .list-item-heading, .list-item.active:hover .list-item-heading, .list-item.active:focus .list-item-heading { - color: inherit; } - .list-item.list-item-default { - /* - color: $color; - background-color: $bgColor; - border-color: $borderColor; - */ } - .list-item.list-item-default.active, .list-item.list-item-default:active { - color: #333333; - background-color: white; - border-color: #333333; } - .list-item.list-item-secondary { - /* - color: $color; - background-color: $bgColor; - border-color: $borderColor; - */ } - .list-item.list-item-secondary.active, .list-item.list-item-secondary:active { - color: #333333; - background-color: white; - border-color: #333333; } - .list-item.list-item-primary { - /* - color: $color; - background-color: $bgColor; - border-color: $borderColor; - */ } - .list-item.list-item-primary.active, .list-item.list-item-primary:active { - color: white; - background-color: #4a87ee; - border-color: #333333; } - .list-item.list-item-info { - /* - color: $color; - background-color: $bgColor; - border-color: $borderColor; - */ } - .list-item.list-item-info.active, .list-item.list-item-info:active { - color: white; - background-color: #43cee6; - border-color: #333333; } - .list-item.list-item-success { - /* - color: $color; - background-color: $bgColor; - border-color: $borderColor; - */ } - .list-item.list-item-success.active, .list-item.list-item-success:active { - color: white; - background-color: #66cc33; - border-color: #333333; } - .list-item.list-item-warning { - /* - color: $color; - background-color: $bgColor; - border-color: $borderColor; - */ } - .list-item.list-item-warning.active, .list-item.list-item-warning:active { - color: white; - background-color: #f0b840; - border-color: #333333; } - .list-item.list-item-danger { - /* - color: $color; - background-color: $bgColor; - border-color: $borderColor; - */ } - .list-item.list-item-danger.active, .list-item.list-item-danger:active { - color: white; - background-color: #ef4e3a; - border-color: #333333; } - .list-item.list-item-dark { - /* - color: $color; - background-color: $bgColor; - border-color: $borderColor; - */ } - .list-item.list-item-dark.active, .list-item.list-item-dark:active { - color: white; - background-color: #444444; - border-color: #333333; } - -a.list-item { - color: #333333; - text-decoration: none; } - a.list-item:hover, a.list-item:focus { - text-decoration: none; } - -.list-divider { - padding: 5px 15px; - background-color: whitesmoke; - color: #222222; - font-weight: bold; } - -.list-item-heading { - margin-top: 0; - margin-bottom: 5px; } - -.list-item-text { - margin-bottom: 0; - line-height: 1.3; } - -form { - margin: 0 0 1.42857; } - -fieldset { - margin: 0; - padding: 0; - border: 0; } - -legend { - display: block; - margin-bottom: 1.42857; - padding: 0; - width: 100%; - border: 0; - border-bottom: 1px solid #e5e5e5; - color: #333333; - font-size: 21px; - line-height: 2.85714; } - legend small { - color: #999999; - font-size: 1.07143; } - -label, -input, -button, -select, -textarea { - font-size: 14px; - font-weight: normal; - line-height: 1.42857; } - -input, -button, -select, -textarea { - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; } - -.input-group { - overflow: hidden; - /* - border-top: $input-border-width solid $input-border-color; - border-bottom: $input-border-width solid $input-border-color; - background-color: $input-bg; - */ } - -.padded > .input-group, -.input-group.inset { - -webkit-border-radius: 2px; - -moz-border-radius: 2px; - border-radius: 2px; - /* - border-right: $input-border-width solid $input-border-color; - border-left: $input-border-width solid $input-border-color; - */ } - -.input-group .input-wrapper + .input-wrapper { - border-top: 1px solid #cccccc; } - -.input-group + .input-group { - margin-top: 10px; } - -.input-wrapper { - position: relative; - display: block; - overflow: hidden; - padding: 6px 8px 5px; } - .input-wrapper input { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; - margin: 0; - background-color: transparent; - -webkit-appearance: none; } - .input-wrapper .input-label { - font-weight: bold; - line-height: 34px; } - -.input-group.stacked-label, -.input-group.stacked-label .input-wrapper { - border: 0; - background-color: transparent; } - -.input-group.stacked-label input, -.input-group.stacked-label textarea { - -webkit-border-radius: 2px; - -moz-border-radius: 2px; - border-radius: 2px; - overflow: hidden; - padding: 4px 8px 3px; - border: 1px solid #cccccc; - background-color: white; } - -.input-group.stacked-label input { - height: 46px; } - -.input-wrapper.row { - margin-right: 0; - margin-left: 0; } - .input-wrapper.row [class*='col-'] { - padding-right: 0; - padding-left: 0; } - -select, -textarea, -input[type="text"], -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="search"], -input[type="tel"], -input[type="color"], -.uneditable-input { - display: inline-block; - height: 34px; - color: #555555; - vertical-align: middle; - font-size: 14px; - line-height: 20px; } - -input, -textarea, -.uneditable-input { - width: 100%; } - -textarea { - height: auto; } - -textarea, -input[type="text"], -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="search"], -input[type="tel"], -input[type="color"], -.uneditable-input { - border: 0; } - textarea:focus, - input[type="text"]:focus, - input[type="password"]:focus, - input[type="datetime"]:focus, - input[type="datetime-local"]:focus, - input[type="date"]:focus, - input[type="month"]:focus, - input[type="time"]:focus, - input[type="week"]:focus, - input[type="number"]:focus, - input[type="email"]:focus, - input[type="url"]:focus, - input[type="search"]:focus, - input[type="tel"]:focus, - input[type="color"]:focus, - .uneditable-input:focus { - outline: 0; } - -input[type="radio"], -input[type="checkbox"] { - margin: 4px 0 0; - line-height: normal; } - -input[type="file"], -input[type="image"], -input[type="submit"], -input[type="reset"], -input[type="button"], -input[type="radio"], -input[type="checkbox"] { - width: auto; } - -select, -input[type="file"] { - line-height: 34px; } - -select { - width: 220px; - border: 1px solid #cccccc; - background-color: white; } - -select[multiple], -select[size] { - height: auto; } - -select:focus, -input[type="file"]:focus, -input[type="radio"]:focus, -input[type="checkbox"]:focus { - outline: thin dotted #333; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; } - -input:-moz-placeholder, -textarea:-moz-placeholder { - color: #999999; } -input:-ms-input-placeholder, -textarea:-ms-input-placeholder { - color: #999999; } -input::-webkit-input-placeholder, -textarea::-webkit-input-placeholder { - color: #999999; } - -input[type="range"] { - display: block; - margin-top: 20px; - margin-bottom: 20px; - width: auto; - height: 4px; - outline: none; - border-radius: 4px; - background-color: #cccccc; - -webkit-appearance: none !important; } - input[type="range"]::-webkit-slider-thumb { - width: 20px; - height: 20px; - border-radius: 10px; - background-color: white; - box-shadow: 0 0 2px rgba(0, 0, 0, 0.5), 0 5px 6px rgba(0, 0, 0, 0.25); - -webkit-appearance: none !important; } - -input[disabled], -select[disabled], -textarea[disabled], -input[readonly], -select[readonly], -textarea[readonly] { - background-color: #eeeeee; - cursor: not-allowed; } - -input[type="radio"][disabled], -input[type="checkbox"][disabled], -input[type="radio"][readonly], -input[type="checkbox"][readonly] { - background-color: transparent; } - -/* the overall container of the toggle */ -.toggle { - display: inline-block; } - -/* hide the actual checkbox */ -.toggle input { - display: none; } - -.toggle .track { - /* the background of the toggle's track area */ - /* also the track appearance when the toggle is "off" */ - position: relative; - display: inline-block; - box-sizing: border-box; - width: 54px; - height: 32px; - border: solid 2px #dddddd; - border-radius: 20px; - background-color: white; - cursor: pointer; - transition: 0.4s ease; } - -.toggle .handle { - /* the handle (circle) thats inside the toggle's track area */ - /* also the appearance when the handle is "off" */ - position: absolute; - display: block; - width: auto; - /* override defaults */ - height: auto; - /* override defaults */ - box-shadow: 0 0 2px rgba(0, 0, 0, 0.5), 0 4px 5px rgba(0, 0, 0, 0.25); - border-radius: 20px; - background-color: white; - left: 0; - top: 0; - bottom: 0; - right: 20px; - transition: 0.2s ease; - transition-property: left, right; - transition-delay: 0s, .05s; } - -.toggle :checked + .track { - /* When the toggle is "on" */ - /* the track when the toggle is "on" */ - border-color: #4bd863; - background-color: #ccc; - box-shadow: inset 0 0 0 20px #4bd863; - transition: 0.2s ease; - /* the handle when the toggle is "on" */ } - .toggle :checked + .track .handle { - background-color: white; - right: 0; - left: 20px; - -webkit-transform: none; - transition-delay: .05s, 0s; } - -/* hide a radio button's icon by default */ -.radio-item [class^="icon-"], -.radio-item [class*=" icon-"] { - display: none; } - -.radio-list label.list-item { - cursor: pointer; } - -.radio-list input[type="radio"] { - /* hide any radio button inputs elements (the ugly circles) */ - display: none; - /* when this radio-item is checked */ } - .radio-list input[type="radio"]:checked + .radio-item { - /* show the radio-item icon when checked */ } - .radio-list input[type="radio"]:checked + .radio-item [class^="icon-"], - .radio-list input[type="radio"]:checked + .radio-item [class*=" icon-"] { - position: absolute; - top: 16px; - right: 10px; - display: inline; } - -.button { - position: relative; - display: inline-block; - margin: 0; - padding: 8px 12px; - border-width: 1px; - border-style: solid; - border-radius: 2px; - color: #222222; - vertical-align: middle; - text-align: center; - font-size: 16px; - cursor: pointer; } - .button.button-icon { - border: none; - background: none; - padding: 4px 5px; } - .button.button-clear { - border: none; - background: none; - box-shadow: none; - padding: 4px 5px; - -webkit-transition: opacity 0.1s; - transition: opacity 0.1s; } - .button.button-clear:active, .button.button-clear.active { - opacity: 0.3; } - .button.button-block { - display: block; - margin: 10px 0 10px 0; - width: 100%; } - .button.button-default { - color: #333333; - background-color: white; - border-color: #dddddd; } - .button.button-default:hover { - color: #333333; - text-decoration: none; } - .button.button-default.active, .button.button-default:active { - background-color: #fafafa; - box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.15); - border-color: #bbbbbb; } - .button.button-default.button-clear { - color: #333333; - background: none; - box-shadow: none; } - .button.button-secondary { - color: #333333; - background-color: whitesmoke; - border-color: #bbbbbb; } - .button.button-secondary:hover { - color: #333333; - text-decoration: none; } - .button.button-secondary.active, .button.button-secondary:active { - background-color: #e5e5e5; - box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.15); - border-color: #999999; } - .button.button-secondary.button-clear { - color: #333333; - background: none; - box-shadow: none; } - .button.button-primary { - color: white; - background-color: #4a87ee; - border-color: #3b6dc2; } - .button.button-primary:hover { - color: white; - text-decoration: none; } - .button.button-primary.active, .button.button-primary:active { - background-color: #4175ce; - box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.15); - border-color: #32599c; } - .button.button-primary.button-clear { - color: #4a87ee; - background: none; - box-shadow: none; } - .button.button-primary.button-outline { - border-color: #4a87ee; - color: #4a87ee; } - .button.button-primary.button-outline.active, .button.button-primary.button-outline:active { - background-color: #4a87ee; - color: #fff; - box-shadow: none; } - .button.button-info { - color: white; - background-color: #43cee6; - border-color: #3bb3c8; } - .button.button-info:hover { - color: white; - text-decoration: none; } - .button.button-info.active, .button.button-info:active { - background-color: #3db8cd; - box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.15); - border-color: #3293a4; } - .button.button-info.button-clear { - color: #43cee6; - background: none; - box-shadow: none; } - .button.button-info.button-outline { - border-color: #43cee6; - color: #43cee6; } - .button.button-info.button-outline.active, .button.button-info.button-outline:active { - background-color: #43cee6; - color: #fff; - box-shadow: none; } - .button.button-success { - color: white; - background-color: #66cc33; - border-color: #5bb22f; } - .button.button-success:hover { - color: white; - text-decoration: none; } - .button.button-success.active, .button.button-success:active { - background-color: #55aa2b; - box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.15); - border-color: #448922; } - .button.button-success.button-clear { - color: #66cc33; - background: none; - box-shadow: none; } - .button.button-success.button-outline { - border-color: #66cc33; - color: #66cc33; } - .button.button-success.button-outline.active, .button.button-success.button-outline:active { - background-color: #66cc33; - color: #fff; - box-shadow: none; } - .button.button-warning { - color: white; - background-color: #f0b840; - border-color: #d29f31; } - .button.button-warning:hover { - color: white; - text-decoration: none; } - .button.button-warning.active, .button.button-warning:active { - background-color: #e2a114; - box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.15); - border-color: #b88517; } - .button.button-warning.button-clear { - color: #f0b840; - background: none; - box-shadow: none; } - .button.button-warning.button-outline { - border-color: #f0b840; - color: #f0b840; } - .button.button-warning.button-outline.active, .button.button-warning.button-outline:active { - background-color: #f0b840; - color: #fff; - box-shadow: none; } - .button.button-danger { - color: white; - background-color: #ef4e3a; - border-color: #c73927; } - .button.button-danger:hover { - color: white; - text-decoration: none; } - .button.button-danger.active, .button.button-danger:active { - background-color: #ce4331; - box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.15); - border-color: #9f3527; } - .button.button-danger.button-clear { - color: #ef4e3a; - background: none; - box-shadow: none; } - .button.button-danger.button-outline { - border-color: #ef4e3a; - color: #ef4e3a; } - .button.button-danger.button-outline.active, .button.button-danger.button-outline:active { - background-color: #ef4e3a; - color: #fff; - box-shadow: none; } - .button.button-dark { - color: white; - background-color: #444444; - border-color: #111111; } - .button.button-dark:hover { - color: white; - text-decoration: none; } - .button.button-dark.active, .button.button-dark:active { - background-color: #222222; - box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.15); - border-color: black; } - .button.button-dark.button-clear { - color: #444444; - background: none; - box-shadow: none; } - .button.button-dark.button-outline { - border-color: #444444; - color: #444444; } - .button.button-dark.button-outline.active, .button.button-dark.button-outline:active { - background-color: #444444; - color: #fff; - box-shadow: none; } - .button.button-outline { - background: none; - box-shadow: none; - /* padding: $button-clear-padding; */ - -webkit-transition: opacity 0.1s; - transition: opacity 0.1s; } - .button.button-icon { - border: none; - background: none; } - .button.button-icon:active, .button.button-icon.active { - text-shadow: 0px 0px 10px #fff; - box-shadow: none; - background: none; } - -a.button { - text-decoration: none; } - -.button-group { - position: relative; - display: inline-block; - vertical-align: middle; } - .button-group > .button { - position: relative; - float: left; } - .button-group > .button:hover, .button-group > .button:focus, .button-group > .button:active, .button-group > .button.active { - z-index: 2; } - .button-group > .button:focus { - outline: none; } - -.button-group .button + .button, -.button-group .button + .button-group, -.button-group .button-group + .button, -.button-group .button-group + .button-group { - margin-left: -1px; } - -.button-group > .button:not(:first-child):not(:last-child) { - border-radius: 0; } - -.button-group > .button:first-child { - margin-left: 0; } - .button-group > .button:first-child:not(:last-child) { - -webkit-border-top-right-radius: 0; - -moz-border-radius-topright: 0; - border-top-right-radius: 0; - -webkit-border-bottom-right-radius: 0; - -moz-border-radius-bottomright: 0; - border-bottom-right-radius: 0; } - -.button-group > .button:last-child:not(:first-child) { - -webkit-border-top-left-radius: 0; - -moz-border-radius-topleft: 0; - border-top-left-radius: 0; - -webkit-border-bottom-left-radius: 0; - -moz-border-radius-bottomleft: 0; - border-bottom-left-radius: 0; } - -.button-group > .button-group { - float: left; } - -.button-group > .button-group:not(:first-child):not(:last-child) > .button { - border-radius: 0; } - -.button-group > .button-group:first-child > .button:last-child, -.button-group > .button-group:first-child > .dropdown-toggle { - -webkit-border-top-right-radius: 0; - -moz-border-radius-topright: 0; - border-top-right-radius: 0; - -webkit-border-bottom-right-radius: 0; - -moz-border-radius-bottomright: 0; - border-bottom-right-radius: 0; } - -.button-group > .button-group:last-child > .button:first-child { - -webkit-border-top-left-radius: 0; - -moz-border-radius-topleft: 0; - border-top-left-radius: 0; - -webkit-border-bottom-left-radius: 0; - -moz-border-radius-bottomleft: 0; - border-bottom-left-radius: 0; } - -.button-bar { - box-flex: 1; - -webkit-box-flex: 1; - -moz-box-flex: 1; - box-orient: horizontal; - -webkit-box-orient: horizontal; - -moz-box-orient: horizontal; - display: -webkit-box; - display: box; } - -.button-bar > .button { - box-flex: 1; - -webkit-box-flex: 1; - -moz-box-flex: 1; - display: block; - width: 0; - overflow: hidden; - padding: 8px 16px; - border-width: 1px 0px 1px 1px; - border-radius: 0; - text-align: center; - text-overflow: ellipsis; - white-space: nowrap; - line-height: 15px; } - .button-bar > .button:last-child { - border-right-width: 1px; } - -.buttons { - box-flex: 1; - -webkit-box-flex: 1; - -moz-box-flex: 1; - box-orient: horizontal; - -webkit-box-orient: horizontal; - -moz-box-orient: horizontal; - display: -webkit-box; - display: box; } - -.badge { - display: inline-block; - min-width: 10px; - padding: 3px 7px; - font-size: 11px; - font-weight: bold; - color: white; - line-height: 1; - vertical-align: baseline; - white-space: nowrap; - text-align: center; - background-color: #999999; - border-radius: 10px; } - .badge:empty { - display: none; } - -.button .badge { - position: relative; - top: -1px; } - -.alert { - padding: 8px 35px 8px 14px; - border: 1px solid #fbeed5; - background-color: #fcf8e3; - text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); } - -.alert, -.alert h4 { - color: #c09853; } - -.alert .close { - position: relative; - top: -2px; - right: -21px; - line-height: 1.42857; } - -.alert-block { - padding-top: 14px; - padding-bottom: 14px; } - -.alert-block > p, -.alert-block > ul { - margin-bottom: 0; } - -.alert-block p + p { - margin-top: 5px; } - -.alert-success { - border-color: #d6e9c6; - background-color: #dff0d8; - color: #468847; } - -.alert-success h4 { - color: #468847; } - -.alert-danger, -.alert-error { - border-color: #eed3d7; - background-color: #f2dede; - color: #b94a48; } - -.alert-danger h4, -.alert-error h4 { - color: #b94a48; } - -.alert-info { - border-color: #bce8f1; - background-color: #d9edf7; - color: #3a87ad; } - -.alert-info h4 { - color: #3a87ad; } - -.card { - width: 100%; - background-color: white; - border-radius: 2px; - border: 1px solid #ddd; } - -.card-header { - padding: 10px; - background-color: white; } - .card-header.card-header-secondary { - background-color: whitesmoke; } - .card-header.card-header-primary { - background-color: #4a87ee; } - .card-header.card-header-info { - background-color: #43cee6; } - .card-header.card-header-success { - background-color: #66cc33; } - .card-header.card-header-warning { - background-color: #f0b840; } - .card-header.card-header-danger { - background-color: #ef4e3a; } - .card-header.card-header-dark { - background-color: #444444; } - -.card-body { - padding: 10px; } - -.card-footer { - padding: 10px; } - -.slide-in-up { - opacity: 0; - -webkit-transform: translate3d(0, 100%, 0); - transform: translate3d(0, 100%, 0); - -webkit-transition: -webkit-transform 0.4s, opacity 0.1s; - transition: -webkit-transform 0.4s, opacity 0.1s; - -webkit-transition-timing-function: cubic-bezier(0.1, 0.7, 0.1, 1); - transition-timing-function: cubic-bezier(0.1, 0.7, 0.1, 1); - -webkit-animation-fill-mode: forwards; } - -.slide-in-up.active { - opacity: 1; - -webkit-transform: translate3d(0, 0, 0); - transform: translate3d(0, 0, 0); } - -@keyframes fadein { - from { - opacity: 0.7; } - - to { - opacity: 1; } } - -@-webkit-keyframes fadein { - /* Safari and Chrome */ - from { - opacity: 0; } - - to { - opacity: 1; } } - -.fade-in { - opacity: 0; - animation: fadein 0.5s; - -webkit-animation: fadein 0.5s; } diff --git a/dist/ionic.css b/dist/ionic.css index 597134ae4e..82e43691ff 100644 --- a/dist/ionic.css +++ b/dist/ionic.css @@ -1,3 +1,4 @@ +@charset "UTF-8"; @font-face { font-family: 'ionicon-test'; src: url("fonts/ionicon-test.eot"); @@ -246,7 +247,7 @@ sub { fieldset { margin: 0 2px; padding: 0.35em 0.625em 0.75em; - border: 1px solid #c0c0c0; } + border: 1px solid silver; } /** * 1. Correct `color` not being inherited in IE 8/9. @@ -1935,7 +1936,7 @@ select:focus, input[type="file"]:focus, input[type="radio"]:focus, input[type="checkbox"]:focus { - outline: thin dotted #333; + outline: thin dotted #333333; outline: 5px auto -webkit-focus-ring-color; outline-offset: -2px; } @@ -2256,7 +2257,7 @@ input[type="checkbox"][readonly] { border: none; background: none; } .button.button-icon:active, .button.button-icon.active { - text-shadow: 0px 0px 10px #fff; + text-shadow: 0px 0px 10px white; box-shadow: none; background: none; } @@ -2439,7 +2440,7 @@ a.button { width: 100%; background-color: white; border-radius: 2px; - border: 1px solid #ddd; } + border: 1px solid #dddddd; } .card-header { padding: 10px; diff --git a/dist/ionic.js b/dist/ionic.js index a9382d468e..4deb5a2fef 100644 --- a/dist/ionic.js +++ b/dist/ionic.js @@ -2504,6 +2504,12 @@ ionic.controllers.NavController.prototype = { } }, + /** + * Close all menus. + */ + close: function() { + this.openPercentage(0); + }, /** * @return {float} The amount the side menu is open, either positive or negative for left (positive), or right (negative) diff --git a/example/toderp2/css/app.css b/example/toderp2/css/app.css index 9461ba85f7..effacd56cb 100644 --- a/example/toderp2/css/app.css +++ b/example/toderp2/css/app.css @@ -21,6 +21,9 @@ margin: 40px auto; } .toderp-small-logo { + background: url('../img/logo-header.png') no-repeat transparent; + background-size: 76px 21px; + background-position: 50%; box-flex: 1; -webkit-box-flex: 1; } @@ -53,4 +56,9 @@ background: url('../img/splash@2x.png') no-repeat transparent; background-size: cover; } + + .toderp-small-logo { + background: url('../img/logo-header@2x.png') no-repeat transparent; + background-size: 76px 21px; + } } diff --git a/example/toderp2/img/logo-header.png b/example/toderp2/img/logo-header.png new file mode 100644 index 0000000000000000000000000000000000000000..e9ce3c815536bc7a05bca4c9b45bcd1fbeccecad GIT binary patch literal 1409 zcmd5*=~L1P0R4%j=CQS9W9DwP+iF_Pwk_+8H(+RjB3^(ADIS#~YF-slt_O;2siQ(R zYNlyv;uhk4Au1l2;*q4JmbZc>=~}ujf5yI<_ujmZZ{|I^JJMN4^SCAe06K_EP_)u7 zD|u8yRjKcK{xMRTehkbv#*-Wz6Gx090S-artE5wiaAF7vO(F&*P=q810I00GU&g?| zU@(`g9v-{9yMBItSS; zjSW{<*X`}?z`#IDOUvZspdn_F61nwgmi z2?-$(2qh&YQmJ%kXsD^FDJ?CnwzhU)V4%IdeP?IK)YR0|)6?16nZw}}7Z>AjxUjG= zZ*T8AckZ~jxa8&K-Me?s-{0TI$0sf>&cedt_3PL6_V!j*R@TR-Zf;v!TjAm1(b3TX0RcB}-t6!1fA;JdkH-^>#n-M~8y+6c z$jBHR92^@PW3gCWU0p(6nyYut&3kwU^*Vkz@T4-n}l}cS%S?TELNKa3f%jJE2eMBO$y1JS~BHg}yyQ-?n z!NFl-V&cY)8%QLQ&1Qf4^a+p0mzS5L(ddYXh_<#i3TJ0T^hBEIzfs`h)CNCZ0Z z=7qPK%~Kkz*nlm>YAcE^`WNTu9gDC3?ycO>#PHZ#j+yTsrCO$0W*`<5N$&zWMikYP z7oyG`JZLz&*klfYiGqn4Gn%Ay6LA}jUcmYn4r(u=YYzm)7#%I+$Edm{j>Ay6M+9ao z+bV@YgXL@Kw7T;^lei^X2I?1Dc2cm_UGT|ybjAX7!Od_SXR#X1N@LX=gVSua# zeOV`?pZ%-aN;?HS?;H7os`jcFhhfaBA@e@)JhX7S29KJ7^?dCo*e4$QVfzQh?oznt z3*d6gBtMN*ma6fp8z8{?>e@@vS8&FZoGTQaOllD4G&}ZkwiT^+3p7vQarN}X9l0t^ z=OU+#&lw=5i~ZmVry^C+r%ZsnD35+X#$Zwq(hEiwE$FGF`hY>fw65 z>GcCDIGvg$BRjGrsbxOe!y9gCbEdTG$ZXgZas{|{u*K_yAk^SN+Tg?AvDT!VIJ_2W z4P^9C)Yr`HFONsAm}|b8`}g|J8P4$8Rq4l8iGItvx}W?nKoy8MX*cl^2X;~320*}& K(3g&c`~LwqdKl&a literal 0 HcmV?d00001 diff --git a/example/toderp2/img/logo-header@2x.png b/example/toderp2/img/logo-header@2x.png new file mode 100644 index 0000000000000000000000000000000000000000..3d8f940d3f5596403b1fe2e7d2a3b4fe6765b15e GIT binary patch literal 1885 zcmdUv_dgp51ID8-t?_c|LtE$69e3xhT5XRYViUxOy-pINlGrg~kJo6UF;aV`6o(3O zRYEwS5u8oyHDd3X@LG-S{2TA{`8?0}^ZfpN9)cyzNLcV&K>z?C3^g{ezG2>tAMyX| zCJ7Rt#T!WCAdWa2EE*T)7K8%mdSKmA-$VV}Feq!3n@2=oA4&rN;JLCivxO)rDWOoP z)YR0$!NH1(3KomCwzg(wW_ECJpslTad3mXGAP#e0==={(eM6 zgp-p~PEO9r$%(qUIuHm{RaMo}(pp|#o|&0}!{N!v$@=>GQBhF{1Y&G#%)-Kg$z<;C z?sj)~<8U}*W8eD+9vvO&>gtY+7bbrj?bIadC0=_4RssdVYR>FJHcNc6P3}EiD}!9O~-oe0_asG@6%}my3(b=H}+`@UWGY zmAAJy3TK<>e_UDHIB2X=%yb z-90okbZTlUF)?vvWo3GLdUkfUudgp5A)%q6flMYZE-o4x8s_Kc8yOk(_xBGB3=|d? z?(FR7=;%yNPWJTlG&VM-r>A4FSQ3eJeSHl;I%03;LdIFcY;NlRhX7Q8-f;kcR~u@e zYa2ez&f9R1G7|k{!6%w2y3H>t```z;$UR2>d=XD`SLkdMHZXY%VZ%N`BEEJE=CC50 z!@fpEjL4Loe$N?Z4_^6W!_XF1e^}#@w#f`;+Le-(Ae@hKE$1MRE6Tga5ZqH(lYMfZ zm)jPde(QdQAEACmTEPX`w=1g2)HWMOylvkfh&83)=Mcv^ChtN4Ja*eg3%!(;pIQ^yR zpbt0xj>?=m+6Q3XFSdxJNLGDS{9EGrRa74dEKgf%{+UC|1XiZngE9HH7d{M!-=4gT z>-*pQkIbA~sN&&YjkBaDckYRRFWHIC!E_c6y&N^U@l*%wwlwkMnsrbRWjHQ}84@$H zCkvJj#x4Nk2ZVj1jK68HtmeWD`6!<#mf8anYT>?GddvQOElolO$Hni?X2?&bAeI$v zX9sh&t}WAP$ZZ6_Gdf=+7!CvhIgLti2Kw?HB%s5lXM9xFHRL?x%YPoM$}kSO04C5| z`LBQ}?X;`M0}_Wq!J$X-WdhXX4F_c-3NRaq6j64H}1T4*<8`@t2sUA45}AQbOabkW0p z`d;kLT!Mig&05$X_`jpsy)@V_02P-ZRIKp&qqZ+lb}J)*0d;Ah*+5&eV;nPXcfU?m zh?Y#;=Yw*}_e!OCM(kAnq(}|*D-+MnCkhmf-+sn2fh>g~Zh8_~#K5tZhCbuvqN%tC z^v>}gWZ2Y_C0b-;_7q57v0_=*nj^9zW%kaZA9(-cG+kaf>sqAR+gXkxP^v|IF~j!6 z9CkzM?%`^|fz?8zU}balh@$f@q|oE{ibA1WLX)A;z?7uCqW$mf)TINgYFY^~!LNV! z>e#D-wft?gB!%9@9Y1J$c44dfJS`Ak4B2fj)bwg?rn1`q7VYRN65&Q&%gkn}zA6|Y z0-MY#<}NN{4S&hJgq~m8soUt?sp=-60Il|{dKF+8gabo86C0sC_sWH2%mso3qAu7n4TY?50R}m2MB;dU
- + - +
- + {{project.title}} @@ -145,5 +145,16 @@
+ + diff --git a/example/toderp2/js/controllers.js b/example/toderp2/js/controllers.js index 32fcc38b26..05e04b5ba4 100644 --- a/example/toderp2/js/controllers.js +++ b/example/toderp2/js/controllers.js @@ -67,18 +67,25 @@ angular.module('ionic.todo.controllers', ['ionic.todo']) // The tasks controller (main app controller) -.controller('TasksCtrl', function($scope, angularFire, angularFireCollection, FIREBASE_URL) { +.controller('TasksCtrl', function($scope, angularFire, angularFireCollection, Modal, FIREBASE_URL) { /* var lastProjectRef = new Firebase(FIREBASE_URL + '/lastproject'); var lastProjectPromise = angularFire(lastProjectRef, $scope, 'lastProject'); $scope.lastProject = null; */ + // Load our settings modal + Modal.fromTemplateUrl('settings.html', function(modal) { + $scope.settingsModal = modal; + }); $scope.newProject = {}; $scope.newTask = {}; + $scope.showSettings = function() { + $scope.settingsModal && $scope.settingsModal.show(); + }; /** * Add a new tasks to the current project. @@ -101,7 +108,7 @@ angular.module('ionic.todo.controllers', ['ionic.todo']) // Set the priorty for this project to the new date, so it will // sort higher - $scope.activeProject.project.setPriority(-(+new Date)); + //$scope.activeProject.project.setPriority(-(+new Date)); $scope.newTask = {}; }; @@ -121,17 +128,11 @@ angular.module('ionic.todo.controllers', ['ionic.todo']) title: project.title, tasks: angularFireCollection(ref.child('tasks').limit(100)) }; - $scope.clearActive(); - project.isActive = true; - - // Close the side menu - $scope.sideMenuCtrl.toggleLeft(); }; - $scope.clearActive = function() { - angular.forEach($scope.projects, function(project) { - project.isActive = false; - }); + $scope.selectProject = function(project) { + $scope.setActiveProject(project); + $scope.sideMenuCtrl.close(); }; /** @@ -142,7 +143,6 @@ angular.module('ionic.todo.controllers', ['ionic.todo']) title: newProject.title, user_id: $scope.user.id, tasks: [], - isActive: true }; console.log("Adding project:", p); @@ -152,8 +152,15 @@ angular.module('ionic.todo.controllers', ['ionic.todo']) $scope.newProject = {}; var np = $scope.projects.add(p); - np.setPriority(-(+new Date)); + //np.setPriority(-(+new Date)); $scope.setActiveProject(np); + + // Set these explicitly, some firebase delay or something happening + // here. + $scope.activeProject.title = newProject.title; + $scope.activeProject.user_id = newProject.user_id; + + $scope.sideMenuCtrl.close(); }; var projectsRef = new Firebase(FIREBASE_URL + '/project_list'); @@ -167,6 +174,8 @@ angular.module('ionic.todo.controllers', ['ionic.todo']) } } }); + + // Listen for the first child added so we can set it as the active project projectsRef.once('child_added', function(snapshot, prevChildName) { $scope.setActiveProject( angular.extend({ @@ -174,5 +183,10 @@ angular.module('ionic.todo.controllers', ['ionic.todo']) }, snapshot.val()) ) }); + projectsRef.on('child_added', function(snapshot, prevChildName) { + console.log('CHILD ADDED', snapshot.val()); + }); }) +.controller('SettingsCtrl', function($scope) { +}) diff --git a/js/controllers/sideMenuController.js b/js/controllers/sideMenuController.js index 89683f4872..3aac9e913e 100644 --- a/js/controllers/sideMenuController.js +++ b/js/controllers/sideMenuController.js @@ -72,6 +72,12 @@ } }, + /** + * Close all menus. + */ + close: function() { + this.openPercentage(0); + }, /** * @return {float} The amount the side menu is open, either positive or negative for left (positive), or right (negative)