index.scss 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. .nut-picker {
  2. &__content {
  3. position: relative;
  4. text-align: center;
  5. overflow-y: hidden;
  6. flex-grow: 1;
  7. &:hover {
  8. cursor: grab;
  9. }
  10. }
  11. &__mask {
  12. position: absolute;
  13. top: 0;
  14. left: 0;
  15. z-index: 1;
  16. width: 100%;
  17. height: 100%;
  18. background-image: linear-gradient(
  19. 180deg,
  20. hsla(0, 0%, 100%, 0.9),
  21. hsla(0, 0%, 100%, 0.4)
  22. ),
  23. linear-gradient(0deg, hsla(0, 0%, 100%, 0.9), hsla(0, 0%, 100%, 0.4));
  24. background-repeat: no-repeat;
  25. background-position: top, bottom;
  26. -webkit-transform: translateZ(0);
  27. transform: translateZ(0);
  28. pointer-events: none;
  29. }
  30. &__bar {
  31. display: flex;
  32. height: 56px;
  33. align-items: center;
  34. justify-content: space-between;
  35. padding: 15px;
  36. }
  37. &__column {
  38. display: flex;
  39. }
  40. &__left {
  41. color: #fa2c19;
  42. font-size: 16px;
  43. }
  44. &__item {
  45. display: flex;
  46. justify-content: center;
  47. align-items: center;
  48. height: 35px;
  49. }
  50. &__hairline {
  51. position: absolute;
  52. height: 35px;
  53. width: 100%;
  54. border: 1px solid #d8d8d8;
  55. border-left: 0;
  56. border-right: 0;
  57. }
  58. }