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.
 
 
 
 
 
 

600 lines
11 KiB

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