figure-modal.scss 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. .figure-modal-help-link,
  2. .figure-modal-help-link:hover,
  3. .figure-modal-help-link:focus,
  4. .figure-modal-help-link:active {
  5. color: var(--neutral-90) !important;
  6. text-decoration: none;
  7. }
  8. .figure-modal-help-link {
  9. padding-left: 0;
  10. }
  11. .figure-modal-switcher-input {
  12. position: relative;
  13. z-index: 0;
  14. display: flex;
  15. justify-content: space-between;
  16. align-items: center;
  17. }
  18. .file-container {
  19. width: 100%;
  20. height: 120px;
  21. padding: var(--spacing-07) var(--spacing-08);
  22. border: 1px dashed #eaeaea;
  23. background-color: #fafafa;
  24. justify-content: space-between;
  25. border-radius: var(--border-radius-medium);
  26. }
  27. .file-container-file {
  28. display: flex;
  29. align-items: center;
  30. border: 1px solid var(--neutral-20);
  31. border-radius: var(--border-radius-medium);
  32. background-color: white;
  33. height: 100%;
  34. padding: var(--spacing-06) var(--spacing-07);
  35. }
  36. .file-info {
  37. margin-left: var(--spacing-07);
  38. flex-grow: 1;
  39. display: flex;
  40. flex-direction: column;
  41. justify-content: space-around;
  42. }
  43. .file-name {
  44. font-weight: bold;
  45. }
  46. .figure-modal-source-button-grid {
  47. display: grid;
  48. justify-content: space-between;
  49. gap: 8px;
  50. grid-template-columns: 1fr 1fr;
  51. margin: 0 auto;
  52. &:not(:first-of-type) {
  53. margin-top: 8px;
  54. }
  55. }
  56. .figure-modal-source-button {
  57. display: flex;
  58. flex: 1 1 0;
  59. align-items: center;
  60. box-shadow: 0 2px 4px 0 #1e253029;
  61. line-height: 44px;
  62. background-color: var(--white);
  63. border-radius: var(--border-radius-base);
  64. border: none;
  65. padding: 0 var(--spacing-04);
  66. &-title {
  67. flex: 1 1 auto;
  68. text-align: left;
  69. }
  70. }
  71. .figure-modal-source-button-icon {
  72. margin-right: var(--spacing-03);
  73. }
  74. /* stylelint-disable selector-class-pattern */
  75. .figure-modal-upload .uppy-Dashboard-AddFiles-list {
  76. display: none;
  77. }