menu_old.css 8.0 KB

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