Sha256: 1271bfaabb443d998f100f66205e3d66bec05b61a906caa5a4c522db8de0e202
Contents?: true
Size: 1.14 KB
Versions: 1
Compression:
Stored size: 1.14 KB
Contents
// Temporary workaround for Rails 4.1.2 pending releaase of bootstrap-sass 3.1.2 //= depend_on_asset "bootstrap/glyphicons-halflings-regular.eot" //= depend_on_asset "bootstrap/glyphicons-halflings-regular.svg" //= depend_on_asset "bootstrap/glyphicons-halflings-regular.ttf" //= depend_on_asset "bootstrap/glyphicons-halflings-regular.woff" // import the CSS framework @import "bootstrap"; // make all images responsive by default img { @extend .img-responsive; margin: 0 auto; } // override for the 'Home' navigation link .navbar-brand { font-size: inherit; } // THESE ARE EXAMPLES YOU CAN MODIFY // create your own classes // to make views framework-neutral .column { @extend .col-md-6; @extend .text-center; } .form { @extend .col-md-6; } .form-centered { @extend .col-md-6; @extend .text-center; } .submit { @extend .btn; @extend .btn-primary; @extend .btn-lg; } // apply styles to HTML elements // to make views framework-neutral main { @extend .container; background-color: #eee; padding-bottom: 80px; width: 100%; margin-top: 51px; // accommodate the navbar } section { @extend .row; margin-top: 20px; }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rails_layout-1.0.14 | lib/generators/layout/install/templates/bootstrap3_and_overrides.css.scss |