From 1a2b9cf59d93b3f08894abf1b8c69f39231e10d0 Mon Sep 17 00:00:00 2001 From: Max Lynch Date: Thu, 7 Nov 2013 13:14:52 -0600 Subject: [PATCH 1/2] Removed scroll SCSS, moved to scaffold --- scss/_scaffolding.scss | 27 +++++++++++++++++++++++++++ scss/_scroll.scss | 25 ------------------------- 2 files changed, 27 insertions(+), 25 deletions(-) delete mode 100644 scss/_scroll.scss diff --git a/scss/_scaffolding.scss b/scss/_scaffolding.scss index c7c5b95235..2f97e1e9d6 100644 --- a/scss/_scaffolding.scss +++ b/scss/_scaffolding.scss @@ -73,6 +73,33 @@ body, .ionic-body { bottom: 0; overflow: hidden; } + +/** + * Scroll is the scroll view component available for complex and custom + * scroll view functionality. + */ +.scroll { + position: absolute; + z-index: 1; + -webkit-tap-highlight-color: rgba(0,0,0,0); + width: 100%; + height: 100%; + -webkit-transform: translateZ(0); + -moz-transform: translateZ(0); + -ms-transform: translateZ(0); + -o-transform: translateZ(0); + transform: translateZ(0); + -webkit-touch-callout: none; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + -webkit-text-size-adjust: none; + -moz-text-size-adjust: none; + -ms-text-size-adjust: none; + -o-text-size-adjust: none; + text-size-adjust: none; +} // Pad top/bottom of content so it doesn't hide behind .bar-title and .bar-tab. // Note: For these to work, content must come after both bars in the markup diff --git a/scss/_scroll.scss b/scss/_scroll.scss deleted file mode 100644 index 416a16504d..0000000000 --- a/scss/_scroll.scss +++ /dev/null @@ -1,25 +0,0 @@ -/** - * Scroll is the scroll view component available for complex and custom - * scroll view functionality. - */ -.scroll { - position: absolute; - z-index: 1; - -webkit-tap-highlight-color: rgba(0,0,0,0); - width: 100%; - -webkit-transform: translateZ(0); - -moz-transform: translateZ(0); - -ms-transform: translateZ(0); - -o-transform: translateZ(0); - transform: translateZ(0); - -webkit-touch-callout: none; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - -webkit-text-size-adjust: none; - -moz-text-size-adjust: none; - -ms-text-size-adjust: none; - -o-text-size-adjust: none; - text-size-adjust: none; -} From 8e381f3b53162038bc85f1c11cc40f32a4560b84 Mon Sep 17 00:00:00 2001 From: Max Lynch Date: Thu, 7 Nov 2013 13:27:25 -0600 Subject: [PATCH 2/2] Fixed map demo --- dist/css/ionic.css | 51 ++++++++++++++++---------------- examples/starters/map/index.html | 8 +++-- scss/ionic.scss | 1 - 3 files changed, 31 insertions(+), 29 deletions(-) diff --git a/dist/css/ionic.css b/dist/css/ionic.css index 7fd1eaa255..bfbe505d5b 100644 --- a/dist/css/ionic.css +++ b/dist/css/ionic.css @@ -2207,6 +2207,32 @@ body, .ionic-body { bottom: 0; overflow: hidden; } +/** + * Scroll is the scroll view component available for complex and custom + * scroll view functionality. + */ +.scroll { + position: absolute; + z-index: 1; + -webkit-tap-highlight-color: rgba(0, 0, 0, 0); + width: 100%; + height: 100%; + -webkit-transform: translateZ(0); + -moz-transform: translateZ(0); + -ms-transform: translateZ(0); + -o-transform: translateZ(0); + transform: translateZ(0); + -webkit-touch-callout: none; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + -webkit-text-size-adjust: none; + -moz-text-size-adjust: none; + -ms-text-size-adjust: none; + -o-text-size-adjust: none; + text-size-adjust: none; } + .overflow-scroll { overflow: auto; -webkit-overflow-scrolling: touch; } @@ -4354,31 +4380,6 @@ a.button { border-right-width: 1px; border-radius: 0px 2px 2px 0px; } -/** - * Scroll is the scroll view component available for complex and custom - * scroll view functionality. - */ -.scroll { - position: absolute; - z-index: 1; - -webkit-tap-highlight-color: rgba(0, 0, 0, 0); - width: 100%; - -webkit-transform: translateZ(0); - -moz-transform: translateZ(0); - -ms-transform: translateZ(0); - -o-transform: translateZ(0); - transform: translateZ(0); - -webkit-touch-callout: none; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - -webkit-text-size-adjust: none; - -moz-text-size-adjust: none; - -ms-text-size-adjust: none; - -o-text-size-adjust: none; - text-size-adjust: none; } - @-webkit-keyframes slideInLeft { 0% { -webkit-transform: translate3d(100%, 0, 0); } diff --git a/examples/starters/map/index.html b/examples/starters/map/index.html index 8261146da0..e02eb2842a 100644 --- a/examples/starters/map/index.html +++ b/examples/starters/map/index.html @@ -13,11 +13,13 @@ } - - - + + + + + diff --git a/scss/ionic.scss b/scss/ionic.scss index 3ba513078a..9ccb7aeecb 100644 --- a/scss/ionic.scss +++ b/scss/ionic.scss @@ -42,7 +42,6 @@ "button-bar", // Util - "scroll", "animations", "icons", "util",