合同小程序前端代码仓库
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.

62 lines
1.1 KiB

3 months ago
  1. // 公共前缀
  2. // @import '@/uni_modules/lime-ui/style/index.scss';
  3. @import './icon';
  4. $prefix: l !default;
  5. $icon: #{$prefix}-icon;
  6. /* #ifndef APP-NVUE || APP-ANDROID || APP-IOS */
  7. :host {
  8. display: inline-flex;
  9. align-items: center;
  10. justify-content: center;
  11. }
  12. /* #endif */
  13. .#{$icon} {
  14. /* #ifndef APP-NVUE || APP-ANDROID || APP-IOS */
  15. font-family: $prefix;
  16. // display: inline-block;
  17. display: inline-flex;
  18. position: relative;
  19. width: 1em;
  20. height: 1em;
  21. /* #endif */
  22. /* #ifdef APP-NVUE || APP-ANDROID || APP-IOS */
  23. // width: 16px;
  24. // height: 40rpx;
  25. /* #endif */
  26. &--font {
  27. font-family: $prefix;
  28. line-height: 1;
  29. // height: inherit;
  30. text-align: center;
  31. // font-size: inherit;
  32. /* #ifndef APP-NVUE || APP-ANDROID || APP-IOS */
  33. font-style: normal;
  34. font-weight: normal;
  35. font-variant: normal;
  36. text-transform: none;
  37. -webkit-font-smoothing: antialiased;
  38. -moz-osx-font-smoothing: grayscale;
  39. // -webkit-background-clip: text;
  40. // background-clip: text;
  41. /* #endif */
  42. }
  43. &--image {
  44. /* #ifdef WEB */
  45. position: relative;
  46. // :deep img {
  47. // z-index: -1;
  48. // }
  49. ::deep(img) {
  50. z-index: -1;
  51. }
  52. /* #endif */
  53. }
  54. }