环卫车小程序前端代码
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.

58 lines
918 B

4 months ago
  1. @import '../mixin/color.scss';
  2. .se {
  3. &-b {
  4. border: 1rpx solid $border;
  5. &-ts + &-ts {
  6. border-top: 1rpx solid $border;
  7. }
  8. &-ls + &-ls {
  9. border-left: 1rpx solid $border;
  10. }
  11. @each $s, $l in t top, r right, b bottom, l left {
  12. &-#{$s} {
  13. border-#{$l}: 1rpx solid $border;
  14. }
  15. }
  16. @each $name in $names {
  17. $i: index($names, $name);
  18. &-#{$name} {
  19. border: 1rpx solid nth($colors, $i);
  20. }
  21. }
  22. &-n {
  23. border: none;
  24. }
  25. }
  26. &-br {
  27. @for $i from 0 through 100 {
  28. @if $i % 1 == 0 {
  29. &-#{$i} {
  30. border-radius: $i + rpx;
  31. }
  32. }
  33. }
  34. &-p-50 {
  35. border-radius: 50%;
  36. }
  37. }
  38. &-bs {
  39. box-shadow: 0 3rpx 9rpx 0 rgba(0, 0, 0, 0.06);
  40. &-t {
  41. box-shadow: -2rpx -2rpx 12rpx rgba(0, 0, 0, 0.1);
  42. }
  43. &-b {
  44. box-shadow: 2rpx 2rpx 12rpx rgba(0, 0, 0, 0.1);
  45. }
  46. }
  47. }