Skip to content

Commit 1f88e41

Browse files
committed
add back top level mixin and variable files
1 parent 34f715a commit 1f88e41

File tree

3 files changed

+20
-17
lines changed

3 files changed

+20
-17
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// sass-lint:disable-block indentation, no-color-keywords
2+
3+
// SASSTODO: Create this in EUI
4+
@mixin lnsOverflowShadowHorizontal {
5+
$hideHeight: $euiScrollBarCorner * 1.25;
6+
mask-image: linear-gradient(
7+
to right,
8+
transparentize(red, .9) 0%,
9+
transparentize(red, 0) $hideHeight,
10+
transparentize(red, 0) calc(100% - #{$hideHeight}),
11+
transparentize(red, .9) 100%
12+
);
13+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
$lnsPanelMinWidth: $euiSize * 18;
2+
3+
// These sizes also match canvas' page thumbnails for consistency
4+
$lnsSuggestionHeight: 100px;
5+
$lnsSuggestionWidth: 150px;

x-pack/plugins/lens/public/editor_frame_service/editor_frame/_suggestion_panel.scss

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,5 @@
1-
// sass-lint:disable-block indentation, no-color-keywords
2-
3-
// SASSTODO: Create this in EUI
4-
@mixin lnsOverflowShadowHorizontal {
5-
$hideHeight: $euiScrollBarCorner * 1.25;
6-
mask-image: linear-gradient(
7-
to right,
8-
transparentize(red, .9) 0%,
9-
transparentize(red, 0) $hideHeight,
10-
transparentize(red, 0) calc(100% - #{$hideHeight}),
11-
transparentize(red, .9) 100%
12-
);
13-
}
14-
15-
// These sizes also match canvas' page thumbnails for consistency
16-
$lnsSuggestionHeight: 100px;
17-
$lnsSuggestionWidth: 150px;
1+
@import '../../mixins';
2+
@import '../../variables';
183

194
.lnsSuggestionPanel__title {
205
margin-left: $euiSizeXS / 2;

0 commit comments

Comments
 (0)