nixCodeX/elm-bootstrap/2.0.4

NOTE: the latest version is 3.1.1

Renamed to aDifferentJT/elm-bootstrap. That is where the repository lives now. It has not been published as a package under the new name.

Versions published as nixCodeX/elm-bootstrap still install under that name. 13 versions of 13 come from the new location (see their notes).

Rerouted (renamed, verified). The GitHub user or repository was renamed. The tag is still there, at the new name. The Lamdera package server serves a copy recovered from https://github.com/aDifferentJT/elm-bootstrap.

What we checked: The repo moved to github.com/aDifferentJT/elm-bootstrap. Rebuilt with git archive from commit 40fabfc9052e of https://github.com/aDifferentJT/elm-bootstrap (zip prefix nixCodeX-elm-bootstrap-40fabfc/, America/Los_Angeles times): the zip is byte-identical to the one package.elm-lang.org recorded, SHA-1 d179c84e8fe294d5c7ecdb25f99af189848254c6.

The Lamdera compiler uses this copy and prints a one-line notice saying so. elm itself fails to download this version.

Details · package.elm-lang.org's zip: https://github.com/nixCodeX/elm-bootstrap/zipball/2.0.4/

Bootstrap.Card.Block

Blocks are the main content elements withing a Card.

Title

titleH1 : List (Attribute msg) -> List (Html msg) -> Item msg

Create a block h1 title

  • attributes List of attributes
  • children List of child elements
titleH2 : List (Attribute msg) -> List (Html msg) -> Item msg

Create a block h2 title

  • attributes List of attributes
  • children List of child elements
titleH3 : List (Attribute msg) -> List (Html msg) -> Item msg

Create a block h3 title

  • attributes List of attributes
  • children List of child elements
titleH4 : List (Attribute msg) -> List (Html msg) -> Item msg

Create a block h4 title

  • attributes List of attributes
  • children List of child elements
titleH5 : List (Attribute msg) -> List (Html msg) -> Item msg

Create a block h5 title

  • attributes List of attributes
  • children List of child elements
titleH6 : List (Attribute msg) -> List (Html msg) -> Item msg

Create a block h6 title

  • attributes List of attributes
  • children List of child elements

Items

text : List (Attribute msg) -> List (Html msg) -> Item msg

Create a card text element

  • attributes List of attributes
  • children List of child elements
quote : List (Attribute msg) -> List (Html msg) -> Item msg

Create a block quote element

  • attributes List of attributes
  • children List of child elements
custom : Html msg -> Item msg

Add a custom HTML element to be displayed in a Card block

type alias Item msg =
BlockItem msg

Opaque type representing a legal card block child element

Options

align : HAlign -> Option msg

Option to specify horizontal alignment of a card block item

Block.align Text.xs
primary : Option msg

Give blocks a primary background color

secondary : Option msg

Give blocks a secondary background color

success : Option msg

Give blocks a success background color

info : Option msg

Give blocks a info background color

warning : Option msg

Give blocks a warning background color

danger : Option msg

Give blocks a danger background color

light : Option msg

Give blocks a light background color

dark : Option msg

Give blocks a dark background color

textColor : Color -> Option msg

Set the text color used within a block. |

attrs : List (Attribute msg) -> Option msg

When you need to customize a block item with standard Html.Attribute attributes use this function

type alias Option msg =
BlockOption msg

Opaque type representing options for styling a card block