$itemheader-color: dynamic($highlight-color);
$itemheader-pinned-color: dynamic(null);
$itemheader-background-color: dynamic($neutral-light-color);
$itemheader-pinned-background-color: dynamic(null);
$itemheader-border-width: dynamic($listitem-border-width);
$itemheader-border-style: dynamic($listitem-border-style);
$itemheader-border-color: dynamic($neutral-medium-dark-color);
$itemheader-pinned-border-color: dynamic(null);
$itemheader-focused-outline-width: dynamic($listitem-focused-outline-width);
$itemheader-focused-outline-style: dynamic($listitem-focused-outline-style);
$itemheader-focused-outline-color: dynamic($listitem-focused-outline-color);
$itemheader-focused-outline-offset: dynamic($listitem-focused-outline-offset);
$itemheader-box-shadow: dynamic(null);
$itemheader-pinned-box-shadow: dynamic($listitem-pinned-box-shadow);
$itemheader-pinned-bottom-box-shadow: dynamic($listitem-pinned-bottom-box-shadow);
$itemheader-font-weight: dynamic($font-weight-bold);
$itemheader-font-size: dynamic($listitem-font-size);
$itemheader-font-size-big: dynamic($listitem-font-size-big);
$itemheader-line-height: dynamic($listitem-line-height);
$itemheader-line-height-big: dynamic($listitem-line-height-big);
$itemheader-font-family: dynamic($listitem-font-family);
$itemheader-padding: dynamic($listitem-padding);
$itemheader-padding-big: dynamic($listitem-padding-big);
@mixin itemheader-ui(
$ui: null,
$xtype: itemheader,
$color: null,
$pinned-color: null,
$background-color: null,
$pinned-background-color: null,
$border-width: null,
$border-style: null,
$border-color: null,
$pinned-border-color: null,
$focused-outline-width: null,
$focused-outline-style: null,
$focused-outline-color: null,
$focused-outline-offset: null,
$box-shadow: null,
$pinned-box-shadow: null,
$pinned-bottom-box-shadow: null,
$font-weight: null,
$font-size: null,
$font-size-big: null,
$line-height: null,
$line-height-big: null,
$font-family: null,
$padding: null,
$padding-big: null
) {
$ui-suffix: ui-suffix($ui);
.#{$prefix}#{$xtype}#{$ui-suffix} {
color: $color;
background-color: $background-color;
@include border($border-width, $border-style, $border-color);
@include font($font-weight, $font-size, $line-height, $font-family);
box-shadow: $box-shadow;
margin-bottom: -(bottom($border-width));
+ .#{$prefix}scrolldock-end {
margin-top: bottom($border-width)
}
@if $enable-big {
.#{$prefix}big & {
font-size: $font-size-big;
line-height: $line-height-big;
}
}
&.#{$prefix}pinned {
color: $pinned-color;
background-color: $pinned-background-color;
border-color: $pinned-border-color;
box-shadow: $pinned-box-shadow;
}
&.#{$prefix}pinned-bottom {
box-shadow: $pinned-bottom-box-shadow;
}
&.#{$prefix}focused {
.#{$prefix}keyboard-mode & {
@include outline(
$width: $focused-outline-width,
$style: $focused-outline-style,
$color: $focused-outline-color,
$offset: $focused-outline-offset,
$border-width: $border-width
);
}
}
}
@include toolable-ui(
$ui: $ui,
$xtype: $xtype,
$padding: $padding,
$padding-big: $padding-big
);
}