options.css 9.4 KB

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