mirror of
https://github.com/urbit/shrub.git
synced 2024-12-18 07:42:20 +03:00
sky: skinnier hawk headers
This commit is contained in:
parent
e692242a15
commit
c3374efa0c
@ -99,7 +99,8 @@
|
|||||||
=head "menu"
|
=head "menu"
|
||||||
=hx-target "this"
|
=hx-target "this"
|
||||||
=hx-swap "none"
|
=hx-swap "none"
|
||||||
;div.fc.ac.jc.bold.s3.f3(style "height: 2rem;"): ~
|
=style "height: 2rem;"
|
||||||
|
; ~
|
||||||
==
|
==
|
||||||
++ menu-btn-style
|
++ menu-btn-style
|
||||||
;style
|
;style
|
||||||
@ -107,9 +108,7 @@
|
|||||||
'''
|
'''
|
||||||
.air-btn {
|
.air-btn {
|
||||||
position: relative;
|
position: relative;
|
||||||
padding: 4px;
|
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
border: 2px solid var(--b2);
|
|
||||||
}
|
}
|
||||||
@media(max-width: 900px) {
|
@media(max-width: 900px) {
|
||||||
.air-btn {
|
.air-btn {
|
||||||
|
@ -362,7 +362,7 @@
|
|||||||
'}'
|
'}'
|
||||||
++ lift
|
++ lift
|
||||||
^- manx
|
^- manx
|
||||||
;div.hawk.fc.wf.hf
|
;div.hawk.fc.wf.hf.br1
|
||||||
=id "hawk-{idt}"
|
=id "hawk-{idt}"
|
||||||
=hawk-id (scow %da id)
|
=hawk-id (scow %da id)
|
||||||
=slot slot-tag
|
=slot slot-tag
|
||||||
@ -384,9 +384,9 @@
|
|||||||
==
|
==
|
||||||
==
|
==
|
||||||
++ header
|
++ header
|
||||||
;header.b2.p1.frw.g1.ac
|
;header.b2.frw.g1.ac
|
||||||
=id "hawk-header-{idt}"
|
=id "hawk-header-{idt}"
|
||||||
=style "border: 2px solid var(--b2);"
|
=style "padding: 0 4px;"
|
||||||
;button
|
;button
|
||||||
=class "p1 hover b2 br1 bd0 {(trip ?:(has-app '' 'toggled'))}"
|
=class "p1 hover b2 br1 bd0 {(trip ?:(has-app '' 'toggled'))}"
|
||||||
=onclick
|
=onclick
|
||||||
@ -413,7 +413,7 @@
|
|||||||
;+ chevron-right.feather-icons
|
;+ chevron-right.feather-icons
|
||||||
==
|
==
|
||||||
;a
|
;a
|
||||||
=class "hover b2 br1 {pad} s0 loader fc ac jc"
|
=class "hover b2 {pad} s0 loader fc ac jc"
|
||||||
=style "height: 2rem;"
|
=style "height: 2rem;"
|
||||||
=href "/neo/hawk{(en-tape:pith:neo (scag +(a) here))}"
|
=href "/neo/hawk{(en-tape:pith:neo (scag +(a) here))}"
|
||||||
;span.loaded
|
;span.loaded
|
||||||
@ -429,7 +429,7 @@
|
|||||||
;div.grow;
|
;div.grow;
|
||||||
==
|
==
|
||||||
;form
|
;form
|
||||||
=class "hawk-tog grow fr m0 relative {(trip ?:(has-app 'hidden' ''))}"
|
=class "hawk-tog grow fr ac m0 relative {(trip ?:(has-app 'hidden' ''))}"
|
||||||
=style "height: 2rem;"
|
=style "height: 2rem;"
|
||||||
=hx-get "/neo/hawk"
|
=hx-get "/neo/hawk"
|
||||||
=hx-target "closest .hawk"
|
=hx-target "closest .hawk"
|
||||||
@ -442,8 +442,8 @@
|
|||||||
==
|
==
|
||||||
==
|
==
|
||||||
==
|
==
|
||||||
;input.p-1.br1.b1.wf.s0.loaded.grow.bd0
|
;input.br1.b1.wf.s0.loaded.grow.bd0
|
||||||
=style "margin-left: 5px;"
|
=style "margin-left: 5px; padding: 2px 4px;"
|
||||||
=type "text"
|
=type "text"
|
||||||
=value (en-tape:pith:neo here)
|
=value (en-tape:pith:neo here)
|
||||||
=oninput
|
=oninput
|
||||||
|
Loading…
Reference in New Issue
Block a user