Skip to content

Commit a9ba349

Browse files
Docs: added JQM version info to footer. Fixes jquery-archive#3330
1 parent db11e2b commit a9ba349

File tree

141 files changed

+218
-64
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

141 files changed

+218
-64
lines changed

docs/_assets/css/jqm-docs.css

Lines changed: 27 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ body, input, textarea, select, button { font-family: Helvetica, Arial, san-serif
1212
.ui-mobile #jqm-homeheader h1 { margin: 0 0 ; }
1313
.ui-mobile #jqm-homeheader p { margin: .3em 0 0; line-height: 1.3; font-size: .9em; font-weight: bold; color: #666; }
1414

15-
.ui-mobile-viewport .jqm-version {
15+
.type-home .ui-content .jqm-version {
1616
display: block;
1717
position: absolute;
1818
width: 96px;
@@ -39,11 +39,36 @@ body, input, textarea, select, button { font-family: Helvetica, Arial, san-serif
3939
-o-box-shadow: 0 0 6px rgba(0,0,0,.40);
4040
box-shadow: 0 0 6px rgba(0,0,0,.40);
4141
}
42-
.ui-mobile-viewport .jqm-version b {
42+
.type-home .ui-content .jqm-version b {
4343
color: #a21412;
4444
font-weight: bold;
4545
}
4646

47+
.footer-docs {
48+
padding: 5px 0;
49+
clear:both;
50+
color:#666;
51+
}
52+
.footer-docs p, .footer-docs b {
53+
font-weight: normal;
54+
font-size: .9em;
55+
}
56+
.ui-mobile-viewport .footer-docs p {
57+
margin: .5em 15px;
58+
}
59+
@media all and (min-width:450px) {
60+
.ui-mobile-viewport .footer-docs {
61+
overflow: hidden;
62+
}
63+
.ui-mobile-viewport .footer-docs p {
64+
margin: 1em 15px;
65+
float: left;
66+
}
67+
.ui-mobile-viewport .footer-docs p.jqm-version {
68+
float: right;
69+
}
70+
}
71+
4772
h2 { margin:1.2em 0 .4em 0; }
4873
p code { font-size:1.2em; font-weight:bold; }
4974
h4 code {font-size:1.2em; font-weight:bold; }
@@ -76,16 +101,6 @@ p.intro {
76101
p.intro strong {
77102
color: #558e08;
78103
}
79-
.footer-docs {
80-
padding: 5px 0;
81-
clear:both;
82-
color:#666;
83-
}
84-
.footer-docs p {
85-
margin-left:15px;
86-
font-weight: normal;
87-
font-size: .9em;
88-
}
89104

90105
.type-interior .content-secondary {
91106
border-right: 0;

docs/_assets/js/jqm-docs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ $(document).bind( 'pageinit', function() {
2323
html += " <b>" + str + "</b>";
2424
}
2525

26-
$( "p.jqm-version" ).html( html );
26+
$( "p.jqm-version" ).html( "1.2.0 <b>Final</b>" );
2727
});
2828

2929
// Turn off AJAX for local file browsing

docs/about/accessibility.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ <h3>More in this section</h3>
5757
</div><!-- /content -->
5858

5959
<div data-role="footer" class="footer-docs" data-theme="c">
60+
<p class="jqm-version"></p>
6061
<p>&copy; 2012 jQuery Foundation and other contributors</p>
6162
</div>
6263

docs/about/features.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ <h3>More in this section</h3>
6666
</div><!-- /content -->
6767

6868
<div data-role="footer" class="footer-docs" data-theme="c">
69-
<p>&copy; 2012 jQuery Foundation and other contributors</p>
69+
<p class="jqm-version"></p>
70+
<p>&copy; 2012 jQuery Foundation and other contributors</p>
7071
</div>
7172

7273

docs/about/getting-started.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,8 @@ <h3>More in this section</h3>
161161
</div><!-- /content -->
162162

163163
<div data-role="footer" class="footer-docs" data-theme="c">
164-
<p>&copy; 2012 jQuery Foundation and other contributors</p>
164+
<p class="jqm-version"></p>
165+
<p>&copy; 2012 jQuery Foundation and other contributors</p>
165166
</div>
166167

167168

docs/about/intro.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ <h3>More in this section</h3>
6060
</div><!-- /content -->
6161

6262
<div data-role="footer" class="footer-docs" data-theme="c">
63-
<p>&copy; 2012 jQuery Foundation and other contributors</p>
63+
<p class="jqm-version"></p>
64+
<p>&copy; 2012 jQuery Foundation and other contributors</p>
6465
</div>
6566

6667

docs/about/platforms.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,8 @@ <h3>More in this section</h3>
101101
</div><!-- /content -->
102102

103103
<div data-role="footer" class="footer-docs" data-theme="c">
104-
<p>&copy; 2012 jQuery Foundation and other contributors</p>
104+
<p class="jqm-version"></p>
105+
<p>&copy; 2012 jQuery Foundation and other contributors</p>
105106
</div>
106107

107108

docs/api/data-attributes.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -651,6 +651,7 @@ <h3>More in this section</h3>
651651
</div><!-- /content -->
652652

653653
<div data-role="footer" class="footer-docs" data-theme="c">
654+
<p class="jqm-version"></p>
654655
<p>&copy; 2012 jQuery Foundation and other contributors</p>
655656
</div>
656657

docs/api/events-nav.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -548,6 +548,7 @@ <h3>More in this section</h3>
548548
</div><!-- /content -->
549549

550550
<div data-role="footer" class="footer-docs" data-theme="c">
551+
<p class="jqm-version"></p>
551552
<p>&copy; 2012 jQuery Foundation and other contributors</p>
552553
</div>
553554

docs/api/events.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -528,6 +528,7 @@ <h3>More in this section</h3>
528528
</div><!-- /content -->
529529

530530
<div data-role="footer" class="footer-docs" data-theme="c">
531+
<p class="jqm-version"></p>
531532
<p>&copy; 2012 jQuery Foundation and other contributors</p>
532533
</div>
533534

0 commit comments

Comments
 (0)