1 | .stretch-layout {
|
---|
2 | overflow: hidden;
|
---|
3 |
|
---|
4 | .app-block {
|
---|
5 | height: calc(100vh - #{$header-height + 30px + 30px});
|
---|
6 | }
|
---|
7 |
|
---|
8 | .content-footer {
|
---|
9 | display: none;
|
---|
10 | }
|
---|
11 |
|
---|
12 | &:not(.chat-app).right-navigation {
|
---|
13 | &.small-navigation {
|
---|
14 | .layout-wrapper .content-wrapper .content-body .content {
|
---|
15 | padding-left: 30px !important;
|
---|
16 | padding-right: $navigation-tab-width + 30px !important;
|
---|
17 | }
|
---|
18 | }
|
---|
19 | }
|
---|
20 |
|
---|
21 | &.hidden-navigation {
|
---|
22 | .layout-wrapper .content-wrapper .content-body .content {
|
---|
23 | padding-right: 30px !important;
|
---|
24 | padding-left: 30px !important;
|
---|
25 | }
|
---|
26 | }
|
---|
27 | }
|
---|
28 |
|
---|
29 | .stretch-layout {
|
---|
30 | &.horizontal-navigation {
|
---|
31 | .app-block {
|
---|
32 | height: calc(100vh - #{$header-height + 30px + 30px + $header-height - 20px});
|
---|
33 | }
|
---|
34 | }
|
---|
35 | }
|
---|
36 |
|
---|
37 | .app-block {
|
---|
38 | .app-sidebar {
|
---|
39 | height: 100%;
|
---|
40 |
|
---|
41 | & > .card {
|
---|
42 | height: 100%;
|
---|
43 | margin-bottom: 0;
|
---|
44 |
|
---|
45 | .card-body {
|
---|
46 | flex: none;
|
---|
47 | }
|
---|
48 | }
|
---|
49 |
|
---|
50 | .app-sidebar-menu {
|
---|
51 | flex: 1;
|
---|
52 |
|
---|
53 | .list-group {
|
---|
54 | .list-group-item.active {
|
---|
55 | background: none;
|
---|
56 | color: $color-primary;
|
---|
57 | }
|
---|
58 | }
|
---|
59 | }
|
---|
60 | }
|
---|
61 |
|
---|
62 | .app-sidebar-menu-button {
|
---|
63 | display: none;
|
---|
64 | }
|
---|
65 |
|
---|
66 | .app-content {
|
---|
67 | display: flex;
|
---|
68 | flex-direction: column;
|
---|
69 | height: 100%;
|
---|
70 |
|
---|
71 | .app-content-overlay {
|
---|
72 | display: none;
|
---|
73 | position: absolute;
|
---|
74 | right: 1rem;
|
---|
75 | border-radius: 8px;
|
---|
76 | left: 1rem;
|
---|
77 | top: 0;
|
---|
78 | bottom: 0;
|
---|
79 | background-color: rgba(0, 0, 0, 0.25);
|
---|
80 | z-index: 8;
|
---|
81 |
|
---|
82 | &.show {
|
---|
83 | display: block;
|
---|
84 | }
|
---|
85 | }
|
---|
86 |
|
---|
87 | .app-action {
|
---|
88 | display: flex;
|
---|
89 | justify-content: space-between;
|
---|
90 | @extend .card;
|
---|
91 | padding: 1.5rem;
|
---|
92 |
|
---|
93 | .action-left, .action-right {
|
---|
94 | display: flex;
|
---|
95 | align-items: center;
|
---|
96 | }
|
---|
97 |
|
---|
98 | .action-right {
|
---|
99 | margin-left: 1rem;
|
---|
100 | flex: 1;
|
---|
101 | display: flex;
|
---|
102 | justify-content: space-between;
|
---|
103 |
|
---|
104 | form {
|
---|
105 | flex: 1;
|
---|
106 | }
|
---|
107 | }
|
---|
108 | }
|
---|
109 |
|
---|
110 | .app-content-body {
|
---|
111 | margin-bottom: 0;
|
---|
112 | flex: 1;
|
---|
113 | padding: 0;
|
---|
114 | height: 100%;
|
---|
115 | position: static;
|
---|
116 | overflow: hidden;
|
---|
117 |
|
---|
118 | .app-lists {
|
---|
119 | height: 100%;
|
---|
120 | overflow: auto;
|
---|
121 |
|
---|
122 |
|
---|
123 | ul.list-group {
|
---|
124 | li.list-group-item {
|
---|
125 | padding-top: 15px;
|
---|
126 | padding-bottom: 15px;
|
---|
127 | background: none;
|
---|
128 | display: flex;
|
---|
129 | align-items: center;
|
---|
130 |
|
---|
131 | &:hover {
|
---|
132 | cursor: pointer;
|
---|
133 | background-color: #fafafa;
|
---|
134 | }
|
---|
135 |
|
---|
136 | &.active {
|
---|
137 | background-color: #ebebeb;
|
---|
138 |
|
---|
139 | .avatar {
|
---|
140 | border-color: #ebebeb
|
---|
141 | }
|
---|
142 |
|
---|
143 | .app-list-title {
|
---|
144 | color: black;
|
---|
145 | }
|
---|
146 |
|
---|
147 | &.task-list {
|
---|
148 | .app-list-title {
|
---|
149 | text-decoration: line-through;
|
---|
150 | @extend .text-success
|
---|
151 | }
|
---|
152 | }
|
---|
153 | }
|
---|
154 | }
|
---|
155 | }
|
---|
156 | }
|
---|
157 |
|
---|
158 | .app-detail {
|
---|
159 | margin-bottom: 0;
|
---|
160 | position: absolute;
|
---|
161 | right: .90rem;
|
---|
162 | top: .50rem;
|
---|
163 | bottom: 0;
|
---|
164 | left: .90rem;
|
---|
165 | z-index: 2;
|
---|
166 | opacity: 0;
|
---|
167 | visibility: hidden;
|
---|
168 | transition: all .3s;
|
---|
169 |
|
---|
170 | &.show {
|
---|
171 | opacity: 1;
|
---|
172 | visibility: visible;
|
---|
173 | top: 0;
|
---|
174 | }
|
---|
175 |
|
---|
176 | .card-header {
|
---|
177 | display: flex;
|
---|
178 | align-items: center;
|
---|
179 | padding: 1.5rem;
|
---|
180 | border-bottom: $border-style;
|
---|
181 |
|
---|
182 | .app-detail-action-left {
|
---|
183 | display: flex;
|
---|
184 | }
|
---|
185 |
|
---|
186 | .app-detail-action-right {
|
---|
187 | margin-left: auto;
|
---|
188 | }
|
---|
189 | }
|
---|
190 | }
|
---|
191 | }
|
---|
192 | }
|
---|
193 | }
|
---|
194 |
|
---|
195 | #compose, .app-block {
|
---|
196 | .ql-toolbar.ql-snow {
|
---|
197 | border: none;
|
---|
198 | padding: 0;
|
---|
199 | }
|
---|
200 |
|
---|
201 | .ql-editor {
|
---|
202 | min-height: 70px;
|
---|
203 | }
|
---|
204 | }
|
---|
205 |
|
---|
206 | .app-sortable-handle {
|
---|
207 | cursor: move;
|
---|
208 | }
|
---|
209 |
|
---|
210 | .app-file-list {
|
---|
211 | border: $border-style;
|
---|
212 |
|
---|
213 | .app-file-icon {
|
---|
214 | background-color: #f5f5f5;
|
---|
215 | padding: 2rem;
|
---|
216 | text-align: center;
|
---|
217 | font-size: 2rem;
|
---|
218 | border-bottom: $border-style;
|
---|
219 | border-top-right-radius: 8px;
|
---|
220 | border-top-left-radius: 8px;
|
---|
221 | }
|
---|
222 |
|
---|
223 | &:hover {
|
---|
224 | border-color: #d7d7d7;
|
---|
225 | }
|
---|
226 | }
|
---|
227 |
|
---|
228 | body:not(.stretch-layout) {
|
---|
229 | .app-block .app-content .app-content-body {
|
---|
230 | overflow: visible;
|
---|
231 | }
|
---|
232 | }
|
---|