From: <txm...@us...> - 2012-12-11 18:24:51
|
Revision: 10361 http://sourceforge.net/p/xoops/svn/10361 Author: txmodxoops Date: 2012-12-11 18:24:46 +0000 (Tue, 11 Dec 2012) Log Message: ----------- Updated Modified Paths: -------------- XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/css/jqm-init.css XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/css/style.css XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/js/jqm-init.js XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/system/system_redirect.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/system/system_siteclosed.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/theme.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/tpl/dcontent.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/tpl/footer.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/tpl/header.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/tpl/metas.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/tpl/scripts.html Added Paths: ----------- XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/img/icons/ XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/img/icons/apple/ XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/img/icons/apple/icon_114.png XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/img/icons/apple/icon_57.png XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/img/icons/apple/icon_72.png XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/img/icons/apple/index.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/img/icons/index.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/contact/ XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/contact/blocks/ XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/contact/blocks/index.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/contact/contact_index.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/contact/index.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/imprint/ XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/imprint/blocks/ XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/imprint/blocks/index.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/imprint/imprint_footer.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/imprint/imprint_header.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/imprint/imprint_imp.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/imprint/imprint_index.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/imprint/index.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/pm/ XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/pm/blocks/ XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/pm/blocks/index.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/pm/index.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/pm/pm_pmlite.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/pm/pm_readpmsg.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/pm/pm_viewpmsg.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/profile/ XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/profile/admin/ XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/profile/admin/index.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/profile/admin/profile_categorylist.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/profile/admin/profile_fieldlist.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/profile/admin/profile_steplist.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/profile/admin/profile_visibility.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/profile/blocks/ XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/profile/blocks/index.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/profile/index.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/profile/profile_avatar.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/profile/profile_breadcrumbs.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/profile/profile_changepass.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/profile/profile_editprofile.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/profile/profile_email.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/profile/profile_form.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/profile/profile_register.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/profile/profile_results.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/profile/profile_search.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/profile/profile_userform.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/profile/profile_userinfo.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/system/admin/ XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/system/admin/index.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/system/admin/system_avatars.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/system/admin/system_banners.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/system/admin/system_blocks.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/system/admin/system_blocks_item.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/system/admin/system_comments.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/system/admin/system_filemanager.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/system/admin/system_groups.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/system/admin/system_header.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/system/admin/system_help.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/system/admin/system_images.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/system/admin/system_index.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/system/admin/system_mailusers.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/system/admin/system_maintenance.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/system/admin/system_modules.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/system/admin/system_modules_confirm.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/system/admin/system_preferences.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/system/admin/system_smilies.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/system/admin/system_templates.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/system/admin/system_userrank.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/system/admin/system_users.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/system/blocks/ XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/system/blocks/index.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/system/blocks/system_block_comments.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/system/blocks/system_block_login.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/system/blocks/system_block_mainmenu.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/system/blocks/system_block_newusers.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/system/blocks/system_block_notification.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/system/blocks/system_block_online.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/system/blocks/system_block_search.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/system/blocks/system_block_siteinfo.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/system/blocks/system_block_themes.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/system/blocks/system_block_topusers.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/system/blocks/system_block_user.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/system/blocks/system_block_waiting.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/system/system_banner.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/system/system_bannerdisplay.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/system/system_bannerlogin.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/system/system_block_dummy.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/system/system_comment.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/system/system_comments_flat.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/system/system_comments_nest.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/system/system_comments_thread.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/system/system_dummy.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/system/system_homepage.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/system/system_imagemanager.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/system/system_imagemanager2.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/system/system_notification_list.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/system/system_notification_select.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/system/system_rss.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/system/system_userform.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/system/system_userinfo.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/tpl/blocks.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/tpl/blocks_left.html XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/tpl/blocks_right.html Modified: XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/css/jqm-init.css =================================================================== --- XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/css/jqm-init.css 2012-12-11 17:19:50 UTC (rev 10360) +++ XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/css/jqm-init.css 2012-12-11 18:24:46 UTC (rev 10361) @@ -1,457 +1,459 @@ -/* jqm docs css - -Beware: lots of last-minute CSS going on in here -cobblers, shoes, -*/ - -body { background: #f9f9f9; padding:13px; } -body.ui-mobile-viewport { padding: 0; } -body, input, textarea, select, button { font-family: Helvetica, Arial, san-serif; } -.ui-mobile .type-home .ui-content { margin: 0; background: #e5e5e5 url(../images/jqm-sitebg.png) top center repeat-x; } -.ui-mobile #jqm-homeheader { padding: 40px 10px 0; text-align: center; margin: 0 auto; } -.ui-mobile #jqm-homeheader h1 { margin: 0 0 ; } -.ui-mobile #jqm-homeheader p { margin: .3em 0 0; line-height: 1.3; font-size: .9em; font-weight: bold; color: #666; } - -.type-home .ui-content .jqm-version { - display: block; - position: absolute; - width: 96px; - border: solid #fff; - border-width: 2px 1px; - padding: .25em 2.25em; - margin: 0 15px 0 0; - right: 0; - top: -2px; - background: #f7cf57; - color: #000; - font-size: .8em; - font-weight: bold; - text-align: center; - text-shadow: 0 1px 1px #fff; - z-index: 9; - -webkit-transform: rotate(45deg) translate(4.8em,-1em); - -moz-transform: rotate(45deg) translate(4.8em,-1em); - -ms-transform: rotate(45deg) translate(4.8em,-1em); - -o-transform: rotate(45deg) translate(4.8em,-1em); - transform: rotate(45deg); - -webkit-box-shadow: 0 0 6px rgba(0,0,0,.40); - -moz-box-shadow: 0 0 6px rgba(0,0,0,.40); - -o-box-shadow: 0 0 6px rgba(0,0,0,.40); - box-shadow: 0 0 6px rgba(0,0,0,.40); -} -.type-home .ui-content .jqm-version b { - color: #a21412; - font-weight: bold; -} - -.footer-docs { - padding: 5px 0; - clear:both; - color:#666; -} -.footer-docs p { - font-weight: normal; - font-size: .9em; -} -.ui-mobile-viewport .footer-docs p { - margin: .5em 15px; -} -.ui-mobile-viewport .footer-docs p.jqm-version { - font-weight: bold; -} -@media all and (min-width:650px) { - .ui-mobile-viewport .footer-docs { - overflow: hidden; - } - .ui-mobile-viewport .footer-docs p { - margin: 1em 15px; - float: left; - } - .ui-mobile-viewport .footer-docs p.jqm-version { - float: right; - font-weight: normal; - } -} - -h2 { margin:1.2em 0 .4em 0; } -p code { font-size:1.2em; font-weight:bold; } -h4 code {font-size:1.2em; font-weight:bold; } - -dt { font-weight: bold; margin: 2em 0 .5em; } -dt code, dd code { font-size:1.3em; line-height:150%; } -pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; } -strong { font-weight: bold; } - -#jqm-homeheader img { width: 275px; height: 78px; margin-top:-20px; } -img { max-width: 100%; } - -/* fluid images moved from jquery.mobile.core.css*/ -.ui-mobile img { - max-width: 100%; -} - -.ui-header .jqm-home { top: 0; } -nav { margin: 0; } - -p.intro { - font-size: .96em; - line-height: 1.3; - border-top: 1px solid #75ae18; - border-bottom: 0; - background: none; - margin: 1.5em 0; - padding: 1.5em 15px 0; -} -p.intro strong { - color: #558e08; -} - -.type-interior .content-secondary { - border-right: 0; - border-left: 0; - margin: 10px -15px 0; - background: #fff; - border-top: 1px solid #ccc; -} -.type-home .ui-content { - margin-top: 5px; - overflow: hidden; - position: relative; -} -.type-interior .ui-content { - padding-bottom: 0; -} -.content-secondary .ui-collapsible { - padding: 10px 15px; -} -.content-secondary .ui-collapsible-inset { - margin: 0; -} -.content-secondary .ui-collapsible-content { - padding: 0; - background: none; -} -.content-secondary .ui-listview { - margin: 0; -} -/* new API additions */ - -dt { - margin: 35px 0 15px 0; - background-color:#ddd; - font-weight:normal; -} -dt code { - display:inline-block; - font-weight:bold; - color:#56A00E; - padding:3px 7px; - margin-right:10px; - background-color:#fff; -} -dd { - margin-bottom:10px; -} -dd .default { font-weight:bold; } -dd pre { - margin:0 0 0 0; -} -dd code { font-weight: normal; } -dd pre code { - margin:0; - border:none; - font-weight:normal; - font-size:100%; - background-color:transparent; -} -dd h4 { margin:15px 0 0 0; } - -.localnav { - margin:0 0 20px 0; -} -.ui-mobile-viewport .localnav li { - float:left; -} -.localnav .ui-btn-inner { - padding: .6em 10px; - font-size:80%; -} - -/* custom dialog for the photos sharing */ -.ui-dialog.dialog-actionsheet .ui-dialog-contain { - margin-top: 0; -} - -/* popup examples */ -.type-interior .ui-popup-container .ui-content { padding: 15px !important; } - -/* F bar theme - just for the docs overview headers */ -.ui-bar-f { - border: 1px solid #56A00E; - background: #74b042; - color: #fff; - font-weight: bold; - text-shadow: 0 1px 1px #335413; - background-image: -webkit-gradient(linear, left top, left bottom, from(#74b042), to(#56A00E)); /* Saf4+, Chrome */ - background-image: -webkit-linear-gradient(#74b042, #56A00E); /* Chrome 10+, Saf5.1+ */ - background-image: -moz-linear-gradient(#74b042, #56A00E); /* FF3.6 */ - background-image: -ms-linear-gradient(#74b042, #56A00E); /* IE10 */ - background-image: -o-linear-gradient(#74b042, #56A00E); /* Opera 11.10+ */ - background-image: linear-gradient(#74b042, #56A00E); -} -.ui-bar-f, -.ui-bar-f input, -.ui-bar-f select, -.ui-bar-f textarea, -.ui-bar-f button { - font-family: Helvetica, Arial, sans-serif /*{global-font-family}*/; -} - -.ui-bar-f, -.ui-bar-f .ui-link-inherit { - color: #fff; -} -.ui-bar-f .ui-link { - color: #fff; - font-weight: bold; -} -.ui-btn-up-f { - border: 1px solid #3B6F07; - background: #56A00E; - font-weight: bold; - color: #fff; - text-shadow: 0 1px 1px #234403; - background-image: -webkit-gradient(linear, left top, left bottom, from(#74b042), to(#56A00E)); /* Saf4+, Chrome */ - background-image: -webkit-linear-gradient(#74b042, #56A00E); /* Chrome 10+, Saf5.1+ */ - background-image: -moz-linear-gradient(#74b042, #56A00E); /* FF3.6 */ - background-image: -ms-linear-gradient(#74b042, #56A00E); /* IE10 */ - background-image: -o-linear-gradient(#74b042, #56A00E); /* Opera 11.10+ */ - background-image: linear-gradient(#74b042, #56A00E); -} -.ui-btn-up-f a.ui-link-inherit { - color: #fff; -} -.ui-btn-hover-f { - border: 1px solid #3B6F07; - background: #6EBC1F; - font-weight: bold; - color: #fff; - text-shadow: 0 1px 1px #234403; - background-image: -webkit-gradient(linear, left top, left bottom, from(#8FC963), to(#6EBC1F)); /* Saf4+, Chrome */ - background-image: -webkit-linear-gradient(#8FC963, #6EBC1F); /* Chrome 10+, Saf5.1+ */ - background-image: -moz-linear-gradient(#8FC963, #6EBC1F); /* FF3.6 */ - background-image: -ms-linear-gradient(#8FC963, #6EBC1F); /* IE10 */ - background-image: -o-linear-gradient(#8FC963, #6EBC1F); /* Opera 11.10+ */ - background-image: linear-gradient(#8FC963, #6EBC1F); -} -.ui-btn-hover-f a.ui-link-inherit { - color: #fff; -} -.ui-btn-down-f { - border: 1px solid #3B6F07; - background: #3d3d3d; - font-weight: bold; - color: #fff; - text-shadow: 0 1px 1px #234403; - background-image: -webkit-gradient(linear, left top, left bottom, from(#56A00E), to(#64A234)); /* Saf4+, Chrome */ - background-image: -webkit-linear-gradient(#56A00E, #64A234); /* Chrome 10+, Saf5.1+ */ - background-image: -moz-linear-gradient(#56A00E, #64A234); /* FF3.6 */ - background-image: -ms-linear-gradient(#56A00E, #64A234); /* IE10 */ - background-image: -o-linear-gradient(#56A00E, #64A234); /* Opera 11.10+ */ - background-image: linear-gradient(#56A00E, #64A234); -} -.ui-btn-down-f a.ui-link-inherit { - color: #fff; -} -.ui-btn-up-f, -.ui-btn-hover-f, -.ui-btn-down-f { - font-family: Helvetica, Arial, sans-serif; - text-decoration: none; -} - - -/* docs site layout */ - -@media all and (min-width: 650px){ - - .type-home .ui-content { - margin-top: 5px; - } - .ui-mobile #jqm-homeheader { - max-width: 340px; - } - p.intro { - margin: 2em 0; - } - .type-home .ui-content, - .type-interior > .ui-content { - padding: 0; - } - .type-interior > .ui-content { - overflow: hidden; - } - .content-secondary { - text-align: left; - float: left; - width: 45%; - } - .content-secondary, - .type-interior .content-secondary { - margin: 30px 0 20px 2%; - padding: 20px 4% 0 0; - background: none; - border-top: none; - position: relative; - } - .type-interior .content-secondary::after { - content: ""; - display: inline-block; - position: absolute; - top: 0; - right: 0; - height: 1px; - width: 1px; - margin-bottom: -9999px; - padding-bottom: 9999px; - background: #bbb; - } - .type-index .content-secondary { - padding: 0; - } - .content-secondary .ui-collapsible { - margin: 0; - padding: 0; - } - .content-secondary .ui-collapsible-content { - border-left: none; - border-right: none; - } - .type-index .content-secondary .ui-listview { - margin: 0; - } - .ui-mobile #jqm-homeheader { - padding: 0; - } - .content-primary { - width: 45%; - float: right; - margin-top: 30px; - margin-right: 1%; - padding-right: 1%; - } - .content-primary ul:first-child { - margin-top: 0; - } - /* collapsible non-inset example */ - .content-primary .ui-collapsible-content ul:first-child { - margin-top: -10px; - } - .content-secondary h2 { - position: absolute; - left: -9999px; - } - .type-interior .content-primary { - padding: 1.5em 6% 3em 0; - margin: 0; - } - /* fix up the collapsibles - expanded on desktop */ - .content-secondary .ui-collapsible-inset { - margin-bottom: -1px; - } - .content-secondary .ui-collapsible-heading { - display: none; - } - .content-secondary .ui-collapsible-contain { - margin:0; - } - .content-secondary .ui-collapsible-content { - display: block; - margin: 0; - padding: 0; - } - .content-secondary .ui-collapsible-content, - .content-secondary .ui-collapsible-content > .ui-listview .ui-li-last { - border-bottom-left-radius: 0; - border-bottom-right-radius: 0; - } - .type-interior .content-secondary .ui-li-divider { - padding-top: 1em; - padding-bottom: 1em; - } - .type-interior .content-secondary { - margin: 0; - padding: 0; - } - -} -@media all and (min-width: 750px){ - .type-home .ui-content { - background-position: 39%; - } - .content-secondary { - width: 34%; - } - .content-primary { - width: 56%; - padding-right: 1%; - } -} - -@media all and (min-width: 1200px){ - .type-home .ui-content{ - background-position: 38.5%; - } - .content-secondary { - width: 30%; - padding-right:6%; - margin: 30px 0 20px 5%; - } - .type-interior .content-secondary { - margin: 0; - padding: 0; - } - .content-primary { - width: 50%; - margin-right: 5%; - padding-right: 3%; - } - .type-interior .content-primary { - width: 60%; - } -} - -/* reset for popup examples */ -.type-interior .ui-popup.ui-content, -.type-interior .ui-popup .ui-content { - background-position: 0 0; - background-repeat: no-repeat; - overflow: visible; -} - -/* tables documenting enum-type settings */ -.enum-value { - vertical-align: top; - white-space: nowrap; -} - -/* Navbar examples */ -.content-primary > .ui-header, -.content-primary > .ui-footer { - overflow: hidden; -} - -/* list styles */ -ul { margin:0; padding-left:0; } -ul li { list-style:none; padding:.7em 0; margin:0; border-bottom:1px solid #e3e3e3; } -ul ul li { border: none;} - -dl dd ul { padding-left: 40px; } -dl dd ul li { list-style: disc; } -dl dd ul li li { list-style: circle; } -dl dd ul li li li { list-style: square; } -dl dd ul li { border: none; } - -.ui-mobile-viewport .localnav li { - border: none; -} +/* jqm docs css + +Beware: lots of last-minute CSS going on in here +cobblers, shoes, +*/ + +body { background: #f9f9f9; padding:13px; } +body.ui-mobile-viewport { padding: 0; } +body, input, textarea, select, button { font-family: Helvetica, Arial, san-serif; } +.ui-mobile .type-home .ui-content { margin: 0; background: #e5e5e5 url(../images/jqm-sitebg.png) top center repeat-x; } +.ui-mobile #jqm-homeheader { padding: 40px 10px 0; text-align: center; margin: 0 auto; } +.ui-mobile #jqm-homeheader h1 { margin: 0 0 ; } +.ui-mobile #jqm-homeheader p { margin: .3em 0 0; line-height: 1.3; font-size: .9em; font-weight: bold; color: #666; } + +.type-home .ui-content .jqm-version { + display: block; + position: absolute; + width: 96px; + border: solid #fff; + border-width: 2px 1px; + padding: .25em 2.25em; + margin: 0 15px 0 0; + right: 0; + top: -2px; + background: #f7cf57; + color: #000; + font-size: .8em; + font-weight: bold; + text-align: center; + text-shadow: 0 1px 1px #fff; + z-index: 9; + -webkit-transform: rotate(45deg) translate(4.8em,-1em); + -moz-transform: rotate(45deg) translate(4.8em,-1em); + -ms-transform: rotate(45deg) translate(4.8em,-1em); + -o-transform: rotate(45deg) translate(4.8em,-1em); + transform: rotate(45deg); + -webkit-box-shadow: 0 0 6px rgba(0,0,0,.40); + -moz-box-shadow: 0 0 6px rgba(0,0,0,.40); + -o-box-shadow: 0 0 6px rgba(0,0,0,.40); + box-shadow: 0 0 6px rgba(0,0,0,.40); +} +.type-home .ui-content .jqm-version b { + color: #a21412; + font-weight: bold; +} + +.footer-docs { + padding: 5px 0; + clear:both; + color:#666; +} +.footer-docs p { + font-weight: normal; + font-size: .9em; +} +.ui-mobile-viewport .footer-docs p { + margin: .5em 15px; +} +.ui-mobile-viewport .footer-docs p.jqm-version { + font-weight: bold; +} +@media all and (min-width:650px) { + .ui-mobile-viewport .footer-docs { + overflow: hidden; + } + .ui-mobile-viewport .footer-docs p { + margin: 1em 15px; + float: left; + } + .ui-mobile-viewport .footer-docs p.jqm-version { + float: right; + font-weight: normal; + } +} + +h2 { margin:1.2em 0 .4em 0; } +p code { font-size:1.2em; font-weight:bold; } +h4 code {font-size:1.2em; font-weight:bold; } + +dt { font-weight: bold; margin: 2em 0 .5em; } +dt code, dd code { font-size:1.3em; line-height:150%; } +pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; } +strong { font-weight: bold; } + +#jqm-homeheader img { width: 275px; height: 78px; margin-top:-20px; } +img { max-width: 100%; } + +/* fluid images moved from jquery.mobile.core.css*/ +.ui-mobile img { + max-width: 100%; +} + +.ui-header .jqm-home { top: 0; } +nav { margin: 0; } + +p.intro { + font-size: .96em; + line-height: 1.3; + border-top: 1px solid #75ae18; + border-bottom: 0; + background: none; + margin: 1.5em 0; + padding: 1.5em 15px 0; +} +p.intro strong { + color: #558e08; +} + +.type-interior .content-secondary { + border-right: 0; + border-left: 0; + margin: 10px -15px 0; + background: #fff; + border-top: 1px solid #ccc; +} +.type-home .ui-content { + margin-top: 5px; + overflow: hidden; + position: relative; +} +.type-interior .ui-content { + padding-bottom: 0; +} +.content-secondary .ui-collapsible { + padding: 10px 15px; +} +.content-secondary .ui-collapsible-inset { + margin: 0; +} +.content-secondary .ui-collapsible-content { + padding: 0; + background: none; +} +.content-secondary .ui-listview { + margin: 0; +} +/* new API additions */ + +dt { + margin: 35px 0 15px 0; + background-color:#ddd; + font-weight:normal; +} +dt code { + display:inline-block; + font-weight:bold; + color:#56A00E; + padding:3px 7px; + margin-right:10px; + background-color:#fff; +} +dd { + margin-bottom:10px; +} +dd .default { font-weight:bold; } +dd pre { + margin:0 0 0 0; +} +dd code { font-weight: normal; } +dd pre code { + margin:0; + border:none; + font-weight:normal; + font-size:100%; + background-color:transparent; +} +dd h4 { margin:15px 0 0 0; } + +.localnav { + margin:0 0 20px 0; +} +.ui-mobile-viewport .localnav li { + float:left; +} +.localnav .ui-btn-inner { + padding: .6em 10px; + font-size:80%; +} + +/* custom dialog for the photos sharing */ +.ui-dialog.dialog-actionsheet .ui-dialog-contain { + margin-top: 0; +} + +/* popup examples */ +.type-interior .ui-popup-container .ui-content { padding: 15px !important; } + +/* F bar theme - just for the docs overview headers */ +.ui-bar-f { + border: 1px solid #56A00E; + background: #74b042; + color: #fff; + font-weight: bold; + text-shadow: 0 1px 1px #335413; + background-image: -webkit-gradient(linear, left top, left bottom, from(#74b042), to(#56A00E)); /* Saf4+, Chrome */ + background-image: -webkit-linear-gradient(#74b042, #56A00E); /* Chrome 10+, Saf5.1+ */ + background-image: -moz-linear-gradient(#74b042, #56A00E); /* FF3.6 */ + background-image: -ms-linear-gradient(#74b042, #56A00E); /* IE10 */ + background-image: -o-linear-gradient(#74b042, #56A00E); /* Opera 11.10+ */ + background-image: linear-gradient(#74b042, #56A00E); +} +.ui-bar-f, +.ui-bar-f input, +.ui-bar-f select, +.ui-bar-f textarea, +.ui-bar-f button { + font-family: Helvetica, Arial, sans-serif /*{global-font-family}*/; +} + +.ui-bar-f, +.ui-bar-f .ui-link-inherit { + color: #fff; +} +.ui-bar-f .ui-link { + color: #fff; + font-weight: bold; +} +.ui-btn-up-f { + border: 1px solid #3B6F07; + background: #56A00E; + font-weight: bold; + color: #fff; + text-shadow: 0 1px 1px #234403; + background-image: -webkit-gradient(linear, left top, left bottom, from(#74b042), to(#56A00E)); /* Saf4+, Chrome */ + background-image: -webkit-linear-gradient(#74b042, #56A00E); /* Chrome 10+, Saf5.1+ */ + background-image: -moz-linear-gradient(#74b042, #56A00E); /* FF3.6 */ + background-image: -ms-linear-gradient(#74b042, #56A00E); /* IE10 */ + background-image: -o-linear-gradient(#74b042, #56A00E); /* Opera 11.10+ */ + background-image: linear-gradient(#74b042, #56A00E); +} +.ui-btn-up-f a.ui-link-inherit { + color: #fff; +} +.ui-btn-hover-f { + border: 1px solid #3B6F07; + background: #6EBC1F; + font-weight: bold; + color: #fff; + text-shadow: 0 1px 1px #234403; + background-image: -webkit-gradient(linear, left top, left bottom, from(#8FC963), to(#6EBC1F)); /* Saf4+, Chrome */ + background-image: -webkit-linear-gradient(#8FC963, #6EBC1F); /* Chrome 10+, Saf5.1+ */ + background-image: -moz-linear-gradient(#8FC963, #6EBC1F); /* FF3.6 */ + background-image: -ms-linear-gradient(#8FC963, #6EBC1F); /* IE10 */ + background-image: -o-linear-gradient(#8FC963, #6EBC1F); /* Opera 11.10+ */ + background-image: linear-gradient(#8FC963, #6EBC1F); +} +.ui-btn-hover-f a.ui-link-inherit { + color: #fff; +} +.ui-btn-down-f { + border: 1px solid #3B6F07; + background: #3d3d3d; + font-weight: bold; + color: #fff; + text-shadow: 0 1px 1px #234403; + background-image: -webkit-gradient(linear, left top, left bottom, from(#56A00E), to(#64A234)); /* Saf4+, Chrome */ + background-image: -webkit-linear-gradient(#56A00E, #64A234); /* Chrome 10+, Saf5.1+ */ + background-image: -moz-linear-gradient(#56A00E, #64A234); /* FF3.6 */ + background-image: -ms-linear-gradient(#56A00E, #64A234); /* IE10 */ + background-image: -o-linear-gradient(#56A00E, #64A234); /* Opera 11.10+ */ + background-image: linear-gradient(#56A00E, #64A234); +} +.ui-btn-down-f a.ui-link-inherit { + color: #fff; +} +.ui-btn-up-f, +.ui-btn-hover-f, +.ui-btn-down-f { + font-family: Helvetica, Arial, sans-serif; + text-decoration: none; +} + +.ui-content { border-width: 0; overflow: visible; overflow-x: hidden; padding: 0; } /**/ +.ui-content .xcontent { padding: 10px 25px 10px 25px; } /**/ + +/* docs site layout */ + +@media all and (min-width: 650px){ + + .type-home .ui-content { + margin-top: 5px; + } + .ui-mobile #jqm-homeheader { + max-width: 340px; + } + p.intro { + margin: 2em 0; + } + .type-home .ui-content, + .type-interior > .ui-content { + padding: 0; + } + .type-interior > .ui-content { + overflow: hidden; + } + .content-secondary { + text-align: left; + float: left; + width: 45%; + } + .content-secondary, + .type-interior .content-secondary { + margin: 30px 0 20px 2%; + padding: 20px 4% 0 0; + background: none; + border-top: none; + position: relative; + } + .type-interior .content-secondary::after { + content: ""; + display: inline-block; + position: absolute; + top: 0; + right: 0; + height: 1px; + width: 1px; + margin-bottom: -9999px; + padding-bottom: 9999px; + background: #bbb; + } + .type-index .content-secondary { + padding: 0; + } + .content-secondary .ui-collapsible { + margin: 0; + padding: 0; + } + .content-secondary .ui-collapsible-content { + border-left: none; + border-right: none; + } + .type-index .content-secondary .ui-listview { + margin: 0; + } + .ui-mobile #jqm-homeheader { + padding: 0; + } + .content-primary { + width: 45%; + float: right; + margin-top: 30px; + margin-right: 1%; + padding-right: 1%; + } + .content-primary ul:first-child { + margin-top: 0; + } + /* collapsible non-inset example */ + .content-primary .ui-collapsible-content ul:first-child { + margin-top: -10px; + } + .content-secondary h2 { + position: absolute; + left: -9999px; + } + .type-interior .content-primary { + padding: 1.5em 6% 3em 0; + margin: 0; + } + /* fix up the collapsibles - expanded on desktop */ + .content-secondary .ui-collapsible-inset { + margin-bottom: -1px; + } + .content-secondary .ui-collapsible-heading { + display: none; + } + .content-secondary .ui-collapsible-contain { + margin:0; + } + .content-secondary .ui-collapsible-content { + display: block; + margin: 0; + padding: 0; + } + .content-secondary .ui-collapsible-content, + .content-secondary .ui-collapsible-content > .ui-listview .ui-li-last { + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; + } + .type-interior .content-secondary .ui-li-divider { + padding-top: 1em; + padding-bottom: 1em; + } + .type-interior .content-secondary { + margin: 0; + padding: 0; + } + +} +@media all and (min-width: 750px){ + .type-home .ui-content { + background-position: 39%; + } + .content-secondary { + width: 34%; + } + .content-primary { + width: 56%; + padding-right: 1%; + } +} + +@media all and (min-width: 1200px){ + .type-home .ui-content{ + background-position: 38.5%; + } + .content-secondary { + width: 30%; + padding-right:6%; + margin: 30px 0 20px 5%; + } + .type-interior .content-secondary { + margin: 0; + padding: 0; + } + .content-primary { + width: 50%; + margin-right: 5%; + padding-right: 3%; + } + .type-interior .content-primary { + width: 60%; + } +} + +/* reset for popup examples */ +.type-interior .ui-popup.ui-content, +.type-interior .ui-popup .ui-content { + background-position: 0 0; + background-repeat: no-repeat; + overflow: visible; +} + +/* tables documenting enum-type settings */ +.enum-value { + vertical-align: top; + white-space: nowrap; +} + +/* Navbar examples */ +.content-primary > .ui-header, +.content-primary > .ui-footer { + overflow: hidden; +} + +/* list styles */ +ul { margin:0; padding-left:0; } +ul li { list-style:none; padding:.7em 0; margin:0; border-bottom:1px solid #e3e3e3; } +ul ul li { border: none;} + +dl dd ul { padding-left: 40px; } +dl dd ul li { list-style: disc; } +dl dd ul li li { list-style: circle; } +dl dd ul li li li { list-style: square; } +dl dd ul li { border: none; } + +.ui-mobile-viewport .localnav li { + border: none; +} \ No newline at end of file Modified: XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/css/style.css =================================================================== --- XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/css/style.css 2012-12-11 17:19:50 UTC (rev 10360) +++ XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/css/style.css 2012-12-11 18:24:46 UTC (rev 10361) @@ -14,15 +14,15 @@ .itemAdminLink {font-size: .9em;} .itemPermaLink {font-size: .9em;} -#content {text-align: left; padding: 8px;} +#content {text-align: left; padding: 5px;} caption {font-weight: bold;} -th, thead {background-color: #2A75C5; padding : 2px; color: #fff; vertical-align : middle;} +th, thead {background-color: transparent; padding : 2px; color: #fff; vertical-align : middle;} .outer {border: 1px solid #c0c0c0;} -.head {background-color: #c2cdd6; padding: 5px; font-weight: bold;} -.even {background-color: #dee3e7; padding: 5px;} -.odd {background-color: #E9E9E9; padding: 5px;} -.foot {background-color: #c2cdd6; padding: 5px; font-weight: bold;} +.head {background-color: transparent; padding: 1px; font-weight: bold;} +.even {background-color: transparent; padding: 1px;} +.odd {background-color: transparent; padding: 1px;} +.foot {background-color: transparent; padding: 1px; font-weight: bold;} .errorMsg,.confirmMsg, .resultMsg { padding: .8em; text-align:center; margin-bottom: 1em; border: 2px solid #ddd;} .errorMsg { background-color: #FBE3E4; color: #D12F19; border-color: #FBC2C4; } @@ -32,17 +32,30 @@ .confirmMsg a { background-color: transparent; color: #817134; } .successMsg a { background-color: transparent; color: #529214; } +#mainmenu a {background-color: #e6e6e6; display: block; margin: 0; padding: 4px;} +#mainmenu a:hover {background-color: #fff;} +#mainmenu a.menuTop {padding-left: 3px; border-top: 1px solid #c0c0c0; border-right: 1px solid #666; border-bottom: 1px solid #666; border-left: 1px solid #c0c0c0;} +#mainmenu a.menuMain {padding-left: 3px; border-right: 1px solid #666; border-bottom: 1px solid #666; border-left: 1px solid #c0c0c0;} +#mainmenu a.menuSub {padding-left: 9px; border-right: 1px solid #666; border-bottom: 1px solid #666; border-left: 1px solid #c0c0c0;} +#mainmenu a.maincurrent {background-color:transparent; color:#ff9900;} + +#usermenu { font-size : .9em;} +#usermenu a {background-color: #e6e6e6; display: block; margin: 0; padding: 2px; border-right: 1px solid #666; border-bottom: 1px solid #666; border-left: 1px solid #c0c0c0; font-weight : normal;} +#usermenu a:hover {background-color: #fff;} +#usermenu a.menuTop {border-top: 1px solid #c0c0c0;} +#usermenu a.highlight {background-color: #fcc;} + /*============== Styles for system_siteclosed.html (override system module) =================*/ #xo-siteclose { - width: 400px; - margin: 100px auto; + width: 200px; + margin: 20px auto; background-color: #e2e2e2; padding: 30px; color: #000; font-size: 1.2em; font-weight: bold; text-align: center; - border: 1px solid #666; + border: 1px solid #555; } #xo-userbar_siteclosed { display: block; @@ -157,11 +170,10 @@ .ui-btn-icon-notext .ui-icon-tool { display: block; z-index: 0;} .ui-icon-tool { - background: #000 /*{global-icon-color}*/; - background: rgba(0,0,0,0) /*{global-icon-disc}*/; - background-image: url(images/icons-18-white.png) /*{global-icon-set}*/; + background: #000; /*{global-icon-color}*/ + background: rgba(0,0,0,0); /*{global-icon-disc}*/ + background-image: url(images/icons-18-white.png); /*{global-icon-set}*/ background-repeat: no-repeat; - } /* modifica css base */ @@ -179,18 +191,18 @@ } .ui-btn-corner-top-tool { - -moz-border-radius-topleft: 0.5em /*{global-radii-buttons}*/; - -webkit-border-top-left-radius: 0.5em /*{global-radii-buttons}*/; - border-top-left-radius: 0.5em /*{global-radii-buttons}*/; - -moz-border-radius-topright: 0.5em /*{global-radii-buttons}*/; - -webkit-border-top-right-radius: 0.5em /*{global-radii-buttons}*/; - border-top-right-radius: 0.5em /*{global-radii-buttons}*/; + -moz-border-radius-topleft: 0.5em; /*{global-radii-buttons}*/ + -webkit-border-top-left-radius: 0.5em; /*{global-radii-buttons}*/ + border-top-left-radius: 0.5em; /*{global-radii-buttons}*/ + -moz-border-radius-topright: 0.5em; /*{global-radii-buttons}*/ + -webkit-border-top-right-radius: 0.5em; /*{global-radii-buttons}*/ + border-top-right-radius: 0.5em; /*{global-radii-buttons}*/ } .ui-btn-corner-all-tool { - -moz-border-radius: 0.5em /*{global-radii-buttons}*/; - -webkit-border-radius: 0.5em /*{global-radii-buttons}*/; - border-radius: 0.5em /*{global-radii-buttons}*/; + -moz-border-radius: 0.5em; /*{global-radii-buttons}*/ + -webkit-border-radius: 0.5em; /*{global-radii-buttons}*/ + border-radius: 0.5em; /*{global-radii-buttons}*/ } .iconeHome {background-repeat:no-repeat;background-position:left top;display:block;width:139px;height:133px;overflow:hidden;text-indent:-1000px} @@ -202,21 +214,21 @@ .ui-icon-myappcarrello-settings {background: url("/img/drawable-mdpi/carrello.png") no-repeat rgba(0, 0, 0, 0) !important;} /*.header{background:url(../img/bg_header.png); repeat: left top; height: 47px;} -.carrello{background-image:url(../img/icons/menu_carrello.png)} -.catalogo{background-image:url(../img/icons/menu_catalogo.png)} +.cart{background-image:url(../img/icons/menu_carrello.png)} +.catalog{background-image:url(../img/icons/menu_catalogo.png)} .top10{background-image:url(../img/icons/menu_topten.png)} .help{background-image:url(../img/icons/menu_help.png)} .logo{background:url(../img/xlogo.png) no-repeat left 4px; width:100px; height: 35px; text-indent: -1000px; margin:0px 2px;} scheda Prodotto -.spTitolo{font-family:Helvetica;font-size:18px;color:#035a9c;text-transform:uppercase;font-weight:bold} -.spAutore{font-family:Helvetica;font-size:13px;text-transform:uppercase;} +.spTitle{font-family:Helvetica;font-size:18px;color:#035a9c;text-transform:uppercase;font-weight:bold} +.spAuthor{font-family:Helvetica;font-size:13px;text-transform:uppercase;} .spPrezzoNetto{font-family:Helvetica;font-size:16px;color:#035a9c;text-transform:uppercase;font-weight:bold} .spPrezzoLordo{font-family:Helvetica;font-size:13px;} .spSconto{font-family:Helvetica;font-size:16px;color:red;text-transform:uppercase;font-weight:bold} .spEditore{font-family:Helvetica;font-size:16px;color:#035a9c;text-transform:uppercase;font-weight:bold} -.spPubblicazione{font-family:Helvetica;font-size:16px;color:#035a9c;text-transform:uppercase;font-weight:bold} -.spDescrizione{font-family:Helvetica;font-size:16px;color:#035a9c;font-weight:bold} +.spPublication{font-family:Helvetica;font-size:16px;color:#035a9c;text-transform:uppercase;font-weight:bold} +.spDescription{font-family:Helvetica;font-size:16px;color:#035a9c;font-weight:bold} *//* scheda Prodotto */ @media only screen and (-webkit-min-device-pixel-ratio: 0.75) { Added: XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/img/icons/apple/icon_114.png =================================================================== (Binary files differ) Property changes on: XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/img/icons/apple/icon_114.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/img/icons/apple/icon_57.png =================================================================== (Binary files differ) Property changes on: XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/img/icons/apple/icon_57.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/img/icons/apple/icon_72.png =================================================================== (Binary files differ) Property changes on: XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/img/icons/apple/icon_72.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/img/icons/apple/index.html =================================================================== --- XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/img/icons/apple/index.html (rev 0) +++ XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/img/icons/apple/index.html 2012-12-11 18:24:46 UTC (rev 10361) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/img/icons/index.html =================================================================== --- XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/img/icons/index.html (rev 0) +++ XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/img/icons/index.html 2012-12-11 18:24:46 UTC (rev 10361) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Modified: XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/js/jqm-init.js =================================================================== --- XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/js/jqm-init.js 2012-12-11 17:19:50 UTC (rev 10360) +++ XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/js/jqm-init.js 2012-12-11 18:24:46 UTC (rev 10361) @@ -36,10 +36,36 @@ foothtml += " " + str; } - $( ".type-home .ui-content p.jqm-version" ).html( html ); + $( ".type-home .ui-content p.jqm-version" ).html( html ); $( ".footer-docs p.jqm-version" ).html( foothtml ); + + //$('a').buttonMarkup({ mini: true, shadow: false, theme: "b", inline: true }); + $('[type="button"], [type="submit"]').button({ mini: true, shadow: false, inline: true }); + $('input[type="checkbox"]').checkboxradio({ mini: true, shadow: false, inline: true }); + $('input[type="radio"]').checkboxradio({ mini: true, shadow: false, inline: true }); + + $('select').selectmenu('open'); + + $.mobile.selectmenu.prototype.options.initSelector = "select"; + + $.mobile.touchOverflowEnabled = true; }); +// display page controls +$(document).bind( 'pagecreate', function() { + //$('a').buttonMarkup({ mini: true, shadow: false, theme: "b", inline: true }); + $('[type="button"], [type="submit"]').button({ mini: true, shadow: false, inline: true }); + $("input[type='checkbox']").checkboxradio({ mini: true, shadow: false, inline: true }); + $("input[type='radio']").checkboxradio({ mini: true, shadow: false, inline: true }); + + /* $.mobile.changePage( "search.php?query="+query, { + type: "post", + data: $("form#search").serialize() + }); */ + + //$('select').selectmenu('open'); +}); + // Turn off AJAX for local file browsing if ( location.protocol.substr(0,4) === 'file' || location.protocol.substr(0,11) === '*-extension' || @@ -54,9 +80,50 @@ // fix the links for the initial page $(fixLinks); + + // initialized list for news module + $('#list').live('pageshow', function (event, ui) { + var t = ""; + var param = getParameterByName('type'); + var jsurl = "/search.php?query=" + param; + $.ajax({ + type: "GET", + url: jsurl, + data: "{}", + contentType: "application/json; charset=utf-8", + dataType: "json", + success: function (msg) { + var data = eval(msg); + $.each(data, function (rec) { + t += "<li><a href='modules/news/article.php?id=" + this.Id + "'>"; + t += "<img src='" + this.Category + "'/>"; + t += "<h3>" + this.Title + "</h3>"; + t += "<p>" + this.Description + "</p>"; + t += "<p style='font-size:11px'>"; + t += "<span>Price: €" + this.Price + "</span>"; + t += "<span> €" + this.PriceForegone + "</span>"; + t += "<span>" + this.Discount + "%</span>"; + t += "</p>"; + t += "</a></li>"; + }); + $("[data-role=listview]").html(t); + $("[data-role=listview]").listview('refresh'); + }, + error: function (msg) { + alert(msg.status + ' ' + msg.statusText); + } + }); + }); + // fix the links for subsequent ajax page loads - $(document).bind( 'pagecreate', fixLinks ); + $(document).bind( 'pagecreate', fixLinks ); + + $( document ).bind( "mobileinit", function(){ + $.mobile.collapsibleset.prototype.options.collapsedIcon = "arrow-r"; + $.mobile.page.prototype.options.keepNative = "select, input.foo, textarea.bar"; + $.mobile.selectmenu.prototype.options.nativeMenu = true; + }); // Check to see if ajax can be used. This does a quick ajax request and blocks the page until its done $.ajax({ @@ -66,9 +133,6 @@ }).error(function() { // Ajax doesn't work so turn it off $( document ).bind( "mobileinit", function() { - $.mobile.ajaxEnabled = true; - $.support.touchOverflow = true; - $.mobile.touchOverflowEnabled = true; var message = $( '<div>' , { 'class': "ui-footer ui-bar-e", Added: XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/contact/blocks/index.html =================================================================== --- XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/contact/blocks/index.html (rev 0) +++ XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/contact/blocks/index.html 2012-12-11 18:24:46 UTC (rev 10361) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/contact/contact_index.html =================================================================== --- XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/contact/contact_index.html (rev 0) +++ XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/contact/contact_index.html 2012-12-11 18:24:46 UTC (rev 10361) @@ -0,0 +1,4 @@ +<div class="contact"> + <div class="pad2 marg2"><{$info}></div> + <div class="pad2 marg2"><{$form}></div> +</div> \ No newline at end of file Added: XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/contact/index.html =================================================================== --- XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/contact/index.html (rev 0) +++ XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/contact/index.html 2012-12-11 18:24:46 UTC (rev 10361) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/imprint/blocks/index.html =================================================================== --- XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/imprint/blocks/index.html (rev 0) +++ XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/imprint/blocks/index.html 2012-12-11 18:24:46 UTC (rev 10361) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/imprint/imprint_footer.html =================================================================== --- XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/imprint/imprint_footer.html (rev 0) +++ XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/imprint/imprint_footer.html 2012-12-11 18:24:46 UTC (rev 10361) @@ -0,0 +1,11 @@ +<{include file="db:system_barsocials.html"}> +<div class="left"><{$copyright}></div> +<{if $adv != '' && !$xoops_isadmin}> +<br /><div class="center"><{$adv}></div> +<{/if}> +<{if $social_active != 0}> +<div class="center"><{$social_code}></div> +<{/if}> +<{if $xoops_isadmin}> + <div class="center bold"><a href="<{$imprint_url}>/admin/index.php"><{$smarty.const._MA_IMPRINT_ADMIN}></a></div> +<{/if}> \ No newline at end of file Added: XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/imprint/imprint_header.html =================================================================== --- XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/imprint/imprint_header.html (rev 0) +++ XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/imprint/imprint_header.html 2012-12-11 18:24:46 UTC (rev 10361) @@ -0,0 +1,7 @@ +<div class="box-header"> + <span class="left"><b>Title</b>: <{$smarty.const._MA_IMPRINT_TITLE}></span><br /> + <span class="left"><b>Description</b>: <{$smarty.const._MA_IMPRINT_DESC}></span> +</div> +<{if $adv != '' && !$xoops_isadmin}> +<br /><div class="center"><{$adv}></div><br /> +<{/if}> \ No newline at end of file Added: XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/imprint/imprint_imp.html =================================================================== --- XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/imprint/imprint_imp.html (rev 0) +++ XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/imprint/imprint_imp.html 2012-12-11 18:24:46 UTC (rev 10361) @@ -0,0 +1,3 @@ +<{include file="db:imprint_header.html"}> +<div class="outer"></div> +<{include file="db:imprint_footer.html"}> \ No newline at end of file Added: XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/imprint/imprint_index.html =================================================================== --- XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/imprint/imprint_index.html (rev 0) +++ XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/imprint/imprint_index.html 2012-12-11 18:24:46 UTC (rev 10361) @@ -0,0 +1,30 @@ +<{include file="db:imprint_header.html"}> +<!-- Imprint --> +<div class="imprint"> + <!-- Immagine --> + <div class="image"> + <img src="<{$imp.image}>" alt="Imprint" border="0" /> + </div> + <div class="clear"></div> + <div class="setdesc"> + <span><label class="bold"><{$smarty.const._MD_IMPRINT_SOCIETYNAME}></label>: <{$imp.name}></span><br /><br /> + <span><label class="bold"><{$smarty.const._MD_IMPRINT_ADDRESS}></label>: <{$imp.address}></span><br /> + <span><label class="bold"><{$smarty.const._MD_IMPRINT_POSTALCODE}></label>: <{$imp.postalcode}></span><br /> + <span><label class="bold"><{$smarty.const._MD_IMPRINT_CITY}></label>: <{$imp.city}></span><br /> + <span><label class="bold"><{$smarty.const._MD_IMPRINT_COUNTRY}></label>: <{$imp.country}></span><br /><br /> + <span><label class="bold"><{$smarty.const._MD_IMPRINT_PHONE}></label>: <{$imp.phone}></span><br /> + <span><label class="bold"><{$smarty.const._MD_IMPRINT_FAX}></label>: <{$imp.fax}></span><br /> + <span><label class="bold"><{$smarty.const._MD_IMPRINT_EMAIL}></label>: <{$imp.email}></span><br /><br /> + </div> + <div class="clear"></div> + <div class="disclaimer"> + <span class="bold"><{$imp.title_disclaimer}></span><br /><br /> + <div class="text"> + <span><{$imp.disclaimer}></span><br /><br /> + </div> + <div class="clear"></div> + </div> + <div class="clear"></div> +</div> +<div class="clear"></div> +<{include file="db:imprint_footer.html"}> \ No newline at end of file Added: XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/imprint/index.html =================================================================== --- XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/imprint/index.html (rev 0) +++ XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/imprint/index.html 2012-12-11 18:24:46 UTC (rev 10361) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/pm/blocks/index.html =================================================================== --- XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/pm/blocks/index.html (rev 0) +++ XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/pm/blocks/index.html 2012-12-11 18:24:46 UTC (rev 10361) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/pm/index.html =================================================================== --- XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/pm/index.html (rev 0) +++ XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/pm/index.html 2012-12-11 18:24:46 UTC (rev 10361) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/pm/pm_pmlite.html =================================================================== --- XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/pm/pm_pmlite.html (rev 0) +++ XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/pm/pm_pmlite.html 2012-12-11 18:24:46 UTC (rev 10361) @@ -0,0 +1,42 @@ +<{$pmform.javascript}> +<form name="<{$pmform.name}>" id="<{$pmform.name}>" action="<{$pmform.action}>" method="<{$pmform.method}>" <{$pmform.extra}> > + <div class='outer txtcenter width100'> + <div> + <div class='head width30 txtright'><{$smarty.const._PM_TO}></div> + <div class='even txtleft'><{if $pmform.elements.to_userid.hidden != 1}><{$pmform.elements.to_userid.body}><{/if}><{$to_username}></div> + </div> + <div> + <div class='head width30 txtright'><{$smarty.const._PM_SUBJECTC}></div> + <div class='even txtleft'><{$pmform.elements.subject.body}></div> + </div> + <div> + <div class='head width30 txtright'><{$smarty.const._PM_SUBJECT_ICONS}></div> + <div class='even txtleft'> + + <{foreachq item=icon from=$radio_icons}> + <input type='radio' name='icon' id='<{$icon}>' value='<{$icon}>' /><label name='xolb_icon' for='<{$icon}>'><img src='<{xoAppUrl}>images/subject/<{$icon}>' alt="" /></label> + <{/foreach}> </div> + </div> + <div class='aligntop'> + <div class='head width30 txtright'><{$smarty.const._PM_MESSAGEC}></div> + <div class='even txtleft'><{$pmform.elements.message.body}></div> + </div> + <div class='aligntop'> + <div class='head width30'><{$smarty.const._PM_SAVEINOUTBOX}></div> + <div class='even'><{$pmform.elements.savecopy.body}></div> + </div> + <div> + <div class='head'> </div> + <div class='even'> + <{foreach item=element from=$pmform.elements}> + <{if $element.hidden == 1}> + <{$element.body}> + <{/if}> + <{/foreach}> + <{$pmform.elements.submit.body}> + <{$pmform.elements.reset.body}> + <{$pmform.elements.cancel.body}> + </div> + </div> + </div> +</form> \ No newline at end of file Added: XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/pm/pm_readpmsg.html =================================================================== --- XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/pm/pm_readpmsg.html (rev 0) +++ XoopsCore/tags/2.5mobile timgno/htdocs/themes/mdefault/modules/pm/pm_readpmsg.html 2012-12-11 18:24:46 UTC (rev 10361) @@ -0,0 +1,79 @@ +<div> + <h4><{$smarty.const._PM_PRIVATEMESSAGE}></h4> +</div><br /> +<div class="floatright txtright" style="width: 32%;"> + <{if $op == "out"}> + <a href='viewpmsg.php?op=in' title='<{$smarty.const._PM_INBOX}>'><{$smarty.const._PM_INBOX}></a> | <a href='viewpmsg.php?op=save' title='<{$smarty.const._PM_SAVEBOX}>'><{$smarty.const._PM_SAVEBOX}></a> + <{elseif $op == "save"}> + <a href='viewpmsg.php?op=in' title='<{$smarty.const._PM_INBOX}>'><{$smarty.const._PM_INBOX}></a> | <a href='viewpmsg.php?op=out' title='<{$smarty.const._PM_OUTBOX}>'><{$smarty.const._PM_OUTBOX}></a> + <{elseif $op == "in"}> + <a href='viewpmsg.php?op=out' title='<{$smarty.const._PM_OUTBOX}>'><{$smarty.const._PM_OUTBOX}></a> | <a href='viewpmsg.php?op=save' title='<{$smarty.const._PM_SAVEBOX}>'><{$smarty.const._PM_SAVEBOX}></a> + <{/if}> +</div> + +<{if $message}> + <span class='bold'>»»</span> <{$message.subject}><br /> + <form name="<{$pmform.name}>" id="<{$pmform.name}>" action="<{$pmform.action}>" method="<{$pmform.method}>" <{$pmform.extra}> > + <table cellpadding='4' cellspacing='1' class='outer bnone width100'> + <tr> + <th colspan='2'><{if $op==out}><{$smarty.const._PM_TO}><{else}><{$smarty.const._PM_FROM}><{/if}></th> + </tr> + <tr class='even'> + <td class='aligntop'> + <{if ( $poster != false ) }> + <a href='<{$xoops_url}>/userinfo.php?uid=<{$poster->getVar("uid")}>'><{$poster->getVar("uname")}></a><br /> + <{if ( $poster->getVar("user_avatar") != "" ) }> + <img src='<{$xoops_url}>/uploads/<{$poster->getVar("user_avatar")}>' alt='' /><br /> + <{/if}> + <{if ( $poster->getVar("user_from") != "" ) }> + <{$smarty.const._PM_FROMC}><{$poster->getVar("user_from")}><br /><br /> + <{/if}> + <{if ( $poster->isOnline() ) }> + <span class='bold red'><{$smarty.const._PM_ONLINE}></span><br /><br /> + <{/if}> + <{else}> + <{$anonymous}> + <{/if}> + </td> + <td> + <{if $message.msg_image != ""}> + <img src='<{$xoops_url}>/images/subject/<{$message.msg_image}>' alt='' /> + <{/if}> + ... [truncated message content] |