account-settings.less 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  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. overflow-wrap: break-word;
  27. }
  28. .affiliations-table-row--highlighted {
  29. background-color: tint(@content-alt-bg-color, 6%);
  30. }
  31. .affiliations-table-email {
  32. width: 40%;
  33. }
  34. .affiliations-table-institution {
  35. width: 40%;
  36. }
  37. .affiliations-table-inline-actions {
  38. padding: 0 !important;
  39. text-align: right;
  40. word-wrap: break-word;
  41. button {
  42. margin: @table-cell-padding 0;
  43. }
  44. }
  45. .affiliations-table-inline-action {
  46. text-transform: capitalize;
  47. }
  48. .affiliations-table-inline-action-disabled-wrapper {
  49. display: inline-block;
  50. }
  51. .affiliations-table-highlighted-row {
  52. background-color: tint(@content-alt-bg-color, 6%);
  53. }
  54. .affiliations-table-error-row {
  55. background-color: @alert-danger-bg;
  56. color: @alert-danger-text;
  57. .btn {
  58. margin-top: @table-cell-padding;
  59. .button-variant(
  60. @btn-danger-color; darken(@btn-danger-bg, 8%) ; @btn-danger-border
  61. );
  62. }
  63. .small {
  64. color: @alert-danger-text;
  65. }
  66. }
  67. .affiliations-table-info-row {
  68. background-color: @alert-info-bg;
  69. color: @alert-info-text;
  70. .small {
  71. color: @alert-info-text;
  72. }
  73. }
  74. .affiliations-table-warning-row {
  75. background-color: @alert-warning-bg;
  76. color: @alert-warning-text;
  77. .small {
  78. color: @alert-warning-text;
  79. }
  80. }
  81. tbody > tr.affiliations-table-saml-row > td:not(.with-border) {
  82. border: 0;
  83. }
  84. tbody > tr.affiliations-table-info-row > td {
  85. border: 0;
  86. }
  87. tbody > tr.affiliations-table-warning-row > td {
  88. border: 0;
  89. }
  90. .affiliations-form-group {
  91. margin-top: @table-cell-padding;
  92. &:first-child {
  93. margin-top: 0;
  94. }
  95. }
  96. .affiliation-change-container,
  97. .affiliation-change-actions {
  98. margin-top: @table-cell-padding;
  99. }
  100. .affiliations-table-label {
  101. padding-top: 4px;
  102. }
  103. .btn-link-accounts {
  104. margin-bottom: (@line-height-computed / 2) - @table-cell-padding;
  105. }
  106. .settings-widget-status-icon,
  107. .dropbox-sync-icon {
  108. position: relative;
  109. font-size: 1.3em;
  110. line-height: 1.3em;
  111. vertical-align: top;
  112. &.status-error,
  113. &.dropbox-sync-icon-error {
  114. color: @alert-danger-bg;
  115. }
  116. &.status-success,
  117. &.dropbox-sync-icon-success {
  118. color: @alert-success-bg;
  119. }
  120. &.status-pending,
  121. &.dropbox-sync-icon-updating {
  122. color: @alert-info-bg;
  123. &::after {
  124. content: '\f021';
  125. position: absolute;
  126. top: 0;
  127. left: 50%;
  128. margin-left: -20%;
  129. font-size: 60%;
  130. color: #fff;
  131. animation: fa-spin 2s infinite linear;
  132. }
  133. }
  134. }
  135. .settings-widgets-container {
  136. border: 1px solid @gray-lighter;
  137. hr {
  138. margin: 0 10px;
  139. }
  140. }
  141. .settings-widget-container {
  142. display: flex;
  143. justify-content: space-between;
  144. align-items: center;
  145. padding: 10px;
  146. > div {
  147. display: flex;
  148. flex-direction: column;
  149. padding-right: 20px;
  150. &:last-child {
  151. padding-right: 0px;
  152. }
  153. }
  154. img {
  155. width: 40px;
  156. height: 40px;
  157. }
  158. .description-container {
  159. flex-grow: 1;
  160. }
  161. .title-row {
  162. display: flex;
  163. align-items: center;
  164. margin-bottom: 10px;
  165. > h4 {
  166. margin: 0;
  167. margin-right: 10px;
  168. }
  169. }
  170. p {
  171. margin-bottom: 10px;
  172. &:last-child {
  173. margin-bottom: 0;
  174. }
  175. }
  176. }
  177. .settings-reconfirm-info {
  178. display: flex;
  179. justify-content: space-between;
  180. margin: 0px auto @margin-sm auto !important;
  181. padding: @padding-md;
  182. &:not(.alert-info) {
  183. background-color: @ol-blue-gray-0;
  184. .fa-warning {
  185. color: @brand-warning;
  186. }
  187. }
  188. > *:not(:last-child) {
  189. margin-right: @margin-md;
  190. }
  191. }
  192. .setting-reconfirm-info-right {
  193. white-space: nowrap;
  194. }