_searchbar.scss 833 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. .search-bar {
  2. position: fixed;
  3. top: -100px;
  4. left: 0;
  5. z-index: 9999999;
  6. width: 100%;
  7. @include transition(.25s);
  8. &.open {
  9. top: 0;
  10. }
  11. .search-icon {
  12. position: absolute;
  13. top: 20px;
  14. left: 14px;
  15. .material-icons {
  16. font-size: 32px;
  17. color: #999;
  18. }
  19. }
  20. .close-search {
  21. position: absolute;
  22. cursor: pointer;
  23. font-size: 30px;
  24. top: 16px;
  25. right: 18px;
  26. .material-icons {
  27. color: #999;
  28. opacity: 1;
  29. @include transition(.5s);
  30. &:hover {
  31. opacity: .5;
  32. }
  33. }
  34. }
  35. input[type="text"] {
  36. width: 100%;
  37. font-size: 16px;
  38. padding: 25px 60px 23px 56px;
  39. border: none;
  40. }
  41. }