spiderly 19.3.0 → 19.4.0-preview.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/README.md +17 -17
- package/fesm2022/spiderly.mjs +122 -85
- package/fesm2022/spiderly.mjs.map +1 -1
- package/lib/components/layout/layout.component.d.ts +5 -1
- package/lib/components/spiderly-data-table/spiderly-data-table.component.d.ts +14 -1
- package/package.json +1 -1
- package/styles/components/info-card/info-card.component.scss +60 -60
- package/styles/components/layout/profile-avatar/profile-avatar.component.scss +8 -8
- package/styles/components/layout/topbar/topbar.component.scss +38 -38
- package/styles/components/spiderly-data-table/spiderly-data-table.component.scss +48 -48
- package/styles/components/spiderly-data-view/spiderly-data-view.component.scss +55 -55
- package/styles/components/spiderly-panels/panel-body/panel-body.component.scss +8 -8
- package/styles/components/spiderly-panels/panel-footer/panel-footer.component.scss +16 -16
- package/styles/components/spiderly-panels/spiderly-panel/spiderly-panel.component.scss +87 -87
- package/styles/controls/base-controls.scss +16 -16
- package/styles/controls/spiderly-checkbox/spiderly-checkbox.component.scss +22 -22
- package/styles/styles/layout/_content.scss +14 -14
- package/styles/styles/layout/_footer.scss +11 -11
- package/styles/styles/layout/_main.scss +34 -34
- package/styles/styles/layout/_menu.scss +137 -137
- package/styles/styles/layout/_mixins.scss +13 -13
- package/styles/styles/layout/_preloading.scss +47 -47
- package/styles/styles/layout/_responsive.scss +102 -102
- package/styles/styles/layout/_spiderly-controls.scss +14 -14
- package/styles/styles/layout/_topbar.scss +235 -235
- package/styles/styles/layout/_typography.scss +63 -63
- package/styles/styles/layout/_utils.scss +19 -19
- package/styles/styles/layout/_variables.scss +908 -908
- package/styles/styles/layout/layout.scss +11 -11
- package/styles/styles/shared.scss +483 -483
- package/styles/styles/styles.scss +2 -2
|
@@ -1,88 +1,88 @@
|
|
|
1
|
-
:host {
|
|
2
|
-
::ng-deep {
|
|
3
|
-
.spiderly-panel{
|
|
4
|
-
.p-panel-content{
|
|
5
|
-
padding: 0;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
.p-panel{
|
|
9
|
-
overflow: hidden;
|
|
10
|
-
}
|
|
11
|
-
.p-panel-icons{
|
|
12
|
-
display: flex;
|
|
13
|
-
align-items: center;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.panel-header-cursor-pointer {
|
|
17
|
-
.p-panel-header {
|
|
18
|
-
cursor: pointer !important;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.multiple-panel-first-without-header{
|
|
25
|
-
.p-panel {
|
|
26
|
-
border-bottom-left-radius: 0px;
|
|
27
|
-
border-bottom-right-radius: 0px;
|
|
28
|
-
border-top: 1px solid var(--surface-border);
|
|
29
|
-
border-top-left-radius: var(--p-content-border-radius);
|
|
30
|
-
border-top-right-radius: var(--p-content-border-radius);
|
|
31
|
-
border-bottom: none;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.multiple-panel-middle-without-header{
|
|
36
|
-
.p-panel {
|
|
37
|
-
border-bottom-left-radius: 0px;
|
|
38
|
-
border-bottom-right-radius: 0px;
|
|
39
|
-
border-top: 1px solid var(--surface-border);
|
|
40
|
-
border-top-left-radius: 0px;
|
|
41
|
-
border-top-right-radius: 0px;
|
|
42
|
-
border-bottom: none;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.multiple-panel-last-without-header{
|
|
47
|
-
.p-panel {
|
|
48
|
-
border-bottom-left-radius: var(--p-content-border-radius);
|
|
49
|
-
border-bottom-right-radius: var(--p-content-border-radius);
|
|
50
|
-
border-top: 1px solid var(--surface-border);
|
|
51
|
-
border-top-left-radius: 0px;
|
|
52
|
-
border-top-right-radius: 0px;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.multiple-panel-first{
|
|
57
|
-
.p-panel {
|
|
58
|
-
border-bottom-left-radius: 0px;
|
|
59
|
-
border-bottom-right-radius: 0px;
|
|
60
|
-
border-bottom: none;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.panel-border{
|
|
65
|
-
.p-panel {
|
|
66
|
-
border-bottom-left-radius: var(--p-content-border-radius);
|
|
67
|
-
border-bottom-right-radius: var(--p-content-border-radius);
|
|
68
|
-
border-bottom: 1px solid var(--surface-border);
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.multiple-panel-middle {
|
|
73
|
-
.p-panel {
|
|
74
|
-
border-radius: 0px;
|
|
75
|
-
border-bottom: none;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.multiple-panel-last {
|
|
80
|
-
.p-panel {
|
|
81
|
-
border-top-left-radius: 0px;
|
|
82
|
-
border-top-right-radius: 0px;
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.panel-body-wrapper{
|
|
87
|
-
padding: 18px;
|
|
1
|
+
:host {
|
|
2
|
+
::ng-deep {
|
|
3
|
+
.spiderly-panel{
|
|
4
|
+
.p-panel-content{
|
|
5
|
+
padding: 0;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
.p-panel{
|
|
9
|
+
overflow: hidden;
|
|
10
|
+
}
|
|
11
|
+
.p-panel-icons{
|
|
12
|
+
display: flex;
|
|
13
|
+
align-items: center;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.panel-header-cursor-pointer {
|
|
17
|
+
.p-panel-header {
|
|
18
|
+
cursor: pointer !important;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.multiple-panel-first-without-header{
|
|
25
|
+
.p-panel {
|
|
26
|
+
border-bottom-left-radius: 0px;
|
|
27
|
+
border-bottom-right-radius: 0px;
|
|
28
|
+
border-top: 1px solid var(--surface-border);
|
|
29
|
+
border-top-left-radius: var(--p-content-border-radius);
|
|
30
|
+
border-top-right-radius: var(--p-content-border-radius);
|
|
31
|
+
border-bottom: none;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.multiple-panel-middle-without-header{
|
|
36
|
+
.p-panel {
|
|
37
|
+
border-bottom-left-radius: 0px;
|
|
38
|
+
border-bottom-right-radius: 0px;
|
|
39
|
+
border-top: 1px solid var(--surface-border);
|
|
40
|
+
border-top-left-radius: 0px;
|
|
41
|
+
border-top-right-radius: 0px;
|
|
42
|
+
border-bottom: none;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.multiple-panel-last-without-header{
|
|
47
|
+
.p-panel {
|
|
48
|
+
border-bottom-left-radius: var(--p-content-border-radius);
|
|
49
|
+
border-bottom-right-radius: var(--p-content-border-radius);
|
|
50
|
+
border-top: 1px solid var(--surface-border);
|
|
51
|
+
border-top-left-radius: 0px;
|
|
52
|
+
border-top-right-radius: 0px;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.multiple-panel-first{
|
|
57
|
+
.p-panel {
|
|
58
|
+
border-bottom-left-radius: 0px;
|
|
59
|
+
border-bottom-right-radius: 0px;
|
|
60
|
+
border-bottom: none;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.panel-border{
|
|
65
|
+
.p-panel {
|
|
66
|
+
border-bottom-left-radius: var(--p-content-border-radius);
|
|
67
|
+
border-bottom-right-radius: var(--p-content-border-radius);
|
|
68
|
+
border-bottom: 1px solid var(--surface-border);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.multiple-panel-middle {
|
|
73
|
+
.p-panel {
|
|
74
|
+
border-radius: 0px;
|
|
75
|
+
border-bottom: none;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.multiple-panel-last {
|
|
80
|
+
.p-panel {
|
|
81
|
+
border-top-left-radius: 0px;
|
|
82
|
+
border-top-right-radius: 0px;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.panel-body-wrapper{
|
|
87
|
+
padding: 18px;
|
|
88
88
|
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
.spiderly-inputgroup {
|
|
2
|
-
display: flex;
|
|
3
|
-
gap: 8px;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
.spiderly-inputgroup-addon {
|
|
7
|
-
width: 38px;
|
|
8
|
-
cursor: pointer;
|
|
9
|
-
background-color: var(--p-primary-color);
|
|
10
|
-
border-color: var(--p-primary-color);
|
|
11
|
-
border-radius: var(--p-content-border-radius);
|
|
12
|
-
display: flex;
|
|
13
|
-
|
|
14
|
-
i {
|
|
15
|
-
margin: auto;
|
|
16
|
-
}
|
|
1
|
+
.spiderly-inputgroup {
|
|
2
|
+
display: flex;
|
|
3
|
+
gap: 8px;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.spiderly-inputgroup-addon {
|
|
7
|
+
width: 38px;
|
|
8
|
+
cursor: pointer;
|
|
9
|
+
background-color: var(--p-primary-color);
|
|
10
|
+
border-color: var(--p-primary-color);
|
|
11
|
+
border-radius: var(--p-content-border-radius);
|
|
12
|
+
display: flex;
|
|
13
|
+
|
|
14
|
+
i {
|
|
15
|
+
margin: auto;
|
|
16
|
+
}
|
|
17
17
|
}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
::ng-deep {
|
|
2
|
-
.p-checkbox-false {
|
|
3
|
-
.p-checkbox-box {
|
|
4
|
-
border-color: var(--p-checkbox-checked-border-color);
|
|
5
|
-
background: var(--p-checkbox-checked-background);
|
|
6
|
-
}
|
|
7
|
-
.p-checkbox:not(.p-disabled):has(.p-checkbox-input:hover) .p-checkbox-box {
|
|
8
|
-
border-color: var(--p-checkbox-checked-hover-border-color);
|
|
9
|
-
background: var(--p-checkbox-checked-hover-background);
|
|
10
|
-
}
|
|
11
|
-
.p-checkbox-false:has(.p-checkbox.p-disabled) .p-checkbox-false-icon {
|
|
12
|
-
color: var(--p-checkbox-icon-disabled-color);
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.p-checkbox-false-icon {
|
|
18
|
-
position: absolute;
|
|
19
|
-
top: 3px;
|
|
20
|
-
left: 2.7px;
|
|
21
|
-
font-size: 12.25px;
|
|
22
|
-
color: var(--p-checkbox-icon-checked-color);
|
|
1
|
+
::ng-deep {
|
|
2
|
+
.p-checkbox-false {
|
|
3
|
+
.p-checkbox-box {
|
|
4
|
+
border-color: var(--p-checkbox-checked-border-color);
|
|
5
|
+
background: var(--p-checkbox-checked-background);
|
|
6
|
+
}
|
|
7
|
+
.p-checkbox:not(.p-disabled):has(.p-checkbox-input:hover) .p-checkbox-box {
|
|
8
|
+
border-color: var(--p-checkbox-checked-hover-border-color);
|
|
9
|
+
background: var(--p-checkbox-checked-hover-background);
|
|
10
|
+
}
|
|
11
|
+
.p-checkbox-false:has(.p-checkbox.p-disabled) .p-checkbox-false-icon {
|
|
12
|
+
color: var(--p-checkbox-icon-disabled-color);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.p-checkbox-false-icon {
|
|
18
|
+
position: absolute;
|
|
19
|
+
top: 3px;
|
|
20
|
+
left: 2.7px;
|
|
21
|
+
font-size: 12.25px;
|
|
22
|
+
color: var(--p-checkbox-icon-checked-color);
|
|
23
23
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
@use './_variables' as *;
|
|
2
|
-
|
|
3
|
-
.layout-main-container {
|
|
4
|
-
display: flex;
|
|
5
|
-
flex-direction: column;
|
|
6
|
-
min-height: 100vh;
|
|
7
|
-
justify-content: space-between;
|
|
8
|
-
padding: 7rem 2rem 2rem 4rem;
|
|
9
|
-
transition: margin-left $transitionDuration;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.layout-main {
|
|
13
|
-
flex: 1 1 auto;
|
|
14
|
-
}
|
|
1
|
+
@use './_variables' as *;
|
|
2
|
+
|
|
3
|
+
.layout-main-container {
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
min-height: 100vh;
|
|
7
|
+
justify-content: space-between;
|
|
8
|
+
padding: 7rem 2rem 2rem 4rem;
|
|
9
|
+
transition: margin-left $transitionDuration;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.layout-main {
|
|
13
|
+
flex: 1 1 auto;
|
|
14
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
@use './_variables' as *;
|
|
2
|
-
|
|
3
|
-
.layout-footer {
|
|
4
|
-
transition: margin-left $transitionDuration;
|
|
5
|
-
display: flex;
|
|
6
|
-
align-items: center;
|
|
7
|
-
justify-content: center;
|
|
8
|
-
padding-top: 1.5rem;
|
|
9
|
-
border-top: 1px solid var(--surface-border);
|
|
10
|
-
margin-top: 2rem;
|
|
11
|
-
}
|
|
1
|
+
@use './_variables' as *;
|
|
2
|
+
|
|
3
|
+
.layout-footer {
|
|
4
|
+
transition: margin-left $transitionDuration;
|
|
5
|
+
display: flex;
|
|
6
|
+
align-items: center;
|
|
7
|
+
justify-content: center;
|
|
8
|
+
padding-top: 1.5rem;
|
|
9
|
+
border-top: 1px solid var(--surface-border);
|
|
10
|
+
margin-top: 2rem;
|
|
11
|
+
}
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
@use './_variables' as *;
|
|
2
|
-
|
|
3
|
-
* {
|
|
4
|
-
box-sizing: border-box;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
html {
|
|
8
|
-
height: 100%;
|
|
9
|
-
font-size: $scale;
|
|
10
|
-
scroll-behavior: smooth;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
body {
|
|
14
|
-
font-family: var(--font-family);
|
|
15
|
-
color: var(--p-text-color);
|
|
16
|
-
background-color: var(--p-surface-50);
|
|
17
|
-
margin: 0;
|
|
18
|
-
padding: 0;
|
|
19
|
-
min-height: 100%;
|
|
20
|
-
-webkit-font-smoothing: antialiased;
|
|
21
|
-
-moz-osx-font-smoothing: grayscale;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.dark body {
|
|
25
|
-
background-color: var(--p-surface-950);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
a {
|
|
29
|
-
text-decoration: none;
|
|
30
|
-
color: var(--p-primary-color);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.layout-wrapper {
|
|
34
|
-
min-height: 100vh;
|
|
1
|
+
@use './_variables' as *;
|
|
2
|
+
|
|
3
|
+
* {
|
|
4
|
+
box-sizing: border-box;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
html {
|
|
8
|
+
height: 100%;
|
|
9
|
+
font-size: $scale;
|
|
10
|
+
scroll-behavior: smooth;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
body {
|
|
14
|
+
font-family: var(--font-family);
|
|
15
|
+
color: var(--p-text-color);
|
|
16
|
+
background-color: var(--p-surface-50);
|
|
17
|
+
margin: 0;
|
|
18
|
+
padding: 0;
|
|
19
|
+
min-height: 100%;
|
|
20
|
+
-webkit-font-smoothing: antialiased;
|
|
21
|
+
-moz-osx-font-smoothing: grayscale;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.dark body {
|
|
25
|
+
background-color: var(--p-surface-950);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
a {
|
|
29
|
+
text-decoration: none;
|
|
30
|
+
color: var(--p-primary-color);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.layout-wrapper {
|
|
34
|
+
min-height: 100vh;
|
|
35
35
|
}
|
|
@@ -1,138 +1,138 @@
|
|
|
1
|
-
@use './_variables' as *;
|
|
2
|
-
@use './_mixins' as *;
|
|
3
|
-
|
|
4
|
-
.layout-sidebar {
|
|
5
|
-
position: fixed;
|
|
6
|
-
width: 300px;
|
|
7
|
-
height: calc(100vh - 9rem);
|
|
8
|
-
z-index: 999;
|
|
9
|
-
overflow-y: auto;
|
|
10
|
-
user-select: none;
|
|
11
|
-
top: 7rem;
|
|
12
|
-
left: 2rem;
|
|
13
|
-
transition: transform $transitionDuration, left $transitionDuration;
|
|
14
|
-
background-color: var(--p-content-background);
|
|
15
|
-
border-radius: var(--p-content-border-radius);
|
|
16
|
-
padding: 0.5rem 1.5rem;
|
|
17
|
-
box-shadow: 0px 3px 5px rgba(0, 0, 0, .02), 0px 0px 2px rgba(0, 0, 0, .05), 0px 1px 4px rgba(0, 0, 0, .08);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.layout-menu {
|
|
21
|
-
margin: 0;
|
|
22
|
-
padding: 0;
|
|
23
|
-
list-style-type: none;
|
|
24
|
-
|
|
25
|
-
.layout-root-menuitem {
|
|
26
|
-
>.layout-menuitem-root-text {
|
|
27
|
-
font-size: .857rem;
|
|
28
|
-
text-transform: uppercase;
|
|
29
|
-
font-weight: 700;
|
|
30
|
-
color: var(--surface-900);
|
|
31
|
-
margin: .75rem 0;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
>a {
|
|
35
|
-
display: none;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
a {
|
|
40
|
-
user-select: none;
|
|
41
|
-
|
|
42
|
-
&.active-menuitem {
|
|
43
|
-
>.layout-submenu-toggler {
|
|
44
|
-
transform: rotate(-180deg);
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
li.active-menuitem {
|
|
50
|
-
>a {
|
|
51
|
-
.layout-submenu-toggler {
|
|
52
|
-
transform: rotate(-180deg);
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
ul {
|
|
58
|
-
margin: 0;
|
|
59
|
-
padding: 0;
|
|
60
|
-
list-style-type: none;
|
|
61
|
-
|
|
62
|
-
a {
|
|
63
|
-
display: flex;
|
|
64
|
-
align-items: center;
|
|
65
|
-
position: relative;
|
|
66
|
-
outline: 0 none;
|
|
67
|
-
color: var(--p-text-color);
|
|
68
|
-
cursor: pointer;
|
|
69
|
-
padding: .75rem 1rem;
|
|
70
|
-
border-radius: var(--p-content-border-radius);
|
|
71
|
-
transition: background-color $transitionDuration, box-shadow $transitionDuration;
|
|
72
|
-
|
|
73
|
-
.layout-menuitem-icon {
|
|
74
|
-
margin-right: .5rem;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.layout-submenu-toggler {
|
|
78
|
-
font-size: 75%;
|
|
79
|
-
margin-left: auto;
|
|
80
|
-
transition: transform $transitionDuration;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
&.active-route {
|
|
84
|
-
font-weight: 700;
|
|
85
|
-
color: var(--p-primary-color);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
&:hover {
|
|
89
|
-
background-color: var(--p-content-hover-background);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
&:focus {
|
|
93
|
-
@include focused-inset();
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
ul {
|
|
98
|
-
overflow: hidden;
|
|
99
|
-
border-radius: var(--p-content-border-radius);
|
|
100
|
-
|
|
101
|
-
li {
|
|
102
|
-
a {
|
|
103
|
-
margin-left: 1rem;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
li {
|
|
107
|
-
a {
|
|
108
|
-
margin-left: 2rem;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
li {
|
|
112
|
-
a {
|
|
113
|
-
margin-left: 2.5rem;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
li {
|
|
117
|
-
a {
|
|
118
|
-
margin-left: 3rem;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
li {
|
|
122
|
-
a {
|
|
123
|
-
margin-left: 3.5rem;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
li {
|
|
127
|
-
a {
|
|
128
|
-
margin-left: 4rem;
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
}
|
|
1
|
+
@use './_variables' as *;
|
|
2
|
+
@use './_mixins' as *;
|
|
3
|
+
|
|
4
|
+
.layout-sidebar {
|
|
5
|
+
position: fixed;
|
|
6
|
+
width: 300px;
|
|
7
|
+
height: calc(100vh - 9rem);
|
|
8
|
+
z-index: 999;
|
|
9
|
+
overflow-y: auto;
|
|
10
|
+
user-select: none;
|
|
11
|
+
top: 7rem;
|
|
12
|
+
left: 2rem;
|
|
13
|
+
transition: transform $transitionDuration, left $transitionDuration;
|
|
14
|
+
background-color: var(--p-content-background);
|
|
15
|
+
border-radius: var(--p-content-border-radius);
|
|
16
|
+
padding: 0.5rem 1.5rem;
|
|
17
|
+
box-shadow: 0px 3px 5px rgba(0, 0, 0, .02), 0px 0px 2px rgba(0, 0, 0, .05), 0px 1px 4px rgba(0, 0, 0, .08);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.layout-menu {
|
|
21
|
+
margin: 0;
|
|
22
|
+
padding: 0;
|
|
23
|
+
list-style-type: none;
|
|
24
|
+
|
|
25
|
+
.layout-root-menuitem {
|
|
26
|
+
>.layout-menuitem-root-text {
|
|
27
|
+
font-size: .857rem;
|
|
28
|
+
text-transform: uppercase;
|
|
29
|
+
font-weight: 700;
|
|
30
|
+
color: var(--surface-900);
|
|
31
|
+
margin: .75rem 0;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
>a {
|
|
35
|
+
display: none;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
a {
|
|
40
|
+
user-select: none;
|
|
41
|
+
|
|
42
|
+
&.active-menuitem {
|
|
43
|
+
>.layout-submenu-toggler {
|
|
44
|
+
transform: rotate(-180deg);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
li.active-menuitem {
|
|
50
|
+
>a {
|
|
51
|
+
.layout-submenu-toggler {
|
|
52
|
+
transform: rotate(-180deg);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
ul {
|
|
58
|
+
margin: 0;
|
|
59
|
+
padding: 0;
|
|
60
|
+
list-style-type: none;
|
|
61
|
+
|
|
62
|
+
a {
|
|
63
|
+
display: flex;
|
|
64
|
+
align-items: center;
|
|
65
|
+
position: relative;
|
|
66
|
+
outline: 0 none;
|
|
67
|
+
color: var(--p-text-color);
|
|
68
|
+
cursor: pointer;
|
|
69
|
+
padding: .75rem 1rem;
|
|
70
|
+
border-radius: var(--p-content-border-radius);
|
|
71
|
+
transition: background-color $transitionDuration, box-shadow $transitionDuration;
|
|
72
|
+
|
|
73
|
+
.layout-menuitem-icon {
|
|
74
|
+
margin-right: .5rem;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.layout-submenu-toggler {
|
|
78
|
+
font-size: 75%;
|
|
79
|
+
margin-left: auto;
|
|
80
|
+
transition: transform $transitionDuration;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
&.active-route {
|
|
84
|
+
font-weight: 700;
|
|
85
|
+
color: var(--p-primary-color);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
&:hover {
|
|
89
|
+
background-color: var(--p-content-hover-background);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
&:focus {
|
|
93
|
+
@include focused-inset();
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
ul {
|
|
98
|
+
overflow: hidden;
|
|
99
|
+
border-radius: var(--p-content-border-radius);
|
|
100
|
+
|
|
101
|
+
li {
|
|
102
|
+
a {
|
|
103
|
+
margin-left: 1rem;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
li {
|
|
107
|
+
a {
|
|
108
|
+
margin-left: 2rem;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
li {
|
|
112
|
+
a {
|
|
113
|
+
margin-left: 2.5rem;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
li {
|
|
117
|
+
a {
|
|
118
|
+
margin-left: 3rem;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
li {
|
|
122
|
+
a {
|
|
123
|
+
margin-left: 3.5rem;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
li {
|
|
127
|
+
a {
|
|
128
|
+
margin-left: 4rem;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
138
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
@mixin focused() {
|
|
2
|
-
outline: 0 none;
|
|
3
|
-
outline-offset: 0;
|
|
4
|
-
transition: box-shadow .2s;
|
|
5
|
-
box-shadow: 0 0 0 0.2rem var(--p-primary-400);
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
@mixin focused-inset() {
|
|
9
|
-
outline: 0 none;
|
|
10
|
-
outline-offset: 0;
|
|
11
|
-
transition: box-shadow .2s;
|
|
12
|
-
box-shadow: inset 0 0 0 0.2rem var(--p-primary-400);
|
|
13
|
-
}
|
|
1
|
+
@mixin focused() {
|
|
2
|
+
outline: 0 none;
|
|
3
|
+
outline-offset: 0;
|
|
4
|
+
transition: box-shadow .2s;
|
|
5
|
+
box-shadow: 0 0 0 0.2rem var(--p-primary-400);
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
@mixin focused-inset() {
|
|
9
|
+
outline: 0 none;
|
|
10
|
+
outline-offset: 0;
|
|
11
|
+
transition: box-shadow .2s;
|
|
12
|
+
box-shadow: inset 0 0 0 0.2rem var(--p-primary-400);
|
|
13
|
+
}
|