The Angel Solutions Style Guide

A list of component examples put together by Dave Osborn for the Angel developers. Credit to Terabyte Interactive for the original kitchen sink document and Harry Roberts, the creator of Inuit.css. Objects & mixins have been added and extended in the framework to benefit Angel and Angel Solutions' core products.

Arrows

AngelSolutions.Core.CustomControls/GlobalScss/objects/_arrows.scss

It is a common design treatment to give an element a triangular points-out arrow, we typically build these with CSS. These following classes allow us to generate these arbitrarily with a mixin

Top

@include arrow(top, {location}, $color)

Left

Center

Right


Right

@include arrow(right, {location}, $color)

Top

Center

Bottom


Bottom

@include arrow(bottom, {location}, $color)

Left

Center

Right


Left

@include arrow(left, {location}, $color)

Top

Center

Bottom


buttons

AngelSolutions.Core.CustomControls/GlobalScss/objects/_buttons.scss

Button Sizes


Button





Font Sizes





Button Functions




Button Actions




Button Styles



AngelSolutions.Core.CustomControls/GlobalScss/objects/_block-link.scss

.block-link to just make a simple block like link.

See a Block Link

You can use other brand classes here too:


Block List

AngelSolutions.Core.CustomControls/GlobalScss/objects/_block-list.scss

  • Foo
  • Bar
  • Baz
  • Foo

Condensed Block List

The same as above with half the padding.

  • Foo
  • Bar
  • Baz
  • Foo

Charting

AngelSolutions.Core.CustomControls/GlobalScss/objects/_charting.scss

Simple Bars

EAL Bar

FSM Bar

SEN Bar

OGRI Bar


Rounded OGRI Bar Chart

With Labels

Overall
1 1 1 1

Without Labels

Overall
       

Square & thicker

Overall
1 1 1 1

RAG Colours

1 1 1

Other Colours

1 1 1 1 1 1 1 1

Status Indicators

Simple circular blobs as indicators.

The font-size of the parent element dictates the size of the indicator & indicator labels.

With labels

O G R I NA

No labels

With Icons

They can even be links…

RAG Specific


AngelSolutions.Core.CustomControls/GlobalScss/objects/_breadcrumb.scss

Default

Simple breadcrumb styling to apply to (ordered) lists. Extends `.nav`


Path

For denoting a path-like structure, GitHub style


Custom

Assign a delimiter on the fly through a data attribute



Columns

AngelSolutions.Core.CustomControls/GlobalScss/objects/_columns.scss

Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet.


Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet.


Fancy Check boxes

AngelSolutions.Core.CustomControls/GlobalScss/objects/_fancy-checkbox.scss


FlexBox

AngelSolutions.Core.CustomControls/GlobalScss/objects/_flexbox.scss

Until we can utilise flexbox natively we can kinda, sorta, attempt to emulate it

FlexBox Default

Welcome to
inuit.css logo

FlexBox with Grids

One Quarter

Three Quarters


Flyout

AngelSolutions.Core.CustomControls/GlobalScss/objects/_flyout.scss

Flyouts are pieces of content that fly out of a parent when said parent is hovered. They typically appear bottom-left of the parent.

Flyout Regular - From the top, flush left

Hover Me

Lorem

Ipsum


Flyout Alternative - Left, Flush Top

Hover Me

Lorem

Ipsum


GreyBox - For Prototyping

AngelSolutions.Core.CustomControls/GlobalScss/objects/_greybox.scss

Quickly throw together greybox wireframes. Use in conjunction with other inuit.css objects to create simple greybox prototypes

Generic


Greybox Sizes

Small

Medium

Large

Header

Gigantic

Grids

AngelSolutions.Core.CustomControls/GlobalScss/objects/_grids.scss
AngelSolutions.Core.CustomControls/GlobalScss/generic/_widths.scss

Fluid and nestable grid system

WARNING!: As Inuit.css grids are positioned using display: inline-block; you must strip whitespace from between .grid__item elements to get the grids to properly line up. See here for more information. The recommended way to do this is to place comments between .grid__item elements.

Regular

1

2

3

4

q

q

q

q


Reversed

1

2

3

4


Full

1

2

3

4

q

q

q

q


Icon Fonts (Entypo)

AngelSolutions.Core.CustomControls/GlobalScss/fonts/_entypo.scss
AngelSolutions.Core.CustomControls/GlobalScss/fonts/_icon-fonts.scss

typicons--music-outline0xe800
typicons--music0xe801
typicons--search-outline0xe802
typicons--search0xe803
typicons--mail0xe804
typicons--heart0xe805
typicons--heart-filled0xe806
typicons--star0xe807
typicons--star-filled0xe808
typicons--user-outline0xe809
typicons--user0xe80a
typicons--users-outline0xe80b
typicons--users0xe80c
typicons--user-add-outline0xe80d
typicons--user-add-10xe80e
typicons--user-delete-outline0xe80f
typicons--user-delete0xe810
typicons--video0xe811
typicons--videocam-outline0xe812
typicons--videocam0xe813
typicons--picture-outline0xe814
typicons--picture0xe815
typicons--camera-outline0xe816
typicons--camera0xe817
typicons--th-outline0xe818
typicons--th0xe819
typicons--th-large-outline0xe81a
typicons--th-large0xe81b
typicons--th-list-outline0xe81c
typicons--th-list0xe81d
typicons--ok-outline0xe81e
typicons--ok0xe81f
typicons--cancel-outline0xe820
typicons--cancel0xe821
typicons--cancel-alt0xe822
typicons--cancel-alt-filled0xe823
typicons--cancel-circled-outline0xe824
typicons--cancel-circled0xe825
typicons--plus-outline0xe826
typicons--plus0xe827
typicons--minus-outline0xe828
typicons--minus0xe829
typicons--divide-outline0xe82a
typicons--divide0xe82b
typicons--eq-outline0xe82c
typicons--eq0xe82d
typicons--info-outline0xe82e
typicons--info0xe82f
typicons--home-outline0xe830
typicons--home0xe831
typicons--link-outline0xe832
typicons--link0xe833
typicons--attach-outline0xe834
typicons--attach0xe835
typicons--lock0xe836
typicons--lock-filled0xe837
typicons--lock-open0xe838
typicons--lock-open-filled0xe839
typicons--pin-outline0xe83a
typicons--pin0xe83b
typicons--eye-outline0xe83c
typicons--eye0xe83d
typicons--tag0xe83e
typicons--tags0xe83f
typicons--bookmark0xe840
typicons--flag0xe841
typicons--flag-filled0xe842
typicons--thumbs-up0xe843
typicons--thumbs-down0xe844
typicons--download-outline0xe845
typicons--download0xe846
typicons--upload-outline0xe847
typicons--upload0xe848
typicons--upload-cloud-outline0xe849
typicons--upload-cloud0xe84a
typicons--reply-outline0xe84b
typicons--reply0xe84c
typicons--forward-outline0xe84d
typicons--forward0xe84e
typicons--code-outline0xe84f
typicons--code0xe850
typicons--export-outline0xe851
typicons--export0xe852
typicons--pencil0xe853
typicons--pen0xe854
typicons--feather-10xe855
typicons--edit0xe856
typicons--print0xe857
typicons--comment0xe858
typicons--chat0xe859
typicons--chat-alt0xe85a
typicons--bell0xe85b
typicons--attention0xe85c
typicons--attention-filled0xe85d
typicons--warning-empty0xe85e
typicons--warning0xe85f
typicons--contacts0xe860
typicons--vcard-10xe861
typicons--address-10xe862
typicons--location-outline0xe863
typicons--location0xe864
typicons--map-10xe865
typicons--direction-outline0xe866
typicons--direction0xe867
typicons--compass0xe868
typicons--trash0xe869
typicons--doc0xe86a
typicons--doc-text0xe86b
typicons--doc-add0xe86c
typicons--doc-remove0xe86d
typicons--news0xe86e
typicons--folder0xe86f
typicons--folder-add0xe870
typicons--folder-delete0xe871
typicons--archive-10xe872
typicons--box0xe873
typicons--rss-outline0xe874
typicons--rss0xe875
typicons--phone-outline0xe876
typicons--phone0xe877
typicons--menu-outline0xe878
typicons--menu0xe879
typicons--cog-outline0xe87a
typicons--cog0xe87b
typicons--wrench-outline0xe87c
typicons--wrench0xe87d
typicons--basket0xe87e
typicons--calendar-outlilne0xe87f
typicons--calendar0xe880
typicons--mic-outline0xe881
typicons--mic0xe882
typicons--volume-off0xe883
typicons--volume-low0xe884
typicons--volume-middle0xe885
typicons--volume-high0xe886
typicons--headphones0xe887
typicons--clock0xe888
typicons--wristwatch0xe889
typicons--stopwatch0xe88a
typicons--lightbulb0xe88b
typicons--block-outline0xe88c
typicons--block0xe88d
typicons--resize-full-outline0xe88e
typicons--resize-full0xe88f
typicons--resize-normal-outline0xe890
typicons--resize-normal0xe891
typicons--move-outline0xe892
typicons--move0xe893
typicons--popup-10xe894
typicons--zoom-in-outline0xe895
typicons--zoom-in0xe896
typicons--zoom-out-outline0xe897
typicons--zoom-out0xe898
typicons--popup-20xe899
typicons--left-open-outline0xe89a
typicons--left-open0xe89b
typicons--right-open-outline0xe89c
typicons--right-open0xe89d
typicons--down0xe89e
typicons--left0xe89f
typicons--right0xe8a0
typicons--up0xe8a1
typicons--down-outline0xe8a2
typicons--left-outline0xe8a3
typicons--right-outline0xe8a4
typicons--up-outline0xe8a5
typicons--down-small0xe8a6
typicons--left-small0xe8a7
typicons--right-small0xe8a8
typicons--up-small0xe8a9
typicons--cw-outline0xe8aa
typicons--cw0xe8ab
typicons--arrows-cw-outline0xe8ac
typicons--arrows-cw0xe8ad
typicons--loop-outline0xe8ae
typicons--loop-10xe8af
typicons--loop-alt-outline0xe8b0
typicons--loop-alt0xe8b1
typicons--shuffle-10xe8b2
typicons--play-outline0xe8b3
typicons--play-10xe8b4
typicons--stop-outline0xe8b5
typicons--stop-10xe8b6
typicons--pause-outline0xe8b7
typicons--pause-10xe8b8
typicons--fast-fw-outline0xe8b9
typicons--fast-fw0xe8ba
typicons--rewind-outline0xe8bb
typicons--rewind0xe8bc
typicons--record-outline0xe8bd
typicons--record-10xe8be
typicons--eject-outline0xe8bf
typicons--eject0xe8c0
typicons--eject-alt-outline0xe8c1
typicons--eject-alt0xe8c2
typicons--bat10xe8c3
typicons--bat20xe8c4
typicons--bat30xe8c5
typicons--bat40xe8c6
typicons--bat-charge0xe8c7
typicons--plug0xe8c8
typicons--target-outline0xe8c9
typicons--target-10xe8ca
typicons--wifi-outline0xe8cb
typicons--wifi0xe8cc
typicons--desktop0xe8cd
typicons--laptop0xe8ce
typicons--tablet0xe8cf
typicons--mobile-10xe8d0
typicons--contrast0xe8d1
typicons--globe-outline0xe8d2
typicons--globe-10xe8d3
typicons--globe-alt-outline0xe8d4
typicons--globe-alt0xe8d5
typicons--sun0xe8d6
typicons--sun-filled0xe8d7
typicons--cloud-10xe8d8
typicons--flash-outline0xe8d9
typicons--flash-10xe8da
typicons--moon-10xe8db
typicons--waves-outline0xe8dc
typicons--waves0xe8dd
typicons--rain0xe8de
typicons--cloud-sun0xe8df
typicons--drizzle0xe8e0
typicons--snow0xe8e1
typicons--cloud-flash0xe8e2
typicons--cloud-wind0xe8e3
typicons--wind0xe8e4
typicons--plane-outline0xe8e5
typicons--plane0xe8e6
typicons--leaf0xe8e7
typicons--lifebuoy-20xe8e8
typicons--briefcase-20xe8e9
typicons--brush-10xe8ea
typicons--pipette0xe8eb
typicons--power-outline0xe8ec
typicons--power0xe8ed
typicons--check-outline0xe8ee
typicons--check-20xe8ef
typicons--gift-10xe8f0
typicons--temperatire0xe8f1
typicons--chart-outline0xe8f2
typicons--chart0xe8f3
typicons--chart-alt-outline0xe8f4
typicons--chart-alt0xe8f5
typicons--chart-bar-outline0xe8f6
typicons--chart-bar-20xe8f7
typicons--chart-pie-outline0xe8f8
typicons--chart-pie-10xe8f9
typicons--ticket-20xe8fa
typicons--credit-card-20xe8fb
typicons--clipboard-10xe8fc
typicons--database-20xe8fd
typicons--key-outline0xe8fe
typicons--key-20xe8ff
typicons--flow-split0xe900
typicons--flow-merge0xe901
typicons--flow-parallel-10xe902
typicons--flow-cross0xe903
typicons--certificate-outline0xe904
typicons--certificate-10xe905
typicons--scissors-outline0xe906
typicons--scissors-10xe907
typicons--flask0xe908
typicons--wine0xe909
typicons--coffee-10xe90a
typicons--beer-10xe90b
typicons--anchor-outline0xe90c
typicons--anchor-10xe90d
typicons--puzzle-outline0xe90e
typicons--puzzle-10xe90f
typicons--tree-10xe910
typicons--calculator0xe911
typicons--infinity-outline0xe912
typicons--infinity-10xe913
typicons--pi-outline0xe914
typicons--pi0xe915
typicons--at0xe916
typicons--at-circled0xe917
typicons--looped-square-outline0xe918
typicons--looped-square-interest0xe919
typicons--sort-alphabet-outline0xe91a
typicons--sort-alphabet0xe91b
typicons--sort-numeric-outline0xe91c
typicons--sort-numeric0xe91d
typicons--dribbble-circled-10xe91e
typicons--dribbble-20xe91f
typicons--facebook-circled-10xe920
typicons--facebook-20xe921
typicons--flickr-circled-10xe922
typicons--flickr-20xe923
typicons--github-circled-20xe924
typicons--github-20xe925
typicons--lastfm-circled-10xe926
typicons--lastfm-10xe927
typicons--linkedin-circled-10xe928
typicons--linkedin-20xe929
typicons--pinterest-circled-20xe92a
typicons--pinterest-10xe92b
typicons--skype-outline0xe937
typicons--skype0xe938
typicons--tumbler-circled0xe939
typicons--tumbler0xe93a
typicons--twitter-circled0xe93b
typicons--twitter0xe93c
typicons--vimeo-circled0xe93d
typicons--vimeo0xe93e

Icons for files

Often we want to include an icon — usually in a link — that indicates what file type we are referring to. We do this by giving the element a class of .file-icon, and we ensure that the element ends with the file extension in the files title attribute.


AngelSolutions.Core.CustomControls/GlobalScss/objects/_icon-link.scss

For links etc that have an icon with them. Sometimes whitespace would suffice in creating a gap between the icon and text, for example:

Help & support

However we will sometimes want a larger, explicitly set gap:

Help & support

And finally sometimes we want it to exist as a link on it's own:


Images

AngelSolutions.Core.CustomControls/GlobalScss/base/_images.scss

Non-fluid images if you specify width and/or height attributes.


Image Sizes

Keep your images on your baseline. Please note, these will not work too nicely with fluid images and will distort when resized below a certain width. Use with caution.

.img--short


.img--medium


.img--tall


Image placement variations

.img--right


.img--left


.img--center


A Responsive Image Hack

Sometimes ASP.net spurts out an image with a specific height and width. With this class it will ignore the width and height when relevant.


Info List

AngelSolutions.Core.CustomControls/GlobalScss/objects/_info-list.scss

A simple list of information — it's a form without the form elements.

  • Opened: 14/11/2012
  • Type: Independent
  • Sub type: Example Sub type
  • Gender: Unknown
  • LA Advisor: Mr LA Advisor

A lined info list

If it's particularly difficult to read which label is attributed to which data element.

  • Opened: 14/11/2012
  • Type: Independent
  • Sub type: Example Sub type
  • Gender: Unknown
  • LA Advisor: Mr LA Advisor

Island

AngelSolutions.Core.CustomControls/GlobalScss/objects/_island.scss

Simple, boxed off content

Island

I am boxed off.

Primary

I am a primary branded Island.

Secondary

I am a secondary branded Island.

Tertiary

I am a tertiary branded Island.

Positive

I am a positive Island.

Negative

I am a negative Island.

Warning

I am a warning Island.

Whisper

I am a whisper Island.

Islet

Just like `.island`, only smaller

I am boxed off.

Legend

AngelSolutions.Core.CustomControls/GlobalScss/objects/_legend.scss

Extends .nav & has helpers

Vertical Legend


AngelSolutions.Core.CustomControls/GlobalScss/objects/_link-complex.scss

Add hover behaviour to only selected items within links

Log in to your account.

Lozenges

AngelSolutions.Core.CustomControls/GlobalScss/objects/_lozenges.scss

Create pill- and lozenge-like runs of text. Pills have fully rounded ends. lozenges have only their corners rounded

This here is a pill!


This here is also a lozenge!


Marginalia

AngelSolutions.Core.CustomControls/GlobalScss/objects/_marginalia.scss

Marginalia are, per definition, notes in the margin of a document. The `marginalia__body` class can be applied to all kinds of content, like text or images, and is joined by a width class

This is some marginalia content.

Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit


Matrix

AngelSolutions.Core.CustomControls/GlobalScss/objects/_matrix.scss

Create a grid of items out of a single list

  • Lorem
  • Ipsum dolor
  • Sit
  • Amet
  • Consectetuer

Media

AngelSolutions.Core.CustomControls/GlobalScss/objects/_media.scss

Place any image- and text-like content side-by-side

Regular

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.


Reversed

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.


Nav

AngelSolutions.Core.CustomControls/GlobalScss/objects/_nav.scss

Nav abstraction as per: csswizardry.com/2011/09/the-nav-abstraction When used on an `ol` or `ul`, this class throws the list into horizontal mode

Default


Stacked

`.nav--stacked` extends `.nav` and throws the list into vertical mode


Banner

`.nav--banner` extends `.nav` and centres the list


Block

Give nav links a big, blocky hit area. Extends `.nav`


Fit

Force a nav to occupy 100% of the available width of its parent. Extends `.nav`


Keywords

Make a list of keywords. Extends `.nav`


Icon Tabs

Make a nav that contains Icons… (Extends `.nav`)


Notes

AngelSolutions.Core.CustomControls/GlobalScss/objects/_notes.scss

A list of comments / quotes from specific people. This can often look like a conversation or just be a list of quotes

  • Good design is all about making other designers feel like idiots because that idea wasn’t theirs.

    Frank Chimero in 2012
  • A picture is worth a thousand words. An interface is worth a thousand pictures

    Ben Schneiderman
  • It’s art if can’t be explained.
    It’s fashion if no one asks for an explanation.
    It’s design if it doesn’t need explanation

    Wouter Stokkel
  • This style guide is pure awesomeness! Dave Osborn in a genius :)

    Me, just now

They don't have to contain a delete…

The client may be king but he’s not the art director

Von R. Glitschka

They can use other style classes too…

People ignore design that ignores people

Frank Chimero

Experts are rarely insulted by something that is clear enough for beginners. Everybody appreciates clarity

Steve Krug

Options

AngelSolutions.Core.CustomControls/GlobalScss/objects/_options.scss

Link-group nav, used for displaying related options. Extends `.nav--block` but could also extend `.nav--fit`. Extend with colours and 'current states' in your theme stylesheet.


Pagination

AngelSolutions.Core.CustomControls/GlobalScss/objects/_pagination.scss

Basic pagination object, extends `.nav`. Requires some funky commenting to collapse any white-space caused by the `display:inline-block;` rules.


Rule

AngelSolutions.Core.CustomControls/GlobalScss/objects/_rules.scss

Horizontal rules, extend `hr`.

Default


Dotted



Dashed



Ornamental Rules

Ornamental rules. Places a § over the rule.



Pass in an arbitrary ornament though a data attribute



Split

AngelSolutions.Core.CustomControls/GlobalScss/objects/_split.scss

Simple split item for creating two elements floated away from one another

Burger and fries
£5.99
Fillet steak
£19.99
Ice cream
£2.99

Star Rating

AngelSolutions.Core.CustomControls/GlobalScss/objects/_star-rating.scss


Be careful!

Annoyingly, these have a tendency to break on mobile devices so a media query manipulating the font size may be required. Look at this on a case by case basis.

This one has the class of .js-star-rating. It captures a user's rating rather than showing a % statistic.

You Could use something other than stars with a different scale too…


Stats

AngelSolutions.Core.CustomControls/GlobalScss/objects/_stats.scss

Simple object to display key-value statistic-like information


Stat Badge

A simple badge designed to hold an icon a small statistic.


50.1%

50.1%

50.1%

50.1%

50.1%

50.1%

50.1%

50.1%

Alternative stats object

Tweets
27,740
Following
11,529
Followers
12,105

Tables

AngelSolutions.Core.CustomControls/GlobalScss/base/_tables.scss

We have a lot at our disposal for making very complex table construct

  • `.table--bordered` - bordered table
  • `.table--striped` - striped table
  • `.table--data` - make type smaller to read data
  • `.table--responsive` - make it look awesome on a mobile

A Bordered Table

Foo Bar
Lorem Ipsum Dolor Sit
Sit Dolor 03.788 Lorem
Dolor 32.210 Lorem
Dolor 47.797 Lorem
Sit Dolor 09.640 Lorem
Dolor 12.117 Lorem

A Data Table

Foo Bar
Lorem Ipsum Dolor Sit
Sit Dolor 03.788 Lorem
Dolor 32.210 Lorem
Dolor 47.797 Lorem
Sit Dolor 09.640 Lorem
Dolor 12.117 Lorem

A Striped Table

Foo Bar
Lorem Ipsum Dolor Sit
Sit Dolor 03.788 Lorem
Dolor 32.210 Lorem
Dolor 47.797 Lorem
Sit Dolor 09.640 Lorem
Dolor 12.117 Lorem

A Responsive Table

Lorem Ipsum Dolor Sit
Dolor Lorem 03.788 Dolor
Dolor Lorem 32.210 Dolor
Dolor Lorem 47.797 Dolor
Dolor Lorem 09.640 Dolor
Dolor Lorem 12.117 Dolor

Tabs

AngelSolutions.Core.CustomControls/GlobalScss/objects/_nav.scss


This or This

AngelSolutions.Core.CustomControls/GlobalScss/objects/_this-or-this.scss

Simple options object to provide multiple choices. The `.this-or-this__this` and `.this-or-this__or` objects can be sized using the grid-system classes

Free or Pro


User Messages

AngelSolutions.Core.CustomControls/GlobalScss/objects/_media.scss
AngelSolutions.Core.CustomControls/GlobalScss/objects/_island.scss
AngelSolutions.Core.CustomControls/GlobalScss/generic/_brand.scss

Simple, boxed off messages to alert the user

Primary Message

I am a primary branded messageI am a primary branded messageI am a primary branded messageI am a primary branded messageI am a primary branded messageI am a primary branded messageI am a primary branded messageI am a primary branded messageI am a primary branded messageI am a primary branded messageI am a primary branded messageI am a primary branded messageI am a primary branded messageI am a primary branded messageI am a primary branded messageI am a primary branded messageI am a primary branded messageI am a primary branded messageI am a primary branded messageI am a primary branded messageI am a primary branded messageI am a primary branded messageI am a primary branded messageI am a primary branded messageI am a primary branded messageI am a primary branded messageI am a primary branded messageI am a primary branded messageI am a primary branded message.


Secondary Message

I am a secondary branded message.


Tertiary Message

I am a tertiary branded message.


Positive Message

I am a positive message.


Negative Message

I am a negative message.


Warning Message

I am a warning message.


Information Message

I am an information message.


Whisper Message

I am a whisper message.


Waiting Message

Please wait

Rag Messages

Red

I am a red rag message.


blue

I am a blue rag message.


Green

I am a green rag message.


Amber

I am an amber rag message.


Yellow

I am a yellow rag message.


Purple

I am a purple rag message.


Grey

I am a grey rag message.

Teal

I am a teal rag message.


Black

I am a black rag message.


Pink

I am a pink rag message.


White

I am a white rag message.


Vertical Scroll Wrapper

AngelSolutions.Core.CustomControls/GlobalScss/objects/_widgets.scss

School Name
School 01
School 02
School 03
School 04
School 05
School 06
School 07
School 08
School 09
School 10
School 11
School 12
School 13
School 14
School 15
School 16
School 17
School 18
School 19
School 20
School 21
School 22
School 23
School 24
School 25
School 26
School 27
School 28
School 29
School 30
School 31
School 32
School 33
School 34
School 35
School 36
School 37
School 38
School 39
School 40
School 41
School 42
School 43
School 44
School 45
School 46
School 47
School 48
School 49
School 50

Widgets

AngelSolutions.Core.CustomControls/GlobalScss/objects/_widgets.scss

Example Widget

Shown with a block-list inside

Full Widget

Example full Widget

Shown with a block-list & legend inside.

Date Pickers

AngelSolutions.Core.CustomControls/GlobalScss/base/_forms.scss
App_Styles/Scss/objects/_jquery-ui-1.10.4-nexus.scss

Date Picker Input


Date Picker Input incl. Icon


Pop ups

AngelSolutions.Core.CustomControls/GlobalScss/objects/_pop-ups.scss

Example pop up

Pop up example

This is an example of a pop up div.

What do you think?

Love it Hate it

Brand & Colours

AngelSolutions.Core.CustomControls/GlobalScss/base/_brand.scss


Primary Brand
.brand-color


Secondary Brand
.brand-color--secondary


Tertiary Brand
.brand-color--tertiary


Quaternary Brand
.brand-color--quaternary



Outstanding
.color--outstanding


Good
.color--good


Requires Improvement
.color--requires-improvement


Inadequate
.color--inadequate


Not Graded
.color--not-graded



FSM
.color--fsm


EAL
.color--eal


SEN
.color--sen


Boys
.color--boys


Girls
.color--girls





Angel Primary Brand
.color-angel


Angel Secondary Brand
.color-angel--secondary


Angel Tertiary Brand
.color-angel--tertiary


Angel Quaternary Brand
.color-angel--quaternary



Watchsted Brand
.color-watchsted


Forms

AngelSolutions.Core.CustomControls/GlobalScss/base/_forms.scss

Text Inputs

Instead of a `[type]` selector for each kind of form input, we just use a class to target any/every one


Groups of Form Fields

Group sets of form fields in a list with `.form-fields`


  • from: to:
  • from: to:


  • Email format is invalid.


Inlined Groups of Form Fields

Group sets of form fields in a list but with labels next to inputs `.form-fields--inline`



  • from: to:

  • Total time taken to prepare & write up the visit.


  • Visit start:


  • Email format is invalid.


Groups of Form Fields in a grid

Group sets of form fields in a list that is in the form of a grid.


Labels

Define a `.label` class as well as a `label` element. This means we can apply label-like styling to meta-labels for groups of options where a `label` element is not suitable

  • Select an option below:

Label - Extra Help

Extra help text in `label`s


Groups of Checkboxes and Radios

  • How would you like to be contacted?
  • How often would you like to be contacted?

Spoken Forms

Spoken forms are for forms that read like spoken word

  • Hello, my is . My home is

Focus Help

Extra help text displayed after a field when that field is in focus. We leave the help text in the document flow and merely set it to `visibility:hidden;`. This means that it won't interfere with anything once it reappears.

.edu emails only

Typography

AngelSolutions.Core.CustomControls/GlobalScss/base/_headings.scss

Headings

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

When we define a heading we also define a corresponding class to go with it. This allows us to apply, say, `class="alpha"` to a `h3`; a double-stranded heading hierarchy.

  1. h1 - .alpha

  2. h2 - .beta

  3. h3 - .gamma

  4. h4 - .delta

  5. h5 - .epsilon

  6. h6 - .zeta


Mastheads

  1. .giga

  2. .mega

  3. .kilo


Small Print

  1. .smallprint

  2. .milli

  3. .micro


Paragraphs

Default

Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper.


Introductory Text

The `.lede` (or .lead) class is used to make the introductory text (usually a paragraph) of a document slightly larger.

Senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper.


Quotes


Inline quotes

Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper.


Blockquotes

Insanity: doing the same thing over and over again and expecting different results.

Albert Einstein

Lists

Ordered List

  1. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
  2. Aliquam tincidunt mauris eu risus.

Have a numbered `ul` without the semantics implied by using an `ol`.

  • Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
  • Aliquam tincidunt mauris eu risus.

Unordered List

  • Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
  • Aliquam tincidunt mauris eu risus.

Code


#header h1 a {
    display: block;
    width: 300px;
    height: 80px;
}

Helper

AngelSolutions.Core.CustomControls/GlobalScss/generic/_helper.scss

A series of helper classes to use arbitrarily. Only use a helper class if an element/component doesn’t already have a class to which you could apply this styling, e.g. if you need to float `.main-nav` left then add `float:left;` to that ruleset as opposed to adding the `.float--left` class to the markup.

A lot of these classes carry `!important` as you will always want them to win out over other selectors.

Add/remove Floats

.float--none, .float--right and .float--left

Float none

Float right

Float left


Text aligment

.text--left, .text--center and .text--right

Text left

Text center

Text right


Font weights

.weight--light, .weight--normal and .weight--semibold

Weight light

Weight normal

Weight semibold


Add/Remove margins

Add Full Margins

Adds `$base-spacing-unit` margins

  • .push
  • .push--top
  • .push--right
  • .push--bottom
  • .push--left
  • .push--ends
  • .push--sides
Push Left
Push Sides

Add Half Margins

Adds `$half-spacing-unit` margins

  • .push-half
  • .push-half--top
  • .push-half--right
  • .push-half--bottom
  • .push-half--left
  • .push-half--ends
  • .push-half--sides
Push Half Left
Push Half Sides

Remove Margins

Takes away margins

  • .flush
  • .flush--top
  • .flush--right
  • .flush--bottom
  • .flush--left
  • .flush--ends
  • .flush--sides
Flush Left
Flush Sides

Add/Remove paddings

Add Full Paddings

Adds `$base-spacing-unit` paddings

  • .soft
  • .soft--top
  • .soft--right
  • .soft--bottom
  • .soft--left
  • .soft--ends
  • .soft--sides
Soft Left
Soft Sides

Add Half Padding

Adds `$half-spacing-unit` padding

  • .soft-half
  • .soft-half--top
  • .soft-half--right
  • .soft-half--bottom
  • .soft-half--left
  • .soft-half--ends
  • .soft-half--sides
Soft Half Left
Soft Half Sides

Remove Padding

Takes away padding

  • .hard
  • .hard--top
  • .hard--right
  • .hard--bottom
  • .hard--left
  • .hard--ends
  • .hard--sides
Hard Left
Hard Sides

Full bleed

.full-bleed

Pull items full width of `.island` parents.

Pull items full width of `.islet` parents.


Informative

Add a help cursor to any element that gives the user extra information on `:hover`.

.informative

Help? (Hover me)

Muted

Mute an object by reducing its opacity.

.muted

Without `.muted` With `.muted`

Go

Add a right-angled quote to links that imply movement

.go

Read more

Caps

Apply capital case to an element (usually a `strong`).

.caps

CAPITALIZE


Accessibility

Hide content off-screen without resorting to `display:none;`, also provide breakpoint specific hidden elements. Classes include:

  • .accessibility
  • .visuallyhidden
  • .accessibility--palm
  • .visuallyhidden--palm
  • .accessibility--lap
  • .visuallyhidden--lap
  • .accessibility--lap-and-up
  • .visuallyhidden--lap-and-up
  • .accessibility--portable
  • .visuallyhidden--portable
  • .accessibility--desk
  • .visuallyhidden--desk
  • .accessibility--desk-wide
  • .visuallyhidden--desk-wide

Mixins

AngelSolutions.Core.CustomControls/GlobalScss/generic/_mixins.scss

Typography

Font Size

Create a fully formed type style (sizing and vertical rhythm) by passing in a single value.

css @include font-size(10px); @include font-size(10px, $line-height: false);

Headings

Style any number of headings in one fell swoop

@include headings(1, 3){ color:#BADA55; }

### CSS3 #### Vendor Create vendor-prefixed CSS in one go
@include vendor(border-radius, 4px);

Keyframes

Create CSS keyframe animations for all vendors in one go

.foo{ @include vendor(animation, shrink 3s); } @include keyframe(shrink){ from{ font-size:5em; } }

Truncate

Force overly long spans of text to truncate

@include truncate(100%);

Retina

Media query for targetting retina devices

.foo{ background-image:url(1x.png); @include retina(){ background-image:url(2x.png); } }

CSS Arrows

This mixin creates a CSS arrow on a given element. We can have the arrow appear in one of 12 locations, thus:

      01    02    03
   +------------------+
12 |                  | 04
   |                  |
11 |                  | 05
   |                  |
10 |                  | 06
   +------------------+
      09    08    07

You pass this position in along with a desired arrow color and optional border color, for example:

@include arrow(top, left, red)

for just a single, red arrow, or:

@include arrow(bottom, center, red, black)

which will create a red triangle with a black border which sits at the bottom center of the element. Call the mixin thus:

.foo{ background-color:#BADA55; border:1px solid #ACE; @include arrow(top, left, #BADA55, #ACE); }

Media Query Mixin

It’s not great practice to define solid breakpoints up-front, preferring to modify your design when it needs it, rather than assuming you’ll want a change at mobile. However, as inuit.css is required to take a hands off approach to design decisions, this is the closest we can get to baked-in responsiveness. It’s flexible enough to allow you to set your own breakpoints but solid enough to be frameworkified.

We define some broad breakpoints in our vars file that are picked up here for use in a simple media query mixin. Our options are:

  • palm
  • lap
  • lap-and-up
  • portable
  • desk
  • desk-wide
  • below-desk

Not using a media query will, naturally, serve styles to all devices.

@include media-query(palm){ [styles here] }