You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

shadow.scss 1.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. @mixin runo-shadow($primaryStyleName : v-shadow) {
  2. .#{$primaryStyleName} {
  3. position: absolute;
  4. }
  5. .#{$primaryStyleName} .top-left {
  6. position: absolute; overflow: hidden;
  7. top: -3px; left: -4px;
  8. width: 8px; height: 8px;
  9. background: transparent url(img/top-left.png);
  10. }
  11. .#{$primaryStyleName} .top {
  12. position: absolute; overflow: hidden;
  13. top: -3px; left: 4px;
  14. height: 8px; right: 4px;
  15. background: transparent url(img/top.png);
  16. }
  17. .#{$primaryStyleName} .top-right {
  18. position: absolute; overflow: hidden;
  19. top: -3px; right: -4px;
  20. width: 8px; height: 8px;
  21. background: transparent url(img/top-right.png);
  22. }
  23. .#{$primaryStyleName} .left {
  24. position: absolute; overflow: hidden;
  25. top: 5px; left: -4px;
  26. width: 8px;
  27. bottom: 3px;
  28. background: transparent url(img/left.png);
  29. }
  30. .#{$primaryStyleName} .center {
  31. position: absolute; overflow: hidden;
  32. top: 5px; left: 4px;
  33. bottom: 3px; right: 4px;
  34. background: transparent url(img/center.png);
  35. }
  36. .#{$primaryStyleName} .right {
  37. position: absolute; overflow: hidden;
  38. top: 5px; right: -4px;
  39. width: 8px;
  40. bottom: 3px;
  41. background: transparent url(img/right.png);
  42. }
  43. .#{$primaryStyleName} .bottom-left {
  44. position: absolute; overflow: hidden;
  45. bottom: -5px; left: -4px;
  46. width: 8px; height: 8px;
  47. background: transparent url(img/bottom-left.png);
  48. }
  49. .#{$primaryStyleName} .bottom {
  50. position: absolute; overflow: hidden;
  51. bottom: -5px; left: 4px;
  52. right: 4px; height: 8px;
  53. background: transparent url(img/bottom.png);
  54. }
  55. .#{$primaryStyleName} .bottom-right {
  56. position: absolute; overflow: hidden;
  57. bottom: -5px; right: -4px;
  58. width: 8px; height: 8px;
  59. background: transparent url(img/bottom-right.png);
  60. }
  61. }