Commit Graph

123 Commits

Author SHA1 Message Date
Luke Galuszka
9d676b0d30 fix(styles): fix to tables in _variable.scss #2949 2015-01-18 20:13:09 +01:00
Adam Bradley
9172b19c3d refactor(toggle): iOS css/transition updates 2015-01-15 16:53:13 -06:00
Adam Bradley
b837fb24e2 feat(actionsheet): android style/layout, iOS update 2014-12-31 15:56:29 -06:00
Adam Bradley
61a8353c76 refactor(actionsheet): improve styles/layout 2014-12-31 13:38:17 -06:00
Perry Govier
b6e2fbad88 amend(tabs): prevent footer from having tabs top and re-add $tabs-striped-off-opacity 2014-12-12 11:32:53 -06:00
Max Lynch
9ddce8f149 feat(items): better item remove animations 2014-12-11 16:01:36 -06:00
Perry Govier
ae4a3bbd0f fix(tabs): properly style ios tabs-top
Breaking Change: SCSS var $tabs-striped-off-opacity has been renamed to $tabs-off-opacity
2014-12-10 13:32:31 -06:00
Adam Bradley
9289f9ccd9 style(): set $bar-height to $bar-subheader-height 2014-12-06 21:15:20 -06:00
Adam Bradley
871f79541c Merge branch 'variable-subheader-height' of https://github.com/arturokunder/ionic into arturokunder-variable-subheader-height 2014-12-06 21:09:40 -06:00
Max Lynch
05e3ab305e fix(tabs): Fixed font sizes 2014-12-03 17:21:38 -06:00
Arturo
ffd6ed6376 Adding sass variables for footer, subfooter and subheader heights
Allowing to footers and subheader with diferent height.

FIX #2334
2014-11-28 16:00:57 -03:00
mhartington
4f8bbc181f fix(fonts): missing comma 2014-11-25 09:49:41 -05:00
Adam Bradley
03e634a358 feat(range): default css update 2014-11-24 19:46:27 -06:00
Adam Bradley
a571c7abdf feat(card): box-shadow update 2014-11-24 18:32:17 -06:00
Adam Bradley
97be8302eb feat(avatar): circle avatars by default 2014-11-24 13:56:54 -06:00
Adam Bradley
0c1b23d980 feat(checkbox): checkbox-square/platform updates 2014-11-24 13:37:09 -06:00
taivo
ad0548a34d removed duplicate $tabs-text-font-size 2014-11-13 19:16:15 -08:00
Adam Bradley
6ea73e6f82 refactor(colors): update ionic default colors 2014-11-12 14:39:52 -06:00
Adam Bradley
baf98a132e refactor(colors): update default ionic colors 2014-11-12 11:24:07 -06:00
Adam Bradley
39951ca99a refactor(): navigation improvements, Angular 1.3
#### Refactor:

* **Navigation:** Refactored navigation for improved performance,
reduce DOM manipulations, increase transition FPS, cached views,
smoother transitions, platform specific transitions with added
configurable controls for transition animation and direction.
* **Cached Views:** Previously as a user navigated an app, each leaving
view’s element and scope would be destroyed. If the same view was
accessed again then the app would have to recreate the element. Views
can now be cached to improve performance. When a view is navigated away
from, its element is left in the DOM, and its scope is disconnected
from the cycle. When navigating to a view which is already cached, its
scope is reconnected, and the existing element which was left in the
DOM becomes the active view. This also allows for scroll position of
previous views to be maintained (without skippy jumps). Config
variables can be used to disable view caching (set to 0), or change the
maximum number of views to cache.
* **Angular v1.3:** Upgraded Ionic’s to work with Angular v1.3. In
general Ionic just works with the upgrade, but the required change was
that animations in v1.3 uses promise, whereas in v1.2 animations used
callbacks.

#### Features:

* **Platform Specific Transitions:** Transitions between views now
default to the transition style appropriate for each platform. For
example, iOS will move forward by transitioning the entering view from
right to center, and the leaving view from center to left. However,
Android will transition with the entering view going from bottom to
center, covering the previous view, which remains stationary. Platform
transitions are automatically applied by default, but config variables
and custom CSS allows these defaults to be easily overridden.
* **Override Transition Type and Direction:** As a user navigates the
app, Ionic automatically applies the appropriate transition type for
the platform, and the direction the user is navigating. However, both
can be overridden in numerous ways: config variable, view attribute,
stateProvider property, or attribute on the button/link that initiated
the transition.
* **enable-menu-with-back-views:** The `enable-menu-with-back-views`
attribute determines if the side menu is enabled when the back button
is showing. When set to `false`, any buttons/links with the
`menuToggle` directive will be hidden, and the user cannot swipe to
open the menu. When going back to the root page of the side menu (the
page without a back button visible), then any menuToggle buttons will
show again, and menus will be enabled again.
* **menuClose:** Closes a side menu which is currently opened.
Additionally, the menuClose directive will now cause transitions to not
animate between views while the menu is being closed.
* **ionNavBackButton:** The back button icon and text will
automatically update to platform config defaults, such as adjusting to
the platform back icon. To take advantage of this, the
`ionNavBackButton` directive now should be empty, such as
`<ion-nav-back-button></ion-nav-back-button>`. The back button can
still be fully customized like it could before, but without any inner
content it knows to style using platform configs.
* **navBar button primary/secondary sides:** Primary and secondary
sides are now the recommended values for the `side` attribute, such as
`<ion-nav-buttons side="primary">`. Primary buttons generally map to
the left side of the header, and secondary buttons are generally on the
right side. However, their exact locations are platform specific. For
example, in iOS the primary buttons are on the far left of the header,
and secondary buttons are on the far right, with the header title
centered between them. For Android however, both groups of buttons are
on the far right of the header, with the header title aligned left.
Recommendation is to always use `primary` and `secondary` so buttons
correctly map to the side familiar to users of a platform. However, in
cases where buttons should always be on an exact side, both `left` and
`right` sides are still available.
* **navDirection:** An attribute directive that sets the direction
which the nav view transition should animate.
* **navTransition:** An attribute directive that sets the transition
type which the nav view transition should use when it animates. Using
`none` will disable an animation.

#### Breaking Changes:

* **Animation CSS:** The CSS for view transitions have changed. This is
a breaking change only if Ionic apps had customized Ionic’s animation
CSS.
* **$ionicPlatformDefaults:** Platform config variables are no longer
in the $ionicPlatformDefaults constant, but within `$ionicConfig`.
* **$ionicViewService:** In the navigation refactoring,
$ionicViewService was split up into two factories, `$ionicViewSwitcher`
and `$ionicHistory`. The `$ionicHistory` is largely what
`$ionicViewService`, but between the two factories there is a better
separation of concerns for improved testing.
* **navClear:** The navClear directive was created to do what the new
side menu `enable-menu-with-back-views` attribute accomplishes.
Additionally, the new `navTransition` and `navDirection` directives are
more useful and granular than the navClear directive.
* **scrollView.rememberScrollPosition:** This method has been removed
since it is no longer needed with cached views.

#### Deprecated:

* **ionView.title:** The `ionView` directive used the `title`
attribute, but this can cause the tooltip to show up on desktop
browsers. The `title` attribute will still work for backwards
compatibility, but we now recommend using `view-title`, such as
`<ion-view view-title=”My Title”>`.
* **ionNavView animation attribute removed:** The animation attribute
is no longer used for nav views. Instead use `$ionicConfig`.
* **ionNavBar animation attribute removed:** The animation attribute is
no longer used for nav bars. Instead use `$ionicConfig`.
2014-11-11 14:43:10 -06:00
Mike Hartington
dfcbef1a03 feat(fonts): platform specific fonts 2014-11-03 13:20:19 -05:00
Perry Govier
a56bbc978d fix(backdrop): use sass vars 2014-10-01 16:21:55 -05:00
Adam Bradley
e9f0fcf556 refactor(clickBlock): add click-block div to body
Instead of using pointer-events: none to disable unwanted clicks which
can cause flickering, we’re now using a click-block div that covers the
view during transitions. Similar concept to pointer-events: none
applied to the body tag, but in tests its showing to be more effective
to not cause any flickers.
2014-08-27 12:56:12 -05:00
Adam Bradley
b69aa5485f feat(splitView): expose side menu on large viewport
Ability to keep a left menu exposed on larger viewports, such as a
landscape tablet. Added the `expose-aside-menu` attribute directive.
2014-08-26 15:00:42 -05:00
Adam Bradley
5b99fd6891 fix android popover background 2014-08-04 12:08:56 -05:00
Adam Bradley
c1215aa300 feat(popover): created popovers 2014-07-31 14:43:29 -05:00
Perry Govier
ddda809b57 feat(tabs): Expand striped android style tab functionality. Closes 1694 2014-07-30 15:52:53 -05:00
Max Lynch
89999cadb1 fix(forms): Normalized form styles 2014-07-29 10:32:40 -05:00
Andrew
508848f93c style(ionReorderButton): make sure it's not cutoff 2014-07-24 17:22:27 -06:00
Perry Govier
6b218042c8 fix(sidemen): scroll false causes sidemenu content to disappear. Closes #1485 2014-07-11 16:23:04 -05:00
Perry Govier
4a2296dcae fix(header): add iOS 8 support to iOS header fix. assumes all iOS will have 7 style headers. closes #1625 2014-06-18 16:16:44 -05:00
Adam Bradley
754ef461e8 fix(menu): safari z-index fix for .menu .scroll-content
Closes #1408
2014-06-17 10:12:11 -05:00
Adam Bradley
53c171043e fix(content): scroll=false in sidemenu hides content
Closes #1485
2014-06-12 21:38:54 -05:00
Max Lynch
c30be67f65 feat(platforms): Android and iOS Specific Styles and Transitions 2014-06-11 16:48:53 -05:00
Max Lynch
4c700e9c0f fix(backdrop): Changed z-index for loading backdrop only. Fixes #1428 2014-05-22 10:43:52 -05:00
Adam Bradley
ae8f49e1de set $menu-bg to #fff 2014-05-06 08:04:11 -05: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
Andy Joslin
8a5133b7b8 style(header): make it work with ios7 statusbar correctly 2014-04-01 12:49:07 -06:00
Adam Bradley
e3491864b2 feat(loading): Moved loading scss to its own file and added variables, closes #984 2014-03-30 21:48:23 -05:00
Adam Bradley
9c2b03cea3 change progress to be display: block, margin: 15px auto 2014-03-24 08:56:47 -05:00
Adam Bradley
b9cde47dd0 feat(progress): Set progress element's default width to 100%, closes #872 2014-03-24 08:48:12 -05:00
Adam Bradley
fe44a7d98b rename .item-drag to .item-reorder, further standardize item editing 2014-03-20 16:02:50 -05:00
Adam Bradley
07c824db8d fix(item): Restructure item editing css for added reusability and organization 2014-03-20 14:18:12 -05:00
Adam Bradley
947b8d6943 fix(item): fix avatar/thumbnail in .item-complex, and avatar misspelling 2014-03-18 22:39:33 -05:00
Adam Bradley
ded469311d fix(badge): Badge horizontal alignment over item right side buttons, closes #826 2014-03-18 15:55:05 -05:00
Adam Bradley
5d663a61cc remove modal max-width, closes #824 2014-03-18 14:47:38 -05:00
Adam Bradley
60e4c1cc46 give .slider-pager a height so it can be placed on top easily 2014-03-17 11:01:24 -05:00
Adam Bradley
fa0e43237c popup z-index sass variables and csscomb'd popup.scss 2014-03-14 22:07:59 -05:00