@odx/ui 4.5.3 → 4.6.1
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.
- package/CHANGELOG.md +12 -0
- package/core-theme.css +3 -5
- package/package.json +1 -1
- package/scss/components/main-menu-item.component.scss +2 -3
- package/scss/core.scss +4 -4
package/CHANGELOG.md
CHANGED
package/core-theme.css
CHANGED
|
@@ -5057,10 +5057,9 @@ html body .odx-fs-italic {
|
|
|
5057
5057
|
}
|
|
5058
5058
|
|
|
5059
5059
|
.odx-main-menu-item {
|
|
5060
|
-
|
|
5061
|
-
margin-bottom: calc(var(--odx-vertical-rythm-base-size) * 0.3334);
|
|
5062
|
-
height: calc(var(--odx-vertical-rythm-base-size) * 2.3334);
|
|
5060
|
+
padding-top: calc(var(--odx-vertical-rythm-base-size) * 0.6667);
|
|
5063
5061
|
padding-right: calc(var(--odx-vertical-rythm-base-size) * 0.6667);
|
|
5062
|
+
padding-bottom: calc(var(--odx-vertical-rythm-base-size) * 0.6667);
|
|
5064
5063
|
padding-left: calc(var(--odx-vertical-rythm-base-size) * 0.6667);
|
|
5065
5064
|
transition-delay: 0ms;
|
|
5066
5065
|
transition-duration: var(--odx-v-transition-duration);
|
|
@@ -5072,8 +5071,6 @@ html body .odx-fs-italic {
|
|
|
5072
5071
|
-webkit-user-select: none;
|
|
5073
5072
|
-moz-user-select: none;
|
|
5074
5073
|
user-select: none;
|
|
5075
|
-
display: flex;
|
|
5076
|
-
align-items: center;
|
|
5077
5074
|
font-weight: var(--odx-typography-font-weight-medium);
|
|
5078
5075
|
letter-spacing: var(--odx-typography-font-weight-medium-letter-spacing);
|
|
5079
5076
|
overflow: clip;
|
|
@@ -5082,6 +5079,7 @@ html body .odx-fs-italic {
|
|
|
5082
5079
|
background-color: transparent;
|
|
5083
5080
|
border-radius: var(--odx-v-border-radius);
|
|
5084
5081
|
color: var(--odx-main-menu-item-text-color);
|
|
5082
|
+
line-height: 1;
|
|
5085
5083
|
}
|
|
5086
5084
|
.odx-main-menu-item:focus-visible {
|
|
5087
5085
|
outline-color: var(--odx-c-focus-outline);
|
package/package.json
CHANGED
|
@@ -18,17 +18,16 @@
|
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
.odx-main-menu-item {
|
|
21
|
-
@include dimensions.
|
|
22
|
-
@include dimensions.padding-x(math.div(2, 3));
|
|
21
|
+
@include dimensions.padding(math.div(2, 3));
|
|
23
22
|
@include motion.transition(color background-color outline);
|
|
24
23
|
@include utils.interactive(false);
|
|
25
|
-
@include utils.vertical-center-content();
|
|
26
24
|
@include typography.font-weight(medium);
|
|
27
25
|
@include typography.prevent-text-overflow();
|
|
28
26
|
|
|
29
27
|
background-color: transparent;
|
|
30
28
|
border-radius: var(--odx-v-border-radius);
|
|
31
29
|
color: var(--odx-main-menu-item-text-color);
|
|
30
|
+
line-height: 1;
|
|
32
31
|
|
|
33
32
|
&:hover {
|
|
34
33
|
background-color: var(--odx-main-menu-item-background-color-hover);
|
package/scss/core.scss
CHANGED
|
@@ -77,10 +77,10 @@ Layout
|
|
|
77
77
|
@use 'components/radio-group.component';
|
|
78
78
|
@use 'components/rail-navigation.component';
|
|
79
79
|
@use 'components/rail-navigation-item.component';
|
|
80
|
-
@use 'components/rich-list.component
|
|
81
|
-
@use 'components/rich-list-item-header.component
|
|
82
|
-
@use 'components/rich-list-item.component
|
|
83
|
-
@use 'components/search-bar.component
|
|
80
|
+
@use 'components/rich-list.component';
|
|
81
|
+
@use 'components/rich-list-item-header.component';
|
|
82
|
+
@use 'components/rich-list-item.component';
|
|
83
|
+
@use 'components/search-bar.component';
|
|
84
84
|
@use 'components/select.component';
|
|
85
85
|
@use 'components/slider.component';
|
|
86
86
|
@use 'components/spinbox.component';
|