User.scss 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  1. $whiteBackground: #ececec;
  2. $primary: #2c54ac;
  3. $primaryLight: #d7dcef;
  4. $primaryActive: #1e5cb2;
  5. $secondary: #fcac04;
  6. $secondaryLight: #f8b014;
  7. $danger: #b00e5b;
  8. $secondaryActive: #fdb51c;
  9. $hoverButtonText: #2c54ac;
  10. $activeButtonText: #fff;
  11. $textColor: #555;
  12. .checkbox {
  13. margin-bottom: 10px;
  14. }
  15. .date {
  16. margin: 10px 0;
  17. }
  18. .l-col div.star {
  19. text-align: center;
  20. div > svg {
  21. cursor: pointer;
  22. opacity: 0;
  23. color: gray;
  24. padding: 8px;
  25. width: 35px;
  26. height: 35px;
  27. border-radius: 50%;
  28. &:hover {
  29. background: #b4b4b478;
  30. color: $primary;
  31. }
  32. }
  33. }
  34. span.stat.email{
  35. display: block;
  36. width: max-content;
  37. text-overflow: ellipsis;
  38. white-space: nowrap;
  39. overflow: hidden;
  40. }
  41. .r-col {
  42. .name {
  43. font-size: 35px;
  44. margin-bottom: 5px;
  45. color: black;
  46. }
  47. > div:nth-child(2) {
  48. text-transform: capitalize;
  49. }
  50. .stats {
  51. display: flex;
  52. justify-content: flex-start;
  53. align-items: flex-start;
  54. .c-1, .c-2, .c-3 {
  55. width: 32%;
  56. > div {
  57. display: flex;
  58. margin: 5px 0;
  59. }
  60. .bandwidth,
  61. .disk {
  62. width: 200px;
  63. justify-content: space-between;
  64. margin-bottom: 25px;
  65. border-bottom: 1px dotted gray;
  66. }
  67. .sub-disk-stats {
  68. width: 250px;
  69. > div {
  70. width: 50%;
  71. display: flex;
  72. flex-direction: column;
  73. justify-content: space-between;
  74. font-size: 11px;
  75. span:nth-child(1) {
  76. width: 40px;
  77. }
  78. }
  79. > div:nth-child(2) {
  80. width: 70%;
  81. justify-content: flex-end;
  82. span:nth-child(1) {
  83. width: 80px;
  84. }
  85. }
  86. }
  87. }
  88. .c-1 {
  89. margin: 0;
  90. margin-top: 15px;
  91. }
  92. .c-2 {
  93. margin: 15px 20px;
  94. div {
  95. > span:nth-child(1) {
  96. width: 120px;
  97. }
  98. > span:nth-child(2) {
  99. width: 150px;
  100. padding-left: 15px;
  101. }
  102. }
  103. }
  104. .c-3 {
  105. div {
  106. > span:nth-child(1) {
  107. width: 120px;
  108. }
  109. > span:nth-child(2) {
  110. width: 200px;
  111. }
  112. }
  113. div.ns {
  114. margin-top: 20px;
  115. }
  116. }
  117. > div {
  118. margin: 15px 0;
  119. flex: 1 1 0;
  120. }
  121. .stat {
  122. font-weight: bold;
  123. color: #5f5f5f;
  124. }
  125. }
  126. }
  127. .actions {
  128. position: absolute;
  129. top: 0;
  130. right: 0;
  131. opacity: 0;
  132. display: flex;
  133. justify-content: center;
  134. align-items: center;
  135. font-size: 12px;
  136. background: #dfdedd;
  137. > div {
  138. font-weight: bolder;
  139. text-transform: uppercase;
  140. height: 38px;
  141. a, button {
  142. display: flex;
  143. justify-content: center;
  144. align-items: center;
  145. color: #777;
  146. padding: 10px 15px;
  147. text-decoration: none;
  148. &:hover {
  149. background: rgb(145, 145, 145);
  150. color: white;
  151. svg {
  152. color: white;
  153. }
  154. }
  155. }
  156. svg {
  157. color: #777;
  158. }
  159. }
  160. > div:nth-child(2) a:hover {
  161. background: $primary;
  162. }
  163. > div:nth-child(4) a:hover {
  164. background: $danger;
  165. }
  166. svg {
  167. margin-left: 12px;
  168. }
  169. }
  170. .list-item.focused .r-col .name {
  171. color: $secondaryLight;
  172. }