options.css 7.5 KB

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