Skip to content
This repository has been archived by the owner on May 21, 2021. It is now read-only.

Commit

Permalink
fix(css): prefix classes
Browse files Browse the repository at this point in the history
  • Loading branch information
Can Kattw committed Jun 23, 2017
1 parent 6be870c commit 7ea2499
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 32 deletions.
33 changes: 17 additions & 16 deletions src/w11k-select-option/_w11k-select-options.less
Original file line number Diff line number Diff line change
Expand Up @@ -22,51 +22,52 @@

/* sorry about this - couldn't get it to work otherwise
especially IE with hover background and indent */

@padding: 19px;
ul > li {
> div {
padding-left: 0;
}
.w11k-select {
@padding: 19px;
ul > li {
> div {
padding-left: @padding * 1;
padding-left: 0;
}
ul > li {
> div {
padding-left: @padding * 2;
padding-left: @padding * 1;
}
ul > li {
> div {
padding-left: @padding * 3;
padding-left: @padding * 2;
}
ul > li {
> div {
padding-left: @padding * 4;
padding-left: @padding * 3;
}
ul > li {
> div {
padding-left: @padding * 5;
padding-left: @padding * 4;
}
ul > li {
> div {
padding-left: @padding * 6;
padding-left: @padding * 5;
}
ul > li {
> div {
padding-left: @padding * 7;
padding-left: @padding * 6;
}
ul > li {
> div {
padding-left: @padding * 8;
padding-left: @padding * 7;
}
ul > li {
> div {
padding-left: @padding * 9;
padding-left: @padding * 8;
}
ul > li {
> div {
padding-left: @padding * 10;
padding-left: @padding * 9;
}
ul > li {
> div {
padding-left: @padding * 10;
}
}
}
}
Expand Down
34 changes: 18 additions & 16 deletions src/w11k-select-option/_w11k-select-options.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,51 +22,52 @@

/* sorry about this - couldn't get it to work otherwise
especially IE with hover background and indent */

$paddig: 19px;
ul > li {
> div {
padding-left: 0;
}
.w11k-select {
$paddig: 19px;
ul > li {
> div {
padding-left: $paddig * 1;
padding-left: 0;
}
ul > li {
> div {
padding-left: $paddig * 2;
padding-left: $paddig * 1;
}
ul > li {
> div {
padding-left: $paddig * 3;
padding-left: $paddig * 2;
}
ul > li {
> div {
padding-left: $paddig * 4;
padding-left: $paddig * 3;
}
ul > li {
> div {
padding-left: $paddig * 5;
padding-left: $paddig * 4;
}
ul > li {
> div {
padding-left: $paddig * 6;
padding-left: $paddig * 5;
}
ul > li {
> div {
padding-left: $paddig * 7;
padding-left: $paddig * 6;
}
ul > li {
> div {
padding-left: $paddig * 8;
padding-left: $paddig * 7;
}
ul > li {
> div {
padding-left: $paddig * 9;
padding-left: $paddig * 8;
}
ul > li {
> div {
padding-left: $paddig * 10;
padding-left: $paddig * 9;
}
ul > li {
> div {
padding-left: $paddig * 10;
}
}
}
}
Expand All @@ -79,3 +80,4 @@ ul > li {
}
}
}

0 comments on commit 7ea2499

Please sign in to comment.