options.css 9.4 KB

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