-
Notifications
You must be signed in to change notification settings - Fork 843
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
// Note - these are also used by the EuiNavDrawer (/nav_drawer) component | ||
// Themable colors | ||
$euiHeaderBackgroundColor: $euiColorEmptyShade; | ||
$euiHeaderBreadcrumbColor: $euiColorDarkestShade; | ||
|
||
// Layout vars | ||
$euiHeaderChildSize: $euiSizeXXL + $euiSizeS; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
.euiNavDrawerFlyout { | ||
@include euiScrollBar; | ||
position: absolute; | ||
left: $euiNavDrawerWidthExpanded; | ||
top: 0; | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
.euiNavDrawerMenu { | ||
@include euiScrollBar; | ||
max-width: $euiNavDrawerWidthExpanded; | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
// Themable colors | ||
$euiNavDrawerBackgroundColor: $euiColorEmptyShade; | ||
$euiNavDrawerBackgroundColor: $euiHeaderBackgroundColor; | ||
|
||
// Drawer variables | ||
$euiNavDrawerWidthExpanded: 240px; | ||
$euiNavDrawerWidthCollapsed: 48px; | ||
$euiNavDrawerWidthCollapsed: $euiHeaderChildSize; | ||
$euiNavDrawerSideShadow: 2px 0 2px -1px rgba($euiShadowColor, .3); | ||
|
||
// Layout variables | ||
$euiHeaderSize: $euiSizeXXL + $euiSizeS + 1px; | ||
$euiHeaderSizeMobile: $euiSizeXL + $euiSizeXS + 1px; | ||
$euiHeaderSize: $euiHeaderChildSize + 1px; | ||
$euiHeaderSizeMobile: ($euiHeaderChildSize * .75) + 1px; | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
ryankeairns
Author
Contributor
|
||
|
||
// Animation variables | ||
$euiNavDrawerExpandingDelay: $euiAnimSpeedNormal; | ||
|
Should these then actually be in the
header/_variables.scss
file?