Arches: Utility Classes

Arches:Utility Classes

Multi Product Brand Style System by the American College of Cardiology

Decorator

Source: dist/css/acc_uc.css, line 9909

8 Decorator

Colors, textures, logos and other design flourishes.

Source: dist/css/acc_uc.css, line 10021

8.1 Background

Background of containers can be easily maniputlated with textures, colors, and shadows.

Example s

bg_primary

background using primary color

Background Color of bg_primary

bg_secondary

background using secondary color

Background Color of bg_secondary

bg_shade

background using shade color

Background Color of bg_shade

bg_alert

background using alert color

Background Color of bg_alert

bg_warning

background using warning color

Background Color of bg_warning

bg_success

background using success color

Background Color of bg_success

bg_info

background using info color

Background Color of bg_info

bg_highlight

background using highlight color

Background Color of bg_highlight
<div class="[modifier class] p_3 c_white">Background Color of [modifier class]</div>
Copy Code

Source: dist/css/acc_uc.css, line 10056

8.1.1.1 Background Color Tint

Background colors can be shifted by appending a modifier of n5 through 5. The negative(n) numbers mix the color with black and the positive numbers mix the color with white.
ClassesEffect
.bg_(color)-0, .bg_(color)pure color
.bg_(color)-1color with 15% white mixed in
.bg_(color)-2color with 37% white mixed in
.bg_(color)-3color with 60% white mixed in
.bg_(color)-4color with 78% white mixed in
.bg_(color)-5color with 90% white mixed in
.bg_(color)-n1color with 10% black mixed in
.bg_(color)-n2color with 25% black mixed in
.bg_(color)-n3color with 45% black mixed in
.bg_(color)-n4color with 58% black mixed in
.bg_(color)-n5color with 75% black mixed in

Example s

bg_primary

background using primary color

white
5
4
3
2
1
0
n1
n2
n3
n4
n5
black

bg_secondary

background using secondary color

white
5
4
3
2
1
0
n1
n2
n3
n4
n5
black

bg_shade

background using shade color

white
5
4
3
2
1
0
n1
n2
n3
n4
n5
black

bg_alert

background using alert color

white
5
4
3
2
1
0
n1
n2
n3
n4
n5
black

bg_warning

background using warning color

white
5
4
3
2
1
0
n1
n2
n3
n4
n5
black

bg_success

background using success color

white
5
4
3
2
1
0
n1
n2
n3
n4
n5
black

bg_info

background using info color

white
5
4
3
2
1
0
n1
n2
n3
n4
n5
black

bg_highlight

background using highlight color

white
5
4
3
2
1
0
n1
n2
n3
n4
n5
black
<div class="bg_white flex_auto text_center p_2 p-y_5 ">white</div>
<div class="[modifier class]-5 flex_auto text_center  p_2 p-y_5">5</div>
<div class="[modifier class]-4 flex_auto text_center  p_2 p-y_5">4</div>
<div class="[modifier class]-3 flex_auto text_center  p_2 p-y_5">3</div>
<div class="[modifier class]-2 flex_auto text_center  p_2 p-y_5">2</div>
<div class="[modifier class]-1 flex_auto text_center  c_white p_2 p-y_5">1</div>
<div class="[modifier class]-0 flex_auto text_center  c_white p_2 p-y_5">0</div>
<div class="[modifier class]-n1 flex_auto text_center  c_white p_2 p-y_5">n1</div>
<div class="[modifier class]-n2 flex_auto text_center  c_white p_2 p-y_5">n2</div>
<div class="[modifier class]-n3 flex_auto text_center  c_white p_2 p-y_5">n3</div>
<div class="[modifier class]-n4 flex_auto text_center  c_white p_2 p-y_5">n4</div>
<div class="[modifier class]-n5 flex_auto text_center  c_white p_2 p-y_5">n5</div>
<div class="bg_black flex_auto text_center  c_white p_2 p-y_5">black</div>
Copy Code

Source: dist/css/acc_uc.css, line 10705

8.1.1.2 Background Colors Alpha

Background colors of white and black can be shifted by appending a modifier bg_{{color-name}}-{{0 to 9}} to shift its transparency

Example s

black

background color of black modified with alphas

black-0
black-1
black-2
black-3
black-4
black-5
black-6
black-7
black-8
black-9
black

white

background color of white modified with alphas

white-0
white-1
white-2
white-3
white-4
white-5
white-6
white-7
white-8
white-9
white
<div class="bg_[modifier class]-0 flex_auto text_center c_white  p_2 p-y_5">[modifier class]-0</div>
<div class="bg_[modifier class]-1 flex_auto text_center c_white  p_2 p-y_5">[modifier class]-1</div>
<div class="bg_[modifier class]-2 flex_auto text_center c_white  p_2 p-y_5">[modifier class]-2</div>
<div class="bg_[modifier class]-3 flex_auto text_center c_white  p_2 p-y_5">[modifier class]-3</div>
<div class="bg_[modifier class]-4 flex_auto text_center c_white p_2 p-y_5">[modifier class]-4</div>
<div class="bg_[modifier class]-5 flex_auto text_center c_white p_2 p-y_5">[modifier class]-5</div>
<div class="bg_[modifier class]-6 flex_auto text_center c_white p_2 p-y_5">[modifier class]-6</div>
<div class="bg_[modifier class]-7 flex_auto text_center c_white p_2 p-y_5">[modifier class]-7</div>
<div class="bg_[modifier class]-8 flex_auto text_center c_white p_2 p-y_5">[modifier class]-8</div>
<div class="bg_[modifier class]-9 flex_auto text_center c_white p_2 p-y_5">[modifier class]-9</div>
<div class="bg_[modifier class] flex_auto text_center c_white p_2 p-y_5">[modifier class]</div>
Copy Code

Source: dist/css/acc_uc.css, line 10733

8.1.2 Background Position

For many images you will need top place background images in to a cardnial location.

Example s

.bg_left

cardnial left

bg_left

.bg_top

cardnial top

bg_top

.bg_right

cardnial right

bg_right

.bg_bottom

cardnial bottom

bg_bottom

.bg_center

cardnial center center

bg_center
<div class="[modifier class] seal_tiny" style="height:200px;max-width: unset;background-size: 100px;"><span class="alt">[modifier class]</span></div>
Copy Code

Source: dist/css/acc_uc.css, line 10817

8.1.3 Background Repeat

repeating a background image is easy.

.bg_norepeat - norepeat .bg_repeat - repeat .bg_repeat-x - repoeat-x .bg_repeat-y - repeat-y .bg_repeat-space - repeat-space

Example

Default styling

<div class=" seal_tiny bg_auto" style="height:200px;max-width: unset;background-size: 100px;"><span class="alt"></span></div>
Copy Code

Source: dist/css/acc_uc.css, line 10773

8.1.4 Background Size

For many images you will need top place background images in to a cardnial location.

Example s

.bg_unset

removes any css background size

bg_unset

.bg_auto

auto

bg_auto

.bg_cover

cover

bg_cover

.bg_contain

contain

bg_contain
<div class="[modifier class] seal_tiny" style="height:200px;max-width: unset;"><span class="alt">[modifier class]</span></div>
Copy Code

Source: dist/css/acc_uc.css, line 10956

8.1.5 Gradient

Simple Gradients that are either linear or radial. These gradients can be modified by passing in the css properties to change the start and end color and the direction the gradient is rendered. style="--start-color:hexcolor;--end-color:hexcolor;--origin:top right"

css propertydefinitionacceptable options
--start-colorthe starting color of the gradient or center color for radialproper formatted color: hex, hsl, hsla, rgb, rgba
--end-colorthe ending color or the outside color when radialproper formatted color: hex, hsl, hsla, rgb, rgba
--originpoint in the container where the gradients startsthese words depend on the type of gradient

Source: dist/css/acc_uc.css, line 10859

8.1.6 Textures

All textures in the Arches design are a subtle variation of transparent. Allowing for colors to bleed through from behind. Different textures have intentions or are reserved for certain usagaes. It is easy to apply textures using the texture utlities.

Example s

.texture_light

Light textures is reserved for the base of a page where it can gve a soft area for text or cards to live on top of.

texture_light

.texture_medium

medium texture are used for area that are hidden away. Collapsable navs, areas, or sidebars ususaly use the medium texture.

texture_medium

.texture_dust

Dust is the most transparent texture allowing for the color of the background to show through the most. This is used for the painted tops of cards, or score bars.

texture_dust

.texture_dark

This texture predominatly used on the footer. Its rich black will alway requrie reversed text and buttons to be readable.

texture_dark

.texture_cross

A mostly transparent cross texture used for alternating rows of content when a little extra texture is needed.

texture_cross

.texture_disabled

This texture is used to paint disabled buttons and ui items giving it a greyed and X'ed out appearand.

texture_disabled
<div class="[modifier class] p_5 br_black-8 br_1 br_solid text_center">[modifier class]</div>
Copy Code

Source: dist/css/acc_uc.css, line 10907

8.1.6.1 Textures Plus Background Colors

All textures are slightly transparent. You can acheive different effects with using the combo of textures and background colors.

Example s

.texture_light.bg_primary

textures are slightly transparent so they can be colored with background-color classess

texture_light bg_primary

.texture_dust.bg_primary

textures are slightly transparent so they can be colored with background-color classess

texture_dust bg_primary

.texture_medium.bg_primary

textures are slightly transparent so they can be colored with background-color classess

texture_medium bg_primary

.texture_dark.bg_primary

textures are slightly transparent so they can be colored with background-color classess

texture_dark bg_primary

.texture_light.bg_alert

textures are slightly transparent so they can be colored with background-color classess

texture_light bg_alert

.texture_medium.bg_alert

textures are slightly transparent so they can be colored with background-color classess

texture_medium bg_alert

.texture_dust.bg_alert

textures are slightly transparent so they can be colored with background-color classess

texture_dust bg_alert

.texture_dark.bg_alert

textures are slightly transparent so they can be colored with background-color classess

texture_dark bg_alert

.texture_cross.bg_alert

textures are slightly transparent so they can be colored with background-color classess

texture_cross bg_alert

.texture_disabled.bg_alert

textures are slightly transparent so they can be colored with background-color classess

texture_disabled bg_alert
<div class="[modifier class] p_5 br_black-8 br_1 br_solid text_center">[modifier class]</div>
Copy Code

Example s

.texture_light.bg_primary

textures are slightly transparent so they can be colored with background-color classess

n3
n1
1
3

.texture_dust.bg_primary

textures are slightly transparent so they can be colored with background-color classess

n3
n1
1
3

.texture_medium.bg_primary

textures are slightly transparent so they can be colored with background-color classess

n3
n1
1
3

.texture_dark.bg_primary

textures are slightly transparent so they can be colored with background-color classess

n3
n1
1
3

.texture_light.bg_warning

textures are slightly transparent so they can be colored with background-color classess

n3
n1
1
3

.texture_medium.bg_warning

textures are slightly transparent so they can be colored with background-color classess

n3
n1
1
3

.texture_dust.bg_warning

textures are slightly transparent so they can be colored with background-color classess

n3
n1
1
3

.texture_dark.bg_warning

textures are slightly transparent so they can be colored with background-color classess

n3
n1
1
3

.texture_cross.bg_warning

textures are slightly transparent so they can be colored with background-color classess

n3
n1
1
3

.texture_disabled.bg_warning

textures are slightly transparent so they can be colored with background-color classess

n3
n1
1
3
<div class="flex">
	<div class="[modifier class]-n3 p_3 flex_auto text_center c_white">n3</div>
	<div class="[modifier class]-n1 p_3 flex_auto text_center c_white">n1</div>
	<div class="[modifier class]-1 p_3 flex_auto text_center c_white">1</div>
	<div class="[modifier class]-3 p_3 flex_auto text_center c_white">3</div>
</div>
Copy Code

Source: dist/css/acc_uc.css, line 16268

8.1.7 Text Blend

Color blending modes for text on backgrounds.

.font-blend_normal - blend text with a normal .font-blend_multiply - blend text with a multiply .font-blend_screen - blend text with a screen .font-blend_overlay - blend text with a overlay .font-blend_darken - blend text with a darken .font-blend_lighten - blend text with a lighten .font-blend_color - blend text with a color .font-blend_color - blend text with a color .font-blend_hard - blend text with a hard .font-blend_soft - blend text with a soft .font-blend_difference - blend text with a difference .font-blend_exclusion - blend text with a exclusion .font-blend_hue - blend text with a hue .font-blend_saturation - blend text with a saturation .font-blend_color - blend text with a color .font-blend_luminosity - blend text with a luminosity .font-blend_initial - blend text with a initial .font-blend_inherit - blend text with a inherit .font-blend_unset - blend text with a unset

Source: dist/css/acc_uc.css, line 16301

8.1.8 Mixed Blend Mode

Background Image blending modes on top of other layers like other images, text, and svg.

Source: dist/css/acc_uc.css, line 9918

8.1.9 Shadows

Shadows can be easily added to container .shadow_{{modifier_class}}. You can add simple or rich shadows depending on the level of depth and details of the shadow needed for the UI.

Example s

.shadow_n5

inset shadow

shadow_n5

.shadow_n4

inset shadow

shadow_n4

.shadow_n3

inset shadow

shadow_n3

.shadow_n2

inset shadow

shadow_n2

.shadow_n1

inset shadow

shadow_n1

.shadow_0

no shadow

shadow_0

.shadow_1

box shadow

shadow_1

.shadow_2

box shadow

shadow_2

.shadow_3

box shadow

shadow_3

.shadow_4

box shadow

shadow_4

.shadow_5

box shadow

shadow_5

.shadow_bevel-light

Rich Shadow bevel-light

shadow_bevel-light

.shadow_bevel-bold

Rich Shadow bevel-bold

shadow_bevel-bold

.shadow_overlap-light

Rich Shadow overlap-light

shadow_overlap-light

.shadow_overlap-bold

Rich Shadow overlap-bold

shadow_overlap-bold

.shadow_emboss-light

Rich Shadow emboss-light

shadow_emboss-light

.shadow_emboss-bold

Rich Shadow emboss-bold

shadow_emboss-bold
<div class="[modifier class] bg-blend_overlay bg_primary-5 br_round lh_1 m_0 m_5:md p_4 p_5 text_center texture_light flex flex_column"><span class="flex_auto self_center">[modifier class]</span></div>
Copy Code

Source: dist/css/acc_uc.css, line 11189

8.2 Borders

Borders a complex utility that demands a combo UCs to acheive their effect. The three UCs that must be used in combo are style, color, and width. To make an object with single black pixel border that is solid you would have to add '.br_solid.br_1.br_black'

Source: dist/css/acc_uc.css, line 11264

8.2.1 Color

Alter the border color of and object by adding the border color utitlity class.

Example s

br_primary

border color

br_primary border

br_shade

border color

br_shade border

br_alert

border color

br_alert border

br_warning

border color

br_warning border

br_info

border color

br_info border

br_highlight

border color

br_highlight border
<div class="[modifier class] p_3 br_solid bw_3">[modifier class] border</div>
Copy Code

Example s

br_black

border black with alpha of 100%

br_black border

br_black-0

border black with alpha of 2%

br_black-0 border

br_black-1

border black with alpha of 10%

br_black-1 border

br_black-2

border black with alpha of 20%

br_black-2 border

br_black-3

border black with alpha of 30%

br_black-3 border

br_black-4

border black with alpha of 40%

br_black-4 border

br_black-5

border black with alpha of 50%

br_black-5 border

br_black-6

border black with alpha of 60%

br_black-6 border

br_black-7

border black with alpha of 70%

br_black-7 border

br_black-8

border black with alpha of 80%

br_black-8 border

br_black-9

border black with alpha of 90%

br_black-9 border
<div class="[modifier class] p_3 br_solid br_5 bg_primary-1 white">[modifier class] border</div>
Copy Code

Source: dist/css/acc_uc.css, line 11690

8.2.1.2 Colors

Border colors can also have the colors modified by shifting to white or black

Example s

br_primary

border color primary

br_primary border

br_primary-1

border color mixed with white

br_primary-1 border

br_primary-2

border color mixed with white

br_primary-2 border

br_primary-3

border color mixed with white

br_primary-3 border

br_primary-4

border color mixed with white

br_primary-4 border

br_primary-5

border color mixed with white

br_primary-5 border

br_primary-n1

border color mixed with black

br_primary-n1 border

br_primary-n2

border color mixed with black

br_primary-n2 border

br_primary-n3

border color mixed with black

br_primary-n3 border

br_primary-n4

border color mixed with black

br_primary-n4 border

br_primary-n5

border color mixed with black

br_primary-n5 border
<div class="[modifier class] p_3 br_solid br_5 bg_shade c_white">[modifier class] border</div>
Copy Code

Example s

br_white

border white with alpha of 100%

br_white border

br_white-0

border white with alpha of 2%

br_white-0 border

br_white-1

border white with alpha of 90%

br_white-1 border

br_white-2

border white with alpha of 80%

br_white-2 border

br_white-3

border white with alpha of 70%

br_white-3 border

br_white-4

border white with alpha of 60%

br_white-4 border

br_white-5

border white with alpha of 50%

br_white-5 border

br_white-6

border white with alpha of 40%

br_white-6 border

br_white-7

border white with alpha of 30%

br_white-7 border

br_white-8

border white with alpha of 20%

br_white-8 border

br_white-9

border white with alpha of 10%

br_white-9 border
<div class="[modifier class] p_3 br_solid br_5 bg_primary-1 c_white">[modifier class] border</div>
Copy Code

Source: dist/css/acc_uc.css, line 11437

8.2.2 Radius

Apply border radius to objects by adding full or partial classes for border-radius

Example s

br_square

All square

br_square border

br_radius

All with $global-radus

br_radius border

br_round

All corners with 99(px)

br_round border

br_circle

All corders at 100%

br_circle border

br-tl_square

top left square

br-tl_square border

br-tl_radius

top left with $global-radus

br-tl_radius border

br-tl_round

top left corners with 99(px)

br-tl_round border

br-tl_circle

top left corders at 100%

br-tl_circle border

br-bl_square

bottom left square

br-bl_square border

br-bl_radius

bottom left with $global-radus

br-bl_radius border

br-bl_round

bottom left corners with 99(px)

br-bl_round border

br-bl_circle

bottom left corders at 100%

br-bl_circle border
<div class="[modifier class] p_3 br_black br_solid br_2">[modifier class] border</div>
Copy Code

Source: dist/css/acc_uc.css, line 11200

8.2.3 Style

Depends on base border module in _borders.css

Example s

.br_none

makes a border none

br_none border

.br_dotted

makes a border dotted

br_dotted border

.br_dashed

makes a border dashed

br_dashed border

.br_solid

makes a border solid

br_solid border
<div class="[modifier class] br_black bw_1 p_3">[modifier class] border</div>
Copy Code

Source: dist/css/acc_uc.css, line 12198

8.2.4 Width

Manipulation of borders with these classes either all border or with single borders

Example s

br_0

all border with no border

br_0 border

br_1

all borders with 1px

br_1 border

br_2

all borders with .125rem

br_2 border

br_3

all borders with .25rem

br_3 border

br_4

all borders with .5rem

br_4 border

br_5

all borders with rem

br_5 border

br-l_0.br_1

left border with no border

br-l_0 br_1 border

br-l_1.br_1

left borders with 1px

br-l_1 br_1 border

br-l_2.br_1

left borders with .125rem

br-l_2 br_1 border

br-l_3.br_1

left borders with .25rem

br-l_3 br_1 border

br-l_4.br_1

left borders with .5rem

br-l_4 br_1 border

br-l_5.br_1

left borders with rem

br-l_5 br_1 border
<div class="[modifier class] p_3 br_solid br_black c_black">[modifier class] border</div>
Copy Code

Source: dist/css/acc_uc.css, line 12385

8.3 Opacity

A subtle set of UCs that control opacity can alter the objects level of focus.

Source: dist/css/acc_uc.css, line 12396

8.3.1 Opacity Levels

Set the Opacity of an object.

classcss propertyvalue
.opacity_0 opacity : 0
.opacity__01 opacity : 0.005
.opacity__05 opacity : 0.0075
.opacity_1 opacity : 0.025
.opacity_2 opacity : 0.1
.opacity_3 opacity : 0.25
.opacity_4 opacity : 0.38
.opacity_5 opacity : 0.5
.opacity_6 opacity : 0.62
.opacity_7 opacity : 0.75
.opacity_8 opacity : 0.9
.opacity_9 opacity : 0.975
.opacity_none opacity : 1

Example s

.opacity_2

set opacity: 0.1

opacity_2

.opacity_6

set opacity: 0.62

opacity_6

.opacity_8

set opacity: 0.9

opacity_8

.opacity_none

set opacity: 1

opacity_none
<div class="[modifier class] br_1 br_solid br_white p_2 bg_warning c_white">[modifier class]</div>
Copy Code