options.css 7.5 KB

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