Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Using the URL helpers from SASS #2

Merged
merged 1 commit into from

2 participants

Austin Schneider Iain Hecker
Austin Schneider

No description provided.

Austin Schneider use image helpers da8d4be
Iain Hecker iain merged commit 7082eea into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Sep 27, 2011
  1. use image helpers

    Austin Schneider authored
This page is out of date. Refresh to see the latest.
6 vendor/assets/stylesheets/formalize.css → vendor/assets/stylesheets/formalize.css.scss
View
@@ -107,7 +107,7 @@ input[type="button"] {
-moz-background-clip: padding;
-webkit-background-clip: padding;
background-clip: padding-box;
- background: #ddd url(/assets/formalize/button.png) repeat-x;
+ background: #ddd image-url('formalize/button.png') repeat-x;
background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #fff), color-stop(1, #ddd));
background: -moz-linear-gradient(top center, #fff 0%, #ddd 100%);
border: 1px solid;
@@ -281,7 +281,7 @@ select[multiple] {
/* Tweaks for Safari + Chrome. */
@media (-webkit-min-device-pixel-ratio: 0) {
select {
- background-image: url(/assets/formalize/select_arrow.gif);
+ background-image: image-url('formalize/select_arrow.gif');
background-repeat: no-repeat;
background-position: right center;
padding-right: 20px;
@@ -356,7 +356,7 @@ optgroup {
.ie6_button,
* html button {
- background: #ddd url(/assets/formalize/button.png) repeat-x;
+ background: #ddd image-url('formalize/button.png') repeat-x;
border: 1px solid;
border-color: #ddd #bbb #999;
cursor: pointer;
Something went wrong with that request. Please try again.