checklists.css 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  1. .js-add-checklist {
  2. color: #8c8c8c;
  3. }
  4. textarea.js-add-checklist-item,
  5. textarea.js-edit-checklist-item {
  6. overflow: hidden;
  7. word-wrap: break-word;
  8. resize: none;
  9. height: 34px;
  10. }
  11. .card-details .text-show-at-minicard {
  12. width: 350px;
  13. text-align: left;
  14. }
  15. .minicard .text-show-at-minicard {
  16. display: none;
  17. }
  18. .text-some-space {
  19. width: 20px;
  20. }
  21. .text-hide-checked-items {
  22. width: 400px;
  23. text-align: left;
  24. }
  25. .delete-text,
  26. .js-delete-checklist-item,
  27. .js-convert-checklist-item-to-card {
  28. color: #8c8c8c;
  29. text-decoration: underline;
  30. word-wrap: break-word;
  31. float: right;
  32. padding-top: 6px;
  33. }
  34. .delete-text:hover,
  35. .js-delete-checklist-item:hover,
  36. .js-convert-checklist-item-to-card:hover {
  37. color: inherit;
  38. }
  39. .checklists-title {
  40. display: flex;
  41. justify-content: space-between;
  42. }
  43. .checklist-progress-bar-container {
  44. display: flex;
  45. flex-direction: row;
  46. align-items: center;
  47. }
  48. .checklist-progress-bar-container .checklist-progress-text {
  49. margin-right: 10px;
  50. }
  51. .checklist-progress-bar-container .checklist-progress-bar {
  52. width: 80%;
  53. height: 10px;
  54. }
  55. .checklist-progress-bar-container .checklist-progress-bar .checklist-progress {
  56. color: #fff !important;
  57. background-color: #2196f3 !important;
  58. padding: 0.01em 16px;
  59. border-radius: 16px;
  60. height: 100%;
  61. }
  62. .checklist-title .checkbox {
  63. float: left;
  64. width: 30px;
  65. height: 30px;
  66. font-size: 18px;
  67. line-height: 30px;
  68. }
  69. .checklist-title .title {
  70. font-size: 18px;
  71. line-height: 25px;
  72. }
  73. .checklist-title .checklist-stat {
  74. margin: 0 0.5em;
  75. float: right;
  76. padding-top: 6px;
  77. }
  78. .checklist-title .checklist-stat.is-finished {
  79. color: #3cb500;
  80. }
  81. .checklist-title span.fa.checklist-handle {
  82. padding-right: 20px;
  83. padding-top: 3px;
  84. float: left;
  85. }
  86. #card-details-overlay {
  87. top: 0;
  88. bottom: -600px;
  89. right: 0;
  90. }
  91. .checklist {
  92. background: #f7f7f7;
  93. }
  94. .checklist.placeholder {
  95. background: #ccc;
  96. border-radius: 2px;
  97. }
  98. .checklist.ui-sortable-helper {
  99. box-shadow: -2px 2px 8px rgba(0,0,0,0.3), 0 0 1px rgba(0,0,0,0.5);
  100. transform: rotate(4deg);
  101. cursor: grabbing;
  102. }
  103. .checklist-item {
  104. margin: 0 0 0 0.1em;
  105. line-height: 18px;
  106. font-size: 1.1em;
  107. margin-top: 3px;
  108. display: flex;
  109. background: #f7f7f7;
  110. opacity: 1;
  111. transition: height 0ms 400ms, opacity 400ms 0ms;
  112. height: auto;
  113. overflow: hidden;
  114. }
  115. .checklist-item.is-checked.invisible {
  116. opacity: 0;
  117. height: 0;
  118. transition: height 0ms 0ms, opacity 600ms 0ms;
  119. margin-top: 0;
  120. margin-bottom: 0;
  121. }
  122. .checklist-item.placeholder {
  123. background: #ccc;
  124. border-radius: 2px;
  125. }
  126. .checklist-item.ui-sortable-helper {
  127. box-shadow: -2px 2px 8px rgba(0,0,0,0.3), 0 0 1px rgba(0,0,0,0.5);
  128. transform: rotate(4deg);
  129. cursor: grabbing;
  130. }
  131. .checklist-item:hover {
  132. background-color: #ebebeb;
  133. }
  134. .checklist-item .check-box-container {
  135. padding-right: 10px;
  136. }
  137. .checklist-item .check-box {
  138. margin: 0.1em 0 0 0;
  139. }
  140. .checklist-item .check-box.is-checked {
  141. border-bottom: 2px solid #3cb500;
  142. border-right: 2px solid #3cb500;
  143. }
  144. .checklist-item .item-title {
  145. flex: 1;
  146. }
  147. .checklist-item .item-title.is-checked {
  148. color: #8c8c8c;
  149. font-style: italic;
  150. text-decoration: line-through;
  151. }
  152. .checklist-item .item-title .viewer p {
  153. margin-bottom: 2px;
  154. display: block;
  155. word-wrap: break-word;
  156. max-width: 420px;
  157. }
  158. .checklist-item span.fa.checklistitem-handle {
  159. padding-top: 2px;
  160. padding-right: 10px;
  161. }
  162. .js-delete-checklist-item,
  163. .js-convert-checklist-item-to-card {
  164. margin: 0 0 0.5em 1.33em;
  165. padding: 12px 0 0 0;
  166. }
  167. .add-checklist-item {
  168. margin: 0.2em 0 0.5em 1.33em;
  169. }
  170. .add-checklist-item.js-open-inlined-form,
  171. .add-checklist.js-open-inlined-form {
  172. display: block;
  173. width: 50%;
  174. }
  175. .add-checklist-item.js-open-inlined-form:hover,
  176. .add-checklist.js-open-inlined-form:hover {
  177. background: #dbdbdb;
  178. color: #222;
  179. box-shadow: 0 1px 2px rgba(0,0,0,0.2);
  180. }
  181. .add-checklist-top {
  182. /* more space to checklists title */
  183. padding-left: 20px;
  184. /* + is easier clickable */
  185. padding-right: 20px;
  186. }
  187. .add-checklist-top.js-open-inlined-form:hover {
  188. background: #dbdbdb;
  189. color: #222;
  190. box-shadow: 0 1px 2px rgba(0,0,0,.2);
  191. }
  192. .card-details-item-title {
  193. /* max width for adding checklist at top */
  194. width: 100%;
  195. }
  196. .checklist-details-menu {
  197. float: right;
  198. padding: 6px 10px 6px 10px;
  199. }
  200. .edit-controls label.toggle-label {
  201. margin-left: 2px;
  202. }