1
0

options.css 7.4 KB

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