boardsList.css 5.5 KB

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