u-popup.wxss 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. /**
  2. * 这里是uni-app内置的常用样式变量
  3. *
  4. * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
  5. * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
  6. *
  7. */
  8. /**
  9. * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
  10. *
  11. * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  12. */
  13. /* 颜色变量 */
  14. /* 行为相关颜色 */
  15. /* 文字基本颜色 */
  16. /* 背景颜色 */
  17. /* 边框颜色 */
  18. /* 尺寸变量 */
  19. /* 文字尺寸 */
  20. /* 图片尺寸 */
  21. /* Border Radius */
  22. /* 水平间距 */
  23. /* 垂直间距 */
  24. /* 透明度 */
  25. /* 文章场景相关 */
  26. /*自定义主题色 */
  27. .u-empty.data-v-05c24e9b,
  28. .u-empty__wrap.data-v-05c24e9b,
  29. .u-tabs.data-v-05c24e9b,
  30. .u-tabs__wrapper.data-v-05c24e9b,
  31. .u-tabs__wrapper__scroll-view-wrapper.data-v-05c24e9b,
  32. .u-tabs__wrapper__scroll-view.data-v-05c24e9b,
  33. .u-tabs__wrapper__nav.data-v-05c24e9b,
  34. .u-tabs__wrapper__nav__line.data-v-05c24e9b {
  35. display: flex;
  36. flex-direction: column;
  37. flex-shrink: 0;
  38. flex-grow: 0;
  39. flex-basis: auto;
  40. align-items: stretch;
  41. align-content: flex-start;
  42. }
  43. .u-popup.data-v-05c24e9b {
  44. flex: 1;
  45. }
  46. .u-popup__content.data-v-05c24e9b {
  47. background-color: #fff;
  48. position: relative;
  49. }
  50. .u-popup__content--round-top.data-v-05c24e9b {
  51. border-top-left-radius: 0;
  52. border-top-right-radius: 0;
  53. border-bottom-left-radius: 10px;
  54. border-bottom-right-radius: 10px;
  55. }
  56. .u-popup__content--round-left.data-v-05c24e9b {
  57. border-top-left-radius: 0;
  58. border-top-right-radius: 10px;
  59. border-bottom-left-radius: 0;
  60. border-bottom-right-radius: 10px;
  61. }
  62. .u-popup__content--round-right.data-v-05c24e9b {
  63. border-top-left-radius: 10px;
  64. border-top-right-radius: 0;
  65. border-bottom-left-radius: 10px;
  66. border-bottom-right-radius: 0;
  67. }
  68. .u-popup__content--round-bottom.data-v-05c24e9b {
  69. border-top-left-radius: 10px;
  70. border-top-right-radius: 10px;
  71. border-bottom-left-radius: 0;
  72. border-bottom-right-radius: 0;
  73. }
  74. .u-popup__content--round-center.data-v-05c24e9b {
  75. border-top-left-radius: 10px;
  76. border-top-right-radius: 10px;
  77. border-bottom-left-radius: 10px;
  78. border-bottom-right-radius: 10px;
  79. }
  80. .u-popup__content__close.data-v-05c24e9b {
  81. position: absolute;
  82. }
  83. .u-popup__content__close--hover.data-v-05c24e9b {
  84. opacity: 0.4;
  85. }
  86. .u-popup__content__close--top-left.data-v-05c24e9b {
  87. top: 15px;
  88. left: 15px;
  89. }
  90. .u-popup__content__close--top-right.data-v-05c24e9b {
  91. top: 15px;
  92. right: 15px;
  93. }
  94. .u-popup__content__close--bottom-left.data-v-05c24e9b {
  95. bottom: 15px;
  96. left: 15px;
  97. }
  98. .u-popup__content__close--bottom-right.data-v-05c24e9b {
  99. right: 15px;
  100. bottom: 15px;
  101. }