repo.css 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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 pb-[220px];
  17. @apply min-w-[260px] sm:max-w-[320px] max-h-[60vh];
  18. &[data-mode=db] {
  19. @apply pb-[140px];
  20. }
  21. .ui__dropdown-menu-item {
  22. @apply overflow-hidden overflow-ellipsis;
  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 absolute left-[1px] bottom-[1px] w-[calc(100%-2px)] bg-gray-01 px-2 py-3 border-t
  45. flex flex-col gap-1 rounded-b overflow-hidden;
  46. .ui__button {
  47. @apply w-full !py-4 !justify-start opacity-70 font-medium hover:opacity-90
  48. items-center gap-1.5;
  49. }
  50. }