2
0

_editing-sessions.scss 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. .w-editing-sessions {
  2. @apply w-mr-auto sm:w-pr-8 sm:w-mr-5 sm:w-border-r w-border-border-furniture;
  3. }
  4. .w-editing-sessions__list {
  5. @apply w-flex w-p-0 w-m-0;
  6. }
  7. .w-editing-sessions__avatar {
  8. @apply w-mx-px w-w-7 w-h-7 w-border-2 w-border-surface-field hover:w-border-positive-100;
  9. }
  10. .w-editing-sessions__decorated-avatar {
  11. @apply w-relative w-rounded-full;
  12. .icon {
  13. @apply w-w-4 w-h-4 w-absolute -w-bottom-2 w-left-[.45rem] w-z-20 w-stroke-surface-header w-shadow-white;
  14. }
  15. }
  16. .w-editing-sessions__decorator-filler {
  17. /* HACK: fill the 'hole' inside the warning icon with a solid bg-surface-header */
  18. @apply w-block w-w-[.1875rem] w-h-2 w-absolute w-bottom-[-.3125rem] w-left-[.90625rem] w-bg-surface-header w-z-10;
  19. }
  20. .w-editing-sessions__popup {
  21. @apply w-flex w-flex-col w-items-center w-justify-center w-gap-1;
  22. }
  23. .w-editing-sessions__message {
  24. @apply w-label-2 w-flex w-items-center w-gap-1.5;
  25. .icon {
  26. @apply w-w-5 w-h-5;
  27. }
  28. }
  29. .w-editing-sessions__name {
  30. @apply w-font-semibold;
  31. }
  32. .w-editing-sessions__session {
  33. @apply w-p-0 w-bg-transparent;
  34. [aria-expanded='true']
  35. .w-editing-sessions__decorated-avatar
  36. :where(.icon, .w-editing-sessions__decorator-filler) {
  37. @apply w-hidden;
  38. }
  39. }
  40. .w-editing-sessions__session--saved {
  41. .w-editing-sessions__avatar {
  42. @apply w-border-text-error;
  43. }
  44. .icon {
  45. @apply w-text-text-error;
  46. }
  47. }
  48. .w-editing-sessions__session--editing {
  49. .w-editing-sessions__avatar {
  50. @apply w-border-warning-100;
  51. }
  52. .icon {
  53. @apply w-text-warning-100;
  54. }
  55. }
  56. .w-editing-sessions__session--more {
  57. .w-editing-sessions__avatar {
  58. @apply w-flex w-items-center w-justify-center w-bg-surface-page w-font-bold w-text-11;
  59. }
  60. }
  61. .w-editing-sessions__more-list {
  62. @apply w-flex w-flex-col w-gap-4 w-p-2 w-m-0;
  63. }
  64. .w-editing-sessions__list-item {
  65. @apply w-flex w-items-center w-text-14;
  66. }
  67. .w-editing-sessions-dialog-buttons {
  68. @apply w-mt-8 w-flex w-flex-wrap w-gap-4;
  69. .button + .button {
  70. // Reset default left margin for buttons in a row
  71. @apply w-ml-0;
  72. }
  73. }