ode-bootstrap 1.1.4-dev-produit.202306051650 → 1.1.4-dev-produit.202306051653

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 (144) hide show
  1. package/README.md +44 -63
  2. package/assets/fonts/fa/fa-brands-400.ttf +0 -0
  3. package/assets/fonts/fa/fa-brands-400.woff2 +0 -0
  4. package/assets/fonts/fa/fa-regular-400.ttf +0 -0
  5. package/assets/fonts/fa/fa-regular-400.woff2 +0 -0
  6. package/assets/fonts/fa/fa-solid-900.ttf +0 -0
  7. package/assets/fonts/fa/fa-solid-900.woff2 +0 -0
  8. package/assets/fonts/fa/fa-v4compatibility.ttf +0 -0
  9. package/assets/fonts/fa/fa-v4compatibility.woff2 +0 -0
  10. package/assets/icons/apps.svg +468 -0
  11. package/assets/images/emptyscreen/illu-blog.svg +1 -0
  12. package/assets/images/emptyscreen/illu-collaborativeeditor.svg +1 -0
  13. package/assets/images/emptyscreen/illu-collaborativewall.svg +1 -0
  14. package/assets/images/emptyscreen/illu-exercizer.svg +1 -0
  15. package/assets/images/emptyscreen/illu-mindmap.svg +1 -0
  16. package/assets/images/emptyscreen/illu-noContentInFolder.svg +31 -0
  17. package/assets/images/emptyscreen/illu-scrapbook.svg +1 -0
  18. package/assets/images/emptyscreen/illu-search.svg +1 -0
  19. package/assets/images/emptyscreen/illu-timelinegenerator.svg +1 -0
  20. package/assets/images/emptyscreen/illu-trash.svg +1 -0
  21. package/assets/images/image-library.png +0 -0
  22. package/assets/images/no-avatar.svg +14 -0
  23. package/assets/images/onboarding/corbeille-delete.svg +22 -0
  24. package/assets/images/onboarding/corbeille-menu.svg +43 -0
  25. package/assets/images/onboarding/corbeille-notif.svg +12 -0
  26. package/assets/images/screen-loading.gif +0 -0
  27. package/assets/js/theme.js +3 -3
  28. package/dist/icons/apps.svg +468 -0
  29. package/dist/images/emptyscreen/illu-blog.svg +1 -0
  30. package/dist/images/emptyscreen/illu-collaborativeeditor.svg +1 -0
  31. package/dist/images/emptyscreen/illu-collaborativewall.svg +1 -0
  32. package/dist/images/emptyscreen/illu-exercizer.svg +1 -0
  33. package/dist/images/emptyscreen/illu-mindmap.svg +1 -0
  34. package/dist/images/emptyscreen/illu-noContentInFolder.svg +31 -0
  35. package/dist/images/emptyscreen/illu-scrapbook.svg +1 -0
  36. package/dist/images/emptyscreen/illu-search.svg +1 -0
  37. package/dist/images/emptyscreen/illu-timelinegenerator.svg +1 -0
  38. package/dist/images/emptyscreen/illu-trash.svg +1 -0
  39. package/dist/images/image-library.png +0 -0
  40. package/dist/images/image-placeholder.png +0 -0
  41. package/dist/images/no-avatar.svg +14 -0
  42. package/dist/images/onboarding/corbeille-delete.svg +22 -0
  43. package/dist/images/onboarding/corbeille-menu.svg +43 -0
  44. package/dist/images/onboarding/corbeille-notif.svg +12 -0
  45. package/dist/images/screen-loading.gif +0 -0
  46. package/dist/version.txt +1 -1
  47. package/package.json +25 -25
  48. package/scss/components/_.scss +26 -10
  49. package/scss/components/_actionbar.scss +25 -0
  50. package/scss/components/_alert.scss +82 -0
  51. package/scss/components/_app-card.scss +67 -0
  52. package/scss/components/_avatar.scss +122 -51
  53. package/scss/components/_buttons.scss +203 -60
  54. package/scss/components/_card.scss +132 -0
  55. package/scss/components/_container-advanced.scss +109 -109
  56. package/scss/components/_dragndrop.scss +19 -16
  57. package/scss/components/_dropdown.scss +82 -0
  58. package/scss/components/_emptyscreen.scss +11 -47
  59. package/scss/components/_explorer.scss +29 -31
  60. package/scss/components/_feed.scss +166 -166
  61. package/scss/components/_filters.scss +58 -58
  62. package/scss/components/_form-control.scss +69 -0
  63. package/scss/components/_form-label.scss +32 -0
  64. package/scss/components/_form-text.scss +12 -0
  65. package/scss/components/_header.scss +8 -0
  66. package/scss/components/_help.scss +82 -0
  67. package/scss/components/_image-picker.scss +40 -0
  68. package/scss/components/_input-group.scss +17 -0
  69. package/scss/components/_loader.scss +17 -0
  70. package/scss/components/_loading-screen.scss +7 -0
  71. package/scss/components/_media-library.scss +18 -18
  72. package/scss/components/_modal.scss +111 -19
  73. package/scss/components/_popover.scss +61 -101
  74. package/scss/components/_select-list.scss +44 -0
  75. package/scss/components/_spinner.scss +10 -0
  76. package/scss/components/_sticky-toolbox.scss +130 -140
  77. package/scss/components/_table-explorer.scss +29 -0
  78. package/scss/components/_table-lists.scss +119 -122
  79. package/scss/components/_tables.scss +1 -1
  80. package/scss/components/_toast.scss +39 -36
  81. package/scss/components/_treeview.scss +61 -0
  82. package/scss/components/_validate-mail.scss +5 -0
  83. package/scss/components/widget/_applications.scss +44 -44
  84. package/scss/components/widget/_base.scss +105 -105
  85. package/scss/components/widget/_bookmarks.scss +14 -16
  86. package/scss/components/widget/_calendar.scss +49 -49
  87. package/scss/components/widget/_dashboard.scss +88 -89
  88. package/scss/components/widget/_featured-news.scss +56 -57
  89. package/scss/components/widget/_flash.scss +84 -81
  90. package/scss/components/widget/_news.scss +26 -26
  91. package/scss/components/widget/_recently-viewed.scss +48 -48
  92. package/scss/components/widget/_record.scss +47 -51
  93. package/scss/components/widget/_rss.scss +24 -24
  94. package/scss/components/widget/_school.scss +84 -78
  95. package/scss/index.scss +3 -12
  96. package/scss/mixins/_.scss +4 -4
  97. package/scss/mixins/_align.scss +3 -3
  98. package/scss/mixins/_avatar.scss +5 -5
  99. package/scss/mixins/_icon.scss +52 -52
  100. package/scss/mixins/_layer.scss +23 -26
  101. package/scss/mixins/_shape.scss +5 -7
  102. package/scss/mixins/_text-truncate.scss +2 -2
  103. package/scss/mixins/_transition.scss +37 -34
  104. package/scss/tokens/_.scss +4 -0
  105. package/scss/tokens/_display.scss +9 -0
  106. package/scss/tokens/_icons.scss +118 -0
  107. package/scss/tokens/_shadows.scss +19 -0
  108. package/scss/tokens/_type.scss +85 -0
  109. package/scss/utilities/_.scss +3 -0
  110. package/scss/utilities/_animation.scss +8 -0
  111. package/scss/utilities/_containers.scss +37 -0
  112. package/scss/utilities/_custom-utilities.scss +96 -0
  113. package/scss/variables/_.scss +6 -2
  114. package/scss/variables/_bootstrap.scss +234 -0
  115. package/scss/variables/_colors.scss +143 -41
  116. package/scss/variables/_icons.scss +52 -48
  117. package/scss/variables/_options.scss +2 -0
  118. package/scss/variables/_type.scss +37 -0
  119. package/scss/vendors/_.scss +3 -0
  120. package/scss/vendors/_bootstrap.scss +43 -0
  121. package/scss/vendors/_reboot.scss +28 -0
  122. package/scss/vendors/_swiper.scss +10 -0
  123. package/assets/fonts/fa/fa-brands-400.eot +0 -0
  124. package/assets/fonts/fa/fa-brands-400.svg +0 -3717
  125. package/assets/fonts/fa/fa-brands-400.woff +0 -0
  126. package/assets/fonts/fa/fa-regular-400.eot +0 -0
  127. package/assets/fonts/fa/fa-regular-400.svg +0 -801
  128. package/assets/fonts/fa/fa-regular-400.woff +0 -0
  129. package/assets/fonts/fa/fa-solid-900.eot +0 -0
  130. package/assets/fonts/fa/fa-solid-900.svg +0 -5034
  131. package/assets/fonts/fa/fa-solid-900.woff +0 -0
  132. package/scss/_bootstrap.scss +0 -41
  133. package/scss/_custom-utilities.scss +0 -10
  134. package/scss/atoms/_.scss +0 -4
  135. package/scss/atoms/_display.scss +0 -17
  136. package/scss/atoms/_fonts.scss +0 -20
  137. package/scss/atoms/_icons.scss +0 -90
  138. package/scss/atoms/_typography.scss +0 -27
  139. package/scss/components/_alerts.scss +0 -30
  140. package/scss/components/_dropdowns.scss +0 -6
  141. package/scss/components/_forms.scss +0 -36
  142. package/scss/components/_tree-structure.scss +0 -143
  143. package/scss/variables/_variables-bootstrap.scss +0 -107
  144. package/scss/variables/_variables-ode.scss +0 -12
@@ -2,27 +2,27 @@
2
2
  //Note Julien -> appliquer ce type de transition à l'ensemble des propriétés provoque des mouvements au chargement de la page
3
3
 
4
4
  .transition-hover-fast {
5
- transition-timing-function: ease;
6
- transition-duration: 0.25s;
7
- transition-property: all;
5
+ transition-timing-function: ease;
6
+ transition-duration: 0.25s;
7
+ transition-property: all;
8
8
  }
9
9
 
10
10
  .transition-hover {
11
- transition-timing-function: ease;
12
- transition-duration: 0.5s;
13
- transition-property: all;
11
+ transition-timing-function: ease;
12
+ transition-duration: 0.5s;
13
+ transition-property: all;
14
14
  }
15
15
 
16
16
  .transition-hover-slow {
17
- transition-timing-function: ease;
18
- transition-duration: 0.75s;
19
- transition-property: all;
17
+ transition-timing-function: ease;
18
+ transition-duration: 0.75s;
19
+ transition-property: all;
20
20
  }
21
21
 
22
22
  .transition-hover-very-slow {
23
- transition-timing-function: ease;
24
- transition-duration: 0.75s;
25
- transition-property: all;
23
+ transition-timing-function: ease;
24
+ transition-duration: 0.75s;
25
+ transition-property: all;
26
26
  }
27
27
 
28
28
  /**
@@ -70,36 +70,39 @@ $default-duration: 0.4s;
70
70
  //Mixins
71
71
 
72
72
  @mixin add-transitions($properties...) {
73
- transition-timing-function: $default-easing;
74
- transition-duration: $default-duration;
75
- transition-property: $properties;
76
-
77
- @media (hover: hover) {
78
- &:hover {
79
- @content;
80
- }
73
+ transition-timing-function: $default-easing;
74
+ transition-duration: $default-duration;
75
+ transition-property: $properties;
76
+
77
+ @media (hover: hover) {
78
+ &:hover {
79
+ @content;
81
80
  }
81
+ }
82
82
  }
83
83
 
84
- @mixin background-color-to($color: $primary, $duration: $default-duration, $easing: $default-easing) {
85
- transition: background-color $duration $easing;
84
+ @mixin background-color-to(
85
+ $color: $secondary,
86
+ $duration: $default-duration,
87
+ $easing: $default-easing
88
+ ) {
89
+ transition: background-color $duration $easing;
86
90
 
87
- &:hover {
88
- background-color: $color;
89
- }
91
+ &:hover {
92
+ background-color: $color;
93
+ }
90
94
  }
91
95
 
92
- @mixin color-to($color: $primary, $duration: 0.2s, $easing: $default-easing) {
93
- transition: color $duration $easing;
96
+ @mixin color-to($color: $secondary, $duration: 0.2s, $easing: $default-easing) {
97
+ transition: color $duration $easing;
94
98
 
95
- &:hover {
96
- color: $color;
97
- }
99
+ &:hover {
100
+ color: $color;
101
+ }
98
102
  }
99
103
 
100
104
  @mixin decoration-to($state: "underline") {
101
-
102
- &:hover {
103
- text-decoration: $state;
104
- }
105
+ &:hover {
106
+ text-decoration: $state;
107
+ }
105
108
  }
@@ -0,0 +1,4 @@
1
+ @import "display";
2
+ @import "icons";
3
+ @import "type";
4
+ @import "shadows";
@@ -0,0 +1,9 @@
1
+ .pe-xs {
2
+ pointer-events: none;
3
+ }
4
+
5
+ @include media-breakpoint-up(md) {
6
+ .pe-md {
7
+ pointer-events: none;
8
+ }
9
+ }
@@ -0,0 +1,118 @@
1
+ @use "sass:color";
2
+
3
+ // Initialize good style and good font on all icons
4
+ [class*="ic-"] {
5
+ font-family: "generic-icons";
6
+ font-style: normal;
7
+ font-weight: 400;
8
+ }
9
+
10
+ // Icons list
11
+ .ic {
12
+ @each $icon, $data in $icons-interface {
13
+ &-#{$icon} {
14
+ &::before {
15
+ content: map-get($data, "glyph");
16
+ }
17
+ }
18
+ }
19
+ }
20
+
21
+ // Classes utilitaires par application
22
+ .color-app {
23
+ //applications
24
+ @each $app, $data in $icons-applications {
25
+ &-#{$app} {
26
+ color: map-get($data, "color");
27
+ }
28
+ }
29
+ //connectors
30
+ @each $app, $data in $icons-connectors {
31
+ &-#{$app} {
32
+ color: map-get($data, "color");
33
+ }
34
+ }
35
+ }
36
+
37
+ .bg-app {
38
+ //applications
39
+ @each $app, $data in $icons-applications {
40
+ &-#{$app} {
41
+ background-color: map-get($data, "color");
42
+ }
43
+ }
44
+ //connectors
45
+ @each $app, $data in $icons-connectors {
46
+ &-#{$app} {
47
+ background-color: map-get($data, "color");
48
+ }
49
+ }
50
+ }
51
+
52
+ .bg-light {
53
+ //applications
54
+ @each $app, $data in $icons-applications {
55
+ &-#{$app} {
56
+ background-color: color.scale(
57
+ map-get($data, "color"),
58
+ $lightness: 90%,
59
+ $saturation: 5%
60
+ );
61
+ }
62
+ }
63
+ //connectors
64
+ @each $app, $data in $icons-connectors {
65
+ &-#{$app} {
66
+ background-color: color.scale(
67
+ map-get($data, "color"),
68
+ $lightness: 90%,
69
+ $saturation: 5%
70
+ );
71
+ }
72
+ }
73
+ }
74
+
75
+ .ic-app {
76
+ //applications
77
+ @each $app, $data in $icons-applications {
78
+ &-#{$app},
79
+ &-#{$app}-large {
80
+ &::before {
81
+ content: map-get($data, "glyph");
82
+ }
83
+ }
84
+ }
85
+ //connectors
86
+ @each $app, $data in $icons-connectors {
87
+ &-#{$app},
88
+ &-#{$app}-large {
89
+ &::before {
90
+ content: map-get($data, "glyph");
91
+ }
92
+ }
93
+ }
94
+ }
95
+
96
+ // Classes des icones pour les widgets
97
+ .ic-widget {
98
+ @each $app, $data in $icons-widgets {
99
+ &-#{$app},
100
+ &-#{$app}-large {
101
+ &::before {
102
+ content: map-get($data, "glyph");
103
+ }
104
+ }
105
+ }
106
+ }
107
+
108
+ // Classes des icones pour les humeurs
109
+ .ic-mood {
110
+ @each $mood, $data in $icons-mood {
111
+ &-#{$mood} {
112
+ &::before {
113
+ content: map-get($data, "glyph");
114
+ color: map-get($data, "color");
115
+ }
116
+ }
117
+ }
118
+ }
@@ -0,0 +1,19 @@
1
+ /* offset-x | offset-y | blur-radius | spread-radius | color */
2
+ $box-shadow: 0 0.2rem 0.6em rgba($black, 0.15);
3
+ $box-shadow-hover: 0 0.4rem 1rem rgba($black, 0.12);
4
+ $box-shadow-bottom: 0 -0.6rem 3rem -1rem rgba($black, 0.15);
5
+
6
+ .shadow {
7
+ --#{$prefix}box-shadow: #{$box-shadow};
8
+ box-shadow: var(--#{$prefix}box-shadow);
9
+ }
10
+
11
+ .shadow-hover {
12
+ --#{$prefix}box-shadow-hover: #{$box-shadow-hover};
13
+ box-shadow: var(--#{$prefix}box-shadow-hover);
14
+ }
15
+
16
+ .shadow-bottom {
17
+ --#{$prefix}box-shadow-bottom: #{$box-shadow-bottom};
18
+ box-shadow: var(--#{$prefix}box-shadow-bottom);
19
+ }
@@ -0,0 +1,85 @@
1
+ /* Font Awesome */
2
+ @import "./@fortawesome/fontawesome-free/scss/fontawesome.scss";
3
+ @import "./@fortawesome/fontawesome-free/scss/solid.scss";
4
+ @import "./@fortawesome/fontawesome-free/scss/regular.scss";
5
+ @import "./@fortawesome/fontawesome-free/scss/brands.scss";
6
+
7
+ /* Generic Icons */
8
+
9
+ @font-face {
10
+ font-family: "generic-icons";
11
+ font-display: swap;
12
+ font-style: normal;
13
+ font-weight: normal;
14
+ src: url(#{$fonts-path}/generic-icons/generic-icons.woff);
15
+ }
16
+
17
+ body {
18
+ -webkit-font-smoothing: antialiased;
19
+ -moz-osx-font-smoothing: grayscale;
20
+ text-rendering: optimizeLegibility;
21
+ }
22
+
23
+ .link,
24
+ .link a {
25
+ @include color-to($primary);
26
+
27
+ font-weight: 400;
28
+ color: $secondary;
29
+ text-decoration: none;
30
+ }
31
+
32
+ .link-discret,
33
+ .link-discret a {
34
+ @include color-to($primary);
35
+
36
+ font-weight: 400;
37
+ color: currentColor;
38
+ text-decoration: none;
39
+ cursor: pointer;
40
+ }
41
+
42
+ .subtitle {
43
+ font-size: 1.4rem;
44
+ font-weight: 700;
45
+ text-transform: uppercase;
46
+ }
47
+
48
+ .body {
49
+ font-family: $font-family-sans-serif;
50
+ font-size: 1.6rem;
51
+ line-height: 2.4rem;
52
+
53
+ &:first-letter {
54
+ text-transform: uppercase;
55
+ }
56
+ }
57
+
58
+ .small {
59
+ line-height: 2.2rem;
60
+ }
61
+
62
+ .caption {
63
+ font-size: $caption-font-size;
64
+ line-height: 2rem;
65
+ }
66
+
67
+ h1,
68
+ .h1 {
69
+ line-height: 3.6rem;
70
+ }
71
+
72
+ h2,
73
+ .h2 {
74
+ line-height: 3.2rem;
75
+ }
76
+
77
+ h3,
78
+ .h3 {
79
+ line-height: 2.8rem;
80
+ }
81
+
82
+ h4,
83
+ .h4 {
84
+ line-height: 2.6rem;
85
+ }
@@ -0,0 +1,3 @@
1
+ @import "animation";
2
+ @import "containers";
3
+ @import "custom-utilities";
@@ -0,0 +1,8 @@
1
+ @keyframes loading {
2
+ 0% {
3
+ transform: rotate(0);
4
+ }
5
+ 100% {
6
+ transform: rotate(360deg);
7
+ }
8
+ }
@@ -0,0 +1,37 @@
1
+ $container-spacings: (
2
+ "xs": 0,
3
+ "sm": 0,
4
+ "md": 2.4rem,
5
+ "lg": 2.4rem,
6
+ "xl": 2.4rem,
7
+ ) !default;
8
+
9
+ .container-fluid {
10
+ --#{$prefix}container-width: 100%;
11
+ max-width: map-get($container-max-widths, "xxl");
12
+ width: var(--#{$prefix}container-width);
13
+
14
+ @include media-breakpoint-up(md) {
15
+ --#{$prefix}container-width: calc(100% - #{$spacer-24} * 2);
16
+ }
17
+ }
18
+
19
+ main {
20
+ &.container-fluid {
21
+ min-height: calc(100vh - 65px);
22
+ }
23
+ }
24
+
25
+ .grid {
26
+ --#{$prefix}columns: 4;
27
+ --#{$prefix}gap: 1.6rem;
28
+
29
+ @include media-breakpoint-up(md) {
30
+ --#{$prefix}columns: 8;
31
+ --#{$prefix}gap: 2.4rem;
32
+ }
33
+
34
+ @include media-breakpoint-up(lg) {
35
+ --#{$prefix}columns: 12;
36
+ }
37
+ }
@@ -0,0 +1,96 @@
1
+ $zindex-levels: (
2
+ n1: -1,
3
+ 0: 0,
4
+ 1: 1,
5
+ 2: 2,
6
+ 3: 3,
7
+ 2000:2000
8
+ );
9
+
10
+ $width-sizing: (
11
+ 25: 25%,
12
+ 50: 50%,
13
+ 75: 75%,
14
+ 100: 100%,
15
+ auto: auto
16
+ );
17
+
18
+ $utilities: map-merge(
19
+ $utilities,
20
+ (
21
+ "color": (
22
+ property: color,
23
+ class: text,
24
+ local-vars: (
25
+ "text-opacity": 1
26
+ ),
27
+ values: map-merge(
28
+ $utilities-text-colors,
29
+ (
30
+ "gray-700": $gray-700,
31
+ "blue": $blue,
32
+ "muted": $text-muted,
33
+ "black-50": rgba($black, .5), // deprecated
34
+ "white-50": rgba($white, .5), // deprecated
35
+ "reset": inherit,
36
+ )
37
+ )
38
+ ),
39
+ "cursor": (
40
+ property: cursor,
41
+ class: c,
42
+ values: auto pointer grab,
43
+ ),
44
+ "width": (
45
+ property: width,
46
+ class: w,
47
+ values:
48
+ map-merge(
49
+ $width-sizing,
50
+ $spacers,
51
+ ),
52
+ ),
53
+ "max-width": (
54
+ property: max-width,
55
+ class: max-w,
56
+ values: (
57
+ full: 100%,
58
+ 64: 64px,
59
+ 96: 96px,
60
+ 128: 128px,
61
+ 256: 256px,
62
+ 384: 384px,
63
+ 512: 512px,
64
+ auto: auto,
65
+ ),
66
+ ),
67
+ "height": (
68
+ property: height,
69
+ class: h,
70
+ values:
71
+ map-merge(
72
+ $spacers,
73
+ (1\/4: 25%, 1\/2: 50%, 3\/4: 75%, full: 100%, auto: auto)
74
+ ),
75
+ ),
76
+ //To remove with Bootstrap 5.3
77
+ //https://getbootstrap.com/docs/5.3/utilities/object-fit/
78
+ "object-fit":
79
+ (
80
+ responsive: true,
81
+ property: object-fit,
82
+ values: (
83
+ contain: contain,
84
+ cover: cover,
85
+ fill: fill,
86
+ scale: scale-down,
87
+ none: none,
88
+ ),
89
+ ),
90
+ "z-index": (
91
+ property: z-index,
92
+ class: z,
93
+ values: $zindex-levels
94
+ )
95
+ )
96
+ );
@@ -1,4 +1,8 @@
1
+ // Quickly modify global styling by enabling or disabling optional features
2
+ @import "options";
3
+
4
+ // Other variables
1
5
  @import "colors";
2
- @import "variables-bootstrap";
3
- @import "variables-ode";
6
+ @import "bootstrap";
7
+ @import "type";
4
8
  @import "icons";