boardsList.styl 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  1. @import 'nib'
  2. $spaceBetweenTiles = 16px
  3. .board-list
  4. margin: 0 ($spaceBetweenTiles/2)
  5. li
  6. float: left
  7. width: 25%
  8. box-sizing: border-box
  9. position: relative
  10. &.starred
  11. .fa-star,
  12. .fa-star-o
  13. opacity: 1
  14. .board-list-item
  15. overflow: hidden;
  16. background-color: #999
  17. color: #f6f6f6
  18. height: 90px
  19. font-size: 16px
  20. line-height: 22px
  21. border-radius: 3px
  22. display: block
  23. font-weight: 700
  24. min-height: 18px
  25. padding: 8px
  26. margin: ($spaceBetweenTiles/2)
  27. position: relative
  28. text-decoration: none
  29. &.tile
  30. background-size: auto
  31. background-repeat: repeat
  32. .board-list-item-sub-name
  33. color: rgba(255, 255, 255, .5)
  34. display: block
  35. font-size: 14px
  36. font-weight: 400
  37. line-height: 22px
  38. .board-list-item-desc
  39. color: #fff
  40. display: block
  41. font-size: 14px
  42. font-weight: 400
  43. line-height: 18px
  44. .js-add-board
  45. text-align:center
  46. .label
  47. font-weight: normal
  48. line-height:90px
  49. :hover
  50. background-color:#939393
  51. .fa-star,
  52. .fa-star-o
  53. bottom: 0
  54. font-size: 14px
  55. height: 18px
  56. line-height: 18px
  57. opacity: 0
  58. padding: 9px 9px
  59. position: absolute
  60. right: 0
  61. top: 0
  62. transition-duration: .15s
  63. transition-property: color, font-size, background
  64. .fa-circle
  65. bottom: 0;
  66. font-size: 10px;
  67. height: 10px;
  68. line-height: 10px;
  69. padding: 9px 9px;
  70. position: absolute;
  71. right: 0;
  72. transition-duration: .15s
  73. transition-property: color, font-size, background
  74. .has-overtime-card-active
  75. color: #eb4646 !important
  76. .no-overtime-card-active
  77. color: #3cb500 !important
  78. .is-star-active
  79. color: white
  80. .fa-clone
  81. position: absolute;
  82. bottom: 0
  83. font-size: 14px
  84. height: 18px
  85. line-height: 18px
  86. opacity: 0
  87. right: 0
  88. padding: 9px 9px
  89. transition-duration: .15s
  90. transition-property: color, font-size, background
  91. .fa-archive
  92. position: absolute;
  93. bottom: 0
  94. font-size: 14px
  95. height: 18px
  96. line-height: 18px
  97. opacity: 0
  98. left: 0
  99. padding: 9px 9px
  100. transition-duration: .15s
  101. transition-property: color, font-size, background
  102. li:hover a
  103. &:hover
  104. .fa-star,
  105. .fa-clone,
  106. .fa-archive,
  107. .fa-star-o
  108. color: white
  109. .fa-star,
  110. .fa-clone,
  111. .fa-archive,
  112. .fa-star-o
  113. color: white
  114. opacity: .75
  115. &:hover
  116. font-size: 18px
  117. opacity: 1
  118. &.is-star-active
  119. opacity: 1
  120. .board-backgrounds-list
  121. .board-background-select
  122. box-sizing: border-box
  123. display: block
  124. float: left
  125. width: 50%
  126. padding-top: 12px
  127. position: relative
  128. z-index: 1
  129. &:nth-child(-n + 2)
  130. padding-top: 0
  131. &:nth-child(2n)
  132. padding-left: 6px
  133. &:nth-child(2n+1)
  134. padding-right: 6px
  135. .background-box
  136. color: white
  137. border-radius: 3px
  138. background-size: cover
  139. display: block
  140. height: 74px
  141. position: relative
  142. width: 100%
  143. cursor: pointer
  144. display: flex
  145. align-items: center
  146. justify-content: center
  147. i.fa-check
  148. font-size: 25px
  149. color: white
  150. @media screen and (max-width: 800px)
  151. .board-list
  152. height: 100%
  153. overflow: scroll
  154. li
  155. width: 50%
  156. .board-list-item
  157. overflow: hidden
  158. height: 8rem
  159. .board-list-item-sub-name
  160. position: relative
  161. top: -100px
  162. left: -100px
  163. @media screen and (max-width: 360px)
  164. li
  165. width: 100%