options.css 7.4 KB

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