ode-csslib-openent-neoconnect 3.4.19 → 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.
Files changed (34) hide show
  1. package/dist/css/_springboard-overrides.scss +1 -0
  2. package/dist/css/styles/_header-v2.scss +196 -0
  3. package/dist/i18n/Portal/fr.json +5 -1
  4. package/dist/img/background.png +0 -0
  5. package/dist/img/illustrations/logo.png +0 -0
  6. package/dist/img/logo.png +0 -0
  7. package/dist/img/partners/77 college connecte@4x.png +0 -0
  8. package/dist/img/partners/Alpes de haute provence NEO@2x.png +0 -0
  9. package/dist/img/partners/Bouche rhone neo@2x.png +0 -0
  10. package/dist/img/partners/ENT HDF one neo.png +0 -0
  11. package/dist/img/partners/Hautes-alpesNEO@2x.png +0 -0
  12. package/dist/img/partners/Logo Colibri (1).png +0 -0
  13. package/dist/img/partners/LogoADM_NEO_couleur@4x.png +0 -0
  14. package/dist/img/partners/Noir - logo-college-var.png +0 -0
  15. package/dist/img/partners/Odyssey-byNEO@2x.png +0 -0
  16. package/dist/img/partners/PCN Edifice Academie sans fond.png +0 -0
  17. package/dist/img/partners/Plan de travail 1@1.5x.png +0 -0
  18. package/dist/img/partners/charente by neo.png +0 -0
  19. package/dist/img/partners/e-primo logo.png +0 -0
  20. package/dist/img/partners/educnormandie x6.png +0 -0
  21. package/dist/img/partners/espace collegien de provence by neo@2x.png +0 -0
  22. package/dist/img/partners/image (1).png +0 -0
  23. package/dist/img/partners/leai by neo 1700x580.png +0 -0
  24. package/dist/img/partners/logo medelin.png +0 -0
  25. package/dist/img/partners/monCollegeByNEO-horizontal.png +0 -0
  26. package/dist/img/partners/nati tahi rua.png +0 -0
  27. package/dist/img/partners/syn by neo@2x.png +0 -0
  28. package/dist/portal.html +0 -8
  29. package/dist/skins/default/theme.css +1 -1
  30. package/dist/skins/default/theme.css.map +1 -1
  31. package/dist/skins/dyslexic/theme.css +1 -1
  32. package/dist/skins/dyslexic/theme.css.map +1 -1
  33. package/dist/version.txt +2 -2
  34. package/package.json +2 -2
@@ -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
+ }
@@ -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
  }
Binary file
Binary file
package/dist/img/logo.png CHANGED
Binary file
Binary file
package/dist/portal.html CHANGED
@@ -111,14 +111,6 @@
111
111
  </svg>
112
112
  </button>
113
113
  <ul class="dropdown-menu dropdown-menu-end" id="dropdown-navbar" ng-class="{'show' : dropdownToggle}">
114
- <li class="nav-item" data-community ng-if="me.hasWorkflow('net.atos.entng.community.controllers.CommunityController|view')">
115
- <a class="nav-link dropdown-item" href="/community" i18n-title="navbar.community"
116
- ng-click="ctrl.trackEvent($event, {detail:{'open':'community'} })">
117
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24" aria-hidden="true" class="icon community"><path fill="currentColor" d="M19.935 17.51c.725 0 1.348.264 1.868.792.52.529.78 1.162.78 1.898 0 .737-.26 1.37-.78 1.898-.52.529-1.135.793-1.844.793-.71 0-1.333-.264-1.869-.793a2.52 2.52 0 0 1-.78-1.922c0-.288.063-.6.19-.936l-3.997-2.931c-.773.8-1.703 1.2-2.79 1.2-1.089 0-2.019-.392-2.791-1.176-.773-.785-1.167-1.738-1.183-2.86 0-.143.024-.352.071-.624l-3.168-1.057a1.248 1.248 0 0 1-.852.337c-.378 0-.693-.129-.946-.385a1.315 1.315 0 0 1-.378-.96c0-.385.126-.698.378-.938.253-.24.568-.368.946-.384.316 0 .584.104.804.312.221.208.37.457.45.745l3.192 1.08a3.798 3.798 0 0 1 1.443-1.56 3.839 3.839 0 0 1 2.033-.577c.82 0 1.577.248 2.27.745l4.706-4.781c-.252-.48-.378-.921-.378-1.321 0-.737.26-1.37.78-1.898.52-.529 1.143-.793 1.869-.793.725 0 1.34.264 1.844.793.505.528.765 1.16.78 1.898a2.417 2.417 0 0 1-.78 1.873c-.536.513-1.159.777-1.868.793-.41 0-.844-.136-1.3-.408l-4.707 4.804c.49.705.733 1.474.733 2.307 0 .592-.134 1.177-.402 1.753l3.997 2.907c.52-.416 1.08-.624 1.679-.624Z"></path></svg>
118
-
119
- <span class="nav-text"><i18n>navbar.community</i18n></span>
120
- </a>
121
- </li>
122
114
  <li class="nav-item" data-community ng-if="me.hasWorkflow('community.access')">
123
115
  <a class="nav-link dropdown-item" href="/communities" i18n-title="navbar.community"
124
116
  ng-click="ctrl.trackEvent($event, {detail:{'open':'communities'} })">