diff --git a/Gruntfile.js b/Gruntfile.js index 8acd645672..c248035373 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -24,7 +24,7 @@ module.exports = function(grunt) { 'js/controllers/**/*.js' ], - dest: 'dist/<%= pkg.name %>.js' + dest: 'dist/js/<%= pkg.name %>.js' }, distAngular: { src: [ @@ -32,13 +32,7 @@ module.exports = function(grunt) { 'js/ext/angular/src/service/**/*.js', 'js/ext/angular/src/directive/**/*.js' ], - dest: 'dist/<%= pkg.name %>-angular.js' - }, - distSimple: { - src: [ - 'js/ext/simple/*.js' - ], - dest: 'dist/<%= pkg.name %>-simple.js' + dest: 'dist/js/<%= pkg.name %>-angular.js' } }, copy: { @@ -63,8 +57,8 @@ module.exports = function(grunt) { sass: { dist: { files: { - 'dist/ionic.css': 'scss/ionic/ionic.scss', - 'dist/ionic-ios7.css': 'scss/ionic-ios7/ionic-ios7.scss' + 'dist/css/ionic.css': 'scss/ionic/ionic.scss', + 'dist/css/ionic-ios7.css': 'scss/ionic-ios7/ionic-ios7.scss' } } }, diff --git a/dist/ionic-ios7.css b/dist/css/ionic-ios7.css similarity index 100% rename from dist/ionic-ios7.css rename to dist/css/ionic-ios7.css diff --git a/dist/ionic.css b/dist/css/ionic.css similarity index 100% rename from dist/ionic.css rename to dist/css/ionic.css diff --git a/dist/ionic-simple.js b/dist/ionic-simple.js deleted file mode 100644 index 7b8823303a..0000000000 --- a/dist/ionic-simple.js +++ /dev/null @@ -1,205 +0,0 @@ - -(function(window, document, ionic) { - - ionic.Components = []; - - ionic.registerComponent = function(instance) { - ionic.Components.push(instance); - }; - - ionic.component = function(el) { - if(el) { - if(el.component) { - // this element has already been initialized as a component - return el.component; - } - for(var x = 0; x < ionic.Components.length; x++) { - if( ionic.Components[x].isComponent(el) ) { - // this element is a component, init its view - return ionic.Components[x].init(el); - } - } - } - }; - - function componentEvent(eventName, e) { - if (!e.gesture || !e.gesture.srcEvent || !e.gesture.srcEvent.target) return; - - var - component, - el = e.gesture.srcEvent.target; // get the original source event's target - - while(el) { - // climb up the tree looking to see if the target - // is or is in a registered component. If its already - // been set that its NOT a component don't bother. - if(el.isComponent !== false) { - component = ionic.component(el); - if(component) { - component[eventName] && component[eventName](e.gesture.srcEvent); - return; - } - // not sure if this element is a component yet, - // keep climbing up the tree and check again - // remember that this element is not a component so - // it can skip this process in the future - el.isComponent = false; - } - el = el.parentElement; - } - } - - function onTap(e) { - componentEvent("tap", e); - } - ionic.on("tap", onTap, window); - - function onDrag(e) { - componentEvent("drag", e); - } - ionic.on("drag", onDrag, window); - - function onRelease(e) { - componentEvent("release", e); - } - ionic.on("release", onRelease, window); - - - function initalize() { - // remove the ready listeners - document.removeEventListener( "DOMContentLoaded", initalize, false ); - window.removeEventListener( "load", initalize, false ); - - // trigger that the DOM is ready - ionic.trigger("domready"); - } - - // When the DOM is ready, initalize the webapp - if ( document.readyState === "complete" ) { - // DOM is already ready - setTimeout( initalize ); - } else { - // DOM isn't ready yet, add event listeners - document.addEventListener( "DOMContentLoaded", initalize, false ); - window.addEventListener( "load", initalize, false ); - } - -})(this, document, ionic);; - -(function(ionic) { - - ionic.registerComponent({ - - name: "listview", - - isComponent: function(element) { - return false; - }, - - tap: function(e) { - - } - - }); - -})(ionic);; - -(function(window, document, ionic) { - - ionic.fn = { - val: function() { - var ret, x; - for(x = 0; x < this.length; x++) { - ret = this[x].component.val.apply(this[x].component, arguments); - } - return ret; - } - } - - if (window.jQuery) { - // if jQuery is present then it should be the default - jq = window.jQuery; - - // extend the methods which are in ionic.fn and in jQuery.fn - for(var name in ionic.fn) { - var jQueryFn = jq.fn[name]; - jq.fn[name] = function() { - var - x, - ret; // if incase this isn't an ionic component - - for(x = 0; x < this.length; x++) { - ionic.component( this[x] ); - if( this[x].component ) { - ret = this[x].component[name].apply(this[x].component, arguments); - } - } - - // if this isn't an ionic component, run the usual jQuery fn - return jQueryFn.apply(this, arguments); - } - } - - } else { - // jQuery is not already present, so use our 'lil version instead - jq = { - - init: function(selector, context) { - context = context || document; - var - x, - dom = context.querySelectorAll(selector) || []; - for(x = 0; x < dom.length; x++) { - ionic.component( dom[x] ); - } - dom.__proto__ = ionic.fn; - dom.selector = selector || ''; - return dom; - } - - }; - - $ = function(selector, context) { - return jq.init(selector, context); - } - } - -})(this, document, ionic); -; - -(function(ionic) { - - ionic.registerComponent({ - - isComponent: function(el) { - // this is a Toggle component if it has a "toggle" classname - return el.classList.contains("toggle"); - }, - - init: function(el) { - if(!el) { return; } - - // check if we've already created a Toggle instance for this element - if(!el.component) { - - // find all the required elements that make up a toggle - var opts = { - el: el, - checkbox: el.querySelector("input[type='checkbox']"), - track: el.querySelector(".track"), - handle: el.querySelector(".handle") - }; - - // validate its a well formed toggle with the required pieces - if(!opts.checkbox || !opts.track || !opts.handle) return; - - // initialize an instance of a Toggle - el.component = new ionic.views.Toggle(opts); - } - - return el.component; - } - - }); - -})(ionic); diff --git a/dist/ionicIcons.css b/dist/ionicIcons.css deleted file mode 100644 index f8fd1689b3..0000000000 --- a/dist/ionicIcons.css +++ /dev/null @@ -1,2344 +0,0 @@ -@charset "UTF-8"; -@font-face { - font-family: 'ionicon-test'; - src: url("fonts/ionicon-test.eot"); - src: url("fonts/ionicon-test.eot?#iefix") format("embedded-opentype"), url("fonts/ionicon-test.woff") format("woff"), url("fonts/ionicon-test.ttf") format("truetype"), url("fonts/ionicon-test.svg#ionicon-test") format("svg"); - font-weight: normal; - font-style: normal; } - -/* Use the following CSS code if you want to use data attributes for inserting your icons */ -[data-icon]:before { - font-family: 'ionicon-test'; - content: attr(data-icon); - speak: none; - font-weight: normal; - font-variant: normal; - text-transform: none; - line-height: 1; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; } - -/* Use the following CSS code if you want to have a class per icon */ -/* -Instead of a list of all class selectors, -you can use the generic selector below, but it's slower: -[class*="icon-"] { -*/ -.icon-voicemail, .icon-star, .icon-star-filled, .icon-voicemail-filled, .icon-keypad, .icon-keypad-filled, .icon-contact, .icon-clock, .icon-clock-filled, .icon-contact-filled { - font-family: 'ionicon-test'; - speak: none; - font-style: normal; - font-weight: normal; - font-variant: normal; - text-transform: none; - line-height: 1; - -webkit-font-smoothing: antialiased; } - -.icon-voicemail:before { - content: "\e000"; } - -.icon-star:before { - content: "\e001"; } - -.icon-star-filled:before { - content: "\e002"; } - -.icon-voicemail-filled:before { - content: "\e003"; } - -.icon-keypad:before { - content: "\e004"; } - -.icon-keypad-filled:before { - content: "\e005"; } - -.icon-contact:before { - content: "\e006"; } - -.icon-clock:before { - content: "\e007"; } - -.icon-clock-filled:before { - content: "\e008"; } - -.icon-contact-filled:before { - content: "\e009"; } - -/** -* 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 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. - */ -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 { - 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; } - -.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; - opacity: 0; - -webkit-transform: translate3d(0, 100%, 0); - transform: translate3d(0, 100%, 0); } - .modal.active { - -webkit-transform: translate3d(0, 0%, 0); - transform: translate3d(0, 0%, 0); - opacity: 1; - 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; } - -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 #333333; - 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; } - -/* the background of the toggle's track area */ -/* also the track appearance when the toggle is "off" */ -.toggle .track { - display: inline-block; - box-sizing: border-box; - width: 54px; - height: 32px; - border: solid 2px #e5e5e5; - border-radius: 20px; - background-color: #e5e5e5; - cursor: pointer; - transition-property: background-color, border; - transition-duration: 0.1s; - transition-timing-function: ease-in-out; } - -/* the handle (circle) thats inside the toggle's track area */ -/* also the appearance when the handle is "off" */ -.toggle .handle { - position: absolute; - display: block; - width: 28px; - height: 28px; - border-radius: 50%; - background-color: white; - transition: -webkit-transform 0.1s ease-in-out; } - .toggle .handle:before { - position: absolute; - content: '.'; - color: transparent; - left: -14px; - top: -11px; - padding: 14px 30px; } - -/* When the toggle is "on" */ -.toggle :checked + .track { - /* the track when the toggle is "on" */ - border-color: #5f85ef; - background-color: #5f85ef; - /* the handle when the toggle is "on" */ } - .toggle :checked + .track .handle { - background-color: white; - -webkit-transform: translate3d(22px, 0, 0); } - -/* 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: 12px 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.4; } - .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-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-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-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-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-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-icon { - border: none; - background: none; } - .button.button-icon:active, .button.button-icon.active { - text-shadow: 0px 0px 10px white; - 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 #dddddd; } - -.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.enter { - -webkit-transform: translate3d(0, 100%, 0); - transform: translate3d(0, 100%, 0); - - -webkit-transition: -webkit-transform .25s ease-in-out, opacity 1ms .25s; - transition: transform .25s ease-in-out, opacity 1ms .25s; -} -*/ -.slide-in-up.enter { - -webkit-transition: -webkit-transform 0.4s, opacity 0.4s; - transition: transform 0.4s, opacity 0.4s; - -webkit-transform: translate3d(0, 100%, 0); - transform: translate3d(0, 100%, 0); - -webkit-transition-timing-function: cubic-bezier(0.1, 0.7, 0.1, 1); } -.slide-in-up.enter-active { - -webkit-transform: translate3d(0, 0, 0); - transform: translate3d(0, 0, 0); } -.slide-in-up.leave { - -webkit-transition: -webkit-transform 0.25s, opacity 0.25s; - transition: transform 0.25s, opacity 0.25s; } -.slide-in-up.leave-active { - -webkit-transform: translate3d(0, 100%, 0); - transform: translate3d(0, 100%, 0); } - -.platform-ios7 .bar-header { - height: 64px; } - .platform-ios7 .bar-header > * { - margin-top: 20px; } -.platform-ios7 .has-header { - margin-top: 64px; } diff --git a/dist/ionic-angular.js b/dist/js/ionic-angular.js similarity index 94% rename from dist/ionic-angular.js rename to dist/js/ionic-angular.js index 97cd69c23c..a125a1f470 100644 --- a/dist/ionic-angular.js +++ b/dist/js/ionic-angular.js @@ -215,6 +215,7 @@ angular.module('ionic.ui.list', ['ionic.service', 'ngAnimate']) return { restrict: 'E', replace: true, + transclude: true, scope: { isEditing: '=', items: '=', @@ -234,6 +235,8 @@ angular.module('ionic.ui.list', ['ionic.service', 'ngAnimate']) if(attr.animation) { $element.addClass(attr.animation); } + + $element.append(transclude($scope)); } } } @@ -568,3 +571,39 @@ angular.module('ionic.ui.tabs', []) '' } }); +; +angular.module('ionic.ui.content', []) + +// The content directive is a core scrollable content area +// that is part of many View hierarchies +.directive('toggle', function() { + return { + restrict: 'E', + replace: true, + scope: {}, + require: '?ngModel', + template: '