The panel
is 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.
Colors
#
Coming soon!
0.8.0
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.
Variables
#
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
|
$background
|
hsl(0, 0%, 96%)
|
$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%)
|