MemberList.styl 3.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  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. &__name
  100. margin-left 15px
  101. .name__input
  102. border 1px solid grey
  103. border-radius 10px
  104. padding 10px
  105. width 300px
  106. &__create
  107. display flex
  108. align-items center
  109. margin 15px 0
  110. line-height 23px
  111. &__checkbox
  112. padding-top 6px
  113. &__role
  114. margin-bottom 15px
  115. coloricon()
  116. &__text
  117. margin 15px 0
  118. label()
  119. &__list
  120. margin 0
  121. padding 0
  122. list-style none
  123. &__item
  124. display flex
  125. align-items center
  126. margin 10px 25px 10px 0
  127. cursor pointer
  128. .item
  129. &__text
  130. display flex
  131. &__submitbtn
  132. display flex
  133. justify-content flex-end
  134. & > button
  135. padding 8px 30px
  136. cursor pointer
  137. /***** MEDIAQUERIES *****/
  138. /*** MEDIA 992px and 1199px ***/
  139. @media (min-width: min-lg) and (max-width: max-lg)
  140. .memberlist
  141. width 50%
  142. /*** MEDIA 768px and 991px ***/
  143. @media (min-width: min-md) and (max-width: max-md)
  144. .memberlist
  145. width 50%
  146. /*** MEDIA 576px and 767px ***/
  147. @media (min-width: min-sm) and (max-width: max-sm)
  148. .memberlist
  149. margin 50px 0
  150. width 100%
  151. /*** MEDIA 575px ***/
  152. @media (max-width: max-xs)
  153. .memberlist
  154. margin 50px 0
  155. width 100%
  156. &__title
  157. margin-left 10px
  158. &__wrapper
  159. height auto
  160. &__list
  161. height auto
  162. overflow-Y visible
  163. &__item:nth-last-child(1)
  164. border-bottom 1px solid grey
  165. &__btnadd
  166. border-top 0