mirror of
https://gitlab.com/upRootNutrition/website.git
synced 2025-06-16 04:25:11 -05:00
feat: fixed receipts
This commit is contained in:
parent
2295c85fca
commit
97b9223223
18 changed files with 185 additions and 102 deletions
|
@ -43,3 +43,48 @@ tooltip content =
|
|||
(text content)
|
||||
]
|
||||
none
|
||||
|
||||
|
||||
tooltipImage : String -> Attribute msg
|
||||
tooltipImage content =
|
||||
inFront <|
|
||||
el
|
||||
[ width fill
|
||||
, height fill
|
||||
, transparent True
|
||||
, mouseOver [ transparent False ]
|
||||
, htmlAttribute <| H.style "z-index" "4"
|
||||
, transitionStyleSlow
|
||||
, onRight <|
|
||||
el
|
||||
[ htmlAttribute (H.style "pointerEvents" "none")
|
||||
, moveLeft 410
|
||||
]
|
||||
<|
|
||||
el
|
||||
[ width <| px 600
|
||||
, htmlAttribute <| H.style "z-index" "4"
|
||||
, B.color colourTheme.backgroundLightGrey
|
||||
, padding 15
|
||||
, D.color colourTheme.textLightOrange
|
||||
, D.rounded 5
|
||||
, D.width 2
|
||||
, D.shadow
|
||||
{ offset = ( 0, 3 )
|
||||
, blur = 6
|
||||
, size = 0
|
||||
, color = rgba 0 0 0 0.32
|
||||
}
|
||||
]
|
||||
(image
|
||||
[ width fill
|
||||
, height fill
|
||||
, centerX
|
||||
, centerY
|
||||
]
|
||||
{ src = content
|
||||
, description = "Tooltip image"
|
||||
}
|
||||
)
|
||||
]
|
||||
none
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue