123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256 |
- .bytm-menu-bg {
- --bytm-menu-bg: #333333;
- --bytm-menu-bg-highlight: #1e1e1e;
- --bytm-menu-separator-color: #797979;
- --bytm-menu-border-radius: 15px;
- }
- #bytm-cfg-menu-bg {
- --bytm-menu-height-max: 750px;
- --bytm-menu-width-max: 1000px;
- }
- #bytm-changelog-menu-bg {
- --bytm-menu-height-max: 800px;
- --bytm-menu-width-max: 800px;
- }
- #bytm-export-menu-bg, #bytm-import-menu-bg {
- --bytm-menu-height-max: 500px;
- --bytm-menu-width-max: 600px;
- }
- .bytm-menu-bg {
- display: block;
- position: fixed;
- width: 100%;
- height: 100%;
- top: 0;
- left: 0;
- z-index: 15;
- background-color: rgba(0, 0, 0, 0.6);
- }
- .bytm-menu {
- position: fixed;
- display: flex;
- flex-direction: column;
- width: calc(min(100% - 60px, var(--bytm-menu-width-max)));
- border-radius: var(--bytm-menu-border-radius);
- height: auto;
- max-height: calc(min(100% - 40px, var(--bytm-menu-height-max)));
- left: 50%;
- top: 50%;
- transform: translate(-50%, -50%);
- z-index: 16;
- color: #fff;
- background-color: var(--bytm-menu-bg);
- }
- .bytm-menu-body {
- padding: 20px;
- }
- #bytm-menu-opts {
- position: relative;
- overflow: auto;
- padding: 30px 0px;
- }
- .bytm-menu-header {
- display: flex;
- justify-content: space-between;
- margin-bottom: 6px;
- padding: 15px 20px 15px 20px;
- background-color: var(--bytm-menu-bg);
- border: 2px solid var(--bytm-menu-separator-color);
- border-style: none none solid none;
- border-radius: var(--bytm-menu-border-radius) var(--bytm-menu-border-radius) 0px 0px;
- }
- #bytm-menu-titlecont {
- display: flex;
- align-items: center;
- }
- #bytm-menu-title {
- display: inline-block;
- font-size: 22px;
- }
- #bytm-menu-linkscont {
- display: flex;
- align-items: center;
- margin-left: 32px;
- }
- .bytm-menu-link {
- display: inline-flex;
- align-items: center;
- cursor: pointer;
- }
- .bytm-menu-link:not(:last-of-type) {
- margin-right: 10px;
- }
- .bytm-menu-close {
- width: 32px;
- height: 32px;
- cursor: pointer;
- }
- #bytm-menu-footer-cont {
- display: flex;
- flex-direction: row;
- justify-content: space-between;
- margin-top: 6px;
- padding: 20px 20px 8px 20px;
- background: var(--bytm-menu-bg);
- background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, var(--bytm-menu-bg) 30%, var(--bytm-menu-bg) 100%);
- border: 2px solid var(--bytm-menu-separator-color);
- border-style: solid none none none;
- }
- #bytm-menu-footer-buttons-cont button:not(:last-of-type) {
- margin-right: 15px;
- }
- .bytm-menu-footer-right {
- display: flex;
- flex-direction: row-reverse;
- align-items: center;
- margin-top: 15px;
- }
- #bytm-menu-version-cont {
- display: flex;
- justify-content: space-around;
- font-size: 1.2em;
- padding-bottom: 8px;
- border-radius: var(--bytm-menu-border-radius) var(--bytm-menu-border-radius) 0px 0px;
- }
- #bytm-menu-scroll-indicator {
- --bytm-scroll-indicator-padding: 5px;
- position: sticky;
- bottom: -15px;
- left: 50%;
- margin-top: calc(-32px - var(--bytm-scroll-indicator-padding) * 2);
- padding: var(--bytm-scroll-indicator-padding);
- transform: translateX(-50%);
- width: 32px;
- height: 32px;
- z-index: 101;
- background-color: var(--bytm-menu-bg-highlight);
- border-radius: 50%;
- cursor: pointer;
- }
- .bytm-hidden {
- visibility: hidden !important;
- }
- .bytm-ftconf-category-header {
- font-size: 18px;
- margin-top: 32px;
- margin-bottom: 8px;
- padding: 0px 20px;
- }
- .bytm-ftconf-category-header:first-of-type {
- margin-top: 0;
- }
- .bytm-ftitem {
- display: flex;
- flex-direction: row;
- justify-content: space-between;
- align-items: center;
- padding: 8px 20px;
- }
- .bytm-ftconf-label {
- user-select: none;
- }
- .bytm-ftconf-input[type=number] {
- width: 75px;
- }
- #bytm-export-menu-text, #bytm-import-menu-text {
- font-size: 1.6em;
- margin-bottom: 15px;
- }
- .bytm-menu-footer-copied {
- font-size: 1.6em;
- margin-right: 15px;
- }
- #bytm-changelog-menu-body {
- overflow-y: auto;
- }
- #bytm-export-menu-textarea, #bytm-import-menu-textarea {
- width: 100%;
- height: 150px;
- resize: none;
- }
- #bytm-changelog-menu-text {
- display: flex;
- flex-direction: column;
- overflow-y: auto;
- font-size: 1.5em;
- }
- /* Markdown stuff */
- .bytm-markdown-container a, #bytm-menu-version {
- color: #369bff;
- text-decoration: none;
- cursor: pointer;
- }
- .bytm-markdown-container a:hover, #bytm-menu-version:hover {
- text-decoration: underline;
- }
- .bytm-markdown-container kbd {
- display: inline-block;
- vertical-align: middle;
- padding: 4px;
- padding-top: 2px;
- font-size: 0.95em;
- line-height: 9px;
- background-color: #222;
- border: 1px solid #777;
- border-radius: 5px;
- box-shadow: inset 0 -2px 0 #515559;
- }
- .bytm-markdown-container code {
- background-color: #222;
- border-radius: 3px;
- padding: 1px 5px;
- }
- .bytm-markdown-container h2 {
- margin-bottom: 5px;
- }
- .bytm-markdown-container h2:not(:first-of-type) {
- margin-top: 20px;
- }
- .bytm-markdown-container ul li::before {
- content: "• ";
- font-weight: bolder;
- }
- .bytm-markdown-container ul li > ul li::before {
- white-space: pre;
- content: " • ";
- font-weight: bolder;
- }
|