diff --git a/docs/_assets/css/jqm-docs.css b/docs/_assets/css/jqm-docs.css
index 750a0f82..ff977ab5 100644
--- a/docs/_assets/css/jqm-docs.css
+++ b/docs/_assets/css/jqm-docs.css
@@ -1,3 +1,9 @@
+/* jqm docs css
+
+Beware: lots of last-minute CSS going on in here
+cobblers, shoes,
+*/
+
body { background: #dddddd; }
.ui-mobile #jqm-home { background: #e5e5e5 url(../images/jqm-sitebg.png) top center repeat-x; }
@@ -93,8 +99,18 @@ p.intro {
/* docs site layout */
@media all and (min-width: 650px){
- .ui-mobile #jqm-homeheader {max-width: 340px;}
- .ui-mobile .jqm-themeswitcher {float: right;
+
+ .jqm-home {
+ position: absolute;
+ left: 10px;
+ top: 0;
+ }
+
+ .ui-mobile #jqm-homeheader {
+ max-width: 340px;
+ }
+ .ui-mobile .jqm-themeswitcher {
+ float: right;
}
p.intro {
border-top-color: #75ae18;
@@ -110,6 +126,7 @@ p.intro {
}
.type-interior .ui-content {
background-position: 45%;
+ overflow: hidden;
}
.content-secondary {
text-align: left;
@@ -124,6 +141,12 @@ p.intro {
padding: 20px 4% 0 0;
background: none;
}
+ .type-index .content-secondary {
+ padding: 0;
+ }
+ .type-index .content-secondary .ui-listview {
+ margin: 0;
+ }
.ui-mobile #jqm-homeheader {
padding: 0;
@@ -145,7 +168,6 @@ p.intro {
.type-interior .content-primary {
padding: 1.5em 6% 3em 0;
margin: 0;
-
}
/* fix up the collapsibles - expanded on desktop */
.content-secondary .ui-collapsible-heading {
@@ -159,7 +181,10 @@ p.intro {
margin: 0;
padding: 0;
}
-
+ .type-interior .content-secondary .ui-li-divider {
+ padding-top: 1em;
+ padding-bottom: 1em;
+ }
.type-interior .content-secondary {
margin: 0;
padding: 0;
diff --git a/docs/_assets/js/jqm-docs.js b/docs/_assets/js/jqm-docs.js
index f4036314..f67a7018 100644
--- a/docs/_assets/js/jqm-docs.js
+++ b/docs/_assets/js/jqm-docs.js
@@ -7,6 +7,10 @@ $('div').live('pagecreate',function(event){
appendEl = $(this).find('.ui-content');
}
+ if( appendEl.is("[data-position]") ){
+ return;
+ }
+
$('Switch theme')
.buttonMarkup({
'icon':'gear',
@@ -20,7 +24,7 @@ $('div').live('pagecreate',function(event){
$.themeswitcher();
});
}
- event.stopPropagation();
+
});
//collapse page navs after use
@@ -31,7 +35,17 @@ $(function(){
});
function setDefaultTransition(){
- $.mobile.defaultPageTransition = $( window ).width() >= 650 ? "fade" : "slide";
+ var winwidth = $( window ).width(),
+ trans ="slide";
+
+ if( winwidth >= 1000 ){
+ trans = "none";
+ }
+ else if( winwidth >= 650 ){
+ trans = "fade";
+ }
+
+ $.mobile.defaultPageTransition = trans;
}
//set default documentation
diff --git a/docs/about/accessibility.html b/docs/about/accessibility.html
index 55d4de83..5294d44c 100755
--- a/docs/about/accessibility.html
+++ b/docs/about/accessibility.html
@@ -38,7 +38,7 @@
-
Demos & Docs Sections
+
More in this section
- Overview
diff --git a/docs/about/features.html b/docs/about/features.html
index bd96c193..49e50611 100755
--- a/docs/about/features.html
+++ b/docs/about/features.html
@@ -45,7 +45,7 @@
-
Demos & Docs Sections
+
More in this section
- Overview
diff --git a/docs/about/intro.html b/docs/about/intro.html
index a72012ba..6254aa17 100755
--- a/docs/about/intro.html
+++ b/docs/about/intro.html
@@ -42,7 +42,7 @@
-
Demos & Docs Sections
+
More in this section
- Overview
diff --git a/docs/about/platforms.html b/docs/about/platforms.html
index e77d9067..e472ffee 100755
--- a/docs/about/platforms.html
+++ b/docs/about/platforms.html
@@ -82,7 +82,7 @@
-
Demos & Docs Sections
+
More in this section
- Overview
diff --git a/docs/api/events.html b/docs/api/events.html
index 6b1c70d3..60a9ad84 100755
--- a/docs/api/events.html
+++ b/docs/api/events.html
@@ -140,7 +140,7 @@ $('#aboutPage').live('pagebeforecreate',function(event){
-
Demos & Docs Sections
+
More in this section
diff --git a/docs/api/globalconfig.html b/docs/api/globalconfig.html
index 5b2d609e..4932ef62 100755
--- a/docs/api/globalconfig.html
+++ b/docs/api/globalconfig.html
@@ -132,7 +132,7 @@ $(document).bind("mobileinit", function(){
-
Demos & Docs Sections
+
More in this section
diff --git a/docs/api/mediahelpers.html b/docs/api/mediahelpers.html
index fd7f9733..439028f4 100755
--- a/docs/api/mediahelpers.html
+++ b/docs/api/mediahelpers.html
@@ -102,7 +102,7 @@ $.mobile.media("screen and (-webkit-min-device-pixel-ratio: 2)");
-
Demos & Docs Sections
+
More in this section
diff --git a/docs/api/methods.html b/docs/api/methods.html
index 9f38f262..13d0c305 100755
--- a/docs/api/methods.html
+++ b/docs/api/methods.html
@@ -513,7 +513,7 @@ $.mobile.addResolutionBreakpoints([600,800]);
-
Demos & Docs Sections
+
More in this section
diff --git a/docs/api/themes.html b/docs/api/themes.html
index 68543a10..8cf23e6f 100755
--- a/docs/api/themes.html
+++ b/docs/api/themes.html
@@ -240,7 +240,7 @@
-
Demos & Docs Sections
+
More in this section
diff --git a/docs/buttons/buttons-grouped.html b/docs/buttons/buttons-grouped.html
index 66f1fa6d..9cf75eff 100755
--- a/docs/buttons/buttons-grouped.html
+++ b/docs/buttons/buttons-grouped.html
@@ -70,7 +70,7 @@
-
Demos & Docs Sections
+
More in this section
diff --git a/docs/buttons/buttons-icons.html b/docs/buttons/buttons-icons.html
index 58c0024d..5ef2e2fc 100755
--- a/docs/buttons/buttons-icons.html
+++ b/docs/buttons/buttons-icons.html
@@ -188,7 +188,7 @@
-
Demos & Docs Sections
+
More in this section
diff --git a/docs/buttons/buttons-inline.html b/docs/buttons/buttons-inline.html
index adcd535c..48c860b0 100755
--- a/docs/buttons/buttons-inline.html
+++ b/docs/buttons/buttons-inline.html
@@ -56,7 +56,7 @@
-
Demos & Docs Sections
+
More in this section
diff --git a/docs/buttons/buttons-themes.html b/docs/buttons/buttons-themes.html
index 2dbad910..17fec724 100644
--- a/docs/buttons/buttons-themes.html
+++ b/docs/buttons/buttons-themes.html
@@ -101,7 +101,7 @@
-
Demos & Docs Sections
+
More in this section
+ Buttons are core widgets in jQuery Mobile, and are used within a wide range of other plugins.
-