Changeset 9347 for main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/browser
- Timestamp:
- 18 Oct 2012, 05:42:30 (12 years ago)
- Location:
- main/waeup.kwarapoly/trunk/src/waeup/kwarapoly
- Files:
-
- 5 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/browser/pages.py
r9143 r9347 21 21 CertificatePage, CertificateManageFormPage) 22 22 from waeup.kofa.university.interfaces import ICertificate 23 from waeup. fceokene.interfaces import (23 from waeup.kwarapoly.interfaces import ( 24 24 ICustomSessionConfiguration, ICustomSessionConfigurationAdd) 25 25 -
main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/browser/static/custom_theme.css
r8480 r9347 2 2 3 3 .topbar-inner, .topbar .fill { 4 background-color: # 325088;5 background-image: -moz-linear-gradient(center top , #0 82250, #325088);6 background-image: -khtml-gradient(linear, left top, left bottom, from(#0 82250), to(#325088));7 background-image: -moz-linear-gradient(top, #0 82250, #325088);8 background-image: -ms-linear-gradient(top, #0 82250, #325088);9 background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #0 82250), color-stop(100%, #325088));10 background-image: -webkit-linear-gradient(top, #0 82250, #325088);11 background-image: -o-linear-gradient(top, #0 82250, #325088);12 background-image: linear-gradient(top, #0 82250, #325088);13 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0 82250', endColorstr='#325088', GradientType=0);4 background-color: #109445; 5 background-image: -moz-linear-gradient(center top , #095427, #109445); 6 background-image: -khtml-gradient(linear, left top, left bottom, from(#095427), to(#109445)); 7 background-image: -moz-linear-gradient(top, #095427, #109445); 8 background-image: -ms-linear-gradient(top, #095427, #109445); 9 background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #095427), color-stop(100%, #109445)); 10 background-image: -webkit-linear-gradient(top, #095427, #109445); 11 background-image: -o-linear-gradient(top, #095427, #109445); 12 background-image: linear-gradient(top, #095427, #109445); 13 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#095427', endColorstr='#109445', GradientType=0); 14 14 } 15 15 16 16 .topbar div > ul .active > a, .nav .active > a { 17 background-color: # 325088;17 background-color: #109445; 18 18 } 19 19 20 20 .topbar h3 a:hover, .topbar .brand:hover, .topbar ul .active > a { 21 background-color: # 325088;21 background-color: #109445; 22 22 } 23 23 24 24 .topbar div > ul a:hover, .nav a:hover { 25 background-color: # 325088;25 background-color: #109445; 26 26 } 27 27 … … 31 31 .topbar div > ul .dropdown-menu, 32 32 .nav .dropdown-menu { 33 background-color: # 325088;33 background-color: #109445; 34 34 } 35 35 … … 42 42 .topbar div > ul .dropdown.open .dropdown-toggle, 43 43 .nav .dropdown.open .dropdown-toggle { 44 background: # 325088;44 background: #109445; 45 45 } 46 46 … … 53 53 54 54 body { 55 background-color: # f1f1f1;55 background-color: #e6e8e7; 56 56 } 57 57 … … 60 60 .topbar div > ul .dropdown-menu li a:hover, 61 61 .nav .dropdown-menu li a:hover { 62 background-color: #0 82250;62 background-color: #095427; 63 63 background-repeat: repeat-x; 64 background-image: -khtml-gradient(linear, left top, left bottom, from(# 325088), to(#191919));65 background-image: -moz-linear-gradient(top, #0 82250, #082250);66 background-image: -ms-linear-gradient(top, #0 82250, #082250);67 background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #0 82250), color-stop(100%, #082250));68 background-image: -webkit-linear-gradient(top, #0 82250, #082250);69 background-image: -o-linear-gradient(top, #0 82250, #082250);70 background-image: linear-gradient(top, #0 82250, #082250);71 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0 82250', endColorstr='#082250', GradientType=0);64 background-image: -khtml-gradient(linear, left top, left bottom, from(#109445), to(#191919)); 65 background-image: -moz-linear-gradient(top, #095427, #095427); 66 background-image: -ms-linear-gradient(top, #095427, #095427); 67 background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #095427), color-stop(100%, #095427)); 68 background-image: -webkit-linear-gradient(top, #095427, #095427); 69 background-image: -o-linear-gradient(top, #095427, #095427); 70 background-image: linear-gradient(top, #095427, #095427); 71 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#095427', endColorstr='#095427', GradientType=0); 72 72 color: #ffffff; 73 73 } … … 78 78 79 79 a { 80 color: #0 82250;80 color: #095427; 81 81 } 82 82 83 83 a:hover { 84 color: # 325088;84 color: #109445; 85 85 } 86 86 -
main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/browser/tests.py
r8460 r9347 22 22 from zope.security.interfaces import Unauthorized 23 23 from waeup.kofa.testing import FunctionalTestCase 24 from waeup. fceokene.testing import FunctionalLayer24 from waeup.kwarapoly.testing import FunctionalLayer 25 25 from waeup.kofa.app import University 26 26 … … 52 52 self.browser.addHeader('Authorization', 'Basic mgr:mgrpw') 53 53 self.browser.open('http://localhost/app/configuration') 54 self.assertMatches('... FCEOkeneTheme...', self.browser.contents)54 self.assertMatches('...KwaraPoly Theme...', self.browser.contents) 55 55 self.browser.getControl(name="form.skin").value = ['custom theme'] 56 56 self.browser.getControl("Save").click() -
main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/browser/theming.py
r8460 r9347 18 18 import grok 19 19 from waeup.kofa.browser.interfaces import ITheme 20 from waeup. fceokene.browser.resources import custom_theme, favicon20 from waeup.kwarapoly.browser.resources import custom_theme, favicon 21 21 22 from waeup. fceokene.interfaces import MessageFactory as _22 from waeup.kwarapoly.interfaces import MessageFactory as _ 23 23 24 24 class CustomTheme(grok.GlobalUtility): … … 28 28 grok.name('custom theme') 29 29 30 description = _(u' FCEOkeneTheme')30 description = _(u'KwaraPoly Theme') 31 31 32 32 def getResources(self):
Note: See TracChangeset for help on using the changeset viewer.