boardColors.styl 25 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079
  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: #777777
  590. .toggle-switch:checked~.toggle-label
  591. background-color: #f7f7f7
  592. .toggle-label:after, .board-color-modern .toggle-switch:checked~.toggle-label:after
  593. background-color: #777777 !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) .list-header,
  661. .swimlane .list:nth-child(even) .list-body
  662. background: #5f5f5f
  663. .swimlane .list:nth-child(odd) .list-header,
  664. .swimlane .list:nth-child(odd) .list-body
  665. background: #3b3b3b
  666. .list-header
  667. padding: 10px
  668. .list-header .viewer
  669. padding-left: 10px
  670. .list-header .list-header-name,
  671. .minicard
  672. line-height: 14px
  673. color: #eeeeee
  674. .list-header .list-header-menu
  675. padding: 10px
  676. top: 0
  677. .list-header .list-header-plus-top
  678. color: #a6a6a6
  679. .list-body
  680. scrollbar-width: thin
  681. scrollbar-color: #343434 #999999
  682. .list-body::-webkit-scrollbar
  683. width: 10px
  684. .list-body::-webkit-scrollbar-track
  685. background: #343434
  686. border-radius: 3px
  687. margin: 4px 0
  688. .list-body::-webkit-scrollbar-thumb
  689. background-color: #999999
  690. border-radius: 6px
  691. border: 3px solid #343434
  692. .list-body .open-minicard-composer:hover
  693. background: none
  694. box-shadow: none
  695. border-bottom: 0
  696. .list-body a.open-minicard-composer, .list-body a.open-minicard-composer i, .list .list-composer .open-list-composer i
  697. color: #bbbbbb
  698. .list-body a.open-minicard-composer:hover, .list-body a.open-minicard-composer:hover i, .list .list-composer .open-list-composer:hover i
  699. color: #ffffff
  700. /* Mini Card */
  701. .minicard-wrapper
  702. margin-bottom: 12px
  703. .minicard
  704. background-color: #444444
  705. color: #cccccc
  706. border-radius: 2px
  707. font-size: 0.95em
  708. padding: 10px
  709. box-shadow: 0 4px 3px -3px rgba(0,0,0,0.8)
  710. border-bottom: 1px solid #666666
  711. .minicard:hover
  712. color: #f7f7f7
  713. background-color: #797979 !important
  714. .minicard .minicard-labels
  715. margin-bottom: 4px
  716. .minicard .card-label
  717. font-size: 11px
  718. font-weight: 400
  719. padding: 1px 6px 0
  720. border-radius: 2px
  721. .minicard .badges
  722. color: #bbbbbb
  723. .minicard .date
  724. margin-top: 10px
  725. font-size: 11px
  726. .card-date
  727. color: #444444
  728. border-radius: 2px
  729. .card-date.almost-due
  730. color: #444444
  731. .minicard.minicard-composer textarea.minicard-composer-textarea:focus
  732. background-color: #eeeeee
  733. color: #333333
  734. padding: 6px
  735. .is-selected .minicard
  736. background-color: #666666
  737. /* Card Details */
  738. .card-details
  739. background-color: #454545
  740. color: #cccccc
  741. box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)
  742. border: 1px solid #111111
  743. z-index: 100 !important
  744. @media screen and (max-width: 800px)
  745. .card-details
  746. width: 98%
  747. @media screen and (min-width: 801px)
  748. .card-details
  749. position: absolute
  750. top: 30px
  751. left: calc(50% - 384px)
  752. width: 768px
  753. max-height: calc(100% - 60px)
  754. .card-details
  755. scrollbar-width: thin
  756. scrollbar-color: #343434 #999999
  757. .card-details::-webkit-scrollbar
  758. width: 16px
  759. .card-details::-webkit-scrollbar-track
  760. background: #343434
  761. .card-details::-webkit-scrollbar-thumb
  762. background-color: #999999
  763. border-radius: 6px
  764. border: 4px solid #343434
  765. .card-details .card-details-header
  766. background: #333333
  767. color: #cccccc
  768. border-bottom: 2px solid #2d2d2d
  769. .card-details hr
  770. background: #2d2d2d
  771. .card-details .card-details-item-title
  772. color: #ffffff
  773. .card-details .new-description textarea, .card-details .new-comment textarea
  774. background-color: #dddddd
  775. color: #111111
  776. .card-details .checklist
  777. background-color: transparent
  778. margin-bottom: 10px
  779. .card-details .checklist-item
  780. background-color: rgba(255,255,255,0.1)
  781. padding: 4px 8px
  782. border-radius: 2px
  783. font-size: 13px
  784. margin-top: 5px
  785. .card-details .checklist-item:hover
  786. background-color: rgba(255,255,255,0.2)
  787. .card-details .checklist-item .item-title .viewer p
  788. max-width: auto
  789. .card-details .check-box.materialCheckBox
  790. border-color: #ffffff
  791. .card-details .check-box.materialCheckBox.is-checked
  792. border-bottom: 2px solid #ffffff
  793. border-right: 2px solid #ffffff
  794. border-top: 0
  795. border-left: 0
  796. .card-details .js-add-checklist-item
  797. margin-top: 4px
  798. .checklist-items .add-checklist-item
  799. margin-top: .7em
  800. .card-details .activities .activity .activity-desc .activity-comment
  801. background-color: #cccccc
  802. color: #222222
  803. /* Sidebar */
  804. .sidebar .sidebar-shadow
  805. background-color: #222222
  806. box-shadow: -10px 0 5px -10px #444444
  807. border-left: 1px solid #333333
  808. color: #cccccc
  809. .activities .activity .activity-desc .activity-comment
  810. background-color: #cccccc
  811. color: #222222
  812. /* Pop-Ups for "Modern Dark" */
  813. .pop-over.board-color-moderndark
  814. background-color: #454545
  815. color: #cccccc
  816. border: 1px solid #111111
  817. box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)
  818. .pop-over.board-color-moderndark .header
  819. background-color: #333333
  820. .pop-over.board-color-moderndark .header-title
  821. font-family: Poppins
  822. font-size: 16px
  823. color: #cccccc
  824. .pop-over.board-color-moderndark .pop-over-list li > a:hover
  825. background-color: rgba(255,255,255,0.2)