123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644 |
- body {
- overflow: hidden;
- font-family: sans-serif;
- }
- #mainarea {
- background-color: black;
- position: absolute;
- width: 100%;
- height: 100%;
- left: 0px;
- right: 0px;
- top: 0px;
- bottom: 0px;
- overflow: hidden;
- }
- #canvas {
- display: block;
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%);
- /*image-resolution: 2dppx;*/
- background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNTAiIGhlaWdodD0iNTAiPjx0ZXh0IHN0eWxlPSJmb250OiAzMHB4IHNhbnMtc2VyaWY7IiBmaWxsPSJ3aGl0ZSIgeD0iNTAlIiB5PSI1MCUiIGRvbWluYW50LWJhc2VsaW5lPSJtaWRkbGUiIHRleHQtYW5jaG9yPSJtaWRkbGUiPkxvYWRpbmc8L3RleHQ+PC9zdmc+");
- background-repeat: no-repeat;
- background-position: center;
- z-index: 4;
- height: 100vh !important;
- width: auto !important;
- }
- #canvasmask {
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translateX(-100vw) translate(-50%, -50%);
- z-index: 5;
- }
- @media (min-height: 75vw) {
- #canvas {
- height: auto !important;
- width: 100vw !important;
- }
- }
- #canvasmask>* {
- transform: translateX(100vw);
- }
- #canvas.textureSmooth {
- image-rendering: auto;
- }
- #canvas.texturePixelated {
- image-rendering: crisp-edges;
- image-rendering: pixelated;
- }
- .console, .consolemarker, .consoleinput {
- display: block;
- outline: none;
- appearance: none;
- margin: 0px;
- padding: 2px;
- border: none;
- background-color: black;
- color: #EEE;
- font-family: monospace;
- }
- .console {
- width: calc(100% - 4px);
- height: calc(100% - 24px);
- resize: none;
- overflow: auto;
- white-space: pre;
- }
- .console::selection, .consoleinput::selection {
- background-color: #f3f3f3;
- color: black;
- }
- .consolemarker {
- width: 16px;
- height: 16px;
- float: left;
- user-select: none;
- text-align: center;
- font-weight: bold;
- color: #367cf1;
- }
- .consolemarker::after {
- content: ">";
- }
- .consoleinput {
- width: calc(100% - 24px);
- height: 16px;
- float: right;
- }
- ul {
- list-style: none;
- padding: 0;
- margin: 0;
- }
- #menu {
- position: fixed;
- display: none;
- background-color: #ffffff;
- transition: opacity 0.3s ease;
- z-index: 20;
- opacity: 0;
- }
- #menu:hover, #menu.show {
- opacity: 0.9;
- }
- #menuindicator {
- position: absolute;
- display: none;
- left: 50%;
- transform: translateX(-50%);
- top: 50px;
- background-color: black;
- border-radius: 2px;
- color: white;
- text-align: center;
- padding: 20px;
- font-size: 20px;
- }
- #menuindicator.show {
- display: block;
- }
- #menuindicator h1, #menuindicator h2 {
- margin: 0px;
- }
- #menu li {
- white-space: nowrap;
- max-width: 250px;
- position: relative;
- }
- #menu>li {
- padding: 12px 16px;
- cursor: pointer;
- display: inline-block;
- float: left;
- }
- #menu li:not(.disabled, .menu-nohover):hover {
- background-color: rgba(0, 0, 0, .1);
- }
- #menu .menu-long {
- white-space: normal;
- }
- #menu li input {
- transform: scale(1.5);
- cursor: pointer;
- margin: 0px 12px 0px 0px;
- }
- #menu li a {
- text-decoration: underline;
- color: black;
- }
- /* both opacity AND visibility are important in this case */
- #menu li:hover>ul {
- visibility: visible;
- opacity: 1;
- }
- #menu ul {
- visibility: hidden;
- opacity: 0;
- position: absolute;
- top: 100%;
- left: 0;
- background-color: rgb(245, 245, 245);
- transition: opacity 0.3s ease;
- }
- #menu ul li {
- padding: 4px 12px;
- cursor: default;
- }
- #menu ul li.pointer {
- cursor: pointer;
- }
- #menu li.disabled {
- color: #666;
- cursor: not-allowed !important;
- }
- #menu ul.disabled li:hover, #menu ul.menu-nohover li:hover {
- background-color: rgb(245, 245, 245);
- }
- input[disabled] {
- cursor: not-allowed !important;
- }
- #menu ul.xlmenu li {
- max-width: none;
- }
- #ffd {
- height: 200px;
- width: 400px;
- position: absolute;
- background-color: #dddddd;
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%);
- text-align: center;
- border-radius: 2px;
- overflow: auto;
- z-index: 8;
- }
- #ffd::before {
- opacity: 0;
- width: 100%;
- height: 0px;
- background-color: #333333;
- content: "Drop File";
- position: absolute;
- top: 0px;
- left: 0px;
- z-index: 10;
- display: flex;
- align-items: center;
- justify-content: center;
- font-size: 30px;
- font-weight: bold;
- color: white;
- }
- #ffd.filehover::before {
- opacity: 1;
- height: 100%;
- }
- #ffd.filehover {
- border: 2px dashed #dddddd;
- background-color: #333333;
- }
- #ffd ul li {
- margin-bottom: 3px;
- }
- #ffd ul li a {
- text-decoration: none;
- color: black;
- }
- input[type="file"] {
- display: none;
- }
- .uploadbutton {
- margin: 8px 10px;
- display: inline-block;
- user-select: none;
- cursor: pointer;
- }
- .uploadimage {
- width: 20px;
- vertical-align: middle;
- }
- #upload {
- border: 1px solid rgb(118, 118, 118);
- border-radius: 2px;
- padding: 4px;
- font-size: 13px;
- background-color: white;
- transition: ease .1s;
- }
- #upload:hover {
- background-color: #eee;
- }
- #ffdcontent {
- height: calc(100% - 45px);
- padding: 10px;
- overflow: auto;
- }
- #ffd .source {
- width: calc(100% - 10px);
- height: 15px;
- padding: 5px;
- }
- #ffd .source * {
- text-decoration: none;
- color: black;
- font-size: 10px;
- margin: 0px 5px;
- vertical-align: top;
- display: inline-block;
- height: 15px;
- line-height: 15px;
- }
- #versionindicator {
- font-weight: bold;
- position: absolute;
- right: 5px;
- cursor: help;
- }
- .greyer {
- color: #404040 !important;
- }
- #resume {
- z-index: 10;
- position: absolute;
- height: 100%;
- width: 100%;
- user-select: none;
- display: none;
- }
- body.paused #canvas {
- filter: blur(10px);
- }
- body.paused #resume {
- display: block;
- }
- #resume div {
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%);
- background-color: black;
- color: white;
- padding: 20px;
- text-align: center;
- border-radius: 2px;
- }
- #resume div h1 {
- margin-top: 0px;
- }
- #resume div h3 {
- margin-bottom: 0px;
- }
- #sidealertholder {
- position: absolute;
- right: 10px;
- bottom: 0px;
- width: 200px;
- display: flex;
- flex-direction: column;
- justify-content: flex-end;
- }
- .sidealert {
- background-color: rgb(49, 113, 152);
- color: white;
- user-select: none;
- cursor: default;
- margin: 0px;
- padding: 5px 8px;
- opacity: 0;
- transition: all 0.1s ease-in;
- position: relative;
- }
- .sidealert.on {
- opacity: 1;
- margin-bottom: 10px;
- }
- #startbutton {
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%);
- font-size: 40px;
- padding: 10px 20px;
- z-index: 100;
- outline: none;
- border-radius: 4px;
- cursor: pointer;
- display: none;
- }
- #updatenotice {
- position: absolute;
- top: calc(50% + 120px);
- left: 50%;
- transform: translateX(-50%);
- max-height: calc(50% - 140px);
- max-width: 400px;
- overflow-y: auto;
- margin: 0px;
- padding: 0px 10px;
- color: white;
- white-space: pre-wrap;
- z-index: 8;
- display: none;
- }
- #modals {
- background-color: rgba(255, 255, 255, 0.5);
- position: absolute;
- width: 100%;
- height: 100%;
- left: 0px;
- right: 0px;
- top: 0px;
- bottom: 0px;
- overflow: hidden;
- z-index: 30;
- display: none;
- }
- #managers {
- background-color: white;
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%);
- height: calc(100vh - 50px);
- }
- .modaltop {
- height: 30px;
- line-height: 30px;
- padding: 10px;
- }
- .modaltop h2 {
- display: inline;
- margin: 5px;
- text-transform: capitalize;
- }
- .modaltop span {
- float: right;
- display: inline-block;
- width: 30px;
- text-align: center;
- cursor: pointer;
- font-size: 24px;
- }
- #keybindmanager, #screenshotmanager, #savemanager {
- height: calc(100% - 90px);
- padding: 20px;
- padding-top: 10px;
- }
- #keybindmanager {
- display: none;
- width: 500px;
- }
- #screenshotmanager {
- display: none;
- width: 1000px;
- }
- #savemanager {
- display: none;
- width: 750px;
- }
- .managertableparent {
- height: calc(100% - 78px);
- width: 100%;
- display: block;
- overflow: auto;
- margin-bottom: 20px;
- }
- .managertable {
- box-shadow: inset 0px 0px 5px 2px rgba(0, 0, 16, 0.15);
- display: block;
- width: 100%;
- vertical-align: top;
- }
- .managertable tr {
- display: block;
- width: 100%;
- }
- .managertable td {
- display: inline-block;
- height: 100%;
- padding: 2px;
- padding-left: 6px;
- white-space: nowrap;
- overflow-x: auto;
-
- scrollbar-width: none;
- }
- #keybindtable td {
- width: calc(50% - 8px);
- }
- .managertable td::-webkit-scrollbar {
- display: none;
- }
- .managertable tr:nth-child(even) {
- background-color: #ace9fa;
- }
- .managertable td:nth-child(even) {
- background-color: rgba(0, 0, 0, 0.05);
- }
- #keybindtable td:last-child {
- cursor: pointer;
- }
- #keybindtable td:last-child:hover {
- background-color: rgba(0, 0, 0, 0.1);
- }
- #savetable tr {
- display: flex;
- }
- #savetable td:first-child {
- flex-grow: 1;
- }
- #savetable td:last-child {
- flex-shrink: 0;
- padding-left: 2px;
- }
- #savetable td:last-child span {
- cursor: pointer;
- margin: 4px;
- padding: 1px 4px;
- user-select: none;
- background: white;
- background: linear-gradient(#ffffff, #f3f3f3);
- }
- #savetable td:last-child span:active {
- background: linear-gradient(#f3f3f3, #ffffff);
- }
- #modals input[type="button"] {
- background-color: white;
- border-radius: 0px;
- border: 2px solid black;
- padding: 4px 8px;
- cursor: pointer;
- }
- #modals input[type="button"]:active {
- background-color: #efefef;
- }
- #modals .specialblue {
- background-color: #1e90ff !important;
- color: white;
- }
- #modals input[type="button"].specialblue:active {
- background-color: #0e80ef !important;
- }
- #keybindtable .conflict {
- color: red;
- }
- #keybindmanager h4 {
- margin-top: 0px;
- }
- #screenshotsdiv {
- background-color: pink;
- height: calc(100% - 40px);
- width: calc(100% + 20px);
- overflow-y: auto;
- overflow-x: hidden;
- margin-bottom: 20px;
- display: flex;
- flex-wrap: wrap;
- background-color: #efefef;
- box-shadow: inset -20px 0px 0px 0px white;
- }
- #screenshotmanager h4 {
- display: inline-block;
- margin: 0px;
- margin-right: 10px;
- }
- #screenshotsdiv .screenshot {
- width: 180px;
- height: min-content;
- padding: 10px;
- image-rendering: crisp-edges;
- image-rendering: pixelated;
- }
- #screenshotsdiv .screenshot img {
- width: 180px;
- display: block;
- }
- #screenshotsdiv .screenshot input[type="button"] {
- width: 180px;
- display: block;
- margin-top: 5px;
- }
- dji-cowriter {
- display: none !important;
- }
|