styling
attribute supported by many App Studio markup tags.
stretch-content
: Uses flex box to stretch the child contentgrid
and panel
examples in the gallery.stretch-row
: Same as stretch-content but with auto height for use with rowscenter-content
: Center child content vertically and horizontallygrid
and panel
examples in the gallery.flex-nowrap
: Prevent flex wrappingflex-grow
: Flex grow an elementwidth-1
: 100%width-2-3
: 66%width-1-2
: 50%width-1-3
: 33%width-1-4
: 25%inline-center
block
inline
inline-block
pull-left
: float leftbutton
example in the gallery.pull-right
: float rightbutton
example in the gallery.floated left
: float element leftfloated right
: float element rightborder
: Add 1px border to elementborder right
: Add 1px right border to elementborder left
: Add 1px left border to elementborder bottom
: Add 1px bottom border to elementborder top
: Add 1px top border to elementcentercontent
: adds padding that pushes in from page edges.centercontent-inner
: adds borders and box-shadows etc. - should be used inside centercontent
centercontent-inner-shadow
: Same as centercontent but with a drop shadowfade
: Fades out an element, add the class in to fade back inbg-stretch
: Stretch a background image to the full element height and widthheader header-fixed
: position fixed headerheader header-shadow
: header with drop shadowheader header-gradient
: header with gradientheader header-border
xs
: Make the font-size the smallest - also works for making most elements smallersm
md
lg
xl
break-text-all
: Make text wrap mid wordbreak-text-normal
: Text wraps at best fitborder-radius
: Adds rounded cornersborder-radius-top-left
: Adds rounder corner to top leftborder-radius-top-right
border-radius-bottom-left
border-radius-bottom-right
text-center
text-right
text-left
capitalize
uppercase
lowercase
bg-lgrey
: Light grey backgroundbg-mgrey
bg-dgrey
bg-charcoal
bg-black
bg-white
text-white
: White textbg-lbgrey
bg-mbgrey
bg-dbgrey
bg-blue
bg-sblue
bg-yellow
bg-orange
bg-red
bg-pink
bg-purple
bg-green
bg-primary
bg-primary-light
bg-primary-dark
bg-primary-contrast
text-primary
text-primary-contrast
bg-secondary
bg-secondary-light
bg-secondary-dark
bg-secondary-contrast
text-secondary
text-secondary-light
text-secondary-dark
text-secondary-contrast
bg-tertiary
bg-tertiary-light
bg-tertiary-dark
bg-tertiary-contrast
text-tertiary
text-tertiary-light
text-tertiary-dark
text-tertiary-contrast
bg-raspberry
bg-raspberry-light
bg-raspberry-dark
text-raspberry
text-raspberry-light
text-raspberry-dark
bg-strawberry
bg-strawberry-light
bg-strawberry-dark
text-strawberry
text-strawberry-light
text-strawberry-dark
bg-carrot
bg-carrot-light
bg-carrot-dark
text-carrot
text-carrot-light
text-carrot-dark
bg-pumpkin
bg-pumpkin-light
bg-pumpkin-dark
text-pumpkin
text-pumpkin-light
text-pumpkin-dark
bg-sunflower-light
bg-sunflower
bg-sunflower-dark
text-sunflower
text-sunflower-light
text-sunflower-dark
bg-leaf
bg-leaf-light
bg-leaf-dark
text-leaf
text-leaf-light
text-leaf-dark
bg-grass
bg-grass-light
bg-grass-dark
text-grass
text-grass-light
text-grass-dark
bg-emerald
bg-emerald-light
bg-emerald-dark
text-emerald
text-emerald-light
text-emerald-dark
bg-mint
bg-mint-light
bg-mint-dark
text-mint
text-mint-light
text-mint-dark
bg-aqua
bg-aqua-light
bg-aqua-dark
text-aqua
text-aqua-light
text-aqua-dark
bg-sky
bg-sky-light
bg-sky-dark
text-sky
text-sky-light
text-sky-dark
bg-royal
bg-royal-light
bg-royal-dark
text-royal
text-royal-light
text-royal-dark
bg-lavender
bg-lavender-light
bg-lavender-dark
text-lavender
text-lavender-light
text-lavender-dark
bg-pink
bg-pink-light
bg-pink-dark
text-pink
text-pink-light
text-pink-dark
bg-paper
bg-paper-light
bg-paper-dark
text-paper
text-paper-light
text-paper-dark
bg-concrete
bg-concrete-light
bg-concrete-dark
text-concrete
text-concrete-light
text-concrete-dark
bg-asphalt
bg-asphalt-light
bg-asphalt-dark
text-asphalt
text-asphalt-light
text-asphalt-dark
bg-duckegg
bg-duckegg-light
bg-duckegg-dark
text-duckegg
text-duckegg-light
text-duckegg-dark
bg-depth-dblue
text-depth-dblue
bg-depth-lblue
text-depth-lblue
checkbox-switch
: Default switchsquare
flat
positive
negative
warning
info
secondary
tertiary
rhspanel
rhspanel-shadow
tooltip
: Adds a tooltip using the aria-label attribute for the tooltip contenttooltip-top-left
: Position tooltiptooltip-top-right
tooltip-top
tooltip-bottom-left
tooltip-bottom-right
tooltip-bottom
tooltip-left
tooltip-right
tooltip-top
tooltip-small
tooltip-medium
tooltip-large
tooltip-error
tooltip-warning
tooltip-info
tooltip-success
tooltip-always
: The tooltip is always showntooltip-rounded
: Rounded cornerstooltip-no-animate
tooltip-bounce
hero-banner
label
button
: Default buttonbutton-hover
: Hover state always activebutton-secondary
: Secondary colorbutton-green
button-blue
button-white
button-disabled
button-hidden
block
: Full widthcheckbox
radio
input-rounded
: Applies only to inputsgroup
: Form input groupform-stacked
: Stacked form - should be applied to the formform-aligned
labelled-input
: Labelled input e.g. an input with a dollar sign attached as a prefixlabelled-input label-right
: Labelled input e.g. an input with a percentage sign attached as a suffixstyled-checkbox
: CSS checkbox - should be applied to a checkbox input with a label as the next siblingol
) or unordered (ul
) HTML elements.
striped
lined
hide-xs
: Hide on XS size screensshow-xs
: Show on XS size screensshow-sm
show-md
show-lg
show-xl
show-xs
hide-xs
hide-sm
show-sm
hide-md
show-md
hide-lg
show-lg
hide-xl
show-xl
search:field
tag:
title
url
label-left
label-left-always
label-inline
label-above
description
image-top
media:image
tag:
square-crop
circle-crop
search:facet
tag:
switches
: Render switches instead of checkboxes.search:facet-list
tag:
shadow
shadow-far
recessed
step
simple
wrappedheader
hidemetadata
indented
search:tabs
tag.
navbar
: Navbar stylenavbar navbar-shadow
navbar navbar-centered
navbar navbar-tabs
: Tab style of navbarnavbar navbar-light
: Light versiontabs
: Tabs stylecollaborate:comment-list
tag:
hide-avatars
: Hides the comment avatarssearch:pagination
tag.
pagination-wrapper-left
: Align leftpagination-wrapper-center
pagination-wrapper-right
search:alert
tag.
alertbox
: Style element as an alert boxalertbox-secondary
: Secondary coloralertbox-positive
alertbox-negative
alertbox-warning
alertbox-info
block:interruptor
tag.
interruptor
: Style element as an attention grabbermessage
example in the gallery.widget:scroll-to
tag:
bottom-left
: Position bottom left of the pagebottom-right
bottom-center
toggle:controls
.
tabs-shadow
: Adds shadow to tabscollapsible
: Allows tabs to be collapsed by clicking the active tabpill
: Pill styleline
simple
bordered
basic-card
: Basic card stylecard
: Default card style@maxCardsPerRow
this can be increased or decreased.
On a search:result-list
add the card styling in the following format:
search:result
tag:
card-emphasis
card-shadow
card-step
widget:popover
tag:
popover-wrapper
: Popover stylepopover-large
: Large popoverpopover-medium
popover-small