layouts.css 10 KB

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