checklists.css 4.1 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. .text-show-at-minicard {
  12. width: 350px;
  13. text-align: left;
  14. }
  15. .text-some-space {
  16. width: 20px;
  17. }
  18. .text-hide-checked-items {
  19. width: 400px;
  20. text-align: left;
  21. }
  22. .delete-text,
  23. .js-delete-checklist-item,
  24. .js-convert-checklist-item-to-card {
  25. color: #8c8c8c;
  26. text-decoration: underline;
  27. word-wrap: break-word;
  28. float: right;
  29. padding-top: 6px;
  30. }
  31. .delete-text:hover,
  32. .js-delete-checklist-item:hover,
  33. .js-convert-checklist-item-to-card:hover {
  34. color: inherit;
  35. }
  36. .checklists-title {
  37. display: flex;
  38. justify-content: space-between;
  39. }
  40. .checklist-progress-bar-container {
  41. display: flex;
  42. flex-direction: row;
  43. align-items: center;
  44. }
  45. .checklist-progress-bar-container .checklist-progress-text {
  46. margin-right: 10px;
  47. }
  48. .checklist-progress-bar-container .checklist-progress-bar {
  49. width: 80%;
  50. height: 10px;
  51. }
  52. .checklist-progress-bar-container .checklist-progress-bar .checklist-progress {
  53. color: #fff !important;
  54. background-color: #2196f3 !important;
  55. padding: 0.01em 16px;
  56. border-radius: 16px;
  57. height: 100%;
  58. }
  59. .checklist-title .checkbox {
  60. float: left;
  61. width: 30px;
  62. height: 30px;
  63. font-size: 18px;
  64. line-height: 30px;
  65. }
  66. .checklist-title .title {
  67. font-size: 18px;
  68. line-height: 25px;
  69. }
  70. .checklist-title .checklist-stat {
  71. margin: 0 0.5em;
  72. float: right;
  73. padding-top: 6px;
  74. }
  75. .checklist-title .checklist-stat.is-finished {
  76. color: #3cb500;
  77. }
  78. .checklist-title span.fa.checklist-handle {
  79. padding-right: 20px;
  80. padding-top: 3px;
  81. float: left;
  82. }
  83. #card-details-overlay {
  84. top: 0;
  85. bottom: -600px;
  86. right: 0;
  87. }
  88. .checklist {
  89. background: #f7f7f7;
  90. }
  91. .checklist.placeholder {
  92. background: #ccc;
  93. border-radius: 2px;
  94. }
  95. .checklist.ui-sortable-helper {
  96. box-shadow: -2px 2px 8px rgba(0,0,0,0.3), 0 0 1px rgba(0,0,0,0.5);
  97. transform: rotate(4deg);
  98. cursor: grabbing;
  99. }
  100. .checklist-item {
  101. margin: 0 0 0 0.1em;
  102. line-height: 18px;
  103. font-size: 1.1em;
  104. margin-top: 3px;
  105. display: flex;
  106. background: #f7f7f7;
  107. opacity: 1;
  108. transition: height 0ms 400ms, opacity 400ms 0ms;
  109. height: auto;
  110. overflow: hidden;
  111. }
  112. .checklist-item.is-checked.invisible {
  113. opacity: 0;
  114. height: 0;
  115. transition: height 0ms 0ms, opacity 600ms 0ms;
  116. margin-top: 0;
  117. margin-bottom: 0;
  118. }
  119. .checklist-item.placeholder {
  120. background: #ccc;
  121. border-radius: 2px;
  122. }
  123. .checklist-item.ui-sortable-helper {
  124. box-shadow: -2px 2px 8px rgba(0,0,0,0.3), 0 0 1px rgba(0,0,0,0.5);
  125. transform: rotate(4deg);
  126. cursor: grabbing;
  127. }
  128. .checklist-item:hover {
  129. background-color: #ebebeb;
  130. }
  131. .checklist-item .check-box-container {
  132. padding-right: 10px;
  133. }
  134. .checklist-item .check-box {
  135. margin: 0.1em 0 0 0;
  136. }
  137. .checklist-item .check-box.is-checked {
  138. border-bottom: 2px solid #3cb500;
  139. border-right: 2px solid #3cb500;
  140. }
  141. .checklist-item .item-title {
  142. flex: 1;
  143. }
  144. .checklist-item .item-title.is-checked {
  145. color: #8c8c8c;
  146. font-style: italic;
  147. text-decoration: line-through;
  148. }
  149. .checklist-item .item-title .viewer p {
  150. margin-bottom: 2px;
  151. display: block;
  152. word-wrap: break-word;
  153. max-width: 420px;
  154. }
  155. .checklist-item span.fa.checklistitem-handle {
  156. padding-top: 2px;
  157. padding-right: 10px;
  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. }