options.css 9.6 KB

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