Changeset 6028 for main/waeup.sirp/trunk


Ignore:
Timestamp:
4 May 2011, 15:30:21 (14 years ago)
Author:
Henrik Bettermann
Message:

Remove hurry.yui dependencies completely and use local copies of the relevant YUI css files.

Replace logo_waeup.gif by your-logo.gif.

Location:
main/waeup.sirp/trunk
Files:
3 added
3 deleted
11 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/setup.py

    r5854 r6028  
    1717    'zope.xmlpickle',
    1818    'hurry.file',
    19     'hurry.yui',
     19    #'hurry.yui',
    2020    'hurry.zoperesource',
    2121    'zc.sourcefactory',
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/layout.py

    r6025 r6028  
    22"""
    33import grok
    4 from hurry import yui
    54from hurry.resource import mode
    65from megrok.layout import Page, Layout, EditForm, DisplayForm, AddForm
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/pages.py

    r6025 r6028  
    1212import smtplib
    1313from email.mime.text import MIMEText
    14 from hurry import yui
    1514from hurry.workflow.interfaces import NoTransitionAvailableError
    1615from zope import schema
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/resources.py

    r6018 r6028  
    2222"""Special JavaScript and CSS resources provided by waeup.sirp.
    2323"""
    24 from hurry import yui
     24#from hurry import yui
    2525from hurry.resource import Library, ResourceInclusion
    2626from hurry.jqueryui import jqueryui, base, blitzer, ui_lightness, humanity
     
    194194
    195195#: Register basic YUI based CSS as a resource.
     196reset_fonts_grids = ResourceInclusion(
     197    waeup_sirp, 'yuirfg.css')   
     198   
    196199yuiapp_css = ResourceInclusion(
    197200    waeup_sirp, 'yuiapp.css',
    198     depends=[yui.reset_fonts_grids, yui.sam])
     201    depends=[reset_fonts_grids])     
    199202
    200203#: Register basic WAeUP base CSS (which is based on ``yuiapp.css`` as a
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/static/waeup-base.css

    r5481 r6028  
    114114}
    115115
     116/* Action buttons */
     117
     118.yui-button {
     119        display: -moz-inline-box;
     120        display: inline-block;
     121        vertical-align: text-bottom;
     122}
     123.yui-button .first-child {
     124        display: block;
     125        *display: inline-block;
     126}
     127.yui-button button, .yui-button a {
     128        display: block;
     129        *display: inline-block;
     130        border: none;
     131        margin: 0;
     132}
     133.yui-button button {
     134        background-color: transparent;
     135        *overflow: visible;
     136        cursor: pointer;
     137}
     138.yui-button a {
     139        text-decoration: none;
     140}
     141.yui-skin-sam .yui-button {
     142        border-width: 1px 0;
     143        border-style: solid;
     144        border-color: #808080;
     145        background: url(sprite.png) repeat-x 0 0;
     146        margin: auto .25em;
     147}
     148.yui-skin-sam .yui-button .first-child {
     149        border-width: 0 1px;
     150        border-style: solid;
     151        border-color: #808080;
     152        margin: 0 -1px;
     153        _margin: 0;
     154}
     155.yui-skin-sam .yui-button button, .yui-skin-sam .yui-button a {
     156        padding: 0 10px;
     157        font-size: 93%;
     158        line-height: 2;
     159        *line-height: 1.7;
     160        min-height: 2em;
     161        *min-height: auto;
     162        color: #000;
     163}
     164.yui-skin-sam .yui-button a {
     165        *line-height: 1.875;
     166        *padding-bottom: 1px;
     167}
    116168
    117169
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/static/waeuptheme-red1.css

    r5841 r6028  
    1414
    1515.uni-logo {
    16   background-image: url('logo_waeup.gif');
     16  background-image: url("your-logo.gif");
     17  background-position: 0 13px;
    1718  background-repeat: no-repeat;
    18   padding: 34px 50px;
    19   background-position:0px 10px;
     19  padding-bottom: 18px;
     20  padding-left: 0;
     21  padding-right: 135px;
     22  padding-top: 40px;
    2023}
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/actionbutton.pt

    r4789 r6028  
    1 <span class="yui-button yui-link-button">
     1<span class="yui-button">
    22  <span class="first-child">
    33    <a href=""
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/addaction.pt

    r4789 r6028  
    1 <span class="yui-button yui-link-button">
     1<span class="yui-button">
    22  <span class="first-child">
    3 
    43    <a href=""
    54       tal:attributes="href viewlet/getTargetURL"
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/exportxmlaction.pt

    r4789 r6028  
    1 <span class="yui-button yui-link-button" noclass="actionbarlink">
     1<span class="yui-button" noclass="actionbarlink">
    22  <span class="first-child">
    33    <a href="" id="linkbutton1"
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/importxmlaction.pt

    r4789 r6028  
    11<span tal:condition="viewlet/can_import"
    2       class="yui-button yui-link-button" noclass="actionbarlink">
     2      class="yui-button" noclass="actionbarlink">
    33  <span class="first-child">
    44    <a href="" id="linkbutton1"
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/viewlets.py

    r6002 r6028  
    33import grok
    44
    5 from hurry import yui
    65from zope.component import getMultiAdapter, queryAdapter
    76from zope.interface import Interface
Note: See TracChangeset for help on using the changeset viewer.