Skip to content

Commit

Permalink
Refactor PE progress SCSS
Browse files Browse the repository at this point in the history
Combine selectors.
Shorten HEX colour codes
  • Loading branch information
nschonni committed Dec 29, 2012
1 parent 5ca1495 commit beff6e9
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/js/sass/includes/_progress.scss
Expand Up @@ -14,17 +14,17 @@
progress {
@include inline-block;

div.wb-progress-outer {
@include progress(#FFF);
}

div.wb-progress-undefined {
@include progress(#FF9999);
}

div.wb-progress-inner {
height: 100%;
border: none;
background-color: #009900;
div {
&.wb-progress-outer {
@include progress(#FFF);
}
&.wb-progress-undefined {
@include progress(#F99);
}
&.wb-progress-inner {
height: 100%;
border: none;
background-color: #090;
}
}
}

0 comments on commit beff6e9

Please sign in to comment.