account-settings.less 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  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-email {
  25. width: 40%;
  26. }
  27. .affiliations-table-institution {
  28. width: 40%;
  29. }
  30. .affiliations-table-inline-actions {
  31. padding: 0 !important;
  32. text-align: right;
  33. word-wrap: break-word;
  34. button {
  35. margin: @table-cell-padding 0;
  36. }
  37. }
  38. .affiliations-table-inline-action {
  39. text-transform: capitalize;
  40. }
  41. .affiliations-table-inline-action-disabled-wrapper {
  42. display: inline-block;
  43. }
  44. .affiliations-table-highlighted-row {
  45. background-color: tint(@content-alt-bg-color, 6%);
  46. }
  47. .affiliations-table-error-row {
  48. background-color: @alert-danger-bg;
  49. color: @alert-danger-text;
  50. .btn {
  51. margin-top: @table-cell-padding;
  52. .button-variant(
  53. @btn-danger-color; darken(@btn-danger-bg, 8%) ; @btn-danger-border
  54. );
  55. }
  56. .small {
  57. color: @alert-danger-text;
  58. }
  59. }
  60. .affiliations-table-info-row {
  61. background-color: @alert-info-bg;
  62. color: @alert-info-text;
  63. .small {
  64. color: @alert-info-text;
  65. }
  66. }
  67. .affiliations-table-warning-row {
  68. background-color: @alert-warning-bg;
  69. color: @alert-warning-text;
  70. .small {
  71. color: @alert-warning-text;
  72. }
  73. }
  74. tbody > tr.affiliations-table-saml-row > td:not(.with-border) {
  75. border: 0;
  76. }
  77. tbody > tr.affiliations-table-info-row > td {
  78. border: 0;
  79. }
  80. tbody > tr.affiliations-table-warning-row > td {
  81. border: 0;
  82. }
  83. .affiliations-form-group {
  84. margin-top: @table-cell-padding;
  85. &:first-child {
  86. margin-top: 0;
  87. }
  88. }
  89. .affiliation-change-container,
  90. .affiliation-change-actions {
  91. margin-top: @table-cell-padding;
  92. }
  93. .affiliations-table-label {
  94. padding-top: 4px;
  95. }
  96. .btn-link-accounts {
  97. margin-bottom: (@line-height-computed / 2) - @table-cell-padding;
  98. }
  99. .dropbox-sync-icon {
  100. position: relative;
  101. font-size: 1.3em;
  102. line-height: 1.3em;
  103. vertical-align: top;
  104. &.dropbox-sync-icon-error {
  105. color: @alert-danger-bg;
  106. }
  107. &.dropbox-sync-icon-success {
  108. color: @alert-success-bg;
  109. }
  110. &.dropbox-sync-icon-updating {
  111. color: @alert-info-bg;
  112. &::after {
  113. content: '\f021';
  114. position: absolute;
  115. top: 0;
  116. left: 50%;
  117. margin-left: -20%;
  118. font-size: 60%;
  119. color: #fff;
  120. animation: fa-spin 2s infinite linear;
  121. }
  122. }
  123. }