linear-react-components-ui 0.4.76-rc.9 → 0.4.77-beta.10
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/.husky/pre-commit +2 -2
- package/.tool-versions +1 -0
- package/.vscode/settings.json +1 -2
- package/README.md +40 -5
- package/lib/@types/LabelStyles.js +5 -0
- package/lib/@types/PermissionAttr.js +5 -0
- package/lib/@types/PointerEvents.js +5 -0
- package/lib/@types/Position.js +5 -0
- package/lib/@types/Size.js +5 -0
- package/lib/@types/SizePixels.js +5 -0
- package/lib/alerts/AlertProvider.js +1 -1
- package/lib/alerts/BaseAlert.js +1 -1
- package/lib/assets/styles/button.scss +19 -10
- package/lib/assets/styles/checkbox.scss +92 -70
- package/lib/assets/styles/commons.scss +36 -0
- package/lib/assets/styles/drawers.scss +22 -6
- package/lib/assets/styles/dropdown.scss +28 -2
- package/lib/assets/styles/effects.scss +32 -0
- package/lib/assets/styles/floatMenu.scss +0 -1
- package/lib/assets/styles/gridlayout.scss +2 -1
- package/lib/assets/styles/input.scss +21 -0
- package/lib/assets/styles/label.scss +9 -1
- package/lib/assets/styles/list.scss +8 -0
- package/lib/assets/styles/multiSelect.scss +105 -0
- package/lib/assets/styles/panel.scss +3 -1
- package/lib/assets/styles/periodpicker.scss +65 -0
- package/lib/assets/styles/progress.scss +8 -1
- package/lib/assets/styles/radio.scss +19 -0
- package/lib/assets/styles/select.scss +4 -3
- package/lib/assets/styles/sidenav.scss +103 -42
- package/lib/assets/styles/skeleton.scss +48 -0
- package/lib/assets/styles/table.scss +25 -5
- package/lib/assets/styles/tabs.scss +116 -75
- package/lib/assets/styles/treeview.scss +41 -0
- package/lib/assets/styles/uitour.scss +112 -0
- package/lib/avatar/avatar.spec.js +17 -6
- package/lib/avatar/index.js +1 -1
- package/lib/buttons/DefaultButton.js +14 -5
- package/lib/buttons/index.js +28 -28
- package/lib/buttons/split_button/index.js +8 -4
- package/lib/buttons/types.js +5 -0
- package/lib/calendar/base/helpers.js +6 -6
- package/lib/calendar/base/index.js +1 -1
- package/lib/calendar/index.js +10 -10
- package/lib/checkbox/Label.js +37 -0
- package/lib/checkbox/checkbox.spec.js +16 -16
- package/lib/checkbox/index.js +34 -13
- package/lib/checkbox/types.js +5 -0
- package/lib/dialog/base/index.js +15 -6
- package/lib/dialog/form/index.js +24 -4
- package/lib/dialog/index.js +6 -6
- package/lib/drawer/Drawer.js +10 -6
- package/lib/drawer/Header.js +15 -5
- package/lib/drawer/index.js +8 -5
- package/lib/dropdown/Popup.js +3 -2
- package/lib/dropdown/types.js +5 -0
- package/lib/dropdown/withDropdown.js +2 -2
- package/lib/fieldset/index.js +1 -1
- package/lib/form/Field.js +3 -1
- package/lib/form/FieldNumber.js +11 -3
- package/lib/form/FieldPeriod.js +100 -0
- package/lib/form/form.spec.js +8 -0
- package/lib/form/helpers.js +20 -1
- package/lib/form/index.js +224 -222
- package/lib/form/withFieldHOC.js +6 -2
- package/lib/form/withFormSecurity.js +106 -0
- package/lib/icons/helper.js +24 -0
- package/lib/icons/types.js +5 -0
- package/lib/index.js +12 -12
- package/lib/inputs/base/InputTextBase.js +31 -6
- package/lib/inputs/base/helpers.js +14 -10
- package/lib/inputs/color/index.js +1 -1
- package/lib/inputs/date/Dropdown.js +4 -4
- package/lib/inputs/date/date.spec.js +46 -36
- package/lib/inputs/date/helpers.js +36 -0
- package/lib/inputs/date/index.js +13 -11
- package/lib/inputs/inputHOC.js +1 -1
- package/lib/inputs/mask/Cnpj.js +1 -1
- package/lib/inputs/mask/Cpf.js +1 -1
- package/lib/inputs/mask/Phone.js +10 -1
- package/lib/inputs/mask/helpers.js +2 -2
- package/lib/inputs/mask/imaskHOC.js +3 -2
- package/lib/inputs/mask/index.js +4 -4
- package/lib/inputs/mask/input_mask.spec.js +21 -4
- package/lib/inputs/multiSelect/ActionButtons.js +68 -0
- package/lib/inputs/multiSelect/Dropdown.js +200 -0
- package/lib/inputs/multiSelect/helper.js +18 -0
- package/lib/inputs/multiSelect/index.js +343 -0
- package/lib/inputs/number/BaseNumber.js +1 -1
- package/lib/inputs/number/format_number.js +1 -1
- package/lib/inputs/number/index.js +7 -5
- package/lib/inputs/period/Dialog.js +38 -0
- package/lib/inputs/period/Dropdown.js +90 -0
- package/lib/inputs/period/PeriodList.js +79 -0
- package/lib/inputs/period/helper.js +118 -0
- package/lib/inputs/period/index.js +490 -0
- package/lib/inputs/search/index.js +3 -1
- package/lib/inputs/select/Dropdown.js +56 -66
- package/lib/inputs/select/helper.js +65 -2
- package/lib/inputs/select/index.js +26 -3
- package/lib/inputs/select/multiple/index.js +17 -12
- package/lib/inputs/select/simple/index.js +40 -25
- package/lib/internals/constants.js +5 -4
- package/lib/internals/types.js +5 -0
- package/lib/internals/withTooltip.js +87 -83
- package/lib/labelMessages/index.js +1 -1
- package/lib/labelMessages/types.js +5 -0
- package/lib/labels/DefaultLabel.js +8 -5
- package/lib/labels/index.js +10 -10
- package/lib/list/Item.js +36 -10
- package/lib/list/helpers.js +8 -3
- package/lib/list/index.js +173 -15
- package/lib/list/list.spec.js +290 -89
- package/lib/menus/float/MenuItem.js +25 -8
- package/lib/menus/sidenav/NavMenuItem.js +18 -9
- package/lib/menus/sidenav/NavSubMenuItem.js +1 -1
- package/lib/menus/sidenav/helpers.js +1 -1
- package/lib/menus/sidenav/index.js +69 -96
- package/lib/menus/sidenav/popup_menu_search/index.js +29 -18
- package/lib/menus/sidenav/sidenav.spec.js +86 -19
- package/lib/panel/Default.js +1 -1
- package/lib/panel/Header.js +4 -3
- package/lib/panel/helpers.js +1 -1
- package/lib/panel/index.js +14 -14
- package/lib/permissionValidations.js +1 -1
- package/lib/progress/Bar.js +40 -9
- package/lib/progress/index.js +12 -4
- package/lib/radio/index.js +10 -7
- package/lib/radio/types.js +5 -0
- package/lib/skeleton/SkeletonContainer.js +42 -0
- package/lib/skeleton/index.js +84 -0
- package/lib/spinner/index.js +7 -2
- package/lib/split/Split.js +6 -12
- package/lib/table/Body.js +55 -11
- package/lib/table/Header.js +14 -1
- package/lib/table/HeaderColumn.js +26 -3
- package/lib/table/Row.js +19 -8
- package/lib/table/RowColumn.js +23 -3
- package/lib/table/helpers.js +11 -1
- package/lib/table/index.js +50 -17
- package/lib/tabs/DropdownItems.js +84 -0
- package/lib/tabs/Menu.js +12 -9
- package/lib/tabs/MenuItems.js +15 -9
- package/lib/tabs/Panel.js +2 -4
- package/lib/tabs/index.js +157 -23
- package/lib/tabs/tabHelpers.js +3 -2
- package/lib/tabs/tabs.spec.js +8 -5
- package/lib/toolbar/ButtonBar.js +30 -24
- package/lib/toolbar/LabelBar.js +22 -27
- package/lib/toolbar/helpers.js +12 -0
- package/lib/toolbar/index.js +32 -17
- package/lib/tooltip/index.js +20 -7
- package/lib/treeview/Node.js +365 -50
- package/lib/treeview/index.js +476 -37
- package/lib/treeview/treeview.spec.js +18 -0
- package/lib/treeview_old/Node.js +1 -1
- package/lib/uitour/helpers.js +15 -0
- package/lib/uitour/index.js +271 -0
- package/lib/uitour/uitour.spec.js +176 -0
- package/package.json +10 -8
- package/lib/inputs/date/helper.js +0 -16
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
@import "commons.scss";
|
|
2
|
+
@import "effects.scss";
|
|
3
|
+
.multiSelect-component {
|
|
4
|
+
width: 100%;
|
|
5
|
+
display: block;
|
|
6
|
+
.selectwrapper {
|
|
7
|
+
height: auto;
|
|
8
|
+
|
|
9
|
+
> .multiselect {
|
|
10
|
+
flex-wrap: wrap;
|
|
11
|
+
position: relative;
|
|
12
|
+
> .textinput {
|
|
13
|
+
order: 1;
|
|
14
|
+
display: inline-block;
|
|
15
|
+
}
|
|
16
|
+
> .selecteditem {
|
|
17
|
+
font-size: 14px;
|
|
18
|
+
position: absolute;
|
|
19
|
+
top: 50%;
|
|
20
|
+
left: 10px;
|
|
21
|
+
transform: translateY(-50%);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
> .actionbutton {
|
|
26
|
+
display: flex;
|
|
27
|
+
align-items: center;
|
|
28
|
+
cursor: pointer;
|
|
29
|
+
margin: 0 3px;
|
|
30
|
+
padding: 0 3px;
|
|
31
|
+
|
|
32
|
+
> svg {
|
|
33
|
+
margin: 0;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.multiSelect-component > .dropdown {
|
|
40
|
+
animation: 0.5s ease-in 0s 1 slideDown;
|
|
41
|
+
background-color: #fff;
|
|
42
|
+
border: $component-border-color;
|
|
43
|
+
@extend %component-menu-dropdown;
|
|
44
|
+
display: grid;
|
|
45
|
+
grid-template-rows: auto;
|
|
46
|
+
height: auto;
|
|
47
|
+
overflow-y: auto;
|
|
48
|
+
overflow-x: hidden;
|
|
49
|
+
position: absolute;
|
|
50
|
+
z-index: 9999;
|
|
51
|
+
> .filtercontainer {
|
|
52
|
+
position: relative;
|
|
53
|
+
display: grid;
|
|
54
|
+
grid-template-columns: 1fr 20px;
|
|
55
|
+
border: 1px solid $component-border-color;
|
|
56
|
+
margin: 4px;
|
|
57
|
+
> .filterinput {
|
|
58
|
+
border: 0;
|
|
59
|
+
font-size: 13px;
|
|
60
|
+
text-indent: 4px;
|
|
61
|
+
padding: 10px 5px;
|
|
62
|
+
}
|
|
63
|
+
> .filtericon {
|
|
64
|
+
position: absolute;
|
|
65
|
+
right: 5px;
|
|
66
|
+
top: 10px;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
> .listcontainer > .item {
|
|
70
|
+
margin: 0;
|
|
71
|
+
padding: 6px 10px;
|
|
72
|
+
display: flex;
|
|
73
|
+
cursor: pointer;
|
|
74
|
+
justify-content: stretch;
|
|
75
|
+
border-bottom: solid 1px #e1e1e1;
|
|
76
|
+
&:last-child {
|
|
77
|
+
border-bottom: none;
|
|
78
|
+
}
|
|
79
|
+
&:hover {
|
|
80
|
+
background-color: $default-hover-color;
|
|
81
|
+
}
|
|
82
|
+
&.-selected {
|
|
83
|
+
background-color: $default-hover-color;
|
|
84
|
+
}
|
|
85
|
+
.menubutton {
|
|
86
|
+
background-color: transparent;
|
|
87
|
+
border: 0;
|
|
88
|
+
padding: 0;
|
|
89
|
+
margin: 0;
|
|
90
|
+
display: flex;
|
|
91
|
+
justify-content: space-between;
|
|
92
|
+
align-items: center;
|
|
93
|
+
width: 100%;
|
|
94
|
+
> .checkboxicon {
|
|
95
|
+
margin-right: 5px;
|
|
96
|
+
}
|
|
97
|
+
> .label {
|
|
98
|
+
flex-grow: 1;
|
|
99
|
+
}
|
|
100
|
+
> .menuicon {
|
|
101
|
+
margin-right: 5px;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
@@ -6,6 +6,8 @@
|
|
|
6
6
|
height: 100%;
|
|
7
7
|
margin-bottom: 20px;
|
|
8
8
|
border: solid 1px $component-border-color;
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-direction: column;
|
|
9
11
|
&.panel-shadow {
|
|
10
12
|
box-shadow: 0 2px 5px 0 rgba(0,0,0,.16), 0 2px 10px 0 rgba(0,0,0,.12);
|
|
11
13
|
}
|
|
@@ -47,7 +49,7 @@
|
|
|
47
49
|
}
|
|
48
50
|
}
|
|
49
51
|
> .panel-content {
|
|
50
|
-
|
|
52
|
+
flex: 1;
|
|
51
53
|
overflow: auto;
|
|
52
54
|
padding: 15px;
|
|
53
55
|
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
@import "commons.scss";
|
|
2
|
+
@import "effects.scss";
|
|
3
|
+
.periodpicker-component {
|
|
4
|
+
height: auto;
|
|
5
|
+
position: relative;
|
|
6
|
+
display: flex;
|
|
7
|
+
border-radius: 2px;
|
|
8
|
+
border: 1px solid #dae1e8;
|
|
9
|
+
|
|
10
|
+
.inputwrapper {
|
|
11
|
+
border: none;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.separation_icon {
|
|
15
|
+
font-size: 16px;
|
|
16
|
+
flex: 0 0 10px;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.calendar-button {
|
|
20
|
+
flex: 0 0 20px;
|
|
21
|
+
padding: 4px;
|
|
22
|
+
border: none;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.input-base-component {
|
|
26
|
+
flex: 1;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.dropdown-period>.item {
|
|
32
|
+
margin: 0;
|
|
33
|
+
padding: 6px 10px;
|
|
34
|
+
display: flex;
|
|
35
|
+
cursor: pointer;
|
|
36
|
+
justify-content: stretch;
|
|
37
|
+
border-bottom: solid 1px #e1e1e1;
|
|
38
|
+
|
|
39
|
+
&:hover {
|
|
40
|
+
background-color: $default-hover-color;
|
|
41
|
+
}
|
|
42
|
+
&.-selected {
|
|
43
|
+
background-color: $default-hover-color;
|
|
44
|
+
}
|
|
45
|
+
&.-disabled {
|
|
46
|
+
@extend %component-menu-disabled;
|
|
47
|
+
&:hover {
|
|
48
|
+
background-color: transparent;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.dropdown-period {
|
|
54
|
+
width: 100%;
|
|
55
|
+
/* animation: 0.5s ease-in 0s 1 slideDown; */
|
|
56
|
+
background-color: #FFF;
|
|
57
|
+
border: #dae1e8;
|
|
58
|
+
display: grid;
|
|
59
|
+
grid-template-rows: auto;
|
|
60
|
+
height: auto;
|
|
61
|
+
overflow-y: auto;
|
|
62
|
+
overflow-x: hidden;
|
|
63
|
+
/* margin-top: 2px; */
|
|
64
|
+
z-index: 99999999999;
|
|
65
|
+
}
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
@import "colors.scss";
|
|
2
2
|
@import "commons.scss";
|
|
3
|
+
|
|
3
4
|
.container-progress {
|
|
4
5
|
display: flex;
|
|
5
6
|
overflow: hidden;
|
|
6
|
-
height: 24px;
|
|
7
7
|
margin-bottom: 20px;
|
|
8
8
|
background-color: #f5f5f5;
|
|
9
9
|
border-radius: 4px;
|
|
10
10
|
-webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,.1);
|
|
11
11
|
box-shadow: inset 0 1px 2px rgba(0,0,0,.1);
|
|
12
|
+
position: relative;
|
|
12
13
|
}
|
|
13
14
|
|
|
14
15
|
.bar {
|
|
@@ -50,6 +51,12 @@
|
|
|
50
51
|
-o-animation: progress-bar-stripes 2s linear infinite;
|
|
51
52
|
animation: progress-bar-stripes 2s linear infinite;
|
|
52
53
|
}
|
|
54
|
+
&.-indeterminate {
|
|
55
|
+
animation: slideWithPositionFromLeft infinite;
|
|
56
|
+
position: absolute;
|
|
57
|
+
left: -100%;
|
|
58
|
+
top: 0;
|
|
59
|
+
}
|
|
53
60
|
>.progressbar-label {
|
|
54
61
|
display: flex;
|
|
55
62
|
align-items: center;
|
|
@@ -89,3 +89,22 @@ $radio-button-ripple-size: 15px;
|
|
|
89
89
|
-webkit-transform: scale(1);
|
|
90
90
|
transform: scale(1);
|
|
91
91
|
}
|
|
92
|
+
|
|
93
|
+
.radio-button.-skeletonized {
|
|
94
|
+
> .radio-component:not(:checked) +.description,
|
|
95
|
+
> .radio-component:checked +.description {
|
|
96
|
+
cursor: initial;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
> .radio-component:checked + .description:before,
|
|
100
|
+
> .radio-component:checked +.description:after,
|
|
101
|
+
> .radio-component:not(:checked) + .description:before,
|
|
102
|
+
> .radio-component:not(:checked) +.description:after {
|
|
103
|
+
@extend %skeleton-component;
|
|
104
|
+
border-color: transparent;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
> .description > span {
|
|
108
|
+
@extend %skeleton-component;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
.select-component {
|
|
4
4
|
width: 100%;
|
|
5
5
|
display: block;
|
|
6
|
+
position: relative;
|
|
6
7
|
.selectwrapper {
|
|
7
8
|
height: auto;
|
|
8
9
|
}
|
|
@@ -47,7 +48,7 @@
|
|
|
47
48
|
}
|
|
48
49
|
}
|
|
49
50
|
|
|
50
|
-
.
|
|
51
|
+
.dropdown-component > .select-dropdown {
|
|
51
52
|
animation: 0.5s ease-in 0s 1 slideDown;
|
|
52
53
|
background-color: #FFF;
|
|
53
54
|
border: $component-border-color;
|
|
@@ -57,17 +58,17 @@
|
|
|
57
58
|
height: auto;
|
|
58
59
|
overflow-y: auto;
|
|
59
60
|
overflow-x: hidden;
|
|
60
|
-
position: absolute;
|
|
61
61
|
margin-top: 2px;
|
|
62
|
-
z-index: 99999999999;
|
|
63
62
|
> .filtercontainer {
|
|
64
63
|
display: grid;
|
|
65
64
|
grid-template-columns: 1fr 20px;
|
|
65
|
+
align-items: center;
|
|
66
66
|
border: 1px solid $component-border-color;
|
|
67
67
|
margin: 4px;
|
|
68
68
|
}
|
|
69
69
|
> .filtercontainer > .filterinput {
|
|
70
70
|
border: 0;
|
|
71
|
+
width: 100%;
|
|
71
72
|
font-size: 13px;
|
|
72
73
|
text-indent: 4px;
|
|
73
74
|
padding: 10px 5px;
|
|
@@ -6,68 +6,95 @@ que utilizam. Em caso de mudança, ficar atento para os refatores.
|
|
|
6
6
|
@import "commons.scss";
|
|
7
7
|
@import "effects.scss";
|
|
8
8
|
@import "colors.scss";
|
|
9
|
+
|
|
9
10
|
.sidenav-component {
|
|
10
11
|
height: 100%;
|
|
11
12
|
width: 100%;
|
|
12
13
|
overflow: hidden;
|
|
13
14
|
background-color: transparent;
|
|
14
15
|
border: 1px solid #eee;
|
|
15
|
-
|
|
16
|
-
|
|
16
|
+
|
|
17
|
+
&.-blocked {
|
|
18
|
+
opacity: 0.4;
|
|
19
|
+
pointer-events: none;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
>.expandedmenu,
|
|
23
|
+
>.collapsedmenu {
|
|
17
24
|
height: auto;
|
|
18
25
|
width: 100%;
|
|
19
|
-
|
|
26
|
+
|
|
27
|
+
>.item {
|
|
20
28
|
cursor: pointer;
|
|
21
29
|
border-bottom: 1px solid #eee;
|
|
22
30
|
width: 100%;
|
|
23
31
|
transition: all 0.2s ease-in-out;
|
|
32
|
+
|
|
24
33
|
&.-customsidenavitem {
|
|
25
34
|
display: flex;
|
|
26
35
|
align-items: center;
|
|
27
36
|
justify-content: center;
|
|
28
37
|
padding-left: 0px;
|
|
38
|
+
|
|
39
|
+
>.searchmenubutton {
|
|
40
|
+
width: 100%;
|
|
41
|
+
height: 100%;
|
|
42
|
+
display: flex;
|
|
43
|
+
align-items: center;
|
|
44
|
+
justify-content: center;
|
|
45
|
+
}
|
|
29
46
|
}
|
|
47
|
+
|
|
30
48
|
&.-customsidenavitem:hover {
|
|
31
49
|
background-color: white;
|
|
32
|
-
cursor: text;
|
|
33
50
|
}
|
|
51
|
+
|
|
34
52
|
&.-disabled {
|
|
35
53
|
@extend %component-disabled;
|
|
36
54
|
}
|
|
37
55
|
}
|
|
38
|
-
|
|
56
|
+
|
|
57
|
+
>.item:hover {
|
|
39
58
|
background-color: #eee;
|
|
40
59
|
}
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
60
|
+
|
|
61
|
+
>.item:hover>.menuicon,
|
|
62
|
+
>.item:hover .searchmenuicon,
|
|
63
|
+
>.item:hover>.menulink>.menuicon,
|
|
64
|
+
>.item:hover>.menulink .searchmenuicon {
|
|
45
65
|
fill: rgb(114, 114, 114);
|
|
46
66
|
}
|
|
47
|
-
|
|
48
|
-
|
|
67
|
+
|
|
68
|
+
>.item:hover>.title,
|
|
69
|
+
>.item:hover>.menulink>.title {
|
|
49
70
|
color: rgb(114, 114, 114);
|
|
50
71
|
}
|
|
51
72
|
}
|
|
52
|
-
|
|
53
|
-
|
|
73
|
+
|
|
74
|
+
>.expandedmenu.customscroll,
|
|
75
|
+
>.collapsedmenu.customscroll {
|
|
54
76
|
overflow-y: auto;
|
|
55
77
|
height: 100%;
|
|
78
|
+
|
|
56
79
|
&::-webkit-scrollbar {
|
|
57
80
|
width: 5px;
|
|
58
81
|
}
|
|
82
|
+
|
|
59
83
|
&::-webkit-scrollbar-track {
|
|
60
84
|
background: rgba(196, 222, 247, 0.5);
|
|
61
85
|
border-radius: 10px;
|
|
62
86
|
}
|
|
87
|
+
|
|
63
88
|
&::-webkit-scrollbar-thumb {
|
|
64
89
|
box-shadow: inset 0 0 5px #cecece;
|
|
65
90
|
border-radius: 10px;
|
|
66
91
|
}
|
|
92
|
+
|
|
67
93
|
&::-webkit-scrollbar-thumb:hover {
|
|
68
94
|
background: rgb(0, 195, 255);
|
|
69
95
|
}
|
|
70
96
|
}
|
|
97
|
+
|
|
71
98
|
.openclosemenu {
|
|
72
99
|
background: #f5f5f5;
|
|
73
100
|
width: 100%;
|
|
@@ -79,14 +106,17 @@ que utilizam. Em caso de mudança, ficar atento para os refatores.
|
|
|
79
106
|
align-content: center;
|
|
80
107
|
text-align: center;
|
|
81
108
|
transition: all 0.2s ease-in-out;
|
|
109
|
+
|
|
82
110
|
&:hover {
|
|
83
111
|
background: $border-container;
|
|
84
112
|
}
|
|
113
|
+
|
|
85
114
|
.icon-component {
|
|
86
115
|
justify-self: center;
|
|
87
116
|
width: 12px;
|
|
88
117
|
}
|
|
89
118
|
}
|
|
119
|
+
|
|
90
120
|
&.closefromexpanded {
|
|
91
121
|
background: transparent;
|
|
92
122
|
margin-top: 2px;
|
|
@@ -96,7 +126,7 @@ que utilizam. Em caso de mudança, ficar atento para os refatores.
|
|
|
96
126
|
}
|
|
97
127
|
}
|
|
98
128
|
|
|
99
|
-
.sidenav-component
|
|
129
|
+
.sidenav-component>.expandedmenu {
|
|
100
130
|
animation: revealelement 0.3s;
|
|
101
131
|
background-color: #fff;
|
|
102
132
|
overflow: none;
|
|
@@ -104,27 +134,32 @@ que utilizam. Em caso de mudança, ficar atento para os refatores.
|
|
|
104
134
|
-webkit-box-flex: 0;
|
|
105
135
|
-ms-flex: 0 0 70px;
|
|
106
136
|
flex: 0 0 70px;
|
|
107
|
-
|
|
137
|
+
|
|
138
|
+
>.item {
|
|
108
139
|
align-content: center;
|
|
109
140
|
background-color: #fff;
|
|
110
141
|
display: grid;
|
|
111
142
|
grid-template-columns: 30px 1fr;
|
|
112
143
|
height: 45px;
|
|
113
144
|
padding-left: 5px;
|
|
145
|
+
|
|
114
146
|
&.-withlink {
|
|
115
147
|
grid-template-columns: 1fr;
|
|
116
148
|
}
|
|
149
|
+
|
|
117
150
|
.menulink {
|
|
118
151
|
display: grid;
|
|
119
152
|
grid-template-columns: 30px 1fr;
|
|
120
153
|
align-items: center;
|
|
121
154
|
text-decoration: none;
|
|
122
155
|
}
|
|
123
|
-
|
|
156
|
+
|
|
157
|
+
>.menuicon {
|
|
124
158
|
justify-self: center;
|
|
125
159
|
}
|
|
126
|
-
|
|
127
|
-
|
|
160
|
+
|
|
161
|
+
>.title,
|
|
162
|
+
>.menulink>.title {
|
|
128
163
|
color: #666;
|
|
129
164
|
align-self: center;
|
|
130
165
|
justify-self: left;
|
|
@@ -133,62 +168,75 @@ que utilizam. Em caso de mudança, ficar atento para os refatores.
|
|
|
133
168
|
}
|
|
134
169
|
}
|
|
135
170
|
|
|
136
|
-
.sidenav-component
|
|
171
|
+
.sidenav-component>.collapsedmenu {
|
|
137
172
|
display: flex;
|
|
138
173
|
flex-wrap: wrap;
|
|
139
174
|
align-content: flex-start;
|
|
140
|
-
|
|
175
|
+
|
|
176
|
+
>.item {
|
|
141
177
|
height: 50px;
|
|
142
178
|
display: grid;
|
|
143
179
|
grid-template-rows: 1fr;
|
|
144
180
|
align-items: center;
|
|
145
|
-
align-content: center;
|
|
181
|
+
align-content: center;
|
|
182
|
+
|
|
146
183
|
&.-withlink {
|
|
147
184
|
align-items: stretch;
|
|
148
185
|
}
|
|
149
|
-
|
|
186
|
+
|
|
187
|
+
>.menulink {
|
|
150
188
|
display: grid;
|
|
151
189
|
grid-template-rows: 1fr;
|
|
152
190
|
align-items: center;
|
|
153
191
|
}
|
|
154
|
-
|
|
155
|
-
|
|
192
|
+
|
|
193
|
+
>.menuicon,
|
|
194
|
+
>.menulink>.menuicon {
|
|
156
195
|
justify-self: center;
|
|
157
196
|
}
|
|
158
197
|
}
|
|
198
|
+
|
|
159
199
|
&.-small {
|
|
160
200
|
width: 55px;
|
|
161
|
-
|
|
201
|
+
|
|
202
|
+
>.item {
|
|
162
203
|
height: 40px;
|
|
163
204
|
}
|
|
205
|
+
|
|
164
206
|
.-iconcenter {
|
|
165
207
|
width: 55px !important;
|
|
166
208
|
}
|
|
167
209
|
}
|
|
210
|
+
|
|
168
211
|
&.-medium {
|
|
169
212
|
width: 55px;
|
|
170
|
-
|
|
213
|
+
|
|
214
|
+
>.item {
|
|
171
215
|
height: 50px;
|
|
172
216
|
}
|
|
217
|
+
|
|
173
218
|
.-iconcenter {
|
|
174
219
|
width: 65px !important;
|
|
175
220
|
}
|
|
176
221
|
}
|
|
222
|
+
|
|
177
223
|
&.-large {
|
|
178
224
|
width: 75px;
|
|
179
|
-
|
|
225
|
+
|
|
226
|
+
>.item {
|
|
180
227
|
height: 60px;
|
|
181
228
|
}
|
|
229
|
+
|
|
182
230
|
.-iconcenter {
|
|
183
231
|
width: 75px !important;
|
|
184
232
|
}
|
|
185
233
|
}
|
|
186
234
|
}
|
|
187
235
|
|
|
188
|
-
.sidenav-component
|
|
189
|
-
.sidenav-component
|
|
236
|
+
.sidenav-component>.collapsedmenu>.item>.submenu-container,
|
|
237
|
+
.sidenav-component>.expandedmenu>.item>.submenu-container {
|
|
190
238
|
animation: 0.5s ease-in 0s 1 slideLeft;
|
|
191
|
-
background-color: #eee
|
|
239
|
+
background-color: #eee;
|
|
192
240
|
height: auto;
|
|
193
241
|
width: auto;
|
|
194
242
|
float: right;
|
|
@@ -198,7 +246,8 @@ que utilizam. Em caso de mudança, ficar atento para os refatores.
|
|
|
198
246
|
-moz-box-shadow: 3px 1px 6px 0px rgba(50, 50, 50, 0.35);
|
|
199
247
|
box-shadow: 3px 1px 6px 0px rgba(50, 50, 50, 0.35);
|
|
200
248
|
z-index: 9999999;
|
|
201
|
-
|
|
249
|
+
|
|
250
|
+
>.title {
|
|
202
251
|
color: #777777;
|
|
203
252
|
font-size: 24px;
|
|
204
253
|
font-weight: bold;
|
|
@@ -206,28 +255,33 @@ que utilizam. Em caso de mudança, ficar atento para os refatores.
|
|
|
206
255
|
height: 36px;
|
|
207
256
|
line-height: 36px;
|
|
208
257
|
}
|
|
258
|
+
|
|
209
259
|
.submenu {
|
|
210
260
|
color: #808080;
|
|
211
261
|
display: grid;
|
|
212
262
|
grid-template-columns: repeat(2, 1fr);
|
|
213
263
|
align-content: center;
|
|
214
264
|
align-items: flex-start;
|
|
215
|
-
|
|
265
|
+
|
|
266
|
+
>.item {
|
|
216
267
|
display: grid;
|
|
217
268
|
min-height: 40px;
|
|
218
269
|
/* height: 40px; */
|
|
219
270
|
align-content: center;
|
|
220
271
|
display: grid;
|
|
221
272
|
margin-left: 20px;
|
|
273
|
+
|
|
222
274
|
&.-disabled {
|
|
223
275
|
@extend %component-disabled;
|
|
224
276
|
background-color: #eee !important;
|
|
225
277
|
}
|
|
226
278
|
}
|
|
227
|
-
|
|
279
|
+
|
|
280
|
+
>.item:hover {
|
|
228
281
|
color: #333;
|
|
229
282
|
}
|
|
230
|
-
|
|
283
|
+
|
|
284
|
+
>.item:before {
|
|
231
285
|
position: absolute;
|
|
232
286
|
content: '';
|
|
233
287
|
left: -15px;
|
|
@@ -236,24 +290,27 @@ que utilizam. Em caso de mudança, ficar atento para os refatores.
|
|
|
236
290
|
border-bottom: 5px solid transparent;
|
|
237
291
|
border-left: 5px solid #808080;
|
|
238
292
|
}
|
|
239
|
-
|
|
293
|
+
|
|
294
|
+
>.item:nth-child(even) {
|
|
240
295
|
padding-left: 5px;
|
|
241
296
|
}
|
|
242
|
-
|
|
297
|
+
|
|
298
|
+
>.item>.menulink {
|
|
243
299
|
grid-template-columns: 1fr;
|
|
244
300
|
text-decoration: none;
|
|
245
301
|
}
|
|
246
302
|
}
|
|
247
303
|
}
|
|
248
|
-
|
|
304
|
+
|
|
249
305
|
.searchmenu {
|
|
250
|
-
background-color: #fff
|
|
306
|
+
background-color: #fff;
|
|
251
307
|
border: solid 1px $component-border-color;
|
|
252
308
|
border-radius: 4px;
|
|
253
309
|
width: 300px;
|
|
254
310
|
position: absolute;
|
|
255
311
|
padding: 20px;
|
|
256
|
-
|
|
312
|
+
|
|
313
|
+
>.closebutton {
|
|
257
314
|
cursor: pointer;
|
|
258
315
|
float: right;
|
|
259
316
|
margin: -21px -33px 15px 0px;
|
|
@@ -267,15 +324,19 @@ que utilizam. Em caso de mudança, ficar atento para os refatores.
|
|
|
267
324
|
justify-content: center;
|
|
268
325
|
height: 100%;
|
|
269
326
|
width: 100%;
|
|
270
|
-
|
|
327
|
+
|
|
328
|
+
>.text,
|
|
329
|
+
.subtext {
|
|
271
330
|
color: #a8a8a8;
|
|
272
331
|
text-align: center;
|
|
273
332
|
}
|
|
274
|
-
|
|
333
|
+
|
|
334
|
+
>.text {
|
|
275
335
|
font-size: 26px;
|
|
276
336
|
margin-top: 20px;
|
|
277
337
|
}
|
|
278
|
-
|
|
338
|
+
|
|
339
|
+
>.subtext {
|
|
279
340
|
font-size: 15px;
|
|
280
341
|
margin-top: 5px;
|
|
281
342
|
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
@import "commons.scss";
|
|
2
|
+
@import "colors.scss";
|
|
3
|
+
@import "effects.scss";
|
|
4
|
+
|
|
5
|
+
.skeletoncontainer-component {
|
|
6
|
+
width: 100%;
|
|
7
|
+
height: 100%;
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-direction: column;
|
|
10
|
+
gap: 10px;
|
|
11
|
+
|
|
12
|
+
&.-row {
|
|
13
|
+
flex-direction: row;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.skeleton-component {
|
|
18
|
+
width: 100%;
|
|
19
|
+
height: 100%;
|
|
20
|
+
flex-grow: 1;
|
|
21
|
+
margin-bottom: 10px;
|
|
22
|
+
@extend %skeleton-component;
|
|
23
|
+
|
|
24
|
+
&.-round {
|
|
25
|
+
flex-grow: 0;
|
|
26
|
+
margin: 0;
|
|
27
|
+
padding: 0;
|
|
28
|
+
box-sizing: border-box;
|
|
29
|
+
border-radius: 50%;
|
|
30
|
+
|
|
31
|
+
&.-mini {
|
|
32
|
+
width: 36px;
|
|
33
|
+
height: 36px;
|
|
34
|
+
}
|
|
35
|
+
&.-small {
|
|
36
|
+
width: 48px;
|
|
37
|
+
height: 48px;
|
|
38
|
+
}
|
|
39
|
+
&.-medium {
|
|
40
|
+
width: 64px;
|
|
41
|
+
height: 64px;
|
|
42
|
+
}
|
|
43
|
+
&.-large {
|
|
44
|
+
width: 96px;
|
|
45
|
+
height: 96px;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|