Skip to content

Commit a763847

Browse files
committed
Revert "Updated version flag styles to fit longer names"
This reverts commit 4aeeabe.
1 parent 4aeeabe commit a763847

File tree

1 file changed

+26
-16
lines changed

1 file changed

+26
-16
lines changed

docs/_assets/css/jqm-docs.css

Lines changed: 26 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ body { background: #dddddd; }
99
.ui-mobile #jqm-homeheader { padding: 40px 10px 0; text-align: center; margin: 0 auto; }
1010
.ui-mobile #jqm-homeheader h1 { margin: 0 0 ; }
1111
.ui-mobile #jqm-homeheader p { margin: .3em 0 0; line-height: 1.3; font-size: .9em; font-weight: bold; color: #666; }
12-
.ui-mobile #jqm-version { text-indent: -99999px; background: url(../images/version.png) top right no-repeat; width: 119px; height: 122px; overflow: hidden; position: absolute; z-index: 50; top: -11px; right: 0; }
12+
1313
/* .ui-mobile .jqm-themeswitcher { margin: 10px 25px 10px 10px; } */
1414

1515
.jqm-version {
@@ -20,14 +20,14 @@ body { background: #dddddd; }
2020
display: block;
2121
font-weight: bold;
2222
position: absolute;
23-
padding: .25em 3em.25em 5em;
24-
right: -3.5em;
23+
padding: .25em 3em;
24+
right: -2.5em;
2525
text-align: center;
2626
text-shadow: 0 1px 1px #fff;
27-
top: .55em;
28-
width: 7em;
27+
top: .75em;
28+
width: 78px;
2929
z-index: 9;
30-
font-size:.9em;
30+
font-size:.8em;
3131
-webkit-transform: rotate(45deg);
3232
-moz-transform: rotate(45deg);
3333
-o-transform: rotate(45deg);
@@ -271,15 +271,11 @@ dd h4 { margin:15px 0 0 0; }
271271
margin: 2em 0;
272272
}
273273
.type-home .ui-content,
274-
.type-interior .ui-content {
274+
.type-interior > .ui-content {
275275
padding: 0;
276276
background: url(../images/px-ccc.gif) 50% 0 repeat-y;
277277
}
278-
.ui-popup-container .ui-content {
279-
padding: 15px;
280-
background-image: none;
281-
}
282-
.type-interior .ui-content {
278+
.type-interior > .ui-content {
283279
background-position: 45%;
284280
overflow: hidden;
285281
}
@@ -362,8 +358,7 @@ dd h4 { margin:15px 0 0 0; }
362358

363359
}
364360
@media all and (min-width: 750px){
365-
.type-home .ui-content,
366-
.type-interior .ui-content {
361+
.type-home .ui-content {
367362
background-position: 39%;
368363
}
369364
.content-secondary {
@@ -373,7 +368,7 @@ dd h4 { margin:15px 0 0 0; }
373368
width: 56%;
374369
padding-right: 1%;
375370
}
376-
.type-interior .ui-content {
371+
.type-interior > .ui-content {
377372
background-position: 34%;
378373
}
379374
}
@@ -382,7 +377,7 @@ dd h4 { margin:15px 0 0 0; }
382377
.type-home .ui-content{
383378
background-position: 38.5%;
384379
}
385-
.type-interior .ui-content {
380+
.type-interior > .ui-content {
386381
background-position: 30%;
387382
}
388383
.content-secondary {
@@ -404,6 +399,21 @@ dd h4 { margin:15px 0 0 0; }
404399
}
405400
}
406401

402+
/* reset for popup examples */
403+
.type-interior .ui-popup.ui-content,
404+
.type-interior .ui-popup .ui-content {
405+
background-position: 0 0;
406+
background-repeat: no-repeat;
407+
overflow: visible;
408+
}
409+
/* iframe style for browsers that don't support HTML5 seamless attribute */
410+
.ui-popup iframe[seamless] {
411+
background-color: transparent;
412+
border: none;
413+
padding: 0;
414+
overflow: hidden;
415+
}
416+
407417
/* tables documenting enum-type settings */
408418

409419
.enum-value {

0 commit comments

Comments
 (0)