boardColors.styl 25 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094
  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: 15px
  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: #5f5f5f
  673. .swimlane .list:nth-child(odd) .list-header,
  674. .swimlane .list:nth-child(odd) .list-body
  675. background: #3b3b3b
  676. .list-header
  677. padding: 10px
  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. //padding: 10px
  720. box-shadow: 0 4px 3px -3px rgba(0,0,0,0.8)
  721. border-bottom: 1px solid #666666
  722. // All minicards rounded corners:
  723. border-radius: 7px
  724. padding: 10px 10px 4px 10px
  725. //box-shadow: 2px 2px 4px 0px rgba(0,0,0,0.15)
  726. .minicard:hover
  727. color: #f7f7f7
  728. background-color: #797979 !important
  729. .minicard .minicard-labels
  730. margin-bottom: 4px
  731. .minicard .card-label
  732. font-size: 11px
  733. font-weight: 400
  734. padding: 1px 6px 0
  735. border-radius: 2px
  736. .minicard .badges
  737. color: #bbbbbb
  738. .minicard .date
  739. margin-top: 10px
  740. font-size: 11px
  741. .card-date
  742. color: #444444
  743. border-radius: 2px
  744. .card-date.almost-due
  745. color: #444444
  746. .minicard.minicard-composer textarea.minicard-composer-textarea:focus
  747. background-color: #eeeeee
  748. color: #333333
  749. padding: 6px
  750. .is-selected .minicard
  751. background-color: #666666
  752. /* Card Details */
  753. .card-details
  754. background-color: #454545
  755. color: #cccccc
  756. box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)
  757. border: 1px solid #111111
  758. z-index: 100 !important
  759. @media screen and (max-width: 800px)
  760. .card-details
  761. width: 98%
  762. @media screen and (min-width: 801px)
  763. .card-details
  764. position: absolute
  765. top: 30px
  766. left: calc(50% - 384px)
  767. width: 768px
  768. max-height: calc(100% - 60px)
  769. .card-details
  770. scrollbar-width: thin
  771. scrollbar-color: #343434 #999999
  772. .card-details::-webkit-scrollbar
  773. width: 16px
  774. .card-details::-webkit-scrollbar-track
  775. background: #343434
  776. .card-details::-webkit-scrollbar-thumb
  777. background-color: #999999
  778. border-radius: 6px
  779. border: 4px solid #343434
  780. .card-details .card-details-header
  781. background: #333333
  782. color: #cccccc
  783. border-bottom: 2px solid #2d2d2d
  784. .card-details hr
  785. background: #2d2d2d
  786. .card-details .card-details-item-title
  787. color: #ffffff
  788. .card-details .new-description textarea, .card-details .new-comment textarea
  789. background-color: #dddddd
  790. color: #111111
  791. .card-details .checklist
  792. background-color: transparent
  793. margin-bottom: 10px
  794. .card-details .checklist-item
  795. background-color: rgba(255,255,255,0.1)
  796. padding: 4px 8px
  797. border-radius: 2px
  798. font-size: 13px
  799. margin-top: 5px
  800. .card-details .checklist-item:hover
  801. background-color: rgba(255,255,255,0.2)
  802. .card-details .checklist-item .item-title .viewer p
  803. max-width: auto
  804. .card-details .check-box.materialCheckBox
  805. border-color: #ffffff
  806. .card-details .check-box.materialCheckBox.is-checked
  807. border-bottom: 2px solid #ffffff
  808. border-right: 2px solid #ffffff
  809. border-top: 0
  810. border-left: 0
  811. .card-details .js-add-checklist-item
  812. margin-top: 4px
  813. .checklist-items .add-checklist-item
  814. margin-top: .7em
  815. .card-details .activities .activity .activity-desc .activity-comment
  816. background-color: #cccccc
  817. color: #222222
  818. /* Sidebar */
  819. .sidebar .sidebar-shadow
  820. background-color: #222222
  821. box-shadow: -10px 0 5px -10px #444444
  822. border-left: 1px solid #333333
  823. color: #cccccc
  824. .activities .activity .activity-desc .activity-comment
  825. background-color: #cccccc
  826. color: #222222
  827. /* Pop-Ups for "Modern Dark" */
  828. .pop-over.board-color-moderndark
  829. background-color: #454545
  830. color: #cccccc
  831. border: 1px solid #111111
  832. box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)
  833. .pop-over.board-color-moderndark .header
  834. background-color: #333333
  835. .pop-over.board-color-moderndark .header-title
  836. font-family: Poppins
  837. font-size: 16px
  838. color: #cccccc
  839. .pop-over.board-color-moderndark .pop-over-list li > a:hover
  840. background-color: rgba(255,255,255,0.2)