You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

621 line
12 KiB

  1. html {
  2. min-height: 100%;
  3. }
  4. body {
  5. height: 100%;
  6. /* The html and body elements cannot have any padding or margin. */
  7. margin: 0px;
  8. padding: 0px !important;
  9. }
  10. html,
  11. body {
  12. overflow-x: hidden;
  13. /* Prevent scroll on narrow devices */
  14. }
  15. .offcanvas-main-section-overlay {
  16. display: none;
  17. cursor: pointer;
  18. opacity: 0.5;
  19. }
  20. .sidebar-padding {
  21. padding: 12px 14px;
  22. }
  23. .offcanvas .sidebar .sidebar-menu > li > .btn-group,
  24. .offcanvas .sidebar .sidebar-menu > li > a,
  25. .offcanvas .sidebar .dropdown-menu > li > a {
  26. padding: 12px 14px;
  27. display: block;
  28. whitespace: nowrap;
  29. transition: 0.2s;
  30. text-decoration: none !important;
  31. }
  32. .offcanvas .sidebar .dropdown-menu {
  33. padding: 0px;
  34. font-size: inherit;
  35. }
  36. .offcanvas .sidebar .dropdown-menu > li > a {
  37. padding-left: 28px;
  38. }
  39. .offcanvas .sidebar .divider {
  40. height: 1px;
  41. overflow: hidden;
  42. background-color: #EBEFF2;
  43. width: 100%;
  44. margin: 0px;
  45. }
  46. .offcanvas .sidebar .badge {
  47. right: 15px !important;
  48. top: 11px !important;
  49. }
  50. .offcanvas .sidebar .sidebar-menu > li > a:hover,
  51. .offcanvas .sidebar .dropdown-menu > li > a:hover,
  52. .offcanvas .sidebar .sidebar-menu > li > a:focus,
  53. .offcanvas .sidebar .dropdown-menu > li > a:focus,
  54. .offcanvas .sidebar .sidebar-menu > li > a:active,
  55. .offcanvas .sidebar .dropdown-menu > li > a:active {
  56. background-color: #F0F4F7;
  57. }
  58. @media (max-width: 767px) {
  59. .page-content {
  60. min-height: 200px;
  61. }
  62. .offcanvas {
  63. transition: 0.25s;
  64. }
  65. .offcanvas-main-section-overlay {
  66. bottom: 0;
  67. position: fixed;
  68. }
  69. .offcanvas-container,
  70. .offcanvas,
  71. .offcanvas-main-section {
  72. position: absolute;
  73. left: 0;
  74. right: 0;
  75. top: 0;
  76. bottom: 0;
  77. }
  78. .offcanvas.active-left,
  79. .offcanvas.active-right {
  80. position: fixed;
  81. }
  82. .offcanvas.active-left .offcanvas-main-section-overlay,
  83. .offcanvas.active-right .offcanvas-main-section-overlay {
  84. z-index: 1031;
  85. display: block;
  86. bottom: 0;
  87. }
  88. .offcanvas.active-left {
  89. -webkit-transform: translate3d(75%, 0, 0);
  90. transform: translate3d(75%, 0, 0);
  91. }
  92. .offcanvas.active-right {
  93. -webkit-transform: translate3d(-75%, 0, 0);
  94. transform: translate3d(-75%, 0, 0);
  95. }
  96. .offcanvas .sidebar {
  97. position: fixed;
  98. top: 0;
  99. bottom: 0;
  100. width: 75%;
  101. /* 9 columns */
  102. overflow-x: hidden;
  103. overflow-y: auto;
  104. font-size: 12px;
  105. }
  106. .offcanvas .sidebar-right {
  107. left: 100%;
  108. border-left: 1px solid #d1d8dd;
  109. }
  110. .offcanvas .sidebar-left {
  111. right: 100%;
  112. border-right: 1px solid #d1d8dd;
  113. }
  114. .offcanvas .sidebar-menu {
  115. margin-bottom: 0;
  116. }
  117. .offcanvas .navbar-form {
  118. margin: 0px;
  119. }
  120. .offcanvas .sidebar ul {
  121. margin: 0px;
  122. }
  123. .offcanvas .sidebar-page-sidebar {
  124. border-top: 1px solid #d1d8dd;
  125. }
  126. .offcanvas .sidebar-label {
  127. text-transform: uppercase;
  128. color: #8D99A6;
  129. font-size: 85%;
  130. margin: 0px;
  131. font-weight: bold;
  132. padding: 10px 15px 0px;
  133. }
  134. }
  135. .navbar .dropdown-toggle {
  136. padding-top: 8px;
  137. padding-bottom: 8px;
  138. }
  139. .navbar-fixed-top {
  140. left: 0px;
  141. right: 0px;
  142. }
  143. .navbar a {
  144. font-size: 12px;
  145. font-weight: bold;
  146. }
  147. .navbar-icon-home {
  148. vertical-align: middle;
  149. }
  150. .navbar-icon-home:hover,
  151. .navbar-icon-home:focus,
  152. .navbar-icon-home:active,
  153. .navbar-icon-home-hover {
  154. opacity: 1;
  155. Filter: alpha(opacity=100);
  156. /* For IE8 and earlier */
  157. }
  158. .navbar-user-image {
  159. width: 24px;
  160. height: 24px;
  161. margin-right: 3px;
  162. border-radius: 4px;
  163. }
  164. .navbar-new-comments {
  165. display: inline-block;
  166. min-width: 24px;
  167. height: 24px;
  168. border-radius: 4px;
  169. color: #fff;
  170. text-align: center;
  171. padding: 2px 5px;
  172. }
  173. .navbar-new-comments-true {
  174. background-color: #ff5858;
  175. }
  176. #navbar-search {
  177. width: 300px;
  178. background-color: rgba(255, 255, 255, 0.9);
  179. }
  180. .navbar .navbar-search-icon {
  181. color: #6C7680;
  182. font-size: inherit;
  183. position: relative;
  184. right: 24px;
  185. top: 1px;
  186. }
  187. .navbar .badge {
  188. font-weight: normal;
  189. }
  190. #navbar-search-results {
  191. left: auto;
  192. right: inherit;
  193. margin-top: -1px;
  194. max-height: 300px;
  195. overflow-y: auto;
  196. overflow-x: hidden;
  197. }
  198. .navbar-center {
  199. float: left;
  200. color: #6C7680;
  201. }
  202. #navbar-breadcrumbs > li > a:before {
  203. font-family: FontAwesome;
  204. font-weight: normal;
  205. font-style: normal;
  206. text-decoration: inherit;
  207. -webkit-font-smoothing: antialiased;
  208. *margin-right: .3em;
  209. display: inline-block;
  210. speak: none;
  211. font-size: 24px;
  212. transition: 0.2s;
  213. position: relative;
  214. top: 3px;
  215. content: "\f105";
  216. margin-right: 10px;
  217. color: #C0C9D2;
  218. }
  219. #navbar-breadcrumbs > li > a:hover:before,
  220. #navbar-breadcrumbs > li > a:focus:before,
  221. #navbar-breadcrumbs > li > a:active:before {
  222. color: #36414C;
  223. }
  224. #navbar-breadcrumbs > li > a {
  225. padding: 6px 15px 10px 0px;
  226. }
  227. .toolbar-user-fullname {
  228. max-width: 200px;
  229. display: inline-block;
  230. }
  231. .navbar-brand {
  232. padding: 10px;
  233. }
  234. .navbar-brand > img {
  235. display: inline-block;
  236. }
  237. .toggle-sidebar {
  238. margin-right: 15px;
  239. border: 0;
  240. }
  241. .navbar-default .navbar-nav > li > a,
  242. .navbar-default .navbar-brand {
  243. color: #8D99A6;
  244. }
  245. body {
  246. font-size: 16px;
  247. line-height: 1.65em;
  248. color: #454e57;
  249. -webkit-font-smoothing: antialiased;
  250. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  251. }
  252. .container {
  253. max-width: 870px;
  254. }
  255. img {
  256. max-width: 100%;
  257. }
  258. .splash {
  259. border-bottom: 1px solid #d1d8dd;
  260. }
  261. .splash .jumbotron {
  262. background-color: transparent;
  263. padding: 40px 0 60px 0;
  264. text-align: center;
  265. }
  266. .splash .jumbotron h1 {
  267. font-size: 48px;
  268. font-weight: 400;
  269. opacity: 0.9;
  270. color: #2E3338;
  271. }
  272. .splash .jumbotron p {
  273. font-size: 24px;
  274. font-color: #8D99A6 !important;
  275. letter-spacing: 0px;
  276. opacity: 0.7;
  277. margin-bottom: 90px;
  278. font-weight: 300;
  279. line-height: 1.4em;
  280. }
  281. .splash .section {
  282. padding: 30px 0 0 0;
  283. }
  284. .page-container {
  285. padding-top: 38px;
  286. margin: 0 auto;
  287. max-width: 870px;
  288. }
  289. .page-container .webpage-content ol > li,
  290. .page-container .webpage-content ul > li {
  291. margin: 13px auto;
  292. }
  293. .page-container .webpage-content ol > li li,
  294. .page-container .webpage-content ul > li li {
  295. margin: 4px auto;
  296. }
  297. .page-container .webpage-content ol li ol {
  298. list-style-type: disc;
  299. }
  300. .page-container .webpage-content ul,
  301. .page-container .webpage-content ol {
  302. margin-bottom: 32px;
  303. }
  304. @media (min-width: 768px) {
  305. .page-container .page-content {
  306. width: 83%;
  307. margin: 0 auto;
  308. }
  309. }
  310. #page-index {
  311. padding-top: 0;
  312. width: 100%;
  313. margin: 0;
  314. }
  315. #page-index .page-content {
  316. width: 100%;
  317. margin: 0;
  318. }
  319. body[data-path="index"] .navbar .toggle-sidebar i {
  320. color: #fff;
  321. }
  322. code {
  323. color: #e66a12;
  324. background: #fff6df;
  325. }
  326. pre {
  327. background: #fafbfc;
  328. border: 1px solid #e1e9f0;
  329. border-radius: 2px;
  330. }
  331. .hljs {
  332. background: transparent;
  333. border: none;
  334. padding: 1.2em 1.5em 1.5em;
  335. color: #454e57;
  336. }
  337. .hljs-keyword,
  338. .hljs-tag,
  339. .css .hljs-class,
  340. .css .hljs-id,
  341. .lisp .hljs-title,
  342. .nginx .hljs-title,
  343. .hljs-request,
  344. .hljs-status,
  345. .clojure .hljs-attribute {
  346. color: #e66a12;
  347. }
  348. .diff .hljs-deletion,
  349. .hljs-string,
  350. .hljs-tag .hljs-value,
  351. .hljs-preprocessor,
  352. .hljs-pragma,
  353. .hljs-built_in,
  354. .hljs-javadoc,
  355. .smalltalk .hljs-class,
  356. .smalltalk .hljs-localvars,
  357. .smalltalk .hljs-array,
  358. .css .hljs-rules .hljs-value,
  359. .hljs-attr_selector,
  360. .hljs-pseudo,
  361. .apache .hljs-cbracket,
  362. .tex .hljs-formula,
  363. .coffeescript .hljs-attribute {
  364. color: #dd4a68;
  365. }
  366. .hljs-number,
  367. .hljs-date,
  368. .hljs-regexp,
  369. .hljs-literal,
  370. .hljs-hexcolor,
  371. .smalltalk .hljs-symbol,
  372. .smalltalk .hljs-char,
  373. .go .hljs-constant,
  374. .hljs-change,
  375. .lasso .hljs-variable,
  376. .makefile .hljs-variable,
  377. .asciidoc .hljs-bullet,
  378. .markdown .hljs-bullet,
  379. .asciidoc .hljs-link_url,
  380. .markdown .hljs-link_url {
  381. color: #7575ff;
  382. }
  383. .hljs-shebang,
  384. .diff .hljs-addition,
  385. .hljs-comment,
  386. .hljs-annotation,
  387. .hljs-template_comment,
  388. .hljs-pi,
  389. .hljs-doctype {
  390. color: #6a906a;
  391. }
  392. .dos .hljs-keyword,
  393. .hljs-decorator,
  394. .hljs-title,
  395. .hljs-type,
  396. .diff .hljs-header,
  397. .ruby .hljs-class .hljs-parent,
  398. .apache .hljs-tag,
  399. .nginx .hljs-built_in,
  400. .tex .hljs-command,
  401. .hljs-prompt {
  402. color: #4f4fa4;
  403. }
  404. .navbar {
  405. max-width: 870px;
  406. margin-left: auto;
  407. margin-right: auto;
  408. }
  409. .navbar a {
  410. font-size: 16px;
  411. font-weight: normal;
  412. }
  413. .navbar a.navbar-brand {
  414. font-weight: bold;
  415. }
  416. .navbar a.toggle-sidebar {
  417. margin-top: 8px;
  418. }
  419. .sidebar a {
  420. font-size: 14px;
  421. padding-top: 14px !important;
  422. padding-bottom: 14px !important;
  423. }
  424. .breadcrumb {
  425. line-height: 1em;
  426. color: #8D99A6;
  427. background-color: transparent;
  428. margin-bottom: 32px;
  429. padding: 0px;
  430. padding-left: 20px;
  431. background: url('/assets/img/up.png') 0% 30% no-repeat;
  432. }
  433. .breadcrumb .icon {
  434. display: none;
  435. }
  436. .breadcrumb a,
  437. .breadcrumb a:hover,
  438. .breadcrumb a:focus,
  439. .breadcrumb a:visited {
  440. color: #7575ff;
  441. font-size: 16px;
  442. }
  443. .hero-and-content a,
  444. .hero-and-content a:hover,
  445. .hero-and-content a:focus,
  446. .hero-and-content a:visited {
  447. color: #5E64FF;
  448. }
  449. .hero-and-content a.btn {
  450. color: inherit;
  451. }
  452. a.btn-primary {
  453. color: #7575ff;
  454. }
  455. a.btn-primary:hover,
  456. a.btn-primary:focus,
  457. a.btn-primary:visited {
  458. color: #7575ff;
  459. }
  460. .btn-next-wrapper {
  461. margin-top: 32px;
  462. text-align: right;
  463. }
  464. h2 {
  465. margin-top: 48px;
  466. font-size: 24px;
  467. }
  468. h3,
  469. h4 {
  470. margin-top: 48px;
  471. }
  472. p {
  473. margin-bottom: 16px;
  474. }
  475. .hero-and-content > p {
  476. max-width: 723px;
  477. margin: 0 auto;
  478. }
  479. .navbar {
  480. background-color: transparent;
  481. border: none;
  482. padding: 15px 0px;
  483. border-radius: 0px;
  484. border-bottom: 1px solid #d1d8dd;
  485. }
  486. .section {
  487. padding: 64px 0 0 0;
  488. }
  489. .dev-header {
  490. margin-bottom: 30px;
  491. }
  492. .docs-footer {
  493. padding: 30px 0px 60px 0px;
  494. border-top: 1px solid #d1d8dd;
  495. max-width: 870px;
  496. margin: 0 auto;
  497. margin-top: 80px;
  498. font-size: 14px;
  499. }
  500. .docs-footer h3 {
  501. margin-top: 24px;
  502. font-size: 16px;
  503. }
  504. .docs-footer img.frappe-bird {
  505. width: 40px;
  506. height: 40px;
  507. background: #fff;
  508. margin-bottom: 10px;
  509. padding: 5px;
  510. }
  511. .docs-footer a {
  512. color: #8D99A6;
  513. }
  514. .docs-footer li {
  515. display: inline-block;
  516. margin: 0 10px;
  517. }
  518. .docs-footer .built-with-frappe {
  519. margin-top: -50px;
  520. }
  521. .browser-image {
  522. min-height: 200px;
  523. border: 1px solid #d1d8dd;
  524. border-bottom: 0px;
  525. }
  526. .fake-browser-frame {
  527. position: relative;
  528. margin: 24px auto 0px;
  529. box-shadow: 0px -6px 100px 1px rgba(0, 0, 0, 0.1), 0px -6px 50px 1px rgba(0, 0, 0, 0.4);
  530. }
  531. .fake-browser-frame::before {
  532. content: "";
  533. height: 24px;
  534. position: absolute;
  535. top: -24px;
  536. left: 0px;
  537. right: 0px;
  538. border: 1px solid #d1d8dd;
  539. background: #f5f7fa;
  540. border-bottom: none;
  541. border-top-left-radius: 4px;
  542. border-top-right-radius: 4px;
  543. }
  544. .fake-browser-frame::after {
  545. content: '\f111 \00a0\00a0 \f111 \00a0\00a0 \f111';
  546. position: absolute;
  547. color: #d1d8dd;
  548. top: -15px;
  549. left: 8px;
  550. /* octicon */
  551. font: normal normal;
  552. font-size: 8px;
  553. font-family: 'FontAwesome';
  554. line-height: 1;
  555. display: inline-block;
  556. text-decoration: none;
  557. -webkit-font-smoothing: antialiased;
  558. -moz-osx-font-smoothing: grayscale;
  559. -webkit-user-select: none;
  560. -moz-user-select: none;
  561. -ms-user-select: none;
  562. user-select: none;
  563. }
  564. .fake-iphone-frame {
  565. position: relative;
  566. padding: 40px 8px;
  567. border: 1px solid #d1d8dd;
  568. border-radius: 15px;
  569. }
  570. .fake-ipad-frame {
  571. position: relative;
  572. padding: 8px 40px;
  573. border: 1px solid #d1d8dd;
  574. border-radius: 15px;
  575. }
  576. .screenshot {
  577. border: 1px solid #d1d8dd;
  578. box-shadow: 1px 1px 7px rgba(0, 0, 0, 0.15);
  579. margin: 8px 0px;
  580. max-width: 100%;
  581. }
  582. hr {
  583. margin: 48px 0px 30px;
  584. }
  585. .edit {
  586. color: #8d99a6;
  587. }
  588. a.edit,
  589. a.edit:hover,
  590. a.edit:focus,
  591. a.edit:visited,
  592. .edit-container .icon {
  593. color: #8d99a6;
  594. }
  595. .btn-next {
  596. margin-top: 30px;
  597. margin-bottom: 0px;
  598. }
  599. .btn-next:after {
  600. content: " \2192";
  601. }
  602. #current td {
  603. font-weight: bold;
  604. }
  605. #current td code {
  606. font-weight: normal;
  607. background: transparent;
  608. font-family: "Helvetica Neue", Helvetica, Arial, "Open Sans", sans-serif;
  609. color: #454e57;
  610. font-size: 16px;
  611. }
  612. .hero-and-content [data-html-block="hero"] {
  613. overflow-y: hidden;
  614. }
  615. .page-content-wrapper > .row .col-sm-8 {
  616. width: 100%;
  617. }
  618. .page-content-wrapper > .row .col-sm-4 {
  619. display: none;
  620. }