MemberList.styl 3.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. @import "../../../node_modules/tracim_frontend_lib/src/css/Variable.styl"
  2. .memberlist
  3. margin 0 0 50px 0
  4. width 35%
  5. &__title
  6. margin-bottom 20px
  7. padding 6px
  8. height 45px
  9. &__wrapper
  10. position relative
  11. border 1px solid grey
  12. height 480px
  13. &__list
  14. margin 0
  15. padding 0
  16. list-style none
  17. height 400px
  18. overflow-Y scroll
  19. &__item
  20. display flex
  21. border-bottom 1px solid grey
  22. padding 10px 15px
  23. &__avatar
  24. margin-right 20px
  25. & > img
  26. width 50px
  27. height 50px
  28. &__info
  29. &__name
  30. font-size 20px
  31. &__role
  32. font-size 18px
  33. &__delete
  34. font-size 20px
  35. color darkGrey
  36. cursor pointer
  37. &__btnadd
  38. border-top 1px solid grey
  39. padding 15px
  40. &__button
  41. display flex
  42. align-items center
  43. &__avatar
  44. display flex
  45. justify-content center
  46. align-items center
  47. margin-right 20px
  48. border 2px dashed grey
  49. border-radius 50%
  50. width 50px
  51. height 50px
  52. cursor pointer
  53. &__icon
  54. color grey
  55. font-size 25px
  56. &__text
  57. font-size 18px
  58. color fontColor
  59. cursor pointer
  60. &__form
  61. padding 15px
  62. flex-direction column
  63. height 100%
  64. width 100%
  65. background-color off-white
  66. &__close
  67. font-size 20px
  68. & > i
  69. cursor pointer
  70. &__member
  71. &__name
  72. position relative
  73. margin 0 0 20px 0
  74. .name__label
  75. margin 30px 0 20px 0
  76. label()
  77. .autocomplete
  78. position absolute
  79. min-width 300px
  80. background-color off-white
  81. border-radius 10px
  82. border-width 1px
  83. border-style solid
  84. &__item
  85. display flex
  86. align-items center
  87. cursor pointer
  88. padding 5px 8px
  89. &:first-child
  90. border-top-left-radius 10px
  91. border-top-right-radius 10px
  92. &:last-child
  93. border-bottom-left-radius 10px
  94. border-bottom-right-radius 10px
  95. &__avatar
  96. width 45px
  97. height 45px
  98. border-radius 50%
  99. border-width 1px
  100. border-style solid
  101. &__name
  102. margin-left 15px
  103. .name__input
  104. border 1px solid grey
  105. border-radius 10px
  106. padding 10px
  107. width 300px
  108. &__create
  109. display flex
  110. align-items center
  111. margin 15px 0
  112. line-height 23px
  113. &__checkbox
  114. padding-top 6px
  115. &__role
  116. margin-bottom 15px
  117. coloricon()
  118. &__text
  119. margin 15px 0
  120. label()
  121. &__list
  122. margin 0
  123. padding 0
  124. list-style none
  125. &__item
  126. display flex
  127. align-items center
  128. margin 10px 25px 10px 0
  129. cursor pointer
  130. .item
  131. &__text
  132. display flex
  133. &__submitbtn
  134. display flex
  135. justify-content flex-end
  136. & > button
  137. padding 8px 30px
  138. cursor pointer
  139. @media (min-width min-sm) and (max-width: max-lg)
  140. .memberlist
  141. width 50%
  142. @media (min-width: min-sm) and (max-width: max-sm)
  143. .memberlist
  144. margin 50px 0
  145. width 90%
  146. @media (max-width: max-xs)
  147. .memberlist
  148. margin 50px 0
  149. width 100%
  150. &__title
  151. margin-left 10px
  152. &__wrapper
  153. height auto
  154. &__list
  155. height auto
  156. overflow-Y visible
  157. &__item:nth-last-child(1)
  158. border-bottom 1px solid grey
  159. &__btnadd
  160. border-top 0