
Security News
Follow-up and Clarification on Recent Malicious Ruby Gems Campaign
A clarification on our recent research investigating 60 malicious Ruby gems.
cssbuttongenerator-css-rails
Advanced tools
Gemified by Doc Walker
Provides imageless css buttons for the Rails 3.1+ asset pipeline.
Add these lines to your application's Gemfile
:
# imageless css buttons packaged for the rails asset pipeline
gem 'cssbuttongenerator-css-rails', '~> 1.0.5'
And then execute:
$ bundle
Or install it yourself as:
$ gem install cssbuttongenerator-css-rails
Add these lines to app/assets/stylesheets/application.css
/*
provides imageless css buttons from gem 'cssbuttongenerator-css-rails':
= require cssbuttongenerator-css-rails
*/
Use one or more of the following button classes:
.button_css_grey_0
.button_css_red_1
.button_css_green_2
.button_css_blue_3
.button_css_orange_4
.button_css_magenta_5
.button_css_violet_6
.button_css_green_8
.button_css_red_9
.button_css_orange_10
.button_css_blue_12
.button_css_grey_13
.button_css_orange_14
.button_css_green_15
.button_css_blue_16
.button_css_orange_18
.button_css_blue_20
.button_css_orange_21
.button_css_red_22
.button_css_red_24
.button_css_green_26
Rails/HAML examples:
= f.submit :value => 'Submit', :class => :button_css_green_2
= link_to 'Cancel', :back, :class => :button_css_blue_3
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)FAQs
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.
Security News
ESLint now supports parallel linting with a new --concurrency flag, delivering major speed gains and closing a 10-year-old feature request.
Research
/Security News
A malicious Go module posing as an SSH brute forcer exfiltrates stolen credentials to a Telegram bot controlled by a Russian-speaking threat actor.