Masterarbeit Richard Stern. Flutter App, sich mit einem Bluetooth-Gerät verbindet und Berührungen auf einem Sensor visualisiert.
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.

styles.css 14KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921
  1. /* Palette generated by Material Palette - materialpalette.com/blue/cyan */
  2. .dark-primary-color { background: #1976D2; }
  3. .default-primary-color { background: #2196F3; }
  4. .light-primary-color { background: #BBDEFB; }
  5. .text-primary-color { color: #FFFFFF; }
  6. .accent-color { background: #00BCD4; }
  7. .primary-text-color { color: #212121; }
  8. .secondary-text-color { color: #727272; }
  9. .divider-color { border-color: #B6B6B6; }
  10. /* for layout */
  11. html,
  12. body {
  13. margin: 0;
  14. padding: 0;
  15. height: 100%;
  16. }
  17. body {
  18. display: flex;
  19. flex-direction: column;
  20. min-height: 100vh;
  21. }
  22. header {
  23. flex: 0 0 56px;
  24. display: flex;
  25. flex-direction: row;
  26. align-items: center;
  27. padding-left: 30px;
  28. }
  29. header ol {
  30. list-style: none;
  31. margin: 0;
  32. padding: 0;
  33. }
  34. header ol li {
  35. display: inline;
  36. }
  37. header form {
  38. display: flex;
  39. flex: 1;
  40. justify-content: flex-end;
  41. padding-right: 30px;
  42. }
  43. footer {
  44. flex: 0 0 16px;
  45. text-align: center;
  46. padding: 16px 20px;
  47. }
  48. main {
  49. flex: 1;
  50. display: flex;
  51. flex-direction: row;
  52. }
  53. .sidebar-offcanvas-left {
  54. flex: 0 1 195px;
  55. overflow-y: scroll;
  56. padding: 20px 0 15px 30px;
  57. }
  58. ::-webkit-scrollbar-button{ display: none; height: 13px; border-radius: 0px; background-color: #AAA; }
  59. ::-webkit-scrollbar-button:hover{ background-color: #AAA; }
  60. ::-webkit-scrollbar-thumb{ background-color: #CCC; }
  61. ::-webkit-scrollbar-thumb:hover{ background-color: #CCC; }
  62. ::-webkit-scrollbar{ width: 4px; }
  63. .main-content::-webkit-scrollbar{ width: 8px; }
  64. .main-content {
  65. flex: 1;
  66. overflow-y: auto;
  67. padding: 20px 15px 0 30px;
  68. }
  69. .sidebar,
  70. .main-content {
  71. margin: 20px 0;
  72. }
  73. .sidebar-offcanvas-right {
  74. flex: 0 1 12em;
  75. overflow-y: auto;
  76. padding: 20px 15px 15px 15px;
  77. margin-right: 20px;
  78. }
  79. /* end for layout */
  80. body {
  81. -webkit-text-size-adjust: 100%;
  82. overflow-x: hidden;
  83. font-family: "Source Sans Pro", sans-serif;
  84. font-size: 16px;
  85. line-height: 1.42857143;
  86. color: #111111;
  87. background-color: #fff;
  88. }
  89. /* some of this is to reset bootstrap */
  90. nav.navbar {
  91. background-color: inherit;
  92. min-height: 50px;
  93. border: 0;
  94. }
  95. @media (max-width: 767px) {
  96. .hidden-xs {
  97. display: none!important;
  98. }
  99. }
  100. nav.navbar .row {
  101. padding-top: 8px;
  102. }
  103. nav .container {
  104. white-space: nowrap;
  105. }
  106. header {
  107. background-color: #eeeeee;
  108. box-shadow: 0 3px 5px rgba(0,0,0,0.1);
  109. }
  110. header.header-fixed nav.navbar-fixed-top {
  111. box-shadow: 0 3px 5px rgba(0,0,0,0.1);
  112. }
  113. header.container-fluid {
  114. padding: 0;
  115. }
  116. header .masthead {
  117. padding-top: 64px;
  118. }
  119. header .contents {
  120. padding: 0;
  121. }
  122. @media screen and (max-width:768px) {
  123. header .contents {
  124. padding-left: 15px;
  125. padding-right: 15px;
  126. }
  127. }
  128. a {
  129. text-decoration: none;
  130. }
  131. .body {
  132. margin-top: 90px;
  133. }
  134. section {
  135. margin-bottom: 36px;
  136. }
  137. dl {
  138. margin: 0;
  139. }
  140. h1,
  141. h2,
  142. h3,
  143. h4,
  144. h5,
  145. h6 {
  146. font-family: "Source Sans Pro", sans-serif;
  147. font-weight: 400;
  148. margin-top: 1.5em;
  149. color: #111111;
  150. }
  151. h1.title {
  152. overflow: hidden;
  153. text-overflow: ellipsis;
  154. }
  155. h1 {
  156. font-size: 37px;
  157. margin-top: 0;
  158. margin-bottom: 0.67em;
  159. }
  160. h2 {
  161. font-size: 28px;
  162. }
  163. h5 {
  164. font-size: 16px;
  165. }
  166. .subtitle {
  167. font-size: 17px;
  168. min-height: 1.4em;
  169. }
  170. .title-description .subtitle {
  171. white-space: nowrap;
  172. overflow-x: hidden;
  173. text-overflow: ellipsis;
  174. }
  175. p {
  176. margin-bottom: 1em;
  177. margin-top: 0;
  178. }
  179. a, a:hover {
  180. color: #1155cc;
  181. }
  182. pre.prettyprint {
  183. font-family: 'Source Code Pro', Menlo, monospace;
  184. color: black;
  185. border-radius: 0;
  186. font-size: 15px;
  187. word-wrap: normal;
  188. line-height: 1.4;
  189. border: 0;
  190. margin: 16px 0 16px 0;
  191. padding: 8px;
  192. }
  193. pre code {
  194. white-space: pre;
  195. word-wrap: initial;
  196. font-size: 100%
  197. }
  198. .fixed {
  199. white-space: pre;
  200. }
  201. pre {
  202. border: 1px solid #ddd;
  203. background-color: #eee;
  204. font-size: 14px;
  205. }
  206. code {
  207. font-family: 'Source Code Pro', Menlo, monospace;
  208. /* overriding bootstrap */
  209. color: inherit;
  210. padding: 0.2em 0.4em;
  211. font-size: 85%;
  212. background-color: rgba(27,31,35,0.05);
  213. border-radius: 3px;
  214. }
  215. h2 .crossdart {
  216. float: right;
  217. font-size: 0.5em;
  218. margin-top: 1em;
  219. }
  220. .crossdart-link {
  221. border-bottom: 1px solid #dfdfdf;
  222. text-decoration: none;
  223. }
  224. .crossdart-link:hover {
  225. border-bottom: 1px solid #aaa;
  226. text-decoration: none;
  227. }
  228. @media(max-width: 768px) {
  229. nav .container {
  230. width: 100%
  231. }
  232. h1 {
  233. font-size: 24px;
  234. }
  235. pre {
  236. margin: 16px 0;
  237. }
  238. }
  239. @media (min-width: 768px) {
  240. ul.subnav li {
  241. font-size: 17px;
  242. }
  243. }
  244. header h1 {
  245. font-weight: 400;
  246. margin-bottom: 16px;
  247. }
  248. header a,
  249. header a:hover,
  250. header p,
  251. header li {
  252. color: #111;
  253. }
  254. header h1 .kind {
  255. color: #555;
  256. }
  257. dt {
  258. font-weight: normal;
  259. }
  260. dd {
  261. color: #212121;
  262. margin-bottom: 1em;
  263. margin-left: 0;
  264. }
  265. dd.callable, dd.constant, dd.property {
  266. margin-bottom: 24px;
  267. }
  268. dd p {
  269. overflow-x: hidden;
  270. text-overflow: ellipsis;
  271. margin-bottom: 0;
  272. }
  273. /* indents wrapped lines */
  274. section.summary dt {
  275. margin-left: 24px;
  276. text-indent: -24px;
  277. }
  278. .dl-horizontal dd {
  279. margin-left: initial;
  280. }
  281. dl.dl-horizontal dt {
  282. font-style: normal;
  283. text-align: left;
  284. color: #727272;
  285. margin-right: 20px;
  286. width: initial;
  287. }
  288. dt .name {
  289. font-weight: 500;
  290. }
  291. dl dt.callable .name {
  292. float: none;
  293. width: auto;
  294. }
  295. .parameter {
  296. white-space: nowrap;
  297. }
  298. .type-parameter {
  299. white-space: nowrap;
  300. }
  301. .multi-line-signature .type-parameter .parameter {
  302. margin-left: 0px;
  303. display: unset;
  304. }
  305. .signature {
  306. color: #727272;
  307. }
  308. .signature a {
  309. /* 50% mix of default-primary-color and primary-text-color. */
  310. color: #4674a2;
  311. }
  312. .optional {
  313. font-style: italic;
  314. }
  315. .undocumented {
  316. font-style: italic;
  317. }
  318. .is-const {
  319. font-style: italic;
  320. }
  321. .deprecated {
  322. text-decoration: line-through;
  323. }
  324. .category.linked {
  325. font-weight: bold;
  326. opacity: 1;
  327. }
  328. /* Colors for category based on categoryOrder in dartdoc_options.config. */
  329. .category.cp-0 {
  330. background-color: #54b7c4
  331. }
  332. .category.cp-1 {
  333. background-color: #54c47f
  334. }
  335. .category.cp-2 {
  336. background-color: #c4c254
  337. }
  338. .category.cp-3 {
  339. background-color: #c49f54
  340. }
  341. .category.cp-4 {
  342. background-color: #c45465
  343. }
  344. .category.cp-5 {
  345. background-color: #c454c4
  346. }
  347. .category a {
  348. color: white;
  349. }
  350. .category {
  351. padding: 2px 4px;
  352. font-size: 12px;
  353. border-radius: 4px;
  354. background-color: #999;
  355. text-transform: uppercase;
  356. color: white;
  357. opacity: .5;
  358. }
  359. h1 .category {
  360. vertical-align: middle;
  361. }
  362. p.firstline {
  363. font-weight: bold;
  364. }
  365. footer {
  366. color: #fff;
  367. background-color: #111111;
  368. width: 100%;
  369. }
  370. footer p {
  371. margin: 0;
  372. }
  373. footer .no-break {
  374. white-space: nowrap;
  375. }
  376. footer .container,
  377. footer .container-fluid {
  378. padding-left: 0;
  379. padding-right: 0;
  380. }
  381. footer a, footer a:hover {
  382. color: #fff;
  383. }
  384. .markdown.desc {
  385. max-width: 700px;
  386. }
  387. .markdown h1 {
  388. font-size: 24px;
  389. margin-bottom: 8px;
  390. }
  391. .markdown h2 {
  392. font-size: 20px;
  393. margin-top: 24px;
  394. margin-bottom: 8px;
  395. }
  396. .markdown h3 {
  397. font-size: 18px;
  398. margin-bottom: 8px;
  399. }
  400. .markdown h4 {
  401. font-size: 16px;
  402. margin-bottom: 0;
  403. }
  404. .markdown li p {
  405. margin: 0;
  406. }
  407. .gt-separated {
  408. list-style: none;
  409. padding: 0;
  410. margin: 0;
  411. }
  412. .gt-separated li {
  413. display: inline-block;
  414. }
  415. .gt-separated li:before {
  416. background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'><path fill='#DDDDDD' d='M6.7,4L5.7,4.9L8.8,8l-3.1,3.1L6.7,12l4-4L6.7,4z'/></svg>");
  417. background-position: center;
  418. content: "\00a0";
  419. margin: 0 6px 0 4px;
  420. padding: 0 3px 0 0;
  421. }
  422. .gt-separated.dark li:before {
  423. background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'><path fill='#727272' d='M6.7,4L5.7,4.9L8.8,8l-3.1,3.1L6.7,12l4-4L6.7,4z'/></svg>");
  424. }
  425. .gt-separated li:first-child:before {
  426. background-image: none;
  427. content: "";
  428. margin: 0;
  429. }
  430. /* The slug line under a declaration for things like "const", "read-only", etc. */
  431. .features {
  432. font-style: italic;
  433. color: #727272;
  434. }
  435. .multi-line-signature {
  436. font-size: 17px;
  437. color: #727272;
  438. }
  439. .multi-line-signature .parameter {
  440. margin-left: 24px;
  441. display: block;
  442. }
  443. .breadcrumbs {
  444. padding: 0;
  445. margin: 8px 0 8px 0;
  446. white-space: nowrap;
  447. line-height: 1;
  448. }
  449. @media screen and (min-width: 768px) {
  450. nav ol.breadcrumbs {
  451. float: left;
  452. }
  453. }
  454. @media screen and (max-width: 768px) {
  455. .breadcrumbs {
  456. margin: 0 0 24px 0;
  457. overflow-x: hidden;
  458. }
  459. }
  460. .self-crumb {
  461. color: #555;
  462. }
  463. .self-name {
  464. color: #555;
  465. display: none;
  466. }
  467. .annotation-list {
  468. list-style: none;
  469. padding: 0;
  470. display: inline;
  471. }
  472. .comma-separated {
  473. list-style: none;
  474. padding: 0;
  475. display: inline;
  476. }
  477. .comma-separated li {
  478. display: inline;
  479. }
  480. .comma-separated li:after {
  481. content: ", ";
  482. }
  483. .comma-separated li:last-child:after {
  484. content: "";
  485. }
  486. .end-with-period li:last-child:after {
  487. content: ".";
  488. }
  489. .container > section:first-child {
  490. border: 0;
  491. }
  492. .constructor-modifier {
  493. font-style: italic;
  494. }
  495. section.multi-line-signature div.parameters {
  496. margin-left: 24px;
  497. }
  498. /* subnav styles */
  499. ul.subnav {
  500. overflow: auto;
  501. white-space: nowrap;
  502. padding-left: 0;
  503. min-height: 25px;
  504. }
  505. ul.subnav::-webkit-scrollbar {
  506. display: none;
  507. }
  508. ul.subnav li {
  509. display: inline-block;
  510. text-transform: uppercase;
  511. }
  512. ul.subnav li a {
  513. color: #111;
  514. }
  515. ul.subnav li {
  516. margin-right: 24px;
  517. }
  518. ul.subnav li:last-of-type {
  519. margin-right: 0;
  520. }
  521. @media(max-width: 768px) {
  522. ul.subnav li {
  523. margin-right: 16px;
  524. }
  525. }
  526. /* sidebar styles */
  527. .sidebar ol {
  528. list-style: none;
  529. line-height: 22px;
  530. margin-top: 0;
  531. margin-bottom: 0;
  532. padding: 0 0 15px 0;
  533. }
  534. .sidebar h5 a,
  535. .sidebar h5 a:hover {
  536. color: #727272;
  537. }
  538. .sidebar h5,
  539. .sidebar ol li {
  540. text-overflow: ellipsis;
  541. overflow: hidden;
  542. padding: 3px 0;
  543. }
  544. .sidebar h5 {
  545. color: #727272;
  546. font-size: 18px;
  547. margin: 0 0 25px 0;
  548. padding-top: 0;
  549. }
  550. .sidebar ol li.section-title a {
  551. color: inherit;
  552. }
  553. .sidebar ol li.section-title {
  554. font-size: 18px;
  555. font-weight: normal;
  556. text-transform: uppercase;
  557. padding-top: 25px;
  558. }
  559. .sidebar ol li.section-subtitle a {
  560. color: inherit;
  561. }
  562. .sidebar ol li.section-subtitle {
  563. font-weight: 400;
  564. text-transform: uppercase;
  565. }
  566. .sidebar ol li.section-subitem {
  567. margin-left: 12px;
  568. }
  569. .sidebar ol li:first-child {
  570. padding-top: 0;
  571. margin-top: 0;
  572. }
  573. button {
  574. padding: 0;
  575. }
  576. #sidenav-left-toggle {
  577. display: none;
  578. vertical-align: text-bottom;
  579. padding: 0;
  580. }
  581. /* left-nav disappears, and can transition in from the left */
  582. @media screen and (max-width:768px) {
  583. #sidenav-left-toggle {
  584. display: inline;
  585. background: no-repeat url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'><path fill='#111' d='M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z'/></svg>");
  586. background-position: center;
  587. width: 24px;
  588. height: 24px;
  589. border: none;
  590. margin-right: 24px;
  591. }
  592. #overlay-under-drawer.active {
  593. opacity: 0.4;
  594. height: 100%;
  595. z-index: 1999;
  596. position: fixed;
  597. top: 0;
  598. left: 0;
  599. right: 0;
  600. bottom: 0;
  601. background-color: black;
  602. display: block;
  603. }
  604. .sidebar-offcanvas-left {
  605. left: -100%;
  606. position: fixed;
  607. -webkit-transition:all .25s ease-out;
  608. -o-transition:all .25s ease-out;
  609. transition:all .25s ease-out;
  610. z-index: 2000;
  611. top: 0;
  612. width: 280px; /* works all the way down to an iphone 4 */
  613. height: 100%;
  614. background-color: white;
  615. overflow-y: auto; /* TODO: how to hide scroll bars? */
  616. padding: 10px;
  617. }
  618. .sidebar-offcanvas-left.active {
  619. left: 0; /* this animates our drawer into the page */
  620. }
  621. .self-name {
  622. display: inline-block;
  623. }
  624. }
  625. .sidebar-offcanvas-left h5 {
  626. margin-bottom: 10px;
  627. }
  628. .sidebar-offcanvas-left h5:last-of-type {
  629. border: 0;
  630. margin-bottom: 25px;
  631. }
  632. /* the right nav disappears out of view when the window shrinks */
  633. @media screen and (max-width: 992px) {
  634. .sidebar-offcanvas-right {
  635. display: none;
  636. }
  637. }
  638. #overlay-under-drawer {
  639. display: none;
  640. }
  641. /* find-as-you-type search box */
  642. /* override bootstrap defaults */
  643. .form-control {
  644. border-radius: 0;
  645. border: 0;
  646. }
  647. @media screen and (max-width: 500px) {
  648. form.search {
  649. display: none;
  650. }
  651. }
  652. .typeahead,
  653. .tt-query,
  654. .tt-hint {
  655. width: 200px;
  656. height: 20px;
  657. padding: 4px 12px;
  658. line-height: 30px;
  659. outline: none;
  660. }
  661. .typeahead {
  662. background-color: #fff;
  663. border-radius: 2px;
  664. }
  665. .tt-query {
  666. -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  667. -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  668. box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  669. }
  670. .tt-hint {
  671. color: #999
  672. }
  673. .navbar-right .tt-menu {
  674. right:0;
  675. left: inherit !important;
  676. width: 422px;
  677. max-height: 250px;
  678. overflow-y: auto;
  679. }
  680. .tt-menu {
  681. font-size: 14px;
  682. margin: 0;
  683. padding: 8px 0;
  684. background-color: #fff;
  685. border: 1px solid #ccc;
  686. border: 1px solid rgba(0, 0, 0, 0.2);
  687. -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2);
  688. -moz-box-shadow: 0 5px 10px rgba(0,0,0,.2);
  689. box-shadow: 0 5px 10px rgba(0,0,0,.2);
  690. }
  691. .tt-suggestion {
  692. padding: 3px 20px;
  693. color: #212121;
  694. }
  695. .tt-suggestion:hover {
  696. cursor: pointer;
  697. color: #fff;
  698. background-color: #0097cf;
  699. }
  700. .tt-suggestion:hover .search-from-lib {
  701. color: #ddd;
  702. }
  703. .tt-suggestion.tt-cursor {
  704. color: #fff;
  705. background-color: #0097cf;
  706. }
  707. .tt-suggestion.tt-cursor .search-from-lib {
  708. color: #ddd;
  709. }
  710. .tt-suggestion p {
  711. margin: 0;
  712. }
  713. .search-from-lib {
  714. font-style: italic;
  715. color: gray;
  716. }
  717. #search-box {
  718. background-color: #ffffff;
  719. }
  720. .search-body {
  721. border: 1px solid #7f7f7f;
  722. max-width: 400px;
  723. box-shadow: 3px 3px 5px rgba(0,0,0,0.1);
  724. }
  725. section#setter {
  726. border-top: 1px solid #ddd;
  727. padding-top: 36px;
  728. }
  729. li.inherited a {
  730. opacity: 0.65;
  731. font-style: italic;
  732. }
  733. #instance-methods dt.inherited .name,
  734. #instance-properties dt.inherited .name,
  735. #operators dt.inherited .name {
  736. font-weight: 300;
  737. font-style: italic;
  738. }
  739. #instance-methods dt.inherited .signature,
  740. #instance-properties dt.inherited .signature,
  741. #operators dt.inherited .signature {
  742. font-weight: 300;
  743. }
  744. @media print {
  745. .subnav, .sidebar {
  746. display:none;
  747. }
  748. a[href]:after {
  749. content:"" !important;
  750. }
  751. }