share.less 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  1. .modal-body-share {
  2. h3 {
  3. border-bottom: 1px solid @gray-lighter;
  4. padding-bottom: @line-height-computed / 4;
  5. margin: 0;
  6. font-size: 1rem;
  7. }
  8. .project-member.form-group {
  9. margin-bottom: 0;
  10. }
  11. .project-member .form-control-static.text-center {
  12. padding-top: 0;
  13. }
  14. .project-member .remove-button {
  15. font-size: inherit;
  16. }
  17. .project-member {
  18. padding: (@line-height-computed / 2) 0;
  19. font-size: 16px;
  20. span {
  21. padding-right: @line-height-computed / 2;
  22. }
  23. }
  24. .project-invite,
  25. .public-access-level {
  26. font-size: 14px;
  27. padding: (@line-height-computed / 2) 0;
  28. border-bottom: 1px solid @gray-lighter;
  29. }
  30. .public-access-level {
  31. margin-top: @line-height-computed / 4;
  32. font-size: 13px;
  33. padding-bottom: @modal-inner-padding;
  34. .access-token-display-area {
  35. margin-top: @line-height-computed / 4;
  36. .access-token-wrapper {
  37. padding-top: @line-height-computed / 4;
  38. .access-token {
  39. margin-top: @line-height-computed / 4;
  40. background-color: @gray-lightest;
  41. border: 1px solid @gray-lighter;
  42. padding: 6px 12px 6px 12px;
  43. display: flex;
  44. align-items: center;
  45. justify-content: space-between;
  46. }
  47. }
  48. }
  49. .fa-chevron-down,
  50. .fa-chevron-up {
  51. vertical-align: top;
  52. color: @neutral-70;
  53. }
  54. .btn-chevron {
  55. padding: 0 (@line-height-computed / 2);
  56. }
  57. }
  58. .public-access-level.public-access-level-notice {
  59. background-color: @gray-lightest;
  60. border-bottom: none;
  61. margin-top: @margin-md;
  62. padding-top: @margin-md;
  63. }
  64. .project-member,
  65. .project-invite {
  66. &:hover {
  67. background-color: @gray-lightest;
  68. }
  69. }
  70. .project-member {
  71. .select-trigger {
  72. color: @neutral-70;
  73. border: none;
  74. padding: 0 10px 5px 10px;
  75. }
  76. .select-items {
  77. max-height: 300px;
  78. width: 300px;
  79. li:last-child {
  80. color: @brand-danger;
  81. }
  82. }
  83. .project-member-email-icon {
  84. display: grid;
  85. grid-template-columns: 2em auto;
  86. align-items: center;
  87. padding-bottom: 5px;
  88. .fa-warning {
  89. color: @brand-warning;
  90. }
  91. .subtitle {
  92. font-size: @font-size-small;
  93. }
  94. }
  95. }
  96. .project-member .text-left,
  97. .project-invite .text-left {
  98. padding-left: 25px;
  99. }
  100. .invite-controls {
  101. .small {
  102. padding: 2px;
  103. margin-bottom: 0;
  104. }
  105. padding: @line-height-computed / 2;
  106. background-color: @gray-lightest;
  107. margin-top: @line-height-computed / 2;
  108. form {
  109. .form-group {
  110. margin-bottom: @line-height-computed / 2;
  111. &:last-child {
  112. margin-bottom: 0;
  113. }
  114. }
  115. .privileges {
  116. display: inline-block;
  117. width: auto;
  118. }
  119. .tags-new .privileges {
  120. background: transparent;
  121. width: auto;
  122. height: 30px;
  123. font-size: 14px;
  124. border: none;
  125. border-right: 5px solid transparent;
  126. }
  127. }
  128. .add-collaborators-upgrade {
  129. display: flex;
  130. flex-direction: column;
  131. align-items: center;
  132. margin-bottom: var(--spacing-08);
  133. .upgrade-actions {
  134. display: flex;
  135. gap: @margin-md;
  136. }
  137. }
  138. }
  139. .rbt-menu > .dropdown-item {
  140. display: block;
  141. padding: 0.25rem 1rem;
  142. color: #212529;
  143. white-space: nowrap;
  144. overflow: hidden;
  145. text-overflow: ellipsis;
  146. &:hover {
  147. text-decoration: none;
  148. background-color: @gray-lightest;
  149. }
  150. }
  151. }
  152. .copy-button:focus-within {
  153. outline: none;
  154. }
  155. .modal-link-share {
  156. .invite-controls {
  157. padding: 0;
  158. background-color: transparent;
  159. margin-top: 0;
  160. }
  161. .public-access-level {
  162. border: none;
  163. }
  164. .invite-warning {
  165. margin-bottom: @line-height-computed / 2;
  166. }
  167. .project-member-select {
  168. padding: 0;
  169. .fa-warning {
  170. color: @brand-warning;
  171. }
  172. }
  173. .project-member.form-group,
  174. .project-member.row {
  175. margin: 0 -30px;
  176. }
  177. .project-member .select-wrapper {
  178. display: inline-block;
  179. position: absolute;
  180. right: 0;
  181. .select-trigger {
  182. gap: @spacing-02;
  183. }
  184. }
  185. .project-member.row {
  186. padding-right: 1.28571429em;
  187. }
  188. }