boardsList.styl 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  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. li:hover a
  92. &:hover
  93. .fa-star,
  94. .fa-clone,
  95. .fa-star-o
  96. color: white
  97. .fa-star,
  98. .fa-clone,
  99. .fa-star-o
  100. color: white
  101. opacity: .75
  102. &:hover
  103. font-size: 18px
  104. opacity: 1
  105. &.is-star-active
  106. opacity: 1
  107. .board-backgrounds-list
  108. .board-background-select
  109. box-sizing: border-box
  110. display: block
  111. float: left
  112. width: 50%
  113. padding-top: 12px
  114. position: relative
  115. z-index: 1
  116. &:nth-child(-n + 2)
  117. padding-top: 0
  118. &:nth-child(2n)
  119. padding-left: 6px
  120. &:nth-child(2n+1)
  121. padding-right: 6px
  122. .background-box
  123. border-radius: 3px
  124. background-size: cover
  125. display: block
  126. height: 74px
  127. position: relative
  128. width: 100%
  129. cursor: pointer
  130. display: flex
  131. align-items: center
  132. justify-content: center
  133. i.fa-check
  134. font-size: 25px
  135. color: white
  136. @media screen and (max-width: 800px)
  137. .board-list
  138. height: 100%
  139. overflow: scroll
  140. li
  141. width: 33.3%
  142. .board-list-item
  143. overflow: hidden
  144. .board-list-item-sub-name
  145. position: relative
  146. top: -100px
  147. left: -100px
  148. @media screen and (max-width: 360px)
  149. li
  150. width: 50%