@eui/styles 17.0.0-next.1 → 17.0.0-next.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,14 @@
1
+ @mixin eui-resizable( $eui-resizable-bar-right-offset: unset, $eui-resizable-icon-top-offset: v(eui-base-spacing-m) ) {
2
+ .eui-resizable {
3
+ .eui-resizable-bar {
4
+ // For eui-page-column
5
+ @if ($eui-resizable-bar-right-offset != unset) {
6
+ right: calc($eui-resizable-bar-right-offset + 2px);
7
+ }
8
+ }
9
+
10
+ .eui-resizable-icon__container {
11
+ transform: translateY( calc($eui-resizable-icon-top-offset + 2px) );
12
+ }
13
+ }
14
+ }
@@ -1,4 +1,4 @@
1
- @mixin eui-scrollbars( $size: 8px, $foreground-color: v(eui-base-color-grey-20), $background-color: v(eui-base-color-grey-10), $border-radius: 5rem, $state: active ) {
1
+ @mixin eui-scrollbars( $size: 8px, $foreground-color: v(eui-base-color-grey-20), $background-color: v(eui-base-color-grey-5), $border-radius: 5rem, $state: active ) {
2
2
  &::-webkit-scrollbar {
3
3
  display: inherit;
4
4
  height: $size; // horizontal scroll
@@ -19,7 +19,7 @@
19
19
  border-radius: $border-radius;
20
20
 
21
21
  &:hover {
22
- background-color: v(eui-base-color-grey-25);
22
+ background-color: v(eui-base-color-grey-35);
23
23
  }
24
24
  }
25
25
  @else {
@@ -10,6 +10,7 @@
10
10
  @import 'eui-border-state';
11
11
  @import 'eui-loading-indicator';
12
12
  @import 'eui-input';
13
+ @import 'eui-resizable';
13
14
 
14
15
  // v17 removed
15
16
  // @import 'ux-form-control-state';
@@ -31,7 +31,7 @@ table.eui-table-default {
31
31
  }
32
32
 
33
33
  tr {
34
- background: v(eui-base-color-grey-5);
34
+ background: v(eui-base-color-grey-10);
35
35
  border-top: 0;
36
36
  }
37
37
  }
@@ -12,7 +12,11 @@
12
12
  flex: 1 1 50%;
13
13
  width: 50%;
14
14
  }
15
+ }
15
16
 
17
+ .eui-showcase-demo,
18
+ .eui-showcase-demo-flex,
19
+ .eui-showcase-demo-flex-column {
16
20
  .flex-spacer {
17
21
  flex: 1 1 auto;
18
22
  margin: 0 2rem;
@@ -22,20 +26,24 @@
22
26
  background-color: ghostwhite;
23
27
  border: 2px dotted silver;
24
28
  display: block;
29
+ height: 100vh;
25
30
  max-height: 20rem;
26
31
  overflow-y: auto;
27
32
  padding: 0.5rem;
28
33
  position: relative;
34
+ width: 100%;
29
35
  @include eui-scrollbars(6px);
30
36
 
31
37
  pre {
32
- color: #666;
38
+ color: #cc367b;
33
39
  display: block;
34
40
  font-family: monospace;
35
- font-size: 80%;
41
+ font-size: 95%;
36
42
  line-height: 1.25;
37
43
  margin-bottom: 0;
38
44
  overflow: initial;
45
+ white-space: pre;
46
+ word-wrap: break-word;
39
47
 
40
48
  > * {
41
49
  align-items: center;