Style Guide

A complete guide to Bipo-klub styles and interface elements.

Responsive breakpoints

Breakpoint name XS SM MD LG XL XXL
Breakpoint size < 480px ≥ 480px ≥ 768px ≥ 1024px ≥ 1440px ≥ 1900px
Class prefix .col- .col-sm- .col-md- .col-lg- .col-xl- .col-xxl-
Container Max Width 100% 1412px

Color utilities

Text color utilities

Utility class Example
.text-success

Example

.text-warning

Example

.text-danger

Example

.text-info

Example

.text-secondary-1

Example

.text-secondary-2

Example

.text-secondary-3

Example

.text-secondary-4

Example

.text-primary-1

Example

.text-primary-2

Example

.text-primary-3

Example

.text-primary-4

Example

.text-primary-5

Example

.text-dark-gray

Example

.text-medium-gray

Example

.text-gray

Example

.text-light-gray-2

Example

.text-light-gray

Example

.text-white

Example

Background color utilities

Primary Colors

.bg-primary-1
.bg-primary-2
.bg-primary-3
.bg-primary-4
.bg-primary-5

Secondary Colors

.bg-secondary-1
.bg-secondary-2
.bg-secondary-3
.bg-secondary-4

Status Colors

.bg-success
.bg-warning
.bg-danger
.bg-info

Grayscale Colors

.bg-dark-gray
.bg-medium-gray
.bg-gray
.bg-light-gray-2
.bg-light-gray
.bg-white

Type

Type scale

Example Font size Line height
(unitless)
Line height computed
(font-size x line-height)
Class

Font size level 1

font-size: 4.8rem line-height: 1.3333333333333 6.4rem .fl-1

Font size level 2

font-size: 4rem line-height: 1.2 4.8rem .fl-2

Font size level 3

font-size: 3.2rem line-height: 1.25 4rem .fl-3

Font size level 4

font-size: 2.4rem line-height: 1.3333333333333 3.2rem .fl-4

Font size level 5

font-size: 2rem line-height: 1.2 2.4rem .fl-5

Font size level 6

font-size: 1.8rem line-height: 1.3333333333333 2.4rem .fl-6

Font size level 7

font-size: 1.6rem line-height: 1.5 2.4rem .fl-7

Font size level 8

font-size: 1.4rem line-height: 1.1428571428571 1.6rem .fl-8

Font size level 9

font-size: 1.2rem line-height: 1.3333333333333 1.6rem .fl-9

Body text

Lorem ipsum dolor and a link, consectetur adipisicing elit. Recusandae, rerum perferendis quos aspernatur ullam eos voluptate quo cupiditate assumenda facilis, iste animi doloremque, quasi eveniet laboriosam. Dolor perferendis debitis dolore. Repellendus laudantium, quas excepturi ducimus reiciendis, eligendi unde quia perspiciatis voluptatibus pariatur repellat quibusdam, molestiae cum quaerat ex a modi neque? Id officiis doloremque nisi, veritatis fugit fugiat eveniet placeat?

Officia, veniam. Molestias harum quasi, explicabo nesciunt fugit dicta provident natus veniam eveniet eos doloremque dolor, similique voluptates qui adipisci repudiandae iste sit nobis soluta error dolore accusamus fugiat, porro.

Headings

Example Heading Font size level

Heading 1

<h1> Font size level 2

Heading 2

<h2> Font size level 3

Heading 3

<h3> Font size level 4

Heading 4

<h4> Font size level 5
Heading 5
<h5> Font size level 6
Heading 6
<h6> Font size level 7

This is an <h1> tag with some trailing text

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

This is an <h2> tag with some trailing text

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

This is an <h3> tag with some trailing text

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

This is an <h4> tag with some trailing text

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

This is an <h5> tag with some trailing text

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

This is an <h6> tag with some trailing text

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Lists

Default list styling

Unordered list:

  • Lorem ipsum dolor sit amet
  • Consectetur adipiscing elit
  • Integer molestie lorem at massa
  • Facilisis in pretium nisl aliquet
  • Nulla volutpat aliquam velit
    • Phasellus iaculis neque
    • Purus sodales ultricies
    • Vestibulum laoreet porttitor sem
    • Ac tristique libero volutpat at
  • Faucibus porta lacus fringilla vel
  • Aenean sit amet erat nunc
  • Eget porttitor lorem

Ordered list:

  1. Lorem ipsum dolor sit amet
  2. Consectetur adipiscing elit
  3. Integer molestie lorem at massa
  4. Facilisis in pretium nisl aliquet
  5. Nulla volutpat aliquam velit
    1. Phasellus iaculis neque
    2. Purus sodales ultricies
    3. Vestibulum laoreet porttitor sem
    4. Ac tristique libero volutpat at
  6. Faucibus porta lacus fringilla vel
  7. Aenean sit amet erat nunc
  8. Eget porttitor lorem

Definition list:

Time
The indefinite continued progress of existence and events in the past, present, and future regarded as a whole.
Space
A continuous area or expanse that is free, available, or unoccupied.
The dimensions of height, depth, and width within which all things exist and move.

List unstyled

Use .list-unstyled or extend %list-unstyled to get an unstyled list. This only applies to immediate children list items, meaning you will need to add the class for any nested lists as well.

  • Lorem ipsum dolor sit amet
  • Consectetur adipiscing elit
  • Integer molestie lorem at massa
  • Facilisis in pretium nisl aliquet
  • Nulla volutpat aliquam velit
    • Phasellus iaculis neque
    • Purus sodales ultricies
    • Vestibulum laoreet porttitor sem
    • Ac tristique libero volutpat at
  • Faucibus porta lacus fringilla vel
  • Aenean sit amet erat nunc
  • Eget porttitor lorem

Lists styled

Use .list-styled to add styling too lists. This only applies to immediate children list items, meaning you will need to add the class for any nested lists as well. Only <ul> and <ul> lists are supported.

Unordered list:

  • Lorem ipsum dolor sit amet
  • Consectetur adipiscing elit
  • Integer molestie lorem at massa
  • Facilisis in pretium nisl aliquet
  • Nulla volutpat aliquam velit
    • Phasellus iaculis neque
    • Purus sodales ultricies
    • Vestibulum laoreet porttitor sem
    • Ac tristique libero volutpat at
  • Faucibus porta lacus fringilla vel
  • Aenean sit amet erat nunc
  • Eget porttitor lorem

Ordered list:

  1. Lorem ipsum dolor sit amet
  2. Consectetur adipiscing elit
  3. Integer molestie lorem at massa
  4. Facilisis in pretium nisl aliquet
  5. Nulla volutpat aliquam velit
    1. Phasellus iaculis neque
    2. Purus sodales ultricies
    3. Vestibulum laoreet porttitor sem
    4. Ac tristique libero volutpat at
  6. Faucibus porta lacus fringilla vel
  7. Aenean sit amet erat nunc
  8. Eget porttitor lorem

Links

Nav Links

Blockquote

Kada uistinu dođe taj trenutak – stojite ispred vrata vrtićke sobe i znate da sad svatko ide svojim putem – učinite to što brže.

To add a source of the quote add a <footer> or <cite> in the <blockquote>.

Kada uistinu dođe taj trenutak – stojite ispred vrata vrtićke sobe i znate da sad svatko ide svojim putem – učinite to što brže.

Marija Marković - 25 Director of sales at Tvrtka, Zagreb

Other text inline elements

<mark> - You can use the mark tag to highlight text.

<del> - This line of text is meant to be treated as deleted text.

<s> - This line of text is meant to be treated as no longer accurate.

<ins> - This line of text is meant to be treated as an addition to the document.

<u> - This line of text will render as underlined

<small> - This line of text is meant to be treated as fine print.

<strong> - This line rendered as bold text.

<em> - This line rendered as italicized text.

<b> - This line rendered as bold text.

<i> - This line rendered as italicized text.

<a> - hyperlink hyperlink:hover hyperlink:active

Class Example
Text transformation utilities
.tt-lower Lowercase text
.tt-upper Uppercase text
.tt-cap Capitalize text
.tt-none No text transformation
Font weight and style utilities
.fw-normal Font weight normal
.fw-bold Font weight bold
.fs-normal Font style normal
.fs-italic Font style italic
Alignment utilities (these utility classes have breakpoint modifiers, IE: .ta-md-right, .ta-lg-center, etc.)
.ta-right Text align right
.ta-center Text align center
.ta-left Text align left
Font family utilities

Buttons

Link
.btn .btn--alpha .btn .btn--beta .btn .btn--gama .btn .btn--delta
Normal Button Button Button Button
Active Button Button Button Button
Focus Button Button Button Button

Disabled

All buttons when disabled 50% opacity + cursor not allowed

Button Button Button Button

.loading

All buttons when loading 80% opacity + cursor loading

Button Button Button Button

Button Block

Button Button Button Button

Button icons

Icons

Add icons in text or buttons. The default size of the icon is 2.4rem x 2.4rem. All <svg> elements have fill: currentColor set so the color follows the parent color.

NOTE: Don't forget to add aria-hidden="true" on the icon, and in case there is no text to explain the icon aria-label attribute on the parent with some explanation of the icon meaning.

Name Icon Icon in <a>
icon-alarm
icon-arrow-down
icon-arrow-left
icon-arrow-right
icon-arrow-up
icon-blog
icon-caret-down
icon-caret-up
icon-close
icon-credit-card
icon-facebook
icon-info
icon-length
icon-pinterest
icon-sale
icon-scale
icon-search
icon-star
icon-twitter

Dropdown

Forms

Use .form-control to style all input elements except where otherwise noted.

File and Range

For file and range, use .form-control-file.

NOTE: this is not a modifier of .form-control.

Disabled forms

Add the disabled attribute on an input to prevent user interactions and change the styling or add disabled to a <fieldset> to disable all fields.

NOTE: type="file" and type="range" don't have any special styling for disabled except the browser defaults.

Adding disabled to every input example:


Adding disabled to a <fieldset> example:

Readonly

Use attr readonly to disable interactions and change the style. Also use .form-control--text to make a readonly field look like plain text.

Checkbox and radio

Each checkbox and radio <input> and <label> pairing is wrapped in .form-check.

Browsers that support appearance property will get the styled checkbox and the ones that don't support it will get the default browser styled checkbox. Check this section in Internet Explorer 11 to se how the default fallback looks like.


Inline checkbox and radio

Inline checkbox and radios are not supported in Internet Explorer (bug). If you need that option to work in Internet Explorer 11 use the grid and .col-auto to achieve a similar result or add min-width to .form-check--inline.


Useful for adding links to terms in checkbox and similar.

Additional helper elements

  • Use .form-block for a wrapper for each input element that adds bottom margin.
  • <label> for input get's styled via element selector but add .form-label for additional styling required for form validation.
  • Use .form-text for additional text under input elements for feedback or instruction for the user.
  • Hide <label> with .sr-only to make it accessible.
  • You can also use Bootstrap spacing utility classes on labels or add additional elements you need to add.

Here is some text that is just a paragraph with a smaller bottom margin than default.

Enter a valid e-mail address
Enter username
Here is a form block that has a bigger bottom margin and a hidden label

Here is some text that is just a paragraph.

Form validation

Add .is-valid or .is-invalid class to .form-block.

NOTE: Requires all form elements to be wrapped in .form-block because we are changing the appearance of some of the additional form elements based on the form field validation state.

Use the buttons bellow to check all the states.

Gravity Forms Styling

Gravity Forms Poll

Badge

-30%
-75%

Cards

Blog Cards

Product Cards

-30%
Frosch

Baby tekući deterđent za pranje rublja

33,90kn
46,90kn
-30%
Frosch

Baby tekući deterđent za pranje rublja

33,90kn
46,90kn
-30%
Frosch

Baby tekući deterđent za pranje rublja

33,90kn
46,90kn

Alerts

Default alert:

Contextual alerts with modifier classes:

.alert--success

.alert--warning

.alert--danger

.alert--info

All <a> are also styled to follow the alert color. Use .alert__link for additional links in the .alert that get aligned to the right of the .alert.

Accordion

Accordions are built with collapse for more info check Bootstrap accordions docs.

Pogodnosti Bipo kluba počinju vrijediti od trenutka kada se učlaniš u Bipo klub program vjernosti na prodajnom mjestu.

Pogodnosti Bipo kluba počinju vrijediti od trenutka kada se učlaniš u Bipo klub program vjernosti na prodajnom mjestu.

Oh, lonely death on lonely life! Oh, now I feel my topmost greatness lies in my topmost grief. Ho, ho! from all your furthest bounds, pour ye now in, ye bold billows of my whole foregone life, and top this one piled comber of my death! Towards thee I roll, thou all-destroying but unconquering whale; to the last I grapple with thee; from hell’s heart I stab at thee; for hate’s sake I spit my last breath at thee. Sink all coffins and all hearses to one common pool! and since neither can be mine, let me then tow to pieces, while still chasing thee, though tied to thee, thou damned whale! Thus, I give up the spear!