This commit is contained in:
parent
41daf7cfc9
commit
6a06faee7d
31
.forgejo/workflows/build.yml
Normal file
31
.forgejo/workflows/build.yml
Normal file
|
@ -0,0 +1,31 @@
|
|||
name: Build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: macos
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Setup Go
|
||||
uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: 1.24
|
||||
- name: Installing Wails
|
||||
run: |
|
||||
go install github.com/wailsapp/wails/v2/cmd/wails@latest
|
||||
- name: Running Wails doctor
|
||||
run: |
|
||||
wails doctor
|
||||
- name: Build
|
||||
run: |
|
||||
wails build -platform darwin/arm64 -o Dequoter.app
|
||||
- name: Upload build artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: dequoter-darwin-arm64
|
||||
path: build/bin/
|
|
@ -11,7 +11,7 @@
|
|||
data-action="dq-showcommands@window->commands#showCommands">
|
||||
<div class="dialog-body">
|
||||
<div class="command-input">
|
||||
<input data-commands-target="commandInput" type="text" placeholder="Enter text to dequote"
|
||||
<input data-commands-target="commandInput" type="text" placeholder="Enter command"
|
||||
data-action="keyup.enter->commands#runCommand keydown.esc->commands#dismissDialog keyup->commands#handleKeyup">
|
||||
</div>
|
||||
<select multiple class="command-options" data-commands-target="commandSelect">
|
||||
|
|
|
@ -15,6 +15,18 @@ dialog#command-dialog {
|
|||
transform: translate(-50%, -50%);
|
||||
|
||||
padding: 0;
|
||||
|
||||
/* Frosted glass effect */
|
||||
background: rgba(225, 225, 225, 0.38);
|
||||
backdrop-filter: blur(20px);
|
||||
-webkit-backdrop-filter: blur(20px);
|
||||
|
||||
/* Subtle grey border and rounded corners */
|
||||
border: 1px solid rgba(169, 169, 169, 0.3);
|
||||
border-radius: 12px;
|
||||
|
||||
/* Add subtle shadow for depth */
|
||||
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
dialog#command-dialog .dialog-body {
|
||||
|
@ -24,7 +36,6 @@ dialog#command-dialog .dialog-body {
|
|||
}
|
||||
|
||||
dialog#command-dialog .command-input {
|
||||
background-color: #EEEEEE;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
|
@ -33,7 +44,12 @@ dialog#command-dialog input {
|
|||
border: none;
|
||||
text-decoration: none;
|
||||
outline: none;
|
||||
font-size: 1.5em;
|
||||
font-size: 1.3em;
|
||||
background-color: transparent;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
dialog::backdrop {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
|
@ -41,13 +57,16 @@ dialog#command-dialog select {
|
|||
flex-grow: 1;
|
||||
flex-shrink: 1;
|
||||
border: none;
|
||||
background-color: transparent;
|
||||
|
||||
-webkit-appearance: none;
|
||||
appearance: none;
|
||||
font-size: 1.5em;
|
||||
font-size: 1.3em;
|
||||
}
|
||||
|
||||
option {
|
||||
background-color: #FFFFFF;
|
||||
dialog#command-dialog option {
|
||||
background-color: transparent;
|
||||
line-height: 3.0em;
|
||||
}
|
||||
|
||||
option .option-label {
|
||||
|
|
Loading…
Reference in a new issue