Commit Graph

803 Commits

Author SHA1 Message Date
Adam Bradley
d2df69d665 overflow:hidden to html element 2014-05-07 15:47:01 -05:00
Adam Bradley
40cd6f7290 feat(touch-action): add touch-action: manipulation
IE supports `-ms-touch-action: manipulation`, and `touch-action` is
making it through the standards process.
2014-05-07 13:48:06 -05:00
Adam Bradley
a4a258ee72 refactor(icon): use :before when assigning ionicons
In order to assign the Ionicons font to the actual icon, and not the
font-family for button text, using the :before pseudo instead
2014-05-07 13:46:30 -05:00
Adam Bradley
08f0adb12b fix(input): transparent bg for .item-input-inset input 2014-05-07 13:44:31 -05:00
Adam Bradley
930794cd9a fix(button): fix icon vertical alignments for IE 10 2014-05-07 13:43:38 -05:00
Adam Bradley
64f0030b99 fix(.pane): Remove overflow:hidden from .pane,.view 2014-05-06 12:09:14 -05:00
Adam Bradley
ae8f49e1de set $menu-bg to #fff 2014-05-06 08:04:11 -05:00
Adam George
c918f7fac5 Was not using scss variable for menu color 2014-05-06 11:57:45 +10:00
Adam Bradley
dfec423ef8 feature(keyboard): .hide-on-keyboard-open
By default no elements will be hidden when the keyboard shows. However,
you add the CSS class `hide-on-keyboard-open` to set elements which
should hide when the keyboard is open, such as the footer so there’s
more space for the content when the keyboard is open.
2014-05-05 15:58:38 -05:00
Andy Joslin
203734d216 style(ionRefresher): add padding-top if refreshing-text or pulling-text
Fixes #1269
2014-05-05 12:46:13 -06:00
Adam Bradley
6b3c2b929a merge keyboard-fixes 2014-05-03 22:30:21 -05:00
Andy Joslin
701c977563 css(tabs): add test page for nested tabs 2014-05-02 13:18:56 -06:00
Adam Bradley
9c58d47b2b fix(transitions): Disable transitions on Android 2, closes #780
By default transitions will be disabled on Android 2. To force
transitions to work on Android 2 add `enable-transitions` to the body
className.
2014-05-02 14:02:28 -05:00
Adam Bradley
45106a6acf fix(toggle): Right side padding for item-complex, closes #1091 2014-05-02 13:36:22 -05:00
Andy Joslin
77f2683124 fix(.tabs-icon-*): only work on directly descendant tabs
Closes #1261
2014-05-02 12:17:49 -06:00
Adam Bradley
5f8e9040bd fix(viewport): Auto update viewport tag 2014-05-02 10:12:48 -05:00
Adam Bradley
517658eb2c feature(.no-resize): Utility css to remove textarea resizer 2014-04-30 22:24:59 -05:00
Andy Joslin
554c43980e feat($ionicModal): close on backdrop click on desktop/tablet
Closes #1087
2014-04-30 11:44:46 -06:00
Andy Joslin
dca87e2c5f fix(.pane): make pane class have overflow: hidden
Fixes #1218
2014-04-29 10:18:32 -06:00
Max Lynch
8847774f2a fix(bar): Increased button icon font size 2014-04-28 13:25:30 -05:00
Adam Bradley
3bf1cd3496 .item-select select max-width: 65% 2014-04-28 13:25:11 -05:00
Adam Bradley
f4745c3689 enable/disable toggle pointer-events w/ css only, closes #1185 2014-04-28 12:37:44 -05:00
Adam Bradley
ae3318a081 refactor(keyboard): Scroll to inputs hidden by keyboard 2014-04-24 20:22:16 -05:00
Andy Joslin
e5e5b911f7 collection-repeat: enable grid functionality 2014-04-24 07:32:31 -06:00
Andy Joslin
934158baf5 virtualScroll: non-full-featured version, to start testing 2014-04-23 17:52:51 -06:00
Andy Joslin
a7eb521c90 fix(tabs-item-hide): only hide tab nav items 2014-04-21 17:17:34 -06:00
Andy Joslin
af2302ecc1 scss(tabs): allow syntax with same tabbar to work 2014-04-21 16:31:46 -06:00
Adam Bradley
2a6f702980 fix(tabs): Tab icon align within nested tabs, closes #1093 2014-04-17 22:40:02 -05:00
Adam Bradley
885965b5d7 remove !important from .tab-item.disabled 2014-04-17 20:37:36 -05:00
Adam Bradley
49c6c3fb55 Merge pull request #1162 from nickl-/master
Also enable disabled for tab-item
2014-04-17 20:32:21 -05:00
Adam Bradley
aac1d1773f Merge branch 'tap-refactor' 2014-04-17 15:23:58 -05:00
Adam Bradley
715b7876ed Merge branch 'master' of https://github.com/driftyco/ionic 2014-04-17 15:21:45 -05:00
Adam Bradley
5ab3d68616 remove android overlay fix because it breaks keyboard focusing 2014-04-17 13:34:24 -05:00
nickl-
009580bb56 Also enable disabled for tab-item.
Enable for tab-item class the same disabled functionality that exists for button
2014-04-17 20:22:07 +02:00
Max Lynch
f7b25aa9fa Fixed infinite scroll issues 2014-04-17 12:41:22 -05:00
Adam Bradley
c587dec28f android textarea .cloned-text-input fix 2014-04-17 11:31:05 -05:00
Adam Bradley
ee1c8dc8b7 tap updates for select elements 2014-04-17 11:07:14 -05:00
Adam Bradley
d0047cda44 refactor(tap): Refactor tap system for improved tap/click/keyboard/scroll/focus
Overhaul of the tap system so the keyboard does not cover up focused
inputs, correctly bring up the keyboard on text input focus, disabling
focus during scroll, disabling clicks after a hold then scroll,
removing 300ms delay without additional event handlers on each element,
etc. Refactored the tap/click/scroll/activator events for more
testability, along with adding more tests.
2014-04-17 08:26:25 -05:00
Adam Bradley
445d9420b6 refactor(checkbox): Reduce checkbox on/off transition timing 2014-04-16 15:11:41 -05:00
Adam Bradley
ed59a2c05e refactor(keyboard): Add .keyboard-open css class, same as .footer-hide 2014-04-16 15:09:27 -05:00
Adam Bradley
0e9072e481 fix(input): Fix to hide input overlays on old Android 2014-04-16 15:07:20 -05:00
Andy Joslin
bc3e223e33 refactor(): ggnore, ngAnimate
Addresses #1100
2014-04-11 08:30:42 -06:00
Adam Bradley
b654e02e0a fix(header): Header input too long on Android 4.2, closes #1081 2014-04-08 15:22:54 -05:00
Andy Joslin
cb1a5f6228 refactor($ionicPopup): add close() to returned promise, change closing
BREAKING CHANGE: $ionicPopup.show()'s button onTap function has changed.

When using `$ionicPopup.show()`, previously a button's onTap function
would only result in closing the popup and resolving the promise if the
 `onTap(event)` function returned a truthy value.

Now, a button's onTap event will *always* close the popup and resolve
the popup's promise, no matter the return value, by default. The only
way to prevent the popup from closing is to call
`event.preventDefault()`.

Change your code from this:

```js
$ionicPopup.show({
  buttons: [{
    onTap: function(event) {
      if (!shouldClosePopup) {
        return false;
      }
    }
  }]
});
```

To this:

```js
$ionicPopup.show({
  buttons: [{
    onTap: function(event) {
      if (!shouldClosePopup) {
        event.preventDefault();
      }
    }
  }]
});
```
2014-04-08 13:52:30 -06:00
Andy Joslin
98e7e3df46 refactor($ionicLoading,$ionicPopup): factor out common code, add tests
Also fixes $ionicLoading flickering on ios7 in beta.1.
2014-04-08 13:35:02 -06:00
Adam Bradley
6a1ac355a8 refactor(item): Adjust item padding variables, create item-avatar-right 2014-04-08 11:50:50 -05:00
Adam Bradley
c7e3defca5 refactor(item): Create .icon-accessory and remove auto nav icons, closes #1061
BREAKING CHANGE: The developer should be stating exactly how an icon
should show, but previously the right nav arrow icon violates this by
automatically showing a right arrow when an item was an anchor or
button. Instead of using the `:after` item selector, which was always
applied by default, it uses the same markup as `item-icon-right`, which
is easier to understand, customizable and not a hard coded default.

This change removes the `:after` nav icon styling, and creates a new
class, `icon-accessory`, based off of similar CSS. The change makes a
nav arrow highly customizable, allows RTL developers to easily control
the arrow direction, and the accessory class is something that's
reusable.

An example of right side arrow using `ion-chevron-right` as the icon:

    <a class="item item-icon-right" href="#">
      Check mail
      <i class="icon ion-chevron-right icon-accessory"></i>
    </a>
2014-04-07 15:33:36 -05:00
Adam Bradley
dfbb376552 rename .checkbox-handle to .checkbox-icon 2014-04-07 14:03:48 -05:00
Adam Bradley
b0b446d5d9 fix(checkbox): Remove tap highlight and fix checkbox appearance in Firefox, closes #496 2014-04-07 13:25:54 -05:00
Adam Bradley
9bac6050a0 feat(avatar): Adding .item-avatar-left and deprecating .item-avatar 2014-04-07 11:43:57 -05:00