options.css 9.7 KB

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