Changeset 42860 in spip-zone


Ignore:
Timestamp:
Dec 12, 2010, 6:15:44 PM (9 years ago)
Author:
cedric@…
Message:

le body est permanent, y placer la classe page_xx n'est donc pas discriminant
On la deplace sur les header/content/footer

Location:
_squelettes_/mobi.spip/mobile
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • _squelettes_/mobi.spip/mobile/body.html

    r42779 r42860  
    11<div data-role="page" data-theme="b">
    2         <div data-role="header">
     2        <div data-role="header" class="page_#ENV{type,page}[ #ENV{type,page}_(#ENV{composition,''})]">
    33                <INCLURE{fond=header/#ENV{type},env}>
    44        </div>
    55
    6         <div data-role="content">
     6        <div data-role="content" class="page_#ENV{type,page}[ #ENV{type,page}_(#ENV{composition,''})]">
    77                <INCLURE{fond=content/#ENV{type},env}>
    88        </div>
    99
    10         <div data-role="footer">
     10        <div data-role="footer" class="page_#ENV{type,page}[ #ENV{type,page}_(#ENV{composition,''})]">
    1111                <INCLURE{fond=footer/#ENV{type},env}>
    1212        </div>
  • _squelettes_/mobi.spip/mobile/css/mobile.css

    r42805 r42860  
    1 .ui-mobile .page_sommaire .ui-page {background:#E5E5E5 url("images/bg-home.png") repeat-x center top;}
     1.ui-mobile .page_sommaire.ui-content {background:#E5E5E5 url("images/bg-home.png") repeat-x center top;}
    22.ui-mobile .page_sommaire #homeheader {text-align:center;}
    33.ui-icon-mobispip {background-image:url(images/bluewhales-16.png);}
  • _squelettes_/mobi.spip/mobile/structure.html

    r42779 r42860  
    22<html>
    33<head>
     4        <base href="#URL_SITE_SPIP/" />
    45        [(#REM) Debut du head particulier a chaque page]
    56        <INCLURE{fond=head/#ENV{type},env}>
     
    1011
    1112</head>
    12 <body class="page_#ENV{type,page}[ #ENV{type,page}_(#ENV{composition,''})]">
     13<body>
    1314<INCLURE{fond=body,env}>
    1415</body>
Note: See TracChangeset for help on using the changeset viewer.