group-members.less 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  1. /* Styles for group-subscription members view */
  2. .structured-list.managed-users-list {
  3. /* Override scrolling behaviour on structured-list */
  4. overflow: initial;
  5. overflow-y: initial;
  6. overflow-x: initial;
  7. }
  8. .managed-users-list {
  9. .security-state-invite-pending {
  10. color: @text-muted;
  11. }
  12. .security-state-managed {
  13. color: @green;
  14. }
  15. .security-state-not-managed {
  16. color: @red;
  17. }
  18. .managed-user-row {
  19. overflow-wrap: break-word;
  20. }
  21. .managed-user-security {
  22. display: flex;
  23. justify-content: space-between;
  24. }
  25. .managed-user-actions {
  26. button.dropdown-toggle {
  27. color: @text-color;
  28. padding-left: 1em;
  29. padding-right: 1em;
  30. }
  31. .managed-user-dropdown-menu {
  32. width: 300px;
  33. li > button {
  34. &:hover {
  35. background-color: @gray-lightest;
  36. }
  37. }
  38. .delete-user-action {
  39. button {
  40. color: @red;
  41. }
  42. }
  43. }
  44. }
  45. .managed-user-menu-item-button {
  46. padding: 12px 20px;
  47. position: relative;
  48. width: 100%;
  49. border: none;
  50. box-shadow: none;
  51. background: inherit;
  52. color: @ol-blue-gray-5;
  53. text-align: left;
  54. &[disabled] {
  55. background-color: @gray-lighter;
  56. }
  57. }
  58. }
  59. .managed-users-list-alert {
  60. display: flex;
  61. justify-content: space-between;
  62. .managed-users-list-alert-close {
  63. padding-left: @padding-sm;
  64. text-align: right;
  65. width: 10%;
  66. @media (min-width: @screen-sm-min) {
  67. width: auto;
  68. }
  69. }
  70. }
  71. .managed-users-table {
  72. width: 100%;
  73. table-layout: fixed;
  74. tr {
  75. border-bottom: 1px solid @structured-list-border-color;
  76. }
  77. th,
  78. td {
  79. padding: (@line-height-computed / 4) @line-height-computed / 2;
  80. vertical-align: top;
  81. }
  82. thead {
  83. tr:hover {
  84. background-color: transparent;
  85. }
  86. }
  87. tbody {
  88. tr:last-child {
  89. border-bottom: 0 none;
  90. }
  91. tr:hover {
  92. background-color: #f6f7f9;
  93. }
  94. }
  95. @media (min-width: @screen-xs) {
  96. .cell-checkbox {
  97. width: 5%;
  98. .managed-users-active.group-sso-active & {
  99. width: 3%;
  100. }
  101. }
  102. .cell-email {
  103. width: 50%;
  104. .managed-users-active & {
  105. width: 35%;
  106. }
  107. .group-sso-active & {
  108. width: 37%;
  109. }
  110. .managed-users-active.group-sso-active & {
  111. width: 29%;
  112. }
  113. }
  114. .cell-name {
  115. width: 20%;
  116. .managed-users-active.group-sso-active & {
  117. width: 18%;
  118. }
  119. }
  120. .cell-last-active {
  121. width: 20%;
  122. .managed-users-active.group-sso-active & {
  123. width: 16%;
  124. }
  125. }
  126. .cell-security {
  127. width: 12%;
  128. }
  129. .cell-managed {
  130. width: 15%;
  131. }
  132. .cell-dropdown {
  133. width: 6%;
  134. min-width: 25px;
  135. }
  136. }
  137. @media (min-width: @screen-lg) {
  138. .cell-checkbox {
  139. width: 5%;
  140. .managed-users-active.group-sso-active & {
  141. width: 3%;
  142. }
  143. }
  144. .cell-email {
  145. width: 55%;
  146. .managed-users-active & {
  147. width: 42%;
  148. }
  149. .group-sso-active & {
  150. width: 45%;
  151. }
  152. .managed-users-active.group-sso-active & {
  153. width: 36%;
  154. }
  155. }
  156. .cell-name {
  157. width: 20%;
  158. .managed-users-active.group-sso-active & {
  159. width: 18%;
  160. }
  161. }
  162. .cell-last-active {
  163. width: 15%;
  164. }
  165. .cell-security {
  166. width: 10%;
  167. }
  168. .cell-managed {
  169. width: 13%;
  170. }
  171. .cell-dropdown {
  172. width: 5%;
  173. min-width: 25px;
  174. }
  175. }
  176. }
  177. .managed-user-security {
  178. .material-symbols {
  179. position: relative;
  180. top: 4px;
  181. }
  182. }