group-members.less 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  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. .cell-checkbox {
  96. width: 5%;
  97. }
  98. .cell-email {
  99. width: 45%;
  100. }
  101. .cell-name {
  102. width: 15%;
  103. overflow: hidden;
  104. text-overflow: ellipsis;
  105. white-space: nowrap;
  106. }
  107. .cell-last-active {
  108. width: 15%;
  109. overflow: hidden;
  110. text-overflow: ellipsis;
  111. white-space: nowrap;
  112. }
  113. .cell-security {
  114. width: 15%;
  115. overflow-x: hidden;
  116. text-overflow: ellipsis;
  117. white-space: nowrap;
  118. }
  119. .cell-dropdown {
  120. width: 5%;
  121. min-width: 25px;
  122. }
  123. @media (min-width: @screen-xs) {
  124. .cell-checkbox {
  125. width: 5%;
  126. }
  127. .cell-email {
  128. width: 34%;
  129. }
  130. .cell-name {
  131. width: 20%;
  132. }
  133. .cell-last-active {
  134. width: 20%;
  135. }
  136. .cell-security {
  137. width: 15%;
  138. }
  139. .cell-dropdown {
  140. width: 6%;
  141. min-width: 25px;
  142. }
  143. }
  144. @media (min-width: @screen-lg) {
  145. .cell-checkbox {
  146. width: 5%;
  147. }
  148. .cell-email {
  149. width: 43%;
  150. }
  151. .cell-name {
  152. width: 20%;
  153. }
  154. .cell-last-active {
  155. width: 15%;
  156. }
  157. .cell-security {
  158. width: 12%;
  159. }
  160. .cell-dropdown {
  161. width: 5%;
  162. min-width: 25px;
  163. }
  164. }
  165. }
  166. .managed-user-security {
  167. .material-symbols {
  168. position: relative;
  169. top: 4px;
  170. }
  171. }