checklists.css 4.3 KB

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