Advertisement
Guest User

Untitled

a guest
Oct 21st, 2014
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.11 KB | None | 0 0
  1. .emn-scale-radio {
  2. @include border-radius(50%);
  3. width: $psktScaleRadioWidth;
  4. height: $psktScaleRadioHeight;
  5. display: inline-block;
  6. position: relative;
  7. margin: $psktScaleRadioMarginFull;
  8.  
  9. &:last-child {
  10. margin: $psktScaleRadioMarginLast;
  11. }
  12.  
  13. input[type='radio'],
  14. [class^="icon-"] {
  15. display: none;
  16. }
  17.  
  18. @for $i from 0 to length($psktScaleColorCollection) {
  19. &.emn-scale-radio:nth-child(#{$i+1}) {
  20. background-color: nth($psktScaleColorCollection, $i+1);
  21. }
  22.  
  23. &.emn-scale-radio-checked:nth-child(#{$i+1}) {
  24. border: $psktScaleRadioCheckedBorder;
  25. background-color: $white;
  26.  
  27. [class^="icon-"] {
  28. color: $mediumBlue01;
  29. display: inline-block;
  30. position: $psktScaleRadioCheckedIconPosition;
  31. right: $psktScaleRadioCheckedIconPositionRight;
  32. min-width: $psktScaleRadioCheckedIconMinWidth;
  33. }
  34. }
  35. }
  36. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement