picker.scss 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. .lb-picker {
  2. position: relative;
  3. }
  4. .lb-picker-mask {
  5. background-color: rgba(0, 0, 0, 0.0);
  6. position: fixed;
  7. top: 0;
  8. right: 0;
  9. left: 0;
  10. bottom: 0;
  11. }
  12. .lb-picker-mask-animation {
  13. transition-property: background-color;
  14. transition-duration: 0.3s;
  15. }
  16. .lb-picker-container {
  17. position: relative;
  18. }
  19. .lb-picker-container-fixed {
  20. position: fixed;
  21. left: 0;
  22. right: 0;
  23. bottom: 0;
  24. transform: translateY(100%);
  25. /* #ifndef APP-NVUE */
  26. overflow: hidden;
  27. /* #endif */
  28. }
  29. /* #ifndef APP-NVUE */
  30. .lb-picker-container-animation {
  31. transition-property: transform;
  32. transition-duration: 0.3s;
  33. }
  34. .lb-picker-container-show {
  35. transform: translateY(0);
  36. }
  37. /* #endif */
  38. .lb-picker-header {
  39. position: relative;
  40. background-color: #fff;
  41. /* #ifdef APP-NVUE */
  42. border-bottom-width: 1px;
  43. border-bottom-style: solid;
  44. border-bottom-color: #e5e5e5;
  45. border-top-width: 1px;
  46. border-top-style: solid;
  47. border-top-color: #e5e5e5;
  48. /* #endif */
  49. /* #ifndef APP-NVUE */
  50. box-sizing: border-box;
  51. /* #endif */
  52. }
  53. /* #ifndef APP-NVUE */
  54. .lb-picker-header::after {
  55. content: "";
  56. position: absolute;
  57. left: 0;
  58. bottom: 0;
  59. right: 0;
  60. height: 1px;
  61. clear: both;
  62. border-bottom: 1px solid #e5e5e5;
  63. color: #e5e5e5;
  64. transform-origin: 0 100%;
  65. transform: scaleY(0.5);
  66. }
  67. /* #endif */
  68. .lb-picker-header-actions {
  69. height: 45px;
  70. /* #ifndef APP-NVUE */
  71. box-sizing: border-box;
  72. display: flex;
  73. /* #endif */
  74. flex-direction: row;
  75. justify-content: space-between;
  76. flex-wrap: nowrap;
  77. }
  78. .lb-picker-action {
  79. padding-left: 10px;
  80. padding-right: 10px;
  81. /* #ifndef APP-NVUE */
  82. display: flex;
  83. /* #endif */
  84. flex-direction: row;
  85. align-items: center;
  86. justify-content: center;
  87. }
  88. .lb-picker-action-cancel-text {
  89. font-size: 16px;
  90. }
  91. .lb-picker-action-confirm-text {
  92. font-size: 16px;
  93. }
  94. .lb-picker-content {
  95. position: relative;
  96. background-color: #fff;
  97. }
  98. /* #ifndef APP-NVUE */
  99. .lb-picker-content-safe-buttom {
  100. padding-bottom: 0;
  101. padding-bottom: constant(safe-area-inset-bottom);
  102. padding-bottom: env(safe-area-inset-bottom);
  103. }
  104. /* #endif */
  105. .lb-picker-content-main {
  106. position: relative;
  107. /* #ifndef APP-NVUE */
  108. display: flex;
  109. /* #endif */
  110. justify-content: center;
  111. flex-direction: column;
  112. }
  113. .lb-picker-loading,
  114. .lb-picker-empty {
  115. /* #ifndef APP-NVUE */
  116. display: flex;
  117. /* #endif */
  118. justify-content: center;
  119. align-items: center;
  120. }
  121. .lb-picker-empty-text {
  122. font-size: 16px;
  123. }
  124. .lb-picker-loading-img {
  125. width: 25px;
  126. height: 25px;
  127. /* #ifndef APP-NVUE */
  128. animation: rotating 2s linear infinite;
  129. /* #endif */
  130. }
  131. /* #ifndef APP-NVUE */
  132. @keyframes rotating {
  133. 0% {
  134. transform: rotate(0deg)
  135. }
  136. 100% {
  137. transform: rotate(1turn)
  138. }
  139. }
  140. /* #endif */