checklists.css 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  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 .checkbox {
  49. float: left;
  50. width: 30px;
  51. height: 30px;
  52. font-size: 18px;
  53. line-height: 30px;
  54. }
  55. .checklist-title .title {
  56. font-size: 18px;
  57. line-height: 25px;
  58. }
  59. .checklist-title .checklist-stat {
  60. margin: 0 0.5em;
  61. float: right;
  62. padding-top: 6px;
  63. }
  64. .checklist-title .checklist-stat.is-finished {
  65. color: #3cb500;
  66. }
  67. .checklist-title span.fa.checklist-handle {
  68. padding-right: 20px;
  69. padding-top: 3px;
  70. float: left;
  71. }
  72. #card-details-overlay {
  73. top: 0;
  74. bottom: -600px;
  75. right: 0;
  76. }
  77. .checklist {
  78. background: #f7f7f7;
  79. }
  80. .checklist.placeholder {
  81. background: #ccc;
  82. border-radius: 2px;
  83. }
  84. .checklist.ui-sortable-helper {
  85. box-shadow: -2px 2px 8px rgba(0,0,0,0.3), 0 0 1px rgba(0,0,0,0.5);
  86. transform: rotate(4deg);
  87. cursor: grabbing;
  88. }
  89. .checklist-item {
  90. margin: 0 0 0 0.1em;
  91. line-height: 18px;
  92. font-size: 1.1em;
  93. margin-top: 3px;
  94. display: flex;
  95. background: #f7f7f7;
  96. opacity: 1;
  97. transition: height 0ms 400ms, opacity 400ms 0ms;
  98. height: auto;
  99. overflow: hidden;
  100. }
  101. .checklist-item.is-checked.invisible {
  102. opacity: 0;
  103. height: 0;
  104. transition: height 0ms 0ms, opacity 600ms 0ms;
  105. margin-top: 0;
  106. margin-bottom: 0;
  107. }
  108. .checklist-item.placeholder {
  109. background: #ccc;
  110. border-radius: 2px;
  111. }
  112. .checklist-item.ui-sortable-helper {
  113. box-shadow: -2px 2px 8px rgba(0,0,0,0.3), 0 0 1px rgba(0,0,0,0.5);
  114. transform: rotate(4deg);
  115. cursor: grabbing;
  116. }
  117. .checklist-item:hover {
  118. background-color: #ebebeb;
  119. }
  120. .checklist-item .check-box-container {
  121. padding-right: 10px;
  122. }
  123. .checklist-item .check-box {
  124. margin: 0.1em 0 0 0;
  125. }
  126. .checklist-item .check-box.is-checked {
  127. border-bottom: 2px solid #3cb500;
  128. border-right: 2px solid #3cb500;
  129. }
  130. .checklist-item .item-title {
  131. flex: 1;
  132. }
  133. .checklist-item .item-title.is-checked {
  134. color: #8c8c8c;
  135. font-style: italic;
  136. text-decoration: line-through;
  137. }
  138. .checklist-item .item-title .viewer p {
  139. margin-bottom: 2px;
  140. display: block;
  141. word-wrap: break-word;
  142. max-width: 420px;
  143. }
  144. .checklist-item span.fa.checklistitem-handle {
  145. padding-top: 2px;
  146. padding-right: 10px;
  147. }
  148. .js-delete-checklist-item,
  149. .js-convert-checklist-item-to-card {
  150. margin: 0 0 0.5em 1.33em;
  151. padding: 12px 0 0 0;
  152. }
  153. .add-checklist-item {
  154. margin: 0.2em 0 0.5em 1.33em;
  155. }
  156. .add-checklist-item.js-open-inlined-form,
  157. .add-checklist.js-open-inlined-form {
  158. display: block;
  159. width: 50%;
  160. }
  161. .add-checklist-item.js-open-inlined-form:hover,
  162. .add-checklist.js-open-inlined-form:hover {
  163. background: #dbdbdb;
  164. color: #222;
  165. box-shadow: 0 1px 2px rgba(0,0,0,0.2);
  166. }
  167. .checklist-details-menu {
  168. float: right;
  169. padding: 6px 10px 6px 10px;
  170. }
  171. .edit-controls label.toggle-label {
  172. margin-left: 2px;
  173. }