Ignore:
Timestamp:
14 Oct 2011, 08:05:16 (13 years ago)
Author:
Henrik Bettermann
Message:

Use base theme as basis for customization.

Location:
main/waeup.custom/trunk/src/waeup/custom/browser
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.custom/trunk/src/waeup/custom/browser/__init__.py

    r6888 r6895  
     1# Make this a package.
  • main/waeup.custom/trunk/src/waeup/custom/browser/resources.py

    r6893 r6895  
    11import grok
    22from waeup.sirp.browser.resources import (
    3     Library, ResourceInclusion, waeuptheme_red1,
     3    Library, ResourceInclusion, waeup_base_css,
    44    )
    5 #from waeup.sirp.browser.theming import WAeUPThemeRed1
    65
    76#: All local resources are registered under the name ``waeup_custom``.
     
    109custom_theme_1 = ResourceInclusion(
    1110    waeup_custom, 'custom_theme_1.css',
    12     depends = [waeuptheme_red1])
     11    depends = [waeup_base_css])
    1312
  • main/waeup.custom/trunk/src/waeup/custom/browser/static/custom_theme_1.css

    r6893 r6895  
    11.uni-logo {
    22  background-image: url("custom-logo.png");
     3  background-position: 0 13px;
     4  background-repeat: no-repeat;
     5  padding-bottom: 18px;
     6  padding-left: 0;
     7  padding-right: 135px;
     8  padding-top: 40px;
    39}
  • main/waeup.custom/trunk/src/waeup/custom/browser/theming.py

    r6893 r6895  
    1 ##
    2 ## theming.py
    3 ## Login : <uli@pu.smp.net>
    4 ## Started on  Thu Oct 13 23:49:12 2011 Uli Fouquet
    5 ## $Id$
    6 ##
    7 ## Copyright (C) 2011 Uli Fouquet
     1## Copyright (C) 2011 Uli Fouquet & Henrik Bettermann
    82## This program is free software; you can redistribute it and/or modify
    93## it under the terms of the GNU General Public License as published by
     
    2519
    2620class CustomTheme1(grok.GlobalUtility):
    27     """A custom theme based on 'Ulis Red Theme'.
     21    """A custom theme based on the WAeUP base theme.
    2822    """
    2923    grok.implements(ITheme)
Note: See TracChangeset for help on using the changeset viewer.