From b5e695a3ea1dd009e43ffd019f7a3bf677ddafa4 Mon Sep 17 00:00:00 2001 From: connors Date: Sat, 15 Feb 2014 12:28:18 -0800 Subject: [PATCH] add and android app example --- dist/android-theme.css | 5 +- docs-assets/css/docs.css | 5 +- examples/app-android-notes/css/app.css | 5 + examples/app-android-notes/index.html | 152 ++++++++++++++++++++++++ examples/app-movies/choose-theater.html | 1 - examples/app-movies/index.html | 1 - lib/sass/theme-android.scss | 3 +- 7 files changed, 165 insertions(+), 7 deletions(-) create mode 100644 examples/app-android-notes/css/app.css create mode 100644 examples/app-android-notes/index.html diff --git a/dist/android-theme.css b/dist/android-theme.css index 9dd1713..83ef250 100644 --- a/dist/android-theme.css +++ b/dist/android-theme.css @@ -449,7 +449,7 @@ textarea, width: 50px; height: 24px; border: 1px solid #b5b5b5; - border-radius: 0; + border-radius: 2px; background-color: #bebebe; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -1px 0 rgba(0, 0, 0, 0.1); } @@ -461,10 +461,11 @@ textarea, color: #fff; } .toggle.active { + border: 2px solid #d7d7d7; background-color: #d7d7d7; } .toggle.active .toggle-handle { - margin-right: 2px; + right: 2px; background-color: #33b5e5; border-color: #33b5e5; -webkit-transform: translate3d(50px, 0, 0); diff --git a/docs-assets/css/docs.css b/docs-assets/css/docs.css index c31e226..032047c 100644 --- a/docs-assets/css/docs.css +++ b/docs-assets/css/docs.css @@ -1599,7 +1599,7 @@ hr { width: 50px; height: 24px; border: 1px solid #b5b5b5; - border-radius: 0; + border-radius: 2px; background-color: #bebebe; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -1px 0 rgba(0, 0, 0, 0.1); } @@ -1611,10 +1611,11 @@ hr { color: #fff; } .platform-android .toggle.active { + border: 2px solid #d7d7d7; background-color: #d7d7d7; } .platform-android .toggle.active .toggle-handle { - margin-right: 2px; + right: 2px; background-color: #33b5e5; border-color: #33b5e5; -webkit-transform: translate3d(50px, 0, 0); diff --git a/examples/app-android-notes/css/app.css b/examples/app-android-notes/css/app.css new file mode 100644 index 0000000..a003cb3 --- /dev/null +++ b/examples/app-android-notes/css/app.css @@ -0,0 +1,5 @@ +.slider, +.slider img { + margin-bottom: 0; + height: 150px; +} \ No newline at end of file diff --git a/examples/app-android-notes/index.html b/examples/app-android-notes/index.html new file mode 100644 index 0000000..9e980cf --- /dev/null +++ b/examples/app-android-notes/index.html @@ -0,0 +1,152 @@ + + + + + Notes + + + + + + + + + + + + + + +
+ +

+ Notes +

+
+ +
+ + +
+ + + + + diff --git a/examples/app-movies/choose-theater.html b/examples/app-movies/choose-theater.html index 7640295..4371076 100644 --- a/examples/app-movies/choose-theater.html +++ b/examples/app-movies/choose-theater.html @@ -8,7 +8,6 @@ - diff --git a/examples/app-movies/index.html b/examples/app-movies/index.html index 531b0d8..b9dc2cc 100644 --- a/examples/app-movies/index.html +++ b/examples/app-movies/index.html @@ -8,7 +8,6 @@ - diff --git a/lib/sass/theme-android.scss b/lib/sass/theme-android.scss index e46bcaa..84d0f4d 100644 --- a/lib/sass/theme-android.scss +++ b/lib/sass/theme-android.scss @@ -631,7 +631,7 @@ textarea, width: 50px; height: 24px; border: 1px solid #b5b5b5; - border-radius: 0; + border-radius: 2px; background-color: #bebebe; box-shadow: inset 0 1px 0 rgba(255,255,255,.3), inset 0 -1px 0 rgba(0,0,0,.1); } @@ -645,6 +645,7 @@ textarea, // Active state for toggle &.active { + border: 2px solid #d7d7d7; background-color: #d7d7d7; .toggle-handle {