figure-modal.less 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. .figure-modal-label {
  2. font-weight: normal;
  3. line-height: 100%;
  4. }
  5. .figure-modal-form tr,
  6. .figure-modal-form td {
  7. vertical-align: top;
  8. }
  9. .figure-modal-footer {
  10. display: flex;
  11. justify-content: space-between;
  12. }
  13. .figure-modal-help-buttons,
  14. .figure-modal-actions {
  15. flex: 1 1 auto;
  16. }
  17. .figure-modal-help-buttons {
  18. text-align: left;
  19. }
  20. .figure-modal-help-link,
  21. .figure-modal-help-link:hover,
  22. .figure-modal-help-link:focus,
  23. .figure-modal-help-link:active {
  24. color: @neutral-90;
  25. text-decoration: none;
  26. }
  27. .figure-modal-help-link {
  28. padding-left: 0;
  29. }
  30. .figure-modal-switcher-input {
  31. display: flex;
  32. }
  33. .figure-modal-checkbox-input,
  34. .figure-modal-switcher-input {
  35. margin-top: 16px;
  36. }
  37. .figure-modal-checkbox-input input[type='checkbox'] {
  38. vertical-align: top;
  39. margin-right: 12px;
  40. accent-color: @ol-green;
  41. }
  42. .figure-modal-switcher-input {
  43. display: flex;
  44. justify-content: space-between;
  45. vertical-align: middle;
  46. }
  47. .figure-modal-input-field {
  48. width: 100%;
  49. }
  50. .file-container {
  51. width: 100%;
  52. height: 120px;
  53. padding: 22px 24px;
  54. border: 1px dashed #eaeaea;
  55. background-color: #fafafa;
  56. justify-content: space-between;
  57. border-radius: 8px;
  58. }
  59. .file-container-file {
  60. display: flex;
  61. border: 1px solid @neutral-20;
  62. border-radius: 8px;
  63. background-color: white;
  64. height: 100%;
  65. padding: 16px 18px;
  66. }
  67. .file-info {
  68. margin-left: 18px;
  69. flex-grow: 1;
  70. display: flex;
  71. flex-direction: column;
  72. justify-content: space-around;
  73. }
  74. .file-name {
  75. font-weight: bold;
  76. }
  77. .file-icon {
  78. font-size: 20px;
  79. line-height: 40px;
  80. }
  81. .file-action {
  82. cursor: pointer;
  83. }
  84. .figure-modal-source-button-row {
  85. display: flex;
  86. justify-content: space-between;
  87. margin: 0 auto;
  88. &:not(:first-of-type) {
  89. margin-top: 8px;
  90. }
  91. }
  92. .figure-modal-source-button {
  93. display: flex;
  94. flex: 1 1 0;
  95. align-items: center;
  96. box-shadow: 0px 2px 4px 0px #1e253029;
  97. line-height: 44px;
  98. background-color: white;
  99. border-radius: 4px;
  100. border: none;
  101. padding: 0 8px;
  102. &:nth-child(even) {
  103. margin-left: 4px;
  104. }
  105. &:nth-child(odd) {
  106. margin-right: 4px;
  107. }
  108. &-title {
  109. flex: 1 1 auto;
  110. text-align: left;
  111. }
  112. }
  113. .figure-modal-source-button-icon {
  114. flex: 0 0 auto;
  115. &.source-icon {
  116. margin-right: 6px;
  117. }
  118. }
  119. .figure-modal-input-label:not(:first-child),
  120. .figure-modal .select-wrapper:not(:first-child) {
  121. margin-top: 16px;
  122. }