| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304 |
- body {
- background-color: transparent;
- font-family: sans-serif;
- max-width: 800px;
- }
- button {
- padding-top: 5px;
- padding-bottom: 5px;
- padding-left: 8px;
- padding-right: 8px;
- border-width: 1px;
- }
- button:not([disabled]):hover {
- background-color: #ebebeb;
- }
- button,
- select,
- input[type=text] {
- background-color: transparent;
- border-color: rgb(191, 191, 191);
- border-style: solid;
- border-radius: 2px;
- border-width: 1px;
- }
- button:active {
- border-color: rgb(237, 237, 237);
- }
- input {
- margin-left: 5px;
- }
- label,
- input {
- align-self: center;
- }
- input[type="text"] {
- min-width: 70%;
- }
- input[type="number"] {
- max-width: 40px;
- }
- input.large-input {
- min-width: 60px;
- }
- h3 {
- padding-left: 8px;
- margin-bottom: 10px;
- margin-top: 10px;
- }
- .buttons {
- white-space: nowrap;
- }
- .profiles {
- float: right;
- margin-right: 12px;
- position: relative;
- top: -3px;
- max-width: calc(100% - 100px);
- }
- .rules-table-container {
- width: 100%;
- border-spacing: 0;
- border-color: rgb(191, 191, 191);
- border-style: solid;
- border-width: 1px;
- margin-top: 24px;
- }
- .rules-table-container .tr {
- height: 26px;
- display: grid;
- grid-template-columns: 1fr 1fr 1fr 58px;
- }
- .rules-table-container.compact .tr {
- grid-template-columns: 1fr 1fr 58px;
- }
- .rules-table-container.compact .tr .rule-autosave-profile {
- display: none;
- }
- .rules-table-container .tr[hidden] {
- display: none;
- }
- .rules-table-container .thead {
- text-align: left;
- border-color: rgb(225, 225, 225);
- border-style: solid;
- border-width: 0;
- border-bottom-width: 1px;
- }
- .rules-table-container .th,
- .rules-table-container .td {
- padding: 4px;
- text-overflow: ellipsis;
- overflow: hidden;
- white-space: nowrap;
- align-self: center;
- }
- .rules-table .td:first-of-type {
- padding-right: 8px;
- }
- .rules-table .td:last-of-type {
- text-align: right;
- }
- .rules-data {
- max-height: 552px;
- overflow-y: auto;
- padding-top: 2px;
- padding-bottom: 2px;
- scrollbar-width: thin;
- }
- ::-webkit-scrollbar {
- width: 6px;
- background-color: #cdcdcd;
- }
- .profiles button,
- .rules-table-container button {
- padding: 0;
- margin: 0;
- width: 22px;
- text-align: center;
- }
- .rules-table-container .thead .tr {
- min-height: 32px;
- }
- .rules-table-container .thead .th:last-of-type {
- text-align: right;
- }
- .profiles button,
- .profiles select,
- .rules-table-container button,
- .rules-table-container select,
- .rules-table-container input {
- height: 22px;
- vertical-align: top;
- }
- .rules-table-container input {
- width: 100%;
- height: 20px;
- margin: 0;
- padding: 0;
- padding-left: 2px;
- padding-right: 2px;
- }
- .rules-table-container .rule-create {
- margin-top: 8px;
- margin-bottom: 3px;
- }
- .profiles select {
- max-width: calc(100% - 78px);
- }
- .rules-table-container select {
- max-width: 100%;
- }
- .profiles button:disabled,
- .rules-table-container button:disabled {
- opacity: .25;
- }
- .profiles button>img,
- .rules-table-container button>img {
- width: 14px;
- height: auto;
- vertical-align: middle;
- padding: 2px;
- }
- .rules-table-container+.option label,
- .rules-table-container+.option+.option label {
- text-align: right;
- width: 100%;
- }
- #profilesLabel {
- font-weight: normal;
- padding-top: 5px;
- margin-right: 5px;
- }
- details {
- margin-left: 12px;
- margin-right: 12px;
- border-top: gray 1px dashed;
- }
- details:last-of-type {
- border-bottom: gray 1px dashed;
- }
- details>summary {
- margin-bottom: 10px;
- margin-top: 10px;
- cursor: pointer;
- }
- details>summary:focus {
- outline-width: 0px;
- }
- a {
- display: inline-block;
- padding-top: 5px;
- }
- .option.second-level {
- margin-left: 10px;
- }
- .option {
- display: flex;
- justify-content: space-between;
- margin-top: 5px;
- padding-left: 12px;
- min-height: 24px;
- }
- .option.vertical {
- flex-direction: column;
- }
- .option.vertical label {
- align-self: flex-start;
- }
- .option.vertical input {
- margin-top: 3px;
- align-self: flex-end;
- width: calc(100% - 3px);
- }
- .option:last-of-type {
- padding-bottom: 12px;
- }
- .option:first-of-type {
- padding-top: 6px;
- }
- .option.bottom {
- padding-top: 24px;
- padding-right: 12px;
- }
- #expandAllButton {
- opacity: .3;
- transition: opacity 250ms;
- cursor: pointer;
- font-size: .9em;
- position: relative;
- top: -1px;
- left: -3px;
- }
- #expandAllButton::after {
- content: '▷';
- }
- #expandAllButton.opened::after {
- content: '▽';
- position: relative;
- top: 1px;
- }
- #expandAllButton:hover {
- opacity: 1;
- }
- @media (max-width:400px) {
- body,
- input,
- select,
- button {
- font-size: 11px;
- }
- }
|