ode-csslib 4.0.8 → 4.0.10-dev.202304211435

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 (46) hide show
  1. package/assets/fonts/generic-icons/generic-icons.svg +2 -0
  2. package/assets/fonts/generic-icons/generic-icons.ttf +0 -0
  3. package/assets/fonts/generic-icons/generic-icons.woff +0 -0
  4. package/dist/fonts/generic-icons/generic-icons.svg +2 -0
  5. package/dist/fonts/generic-icons/generic-icons.ttf +0 -0
  6. package/dist/fonts/generic-icons/generic-icons.woff +0 -0
  7. package/dist/index.css +4 -4
  8. package/dist/index.css.map +1 -1
  9. package/dist/version.txt +1 -1
  10. package/package.json +1 -1
  11. package/scss/specifics/calendar/components/calendar.scss +6 -6
  12. package/scss/specifics/crre/_crre.scss +54 -3
  13. package/scss/specifics/crre/components/_icons.scss +16 -0
  14. package/scss/specifics/crre/components/_index.scss +2 -1
  15. package/scss/specifics/crre/fragments/_status-circle.scss +1 -1
  16. package/scss/specifics/formulaire/components/_edit-form.scss +10 -2
  17. package/scss/specifics/formulaire/components/_icon.scss +14 -1
  18. package/scss/specifics/formulaire/components/_main.scss +3 -0
  19. package/scss/specifics/formulaire/components/_result-form.scss +12 -0
  20. package/scss/specifics/formulaire/components/containers/cursor/_question-type-cursor.scss +15 -8
  21. package/scss/specifics/lystore/_lystore.scss +3 -0
  22. package/scss/specifics/lystore/components/_index.scss +5 -1
  23. package/scss/specifics/lystore/components/directives/_campaign-titles-card.scss +21 -0
  24. package/scss/specifics/lystore/components/directives/_equipment-card.scss +29 -0
  25. package/scss/specifics/lystore/components/directives/_equipment-detail.scss +11 -0
  26. package/scss/specifics/lystore/components/parameter/_parameter-active-structure.scss +16 -15
  27. package/scss/specifics/lystore/components/title/_title-delete-lightbox.scss +6 -0
  28. package/scss/specifics/magneto/components/_icons.scss +11 -0
  29. package/scss/specifics/magneto/components/containers/_board-read.scss +12 -0
  30. package/scss/specifics/magneto/components/containers/_board.scss +2 -1
  31. package/scss/specifics/magneto/components/directives/_board-manage-lightbox.scss +18 -0
  32. package/scss/specifics/magneto/components/directives/_card-collection-lightbox.scss +18 -0
  33. package/scss/specifics/magneto/components/directives/_card-comment.scss +69 -0
  34. package/scss/specifics/magneto/components/directives/_card-item-comments.scss +32 -0
  35. package/scss/specifics/magneto/components/directives/_card-list-item-options.scss +2 -2
  36. package/scss/specifics/magneto/components/directives/_card-list-item.scss +32 -27
  37. package/scss/specifics/magneto/components/directives/_card-list.scss +5 -3
  38. package/scss/specifics/magneto/components/directives/_card-manage-lightbox.scss +4 -0
  39. package/scss/specifics/magneto/components/directives/_comments-panel.scss +72 -0
  40. package/scss/specifics/magneto/components/directives/_index.scss +4 -1
  41. package/scss/specifics/magneto/components/directives/_section-list.scss +0 -1
  42. package/scss/specifics/support/_mixins.scss +48 -0
  43. package/scss/specifics/support/_support.scss +1 -0
  44. package/scss/specifics/support/generic/_edit-event.scss +73 -0
  45. package/scss/specifics/support/generic/_icons.scss +21 -0
  46. package/scss/specifics/support/generic/_index.scss +2 -0
@@ -1,6 +1,7 @@
1
1
  .card-list-item {
2
2
 
3
- height: 250px;
3
+ height: fit-content;
4
+
4
5
  width: 230px;
5
6
  border-radius: 10px;
6
7
  padding: 5px 5px 0px 5px;
@@ -27,12 +28,11 @@
27
28
 
28
29
  @include mobile {
29
30
  width: 170px;
30
- height: 200px;
31
+ height: fit-content;
31
32
  }
32
33
 
33
34
  &-header {
34
35
  height: 15%;
35
- gap: 5px;
36
36
  align-items: center;
37
37
  display: flex;
38
38
 
@@ -41,7 +41,8 @@
41
41
  }
42
42
 
43
43
  &-creation {
44
- margin-right: 20px;
44
+ width: 80%;
45
+ margin-left: 8px;
45
46
  display: flex;
46
47
  flex-direction: column;
47
48
 
@@ -63,7 +64,7 @@
63
64
  text-align: center;
64
65
 
65
66
  .type-icon {
66
- height: 80%;
67
+ height: 13vh;
67
68
  margin: auto;
68
69
  object-fit: contain;
69
70
  }
@@ -71,14 +72,13 @@
71
72
 
72
73
  &-preview {
73
74
  position: relative;
74
- height: 55%;
75
+ height: 18vh;
75
76
 
76
77
  img {
77
- width: 100%;
78
- height: 100%;
79
78
  margin-left: auto;
80
79
  margin-right: auto;
81
80
  object-fit: cover;
81
+ min-height: 64%;
82
82
  }
83
83
 
84
84
  &-image, &-file {
@@ -101,14 +101,14 @@
101
101
  @include noTextOverflow(999);
102
102
  margin-left: auto;
103
103
  margin-right: auto;
104
- height: 100%;
105
104
  }
106
105
  }
107
106
 
108
107
  &-type {
109
- background-color: $magneto-white;
110
- border: 5px solid $magneto-white;
108
+ background-color: $magneto-lighter-light-grey;
109
+ border: 5px solid $magneto-lighter-light-grey;
111
110
  border-top-right-radius: 10px;
111
+ border-bottom-left-radius: 10px;
112
112
  position: absolute;
113
113
  bottom: 0;
114
114
  left: 0;
@@ -130,12 +130,12 @@
130
130
  }
131
131
 
132
132
  &-infos {
133
- height: 20%;
134
133
 
135
134
  &-title {
136
135
  font-size: 16px;
137
- height: 10% !important;
138
136
  font-weight: bold;
137
+ margin-bottom: 5px;
138
+ height: 3vh;
139
139
 
140
140
  &-ellipsis {
141
141
  @include noTextOverflow(1);
@@ -146,20 +146,26 @@
146
146
  }
147
147
  }
148
148
 
149
- &-locked {
150
- position: absolute;
151
- bottom: 5px;
152
- right: 5px;
153
- font-size: 20px;
154
- }
155
- }
149
+ &-footer {
156
150
 
157
- &-caption {
158
- color: $magneto-black;
159
- font-style: italic;
160
- font-size: 0.9em;
161
- width: 90%;
162
- @include noTextOverflow(2);
151
+ height: 3vh;
152
+
153
+ &-caption {
154
+ color: $magneto-black;
155
+ font-style: italic;
156
+ font-size: 0.9em;
157
+ width: 90%;
158
+ @include noTextOverflow(1);
159
+ }
160
+
161
+ &-locked {
162
+ position: relative;
163
+ font-size: 20px;
164
+ display: flex;
165
+ justify-content: flex-end;
166
+ height: 3vh;
167
+ }
168
+ }
163
169
  }
164
170
 
165
171
  &-description {
@@ -175,7 +181,6 @@
175
181
 
176
182
  i.magneto-card-settings {
177
183
  font-size: 25px;
178
- position: absolute;
179
184
  right: 5px;
180
185
  }
181
186
  }
@@ -2,15 +2,17 @@
2
2
  &.no-background-image {
3
3
  background: $magneto-lighter-light-grey;
4
4
  }
5
- gap: 16px;
6
- flex-wrap: wrap;
5
+ display: grid;
6
+ grid-gap: 10px;
7
+ grid-template-columns: repeat(auto-fill, minmax(230px,1fr));
8
+ grid-auto-rows: 0;
7
9
 
8
10
  &-free {
9
11
  justify-content: center;
10
12
  }
11
13
 
12
14
  &-vertical {
13
- justify-content: center;
15
+ justify-items: center;
14
16
  overflow-y: auto;
15
17
  overflow-x: hidden;
16
18
  height: 85vh;
@@ -2,6 +2,10 @@
2
2
 
3
3
  @include lightboxWidth(80%);
4
4
 
5
+ .content > :first-child {
6
+ min-height: 60vh;
7
+ }
8
+
5
9
  .content {
6
10
 
7
11
  .card-manage-lightbox-head {
@@ -0,0 +1,72 @@
1
+ .magneto-comments-panel {
2
+
3
+ &.opened {
4
+ width: 320px;
5
+ height: 80%;
6
+
7
+ .magneto-comments-panel-button {
8
+ position: absolute;
9
+ right: 0;
10
+ bottom: 0;
11
+ padding: 12px;
12
+ }
13
+ }
14
+
15
+
16
+ position: absolute;
17
+ right: 0;
18
+ bottom: 0;
19
+ padding: 12px;
20
+ background: $magneto-white;
21
+ cursor: pointer;
22
+ box-shadow: -2px -2px 4px rgb(0 0 0 / 12%);
23
+
24
+ display: flex;
25
+ flex-direction: column;
26
+
27
+ &-button {
28
+ font-size: 20px;
29
+ }
30
+
31
+ &-list {
32
+
33
+ display: flex;
34
+ flex-direction: column;
35
+ height: 100%;
36
+
37
+ &-header {
38
+
39
+ display: flex;
40
+ justify-content: space-between;
41
+
42
+ i.magneto-close {
43
+ font-size: 24px;
44
+ padding: 4px;
45
+ }
46
+
47
+ &-title {
48
+ font-size: 20px;
49
+ padding: 8px;
50
+ }
51
+
52
+ }
53
+
54
+ &-items {
55
+
56
+ max-height: 80%;
57
+ overflow-y: auto !important;
58
+
59
+ &-item {
60
+ padding: 8px;
61
+ margin: 8px;
62
+ }
63
+ }
64
+
65
+ .comment-input {
66
+ bottom: 0;
67
+ position: absolute;
68
+ }
69
+ }
70
+
71
+
72
+ }
@@ -17,4 +17,7 @@
17
17
  @import 'board-nav';
18
18
  @import 'card-manage-lightbox';
19
19
  @import 'board-date';
20
- @import 'card-collection-lightbox';
20
+ @import 'card-collection-lightbox';
21
+ @import 'card-item-comments';
22
+ @import 'card-comment';
23
+ @import 'comments-panel';
@@ -1,7 +1,6 @@
1
1
  .sections-list {
2
2
  i.magneto-card-settings {
3
3
  font-size: 25px;
4
- position: absolute;
5
4
  right: 5px;
6
5
  }
7
6
 
@@ -0,0 +1,48 @@
1
+ /*Calendar module colors*/
2
+ $calendar-blue: #39a5ce;
3
+ $calendar-white: #ffffff;
4
+ $calendar-orange: #ff8500;
5
+ $calendar-black: #000000;
6
+ $calendar-grey: #8c939e;
7
+ $calendar-ode-grey: #3F454F;
8
+
9
+
10
+ /*Tooltip mixins*/
11
+
12
+
13
+ @mixin tooltipTemplate($width) {
14
+ font-family: Roboto;
15
+ visibility: hidden;
16
+ width: $width;
17
+ font-size: 12px;
18
+ box-shadow: 0 2px 20px rgba(0, 0, 0, 0.26);
19
+ position: absolute;
20
+ background-color: $calendar-white;
21
+ color: $calendar-black;
22
+ padding: 10px;
23
+ border-radius: 5px;
24
+ z-index: 1;
25
+ opacity: 0;
26
+ }
27
+
28
+ @mixin tooltipVisible() {
29
+ visibility: visible;
30
+ opacity: 1;
31
+ transition: opacity .6s;
32
+ }
33
+
34
+ @mixin tooltipBottomArrow() {
35
+ content: ' ';
36
+ position: absolute;
37
+ border-left: 5px solid transparent;
38
+ border-right: 5px solid transparent;
39
+ border-top: 10px solid $calendar-white;
40
+ }
41
+
42
+ @mixin tooltipTopArrow() {
43
+ content: ' ';
44
+ position: absolute;
45
+ border-left: 5px solid transparent;
46
+ border-right: 5px solid transparent;
47
+ border-bottom: 10px solid $calendar-white;
48
+ }
@@ -1,3 +1,4 @@
1
1
  body.support {
2
+ @import "mixins";
2
3
  @import "./generic/index";
3
4
  }
@@ -0,0 +1,73 @@
1
+ .editEvent {
2
+ &-time {
3
+ margin-bottom: 15px !important;
4
+ }
5
+
6
+ &-itemColumn {
7
+ width: max-content;
8
+ }
9
+
10
+ &-attachments {
11
+ display: flex;
12
+ flex-direction: column;
13
+
14
+ &-buttonSection {
15
+ display: flex;
16
+ justify-content: left;
17
+
18
+ i {
19
+ transform: rotate(-45deg);
20
+ }
21
+
22
+ }
23
+ &-fileSection {
24
+ display: flex;
25
+ flex-wrap: wrap;
26
+ flex-direction: column;
27
+
28
+ &-list {
29
+ max-width: 150px;
30
+
31
+ &-item {
32
+ display: flex;
33
+
34
+ &-title {
35
+ color: $calendar-blue;
36
+ overflow: hidden;
37
+ text-overflow: ellipsis;
38
+ white-space: nowrap;
39
+ }
40
+
41
+ &-cross {
42
+ font-size: 10px;
43
+ }
44
+ }
45
+
46
+ &:hover .tooltip-title {
47
+ @include tooltipVisible();
48
+ }
49
+
50
+ .tooltip-title {
51
+ @include tooltipTemplate(150px);
52
+ bottom: 33px;
53
+ margin-left: -47px;
54
+
55
+ &:after {
56
+ @include tooltipBottomArrow();
57
+ top: 100%;
58
+ left: 15%;
59
+ }
60
+ }
61
+
62
+ }
63
+ }
64
+ }
65
+
66
+ .content .flex-row {
67
+ height: 150px;
68
+ }
69
+
70
+ .content::after {
71
+ content: unset;
72
+ }
73
+ }
@@ -0,0 +1,21 @@
1
+ i {
2
+ &.attachment::before {
3
+ content: "\e805";
4
+ font-family: 'generic-icons';
5
+ }
6
+
7
+ &.cross::before {
8
+ content: "\e866";
9
+ font-family: 'generic-icons';
10
+ }
11
+
12
+ &.sync::before {
13
+ content: "\F04E6";
14
+ font-family: 'calendar-material-icons';
15
+ }
16
+
17
+ &.loading::before {
18
+ content: '\e85a';
19
+ font-family: 'generic-icons';
20
+ }
21
+ }
@@ -1 +1,3 @@
1
1
  @import "./toasts";
2
+ @import "./icons";
3
+ @import "./edit-event";