Sha256: d76335fba4ccd57c2acc904a3f41373eaec3a59669ff75605f7c3b52712ef5b9
Contents?: true
Size: 892 Bytes
Versions: 4
Compression:
Stored size: 892 Bytes
Contents
# Application template recipe for the rails3_devise_wizard. Check for a newer version here: # https://github.com/fortuity/rails3_devise_wizard/blob/master/recipes/css_setup.rb after_bundler do say_wizard "CssSetup recipe running 'after bundler'" # Add a stylesheet with styles for a horizontal menu and flash messages create_file 'public/stylesheets/application.css' do <<-CSS ul.hmenu { list-style: none; margin: 0 0 2em; padding: 0; } ul.hmenu li { display: inline; } #flash_notice, #flash_alert { padding: 5px 8px; margin: 10px 0; } #flash_notice { background-color: #CFC; border: solid 1px #6C6; } #flash_alert { background-color: #FCC; border: solid 1px #C66; } CSS end end __END__ name: CssSetup description: "Add a stylesheet with styles for a horizontal menu and flash messages." author: fortuity category: other tags: [utilities, configuration]
Version data entries
4 entries across 4 versions & 1 rubygems