layouts.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683
  1. /* Fixed missing 'import nib' stylesheet reset and extra li bullet points
  2. * https://github.com/wekan/wekan/issues/4512#issuecomment-1129347536
  3. * https://github.com/stylus/nib/blob/master/lib/nib/reset.styl
  4. */
  5. a, abbr, acronym, address, applet, big, blockquote, body, caption, cite,
  6. code, dd, del, dfn, div, dl, dt, em, fieldset, form, h1, h2, h3, h4, h5,
  7. h6, html, iframe, img, ins, kbd, label, legend, li, object, ol, p, pre,
  8. q, s, samp, small, span, strike, strong, sub, sup,
  9. table, tbody, td, tfoot, th, thread, tr, tt, ul, var {
  10. margin: 0;
  11. padding: 0;
  12. outline: 0;
  13. font-weight: inherit;
  14. font-style: inherit;
  15. font-family: inherit;
  16. font-size: 100%;
  17. vertical-align: baseline;
  18. }
  19. ol, ul {
  20. list-style: none;
  21. }
  22. a img {
  23. border: none;
  24. }
  25. /* reset body */
  26. body {
  27. line-height: 1;
  28. color: black;
  29. background: white;
  30. }
  31. /* reset table cell */
  32. table {
  33. border-collapse: separate;
  34. border-spacing: 0;
  35. vertical-align: middle;
  36. }
  37. caption, td, th {
  38. text-align: left;
  39. font-weight: normal;
  40. vertical-align: middle;
  41. }
  42. /* reset html5 */
  43. article, aside, canvas, details, figcaption,
  44. figure, footer, header, hgroup, menu, nav,
  45. section, summary, main {
  46. display: block;
  47. }
  48. audio, canvas, video {
  49. display: inline-block;
  50. *display: inline;
  51. *zoom: 1;
  52. }
  53. audio:not([controls]),[hidden] {
  54. display: none;
  55. }
  56. /* End of reset css */
  57. * {
  58. -webkit-box-sizing: unset;
  59. box-sizing: unset;
  60. }
  61. .note-popover .popover-content .note-color-palette div .note-color-btn,
  62. .panel-heading.note-toolbar .note-color-palette div .note-color-btn {
  63. background: none;
  64. }
  65. a:focus {
  66. outline: unset;
  67. outline-offset: unset;
  68. }
  69. a:hover,
  70. a:focus {
  71. color: unset;
  72. text-decoration: unset;
  73. }
  74. .badge {
  75. display: unset;
  76. min-width: unset;
  77. padding: unset;
  78. font-size: unset;
  79. font-weight: unset;
  80. line-height: unset;
  81. color: unset;
  82. text-align: unset;
  83. white-space: unset;
  84. vertical-align: unset;
  85. background-color: unset;
  86. border-radius: unset;
  87. }
  88. html,
  89. body,
  90. input,
  91. select,
  92. textarea,
  93. button {
  94. font: 14px Roboto, Poppins, "Helvetica Neue", Arial, Helvetica, sans-serif;
  95. line-height: 18px;
  96. color: #4d4d4d;
  97. }
  98. html {
  99. font-size: 100%;
  100. max-height: 100%;
  101. user-select: none;
  102. -webkit-text-size-adjust: 100%;
  103. }
  104. body {
  105. background: #dedede;
  106. margin: 0;
  107. position: relative;
  108. z-index: 0;
  109. overflow-y: auto;
  110. display: flex;
  111. flex-direction: column;
  112. height: 100vh;
  113. }
  114. #content {
  115. position: relative;
  116. flex: 1;
  117. overflow-x: hidden;
  118. }
  119. #content .sk-spinner {
  120. margin-top: 30vh;
  121. }
  122. #content > .wrapper {
  123. margin-top: 10px;
  124. padding: 15px;
  125. }
  126. #modal {
  127. position: absolute;
  128. top: 0;
  129. bottom: 0;
  130. left: 0;
  131. right: 0;
  132. background: rgba(0,0,0,0.6);
  133. z-index: 100;
  134. overflow-y: auto;
  135. }
  136. #modal .modal-content {
  137. width: 500px;
  138. min-height: 160px;
  139. margin: 42px auto;
  140. padding: 12px;
  141. border-radius: 4px;
  142. background: #dedede;
  143. z-index: 110;
  144. }
  145. #modal .modal-content h2 {
  146. margin-bottom: 25px;
  147. }
  148. #modal .modal-content .modal-close-btn {
  149. display: block;
  150. float: right;
  151. font-size: 24px;
  152. }
  153. #modal .modal-content-wide {
  154. width: 800px;
  155. min-height: 0px;
  156. margin: 42px auto;
  157. padding: 12px;
  158. border-radius: 4px;
  159. background: #dedede;
  160. z-index: 110;
  161. }
  162. #modal .modal-content-wide h2 {
  163. margin-bottom: 25px;
  164. }
  165. #modal .modal-content-wide .modal-close-btn {
  166. display: block;
  167. float: right;
  168. font-size: 24px;
  169. }
  170. h1 {
  171. font-size: 22px;
  172. line-height: 1.2em;
  173. margin: 0 0 10px;
  174. }
  175. h2 {
  176. font-size: 18px;
  177. line-height: 1.2em;
  178. margin: 0 0 9px;
  179. }
  180. h3,
  181. h4,
  182. h5,
  183. h6 {
  184. font-size: 16px;
  185. line-height: 1.25em;
  186. margin: 0 0 6px;
  187. }
  188. .quiet,
  189. .quiet a {
  190. color: #8c8c8c;
  191. }
  192. .error,
  193. .error a {
  194. color: #eb3800;
  195. }
  196. .no-items-message {
  197. color: #666;
  198. margin: 30px 0;
  199. text-align: center;
  200. }
  201. .warning {
  202. background: #f0ecdb;
  203. border-radius: 3px;
  204. color: #aa8f09;
  205. padding: 6px 8px;
  206. }
  207. .warning a {
  208. color: #aa8f09;
  209. }
  210. .small {
  211. font-size: 0.8em;
  212. }
  213. a {
  214. color: inherit;
  215. cursor: pointer;
  216. text-decoration: none;
  217. }
  218. a.is-disabled,
  219. a.is-disabled:hover {
  220. cursor: default;
  221. text-decoration: none;
  222. }
  223. span a {
  224. text-decoration: underline;
  225. }
  226. strong {
  227. font-weight: bold;
  228. }
  229. p {
  230. user-select: text;
  231. }
  232. p a {
  233. text-decoration: underline;
  234. word-wrap: break-word;
  235. }
  236. table,
  237. p {
  238. margin-bottom: 8px;
  239. }
  240. pre {
  241. margin: 15px 0;
  242. white-space: pre;
  243. max-height: 516px;
  244. }
  245. pre,
  246. code,
  247. tt {
  248. font-family: lucida console, monospace;
  249. line-height: 1.25em;
  250. }
  251. blockquote {
  252. margin: 8px 0 8px 8px;
  253. border-left: 1px solid #ccc;
  254. color: #666;
  255. padding: 0 0 0 8px;
  256. }
  257. hr {
  258. height: 1px;
  259. border: 0;
  260. border: none;
  261. width: 100%;
  262. background: #dbdbdb;
  263. color: #dbdbdb;
  264. margin: 15px 0;
  265. padding: 0;
  266. }
  267. table,
  268. td,
  269. th {
  270. vertical-align: top;
  271. border-top: 1px solid #ccc;
  272. border-left: 1px solid #ccc;
  273. }
  274. td,
  275. th {
  276. padding: 5px;
  277. border-right: 1px solid #ccc;
  278. border-bottom: 1px solid #ccc;
  279. }
  280. th {
  281. font-weight: 700;
  282. }
  283. thead {
  284. background: #fff;
  285. background: linear-gradient(to bottom, #fff 0, #f0f0f0 100%);
  286. }
  287. tbody {
  288. background-color: #fff;
  289. }
  290. dl,
  291. dt {
  292. margin-bottom: 8px;
  293. }
  294. dd {
  295. margin: 0 0 16px 24px;
  296. }
  297. kbd {
  298. padding: 1px 3px;
  299. margin: 3px;
  300. font-weight: bold;
  301. background: #fafafa;
  302. border-radius: 3px;
  303. border: 1px solid #e6e6e6;
  304. color: unset;
  305. box-shadow: 0px 2px 3px rgba(0,0,0,0.15);
  306. }
  307. .clear {
  308. clear: both;
  309. }
  310. .hide {
  311. display: none;
  312. }
  313. .show {
  314. display: block;
  315. }
  316. .bold {
  317. font-weight: 700;
  318. }
  319. .center {
  320. text-align: center;
  321. }
  322. .left {
  323. float: left;
  324. }
  325. .right {
  326. float: right;
  327. }
  328. .first {
  329. margin-left: 0;
  330. padding-left: 0;
  331. }
  332. .last {
  333. margin-right: 0;
  334. padding-right: 0;
  335. }
  336. .top {
  337. margin-top: 0;
  338. padding-top: 0;
  339. }
  340. .bottom {
  341. margin-bottom: 0;
  342. padding-bottom: 0;
  343. }
  344. .wrapper {
  345. width: calc(100% - 20px);
  346. margin: 0 auto;
  347. }
  348. .relative {
  349. position: relative;
  350. }
  351. .block {
  352. display: block;
  353. }
  354. .inline {
  355. display: inline;
  356. }
  357. .inline-block {
  358. display: inline-block;
  359. }
  360. .pointer {
  361. cursor: pointer;
  362. }
  363. .ellip {
  364. overflow: hidden;
  365. text-overflow: ellipsis;
  366. white-space: nowrap;
  367. }
  368. .underline {
  369. text-decoration: underline;
  370. }
  371. .lowercase {
  372. text-transform: lowercase;
  373. }
  374. .invisible {
  375. visibility: hidden;
  376. }
  377. .wrapword {
  378. word-wrap: break-word;
  379. }
  380. .grab {
  381. cursor: grab;
  382. }
  383. .grabbing {
  384. cursor: grabbing;
  385. }
  386. .textcomplete-dropdown {
  387. z-index: 2000 !important;
  388. }
  389. .fa.fa-times-thin:before {
  390. content: '\00d7';
  391. }
  392. .fa.fa-globe.colorful,
  393. .fa.fa-bell.colorful {
  394. color: #4caf50;
  395. }
  396. .fa.fa-lock.colorful,
  397. .fa.fa-bell-slash.colorful {
  398. color: #f44336;
  399. }
  400. .fa.fa-eye.colorful {
  401. color: #4336f4;
  402. }
  403. .pop-over .pop-over-list li a:not(.disabled):hover .fa,
  404. .pop-over .pop-over-list li a:not(.disabled):hover .fa.colorful {
  405. color: #fff;
  406. }
  407. .pop-over .pop-over-list li a:not(.disabled):hover .fa:hover,
  408. .pop-over .pop-over-list li a:not(.disabled):hover .fa.colorful:hover {
  409. color: #fff;
  410. }
  411. a.fa,
  412. a i.fa {
  413. color: #a6a6a6;
  414. }
  415. a:not(.disabled):hover.fa,
  416. a:not(.disabled).is-active.fa,
  417. a:not(.disabled):hover i.fa,
  418. a:not(.disabled).is-active i.fa {
  419. color: #666;
  420. }
  421. .ui-draggable-dragging {
  422. z-index: 200;
  423. }
  424. .atMention {
  425. background: #dbdbdb;
  426. border-radius: 3px;
  427. padding: 1px 4px;
  428. margin: -1px 0;
  429. display: inline-block;
  430. }
  431. .atMention.me {
  432. background: #cfdfe8;
  433. }
  434. .big-message {
  435. display: block;
  436. margin: 75px auto;
  437. text-align: center;
  438. max-width: 600px;
  439. }
  440. .big-message h1 {
  441. font-size: 26px;
  442. margin-bottom: 24px;
  443. }
  444. .big-message p {
  445. font-size: 18px;
  446. line-height: 22px;
  447. }
  448. .gutter {
  449. margin-left: 38px;
  450. }
  451. .viewer {
  452. min-height: 18px;
  453. display: block;
  454. word-wrap: break-word;
  455. }
  456. .viewer table {
  457. word-wrap: normal;
  458. word-break: normal;
  459. }
  460. .viewer ol {
  461. list-style-type: decimal;
  462. padding-left: 20px;
  463. padding-bottom: 10px;
  464. }
  465. .viewer ul {
  466. list-style-type: initial;
  467. padding-left: 20px;
  468. padding-bottom: 10px;
  469. }
  470. .viewer em {
  471. font-style: italic;
  472. }
  473. .viewer pre {
  474. padding: 10px 12px 7px;
  475. background: #dedede;
  476. overflow-y: auto;
  477. }
  478. .viewer a {
  479. text-decoration: underline;
  480. }
  481. .viewer a:hover {
  482. color: #333;
  483. }
  484. .basicTabs-container .tabs-content-container {
  485. padding: 0;
  486. padding-top: 15px;
  487. }
  488. @media screen and (max-width: 800px) {
  489. #content {
  490. margin: 1px 0px 0px 0px;
  491. height: calc(100% - 0px);
  492. }
  493. #content > .wrapper {
  494. margin-top: 0px;
  495. }
  496. .wrapper {
  497. height: calc(100% - 31px);
  498. margin: 0px;
  499. }
  500. .panel-default {
  501. width: 83vw;
  502. }
  503. }
  504. .inline-input {
  505. height: 37px;
  506. margin: 8px 10px 0 0;
  507. width: 50px;
  508. }
  509. .select-authentication {
  510. width: 100%;
  511. }
  512. .auth-layout {
  513. display: flex;
  514. flex-direction: column;
  515. align-items: center;
  516. justify-content: center;
  517. }
  518. .auth-layout .auth-dialog {
  519. margin: 0 !important;
  520. }
  521. .loadingText {
  522. text-align: center;
  523. }
  524. .lds-roller {
  525. display: block;
  526. margin: auto;
  527. position: relative;
  528. width: 64px;
  529. height: 64px;
  530. }
  531. .lds-roller div {
  532. animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  533. transform-origin: 32px 32px;
  534. }
  535. .lds-roller div:after {
  536. content: " ";
  537. display: block;
  538. position: absolute;
  539. width: 6px;
  540. height: 6px;
  541. border-radius: 50%;
  542. background: #dedede;
  543. margin: -3px 0 0 -3px;
  544. }
  545. .lds-roller div:nth-child(1) {
  546. animation-delay: -0.036s;
  547. }
  548. .lds-roller div:nth-child(1):after {
  549. top: 50px;
  550. left: 50px;
  551. }
  552. .lds-roller div:nth-child(2) {
  553. animation-delay: -0.072s;
  554. }
  555. .lds-roller div:nth-child(2):after {
  556. top: 54px;
  557. left: 45px;
  558. }
  559. .lds-roller div:nth-child(3) {
  560. animation-delay: -0.108s;
  561. }
  562. .lds-roller div:nth-child(3):after {
  563. top: 57px;
  564. left: 39px;
  565. }
  566. .lds-roller div:nth-child(4) {
  567. animation-delay: -0.144s;
  568. }
  569. .lds-roller div:nth-child(4):after {
  570. top: 58px;
  571. left: 32px;
  572. }
  573. .lds-roller div:nth-child(5) {
  574. animation-delay: -0.18s;
  575. }
  576. .lds-roller div:nth-child(5):after {
  577. top: 57px;
  578. left: 25px;
  579. }
  580. .lds-roller div:nth-child(6) {
  581. animation-delay: -0.216s;
  582. }
  583. .lds-roller div:nth-child(6):after {
  584. top: 54px;
  585. left: 19px;
  586. }
  587. .lds-roller div:nth-child(7) {
  588. animation-delay: -0.252s;
  589. }
  590. .lds-roller div:nth-child(7):after {
  591. top: 50px;
  592. left: 14px;
  593. }
  594. .lds-roller div:nth-child(8) {
  595. animation-delay: -0.288s;
  596. }
  597. .lds-roller div:nth-child(8):after {
  598. top: 45px;
  599. left: 10px;
  600. }
  601. #isSettingDatabaseCallDone {
  602. display: none;
  603. }
  604. .at-link {
  605. color: #17683a;
  606. text-decoration: underline;
  607. text-decoration-color: #17683a;
  608. }
  609. @-moz-keyframes fadeIn {
  610. from {
  611. opacity: 0;
  612. }
  613. }
  614. @-webkit-keyframes fadeIn {
  615. from {
  616. opacity: 0;
  617. }
  618. }
  619. @-o-keyframes fadeIn {
  620. from {
  621. opacity: 0;
  622. }
  623. }
  624. @keyframes fadeIn {
  625. from {
  626. opacity: 0;
  627. }
  628. }
  629. @-moz-keyframes flexGrowIn {
  630. from {
  631. height: 100%;
  632. }
  633. }
  634. @-webkit-keyframes flexGrowIn {
  635. from {
  636. height: 100%;
  637. }
  638. }
  639. @-o-keyframes flexGrowIn {
  640. from {
  641. height: 100%;
  642. }
  643. }
  644. @keyframes flexGrowIn {
  645. from {
  646. height: 100%;
  647. }
  648. }
  649. @-moz-keyframes lds-roller {
  650. 0% {
  651. transform: rotate(0deg);
  652. }
  653. 100% {
  654. transform: rotate(360deg);
  655. }
  656. }
  657. @-webkit-keyframes lds-roller {
  658. 0% {
  659. transform: rotate(0deg);
  660. }
  661. 100% {
  662. transform: rotate(360deg);
  663. }
  664. }
  665. @-o-keyframes lds-roller {
  666. 0% {
  667. transform: rotate(0deg);
  668. }
  669. 100% {
  670. transform: rotate(360deg);
  671. }
  672. }
  673. @keyframes lds-roller {
  674. 0% {
  675. transform: rotate(0deg);
  676. }
  677. 100% {
  678. transform: rotate(360deg);
  679. }
  680. }