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.
 
 
 

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