@ngx-smz/layout 21.10.0-next.13 → 21.10.0-next.17

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.
@@ -1,117 +1,117 @@
1
- @media screen and (min-width: 1960px) {
2
- .layout-main,
3
- .landing-wrapper {
4
- width: 1504px;
5
- margin-left: auto !important;
6
- margin-right: auto !important;
7
- }
8
- }
9
-
10
- @media (min-width: 992px) {
11
- .layout-wrapper {
12
- &.layout-overlay {
13
- .layout-main-container {
14
- margin-left: 0;
15
- padding-left: 2rem;
16
- }
17
-
18
- .layout-sidebar {
19
- transform: translateX(-100%);
20
- left: 0;
21
- top: 0;
22
- height: 100vh;
23
- border-top-left-radius: 0;
24
- border-bottom-left-radius: 0;
25
- border-right: 1px solid var(--surface-border);
26
- transition:
27
- transform 0.4s cubic-bezier(0.05, 0.74, 0.2, 0.99),
28
- left 0.4s cubic-bezier(0.05, 0.74, 0.2, 0.99);
29
- box-shadow:
30
- 0px 3px 5px rgba(0, 0, 0, 0.02),
31
- 0px 0px 2px rgba(0, 0, 0, 0.05),
32
- 0px 1px 4px rgba(0, 0, 0, 0.08);
33
- }
34
-
35
- &.layout-overlay-active {
36
- .layout-sidebar {
37
- transform: translateX(0);
38
- }
39
- }
40
- }
41
-
42
- &.layout-static {
43
- .layout-main-container {
44
- margin-left: 22rem;
45
- }
46
-
47
- &.layout-static-inactive {
48
- .layout-sidebar {
49
- transform: translateX(-100%);
50
- left: 0;
51
- }
52
-
53
- .layout-main-container {
54
- margin-left: 0;
55
- padding-left: 2rem;
56
- }
57
- }
58
- }
59
-
60
- &.layout-sidebar-hidden {
61
- .layout-main-container {
62
- margin-left: 0;
63
- padding-left: 2rem;
64
- }
65
- }
66
-
67
- .layout-mask {
68
- display: none;
69
- }
70
- }
71
- }
72
-
73
- @media (max-width: 991px) {
74
- .blocked-scroll {
75
- overflow: hidden;
76
- }
77
-
78
- .layout-wrapper {
79
- .layout-main-container {
80
- margin-left: 0;
81
- padding-left: 2rem;
82
- }
83
-
84
- .layout-sidebar {
85
- transform: translateX(-100%);
86
- left: 0;
87
- top: 0;
88
- height: 100vh;
89
- border-top-left-radius: 0;
90
- border-bottom-left-radius: 0;
91
- transition:
92
- transform 0.4s cubic-bezier(0.05, 0.74, 0.2, 0.99),
93
- left 0.4s cubic-bezier(0.05, 0.74, 0.2, 0.99);
94
- }
95
-
96
- .layout-mask {
97
- display: none;
98
- position: fixed;
99
- top: 0;
100
- left: 0;
101
- z-index: 998;
102
- width: 100%;
103
- height: 100%;
104
- background-color: var(--maskbg);
105
- }
106
-
107
- &.layout-mobile-active {
108
- .layout-sidebar {
109
- transform: translateX(0);
110
- }
111
-
112
- .layout-mask {
113
- display: block;
114
- }
115
- }
116
- }
117
- }
1
+ @media screen and (min-width: 1960px) {
2
+ .layout-main,
3
+ .landing-wrapper {
4
+ width: 1504px;
5
+ margin-left: auto !important;
6
+ margin-right: auto !important;
7
+ }
8
+ }
9
+
10
+ @media (min-width: 992px) {
11
+ .layout-wrapper {
12
+ &.layout-overlay {
13
+ .layout-main-container {
14
+ margin-left: 0;
15
+ padding-left: 2rem;
16
+ }
17
+
18
+ .layout-sidebar {
19
+ transform: translateX(-100%);
20
+ left: 0;
21
+ top: 0;
22
+ height: 100vh;
23
+ border-top-left-radius: 0;
24
+ border-bottom-left-radius: 0;
25
+ border-right: 1px solid var(--surface-border);
26
+ transition:
27
+ transform 0.4s cubic-bezier(0.05, 0.74, 0.2, 0.99),
28
+ left 0.4s cubic-bezier(0.05, 0.74, 0.2, 0.99);
29
+ box-shadow:
30
+ 0px 3px 5px rgba(0, 0, 0, 0.02),
31
+ 0px 0px 2px rgba(0, 0, 0, 0.05),
32
+ 0px 1px 4px rgba(0, 0, 0, 0.08);
33
+ }
34
+
35
+ &.layout-overlay-active {
36
+ .layout-sidebar {
37
+ transform: translateX(0);
38
+ }
39
+ }
40
+ }
41
+
42
+ &.layout-static {
43
+ .layout-main-container {
44
+ margin-left: 22rem;
45
+ }
46
+
47
+ &.layout-static-inactive {
48
+ .layout-sidebar {
49
+ transform: translateX(-100%);
50
+ left: 0;
51
+ }
52
+
53
+ .layout-main-container {
54
+ margin-left: 0;
55
+ padding-left: 2rem;
56
+ }
57
+ }
58
+ }
59
+
60
+ &.layout-sidebar-hidden {
61
+ .layout-main-container {
62
+ margin-left: 0;
63
+ padding-left: 2rem;
64
+ }
65
+ }
66
+
67
+ .layout-mask {
68
+ display: none;
69
+ }
70
+ }
71
+ }
72
+
73
+ @media (max-width: 991px) {
74
+ .blocked-scroll {
75
+ overflow: hidden;
76
+ }
77
+
78
+ .layout-wrapper {
79
+ .layout-main-container {
80
+ margin-left: 0;
81
+ padding-left: 2rem;
82
+ }
83
+
84
+ .layout-sidebar {
85
+ transform: translateX(-100%);
86
+ left: 0;
87
+ top: 0;
88
+ height: 100vh;
89
+ border-top-left-radius: 0;
90
+ border-bottom-left-radius: 0;
91
+ transition:
92
+ transform 0.4s cubic-bezier(0.05, 0.74, 0.2, 0.99),
93
+ left 0.4s cubic-bezier(0.05, 0.74, 0.2, 0.99);
94
+ }
95
+
96
+ .layout-mask {
97
+ display: none;
98
+ position: fixed;
99
+ top: 0;
100
+ left: 0;
101
+ z-index: 998;
102
+ width: 100%;
103
+ height: 100%;
104
+ background-color: var(--maskbg);
105
+ }
106
+
107
+ &.layout-mobile-active {
108
+ .layout-sidebar {
109
+ transform: translateX(0);
110
+ }
111
+
112
+ .layout-mask {
113
+ display: block;
114
+ }
115
+ }
116
+ }
117
+ }
@@ -1,204 +1,204 @@
1
- @use 'mixins' as *;
2
-
3
- .layout-topbar {
4
- position: fixed;
5
- height: 4rem;
6
- z-index: 997;
7
- left: 0;
8
- top: 0;
9
- width: 100%;
10
- padding: 0 2rem;
11
- background-color: var(--surface-card);
12
- transition: left var(--layout-section-transition-duration);
13
- display: flex;
14
- align-items: center;
15
-
16
- .layout-topbar-logo-container {
17
- width: auto;
18
- display: flex;
19
- align-items: center;
20
- gap: 0.5rem;
21
- }
22
-
23
- .layout-topbar-logo {
24
- display: inline-flex;
25
- align-items: center;
26
- font-size: 1.5rem;
27
- border-radius: var(--content-border-radius);
28
- color: var(--text-color);
29
- font-weight: 500;
30
- gap: 0.5rem;
31
-
32
- svg {
33
- width: 3rem;
34
- }
35
-
36
- &:focus-visible {
37
- @include focused();
38
- }
39
- }
40
-
41
- .layout-topbar-app-name {
42
- font-size: 1.5rem;
43
- color: var(--text-color);
44
- font-weight: 500;
45
- }
46
-
47
- .layout-topbar-action {
48
- display: inline-flex;
49
- justify-content: center;
50
- align-items: center;
51
- color: var(--text-color-secondary);
52
- border-radius: 50%;
53
- width: 2.5rem;
54
- height: 2.5rem;
55
- color: var(--text-color);
56
- transition: background-color var(--element-transition-duration);
57
- cursor: pointer;
58
-
59
- &:hover {
60
- background-color: var(--surface-hover);
61
- }
62
-
63
- &:focus-visible {
64
- @include focused();
65
- }
66
-
67
- i {
68
- font-size: 1.25rem;
69
- }
70
-
71
- span {
72
- font-size: 1rem;
73
- display: none;
74
- }
75
-
76
- &.layout-topbar-action-highlight {
77
- background-color: var(--primary-color);
78
- color: var(--primary-contrast-color);
79
- }
80
- }
81
-
82
- .layout-menu-button {
83
- margin-right: 0.5rem;
84
- }
85
-
86
- .layout-topbar-menu-button {
87
- display: none;
88
- }
89
-
90
- .layout-topbar-page-title {
91
- font-size: 1.25rem;
92
- font-weight: 500;
93
- margin-left: 0.5rem;
94
- }
95
-
96
- .layout-topbar-left-actions {
97
- margin-left: 1rem;
98
- margin-right: auto;
99
- display: flex;
100
- align-items: center;
101
- }
102
-
103
- .layout-topbar-right-actions {
104
- margin-left: auto;
105
- display: flex;
106
- align-items: center;
107
- gap: 1rem;
108
- }
109
-
110
- .layout-topbar-menu-content {
111
- display: flex;
112
- gap: 1rem;
113
- align-items: center;
114
- }
115
-
116
- .layout-config-menu {
117
- display: flex;
118
- gap: 0.5rem;
119
- }
120
-
121
- .topbar-separator {
122
- display: block;
123
- width: 1px;
124
- align-self: stretch;
125
- border-left: 1px solid var(--surface-border);
126
- margin: 0 1rem;
127
- }
128
- }
129
-
130
- @media (max-width: 991px) {
131
- .layout-topbar {
132
- padding: 0 2rem;
133
-
134
- .layout-topbar-logo-container {
135
- width: auto;
136
- }
137
-
138
- .layout-menu-button {
139
- margin-left: 0;
140
- margin-right: 0.5rem;
141
- }
142
-
143
- .layout-topbar-menu-button {
144
- display: inline-flex;
145
- }
146
-
147
- .layout-topbar-menu {
148
- position: absolute;
149
- background-color: var(--surface-overlay);
150
- transform-origin: top;
151
- box-shadow:
152
- 0px 3px 5px rgba(0, 0, 0, 0.02),
153
- 0px 0px 2px rgba(0, 0, 0, 0.05),
154
- 0px 1px 4px rgba(0, 0, 0, 0.08);
155
- border-radius: var(--content-border-radius);
156
- padding: 1rem;
157
- right: 2rem;
158
- top: 4rem;
159
- min-width: 15rem;
160
- border: 1px solid var(--surface-border);
161
-
162
- .layout-topbar-menu-content {
163
- gap: 0.5rem;
164
- }
165
-
166
- .layout-topbar-action {
167
- display: flex;
168
- width: 100%;
169
- height: auto;
170
- justify-content: flex-start;
171
- border-radius: var(--content-border-radius);
172
- padding: 0.5rem 1rem;
173
- margin-top: auto;
174
- margin-bottom: auto;
175
-
176
- i {
177
- font-size: 1rem;
178
- margin-right: 0.5rem;
179
- }
180
-
181
- span {
182
- font-weight: medium;
183
- display: block;
184
- }
185
- }
186
- }
187
-
188
- .layout-topbar-menu-content {
189
- flex-direction: column;
190
- }
191
-
192
- .layout-topbar-app-name {
193
- display: none;
194
- }
195
-
196
- .layout-topbar-page-title {
197
- display: none;
198
- }
199
-
200
- .topbar-separator {
201
- display: none;
202
- }
203
- }
204
- }
1
+ @use 'mixins' as *;
2
+
3
+ .layout-topbar {
4
+ position: fixed;
5
+ height: 4rem;
6
+ z-index: 997;
7
+ left: 0;
8
+ top: 0;
9
+ width: 100%;
10
+ padding: 0 2rem;
11
+ background-color: var(--surface-card);
12
+ transition: left var(--layout-section-transition-duration);
13
+ display: flex;
14
+ align-items: center;
15
+
16
+ .layout-topbar-logo-container {
17
+ width: auto;
18
+ display: flex;
19
+ align-items: center;
20
+ gap: 0.5rem;
21
+ }
22
+
23
+ .layout-topbar-logo {
24
+ display: inline-flex;
25
+ align-items: center;
26
+ font-size: 1.5rem;
27
+ border-radius: var(--content-border-radius);
28
+ color: var(--text-color);
29
+ font-weight: 500;
30
+ gap: 0.5rem;
31
+
32
+ svg {
33
+ width: 3rem;
34
+ }
35
+
36
+ &:focus-visible {
37
+ @include focused();
38
+ }
39
+ }
40
+
41
+ .layout-topbar-app-name {
42
+ font-size: 1.5rem;
43
+ color: var(--text-color);
44
+ font-weight: 500;
45
+ }
46
+
47
+ .layout-topbar-action {
48
+ display: inline-flex;
49
+ justify-content: center;
50
+ align-items: center;
51
+ color: var(--text-color-secondary);
52
+ border-radius: 50%;
53
+ width: 2.5rem;
54
+ height: 2.5rem;
55
+ color: var(--text-color);
56
+ transition: background-color var(--element-transition-duration);
57
+ cursor: pointer;
58
+
59
+ &:hover {
60
+ background-color: var(--surface-hover);
61
+ }
62
+
63
+ &:focus-visible {
64
+ @include focused();
65
+ }
66
+
67
+ i {
68
+ font-size: 1.25rem;
69
+ }
70
+
71
+ span {
72
+ font-size: 1rem;
73
+ display: none;
74
+ }
75
+
76
+ &.layout-topbar-action-highlight {
77
+ background-color: var(--primary-color);
78
+ color: var(--primary-contrast-color);
79
+ }
80
+ }
81
+
82
+ .layout-menu-button {
83
+ margin-right: 0.5rem;
84
+ }
85
+
86
+ .layout-topbar-menu-button {
87
+ display: none;
88
+ }
89
+
90
+ .layout-topbar-page-title {
91
+ font-size: 1.25rem;
92
+ font-weight: 500;
93
+ margin-left: 0.5rem;
94
+ }
95
+
96
+ .layout-topbar-left-actions {
97
+ margin-left: 1rem;
98
+ margin-right: auto;
99
+ display: flex;
100
+ align-items: center;
101
+ }
102
+
103
+ .layout-topbar-right-actions {
104
+ margin-left: auto;
105
+ display: flex;
106
+ align-items: center;
107
+ gap: 1rem;
108
+ }
109
+
110
+ .layout-topbar-menu-content {
111
+ display: flex;
112
+ gap: 1rem;
113
+ align-items: center;
114
+ }
115
+
116
+ .layout-config-menu {
117
+ display: flex;
118
+ gap: 0.5rem;
119
+ }
120
+
121
+ .topbar-separator {
122
+ display: block;
123
+ width: 1px;
124
+ align-self: stretch;
125
+ border-left: 1px solid var(--surface-border);
126
+ margin: 0 1rem;
127
+ }
128
+ }
129
+
130
+ @media (max-width: 991px) {
131
+ .layout-topbar {
132
+ padding: 0 2rem;
133
+
134
+ .layout-topbar-logo-container {
135
+ width: auto;
136
+ }
137
+
138
+ .layout-menu-button {
139
+ margin-left: 0;
140
+ margin-right: 0.5rem;
141
+ }
142
+
143
+ .layout-topbar-menu-button {
144
+ display: inline-flex;
145
+ }
146
+
147
+ .layout-topbar-menu {
148
+ position: absolute;
149
+ background-color: var(--surface-overlay);
150
+ transform-origin: top;
151
+ box-shadow:
152
+ 0px 3px 5px rgba(0, 0, 0, 0.02),
153
+ 0px 0px 2px rgba(0, 0, 0, 0.05),
154
+ 0px 1px 4px rgba(0, 0, 0, 0.08);
155
+ border-radius: var(--content-border-radius);
156
+ padding: 1rem;
157
+ right: 2rem;
158
+ top: 4rem;
159
+ min-width: 15rem;
160
+ border: 1px solid var(--surface-border);
161
+
162
+ .layout-topbar-menu-content {
163
+ gap: 0.5rem;
164
+ }
165
+
166
+ .layout-topbar-action {
167
+ display: flex;
168
+ width: 100%;
169
+ height: auto;
170
+ justify-content: flex-start;
171
+ border-radius: var(--content-border-radius);
172
+ padding: 0.5rem 1rem;
173
+ margin-top: auto;
174
+ margin-bottom: auto;
175
+
176
+ i {
177
+ font-size: 1rem;
178
+ margin-right: 0.5rem;
179
+ }
180
+
181
+ span {
182
+ font-weight: medium;
183
+ display: block;
184
+ }
185
+ }
186
+ }
187
+
188
+ .layout-topbar-menu-content {
189
+ flex-direction: column;
190
+ }
191
+
192
+ .layout-topbar-app-name {
193
+ display: none;
194
+ }
195
+
196
+ .layout-topbar-page-title {
197
+ display: none;
198
+ }
199
+
200
+ .topbar-separator {
201
+ display: none;
202
+ }
203
+ }
204
+ }