Primary
All Public Private Sources Forks
You are viewing the deprecated 0.9.2 version of the website. Click here to view the latest version
A composable panel, for compact controls
The panel
is a container for several types:
panel-heading
as the first child
panel-tabs
for navigation
panel-block
which can contain other elements, like:
control
input
button
panel-icon
The panel-block
can be an anchor tag <a>
or a label <label>
with a checkbox inside.
The panel component is available in all the different colors defined by the $colors
Sass map. Simply append one of the color modifiers.
For example, to use your primary color, use "panel is-primary"
as a class.
Primary
All Public Private Sources Forks
Link
All Public Private Sources Forks
Info
All Public Private Sources Forks
Success
All Public Private Sources Forks
Warning
All Public Private Sources Forks
Danger
All Public Private Sources Forks
You can use these variables to customize this component. Simply set one or multiple of these variables before importing Bulma. Learn how.
Name | Type | Default value | Computed value |
---|---|---|---|
Name | Type | Default value | Computed value |
$panel-margin
|
size |
$block-spacing
|
1.5rem
|
$panel-item-border
|
size |
1px solid $border-light
|
|
$panel-radius
|
size |
$radius-large
|
6px
|
$panel-shadow
|
size |
0 0.5em 1em -0.125em rgba($scheme-invert, 0.1), 0 0px 0 1px rgba($scheme-invert, 0.02)
|
|
$panel-heading-background-color
|
color |
$border-light
|
hsl(0, 0%, 93%)
|
$panel-heading-color
|
color |
$text-strong
|
hsl(0, 0%, 21%)
|
$panel-heading-line-height
|
unitless |
1.25
|
|
$panel-heading-padding
|
size |
0.75em 1em
|
|
$panel-heading-radius
|
size |
$radius
|
4px
|
$panel-heading-size
|
size |
1.25em
|
|
$panel-heading-weight
|
font-weight |
$weight-bold
|
700
|
$panel-tabs-font-size
|
size |
0.875em
|
|
$panel-tab-border-bottom
|
size |
1px solid $border
|
|
$panel-tab-active-border-bottom-color
|
color |
$link-active-border
|
hsl(0, 0%, 29%)
|
$panel-tab-active-color
|
color |
$link-active
|
hsl(0, 0%, 21%)
|
$panel-list-item-color
|
color |
$text
|
hsl(0, 0%, 29%)
|
$panel-list-item-hover-color
|
color |
$link
|
hsl(217, 71%, 53%)
|
$panel-block-color
|
color |
$text-strong
|
hsl(0, 0%, 21%)
|
$panel-block-hover-background-color
|
color |
$background
|
hsl(0, 0%, 96%)
|
$panel-block-active-border-left-color
|
color |
$link
|
hsl(217, 71%, 53%)
|
$panel-block-active-color
|
color |
$link-active
|
hsl(0, 0%, 21%)
|
$panel-block-active-icon-color
|
color |
$link
|
hsl(217, 71%, 53%)
|
$panel-icon-color
|
color |
$text-light
|
hsl(0, 0%, 48%)
|
$panel-colors
|
function |
$colors
|
mergeColorMaps(("white": ($white, $black), "black": ($black, $white), "light": ($light, $light-invert), "dark": ($dark, $dark-invert), "primary": ($primary, $primary-invert, $primary-light, $primary-dark), "link": ($link, $link-invert, $link-light, $link-dark), "info": ($info, $info-invert, $info-light, $info-dark), "success": ($success, $success-invert, $success-light, $success-dark), "warning": ($warning, $warning-invert, $warning-light, $warning-dark), "danger": ($danger, $danger-invert, $danger-light, $danger-dark)), $custom-colors)
|
This page is open source.
Noticed a typo? Or something unclear?
Improve this page on GitHub