checklists.styl 2.5 KB

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