|
1 |
| -@import '../../../../styles/themes'; |
2 |
| -@import '~bootstrap/scss/mixins/breakpoints'; |
3 |
| -@import '~@nebular/theme/styles/global/breakpoints'; |
| 1 | +@import "../../../../styles/themes"; |
| 2 | +@import "~bootstrap/scss/mixins/breakpoints"; |
| 3 | +@import "~@nebular/theme/styles/global/breakpoints"; |
4 | 4 |
|
5 | 5 | @include nb-install-component() {
|
6 | 6 | nb-layout-column.small {
|
|
29 | 29 |
|
30 | 30 | ::ng-deep .main-container {
|
31 | 31 | width: $sidebar-width;
|
32 |
| - background: nb-theme(color-bg); |
33 | 32 | transition: width 0.3s ease;
|
34 | 33 | overflow: hidden;
|
35 |
| - |
36 | 34 | .scrollable {
|
37 | 35 | width: $sidebar-width;
|
38 | 36 | }
|
39 |
| - |
40 |
| - @include nb-for-theme(cosmic) { |
41 |
| - background: nb-theme(layout-bg); |
42 |
| - } |
43 |
| - } |
44 |
| - } |
45 |
| - |
46 |
| - nb-sidebar.menu-sidebar { |
47 |
| - |
48 |
| - margin-top: nb-theme(sidebar-header-gap); |
49 |
| - |
50 |
| - @include nb-for-theme(corporate) { |
51 |
| - margin-top: 0; |
52 |
| - } |
53 |
| - |
54 |
| - ::ng-deep .main-container { |
55 |
| - height: |
56 |
| - calc(#{nb-theme(sidebar-height)} - #{nb-theme(header-height)} - #{nb-theme(sidebar-header-gap)}) !important; |
57 |
| - @include nb-ltr(border-top-right-radius, nb-theme(radius)); |
58 |
| - @include nb-rtl(border-top-left-radius, nb-theme(radius)); |
59 |
| - |
60 |
| - @include nb-for-theme(corporate) { |
61 |
| - border: 1px solid nb-theme(separator); |
62 |
| - height: |
63 |
| - calc(#{nb-theme(sidebar-height)} - #{nb-theme(header-height)}) !important; |
64 |
| - } |
65 |
| - } |
66 |
| - |
67 |
| - ::ng-deep .scrollable { |
68 |
| - @include nb-for-theme(corporate) { |
69 |
| - padding-top: 0; |
70 |
| - |
71 |
| - .menu-item:first-child { |
72 |
| - border-top: none; |
73 |
| - } |
74 |
| - } |
75 |
| - } |
76 |
| - |
77 |
| - ::ng-deep nb-sidebar-header { |
78 |
| - padding-bottom: 0.5rem; |
79 |
| - text-align: center; |
80 |
| - } |
81 |
| - |
82 |
| - background: transparent; |
83 |
| - |
84 |
| - .main-btn { |
85 |
| - padding: 0.75rem 2.5rem; |
86 |
| - margin-top: -2rem; |
87 |
| - font-weight: bold; |
88 |
| - transition: padding 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.48); |
89 |
| - |
90 |
| - @include nb-for-theme(corporate) { |
91 |
| - border-radius: nb-theme(radius); |
92 |
| - } |
93 |
| - |
94 |
| - i { |
95 |
| - font-size: 2rem; |
96 |
| - text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2); |
97 |
| - } |
98 |
| - span { |
99 |
| - @include nb-ltr(padding-left, 0.25rem); |
100 |
| - @include nb-rtl(padding-right, 0.25rem); |
101 |
| - } |
102 |
| - |
103 |
| - i, span { |
104 |
| - vertical-align: middle; |
105 |
| - } |
106 |
| - } |
107 |
| - |
108 |
| - &.compacted { |
109 |
| - |
110 |
| - ::ng-deep nb-sidebar-header { |
111 |
| - padding-left: 0; |
112 |
| - padding-right: 0; |
113 |
| - } |
114 |
| - |
115 |
| - .main-btn { |
116 |
| - width: 46px; |
117 |
| - height: 44px; |
118 |
| - padding: 0.375rem; |
119 |
| - border-radius: 5px; |
120 |
| - transition: none; |
121 |
| - |
122 |
| - span { |
123 |
| - display: none; |
124 |
| - } |
125 |
| - } |
126 |
| - } |
127 |
| - } |
128 |
| - |
129 |
| - @include media-breakpoint-down(xs) { |
130 |
| - .main-content { |
131 |
| - padding: 0.75rem !important; |
132 |
| - |
133 |
| - } |
134 |
| - } |
135 |
| - |
136 |
| - @include media-breakpoint-down(sm) { |
137 |
| - |
138 |
| - nb-sidebar.menu-sidebar { |
139 |
| - |
140 |
| - margin-top: 0; |
141 |
| - |
142 |
| - ::ng-deep .main-container { |
143 |
| - height: calc(#{nb-theme(sidebar-height)} - #{nb-theme(header-height)}) !important; |
144 |
| - @include nb-ltr(border-top-right-radius, 0); |
145 |
| - @include nb-rtl(border-top-left-radius, 0); |
146 |
| - |
147 |
| - .scrollable { |
148 |
| - padding-top: 0; |
149 |
| - } |
150 |
| - } |
151 |
| - } |
152 |
| - |
153 |
| - .main-btn { |
154 |
| - display: none; |
155 | 37 | }
|
156 | 38 | }
|
157 | 39 | }
|
0 commit comments