• Guidelines
    • Display
    • Navigate
    • Forms
    • Layout
    • Prototype
  • Acme Marketplace
  • Guidelines
  • Display
  • Navigate
  • Forms
  • Layout
  • Prototypes
    • Guidelines
    • Display
    • Navigate
    • Forms
    • Layout
    • Prototypes
    • Release Notes
    • Sass Documentation
    • Gulp Documentation
    • CSS/SASS Stats
    • Preview All Components
Base by AppDirect

Navigate

Guide users through the application

Global Navigation
Vertical Navigation
Page Navigation
Navigation Controls
Buttons
Context Menus

Buttons

Standard Buttons

States

Link as a button
<div class="container" style="padding-bottom: 8px;">
  <button type="button">
    Default Button
  </button>
</div>
<div class="container">
  <a class="adb-button adb-button__medium adb-button__neutral">
    Link as a button
  </a>
</div>
Link as a button
<div class="container" style="padding-bottom: 8px;">
  <button type="button">
    Default Button
  </button>
</div>
<div class="container">
  <a class="adb-button adb-button__medium adb-button__neutral">
    Link as a button
  </a>
</div>
Link as a button
<div class="container" style="padding-bottom: 8px;">
  <button type="button">
    Default Button
  </button>
</div>
<div class="container">
  <a class="adb-button adb-button__medium adb-button__neutral">
    Link as a button
  </a>
</div>
Link as a button
<div class="container" style="padding-bottom: 8px;">
  <button type="button">
    Default Button
  </button>
</div>
<div class="container">
  <a class="adb-button adb-button__medium adb-button__neutral">
    Link as a button
  </a>
</div>
<button disabled type="button">
  Default Button
</button>
<button class="adb-is-loading" disabled type="button">
  Default Button
  <span class="adb-loading">
    <span class="adb-loading--text">...</span>
  </span>
</button>

Sizes

  • Small
  • Medium / Default
  • Large
  • X-Large
  • Full-Width
<button class="adb-button__small" type="button">
  Small Button
</button>
<button class="adb-button__medium" type="button">
  Medium Button
</button>
<button class="adb-button__large" type="button">
  Large Button
</button>
<button class="adb-button__xlarge" type="button">
  X-Large Button
</button>
<button class="adb-button__full_width" type="button">
  Full Width Button
</button>

Colors

Example Class Code
Link as a button
type="button" .adb-button
<div class="container" style="padding-bottom: 8px;">
  <button type="button">
    Default Button
  </button>
</div>
<div class="container">
  <a class="adb-button adb-button__medium adb-button__neutral">
    Link as a button
  </a>
</div>
.adb-button__primary
<button class="adb-button__primary" type="button">
  Primary Button
</button>
.adb-button__secondary
<button class="adb-button__secondary" type="button">
  Secondary Button
</button>
.adb-button__emphasis
<button class="adb-button__emphasis" type="button">
  Emphasis Button
</button>

With Icon

Add the adb-icon__icon_name class to make the icon inside the button display at its optimal size and centered vertically. Descriptive icons paired with text should always on the left side of the text.

<button class="adb-button__primary" type="button">
  <i class="adb-icon__add"></i>
  Add Product
</button>

Inset Buttons

Default Background

<button class="adb-button__inset" type="button">
  Inset Button
</button>
<button class="adb-button__inset" type="button">
  Inset Button
</button>
<button class="adb-button__inset" type="button">
  Inset Button
</button>
<button class="adb-button__inset" type="button">
  Inset Button
</button>
<button class="adb-button__inset" disabled type="button">
  Inset Button
</button>
<button class="adb-button__inset adb-is-loading" disabled type="button">
  Inset Button
  <span class="adb-loading">
    <span class="adb-loading--text">...</span>
  </span>
</button>

Dark Background

<button class="adb-button__inset_dark" type="button">
  Inset Button
</button>
<button class="adb-button__inset_dark" type="button">
  Inset Button
</button>
<button class="adb-button__inset_dark" type="button">
  Inset Button
</button>
<button class="adb-button__inset_dark" type="button">
  Inset Button
</button>
<button class="adb-button__inset_dark" disabled type="button">
  Inset Button
</button>
<button class="adb-button__inset_dark adb-is-loading" disabled type="button">
  Inset Button
  <span class="adb-loading">
    <span class="adb-loading--text">...</span>
  </span>
</button>

Insetted Primary Header Button

<button class="adb-button__inset_header__primary" type="button">
  Inset button Primary Header
</button>
<button class="adb-button__inset_header__primary" type="button">
  Inset button Primary Header
</button>
<button class="adb-button__inset_header__primary" type="button">
  Inset button Primary Header
</button>
<button class="adb-button__inset_header__primary" type="button">
  Inset button Primary Header
</button>
<button class="adb-button__inset_header__primary" disabled type="button">
  Inset button Primary Header
</button>
<button class="adb-button__inset_header__primary adb-is-loading" disabled type="button">
  Inset button Primary Header
  <span class="adb-loading">
    <span class="adb-loading--text">...</span>
  </span>
</button>

The Insetted Primary Header Button is a specialty button for the Primary Navigation.

The button should be placed as a primary button that will always display the main $adb-header-primary-background color and uses the $adb-header-primary-text-color for the inset border color and text color. This setup ensures that the button will be visible at the primary navigation in combination with any theme-based contrast & color variations.

Sizes

  • Small
  • Medium / Default
  • Large
  • X-Large
  • Full-Width
<button class="adb-button__inset_header__primary adb-button__small" disabled type="button">
  Inset button Primary Header
</button>
<button class="adb-button__inset_header__primary" type="button">
  Inset button Primary Header
</button>
<button class="adb-button__inset_header__primary adb-button__large" disabled type="button">
  Inset button Primary Header
</button>
<button class="adb-button__inset_header__primary adb-button__xlarge" disabled type="button">
  Inset button Primary Header
</button>
<button class="adb-button__inset_header__primary adb-button__full_width" disabled type="button">
  Inset button Primary Header
</button>

Secret Buttons

States

<button class="adb-button__secret" type="button">
  Secret Button
</button>
<button class="adb-button__secret" type="button">
  Secret Button
</button>
<button class="adb-button__secret" type="button">
  Secret Button
</button>
<button class="adb-button__secret" type="button">
  Secret Button
</button>
<button class="adb-button__secret" disabled type="button">
  Secret Button
</button>
<button class="adb-button__secret adb-is-loading" disabled type="button">
  Secret Button
  <span class="adb-loading">
    <span class="adb-loading--text">...</span>
  </span>
</button>

Sizes

  • Small
  • Medium / Default
  • Large
  • X-Large
  • Full-Width
<button class="adb-button__secret adb-button__small" type="button">
  Secret Button
</button>
<button class="adb-button__secret" type="button">
  Secret Button
</button>
<button class="adb-button__secret adb-button__large" type="button">
  Secret Button
</button>
<button class="adb-button__secret adb-button__xlarge" type="button">
  Secret Button
</button>
<button class="adb-button__secret adb-button__full_width" type="button">
  Secret Button
</button>

Link Buttons

Link Buttons provide a larger click and touch area than traditional links and inherit all classic buttons states and padding without a fading background effect of Secret Buttons.

States

<button class="adb-button__link" type="button">
  Link Button
</button>
<button class="adb-button__link" type="button">
  Link Button
</button>
<button class="adb-button__link" type="button">
  Link Button
</button>
<button class="adb-button__link" type="button">
  Link Button
</button>
<button class="adb-button__link" disabled type="button">
  Link Button
</button>
<button class="adb-button__link adb-is-loading" disabled type="button">
  Link Button
  <span class="adb-loading">
    <span class="adb-loading--text">...</span>
  </span>
</button>

Sizes

  • Small
  • Medium / Default
  • Large
  • X-Large
  • Full-Width
<button class="adb-button__link adb-button__small" type="button">
  Link Button
</button>
<button class="adb-button__link" type="button">
  Link Button
</button>
<button class="adb-button__link adb-button__large" type="button">
  Link Button
</button>
<button class="adb-button__link adb-button__xlarge" type="button">
  Link Button
</button>
<button class="adb-button__link adb-button__full_width" type="button">
  Link Button
</button>

Square Buttons

Sizes

  • Default
  • Small
<button class="adb-button__square" data-toggle="tooltip" title="Edit" type="button">
  <i class="adb-icon__cog"></i>
</button>
<button class="adb-button__square_small" data-toggle="tooltip" title="Edit" type="button">
  <i class="adb-icon__cog"></i>
</button>

Colors

Example Class Code
.adb-button__square
<button class="adb-button__square" data-toggle="tooltip" title="Edit" type="button">
  <i class="adb-icon__cog"></i>
</button>
.adb-button__square.adb-button__danger
<button class="adb-button__square adb-button__danger" data-toggle="tooltip" title="Delete" type="button">
  <i class="adb-icon__trash"></i>
</button>
  • Framework
  • Navigate
  • Buttons
  • Powered by AppDirect © 2022
  • Contact Support
  • Terms & Conditions
  • Privacy Policy
    • Contact Support
    • Terms & Conditions
    • Privacy Policy
Themes
    Assistant
    • Bonzi
    • Clippy
    • F1
    • Genie
    • Genius
    • Links
    • Merlin
    • Peedy
    • Rocky
    • Rover
    Hide
    4
    1366 × 768
    10.51%
    9
    1024 × 768
    4.02%
    3
    1280 × 800
    11.08%
    1
    1440 × 900
    16.09%
    7
    1600 × 900
    5.59%
    6
    1280 × 1024
    5.77%
    5
    1680 × 1050
    7.48%
    2
    1920 × 1080
    15.99%
    8
    1920 × 1200
    5.39%
    10
    2560 × 1440
    3.23%