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.

1204 lines
26 KiB

  1. /*
  2. * Javadoc style sheet
  3. */
  4. @import url('resources/fonts/dejavu.css');
  5. /*
  6. * Styles for individual HTML elements.
  7. *
  8. * These are styles that are specific to individual HTML elements. Changing them affects the style of a particular
  9. * HTML element throughout the page.
  10. */
  11. body {
  12. background-color:#ffffff;
  13. color:#353833;
  14. font-family:'DejaVu Sans', Arial, Helvetica, sans-serif;
  15. font-size:14px;
  16. margin:0;
  17. padding:0;
  18. height:100%;
  19. width:100%;
  20. }
  21. iframe {
  22. margin:0;
  23. padding:0;
  24. height:100%;
  25. width:100%;
  26. overflow-y:scroll;
  27. border:none;
  28. }
  29. a:link, a:visited {
  30. text-decoration:none;
  31. color:#4A6782;
  32. }
  33. a[href]:hover, a[href]:focus {
  34. text-decoration:none;
  35. color:#bb7a2a;
  36. }
  37. a[name] {
  38. color:#353833;
  39. }
  40. pre {
  41. font-family:'DejaVu Sans Mono', monospace;
  42. font-size:14px;
  43. }
  44. h1 {
  45. font-size:20px;
  46. }
  47. h2 {
  48. font-size:18px;
  49. }
  50. h3 {
  51. font-size:16px;
  52. }
  53. h4 {
  54. font-size:15px;
  55. }
  56. h5 {
  57. font-size:14px;
  58. }
  59. h6 {
  60. font-size:13px;
  61. }
  62. /* Disable font boosting for selected elements */
  63. h1, h2, h3, h4, h5, h6, div.member-signature {
  64. max-height: 1000em;
  65. }
  66. ul {
  67. list-style-type:disc;
  68. }
  69. code, tt {
  70. font-family:'DejaVu Sans Mono', monospace;
  71. }
  72. :not(h1, h2, h3, h4, h5, h6) > code,
  73. :not(h1, h2, h3, h4, h5, h6) > tt {
  74. font-size:14px;
  75. padding-top:4px;
  76. margin-top:8px;
  77. line-height:1.4em;
  78. }
  79. dt code {
  80. font-family:'DejaVu Sans Mono', monospace;
  81. font-size:14px;
  82. padding-top:4px;
  83. }
  84. .summary-table dt code {
  85. font-family:'DejaVu Sans Mono', monospace;
  86. font-size:14px;
  87. vertical-align:top;
  88. padding-top:4px;
  89. }
  90. sup {
  91. font-size:8px;
  92. }
  93. button {
  94. font-family: 'DejaVu Sans', Arial, Helvetica, sans-serif;
  95. font-size: 14px;
  96. }
  97. /*
  98. * Styles for HTML generated by javadoc.
  99. *
  100. * These are style classes that are used by the standard doclet to generate HTML documentation.
  101. */
  102. /*
  103. * Styles for document title and copyright.
  104. */
  105. .about-language {
  106. float:right;
  107. padding:0 21px 8px 8px;
  108. font-size:11px;
  109. margin-top:-9px;
  110. height:2.9em;
  111. }
  112. .legal-copy {
  113. margin-left:.5em;
  114. }
  115. /*
  116. * Styles for navigation bar.
  117. */
  118. @media screen {
  119. div.flex-box {
  120. position:fixed;
  121. display:flex;
  122. flex-direction:column;
  123. height: 100%;
  124. width: 100%;
  125. }
  126. header.flex-header {
  127. flex: 0 0 auto;
  128. }
  129. div.flex-content {
  130. flex: 1 1 auto;
  131. overflow-y: auto;
  132. }
  133. }
  134. .top-nav {
  135. background-color:#4D7A97;
  136. color:#FFFFFF;
  137. float:left;
  138. padding:0;
  139. width:100%;
  140. clear:right;
  141. min-height:2.8em;
  142. padding-top:10px;
  143. overflow:hidden;
  144. font-size:12px;
  145. }
  146. button#navbar-toggle-button {
  147. display:none;
  148. }
  149. ul.sub-nav-list-small {
  150. display: none;
  151. }
  152. .sub-nav {
  153. background-color:#dee3e9;
  154. float:left;
  155. width:100%;
  156. overflow:hidden;
  157. font-size:12px;
  158. }
  159. .sub-nav div {
  160. clear:left;
  161. float:left;
  162. padding:6px;
  163. text-transform:uppercase;
  164. }
  165. .sub-nav .sub-nav-list {
  166. padding-top:4px;
  167. }
  168. ul.nav-list {
  169. display:block;
  170. margin:0 25px 0 0;
  171. padding:0;
  172. }
  173. ul.sub-nav-list {
  174. float:left;
  175. margin:0 25px 0 0;
  176. padding:0;
  177. }
  178. ul.nav-list li {
  179. list-style:none;
  180. float:left;
  181. padding: 5px 6px;
  182. text-transform:uppercase;
  183. }
  184. .sub-nav .nav-list-search {
  185. float:right;
  186. margin:0;
  187. padding:6px;
  188. clear:none;
  189. text-align:right;
  190. position:relative;
  191. }
  192. ul.sub-nav-list li {
  193. list-style:none;
  194. float:left;
  195. }
  196. .top-nav a:link, .top-nav a:active, .top-nav a:visited {
  197. color:#ffffff;
  198. text-decoration:none;
  199. text-transform:uppercase;
  200. }
  201. .top-nav a:hover {
  202. color:#bb7a2a;
  203. }
  204. .nav-bar-cell1-rev {
  205. background-color:#F8981D;
  206. color:#253441;
  207. margin: auto 5px;
  208. }
  209. .skip-nav {
  210. position:absolute;
  211. top:auto;
  212. left:-9999px;
  213. overflow:hidden;
  214. }
  215. /*
  216. * Hide navigation links and search box in print layout
  217. */
  218. @media print {
  219. ul.nav-list, div.sub-nav {
  220. display:none;
  221. }
  222. }
  223. /*
  224. * Styles for page header.
  225. */
  226. .title {
  227. color:#2c4557;
  228. margin:10px 0;
  229. }
  230. .sub-title {
  231. margin:5px 0 0 0;
  232. }
  233. .header ul {
  234. margin:0 0 15px 0;
  235. padding:0;
  236. }
  237. .header ul li {
  238. list-style:none;
  239. font-size:13px;
  240. }
  241. /*
  242. * Styles for headings.
  243. */
  244. body.class-declaration-page .summary h2,
  245. body.class-declaration-page .details h2,
  246. body.class-use-page h2,
  247. body.module-declaration-page .block-list h2 {
  248. font-style: italic;
  249. padding:0;
  250. margin:15px 0;
  251. }
  252. body.class-declaration-page .summary h3,
  253. body.class-declaration-page .details h3,
  254. body.class-declaration-page .summary .inherited-list h2 {
  255. background-color:#dee3e9;
  256. border:1px solid #d0d9e0;
  257. margin:0 0 6px -8px;
  258. padding:7px 5px;
  259. }
  260. /*
  261. * Styles for page layout containers.
  262. */
  263. main {
  264. clear:both;
  265. padding:10px 20px;
  266. position:relative;
  267. }
  268. dl.notes > dt {
  269. font-family: 'DejaVu Sans', Arial, Helvetica, sans-serif;
  270. font-size:12px;
  271. font-weight:bold;
  272. margin:10px 0 0 0;
  273. color:#4E4E4E;
  274. }
  275. dl.notes > dd {
  276. margin:5px 10px 10px 0;
  277. font-size:14px;
  278. font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif;
  279. }
  280. dl.name-value > dt {
  281. margin-left:1px;
  282. font-size:1.1em;
  283. display:inline;
  284. font-weight:bold;
  285. }
  286. dl.name-value > dd {
  287. margin:0 0 0 1px;
  288. font-size:1.1em;
  289. display:inline;
  290. }
  291. /*
  292. * Styles for lists.
  293. */
  294. li.circle {
  295. list-style:circle;
  296. }
  297. ul.horizontal li {
  298. display:inline;
  299. font-size:0.9em;
  300. }
  301. div.inheritance {
  302. margin:0;
  303. padding:0;
  304. }
  305. div.inheritance div.inheritance {
  306. margin-left:2em;
  307. }
  308. ul.block-list,
  309. ul.details-list,
  310. ul.member-list,
  311. ul.summary-list {
  312. margin:10px 0 10px 0;
  313. padding:0;
  314. }
  315. ul.block-list > li,
  316. ul.details-list > li,
  317. ul.member-list > li,
  318. ul.summary-list > li {
  319. list-style:none;
  320. margin-bottom:15px;
  321. line-height:1.4;
  322. }
  323. .summary-table dl, .summary-table dl dt, .summary-table dl dd {
  324. margin-top:0;
  325. margin-bottom:1px;
  326. }
  327. ul.see-list, ul.see-list-long {
  328. padding-left: 0;
  329. list-style: none;
  330. }
  331. ul.see-list li {
  332. display: inline;
  333. }
  334. ul.see-list li:not(:last-child):after,
  335. ul.see-list-long li:not(:last-child):after {
  336. content: ", ";
  337. white-space: pre-wrap;
  338. }
  339. /*
  340. * Styles for tables.
  341. */
  342. .summary-table, .details-table {
  343. width:100%;
  344. border-spacing:0;
  345. border-left:1px solid #EEE;
  346. border-right:1px solid #EEE;
  347. border-bottom:1px solid #EEE;
  348. padding:0;
  349. }
  350. .caption {
  351. position:relative;
  352. text-align:left;
  353. background-repeat:no-repeat;
  354. color:#253441;
  355. clear:none;
  356. overflow:hidden;
  357. padding:0;
  358. padding-top:10px;
  359. padding-left:1px;
  360. margin:0;
  361. }
  362. .caption a:link, .caption a:visited {
  363. color:#1f389c;
  364. }
  365. .caption a:hover,
  366. .caption a:active {
  367. color:#FFFFFF;
  368. }
  369. .caption span {
  370. font-weight:bold;
  371. white-space:nowrap;
  372. padding:5px 12px 7px 12px;
  373. display:inline-block;
  374. float:left;
  375. background-color:#F8981D;
  376. border: none;
  377. height:16px;
  378. }
  379. div.table-tabs {
  380. padding:10px 0 0 1px;
  381. margin:10px 0 0 0;
  382. }
  383. div.table-tabs > span {
  384. background-color: #EEE;
  385. color: #000;
  386. border: none;
  387. padding: 5px 12px 8px 12px;
  388. }
  389. div.table-tabs > button {
  390. border: none;
  391. cursor: pointer;
  392. padding: 5px 12px 7px 12px;
  393. font-weight: bold;
  394. margin-right: 8px;
  395. }
  396. div.table-tabs > .active-table-tab {
  397. background: #F8981D;
  398. color: #253441;
  399. }
  400. div.table-tabs > button.table-tab {
  401. background: #4D7A97;
  402. color: #FFFFFF;
  403. }
  404. .two-column-search-results {
  405. display: grid;
  406. grid-template-columns: minmax(400px, max-content) minmax(400px, auto);
  407. }
  408. div.checkboxes {
  409. line-height: 2em;
  410. }
  411. div.checkboxes > span {
  412. margin-left: 10px;
  413. }
  414. div.checkboxes > label {
  415. margin-left: 8px;
  416. white-space: nowrap;
  417. }
  418. div.checkboxes > label > input {
  419. margin: 0 2px;
  420. }
  421. .two-column-summary {
  422. display: grid;
  423. grid-template-columns: minmax(25%, max-content) minmax(25%, auto);
  424. }
  425. .three-column-summary {
  426. display: grid;
  427. grid-template-columns: minmax(15%, max-content) minmax(20%, max-content) minmax(20%, auto);
  428. }
  429. .three-column-release-summary {
  430. display: grid;
  431. grid-template-columns: minmax(40%, max-content) minmax(10%, max-content) minmax(40%, auto);
  432. }
  433. .four-column-summary {
  434. display: grid;
  435. grid-template-columns: minmax(10%, max-content) minmax(15%, max-content) minmax(15%, max-content) minmax(15%, auto);
  436. }
  437. @media screen and (max-width: 1000px) {
  438. .four-column-summary {
  439. display: grid;
  440. grid-template-columns: minmax(15%, max-content) minmax(15%, auto);
  441. }
  442. }
  443. @media screen and (max-width: 800px) {
  444. .two-column-search-results {
  445. display: grid;
  446. grid-template-columns: minmax(40%, max-content) minmax(40%, auto);
  447. }
  448. .three-column-summary {
  449. display: grid;
  450. grid-template-columns: minmax(10%, max-content) minmax(25%, auto);
  451. }
  452. .three-column-release-summary {
  453. display: grid;
  454. grid-template-columns: minmax(70%, max-content) minmax(30%, max-content)
  455. }
  456. .three-column-summary .col-last,
  457. .three-column-release-summary .col-last{
  458. grid-column-end: span 2;
  459. }
  460. }
  461. @media screen and (max-width: 600px) {
  462. .two-column-summary {
  463. display: grid;
  464. grid-template-columns: 1fr;
  465. }
  466. }
  467. .summary-table > div, .details-table > div {
  468. text-align:left;
  469. padding: 8px 3px 3px 7px;
  470. overflow-x: auto;
  471. scrollbar-width: thin;
  472. }
  473. .col-first, .col-second, .col-last, .col-constructor-name, .col-summary-item-name {
  474. vertical-align:top;
  475. padding-right:0;
  476. padding-top:8px;
  477. padding-bottom:3px;
  478. }
  479. .table-header {
  480. background:#dee3e9;
  481. font-weight: bold;
  482. }
  483. /* Sortable table columns */
  484. .table-header[onclick] {
  485. cursor: pointer;
  486. }
  487. .table-header[onclick]::after {
  488. content:"";
  489. display:inline-block;
  490. background-image:url('data:image/svg+xml; utf8, \
  491. <svg xmlns="http://www.w3.org/2000/svg" width="125" height="170"> \
  492. <path d="M10.101 57.059L63.019 4.142l52.917 52.917M10.101 86.392l52.917 52.917 52.917-52.917" style="opacity:.35;"/></svg>');
  493. background-size:100% 100%;
  494. width:9px;
  495. height:14px;
  496. margin-left:4px;
  497. margin-bottom:-3px;
  498. }
  499. .table-header[onclick].sort-asc::after {
  500. background-image:url('data:image/svg+xml; utf8, \
  501. <svg xmlns="http://www.w3.org/2000/svg" width="125" height="170"> \
  502. <path d="M10.101 57.059L63.019 4.142l52.917 52.917" style="opacity:.75;"/> \
  503. <path d="M10.101 86.392l52.917 52.917 52.917-52.917" style="opacity:.35;"/></svg>');
  504. }
  505. .table-header[onclick].sort-desc::after {
  506. background-image:url('data:image/svg+xml; utf8, \
  507. <svg xmlns="http://www.w3.org/2000/svg" width="125" height="170"> \
  508. <path d="M10.101 57.059L63.019 4.142l52.917 52.917" style="opacity:.35;"/> \
  509. <path d="M10.101 86.392l52.917 52.917 52.917-52.917" style="opacity:.75;"/></svg>');
  510. }
  511. .col-first, .col-first {
  512. font-size:13px;
  513. }
  514. .col-second, .col-second, .col-last, .col-constructor-name, .col-summary-item-name, .col-last {
  515. font-size:13px;
  516. }
  517. .col-first, .col-second, .col-constructor-name {
  518. vertical-align:top;
  519. overflow: auto;
  520. }
  521. .col-last {
  522. white-space:normal;
  523. }
  524. .col-first a:link, .col-first a:visited,
  525. .col-second a:link, .col-second a:visited,
  526. .col-first a:link, .col-first a:visited,
  527. .col-second a:link, .col-second a:visited,
  528. .col-constructor-name a:link, .col-constructor-name a:visited,
  529. .col-summary-item-name a:link, .col-summary-item-name a:visited {
  530. font-weight:bold;
  531. }
  532. .even-row-color, .even-row-color .table-header {
  533. background-color:#FFFFFF;
  534. }
  535. .odd-row-color, .odd-row-color .table-header {
  536. background-color:#EEEEEF;
  537. }
  538. /*
  539. * Styles for contents.
  540. */
  541. div.block {
  542. font-size:14px;
  543. font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif;
  544. }
  545. .col-last div {
  546. padding-top:0;
  547. }
  548. .col-last a {
  549. padding-bottom:3px;
  550. }
  551. .module-signature,
  552. .package-signature,
  553. .type-signature,
  554. .member-signature {
  555. font-family:'DejaVu Sans Mono', monospace;
  556. font-size:14px;
  557. margin:14px 0;
  558. white-space: pre-wrap;
  559. }
  560. .module-signature,
  561. .package-signature,
  562. .type-signature {
  563. margin-top: 0;
  564. }
  565. .member-signature .type-parameters-long,
  566. .member-signature .parameters,
  567. .member-signature .exceptions {
  568. display: inline-block;
  569. vertical-align: top;
  570. white-space: pre;
  571. }
  572. .member-signature .type-parameters {
  573. white-space: normal;
  574. }
  575. /*
  576. * Styles for formatting effect.
  577. */
  578. .source-line-no {
  579. color:green;
  580. padding:0 30px 0 0;
  581. }
  582. .block {
  583. display:block;
  584. margin:0 10px 5px 0;
  585. color:#474747;
  586. }
  587. .deprecated-label, .description-from-type-label, .implementation-label, .member-name-link,
  588. .module-label-in-package, .module-label-in-type, .package-label-in-type,
  589. .package-hierarchy-label, .type-name-label, .type-name-link, .search-tag-link, .preview-label {
  590. font-weight:bold;
  591. }
  592. .deprecation-comment, .help-footnote, .preview-comment {
  593. font-style:italic;
  594. }
  595. .deprecation-block {
  596. font-size:14px;
  597. font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif;
  598. border-style:solid;
  599. border-width:thin;
  600. border-radius:10px;
  601. padding:10px;
  602. margin-bottom:10px;
  603. margin-right:10px;
  604. display:inline-block;
  605. }
  606. .preview-block {
  607. font-size:14px;
  608. font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif;
  609. border-style:solid;
  610. border-width:thin;
  611. border-radius:10px;
  612. padding:10px;
  613. margin-bottom:10px;
  614. margin-right:10px;
  615. display:inline-block;
  616. }
  617. div.block div.deprecation-comment {
  618. font-style:normal;
  619. }
  620. details.invalid-tag, span.invalid-tag {
  621. font-size:14px;
  622. font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif;
  623. background: #ffe6e6;
  624. border: thin solid #000000;
  625. border-radius:2px;
  626. padding: 2px 4px;
  627. display:inline-block;
  628. }
  629. details summary {
  630. cursor: pointer;
  631. }
  632. /*
  633. * Styles specific to HTML5 elements.
  634. */
  635. main, nav, header, footer, section {
  636. display:block;
  637. }
  638. /*
  639. * Styles for javadoc search.
  640. */
  641. .ui-autocomplete-category {
  642. font-weight:bold;
  643. font-size:15px;
  644. padding:7px 0 7px 3px;
  645. background-color:#4D7A97;
  646. color:#FFFFFF;
  647. }
  648. .ui-autocomplete {
  649. max-height:85%;
  650. max-width:65%;
  651. overflow-y:auto;
  652. overflow-x:auto;
  653. scrollbar-width: thin;
  654. white-space:nowrap;
  655. box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
  656. }
  657. ul.ui-autocomplete {
  658. position:fixed;
  659. z-index:1;
  660. background-color: #FFFFFF;
  661. }
  662. ul.ui-autocomplete li {
  663. float:left;
  664. clear:both;
  665. min-width:100%;
  666. }
  667. ul.ui-autocomplete li.ui-static-link {
  668. position:sticky;
  669. bottom:0;
  670. left:0;
  671. background: #dee3e9;
  672. padding: 5px 0;
  673. font-family: 'DejaVu Sans', Arial, Helvetica, sans-serif;
  674. font-size: 13px;
  675. font-weight: bolder;
  676. z-index: 2;
  677. }
  678. li.ui-static-link a, li.ui-static-link a:visited {
  679. text-decoration:none;
  680. color:#4A6782;
  681. float:right;
  682. margin-right:20px;
  683. }
  684. .ui-autocomplete .result-item {
  685. font-size: inherit;
  686. }
  687. .ui-autocomplete .result-highlight {
  688. font-weight:bold;
  689. }
  690. #search-input, #page-search-input {
  691. background-image:url('resources/glass.png');
  692. background-size:13px;
  693. background-repeat:no-repeat;
  694. background-position:2px 3px;
  695. padding-left:20px;
  696. width: 250px;
  697. margin: 0;
  698. }
  699. #search-input {
  700. margin-left: 4px;
  701. }
  702. #reset-button {
  703. background-color: transparent;
  704. background-image:url('resources/x.png');
  705. background-repeat:no-repeat;
  706. background-size:contain;
  707. border:0;
  708. border-radius:0;
  709. width:12px;
  710. height:12px;
  711. position:absolute;
  712. right:12px;
  713. top:10px;
  714. font-size:0;
  715. }
  716. ::placeholder {
  717. color:#909090;
  718. opacity: 1;
  719. }
  720. .search-tag-desc-result {
  721. font-style:italic;
  722. font-size:11px;
  723. }
  724. .search-tag-holder-result {
  725. font-style:italic;
  726. font-size:12px;
  727. }
  728. .search-tag-result:target {
  729. background-color:yellow;
  730. }
  731. details.page-search-details {
  732. display: inline-block;
  733. }
  734. div#result-container {
  735. font-size: 14px;
  736. }
  737. div#result-container a.search-result-link {
  738. padding: 0;
  739. margin: 4px 0;
  740. width: 100%;
  741. }
  742. #result-container .result-highlight {
  743. font-weight:bolder;
  744. }
  745. .page-search-info {
  746. background-color: #f5f8ff;
  747. border-radius: 3px;
  748. border: 0 solid #b9c8d3;
  749. padding: 0 8px;
  750. overflow: hidden;
  751. height: 0;
  752. transition: all 0.2s ease;
  753. }
  754. div.table-tabs > button.table-tab {
  755. background: #4D7A97;
  756. color: #FFFFFF;
  757. }
  758. .page-search-header {
  759. padding: 5px 12px 7px 12px;
  760. font-weight: bold;
  761. margin-right: 3px;
  762. background-color:#4D7A97;
  763. color:#ffffff;
  764. display: inline-block;
  765. }
  766. button.page-search-header {
  767. border: none;
  768. cursor: pointer;
  769. }
  770. span#page-search-link {
  771. text-decoration: underline;
  772. }
  773. .module-graph span {
  774. display:none;
  775. position:absolute;
  776. }
  777. .module-graph:hover span {
  778. display:block;
  779. margin: -100px 0 0 100px;
  780. z-index: 1;
  781. }
  782. .inherited-list {
  783. margin: 10px 0 10px 0;
  784. }
  785. section.class-description {
  786. line-height: 1.4;
  787. }
  788. .summary section[class$="-summary"], .details section[class$="-details"],
  789. .class-uses .detail, .serialized-class-details {
  790. padding: 0px 20px 5px 10px;
  791. border: 1px solid #ededed;
  792. background-color: #f8f8f8;
  793. }
  794. .inherited-list, section[class$="-details"] .detail {
  795. padding:0 0 5px 8px;
  796. background-color:#ffffff;
  797. border:none;
  798. }
  799. .vertical-separator {
  800. padding: 0 5px;
  801. }
  802. ul.help-section-list {
  803. margin: 0;
  804. }
  805. ul.help-subtoc > li {
  806. display: inline-block;
  807. padding-right: 5px;
  808. font-size: smaller;
  809. }
  810. ul.help-subtoc > li::before {
  811. content: "\2022" ;
  812. padding-right:2px;
  813. }
  814. .help-note {
  815. font-style: italic;
  816. }
  817. /*
  818. * Indicator icon for external links.
  819. */
  820. main a[href*="://"]::after {
  821. content:"";
  822. display:inline-block;
  823. background-image:url('data:image/svg+xml; utf8, \
  824. <svg xmlns="http://www.w3.org/2000/svg" width="768" height="768">\
  825. <path d="M584 664H104V184h216V80H0v688h688V448H584zM384 0l132 \
  826. 132-240 240 120 120 240-240 132 132V0z" fill="%234a6782"/>\
  827. </svg>');
  828. background-size:100% 100%;
  829. width:7px;
  830. height:7px;
  831. margin-left:2px;
  832. margin-bottom:4px;
  833. }
  834. main a[href*="://"]:hover::after,
  835. main a[href*="://"]:focus::after {
  836. background-image:url('data:image/svg+xml; utf8, \
  837. <svg xmlns="http://www.w3.org/2000/svg" width="768" height="768">\
  838. <path d="M584 664H104V184h216V80H0v688h688V448H584zM384 0l132 \
  839. 132-240 240 120 120 240-240 132 132V0z" fill="%23bb7a2a"/>\
  840. </svg>');
  841. }
  842. /*
  843. * Styles for copy-to-clipboard buttons
  844. */
  845. button.copy {
  846. opacity: 80%;
  847. border: none;
  848. border-radius: 3px;
  849. position: relative;
  850. background:none;
  851. transition: opacity 0.2s;
  852. cursor: pointer;
  853. }
  854. button.copy:hover,
  855. button.copy:active {
  856. opacity: 100%;
  857. }
  858. button.copy img {
  859. position: relative;
  860. background: none;
  861. }
  862. button.copy span {
  863. color: #303030;
  864. position: relative;
  865. top: -0.1em;
  866. transition: all 0.1s;
  867. font-size: 85%;
  868. line-height: 1.2em;
  869. }
  870. /* header/section copy button */
  871. button.copy-header {
  872. margin: 0 0.2em;
  873. padding: 0 4px;
  874. height: 1.35em;
  875. }
  876. button.copy-header img {
  877. height: 1em;
  878. top: 0.1em;
  879. }
  880. button.copy-header:active {
  881. background-color: rgba(128, 128, 160, 0.2);
  882. }
  883. /* search page copy button */
  884. button#page-search-copy {
  885. margin-left: 0.4em;
  886. padding:0.3em;
  887. top:0.13em;
  888. }
  889. button#page-search-copy img {
  890. width: 1.2em;
  891. height: 1.2em;
  892. padding: 0.01em 0;
  893. top: 0.15em;
  894. }
  895. button#page-search-copy span {
  896. color: #000000;
  897. content: attr(aria-label);
  898. line-height: 1.2em;
  899. padding: 0.2em;
  900. top: -0.18em;
  901. opacity: 0;
  902. }
  903. div.page-search-info:hover button#page-search-copy,
  904. div.page-search-info:hover button#page-search-copy span {
  905. opacity: 90%;
  906. }
  907. div.page-search-info button#page-search-copy:hover {
  908. background-color: #dfe6f1;
  909. }
  910. div.page-search-info button#page-search-copy:active {
  911. background-color: #cfdbee;
  912. }
  913. /* snippet copy button */
  914. button.snippet-copy {
  915. position: absolute;
  916. top: 6px;
  917. right: 6px;
  918. height: 1.7em;
  919. opacity: 50%;
  920. padding: 2px;
  921. }
  922. button.snippet-copy img {
  923. width: 18px;
  924. height: 18px;
  925. padding: 0.05em 0;
  926. }
  927. button.snippet-copy span {
  928. content: attr(aria-label);
  929. line-height: 1.2em;
  930. padding: 0.2em;
  931. position: relative;
  932. top: -0.5em;
  933. display: none;
  934. }
  935. div.snippet-container:hover button.snippet-copy span {
  936. display: inline;
  937. }
  938. div.snippet-container:hover button.snippet-copy {
  939. opacity: 80%;
  940. }
  941. div.snippet-container button.snippet-copy:hover {
  942. opacity: 100%;
  943. }
  944. button.snippet-copy:active {
  945. background: #d3d3d3;
  946. }
  947. /*
  948. * Styles for user-provided tables.
  949. *
  950. * borderless:
  951. * No borders, vertical margins, styled caption.
  952. * This style is provided for use with existing doc comments.
  953. * In general, borderless tables should not be used for layout purposes.
  954. *
  955. * plain:
  956. * Plain borders around table and cells, vertical margins, styled caption.
  957. * Best for small tables or for complex tables for tables with cells that span
  958. * rows and columns, when the "striped" style does not work well.
  959. *
  960. * striped:
  961. * Borders around the table and vertical borders between cells, striped rows,
  962. * vertical margins, styled caption.
  963. * Best for tables that have a header row, and a body containing a series of simple rows.
  964. */
  965. table.borderless,
  966. table.plain,
  967. table.striped {
  968. margin-top: 10px;
  969. margin-bottom: 10px;
  970. }
  971. table.borderless > caption,
  972. table.plain > caption,
  973. table.striped > caption {
  974. font-weight: bold;
  975. font-size: smaller;
  976. }
  977. table.borderless th, table.borderless td,
  978. table.plain th, table.plain td,
  979. table.striped th, table.striped td {
  980. padding: 2px 5px;
  981. }
  982. table.borderless,
  983. table.borderless > thead > tr > th, table.borderless > tbody > tr > th, table.borderless > tr > th,
  984. table.borderless > thead > tr > td, table.borderless > tbody > tr > td, table.borderless > tr > td {
  985. border: none;
  986. }
  987. table.borderless > thead > tr, table.borderless > tbody > tr, table.borderless > tr {
  988. background-color: transparent;
  989. }
  990. table.plain {
  991. border-collapse: collapse;
  992. border: 1px solid black;
  993. }
  994. table.plain > thead > tr, table.plain > tbody tr, table.plain > tr {
  995. background-color: transparent;
  996. }
  997. table.plain > thead > tr > th, table.plain > tbody > tr > th, table.plain > tr > th,
  998. table.plain > thead > tr > td, table.plain > tbody > tr > td, table.plain > tr > td {
  999. border: 1px solid black;
  1000. }
  1001. table.striped {
  1002. border-collapse: collapse;
  1003. border: 1px solid black;
  1004. }
  1005. table.striped > thead {
  1006. background-color: #E3E3E3;
  1007. }
  1008. table.striped > thead > tr > th, table.striped > thead > tr > td {
  1009. border: 1px solid black;
  1010. }
  1011. table.striped > tbody > tr:nth-child(even) {
  1012. background-color: #EEE
  1013. }
  1014. table.striped > tbody > tr:nth-child(odd) {
  1015. background-color: #FFF
  1016. }
  1017. table.striped > tbody > tr > th, table.striped > tbody > tr > td {
  1018. border-left: 1px solid black;
  1019. border-right: 1px solid black;
  1020. }
  1021. table.striped > tbody > tr > th {
  1022. font-weight: normal;
  1023. }
  1024. /**
  1025. * Tweak style for small screens.
  1026. */
  1027. @media screen and (max-width: 920px) {
  1028. header.flex-header {
  1029. max-height: 100vh;
  1030. overflow-y: auto;
  1031. }
  1032. div#navbar-top {
  1033. height: 2.8em;
  1034. transition: height 0.35s ease;
  1035. }
  1036. ul.nav-list {
  1037. display: block;
  1038. width: 40%;
  1039. float:left;
  1040. clear: left;
  1041. margin: 10px 0 0 0;
  1042. padding: 0;
  1043. }
  1044. ul.nav-list li {
  1045. float: none;
  1046. padding: 6px;
  1047. margin-left: 10px;
  1048. margin-top: 2px;
  1049. }
  1050. ul.sub-nav-list-small {
  1051. display:block;
  1052. height: 100%;
  1053. width: 50%;
  1054. float: right;
  1055. clear: right;
  1056. background-color: #dee3e9;
  1057. color: #353833;
  1058. margin: 6px 0 0 0;
  1059. padding: 0;
  1060. }
  1061. ul.sub-nav-list-small ul {
  1062. padding-left: 20px;
  1063. }
  1064. ul.sub-nav-list-small a:link, ul.sub-nav-list-small a:visited {
  1065. color:#4A6782;
  1066. }
  1067. ul.sub-nav-list-small a:hover {
  1068. color:#bb7a2a;
  1069. }
  1070. ul.sub-nav-list-small li {
  1071. list-style:none;
  1072. float:none;
  1073. padding: 6px;
  1074. margin-top: 1px;
  1075. text-transform:uppercase;
  1076. }
  1077. ul.sub-nav-list-small > li {
  1078. margin-left: 10px;
  1079. }
  1080. ul.sub-nav-list-small li p {
  1081. margin: 5px 0;
  1082. }
  1083. div#navbar-sub-list {
  1084. display: none;
  1085. }
  1086. .top-nav a:link, .top-nav a:active, .top-nav a:visited {
  1087. display: block;
  1088. }
  1089. button#navbar-toggle-button {
  1090. width: 3.4em;
  1091. height: 2.8em;
  1092. background-color: transparent;
  1093. display: block;
  1094. float: left;
  1095. border: 0;
  1096. margin: 0 10px;
  1097. cursor: pointer;
  1098. font-size: 10px;
  1099. }
  1100. button#navbar-toggle-button .nav-bar-toggle-icon {
  1101. display: block;
  1102. width: 24px;
  1103. height: 3px;
  1104. margin: 1px 0 4px 0;
  1105. border-radius: 2px;
  1106. transition: all 0.1s;
  1107. background-color: #ffffff;
  1108. }
  1109. button#navbar-toggle-button.expanded span.nav-bar-toggle-icon:nth-child(1) {
  1110. transform: rotate(45deg);
  1111. transform-origin: 10% 10%;
  1112. width: 26px;
  1113. }
  1114. button#navbar-toggle-button.expanded span.nav-bar-toggle-icon:nth-child(2) {
  1115. opacity: 0;
  1116. }
  1117. button#navbar-toggle-button.expanded span.nav-bar-toggle-icon:nth-child(3) {
  1118. transform: rotate(-45deg);
  1119. transform-origin: 10% 90%;
  1120. width: 26px;
  1121. }
  1122. }
  1123. @media screen and (max-width: 800px) {
  1124. .about-language {
  1125. padding-right: 16px;
  1126. }
  1127. ul.nav-list li {
  1128. margin-left: 5px;
  1129. }
  1130. ul.sub-nav-list-small > li {
  1131. margin-left: 5px;
  1132. }
  1133. main {
  1134. padding: 10px;
  1135. }
  1136. .summary section[class$="-summary"], .details section[class$="-details"],
  1137. .class-uses .detail, .serialized-class-details {
  1138. padding: 0 8px 5px 8px;
  1139. }
  1140. body {
  1141. -webkit-text-size-adjust: none;
  1142. }
  1143. }
  1144. @media screen and (max-width: 400px) {
  1145. .about-language {
  1146. font-size: 10px;
  1147. padding-right: 12px;
  1148. }
  1149. }
  1150. @media screen and (max-width: 400px) {
  1151. .nav-list-search {
  1152. width: 94%;
  1153. }
  1154. #search-input, #page-search-input {
  1155. width: 70%;
  1156. }
  1157. }
  1158. @media screen and (max-width: 320px) {
  1159. .nav-list-search > label {
  1160. display: none;
  1161. }
  1162. .nav-list-search {
  1163. width: 90%;
  1164. }
  1165. #search-input, #page-search-input {
  1166. width: 80%;
  1167. }
  1168. }
  1169. pre.snippet {
  1170. background-color: #ebecee;
  1171. padding: 10px;
  1172. margin: 12px 0;
  1173. overflow: auto;
  1174. white-space: pre;
  1175. }
  1176. div.snippet-container {
  1177. position: relative;
  1178. }
  1179. @media screen and (max-width: 800px) {
  1180. pre.snippet {
  1181. padding-top: 26px;
  1182. }
  1183. button.snippet-copy {
  1184. top: 4px;
  1185. right: 4px;
  1186. }
  1187. }
  1188. pre.snippet .italic {
  1189. font-style: italic;
  1190. }
  1191. pre.snippet .bold {
  1192. font-weight: bold;
  1193. }
  1194. pre.snippet .highlighted {
  1195. background-color: #f7c590;
  1196. border-radius: 10%;
  1197. }