@orangesix/react 1.0.11 → 1.1.0
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/api/index.d.ts +2 -2
- package/autocomplete/index.cjs.js +2 -0
- package/autocomplete/index.cjs.js.map +1 -0
- package/autocomplete/index.d.ts +149 -0
- package/autocomplete/index.esm.js +2 -0
- package/autocomplete/index.esm.js.map +1 -0
- package/autocomplete/package.json +5 -0
- package/box/_box.scss +0 -27
- package/box/index.cjs.js.map +1 -1
- package/box/index.d.ts +2 -2
- package/box/index.esm.js.map +1 -1
- package/editor/_editor.scss +12 -21
- package/editor/index.cjs.js.map +1 -1
- package/editor/index.esm.js.map +1 -1
- package/inputfilter/_inputfilter.scss +2 -7
- package/inputfilter/index.cjs.js.map +1 -1
- package/inputfilter/index.d.ts +1 -1
- package/inputfilter/index.esm.js.map +1 -1
- package/package.json +16 -23
- package/style/index.cjs.js +2 -0
- package/style/index.cjs.js.map +1 -0
- package/style/index.d.ts +2 -0
- package/style/index.esm.js +2 -0
- package/style/index.esm.js.map +1 -0
- package/style/index.ts +0 -0
- package/style/scss/_variables.scss +925 -0
- package/style/scss/bootstrap.scss +31 -0
- package/style/scss/components/_root.scss +110 -0
- package/style/scss/components/button/_button.scss +644 -0
- package/style/scss/components/button/_speeddial.scss +91 -0
- package/style/scss/components/button/_splitbutton.scss +359 -0
- package/style/scss/components/data/_carousel.scss +39 -0
- package/style/scss/components/data/_datascroller.scss +47 -0
- package/style/scss/components/data/_datatable.scss +414 -0
- package/style/scss/components/data/_dataview.scss +47 -0
- package/style/scss/components/data/_filter.scss +138 -0
- package/style/scss/components/data/_orderlist.scss +86 -0
- package/style/scss/components/data/_organizationchart.scss +50 -0
- package/style/scss/components/data/_paginator.scss +91 -0
- package/style/scss/components/data/_picklist.scss +74 -0
- package/style/scss/components/data/_timeline.scss +38 -0
- package/style/scss/components/data/_tree.scss +184 -0
- package/style/scss/components/data/_treetable.scss +431 -0
- package/style/scss/components/file/_fileupload.scss +41 -0
- package/style/scss/components/input/_autocomplete.scss +106 -0
- package/style/scss/components/input/_calendar.scss +251 -0
- package/style/scss/components/input/_cascadeselect.scss +107 -0
- package/style/scss/components/input/_checkbox.scss +181 -0
- package/style/scss/components/input/_chips.scss +102 -0
- package/style/scss/components/input/_colorpicker.scss +18 -0
- package/style/scss/components/input/_dropdown.scss +255 -0
- package/style/scss/components/input/_editor.scss +122 -0
- package/style/scss/components/input/_iconfield.scss +10 -0
- package/style/scss/components/input/_inputgroup.scss +74 -0
- package/style/scss/components/input/_inputicon.scss +15 -0
- package/style/scss/components/input/_inputnumber.scss +5 -0
- package/style/scss/components/input/_inputotp.scss +10 -0
- package/style/scss/components/input/_inputswitch.scss +100 -0
- package/style/scss/components/input/_inputtext.scss +101 -0
- package/style/scss/components/input/_listbox.scss +139 -0
- package/style/scss/components/input/_mention.scss +31 -0
- package/style/scss/components/input/_multiselect.scss +278 -0
- package/style/scss/components/input/_password.scss +33 -0
- package/style/scss/components/input/_radiobutton.scss +170 -0
- package/style/scss/components/input/_rating.scss +81 -0
- package/style/scss/components/input/_selectbutton.scss +50 -0
- package/style/scss/components/input/_slider.scss +49 -0
- package/style/scss/components/input/_togglebutton.scss +99 -0
- package/style/scss/components/input/_treeselect.scss +151 -0
- package/style/scss/components/input/_tristatecheckbox.scss +46 -0
- package/style/scss/components/menu/_breadcrumb.scss +42 -0
- package/style/scss/components/menu/_contextmenu.scss +39 -0
- package/style/scss/components/menu/_dock.scss +109 -0
- package/style/scss/components/menu/_megamenu.scss +141 -0
- package/style/scss/components/menu/_menu.scss +33 -0
- package/style/scss/components/menu/_menubar.scss +216 -0
- package/style/scss/components/menu/_panelmenu.scss +153 -0
- package/style/scss/components/menu/_slidemenu.scss +60 -0
- package/style/scss/components/menu/_steps.scss +57 -0
- package/style/scss/components/menu/_tabmenu.scss +50 -0
- package/style/scss/components/menu/_tieredmenu.scss +43 -0
- package/style/scss/components/messages/_inlinemessage.scss +69 -0
- package/style/scss/components/messages/_message.scss +107 -0
- package/style/scss/components/messages/_toast.scss +100 -0
- package/style/scss/components/misc/_avatar.scss +34 -0
- package/style/scss/components/misc/_badge.scss +77 -0
- package/style/scss/components/misc/_blockui.scss +0 -0
- package/style/scss/components/misc/_chip.scss +39 -0
- package/style/scss/components/misc/_inplace.scss +17 -0
- package/style/scss/components/misc/_metergroup.scss +81 -0
- package/style/scss/components/misc/_progressbar.scss +17 -0
- package/style/scss/components/misc/_scrolltop.scss +25 -0
- package/style/scss/components/misc/_skeleton.scss +8 -0
- package/style/scss/components/misc/_tag.scss +40 -0
- package/style/scss/components/misc/_terminal.scss +12 -0
- package/style/scss/components/multimedia/_galleria.scss +153 -0
- package/style/scss/components/multimedia/_image.scss +54 -0
- package/style/scss/components/overlay/_confirmpopup.scss +72 -0
- package/style/scss/components/overlay/_dialog.scss +78 -0
- package/style/scss/components/overlay/_overlaypanel.scss +64 -0
- package/style/scss/components/overlay/_sidebar.scss +23 -0
- package/style/scss/components/overlay/_tooltip.scss +33 -0
- package/style/scss/components/panel/_accordion.scss +118 -0
- package/style/scss/components/panel/_card.scss +30 -0
- package/style/scss/components/panel/_divider.scss +31 -0
- package/style/scss/components/panel/_fieldset.scss +47 -0
- package/style/scss/components/panel/_panel.scss +47 -0
- package/style/scss/components/panel/_scrollpanel.scss +10 -0
- package/style/scss/components/panel/_splitter.scss +23 -0
- package/style/scss/components/panel/_stepper.scss +136 -0
- package/style/scss/components/panel/_tabview.scss +148 -0
- package/style/scss/components/panel/_toolbar.scss +11 -0
- package/style/scss/core/_colors.scss +18 -0
- package/style/scss/core/_extensions.scss +27 -0
- package/style/scss/core/_mixins.scss +243 -0
- package/style/scss/core/_reset.scss +75 -0
- package/table/index.cjs.js +1 -1
- package/table/index.cjs.js.map +1 -1
- package/table/index.d.ts +3 -8
- package/table/index.esm.js +1 -1
- package/table/index.esm.js.map +1 -1
- package/tablepivot/_tablepivot.scss +15 -31
- package/tablepivot/index.cjs.js.map +1 -1
- package/tablepivot/index.esm.js.map +1 -1
- package/tabview/index.cjs.js +2 -0
- package/tabview/index.cjs.js.map +1 -0
- package/tabview/index.d.ts +137 -0
- package/tabview/index.esm.js +2 -0
- package/tabview/index.esm.js.map +1 -0
- package/tabview/package.json +5 -0
- package/utils/index.cjs.js.map +1 -1
- package/utils/index.esm.js.map +1 -1
- package/api/theme.css +0 -1
- package/table/_table.scss +0 -141
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
.p-panel {
|
|
2
|
+
.p-panel-header {
|
|
3
|
+
border: $panelHeaderBorder;
|
|
4
|
+
padding: $panelHeaderPadding;
|
|
5
|
+
background: $panelHeaderBg;
|
|
6
|
+
color: $panelHeaderTextColor;
|
|
7
|
+
border-top-right-radius: $borderRadius;
|
|
8
|
+
border-top-left-radius: $borderRadius;
|
|
9
|
+
|
|
10
|
+
.p-panel-title {
|
|
11
|
+
font-weight: $panelHeaderFontWeight;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.p-panel-header-icon {
|
|
15
|
+
@include action-icon();
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&.p-panel-toggleable {
|
|
20
|
+
.p-panel-header {
|
|
21
|
+
padding: $panelToggleableHeaderPadding;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&:has(> .p-panel-footer) .p-panel-content {
|
|
26
|
+
border-bottom-left-radius: 0;
|
|
27
|
+
border-bottom-right-radius: 0;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.p-panel-content {
|
|
31
|
+
padding: $panelContentPadding;
|
|
32
|
+
border: $panelContentBorder;
|
|
33
|
+
background: $panelContentBg;
|
|
34
|
+
color: $panelContentTextColor;
|
|
35
|
+
border-bottom-right-radius: $borderRadius;
|
|
36
|
+
border-bottom-left-radius: $borderRadius;
|
|
37
|
+
border-top: 0 none;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.p-panel-footer {
|
|
41
|
+
padding: $panelFooterPadding;
|
|
42
|
+
border: $panelFooterBorder;
|
|
43
|
+
background: $panelFooterBg;
|
|
44
|
+
color: $panelFooterTextColor;
|
|
45
|
+
border-top: 0 none;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
.p-splitter {
|
|
2
|
+
border: $panelContentBorder;
|
|
3
|
+
background: $panelContentBg;
|
|
4
|
+
border-radius: $borderRadius;
|
|
5
|
+
color: $panelContentTextColor;
|
|
6
|
+
|
|
7
|
+
.p-splitter-gutter {
|
|
8
|
+
transition: $actionIconTransition;
|
|
9
|
+
background: $splitterGutterBg;
|
|
10
|
+
|
|
11
|
+
.p-splitter-gutter-handle {
|
|
12
|
+
background: $splitterGutterHandleBg;
|
|
13
|
+
|
|
14
|
+
&:focus-visible {
|
|
15
|
+
@include focused();
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.p-splitter-gutter-resizing {
|
|
21
|
+
background: $splitterGutterHandleBg;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
@use "sass:math";
|
|
2
|
+
|
|
3
|
+
//theme
|
|
4
|
+
.p-stepper {
|
|
5
|
+
.p-stepper-nav {
|
|
6
|
+
display: flex;
|
|
7
|
+
justify-content: space-between;
|
|
8
|
+
margin: 0;
|
|
9
|
+
padding: 0;
|
|
10
|
+
list-style-type: none;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.p-stepper-header {
|
|
14
|
+
padding: $inlineSpacing;
|
|
15
|
+
|
|
16
|
+
.p-stepper-action {
|
|
17
|
+
transition: $listItemTransition;
|
|
18
|
+
border-radius: $borderRadius;
|
|
19
|
+
background: $stepsItemBg;
|
|
20
|
+
outline-color: transparent;
|
|
21
|
+
|
|
22
|
+
.p-stepper-number {
|
|
23
|
+
color: $stepsItemNumberColor;
|
|
24
|
+
border: $stepsItemBorder;
|
|
25
|
+
border-width: 2px;
|
|
26
|
+
background: $stepsItemBg;
|
|
27
|
+
min-width: $stepsItemNumberWidth;
|
|
28
|
+
height: $stepsItemNumberHeight;
|
|
29
|
+
line-height: $stepsItemNumberHeight;
|
|
30
|
+
font-size: $stepsItemNumberFontSize;
|
|
31
|
+
border-radius: $stepsItemNumberBorderRadius;
|
|
32
|
+
transition: $actionIconTransition;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.p-stepper-title {
|
|
36
|
+
margin-left: $inlineSpacing;
|
|
37
|
+
color: $stepsItemTextColor;
|
|
38
|
+
font-weight: $stepsItemActiveFontWeight;
|
|
39
|
+
transition: $actionIconTransition;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&:not(.p-disabled):focus-visible {
|
|
43
|
+
@include focused();
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&.p-highlight {
|
|
48
|
+
.p-stepper-number {
|
|
49
|
+
background: $highlightBg;
|
|
50
|
+
color: $highlightTextColor;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.p-stepper-title {
|
|
54
|
+
color: $textColor;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
&:not(.p-disabled):focus-visible {
|
|
59
|
+
@include focused();
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
&:has(~ .p-highlight) {
|
|
63
|
+
@if variable-exists(primaryColor) {
|
|
64
|
+
.p-stepper-separator {
|
|
65
|
+
background-color: $primaryColor;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.p-stepper-panels {
|
|
72
|
+
background: $tabviewContentBg;
|
|
73
|
+
padding: $tabviewContentPadding;
|
|
74
|
+
color: $tabviewContentTextColor;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.p-stepper-separator {
|
|
78
|
+
background-color: $timelineEventColor;
|
|
79
|
+
width: 100%;
|
|
80
|
+
height: 2px;
|
|
81
|
+
margin-inline-start: calc($inlineSpacing * 2);
|
|
82
|
+
transition: $listItemTransition;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
&.p-stepper-vertical {
|
|
86
|
+
display: flex;
|
|
87
|
+
flex-direction: column;
|
|
88
|
+
|
|
89
|
+
.p-stepper-toggleable-content {
|
|
90
|
+
display: flex;
|
|
91
|
+
flex: 1 1 auto;
|
|
92
|
+
background: $tabviewContentBg;
|
|
93
|
+
color: $tabviewContentTextColor;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.p-stepper-panel {
|
|
97
|
+
display: flex;
|
|
98
|
+
flex-direction: column;
|
|
99
|
+
flex: initial;
|
|
100
|
+
|
|
101
|
+
&.p-stepper-panel-active {
|
|
102
|
+
flex: 1 1 auto;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.p-stepper-header {
|
|
106
|
+
flex: initial;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.p-stepper-content {
|
|
110
|
+
width: 100%;
|
|
111
|
+
padding-left: calc($inlineSpacing * 2);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.p-stepper-separator {
|
|
115
|
+
flex: 0 0 auto;
|
|
116
|
+
width: 2px;
|
|
117
|
+
height: auto;
|
|
118
|
+
margin-inline-start: calc($inlineSpacing * 7 / 2 + 2px);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
&:has(~ .p-stepper-panel-active) {
|
|
122
|
+
@if variable-exists(primaryColor) {
|
|
123
|
+
.p-stepper-separator {
|
|
124
|
+
background-color: $primaryColor;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
&:last-of-type {
|
|
130
|
+
.p-stepper-content {
|
|
131
|
+
padding-left: calc($inlineSpacing * 6);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
//core
|
|
2
|
+
.p-tabview-nav-container {
|
|
3
|
+
position: relative;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.p-tabview-scrollable .p-tabview-nav-container {
|
|
7
|
+
overflow: hidden;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.p-tabview-nav-content {
|
|
11
|
+
overflow-x: auto;
|
|
12
|
+
overflow-y: hidden;
|
|
13
|
+
scroll-behavior: smooth;
|
|
14
|
+
scrollbar-width: none;
|
|
15
|
+
overscroll-behavior: contain auto;
|
|
16
|
+
position: relative;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.p-tabview-nav {
|
|
20
|
+
display: flex;
|
|
21
|
+
margin: 0;
|
|
22
|
+
padding: 0;
|
|
23
|
+
list-style-type: none;
|
|
24
|
+
flex: 1 1 auto;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.p-tabview-nav-link {
|
|
28
|
+
cursor: pointer;
|
|
29
|
+
user-select: none;
|
|
30
|
+
display: flex;
|
|
31
|
+
align-items: center;
|
|
32
|
+
position: relative;
|
|
33
|
+
text-decoration: none;
|
|
34
|
+
overflow: hidden;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.p-tabview-ink-bar {
|
|
38
|
+
display: none;
|
|
39
|
+
z-index: 1;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.p-tabview-nav-link:focus {
|
|
43
|
+
z-index: 1;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.p-tabview-close {
|
|
47
|
+
z-index: 1;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.p-tabview-title {
|
|
51
|
+
line-height: 1;
|
|
52
|
+
white-space: nowrap;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.p-tabview-nav-btn {
|
|
56
|
+
position: absolute;
|
|
57
|
+
top: 0;
|
|
58
|
+
z-index: 2;
|
|
59
|
+
height: 100%;
|
|
60
|
+
display: flex;
|
|
61
|
+
align-items: center;
|
|
62
|
+
justify-content: center;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.p-tabview-nav-prev {
|
|
66
|
+
left: 0;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.p-tabview-nav-next {
|
|
70
|
+
right: 0;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.p-tabview-nav-content::-webkit-scrollbar {
|
|
74
|
+
display: none;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
//theme
|
|
78
|
+
.p-tabview {
|
|
79
|
+
.p-tabview-nav {
|
|
80
|
+
background: $tabviewNavBg;
|
|
81
|
+
border: $tabviewNavBorder;
|
|
82
|
+
border-width: $tabviewNavBorderWidth;
|
|
83
|
+
|
|
84
|
+
li {
|
|
85
|
+
margin-right: $tabviewHeaderSpacing;
|
|
86
|
+
|
|
87
|
+
.p-tabview-nav-link {
|
|
88
|
+
border: $tabviewHeaderBorder;
|
|
89
|
+
border-width: $tabviewHeaderBorderWidth;
|
|
90
|
+
border-color: $tabviewHeaderBorderColor;
|
|
91
|
+
background: $tabviewHeaderBg;
|
|
92
|
+
color: $tabviewHeaderTextColor !important;
|
|
93
|
+
padding: $tabviewHeaderPadding;
|
|
94
|
+
font-weight: $tabviewHeaderFontWeight;
|
|
95
|
+
border-top-right-radius: $borderRadius;
|
|
96
|
+
border-top-left-radius: $borderRadius;
|
|
97
|
+
transition: $listItemTransition;
|
|
98
|
+
margin: $tabviewHeaderMargin;
|
|
99
|
+
|
|
100
|
+
&:not(.p-disabled):focus-visible {
|
|
101
|
+
@include focused-inset();
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
&:not(.p-highlight):not(.p-disabled):hover {
|
|
106
|
+
.p-tabview-nav-link {
|
|
107
|
+
background: $tabviewHeaderHoverBg;
|
|
108
|
+
border-color: $tabviewHeaderHoverBorderColor;
|
|
109
|
+
color: $tabviewHeaderTextHoverColor;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
&.p-highlight {
|
|
114
|
+
.p-tabview-nav-link {
|
|
115
|
+
background: $tabviewHeaderActiveBg;
|
|
116
|
+
border-color: $tabviewHeaderActiveBorderColor;
|
|
117
|
+
color: $tabviewHeaderTextActiveColor;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.p-tabview-close {
|
|
124
|
+
margin-left: $inlineSpacing;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.p-tabview-nav-btn.p-link {
|
|
128
|
+
background: $tabviewHeaderActiveBg;
|
|
129
|
+
color: $tabviewHeaderTextActiveColor;
|
|
130
|
+
width: $buttonIconOnlyWidth;
|
|
131
|
+
box-shadow: $raisedButtonShadow;
|
|
132
|
+
border-radius: 0;
|
|
133
|
+
|
|
134
|
+
&:focus-visible {
|
|
135
|
+
@include focused-inset();
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.p-tabview-panels {
|
|
140
|
+
background: $tabviewContentBg;
|
|
141
|
+
padding: $tabviewContentPadding;
|
|
142
|
+
border: $tabviewContentBorder;
|
|
143
|
+
color: $tabviewContentTextColor;
|
|
144
|
+
border-bottom-right-radius: $borderRadius;
|
|
145
|
+
border-bottom-left-radius: $borderRadius;
|
|
146
|
+
font-size: $tabviewContentFontSize !important;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
@if variable-exists(colors) {
|
|
3
|
+
@each $name, $color in $colors {
|
|
4
|
+
@for $i from 0 through 5 {
|
|
5
|
+
@if ($i == 0) {
|
|
6
|
+
--#{$name}-50:#{tint($color, (5 - $i) * 19%)};
|
|
7
|
+
}
|
|
8
|
+
@else {
|
|
9
|
+
--#{$name}-#{$i * 100}:#{tint($color, (5 - $i) * 19%)};
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@for $i from 1 through 4 {
|
|
14
|
+
--#{$name}-#{($i + 5) * 100}:#{shade($color, $i * 15%)};
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
@layer primereact {
|
|
2
|
+
.p-carousel {
|
|
3
|
+
.p-carousel-indicators .p-carousel-indicator.p-highlight button {
|
|
4
|
+
background-color: $primaryColor;
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.p-galleria {
|
|
9
|
+
.p-galleria-indicators .p-galleria-indicator.p-highlight button {
|
|
10
|
+
background-color: $primaryColor;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.p-datatable {
|
|
15
|
+
.p-datatable-tbody {
|
|
16
|
+
> tr {
|
|
17
|
+
&.p-datatable-dragpoint-top > td {
|
|
18
|
+
box-shadow: inset 0 2px 0 0 $primaryColor;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&.p-datatable-dragpoint-bottom > td {
|
|
22
|
+
box-shadow: inset 0 -2px 0 0 $primaryColor;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,243 @@
|
|
|
1
|
+
@mixin icon-override($icon) {
|
|
2
|
+
&:before {
|
|
3
|
+
content: $icon;
|
|
4
|
+
}
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
@mixin focused() {
|
|
8
|
+
outline: $focusOutline;
|
|
9
|
+
outline-offset: $focusOutlineOffset;
|
|
10
|
+
box-shadow: $focusShadow;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@mixin focused-inset() {
|
|
14
|
+
outline: $focusOutline;
|
|
15
|
+
outline-offset: $focusOutlineOffset;
|
|
16
|
+
box-shadow: inset $focusShadow;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@mixin focused-input() {
|
|
20
|
+
@include focused();
|
|
21
|
+
border-color: $inputFocusBorderColor;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
@mixin focused-listitem() {
|
|
25
|
+
outline: $focusOutline;
|
|
26
|
+
outline-offset: $focusOutlineOffset;
|
|
27
|
+
box-shadow: $inputListItemFocusShadow;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
@mixin invalid-input() {
|
|
31
|
+
border-color: $inputErrorBorderColor;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
@mixin menuitem-link {
|
|
35
|
+
> .p-menuitem-content {
|
|
36
|
+
color: $menuitemTextColor;
|
|
37
|
+
transition: $listItemTransition;
|
|
38
|
+
border-radius: $menuitemBorderRadius;
|
|
39
|
+
|
|
40
|
+
.p-menuitem-link {
|
|
41
|
+
color: $menuitemTextColor;
|
|
42
|
+
padding: $menuitemPadding;
|
|
43
|
+
user-select: none;
|
|
44
|
+
|
|
45
|
+
.p-menuitem-text {
|
|
46
|
+
color: $menuitemTextColor;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.p-menuitem-icon {
|
|
50
|
+
color: $menuitemIconColor;
|
|
51
|
+
margin-right: $inlineSpacing;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.p-submenu-icon {
|
|
55
|
+
color: $menuitemIconColor;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
&.p-highlight {
|
|
61
|
+
> .p-menuitem-content {
|
|
62
|
+
color: $menuitemTextActiveColor;
|
|
63
|
+
background: $menuitemActiveBg;
|
|
64
|
+
|
|
65
|
+
.p-menuitem-link {
|
|
66
|
+
.p-menuitem-text {
|
|
67
|
+
color: $menuitemTextActiveColor;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.p-menuitem-icon,
|
|
71
|
+
.p-submenu-icon {
|
|
72
|
+
color: $menuitemIconActiveColor;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
&.p-focus {
|
|
78
|
+
> .p-menuitem-content {
|
|
79
|
+
background: $menuitemActiveFocusBg;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
&:not(.p-highlight):not(.p-disabled) {
|
|
85
|
+
&.p-focus {
|
|
86
|
+
> .p-menuitem-content {
|
|
87
|
+
color: $menuitemTextFocusColor;
|
|
88
|
+
background: $menuitemFocusBg;
|
|
89
|
+
|
|
90
|
+
.p-menuitem-link {
|
|
91
|
+
.p-menuitem-text {
|
|
92
|
+
color: $menuitemTextFocusColor;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.p-menuitem-icon,
|
|
96
|
+
.p-submenu-icon {
|
|
97
|
+
color: $menuitemIconFocusColor;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
> .p-menuitem-content {
|
|
104
|
+
&:hover {
|
|
105
|
+
color: $menuitemTextHoverColor;
|
|
106
|
+
background: $menuitemHoverBg;
|
|
107
|
+
|
|
108
|
+
.p-menuitem-link {
|
|
109
|
+
.p-menuitem-text {
|
|
110
|
+
color: $menuitemTextHoverColor;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.p-menuitem-icon,
|
|
114
|
+
.p-submenu-icon {
|
|
115
|
+
color: $menuitemIconHoverColor;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
@mixin horizontal-rootmenuitem-link {
|
|
124
|
+
> .p-menuitem-content {
|
|
125
|
+
color: $horizontalMenuRootMenuitemTextColor;
|
|
126
|
+
transition: $listItemTransition;
|
|
127
|
+
border-radius: $horizontalMenuRootMenuitemBorderRadius;
|
|
128
|
+
|
|
129
|
+
.p-menuitem-link {
|
|
130
|
+
padding: $horizontalMenuRootMenuitemPadding;
|
|
131
|
+
user-select: none;
|
|
132
|
+
|
|
133
|
+
.p-menuitem-text {
|
|
134
|
+
color: $horizontalMenuRootMenuitemTextColor;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.p-menuitem-icon {
|
|
138
|
+
color: $horizontalMenuRootMenuitemIconColor;
|
|
139
|
+
margin-right: $inlineSpacing;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.p-submenu-icon {
|
|
143
|
+
color: $horizontalMenuRootMenuitemIconColor;
|
|
144
|
+
margin-left: $inlineSpacing;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
&:not(.p-highlight):not(.p-disabled) {
|
|
150
|
+
> .p-menuitem-content {
|
|
151
|
+
&:hover {
|
|
152
|
+
color: $horizontalMenuRootMenuitemTextHoverColor;
|
|
153
|
+
background: $horizontalMenuRootMenuitemHoverBg;
|
|
154
|
+
|
|
155
|
+
.p-menuitem-link {
|
|
156
|
+
.p-menuitem-text {
|
|
157
|
+
color: $horizontalMenuRootMenuitemTextHoverColor;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.p-menuitem-icon,
|
|
161
|
+
.p-submenu-icon {
|
|
162
|
+
color: $horizontalMenuRootMenuitemIconHoverColor;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
@mixin placeholder {
|
|
171
|
+
::-webkit-input-placeholder {
|
|
172
|
+
@content;
|
|
173
|
+
}
|
|
174
|
+
:-moz-placeholder {
|
|
175
|
+
@content;
|
|
176
|
+
}
|
|
177
|
+
::-moz-placeholder {
|
|
178
|
+
@content;
|
|
179
|
+
}
|
|
180
|
+
:-ms-input-placeholder {
|
|
181
|
+
@content;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
@mixin scaledPadding($val, $scale) {
|
|
186
|
+
padding: nth($val, 1) * $scale nth($val, 2) * $scale;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
@mixin scaledFontSize($val, $scale) {
|
|
190
|
+
font-size: $val * $scale;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
@mixin nested-submenu-indents($val, $index, $length) {
|
|
194
|
+
ul {
|
|
195
|
+
li {
|
|
196
|
+
a {
|
|
197
|
+
padding-left: $val * ($index + 1);
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
@if $index < $length {
|
|
201
|
+
@include nested-submenu-indents($val, $index + 2, $length);
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
@mixin action-icon($enabled: true) {
|
|
208
|
+
width: $actionIconWidth;
|
|
209
|
+
height: $actionIconHeight;
|
|
210
|
+
color: $actionIconColor;
|
|
211
|
+
border: $actionIconBorder;
|
|
212
|
+
background: $actionIconBg;
|
|
213
|
+
border-radius: $actionIconBorderRadius;
|
|
214
|
+
transition: $actionIconTransition;
|
|
215
|
+
|
|
216
|
+
@if $enabled {
|
|
217
|
+
&:enabled:hover {
|
|
218
|
+
@include action-icon-hover();
|
|
219
|
+
}
|
|
220
|
+
} @else {
|
|
221
|
+
&:hover {
|
|
222
|
+
@include action-icon-hover();
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
&:focus-visible {
|
|
227
|
+
@include focused();
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
@mixin action-icon-hover() {
|
|
232
|
+
color: $actionIconHoverColor;
|
|
233
|
+
border-color: $actionIconHoverBorderColor;
|
|
234
|
+
background: $actionIconHoverBg;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
@function tint($color, $percentage) {
|
|
238
|
+
@return mix(#fff, $color, $percentage);
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
@function shade($color, $percentage) {
|
|
242
|
+
@return mix(#000, $color, $percentage);
|
|
243
|
+
}
|