From 987aaea3394e334fd0424b270900f92294b946e5 Mon Sep 17 00:00:00 2001 From: connors Date: Sat, 1 Feb 2014 22:21:17 -0800 Subject: [PATCH] fix ios popovers --- dist/ios-theme.css | 7 +++++++ dist/ratchet.css | 2 +- docs-assets/css/docs.css | 7 +++++++ lib/sass/theme-ios.scss | 13 ++++++++++--- 4 files changed, 25 insertions(+), 4 deletions(-) diff --git a/dist/ios-theme.css b/dist/ios-theme.css index eac0cfa..20c0150 100644 --- a/dist/ios-theme.css +++ b/dist/ios-theme.css @@ -44,6 +44,13 @@ a { color: #007aff; } +.popover:before { + border-bottom: 15px solid rgba(247, 247, 247, 0.98); +} +.popover .bar { + -webkit-box-shadow: none; + box-shadow: none; +} .popover .bar-nav { border-bottom: 1px solid rgba(0, 0, 0, 0.15); } diff --git a/dist/ratchet.css b/dist/ratchet.css index ce77de6..de8987e 100644 --- a/dist/ratchet.css +++ b/dist/ratchet.css @@ -729,7 +729,7 @@ input[type="button"] { .bar .btn-block { padding: 7px 0 6px; - margin-top: 4px; + margin-top: 5px; margin-bottom: 0; font-size: 16px; } diff --git a/docs-assets/css/docs.css b/docs-assets/css/docs.css index 10e3ce4..57336d6 100644 --- a/docs-assets/css/docs.css +++ b/docs-assets/css/docs.css @@ -828,6 +828,13 @@ hr { .platform-ios .tab-item:active .icon { color: #007aff; } +.platform-ios .popover:before { + border-bottom: 15px solid rgba(247, 247, 247, 0.98); +} +.platform-ios .popover .bar { + -webkit-box-shadow: none; + box-shadow: none; +} .platform-ios .popover .bar-nav { border-bottom: 1px solid rgba(0, 0, 0, 0.15); } diff --git a/lib/sass/theme-ios.scss b/lib/sass/theme-ios.scss index 7efd6ac..a5f36af 100644 --- a/lib/sass/theme-ios.scss +++ b/lib/sass/theme-ios.scss @@ -81,9 +81,16 @@ a { // Nav bar in popovers // -------------------------------------------------- - -.popover .bar-nav { - border-bottom: 1px solid rgba(0,0,0,.15); +.popover { + &:before { + border-bottom: 15px solid $chrome-color; + } + .bar { + @include box-shadow(none); + } + .bar-nav { + border-bottom: 1px solid rgba(0,0,0,.15); + } }