_mixins.scss 1013 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. @mixin avatar-radius {
  2. border-radius: 4px;
  3. background: transparent no-repeat;
  4. background-position: 50%;
  5. background-clip: padding-box;
  6. }
  7. @mixin avatar-size($size: 48px) {
  8. width: $size;
  9. height: $size;
  10. background-size: $size $size;
  11. }
  12. @mixin search-input {
  13. outline: 0;
  14. box-sizing: border-box;
  15. width: 100%;
  16. border: 0;
  17. box-shadow: none;
  18. font-family: inherit;
  19. background: $ui-base-color;
  20. color: $darker-text-color;
  21. border-radius: 4px;
  22. font-size: 14px;
  23. margin: 0;
  24. }
  25. @mixin search-popout {
  26. background: $simple-background-color;
  27. border-radius: 4px;
  28. padding: 10px 14px;
  29. padding-bottom: 14px;
  30. margin-top: 10px;
  31. color: $light-text-color;
  32. box-shadow: 2px 4px 15px rgba($base-shadow-color, 0.4);
  33. h4 {
  34. text-transform: uppercase;
  35. color: $light-text-color;
  36. font-size: 13px;
  37. font-weight: 500;
  38. margin-bottom: 10px;
  39. }
  40. li {
  41. padding: 4px 0;
  42. }
  43. ul {
  44. margin-bottom: 10px;
  45. }
  46. em {
  47. font-weight: 500;
  48. color: $inverted-text-color;
  49. }
  50. }