diff --git a/dist/css/ionic.css b/dist/css/ionic.css index f288c93925..d5c25cf239 100644 --- a/dist/css/ionic.css +++ b/dist/css/ionic.css @@ -3190,14 +3190,8 @@ a.subdued { border-color: #dddddd; background-color: white; font-size: 16px; + color: #666666; -webkit-transition: margin-left 0.2s ease-in-out, margin-right 0.2s ease-in-out, left 0.2s ease-in-out; } - .item.active { - color: #444444; - background-color: white; - border-color: #444444; } - .item.active .item-content { - background-color: white; - color: #444444; } .item h2 { margin: 0 0 4px 0; font-size: 16px; } @@ -3229,6 +3223,13 @@ a.subdued { z-index: 2; } .item.active .item-heading, .item.active:hover .item-heading, .item.active:focus .item-heading { color: inherit; } + .item.active { + color: #444444; + background-color: white; + border-color: #444444; } + .item.active .item-content { + background-color: white; + color: #444444; } .item-light.active { color: white; diff --git a/dist/js/ionic-angular.js b/dist/js/ionic-angular.js index bc3b81c618..066d602385 100644 --- a/dist/js/ionic-angular.js +++ b/dist/js/ionic-angular.js @@ -514,12 +514,16 @@ angular.module('ionic.ui.checkbox', []) angular.module('ionic.ui.content', []) +/** + * Panel is a simple 100% width and height, fixed panel. It's meant for content to be + * added to it, or animated around. + */ .directive('pane', function() { return { restrict: 'E', - replace: true, - transclude: true, - template: '
' + compile: function(element, attr) { + element.addClass('pane'); + } } }) @@ -701,9 +705,9 @@ angular.module('ionic.ui.list', ['ngAnimate']) } // Add the list item type class - $element.addClass($attr.type || 'item-slider'); + $element.addClass($attr.type || 'item-complex'); - if($attr.type !== 'item-slider') { + if($attr.type !== 'item-complex') { $scope.canSwipe = false; } diff --git a/js/ext/angular/src/directive/ionicContent.js b/js/ext/angular/src/directive/ionicContent.js index 97d9796083..6a34354e9e 100644 --- a/js/ext/angular/src/directive/ionicContent.js +++ b/js/ext/angular/src/directive/ionicContent.js @@ -3,12 +3,16 @@ angular.module('ionic.ui.content', []) +/** + * Panel is a simple 100% width and height, fixed panel. It's meant for content to be + * added to it, or animated around. + */ .directive('pane', function() { return { restrict: 'E', - replace: true, - transclude: true, - template: '' + compile: function(element, attr) { + element.addClass('pane'); + } } }) diff --git a/js/ext/angular/src/directive/ionicList.js b/js/ext/angular/src/directive/ionicList.js index 9a693ea1d9..4ee801715f 100644 --- a/js/ext/angular/src/directive/ionicList.js +++ b/js/ext/angular/src/directive/ionicList.js @@ -42,9 +42,9 @@ angular.module('ionic.ui.list', ['ngAnimate']) } // Add the list item type class - $element.addClass($attr.type || 'item-slider'); + $element.addClass($attr.type || 'item-complex'); - if($attr.type !== 'item-slider') { + if($attr.type !== 'item-complex') { $scope.canSwipe = false; } diff --git a/js/ext/angular/test/modal.html b/js/ext/angular/test/modal.html index a48cfbf7b9..fa4c249b4c 100644 --- a/js/ext/angular/test/modal.html +++ b/js/ext/angular/test/modal.html @@ -11,22 +11,44 @@ -