@djb25/digit-ui-module-wt 1.0.10 → 1.0.12
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/dist/index.css +87 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +3133 -298
- package/dist/index.modern.js.map +1 -1
- package/package.json +36 -33
package/dist/index.css
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
/* WT Module Mobile Responsive Styles */
|
|
2
|
+
|
|
3
|
+
@media (max-width: 640px) {
|
|
4
|
+
/* Hide the global sidebar and navbar when WT module is active */
|
|
5
|
+
body._index__wt-module-active__1Dq1Y ._index__sidebar__2xHGN,
|
|
6
|
+
body._index__wt-module-active__1Dq1Y ._index__navbar__G1DPy,
|
|
7
|
+
body._index__wt-module-active__1Dq1Y ._index__hamburger-menu__W-bNI {
|
|
8
|
+
display: none !important;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
/* Adjust main content area to take full width */
|
|
12
|
+
body._index__wt-module-active__1Dq1Y ._index__main__1j9-Y {
|
|
13
|
+
margin-left: 0 !important;
|
|
14
|
+
padding-top: 0 !important;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
body._index__wt-module-active__1Dq1Y ._index__employee-app-container__TsKez {
|
|
18
|
+
padding: 0 !important;
|
|
19
|
+
height: 100vh;
|
|
20
|
+
overflow-y: auto;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
/* Style for the new topbar tabs */
|
|
24
|
+
._index__wt-topbar-tabs-container__3LXbn {
|
|
25
|
+
background: #fff;
|
|
26
|
+
border-bottom: 1px solid #e0e0e0;
|
|
27
|
+
position: sticky;
|
|
28
|
+
top: 0;
|
|
29
|
+
z-index: 1000;
|
|
30
|
+
padding: 8px 0;
|
|
31
|
+
overflow-x: auto;
|
|
32
|
+
white-space: nowrap;
|
|
33
|
+
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
._index__wt-topbar-tabs-container__3LXbn ._index__horizontal-nav__3tZNx {
|
|
37
|
+
display: flex;
|
|
38
|
+
padding: 0 12px;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
._index__wt-topbar-tabs-container__3LXbn ._index__sidebar-list__xD5FF {
|
|
42
|
+
padding: 6px 16px;
|
|
43
|
+
margin-right: 8px;
|
|
44
|
+
border-radius: 20px;
|
|
45
|
+
background: #f0f4f8;
|
|
46
|
+
color: #4a5568;
|
|
47
|
+
font-size: 13px;
|
|
48
|
+
font-weight: 600;
|
|
49
|
+
cursor: pointer;
|
|
50
|
+
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
51
|
+
border: 1px solid #e2e8f0;
|
|
52
|
+
display: inline-flex;
|
|
53
|
+
align-items: center;
|
|
54
|
+
justify-content: center;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
._index__wt-topbar-tabs-container__3LXbn ._index__sidebar-list__xD5FF._index__active__15R9- {
|
|
58
|
+
background: linear-gradient(135deg, #1a237e 0%, #3949ab 100%);
|
|
59
|
+
color: #ffffff;
|
|
60
|
+
border-color: #1a237e;
|
|
61
|
+
box-shadow: 0 4px 6px rgba(26, 35, 126, 0.2);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/* Hide scrollbar but keep functionality */
|
|
65
|
+
._index__wt-topbar-tabs-container__3LXbn::-webkit-scrollbar {
|
|
66
|
+
display: none;
|
|
67
|
+
}
|
|
68
|
+
._index__wt-topbar-tabs-container__3LXbn {
|
|
69
|
+
-ms-overflow-style: none;
|
|
70
|
+
scrollbar-width: none;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/* Adjust ModuleHeader height and spacing */
|
|
74
|
+
body._index__wt-module-active__1Dq1Y ._index__module-header__1MGyF {
|
|
75
|
+
background: #fff;
|
|
76
|
+
padding: 12px 16px !important;
|
|
77
|
+
margin-bottom: 0 !important;
|
|
78
|
+
border-bottom: 1px solid #f0f0f0;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
/* Desktop styles to ensure tabs are hidden */
|
|
83
|
+
@media (min-width: 641px) {
|
|
84
|
+
._index__wt-topbar-tabs-container__3LXbn {
|
|
85
|
+
display: none;
|
|
86
|
+
}
|
|
87
|
+
}
|