_select.scss 835 B

12345678910111213141516171819202122232425262728293031323334
  1. .custom-select {
  2. height: 32px;
  3. min-width: 68px;
  4. padding-top: 5px;
  5. padding-bottom: 7px;
  6. padding-left: 6px;
  7. padding-right: 6px;
  8. background-color: transparent;
  9. border-radius: 5px;
  10. border: 1px solid $header-color;
  11. position: relative;
  12. &:before,
  13. &:after {
  14. content: ' ';
  15. position: absolute;
  16. right: 13px;
  17. top: 7px;
  18. width: 9px;
  19. height: 7px;
  20. background-image: url("data:image/svg+xml,%3Csvg width='9' height='7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 7H0l4.5-7L9 7z' fill='%23B0BAEB'/%3E%3C/svg%3E");
  21. }
  22. &:after {
  23. top: auto;
  24. bottom: 7px;
  25. background-image: url("data:image/svg+xml,%3Csvg width='9' height='7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h9L4.5 7 0 0z' fill='%23B0BAEB'/%3E%3C/svg%3E");
  26. }
  27. &__select {
  28. color: $header-color;
  29. appearance: none;
  30. }
  31. }