No Description
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.

s2-docs.css 15KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673
  1. @charset "UTF-8";
  2. .select2-result-repository {
  3. padding-top: 4px;
  4. padding-bottom: 3px; }
  5. .select2-result-repository__avatar {
  6. float: left;
  7. width: 60px;
  8. margin-right: 10px; }
  9. .select2-result-repository__avatar img {
  10. width: 100%;
  11. height: auto;
  12. border-radius: 2px; }
  13. .select2-result-repository__meta {
  14. margin-left: 70px; }
  15. .select2-result-repository__title {
  16. color: black;
  17. font-weight: bold;
  18. word-wrap: break-word;
  19. line-height: 1.1;
  20. margin-bottom: 4px; }
  21. .select2-result-repository__forks, .select2-result-repository__stargazers {
  22. margin-right: 1em; }
  23. .select2-result-repository__forks, .select2-result-repository__stargazers, .select2-result-repository__watchers {
  24. display: inline-block;
  25. color: #aaa;
  26. font-size: 11px; }
  27. .select2-result-repository__description {
  28. font-size: 13px;
  29. color: #777;
  30. margin-top: 4px; }
  31. .select2-results__option--highlighted .select2-result-repository__title {
  32. color: white; }
  33. .select2-results__option--highlighted .select2-result-repository__forks, .select2-results__option--highlighted .select2-result-repository__stargazers, .select2-results__option--highlighted .select2-result-repository__description, .select2-results__option--highlighted .select2-result-repository__watchers {
  34. color: #c6dcef; }
  35. .s2-docs-sidebar.affix {
  36. position: static; }
  37. @media (min-width: 768px) {
  38. .s2-docs-sidebar {
  39. padding-left: 20px; } }
  40. .s2-docs-sidenav {
  41. margin-top: 20px;
  42. margin-bottom: 20px; }
  43. .s2-docs-sidebar .nav > li > a {
  44. margin-left: -1px;
  45. display: block;
  46. padding: 4px 20px;
  47. font-size: 13px;
  48. font-weight: 500;
  49. color: #767676;
  50. border-left: 1px solid transparent;
  51. transition: color .2s, border-color .2s; }
  52. .s2-docs-sidebar .nav > li > a code {
  53. background-color: inherit;
  54. color: inherit; }
  55. .s2-docs-sidebar .nav > li > a:hover,
  56. .s2-docs-sidebar .nav > li > a:focus {
  57. color: #428BCA;
  58. text-decoration: none;
  59. background-color: transparent;
  60. border-left-color: #428BCA; }
  61. .s2-docs-sidebar .nav > .active > a,
  62. .s2-docs-sidebar .nav > .active:hover > a,
  63. .s2-docs-sidebar .nav > .active:focus > a {
  64. padding-left: 19px;
  65. font-weight: bold;
  66. color: #428BCA;
  67. background-color: transparent;
  68. border-left: 2px solid #428BCA; }
  69. .s2-docs-sidebar .nav .nav {
  70. display: none;
  71. padding-bottom: 10px; }
  72. .s2-docs-sidebar .nav .nav > li > a {
  73. padding-top: 1px;
  74. padding-bottom: 1px;
  75. padding-left: 30px;
  76. font-size: 12px;
  77. font-weight: normal; }
  78. .s2-docs-sidebar .nav .nav > li > a:hover,
  79. .s2-docs-sidebar .nav .nav > li > a:focus {
  80. padding-left: 30px; }
  81. .s2-docs-sidebar .nav .nav > .active > a,
  82. .s2-docs-sidebar .nav .nav > .active:hover > a,
  83. .s2-docs-sidebar .nav .nav > .active:focus > a {
  84. padding-left: 29px;
  85. font-weight: 400; }
  86. @media (min-width: 992px) {
  87. .s2-docs-sidebar .s2-docs-sidenav {
  88. padding-top: 40px;
  89. transition: border-color .2s;
  90. border-left: 1px solid transparent; }
  91. .s2-docs-sidebar.affix .s2-docs-sidenav {
  92. border-left-color: #eee; }
  93. .s2-docs-sidebar .nav > .active > ul {
  94. display: block; }
  95. .s2-docs-sidebar.affix,
  96. .s2-docs-sidebar.affix-bottom {
  97. width: 213px; }
  98. .s2-docs-sidebar.affix {
  99. position: fixed;
  100. top: 0px; }
  101. .s2-docs-sidebar.affix-bottom {
  102. position: absolute; }
  103. .s2-docs-sidebar.affix-bottom .s2-docs-sidenav,
  104. .s2-docs-sidebar.affix .s2-docs-sidenav {
  105. margin-top: 0;
  106. margin-bottom: 0; } }
  107. @media (min-width: 1200px) {
  108. .s2-docs-sidebar.affix-bottom,
  109. .s2-docs-sidebar.affix {
  110. width: 263px; } }
  111. /* Back to top (hidden on mobile) */
  112. .back-to-top {
  113. display: none;
  114. padding: 4px 10px;
  115. margin-top: 10px;
  116. margin-left: 10px;
  117. font-size: 12px;
  118. font-weight: 400;
  119. color: #999; }
  120. .back-to-top:hover {
  121. color: #428BCA;
  122. text-decoration: none; }
  123. @media (min-width: 768px) {
  124. .back-to-top {
  125. display: block; } }
  126. .navbar-toggle {
  127. border: none;
  128. background: transparent !important; }
  129. .navbar-toggle:hover {
  130. background: transparent !important; }
  131. .navbar-toggle .icon-bar {
  132. width: 22px;
  133. transition: all 0.2s; }
  134. .navbar-toggle .top-bar {
  135. transform: rotate(45deg);
  136. transform-origin: 10% 10%; }
  137. .navbar-toggle .middle-bar {
  138. opacity: 0; }
  139. .navbar-toggle .bottom-bar {
  140. transform: rotate(-45deg);
  141. transform-origin: 10% 90%; }
  142. .navbar-toggle.collapsed .top-bar {
  143. transform: rotate(0); }
  144. .navbar-toggle.collapsed .middle-bar {
  145. opacity: 1; }
  146. .navbar-toggle.collapsed .bottom-bar {
  147. transform: rotate(0); }
  148. h2 code,
  149. h3 code,
  150. h4 code {
  151. background-color: inherit; }
  152. pre.prettyprint {
  153. padding: 9px 14px;
  154. margin-bottom: 14px;
  155. background-color: #f7f7f9;
  156. border: 1px solid #e1e1e8; }
  157. .s2-docs-featurette {
  158. color: #777;
  159. padding: 15px 0;
  160. text-align: center; }
  161. .s2-docs-featurette h4 {
  162. margin: 30px 0 15px; }
  163. .s2-docs-featurette .fa {
  164. font-size: 28px;
  165. color: #777; }
  166. .s2-docs-container {
  167. line-height: 1.6; }
  168. section {
  169. margin-bottom: 40px; }
  170. .page-header {
  171. padding-bottom: 19px;
  172. margin-bottom: 29px; }
  173. .s2-docs-nav {
  174. margin-bottom: 0;
  175. border-color: #eee;
  176. background-color: #f6f6f6; }
  177. .s2-docs-nav .navbar-brand {
  178. font-weight: 500; }
  179. .s2-docs-nav .navbar-brand > img {
  180. display: inline;
  181. margin-right: 4px; }
  182. .s2-docs-nav .navbar-nav > .active > a,
  183. .s2-docs-nav .navbar-nav > .active > a:hover,
  184. .s2-docs-nav .navbar-nav > .active > a:focus {
  185. background-color: #f0f0f0;
  186. color: #000; }
  187. @media (min-width: 768px) {
  188. .s2-docs-nav .navbar-nav > li > .dropdown-menu:before {
  189. position: absolute;
  190. top: -21px;
  191. left: 24px;
  192. display: block;
  193. width: 0;
  194. height: 0;
  195. border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0.1);
  196. border-style: solid;
  197. border-width: 10px;
  198. content: ""; }
  199. .s2-docs-nav .navbar-nav > li > .dropdown-menu:after {
  200. position: absolute;
  201. top: -20px;
  202. left: 24px;
  203. display: block;
  204. width: 0;
  205. height: 0;
  206. border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) #FFF;
  207. border-style: solid;
  208. border-width: 10px;
  209. content: ''; }
  210. .s2-docs-nav .navbar-nav .dropdown-menu {
  211. border-radius: 4px;
  212. border-color: #ddd;
  213. margin-top: -1px; } }
  214. .s2-docs-footer {
  215. border-top: 1px solid #eee;
  216. color: #767676;
  217. padding-top: 40px;
  218. padding-bottom: 40px;
  219. margin-top: 100px;
  220. text-align: center; }
  221. .s2-docs-footer-links {
  222. padding-left: 0;
  223. margin-top: 20px; }
  224. .s2-docs-footer-links li {
  225. display: inline;
  226. padding: 0 2px; }
  227. .s2-docs-footer-links li:after {
  228. content: "·";
  229. padding-left: 8px; }
  230. .s2-docs-footer-links li:first-child {
  231. padding-left: 0; }
  232. .s2-docs-footer-links li:last-child:after {
  233. content: "";
  234. padding-left: 0; }
  235. @media (min-width: 768px) {
  236. .s2-docs-footer p {
  237. margin-bottom: 0; } }
  238. .alert {
  239. background: #fff;
  240. border: 1px solid #eee;
  241. border-left-width: 5px;
  242. border-radius: 3px;
  243. color: #333;
  244. margin: 20px 0;
  245. padding: 20px; }
  246. .alert h4 {
  247. font-size: 18px;
  248. margin-top: 0;
  249. margin-bottom: 5px; }
  250. .alert-danger {
  251. border-left-color: #ce4844; }
  252. .alert-danger h4 {
  253. color: #ce4844; }
  254. .alert-info {
  255. border-left-color: #1b809e; }
  256. .alert-info h4 {
  257. color: #1b809e; }
  258. .alert-warning {
  259. border-left-color: #aa6708; }
  260. .alert-warning h4 {
  261. color: #aa6708; }
  262. .s2-docs-home .jumbotron {
  263. margin-bottom: 0;
  264. color: #000; }
  265. .s2-docs-home .jumbotron h1 {
  266. color: #000;
  267. margin-top: 20px; }
  268. .s2-docs-home .lead {
  269. text-align: center;
  270. max-width: 800px;
  271. margin: 0 auto 40px; }
  272. .s2-docs-home .notice-previous {
  273. background: #f6f6f6;
  274. color: #666;
  275. border-bottom: 1px solid #eee;
  276. padding: 15px 20px; }
  277. .s2-docs-home .half-rule {
  278. width: 100px;
  279. margin: 40px auto; }
  280. .s2-example {
  281. position: relative;
  282. padding: 45px 15px 15px;
  283. margin: 0 -15px 15px;
  284. background-color: #fafafa;
  285. box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.05);
  286. border-color: #e5e5e5 #eee #eee;
  287. border-style: solid;
  288. border-width: 1px 0; }
  289. .s2-example:after {
  290. content: "Example";
  291. position: absolute;
  292. top: 15px;
  293. left: 15px;
  294. font-size: 12px;
  295. font-weight: bold;
  296. color: #bbb;
  297. text-transform: uppercase;
  298. letter-spacing: 1px; }
  299. @media (min-width: 768px) {
  300. .s2-example {
  301. margin-left: 0;
  302. margin-right: 0;
  303. background-color: #fff;
  304. border-width: 1px;
  305. border-color: #eee;
  306. border-radius: 4px 4px 0 0;
  307. box-shadow: none; } }
  308. .s2-event-log {
  309. background: #002451;
  310. color: white;
  311. font-family: Menlo, 'Bitstream Vera Sans Mono', 'DejaVu Sans Mono', Monaco, Consolas, monospace;
  312. margin: 0 -15px 15px;
  313. padding: 45px 15px 15px;
  314. position: relative; }
  315. .s2-event-log:after {
  316. content: "Event Log";
  317. position: absolute;
  318. top: 15px;
  319. left: 15px;
  320. font-size: 12px;
  321. font-weight: bold;
  322. color: #BBB;
  323. text-transform: uppercase;
  324. letter-spacing: 1px; }
  325. @media (min-width: 768px) {
  326. .s2-event-log {
  327. margin-left: 0;
  328. margin-right: 0;
  329. margin-top: -15px;
  330. border-width: 1px;
  331. border-color: #eee;
  332. box-shadow: none; } }
  333. .s2-example + pre,
  334. .s2-example + figure,
  335. .s2-event-log + pre {
  336. margin: -15px -15px 15px;
  337. border-radius: 0;
  338. border-width: 0 0 1px; }
  339. @media (min-width: 768px) {
  340. .s2-example + pre,
  341. .s2-example + figure,
  342. .s2-event-log + pre {
  343. margin-top: -16px;
  344. margin-left: 0;
  345. margin-right: 0;
  346. border-width: 1px;
  347. border-bottom-left-radius: 4px;
  348. border-bottom-right-radius: 4px; } }
  349. .s2-example + .s2-event-log {
  350. margin-top: -15px; }
  351. .s2-docs-social {
  352. margin-bottom: 20px;
  353. text-align: center; }
  354. .s2-docs-social-buttons {
  355. display: inline-block;
  356. padding-left: 0;
  357. margin-bottom: 0;
  358. list-style: none; }
  359. .s2-docs-social-buttons li {
  360. display: inline-block;
  361. padding: 5px 8px;
  362. line-height: 1; }
  363. .s2-docs-social-buttons .twitter-follow-button {
  364. width: 225px !important; }
  365. .s2-docs-social-buttons .twitter-share-button {
  366. width: 98px !important; }
  367. .github-btn {
  368. overflow: hidden;
  369. border: 0; }
  370. .btn-outline-inverse {
  371. color: #428BCA;
  372. background-color: transparent;
  373. border-color: #428BCA;
  374. padding: 15px 30px;
  375. font-size: 20px;
  376. transition: all .1s ease-in-out; }
  377. .btn-outline-inverse:hover {
  378. color: #fff;
  379. border-color: #428BCA;
  380. background-color: #428BCA; }
  381. .btn-toolbar {
  382. margin-bottom: 20px; }
  383. .jumbotron {
  384. background-color: #F6F6F6;
  385. border-bottom: 1px solid #eee;
  386. color: #777;
  387. padding-left: 0;
  388. padding-right: 0; }
  389. .jumbotron h1 {
  390. color: #777;
  391. font-size: 36px;
  392. margin-top: 10px; }
  393. .jumbotron .version {
  394. color: #999;
  395. font-size: 14px;
  396. font-weight: normal;
  397. margin-bottom: 30px; }
  398. .com {
  399. color: #999; }
  400. .lit {
  401. color: #195f91; }
  402. .pun, .opn, .clo {
  403. color: #93a1a1; }
  404. .fun {
  405. color: #dc322f; }
  406. .str, .atv {
  407. color: #C7254E; }
  408. .kwd, .prettyprint .tag {
  409. color: #2F6F9F; }
  410. .typ, .atn, .dec, .var {
  411. color: #428BCA; }
  412. .pln {
  413. color: #333; }
  414. .prettyprint {
  415. padding: 9px 14px;
  416. margin-bottom: 20px;
  417. margin-top: 20px;
  418. border: 1px solid #eee; }
  419. .prettyprint.linenums {
  420. -webkit-box-shadow: inset 40px 0 0 #fbfbfb, inset 41px 0 0 #f6f6f6;
  421. -moz-box-shadow: inset 40px 0 0 #fbfbfb, inset 41px 0 0 #f6f6f6;
  422. box-shadow: inset 40px 0 0 #fbfbfb, inset 41px 0 0 #f6f6f6; }
  423. ol.linenums {
  424. margin: 0 0 0 -12px; }
  425. ol.linenums li {
  426. padding-left: 12px;
  427. color: #bebebe;
  428. line-height: 18px; }
  429. .highlight {
  430. background: #fff; }
  431. .highlight .nx {
  432. color: #333; }
  433. .highlight .k, .highlight .o {
  434. font-weight: bold; }
  435. .highlight .na {
  436. color: #428BCA; }
  437. .highlight .s, .highlight .s1, .highlight .s2, .highlight .sb, .highlight .sc, .highlight .sd, .highlight .se, .highlight .sh, .highlight .si, .highlight .sx {
  438. color: #C7254E; }
  439. .highlight .m, .highlight .mf, .highlight mh, .highlight .mi, .highlight .mo {
  440. color: #195f91; }
  441. .highlight .p {
  442. color: #93a1a1; }
  443. .highlight .nt {
  444. color: #2F6F9F; }
  445. .highlight .c {
  446. color: #999;
  447. font-style: italic; }
  448. .highlight .err {
  449. background-color: #e3d2d2;
  450. color: #a61717; }
  451. .highlight .gr {
  452. color: #a00; }
  453. .highlight pre {
  454. border: none;
  455. margin: 0; }
  456. .highlight > pre {
  457. border: 1px solid #eee;
  458. padding: 0;
  459. margin-bottom: 14px; }
  460. .highlight .lineno {
  461. background-color: #fbfbfb;
  462. color: #bebebe;
  463. -ms-user-select: none;
  464. -moz-user-select: none;
  465. -webkit-user-select: none; }
  466. .highlight .cm {
  467. color: #999988;
  468. font-style: italic; }
  469. /* Comment.Multiline */
  470. .highlight .cp {
  471. color: #999999;
  472. font-weight: bold; }
  473. /* Comment.Preproc */
  474. .highlight .c1 {
  475. color: #999988;
  476. font-style: italic; }
  477. /* Comment.Single */
  478. .highlight .cs {
  479. color: #999999;
  480. font-weight: bold;
  481. font-style: italic; }
  482. /* Comment.Special */
  483. .highlight .gd {
  484. color: #000000;
  485. background-color: #ffdddd; }
  486. /* Generic.Deleted */
  487. .highlight .gd .x {
  488. color: #000000;
  489. background-color: #ffaaaa; }
  490. /* Generic.Deleted.Specific */
  491. .highlight .ge {
  492. font-style: italic; }
  493. /* Generic.Emph */
  494. .highlight .gh {
  495. color: #999999; }
  496. /* Generic.Heading */
  497. .highlight .gi {
  498. color: #000000;
  499. background-color: #ddffdd; }
  500. /* Generic.Inserted */
  501. .highlight .gi .x {
  502. color: #000000;
  503. background-color: #aaffaa; }
  504. /* Generic.Inserted.Specific */
  505. .highlight .go {
  506. color: #888888; }
  507. /* Generic.Output */
  508. .highlight .gp {
  509. color: #555555; }
  510. /* Generic.Prompt */
  511. .highlight .gs {
  512. font-weight: bold; }
  513. /* Generic.Strong */
  514. .highlight .gu {
  515. color: #aaaaaa; }
  516. /* Generic.Subheading */
  517. .highlight .gt {
  518. color: #aa0000; }
  519. /* Generic.Traceback */
  520. .highlight .kc {
  521. font-weight: bold; }
  522. /* Keyword.Constant */
  523. .highlight .kd {
  524. font-weight: bold; }
  525. /* Keyword.Declaration */
  526. .highlight .kp {
  527. font-weight: bold; }
  528. /* Keyword.Pseudo */
  529. .highlight .kr {
  530. font-weight: bold; }
  531. /* Keyword.Reserved */
  532. .highlight .kt {
  533. color: #445588;
  534. font-weight: bold; }
  535. /* Keyword.Type */
  536. .highlight .nb {
  537. color: #0086B3; }
  538. /* Name.Builtin */
  539. .highlight .nc {
  540. color: #445588;
  541. font-weight: bold; }
  542. /* Name.Class */
  543. .highlight .no {
  544. color: #008080; }
  545. /* Name.Constant */
  546. .highlight .ni {
  547. color: #800080; }
  548. /* Name.Entity */
  549. .highlight .ne {
  550. color: #990000;
  551. font-weight: bold; }
  552. /* Name.Exception */
  553. .highlight .nf {
  554. color: #990000;
  555. font-weight: bold; }
  556. /* Name.Function */
  557. .highlight .nn {
  558. color: #555555; }
  559. /* Name.Namespace */
  560. .highlight .nv {
  561. color: #008080; }
  562. /* Name.Variable */
  563. .highlight .ow {
  564. font-weight: bold; }
  565. /* Operator.Word */
  566. .highlight .w {
  567. color: #bbbbbb; }
  568. /* Text.Whitespace */
  569. .highlight .sr {
  570. color: #009926; }
  571. /* Literal.String.Regex */
  572. .highlight .ss {
  573. color: #990073; }
  574. /* Literal.String.Symbol */
  575. .highlight .bp {
  576. color: #999999; }
  577. /* Name.Builtin.Pseudo */
  578. .highlight .vc {
  579. color: #008080; }
  580. /* Name.Variable.Class */
  581. .highlight .vg {
  582. color: #008080; }
  583. /* Name.Variable.Global */
  584. .highlight .vi {
  585. color: #008080; }
  586. /* Name.Variable.Instance */
  587. .highlight .il {
  588. color: #009999; }
  589. /* Literal.Number.Integer.Long */
  590. h1[id] {
  591. padding-top: 20px;
  592. margin-top: 0; }