styles.css 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. .tasks-count {
  2. color: var(--text-faint);
  3. padding-left: 20px;
  4. }
  5. /* Pencil icon. */
  6. .tasks-edit {
  7. background-color: var(--text-faint);
  8. mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20aria-hidden%3D%22true%22%20focusable%3D%22false%22%20width%3D%221em%22%20height%3D%221em%22%20style%3D%22-ms-transform%3A%20rotate(360deg)%3B%20-webkit-transform%3A%20rotate(360deg)%3B%20transform%3A%20rotate(360deg)%3B%22%20preserveAspectRatio%3D%22xMidYMid%20meet%22%20viewBox%3D%220%200%201536%201536%22%3E%3Cpath%20d%3D%22M363%201408l91-91l-235-235l-91%2091v107h128v128h107zm523-928q0-22-22-22q-10%200-17%207l-542%20542q-7%207-7%2017q0%2022%2022%2022q10%200%2017-7l542-542q7-7%207-17zm-54-192l416%20416l-832%20832H0v-416zm683%2096q0%2053-37%2090l-166%20166l-416-416l166-165q36-38%2090-38q53%200%2091%2038l235%20234q37%2039%2037%2091z%22%20fill%3D%22%23626262%22%2F%3E%3C%2Fsvg%3E");
  9. -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20aria-hidden%3D%22true%22%20focusable%3D%22false%22%20width%3D%221em%22%20height%3D%221em%22%20style%3D%22-ms-transform%3A%20rotate(360deg)%3B%20-webkit-transform%3A%20rotate(360deg)%3B%20transform%3A%20rotate(360deg)%3B%22%20preserveAspectRatio%3D%22xMidYMid%20meet%22%20viewBox%3D%220%200%201536%201536%22%3E%3Cpath%20d%3D%22M363%201408l91-91l-235-235l-91%2091v107h128v128h107zm523-928q0-22-22-22q-10%200-17%207l-542%20542q-7%207-7%2017q0%2022%2022%2022q10%200%2017-7l542-542q7-7%207-17zm-54-192l416%20416l-832%20832H0v-416zm683%2096q0%2053-37%2090l-166%20166l-416-416l166-165q36-38%2090-38q53%200%2091%2038l235%20234q37%2039%2037%2091z%22%20fill%3D%22%23626262%22%2F%3E%3C%2Fsvg%3E");
  10. mask-size: contain;
  11. -webkit-mask-size: contain;
  12. display: inline-block;
  13. width: 1em;
  14. height: 1em;
  15. vertical-align: middle;
  16. margin-left: 0.5em;
  17. cursor: pointer;
  18. }
  19. /* Urgency score */
  20. .tasks-urgency {
  21. font-size: var(--font-ui-smaller);
  22. font-family: var(--font-interface);
  23. padding: 2px 6px;
  24. border-radius: var(--radius-s);
  25. color: var(--text-normal);
  26. background-color: var(--background-secondary);
  27. margin-left: 0.5em;
  28. line-height: 1;
  29. }
  30. .internal-link.internal-link-short-mode {
  31. text-decoration: none;
  32. }
  33. .tasks-list-text {
  34. position: relative;
  35. }
  36. .tasks-list-text .tooltip {
  37. position: absolute;
  38. top: 0px;
  39. left: 0px;
  40. white-space: nowrap;
  41. }
  42. .tasks-setting-important {
  43. color: red;
  44. font-weight: bold;
  45. }
  46. .tasks-modal-section + .tasks-modal-section {
  47. margin-top: 16px;
  48. }
  49. .tasks-modal-section label {
  50. display: inline-block;
  51. margin-bottom: 4px;
  52. }
  53. .tasks-modal-section label > span {
  54. display: inline-block;
  55. }
  56. .tasks-modal .with-accesskeys .accesskey-first::first-letter,
  57. .tasks-modal .with-accesskeys .accesskey {
  58. text-decoration: underline;
  59. text-underline-offset: 1pt;
  60. }
  61. .tasks-modal-buttons {
  62. display: grid;
  63. grid-template-columns: 3fr 1fr;
  64. column-gap: .5em;
  65. }
  66. .tasks-modal label + input[type="checkbox"] {
  67. margin-left: 0.67em;
  68. top: 2px;
  69. }
  70. .tasks-modal input[type="text"] {
  71. width: 100%;
  72. }
  73. .tasks-modal-priorities {
  74. display: grid;
  75. grid-template-columns: 4em 5em 5em 7em 5em;
  76. grid-column-gap: 1.33em;
  77. }
  78. .tasks-modal-priorities span {
  79. line-height: 1.41;
  80. white-space: nowrap;
  81. }
  82. .tasks-modal-priorities label {
  83. border-radius: var(--input-radius);
  84. padding: 2px 3px;
  85. }
  86. .tasks-modal-priorities input:focus + label {
  87. box-shadow: 0 0 0 2px var(--background-modifier-border-focus);
  88. border-color: var(--background-modifier-border-focus);
  89. }
  90. .tasks-modal-priorities input:checked + label > span:first-child {
  91. font-weight: bold;
  92. }
  93. .tasks-modal-priorities input:not(:checked) + label > span:nth-child(2) {
  94. filter: grayscale(100%) opacity(60%);
  95. }
  96. .tasks-modal-dates {
  97. display: grid;
  98. grid-template-columns: 5.5em auto;
  99. column-gap: .5em;
  100. row-gap: 5px;
  101. }
  102. .tasks-modal-dates > label {
  103. grid-column: 1;
  104. margin-top: 6px;
  105. }
  106. .tasks-modal-dates > input, .tasks-modal-dates > code {
  107. grid-column: 2;
  108. align-items: stretch;
  109. }
  110. .tasks-modal-dates > code {
  111. margin-bottom: 5px;
  112. }
  113. .tasks-modal-dates > div {
  114. grid-column-start: 1;
  115. grid-column-end: 3;
  116. }
  117. .tasks-modal-status {
  118. display: flex;
  119. justify-content: space-between;
  120. }
  121. @media (max-width: 649px) {
  122. .tasks-modal-priorities {
  123. grid-template-columns: 4em 7.5em 5em;
  124. margin-bottom: -10px;
  125. }
  126. .tasks-modal-priorities > label {
  127. grid-row: 1 / span 2;
  128. }
  129. .tasks-modal-dates {
  130. grid-template-columns: 1fr;
  131. }
  132. .tasks-modal-dates > label {
  133. margin: 0;
  134. }
  135. .tasks-modal-dates > input, .tasks-modal-dates > code {
  136. grid-column: 1;
  137. }
  138. .tasks-modal-dates > div {
  139. grid-column-end: 1;
  140. }
  141. .tasks-modal-status {
  142. display: block;
  143. }
  144. }
  145. @media (max-width: 399px) {
  146. .tasks-modal-priorities {
  147. grid-template-columns: 4em auto;
  148. }
  149. .tasks-modal-priorities > label {
  150. grid-row: 1 / span 4;
  151. }
  152. }
  153. @media (max-width: 259px) {
  154. .tasks-modal-priorities {
  155. grid-template-columns: 1fr;
  156. margin-bottom: 0;
  157. }
  158. .tasks-modal-priorities > label {
  159. grid-row: 1;
  160. }
  161. }