options.css 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624
  1. * {
  2. box-sizing: content-box;
  3. }
  4. body {
  5. background-color: #fff;
  6. font-family: sans-serif;
  7. font-size: 12px;
  8. max-width: 1024px;
  9. width: 100%;
  10. margin: 0;
  11. margin-left: auto;
  12. margin-right: auto;
  13. }
  14. .side-panel body {
  15. background-color: #fbfbfb;
  16. }
  17. button {
  18. padding-top: 5px;
  19. padding-bottom: 5px;
  20. padding-left: 8px;
  21. padding-right: 8px;
  22. border-width: 1px;
  23. }
  24. button:not([disabled]):hover {
  25. background-color: #ededed;
  26. }
  27. button,
  28. select,
  29. input[type=text] {
  30. background-color: transparent;
  31. border-color: rgb(191, 191, 191);
  32. border-style: solid;
  33. border-radius: 2px;
  34. border-width: 1px;
  35. color: black;
  36. }
  37. input[type=checkbox] {
  38. margin-bottom: 1px;
  39. }
  40. button:active {
  41. border-color: rgb(237, 237, 237);
  42. }
  43. button:focus {
  44. border-color: black;
  45. background-color: #fefefe;
  46. }
  47. input {
  48. margin-left: 5px;
  49. }
  50. label,
  51. input {
  52. align-self: center;
  53. }
  54. input[type="text"] {
  55. min-width: 70%;
  56. }
  57. input[type="number"] {
  58. max-width: 50px;
  59. }
  60. select {
  61. min-height: 22px;
  62. max-height: 22px;
  63. }
  64. input.large-input {
  65. min-width: 60px;
  66. }
  67. h3 {
  68. padding-left: 8px;
  69. padding-top: 10px;
  70. margin-top: 4px;
  71. min-height: 28px;
  72. }
  73. h3 a {
  74. padding-left: 5px;
  75. }
  76. .sync-input {
  77. margin-bottom: 20px;
  78. text-align: right;
  79. }
  80. .sync-input input {
  81. margin: 0;
  82. margin-right: 4px;
  83. vertical-align: bottom;
  84. }
  85. .buttons {
  86. white-space: nowrap;
  87. }
  88. .profiles {
  89. float: right;
  90. margin-right: 12px;
  91. position: relative;
  92. top: 3px;
  93. max-width: calc(100% - 115px);
  94. }
  95. .help-icon {
  96. vertical-align: middle;
  97. display: inline-block;
  98. margin-left: 3px;
  99. }
  100. .help-icon>img {
  101. border-radius: 50%;
  102. border: 1px black solid;
  103. opacity: .2;
  104. width: 12px;
  105. margin-top: 4px;
  106. margin-bottom: 2px;
  107. margin-left: 8px;
  108. margin-right: 8px;
  109. transition: opacity;
  110. transition-duration: 200ms;
  111. cursor: pointer;
  112. }
  113. .help-icon>img:hover {
  114. opacity: .4;
  115. }
  116. .help-content {
  117. margin-top: 4px;
  118. margin-left: 8px;
  119. margin-bottom: 12px;
  120. border: 1px #bfbfbf dotted;
  121. border-radius: 4px;
  122. padding: 2px;
  123. background-color: #fffdde;
  124. line-height: 1.6em;
  125. }
  126. .help-content img {
  127. max-height: 1em;
  128. }
  129. .help-content a {
  130. padding: 0px;
  131. }
  132. .help-content p {
  133. margin: 6px;
  134. }
  135. .help-content ul {
  136. margin: 4px;
  137. padding-left: 25px;
  138. }
  139. .help-content li {
  140. margin: 2px;
  141. }
  142. .rules-table-container {
  143. width: 100%;
  144. border-spacing: 0;
  145. border-color: rgb(191, 191, 191);
  146. border-style: solid;
  147. border-width: 1px;
  148. margin-top: 24px;
  149. }
  150. .rules-table-container .tr {
  151. height: 26px;
  152. display: grid;
  153. grid-template-columns: 1fr 1fr 1fr 58px;
  154. }
  155. .rules-table-container.compact .tr {
  156. grid-template-columns: 1fr 1fr 58px;
  157. }
  158. .rules-table-container.compact .tr .rule-autosave-profile {
  159. display: none;
  160. }
  161. .rules-table-container .tr[hidden] {
  162. display: none;
  163. }
  164. .rules-table-container .thead {
  165. text-align: left;
  166. border-color: rgb(225, 225, 225);
  167. border-style: solid;
  168. border-width: 0;
  169. border-bottom-width: 1px;
  170. }
  171. .rules-table-container .th,
  172. .rules-table-container .td {
  173. padding: 4px;
  174. text-overflow: ellipsis;
  175. overflow: hidden;
  176. white-space: nowrap;
  177. align-self: center;
  178. }
  179. .rules-table .td:first-of-type {
  180. padding-right: 8px;
  181. }
  182. .rules-table .td:last-of-type {
  183. text-align: right;
  184. }
  185. .rules-data {
  186. max-height: 552px;
  187. overflow-y: auto;
  188. padding-top: 2px;
  189. padding-bottom: 2px;
  190. scrollbar-width: thin;
  191. }
  192. ::-webkit-scrollbar {
  193. width: 6px;
  194. background-color: #cdcdcd;
  195. }
  196. .profiles button,
  197. .rules-table-container button {
  198. padding: 0;
  199. margin: 0;
  200. width: 22px;
  201. text-align: center;
  202. }
  203. .rules-table-container .thead .tr {
  204. min-height: 32px;
  205. }
  206. .rules-table-container .thead .th:last-of-type {
  207. text-align: right;
  208. }
  209. .profiles button,
  210. .profiles select,
  211. .rules-table-container button,
  212. .rules-table-container select,
  213. .rules-table-container input {
  214. height: 22px;
  215. vertical-align: top;
  216. }
  217. .rules-table-container input {
  218. width: 100%;
  219. height: 20px;
  220. margin: 0;
  221. padding: 0;
  222. padding-left: 2px;
  223. padding-right: 2px;
  224. }
  225. .rules-table-container .rule-create {
  226. margin-top: 8px;
  227. margin-bottom: 3px;
  228. }
  229. .profiles select {
  230. max-width: calc(100% - 78px);
  231. }
  232. .rules-table-container select {
  233. max-width: 100%;
  234. }
  235. .profiles button:disabled,
  236. .rules-table-container button:disabled {
  237. opacity: .25;
  238. }
  239. .profiles button>img,
  240. .rules-table-container button>img {
  241. width: 14px;
  242. height: auto;
  243. vertical-align: middle;
  244. padding: 2px;
  245. box-sizing: content-box;
  246. }
  247. .rules-table-container+.option label,
  248. .rules-table-container+.option+.option label {
  249. text-align: right;
  250. width: 100%;
  251. }
  252. #profilesLabel {
  253. font-weight: normal;
  254. padding-top: 5px;
  255. margin-right: 5px;
  256. }
  257. details {
  258. color: #555;
  259. margin-left: 6px;
  260. margin-right: 12px;
  261. margin-bottom: 4px;
  262. border-top: #bfbfbf 1px dashed;
  263. }
  264. details:last-of-type {
  265. border-bottom: #bfbfbf 1px dashed;
  266. }
  267. details>summary {
  268. color: black;
  269. padding-bottom: 7px;
  270. padding-top: 7px;
  271. margin-bottom: 3px;
  272. margin-top: 3px;
  273. padding-left: 6px;
  274. cursor: pointer;
  275. }
  276. details[open]>summary {
  277. cursor: pointer;
  278. outline-width: 0px;
  279. }
  280. a {
  281. display: inline-block;
  282. padding-top: 5px;
  283. }
  284. .option.second-level {
  285. margin-left: 10px;
  286. }
  287. .option:not([hidden]) {
  288. display: flex;
  289. justify-content: space-between;
  290. margin-top: 3px;
  291. padding-left: 8px;
  292. padding-bottom: 2px;
  293. min-height: 24px;
  294. }
  295. .option.vertical {
  296. flex-direction: column;
  297. }
  298. .option.vertical label {
  299. align-self: flex-start;
  300. min-height: 24px;
  301. }
  302. .option.vertical input {
  303. margin-top: 4px;
  304. align-self: flex-end;
  305. width: calc(100% - 6px);
  306. margin-bottom: 2px;
  307. padding: 2px;
  308. }
  309. .option:last-of-type {
  310. padding-bottom: 12px;
  311. }
  312. .option:first-of-type {
  313. padding-top: 6px;
  314. }
  315. .option.bottom {
  316. padding-top: 24px;
  317. padding-right: 12px;
  318. padding-bottom: 12px;
  319. padding-left: 12px;
  320. }
  321. #expandAllButton {
  322. font-family: monospace;
  323. display: inline-block;
  324. min-width: 7px;
  325. max-width: 7px;
  326. margin-left: 5px;
  327. opacity: .4;
  328. transition: opacity 250ms;
  329. cursor: pointer;
  330. font-size: 1.1em;
  331. position: relative;
  332. top: -1px;
  333. left: -2px;
  334. }
  335. #expandAllButton::after {
  336. content: '+';
  337. }
  338. #expandAllButton.opened::after {
  339. content: '-';
  340. }
  341. #expandAllButton:hover {
  342. opacity: 1;
  343. }
  344. .popup {
  345. width: 100%;
  346. height: 100%;
  347. position: fixed;
  348. top: 0;
  349. left: 0;
  350. background-color: rgba(191, 191, 191, .75);
  351. display: none;
  352. }
  353. .popup-content {
  354. align-self: center;
  355. width: 90%;
  356. max-width: 320px;
  357. margin-top: 100px;
  358. margin-bottom: 100px;
  359. margin-left: auto;
  360. margin-right: auto;
  361. background-color: white;
  362. box-shadow: 5px 5px #ababab;
  363. }
  364. #formResetContainer .popup-content {
  365. align-self: flex-end;
  366. }
  367. .popup-content header {
  368. padding-top: 10px;
  369. padding-left: 10px;
  370. padding-bottom: 20px;
  371. font-size: 14px;
  372. line-height: 20px;
  373. }
  374. .popup-content main {
  375. padding-top: 10px;
  376. padding-left: 10px;
  377. padding-bottom: 10px;
  378. }
  379. .popup-content main input {
  380. margin-bottom: 10px;
  381. padding: 2px;
  382. font-size: 13px;
  383. margin-left: 0px;
  384. width: calc(100% - 16px);
  385. }
  386. .popup-content footer {
  387. text-align: right;
  388. padding-left: 10px;
  389. padding-right: 10px;
  390. }
  391. .popup-content footer button {
  392. margin-bottom: 10px;
  393. }
  394. .side-panel .profiles {
  395. max-width: unset;
  396. }
  397. .side-panel .profiles {
  398. top: 0px;
  399. min-width: calc(100% - 12px);
  400. }
  401. .side-panel .profiles select {
  402. min-width: calc(100% - 78px);
  403. }
  404. .side-panel .options-title,
  405. .side-panel .option.bottom {
  406. display: none;
  407. }
  408. .maximized body {
  409. margin-top: 8px;
  410. }
  411. .maximized main {
  412. margin: 0px;
  413. border: solid 1px rgb(191, 191, 191);
  414. background-color: #fbfbfb;
  415. }
  416. html.maximized {
  417. background-color: #f0f0f0;
  418. }
  419. .maximized .profiles {
  420. top: -4px;
  421. max-width: calc(100% - 90px);
  422. }
  423. .maximized #helpLabel {
  424. padding-left: 4px;
  425. padding-right: 4px;
  426. padding-top: 0;
  427. }
  428. @media (max-width:400px) {
  429. body,
  430. input,
  431. select,
  432. button {
  433. font-size: 11px;
  434. }
  435. }
  436. @media (prefers-color-scheme: dark) {
  437. details {
  438. color: #ccc;
  439. }
  440. html {
  441. background-color: #202023;
  442. }
  443. html.maximized {
  444. background-color: #373737;
  445. }
  446. main,
  447. .maximized main,
  448. details>summary,
  449. button,
  450. select,
  451. .popup-content {
  452. background-color: #202023;
  453. color: #fdfdfd;
  454. }
  455. .side-panel,
  456. .side-panel main,
  457. .side-panel details>summary,
  458. .side-panel button,
  459. .side-panel select,
  460. .side-panel .popup-content {
  461. background-color: #38383d;
  462. }
  463. .maximized main {
  464. border-color: rgb(81, 81, 81);
  465. }
  466. .new-window-link img,
  467. .profiles button img {
  468. filter: invert(100%);
  469. }
  470. .profiles button img:hover {
  471. filter: invert(0%);
  472. }
  473. .profiles button[disabled] {
  474. opacity: .4;
  475. }
  476. .profiles button[disabled] img {
  477. filter: invert(50%);
  478. }
  479. .help-icon>img {
  480. opacity: .6;
  481. border-color: #ccc;
  482. }
  483. .help-icon>img:hover {
  484. opacity: .8;
  485. }
  486. input[type="text"] {
  487. background-color: #fff;
  488. }
  489. button:not([disabled]):hover {
  490. color: #2A2A2E;
  491. }
  492. button:focus {
  493. color: black;
  494. border-color: black;
  495. background-color: #d2d2d2;
  496. }
  497. .help-content {
  498. background-color: rgb(85, 85, 97);
  499. }
  500. .rules-table-container,
  501. .rules-table-container .thead {
  502. border-color: rgb(85, 85, 97);
  503. }
  504. a,
  505. a:visited {
  506. color: white;
  507. }
  508. .popup {
  509. background-color: rgba(59, 59, 59, 0.95);
  510. }
  511. .popup-content {
  512. box-shadow: 5px 5px #000000;
  513. }
  514. }