2
0

boardColors.styl 28 KB

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