uni.scss 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. /* stylelint-disable */
  2. .message-input-toolbar {
  3. border-top: 1px solid #f4f5f9;
  4. width: 100%;
  5. max-width: 100%;
  6. display: flex;
  7. flex-direction: row;
  8. justify-content: space-between;
  9. z-index: 100;
  10. user-select: none;
  11. -webkit-touch-callout: none;
  12. -webkit-user-select: none;
  13. -khtml-user-select: none;
  14. -moz-user-select: none;
  15. -ms-user-select: none;
  16. &-list {
  17. display: flex;
  18. flex-direction: row;
  19. align-items: center;
  20. .extension-list {
  21. list-style: none;
  22. display: flex;
  23. &-item {
  24. width: 20px;
  25. height: 20px;
  26. padding: 12px 10px 1px;
  27. cursor: pointer;
  28. }
  29. }
  30. }
  31. }
  32. .message-input-toolbar-h5 {
  33. padding: 5px 10px;
  34. box-sizing: border-box;
  35. flex-direction: column;
  36. }
  37. .message-input-toolbar-uni {
  38. background-color: #ebf0f6;
  39. flex-direction: column;
  40. z-index: 100;
  41. &-list {
  42. flex: 1;
  43. display: grid;
  44. grid-template-columns: repeat(4, 25%);
  45. grid-template-rows: repeat(2, 100px);
  46. }
  47. }
  48. // uniapp swiper style
  49. wx-swiper .wx-swiper-wrapper,
  50. wx-swiper .wx-swiper-slides,
  51. wx-swiper .wx-swiper-slide-frame,
  52. .message-input-toolbar-list {
  53. overflow: visible !important;
  54. }
  55. .message-input-toolbar {
  56. .bottom-popup,
  57. .bottom-popup-h5,
  58. .bottom-popup-uni {
  59. position: sticky !important;
  60. }
  61. }
  62. .message-input-toolbar-swiper {
  63. width: 100%;
  64. height: 220px;
  65. ::v-deep .uni-swiper-wrapper,
  66. wx-swiper .wx-swiper-wrapper {
  67. overflow: visible !important;
  68. .uni-swiper-slides,
  69. .wx-swiper-slides,
  70. wx-swiper .wx-swiper-slides {
  71. overflow: visible !important;
  72. .uni-swiper-slide-frame,
  73. .wx-swiper-slide-frame,
  74. wx-swiper .wx-swiper-slide-frame {
  75. overflow: visible !important;
  76. .message-input-toolbar-list {
  77. overflow: visible !important;
  78. }
  79. .toolbar-item-container-uni {
  80. position: static !important;
  81. }
  82. .toolbar-item-container-dialog {
  83. position: absolute !important;
  84. background: transparent;
  85. left: -10px;
  86. bottom: -5px;
  87. .bottom-popup-uni {
  88. position: sticky !important;
  89. }
  90. }
  91. }
  92. }
  93. }
  94. }