group-members.less 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228
  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-table {
  60. width: 100%;
  61. table-layout: fixed;
  62. tr {
  63. border-bottom: 1px solid @structured-list-border-color;
  64. }
  65. th,
  66. td {
  67. padding: (@line-height-computed / 4) @line-height-computed / 2;
  68. vertical-align: top;
  69. }
  70. thead {
  71. tr:hover {
  72. background-color: transparent;
  73. }
  74. }
  75. tbody {
  76. tr:last-child {
  77. border-bottom: 0 none;
  78. }
  79. tr:hover {
  80. background-color: #f6f7f9;
  81. }
  82. }
  83. @media (min-width: @screen-xs) {
  84. .cell-checkbox {
  85. width: 5%;
  86. }
  87. .cell-email {
  88. width: 50%;
  89. }
  90. &.group-sso-active {
  91. .cell-email {
  92. width: 37%;
  93. }
  94. }
  95. .cell-name {
  96. width: 20%;
  97. }
  98. .cell-last-active {
  99. width: 20%;
  100. }
  101. .cell-security {
  102. width: 12%;
  103. }
  104. .cell-managed {
  105. width: 15%;
  106. }
  107. .cell-dropdown {
  108. width: 6%;
  109. min-width: 25px;
  110. }
  111. .cell-accepted-invite {
  112. width: 17%;
  113. }
  114. &.managed-users-active {
  115. .cell-email {
  116. width: 35%;
  117. }
  118. &.group-sso-active {
  119. .cell-checkbox {
  120. width: 3%;
  121. }
  122. .cell-email {
  123. width: 29%;
  124. }
  125. .cell-last-active {
  126. width: 16%;
  127. }
  128. .cell-name {
  129. width: 18%;
  130. }
  131. }
  132. }
  133. }
  134. @media (min-width: @screen-lg) {
  135. .cell-checkbox {
  136. width: 5%;
  137. }
  138. .cell-email {
  139. width: 55%;
  140. }
  141. &.group-sso-active .cell-email {
  142. width: 45%;
  143. }
  144. .cell-name {
  145. width: 20%;
  146. }
  147. .cell-last-active {
  148. width: 15%;
  149. }
  150. .cell-security {
  151. width: 10%;
  152. }
  153. .cell-managed {
  154. width: 13%;
  155. }
  156. .cell-dropdown {
  157. width: 5%;
  158. min-width: 25px;
  159. }
  160. .cell-accepted-invite {
  161. width: 17%;
  162. }
  163. &.managed-users-active {
  164. .cell-email {
  165. width: 42%;
  166. }
  167. &.group-sso-active {
  168. .cell-checkbox {
  169. width: 3%;
  170. }
  171. .cell-email {
  172. width: 36%;
  173. }
  174. .cell-name {
  175. width: 18%;
  176. }
  177. }
  178. }
  179. }
  180. }
  181. .managed-user-security {
  182. .material-symbols {
  183. position: relative;
  184. top: 4px;
  185. }
  186. }
  187. .badge-group-settings {
  188. align-self: center;
  189. padding: 0 16px;
  190. }