account-settings.less 3.7 KB

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