luna-one 3.1.427 → 3.1.430
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.
|
@@ -39,6 +39,12 @@
|
|
|
39
39
|
grid-template-columns: 1fr 14fr 1fr;
|
|
40
40
|
&--sector {
|
|
41
41
|
background: $trimble-dark-gray;
|
|
42
|
+
.ter-sub-nav {
|
|
43
|
+
&__siblings {
|
|
44
|
+
background: $trimble-dark-gray;
|
|
45
|
+
box-shadow: 0px -1px #585C65;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
42
48
|
}
|
|
43
49
|
|
|
44
50
|
@media screen and (max-width: $breakpoint-sm) {
|
|
@@ -153,6 +159,8 @@
|
|
|
153
159
|
}
|
|
154
160
|
}
|
|
155
161
|
&__siblings {
|
|
162
|
+
background-color: #0e416c;
|
|
163
|
+
box-shadow: 0px -1px #0063A3;
|
|
156
164
|
padding: 24px 20px;
|
|
157
165
|
position: relative;
|
|
158
166
|
@media screen and (min-width: $breakpoint-xs) {
|
|
@@ -113,11 +113,9 @@ var SubNavSiblingsMenu = function SubNavSiblingsMenu(_ref) {
|
|
|
113
113
|
id: "sub-nav-siblings",
|
|
114
114
|
className: "ter-sub-nav__siblings",
|
|
115
115
|
style: {
|
|
116
|
-
backgroundColor: "#0e416c",
|
|
117
116
|
display: isOpen ? "block" : "none",
|
|
118
117
|
flexDirection: "column",
|
|
119
118
|
flexWrap: "wrap",
|
|
120
|
-
boxShadow: "0px -1px #0063A3",
|
|
121
119
|
position: width > 600 ? "absolute" : "fixed",
|
|
122
120
|
top: width > 600 ? "46px" : ((_window = window) === null || _window === void 0 ? void 0 : _window.scrollY) > 0 ? "48px" : "108px",
|
|
123
121
|
left: width < 600 && "0px",
|
|
@@ -158,6 +156,7 @@ var SubNavSiblingsMenu = function SubNavSiblingsMenu(_ref) {
|
|
|
158
156
|
}, siblingsOrdered && (siblingsOrdered === null || siblingsOrdered === void 0 ? void 0 : siblingsOrdered.map(function (sibling, i) {
|
|
159
157
|
var active = sibling.slug.includes(path);
|
|
160
158
|
return sibling.slug && !active ? /*#__PURE__*/_react["default"].createElement("li", {
|
|
159
|
+
key: "sibling-item-".concat(i),
|
|
161
160
|
className: "ter-sub-nav__siblings__list__list-item"
|
|
162
161
|
}, /*#__PURE__*/_react["default"].createElement(LunaLink, {
|
|
163
162
|
to: sibling.slug,
|
|
@@ -170,6 +169,7 @@ var SubNavSiblingsMenu = function SubNavSiblingsMenu(_ref) {
|
|
|
170
169
|
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
171
170
|
className: "".concat(active && "ter-sub-nav__siblings__text--active--dropdown", " ter-sub-nav__siblings__text--dropdown")
|
|
172
171
|
}, sibling.pageName))) : /*#__PURE__*/_react["default"].createElement("li", {
|
|
172
|
+
key: "sibling-item-".concat(i),
|
|
173
173
|
className: "ter-sub-nav__siblings__list__list-item"
|
|
174
174
|
}, /*#__PURE__*/_react["default"].createElement("p", {
|
|
175
175
|
className: "ter-sub-nav__siblings__text"
|