Jump To:

  1. Variables
    1. $config
  2. Mixins
    1. set()
    2. styles()
  3. Functions
    1. get()

Button-group

Groups a set of buttons

Variables

$config

Variable Type: Map

Module Settings

$config: (
  "gap": 0.45em,
  "gap-joined" : 0,
  "no-min-width" : true
);
File Information
  • File: _button-group.scss
  • Group: button-group
  • Type: variable
  • Lines (comments): 14-18
  • Lines (code): 20-24

Map Properties

Name Type Default Description
gap Dimension 0.45em Gap between buttons
gap-joined Dimension 0 When using --joined modifier optional gap, if 0 the buttons borders will overlap, joined-gap is useful if your buttons don't have borders
no-min-width Boolean true Buttons within the button group should have no min width

Mixins

set()

Mixin

Change modules $config

File Information
  • File: _button-group.scss
  • Group: button-group
  • Type: mixin
  • Lines (comments): 26-29
  • Lines (code): 31-33

Examples

@include ulu.component-button-group-set(( "property" : value ));

Parameters

Name Type Description
$changes Map Map of changes

Require

styles()

Mixin

Prints component styles

File Information
  • File: _button-group.scss
  • Group: button-group
  • Type: mixin
  • Lines (comments): 44-47
  • Lines (code): 49-95

Demo

View

Examples

@include ulu.component-button-group-styles();

Require

Functions

get()

Function

Get a config option

File Information
  • File: _button-group.scss
  • Group: button-group
  • Type: function
  • Lines (comments): 35-38
  • Lines (code): 40-42

Examples

@include ulu.component-button-group-get("property");

Parameters

Name Type Description
$name Map Name of property

Require