闭社主体 forked from https://github.com/tootsuite/mastodon
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
991 B

  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. font-size: 14px;
  22. margin: 0;
  23. }
  24. @mixin search-popout {
  25. background: $simple-background-color;
  26. border-radius: 4px;
  27. padding: 10px 14px;
  28. padding-bottom: 14px;
  29. margin-top: 10px;
  30. color: $light-text-color;
  31. box-shadow: 2px 4px 15px rgba($base-shadow-color, 0.4);
  32. h4 {
  33. text-transform: uppercase;
  34. color: $light-text-color;
  35. font-size: 13px;
  36. font-weight: 500;
  37. margin-bottom: 10px;
  38. }
  39. li {
  40. padding: 4px 0;
  41. }
  42. ul {
  43. margin-bottom: 10px;
  44. }
  45. em {
  46. font-weight: 500;
  47. color: $inverted-text-color;
  48. }
  49. }