ode-csslib-openent-neoconnect 3.4.20-develop-integration-demo.202609021114 → 3.4.20-develop-integration-demo.202609031838
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/css/_springboard-overrides.scss +1 -0
- package/dist/css/styles/_header-v2.scss +196 -0
- package/dist/i18n/Portal/fr.json +5 -1
- package/dist/skins/default/theme.css +1 -1
- package/dist/skins/default/theme.css.map +1 -1
- package/dist/skins/dyslexic/theme.css +1 -1
- package/dist/skins/dyslexic/theme.css.map +1 -1
- package/dist/version.txt +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import "styles/header-v2";
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
// Header v2 (uiOverrides['layout.header'] = 'v2') — neoconnect only.
|
|
2
|
+
// Layers on top of the shared .header rules (scss/layouts/_header.scss),
|
|
3
|
+
// which stay untouched so every other skin/override keeps the v1 look.
|
|
4
|
+
|
|
5
|
+
.header-v2 .navbar {
|
|
6
|
+
background: $white !important;
|
|
7
|
+
box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.06);
|
|
8
|
+
border-bottom: 2px solid;
|
|
9
|
+
border-image-slice: 1;
|
|
10
|
+
border-image-source: linear-gradient(67.55deg, #ffc403, #fc94ff);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
// No logo on mobile — the brand link itself is hidden (not just the image)
|
|
14
|
+
// so the nav-icons row can claim the full header width from the left edge.
|
|
15
|
+
.header-v2 .navbar-brand {
|
|
16
|
+
display: none;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@media (min-width: 800px) {
|
|
20
|
+
.header-v2 .navbar-brand {
|
|
21
|
+
display: inline-block;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.header-v2 .navbar-brand .logo {
|
|
25
|
+
display: inline-block;
|
|
26
|
+
height: 20px;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.header-v2 .navbar .navbar-nav {
|
|
31
|
+
width: 100%;
|
|
32
|
+
gap: 0.8rem;
|
|
33
|
+
justify-content: space-between;
|
|
34
|
+
margin-right: 0 !important;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
@media (min-width: 800px) {
|
|
38
|
+
.header-v2 .navbar .navbar-nav {
|
|
39
|
+
width: auto;
|
|
40
|
+
justify-content: flex-end;
|
|
41
|
+
margin-right: 0 !important;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.header-v2 .navbar .nav-link {
|
|
46
|
+
padding: 8px;
|
|
47
|
+
border-radius: 8px;
|
|
48
|
+
transition: background-color 0.2s ease-in-out;
|
|
49
|
+
|
|
50
|
+
&:hover {
|
|
51
|
+
border-bottom: none;
|
|
52
|
+
background-color: #f7f7f7;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&:active {
|
|
56
|
+
background-color: #f2f2f2;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
// Popovers are centered by default (top-100 start-50 translate-middle-x) which
|
|
61
|
+
// overflows the viewport when the trigger sits near the right edge of the
|
|
62
|
+
// right-aligned nav — anchor to the trigger's right edge instead.
|
|
63
|
+
.header-v2 .navbar .popover {
|
|
64
|
+
left: auto;
|
|
65
|
+
right: 0;
|
|
66
|
+
transform: none;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
// .dropdown-item has no display override outside of the (irrelevant here)
|
|
70
|
+
// mobile .dropdown-menu context, so it falls back to .nav-link's display:block
|
|
71
|
+
// and its icon's display:block, stacking icon/text on separate lines.
|
|
72
|
+
.header-v2 .popover-body .dropdown-item {
|
|
73
|
+
display: flex;
|
|
74
|
+
align-items: center;
|
|
75
|
+
gap: 8px;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.header-v2 .navbar .nav-link .badge {
|
|
79
|
+
background-color: #dc0404 !important;
|
|
80
|
+
border-radius: 50rem;
|
|
81
|
+
right: -16px;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
@media (min-width: 800px) {
|
|
85
|
+
.header-v2 .navbar .nav-link .badge {
|
|
86
|
+
right: -12px;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.header-v2 .avatar {
|
|
91
|
+
--ode-avatar-size: 24px;
|
|
92
|
+
--ode-avatar-svg-size: 18px;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
@media (min-width: 800px) {
|
|
96
|
+
.header-v2 .avatar {
|
|
97
|
+
--ode-avatar-size: 32px;
|
|
98
|
+
--ode-avatar-svg-size: 24px;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.header-v2 .notification-button {
|
|
103
|
+
display: inline-flex;
|
|
104
|
+
align-items: center;
|
|
105
|
+
justify-content: center;
|
|
106
|
+
padding: 8px;
|
|
107
|
+
border-radius: 8px;
|
|
108
|
+
background-color: transparent;
|
|
109
|
+
transition: background-color 0.2s ease-in-out;
|
|
110
|
+
|
|
111
|
+
&:hover {
|
|
112
|
+
background-color: #f7f7f7;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
&:active {
|
|
116
|
+
background-color: #f2f2f2;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.header-v2 .notification-popover {
|
|
121
|
+
display: block;
|
|
122
|
+
opacity: 1;
|
|
123
|
+
width: 320px;
|
|
124
|
+
max-width: 320px;
|
|
125
|
+
padding: 16px;
|
|
126
|
+
border-radius: 16px;
|
|
127
|
+
box-shadow: 0px 4px 5px rgba(0, 0, 0, 0.18);
|
|
128
|
+
|
|
129
|
+
&::before {
|
|
130
|
+
content: none;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.popover-body {
|
|
134
|
+
display: flex;
|
|
135
|
+
flex-direction: column;
|
|
136
|
+
gap: 12px;
|
|
137
|
+
padding: 0;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.header-v2 .notification-popover-header {
|
|
142
|
+
display: flex;
|
|
143
|
+
align-items: center;
|
|
144
|
+
gap: 10px;
|
|
145
|
+
width: 100%;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.header-v2 .notification-popover-title {
|
|
149
|
+
flex: 1 0 0;
|
|
150
|
+
margin: 0;
|
|
151
|
+
color: #383838;
|
|
152
|
+
font-size: 22px;
|
|
153
|
+
font-weight: 700;
|
|
154
|
+
line-height: 28px;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.header-v2 .notification-popover-illu {
|
|
158
|
+
display: block;
|
|
159
|
+
width: 64px;
|
|
160
|
+
height: 64px;
|
|
161
|
+
margin: 0 auto;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.header-v2 .notification-popover-text {
|
|
165
|
+
display: flex;
|
|
166
|
+
flex-direction: column;
|
|
167
|
+
gap: 4px;
|
|
168
|
+
color: #696969;
|
|
169
|
+
font-size: 16px;
|
|
170
|
+
line-height: 22px;
|
|
171
|
+
|
|
172
|
+
p {
|
|
173
|
+
margin: 0;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.header-v2 .notification-popover-actions {
|
|
178
|
+
display: flex;
|
|
179
|
+
justify-content: flex-end;
|
|
180
|
+
width: 100%;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.header-v2 .notification-popover-cta {
|
|
184
|
+
display: inline-flex;
|
|
185
|
+
align-items: center;
|
|
186
|
+
gap: 8px;
|
|
187
|
+
color: #1c1c73;
|
|
188
|
+
font-size: 16px;
|
|
189
|
+
font-weight: 700;
|
|
190
|
+
text-decoration: none;
|
|
191
|
+
white-space: nowrap;
|
|
192
|
+
|
|
193
|
+
&:hover {
|
|
194
|
+
text-decoration: underline;
|
|
195
|
+
}
|
|
196
|
+
}
|
package/dist/i18n/Portal/fr.json
CHANGED
|
@@ -18,5 +18,9 @@
|
|
|
18
18
|
"smartbanner.android.store": "Google Play",
|
|
19
19
|
"smartbanner.android.uri": "https://play.google.com/store/apps/details?id=com.ode.neo",
|
|
20
20
|
"smartbanner.ios.store": "App Store",
|
|
21
|
-
"smartbanner.ios.uri": "https://apps.apple.com/fr/app/neo-pocket/id1458097439"
|
|
21
|
+
"smartbanner.ios.uri": "https://apps.apple.com/fr/app/neo-pocket/id1458097439",
|
|
22
|
+
"notifications.unavailable.title": "Non accessible",
|
|
23
|
+
"notifications.unavailable.body1": "Nous modernisons progressivement votre ENT module par module. Les notifications seront disponibles lorsque cette page aura fait peau neuve.",
|
|
24
|
+
"notifications.unavailable.body2": "En attendant, pour consulter vos notifications, rendez-vous sur votre page d'accueil.",
|
|
25
|
+
"notifications.unavailable.cta": "Consulter sur la page d'accueil"
|
|
22
26
|
}
|