()
| 39 | } |
| 40 | |
| 41 | function settingsPage() { |
| 42 | const style = React.createElement( |
| 43 | "style", |
| 44 | null, |
| 45 | `.popup-row::after { |
| 46 | content: ""; |
| 47 | display: table; |
| 48 | clear: both; |
| 49 | } |
| 50 | .popup-row .col { |
| 51 | display: flex; |
| 52 | padding: 10px 0; |
| 53 | align-items: center; |
| 54 | } |
| 55 | .popup-row .col.description { |
| 56 | float: left; |
| 57 | padding-right: 15px; |
| 58 | } |
| 59 | .popup-row .col.action { |
| 60 | float: right; |
| 61 | text-align: right; |
| 62 | } |
| 63 | .popup-row .div-title { |
| 64 | color: var(--spice-text); |
| 65 | } |
| 66 | .popup-row .divider { |
| 67 | height: 2px; |
| 68 | border-width: 0; |
| 69 | background-color: var(--spice-button-disabled); |
| 70 | } |
| 71 | button.checkbox { |
| 72 | align-items: center; |
| 73 | border: 0px; |
| 74 | border-radius: 50%; |
| 75 | background-color: rgba(var(--spice-rgb-shadow), 0.7); |
| 76 | color: var(--spice-text); |
| 77 | cursor: pointer; |
| 78 | display: flex; |
| 79 | margin-inline-start: 12px; |
| 80 | padding: 8px; |
| 81 | } |
| 82 | button.checkbox.disabled { |
| 83 | color: rgba(var(--spice-rgb-text), 0.3); |
| 84 | } |
| 85 | select { |
| 86 | color: var(--spice-text); |
| 87 | background: rgba(var(--spice-rgb-shadow), 0.7); |
| 88 | border: 0; |
| 89 | height: 32px; |
| 90 | } |
| 91 | ::-webkit-scrollbar { |
| 92 | width: 8px; |
| 93 | }` |
| 94 | ); |
| 95 | |
| 96 | function DisplayIcon({ icon, size }) { |
| 97 | return React.createElement("svg", { |
| 98 | width: size, |
nothing calls this directly
no test coverage detected