method
auto_complete_stylesheet
v1.1.6 -
Show latest stable
- Class:
ActionView::Helpers::JavaScriptMacrosHelper
auto_complete_stylesheet()private
No documentation available.
# File actionpack/lib/action_view/helpers/java_script_macros_helper.rb, line 189
def auto_complete_stylesheet
content_tag("style", "div.auto_complete {\nwidth: 350px;\nbackground: #fff;\n}\ndiv.auto_complete ul {\nborder:1px solid #888;\nmargin:0;\npadding:0;\nwidth:100%;\nlist-style-type:none;\n}\ndiv.auto_complete ul li {\nmargin:0;\npadding:3px;\n}\ndiv.auto_complete ul li.selected {\nbackground-color: #ffb;\n}\ndiv.auto_complete ul strong.highlight {\ncolor: #800;\nmargin:0;\npadding:0;\n}\n"
)
end