layouts.styl 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536
  1. @import 'nib'
  2. global-reset()
  3. *
  4. -webkit-box-sizing: unset
  5. box-sizing: unset
  6. .note-popover .popover-content .note-color-palette div .note-color-btn, .panel-heading.note-toolbar .note-color-palette div .note-color-btn
  7. background: none
  8. a:focus
  9. outline: unset
  10. outline-offset: unset
  11. a:hover,a:focus
  12. color: unset
  13. text-decoration: unset
  14. .badge
  15. display: unset
  16. min-width: unset
  17. padding: unset
  18. font-size: unset
  19. font-weight: unset
  20. line-height: unset
  21. color: unset
  22. text-align: unset
  23. white-space: unset
  24. vertical-align: unset
  25. background-color: unset
  26. border-radius: unset
  27. html, body, input, select, textarea, button
  28. font: 14px Roboto, "Helvetica Neue", Arial, Helvetica, sans-serif
  29. line-height: 18px
  30. color: #4d4d4d
  31. html
  32. font-size: 100%
  33. max-height: 100%
  34. user-select: none
  35. -webkit-text-size-adjust: 100%
  36. body
  37. background: darken(white, 13%)
  38. margin: 0
  39. position: relative
  40. z-index: 0
  41. overflow-y: auto
  42. display: flex
  43. flex-direction: column
  44. height: 100vh
  45. #content
  46. position: relative
  47. flex: 1
  48. overflow-x: hidden
  49. .sk-spinner
  50. margin-top: 30vh
  51. > .wrapper
  52. margin-top: 10px
  53. padding: 15px
  54. #modal
  55. position: absolute
  56. top: 0
  57. bottom: 0
  58. left: 0
  59. right: 0
  60. background: rgba(0, 0, 0, 0.6)
  61. z-index: 100
  62. overflow-y: auto
  63. .modal-content
  64. width: 500px
  65. min-height: 160px
  66. margin: 42px auto
  67. padding: 12px
  68. border-radius: 4px
  69. background: darken(white, 13%)
  70. z-index: 110
  71. h2
  72. margin-bottom: 25px
  73. .modal-close-btn
  74. display: block
  75. float: right
  76. font-size: 24px
  77. .modal-content-wide
  78. width: 800px
  79. min-height: 0px
  80. margin: 42px auto
  81. padding: 12px
  82. border-radius: 4px
  83. background: darken(white, 13%)
  84. z-index: 110
  85. h2
  86. margin-bottom: 25px
  87. .modal-close-btn
  88. display: block
  89. float: right
  90. font-size: 24px
  91. h1
  92. font-size: 22px
  93. line-height: 1.2em
  94. margin: 0 0 10px
  95. h2
  96. font-size: 18px
  97. line-height: 1.2em
  98. margin: 0 0 9px
  99. h3, h4, h5, h6
  100. font-size: 16px
  101. line-height: 1.25em
  102. margin: 0 0 6px
  103. .quiet, .quiet a
  104. color: #8c8c8c
  105. .error, .error a
  106. color: #eb3800
  107. .no-items-message
  108. color: darken(white, 60%)
  109. margin: 30px 0
  110. text-align: center
  111. .warning
  112. background: #f0ecdb
  113. border-radius: 3px
  114. color: #aa8f09
  115. padding: 6px 8px
  116. a
  117. color: #aa8f09
  118. .small
  119. font-size: 0.8em
  120. a
  121. color: inherit
  122. cursor: pointer
  123. text-decoration: none
  124. &.is-disabled,
  125. &.is-disabled:hover
  126. cursor: default
  127. text-decoration: none
  128. span a
  129. text-decoration: underline
  130. strong
  131. font-weight: bold
  132. p
  133. user-select: text
  134. a
  135. text-decoration: underline
  136. word-wrap: break-word
  137. table, p
  138. margin-bottom: 8px
  139. pre
  140. margin: 15px 0
  141. white-space: pre
  142. max-height: 516px
  143. pre,
  144. code,
  145. tt
  146. font-family: lucida console, monospace
  147. line-height: 1.25em
  148. blockquote
  149. margin: 8px 0 8px 8px
  150. border-left: 1px solid #ccc
  151. color: #666
  152. padding: 0 0 0 8px
  153. hr
  154. height: 1px
  155. border: 0
  156. border: none
  157. width: 100%
  158. background: #dbdbdb
  159. color: #dbdbdb
  160. margin: 15px 0
  161. padding: 0
  162. table, td, th
  163. vertical-align: top
  164. border-top: 1px solid #ccc
  165. border-left: 1px solid #ccc
  166. td, th
  167. padding: 5px
  168. border-right: 1px solid #ccc
  169. border-bottom: 1px solid #ccc
  170. th
  171. font-weight: 700
  172. thead
  173. background: #fff
  174. background: linear-gradient(to bottom, #fff 0, #f0f0f0 100%)
  175. tbody
  176. background-color: #fff
  177. dl, dt
  178. margin-bottom: 8px
  179. dd
  180. margin: 0 0 16px 24px
  181. kbd
  182. padding: 1px 3px
  183. margin: 3px
  184. font-weight: bold
  185. background: darken(white, 2%)
  186. border-radius: 3px
  187. border: 1px solid darken(white, 10%)
  188. color: unset
  189. box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.15)
  190. .clear
  191. clear: both
  192. .clearfix
  193. clearfix()
  194. .hide
  195. display: none
  196. .show
  197. display: block
  198. .bold
  199. font-weight: 700
  200. .center
  201. text-align: center
  202. .left
  203. float: left
  204. .right
  205. float: right
  206. .first
  207. margin-left: 0
  208. padding-left: 0
  209. .last
  210. margin-right: 0
  211. padding-right: 0
  212. .top
  213. margin-top: 0
  214. padding-top: 0
  215. .bottom
  216. margin-bottom: 0
  217. padding-bottom: 0
  218. .wrapper
  219. max-width: 1200px
  220. margin: 0 auto
  221. .relative
  222. position: relative
  223. .block
  224. display: block
  225. .inline
  226. display: inline
  227. .inline-block
  228. display: inline-block
  229. .pointer
  230. cursor: pointer
  231. .ellip
  232. overflow: hidden
  233. text-overflow: ellipsis
  234. white-space: nowrap
  235. .underline
  236. text-decoration: underline
  237. .lowercase
  238. text-transform: lowercase
  239. .invisible
  240. visibility: hidden
  241. .wrapword
  242. word-wrap: break-word
  243. .grab
  244. cursor: grab
  245. .grabbing
  246. cursor: grabbing
  247. // Implement a thiner close icon as suggested in
  248. // https://github.com/FortAwesome/Font-Awesome/issues/1540#issuecomment-68689950
  249. .fa.fa-times-thin:before
  250. content: '\00d7'
  251. .fa.fa-globe.colorful, .fa.fa-bell.colorful
  252. color: #4caf50
  253. .fa.fa-lock.colorful, .fa.fa-bell-slash.colorful
  254. color: #f44336
  255. .fa.fa-eye.colorful
  256. color: #4336f4
  257. .pop-over .pop-over-list li a:not(.disabled):hover
  258. .fa, .fa.colorful
  259. color: white
  260. &:hover
  261. color: white
  262. a
  263. &.fa, i.fa
  264. color: darken(white, 35%)
  265. &:not(.disabled):hover, &:not(.disabled).is-active
  266. &.fa, i.fa
  267. color: darken(white, 60%)
  268. .ui-draggable-dragging
  269. z-index: 200
  270. .atMention
  271. background: #dbdbdb
  272. border-radius: 3px
  273. padding: 1px 4px
  274. margin: -1px 0
  275. display: inline-block
  276. &.me
  277. background: #cfdfe8
  278. .big-message
  279. display: block
  280. margin: 75px auto
  281. text-align: center
  282. max-width: 600px
  283. h1
  284. font-size: 26px
  285. margin-bottom: 24px
  286. p
  287. font-size: 18px
  288. line-height: 22px
  289. .gutter
  290. margin-left: 38px
  291. .viewer
  292. min-height: 18px
  293. display: block
  294. word-wrap: break-word
  295. ol
  296. list-style-type: decimal
  297. padding-left: 20px
  298. ul
  299. list-style-type: initial
  300. padding-left: 20px
  301. em
  302. font-style : italic
  303. pre
  304. padding: 10px 12px 7px
  305. background: darken(white, 13%)
  306. overflow-y: auto
  307. a
  308. text-decoration: underline
  309. &:hover
  310. color: #333
  311. .basicTabs-container .tabs-content-container
  312. padding: 0
  313. padding-top: 15px
  314. @keyframes fadeIn
  315. from
  316. opacity: 0
  317. @keyframes flexGrowIn
  318. from
  319. // Support IE11 https://github.com/wekan/wekan/pull/646
  320. height: 100%
  321. @media screen and (max-width: 800px)
  322. #content
  323. margin: 1px 0px 0px 0px
  324. height: calc(100% - 0px)
  325. > .wrapper
  326. margin-top: 0px
  327. .wrapper
  328. height: 100%
  329. margin: 0px
  330. .panel-default
  331. width: 83vw
  332. .inline-input
  333. height: 37px
  334. margin: 8px 10px 0 0
  335. width: 50px
  336. .select-authentication
  337. width: 100%
  338. .auth-layout
  339. display: flex
  340. flex-direction: column
  341. align-items: center
  342. justify-content: center
  343. height: 100%
  344. .auth-dialog
  345. margin: 0 !important
  346. .loadingText
  347. text-align: center
  348. .lds-roller
  349. display: block
  350. margin: auto
  351. position: relative
  352. width: 64px
  353. height: 64px
  354. div
  355. animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite
  356. transform-origin: 32px 32px
  357. div:after
  358. content: " "
  359. display: block
  360. position: absolute
  361. width: 6px
  362. height: 6px
  363. border-radius: 50%
  364. background: #dedede
  365. margin: -3px 0 0 -3px
  366. div:nth-child(1)
  367. animation-delay: -0.036s
  368. div:nth-child(1):after
  369. top: 50px
  370. left: 50px
  371. div:nth-child(2)
  372. animation-delay: -0.072s
  373. div:nth-child(2):after
  374. top: 54px
  375. left: 45px
  376. div:nth-child(3)
  377. animation-delay: -0.108s
  378. div:nth-child(3):after
  379. top: 57px
  380. left: 39px
  381. div:nth-child(4)
  382. animation-delay: -0.144s
  383. div:nth-child(4):after
  384. top: 58px
  385. left: 32px
  386. div:nth-child(5)
  387. animation-delay: -0.18s
  388. div:nth-child(5):after
  389. top: 57px
  390. left: 25px
  391. div:nth-child(6)
  392. animation-delay: -0.216s
  393. div:nth-child(6):after
  394. top: 54px
  395. left: 19px
  396. div:nth-child(7)
  397. animation-delay: -0.252s
  398. div:nth-child(7):after
  399. top: 50px
  400. left: 14px
  401. div:nth-child(8)
  402. animation-delay: -0.288s
  403. div:nth-child(8):after
  404. top: 45px
  405. left: 10px
  406. @keyframes lds-roller
  407. 0%
  408. transform: rotate(0deg)
  409. 100%
  410. transform: rotate(360deg)