ros.grant.common 2.0.1452 → 2.0.1453
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/Shared/Styles/myrtex-lib/components/label/label.less +37 -0
- package/Shared/Styles/myrtex-lib/components/tooltip/tooltip-trigger-right.less +8 -8
- package/Shared/Styles/myrtex-lib/components/tooltip/tooltip-trigger-top.less +19 -29
- package/Shared/Styles/myrtex-lib/components/tooltip/tooltip-trigger.less +3 -17
- package/Shared/Styles/myrtex-lib/components/tooltip/tooltip.less +10 -13
- package/package.json +1 -1
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
.mrx-label {
|
|
2
|
+
display: flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
min-height: 18px;
|
|
5
|
+
color: var(--neutral-text-primary);
|
|
6
|
+
|
|
7
|
+
&:not(&.bold-label) {
|
|
8
|
+
font-family: var(--body-md-font-family);
|
|
9
|
+
font-size: var(--body-md-font-size);
|
|
10
|
+
font-weight: var(--body-md-font-weight);
|
|
11
|
+
line-height: var(--body-md-line-height);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&.bold-label {
|
|
15
|
+
font-family: var(--body-md-bold-font-family);
|
|
16
|
+
font-size: var(--body-md-bold-font-size);
|
|
17
|
+
font-weight: var(--body-md-bold-font-weight);
|
|
18
|
+
line-height: var(--body-md-bold-line-height);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&-wrapper {
|
|
22
|
+
display: flex;
|
|
23
|
+
align-items: center;
|
|
24
|
+
justify-content: space-between;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.required-active {
|
|
28
|
+
font-family: var(--body-md-bold-font-family);
|
|
29
|
+
font-size: var(--body-md-bold-font-size);
|
|
30
|
+
font-weight: var(--body-md-bold-font-weight);
|
|
31
|
+
line-height: var(--body-md-bold-line-height);
|
|
32
|
+
color: var(--system-icon-negative);
|
|
33
|
+
margin-left: var(--spacing-1);
|
|
34
|
+
position: relative;
|
|
35
|
+
display: inline-block;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
.mrx-tooltip-trigger {
|
|
2
2
|
&.trigger-right {
|
|
3
3
|
.tooltip-help {
|
|
4
|
-
font-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
font-family: var(--body-sm-font-famil);
|
|
5
|
+
font-size: var(--body-sm-font-size);
|
|
6
|
+
font-weight: var(--body-sm-font-weight);
|
|
7
|
+
line-height: var(--body-sm-line-height);
|
|
8
8
|
white-space: nowrap;
|
|
9
9
|
width: 0;
|
|
10
10
|
transition: .2s;
|
|
11
11
|
overflow: hidden;
|
|
12
|
-
color: var(--
|
|
12
|
+
color: var(--neutral-text-primary);
|
|
13
13
|
z-index: 1;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
&:hover {
|
|
17
17
|
.tooltip-help {
|
|
18
18
|
width: 120px;
|
|
19
|
-
padding: 0
|
|
19
|
+
padding: var(--spacing-0) var(--spacing-1);
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
@media screen and (max-width: 991px) {
|
|
24
|
-
background: var(--
|
|
24
|
+
background: var(--brand-bg-tertiary-hover);
|
|
25
25
|
|
|
26
26
|
.tooltip-help {
|
|
27
27
|
width: 120px;
|
|
28
|
-
padding: 0
|
|
28
|
+
padding: var(--spacing-0) var(--spacing-1);
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
}
|
|
@@ -1,48 +1,38 @@
|
|
|
1
1
|
.mrx-tooltip-trigger {
|
|
2
2
|
&.trigger-top {
|
|
3
3
|
position: relative;
|
|
4
|
-
width:
|
|
5
|
-
|
|
6
|
-
&::after {
|
|
7
|
-
content: "";
|
|
8
|
-
width: 22px;
|
|
9
|
-
height: 22px;
|
|
10
|
-
background: transparent;
|
|
11
|
-
position: absolute;
|
|
12
|
-
top: 0;
|
|
13
|
-
left: 0;
|
|
14
|
-
transition: 0.2s;
|
|
15
|
-
border-radius: 100%;
|
|
16
|
-
}
|
|
4
|
+
width: calc(var(--sizing-module) * 6);
|
|
17
5
|
|
|
18
6
|
.tooltip-help {
|
|
19
|
-
font-size: 12px;
|
|
20
|
-
letter-spacing: -0.363636px;
|
|
21
|
-
line-height: 1;
|
|
22
|
-
width: auto;
|
|
23
7
|
position: absolute;
|
|
24
8
|
left: 50%;
|
|
9
|
+
top: -25px;
|
|
10
|
+
z-index: 1;
|
|
11
|
+
transform: translateX(-50%);
|
|
12
|
+
overflow: hidden;
|
|
13
|
+
font-family: var(--body-sm-font-famil);
|
|
14
|
+
font-size: var(--body-sm-font-size);
|
|
15
|
+
font-weight: var(--body-sm-font-weight);
|
|
16
|
+
line-height: var(--body-sm-line-height);
|
|
25
17
|
text-align: center;
|
|
18
|
+
background: var(--brand-bg-tertiary-hover);
|
|
19
|
+
color: var(--neutral-text-primary);
|
|
20
|
+
box-shadow: var(--box-shadow-secondary-x) var(--box-shadow-secondary-y) var(--box-shadow-secondary-blur) var(--box-shadow-secondary-spread) var(--box-shadow-secondary-color);
|
|
21
|
+
border-radius: var(--border-radius-1);
|
|
22
|
+
padding: 0;
|
|
26
23
|
opacity: 0;
|
|
27
24
|
visibility: hidden;
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
padding: 3px 5px !important;
|
|
31
|
-
background: var(--TooltipBG);
|
|
32
|
-
box-shadow: 0px 4px 10px rgba(58, 58, 58, 0.15);
|
|
33
|
-
border-radius: 4px;
|
|
34
|
-
z-index: 1;
|
|
25
|
+
width: auto;
|
|
26
|
+
height: 0;
|
|
35
27
|
}
|
|
36
28
|
|
|
37
29
|
&:hover {
|
|
38
30
|
background: transparent;
|
|
39
31
|
|
|
40
|
-
&::after {
|
|
41
|
-
background: var(--TooltipBG);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
32
|
.tooltip-help {
|
|
45
|
-
|
|
33
|
+
padding: var(--spacing-1);
|
|
34
|
+
height: auto;
|
|
35
|
+
width: max-content;
|
|
46
36
|
opacity: 1;
|
|
47
37
|
visibility: visible;
|
|
48
38
|
}
|
|
@@ -2,25 +2,11 @@
|
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
4
|
justify-content: flex-start;
|
|
5
|
-
margin-left: 2px;
|
|
6
5
|
cursor: pointer;
|
|
7
|
-
padding:
|
|
8
|
-
border-radius: 30px;
|
|
9
|
-
|
|
10
|
-
svg {
|
|
11
|
-
min-width: 16px;
|
|
12
|
-
width: 16px;
|
|
13
|
-
height: 16px;
|
|
14
|
-
z-index: 2;
|
|
15
|
-
}
|
|
6
|
+
padding: var(--spacing-1);
|
|
16
7
|
|
|
17
8
|
&:hover {
|
|
18
|
-
background: var(--
|
|
19
|
-
width:
|
|
20
|
-
|
|
21
|
-
.tooltip-help {
|
|
22
|
-
width: 120px;
|
|
23
|
-
padding: 0 5px;
|
|
24
|
-
}
|
|
9
|
+
background: var(--brand-bg-tertiary-hover);
|
|
10
|
+
width: max-content;
|
|
25
11
|
}
|
|
26
12
|
}
|
|
@@ -1,16 +1,13 @@
|
|
|
1
1
|
.mrx-tooltip-content {
|
|
2
|
-
margin-top:
|
|
3
|
-
border-radius:
|
|
4
|
-
font-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
margin-top: var(--spacing-2);
|
|
3
|
+
border-radius: var(--border-radius-1);
|
|
4
|
+
font-family: var(--body-sm-font-famil);
|
|
5
|
+
font-size: var(--body-sm-font-size);
|
|
6
|
+
font-weight: var(--body-sm-font-weight);
|
|
7
|
+
line-height: var(--body-sm-line-height);
|
|
8
|
+
padding: var(--spacing-3) var(--spacing-4);
|
|
9
|
+
margin-bottom: var(--spacing-2);
|
|
10
|
+
background-color: var(--system-bg-attention-secondary);
|
|
9
11
|
overflow: hidden;
|
|
10
|
-
|
|
11
|
-
color: var(--Main1);
|
|
12
|
-
|
|
13
|
-
@media screen and (max-width: 567px) {
|
|
14
|
-
padding: 8px 10px;
|
|
15
|
-
}
|
|
12
|
+
color: var(--neutral-text-primary);
|
|
16
13
|
}
|
package/package.json
CHANGED