Browse Source

fix link styling

main
familyfriendlymikey 2 years ago
parent
commit
d3390c543a
  1. 15
      app/client.imba
  2. 2
      package.json
  3. 2
      sw.imba

15
app/client.imba

@ -251,7 +251,10 @@ tag app
bg:blue3/5 bg:blue3/5
css a css a
tt:capitalize td:none c:blue3 fs:20px td:none
css .name
tt:capitalize c:blue3 fs:20px
css .frequency css .frequency
fs:15px c:blue3 fs:15px c:blue3
@ -274,7 +277,7 @@ tag app
css .delete css .delete
bd:1px solid purple4/50 bd:1px solid purple4/50
px:7px rd:3px fs:15px mr:15px px:7px rd:3px fs:15px
c:purple4 cursor:pointer o:0 c:purple4 cursor:pointer o:0
css .selected .delete css .selected .delete
@ -284,7 +287,7 @@ tag app
d:flex fl:1 d:flex fl:1
css .link-right css .link-right
d:flex d:flex fld:row jc:space-between ai:center w:70px
<[d:flex fld:column jc:space-between ai:center w:100%]> <[d:flex fld:column jc:space-between ai:center w:100%]>
if settings_active if settings_active
@ -339,7 +342,7 @@ tag app
> >
<.link-left> <.link-left>
<img.link-icon height=20 width=20 src=obj.img> <img.link-icon height=20 width=20 src=obj.img>
<a href=obj.link> obj.name <.name> obj.name
<.link-right> <.link-right>
<.delete@click.prevent.stop=handle_click_delete(obj)> "x" <.delete@click.prevent.stop=handle_click_delete(obj)> "x"
<.frequency> obj.frequency <.frequency> obj.frequency
@ -348,8 +351,8 @@ tag app
<.link> <.link>
<.link-left> <.link-left>
<img.link-icon src=state.config.search_engine_icon> <img.link-icon src=state.config.search_engine_icon>
<a[tt:none]> "Search {state.config.search_engine_hostname}" <.name[tt:none]> "Search {state.config.search_engine_hostname}"
<.link-right> <.link-right[jc:flex-end]>
<.frequency> state.config.search_engine_frequency <.frequency> state.config.search_engine_frequency
$input.focus! $input.focus!

2
package.json

@ -1,6 +1,6 @@
{ {
"name": "fuzzyhome", "name": "fuzzyhome",
"version": "0.0.30", "version": "0.0.31",
"scripts": { "scripts": {
"start": "imba run -SMH --baseurl . -w server.imba", "start": "imba run -SMH --baseurl . -w server.imba",
"build-app": "rm -rf dist && imba build -SMH --baseurl . server.imba", "build-app": "rm -rf dist && imba build -SMH --baseurl . server.imba",

2
sw.imba

@ -1,7 +1,7 @@
let p = console.log let p = console.log
const app_prefix = "fuzzyhome_cache" const app_prefix = "fuzzyhome_cache"
const version = "0.0.30" const version = "0.0.31"
const cache_name = "{app_prefix}-{version}" const cache_name = "{app_prefix}-{version}"

Loading…
Cancel
Save