repo.css 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. .cp__repo-indicator {
  2. .sync-content {
  3. max-height: 80vh;
  4. overflow: auto;
  5. p {
  6. margin: 0.25rem 0;
  7. }
  8. }
  9. }
  10. .repo-plus svg {
  11. display: inline;
  12. transform: scale(0.7);
  13. }
  14. .ui__dropdown-menu-content {
  15. &.repos-list {
  16. @apply px-2 relative overflow-hidden;
  17. @apply min-w-[280px] sm:max-w-[320px];
  18. .ui__dropdown-menu-item {
  19. @apply overflow-hidden overflow-ellipsis;
  20. }
  21. .cp__repos-list-wrap {
  22. @apply max-h-80 overflow-scroll mx-[-8px] px-2 pb-2;
  23. }
  24. }
  25. }
  26. .cp__repos-select {
  27. &-trigger {
  28. @apply flex items-center p-2 text-sm font-medium rounded-md;
  29. .repo-switch {
  30. @apply flex w-[90%] overflow-hidden items-center select-none;
  31. }
  32. .repo-text, .repo-name {
  33. @apply flex w-[95%] items-center;
  34. .ui__icon {
  35. @apply !mr-0;
  36. }
  37. }
  38. .dropdown-caret {
  39. @apply relative border-t-gray-09 left-1.5 top-[2px];
  40. }
  41. }
  42. }
  43. .cp__repos-quick-actions {
  44. @apply -mx-2 bg-gray-01 px-2 pb-1.5 pt-3 border-t flex flex-col rounded-b overflow-hidden;
  45. .ui__button {
  46. @apply w-full !py-4 !justify-start opacity-70 font-medium hover:opacity-90
  47. items-center gap-1.5 hover:bg-gray-03;
  48. }
  49. }