less copy protection, more size visualization
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 
 

1031 satır
17 KiB

  1. @import url('https://fonts.googleapis.com/css?family=Coda&display=swap');
  2. html {
  3. height: 100%;
  4. width: 100%;
  5. box-sizing: border-box;
  6. overflow-x: hidden;
  7. overflow-y: hidden;
  8. color: #eee;
  9. }
  10. body {
  11. position: relative;
  12. background: #333;
  13. display: flex;
  14. flex-direction: column;
  15. align-items: center;
  16. justify-content: flex-start;
  17. height: 100%;
  18. width: 100%;
  19. font-family: 'Coda', sans-serif;
  20. }
  21. .entity-box {
  22. position: absolute;
  23. --height: 100px;
  24. --brightness: 1;
  25. max-height: var(--height);
  26. height: var(--height);
  27. text-align: center;
  28. -webkit-user-drag: none;
  29. -khtml-user-drag: none;
  30. -moz-user-drag: none;
  31. -o-user-drag: none;
  32. pointer-events: none;
  33. transition: left 0.2s cubic-bezier(.1,.41,.18,.99), top 0.2s cubic-bezier(.1,.41,.18,.99), height 0.2s cubic-bezier(.1,.41,.18,.99), max-height 0.2s cubic-bezier(.1,.41,.18,.99);
  34. }
  35. .entity-image {
  36. display: block;
  37. height: 100%;
  38. pointer-events: auto;
  39. -webkit-user-drag: none;
  40. -khtml-user-drag: none;
  41. -moz-user-drag: none;
  42. -o-user-drag: none;
  43. --offset: -100%;
  44. transform: translate(-50%, var(--offset));
  45. filter: brightness(var(--brightness));
  46. }
  47. .entity-name {
  48. display: none;
  49. position: absolute;
  50. top: calc(-100% + var(--extra) / 2);
  51. left: 0%;
  52. transform: translate(-50%, -36px);
  53. font-size: 24px;
  54. pointer-events: none;
  55. max-width: 250px;
  56. width: 250px;
  57. transition: all 0s;
  58. }
  59. body.toggle-entity-name .entity-name,
  60. .entity-box.selected .entity-name {
  61. display: inline;
  62. }
  63. .entity-box.selected > img {
  64. filter: brightness(var(--brightness)) drop-shadow(0px 0px 5px gold);
  65. }
  66. body.toggle-entity-glow .entity-box:not(.selected) > img{
  67. filter: brightness(var(--brightness)) drop-shadow(0px 0px 2px white);
  68. }
  69. #main-area {
  70. min-height: 0px;
  71. display: flex;
  72. flex: 1 1 90vh;
  73. width: 100%;
  74. flex-direction: row;
  75. }
  76. #options {
  77. position: relative;
  78. flex: 1 1 15vw;
  79. min-width: 100pt;
  80. display: flex;
  81. justify-content: start;
  82. flex-direction: column;
  83. background: #444;
  84. overflow-x: hidden;
  85. overflow-y: auto;
  86. height: 100%;
  87. scrollbar-color: #e1e1e1 #888;
  88. }
  89. #options.hidden {
  90. min-width: 0pt;
  91. flex: 0 1 0vw;
  92. }
  93. #options-attribution {
  94. display: none;
  95. }
  96. #options::-webkit-scrollbar {
  97. height: 2px;
  98. }
  99. #options::-webkit-scrollbar-button {
  100. width: 0px;
  101. height: 0px;
  102. }
  103. #options::-webkit-scrollbar-thumb {
  104. background: #e1e1e1;
  105. border: 0px none #ffffff;
  106. border-radius: 50px;
  107. }
  108. #options::-webkit-scrollbar-thumb:hover {
  109. background: #ffffff;
  110. }
  111. #options::-webkit-scrollbar-thumb:active {
  112. background: #000000;
  113. }
  114. #options::-webkit-scrollbar-track {
  115. background: #00000000;
  116. border: 0px none #ffffff;
  117. border-radius: 50px;
  118. }
  119. #options::-webkit-scrollbar-track:hover {
  120. background: #666666;
  121. }
  122. #options::-webkit-scrollbar-track:active {
  123. background: #333333;
  124. }
  125. #options::-webkit-scrollbar-corner {
  126. background: transparent;
  127. }
  128. .options-two-buttons {
  129. display: flex;
  130. justify-content: space-evenly;
  131. }
  132. .options-category {
  133. position: relative;
  134. }
  135. .options-row {
  136. position: relative;
  137. flex-direction: column;
  138. display: flex;
  139. text-align: center;
  140. align-items: center;
  141. margin-left: auto;
  142. margin-right: auto;
  143. margin-top: 8px;
  144. margin-bottom: 8px;
  145. max-width: 90%;
  146. }
  147. .options-row.full {
  148. min-width: 90%;
  149. }
  150. .options-block {
  151. display: flex;
  152. text-align: center;
  153. min-width: 90%;
  154. width: 90%;
  155. margin: auto;
  156. flex-direction: column;
  157. }
  158. .options-label {
  159. text-align: center;
  160. user-select: none;
  161. margin-top: 12px;
  162. margin-bottom: 4px;
  163. }
  164. .options-block.options-block-optional {
  165. display: none;
  166. }
  167. body.show-extra-options .options-block.options-block-optional {
  168. display: flex;
  169. }
  170. .options-header {
  171. text-align: center;
  172. font-size: 24pt;
  173. margin-top: 10px;
  174. margin-bottom: 10px;
  175. background: #333;
  176. user-select: none;
  177. }
  178. .options-banner {
  179. text-align: center;
  180. font-size: 24pt;
  181. margin-top: 10px;
  182. margin-bottom: 10px;
  183. background: #232;
  184. text-decoration: none;
  185. user-select: none;
  186. }
  187. .options-banner:hover {
  188. color: #222;
  189. background: #494;
  190. }
  191. .options-selector {
  192. font-size: 150%;
  193. width: 100%;
  194. }
  195. #entities {
  196. position: absolute;
  197. user-select: none;
  198. width: 100%;
  199. height: 100%;
  200. }
  201. #world {
  202. position: relative;
  203. flex: 1 1 85vw;
  204. height: 100%;
  205. overflow: hidden;
  206. }
  207. #menubar {
  208. display: flex;
  209. flex: 1 0 5vh;
  210. flex-direction: row;
  211. justify-content: space-evenly;
  212. align-items: center;
  213. flex-wrap: wrap;
  214. min-width: 100vw;
  215. background: #222;
  216. }
  217. #menubar.hover-delete {
  218. background: #922;
  219. }
  220. .menubar-group {
  221. display: flex;
  222. flex-direction: row;
  223. }
  224. .popout-group {
  225. margin: 20px;
  226. display: flex;
  227. flex-direction: column;
  228. }
  229. .menu-item {
  230. font-size: 24px;
  231. color: #ccc;
  232. margin: 20px;
  233. }
  234. select.menu-item {
  235. color: #000;
  236. }
  237. #display {
  238. display: block;
  239. width: 100%;
  240. height: 100%;
  241. background: #333;
  242. }
  243. #options .options-label,
  244. #options .options-banner {
  245. flex: 0 1;
  246. width: 100%;
  247. font-size: 150%;
  248. }
  249. .options-row .options-field-numeric {
  250. flex: 1 1 100%;
  251. max-width: 90%;
  252. font-size: 150%;
  253. }
  254. .options-row .options-field-text {
  255. flex: 1 0 90%;
  256. max-width: 90%;
  257. font-size: 150%;
  258. }
  259. .options-row .options-field-unit {
  260. flex: 1 1 10%;
  261. max-width: 90%;
  262. font-size: 150%;
  263. }
  264. .options-row .options-field-picker {
  265. flex: 1;
  266. width: 100%;
  267. min-width: 90%;
  268. max-width: 90%;
  269. font-size: 150%;
  270. overflow: hidden;
  271. white-space: pre-wrap;
  272. word-break: normal;
  273. text-overflow: ellipsis;
  274. }
  275. .options-row .symbol-button {
  276. width: 75px;
  277. font-size: 70px;
  278. }
  279. .options-row .options-button {
  280. flex: 1;
  281. width: 100%;
  282. font-size: 150%;
  283. }
  284. .options-block .options-button {
  285. flex: 1;
  286. width: 100%;
  287. font-size: 150%;
  288. }
  289. .options-row label {
  290. flex: 1;
  291. width: 100%;
  292. font-size: 150%;
  293. }
  294. body #test-canvas {
  295. position: fixed;
  296. top: 500vh;
  297. }
  298. .switch {
  299. height: 24pt;
  300. }
  301. .switch input {
  302. transform: scale(2);
  303. }
  304. .top-name {
  305. display: none;
  306. text-align: center;
  307. position: fixed;
  308. max-width: 150px;
  309. height: 50px;
  310. transform: translate(-50%, 20pt);
  311. z-index: 1001;
  312. }
  313. body.toggle-top-name .top-name.top-name-needed {
  314. display: block;
  315. }
  316. .top-name::after {
  317. display: block;
  318. background-image: url("./media/ui/arrow.svg");
  319. width: 70px;
  320. height: 70px;
  321. background-size: 70px 70px;
  322. background-repeat: no-repeat;
  323. content: "";
  324. transform: translate(0, -120%);
  325. }
  326. .bottom-name {
  327. display: none;
  328. text-align: center;
  329. position: fixed;
  330. width: 150px;
  331. height: 50px;
  332. z-index: 10001;
  333. transform: translate(-50%, 0pt);
  334. }
  335. body.toggle-bottom-name .bottom-name {
  336. display: inline;
  337. }
  338. #menubar select {
  339. font-size: 16pt;
  340. max-width: 200pt;
  341. min-width: 120pt;
  342. height: 40pt;
  343. max-height: 180pt;
  344. overflow: hidden;
  345. white-space: pre-wrap;
  346. word-break: normal;
  347. text-overflow: ellipsis;
  348. }
  349. #menubar button {
  350. position: relative;
  351. font-size: 32pt;
  352. height: 40pt;
  353. z-index: 1;
  354. }
  355. #open-help {
  356. padding-top: 1pt;
  357. }
  358. #open-help.highlighted::after {
  359. position: absolute;
  360. top: 0;
  361. left: 0;
  362. content: " ";
  363. display: block;
  364. height: 100%;
  365. width: 100%;
  366. background: inherit;
  367. filter: drop-shadow(0px 0px 10px white) drop-shadow(0px 0px 10px white);
  368. z-index: -1;
  369. animation: pulsing 5s linear 0s infinite;
  370. }
  371. @keyframes pulsing {
  372. 0% {
  373. opacity: 100%;
  374. }
  375. 50% {
  376. opacity: 25%;
  377. }
  378. 100% {
  379. opacity: 100%;
  380. }
  381. }
  382. a {
  383. color: #999;
  384. }
  385. #options-attribution-authors {
  386. text-align: center;
  387. }
  388. #options-attribution-owners {
  389. text-align: center;
  390. }
  391. #options-attribution-source {
  392. text-align: center;
  393. }
  394. .no-transition {
  395. transition: 0s !important;
  396. }
  397. .corner-ribbon {
  398. width: 200px;
  399. background: #e43;
  400. position: fixed;
  401. top: 25px;
  402. left: -50px;
  403. text-align: center;
  404. padding: 10px;
  405. letter-spacing: 1px;
  406. color: #f0f0f0;
  407. transform: rotate(-45deg);
  408. -webkit-transform: rotate(-45deg);
  409. }
  410. .corner-ribbon.bottom-right{
  411. top: auto;
  412. right: -50px;
  413. bottom: 25px;
  414. left: auto;
  415. transform: rotate(-45deg);
  416. -webkit-transform: rotate(-45deg);
  417. }
  418. a.corner-ribbon {
  419. text-decoration: none;
  420. }
  421. input[type=checkbox] {
  422. transform: scale(2);
  423. margin-left: 10px;
  424. margin-right: 10px;
  425. }
  426. input ~ label {
  427. user-select: none;
  428. }
  429. body.toggle-height-bars .height-bar,
  430. .entity-box.selected .height-bar {
  431. display: block;
  432. }
  433. .height-bar {
  434. display: none;
  435. min-width: calc(var(--xpos));
  436. min-height: 3px;
  437. height: 3px;
  438. position: absolute;
  439. opacity: 50%;
  440. background: repeating-linear-gradient(90deg, #ffffff, #ffffff 20px, #ffffff00 20px, #ffffff00 40px);
  441. top: calc(-100% + var(--extra));
  442. left: calc(-1 * var(--xpos));
  443. transition: 0s all;
  444. z-index: -1;
  445. }
  446. .height-bar::before {
  447. display: block;
  448. background: gray;
  449. position: absolute;
  450. content: var(--entity-height);
  451. transition: 0s all;
  452. }
  453. .height-bar::after {
  454. display: block;
  455. min-width: 24px;
  456. min-height: 3px;
  457. background: #ffffff;
  458. position: absolute;
  459. left: calc(var(--xpos) - 24px);
  460. transition: 0s all;
  461. content: "";
  462. }
  463. .sr-only {
  464. position: absolute;
  465. width: 1px;
  466. height: 1px;
  467. padding: 0;
  468. margin: -1px;
  469. overflow: hidden;
  470. clip: rect(0,0,0,0);
  471. border: 0;
  472. }
  473. .bottom-cover {
  474. display: none;
  475. position: absolute;
  476. width: 100%;
  477. height: 10vh;
  478. left: 0%;
  479. top: calc(100% - 51px);
  480. background: black;
  481. }
  482. body.toggle-bottom-cover .bottom-cover {
  483. display: inline-block;
  484. }
  485. .transitions {
  486. transition: 0.2s all;
  487. }
  488. .rotate-forward {
  489. transform: rotate(-90deg);
  490. }
  491. .rotate-backward {
  492. transform: rotate(90deg);
  493. }
  494. .flipped {
  495. transform: rotate(180deg);
  496. }
  497. i.fas
  498. i.far {
  499. pointer-events: none;
  500. }
  501. #help-icons {
  502. display: flex;
  503. flex-direction: column;
  504. flex-wrap: wrap;
  505. width: 50vw;
  506. }
  507. #help-icons > div {
  508. flex-basis: 25%;
  509. font-size: 150%;
  510. }
  511. #entity-view {
  512. text-align: center;
  513. font-weight: bold;
  514. font-size: 200%;
  515. }
  516. #spawners > select,
  517. #spawners > button,
  518. #filters > select,
  519. #filters > button {
  520. display: none;
  521. }
  522. #spawners > select#category-picker,
  523. #filters > select#filter-picker {
  524. display: block;
  525. }
  526. #spawners > select.category-visible,
  527. #spawners > select.category-visible + button,
  528. #filters > select.category-visible,
  529. #filters > select.category-visible + button {
  530. display: block;
  531. }
  532. option.filtered {
  533. display: none;
  534. }
  535. #spawners > select,
  536. #filters > select {
  537. font-size: 24pt;
  538. }
  539. #spawners > button {
  540. font-size: 30pt;
  541. }
  542. #spawners-categories {
  543. font-size: 24pt;
  544. }
  545. .scroll-button {
  546. position: absolute;
  547. height: 20%;
  548. width: 50px;
  549. font-size: 40px;
  550. background: #ffffff33;
  551. border: 0px;
  552. z-index: 1002;
  553. }
  554. .scroll-button:active {
  555. background: #ffffff66;
  556. }
  557. .scroll-button:hover {
  558. background: #ffffff44;
  559. }
  560. .scroll-button:disabled {
  561. background: #ffffff11;
  562. }
  563. #zoom-out {
  564. left: 0%;
  565. top: 0%;
  566. }
  567. #zoom-in {
  568. right: 0%;
  569. top: 0%;
  570. }
  571. #scroll-left {
  572. left: 0%;
  573. top: 20%;
  574. }
  575. #scroll-right {
  576. right: 0%;
  577. top: 20%;
  578. }
  579. #scroll-up {
  580. left: 0%;
  581. top: 40%;
  582. }
  583. #scroll-down {
  584. right: 0%;
  585. top: 40%;
  586. }
  587. #shrink {
  588. left: 0%;
  589. top: 60%;
  590. }
  591. #grow {
  592. right: 0%;
  593. top: 60%;
  594. }
  595. #fit {
  596. right: 0%;
  597. top: 80%;
  598. }
  599. #toggle-menu {
  600. padding-top: 2pt;
  601. position: relative;
  602. }
  603. .popout-menu {
  604. display: none;
  605. flex-direction: column;
  606. flex-wrap: nowrap;
  607. overflow-y: scroll;
  608. max-height: 80vh;
  609. justify-content: start;
  610. position: fixed;
  611. top: 10%;
  612. left: 10%;
  613. z-index: 10000;
  614. background: #222;
  615. border-color: #333;
  616. border-width: 5px;
  617. border-style: solid;
  618. }
  619. .popout-menu::-webkit-scrollbar {
  620. height: 2px;
  621. }
  622. .popout-menu::-webkit-scrollbar-button {
  623. width: 0px;
  624. height: 0px;
  625. }
  626. .popout-menu::-webkit-scrollbar-thumb {
  627. background: #e1e1e1;
  628. border: 0px none #ffffff;
  629. border-radius: 50px;
  630. }
  631. .popout-menu::-webkit-scrollbar-thumb:hover {
  632. background: #ffffff;
  633. }
  634. .popout-menu::-webkit-scrollbar-thumb:active {
  635. background: #000000;
  636. }
  637. .popout-menu::-webkit-scrollbar-track {
  638. background: #00000000;
  639. border: 0px none #ffffff;
  640. border-radius: 50px;
  641. }
  642. .popout-menu::-webkit-scrollbar-track:hover {
  643. background: #666666;
  644. }
  645. .popout-menu::-webkit-scrollbar-track:active {
  646. background: #333333;
  647. }
  648. .popout-menu::-webkit-scrollbar-corner {
  649. background: transparent;
  650. }
  651. .popout-menu.visible {
  652. display: flex;
  653. }
  654. .menu-button {
  655. height: 48pt;
  656. width: 56pt;
  657. font-size: 40pt;
  658. }
  659. .menu-button-holder {
  660. display: flex;
  661. align-items: center;
  662. margin: 5px 0px 5px;
  663. }
  664. .menu-text {
  665. font-size: 24pt;
  666. margin-left: 6pt;
  667. }
  668. #options-entity-defaults > button {
  669. word-break: break-word;
  670. }
  671. button {
  672. border: 3px;
  673. border-style: outset;
  674. }
  675. button:hover {
  676. background: #555;
  677. }
  678. button:enabled:active {
  679. border-style: inset;
  680. background: #aaa;
  681. }
  682. .toast {
  683. position: absolute;
  684. bottom: 10%;
  685. left: 50%;
  686. animation-name: toast-animation;
  687. animation-duration: 5s;
  688. animation-timing-function: linear;
  689. z-index: 1001;
  690. }
  691. @keyframes toast-animation {
  692. 0% {
  693. transform: translate(-50%, 0);
  694. opacity: 1;
  695. }
  696. 50% {
  697. transform: translate(-50%, -10vh);
  698. opacity: 1;
  699. }
  700. 100% {
  701. transform: translate(-50%, -20vh);
  702. opacity: 0;
  703. }
  704. }
  705. #help-menu *::-webkit-scrollbar {
  706. height: 2px;
  707. }
  708. #help-menu *::-webkit-scrollbar-button {
  709. width: 0px;
  710. height: 0px;
  711. }
  712. #help-menu *::-webkit-scrollbar-thumb {
  713. background: #e1e1e1;
  714. border: 0px none #ffffff;
  715. border-radius: 50px;
  716. }
  717. #help-menu *::-webkit-scrollbar-thumb:hover {
  718. background: #ffffff;
  719. }
  720. #help-menu *::-webkit-scrollbar-thumb:active {
  721. background: #000000;
  722. }
  723. #help-menu *::-webkit-scrollbar-track {
  724. background: #00000000;
  725. border: 0px none #ffffff;
  726. border-radius: 50px;
  727. }
  728. #help-menu *::-webkit-scrollbar-track:hover {
  729. background: #666666;
  730. }
  731. #help-menu *::-webkit-scrollbar-track:active {
  732. background: #333333;
  733. }
  734. #help-menu *::-webkit-scrollbar-corner {
  735. background: transparent;
  736. }
  737. #help-menu {
  738. display: none;
  739. position: absolute;
  740. width: 100vw;
  741. height: 100vh;
  742. z-index: 100001;
  743. overflow-x: hidden;
  744. }
  745. #help-menu.visible {
  746. display: flex;
  747. }
  748. #table-of-contents-holder {
  749. flex: 1 1 30%;
  750. padding: 15px;
  751. background: #111;
  752. overflow-y: auto;
  753. }
  754. #table-of-contents {
  755. line-height: 2;
  756. }
  757. #table-of-contents li {
  758. font-size: 150%;
  759. user-select: none;
  760. }
  761. #table-of-contents li:hover {
  762. color: #ccc;
  763. }
  764. #table-of-contents button {
  765. position: relative;
  766. width: 50pt;
  767. height: 50pt;
  768. font-size: 40pt;
  769. }
  770. #table-of-contents button i {
  771. position: absolute;
  772. top: 50%;
  773. left: 50%;
  774. transform: translate(-50%, -50%);
  775. }
  776. #help-contents-holder {
  777. flex: 1 1 70%;
  778. background: #333;
  779. padding: 25px;
  780. overflow-y: auto;
  781. }
  782. #help-contents > h2 {
  783. font-size: 250%;
  784. }
  785. #help-contents > h2 {
  786. margin-bottom: 16pt;
  787. }
  788. #help-contents > h2:nth-child(1n+2) {
  789. margin-top: 32pt;
  790. }
  791. #help-contents p {
  792. text-indent: 20pt;
  793. max-width: 60em;
  794. line-height: 1.4em;
  795. width: 80%;
  796. margin-bottom: 8pt;
  797. margin-top: 8pt;
  798. }
  799. #help-contents i.fas {
  800. text-indent: 0pt;
  801. margin-left: 2pt;
  802. margin-right: 2pt;
  803. }
  804. #help-contents ul {
  805. list-style: circle;
  806. line-height: 1.4;
  807. }
  808. #help-contents b {
  809. font-weight: bolder;
  810. }
  811. #help-contents li {
  812. margin-left: 2em;
  813. }
  814. #help-contents img {
  815. display: block;
  816. width: 80%;
  817. max-width: 60em;
  818. height: 60pt;
  819. }
  820. .nsfw {
  821. color: red;
  822. font-style: bold;
  823. }
  824. select {
  825. background: #111;
  826. color: #eee;
  827. border-color: #444;
  828. }
  829. select > option {
  830. color: #eee;
  831. }
  832. button:focus,
  833. select:focus,
  834. input:focus {
  835. outline-color: #eee;
  836. }
  837. input {
  838. background: #111;
  839. color: #eee;
  840. border-color: #444;
  841. }
  842. button {
  843. background: #111;
  844. color: #ddd;
  845. border-color: #666;
  846. }
  847. .settings-holder {
  848. display: flex;
  849. align-items: center;
  850. padding: 10px 0px 10px;
  851. border-color: #222;
  852. border-width: 5px;
  853. border-style: solid;
  854. max-width: 240pt;
  855. }
  856. .settings-holder.enabled {
  857. background: green;
  858. border-color: darkgreen;
  859. }
  860. .settings-desc {
  861. text-align: right;
  862. margin-right: 8pt;
  863. }
  864. .settings-holder.disabled {
  865. background: gray;
  866. border-color: darkslategray;
  867. }
  868. .settings-name {
  869. font-size: 200%;
  870. margin-right: 16pt;
  871. }
  872. .filter-button > i {
  873. color: gray;
  874. }
  875. .button-counter {
  876. position: absolute;
  877. color: white;
  878. opacity: 0.75;
  879. width: 25%;
  880. height: 25%;
  881. font-size: 16pt;
  882. top: 0%;
  883. left: 0%;
  884. z-index: 1;
  885. user-select: none;
  886. }