mui.picker.css 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. /**
  2. * 选择列表插件
  3. * varstion 2.0.0
  4. * by Houfeng
  5. * Houfeng@DCloud.io
  6. */
  7. .mui-picker {
  8. background-color: #ddd;
  9. position: relative;
  10. height: 200px;
  11. overflow: hidden;
  12. border: solid 1px rgba(0, 0, 0, 0.1);
  13. -webkit-user-select: none;
  14. user-select: none;
  15. box-sizing: border-box;
  16. list-style: none;
  17. }
  18. .mui-picker-inner {
  19. box-sizing: border-box;
  20. position: relative;
  21. width: 100%;
  22. height: 100%;
  23. overflow: hidden;
  24. -webkit-mask-box-image: -webkit-linear-gradient(bottom, transparent, transparent 5%, #fff 20%, #fff 80%, transparent 95%, transparent);
  25. -webkit-mask-box-image: linear-gradient(top, transparent, transparent 5%, #fff 20%, #fff 80%, transparent 95%, transparent);
  26. }
  27. .mui-pciker-list,
  28. .mui-pciker-rule {
  29. box-sizing: border-box;
  30. padding: 0px;
  31. margin: 0px;
  32. width: 100%;
  33. height: 36px;
  34. line-height: 36px;
  35. position: absolute;
  36. left: 0px;
  37. top: 50%;
  38. margin-top: -18px;
  39. }
  40. .mui-pciker-rule-bg {
  41. z-index: 0;
  42. /*background-color: #cfd5da;*/
  43. }
  44. .mui-pciker-rule-ft {
  45. z-index: 2;
  46. border-top: solid 1px rgba(0, 0, 0, 0.1);
  47. border-bottom: solid 1px rgba(0, 0, 0, 0.1);
  48. /*-webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);*/
  49. /*box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);*/
  50. }
  51. .mui-pciker-list {
  52. z-index: 1;
  53. -webkit-transform-style: preserve-3d;
  54. transform-style: preserve-3d;
  55. -webkit-transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
  56. transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
  57. }
  58. .mui-pciker-list li {
  59. width: 100%;
  60. height: 100%;
  61. position: absolute;
  62. text-align: center;
  63. vertical-align: middle;
  64. -webkit-backface-visibility: hidden;
  65. backface-visibility: hidden;
  66. overflow: hidden;
  67. box-sizing: border-box;
  68. font-size: 16px;
  69. font-family: "Helvetica Neue", "Helvetica", "Arial", "sans-serif";
  70. color: #888;
  71. padding: 0px 8px;
  72. white-space: nowrap;
  73. -webkit-text-overflow: ellipsis;
  74. text-overflow: ellipsis;
  75. overflow: hidden;
  76. cursor: default;
  77. visibility: hidden;
  78. list-style: none;
  79. }
  80. .mui-pciker-list li.highlight,
  81. .mui-pciker-list li.visible {
  82. visibility: visible;
  83. }
  84. .mui-pciker-list li.highlight {
  85. color: #222;
  86. }