options.css 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618
  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. }
  243. .rules-table-container+.option label,
  244. .rules-table-container+.option+.option label {
  245. text-align: right;
  246. width: 100%;
  247. }
  248. #profilesLabel {
  249. font-weight: normal;
  250. padding-top: 5px;
  251. margin-right: 5px;
  252. }
  253. details {
  254. color: #555;
  255. margin-left: 6px;
  256. margin-right: 12px;
  257. margin-bottom: 4px;
  258. border-top: #bfbfbf 1px dashed;
  259. }
  260. details:last-of-type {
  261. border-bottom: #bfbfbf 1px dashed;
  262. }
  263. details>summary {
  264. color: black;
  265. padding-bottom: 7px;
  266. padding-top: 7px;
  267. margin-bottom: 3px;
  268. margin-top: 3px;
  269. padding-left: 6px;
  270. cursor: pointer;
  271. }
  272. details[open]>summary {
  273. cursor: pointer;
  274. outline-width: 0px;
  275. }
  276. a {
  277. display: inline-block;
  278. padding-top: 5px;
  279. }
  280. .option.second-level {
  281. margin-left: 10px;
  282. }
  283. .option {
  284. display: flex;
  285. justify-content: space-between;
  286. margin-top: 3px;
  287. padding-left: 8px;
  288. padding-bottom: 2px;
  289. min-height: 24px;
  290. }
  291. .option.vertical {
  292. flex-direction: column;
  293. }
  294. .option.vertical label {
  295. align-self: flex-start;
  296. }
  297. .option.vertical input {
  298. margin-top: 4px;
  299. align-self: flex-end;
  300. width: calc(100% - 6px);
  301. margin-bottom: 2px;
  302. padding: 2px;
  303. }
  304. .option:last-of-type {
  305. padding-bottom: 12px;
  306. }
  307. .option:first-of-type {
  308. padding-top: 6px;
  309. }
  310. .option.bottom {
  311. padding-top: 24px;
  312. padding-right: 12px;
  313. padding-bottom: 12px;
  314. padding-left: 12px;
  315. }
  316. #expandAllButton {
  317. font-family: monospace;
  318. display: inline-block;
  319. min-width: 7px;
  320. max-width: 7px;
  321. margin-left: 5px;
  322. opacity: .4;
  323. transition: opacity 250ms;
  324. cursor: pointer;
  325. font-size: 1.1em;
  326. position: relative;
  327. top: -1px;
  328. left: -2px;
  329. }
  330. #expandAllButton::after {
  331. content: '+';
  332. }
  333. #expandAllButton.opened::after {
  334. content: '-';
  335. }
  336. #expandAllButton:hover {
  337. opacity: 1;
  338. }
  339. .popup {
  340. width: 100%;
  341. height: 100%;
  342. position: fixed;
  343. top: 0;
  344. left: 0;
  345. background-color: rgba(191, 191, 191, .75);
  346. display: none;
  347. }
  348. .popup-content {
  349. align-self: center;
  350. width: 90%;
  351. max-width: 320px;
  352. margin-top: 100px;
  353. margin-bottom: 100px;
  354. margin-left: auto;
  355. margin-right: auto;
  356. background-color: white;
  357. box-shadow: 5px 5px #ababab;
  358. }
  359. #formResetContainer .popup-content {
  360. align-self: flex-end;
  361. }
  362. .popup-content header {
  363. padding-top: 10px;
  364. padding-left: 10px;
  365. padding-bottom: 20px;
  366. font-size: 14px;
  367. line-height: 20px;
  368. }
  369. .popup-content main {
  370. padding-top: 10px;
  371. padding-left: 10px;
  372. padding-bottom: 10px;
  373. }
  374. .popup-content main input {
  375. margin-bottom: 10px;
  376. padding: 2px;
  377. font-size: 13px;
  378. margin-left: 0px;
  379. width: calc(100% - 16px);
  380. }
  381. .popup-content footer {
  382. text-align: right;
  383. padding-left: 10px;
  384. padding-right: 10px;
  385. }
  386. .popup-content footer button {
  387. margin-bottom: 10px;
  388. }
  389. .side-panel .profiles {
  390. max-width: unset;
  391. }
  392. .side-panel .profiles {
  393. top: 0px;
  394. min-width: calc(100% - 12px);
  395. }
  396. .side-panel .profiles select {
  397. min-width: calc(100% - 78px);
  398. }
  399. .side-panel .options-title,
  400. .side-panel .option.bottom {
  401. display: none;
  402. }
  403. .maximized body {
  404. margin-top: 8px;
  405. }
  406. .maximized main {
  407. margin: 0px;
  408. border: solid 1px rgb(191, 191, 191);
  409. background-color: #fbfbfb;
  410. }
  411. html.maximized {
  412. background-color: #f0f0f0;
  413. }
  414. .maximized .profiles {
  415. top: -4px;
  416. max-width: calc(100% - 90px);
  417. }
  418. .maximized #helpLabel {
  419. padding-left: 4px;
  420. padding-right: 4px;
  421. padding-top: 0;
  422. }
  423. @media (max-width:400px) {
  424. body,
  425. input,
  426. select,
  427. button {
  428. font-size: 11px;
  429. }
  430. }
  431. @media (prefers-color-scheme: dark) {
  432. details {
  433. color: #ccc;
  434. }
  435. html {
  436. background-color: #202023;
  437. }
  438. html.maximized {
  439. background-color: #373737;
  440. }
  441. main,
  442. .maximized main,
  443. details>summary,
  444. button,
  445. select,
  446. .popup-content {
  447. background-color: #202023;
  448. color: #fdfdfd;
  449. }
  450. .side-panel,
  451. .side-panel main,
  452. .side-panel details>summary,
  453. .side-panel button,
  454. .side-panel select,
  455. .side-panel .popup-content {
  456. background-color: #38383d;
  457. }
  458. .maximized main {
  459. border-color: rgb(81, 81, 81);
  460. }
  461. .new-window-link img,
  462. .profiles button img {
  463. filter: invert(100%);
  464. }
  465. .profiles button img:hover {
  466. filter: invert(0%);
  467. }
  468. .profiles button[disabled] {
  469. opacity: .4;
  470. }
  471. .profiles button[disabled] img {
  472. filter: invert(50%);
  473. }
  474. .help-icon>img {
  475. opacity: .6;
  476. border-color: #ccc;
  477. }
  478. .help-icon>img:hover {
  479. opacity: .8;
  480. }
  481. input[type="text"] {
  482. background-color: #fff;
  483. }
  484. button:not([disabled]):hover {
  485. color: #2A2A2E;
  486. }
  487. button:focus {
  488. color: black;
  489. border-color: black;
  490. background-color: #d2d2d2;
  491. }
  492. .help-content {
  493. background-color: rgb(85, 85, 97);
  494. }
  495. .rules-table-container,
  496. .rules-table-container .thead {
  497. border-color: rgb(85, 85, 97);
  498. }
  499. a,
  500. a:visited {
  501. color: white;
  502. }
  503. .popup {
  504. background-color: rgba(59, 59, 59, 0.95);
  505. }
  506. .popup-content {
  507. box-shadow: 5px 5px #000000;
  508. }
  509. }