![Maven Central Adds Sigstore Signature Validation](https://cdn.sanity.io/images/cgdhsj6q/production/7da3bc8a946cfb5df15d7fcf49767faedc72b483-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Credit Card icons for Rails 3.
This gem is a Rails 3 engine and includes a host of asset files including standalone image sets (icons), CSS sprites and stylesheets for the CSS sprites.
In Gemfile
.
gem 'credit_card_icons'
Install via bundler:
bundle
Include the stylesheet(s) of choice in your Rails 3 stylesheets application manifest file, fx application.css
or similar:
/*
*= require credit_cards_default
*/
Using Compass, include stylesheet(s) via @import 'credit_cards_default';
instead.
Use the cards via CSS classes like this:
credit_cards_default (24x24)
credit_cards_24 (24x24)
credit_cards_32 (32x32)
straight_cards_32 (51x32)
straight_cards_64 (102x64)
straight_cards_128 (204x128)
curved_cards_32 (51x32)
curved_cards_64 (102x64)
curved_cards_128 (204x128)
%ul.cc
%li.card.mastercard
Also sizes 32 and 64 and 128px wide, use: cc_24
and cc_32
Sizes 32, 64 and 128px wide, use: cc_32
, cc_64
or cc_128
.
%ul.cc_64
%li.straight_card.mastercard
Sizes 32, 64 and 128px wide.
%ul.cc_64
%li.curved_card.mastercard
Not that here the HTML structure is defined using HAML syntax.
Please see the asset directory css files for how to use your stylesheet of choice. Feel free to improve this gem by modifying the css rules and/or include view helpers etc.
Copyright (c) 2012 Kristian Mandrup. See LICENSE.txt for further details.
FAQs
Unknown package
We found that credit_card_icons demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.