account-settings.scss 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247
  1. .affiliations-table {
  2. table-layout: fixed;
  3. }
  4. .affiliations-table-cell {
  5. padding: var(--spacing-04);
  6. overflow-wrap: break-word;
  7. }
  8. .affiliations-table-cell-tabbed {
  9. margin: var(--spacing-04) 0 0 var(--spacing-07);
  10. padding-left: var(--spacing-04);
  11. }
  12. .affiliations-table-row-highlighted {
  13. background-color: var(--bg-light-secondary);
  14. }
  15. .affiliation-change-container {
  16. margin-top: var(--spacing-04);
  17. }
  18. .affiliations-table-label {
  19. padding-top: var(--spacing-02);
  20. }
  21. .btn-link-accounts {
  22. margin-bottom: var(--spacing-03);
  23. }
  24. .settings-widget-status-icon,
  25. .dropbox-sync-icon {
  26. position: relative;
  27. font-size: 1.3em;
  28. line-height: 1.3em;
  29. vertical-align: top;
  30. &.status-error,
  31. &.dropbox-sync-icon-error {
  32. color: var(--bg-danger-01);
  33. }
  34. &.status-success,
  35. &.dropbox-sync-icon-success {
  36. color: var(--content-positive);
  37. }
  38. &.status-pending,
  39. &.dropbox-sync-icon-updating {
  40. color: var(--bg-info-01);
  41. &::after {
  42. content: '\f021';
  43. position: absolute;
  44. top: 0;
  45. left: 50%;
  46. margin-left: -20%;
  47. font-size: 60%;
  48. color: #fff;
  49. animation: fa-spin 2s infinite linear;
  50. }
  51. }
  52. }
  53. .settings-widgets-container {
  54. border: 1px solid var(--border-divider);
  55. hr {
  56. margin: 0 var(--spacing-05);
  57. }
  58. }
  59. .settings-widget-container {
  60. display: grid;
  61. grid-template-columns: 50px 1fr auto;
  62. gap: var(--spacing-07);
  63. align-items: center;
  64. padding: var(--spacing-05);
  65. > div {
  66. display: flex;
  67. flex-direction: column;
  68. padding-right: var(--spacing-07);
  69. &:last-child {
  70. padding-right: var(--spacing-00);
  71. }
  72. }
  73. img {
  74. width: 40px;
  75. height: 40px;
  76. }
  77. .description-container {
  78. flex-grow: 1;
  79. }
  80. .dual-logo {
  81. display: flex;
  82. justify-content: space-evenly;
  83. height: 100%;
  84. }
  85. .title-row {
  86. display: flex;
  87. align-items: center;
  88. margin-bottom: var(--spacing-05);
  89. > h4 {
  90. margin: 0;
  91. margin-right: var(--spacing-05);
  92. }
  93. }
  94. p {
  95. margin-bottom: var(--spacing-05);
  96. &:last-child {
  97. margin-bottom: var(--spacing-00);
  98. }
  99. }
  100. }
  101. @include media-breakpoint-down(md) {
  102. .settings-widget-container {
  103. grid-template-columns: 1fr;
  104. .title-row {
  105. display: unset;
  106. }
  107. }
  108. }
  109. // Prevents icon from large account linking sections, such as the git bridge,
  110. // from rendering in the center of the widget, anchoring it to the top
  111. .linking-icon-fixed-position {
  112. align-self: start;
  113. padding-top: var(--spacing-05);
  114. }
  115. // overrides the default `Col` padding, as the inner `affiliations-table-cell` has its own padding, and
  116. // the content length of the git-bridge token table is pretty much fixed (tokens and dates)
  117. .linking-git-bridge-table-cell {
  118. padding-right: 0;
  119. }
  120. .linking-git-bridge-revoke-button {
  121. padding: var(--spacing-01) var(--spacing-02);
  122. }
  123. .security-row {
  124. .line-header > b {
  125. color: var(--content-primary);
  126. }
  127. color: var(--content-secondary);
  128. display: flex;
  129. flex-direction: row;
  130. padding: var(--spacing-03) 0;
  131. .icon {
  132. color: var(--content-primary);
  133. display: flex;
  134. flex: 1 1 7%;
  135. padding: 0 var(--spacing-06);
  136. margin-top: var(--spacing-06);
  137. }
  138. .text {
  139. flex: 1 1 93%;
  140. display: flex;
  141. flex-direction: column;
  142. margin-right: var(--spacing-06);
  143. }
  144. .button-column {
  145. display: flex;
  146. align-items: center;
  147. }
  148. .status-label {
  149. @include body-sm;
  150. border-radius: var(--border-radius-base);
  151. padding: var(--spacing-01) var(--spacing-02);
  152. margin-top: var(--spacing-02);
  153. margin-left: var(--spacing-04);
  154. flex-shrink: 0;
  155. &.status-label-configured {
  156. background-color: var(--bg-accent-01);
  157. color: var(--content-secondary-dark);
  158. }
  159. &.status-label-ready {
  160. background-color: var(--bg-light-tertiary);
  161. color: var(--content-primary);
  162. }
  163. }
  164. }
  165. #settings-page-root {
  166. .recaptcha-branding {
  167. font-size: var(--font-size-01);
  168. text-align: left;
  169. padding: 0 0 var(--spacing-04);
  170. }
  171. }
  172. #settings-page-root,
  173. #action-project-modal {
  174. &#settings-page-root .confirm-email-form {
  175. background: var(--bg-light-secondary);
  176. }
  177. .confirm-email-form-inner {
  178. margin: auto;
  179. padding: var(--spacing-08);
  180. max-width: 480px;
  181. label {
  182. overflow-wrap: anywhere;
  183. }
  184. .text-danger {
  185. display: flex;
  186. gap: var(--spacing-03);
  187. padding: var(--spacing-02);
  188. }
  189. .form-actions {
  190. margin-top: var(--spacing-05);
  191. display: flex;
  192. flex-direction: column;
  193. gap: var(--spacing-05);
  194. button {
  195. white-space: normal;
  196. }
  197. .btn-danger-ghost:not(:hover) {
  198. background: transparent;
  199. }
  200. }
  201. }
  202. }