boardsList.styl 2.9 KB

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