diff --git a/ext/src/ui/options/EditableList.tsx b/ext/src/ui/options/EditableList.tsx index 23cf117..1d01816 100644 --- a/ext/src/ui/options/EditableList.tsx +++ b/ext/src/ui/options/EditableList.tsx @@ -79,10 +79,11 @@ export default class EditableList extends Component<
{ !this.state.rawView && - } { this.state.rawView &&
- - ); diff --git a/ext/src/ui/options/assets/photon_delete.svg b/ext/src/ui/options/assets/photon_delete.svg new file mode 100644 index 0000000..d928f35 --- /dev/null +++ b/ext/src/ui/options/assets/photon_delete.svg @@ -0,0 +1,14 @@ + + + + + + diff --git a/ext/src/ui/options/assets/photon_edit.svg b/ext/src/ui/options/assets/photon_edit.svg new file mode 100644 index 0000000..2346337 --- /dev/null +++ b/ext/src/ui/options/assets/photon_edit.svg @@ -0,0 +1,13 @@ + + + + + diff --git a/ext/src/ui/options/assets/photon_new.svg b/ext/src/ui/options/assets/photon_new.svg new file mode 100644 index 0000000..c1f2d9c --- /dev/null +++ b/ext/src/ui/options/assets/photon_new.svg @@ -0,0 +1,13 @@ + + + + + diff --git a/ext/src/ui/options/styles/index.css b/ext/src/ui/options/styles/index.css index f449cea..44f2862 100644 --- a/ext/src/ui/options/styles/index.css +++ b/ext/src/ui/options/styles/index.css @@ -49,6 +49,21 @@ padding: 20px 10px; } +button.ghost { + width: 24px !important; + height: 24px !important; + padding: initial; + display: flex; + align-items: center; + justify-content: center; +} + +button.ghost:not(:hover) { + background-color: initial; + border: initial; +} + + #form { display: flex; flex-direction: column; diff --git a/ext/src/ui/options/styles/mac.css b/ext/src/ui/options/styles/mac.css index 5900e93..37aa4b1 100644 --- a/ext/src/ui/options/styles/mac.css +++ b/ext/src/ui/options/styles/mac.css @@ -23,6 +23,11 @@ select { height: 22px; } +button.ghost { + width: 22px !important; + height: 22px !important; +} + input[type="checkbox"], input[type="radio"] { height: 16px;