boardsList.styl 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276
  1. @import 'nib'
  2. $spaceBetweenTiles = 16px
  3. .board-list
  4. margin: 0 ($spaceBetweenTiles/2)
  5. li
  6. float: left
  7. width: 20%
  8. box-sizing: border-box
  9. position: relative
  10. &.placeholder:after
  11. content: '';
  12. display: block;
  13. background: darken(white, 20%)
  14. border-radius: 3px;
  15. height: 106px;
  16. margin: 8px;
  17. &.ui-sortable-helper
  18. cursor: grabbing
  19. transform: rotate(4deg)
  20. display: block !important
  21. &.starred
  22. .fa-star,
  23. .fa-star-o
  24. opacity: 1
  25. .board-list-item
  26. overflow: hidden;
  27. background-color: #999
  28. color: #f6f6f6
  29. min-height: 100px
  30. font-size: 16px
  31. line-height: 22px
  32. border-radius: 3px
  33. display: block
  34. font-weight: 700
  35. padding: 8px
  36. margin: ($spaceBetweenTiles/2)
  37. position: relative
  38. text-decoration: none
  39. word-wrap: break-word
  40. &.template-container
  41. border: 4px solid #fff
  42. &.tile
  43. background-size: auto
  44. background-repeat: repeat
  45. .board-list-item-sub-name
  46. color: rgba(255, 255, 255, .5)
  47. display: block
  48. font-size: 14px
  49. font-weight: 400
  50. line-height: 22px
  51. .board-list-item-desc
  52. color: #fff
  53. display: block
  54. font-size: 14px
  55. font-weight: 400
  56. line-height: 18px
  57. .js-add-board
  58. text-align:center
  59. .label
  60. font-weight: normal
  61. line-height: 56px
  62. :hover
  63. background-color:#939393
  64. .fa-star,
  65. .fa-star-o
  66. bottom: 0
  67. font-size: 14px
  68. height: 18px
  69. line-height: 18px
  70. opacity: 0
  71. padding: 9px 9px
  72. position: absolute
  73. right: 0
  74. top: 0
  75. transition-duration: .15s
  76. transition-property: color, font-size, background
  77. .fa-circle
  78. bottom: 0;
  79. font-size: 10px;
  80. height: 10px;
  81. line-height: 10px;
  82. padding: 9px 9px;
  83. position: absolute;
  84. right: 0;
  85. transition-duration: .15s
  86. transition-property: color, font-size, background
  87. .has-overtime-card-active
  88. color: #eb4646 !important
  89. .no-overtime-card-active
  90. color: #3cb500 !important
  91. .is-star-active
  92. color: white
  93. .fa-clone
  94. position: absolute;
  95. bottom: 0
  96. font-size: 14px
  97. height: 18px
  98. line-height: 18px
  99. opacity: 0
  100. right: 0
  101. padding: 9px 9px
  102. transition-duration: .15s
  103. transition-property: color, font-size, background
  104. .fa-archive
  105. position: absolute;
  106. bottom: 0
  107. font-size: 14px
  108. height: 18px
  109. line-height: 18px
  110. opacity: 0
  111. left: 0
  112. padding: 9px 9px
  113. transition-duration: .15s
  114. transition-property: color, font-size, background
  115. li:hover a
  116. &:hover
  117. .fa-star,
  118. .fa-clone,
  119. .fa-archive,
  120. .fa-star-o
  121. color: white
  122. .fa-star,
  123. .fa-clone,
  124. .fa-archive,
  125. .fa-star-o
  126. color: white
  127. opacity: .75
  128. &:hover
  129. font-size: 18px
  130. opacity: 1
  131. &.is-star-active
  132. opacity: 1
  133. .board-backgrounds-list
  134. .board-background-select
  135. box-sizing: border-box
  136. display: block
  137. float: left
  138. width: 50%
  139. padding-top: 12px
  140. position: relative
  141. z-index: 1
  142. &:nth-child(-n + 2)
  143. padding-top: 0
  144. &:nth-child(2n)
  145. padding-left: 6px
  146. &:nth-child(2n+1)
  147. padding-right: 6px
  148. .background-box
  149. color: white
  150. border-radius: 3px
  151. background-size: cover
  152. display: block
  153. height: 74px
  154. position: relative
  155. width: 100%
  156. cursor: pointer
  157. display: flex
  158. align-items: center
  159. justify-content: center
  160. i.fa-check
  161. font-size: 25px
  162. color: white
  163. @media screen and (max-width: 800px)
  164. .board-list
  165. height: 100%
  166. overflow: scroll
  167. li
  168. width: 50%
  169. .board-list-item
  170. overflow: hidden
  171. height: 8rem
  172. .board-list-item-sub-name
  173. position: relative
  174. top: -100px
  175. left: -100px
  176. .board-handle
  177. position: absolute
  178. padding: 7px
  179. top: 50%
  180. transform: translateY(-50%)
  181. right: 10px
  182. font-size: 24px
  183. @media screen and (max-width: 360px)
  184. li
  185. width: 100%
  186. .board-handle
  187. position: absolute
  188. padding: 7px
  189. top: 50%
  190. transform: translateY(-50%)
  191. right: 10px
  192. font-size: 24px
  193. .AllBoardTeamsOrgs
  194. list-style-type: none;
  195. overflow: hidden;
  196. .AllBoardTeams,.AllBoardOrgs,.AllBoardBtns
  197. float: left;
  198. .js-AllBoardOrgs
  199. margin-left: 16px;
  200. .AllBoardTeams
  201. margin-left : 16px;
  202. .AllBoardButtonsContainer
  203. margin: 16px;
  204. #filterBtn,#resetBtn
  205. display: inline;
  206. .js-board
  207. display: block;
  208. .minicard-members
  209. padding: 6px 0 6px 8px
  210. width: 100%
  211. margin-bottom: 2px
  212. margin-left: -4px
  213. display: inline-block
  214. .minicard-lists
  215. margin: 0 auto
  216. max-width: 95%
  217. height: 100%
  218. .flex
  219. display: flex
  220. .flex-wrap
  221. flex-wrap: wrap
  222. .item
  223. margin: 2px;
  224. padding-right: 6px
  225. text-align: center