ros.grant.common 2.0.1379 → 2.0.1381
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/Themes/Minfin/MinfinThemeTokenVariable.less +43 -0
- package/Shared/Styles/myrtex-lib/dropdown/dropdown-menu.less +35 -13
- package/Shared/Styles/myrtex-lib/dropdown/dropdown-toggle.less +1 -1
- package/Shared/Styles/myrtex-lib/dropdown/dropdown.less +6 -85
- package/package.json +1 -1
- package/Shared/Styles/myrtex-lib/dropdown/dropdown-divider.less +0 -7
- package/Shared/Styles/myrtex-lib/dropdown/dropdown-item.less +0 -60
- package/Shared/Styles/myrtex-lib/dropdown/dropdown-title.less +0 -15
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
@import "../../Tokens/colorThemeMinfin.less";
|
|
2
|
+
|
|
3
|
+
.page-wrapper.minfin-theme {
|
|
4
|
+
--neutral-bg-page: @neutral-bg-page;
|
|
5
|
+
--neutral-bg-modal: @neutral-bg-modal;
|
|
6
|
+
--neutral-bg-divider: @neutral-bg-divider;
|
|
7
|
+
--neutral-bg-stroke-default: @neutral-bg-stroke-default;
|
|
8
|
+
--neutral-bg-stroke-hover: @neutral-bg-stroke-hover;
|
|
9
|
+
--neutral-bg-island-default: @neutral-bg-island-default;
|
|
10
|
+
--neutral-bg-island-hover: @neutral-bg-island-hover;
|
|
11
|
+
--neutral-bg-disabled: @neutral-bg-disabled;
|
|
12
|
+
--neutral-icon-default: @neutral-icon-default;
|
|
13
|
+
--neutral-icon-inactive: @neutral-icon-inactive;
|
|
14
|
+
--neutral-icon-inverse: @neutral-icon-inverse;
|
|
15
|
+
--neutral-text-primary: @neutral-text-primary;
|
|
16
|
+
--neutral-text-secondary: @neutral-text-secondary;
|
|
17
|
+
--neutral-text-tertiary: @neutral-text-tertiary;
|
|
18
|
+
--neutral-text-inverse: @neutral-text-inverse;
|
|
19
|
+
--neutral-text-link-monochrome: @neutral-text-link-monochrome;
|
|
20
|
+
--brand-text-nav-link: @brand-text-nav-link;
|
|
21
|
+
--brand-text-accent: @brand-text-accent;
|
|
22
|
+
--brand-text-controls-default: @brand-text-controls-default;
|
|
23
|
+
--brand-text-controls-hover: @brand-text-controls-hover;
|
|
24
|
+
--brand-text-controls-selected: @brand-text-controls-selected;
|
|
25
|
+
--brand-bg-primary-default: @brand-bg-primary-default;
|
|
26
|
+
--brand-bg-primary-hover: @brand-bg-primary-hover;
|
|
27
|
+
--brand-bg-secondary-default: @brand-bg-secondary-default;
|
|
28
|
+
--brand-bg-secondary-hover: @brand-bg-secondary-hover;
|
|
29
|
+
--brand-bg-tertiary-default: @brand-bg-tertiary-default;
|
|
30
|
+
--brand-bg-tertiary-hover: @brand-bg-tertiary-hover;
|
|
31
|
+
--brand-bg-tertiary-selected: @brand-bg-tertiary-selected;
|
|
32
|
+
--brand-bg-header-scroll-up: @brand-bg-header-scroll-up;
|
|
33
|
+
|
|
34
|
+
--Main1: @neutral-text-primary; // - заголовки,текст,иконки,стрелки
|
|
35
|
+
--Main2: @brand-bg-primary-default; // - активные кнопки,эффект наведения на чекбоксы и радиобатоны,обводка у второстепенных кнопок,наведение на иконки
|
|
36
|
+
--Subsidiary: @brand-text-accent; // - включенные элементы,текст и иконки на Bg 2,наведение на кнопки,наведение на иконки, цвет футера
|
|
37
|
+
--Secondary: @neutral-text-tertiary; // - подписи инпутов, название неактивных кнопок
|
|
38
|
+
--Bg1: @neutral-bg-island-default; // - цвет фона в дополнительных инпутах,цвет фона в блоках,цвет чередующихся строк в таблицах
|
|
39
|
+
--Bg2: @brand-bg-tertiary-hover; // - цвет фона в блоках,цвет шапки таблицы,цвет фона в мультисилектах,цвет фона строки при наведении
|
|
40
|
+
--Stroke: @neutral-bg-stroke-default; // — фон и цвет обводки неактивных инпутов, цвет неактивных кнопок
|
|
41
|
+
--StrokeHover: @neutral-bg-stroke-hover; // - цвет границ инпутов при наведении и в фокусе
|
|
42
|
+
--Icon: @neutral-icon-default;
|
|
43
|
+
}
|
|
@@ -1,20 +1,42 @@
|
|
|
1
1
|
.mrx-dropdown-menu {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
min-width: 10rem;
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
border-radius: 4px;
|
|
6
5
|
padding: 5px 0;
|
|
7
|
-
margin: 0;
|
|
8
|
-
font-size: 1rem;
|
|
9
|
-
color: #212529;
|
|
10
|
-
text-align: left;
|
|
11
|
-
list-style: none;
|
|
12
6
|
background-color: #fff;
|
|
13
7
|
background-clip: padding-box;
|
|
14
|
-
border: 1px solid rgba(0,
|
|
15
|
-
border-radius: .375rem;
|
|
8
|
+
border: 1px solid rgba(0,0,0,.175);
|
|
16
9
|
|
|
17
|
-
|
|
18
|
-
|
|
10
|
+
button {
|
|
11
|
+
width: 100%;
|
|
12
|
+
padding: 0.25rem 1rem;
|
|
13
|
+
clear: both;
|
|
14
|
+
color: #282828;
|
|
15
|
+
text-align: inherit;
|
|
16
|
+
text-decoration: none;
|
|
17
|
+
white-space: nowrap;
|
|
18
|
+
background-color: transparent;
|
|
19
|
+
border: 0;
|
|
20
|
+
font-weight: 400;
|
|
21
|
+
font-size: 14px;
|
|
22
|
+
line-height: 20px;
|
|
23
|
+
display: flex;
|
|
24
|
+
align-items: center;
|
|
25
|
+
cursor: pointer;
|
|
26
|
+
|
|
27
|
+
&:hover {
|
|
28
|
+
color: #282828;
|
|
29
|
+
background-color: #edf5ff;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
svg {
|
|
33
|
+
margin-right: 10px;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
span {
|
|
37
|
+
font-weight: 400;
|
|
38
|
+
font-size: 14px;
|
|
39
|
+
line-height: 20px;
|
|
40
|
+
}
|
|
19
41
|
}
|
|
20
42
|
}
|
|
@@ -1,92 +1,13 @@
|
|
|
1
1
|
.mrx-dropdown {
|
|
2
|
-
|
|
3
|
-
max-width: 215px;
|
|
4
|
-
margin-bottom: 0;
|
|
5
|
-
|
|
6
|
-
.ng-select-container.ng-select-container {
|
|
7
|
-
min-height: auto !important;
|
|
8
|
-
width: 0;
|
|
9
|
-
border: none;
|
|
10
|
-
cursor: pointer;
|
|
11
|
-
align-items: center;
|
|
12
|
-
height: 100% !important;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.ng-value-container.ng-value-container {
|
|
16
|
-
padding-left: 0 !important;
|
|
17
|
-
margin-right: 8px;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.ng-arrow-wrapper.ng-arrow-wrapper {
|
|
21
|
-
min-height: auto;
|
|
22
|
-
width: auto !important;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.ng-dropdown-panel.ng-dropdown-panel {
|
|
26
|
-
width: 100vw;
|
|
27
|
-
max-width: 215px;
|
|
28
|
-
left: auto;
|
|
29
|
-
right: 0;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.mrx-test-dropdown-content {
|
|
2
|
+
&-content {
|
|
35
3
|
border-radius: 4px;
|
|
36
4
|
overflow: hidden;
|
|
37
5
|
z-index: 1000;
|
|
38
6
|
display: none;
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
cursor: pointer;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.mrx-test-dropdown-content[data-show] {
|
|
46
|
-
display: block;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.mrx-test-dropdown-list {
|
|
50
|
-
display: flex;
|
|
51
|
-
flex-direction: column;
|
|
52
|
-
border-radius: 4px;
|
|
53
|
-
padding: 5px 0;
|
|
54
|
-
background-color: #fff;
|
|
55
|
-
background-clip: padding-box;
|
|
56
|
-
border: 1px solid rgba(0,0,0,.175);
|
|
57
|
-
|
|
58
|
-
button {
|
|
59
|
-
width: 100%;
|
|
60
|
-
padding: 0.25rem 1rem;
|
|
61
|
-
clear: both;
|
|
62
|
-
color: #282828;
|
|
63
|
-
text-align: inherit;
|
|
64
|
-
text-decoration: none;
|
|
65
|
-
white-space: nowrap;
|
|
66
|
-
background-color: transparent;
|
|
67
|
-
border: 0;
|
|
68
|
-
font-weight: 400;
|
|
69
|
-
font-size: 14px;
|
|
70
|
-
line-height: 20px;
|
|
71
|
-
display: flex;
|
|
72
|
-
align-items: center;
|
|
73
|
-
cursor: pointer;
|
|
74
|
-
|
|
75
|
-
&:hover {
|
|
76
|
-
color: #282828;
|
|
77
|
-
background-color: #edf5ff;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
svg {
|
|
81
|
-
margin-right: 10px;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
span {
|
|
85
|
-
font-weight: 400;
|
|
86
|
-
font-size: 14px;
|
|
87
|
-
line-height: 20px;
|
|
88
|
-
}
|
|
7
|
+
|
|
8
|
+
&[data-show] {
|
|
9
|
+
display: block;
|
|
89
10
|
}
|
|
90
11
|
}
|
|
91
|
-
|
|
92
|
-
|
|
12
|
+
}
|
|
13
|
+
|
package/package.json
CHANGED
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
.mrx-dropdown-item {
|
|
2
|
-
width: 100%;
|
|
3
|
-
padding: .25rem 1rem;
|
|
4
|
-
clear: both;
|
|
5
|
-
color: #282828;
|
|
6
|
-
text-align: inherit;
|
|
7
|
-
text-decoration: none;
|
|
8
|
-
white-space: nowrap;
|
|
9
|
-
background-color: transparent;
|
|
10
|
-
border: 0;
|
|
11
|
-
font-weight: 400;
|
|
12
|
-
font-size: 14px;
|
|
13
|
-
line-height: 20px;
|
|
14
|
-
display: flex;
|
|
15
|
-
align-items: center;
|
|
16
|
-
|
|
17
|
-
&:hover, &:focus {
|
|
18
|
-
color: #282828;
|
|
19
|
-
background-color: #EDF5FF;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
&.active, &:active {
|
|
23
|
-
color: #282828;
|
|
24
|
-
text-decoration: none;
|
|
25
|
-
background-color: #EDF5FF;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
span {
|
|
29
|
-
font-weight: 400;
|
|
30
|
-
font-size: 14px;
|
|
31
|
-
line-height: 20px;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
svg {
|
|
35
|
-
margin-right: 10px;
|
|
36
|
-
|
|
37
|
-
path, rect {
|
|
38
|
-
stroke: #282828;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
&.negative {
|
|
42
|
-
path, rect {
|
|
43
|
-
stroke: var(--Red);
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
&.positive {
|
|
48
|
-
path, rect {
|
|
49
|
-
stroke: var(--Green);
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.mrx-dropdown-item:not(:disabled),
|
|
56
|
-
.mrx-dropdown-item[type=button]:not(:disabled),
|
|
57
|
-
.mrx-dropdown-item[type=reset]:not(:disabled),
|
|
58
|
-
.mrx-dropdown-item[type=submit]:not(:disabled) {
|
|
59
|
-
cursor: pointer;
|
|
60
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
.mrx-dropdown-title {
|
|
2
|
-
width: 100%;
|
|
3
|
-
padding: .25rem 1rem;
|
|
4
|
-
clear: both;
|
|
5
|
-
color: var(--Secondary);
|
|
6
|
-
text-align: inherit;
|
|
7
|
-
white-space: nowrap;
|
|
8
|
-
background-color: transparent;
|
|
9
|
-
border: 0;
|
|
10
|
-
font-weight: 400;
|
|
11
|
-
font-size: 14px;
|
|
12
|
-
line-height: 20px;
|
|
13
|
-
display: flex;
|
|
14
|
-
align-items: center;
|
|
15
|
-
}
|