Source file 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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
include struct
[@@@ocaml.warning "-32"]
let () =
Inline_css.Private.append
{|
/* _none_ */
*.tooltip_container_hash_7345d10c8f {
--dist_hash_7345d10c8f:0.3em;
position:relative;
display:inline-flex;
justify-content:center
}
*.tooltip_hash_7345d10c8f {
z-index:9001
}
*.tooltip_container_hash_7345d10c8f>.tooltip_hash_7345d10c8f {
display:none
}
*.tooltip_container_hash_7345d10c8f.tooltip_open_hash_7345d10c8f>.tooltip_hash_7345d10c8f {
display:block;
position:absolute
}
*.default_tooltip_styles_hash_7345d10c8f {
padding:0.1em 0.3em;
max-width:max(300px,100%);
width:max-content;
border:1px solid var(--border_hash_7345d10c8f);
border-radius:2px;
background:var(--bg_hash_7345d10c8f);
color:var(--fg_hash_7345d10c8f)
}
*.tooltip_container_hash_7345d10c8f.top_hash_7345d10c8f,*.tooltip_container_hash_7345d10c8f.bottom_hash_7345d10c8f {
flex-direction:row
}
*.tooltip_container_hash_7345d10c8f.left_hash_7345d10c8f,*.tooltip_container_hash_7345d10c8f.right_hash_7345d10c8f {
flex-direction:column
}
*.tooltip_container_hash_7345d10c8f.top_hash_7345d10c8f>.tooltip_hash_7345d10c8f {
transform:translateY(calc(-100% - var(--dist_hash_7345d10c8f)))
}
*.tooltip_container_hash_7345d10c8f.bottom_hash_7345d10c8f>.tooltip_hash_7345d10c8f {
top:calc(100% + var(--dist_hash_7345d10c8f))
}
*.tooltip_container_hash_7345d10c8f.top_hash_7345d10c8f.align_start_hash_7345d10c8f>.tooltip_hash_7345d10c8f,*.tooltip_container_hash_7345d10c8f.bottom_hash_7345d10c8f.align_start_hash_7345d10c8f>.tooltip_hash_7345d10c8f {
left:0
}
*.tooltip_container_hash_7345d10c8f.top_hash_7345d10c8f.align_end_hash_7345d10c8f>.tooltip_hash_7345d10c8f,*.tooltip_container_hash_7345d10c8f.bottom_hash_7345d10c8f.align_end_hash_7345d10c8f>.tooltip_hash_7345d10c8f {
right:0
}
*.tooltip_container_hash_7345d10c8f.left_hash_7345d10c8f>.tooltip_hash_7345d10c8f {
transform:translateX(calc(-100% - var(--dist_hash_7345d10c8f)))
}
*.tooltip_container_hash_7345d10c8f.right_hash_7345d10c8f>.tooltip_hash_7345d10c8f {
left:calc(100% + var(--dist_hash_7345d10c8f))
}
*.tooltip_container_hash_7345d10c8f.left_hash_7345d10c8f.align_start_hash_7345d10c8f>.tooltip_hash_7345d10c8f,*.tooltip_container_hash_7345d10c8f.right_hash_7345d10c8f.align_start_hash_7345d10c8f>.tooltip_hash_7345d10c8f {
top:0
}
*.tooltip_container_hash_7345d10c8f.left_hash_7345d10c8f.align_end_hash_7345d10c8f>.tooltip_hash_7345d10c8f,*.tooltip_container_hash_7345d10c8f.right_hash_7345d10c8f.align_end_hash_7345d10c8f>.tooltip_hash_7345d10c8f {
bottom:0
}|}
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 ->
?dist:string -> ?fg:string -> unit -> Virtual_dom.Vdom.Attr.t
end
module For_referencing :
sig
val align_end : string
val align_start : string
val bg : string
val border : string
val bottom : string
val default_tooltip_styles : string
val dist : string
val fg : string
val left : string
val right : string
val tooltip : string
val tooltip_container : string
val tooltip_open : string
val top : string
end
val align_end : Virtual_dom.Vdom.Attr.t
val align_start : Virtual_dom.Vdom.Attr.t
val bottom : Virtual_dom.Vdom.Attr.t
val default_tooltip_styles : Virtual_dom.Vdom.Attr.t
val left : Virtual_dom.Vdom.Attr.t
val right : Virtual_dom.Vdom.Attr.t
val tooltip : Virtual_dom.Vdom.Attr.t
val tooltip_container : Virtual_dom.Vdom.Attr.t
val tooltip_open : Virtual_dom.Vdom.Attr.t
val top : Virtual_dom.Vdom.Attr.t
end
type t = (module S)
module Default : S =
struct
module Variables =
struct
let set ?bg ?border ?dist ?fg () =
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_7345d10c8f|}, 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_7345d10c8f|}, ppx_css_value__002_) ::
ppx_css_acc__001_ in
let ppx_css_acc__001_ =
match dist with
| None -> ppx_css_acc__001_
| Some ppx_css_value__002_ ->
({|--dist_hash_7345d10c8f|}, ppx_css_value__002_) ::
ppx_css_acc__001_ in
let ppx_css_acc__001_ =
match fg with
| None -> ppx_css_acc__001_
| Some ppx_css_value__002_ ->
({|--fg_hash_7345d10c8f|}, 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 align_end = {|align_end_hash_7345d10c8f|}
let align_start = {|align_start_hash_7345d10c8f|}
let default_tooltip_styles =
{|default_tooltip_styles_hash_7345d10c8f|}
let top = {|top_hash_7345d10c8f|}
let tooltip_container = {|tooltip_container_hash_7345d10c8f|}
let left = {|left_hash_7345d10c8f|}
let right = {|right_hash_7345d10c8f|}
let tooltip_open = {|tooltip_open_hash_7345d10c8f|}
let bottom = {|bottom_hash_7345d10c8f|}
let tooltip = {|tooltip_hash_7345d10c8f|}
let fg = {|--fg_hash_7345d10c8f|}
let dist = {|--dist_hash_7345d10c8f|}
let bg = {|--bg_hash_7345d10c8f|}
let border = {|--border_hash_7345d10c8f|}
end
let align_end =
Virtual_dom.Vdom.Attr.class_ {|align_end_hash_7345d10c8f|}
let align_start =
Virtual_dom.Vdom.Attr.class_ {|align_start_hash_7345d10c8f|}
let default_tooltip_styles =
Virtual_dom.Vdom.Attr.class_
{|default_tooltip_styles_hash_7345d10c8f|}
let top = Virtual_dom.Vdom.Attr.class_ {|top_hash_7345d10c8f|}
let tooltip_container =
Virtual_dom.Vdom.Attr.class_ {|tooltip_container_hash_7345d10c8f|}
let left = Virtual_dom.Vdom.Attr.class_ {|left_hash_7345d10c8f|}
let right = Virtual_dom.Vdom.Attr.class_ {|right_hash_7345d10c8f|}
let tooltip_open =
Virtual_dom.Vdom.Attr.class_ {|tooltip_open_hash_7345d10c8f|}
let bottom = Virtual_dom.Vdom.Attr.class_ {|bottom_hash_7345d10c8f|}
let tooltip = Virtual_dom.Vdom.Attr.class_ {|tooltip_hash_7345d10c8f|}
end
include Default
let default : t = (module Default) end