subtasks.styl 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. .js-add-subtask
  2. color: #8c8c8c
  3. textarea.js-add-subtask-item, textarea.js-edit-subtask-item
  4. overflow: hidden
  5. word-wrap: break-word
  6. resize: none
  7. height: 34px
  8. .delete-text
  9. color: #8c8c8c
  10. text-decoration: underline
  11. word-wrap: break-word
  12. float: right
  13. padding-top: 6px
  14. &:hover
  15. color: inherit
  16. .subtask-title
  17. .checkbox
  18. float: left
  19. width: 30px
  20. height 30px
  21. font-size: 18px
  22. line-height: 30px
  23. .title
  24. font-size: 18px
  25. line-height: 25px
  26. .subtasks-stat
  27. margin: 0 0.5em
  28. float: right
  29. padding-top: 6px
  30. &.is-finished
  31. color: #3cb500
  32. .js-delete-subtask
  33. @extends .delete-text
  34. margin: 0 0.5em
  35. .js-view-subtask
  36. @extends .delete-text
  37. .js-confirm-subtask-delete
  38. background-color: darken(white, 3%)
  39. position: absolute
  40. float: left;
  41. width: 60%
  42. margin-top: 0
  43. margin-left: 13%
  44. padding-bottom: 2%
  45. padding-left: 3%
  46. padding-right: 3%
  47. z-index: 17
  48. border-radius: 3px
  49. p
  50. position: relative
  51. margin-top: 3%
  52. width: 100%
  53. text-align: center
  54. span
  55. font-weight: bold
  56. i
  57. font-size: 2em
  58. .js-subtask-delete-buttons
  59. position: relative
  60. padding: left 2% right 2%
  61. .confirm-subtask-delete
  62. margin-left: 12%
  63. float: left
  64. .toggle-delete-subtask-dialog
  65. margin-right: 12%
  66. float: right
  67. #card-details-overlay
  68. top: 0
  69. bottom: -600px
  70. right: 0
  71. .subtasks
  72. background: darken(white, 3%)
  73. &.placeholder
  74. background: darken(white, 20%)
  75. border-radius: 2px
  76. &.ui-sortable-helper
  77. box-shadow: -2px 2px 8px rgba(0, 0, 0, .3),
  78. 0 0 1px rgba(0, 0, 0, .5)
  79. transform: rotate(4deg)
  80. cursor: grabbing
  81. .subtasks-item
  82. margin: 0 0 0 0.1em
  83. line-height: 18px
  84. font-size: 1.1em
  85. margin-top: 3px
  86. display: flex
  87. background: darken(white, 3%)
  88. &.placeholder
  89. background: darken(white, 20%)
  90. border-radius: 2px
  91. &.ui-sortable-helper
  92. box-shadow: -2px 2px 8px rgba(0, 0, 0, .3),
  93. 0 0 1px rgba(0, 0, 0, .5)
  94. transform: rotate(4deg)
  95. cursor: grabbing
  96. &:hover
  97. background-color: darken(white, 8%)
  98. .check-box
  99. margin: 0.1em 0 0 0;
  100. &.is-checked
  101. border-bottom: 2px solid #3cb500
  102. border-right: 2px solid #3cb500
  103. .item-title
  104. flex: 1
  105. padding-left: 10px;
  106. &.is-checked
  107. color: #8c8c8c
  108. font-style: italic
  109. & .viewer
  110. p
  111. margin-bottom: 2px
  112. .js-delete-subtask-item
  113. margin: 0 0 0.5em 1.33em
  114. @extends .delete-text
  115. padding: 12px 0 0 0
  116. .add-subtask-item
  117. margin: 0.2em 0 0.5em 1.33em
  118. display: inline-block
  119. .subtask-details-menu
  120. float: right
  121. padding: 6px 10px 6px 10px