menu_old.css 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438
  1. .bytm-menu-bg {
  2. --bytm-menu-bg: #333333;
  3. --bytm-menu-bg-highlight: #252525;
  4. --bytm-scroll-indicator-bg: rgba(10, 10, 10, 0.7);
  5. --bytm-menu-separator-color: #797979;
  6. --bytm-menu-border-radius: 10px;
  7. }
  8. .bytm-menu-bg {
  9. display: block;
  10. position: fixed;
  11. width: 100%;
  12. height: 100%;
  13. top: 0;
  14. left: 0;
  15. z-index: 5;
  16. background-color: rgba(0, 0, 0, 0.6);
  17. }
  18. .bytm-menu {
  19. position: fixed;
  20. display: flex;
  21. flex-direction: column;
  22. width: calc(min(100% - 60px, var(--bytm-menu-width-max)));
  23. border-radius: var(--bytm-menu-border-radius);
  24. height: auto;
  25. max-height: calc(min(100% - 40px, var(--bytm-menu-height-max)));
  26. left: 50%;
  27. top: 50%;
  28. transform: translate(-50%, -50%);
  29. z-index: 6;
  30. color: #fff;
  31. background-color: var(--bytm-menu-bg);
  32. }
  33. .bytm-menu.top-aligned {
  34. top: 0;
  35. transform: translate(-50%, 40px);
  36. }
  37. .bytm-menu-body {
  38. padding: 20px;
  39. }
  40. #bytm-menu-opts {
  41. display: flex;
  42. flex-direction: column;
  43. position: relative;
  44. padding: 20px 0px;
  45. overflow-y: auto;
  46. }
  47. .bytm-menu-header {
  48. display: flex;
  49. justify-content: space-between;
  50. align-items: center;
  51. margin-bottom: 6px;
  52. padding: 15px 20px 15px 20px;
  53. background-color: var(--bytm-menu-bg);
  54. border: 2px solid var(--bytm-menu-separator-color);
  55. border-style: none none solid none;
  56. border-radius: var(--bytm-menu-border-radius) var(--bytm-menu-border-radius) 0px 0px;
  57. }
  58. .bytm-menu-header.small {
  59. padding: 10px 15px;
  60. }
  61. .bytm-menu-titlecont {
  62. display: flex;
  63. align-items: center;
  64. }
  65. .bytm-menu-titlecont-no-title {
  66. display: flex;
  67. justify-content: flex-end;
  68. align-items: center;
  69. }
  70. .bytm-menu-title {
  71. position: relative;
  72. display: inline-block;
  73. font-size: 22px;
  74. }
  75. #bytm-cfg-menu-bg .bytm-menu-title {
  76. transform: translate(0px, -6px);
  77. }
  78. #bytm-cfg-menu {
  79. --bytm-menu-subtitle-color: #c6d2db;
  80. }
  81. #bytm-menu-subtitle-cont {
  82. width: auto;
  83. display: flex;
  84. flex-direction: row;
  85. justify-content: space-between;
  86. align-items: flex-end;
  87. position: absolute;
  88. bottom: -12px;
  89. left: 0;
  90. font-size: 10px;
  91. font-weight: normal;
  92. z-index: 7;
  93. }
  94. #bytm-menu-subtitle-cont .bytm-link {
  95. color: var(--bytm-menu-subtitle-color);
  96. }
  97. #bytm-menu-subtitle-cont .bytm-advanced-mode-indicator-label {
  98. display: inline-block;
  99. transform: translate(0px, 1px);
  100. color: var(--bytm-menu-subtitle-color);
  101. }
  102. #bytm-menu-subtitle-cont .bytm-advanced-mode-icon svg {
  103. width: 19px;
  104. height: 19px;
  105. transform: translate(1px, 7px);
  106. }
  107. #bytm-menu-version-anchor,
  108. #bytm-cfg-menu-advanced-mode-indicator-wrapper
  109. {
  110. overflow: hidden;
  111. text-wrap: nowrap;
  112. text-overflow: ellipsis;
  113. }
  114. #bytm-menu-linkscont {
  115. display: flex;
  116. align-items: center;
  117. margin-left: 32px;
  118. }
  119. .bytm-menu-link {
  120. display: inline-flex;
  121. position: relative;
  122. flex-direction: column;
  123. align-items: center;
  124. cursor: pointer;
  125. }
  126. .bytm-menu-link:not(:last-of-type) {
  127. margin-right: 10px;
  128. }
  129. .bytm-menu-link .bytm-menu-img {
  130. position: relative;
  131. border-radius: 50%;
  132. bottom: 0px;
  133. transition: bottom 0.2s ease-out;
  134. }
  135. .bytm-menu-link:hover .bytm-menu-img {
  136. bottom: 6px;
  137. }
  138. .bytm-menu-link .extended-link {
  139. visibility: hidden;
  140. position: absolute;
  141. top: 14px;
  142. padding-top: 14px;
  143. padding-bottom: 6px;
  144. opacity: 0;
  145. text-decoration: none;
  146. color: var(--bytm-menu-subtitle-color);
  147. white-space: pre;
  148. font-size: 1.1rem;
  149. transition: visibility 0.15s ease-out, opacity 0.15s ease-out;
  150. }
  151. .bytm-menu-link:hover .extended-link {
  152. visibility: visible;
  153. opacity: 1;
  154. }
  155. .bytm-menu-close {
  156. width: 32px;
  157. height: 32px;
  158. cursor: pointer;
  159. }
  160. .bytm-menu-close.small {
  161. width: 24px;
  162. height: 24px;
  163. }
  164. .bytm-menu-footer {
  165. font-size: 17px;
  166. text-decoration: underline;
  167. }
  168. .bytm-menu-footer.hidden {
  169. display: none;
  170. }
  171. .bytm-menu-footer-cont {
  172. display: flex;
  173. flex-direction: row;
  174. justify-content: space-between;
  175. margin-top: 6px;
  176. padding: 15px 20px;
  177. background: var(--bytm-menu-bg);
  178. background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, var(--bytm-menu-bg) 30%, var(--bytm-menu-bg) 100%);
  179. border: 2px solid var(--bytm-menu-separator-color);
  180. border-style: solid none none none;
  181. border-radius: 0px 0px var(--bytm-menu-border-radius) var(--bytm-menu-border-radius);
  182. }
  183. #bytm-menu-footer-buttons-cont button:not(:last-of-type) {
  184. margin-right: 15px;
  185. }
  186. .bytm-menu-footer-right {
  187. display: flex;
  188. flex-direction: row-reverse;
  189. align-items: center;
  190. margin-top: 15px;
  191. }
  192. #bytm-menu-footer-left-buttons-cont button:not(:last-of-type) {
  193. margin-right: 15px;
  194. }
  195. #bytm-menu-scroll-indicator {
  196. --bytm-scroll-indicator-padding: 5px;
  197. position: sticky;
  198. bottom: -15px;
  199. left: 50%;
  200. margin-top: calc(-32px - var(--bytm-scroll-indicator-padding) * 2);
  201. padding: var(--bytm-scroll-indicator-padding);
  202. transform: translateX(-50%);
  203. width: 32px;
  204. height: 32px;
  205. z-index: 7;
  206. background-color: var(--bytm-scroll-indicator-bg);
  207. border-radius: 50%;
  208. cursor: pointer;
  209. }
  210. .bytm-hidden {
  211. visibility: hidden !important;
  212. }
  213. .bytm-ftconf-category-header {
  214. font-size: 18px;
  215. margin-top: 32px;
  216. margin-bottom: 8px;
  217. padding: 0px 20px;
  218. }
  219. .bytm-ftconf-category-header:first-of-type {
  220. margin-top: 0;
  221. }
  222. .bytm-ftitem {
  223. display: flex;
  224. flex-direction: row;
  225. justify-content: space-between;
  226. align-items: center;
  227. font-size: 1.4rem;
  228. padding: 8px 20px;
  229. transition: background-color 0.15s ease-out;
  230. }
  231. .bytm-ftitem:hover {
  232. background-color: var(--bytm-menu-bg-highlight);
  233. }
  234. .bytm-ftitem-leftside {
  235. display: flex;
  236. align-items: center;
  237. min-height: 24px;
  238. }
  239. .bytm-ftconf-ctrl {
  240. display: inline-flex;
  241. align-items: center;
  242. white-space: nowrap;
  243. margin-left: 10px;
  244. }
  245. .bytm-ftconf-label {
  246. user-select: none;
  247. }
  248. .bytm-slider-label {
  249. margin-right: 10px;
  250. }
  251. .bytm-toggle-label {
  252. padding-left: 10px;
  253. padding-right: 5px;
  254. }
  255. .bytm-ftconf-input.bytm-hotkey-input {
  256. cursor: pointer;
  257. min-width: 50px;
  258. }
  259. .bytm-ftconf-input[type=number] {
  260. width: 75px;
  261. }
  262. .bytm-ftconf-input[type=checkbox] {
  263. margin-left: 5px;
  264. }
  265. #bytm-export-menu-text, #bytm-import-menu-text {
  266. white-space: pre-wrap;
  267. font-size: 1.6em;
  268. margin-bottom: 15px;
  269. }
  270. .bytm-menu-footer-copied {
  271. font-size: 1.6em;
  272. margin-right: 15px;
  273. }
  274. #bytm-changelog-menu-body {
  275. overflow-y: auto;
  276. }
  277. .bytm-changelog-version-details:not(:first-of-type) {
  278. margin-top: 15px;
  279. }
  280. .bytm-changelog-version-details summary h2 {
  281. display: inline-block;
  282. }
  283. .bytm-changelog-version-details summary {
  284. cursor: pointer;
  285. }
  286. .bytm-changelog-version-details summary::marker {
  287. font-size: 2rem;
  288. }
  289. #bytm-export-menu-textarea, #bytm-import-menu-textarea {
  290. width: 100%;
  291. height: 150px;
  292. resize: none;
  293. }
  294. .bytm-markdown-container {
  295. display: flex;
  296. flex-direction: column;
  297. overflow-y: auto;
  298. font-size: 1.5em;
  299. line-height: 20px;
  300. }
  301. /* Markdown stuff */
  302. .bytm-markdown-container kbd {
  303. --bytm-easing: cubic-bezier(0.31, 0.58, 0.24, 1.15);
  304. display: inline-block;
  305. vertical-align: bottom;
  306. padding: 4px;
  307. padding-top: 2px;
  308. font-size: 0.95em;
  309. line-height: 11px;
  310. background-color: #222;
  311. border: 1px solid #777;
  312. border-radius: 5px;
  313. box-shadow: inset 0 -2px 0 #515559;
  314. transition: padding 0.1s var(--bytm-easing), box-shadow 0.1s var(--bytm-easing);
  315. }
  316. .bytm-markdown-container kbd:active {
  317. padding-bottom: 2px;
  318. box-shadow: inset 0 0 0 initial;
  319. }
  320. .bytm-markdown-container kbd::selection {
  321. background: rgba(0, 0, 0, 0);
  322. }
  323. .bytm-markdown-container code {
  324. background-color: #222;
  325. border-radius: 3px;
  326. padding: 1px 5px;
  327. }
  328. .bytm-markdown-container h2 {
  329. margin-bottom: 5px;
  330. }
  331. .bytm-markdown-container h2:not(:first-of-type) {
  332. margin-top: 30px;
  333. }
  334. .bytm-markdown-container ul li::before {
  335. content: "• ";
  336. font-weight: bolder;
  337. }
  338. .bytm-markdown-container ul li > ul li::before {
  339. white-space: pre-wrap;
  340. content: " • ";
  341. font-weight: bolder;
  342. }
  343. #bytm-feat-help-menu-desc, #bytm-feat-help-menu-text {
  344. overflow-wrap: break-word;
  345. white-space: pre-wrap;
  346. padding: 10px 10px 15px 20px;
  347. font-size: 1.5em;
  348. }
  349. #bytm-feat-help-menu-desc {
  350. font-size: 1.65em;
  351. padding-bottom: 5px;
  352. }
  353. .bytm-ftitem-help-btn {
  354. width: 24px !important;
  355. height: 24px !important;
  356. }
  357. .bytm-ftitem-help-btn svg {
  358. width: 18px !important;
  359. height: 18px !important;
  360. }
  361. .bytm-ftitem-help-btn svg > path {
  362. fill: #b3bec7 !important;
  363. }
  364. hr {
  365. display: block;
  366. margin: 8px 0px 12px 0px;
  367. border: revert;
  368. }