package bonsai
A library for building dynamic webapps, using Js_of_ocaml
Install
Dune Dependency
Authors
Maintainers
Sources
bonsai-v0.16.0.tar.gz
sha256=1d68aab713659951eba5b85f21d6f9382e0efa8579a02c3be65d9071c6e86303
doc/src/bonsai.web_ui_view/card_style__generated.ml.html
Source file card_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
include struct [@@@ocaml.warning "-32"] let () = Inline_css.Private.append {| /* _none_ */ @layer view.card{ *.container_hash_3108b43958 { border-radius:2px; border:1px solid var(--extreme-fg_hash_3108b43958) } *.content_common_hash_3108b43958 { padding-left:0.25em; padding-right:0.25em } *:not(.card_legend_hash_3108b43958).title-text_hash_3108b43958 { color:var(--intent-fg_hash_3108b43958); padding-left:0.5em; padding-right:0.25em } *.card_legend_hash_3108b43958.title-text_hash_3108b43958 { color:var(--intent-fg_hash_3108b43958); margin-left:0.25em } *:not(.card_legend_hash_3108b43958).title-bar_hash_3108b43958 { background:var(--intent-bg_hash_3108b43958); border-radius:2px } *.fieldset_container_hash_3108b43958 { padding:0 0.5em 0.25em 0.5em; border-radius:2px; border:1px solid var(--extreme-fg_hash_3108b43958); padding-left:0px; padding-right:0px } *.fieldset_container_hash_3108b43958>legend { line-height:1em } }|} 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 : ?extreme_fg:string -> ?intent_bg:string -> ?intent_fg:string -> unit -> Virtual_dom.Vdom.Attr.t end module For_referencing : sig val card_legend : string val container : string val content_common : string val extreme_fg : string val fieldset_container : string val intent_bg : string val intent_fg : string val title_bar : string val title_text : string end val card_legend : Virtual_dom.Vdom.Attr.t val container : Virtual_dom.Vdom.Attr.t val content_common : Virtual_dom.Vdom.Attr.t val fieldset_container : Virtual_dom.Vdom.Attr.t val title_bar : Virtual_dom.Vdom.Attr.t val title_text : Virtual_dom.Vdom.Attr.t end type t = (module S) module Default : S = struct module Variables = struct let set ?extreme_fg ?intent_bg ?intent_fg () = let ppx_css_acc__001_ = [] in let ppx_css_acc__001_ = match extreme_fg with | None -> ppx_css_acc__001_ | Some ppx_css_value__002_ -> ({|--extreme-fg_hash_3108b43958|}, ppx_css_value__002_) :: ppx_css_acc__001_ in let ppx_css_acc__001_ = match intent_bg with | None -> ppx_css_acc__001_ | Some ppx_css_value__002_ -> ({|--intent-bg_hash_3108b43958|}, ppx_css_value__002_) :: ppx_css_acc__001_ in let ppx_css_acc__001_ = match intent_fg with | None -> ppx_css_acc__001_ | Some ppx_css_value__002_ -> ({|--intent-fg_hash_3108b43958|}, 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 card_legend = {|card_legend_hash_3108b43958|} let content_common = {|content_common_hash_3108b43958|} let title_bar = {|title-bar_hash_3108b43958|} let container = {|container_hash_3108b43958|} let title_text = {|title-text_hash_3108b43958|} let fieldset_container = {|fieldset_container_hash_3108b43958|} let intent_bg = {|--intent-bg_hash_3108b43958|} let extreme_fg = {|--extreme-fg_hash_3108b43958|} let intent_fg = {|--intent-fg_hash_3108b43958|} end let card_legend = Virtual_dom.Vdom.Attr.class_ {|card_legend_hash_3108b43958|} let content_common = Virtual_dom.Vdom.Attr.class_ {|content_common_hash_3108b43958|} let title_bar = Virtual_dom.Vdom.Attr.class_ {|title-bar_hash_3108b43958|} let container = Virtual_dom.Vdom.Attr.class_ {|container_hash_3108b43958|} let title_text = Virtual_dom.Vdom.Attr.class_ {|title-text_hash_3108b43958|} let fieldset_container = Virtual_dom.Vdom.Attr.class_ {|fieldset_container_hash_3108b43958|} end include Default let default : t = (module Default) end
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>