diff --git a/css/structure/jquery.mobile.collapsible.css b/css/structure/jquery.mobile.collapsible.css index 2794e898624..e14b66205b5 100644 --- a/css/structure/jquery.mobile.collapsible.css +++ b/css/structure/jquery.mobile.collapsible.css @@ -13,10 +13,10 @@ .ui-collapsible-heading .ui-btn-icon-left.ui-mini .ui-btn-inner { padding-left: 30px; } .ui-collapsible-heading .ui-btn-icon-right.ui-mini .ui-btn-inner { padding-right: 30px; } -.ui-collapsible-heading .ui-btn span.ui-btn { position: absolute; left: 6px; top: 50%; margin: -12px 0 0 0; width: 20px; height: 20px; padding: 1px 0px 1px 2px; text-indent: -9999px; } +.ui-collapsible-heading .ui-btn span.ui-btn { position: absolute; left: 6px; top: 50%; margin: -12px 0 0 0; width: 20px; height: 20px; padding: 1px 0 1px 2px; text-indent: -9999px; } .ui-collapsible-heading .ui-btn span.ui-btn .ui-btn-inner { padding: 10px 0; } .ui-collapsible-heading .ui-btn span.ui-btn .ui-icon { left: 0; margin-top: -10px; } -.ui-collapsible-heading-status { position: absolute; top: -9999px; left:0px; } +.ui-collapsible-heading-status { position: absolute; top: -9999px; left: 0; } .ui-collapsible-content { display: block; margin: 0 -15px; diff --git a/css/structure/jquery.mobile.listview.css b/css/structure/jquery.mobile.listview.css index 521cf1934ff..474c633351f 100644 --- a/css/structure/jquery.mobile.listview.css +++ b/css/structure/jquery.mobile.listview.css @@ -78,7 +78,7 @@ ol.ui-listview .ui-li-jsnumbering:before { content: "" !important; } /* to avoid .ui-li-link-alt .ui-btn .ui-icon { right: 50%; margin-right: -9px; } .ui-li-link-alt .ui-btn-icon-notext .ui-btn-inner .ui-icon { position: absolute; top: 50%; margin-top: -9px; } -.ui-listview * .ui-btn-inner > .ui-btn > .ui-btn-inner { border-top: 0px; } +.ui-listview * .ui-btn-inner > .ui-btn > .ui-btn-inner { border-top: 0; } .ui-listview-filter { border-width: 0; overflow: hidden; margin: -15px -15px 15px -15px; } .ui-collapsible-content .ui-listview-filter { margin: -10px -15px 10px -15px; border-bottom: inherit; } diff --git a/css/structure/jquery.mobile.panel.css b/css/structure/jquery.mobile.panel.css index b5b0ddbaaa1..7b55fef9df1 100644 --- a/css/structure/jquery.mobile.panel.css +++ b/css/structure/jquery.mobile.panel.css @@ -182,15 +182,15 @@ -moz-box-shadow: inset 5px 0 5px rgba(0,0,0,.15); box-shadow: inset 5px 0 5px rgba(0,0,0,.15); } +.ui-panel-display-overlay { + -webkit-box-shadow: 5px 0 5px rgba(0,0,0,.15); + -moz-box-shadow: 5px 0 5px rgba(0,0,0,.15); + box-shadow: 5px 0 5px rgba(0,0,0,.15); +} .ui-panel-position-right.ui-panel-display-overlay { - -webkit-box-shadow: -5px 0px 5px rgba(0,0,0,.15); - -moz-box-shadow: -5px 0px 5px rgba(0,0,0,.15); - box-shadow: -5px 0px 5px rgba(0,0,0,.15); -} -.ui-panel-position-left.ui-panel-display-overlay { - -webkit-box-shadow: 5px 0px 5px rgba(0,0,0,.15); - -moz-box-shadow: 5px 0px 5px rgba(0,0,0,.15); - box-shadow: 5px 0px 5px rgba(0,0,0,.15); + -webkit-box-shadow: -5px 0 5px rgba(0,0,0,.15); + -moz-box-shadow: -5px 0 5px rgba(0,0,0,.15); + box-shadow: -5px 0 5px rgba(0,0,0,.15); } .ui-panel-display-push.ui-panel-open.ui-panel-position-left { border-right-width: 1px; diff --git a/css/structure/jquery.mobile.popup.css b/css/structure/jquery.mobile.popup.css index 46cfb459dd2..6ac4d0e7a8f 100644 --- a/css/structure/jquery.mobile.popup.css +++ b/css/structure/jquery.mobile.popup.css @@ -4,9 +4,9 @@ } .ui-popup-screen { background-image: url(data:image/gif;base64,R0lGODlhAQABAID/AMDAwAAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==); /* Necessary to set some form of background to ensure element is clickable in IE6/7. While legacy IE won't understand the data-URI'd image, it ensures no additional requests occur in all other browsers with little overhead. */ - top: 0px; - left: 0px; - right: 0px; + top: 0; + left: 0; + right: 0; bottom: 1px; position: absolute; filter: Alpha(Opacity=0); diff --git a/css/themes/default/jquery.mobile.theme.css b/css/themes/default/jquery.mobile.theme.css index 2f07aa83ad1..f3226aae95d 100644 --- a/css/themes/default/jquery.mobile.theme.css +++ b/css/themes/default/jquery.mobile.theme.css @@ -555,7 +555,7 @@ } .ui-btn-up-d:visited, .ui-btn-up-d a.ui-link-inherit { - color: #333 /*{d-bup-color}*/; + color: #2f3e46 /*{d-bup-color}*/; } .ui-btn-hover-d { border: 1px solid #aaa /*{d-bhover-border}*/; @@ -767,7 +767,7 @@ a.ui-link-inherit { border: 1px solid #2373a5 /*{global-active-border}*/; background: #5393c5 /*{global-active-background-color}*/; font-weight: bold; - color: #fff /*{global-active-color}*/; + color: #754300 /*{global-active-color}*/; cursor: pointer; text-shadow: 0 /*{global-active-shadow-x}*/ 1px /*{global-active-shadow-y}*/ 0 /*{global-active-shadow-radius}*/ #3373a5 /*{global-active-shadow-color}*/; text-decoration: none; @@ -968,7 +968,7 @@ a.ui-link-inherit { } .ui-icon-plus { - background-position: 0px 50%; + background-position: 0 50%; } .ui-icon-minus { background-position: -36px 50%; @@ -1054,7 +1054,7 @@ a.ui-link-inherit { } .ui-checkbox-on .ui-icon, .ui-radio-on .ui-icon { - background-color: #4596ce /*{global-active-background-color}*/; /* NOTE: this hex should match the active state color. It's repeated here for cascade */ + background-color: #e49200 /*{global-active-background-color}*/; /* NOTE: this hex should match the active state color. It's repeated here for cascade */ } /* loading icon */ @@ -1089,31 +1089,31 @@ a.ui-link-inherit { height: 100%; } .ui-overlay-shadow { - -moz-box-shadow: 0px 0px 12px rgba(0,0,0,.6); - -webkit-box-shadow: 0px 0px 12px rgba(0,0,0,.6); - box-shadow: 0px 0px 12px rgba(0,0,0,.6); + -moz-box-shadow: 0 0 12px rgba(0,0,0,.6); + -webkit-box-shadow: 0 0 12px rgba(0,0,0,.6); + box-shadow: 0 0 12px rgba(0,0,0,.6); } .ui-shadow { - -moz-box-shadow: 0px 1px 3px /*{global-box-shadow-size}*/ rgba(0,0,0,.2) /*{global-box-shadow-color}*/; - -webkit-box-shadow: 0px 1px 3px /*{global-box-shadow-size}*/ rgba(0,0,0,.2) /*{global-box-shadow-color}*/; - box-shadow: 0px 1px 3px /*{global-box-shadow-size}*/ rgba(0,0,0,.2) /*{global-box-shadow-color}*/; + -moz-box-shadow: 0 1px 3px /*{global-box-shadow-size}*/ rgba(0,0,0,.2) /*{global-box-shadow-color}*/; + -webkit-box-shadow: 0 1px 3px /*{global-box-shadow-size}*/ rgba(0,0,0,.2) /*{global-box-shadow-color}*/; + box-shadow: 0 1px 3px /*{global-box-shadow-size}*/ rgba(0,0,0,.2) /*{global-box-shadow-color}*/ } .ui-bar-a .ui-shadow, .ui-bar-b .ui-shadow , .ui-bar-c .ui-shadow { - -moz-box-shadow: 0px 1px 0 rgba(255,255,255,.3); - -webkit-box-shadow: 0px 1px 0 rgba(255,255,255,.3); - box-shadow: 0px 1px 0 rgba(255,255,255,.3); + -moz-box-shadow: 0 1px 0 rgba(255,255,255,.3); + -webkit-box-shadow: 0 1px 0 rgba(255,255,255,.3); + box-shadow: 0 1px 0 rgba(255,255,255,.3); } .ui-shadow-inset { - -moz-box-shadow: inset 0px 1px 4px rgba(0,0,0,.2); - -webkit-box-shadow: inset 0px 1px 4px rgba(0,0,0,.2); - box-shadow: inset 0px 1px 4px rgba(0,0,0,.2); + -moz-box-shadow: inset 0 1px 4px rgba(0,0,0,.2); + -webkit-box-shadow: inset 0 1px 4px rgba(0,0,0,.2); + box-shadow: inset 0 1px 4px rgba(0,0,0,.2); } .ui-icon-shadow { - -moz-box-shadow: 0px 1px 0 rgba(255,255,255,.4) /*{global-icon-shadow}*/; - -webkit-box-shadow: 0px 1px 0 rgba(255,255,255,.4) /*{global-icon-shadow}*/; - box-shadow: 0px 1px 0 rgba(255,255,255,.4) /*{global-icon-shadow}*/; + -moz-box-shadow: 0 1px 0 rgba(255,255,255,.4) /*{global-icon-shadow}*/; + -webkit-box-shadow: 0 1px 0 rgba(255,255,255,.4) /*{global-icon-shadow}*/; + box-shadow: 0 1px 0 rgba(255,255,255,.4) /*{global-icon-shadow}*/; } /* Focus state - set here for specificity (note: these classes are added by JavaScript) @@ -1127,15 +1127,15 @@ a.ui-link-inherit { } .ui-focus, .ui-btn:focus { - -moz-box-shadow: inset 0px 0px 3px #387bbe /*{global-active-background-color}*/, 0px 0px 9px #387bbe /*{global-active-background-color}*/; - -webkit-box-shadow: inset 0px 0px 3px #387bbe /*{global-active-background-color}*/, 0px 0px 9px #387bbe /*{global-active-background-color}*/; - box-shadow: inset 0px 0px 3px #387bbe /*{global-active-background-color}*/, 0px 0px 9px #387bbe /*{global-active-background-color}*/; + -moz-box-shadow: inset 0 0 3px #387bbe /*{global-active-background-color}*/, 0 0 9px #387bbe /*{global-active-background-color}*/; + -webkit-box-shadow: inset 0 0 3px #387bbe /*{global-active-background-color}*/, 0 0 9px #387bbe /*{global-active-background-color}*/; + box-shadow: inset 0 0 3px #387bbe /*{global-active-background-color}*/, 0 0 9px #387bbe /*{global-active-background-color}*/; } .ui-input-text.ui-focus, .ui-input-search.ui-focus { - -moz-box-shadow: 0px 0px 12px #387bbe /*{global-active-background-color}*/; - -webkit-box-shadow: 0px 0px 12px #387bbe /*{global-active-background-color}*/; - box-shadow: 0px 0px 12px #387bbe /*{global-active-background-color}*/; + -moz-box-shadow: 0 0 12px #387bbe /*{global-active-background-color}*/; + -webkit-box-shadow: 0 0 12px #387bbe /*{global-active-background-color}*/; + box-shadow: 0 0 12px #387bbe /*{global-active-background-color}*/; } /* unset box shadow in browsers that don't do it right diff --git a/docs/_assets/css/jqm-demos.css b/docs/_assets/css/jqm-demos.css index f8d143a06c9..44b0758cfde 100644 --- a/docs/_assets/css/jqm-demos.css +++ b/docs/_assets/css/jqm-demos.css @@ -5,6 +5,7 @@ /* Page */ body, .jqm-demos { background-color: #fefefe; + font-size: 1.05em; } /* Header */ @@ -271,7 +272,7 @@ body, .jqm-demos { font-family: 'Open Sans', sans-serif; font-weight: 300; font-size: 2.4em; - color: #555; + color: #333; clear:both; } .jqm-faq .jqm-content > h1 { @@ -285,7 +286,7 @@ body, .jqm-demos { font-family: 'Open Sans', sans-serif; font-weight: 300; font-size: 1.6em; - color: #74b042; + color: #60a725; padding-top: .6em; clear:both; } @@ -334,7 +335,7 @@ h2.jqm-home-widget { margin-top: -.5em; margin-bottom: .5em; padding-bottom: 2.6em; - color: #555; + color: #333; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #e5e5e5; @@ -343,7 +344,7 @@ h2.jqm-home-widget { .jqm-demos-home .jqm-content .jqm-intro { font-family: 'Open Sans', sans-serif; font-weight: 300; - font-size: .9em; + line-height: 1.6; margin: .5em .8em 1em .8em; padding-bottom: .5em; border: none; @@ -383,6 +384,10 @@ h2.jqm-home-widget { .jqm-demos .jqm-content.jqm-fullwidth { padding: 15px; } + + .jqm-content p { + line-height: 1.5; + } .jqm-demos-home .jqm-content p.jqm-intro { font-size: 1.1em; } @@ -504,7 +509,7 @@ h2.jqm-home-widget { background-image: none; background-color: #f8f8f8; border-color: #e8e8e8; - color: #74b042; + color: #60a725; text-shadow: none; } /* List buttons */ @@ -523,15 +528,10 @@ h2.jqm-home-widget { } .jqm-list .ui-btn-up-d { background-color: #fff; + background-image: none; } .jqm-list .ui-btn-hover-d { background-color: #f8f8f8; -} -.jqm-list .ui-btn-up-d, -.jqm-list .ui-btn-hover-d { - -webkit-background-image: none; - -moz-background-image: none; - -o-background-image: none; background-image: none; } .jqm-list .ui-btn-up-d.ui-btn-active, @@ -542,9 +542,6 @@ h2.jqm-home-widget { .jqm-list .ui-btn-down-d.ui-focus { border-color: #34bae8; background-color: #34bae8; - -webkit-background-image: none; - -moz-background-image: none; - -o-background-image: none; background-image: none; color: #fff; text-shadow: 0 1px 0 #369; @@ -853,7 +850,7 @@ h2.jqm-home-widget { float: none; left: auto; height: auto; - line-height: 16px; + line-height: 18px; margin: 0; outline: 0; overflow: visible; @@ -868,7 +865,7 @@ h2.jqm-home-widget { font-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; font-weight: normal; font-style: normal; - font-size: 13px; + font-size: 14px; min-height: inherit; min-height: auto; } @@ -967,13 +964,13 @@ h2.jqm-home-widget { color: #5ba1cf; } .syntaxhighlighter .string { - color: #9a6; + color: #98da31; } .syntaxhighlighter .string a { color: #1dc116; } .syntaxhighlighter .keyword { - color: #c84; + color: #ffae00; } .syntaxhighlighter .preprocessor { color: #8aa6c1; diff --git a/docs/examples/controlgroups/dynamic-controlgroup.php b/docs/examples/controlgroups/dynamic-controlgroup.php index b988bd41064..40d1ea64256 100644 --- a/docs/examples/controlgroups/dynamic-controlgroup.php +++ b/docs/examples/controlgroups/dynamic-controlgroup.php @@ -19,31 +19,35 @@ counter++; var widgetType = $( "[name='radio-widget']:checked" ).attr( "id" ), - group = $( "#controlgroup" ), + group = $( "#my-controlgroup" ), $el, action = function() { - var option = $( "[name='radio-option']:checked" ).attr( "id" ); - $el[ option ](); group.controlgroup( "refresh" ); + var action = $( "[name='radio-action']:checked" ).attr( "id" ); + if ( $( $el[1] ).is( "select" ) && action === "hide" ) { + $el = $( $el[1] ).parents( ".ui-select" ); + } + $el[ action ](); + group.controlgroup( "refresh" ); }; if ( widgetType === "link" ) { $el = $( "Link " + counter + "" ).bind( "click", action ); - $( "#controlgroup" ).controlgroup( "container" )[ $( this ).attr( "id" ) ]( $el ); + $( "#my-controlgroup" ).controlgroup( "container" )[ $( this ).attr( "id" ) ]( $el ); $el.buttonMarkup(); } else if ( widgetType === "select" ) { - $el = $( "" ); + $el = $( "" ); $( $el[ 1 ] ).bind( "change", action); - $( "#controlgroup" ).controlgroup( "container" )[ $( this ).attr( "id" ) ]( $el ); + $( "#my-controlgroup" ).controlgroup( "container" )[ $( this ).attr( "id" ) ]( $el ); $( $el[ 1 ] ).selectmenu(); } else { $el = $( "" ); $( $el[ 1 ] ).bind( "change", action ); - $( "#controlgroup" ).controlgroup( "container" )[ $( this ).attr( "id" ) ]( $el ); + $( "#my-controlgroup" ).controlgroup( "container" )[ $( this ).attr( "id" ) ]( $el ); $( $el[ 1 ] ).checkboxradio(); } @@ -52,11 +56,14 @@ }); $( "[name='radio-orientation']" ).bind( "change", function( e ) { - $( "#controlgroup" ).controlgroup( "option", "type", ( $( "#isHorizontal" ).is( ":checked" ) ? "horizontal" : "vertical" ) ); + $( "#my-controlgroup" ).controlgroup( "option", "type", ( $( "#isHorizontal" ).is( ":checked" ) ? "horizontal" : "vertical" ) ); }); }); })( jQuery ); +
This demo shows how you can dynamically make changes to a controlgroup.
- diff --git a/docs/examples/panels/panel-styling.php b/docs/examples/panels/panel-styling.php index 2c3ddc1a05b..092a846c77e 100644 --- a/docs/examples/panels/panel-styling.php +++ b/docs/examples/panels/panel-styling.php @@ -71,9 +71,9 @@ box-shadow: -5px 0px 5px rgba(0,0,0,.15); } - /* Use the ui-body class of your page theme to set a background image. - The page theme will be set for the content wrapper, - while the page get the panel them before opening the panel. */ + /* Use the ui-body class of your page theme (ui-body-d in this demo) to set a background image. + This class will be added to the content wrapper, while the page itself gets the same background + as the panel before opening the panel. */ #demo-page .ui-body-d { background-image: url(../../_assets/img/bg-pattern.png); background-repeat: repeat-x; @@ -148,6 +148,8 @@Click the "view source" button to see the CSS and markup of this demo and open the demo to see the result.
Open demo diff --git a/docs/nav-widgets.php b/docs/nav-widgets.php index 0adbe7a8bff..40c73cf8a73 100644 --- a/docs/nav-widgets.php +++ b/docs/nav-widgets.php @@ -26,7 +26,7 @@