25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

358 lines
7.4KB

  1. /* Kanban board theme aligned with public/css/site.css */
  2. html,
  3. body.kanban-page {
  4. height: 100%;
  5. }
  6. body.kanban-page {
  7. margin: 0;
  8. overflow: hidden;
  9. background:
  10. radial-gradient(75rem 35rem at -12% -18%, #dae8ff 0%, transparent 44%),
  11. radial-gradient(68rem 32rem at 115% -16%, #d8f3ff 0%, transparent 40%),
  12. linear-gradient(180deg, #eef4ff 0%, #f4f8ff 58%, #f3f7ff 100%);
  13. }
  14. /* Top bar */
  15. body.kanban-page .navbar {
  16. position: sticky;
  17. top: 0;
  18. z-index: 1000;
  19. border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  20. backdrop-filter: blur(9px);
  21. background: linear-gradient(120deg, #102241 0%, #173a72 56%, #1c4c90 100%);
  22. box-shadow: 0 8px 24px rgba(8, 20, 48, 0.26);
  23. }
  24. body.kanban-page .navbar-brand {
  25. color: #f4f8ff !important;
  26. font-family: "Fraunces", Georgia, serif;
  27. letter-spacing: -0.01em;
  28. }
  29. .board-header-main {
  30. min-width: 0;
  31. }
  32. .board-header-actions {
  33. flex-shrink: 0;
  34. }
  35. .kanban-board-title {
  36. display: block;
  37. min-width: 0;
  38. max-width: 100%;
  39. overflow: hidden;
  40. text-overflow: ellipsis;
  41. white-space: nowrap;
  42. font-size: clamp(1rem, 0.6vw + 0.95rem, 1.28rem);
  43. }
  44. body.kanban-page .navbar .btn-outline-light,
  45. body.kanban-page .navbar .btn-outline-secondary {
  46. border-color: rgba(213, 230, 255, 0.55) !important;
  47. color: #eef5ff !important;
  48. background: rgba(255, 255, 255, 0.06);
  49. }
  50. body.kanban-page .navbar .btn-outline-light:hover,
  51. body.kanban-page .navbar .btn-outline-secondary:hover {
  52. background: rgba(255, 255, 255, 0.16);
  53. border-color: rgba(234, 243, 255, 0.85) !important;
  54. }
  55. /* Board wrapper */
  56. .kanban-wrapper {
  57. height: calc(100vh - 65px);
  58. overflow: auto;
  59. padding: 0.9rem 1rem 1.1rem;
  60. -webkit-overflow-scrolling: touch;
  61. scroll-behavior: smooth;
  62. touch-action: pan-x pan-y;
  63. }
  64. .kanban-grid {
  65. display: grid;
  66. min-width: max-content;
  67. border: 1px solid var(--line, #d9e3f5);
  68. border-radius: 14px;
  69. background: rgba(255, 255, 255, 0.72);
  70. box-shadow: 0 12px 34px rgba(22, 48, 92, 0.12);
  71. overflow: hidden;
  72. }
  73. /* Sticky corner and headers */
  74. .kanban-corner {
  75. position: sticky;
  76. top: 0;
  77. left: 0;
  78. z-index: 40;
  79. min-width: 240px;
  80. min-height: 56px;
  81. background: linear-gradient(135deg, #173864 0%, #1e4d8f 100%);
  82. border-right: 1px solid rgba(255, 255, 255, 0.15);
  83. border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  84. }
  85. .kanban-col-header {
  86. position: sticky;
  87. top: 0;
  88. z-index: 30;
  89. min-width: 230px;
  90. padding: 0.75rem 0.88rem;
  91. color: #eff5ff;
  92. font-size: clamp(0.68rem, 0.16vw + 0.65rem, 0.78rem);
  93. font-weight: 700;
  94. text-transform: uppercase;
  95. letter-spacing: 0.06em;
  96. white-space: normal;
  97. line-height: 1.22;
  98. word-break: break-word;
  99. overflow-wrap: anywhere;
  100. background: linear-gradient(120deg, #173864 0%, #1e4d8f 100%);
  101. border-left: 1px solid rgba(255, 255, 255, 0.16);
  102. }
  103. .kanban-lane-header {
  104. position: sticky;
  105. left: 0;
  106. z-index: 20;
  107. min-width: 240px;
  108. padding: 0.85rem 0.82rem;
  109. font-size: clamp(0.7rem, 0.14vw + 0.66rem, 0.78rem);
  110. font-weight: 700;
  111. color: #2a3a58;
  112. background: linear-gradient(180deg, #f6faff 0%, #edf3ff 100%);
  113. border-top: 1px solid #d7e1f5;
  114. border-right: 1px solid #d4deef;
  115. }
  116. .kanban-lane-header .lane-label {
  117. display: inline-block;
  118. max-width: 100%;
  119. white-space: normal;
  120. line-height: 1.2;
  121. word-break: break-word;
  122. overflow-wrap: anywhere;
  123. }
  124. /* Cells */
  125. .kanban-cell {
  126. min-width: 230px;
  127. min-height: 132px;
  128. padding: 0.56rem;
  129. border-top: 1px solid #dce5f4;
  130. border-left: 1px solid #dce5f4;
  131. display: flex;
  132. flex-direction: column;
  133. gap: 0.45rem;
  134. vertical-align: top;
  135. background:
  136. linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(244, 248, 255, 0.93) 100%);
  137. }
  138. .kanban-cell.drag-over {
  139. background: linear-gradient(180deg, #e9f2ff 0%, #deecff 100%);
  140. box-shadow: inset 0 0 0 2px rgba(19, 99, 223, 0.24);
  141. }
  142. /* Cards */
  143. .kanban-card {
  144. border: 1px solid #d5e1f6;
  145. border-radius: 12px;
  146. background: #ffffff;
  147. padding: 0.56rem 0.62rem;
  148. cursor: pointer;
  149. user-select: none;
  150. box-shadow: 0 4px 12px rgba(16, 44, 90, 0.08);
  151. transition: transform 120ms ease, box-shadow 140ms ease, border-color 120ms ease;
  152. touch-action: manipulation;
  153. }
  154. .kanban-card:hover {
  155. transform: translateY(-1px);
  156. border-color: #8eb0ea;
  157. box-shadow: 0 10px 22px rgba(16, 44, 90, 0.14);
  158. }
  159. .kanban-card.sortable-ghost {
  160. opacity: 0.38;
  161. }
  162. .kanban-card.sortable-chosen {
  163. border-color: #4d87e2;
  164. box-shadow: 0 14px 30px rgba(17, 46, 94, 0.22);
  165. }
  166. .card-job-number {
  167. display: inline-block;
  168. margin-bottom: 0.36rem;
  169. padding: 0.08rem 0.42rem;
  170. border-radius: 999px;
  171. font-size: 0.66rem;
  172. font-weight: 800;
  173. letter-spacing: 0.07em;
  174. text-transform: uppercase;
  175. color: #0e4fae;
  176. background: #e7f0ff;
  177. }
  178. .card-job-name {
  179. color: #1f2b43;
  180. font-size: 0.86rem;
  181. line-height: 1.32;
  182. }
  183. /* Settings panel */
  184. .kanban-settings-overlay {
  185. position: fixed;
  186. inset: 0;
  187. z-index: 1040;
  188. background: rgba(13, 25, 48, 0.42);
  189. backdrop-filter: blur(2px);
  190. }
  191. .kanban-settings-panel {
  192. position: fixed;
  193. top: 0;
  194. right: 0;
  195. width: min(420px, 94vw);
  196. max-width: 100vw;
  197. height: 100%;
  198. z-index: 1050;
  199. background: linear-gradient(180deg, #f7fbff 0%, #f1f6ff 100%);
  200. border-left: 1px solid #d8e2f2;
  201. box-shadow: -8px 0 28px rgba(19, 40, 81, 0.2);
  202. display: flex;
  203. flex-direction: column;
  204. overflow: hidden;
  205. transform: translateX(104%);
  206. transition: transform 180ms cubic-bezier(0.2, 0.7, 0.2, 1);
  207. will-change: transform;
  208. }
  209. .kanban-settings-panel.open {
  210. transform: translateX(0);
  211. }
  212. .settings-header {
  213. background: rgba(255, 255, 255, 0.7);
  214. border-bottom-color: #dce6f5 !important;
  215. }
  216. .settings-header h6 {
  217. letter-spacing: -0.01em;
  218. }
  219. .settings-body {
  220. flex: 1;
  221. overflow-y: auto;
  222. }
  223. .settings-body .list-group-item {
  224. border-color: #d7e2f4;
  225. border-radius: 10px !important;
  226. margin-bottom: 0.45rem;
  227. background: #ffffff;
  228. box-shadow: 0 3px 9px rgba(25, 45, 84, 0.05);
  229. }
  230. .settings-sortable .drag-handle {
  231. color: #8fa1bf !important;
  232. }
  233. .settings-sortable .drag-handle:hover {
  234. color: var(--brand, #1363df) !important;
  235. }
  236. .inline-rename {
  237. height: auto;
  238. font-size: 0.84rem;
  239. padding: 0.23rem 0.45rem;
  240. }
  241. /* Modal polish */
  242. #cardModal .modal-content {
  243. border: 1px solid #d7e2f5;
  244. border-radius: 14px;
  245. box-shadow: 0 22px 48px rgba(18, 43, 83, 0.22);
  246. }
  247. #cardModal .modal-header {
  248. border-bottom-color: #dfe8f7;
  249. background: #f7fbff;
  250. }
  251. #cardModal .modal-footer {
  252. border-top-color: #dfe8f7;
  253. background: #fbfdff;
  254. }
  255. /* Scrollbars */
  256. .kanban-wrapper::-webkit-scrollbar,
  257. .settings-body::-webkit-scrollbar {
  258. width: 10px;
  259. height: 10px;
  260. }
  261. .kanban-wrapper::-webkit-scrollbar-track,
  262. .settings-body::-webkit-scrollbar-track {
  263. background: #eaf0fb;
  264. }
  265. .kanban-wrapper::-webkit-scrollbar-thumb,
  266. .settings-body::-webkit-scrollbar-thumb {
  267. background: #b8c9e6;
  268. border-radius: 999px;
  269. border: 2px solid #eaf0fb;
  270. }
  271. .kanban-wrapper::-webkit-scrollbar-thumb:hover,
  272. .settings-body::-webkit-scrollbar-thumb:hover {
  273. background: #97afd8;
  274. }
  275. /* Small screens */
  276. @media (max-width: 900px) {
  277. .kanban-wrapper {
  278. padding: 0.7rem;
  279. height: calc(100vh - 62px);
  280. }
  281. .kanban-corner,
  282. .kanban-lane-header {
  283. min-width: 190px;
  284. }
  285. .kanban-col-header,
  286. .kanban-cell {
  287. min-width: 206px;
  288. }
  289. .kanban-board-title {
  290. font-size: clamp(0.92rem, 2.8vw, 1.1rem);
  291. }
  292. .board-header-actions {
  293. gap: 0.35rem !important;
  294. }
  295. .board-header-actions .btn {
  296. padding-left: 0.48rem;
  297. padding-right: 0.48rem;
  298. }
  299. }
  300. @media (max-width: 640px) {
  301. .kanban-settings-panel {
  302. width: 100vw;
  303. border-left: 0;
  304. box-shadow: none;
  305. }
  306. .settings-body {
  307. padding-bottom: 1.25rem;
  308. }
  309. }

Powered by TurnKey Linux.