boardColors.styl 25 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090
  1. // We define a set of six board colors that we took from the FlatUI palette.
  2. // http://flatuicolors.com
  3. //
  4. // XXX Centralizing all these properties in a single file just because their
  5. // value is derived from the same color, doesn't make any sense. We should
  6. // create a mixin/macro that would generate 6 versions of a given property and
  7. // dispatch this list in the other stylus files.
  8. setBoardColor(color)
  9. &#header,
  10. &.sk-spinner div,
  11. .board-backgrounds-list &.background-box,
  12. .board-list & a
  13. background-color: color
  14. .is-selected .minicard
  15. border-left: 3px solid color
  16. // All minicards rounded corners:
  17. .minicard
  18. border-radius: 7px
  19. padding: 10px 10px 4px 10px
  20. box-shadow: 2px 2px 4px 0px rgba(0,0,0,0.15)
  21. button[type=submit].primary, input[type=submit].primary,
  22. .sidebar .sidebar-content .sidebar-btn
  23. background-color: darken(color, 20%)
  24. border-radius: 7px
  25. &.pop-over .pop-over-list li a:not(.disabled):hover,
  26. .sidebar .sidebar-content .sidebar-btn:hover,
  27. .sidebar-list li a:hover
  28. background-color: lighten(color, 10%)
  29. &#header ul li.current, &#header-quick-access ul li.current
  30. border-bottom: 2px solid lighten(color, 10%)
  31. &#header-quick-access
  32. background: darken(color, 10%)
  33. color: white
  34. &#header #header-main-bar .board-header-btn.emphasis
  35. background: complement(color)
  36. &:hover,
  37. .board-header-btn-close
  38. background: darken(complement(color), 10%)
  39. &:hover .board-header-btn-close
  40. background: darken(complement(color), 20%)
  41. .materialCheckBox.is-checked
  42. border-bottom: 2px solid color
  43. border-right: 2px solid color
  44. .is-multiselection-active .multi-selection-checkbox
  45. &.is-checked + .minicard
  46. background: lighten(color, 90%)
  47. &:not(.is-checked) + .minicard:hover:not(.minicard-composer)
  48. background: lighten(color, 97%)
  49. .toggle-label
  50. &:after
  51. background-color: darken(color, 20%)
  52. .toggle-switch:checked ~ .toggle-label
  53. background-color: lighten(color, 20%)
  54. &:after
  55. background-color: darken(color, 20%)
  56. @media screen and (max-width: 800px)
  57. &.pop-over .header
  58. background: color
  59. color: white
  60. &#header ul li.current, &#header-quick-access ul li.current
  61. border-bottom: 4px solid lighten(color, 20%)
  62. .board-color-nephritis
  63. setBoardColor(#27AE60)
  64. .board-color-pomegranate
  65. setBoardColor(#C0392B)
  66. .board-color-belize
  67. setBoardColor(#2980B9)
  68. .board-color-wisteria
  69. setBoardColor(#8E44AD)
  70. .board-color-midnight
  71. setBoardColor(#2C3E50)
  72. .board-color-pumpkin
  73. setBoardColor(#E67E22)
  74. .board-color-moderatepink
  75. setBoardColor(#CD5A91)
  76. .board-color-strongcyan
  77. setBoardColor(#00AECC)
  78. .board-color-limegreen
  79. setBoardColor(#4BBF6B)
  80. .board-color-dark
  81. setBoardColor(#2C3E51)
  82. /* Not hidden in dark mode.
  83. card fields: received, start, due, end, members, requested, assigned
  84. .card-details-item.card-details-item-received,
  85. .card-details-item.card-details-item-start,
  86. .card-details-item.card-details-item-due,
  87. .card-details-item.card-details-item-end,
  88. .card-details-item.card-details-item-members,
  89. .card-details-item.card-details-item-name { display:none; }
  90. .card-details-items:empty { display:none; }
  91. */
  92. // DARK MODE, when dark background mode selected.
  93. // Modified version from https://github.com/wekan/wekan/wiki/Custom-CSS-themes#dark-theme
  94. // In progress, please send pull requests to fix remaining visibility issues.
  95. .ui-sortable,
  96. .swimlane,
  97. .swimlane >.swimlane-header-wrap,
  98. .swimlane >.list.js-list,
  99. .swimlane >.list-composer.js-list-composer,
  100. .list-body,
  101. .list,
  102. .list-composer,
  103. .sidebar-content,
  104. .card-details
  105. background-color:#2C3E50
  106. .card-details h3,
  107. .card-details-items,
  108. .card-checklist-items .ui-sortable,
  109. .card-subtasks-items,
  110. .activities,
  111. .material-toggle-switch
  112. color:#bbbbbb
  113. .list-header
  114. background-color: #888888
  115. .board-widget,
  116. .board-widget-labels,
  117. .board-widget-members
  118. color: #aaaaaa
  119. /* popup menu titles (boards, swimlanes, lists, cards, labels) */
  120. .pop-over >.header
  121. display:none;
  122. /* HIDE UNTIL HOVER -------------------------------------------------- */
  123. /* header "+" button */
  124. #header-quick-access .fa-plus
  125. display:none
  126. #header-quick-access:hover .fa-plus
  127. display:inherit
  128. /* "add card" links (use visibility rather than display so items don't jump) */
  129. .open-minicard-composer
  130. visibility:hidden
  131. .list.js-list:hover .open-minicard-composer
  132. visibility:visible
  133. .list-header-menu
  134. visibility:hidden
  135. .list.js-list:hover .list-header-menu
  136. visibility:visible
  137. /* "add list/swimlane" links (use visibility rather than display so items don't jump) */
  138. .list.js-list-composer >.list-header
  139. visibility:hidden
  140. .list.js-list-composer:hover >.list-header
  141. visibility:visible
  142. /* headers */
  143. #header-quick-access, #header
  144. background-color:rgba(0,0,0,.75) !important
  145. #header .board-header-btn:hover
  146. background-color:rgba(255,255,255,0.3) !important
  147. /* foregrounds: swimlanes, lists */
  148. .list >.list-header, .swimlane-header
  149. color:rgba(255,255,255,.7)
  150. /* minicards
  151. .minicard
  152. background-color:rgba(255,255,255,.4)
  153. */
  154. .minicard-wrapper.is-selected .minicard,
  155. .minicard:hover,
  156. .minicard-composer.js-composer,
  157. .open-minicard-composer:hover
  158. background-color:rgba(255,255,255,.8) !important
  159. color:#000
  160. border-radius: 7px
  161. /*
  162. .minicard, .minicard .badge
  163. color:#fff
  164. */
  165. .minicard:hover .badge, .minicard-wrapper.is-selected .badge
  166. color:#000
  167. /* cards */
  168. .card-details .card-details-header
  169. background-color:#ccc
  170. /* sidebar */
  171. .sidebar-tongue, .sidebar-shadow
  172. background-color:#666 !important
  173. .sidebar-content h3, .sidebar-content h2, .sidebar-content
  174. color:rgba(255,255,255,.7) !important
  175. .card-details .activities .activity .activity-desc .activity-comment
  176. background-color: #cccccc
  177. color: #222222
  178. .board-color-relax
  179. setBoardColor(#27AE61)
  180. // RELAX MODE: light green background, with green background color,
  181. // to help this theme users to relax.
  182. // Colors and emphasis are specific to this Wekan theme contributor's company.
  183. .ui-sortable
  184. background-color:#a7e366
  185. .list-header
  186. background-color:#a7e366
  187. // border-bottom: 6px solid #a7e366
  188. .list-body
  189. background-color:#a7e366
  190. .list
  191. border-left: 1px dotted #000000
  192. // Card details text emphasis: black border and white background
  193. // to make it details text field easier to find for RELAX MODE users,
  194. // and focus attention.
  195. .card-details .card-details-items
  196. & ~ .js-open-inlined-form
  197. .viewer
  198. background-color #ffffff !important
  199. padding 15px !important
  200. border 1px solid #000000 !important
  201. word-wrap: break-word
  202. // When card has comment, emphasis on minicard:
  203. // bigger red comment icon and number of comments,
  204. // to make it easier notice card comments and focus attention.
  205. .minicard .badges .badge
  206. .badge-icon,
  207. .badge-text
  208. &.badge-comment
  209. display: block
  210. border-radius: 4px
  211. padding: 1px 3px
  212. margin-bottom: 0.3rem
  213. color: #ff0000
  214. background-color: #ffffff
  215. font-weight: bold
  216. font-size: 11pt
  217. .board-color-corteza
  218. setBoardColor(#568BA2)
  219. /*
  220. Wekan for Corteza https://cortezaproject.org
  221. Theme to match Corteza colors from:
  222. https://github.com/cortezaproject/corteza-webapp-messaging/blob/master/src/assets/sass/variables.scss
  223. // Paths
  224. $fonts_dir : './assets/fonts/';
  225. $icomoon-font-path: $fonts_dir + 'icomoon' !default;
  226. $icomoon-font-family: "icomoon" !default;
  227. // Typography
  228. $regular: 'nunito_sansregular';
  229. $bold: 'nunito_sansbold';
  230. $semibold: 'nunito_sanssemibold';
  231. // Color system
  232. $white: #fff !default;
  233. $black: #000 !default;
  234. $primary: #568ba2;
  235. $secondary: #90A3B1;
  236. $success: #719430;
  237. $warning: #F5D380;
  238. $danger: #E85568;
  239. $light: #F3F3F5;
  240. $dark: #1e2224;
  241. $currentmymessagebgcolor : #a7d0e3;
  242. */
  243. //.header-quick-access
  244. // backgroud-color: #568ba2
  245. /*
  246. Alternate "Clear" Styling
  247. */
  248. setBoardClear(color1,color2)
  249. //color1: The quick access color
  250. //color2: The main bar color
  251. &.sk-spinner div,
  252. .board-backgrounds-list &.background-box,
  253. .board-list & a
  254. background: linear-gradient(180deg, color1 0%, color2 100%)
  255. //background: linear-gradient(180deg, rgb(73, 155, 234) 0%, rgb(0, 174, 204) 100%)
  256. .is-selected .minicard
  257. border-left: 3px solid color1
  258. &.pop-over .pop-over-list li a:not(.disabled):hover,
  259. .sidebar .sidebar-content .sidebar-btn:hover,
  260. .sidebar-list li a:hover
  261. background-color: lighten(color1, 10%)
  262. &#header ul li.current, &#header-quick-access ul li.current
  263. border-bottom: 4px solid lighten(color2, 10%)
  264. &#header-quick-access
  265. background: darken(color1, 10%)
  266. //background: rgba(66,137,204,1)
  267. color: #FFF
  268. &#header-quick-access #header-new-board-icon,
  269. &#header-quick-access #header-user-bar,
  270. &#header-quick-access ul li
  271. color: rgba(255,255,255,0.5)
  272. // The background-color value here is not seen,
  273. // its covered by the background of #header-main-bar
  274. // it's just to aid transitions between boards
  275. &#header
  276. background-color: color2
  277. border-bottom: 1px solid darken(color2, 20%)
  278. border-top: 1px solid darken(color2, 40%)
  279. // Since the theme uses a gradient for the header
  280. // and gradients break transitions, it has to be set here
  281. &#header #header-main-bar
  282. background: linear-gradient(180deg, color1 0%, color2 100%)
  283. &#header #header-main-bar p
  284. margin-bottom: 6px
  285. &#header #header-main-bar .board-header-btn.emphasis
  286. background: lighten(color2, 10%)
  287. &:hover,
  288. .board-header-btn-close
  289. background: rgba(0,0,0,0.2)
  290. &:hover .board-header-btn-close
  291. background: rgba(0,0,0,0.2)
  292. .materialCheckBox.is-checked
  293. border-bottom: 2px solid color1
  294. border-right: 2px solid color1
  295. .is-multiselection-active .multi-selection-checkbox
  296. &.is-checked + .minicard
  297. background: lighten(color2, 90%)
  298. &:not(.is-checked) + .minicard:hover:not(.minicard-composer)
  299. background: lighten(color2, 97%)
  300. .toggle-switch:checked ~ .toggle-label
  301. background-color: lighten(color1, 20%)
  302. &:after
  303. background-color: darken(color1, 20%)
  304. .board-canvas
  305. background: linear-gradient(135deg, color1 0%, color2 100%)
  306. .swimlane
  307. background: none
  308. .list:first-child
  309. margin-left: 15px
  310. .list
  311. background: rgba(255,255,255,0.35)
  312. margin: 10px
  313. border: 0
  314. border-radius: 14px
  315. .list.list-composer
  316. background: rgba(255,255,255,0.1)
  317. height: min-content
  318. flex: unset
  319. width: 270px
  320. padding-bottom: 16px
  321. .list.list-composer .open-list-composer
  322. border-radius: 7px
  323. color: rgba(0,0,0,0.3)
  324. padding: 7px 10px
  325. display: block
  326. .list.list-composer .open-list-composer:hover
  327. box-shadow: 0 1px 2px rgba(0,0,0,.2)
  328. background: rgba(255,255,255,0.7)
  329. color: rgba(0,0,0,0.6)
  330. .list-header
  331. background-color: rgba(255,255,255,0.25)
  332. border-radius: 14px 14px 0 0
  333. .list-header:not([class*="list-header-"])
  334. border-bottom: 6px solid rgba(255,255,255,0)
  335. .list-header .list-header-name
  336. color: rgba(0,0,0,0.6)
  337. .list-body
  338. padding: 11px
  339. .minicard
  340. border-radius: 7px
  341. padding: 10px 10px 4px 10px
  342. box-shadow: 2px 2px 4px 0px rgba(0,0,0,0.15)
  343. color: #222
  344. .card-details
  345. border-radius: 0 0 14px 14px
  346. box-shadow: 0 0 7px 0 rgba(0,0,0,0.5)
  347. margin-left: -10px
  348. .list-body .open-minicard-composer
  349. border-radius: 7px
  350. color: rgba(0,0,0,.3)
  351. margin-bottom: 11px
  352. .list-body .open-minicard-composer:hover
  353. background: rgba(255,255,255,0.7)
  354. color: rgba(0,0,0,0.6)
  355. button[type=submit].primary, input[type=submit].primary
  356. box-shadow: none
  357. background-color: rgba(255,255,255,0.5)
  358. color: rgba(0,0,0,0.55)
  359. border-radius: 7px
  360. border: 0
  361. button[type="submit"].primary:hover, input[type="submit"].primary:hover
  362. background-color: rgba(255,255,255,0.7)
  363. color: rgba(0,0,0,0.8)
  364. box-shadow: 0 1px 2px rgba(0,0,0,.2)
  365. border-radius: 7px
  366. .quiet, .quiet a
  367. color: rgba(0,0,0,0.4)
  368. .list-header .list-header-watch-icon
  369. color: rgba(0,0,0,0.5)
  370. position: absolute
  371. margin-top: -34px
  372. margin-let: -11px
  373. a.fa, a i.fa
  374. color: rgba(0,0,0,0.3)
  375. a:not(.disabled).is-active.fa, a:not(.disabled).is-active i.fa, a:not(.disabled):hover.fa, a:not(.disabled):hover i.fa
  376. color: rgba(0,0,0,0.6)
  377. border-radius: 7px
  378. input[type="email"], input[type="password"], input[type="text"]
  379. border: 0
  380. border-radius: 7px
  381. .sidebar-shadow
  382. box-shadow: none
  383. border-left: 9px solid color2
  384. .is-open .sidebar-shadow
  385. box-shadow: -10px 0 8px rgba(0,0,0,0.3)
  386. .list.ui-sortable-helper
  387. transform:rotate(0deg)
  388. .minicard-wrapper.placeholder
  389. background: rgba(0,0,0,0.1)
  390. .minicard-wrapper.ui-sortable-helper
  391. transform:rotate(0deg)
  392. opacity: 0.8
  393. .list-body .open-minicard-composer
  394. color: rgba(0,0,0,.3)
  395. .swinlane.ui-sortable-helper
  396. transform:rotate(0deg)
  397. .swimlane .swimlane-header-wrap
  398. background: linear-gradient(0deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.25) 100%)
  399. .swimlane-header-wrap .inlined-form
  400. width: 100%
  401. .swimlane-header-wrap .list-composer
  402. text-align: center
  403. margin: 5px
  404. .swimlane-header-wrap .list-name-input.full-line
  405. margin: 0
  406. display: inline-block
  407. width: 270px
  408. .swimlane-header-wrap .edit-controls
  409. display: inline-block
  410. vertical-align: middle
  411. .swimlane-header-wrap .primary.confirm
  412. margin-right: 0
  413. .swimlane-header-wrap .fa.fa-times-thin
  414. margin-top: 2px
  415. // This is a general fix so that the little grabby hand appears when dragging the list via the title
  416. .list.ui-sortable-helper,
  417. .list.ui-sortable-helper .list-header.ui-sortable-handle,
  418. .list.ui-sortable-helper .viewer
  419. cursor:-webkit-grabbing;
  420. cursor:grabbing
  421. .board-color-clearblue
  422. setBoardClear(rgb(73, 155, 234),rgb(0, 174, 204))
  423. /*
  424. Alternate "Natural" Styling
  425. */
  426. .board-color-natural
  427. setBoardColor(#596557)
  428. &#header-quick-access
  429. background-color: #2d392b
  430. .ui-sortable
  431. background-color:#dedede
  432. .list-header
  433. // background-color: #c9cfc3
  434. // border-bottom: 6px solid #c9cfc3
  435. .swimlane .swimlane-header-wrap
  436. background-color: #c2c0ab
  437. /*
  438. Alternate "Modern" Styling
  439. */
  440. .board-color-modern
  441. setBoardColor(#2A80B8)
  442. /* General */
  443. body
  444. background: #f5f5f5
  445. &#header-quick-access
  446. padding: 10px
  447. font-size: 14px
  448. background: #333 !important
  449. &#header-quick-access ul
  450. overflow: visible
  451. &#header-quick-access ul li.current
  452. border: 0 !important
  453. font-weight: bold
  454. &#header-quick-access ul li.separator
  455. display: none
  456. &#header-quick-access ul li:nth-child(3)
  457. margin-right: 10px
  458. &#header-quick-access ul li a
  459. padding: 5px 10px
  460. border-radius: 2px
  461. &#header-quick-access ul li.current a
  462. border-radius: 2px
  463. background: rgba(255,255,255,.2)
  464. &#header #header-main-bar h1
  465. font-family: Poppins
  466. font-weight: bold
  467. &#header-quick-access #header-user-bar
  468. position relative
  469. &#header-quick-access #header-user-bar .header-user-bar-name
  470. margin: 5px 3px 0 0
  471. section#notifications-drawer
  472. top: 46px
  473. box-shadow: 0 4px 20px rgba(0,0,0,.1)
  474. max-width: 100%
  475. section#notifications-drawer .header
  476. top: 46px
  477. border-radius: 0 3px
  478. height: 21px
  479. background: #f7f7f7
  480. .board-canvas
  481. background: #f5f5f5
  482. /* Swimlane */
  483. .swimlane
  484. background: none
  485. .swimlane .swimlane-header-wrap .swimlane-header
  486. font-family: Poppins
  487. /* All board views */
  488. .board-list .board-list-item
  489. padding: 20px
  490. .board-list-item-name
  491. font-family: Poppins
  492. /* Board */
  493. .list
  494. background: transparent
  495. border-left: 0
  496. margin: 10px 0
  497. padding: 0px
  498. border-radius: 5px
  499. min-width: 300px
  500. .list-body .open-minicard-composer:hover /*me*/
  501. background: none
  502. box-shadow: none
  503. .list:first-child
  504. margin-left: 5px
  505. .list.list-composer.js-list-composer
  506. transition: all .3s ease
  507. min-width: 80px
  508. .open-list-composer.js-open-inlined-form:hover
  509. color: #222
  510. .list-header
  511. background: none
  512. // border-bottom-width: 0px
  513. .list-header .list-header-name
  514. font-family: Poppins
  515. color: #000
  516. font-weight: 500
  517. /* Card changes */
  518. .minicard
  519. padding: 15px 15px 10px
  520. box-shadow: 0 3px 8px rgba(0,0,0,.05)
  521. .minicard-plum:hover:not(.minicard-composer), .is-selected .minicard-plum, .draggable-hover-card .minicard-plum
  522. background: none
  523. .minicard-title
  524. line-height: 1.5em
  525. .minicard .minicard-cover
  526. background-size: cover
  527. margin: -15px -15px 10px
  528. height: 100px
  529. .card-label-orange
  530. color: #fff
  531. .card-date
  532. font-size: 12px
  533. padding: 3px 5px
  534. /* Pop over */
  535. .header-title
  536. font-family: Poppins
  537. font-size: 16px
  538. color: #333
  539. .pop-over
  540. box-shadow: 0 4px 20px rgba(0,0,0,.2)
  541. border: 0
  542. border-radius: 5px
  543. .pop-over .header
  544. padding: 10px
  545. border-bottom: 0
  546. border-radius: 5px 5px 0 0
  547. background:#eee
  548. .pop-over .header .header-title
  549. font-family: Poppins
  550. font-size:16px
  551. color:#333
  552. .pop-over .header .close-btn
  553. font-size:20px
  554. top:6px
  555. right:8px
  556. .pop-over .content-container .content
  557. padding: 5px 20px 20px
  558. width: 260px
  559. .pop-over-list li > a
  560. border-radius: 5px
  561. .pop-over-list li > a > i
  562. margin-right: 5px
  563. .pop-over-list li>a .sub-name
  564. margin-bottom: 8px
  565. /* Sidebar */
  566. .sidebar .sidebar-shadow
  567. box-shadow: 0 0 60px rgba(0,0,0,.2)
  568. .sidebar .sidebar-content
  569. padding: 30px
  570. /* Notifications */
  571. .board-color-modern section#notifications-drawer
  572. border-radius:5px
  573. .board-color-modern section#notifications-drawer .header
  574. padding: 18px 16px
  575. border-bottom: 0
  576. border-radius: 5px 5px 0 0
  577. background: #eee
  578. .board-color-modern section#notifications-drawer .header h5
  579. font-family: Poppins
  580. font-weight: bold
  581. .board-color-modern section#notifications-drawer .header .close
  582. font-size: 20px
  583. top: 14px
  584. section#notifications-drawer .header .toggle-read
  585. top: 18px
  586. /*
  587. Alternate "Modern Dark" Styling
  588. */
  589. .board-color-moderndark
  590. setBoardColor(#2a2a2a)
  591. /* General */
  592. body
  593. background: #2a2a2a
  594. .board-wrapper .board-canvas .board-overlay
  595. opacity: .6
  596. /* Forms */
  597. button[type=submit].primary, .board-color-modern input[type=submit].primary
  598. background-color: #777777
  599. border-radius: 7px
  600. .toggle-switch:checked~.toggle-label
  601. background-color: #f7f7f7
  602. .toggle-label:after, .board-color-modern .toggle-switch:checked~.toggle-label:after
  603. background-color: #777777 !important
  604. button, input:not([type=file]), select, textarea
  605. border-radius: 7px
  606. /* Headers */
  607. &#header
  608. background-color: #262626
  609. border-bottom: 1px solid #555555;
  610. border-top: 1px solid #555555;
  611. &#header-quick-access, .background-box, #header
  612. background-color: #333333
  613. &#header-quick-access
  614. padding: 4px
  615. font-size: 14px
  616. &#header-quick-access .allBoards
  617. padding: 5px 10px 0 10px;
  618. &#header-quick-access ul.header-quick-access-list
  619. margin: -5px 0 -5px 0
  620. &#header #header-main-bar
  621. padding-top: 3px
  622. padding-bottom: 3px
  623. &#header-quick-access ul
  624. overflow: visible
  625. &#header-quick-access ul li.current
  626. border: 0 !important
  627. font-weight: bold
  628. &#header-quick-access ul li.separator
  629. display: none
  630. &#header-quick-access ul li:nth-child(3)
  631. margin-right: 10px
  632. &#header-quick-access ul li a
  633. padding: 5px 10px
  634. border-radius: 2px
  635. &#header-quick-access ul li.current a
  636. border-radius: 2px
  637. background: rgba(255,255,255,.2)
  638. &#header #header-main-bar h1
  639. font-family: Poppins
  640. font-weight: bold
  641. line-height: 0.8em
  642. padding-top: 10px
  643. /* Content */
  644. .board-canvas
  645. background: #2a2a2a
  646. /* Swimlanes */
  647. .swimlane .swimlane-header-wrap
  648. background-color: #494949
  649. color: #cccccc
  650. padding: 4px 0
  651. .swimlane .swimlane-header-wrap .swimlane-header
  652. font-family: Poppins
  653. .swimlane .swimlane-header-wrap .swimlane-header-menu
  654. padding: 6px
  655. font-size: 16px
  656. .swimlane .swimlane-header-wrap .swimlane-header-plus-icon
  657. font-size: 16px
  658. .swimlane
  659. background: #2a2a2a
  660. line-height: 18px
  661. max-height: 100%
  662. /* Lists */
  663. .swimlane .list
  664. background: #666666
  665. border-radius: 0
  666. border: 0px solid #666666
  667. flex: 0 0 265px;
  668. .swimlane .list:first-child
  669. margin-left: 0
  670. .swimlane .list:nth-child(even) .list-header,
  671. .swimlane .list:nth-child(even) .list-body
  672. background: #6a6a6a
  673. .swimlane .list:nth-child(odd) .list-header,
  674. .swimlane .list:nth-child(odd) .list-body
  675. background: #555555
  676. .list-header
  677. background: #6a6a6a
  678. .list-header .viewer
  679. padding-left: 10px
  680. .list-header .list-header-name,
  681. .minicard
  682. line-height: 14px
  683. color: #eeeeee
  684. .list-header .list-header-menu
  685. padding: 10px
  686. top: 0
  687. .list-header .list-header-plus-top
  688. color: #a6a6a6
  689. .list-body
  690. scrollbar-width: thin
  691. scrollbar-color: #343434 #999999
  692. .list-body::-webkit-scrollbar
  693. width: 10px
  694. .list-body::-webkit-scrollbar-track
  695. background: #343434
  696. border-radius: 3px
  697. margin: 4px 0
  698. .list-body::-webkit-scrollbar-thumb
  699. background-color: #999999
  700. border-radius: 6px
  701. border: 3px solid #343434
  702. .list-body .open-minicard-composer:hover
  703. background: none
  704. box-shadow: none
  705. border-bottom: 0
  706. .list-body a.open-minicard-composer, .list-body a.open-minicard-composer i, .list .list-composer .open-list-composer i
  707. color: #bbbbbb
  708. .list-body a.open-minicard-composer:hover, .list-body a.open-minicard-composer:hover i, .list .list-composer .open-list-composer:hover i
  709. color: #ffffff
  710. border-radius: 7px
  711. /* Mini Card */
  712. .minicard-wrapper
  713. margin-bottom: 12px
  714. .minicard
  715. background-color: #444444
  716. color: #cccccc
  717. border-radius: 2px
  718. font-size: 0.95em
  719. box-shadow: 0 4px 3px -3px rgba(0,0,0,0.8)
  720. border-bottom: 1px solid #666666
  721. padding: 8px
  722. .minicard:hover
  723. color: #f7f7f7
  724. background-color: #4d4d4d !important
  725. .minicard .minicard-labels
  726. margin-bottom: 4px
  727. .minicard .card-label
  728. font-size: 11px
  729. font-weight: 400
  730. padding: 1px 6px 0
  731. border-radius: 2px
  732. .minicard .badges
  733. color: #bbbbbb
  734. .minicard .date
  735. margin-top: 10px
  736. font-size: 11px
  737. .card-date
  738. color: #444444
  739. border-radius: 2px
  740. .card-date.almost-due
  741. color: #444444
  742. .minicard.minicard-composer textarea.minicard-composer-textarea:focus
  743. background-color: #eeeeee
  744. color: #333333
  745. padding: 6px
  746. .is-selected .minicard
  747. background-color: #666666
  748. /* Card Details */
  749. .card-details
  750. background-color: #454545
  751. color: #cccccc
  752. box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)
  753. border: 1px solid #111111
  754. z-index: 100 !important
  755. @media screen and (max-width: 800px)
  756. .card-details
  757. width: 98%
  758. @media screen and (min-width: 801px)
  759. .card-details
  760. position: absolute
  761. top: 30px
  762. left: calc(50% - 384px)
  763. width: 768px
  764. max-height: calc(100% - 60px)
  765. .card-details
  766. scrollbar-width: thin
  767. scrollbar-color: #343434 #999999
  768. .card-details::-webkit-scrollbar
  769. width: 16px
  770. .card-details::-webkit-scrollbar-track
  771. background: #343434
  772. .card-details::-webkit-scrollbar-thumb
  773. background-color: #999999
  774. border-radius: 6px
  775. border: 4px solid #343434
  776. .card-details .card-details-header
  777. background: #333333
  778. color: #cccccc
  779. border-bottom: 2px solid #2d2d2d
  780. .card-details hr
  781. background: #2d2d2d
  782. .card-details .card-details-item-title
  783. color: #ffffff
  784. .card-details .new-description textarea, .card-details .new-comment textarea
  785. background-color: #dddddd
  786. color: #111111
  787. .card-details .checklist
  788. background-color: transparent
  789. margin-bottom: 10px
  790. .card-details .checklist-item
  791. background-color: rgba(255,255,255,0.1)
  792. padding: 4px 8px
  793. border-radius: 2px
  794. font-size: 13px
  795. margin-top: 5px
  796. .card-details .checklist-item:hover
  797. background-color: rgba(255,255,255,0.2)
  798. .card-details .checklist-item .item-title .viewer p
  799. max-width: auto
  800. .card-details .check-box.materialCheckBox
  801. border-color: #ffffff
  802. .card-details .check-box.materialCheckBox.is-checked
  803. border-bottom: 2px solid #ffffff
  804. border-right: 2px solid #ffffff
  805. border-top: 0
  806. border-left: 0
  807. .card-details .js-add-checklist-item
  808. margin-top: 4px
  809. .checklist-items .add-checklist-item
  810. margin-top: .7em
  811. .card-details .activities .activity .activity-desc .activity-comment
  812. background-color: #cccccc
  813. color: #222222
  814. /* Sidebar */
  815. .sidebar .sidebar-shadow
  816. background-color: #222222
  817. box-shadow: -10px 0 5px -10px #444444
  818. border-left: 1px solid #333333
  819. color: #cccccc
  820. .activities .activity .activity-desc .activity-comment
  821. background-color: #cccccc
  822. color: #222222
  823. /* Pop-Ups for "Modern Dark" */
  824. .pop-over.board-color-moderndark
  825. background-color: #454545
  826. color: #cccccc
  827. border: 1px solid #111111
  828. box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)
  829. .pop-over.board-color-moderndark .header
  830. background-color: #333333
  831. .pop-over.board-color-moderndark .header-title
  832. font-family: Poppins
  833. font-size: 16px
  834. color: #cccccc
  835. .pop-over.board-color-moderndark .pop-over-list li > a:hover
  836. background-color: rgba(255,255,255,0.2)