Sha256: 43af12991fa871fa18f5c3b6004279bcf9d53ff378a3cd31c1b4932ba5f4e824

Contents?: true

Size: 836 Bytes

Versions: 5

Compression:

Stored size: 836 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

  # 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

5 entries across 5 versions & 1 rubygems

Version Path
rails3_devise_wizard-0.2.4 recipes/css_setup.rb
rails3_devise_wizard-0.2.3 recipes/css_setup.rb
rails3_devise_wizard-0.2.2 recipes/css_setup.rb
rails3_devise_wizard-0.2.1 recipes/css_setup.rb
rails3_devise_wizard-0.2 recipes/css_setup.rb