Commits

Anonymous committed 8064516

Remove confusing yui.css

  • Participants
  • Parent commits b432b03

Comments (0)

Files changed (4)

File tw2/yui/static/yui.css

-.yui-autocomplete {
-    padding-bottom: 2em;
-    width: 25em;
-}

File tw2/yui/templates/autocomplete.html

 <div xmlns:py="http://genshi.edgewall.org/">
+<style type="text/css">
+  .yui-autocomplete { padding-bottom: 2em; width: 25em; }
+</style>
 <div class="yui-autocomplete">
     <input py:attrs="w.attrs"/>
     <div id="${w.compound_id}:popup"></div>

File tw2/yui/templates/colorpicker.html

 <div>
-
 <style type="text/css">
   .yui-picker { position: relative; padding: 6px; background-color: #eeeeee; width: 420px; height:220px; }
 </style>
-
 <div id="$w.compound_id" class="yui-picker"></div>
-
 <script type="text/javascript">
     var Event = YAHOO.util.Event;
     Event.onDOMReady(function() {
         picker = new YAHOO.widget.ColorPicker("$w.compound_id", $w.options);
     });
 </script>
-
 </div>

File tw2/yui/widgets.py

 
 class AutoComplete(twf.TextField, YuiWidget):
     resources = YuiWidget.resources + [
-        twc.CSSLink(modname=__name__, filename="static/yui.css"),
         twc.CSSLink(modname=__name__, filename="static/"+yui_version+"/autocomplete/assets/skins/sam/autocomplete.css"),
         twc.JSLink(modname=__name__, filename="static/"+yui_version+"/connection/connection-min.js"),
         twc.JSLink(modname=__name__, filename="static/"+yui_version+"/json/json-min.js"),