checklists.css 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  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. #card-details-overlay {
  76. top: 0;
  77. bottom: -600px;
  78. right: 0;
  79. }
  80. .checklist {
  81. background: #f7f7f7;
  82. }
  83. .checklist.placeholder {
  84. background: #ccc;
  85. border-radius: 2px;
  86. }
  87. .checklist.ui-sortable-helper {
  88. box-shadow: -2px 2px 8px rgba(0,0,0,0.3), 0 0 1px rgba(0,0,0,0.5);
  89. transform: rotate(4deg);
  90. cursor: grabbing;
  91. }
  92. .checklist-item {
  93. margin: 0 0 0 0.1em;
  94. line-height: 18px;
  95. font-size: 1.1em;
  96. margin-top: 3px;
  97. display: flex;
  98. background: #f7f7f7;
  99. opacity: 1;
  100. transition: height 0ms 400ms, opacity 400ms 0ms;
  101. height: auto;
  102. overflow: hidden;
  103. }
  104. .checklist-item.is-checked.invisible {
  105. opacity: 0;
  106. height: 0;
  107. transition: height 0ms 0ms, opacity 600ms 0ms;
  108. margin-top: 0;
  109. margin-bottom: 0;
  110. }
  111. .checklist-item.placeholder {
  112. background: #ccc;
  113. border-radius: 2px;
  114. }
  115. .checklist-item.ui-sortable-helper {
  116. box-shadow: -2px 2px 8px rgba(0,0,0,0.3), 0 0 1px rgba(0,0,0,0.5);
  117. transform: rotate(4deg);
  118. cursor: grabbing;
  119. }
  120. .checklist-item:hover {
  121. background-color: #ebebeb;
  122. }
  123. .checklist-item .check-box-container {
  124. padding-right: 10px;
  125. }
  126. .checklist-item .check-box {
  127. margin: 0.1em 0 0 0;
  128. }
  129. .checklist-item .check-box.is-checked {
  130. border-bottom: 2px solid #3cb500;
  131. border-right: 2px solid #3cb500;
  132. }
  133. .checklist-item .item-title {
  134. flex: 1;
  135. }
  136. .checklist-item .item-title.is-checked {
  137. color: #8c8c8c;
  138. font-style: italic;
  139. text-decoration: line-through;
  140. }
  141. .checklist-item .item-title .viewer p {
  142. margin-bottom: 2px;
  143. display: block;
  144. word-wrap: break-word;
  145. max-width: 420px;
  146. }
  147. .checklist-item span.fa.checklistitem-handle {
  148. padding-top: 2px;
  149. padding-right: 10px;
  150. }
  151. .js-delete-checklist-item,
  152. .js-convert-checklist-item-to-card {
  153. margin: 0 0 0.5em 1.33em;
  154. padding: 12px 0 0 0;
  155. }
  156. .add-checklist-item {
  157. margin: 0.2em 0 0.5em 1.33em;
  158. }
  159. .add-checklist-item.js-open-inlined-form,
  160. .add-checklist.js-open-inlined-form {
  161. display: block;
  162. width: 50%;
  163. }
  164. .add-checklist-item.js-open-inlined-form:hover,
  165. .add-checklist.js-open-inlined-form:hover {
  166. background: #dbdbdb;
  167. color: #222;
  168. box-shadow: 0 1px 2px rgba(0,0,0,0.2);
  169. }
  170. .add-checklist-top {
  171. /* more space to checklists title */
  172. padding-left: 20px;
  173. /* + is easier clickable */
  174. padding-right: 20px;
  175. }
  176. .add-checklist-top.js-open-inlined-form:hover {
  177. background: #dbdbdb;
  178. color: #222;
  179. box-shadow: 0 1px 2px rgba(0,0,0,.2);
  180. }
  181. .card-details-item-title {
  182. /* max width for adding checklist at top */
  183. width: 100%;
  184. }
  185. .checklist-details-menu {
  186. float: right;
  187. padding: 6px 10px 6px 10px;
  188. }
  189. .edit-controls label.toggle-label {
  190. margin-left: 2px;
  191. }