2019-05-17 12:50:39 +00:00
|
|
|
$panel-margin: $block-spacing !default
|
2017-07-28 20:05:15 +00:00
|
|
|
$panel-item-border: 1px solid $border !default
|
|
|
|
|
|
|
|
$panel-heading-background-color: $background !default
|
|
|
|
$panel-heading-color: $text-strong !default
|
|
|
|
$panel-heading-line-height: 1.25 !default
|
|
|
|
$panel-heading-padding: 0.5em 0.75em !default
|
|
|
|
$panel-heading-radius: $radius !default
|
|
|
|
$panel-heading-size: 1.25em !default
|
|
|
|
$panel-heading-weight: $weight-light !default
|
|
|
|
|
2019-05-17 12:50:39 +00:00
|
|
|
$panel-tabs-font-size: 0.875em !default
|
2017-07-28 20:05:15 +00:00
|
|
|
$panel-tab-border-bottom: 1px solid $border !default
|
|
|
|
$panel-tab-active-border-bottom-color: $link-active-border !default
|
|
|
|
$panel-tab-active-color: $link-active !default
|
|
|
|
|
|
|
|
$panel-list-item-color: $text !default
|
|
|
|
$panel-list-item-hover-color: $link !default
|
|
|
|
|
|
|
|
$panel-block-color: $text-strong !default
|
|
|
|
$panel-block-hover-background-color: $background !default
|
|
|
|
$panel-block-active-border-left-color: $link !default
|
|
|
|
$panel-block-active-color: $link-active !default
|
|
|
|
$panel-block-active-icon-color: $link !default
|
|
|
|
|
|
|
|
$panel-icon-color: $text-light !default
|
|
|
|
|
2016-10-30 23:35:30 +00:00
|
|
|
.panel
|
|
|
|
font-size: $size-normal
|
|
|
|
&:not(:last-child)
|
2019-05-17 12:50:39 +00:00
|
|
|
margin-bottom: $panel-margin
|
2016-10-30 23:35:30 +00:00
|
|
|
|
|
|
|
.panel-heading,
|
|
|
|
.panel-tabs,
|
|
|
|
.panel-block
|
2017-07-28 20:05:15 +00:00
|
|
|
border-bottom: $panel-item-border
|
|
|
|
border-left: $panel-item-border
|
|
|
|
border-right: $panel-item-border
|
2016-10-30 23:35:30 +00:00
|
|
|
&:first-child
|
2017-07-28 20:05:15 +00:00
|
|
|
border-top: $panel-item-border
|
2016-03-25 13:38:40 +00:00
|
|
|
|
|
|
|
.panel-heading
|
2017-07-28 20:05:15 +00:00
|
|
|
background-color: $panel-heading-background-color
|
|
|
|
border-radius: $panel-heading-radius $panel-heading-radius 0 0
|
|
|
|
color: $panel-heading-color
|
|
|
|
font-size: $panel-heading-size
|
|
|
|
font-weight: $panel-heading-weight
|
|
|
|
line-height: $panel-heading-line-height
|
|
|
|
padding: $panel-heading-padding
|
2016-03-25 13:38:40 +00:00
|
|
|
|
|
|
|
.panel-tabs
|
2016-10-30 23:35:30 +00:00
|
|
|
align-items: flex-end
|
2016-03-25 13:38:40 +00:00
|
|
|
display: flex
|
2019-05-17 12:50:39 +00:00
|
|
|
font-size: $panel-tabs-font-size
|
2016-03-25 13:38:40 +00:00
|
|
|
justify-content: center
|
|
|
|
a
|
2017-07-28 20:05:15 +00:00
|
|
|
border-bottom: $panel-tab-border-bottom
|
2016-03-25 13:38:40 +00:00
|
|
|
margin-bottom: -1px
|
2016-10-30 23:35:30 +00:00
|
|
|
padding: 0.5em
|
2016-04-10 15:27:27 +00:00
|
|
|
// Modifiers
|
2016-03-25 13:38:40 +00:00
|
|
|
&.is-active
|
2017-07-28 20:05:15 +00:00
|
|
|
border-bottom-color: $panel-tab-active-border-bottom-color
|
|
|
|
color: $panel-tab-active-color
|
2016-10-30 23:35:30 +00:00
|
|
|
|
|
|
|
.panel-list
|
|
|
|
a
|
2017-07-28 20:05:15 +00:00
|
|
|
color: $panel-list-item-color
|
2016-10-30 23:35:30 +00:00
|
|
|
&:hover
|
2017-07-28 20:05:15 +00:00
|
|
|
color: $panel-list-item-hover-color
|
2016-03-25 13:38:40 +00:00
|
|
|
|
|
|
|
.panel-block
|
2016-10-30 23:35:30 +00:00
|
|
|
align-items: center
|
2017-07-28 20:05:15 +00:00
|
|
|
color: $panel-block-color
|
2016-10-30 23:35:30 +00:00
|
|
|
display: flex
|
|
|
|
justify-content: flex-start
|
|
|
|
padding: 0.5em 0.75em
|
|
|
|
input[type="checkbox"]
|
|
|
|
margin-right: 0.75em
|
|
|
|
& > .control
|
|
|
|
flex-grow: 1
|
|
|
|
flex-shrink: 1
|
|
|
|
width: 100%
|
2017-03-27 08:33:11 +00:00
|
|
|
&.is-wrapped
|
|
|
|
flex-wrap: wrap
|
2016-10-30 23:35:30 +00:00
|
|
|
&.is-active
|
2017-07-28 20:05:15 +00:00
|
|
|
border-left-color: $panel-block-active-border-left-color
|
|
|
|
color: $panel-block-active-color
|
2016-10-30 23:35:30 +00:00
|
|
|
.panel-icon
|
2017-07-28 20:05:15 +00:00
|
|
|
color: $panel-block-active-icon-color
|
2016-03-25 13:38:40 +00:00
|
|
|
|
2016-10-30 23:35:30 +00:00
|
|
|
a.panel-block,
|
|
|
|
label.panel-block
|
|
|
|
cursor: pointer
|
2016-05-05 20:54:32 +00:00
|
|
|
&:hover
|
2017-07-28 20:05:15 +00:00
|
|
|
background-color: $panel-block-hover-background-color
|
2016-05-05 20:54:32 +00:00
|
|
|
|
2016-10-30 23:35:30 +00:00
|
|
|
.panel-icon
|
|
|
|
+fa(14px, 1em)
|
2017-07-28 20:05:15 +00:00
|
|
|
color: $panel-icon-color
|
2016-10-30 23:35:30 +00:00
|
|
|
margin-right: 0.75em
|
|
|
|
.fa
|
|
|
|
font-size: inherit
|
|
|
|
line-height: inherit
|