package bonsai
A library for building dynamic webapps, using Js_of_ocaml
Install
dune-project
Dependency
Authors
Maintainers
Sources
bonsai-v0.16.0.tar.gz
sha256=1d68aab713659951eba5b85f21d6f9382e0efa8579a02c3be65d9071c6e86303
doc/src/bonsai.kado/input_style__generated.ml.html
Source file input_style__generated.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147
include struct [@@@ocaml.warning "-32"] let () = Inline_css.Private.append {| /* _none_ */ @layer kado.input{ fieldset.container_hash_13205ef139 { width:fit-content; padding:0; margin:0.6em 0.25em 0.25em 0.25em; position:relative; border:1px solid var(--border_hash_13205ef139); border-radius:3px; overflow:hidden; background:inherit; background:var(--bg_hash_13205ef139) } fieldset.container_hash_13205ef139>legend { height:0; overflow:visible; position:relative; font-size:0.8em; top:-0.55em; margin:0 0.25em; line-height:1em; font-weight:bold; white-space:pre } fieldset.container_hash_13205ef139>input,fieldset.container_hash_13205ef139>select { border-radius:0; appearance:none; position:relative; background:transparent; border:0; outline:none; font-size:1em; font-family:inherit; padding:0.25em 0.25em 0.125em 0.25em; z-index:2 } fieldset.container_hash_13205ef139>select { width:100% } fieldset.container_hash_13205ef139>select,fieldset.container_hash_13205ef139>select>option { appearance:revert; background:var(--bg_hash_13205ef139); overflow:visible } fieldset.container_hash_13205ef139>select>option:hover { box-shadow:0 0 10px 100px #1882A8 inset } fieldset.container_hash_13205ef139:focus-within { outline:var(--touch_hash_13205ef139) solid 3px; outline-offset:-2px; color:var(--touch_hash_13205ef139) } fieldset.container_hash_13205ef139:focus-within>legend::before { content:""; display:block; position:absolute; background:var(--bg_hash_13205ef139); width:100%; height:4px; left:0; top:calc(0.5em - 1px); z-index:1 } fieldset.container_hash_13205ef139>legend>span { position:relative; z-index:3; margin:0 -1px } }|} let (__type_info_for_ppx_css : ?rewrite:(string * string) list -> ?dont_hash:string list -> ?dont_hash_prefixes:string list -> string -> unit) = fun ?rewrite:_ -> fun ?dont_hash:_ -> fun ?dont_hash_prefixes:_ -> fun _ -> () module type S = sig module Variables : sig val set : ?bg:string -> ?border:string -> ?touch:string -> unit -> Virtual_dom.Vdom.Attr.t end module For_referencing : sig val bg : string val border : string val container : string val touch : string end val container : Virtual_dom.Vdom.Attr.t end type t = (module S) module Default : S = struct module Variables = struct let set ?bg ?border ?touch () = let ppx_css_acc__001_ = [] in let ppx_css_acc__001_ = match bg with | None -> ppx_css_acc__001_ | Some ppx_css_value__002_ -> ({|--bg_hash_13205ef139|}, ppx_css_value__002_) :: ppx_css_acc__001_ in let ppx_css_acc__001_ = match border with | None -> ppx_css_acc__001_ | Some ppx_css_value__002_ -> ({|--border_hash_13205ef139|}, ppx_css_value__002_) :: ppx_css_acc__001_ in let ppx_css_acc__001_ = match touch with | None -> ppx_css_acc__001_ | Some ppx_css_value__002_ -> ({|--touch_hash_13205ef139|}, ppx_css_value__002_) :: ppx_css_acc__001_ in Virtual_dom.Vdom.Attr.__css_vars_no_kebabs ppx_css_acc__001_ end module For_referencing = struct let container = {|container_hash_13205ef139|} let touch = {|--touch_hash_13205ef139|} let border = {|--border_hash_13205ef139|} let bg = {|--bg_hash_13205ef139|} end let container = Virtual_dom.Vdom.Attr.class_ {|container_hash_13205ef139|} end include Default let default : t = (module Default) end
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>