|
4 | 4 | right: 0;
|
5 | 5 | top: 0;
|
6 | 6 | background: @headerBackgroundColor;
|
7 |
| - border: @gridBorderWidth solid @borderColor; |
| 7 | + border: 0; |
| 8 | + border-left: @gridBorderWidth solid @borderColor; |
| 9 | + border-bottom: @gridBorderWidth solid @borderColor; |
8 | 10 | cursor: pointer;
|
9 |
| - height: 31px; |
| 11 | + height: 32px; |
10 | 12 | font-weight: normal;
|
11 | 13 | }
|
12 | 14 |
|
13 | 15 | .ui-grid-menu-button .ui-grid-icon-container {
|
14 |
| - margin-top: 3px; |
| 16 | + margin-top: 5px; |
| 17 | + margin-left: 2px; |
15 | 18 | }
|
16 | 19 |
|
17 | 20 | .ui-grid-menu-button .ui-grid-menu {
|
18 | 21 | right: 0;
|
19 | 22 | .ui-grid-menu-mid {
|
20 | 23 | overflow: scroll;
|
21 |
| - border: @gridBorderWidth solid @borderColor; |
22 | 24 | }
|
23 | 25 | }
|
24 | 26 |
|
25 | 27 | .ui-grid-menu {
|
| 28 | + max-width: 320px; |
26 | 29 | z-index: 2; // So it shows up over grid canvas
|
27 | 30 | position: absolute;
|
28 | 31 | padding: 0 10px 20px 10px;
|
29 | 32 | cursor: pointer;
|
30 | 33 | box-sizing: border-box;
|
31 | 34 | }
|
32 | 35 |
|
| 36 | +.ui-grid-menu-item { |
| 37 | + width: 100%; |
| 38 | + overflow: hidden; |
| 39 | + text-overflow: ellipsis; |
| 40 | + white-space: nowrap; |
| 41 | +} |
| 42 | + |
33 | 43 | .ui-grid-menu .ui-grid-menu-inner {
|
34 |
| - background: @headerBackgroundColor; |
| 44 | + background: @menuBackgroundColor; |
35 | 45 | border: @gridBorderWidth solid @borderColor;
|
36 | 46 | position: relative;
|
37 | 47 | white-space: nowrap;
|
38 | 48 |
|
39 | 49 | .rounded(@gridBorderRadius);
|
40 |
| - .box-shadow(e("0 10px 20px rgba(0, 0, 0, 0.2), inset 0 12px 12px -14px rgba(0, 0, 0, 0.2)")); |
41 | 50 | }
|
42 | 51 |
|
43 | 52 | .ui-grid-menu .ui-grid-menu-inner ul {
|
|
48 | 57 | li {
|
49 | 58 | padding: 0px;
|
50 | 59 | button {
|
| 60 | + color: @menuTextColor; |
51 | 61 | min-width: 100%;
|
52 | 62 | padding: 8px;
|
53 | 63 | text-align: left;
|
|
57 | 67 | // Show a shadow when hovering over a menu item
|
58 | 68 | &:hover,
|
59 | 69 | &:focus {
|
60 |
| - // background-color: negation(@headerBackgroundColor, #fff); |
61 |
| - .inner-shadow(@vertical: 0, @blur: 14px, @alpha: 0.2); |
| 70 | + background-color: @menuHoverColor; |
62 | 71 | }
|
63 | 72 | &.ui-grid-menu-item-active {
|
64 |
| - .inner-shadow(@vertical: 0, @blur: 14px, @alpha: 0.2); |
65 |
| - background-color: @selectedColor; |
| 73 | + background-color: @menuSelectedColor; |
66 | 74 | }
|
67 | 75 | }
|
68 | 76 | }
|
|
0 commit comments