@sgcloud-sgsistemas/base 1.0.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.
Files changed (140) hide show
  1. package/README.md +505 -0
  2. package/app.js +686 -0
  3. package/assets/img/custom-icon.svg +1 -0
  4. package/assets/img/logo-finance.png +0 -0
  5. package/assets/img/logo.png +0 -0
  6. package/assets/img/logo_company.png +0 -0
  7. package/assets/img/perfil.png +0 -0
  8. package/config/postcss.config.js +14 -0
  9. package/config/webpack.config.common.js +53 -0
  10. package/config/webpack.config.dev.js +50 -0
  11. package/config/webpack.config.prod.js +49 -0
  12. package/index.html +115 -0
  13. package/package.json +64 -0
  14. package/resources/audio/mouth-pop.mp3 +0 -0
  15. package/src/index.js +1 -0
  16. package/src/modules/base/components/container/container.style.scss +7 -0
  17. package/src/modules/base/components/container/container.template.html +2 -0
  18. package/src/modules/base/components/container/index.js +9 -0
  19. package/src/modules/base/components/content-container/content-container.style.scss +36 -0
  20. package/src/modules/base/components/content-container/content-container.template.html +8 -0
  21. package/src/modules/base/components/content-container/index.js +9 -0
  22. package/src/modules/base/controllers/base.controller.js +39 -0
  23. package/src/modules/base/index.js +42 -0
  24. package/src/modules/base/providers/theme.provider.js +12 -0
  25. package/src/modules/base/providers/themes.list.js +233 -0
  26. package/src/modules/base/styles/base.animations.scss +43 -0
  27. package/src/modules/base/styles/base.flex.scss +45 -0
  28. package/src/modules/base/styles/base.style.scss +169 -0
  29. package/src/modules/base/templates/base.template.html +6 -0
  30. package/src/modules/footer/components/footer/footer.controller.js +17 -0
  31. package/src/modules/footer/components/footer/footer.style.scss +0 -0
  32. package/src/modules/footer/components/footer/footer.template.html +25 -0
  33. package/src/modules/footer/components/footer/index.js +13 -0
  34. package/src/modules/footer/controllers/footer.controller.js +13 -0
  35. package/src/modules/footer/index.js +19 -0
  36. package/src/modules/footer/services/footer.service.js +24 -0
  37. package/src/modules/footer/styles/footer.animations.scss +11 -0
  38. package/src/modules/footer/styles/footer.style.scss +28 -0
  39. package/src/modules/footer/templates/footer.template.html +1 -0
  40. package/src/modules/pageloader/controllers/pageloader.controller.js +60 -0
  41. package/src/modules/pageloader/index.js +15 -0
  42. package/src/modules/pageloader/services/pageloader.service.js +15 -0
  43. package/src/modules/pageloader/styles/pageloader.style.scss +67 -0
  44. package/src/modules/pageloader/templates/pageloader.template.html +9 -0
  45. package/src/modules/side-content/components/btn/btn.controller.js +55 -0
  46. package/src/modules/side-content/components/btn/btn.style.scss +48 -0
  47. package/src/modules/side-content/components/btn/btn.template.html +18 -0
  48. package/src/modules/side-content/components/btn/index.js +17 -0
  49. package/src/modules/side-content/controllers/side-content.controller.js +93 -0
  50. package/src/modules/side-content/index.js +17 -0
  51. package/src/modules/side-content/services/side-content.service.js +49 -0
  52. package/src/modules/side-content/styles/side-content.style.scss +73 -0
  53. package/src/modules/side-content/templates/side-content.template.html +25 -0
  54. package/src/modules/side-menu/components/btn/btn.controller.js +13 -0
  55. package/src/modules/side-menu/components/btn/btn.style.scss +75 -0
  56. package/src/modules/side-menu/components/btn/btn.template.html +43 -0
  57. package/src/modules/side-menu/components/btn/index.js +26 -0
  58. package/src/modules/side-menu/components/category/category.style.scss +47 -0
  59. package/src/modules/side-menu/components/category/category.template.html +23 -0
  60. package/src/modules/side-menu/components/category/index.js +13 -0
  61. package/src/modules/side-menu/components/html/html.controller.js +5 -0
  62. package/src/modules/side-menu/components/html/html.template.html +3 -0
  63. package/src/modules/side-menu/components/html/index.js +14 -0
  64. package/src/modules/side-menu/components/item/index.js +29 -0
  65. package/src/modules/side-menu/components/item/item.template.html +40 -0
  66. package/src/modules/side-menu/components/link/index.js +18 -0
  67. package/src/modules/side-menu/components/link/link.controller.js +48 -0
  68. package/src/modules/side-menu/components/link/link.style.scss +10 -0
  69. package/src/modules/side-menu/components/link/link.template.html +21 -0
  70. package/src/modules/side-menu/components/quick-menu/index.js +14 -0
  71. package/src/modules/side-menu/components/quick-menu/quick-menu.controller.js +67 -0
  72. package/src/modules/side-menu/components/quick-menu/quick-menu.style.scss +151 -0
  73. package/src/modules/side-menu/components/quick-menu/quick-menu.template.html +44 -0
  74. package/src/modules/side-menu/components/sub-category/index.js +20 -0
  75. package/src/modules/side-menu/components/sub-category/sub-category.controller.js +16 -0
  76. package/src/modules/side-menu/components/sub-category/sub-category.style.scss +48 -0
  77. package/src/modules/side-menu/components/sub-category/sub-category.template.html +47 -0
  78. package/src/modules/side-menu/controllers/sideMenu.js +71 -0
  79. package/src/modules/side-menu/index.js +33 -0
  80. package/src/modules/side-menu/services/sideMenu.js +12 -0
  81. package/src/modules/side-menu/styles/side-menu.style.scss +86 -0
  82. package/src/modules/side-menu/templates/side-menu.template.html +30 -0
  83. package/src/modules/themes/themes.style.scss +227 -0
  84. package/src/modules/top-notifications/components/notification/index.js +17 -0
  85. package/src/modules/top-notifications/components/notification/notification.controller.js +168 -0
  86. package/src/modules/top-notifications/components/notification/notification.style.scss +210 -0
  87. package/src/modules/top-notifications/components/notification/notification.template.html +22 -0
  88. package/src/modules/top-notifications/controllers/top-notifications.controller.js +33 -0
  89. package/src/modules/top-notifications/index.js +18 -0
  90. package/src/modules/top-notifications/services/top-notifications.services.js +108 -0
  91. package/src/modules/top-notifications/styles/top-notifications.style.scss +0 -0
  92. package/src/modules/top-notifications/templates/top-notifications.template.html +5 -0
  93. package/src/modules/topbar/components/cashier/cashier.controller.js +17 -0
  94. package/src/modules/topbar/components/cashier/cashier.styles.scss +79 -0
  95. package/src/modules/topbar/components/cashier/cashier.template.html +32 -0
  96. package/src/modules/topbar/components/cashier/index.js +14 -0
  97. package/src/modules/topbar/components/cashier/service/cashier.service.js +43 -0
  98. package/src/modules/topbar/components/environment/environment.html +24 -0
  99. package/src/modules/topbar/components/environment/environment.js +16 -0
  100. package/src/modules/topbar/components/environment/environment.scss +137 -0
  101. package/src/modules/topbar/components/environment/index.js +11 -0
  102. package/src/modules/topbar/components/environment/service/environment.service.js +19 -0
  103. package/src/modules/topbar/components/notifications/index.js +13 -0
  104. package/src/modules/topbar/components/notifications/notifications.controller.js +108 -0
  105. package/src/modules/topbar/components/notifications/notifications.styles.scss +282 -0
  106. package/src/modules/topbar/components/notifications/notifications.template.html +154 -0
  107. package/src/modules/topbar/components/search/components/input/index.js +19 -0
  108. package/src/modules/topbar/components/search/components/input/input.controller.js +19 -0
  109. package/src/modules/topbar/components/search/components/input/input.style.scss +74 -0
  110. package/src/modules/topbar/components/search/components/input/input.template.html +8 -0
  111. package/src/modules/topbar/components/search/components/result-line/index.js +16 -0
  112. package/src/modules/topbar/components/search/components/result-line/result-line.controller.js +69 -0
  113. package/src/modules/topbar/components/search/components/result-line/result-line.style.scss +58 -0
  114. package/src/modules/topbar/components/search/components/result-line/result-line.template.html +29 -0
  115. package/src/modules/topbar/components/search/controllers/search.controller.js +298 -0
  116. package/src/modules/topbar/components/search/index.js +21 -0
  117. package/src/modules/topbar/components/search/styles/search.style.scss +114 -0
  118. package/src/modules/topbar/components/search/templates/search.template.html +48 -0
  119. package/src/modules/topbar/components/user/components/btn/btn.style.scss +35 -0
  120. package/src/modules/topbar/components/user/components/btn/btn.template.html +36 -0
  121. package/src/modules/topbar/components/user/components/btn/index.js +15 -0
  122. package/src/modules/topbar/components/user/components/link/index.js +18 -0
  123. package/src/modules/topbar/components/user/components/link/link.controller.js +15 -0
  124. package/src/modules/topbar/components/user/components/link/link.style.scss +13 -0
  125. package/src/modules/topbar/components/user/components/link/link.template.html +26 -0
  126. package/src/modules/topbar/components/user/components/loading/index.js +14 -0
  127. package/src/modules/topbar/components/user/components/loading/loading.animations.scss +9 -0
  128. package/src/modules/topbar/components/user/components/loading/loading.style.scss +12 -0
  129. package/src/modules/topbar/components/user/components/loading/loading.template.html +3 -0
  130. package/src/modules/topbar/components/user/controllers/user.controller.js +200 -0
  131. package/src/modules/topbar/components/user/index.js +27 -0
  132. package/src/modules/topbar/components/user/services/user.service.js +14 -0
  133. package/src/modules/topbar/components/user/styles/user.animations.scss +27 -0
  134. package/src/modules/topbar/components/user/styles/user.style.scss +997 -0
  135. package/src/modules/topbar/components/user/templates/user.template.html +252 -0
  136. package/src/modules/topbar/controllers/topbar.controller.js +27 -0
  137. package/src/modules/topbar/index.js +31 -0
  138. package/src/modules/topbar/services/base-notification-service.js +40 -0
  139. package/src/modules/topbar/styles/topbar.style.scss +211 -0
  140. package/src/modules/topbar/templates/topbar.template.html +93 -0
@@ -0,0 +1,997 @@
1
+ // @import "../../../../themes/themes.style.scss";
2
+ // @import "./user.animations.scss";
3
+
4
+ // .mb[topbar-user] {
5
+ // height: 100%;
6
+ // padding-right: 15px;
7
+
8
+ // > .mb-tu-button {
9
+ // height: 100%;
10
+ // display: flex;
11
+ // flex-direction: row;
12
+ // justify-content: flex-end;
13
+ // align-items: center;
14
+ // position: relative;
15
+ // padding-right: 5px;
16
+ // padding-left: 20px;
17
+ // z-index: 700;
18
+ // background-color: #ffffff;
19
+
20
+ // @include themify(background-color, backgroundTopBar);
21
+
22
+ // transition: width 500ms ease;
23
+ // will-change: width;
24
+
25
+ // @media screen and (max-width: 768px) {
26
+ // width: 130px;
27
+
28
+ // &.mb-tu-button-active {
29
+ // width: 250px;
30
+ // }
31
+ // }
32
+
33
+ // > .mb-tu-button-names-container {
34
+ // height: 100%;
35
+ // position: relative;
36
+ // overflow: hidden;
37
+ // cursor: pointer;
38
+
39
+ // @media screen and (max-width: 768px) {
40
+ // position: absolute;
41
+ // left: 20px;
42
+ // opacity: 0;
43
+ // will-change: opacity;
44
+ // transition: opacity 200ms 0ms linear;
45
+
46
+ // &.mb-tu-button-active {
47
+ // transition: opacity 200ms 250ms linear;
48
+ // opacity: 1;
49
+ // }
50
+ // }
51
+
52
+ // .mb-tu-button-names {
53
+ // position: relative;
54
+ // height: 100%;
55
+ // display: flex;
56
+ // flex-direction: column;
57
+ // justify-content: center;
58
+ // align-items: flex-end;
59
+ // transition: transform 1000ms ease;
60
+ // word-break: keep-all;
61
+ // white-space: nowrap;
62
+
63
+ // &.mb-tu-user {
64
+ // &.mb-tu-focus-company {
65
+ // transform: translate3d(0%, -100%, 0px);
66
+ // }
67
+ // }
68
+
69
+ // &.mb-tu-company {
70
+ // &.mb-tu-focus-company {
71
+ // transform: translate3d(0%, -100%, 0px);
72
+ // }
73
+ // }
74
+
75
+ // > .mb-tu-button-subtitle {
76
+ // text-align: right;
77
+ // color: #ccc;
78
+
79
+ // @include themify(color, neutral3);
80
+
81
+ // font-size: 12px;
82
+ // font-weight: 400;
83
+ // user-select: none;
84
+ // }
85
+
86
+ // > .mb-tu-button-title {
87
+ // text-align: right;
88
+ // color: #8034ad;
89
+
90
+ // @include themify(color, color1);
91
+
92
+ // font-weight: 700;
93
+ // user-select: none;
94
+ // font-size: 14px;
95
+ // }
96
+ // }
97
+ // }
98
+
99
+ // > .mb-tu-button-arrow-container {
100
+ // width: 30px;
101
+ // height: 100%;
102
+ // display: flex;
103
+ // flex-direction: row;
104
+ // justify-content: center;
105
+ // align-items: center;
106
+ // margin-right: 15px;
107
+ // cursor: pointer;
108
+
109
+ // > .mb-tu-button-arrow {
110
+ // color: #8034ad;
111
+
112
+ // @include themify(color, color1);
113
+
114
+ // font-size: 19px;
115
+ // transform: rotateZ(0deg);
116
+ // transition: transform 0.5s ease;
117
+
118
+ // &.mb-tu-button-active {
119
+ // transform: rotateZ(180deg);
120
+ // }
121
+ // }
122
+ // }
123
+
124
+ // > .mb-tu-avatar-container {
125
+ // width: 55px;
126
+ // height: 55px;
127
+ // position: relative;
128
+
129
+ // .mb-tu-avatar {
130
+ // user-select: none;
131
+ // position: absolute;
132
+ // left: 0px;
133
+ // bottom: 0px;
134
+ // width: 55px;
135
+ // height: 55px;
136
+ // border-radius: 30px;
137
+ // font-size: 30px;
138
+ // line-height: 55px;
139
+ // color: white;
140
+ // font-weight: 700;
141
+ // text-align: center;
142
+ // background-position: center center;
143
+ // background-size: contain;
144
+ // will-change: transform, z-index;
145
+ // cursor: pointer;
146
+ // overflow: hidden;
147
+ // box-shadow: 0px 2px 10px #d7d7d7;
148
+
149
+ // &.mb-tua-user {
150
+ // top: 0px;
151
+ // right: 0px;
152
+ // transform: rotate3d(0px, 0px, 0px) scale(1);
153
+
154
+ // &.mb-tua-focus-company {
155
+ // animation: mb-tu-anim-focus-In 0ms ease;
156
+ // transform: translate3d(-50%, 25%, 0) scale(0.5);
157
+ // }
158
+
159
+ // &.mb-tua-focus-user {
160
+ // animation: mb-tu-anim-focus-out 0ms ease;
161
+ // }
162
+
163
+ // &.mb-tua-focus-z-index {
164
+ // z-index: 1;
165
+ // }
166
+ // }
167
+
168
+ // &.mb-tua-company {
169
+ // top: auto;
170
+ // right: auto;
171
+ // transform: translate3d(-50%, 25%, 0px) scale(0.5);
172
+
173
+ // &.mb-tua-focus-company {
174
+ // animation: mb-tu-anim-focus-out 0ms ease;
175
+ // transform: translate3d(0%, 0%, 0px) scale(1);
176
+ // }
177
+
178
+ // &.mb-tua-focus-user {
179
+ // animation: mb-tu-anim-focus-In 0ms ease;
180
+ // transform: translate3d(-50%, 25%, 0px) scale(0.5);
181
+ // }
182
+
183
+ // &.mb-tua-focus-z-index {
184
+ // z-index: 0;
185
+ // }
186
+ // }
187
+ // }
188
+ // }
189
+ // }
190
+
191
+ // > .mb-tu-menu {
192
+ // top: calc(100% - 30px);
193
+ // left: 0px;
194
+ // right: 15px;
195
+ // position: absolute;
196
+ // height: auto;
197
+ // padding-top: 30px;
198
+ // background-color: #fff;
199
+ // z-index: 600;
200
+ // transform-origin: top center;
201
+ // transition: transform 500ms ease, opacity 200ms linear;
202
+ // transform: translate3d(0%, -15%, 0px);
203
+ // opacity: 0;
204
+ // box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1), 0px 0px 70px rgba(0, 0, 0, 0.25);
205
+ // border-bottom-left-radius: 15px;
206
+ // border-bottom-right-radius: 15px;
207
+
208
+ // .mb-tu-menu-content {
209
+ // border-top: 3px solid #8034ad;
210
+
211
+ // @include themify(border-color, color1);
212
+
213
+ // transition: opacity 250ms 500ms linear;
214
+ // position: relative;
215
+ // z-index: 700;
216
+
217
+ // > .mb-tu-menu-company-content {
218
+ // width: 100%;
219
+ // padding-top: 15px;
220
+ // display: flex;
221
+ // flex-direction: column;
222
+ // justify-content: center;
223
+
224
+ // .mb-tu-menu-company-info-container {
225
+ // display: flex;
226
+ // flex-direction: column;
227
+ // justify-content: flex-start;
228
+
229
+ // .mb-tu-menu-company-info {
230
+ // padding-left: 15px;
231
+ // padding-right: 15px;
232
+ // padding-bottom: 15px;
233
+ // width: 100%;
234
+ // text-align: right;
235
+
236
+ // .mb-tu-menu-company-info-title {
237
+ // color: #ccc;
238
+
239
+ // @include themify(color, color1);
240
+
241
+ // font-weight: 700;
242
+ // font-size: 12px;
243
+ // }
244
+
245
+ // .mb-tu-menu-company-info-text {
246
+ // color: #ccc;
247
+
248
+ // @include themify(color, neutral2);
249
+
250
+ // font-weight: 400;
251
+ // font-size: 14px;
252
+ // }
253
+ // }
254
+ // }
255
+
256
+ // .mb-tu-menu-company-line {
257
+ // width: calc(100% - 30px);
258
+ // height: 1px;
259
+ // background-color: #ddd;
260
+ // align-self: center;
261
+ // }
262
+
263
+ // .mb-tu-menu-company-bottom-btn {
264
+ // // background-color: #ccc;
265
+ // user-select: none;
266
+
267
+ // // @include themify(background-color, neutral3);
268
+
269
+ // width: 100%;
270
+ // height: 50px;
271
+ // font-weight: 700;
272
+ // padding-left: 20px;
273
+ // padding-right: 25px;
274
+ // font-size: 12px;
275
+ // display: flex;
276
+ // justify-content: space-between;
277
+ // align-items: center;
278
+ // flex-direction: row;
279
+ // color: #fff;
280
+
281
+ // @include themify(color, neutral2);
282
+
283
+ // cursor: pointer;
284
+
285
+ // > .fas {
286
+ // font-size: 16px;
287
+ // }
288
+
289
+ // > .far {
290
+ // font-size: 16px;
291
+ // }
292
+
293
+ // &:last-child {
294
+ // // @include themify(background-color, neutral2);
295
+
296
+ // border-bottom-left-radius: 15px;
297
+ // border-bottom-right-radius: 15px;
298
+ // }
299
+ // }
300
+ // }
301
+
302
+ // > .mb-tu-menu-change-account {
303
+ // width: 100%;
304
+ // height: auto;
305
+
306
+ // > .mb-tu-m-ca-title {
307
+ // width: 100%;
308
+ // height: 80px;
309
+ // text-align: left;
310
+ // position: relative;
311
+ // overflow: hidden;
312
+ // padding: 15px 25px 15px 25px;
313
+ // user-select: none;
314
+
315
+ // > .mb-tu-m-ca-t-back {
316
+ // display: inline-block;
317
+ // color: #ccc;
318
+ // font-size: 14px;
319
+
320
+ // @include themify(color, color1);
321
+
322
+ // cursor: pointer;
323
+ // }
324
+
325
+ // > .mb-tu-m-ca-t-text {
326
+ // color: #ccc;
327
+
328
+ // @include themify(color, neutral2);
329
+
330
+ // font-weight: 700;
331
+ // font-size: 16px;
332
+ // }
333
+
334
+ // > .mb-tu-m-ca-t-detail-container {
335
+ // position: absolute;
336
+ // top: 60px;
337
+ // left: -20px;
338
+
339
+ // > .mb-tu-m-ca-t-detail {
340
+ // width: 80px;
341
+
342
+ // > .mb-tu-m-ca-t-d-path {
343
+ // fill: #ccc;
344
+
345
+ // @include themify(fill, neutral3);
346
+
347
+ // stroke: #ccc;
348
+
349
+ // @include themify(stroke, neutral3);
350
+
351
+ // stroke-miterlimit: 10;
352
+ // stroke-width: 2px;
353
+ // }
354
+ // }
355
+ // }
356
+ // }
357
+
358
+ // > .mb-tu-m-ca-company {
359
+ // width: 100%;
360
+ // display: flex;
361
+ // justify-content: flex-start;
362
+ // font-size: 14px;
363
+ // padding: 10px 15px 10px 25px;
364
+ // align-items: center;
365
+ // flex-direction: row;
366
+ // font-weight: 700;
367
+ // transition: transform 250ms ease;
368
+ // transform: translateX(0%);
369
+ // cursor: pointer;
370
+ // position: relative;
371
+
372
+ // > .mb-tu-m-ca-company-avatar {
373
+ // min-height: 40px;
374
+ // min-width: 40px;
375
+ // background-color: #ccc;
376
+
377
+ // @include themify(background-color, neutral3);
378
+
379
+ // border-radius: 20px;
380
+ // line-height: 40px;
381
+ // text-align: center;
382
+ // color: white;
383
+ // font-size: 18px;
384
+ // background-size: contain;
385
+ // background-position: center center;
386
+ // box-shadow: 0px 2px 10px #d7d7d7;
387
+ // }
388
+
389
+ // > .mb-tu-m-ca-company-name {
390
+ // margin-left: 10px;
391
+ // color: #ccc;
392
+ // transition: 200ms linear;
393
+ // text-align: left;
394
+
395
+ // @include themify(color, neutral2);
396
+ // }
397
+
398
+ // > .mb-tu-m-ca-company-confirm {
399
+ // position: absolute;
400
+ // right: 25px;
401
+ // color: map-get($semantic, sucess);
402
+ // transition: transform 500ms ease, opacity 100ms linear;
403
+ // transform: translateY(20%);
404
+ // opacity: 0;
405
+
406
+ // &.mb-tu-m-ca-selected {
407
+ // transform: translateY(0%);
408
+ // opacity: 1;
409
+ // }
410
+
411
+ // > .far {
412
+ // font-size: 20px;
413
+ // }
414
+ // }
415
+
416
+ // // &:hover {
417
+ // // transform: translateX(0.5%);
418
+
419
+ // // > .mb-tu-m-ca-company-name {
420
+ // // color: #ccc;
421
+
422
+ // // @include themify(color, color1);
423
+ // // }
424
+ // // }
425
+
426
+ // }
427
+
428
+ // > .mb-tu-m-ca-btn {
429
+ // margin-top: 5px;
430
+ // background-color: #ccc;
431
+ // user-select: none;
432
+
433
+ // @include themify(background-color, neutral3);
434
+
435
+ // border-bottom-left-radius: 15px;
436
+ // border-bottom-right-radius: 15px;
437
+ // width: 100%;
438
+ // height: 60px;
439
+ // font-weight: 700;
440
+ // padding-left: 20px;
441
+ // padding-right: 25px;
442
+ // font-size: 14px;
443
+ // display: flex;
444
+ // justify-content: space-between;
445
+ // align-items: center;
446
+ // flex-direction: row;
447
+ // color: #fff;
448
+ // cursor: default;
449
+ // transition: background-color 250ms linear;
450
+
451
+ // &.mb-tu-m-ca-btn-active {
452
+ // background-color: #ccc;
453
+ // cursor: pointer;
454
+
455
+ // @include themify(background-color, color1);
456
+ // }
457
+
458
+ // > .fas {
459
+ // font-size: 20px;
460
+ // }
461
+ // }
462
+ // }
463
+ // }
464
+
465
+ // &.mb-tu-menu-active {
466
+ // transform: translate3d(0%, 0%, 0px);
467
+ // opacity: 1;
468
+ // }
469
+
470
+ // &.mb-tu-menu-hide {
471
+ // pointer-events: none;
472
+ // display: none;
473
+ // visibility: hidden;
474
+ // }
475
+ // }
476
+ // .more-company-wrapper {
477
+ // mb-t-u-btn {
478
+ // mb-t-u-link {
479
+ // a {
480
+ // div.mb {
481
+ // display: flex;
482
+ // align-items: center;
483
+ // justify-content: space-between;
484
+ // padding: 10px 28px 10px 21px;
485
+ // }
486
+ // }
487
+ // }
488
+ // }
489
+ // }
490
+ // }
491
+
492
+ @import "../../../../themes/themes.style.scss";
493
+ @import "./user.animations.scss";
494
+
495
+ .mb[topbar-user] {
496
+ height: 100%;
497
+ padding-right: 15px;
498
+
499
+ > .mb-tu-button {
500
+ height: 100%;
501
+ display: flex;
502
+ flex-direction: row;
503
+ justify-content: flex-end;
504
+ align-items: center;
505
+ position: relative;
506
+ padding-right: 5px;
507
+ padding-left: 20px;
508
+ z-index: 700;
509
+ background-color: #ffffff;
510
+
511
+ @include themify(background-color, backgroundTopBar);
512
+
513
+ transition: width 500ms ease;
514
+ will-change: width;
515
+
516
+ @media screen and (max-width: 768px) {
517
+ width: 130px;
518
+
519
+ &.mb-tu-button-active {
520
+ width: 250px;
521
+ }
522
+ }
523
+
524
+ > .mb-tu-button-names-container {
525
+ height: 100%;
526
+ position: relative;
527
+ overflow: hidden;
528
+ cursor: pointer;
529
+
530
+ @media screen and (max-width: 768px) {
531
+ position: absolute;
532
+ left: 20px;
533
+ opacity: 0;
534
+ will-change: opacity;
535
+ transition: opacity 200ms 0ms linear;
536
+
537
+ &.mb-tu-button-active {
538
+ transition: opacity 200ms 250ms linear;
539
+ opacity: 1;
540
+ }
541
+ }
542
+
543
+ .mb-tu-button-names {
544
+ position: relative;
545
+ height: 100%;
546
+ display: flex;
547
+ flex-direction: column;
548
+ justify-content: center;
549
+ align-items: flex-end;
550
+ transition: transform 1000ms ease;
551
+ word-break: keep-all;
552
+ white-space: nowrap;
553
+
554
+ &.mb-tu-user {
555
+ &.mb-tu-focus-company {
556
+ transform: translate3d(0%, -100%, 0px);
557
+ }
558
+ }
559
+
560
+ &.mb-tu-company {
561
+ &.mb-tu-focus-company {
562
+ transform: translate3d(0%, -100%, 0px);
563
+ }
564
+ }
565
+
566
+ > .mb-tu-button-subtitle {
567
+ text-align: right;
568
+ color: #ccc;
569
+
570
+ @include themify(color, neutral3);
571
+
572
+ font-size: 12px;
573
+ font-weight: 400;
574
+ user-select: none;
575
+ }
576
+
577
+ > .mb-tu-button-title {
578
+ text-align: right;
579
+ color: #8034ad;
580
+
581
+ @include themify(color, color1);
582
+
583
+ font-weight: 700;
584
+ user-select: none;
585
+ font-size: 14px;
586
+ }
587
+ }
588
+ }
589
+
590
+ > .mb-tu-button-arrow-container {
591
+ width: 30px;
592
+ height: 100%;
593
+ display: flex;
594
+ flex-direction: row;
595
+ justify-content: center;
596
+ align-items: center;
597
+ margin-right: 15px;
598
+ cursor: pointer;
599
+
600
+ > .mb-tu-button-arrow {
601
+ color: #8034ad;
602
+
603
+ @include themify(color, color1);
604
+
605
+ font-size: 19px;
606
+ transform: rotateZ(0deg);
607
+ transition: transform 0.5s ease;
608
+
609
+ &.mb-tu-button-active {
610
+ transform: rotateZ(180deg);
611
+ }
612
+ }
613
+ }
614
+
615
+ > .mb-tu-avatar-container {
616
+ width: 55px;
617
+ height: 55px;
618
+ position: relative;
619
+
620
+ .mb-tu-avatar {
621
+ user-select: none;
622
+ position: absolute;
623
+ left: 0px;
624
+ bottom: 0px;
625
+ width: 55px;
626
+ height: 55px;
627
+ border-radius: 30px;
628
+ font-size: 30px;
629
+ line-height: 55px;
630
+ color: white;
631
+ font-weight: 700;
632
+ text-align: center;
633
+ background-position: center center;
634
+ background-size: contain;
635
+ will-change: transform, z-index;
636
+ cursor: pointer;
637
+ overflow: hidden;
638
+ box-shadow: 0px 2px 10px #d7d7d7;
639
+
640
+ &.mb-tua-user {
641
+ top: 0px;
642
+ right: 0px;
643
+ transform: rotate3d(0px, 0px, 0px) scale(1);
644
+
645
+ &.mb-tua-focus-company {
646
+ animation: mb-tu-anim-focus-In 1000ms ease;
647
+ transform: translate3d(-50%, 25%, 0) scale(0.5);
648
+ }
649
+
650
+ &.mb-tua-focus-user {
651
+ animation: mb-tu-anim-focus-out 1000ms ease;
652
+ }
653
+
654
+ &.mb-tua-focus-z-index {
655
+ z-index: 1;
656
+ }
657
+ }
658
+
659
+ &.mb-tua-company {
660
+ top: 6px;
661
+ right: auto;
662
+ transform: translate3d(-50%, 25%, 0px) scale(0.5);
663
+
664
+ &.mb-tua-focus-company {
665
+ animation: mb-tu-anim-focus-out 1000ms ease;
666
+ transform: translate3d(0%, 0%, 0px) scale(1);
667
+ }
668
+
669
+ &.mb-tua-focus-user {
670
+ animation: mb-tu-anim-focus-In 1000ms ease;
671
+ transform: translate3d(-50%, 25%, 0px) scale(0.5);
672
+ }
673
+
674
+ &.mb-tua-focus-z-index {
675
+ z-index: 0;
676
+ }
677
+ }
678
+ }
679
+ }
680
+ }
681
+
682
+ > .mb-tu-menu {
683
+ top: calc(100% - 30px);
684
+ left: 0px;
685
+ right: 15px;
686
+ position: absolute;
687
+ height: auto;
688
+ padding-top: 30px;
689
+ background-color: #fff;
690
+ z-index: 600;
691
+ transform-origin: top center;
692
+ transition: transform 500ms ease, opacity 200ms linear;
693
+ transform: translate3d(0%, -15%, 0px);
694
+ opacity: 0;
695
+ box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1), 0px 0px 70px rgba(0, 0, 0, 0.25);
696
+ border-bottom-left-radius: 15px;
697
+ border-bottom-right-radius: 15px;
698
+
699
+ .mb-tu-menu-content {
700
+ border-top: 3px solid #8034ad;
701
+
702
+ @include themify(border-color, color1);
703
+
704
+ transition: opacity 250ms 500ms linear;
705
+ position: relative;
706
+ z-index: 700;
707
+
708
+ > .mb-tu-menu-company-content {
709
+ width: 100%;
710
+ padding-top: 15px;
711
+ display: flex;
712
+ flex-direction: column;
713
+ justify-content: center;
714
+
715
+ .mb-tu-menu-company-info-container {
716
+ display: flex;
717
+ flex-direction: column;
718
+ justify-content: flex-start;
719
+
720
+ .mb-tu-menu-company-info {
721
+ padding-left: 15px;
722
+ padding-right: 15px;
723
+ padding-bottom: 15px;
724
+ width: 100%;
725
+ text-align: right;
726
+
727
+ .mb-tu-menu-company-info-title {
728
+ color: #ccc;
729
+
730
+ @include themify(color, color1);
731
+
732
+ font-weight: 700;
733
+ font-size: 12px;
734
+ }
735
+
736
+ .mb-tu-menu-company-info-text {
737
+ color: #ccc;
738
+
739
+ @include themify(color, neutral2);
740
+
741
+ font-weight: 400;
742
+ font-size: 14px;
743
+ }
744
+ }
745
+ }
746
+
747
+ .mb-tu-menu-company-line {
748
+ width: calc(100% - 30px);
749
+ height: 1px;
750
+ background-color: #ddd;
751
+ align-self: center;
752
+ }
753
+
754
+ .mb-tu-menu-company-bottom-btn {
755
+ // background-color: #ccc;
756
+ user-select: none;
757
+
758
+ // @include themify(background-color, neutral3);
759
+
760
+ width: 100%;
761
+ height: 50px;
762
+ font-weight: 700;
763
+ padding-left: 20px;
764
+ padding-right: 25px;
765
+ font-size: 12px;
766
+ display: flex;
767
+ justify-content: space-between;
768
+ align-items: center;
769
+ flex-direction: row;
770
+ color: #fff;
771
+
772
+ @include themify(color, neutral2);
773
+
774
+ cursor: pointer;
775
+
776
+ > .fas {
777
+ font-size: 16px;
778
+ }
779
+
780
+ > .far {
781
+ font-size: 16px;
782
+ }
783
+
784
+ &:last-child {
785
+ // @include themify(background-color, neutral2);
786
+
787
+ border-bottom-left-radius: 15px;
788
+ border-bottom-right-radius: 15px;
789
+ }
790
+ }
791
+ }
792
+
793
+ > .mb-tu-menu-change-account {
794
+ width: 100%;
795
+ height: auto;
796
+
797
+ > .mb-tu-m-ca-title {
798
+ width: 100%;
799
+ height: 80px;
800
+ text-align: left;
801
+ position: relative;
802
+ overflow: hidden;
803
+ padding: 15px 25px 15px 25px;
804
+ user-select: none;
805
+
806
+ > .mb-tu-m-ca-t-back {
807
+ display: inline-block;
808
+ color: #ccc;
809
+ font-size: 14px;
810
+
811
+ @include themify(color, color1);
812
+
813
+ cursor: pointer;
814
+ }
815
+
816
+ > .mb-tu-m-ca-t-text {
817
+ color: #ccc;
818
+
819
+ @include themify(color, neutral2);
820
+
821
+ font-weight: 700;
822
+ font-size: 16px;
823
+ }
824
+
825
+ > .mb-tu-m-ca-t-detail-container {
826
+ position: absolute;
827
+ top: 60px;
828
+ left: -20px;
829
+
830
+ > .mb-tu-m-ca-t-detail {
831
+ width: 80px;
832
+
833
+ > .mb-tu-m-ca-t-d-path {
834
+ fill: #ccc;
835
+
836
+ @include themify(fill, neutral3);
837
+
838
+ stroke: #ccc;
839
+
840
+ @include themify(stroke, neutral3);
841
+
842
+ stroke-miterlimit: 10;
843
+ stroke-width: 2px;
844
+ }
845
+ }
846
+ }
847
+ }
848
+
849
+ .body-company {
850
+ max-height: 300px;
851
+ overflow: auto;
852
+ }
853
+ .mb-tu-m-ca-company {
854
+ width: 100%;
855
+ display: flex;
856
+ justify-content: flex-start;
857
+ font-size: 14px;
858
+ padding: 10px 15px 10px 10px;
859
+ align-items: center;
860
+ flex-direction: row;
861
+ font-weight: 700;
862
+ transition: transform 250ms ease;
863
+ transform: translateX(0%);
864
+ cursor: pointer;
865
+ position: relative;
866
+
867
+ > .mb-tu-m-ca-company-avatar {
868
+ min-height: 40px;
869
+ min-width: 40px;
870
+ background-color: #ccc;
871
+ position: relative;
872
+
873
+ @include themify(background-color, neutral3);
874
+
875
+ border-radius: 20px;
876
+ line-height: 40px;
877
+ text-align: center;
878
+ color: white;
879
+ font-size: 18px;
880
+ background-size: contain;
881
+ background-position: center center;
882
+ box-shadow: 0px 2px 10px #d7d7d7;
883
+ }
884
+
885
+ > .mb-tu-m-ca-company-name {
886
+ margin-left: 10px;
887
+ color: #ccc;
888
+ transition: 200ms linear;
889
+ text-align: left;
890
+
891
+ @include themify(color, neutral2);
892
+ }
893
+
894
+ > .mb-tu-m-ca-company-confirm {
895
+ position: absolute;
896
+ right: 25px;
897
+ color: map-get($semantic, sucess);
898
+ transition: transform 500ms ease, opacity 100ms linear;
899
+ transform: translateY(20%);
900
+ opacity: 0;
901
+
902
+ &.mb-tu-m-ca-selected {
903
+ transform: translateY(0%);
904
+ opacity: 1;
905
+ }
906
+
907
+ > .far {
908
+ font-size: 20px;
909
+ }
910
+ }
911
+
912
+ // &:hover {
913
+ // transform: translateX(0.5%);
914
+
915
+ // > .mb-tu-m-ca-company-name {
916
+ // color: #ccc;
917
+
918
+ // @include themify(color, color1);
919
+ // }
920
+ // }
921
+ }
922
+
923
+ > .mb-tu-m-ca-btn {
924
+ margin-top: 5px;
925
+ background-color: #ccc;
926
+ user-select: none;
927
+
928
+ @include themify(background-color, neutral3);
929
+
930
+ border-bottom-left-radius: 15px;
931
+ border-bottom-right-radius: 15px;
932
+ width: 100%;
933
+ height: 60px;
934
+ font-weight: 700;
935
+ padding-left: 20px;
936
+ padding-right: 25px;
937
+ font-size: 14px;
938
+ display: flex;
939
+ justify-content: space-between;
940
+ align-items: center;
941
+ flex-direction: row;
942
+ color: #fff;
943
+ cursor: default;
944
+ transition: background-color 250ms linear;
945
+
946
+ &.mb-tu-m-ca-btn-active {
947
+ background-color: #ccc;
948
+ cursor: pointer;
949
+
950
+ @include themify(background-color, color1);
951
+ }
952
+
953
+ > .fas {
954
+ font-size: 20px;
955
+ }
956
+ }
957
+ }
958
+ }
959
+
960
+ &.mb-tu-menu-active {
961
+ transform: translate3d(0%, 0%, 0px);
962
+ opacity: 1;
963
+ }
964
+
965
+ &.mb-tu-menu-hide {
966
+ pointer-events: none;
967
+ display: none;
968
+ visibility: hidden;
969
+ }
970
+ }
971
+ .more-company-wrapper {
972
+ mb-t-u-btn {
973
+ mb-t-u-link {
974
+ a {
975
+ div.mb {
976
+ display: flex;
977
+ align-items: center;
978
+ justify-content: space-between;
979
+ padding: 10px 28px 10px 21px;
980
+ }
981
+ }
982
+ }
983
+ }
984
+ }
985
+ .matriz-organization {
986
+ line-height: normal;
987
+ position: absolute;
988
+ bottom: -3px;
989
+ right: -3px;
990
+
991
+ svg {
992
+ width: 18px;
993
+ fill: #f9bd00;
994
+ filter: drop-shadow(-1px -1px 0px rgba(255, 255, 255, 1));
995
+ }
996
+ }
997
+ }