figure-modal.less 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  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: @neutral-90;
  6. text-decoration: none;
  7. }
  8. .figure-modal-help-link {
  9. padding-left: 0;
  10. }
  11. .figure-modal-checkbox-input {
  12. label {
  13. display: inline-block;
  14. font-weight: normal;
  15. line-height: 100%;
  16. .figure-modal-label-content {
  17. display: block;
  18. overflow: hidden;
  19. }
  20. }
  21. input[type='checkbox'] {
  22. margin-right: 12px;
  23. margin-top: 2px;
  24. vertical-align: top;
  25. accent-color: @ol-green;
  26. }
  27. }
  28. .figure-modal-switcher-input {
  29. position: relative;
  30. z-index: 0;
  31. display: flex;
  32. justify-content: space-between;
  33. align-items: center;
  34. }
  35. .file-container {
  36. width: 100%;
  37. height: 120px;
  38. padding: 22px 24px;
  39. border: 1px dashed #eaeaea;
  40. background-color: #fafafa;
  41. justify-content: space-between;
  42. border-radius: 8px;
  43. }
  44. .file-container-file {
  45. display: flex;
  46. align-items: center;
  47. border: 1px solid @neutral-20;
  48. border-radius: 8px;
  49. background-color: white;
  50. height: 100%;
  51. padding: 16px 18px;
  52. }
  53. .file-info {
  54. margin-left: 18px;
  55. flex-grow: 1;
  56. display: flex;
  57. flex-direction: column;
  58. justify-content: space-around;
  59. }
  60. .file-name {
  61. font-weight: bold;
  62. }
  63. .file-icon {
  64. font-size: 20px;
  65. }
  66. .file-action {
  67. cursor: pointer;
  68. }
  69. .figure-modal-source-button-grid {
  70. display: grid;
  71. justify-content: space-between;
  72. gap: 8px;
  73. grid-template-columns: 1fr 1fr;
  74. margin: 0 auto;
  75. &:not(:first-of-type) {
  76. margin-top: 8px;
  77. }
  78. }
  79. .figure-modal-source-button {
  80. display: flex;
  81. flex: 1 1 0;
  82. align-items: center;
  83. box-shadow: 0px 2px 4px 0px #1e253029;
  84. line-height: 44px;
  85. background-color: white;
  86. border-radius: 4px;
  87. border: none;
  88. padding: 0 8px;
  89. &-title {
  90. flex: 1 1 auto;
  91. text-align: left;
  92. }
  93. }
  94. .figure-modal-source-button-icon {
  95. margin-right: 6px;
  96. }
  97. .figure-modal-upload .uppy-Dashboard-AddFiles-list {
  98. display: none;
  99. }
  100. .select-from-files-btn {
  101. vertical-align: baseline;
  102. }