Changeset 6894
- Timestamp:
- 14 Oct 2011, 08:01:30 (13 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp/browser
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/browser/resources.py
r6820 r6894 269 269 270 270 #: A basic theme based on jQuery only (crappy yet). 271 waeuptheme_ base= ResourceInclusion(271 waeuptheme_empty = ResourceInclusion( 272 272 waeup_sirp, 'empty.css', 273 273 depends=[humanity]) -
main/waeup.sirp/trunk/src/waeup/sirp/browser/static/waeup-base.css
r6806 r6894 5 5 and resources.py respectively. */ 6 6 7 #hd { background-color:# 5D0265; }8 .block .hd { background-color:# 5D0265; color:#fff; border-bottom:10px solid #262626; }7 #hd { background-color:#003366; } 8 .block .hd { background-color:#003366; color:#fff; border-bottom:10px solid #262626; } 9 9 .block .bd h1 { font-size:153.9%; color:green; margin-bottom:0.5em;} 10 .block .bd h2 { font-size:153.9%; color:# 5D0265; margin-bottom:0.5em;}11 .block .bd h3 { font-size:130%; color:# 5D0265; margin-bottom:0.5em;}10 .block .bd h2 { font-size:153.9%; color:#003366; margin-bottom:0.5em;} 11 .block .bd h3 { font-size:130%; color:#003366; margin-bottom:0.5em;} 12 12 .spaces .hd { background-color:transparent; } 13 .spaces .hd ul li { background-color:# 5D0265; }14 a { color:# 5D0265; }13 .spaces .hd ul li { background-color:#003366; } 14 a { color:#003366; } 15 15 .tabs .hd ul li a:hover { background-color:#8d0399; } 16 16 -
main/waeup.sirp/trunk/src/waeup/sirp/browser/theming.py
r6009 r6894 30 30 from waeup.sirp.browser.interfaces import ITheme 31 31 from waeup.sirp.browser.resources import ( 32 waeuptheme_red1, waeuptheme_gray1, waeuptheme_base, 32 waeuptheme_red1, waeuptheme_gray1, waeuptheme_empty, 33 waeup_base_css, 33 34 ) 35 36 class WAeUPThemeBase(grok.GlobalUtility): 37 grok.implements(ITheme) 38 grok.name('base waeup theme') 39 40 description = u"Base Theme" 41 42 def getResources(self): 43 return [waeup_base_css] 34 44 35 45 class WAeUPThemeRed1(grok.GlobalUtility): … … 51 61 return [waeuptheme_gray1] 52 62 53 class WAeUPTheme Base(grok.GlobalUtility):63 class WAeUPThemeEmpty(grok.GlobalUtility): 54 64 """A theme based on jQuery only. 55 65 … … 57 67 """ 58 68 grok.implements(ITheme) 59 grok.name(' basetheme')60 description = u' BaseTheme'69 grok.name('empty theme') 70 description = u'Empty Theme' 61 71 62 72 def getResources(self): 63 return [waeuptheme_ base]73 return [waeuptheme_empty] 64 74 65 75 def get_all_themes():
Note: See TracChangeset for help on using the changeset viewer.