mobile_template 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Rakefile +52 -0
- data/lib/mobile_template/version.rb +1 -1
- data/templates/assets/config.rb +1 -1
- data/templates/assets/source/javascripts/application.js.coffee +1 -2
- data/templates/assets/source/javascripts/vendor/cordova.js +4 -4
- data/templates/assets/source/javascripts/vendor/jquery.js +8577 -8577
- data/templates/assets/source/stylesheets/vendor/jquery.mobile.css.scss +48 -48
- data/templates/cordova_android/bin/create +1 -1
- data/templates/cordova_android/framework/assets/js/cordova.android.js +4 -4
- metadata +2 -2
@@ -23,10 +23,10 @@
|
|
23
23
|
background-image: -o-linear-gradient( #3c3c3c /*{a-bar-background-start}*/, #111 /*{a-bar-background-end}*/); /* Opera 11.10+ */
|
24
24
|
background-image: linear-gradient( #3c3c3c /*{a-bar-background-start}*/, #111 /*{a-bar-background-end}*/);
|
25
25
|
}
|
26
|
-
.ui-bar-a,
|
27
|
-
.ui-bar-a input,
|
28
|
-
.ui-bar-a select,
|
29
|
-
.ui-bar-a textarea,
|
26
|
+
.ui-bar-a,
|
27
|
+
.ui-bar-a input,
|
28
|
+
.ui-bar-a select,
|
29
|
+
.ui-bar-a textarea,
|
30
30
|
.ui-bar-a button {
|
31
31
|
font-family: Helvetica, Arial, sans-serif /*{global-font-family}*/;
|
32
32
|
}
|
@@ -58,7 +58,7 @@
|
|
58
58
|
background-image: -moz-linear-gradient( #444 /*{a-body-background-start}*/, #222 /*{a-body-background-end}*/); /* FF3.6 */
|
59
59
|
background-image: -ms-linear-gradient( #444 /*{a-body-background-start}*/, #222 /*{a-body-background-end}*/); /* IE10 */
|
60
60
|
background-image: -o-linear-gradient( #444 /*{a-body-background-start}*/, #222 /*{a-body-background-end}*/); /* Opera 11.10+ */
|
61
|
-
background-image: linear-gradient( #444 /*{a-body-background-start}*/, #222 /*{a-body-background-end}*/);
|
61
|
+
background-image: linear-gradient( #444 /*{a-body-background-start}*/, #222 /*{a-body-background-end}*/);
|
62
62
|
}
|
63
63
|
.ui-overlay-a {
|
64
64
|
background-image: none;
|
@@ -670,7 +670,7 @@
|
|
670
670
|
text-decoration: none;
|
671
671
|
}
|
672
672
|
/* Structure */
|
673
|
-
/* links within "buttons"
|
673
|
+
/* links within "buttons"
|
674
674
|
-----------------------------------------------------------------------------------------------------------*/
|
675
675
|
a.ui-link-inherit {
|
676
676
|
text-decoration: none !important;
|
@@ -795,7 +795,7 @@ a.ui-link-inherit {
|
|
795
795
|
.ui-icon-searchfield:after {
|
796
796
|
background: #666 /*{global-icon-color}*/;
|
797
797
|
background: rgba(0,0,0,.4) /*{global-icon-disc}*/;
|
798
|
-
background-image: url(
|
798
|
+
background-image: image-url("vendor/icons-18-white.png") /*{global-icon-set}*/;
|
799
799
|
background-repeat: no-repeat;
|
800
800
|
-moz-border-radius: 9px;
|
801
801
|
-webkit-border-radius: 9px;
|
@@ -806,7 +806,7 @@ a.ui-link-inherit {
|
|
806
806
|
.ui-icon-alt {
|
807
807
|
background: #fff;
|
808
808
|
background: rgba(255,255,255,.3);
|
809
|
-
background-image: url(
|
809
|
+
background-image: image-url("vendor/icons-18-black.png");
|
810
810
|
background-repeat: no-repeat;
|
811
811
|
}
|
812
812
|
/* HD/"retina" sprite
|
@@ -814,20 +814,20 @@ a.ui-link-inherit {
|
|
814
814
|
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
|
815
815
|
only screen and (min--moz-device-pixel-ratio: 1.5),
|
816
816
|
only screen and (min-resolution: 240dpi) {
|
817
|
-
|
817
|
+
|
818
818
|
.ui-icon-plus, .ui-icon-minus, .ui-icon-delete, .ui-icon-arrow-r,
|
819
819
|
.ui-icon-arrow-l, .ui-icon-arrow-u, .ui-icon-arrow-d, .ui-icon-check,
|
820
820
|
.ui-icon-gear, .ui-icon-refresh, .ui-icon-forward, .ui-icon-back,
|
821
|
-
.ui-icon-grid, .ui-icon-star, .ui-icon-alert, .ui-icon-info, .ui-icon-home, .ui-icon-search, .ui-icon-searchfield:after,
|
821
|
+
.ui-icon-grid, .ui-icon-star, .ui-icon-alert, .ui-icon-info, .ui-icon-home, .ui-icon-search, .ui-icon-searchfield:after,
|
822
822
|
.ui-icon-checkbox-off, .ui-icon-checkbox-on, .ui-icon-radio-off, .ui-icon-radio-on {
|
823
|
-
background-image: url(
|
823
|
+
background-image: image-url("vendor/icons-36-white.png");
|
824
824
|
-moz-background-size: 776px 18px;
|
825
825
|
-o-background-size: 776px 18px;
|
826
826
|
-webkit-background-size: 776px 18px;
|
827
827
|
background-size: 776px 18px;
|
828
828
|
}
|
829
829
|
.ui-icon-alt {
|
830
|
-
background-image: url(
|
830
|
+
background-image: image-url("vendor/icons-36-black.png");
|
831
831
|
}
|
832
832
|
}
|
833
833
|
/* plus minus */
|
@@ -909,7 +909,7 @@ a.ui-link-inherit {
|
|
909
909
|
}
|
910
910
|
.ui-icon-checkbox-off,
|
911
911
|
.ui-icon-radio-off {
|
912
|
-
background-color: transparent;
|
912
|
+
background-color: transparent;
|
913
913
|
}
|
914
914
|
.ui-checkbox-on .ui-icon,
|
915
915
|
.ui-radio-on .ui-icon {
|
@@ -917,7 +917,7 @@ a.ui-link-inherit {
|
|
917
917
|
}
|
918
918
|
/* loading icon */
|
919
919
|
.ui-icon-loading {
|
920
|
-
background: url(
|
920
|
+
background: image-url("vendor/ajax-loader.gif");
|
921
921
|
background-size: 46px 46px;
|
922
922
|
}
|
923
923
|
/* Button corner classes
|
@@ -982,19 +982,19 @@ a.ui-link-inherit {
|
|
982
982
|
/* radius clip workaround for cleaning up corner trapping */
|
983
983
|
.ui-corner-tl,
|
984
984
|
.ui-corner-tr,
|
985
|
-
.ui-corner-bl,
|
985
|
+
.ui-corner-bl,
|
986
986
|
.ui-corner-br,
|
987
987
|
.ui-corner-top,
|
988
|
-
.ui-corner-bottom,
|
988
|
+
.ui-corner-bottom,
|
989
989
|
.ui-corner-right,
|
990
990
|
.ui-corner-left,
|
991
991
|
.ui-corner-all,
|
992
992
|
.ui-btn-corner-tl,
|
993
993
|
.ui-btn-corner-tr,
|
994
|
-
.ui-btn-corner-bl,
|
994
|
+
.ui-btn-corner-bl,
|
995
995
|
.ui-btn-corner-br,
|
996
996
|
.ui-btn-corner-top,
|
997
|
-
.ui-btn-corner-bottom,
|
997
|
+
.ui-btn-corner-bottom,
|
998
998
|
.ui-btn-corner-right,
|
999
999
|
.ui-btn-corner-left,
|
1000
1000
|
.ui-btn-corner-all {
|
@@ -1517,7 +1517,7 @@ div.ui-mobile-viewport { overflow-x: hidden; }
|
|
1517
1517
|
-webkit-backface-visibility:hidden;
|
1518
1518
|
-webkit-transform:translateX(0); /* Needed to work around an iOS 3.1 bug that causes listview thumbs to disappear when -webkit-visibility:hidden is used. */
|
1519
1519
|
-webkit-transform-origin: 0;
|
1520
|
-
|
1520
|
+
|
1521
1521
|
-moz-backface-visibility:hidden;
|
1522
1522
|
-moz-transform:translateX(0); /* Needed to work around an iOS 3.1 bug that causes listview thumbs to disappear when -webkit-visibility:hidden is used. */
|
1523
1523
|
-moz-transform-origin: 0;
|
@@ -1535,7 +1535,7 @@ div.ui-mobile-viewport { overflow-x: hidden; }
|
|
1535
1535
|
-moz-animation-name: flipintoright;
|
1536
1536
|
-webkit-animation-duration: 250ms;
|
1537
1537
|
-moz-animation-duration: 250ms;
|
1538
|
-
|
1538
|
+
|
1539
1539
|
}
|
1540
1540
|
.turn.out.reverse {
|
1541
1541
|
-webkit-transform: rotateY(90deg) scale(.9);
|
@@ -1582,13 +1582,13 @@ div.ui-mobile-viewport { overflow-x: hidden; }
|
|
1582
1582
|
/* flow transition */
|
1583
1583
|
.flow {
|
1584
1584
|
-webkit-transform-origin: 50% 30%;
|
1585
|
-
-moz-transform-origin: 50% 30%;
|
1585
|
+
-moz-transform-origin: 50% 30%;
|
1586
1586
|
-webkit-box-shadow: 0 0 20px rgba(0,0,0,.4);
|
1587
1587
|
-moz-box-shadow: 0 0 20px rgba(0,0,0,.4);
|
1588
1588
|
}
|
1589
1589
|
.ui-dialog.flow {
|
1590
1590
|
-webkit-transform-origin: none;
|
1591
|
-
-moz-transform-origin: none;
|
1591
|
+
-moz-transform-origin: none;
|
1592
1592
|
-webkit-box-shadow: none;
|
1593
1593
|
-moz-box-shadow: none;
|
1594
1594
|
}
|
@@ -1716,7 +1716,7 @@ div.ui-mobile-viewport { overflow-x: hidden; }
|
|
1716
1716
|
left: -99999em;
|
1717
1717
|
}
|
1718
1718
|
.ui-header-fixed .ui-btn,
|
1719
|
-
.ui-footer-fixed .ui-btn {
|
1719
|
+
.ui-footer-fixed .ui-btn {
|
1720
1720
|
z-index: 10;
|
1721
1721
|
}
|
1722
1722
|
.ui-navbar { overflow: hidden; }
|
@@ -1847,9 +1847,9 @@ div.ui-mobile-viewport { overflow-x: hidden; }
|
|
1847
1847
|
@media all and (min-width: 450px){
|
1848
1848
|
.ui-field-contain .ui-controlgroup-label { vertical-align: top; display: inline-block; width: 20%; margin: 0 2% 0 0; }
|
1849
1849
|
.ui-field-contain .ui-controlgroup-controls { width: 60%; display: inline-block; }
|
1850
|
-
.ui-field-contain .ui-controlgroup .ui-select { width: 100%; }
|
1850
|
+
.ui-field-contain .ui-controlgroup .ui-select { width: 100%; }
|
1851
1851
|
.ui-field-contain .ui-controlgroup-horizontal .ui-select { width: auto; }
|
1852
|
-
}
|
1852
|
+
}
|
1853
1853
|
.ui-dialog {
|
1854
1854
|
background: none !important; /* this is to ensure that dialog theming does not apply (by default at least) on the page div */
|
1855
1855
|
}
|
@@ -1859,26 +1859,26 @@ div.ui-mobile-viewport { overflow-x: hidden; }
|
|
1859
1859
|
border: none;
|
1860
1860
|
overflow: hidden;
|
1861
1861
|
}
|
1862
|
-
.ui-dialog .ui-header,
|
1863
|
-
.ui-dialog .ui-content,
|
1864
|
-
.ui-dialog .ui-footer {
|
1862
|
+
.ui-dialog .ui-header,
|
1863
|
+
.ui-dialog .ui-content,
|
1864
|
+
.ui-dialog .ui-footer {
|
1865
1865
|
display: block;
|
1866
|
-
position: relative;
|
1866
|
+
position: relative;
|
1867
1867
|
width: auto;
|
1868
1868
|
}
|
1869
|
-
.ui-dialog .ui-header,
|
1870
|
-
.ui-dialog .ui-footer {
|
1871
|
-
z-index: 10;
|
1869
|
+
.ui-dialog .ui-header,
|
1870
|
+
.ui-dialog .ui-footer {
|
1871
|
+
z-index: 10;
|
1872
1872
|
padding: 0;
|
1873
1873
|
}
|
1874
1874
|
.ui-dialog .ui-footer {
|
1875
|
-
padding: 0 15px;
|
1875
|
+
padding: 0 15px;
|
1876
1876
|
}
|
1877
|
-
.ui-dialog .ui-content {
|
1878
|
-
padding: 15px;
|
1877
|
+
.ui-dialog .ui-content {
|
1878
|
+
padding: 15px;
|
1879
1879
|
}
|
1880
|
-
.ui-dialog {
|
1881
|
-
margin-top: -15px;
|
1880
|
+
.ui-dialog {
|
1881
|
+
margin-top: -15px;
|
1882
1882
|
}
|
1883
1883
|
.ui-checkbox, .ui-radio { position: relative; clear: both; margin: .2em 0 .5em; z-index: 1; }
|
1884
1884
|
.ui-checkbox .ui-btn, .ui-radio .ui-btn { margin: 0; text-align: left; z-index: 2; }
|
@@ -1925,7 +1925,7 @@ div.ui-mobile-viewport { overflow-x: hidden; }
|
|
1925
1925
|
.ui-select .ui-disabled { opacity: .3; }
|
1926
1926
|
@-moz-document url-prefix() {.ui-select .ui-btn select { opacity: 0.0001; }}
|
1927
1927
|
.ui-select .ui-btn select.ui-select-nativeonly { opacity: 1; text-indent: 0; }
|
1928
|
-
.ui-select .ui-btn-icon-right .ui-btn-inner { padding-right: 45px; }
|
1928
|
+
.ui-select .ui-btn-icon-right .ui-btn-inner { padding-right: 45px; }
|
1929
1929
|
.ui-select .ui-btn-icon-right .ui-icon { right: 15px; }
|
1930
1930
|
.ui-select .ui-mini.ui-btn-icon-right .ui-icon { right: 7px; }
|
1931
1931
|
/* labels */
|
@@ -1943,10 +1943,10 @@ label.ui-select { font-size: 16px; line-height: 1.4; font-weight: normal; margi
|
|
1943
1943
|
.ui-selectmenu-list .ui-li .ui-icon { display: block; }
|
1944
1944
|
.ui-li.ui-selectmenu-placeholder { display: none; }
|
1945
1945
|
.ui-selectmenu .ui-header .ui-title { margin: 0.6em 46px 0.8em; }
|
1946
|
-
@media all and (min-width: 450px){
|
1946
|
+
@media all and (min-width: 450px){
|
1947
1947
|
.ui-field-contain label.ui-select { vertical-align: top; display: inline-block; width: 20%; margin: 0 2% 0 0; }
|
1948
1948
|
.ui-field-contain .ui-select { width: 60%; display: inline-block; }
|
1949
|
-
}
|
1949
|
+
}
|
1950
1950
|
/* when no placeholder is defined in a multiple select, the header height doesn't even extend past the close button. this shim's content in there */
|
1951
1951
|
.ui-selectmenu .ui-header h1:after { content: '.'; visibility: hidden; }
|
1952
1952
|
label.ui-input-text { font-size: 16px; line-height: 1.4; display: block; font-weight: normal; margin: 0 0 .3em; }
|
@@ -1966,13 +1966,13 @@ textarea.ui-mini { height: 45px; }
|
|
1966
1966
|
/* orientation adjustments - incomplete!*/
|
1967
1967
|
@media all and (min-width: 450px){
|
1968
1968
|
.ui-field-contain label.ui-input-text { vertical-align: top; display: inline-block; width: 20%; margin: 0 2% 0 0 }
|
1969
|
-
.ui-field-contain input.ui-input-text,
|
1970
|
-
.ui-field-contain textarea.ui-input-text,
|
1971
|
-
.ui-field-contain .ui-input-search { width: 60%; display: inline-block; }
|
1969
|
+
.ui-field-contain input.ui-input-text,
|
1970
|
+
.ui-field-contain textarea.ui-input-text,
|
1971
|
+
.ui-field-contain .ui-input-search { width: 60%; display: inline-block; }
|
1972
1972
|
.ui-field-contain .ui-input-search { width: 50%; }
|
1973
|
-
.ui-hide-label input.ui-input-text,
|
1974
|
-
.ui-hide-label textarea.ui-input-text,
|
1975
|
-
.ui-hide-label .ui-input-search { padding: .4em; width: 97%; }
|
1973
|
+
.ui-hide-label input.ui-input-text,
|
1974
|
+
.ui-hide-label textarea.ui-input-text,
|
1975
|
+
.ui-hide-label .ui-input-search { padding: .4em; width: 97%; }
|
1976
1976
|
.ui-input-search input.ui-input-text { width: 98%; /*echos rule from above*/ }
|
1977
1977
|
}
|
1978
1978
|
.ui-listview { margin: 0; counter-reset: listnumbering; }
|
@@ -2003,7 +2003,7 @@ ol.ui-listview .ui-li-jsnumbering:before { content: "" !important; } /* to avoid
|
|
2003
2003
|
.ui-li-aside { float: right; width: 50%; text-align: right; margin: .3em 0; }
|
2004
2004
|
@media all and (min-width: 480px){
|
2005
2005
|
.ui-li-aside { width: 45%; }
|
2006
|
-
}
|
2006
|
+
}
|
2007
2007
|
.ui-li-divider { cursor: default; }
|
2008
2008
|
.ui-li-has-alt .ui-btn-inner a.ui-link-inherit, .ui-li-static.ui-li-has-alt { padding-right: 95px; }
|
2009
2009
|
.ui-li-has-count .ui-li-count { position: absolute; font-size: 11px; font-weight: bold; padding: .2em .5em; top: 50%; margin-top: -.9em; right: 48px; }
|
@@ -2037,7 +2037,7 @@ div.ui-slider-mini a.ui-slider-handle .ui-btn-inner { height: 30px; width: 30px;
|
|
2037
2037
|
.ui-field-contain label.ui-slider { vertical-align: top; display: inline-block; width: 20%; margin: 0 2% 0 0; }
|
2038
2038
|
.ui-field-contain div.ui-slider { width: 43%; }
|
2039
2039
|
.ui-field-contain div.ui-slider-switch { width: 5.5em; }
|
2040
|
-
}
|
2040
|
+
}
|
2041
2041
|
div.ui-slider-switch { height: 32px; margin-left: 0; width: 5.8em; }
|
2042
2042
|
a.ui-slider-handle-snapping { -webkit-transition: left 70ms linear; -moz-transition: left 70ms linear; }
|
2043
2043
|
div.ui-slider-switch .ui-slider-handle { margin-top: 1px; }
|
@@ -1,6 +1,6 @@
|
|
1
|
-
// commit
|
1
|
+
// commit 1c9ac3578a369dcb35b168c3e2d7ce2e89d45d12
|
2
2
|
|
3
|
-
// File generated at ::
|
3
|
+
// File generated at :: Tue May 01 2012 13:42:28 GMT-0700 (PDT)
|
4
4
|
|
5
5
|
/*
|
6
6
|
Licensed to the Apache Software Foundation (ASF) under one
|
@@ -349,10 +349,10 @@ function deprecateFunctions(obj, objLabel) {
|
|
349
349
|
* TODO: remove in 2.0.
|
350
350
|
*/
|
351
351
|
if (!window.PhoneGap) {
|
352
|
-
window.PhoneGap =
|
352
|
+
window.PhoneGap = cordova;
|
353
353
|
}
|
354
354
|
if (!window.Cordova) {
|
355
|
-
window.Cordova =
|
355
|
+
window.Cordova = cordova;
|
356
356
|
}
|
357
357
|
|
358
358
|
/**
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mobile_template
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-05-
|
12
|
+
date: 2012-05-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: middleman
|