Vorlagecode für die einzelnen HAs in Prog2.
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.

827 lines
17 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:13px;
  55. }
  56. h5 {
  57. font-size:12px;
  58. }
  59. h6 {
  60. font-size:11px;
  61. }
  62. ul {
  63. list-style-type:disc;
  64. }
  65. code, tt {
  66. font-family:'DejaVu Sans Mono', monospace;
  67. font-size:14px;
  68. padding-top:4px;
  69. margin-top:8px;
  70. line-height:1.4em;
  71. }
  72. dt code {
  73. font-family:'DejaVu Sans Mono', monospace;
  74. font-size:14px;
  75. padding-top:4px;
  76. }
  77. .summary-table dt code {
  78. font-family:'DejaVu Sans Mono', monospace;
  79. font-size:14px;
  80. vertical-align:top;
  81. padding-top:4px;
  82. }
  83. sup {
  84. font-size:8px;
  85. }
  86. button {
  87. font-family: 'DejaVu Sans', Arial, Helvetica, sans-serif;
  88. font-size: 14px;
  89. }
  90. /*
  91. * Styles for HTML generated by javadoc.
  92. *
  93. * These are style classes that are used by the standard doclet to generate HTML documentation.
  94. */
  95. /*
  96. * Styles for document title and copyright.
  97. */
  98. .clear {
  99. clear:both;
  100. height:0;
  101. overflow:hidden;
  102. }
  103. .about-language {
  104. float:right;
  105. padding:0 21px 8px 8px;
  106. font-size:11px;
  107. margin-top:-9px;
  108. height:2.9em;
  109. }
  110. .legal-copy {
  111. margin-left:.5em;
  112. }
  113. .tab {
  114. background-color:#0066FF;
  115. color:#ffffff;
  116. padding:8px;
  117. width:5em;
  118. font-weight:bold;
  119. }
  120. /*
  121. * Styles for navigation bar.
  122. */
  123. @media screen {
  124. .flex-box {
  125. position:fixed;
  126. display:flex;
  127. flex-direction:column;
  128. height: 100%;
  129. width: 100%;
  130. }
  131. .flex-header {
  132. flex: 0 0 auto;
  133. }
  134. .flex-content {
  135. flex: 1 1 auto;
  136. overflow-y: auto;
  137. }
  138. }
  139. .top-nav {
  140. background-color:#4D7A97;
  141. color:#FFFFFF;
  142. float:left;
  143. padding:0;
  144. width:100%;
  145. clear:right;
  146. min-height:2.8em;
  147. padding-top:10px;
  148. overflow:hidden;
  149. font-size:12px;
  150. }
  151. .sub-nav {
  152. background-color:#dee3e9;
  153. float:left;
  154. width:100%;
  155. overflow:hidden;
  156. font-size:12px;
  157. }
  158. .sub-nav div {
  159. clear:left;
  160. float:left;
  161. padding:0 0 5px 6px;
  162. text-transform:uppercase;
  163. }
  164. .sub-nav .nav-list {
  165. padding-top:5px;
  166. }
  167. ul.nav-list {
  168. display:block;
  169. margin:0 25px 0 0;
  170. padding:0;
  171. }
  172. ul.sub-nav-list {
  173. float:left;
  174. margin:0 25px 0 0;
  175. padding:0;
  176. }
  177. ul.nav-list li {
  178. list-style:none;
  179. float:left;
  180. padding: 5px 6px;
  181. text-transform:uppercase;
  182. }
  183. .sub-nav .nav-list-search {
  184. float:right;
  185. margin:0 0 0 0;
  186. padding:5px 6px;
  187. clear:none;
  188. }
  189. .nav-list-search label {
  190. position:relative;
  191. right:-16px;
  192. }
  193. ul.sub-nav-list li {
  194. list-style:none;
  195. float:left;
  196. padding-top:10px;
  197. }
  198. .top-nav a:link, .top-nav a:active, .top-nav a:visited {
  199. color:#FFFFFF;
  200. text-decoration:none;
  201. text-transform:uppercase;
  202. }
  203. .top-nav a:hover {
  204. text-decoration:none;
  205. color:#bb7a2a;
  206. text-transform:uppercase;
  207. }
  208. .nav-bar-cell1-rev {
  209. background-color:#F8981D;
  210. color:#253441;
  211. margin: auto 5px;
  212. }
  213. .skip-nav {
  214. position:absolute;
  215. top:auto;
  216. left:-9999px;
  217. overflow:hidden;
  218. }
  219. /*
  220. * Hide navigation links and search box in print layout
  221. */
  222. @media print {
  223. ul.nav-list, div.sub-nav {
  224. display:none;
  225. }
  226. }
  227. /*
  228. * Styles for page header and footer.
  229. */
  230. .title {
  231. color:#2c4557;
  232. margin:10px 0;
  233. }
  234. .sub-title {
  235. margin:5px 0 0 0;
  236. }
  237. .header ul {
  238. margin:0 0 15px 0;
  239. padding:0;
  240. }
  241. .header ul li, .footer ul li {
  242. list-style:none;
  243. font-size:13px;
  244. }
  245. /*
  246. * Styles for headings.
  247. */
  248. body.class-declaration-page .summary h2,
  249. body.class-declaration-page .details h2,
  250. body.class-use-page h2,
  251. body.module-declaration-page .block-list h2 {
  252. font-style: italic;
  253. padding:0;
  254. margin:15px 0;
  255. }
  256. body.class-declaration-page .summary h3,
  257. body.class-declaration-page .details h3,
  258. body.class-declaration-page .summary .inherited-list h2 {
  259. background-color:#dee3e9;
  260. border:1px solid #d0d9e0;
  261. margin:0 0 6px -8px;
  262. padding:7px 5px;
  263. }
  264. /*
  265. * Styles for page layout containers.
  266. */
  267. main {
  268. clear:both;
  269. padding:10px 20px;
  270. position:relative;
  271. }
  272. dl.notes > dt {
  273. font-family: 'DejaVu Sans', Arial, Helvetica, sans-serif;
  274. font-size:12px;
  275. font-weight:bold;
  276. margin:10px 0 0 0;
  277. color:#4E4E4E;
  278. }
  279. dl.notes > dd {
  280. margin:5px 0 10px 0;
  281. font-size:14px;
  282. font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif;
  283. }
  284. dl.name-value > dt {
  285. margin-left:1px;
  286. font-size:1.1em;
  287. display:inline;
  288. font-weight:bold;
  289. }
  290. dl.name-value > dd {
  291. margin:0 0 0 1px;
  292. font-size:1.1em;
  293. display:inline;
  294. }
  295. /*
  296. * Styles for lists.
  297. */
  298. li.circle {
  299. list-style:circle;
  300. }
  301. ul.horizontal li {
  302. display:inline;
  303. font-size:0.9em;
  304. }
  305. div.inheritance {
  306. margin:0;
  307. padding:0;
  308. }
  309. div.inheritance div.inheritance {
  310. margin-left:2em;
  311. }
  312. ul.block-list,
  313. ul.details-list,
  314. ul.member-list,
  315. ul.summary-list {
  316. margin:10px 0 10px 0;
  317. padding:0;
  318. }
  319. ul.block-list > li,
  320. ul.details-list > li,
  321. ul.member-list > li,
  322. ul.summary-list > li {
  323. list-style:none;
  324. margin-bottom:15px;
  325. line-height:1.4;
  326. }
  327. .summary-table dl, .summary-table dl dt, .summary-table dl dd {
  328. margin-top:0;
  329. margin-bottom:1px;
  330. }
  331. /*
  332. * Styles for tables.
  333. */
  334. .summary-table {
  335. width:100%;
  336. border-spacing:0;
  337. border-left:1px solid #EEE;
  338. border-right:1px solid #EEE;
  339. border-bottom:1px solid #EEE;
  340. }
  341. .summary-table {
  342. padding:0;
  343. }
  344. .caption {
  345. position:relative;
  346. text-align:left;
  347. background-repeat:no-repeat;
  348. color:#253441;
  349. font-weight:bold;
  350. clear:none;
  351. overflow:hidden;
  352. padding:0px;
  353. padding-top:10px;
  354. padding-left:1px;
  355. margin:0px;
  356. white-space:pre;
  357. }
  358. .caption a:link, .caption a:visited {
  359. color:#1f389c;
  360. }
  361. .caption a:hover,
  362. .caption a:active {
  363. color:#FFFFFF;
  364. }
  365. .caption span {
  366. white-space:nowrap;
  367. padding-top:5px;
  368. padding-left:12px;
  369. padding-right:12px;
  370. padding-bottom:7px;
  371. display:inline-block;
  372. float:left;
  373. background-color:#F8981D;
  374. border: none;
  375. height:16px;
  376. }
  377. div.table-tabs > button {
  378. border: none;
  379. cursor: pointer;
  380. padding: 5px 12px 7px 12px;
  381. font-weight: bold;
  382. margin-right: 3px;
  383. }
  384. div.table-tabs > button.active-table-tab {
  385. background: #F8981D;
  386. color: #253441;
  387. }
  388. div.table-tabs > button.table-tab {
  389. background: #4D7A97;
  390. color: #FFFFFF;
  391. }
  392. .two-column-summary {
  393. display: grid;
  394. grid-template-columns: minmax(15%, max-content) minmax(15%, auto);
  395. }
  396. .three-column-summary {
  397. display: grid;
  398. grid-template-columns: minmax(10%, max-content) minmax(15%, max-content) minmax(15%, auto);
  399. }
  400. .four-column-summary {
  401. display: grid;
  402. grid-template-columns: minmax(10%, max-content) minmax(10%, max-content) minmax(10%, max-content) minmax(10%, auto);
  403. }
  404. @media screen and (max-width: 600px) {
  405. .two-column-summary {
  406. display: grid;
  407. grid-template-columns: 1fr;
  408. }
  409. }
  410. @media screen and (max-width: 800px) {
  411. .three-column-summary {
  412. display: grid;
  413. grid-template-columns: minmax(10%, max-content) minmax(25%, auto);
  414. }
  415. .three-column-summary .col-last {
  416. grid-column-end: span 2;
  417. }
  418. }
  419. @media screen and (max-width: 1000px) {
  420. .four-column-summary {
  421. display: grid;
  422. grid-template-columns: minmax(15%, max-content) minmax(15%, auto);
  423. }
  424. }
  425. .summary-table > div {
  426. text-align:left;
  427. padding: 8px 3px 3px 7px;
  428. }
  429. .col-first, .col-second, .col-last, .col-constructor-name, .col-deprecated-item-name {
  430. vertical-align:top;
  431. padding-right:0;
  432. padding-top:8px;
  433. padding-bottom:3px;
  434. }
  435. .table-header {
  436. background:#dee3e9;
  437. font-weight: bold;
  438. }
  439. .col-first, .col-first {
  440. font-size:13px;
  441. }
  442. .col-second, .col-second, .col-last, .col-constructor-name, .col-deprecated-item-name, .col-last {
  443. font-size:13px;
  444. }
  445. .col-first, .col-second, .col-constructor-name {
  446. vertical-align:top;
  447. overflow: auto;
  448. }
  449. .col-last {
  450. white-space:normal;
  451. }
  452. .col-first a:link, .col-first a:visited,
  453. .col-second a:link, .col-second a:visited,
  454. .col-first a:link, .col-first a:visited,
  455. .col-second a:link, .col-second a:visited,
  456. .col-constructor-name a:link, .col-constructor-name a:visited,
  457. .col-deprecated-item-name a:link, .col-deprecated-item-name a:visited,
  458. .constant-values-container a:link, .constant-values-container a:visited,
  459. .all-classes-container a:link, .all-classes-container a:visited,
  460. .all-packages-container a:link, .all-packages-container a:visited {
  461. font-weight:bold;
  462. }
  463. .table-sub-heading-color {
  464. background-color:#EEEEFF;
  465. }
  466. .even-row-color, .even-row-color .table-header {
  467. background-color:#FFFFFF;
  468. }
  469. .odd-row-color, .odd-row-color .table-header {
  470. background-color:#EEEEEF;
  471. }
  472. /*
  473. * Styles for contents.
  474. */
  475. .deprecated-content {
  476. margin:0;
  477. padding:10px 0;
  478. }
  479. div.block {
  480. font-size:14px;
  481. font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif;
  482. }
  483. .col-last div {
  484. padding-top:0;
  485. }
  486. .col-last a {
  487. padding-bottom:3px;
  488. }
  489. .module-signature,
  490. .package-signature,
  491. .type-signature,
  492. .member-signature {
  493. font-family:'DejaVu Sans Mono', monospace;
  494. font-size:14px;
  495. margin:14px 0;
  496. white-space: pre-wrap;
  497. }
  498. .module-signature,
  499. .package-signature,
  500. .type-signature {
  501. margin-top: 0;
  502. }
  503. .member-signature .type-parameters-long,
  504. .member-signature .parameters,
  505. .member-signature .exceptions {
  506. display: inline-block;
  507. vertical-align: top;
  508. white-space: pre;
  509. }
  510. .member-signature .type-parameters {
  511. white-space: normal;
  512. }
  513. /*
  514. * Styles for formatting effect.
  515. */
  516. .source-line-no {
  517. color:green;
  518. padding:0 30px 0 0;
  519. }
  520. h1.hidden {
  521. visibility:hidden;
  522. overflow:hidden;
  523. font-size:10px;
  524. }
  525. .block {
  526. display:block;
  527. margin:0 10px 5px 0;
  528. color:#474747;
  529. }
  530. .deprecated-label, .descfrm-type-label, .implementation-label, .member-name-label, .member-name-link,
  531. .module-label-in-package, .module-label-in-type, .override-specify-label, .package-label-in-type,
  532. .package-hierarchy-label, .type-name-label, .type-name-link, .search-tag-link {
  533. font-weight:bold;
  534. }
  535. .deprecation-comment, .help-footnote, .interface-name {
  536. font-style:italic;
  537. }
  538. .deprecation-block {
  539. font-size:14px;
  540. font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif;
  541. border-style:solid;
  542. border-width:thin;
  543. border-radius:10px;
  544. padding:10px;
  545. margin-bottom:10px;
  546. margin-right:10px;
  547. display:inline-block;
  548. }
  549. div.block div.deprecation-comment, div.block div.block span.emphasized-phrase,
  550. div.block div.block span.interface-name {
  551. font-style:normal;
  552. }
  553. /*
  554. * Styles specific to HTML5 elements.
  555. */
  556. main, nav, header, footer, section {
  557. display:block;
  558. }
  559. /*
  560. * Styles for javadoc search.
  561. */
  562. .ui-autocomplete-category {
  563. font-weight:bold;
  564. font-size:15px;
  565. padding:7px 0 7px 3px;
  566. background-color:#4D7A97;
  567. color:#FFFFFF;
  568. }
  569. .result-item {
  570. font-size:13px;
  571. }
  572. .ui-autocomplete {
  573. max-height:85%;
  574. max-width:65%;
  575. overflow-y:scroll;
  576. overflow-x:scroll;
  577. white-space:nowrap;
  578. box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
  579. }
  580. ul.ui-autocomplete {
  581. position:fixed;
  582. z-index:999999;
  583. }
  584. ul.ui-autocomplete li {
  585. float:left;
  586. clear:both;
  587. width:100%;
  588. }
  589. .result-highlight {
  590. font-weight:bold;
  591. }
  592. #search {
  593. background-image:url('resources/glass.png');
  594. background-size:13px;
  595. background-repeat:no-repeat;
  596. background-position:2px 3px;
  597. padding-left:20px;
  598. position:relative;
  599. right:-18px;
  600. width:400px;
  601. }
  602. #reset {
  603. background-color: rgb(255,255,255);
  604. background-image:url('resources/x.png');
  605. background-position:center;
  606. background-repeat:no-repeat;
  607. background-size:12px;
  608. border:0 none;
  609. width:16px;
  610. height:16px;
  611. position:relative;
  612. left:-4px;
  613. top:-4px;
  614. font-size:0px;
  615. }
  616. .watermark {
  617. color:#545454;
  618. }
  619. .search-tag-desc-result {
  620. font-style:italic;
  621. font-size:11px;
  622. }
  623. .search-tag-holder-result {
  624. font-style:italic;
  625. font-size:12px;
  626. }
  627. .search-tag-result:target {
  628. background-color:yellow;
  629. }
  630. .module-graph span {
  631. display:none;
  632. position:absolute;
  633. }
  634. .module-graph:hover span {
  635. display:block;
  636. margin: -100px 0 0 100px;
  637. z-index: 1;
  638. }
  639. .inherited-list {
  640. margin: 10px 0 10px 0;
  641. }
  642. section.description {
  643. line-height: 1.4;
  644. }
  645. .summary section[class$="-summary"], .details section[class$="-details"],
  646. .class-uses .detail, .serialized-class-details {
  647. padding: 0px 20px 5px 10px;
  648. border: 1px solid #ededed;
  649. background-color: #f8f8f8;
  650. }
  651. .inherited-list, section[class$="-details"] .detail {
  652. padding:0 0 5px 8px;
  653. background-color:#ffffff;
  654. border:none;
  655. }
  656. .vertical-separator {
  657. padding: 0 5px;
  658. }
  659. ul.help-section-list {
  660. margin: 0;
  661. }
  662. /*
  663. * Indicator icon for external links.
  664. */
  665. main a[href*="://"]::after {
  666. content:"";
  667. display:inline-block;
  668. background-image:url('data:image/svg+xml; utf8, \
  669. <svg xmlns="http://www.w3.org/2000/svg" width="768" height="768">\
  670. <path d="M584 664H104V184h216V80H0v688h688V448H584zM384 0l132 \
  671. 132-240 240 120 120 240-240 132 132V0z" fill="%234a6782"/>\
  672. </svg>');
  673. background-size:100% 100%;
  674. width:7px;
  675. height:7px;
  676. margin-left:2px;
  677. margin-bottom:4px;
  678. }
  679. main a[href*="://"]:hover::after,
  680. main a[href*="://"]:focus::after {
  681. background-image:url('data:image/svg+xml; utf8, \
  682. <svg xmlns="http://www.w3.org/2000/svg" width="768" height="768">\
  683. <path d="M584 664H104V184h216V80H0v688h688V448H584zM384 0l132 \
  684. 132-240 240 120 120 240-240 132 132V0z" fill="%23bb7a2a"/>\
  685. </svg>');
  686. }
  687. /*
  688. * Styles for user-provided tables.
  689. *
  690. * borderless:
  691. * No borders, vertical margins, styled caption.
  692. * This style is provided for use with existing doc comments.
  693. * In general, borderless tables should not be used for layout purposes.
  694. *
  695. * plain:
  696. * Plain borders around table and cells, vertical margins, styled caption.
  697. * Best for small tables or for complex tables for tables with cells that span
  698. * rows and columns, when the "striped" style does not work well.
  699. *
  700. * striped:
  701. * Borders around the table and vertical borders between cells, striped rows,
  702. * vertical margins, styled caption.
  703. * Best for tables that have a header row, and a body containing a series of simple rows.
  704. */
  705. table.borderless,
  706. table.plain,
  707. table.striped {
  708. margin-top: 10px;
  709. margin-bottom: 10px;
  710. }
  711. table.borderless > caption,
  712. table.plain > caption,
  713. table.striped > caption {
  714. font-weight: bold;
  715. font-size: smaller;
  716. }
  717. table.borderless th, table.borderless td,
  718. table.plain th, table.plain td,
  719. table.striped th, table.striped td {
  720. padding: 2px 5px;
  721. }
  722. table.borderless,
  723. table.borderless > thead > tr > th, table.borderless > tbody > tr > th, table.borderless > tr > th,
  724. table.borderless > thead > tr > td, table.borderless > tbody > tr > td, table.borderless > tr > td {
  725. border: none;
  726. }
  727. table.borderless > thead > tr, table.borderless > tbody > tr, table.borderless > tr {
  728. background-color: transparent;
  729. }
  730. table.plain {
  731. border-collapse: collapse;
  732. border: 1px solid black;
  733. }
  734. table.plain > thead > tr, table.plain > tbody tr, table.plain > tr {
  735. background-color: transparent;
  736. }
  737. table.plain > thead > tr > th, table.plain > tbody > tr > th, table.plain > tr > th,
  738. table.plain > thead > tr > td, table.plain > tbody > tr > td, table.plain > tr > td {
  739. border: 1px solid black;
  740. }
  741. table.striped {
  742. border-collapse: collapse;
  743. border: 1px solid black;
  744. }
  745. table.striped > thead {
  746. background-color: #E3E3E3;
  747. }
  748. table.striped > thead > tr > th, table.striped > thead > tr > td {
  749. border: 1px solid black;
  750. }
  751. table.striped > tbody > tr:nth-child(even) {
  752. background-color: #EEE
  753. }
  754. table.striped > tbody > tr:nth-child(odd) {
  755. background-color: #FFF
  756. }
  757. table.striped > tbody > tr > th, table.striped > tbody > tr > td {
  758. border-left: 1px solid black;
  759. border-right: 1px solid black;
  760. }
  761. table.striped > tbody > tr > th {
  762. font-weight: normal;
  763. }
  764. /**
  765. * Tweak font sizes and paddings for small screens.
  766. */
  767. @media screen and (max-width: 1050px) {
  768. #search {
  769. width: 300px;
  770. }
  771. }
  772. @media screen and (max-width: 800px) {
  773. #search {
  774. width: 200px;
  775. }
  776. .top-nav,
  777. .bottom-nav {
  778. font-size: 11px;
  779. padding-top: 6px;
  780. }
  781. .sub-nav {
  782. font-size: 11px;
  783. }
  784. .about-language {
  785. padding-right: 16px;
  786. }
  787. ul.nav-list li,
  788. .sub-nav .nav-list-search {
  789. padding: 6px;
  790. }
  791. ul.sub-nav-list li {
  792. padding-top: 5px;
  793. }
  794. main {
  795. padding: 10px;
  796. }
  797. .summary section[class$="-summary"], .details section[class$="-details"],
  798. .class-uses .detail, .serialized-class-details {
  799. padding: 0 8px 5px 8px;
  800. }
  801. body {
  802. -webkit-text-size-adjust: none;
  803. }
  804. }
  805. @media screen and (max-width: 500px) {
  806. #search {
  807. width: 150px;
  808. }
  809. .top-nav,
  810. .bottom-nav {
  811. font-size: 10px;
  812. }
  813. .sub-nav {
  814. font-size: 10px;
  815. }
  816. .about-language {
  817. font-size: 10px;
  818. padding-right: 12px;
  819. }
  820. }