index.scss 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. .nut-actionsheet-panel {
  2. position: fixed;
  3. left: 0;
  4. right: 0;
  5. bottom: 0;
  6. width: 100%;
  7. max-height: 80%;
  8. overflow: auto;
  9. z-index: $zindex-actionsheet;
  10. background-color: $body-background;
  11. }
  12. .nut-actionsheet-modal {
  13. padding: 10px;
  14. margin: 0;
  15. text-align: center;
  16. background-color: #fff;
  17. border-bottom: 1px solid $light-color;
  18. .nut-actionsheet-title,
  19. .nut-actionsheet-sub-title {
  20. padding: 5px 0;
  21. }
  22. .nut-actionsheet-title {
  23. font-size: $font-size-base;
  24. color: $title-color;
  25. }
  26. .nut-actionsheet-sub-title {
  27. font-size: $font-size-small;
  28. color: $title-color;
  29. margin-inline-start: 0px;
  30. }
  31. }
  32. .nut-actionsheet-menu {
  33. list-style: none;
  34. padding: 0;
  35. margin: 0;
  36. }
  37. .nut-actionsheet-cancel,
  38. .nut-actionsheet-item {
  39. // height: 24px;
  40. padding: 10px;
  41. line-height: 24px;
  42. font-size: $font-size-base;
  43. color: $title-color;
  44. text-align: center;
  45. background-color: #fff;
  46. }
  47. .desc {
  48. font-size: 14px;
  49. color: #999;
  50. }
  51. .subdesc {
  52. display: block;
  53. font-size: 12px;
  54. color: #999;
  55. }
  56. .nut-actionsheet-item {
  57. border-bottom: 1px solid $light-color;
  58. cursor: pointer;
  59. }
  60. .nut-actionsheet-item-active {
  61. color: $primary-color;
  62. }
  63. .nut-actionsheet-item-disabled {
  64. color: #e1e1e1;
  65. cursor: not-allowed;
  66. }
  67. .nut-actionsheet-cancel {
  68. margin-top: 5px;
  69. border-top: 1px solid $light-color;
  70. }