website/frontend/src/Config/Helpers/Response.elm

39 lines
721 B
Elm
Raw Normal View History

2024-12-11 03:48:49 -06:00
module Config.Helpers.Response exposing (..)
2024-12-09 19:53:09 -06:00
import Config.Style.Colour exposing (colourTheme)
import Element as E exposing (..)
topLevelContainer : Element msg -> Element msg
topLevelContainer =
el
[ width fill
, height fill
, scrollbarY
]
2024-12-09 20:30:04 -06:00
pageList : List (Attribute msg)
pageList =
[ alignTop
]
++ pageListFormat
pageListCenter : List (Attribute msg)
pageListCenter =
[ centerY
]
++ pageListFormat
pageListFormat : List (Attribute msg)
pageListFormat =
2024-12-09 19:53:09 -06:00
[ spacing 30
, centerX
, paddingEach { top = 30, bottom = 30, left = 30, right = 30 }
, width (fill |> minimum 100)
, width (fill |> maximum 875)
, scrollbarY
]