account-settings.less 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  1. .account-settings {
  2. .alert {
  3. margin-bottom: 0;
  4. }
  5. h3 {
  6. margin-top: 0;
  7. }
  8. }
  9. #delete-account-modal {
  10. .alert {
  11. margin-top: 25px;
  12. margin-bottom: 4px;
  13. }
  14. .confirmation-checkbox-wrapper {
  15. padding-top: 8px;
  16. input {
  17. margin-right: 6px;
  18. }
  19. }
  20. }
  21. .affiliations-table {
  22. table-layout: fixed;
  23. }
  24. .affiliations-table-cell {
  25. padding: 0.5rem;
  26. }
  27. .affiliations-table-email {
  28. width: 40%;
  29. }
  30. .affiliations-table-institution {
  31. width: 40%;
  32. }
  33. .affiliations-table-inline-actions {
  34. padding: 0 !important;
  35. text-align: right;
  36. word-wrap: break-word;
  37. button {
  38. margin: @table-cell-padding 0;
  39. }
  40. }
  41. .affiliations-table-inline-action {
  42. text-transform: capitalize;
  43. }
  44. .affiliations-table-inline-action-disabled-wrapper {
  45. display: inline-block;
  46. }
  47. .affiliations-table-highlighted-row {
  48. background-color: tint(@content-alt-bg-color, 6%);
  49. }
  50. .affiliations-table-error-row {
  51. background-color: @alert-danger-bg;
  52. color: @alert-danger-text;
  53. .btn {
  54. margin-top: @table-cell-padding;
  55. .button-variant(
  56. @btn-danger-color; darken(@btn-danger-bg, 8%) ; @btn-danger-border
  57. );
  58. }
  59. .small {
  60. color: @alert-danger-text;
  61. }
  62. }
  63. .affiliations-table-info-row {
  64. background-color: @alert-info-bg;
  65. color: @alert-info-text;
  66. .small {
  67. color: @alert-info-text;
  68. }
  69. }
  70. .affiliations-table-warning-row {
  71. background-color: @alert-warning-bg;
  72. color: @alert-warning-text;
  73. .small {
  74. color: @alert-warning-text;
  75. }
  76. }
  77. tbody > tr.affiliations-table-saml-row > td:not(.with-border) {
  78. border: 0;
  79. }
  80. tbody > tr.affiliations-table-info-row > td {
  81. border: 0;
  82. }
  83. tbody > tr.affiliations-table-warning-row > td {
  84. border: 0;
  85. }
  86. .affiliations-form-group {
  87. margin-top: @table-cell-padding;
  88. &:first-child {
  89. margin-top: 0;
  90. }
  91. }
  92. .affiliation-change-container,
  93. .affiliation-change-actions {
  94. margin-top: @table-cell-padding;
  95. }
  96. .affiliations-table-label {
  97. padding-top: 4px;
  98. }
  99. .btn-link-accounts {
  100. margin-bottom: (@line-height-computed / 2) - @table-cell-padding;
  101. }
  102. .dropbox-sync-icon {
  103. position: relative;
  104. font-size: 1.3em;
  105. line-height: 1.3em;
  106. vertical-align: top;
  107. &.dropbox-sync-icon-error {
  108. color: @alert-danger-bg;
  109. }
  110. &.dropbox-sync-icon-success {
  111. color: @alert-success-bg;
  112. }
  113. &.dropbox-sync-icon-updating {
  114. color: @alert-info-bg;
  115. &::after {
  116. content: '\f021';
  117. position: absolute;
  118. top: 0;
  119. left: 50%;
  120. margin-left: -20%;
  121. font-size: 60%;
  122. color: #fff;
  123. animation: fa-spin 2s infinite linear;
  124. }
  125. }
  126. }
  127. .settings-widgets-container {
  128. border: 1px solid @gray-lighter;
  129. hr {
  130. margin: 15px 10px;
  131. }
  132. }
  133. .settings-widget-container {
  134. display: flex;
  135. justify-content: space-between;
  136. align-items: center;
  137. padding: 10px;
  138. > div {
  139. display: flex;
  140. flex-direction: column;
  141. padding-right: 20px;
  142. &:last-child {
  143. padding-right: 0px;
  144. }
  145. }
  146. img {
  147. width: 40px;
  148. height: 40px;
  149. }
  150. .description-container {
  151. flex-grow: 1;
  152. }
  153. .title-row {
  154. display: flex;
  155. align-items: center;
  156. margin-bottom: 10px;
  157. > h4 {
  158. margin: 0;
  159. margin-right: 10px;
  160. }
  161. }
  162. p {
  163. margin-bottom: 10px;
  164. &:last-child {
  165. margin-bottom: 0;
  166. }
  167. }
  168. }