@adcops/autocore-react 3.0.33 → 3.0.36
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/dist/components/BlocklyEditor.css +71 -2
- package/dist/themes/adc-dark/blue/fonts/AtkinsonHyperlegibleMono-Italic-VariableFont_wght.ttf +0 -0
- package/dist/themes/adc-dark/blue/fonts/AtkinsonHyperlegibleMono-VariableFont_wght.ttf +0 -0
- package/dist/themes/adc-dark/blue/fonts/AtkinsonHyperlegibleNext-Italic-VariableFont_wght.ttf +0 -0
- package/dist/themes/adc-dark/blue/fonts/AtkinsonHyperlegibleNext-Regular.woff2 +0 -0
- package/dist/themes/adc-dark/blue/fonts/AtkinsonHyperlegibleNext-RegularItalic.woff2 +0 -0
- package/dist/themes/adc-dark/blue/fonts/AtkinsonHyperlegibleNext-VariableFont_wght.ttf +0 -0
- package/dist/themes/adc-dark/blue/theme.css +7097 -0
- package/dist/themes/adc-dark/blue/theme.css.map +1 -0
- package/package.json +10 -4
- package/src/components/BlocklyEditor.css +71 -2
- package/src/themes/adc-dark/_extensions.scss +166 -0
- package/src/themes/adc-dark/_variables.scss +913 -0
- package/src/themes/adc-dark/blue/_fonts.scss +24 -0
- package/src/themes/adc-dark/blue/adc_theme.scss +31 -0
- package/src/themes/adc-dark/blue/fonts/AtkinsonHyperlegibleMono-Italic-VariableFont_wght.ttf +0 -0
- package/src/themes/adc-dark/blue/fonts/AtkinsonHyperlegibleMono-VariableFont_wght.ttf +0 -0
- package/src/themes/adc-dark/blue/fonts/AtkinsonHyperlegibleNext-Italic-VariableFont_wght.ttf +0 -0
- package/src/themes/adc-dark/blue/fonts/AtkinsonHyperlegibleNext-Regular.woff2 +0 -0
- package/src/themes/adc-dark/blue/fonts/AtkinsonHyperlegibleNext-RegularItalic.woff2 +0 -0
- package/src/themes/adc-dark/blue/fonts/AtkinsonHyperlegibleNext-VariableFont_wght.ttf +0 -0
- package/src/themes/adc-dark/blue/theme.scss +14 -0
- package/src/themes/theme-base/_colors.scss +18 -0
- package/src/themes/theme-base/_common.scss +75 -0
- package/src/themes/theme-base/_components.scss +111 -0
- package/src/themes/theme-base/_mixins.scss +243 -0
- package/src/themes/theme-base/components/button/_button.scss +644 -0
- package/src/themes/theme-base/components/button/_speeddial.scss +91 -0
- package/src/themes/theme-base/components/button/_splitbutton.scss +359 -0
- package/src/themes/theme-base/components/data/_carousel.scss +39 -0
- package/src/themes/theme-base/components/data/_datascroller.scss +47 -0
- package/src/themes/theme-base/components/data/_datatable.scss +389 -0
- package/src/themes/theme-base/components/data/_dataview.scss +47 -0
- package/src/themes/theme-base/components/data/_filter.scss +138 -0
- package/src/themes/theme-base/components/data/_orderlist.scss +86 -0
- package/src/themes/theme-base/components/data/_organizationchart.scss +50 -0
- package/src/themes/theme-base/components/data/_paginator.scss +91 -0
- package/src/themes/theme-base/components/data/_picklist.scss +74 -0
- package/src/themes/theme-base/components/data/_timeline.scss +38 -0
- package/src/themes/theme-base/components/data/_tree.scss +184 -0
- package/src/themes/theme-base/components/data/_treetable.scss +431 -0
- package/src/themes/theme-base/components/file/_fileupload.scss +41 -0
- package/src/themes/theme-base/components/input/_autocomplete.scss +95 -0
- package/src/themes/theme-base/components/input/_calendar.scss +251 -0
- package/src/themes/theme-base/components/input/_cascadeselect.scss +107 -0
- package/src/themes/theme-base/components/input/_checkbox.scss +181 -0
- package/src/themes/theme-base/components/input/_chips.scss +102 -0
- package/src/themes/theme-base/components/input/_colorpicker.scss +18 -0
- package/src/themes/theme-base/components/input/_dropdown.scss +252 -0
- package/src/themes/theme-base/components/input/_editor.scss +122 -0
- package/src/themes/theme-base/components/input/_iconfield.scss +10 -0
- package/src/themes/theme-base/components/input/_inputgroup.scss +74 -0
- package/src/themes/theme-base/components/input/_inputicon.scss +15 -0
- package/src/themes/theme-base/components/input/_inputnumber.scss +5 -0
- package/src/themes/theme-base/components/input/_inputotp.scss +10 -0
- package/src/themes/theme-base/components/input/_inputswitch.scss +100 -0
- package/src/themes/theme-base/components/input/_inputtext.scss +101 -0
- package/src/themes/theme-base/components/input/_listbox.scss +139 -0
- package/src/themes/theme-base/components/input/_mention.scss +31 -0
- package/src/themes/theme-base/components/input/_multiselect.scss +278 -0
- package/src/themes/theme-base/components/input/_password.scss +33 -0
- package/src/themes/theme-base/components/input/_radiobutton.scss +170 -0
- package/src/themes/theme-base/components/input/_rating.scss +81 -0
- package/src/themes/theme-base/components/input/_selectbutton.scss +50 -0
- package/src/themes/theme-base/components/input/_slider.scss +49 -0
- package/src/themes/theme-base/components/input/_togglebutton.scss +99 -0
- package/src/themes/theme-base/components/input/_treeselect.scss +151 -0
- package/src/themes/theme-base/components/input/_tristatecheckbox.scss +46 -0
- package/src/themes/theme-base/components/menu/_breadcrumb.scss +42 -0
- package/src/themes/theme-base/components/menu/_contextmenu.scss +39 -0
- package/src/themes/theme-base/components/menu/_dock.scss +109 -0
- package/src/themes/theme-base/components/menu/_megamenu.scss +141 -0
- package/src/themes/theme-base/components/menu/_menu.scss +33 -0
- package/src/themes/theme-base/components/menu/_menubar.scss +216 -0
- package/src/themes/theme-base/components/menu/_panelmenu.scss +153 -0
- package/src/themes/theme-base/components/menu/_slidemenu.scss +60 -0
- package/src/themes/theme-base/components/menu/_steps.scss +57 -0
- package/src/themes/theme-base/components/menu/_tabmenu.scss +50 -0
- package/src/themes/theme-base/components/menu/_tieredmenu.scss +43 -0
- package/src/themes/theme-base/components/messages/_inlinemessage.scss +69 -0
- package/src/themes/theme-base/components/messages/_message.scss +107 -0
- package/src/themes/theme-base/components/messages/_toast.scss +100 -0
- package/src/themes/theme-base/components/misc/_avatar.scss +34 -0
- package/src/themes/theme-base/components/misc/_badge.scss +77 -0
- package/src/themes/theme-base/components/misc/_blockui.scss +0 -0
- package/src/themes/theme-base/components/misc/_chip.scss +39 -0
- package/src/themes/theme-base/components/misc/_inplace.scss +17 -0
- package/src/themes/theme-base/components/misc/_metergroup.scss +81 -0
- package/src/themes/theme-base/components/misc/_progressbar.scss +17 -0
- package/src/themes/theme-base/components/misc/_scrolltop.scss +25 -0
- package/src/themes/theme-base/components/misc/_skeleton.scss +8 -0
- package/src/themes/theme-base/components/misc/_tag.scss +40 -0
- package/src/themes/theme-base/components/misc/_terminal.scss +12 -0
- package/src/themes/theme-base/components/multimedia/_galleria.scss +153 -0
- package/src/themes/theme-base/components/multimedia/_image.scss +54 -0
- package/src/themes/theme-base/components/overlay/_confirmpopup.scss +72 -0
- package/src/themes/theme-base/components/overlay/_dialog.scss +78 -0
- package/src/themes/theme-base/components/overlay/_overlaypanel.scss +64 -0
- package/src/themes/theme-base/components/overlay/_sidebar.scss +23 -0
- package/src/themes/theme-base/components/overlay/_tooltip.scss +33 -0
- package/src/themes/theme-base/components/panel/_accordion.scss +118 -0
- package/src/themes/theme-base/components/panel/_card.scss +30 -0
- package/src/themes/theme-base/components/panel/_divider.scss +31 -0
- package/src/themes/theme-base/components/panel/_fieldset.scss +47 -0
- package/src/themes/theme-base/components/panel/_panel.scss +47 -0
- package/src/themes/theme-base/components/panel/_scrollpanel.scss +10 -0
- package/src/themes/theme-base/components/panel/_splitter.scss +23 -0
- package/src/themes/theme-base/components/panel/_stepper.scss +136 -0
- package/src/themes/theme-base/components/panel/_tabview.scss +147 -0
- package/src/themes/theme-base/components/panel/_toolbar.scss +11 -0
- package/tools/build-themes.cjs +66 -0
- package/tools/copy-distribution-files.cjs +20 -16
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
.p-megamenu {
|
|
2
|
+
padding: $horizontalMenuPadding;
|
|
3
|
+
background: $horizontalMenuBg;
|
|
4
|
+
color: $horizontalMenuTextColor;
|
|
5
|
+
border: $horizontalMenuBorder;
|
|
6
|
+
border-radius: $borderRadius;
|
|
7
|
+
|
|
8
|
+
.p-megamenu-root-list {
|
|
9
|
+
outline: 0 none;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.p-menuitem {
|
|
13
|
+
@include menuitem-link();
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.p-megamenu-panel {
|
|
17
|
+
background: $overlayMenuBg;
|
|
18
|
+
color: $menuTextColor;
|
|
19
|
+
border: $overlayMenuBorder;
|
|
20
|
+
box-shadow: $overlayMenuShadow;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.p-submenu-header {
|
|
24
|
+
margin: $submenuHeaderMargin;
|
|
25
|
+
padding: $submenuHeaderPadding;
|
|
26
|
+
color: $submenuHeaderTextColor;
|
|
27
|
+
background: $submenuHeaderBg;
|
|
28
|
+
font-weight: $submenuHeaderFontWeight;
|
|
29
|
+
border-top-right-radius: $borderRadius;
|
|
30
|
+
border-top-left-radius: $borderRadius;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.p-submenu-list {
|
|
34
|
+
padding: $verticalMenuPadding;
|
|
35
|
+
width: $menuWidth;
|
|
36
|
+
|
|
37
|
+
.p-menuitem-separator {
|
|
38
|
+
border-top: $divider;
|
|
39
|
+
margin: $menuSeparatorMargin;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&.p-megamenu-vertical {
|
|
44
|
+
width: $menuWidth;
|
|
45
|
+
padding: $verticalMenuPadding;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.p-megamenu-button {
|
|
49
|
+
width: $actionIconWidth;
|
|
50
|
+
height: $actionIconHeight;
|
|
51
|
+
color: $horizontalMenuRootMenuitemIconColor;
|
|
52
|
+
border-radius: $actionIconBorderRadius;
|
|
53
|
+
transition: $actionIconTransition;
|
|
54
|
+
|
|
55
|
+
&:hover {
|
|
56
|
+
color: $horizontalMenuRootMenuitemIconHoverColor;
|
|
57
|
+
background: $horizontalMenuRootMenuitemHoverBg;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
&:focus {
|
|
61
|
+
@include focused();
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&.p-megamenu-horizontal {
|
|
66
|
+
.p-megamenu-root-list {
|
|
67
|
+
> .p-menuitem {
|
|
68
|
+
@include horizontal-rootmenuitem-link();
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
&.p-megamenu-mobile-active {
|
|
74
|
+
.p-megamenu-root-list {
|
|
75
|
+
padding: $verticalMenuPadding;
|
|
76
|
+
background: $overlayMenuBg;
|
|
77
|
+
border: $overlayMenuBorder;
|
|
78
|
+
box-shadow: $overlayMenuShadow;
|
|
79
|
+
|
|
80
|
+
.p-menu-separator {
|
|
81
|
+
border-top: $divider;
|
|
82
|
+
margin: $menuSeparatorMargin;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.p-submenu-icon {
|
|
86
|
+
font-size: $menuitemSubmenuIconFontSize;
|
|
87
|
+
|
|
88
|
+
&.p-icon {
|
|
89
|
+
width: $menuitemSubmenuIconFontSize;
|
|
90
|
+
height: $menuitemSubmenuIconFontSize;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
> .p-menuitem {
|
|
95
|
+
width: 100%;
|
|
96
|
+
position: static;
|
|
97
|
+
|
|
98
|
+
> .p-menuitem-link {
|
|
99
|
+
@include menuitem-link();
|
|
100
|
+
|
|
101
|
+
> .p-submenu-icon {
|
|
102
|
+
margin-left: auto;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
&.p-menuitem-active {
|
|
107
|
+
> .p-menuitem-link {
|
|
108
|
+
> .p-submenu-icon {
|
|
109
|
+
transform: rotate(-180deg);
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.p-submenu-list {
|
|
116
|
+
width: 100%;
|
|
117
|
+
position: static;
|
|
118
|
+
box-shadow: none;
|
|
119
|
+
border: 0 none;
|
|
120
|
+
|
|
121
|
+
.p-submenu-icon {
|
|
122
|
+
transition: transform $transitionDuration;
|
|
123
|
+
transform: rotate(90deg);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.p-menuitem-active {
|
|
127
|
+
> .p-menuitem-link {
|
|
128
|
+
> .p-submenu-icon {
|
|
129
|
+
transform: rotate(-90deg);
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.p-menuitem {
|
|
136
|
+
width: 100%;
|
|
137
|
+
position: static;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
.p-menu {
|
|
2
|
+
padding: $verticalMenuPadding;
|
|
3
|
+
background: $menuBg;
|
|
4
|
+
color: $menuTextColor;
|
|
5
|
+
border: $menuBorder;
|
|
6
|
+
border-radius: $borderRadius;
|
|
7
|
+
width: $menuWidth;
|
|
8
|
+
|
|
9
|
+
.p-menuitem {
|
|
10
|
+
@include menuitem-link();
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
&.p-menu-overlay {
|
|
14
|
+
background: $overlayMenuBg;
|
|
15
|
+
border: $overlayMenuBorder;
|
|
16
|
+
box-shadow: $overlayMenuShadow;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.p-submenu-header {
|
|
20
|
+
margin: $submenuHeaderMargin;
|
|
21
|
+
padding: $submenuHeaderPadding;
|
|
22
|
+
color: $submenuHeaderTextColor;
|
|
23
|
+
background: $submenuHeaderBg;
|
|
24
|
+
font-weight: $submenuHeaderFontWeight;
|
|
25
|
+
border-top-right-radius: $submenuHeaderBorderRadius;
|
|
26
|
+
border-top-left-radius: $submenuHeaderBorderRadius;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.p-menu-separator {
|
|
30
|
+
border-top: $divider;
|
|
31
|
+
margin: $menuSeparatorMargin;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
.p-menubar {
|
|
2
|
+
padding: $horizontalMenuPadding;
|
|
3
|
+
background: $horizontalMenuBg;
|
|
4
|
+
color: $horizontalMenuTextColor;
|
|
5
|
+
border: $horizontalMenuBorder;
|
|
6
|
+
border-radius: $borderRadius;
|
|
7
|
+
|
|
8
|
+
.p-menubar-root-list {
|
|
9
|
+
outline: 0 none;
|
|
10
|
+
|
|
11
|
+
> .p-menuitem {
|
|
12
|
+
@include horizontal-rootmenuitem-link();
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.p-menuitem {
|
|
17
|
+
@include menuitem-link();
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.p-submenu-list {
|
|
21
|
+
padding: $verticalMenuPadding;
|
|
22
|
+
background: $overlayMenuBg;
|
|
23
|
+
border: $overlayMenuBorder;
|
|
24
|
+
box-shadow: $overlayMenuShadow;
|
|
25
|
+
width: $menuWidth;
|
|
26
|
+
|
|
27
|
+
.p-menuitem-separator {
|
|
28
|
+
border-top: $divider;
|
|
29
|
+
margin: $menuSeparatorMargin;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.p-submenu-icon {
|
|
33
|
+
font-size: $menuitemSubmenuIconFontSize;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&.p-menubar-mobile {
|
|
38
|
+
.p-menubar-button {
|
|
39
|
+
width: $actionIconWidth;
|
|
40
|
+
height: $actionIconHeight;
|
|
41
|
+
color: $horizontalMenuRootMenuitemIconColor;
|
|
42
|
+
border-radius: $actionIconBorderRadius;
|
|
43
|
+
transition: $actionIconTransition;
|
|
44
|
+
|
|
45
|
+
&:hover {
|
|
46
|
+
color: $horizontalMenuRootMenuitemIconHoverColor;
|
|
47
|
+
background: $horizontalMenuRootMenuitemHoverBg;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&:focus {
|
|
51
|
+
@include focused();
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.p-menubar-root-list {
|
|
56
|
+
padding: $verticalMenuPadding;
|
|
57
|
+
background: $overlayMenuBg;
|
|
58
|
+
border: $overlayMenuBorder;
|
|
59
|
+
box-shadow: $overlayMenuShadow;
|
|
60
|
+
|
|
61
|
+
.p-menuitem-separator {
|
|
62
|
+
border-top: $divider;
|
|
63
|
+
margin: $menuSeparatorMargin;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.p-submenu-icon {
|
|
67
|
+
font-size: $menuitemSubmenuIconFontSize;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.p-menuitem {
|
|
71
|
+
.p-menuitem-content {
|
|
72
|
+
.p-menuitem-link {
|
|
73
|
+
.p-submenu-icon {
|
|
74
|
+
margin-left: auto;
|
|
75
|
+
transition: transform $transitionDuration;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
&.p-menuitem-active {
|
|
81
|
+
> .p-menuitem-content {
|
|
82
|
+
> .p-menuitem-link {
|
|
83
|
+
> .p-submenu-icon {
|
|
84
|
+
transform: rotate(-180deg);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.p-submenu-list {
|
|
92
|
+
.p-submenu-icon {
|
|
93
|
+
transition: transform $transitionDuration;
|
|
94
|
+
transform: rotate(90deg);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.p-menuitem-active {
|
|
98
|
+
> .p-menuitem-content {
|
|
99
|
+
> .p-menuitem-link {
|
|
100
|
+
> .p-submenu-icon {
|
|
101
|
+
transform: rotate(-90deg);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
@include nested-submenu-indents(nth($menuitemPadding, 1), 2, 10);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
@media screen and (max-width: 960px) {
|
|
114
|
+
.p-menubar {
|
|
115
|
+
position: relative;
|
|
116
|
+
|
|
117
|
+
.p-menubar-button {
|
|
118
|
+
display: flex;
|
|
119
|
+
width: $actionIconWidth;
|
|
120
|
+
height: $actionIconHeight;
|
|
121
|
+
color: $horizontalMenuRootMenuitemIconColor;
|
|
122
|
+
border-radius: $actionIconBorderRadius;
|
|
123
|
+
transition: $actionIconTransition;
|
|
124
|
+
|
|
125
|
+
&:hover {
|
|
126
|
+
color: $horizontalMenuRootMenuitemIconHoverColor;
|
|
127
|
+
background: $horizontalMenuRootMenuitemHoverBg;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
&:focus {
|
|
131
|
+
@include focused();
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.p-menubar-root-list {
|
|
136
|
+
position: absolute;
|
|
137
|
+
display: none;
|
|
138
|
+
padding: $verticalMenuPadding;
|
|
139
|
+
background: $overlayMenuBg;
|
|
140
|
+
border: $overlayMenuBorder;
|
|
141
|
+
box-shadow: $overlayMenuShadow;
|
|
142
|
+
width: 100%;
|
|
143
|
+
|
|
144
|
+
.p-menu-separator {
|
|
145
|
+
border-top: $divider;
|
|
146
|
+
margin: $menuSeparatorMargin;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.p-submenu-icon {
|
|
150
|
+
font-size: $menuitemSubmenuIconFontSize;
|
|
151
|
+
|
|
152
|
+
&.p-icon {
|
|
153
|
+
width: $menuitemSubmenuIconFontSize;
|
|
154
|
+
height: $menuitemSubmenuIconFontSize;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
> .p-menuitem {
|
|
159
|
+
width: 100%;
|
|
160
|
+
position: static;
|
|
161
|
+
|
|
162
|
+
> .p-menuitem-link {
|
|
163
|
+
@include menuitem-link();
|
|
164
|
+
|
|
165
|
+
> .p-submenu-icon {
|
|
166
|
+
margin-left: auto;
|
|
167
|
+
transition: transform $transitionDuration;
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
&.p-menuitem-active {
|
|
172
|
+
> .p-menuitem-link {
|
|
173
|
+
> .p-submenu-icon {
|
|
174
|
+
transform: rotate(-180deg);
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.p-submenu-list {
|
|
181
|
+
width: 100%;
|
|
182
|
+
position: static;
|
|
183
|
+
box-shadow: none;
|
|
184
|
+
border: 0 none;
|
|
185
|
+
|
|
186
|
+
.p-submenu-icon {
|
|
187
|
+
transition: transform $transitionDuration;
|
|
188
|
+
transform: rotate(90deg);
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.p-menuitem-active {
|
|
192
|
+
> .p-menuitem-link {
|
|
193
|
+
> .p-submenu-icon {
|
|
194
|
+
transform: rotate(-90deg);
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.p-menuitem {
|
|
201
|
+
width: 100%;
|
|
202
|
+
position: static;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
@include nested-submenu-indents(nth($menuitemPadding, 1), 2, 10);
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
&.p-menubar-mobile-active .p-menubar-root-list {
|
|
209
|
+
display: flex;
|
|
210
|
+
flex-direction: column;
|
|
211
|
+
top: 100%;
|
|
212
|
+
left: 0;
|
|
213
|
+
z-index: 1;
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
}
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
.p-panelmenu {
|
|
2
|
+
.p-panelmenu-header {
|
|
3
|
+
outline: 0 none;
|
|
4
|
+
|
|
5
|
+
.p-panelmenu-header-content {
|
|
6
|
+
border: $accordionHeaderBorder;
|
|
7
|
+
color: $accordionHeaderTextColor;
|
|
8
|
+
background: $accordionHeaderBg;
|
|
9
|
+
border-radius: $borderRadius;
|
|
10
|
+
transition: $listItemTransition;
|
|
11
|
+
|
|
12
|
+
.p-panelmenu-header-link {
|
|
13
|
+
color: $accordionHeaderTextColor;
|
|
14
|
+
padding: $accordionHeaderPadding;
|
|
15
|
+
font-weight: $accordionHeaderFontWeight;
|
|
16
|
+
|
|
17
|
+
.p-submenu-icon {
|
|
18
|
+
margin-right: $inlineSpacing;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.p-menuitem-icon {
|
|
22
|
+
margin-right: $inlineSpacing;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&:not(.p-disabled) {
|
|
28
|
+
&:focus-visible {
|
|
29
|
+
.p-panelmenu-header-content {
|
|
30
|
+
@include focused-inset();
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&:not(.p-highlight):not(.p-disabled):hover {
|
|
36
|
+
.p-panelmenu-header-content {
|
|
37
|
+
background: $accordionHeaderHoverBg;
|
|
38
|
+
border-color: $accordionHeaderHoverBorderColor;
|
|
39
|
+
color: $accordionHeaderTextHoverColor;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&:not(.p-disabled).p-highlight {
|
|
44
|
+
.p-panelmenu-header-content {
|
|
45
|
+
background: $accordionHeaderActiveBg;
|
|
46
|
+
border-color: $accordionHeaderActiveBorderColor;
|
|
47
|
+
color: $accordionHeaderTextActiveColor;
|
|
48
|
+
border-bottom-right-radius: 0;
|
|
49
|
+
border-bottom-left-radius: 0;
|
|
50
|
+
margin-bottom: 0;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&:hover {
|
|
54
|
+
.p-panelmenu-header-content {
|
|
55
|
+
border-color: $accordionHeaderActiveHoverBorderColor;
|
|
56
|
+
background: $accordionHeaderActiveHoverBg;
|
|
57
|
+
color: $accordionHeaderTextActiveHoverColor;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.p-panelmenu-content {
|
|
64
|
+
padding: $verticalMenuPadding;
|
|
65
|
+
border: $accordionContentBorder;
|
|
66
|
+
background: $accordionContentBg;
|
|
67
|
+
color: $accordionContentTextColor;
|
|
68
|
+
border-top: 0;
|
|
69
|
+
border-top-right-radius: 0;
|
|
70
|
+
border-top-left-radius: 0;
|
|
71
|
+
border-bottom-right-radius: $borderRadius;
|
|
72
|
+
border-bottom-left-radius: $borderRadius;
|
|
73
|
+
|
|
74
|
+
.p-panelmenu-root-list {
|
|
75
|
+
outline: 0 none;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.p-menuitem {
|
|
79
|
+
@include menuitem-link();
|
|
80
|
+
|
|
81
|
+
.p-menuitem-content {
|
|
82
|
+
.p-menuitem-link {
|
|
83
|
+
.p-submenu-icon {
|
|
84
|
+
margin-right: $inlineSpacing;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.p-menuitem-separator {
|
|
91
|
+
border-top: $divider;
|
|
92
|
+
margin: $menuSeparatorMargin;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.p-submenu-list:not(.p-panelmenu-root-list) {
|
|
96
|
+
padding: $treeNodeChildrenPadding;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.p-panelmenu-panel {
|
|
101
|
+
margin-bottom: $accordionSpacing;
|
|
102
|
+
|
|
103
|
+
@if $accordionSpacing == 0 {
|
|
104
|
+
.p-panelmenu-header {
|
|
105
|
+
.p-panelmenu-header-content {
|
|
106
|
+
border-radius: 0;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.p-panelmenu-content {
|
|
111
|
+
border-radius: 0;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
&:not(:first-child) {
|
|
115
|
+
.p-panelmenu-header {
|
|
116
|
+
.p-panelmenu-header-content {
|
|
117
|
+
border-top: 0 none;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
&:not(.p-highlight):not(.p-disabled):hover,
|
|
121
|
+
&:not(.p-disabled).p-highlight:hover {
|
|
122
|
+
.p-panelmenu-header-content {
|
|
123
|
+
border-top: 0 none;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
&:first-child {
|
|
130
|
+
.p-panelmenu-header {
|
|
131
|
+
.p-panelmenu-header-content {
|
|
132
|
+
border-top-right-radius: $borderRadius;
|
|
133
|
+
border-top-left-radius: $borderRadius;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
&:last-child {
|
|
139
|
+
.p-panelmenu-header:not(.p-highlight) {
|
|
140
|
+
.p-panelmenu-header-content {
|
|
141
|
+
border-bottom-right-radius: $borderRadius;
|
|
142
|
+
border-bottom-left-radius: $borderRadius;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.p-panelmenu-content {
|
|
147
|
+
border-bottom-right-radius: $borderRadius;
|
|
148
|
+
border-bottom-left-radius: $borderRadius;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
.p-slidemenu {
|
|
2
|
+
padding: $verticalMenuPadding;
|
|
3
|
+
background: $menuBg;
|
|
4
|
+
color: $menuTextColor;
|
|
5
|
+
border: $menuBorder;
|
|
6
|
+
border-radius: $borderRadius;
|
|
7
|
+
width: $menuWidth;
|
|
8
|
+
|
|
9
|
+
.p-menuitem-link {
|
|
10
|
+
@include menuitem-link();
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
&.p-slidemenu-overlay {
|
|
14
|
+
background: $overlayMenuBg;
|
|
15
|
+
border: $overlayMenuBorder;
|
|
16
|
+
box-shadow: $overlayMenuShadow;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.p-slidemenu-list {
|
|
20
|
+
padding: $verticalMenuPadding;
|
|
21
|
+
background: $overlayMenuBg;
|
|
22
|
+
border: $overlayMenuBorder;
|
|
23
|
+
box-shadow: $overlayMenuShadow;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.p-slidemenu {
|
|
27
|
+
&.p-slidemenu-active {
|
|
28
|
+
> .p-slidemenu-link {
|
|
29
|
+
background: $menuitemActiveBg;
|
|
30
|
+
|
|
31
|
+
.p-slidemenu-text {
|
|
32
|
+
color: $menuitemTextActiveColor;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.p-slidemenu-icon, .p-slidemenu-icon {
|
|
36
|
+
color: $menuitemIconActiveColor;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.p-slidemenu-separator {
|
|
43
|
+
border-top: $divider;
|
|
44
|
+
margin: $menuSeparatorMargin;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.p-slidemenu-icon {
|
|
48
|
+
font-size: $menuitemSubmenuIconFontSize;
|
|
49
|
+
|
|
50
|
+
&.p-icon {
|
|
51
|
+
width: $menuitemSubmenuIconFontSize;
|
|
52
|
+
height: $menuitemSubmenuIconFontSize;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.p-slidemenu-backward {
|
|
57
|
+
padding: $menuitemPadding;
|
|
58
|
+
color: $menuitemTextColor;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
@use 'sass:math';
|
|
2
|
+
|
|
3
|
+
.p-steps {
|
|
4
|
+
|
|
5
|
+
.p-steps-item {
|
|
6
|
+
.p-menuitem-link {
|
|
7
|
+
background: transparent;
|
|
8
|
+
transition: $listItemTransition;
|
|
9
|
+
border-radius: $borderRadius;
|
|
10
|
+
background: $stepsItemBg;
|
|
11
|
+
|
|
12
|
+
.p-steps-number {
|
|
13
|
+
color: $stepsItemNumberColor;
|
|
14
|
+
border: $stepsItemBorder;
|
|
15
|
+
background: $stepsItemBg;
|
|
16
|
+
min-width: $stepsItemNumberWidth;
|
|
17
|
+
height: $stepsItemNumberHeight;
|
|
18
|
+
line-height: $stepsItemNumberHeight;
|
|
19
|
+
font-size: $stepsItemNumberFontSize;
|
|
20
|
+
z-index: 1;
|
|
21
|
+
border-radius: $stepsItemNumberBorderRadius;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.p-steps-title {
|
|
25
|
+
margin-top: $inlineSpacing;
|
|
26
|
+
color: $stepsItemTextColor;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&:not(.p-disabled):focus-visible {
|
|
30
|
+
@include focused();
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&.p-highlight {
|
|
35
|
+
.p-steps-number {
|
|
36
|
+
background: $highlightBg;
|
|
37
|
+
color: $highlightTextColor;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.p-steps-title {
|
|
41
|
+
font-weight: $stepsItemActiveFontWeight;
|
|
42
|
+
color: $textColor;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&:before {
|
|
47
|
+
content:' ';
|
|
48
|
+
border-top: $divider;
|
|
49
|
+
width: 100%;
|
|
50
|
+
top: 50%;
|
|
51
|
+
left: 0;
|
|
52
|
+
display: block;
|
|
53
|
+
position: absolute;
|
|
54
|
+
margin-top: math.div(-1 * $stepsItemNumberHeight, 2);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
.p-tabmenu {
|
|
2
|
+
.p-tabmenu-nav {
|
|
3
|
+
background: $tabviewNavBg;
|
|
4
|
+
border: $tabviewNavBorder;
|
|
5
|
+
border-width: $tabviewNavBorderWidth;
|
|
6
|
+
|
|
7
|
+
.p-tabmenuitem {
|
|
8
|
+
margin-right: $tabviewHeaderSpacing;
|
|
9
|
+
|
|
10
|
+
.p-menuitem-link {
|
|
11
|
+
border: $tabviewHeaderBorder;
|
|
12
|
+
border-width: $tabviewHeaderBorderWidth;
|
|
13
|
+
border-color: $tabviewHeaderBorderColor;
|
|
14
|
+
background: $tabviewHeaderBg;
|
|
15
|
+
color: $tabviewHeaderTextColor;
|
|
16
|
+
padding: $tabviewHeaderPadding;
|
|
17
|
+
font-weight: $tabviewHeaderFontWeight;
|
|
18
|
+
border-top-right-radius: $borderRadius;
|
|
19
|
+
border-top-left-radius: $borderRadius;
|
|
20
|
+
transition: $listItemTransition;
|
|
21
|
+
margin: $tabviewHeaderMargin;
|
|
22
|
+
height: calc(100% + #{-1 * nth($tabviewHeaderMargin, 3)});
|
|
23
|
+
|
|
24
|
+
.p-menuitem-icon {
|
|
25
|
+
margin-right: $inlineSpacing;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&:not(.p-disabled):focus-visible {
|
|
29
|
+
@include focused-inset();
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&:not(.p-highlight):not(.p-disabled):hover {
|
|
34
|
+
.p-menuitem-link {
|
|
35
|
+
background: $tabviewHeaderHoverBg;
|
|
36
|
+
border-color: $tabviewHeaderHoverBorderColor;
|
|
37
|
+
color: $tabviewHeaderTextHoverColor;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&.p-highlight {
|
|
42
|
+
.p-menuitem-link {
|
|
43
|
+
background: $tabviewHeaderActiveBg;
|
|
44
|
+
border-color: $tabviewHeaderActiveBorderColor;
|
|
45
|
+
color: $tabviewHeaderTextActiveColor;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|