boardColors.styl 25 KB

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