source: main/waeup.ngrentheme/trunk/waeup/ngrentheme/profiles/default/cssregistry.xml @ 14086

Last change on this file since 14086 was 10063, checked in by Henrik Bettermann, 12 years ago

Move some customizations to main.css which is for screen only and register a new mobile.css.

The css registry must be updated via ZMI (Import tab in portal_setup).

File size: 1.9 KB
RevLine 
[10049]1<?xml version="1.0"?>
2<!-- This file holds the setup configuration for the portal_css tool. -->
3
4<object name="portal_css">
5
6 <!-- Stylesheets that will be registered with the portal_css tool are defined
7      here. You can also specify values for existing resources if you need to
8      modify some of their properties.
9      Stylesheet elements accept these parameters:
10      - 'id' (required): it must respect the name of the css or DTML file
11        (case sensitive). '.dtml' suffixes must be ignored.
12      - 'expression' (optional - default: ''): a tal condition.
13      - 'media' (optional - default: ''): possible values: 'screen', 'print',
14        'projection', 'handheld'...
15      - 'rel' (optional - default: 'stylesheet')
16      - 'title' (optional - default: '')
17      - 'rendering' (optional - default: 'import'): 'import', 'link' or
18        'inline'.
19      - 'enabled' (optional - default: True): boolean
20      - 'cookable' (optional - default: True): boolean (aka 'merging allowed')
21      - 'insert_before', 'insert_after' (optional - default: '') resource id
22      See registerStylesheet() arguments in
23      ResourceRegistries/tools/CSSRegistry.py for the latest list of all
24      available keys and default values.
25      -->
26 <stylesheet title=""
27    id="++resource++waeup.ngrentheme.stylesheets/main.css"
28    media="screen" rel="stylesheet" rendering="import"
29    cacheable="True" compression="safe" cookable="True"
30    enabled="1" expression=""/>
31 <stylesheet title=""
[10063]32    id="++resource++waeup.ngrentheme.stylesheets/mobile.css"
33    media="handheld, screen and (max-device-width: 480px)"
34    rel="stylesheet" rendering="import"
35    cacheable="True" compression="safe" cookable="True"
36    enabled="1" expression=""/>
37 <stylesheet title=""
[10049]38    id="print_custom.css"
39    media="print" rel="stylesheet" rendering="import"
40    cacheable="True" compression="safe" cookable="True"
41    enabled="1" expression=""/>   
42</object>
Note: See TracBrowser for help on using the repository browser.