@imiobe/plonetheme-smartweb-base 0.0.5 → 0.1.0

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 (98) hide show
  1. package/CHANGELOG.md +78 -0
  2. package/dist/css/theme.css +5 -0
  3. package/dist/fonts/roboto-bold..eot +0 -0
  4. package/dist/fonts/roboto-bold..ttf +0 -0
  5. package/dist/fonts/roboto-bold..woff +0 -0
  6. package/dist/fonts/roboto-bold..woff2 +0 -0
  7. package/dist/fonts/roboto-bolditalic..eot +0 -0
  8. package/dist/fonts/roboto-bolditalic..ttf +0 -0
  9. package/dist/fonts/roboto-bolditalic..woff +0 -0
  10. package/dist/fonts/roboto-bolditalic..woff2 +0 -0
  11. package/dist/fonts/roboto-italic..eot +0 -0
  12. package/dist/fonts/roboto-italic..ttf +0 -0
  13. package/dist/fonts/roboto-italic..woff +0 -0
  14. package/dist/fonts/roboto-italic..woff2 +0 -0
  15. package/dist/fonts/roboto-light..eot +0 -0
  16. package/dist/fonts/roboto-light..ttf +0 -0
  17. package/dist/fonts/roboto-light..woff +0 -0
  18. package/dist/fonts/roboto-light..woff2 +0 -0
  19. package/dist/fonts/roboto-lightitalic..eot +0 -0
  20. package/dist/fonts/roboto-lightitalic..ttf +0 -0
  21. package/dist/fonts/roboto-lightitalic..woff +0 -0
  22. package/dist/fonts/roboto-lightitalic..woff2 +0 -0
  23. package/dist/fonts/roboto-medium..eot +0 -0
  24. package/dist/fonts/roboto-medium..ttf +0 -0
  25. package/dist/fonts/roboto-medium..woff +0 -0
  26. package/dist/fonts/roboto-medium..woff2 +0 -0
  27. package/dist/fonts/roboto-mediumitalic..eot +0 -0
  28. package/dist/fonts/roboto-mediumitalic..ttf +0 -0
  29. package/dist/fonts/roboto-mediumitalic..woff +0 -0
  30. package/dist/fonts/roboto-mediumitalic..woff2 +0 -0
  31. package/dist/fonts/roboto-regular..eot +0 -0
  32. package/dist/fonts/roboto-regular..ttf +0 -0
  33. package/dist/fonts/roboto-regular..woff +0 -0
  34. package/dist/fonts/roboto-regular..woff2 +0 -0
  35. package/dist/fonts/robotocondensed-light..eot +0 -0
  36. package/dist/fonts/robotocondensed-light..ttf +0 -0
  37. package/dist/fonts/robotocondensed-light..woff +0 -0
  38. package/dist/fonts/robotocondensed-light..woff2 +0 -0
  39. package/dist/fonts/robotocondensed-lightitalic..eot +0 -0
  40. package/dist/fonts/robotocondensed-lightitalic..ttf +0 -0
  41. package/dist/fonts/robotocondensed-lightitalic..woff +0 -0
  42. package/dist/fonts/robotocondensed-lightitalic..woff2 +0 -0
  43. package/dist/images/roboto-bolde46805ee..svg +1 -0
  44. package/dist/images/roboto-bolditalic4be90c03..svg +1 -0
  45. package/dist/images/roboto-italic2332d1c3..svg +1 -0
  46. package/dist/images/roboto-light054c1c8a..svg +1 -0
  47. package/dist/images/roboto-lightitalic2df589e4..svg +1 -0
  48. package/dist/images/roboto-medium832a5157..svg +1 -0
  49. package/dist/images/roboto-mediumitalicf09fad24..svg +1 -0
  50. package/dist/images/roboto-regulare788ed65..svg +1 -0
  51. package/dist/images/robotocondensed-light04ff367e..svg +1 -0
  52. package/dist/images/robotocondensed-lightitalic97b23821..svg +1 -0
  53. package/dist/js/theme.js +1 -0
  54. package/index.html +68 -61
  55. package/manifest.cfg +5 -5
  56. package/package.json +22 -4
  57. package/src/index.js +59 -14
  58. package/src/scss/_breadcrum.scss +1 -0
  59. package/src/scss/_fonts.scss +11 -1
  60. package/src/scss/_general.scss +75 -75
  61. package/src/scss/_header.scss +38 -24
  62. package/src/scss/_mixin.scss +43 -35
  63. package/src/scss/_sitenav.scss +330 -485
  64. package/src/scss/_sub-sitenav.scss +114 -302
  65. package/src/scss/_swiper.scss +29 -12
  66. package/src/scss/_trucaverif.scss +632 -585
  67. package/src/scss/common/_com-cookies.scss +86 -75
  68. package/src/scss/common/_com-edition.scss +36 -24
  69. package/src/scss/common/_com-faceted.scss +155 -132
  70. package/src/scss/common/_com-footer.scss +9 -5
  71. package/src/scss/common/_com-list-image.scss +17 -15
  72. package/src/scss/common/_com-react.scss +63 -51
  73. package/src/scss/common/_messviewlet.scss +77 -59
  74. package/src/scss/homepage/_a-la-une.scss +30 -19
  75. package/src/scss/homepage/_actualites.scss +137 -108
  76. package/src/scss/homepage/_album.scss +88 -78
  77. package/src/scss/homepage/_banner.scss +35 -42
  78. package/src/scss/homepage/_events.scss +51 -24
  79. package/src/scss/homepage/_general-home.scss +49 -24
  80. package/src/scss/homepage/_newsletter.scss +30 -0
  81. package/src/scss/homepage/_quick-access.scss +16 -3
  82. package/src/scss/list/_list-block-img.scss +53 -49
  83. package/src/scss/list/_list-block.scss +70 -64
  84. package/src/scss/list/_list-img.scss +21 -14
  85. package/src/scss/list/_list.scss +55 -53
  86. package/src/scss/main.scss +23 -6
  87. package/src/scss/sections/_se-contact.scss +230 -138
  88. package/src/scss/sections/_se-file.scss +187 -166
  89. package/src/scss/sections/_se-gallery.scss +16 -14
  90. package/src/scss/sections/_se-link.scss +141 -135
  91. package/src/scss/sections/_se-linked-content.scss +4 -4
  92. package/src/scss/sections/_se-plan-geo.scss +101 -0
  93. package/src/scss/sections/_se-plan.scss +2 -2
  94. package/src/scss/sections/_se-postit.scss +19 -0
  95. package/src/scss/sections/_se-textes.scss +40 -54
  96. package/src/scss/variables.scss +201 -168
  97. package/theme.zip +0 -0
  98. package/theme4.2.zip +0 -0
@@ -1,69 +1,81 @@
1
- .portaltype-imio-smartweb-newsview{
2
- .r-content-news-info-schedul{
3
- .icon-baseline{
4
- display: none;
5
- }
6
- .dpinlb{
7
- display: block;
8
- .r-content-date{
9
- & > div{
10
- display: flex;
11
- gap: 10px;
12
- font-size: 15px;
13
- font-weight: 500;
14
- .r-card-date-last{
15
- &:before{
16
- content: "-";
17
- margin-right: 10px;
18
- }
19
- }
20
- }
1
+ .portaltype-imio-smartweb-newsview {
2
+ .r-content-news-info-schedul {
3
+ .icon-baseline {
4
+ display: none;
5
+ }
6
+
7
+ .dpinlb {
8
+ display: block;
9
+
10
+ .r-content-date {
11
+ & > div {
12
+ display: flex;
13
+ gap: 10px;
14
+ font-size: 15px;
15
+ font-weight: 500;
16
+
17
+ .r-card-date-last {
18
+ &::before {
19
+ content: "-";
20
+ margin-right: 10px;
21
+ }
21
22
  }
23
+ }
22
24
  }
23
25
  }
24
- .r-content-text{
25
- margin-top: 1rem;
26
- }
26
+ }
27
+
28
+ .r-content-text {
29
+ margin-top: 1rem;
30
+ }
27
31
  }
28
32
 
29
33
  .r-wrapper .r-result {
30
- margin-top: 0!important;
34
+ margin-top: 0 !important;
31
35
  }
32
36
 
33
37
  // delete bla eyes
34
38
 
35
39
  .r-actu-wrapper::after {
36
- display: none!important;
40
+ display: none !important;
37
41
  }
38
42
 
39
43
  // style back button
40
44
 
41
- .r-content > button{
42
- background: transparent;
43
- margin: 1rem 0;
44
- border: 0px;
45
- display: flex;
46
- align-items: center;
47
- &::before{
48
- content: "";
49
- width: 9px;
50
- height: 6px;
51
- display: block;
52
- background-image: url("data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"1.1\" width=\"8.444\" height=\"5.2\"><path d=\"M.247.254a.831.831 0 0 1 1.2 0l2.78 2.854L7.011.254A.831.831 0 0 1 8.2.264a.882.882 0 0 1 .01 1.215L4.825 4.946a.835.835 0 0 1-.6.254 1.529 1.529 0 0 1-.6-.254L.247 1.479a.882.882 0 0 1 0-1.226Z\" fill=\"%23000\"/></svg>");
53
- background-size: contain;
54
- background-position: center;
55
- background-repeat: no-repeat;
56
- margin-right: 0.4rem;
57
- transform: rotate(90deg);
58
- }
45
+ .r-content > button {
46
+ background: transparent;
47
+ margin: 1rem 0;
48
+ border: 0;
49
+ display: flex;
50
+ align-items: center;
51
+
52
+ &::before {
53
+ content: "";
54
+ width: 9px;
55
+ height: 6px;
56
+ display: block;
57
+ background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="8.444" height="5.2"><path d="M.247.254a.831.831 0 0 1 1.2 0l2.78 2.854L7.011.254A.831.831 0 0 1 8.2.264a.882.882 0 0 1 .01 1.215L4.825 4.946a.835.835 0 0 1-.6.254 1.529 1.529 0 0 1-.6-.254L.247 1.479a.882.882 0 0 1 0-1.226Z" fill="%23000"/></svg>');
58
+ background-size: contain;
59
+ background-position: center;
60
+ background-repeat: no-repeat;
61
+ margin-right: 0.4rem;
62
+ transform: rotate(90deg);
63
+ }
59
64
  }
60
65
 
61
66
  .r-search a {
62
- text-decoration: none;
63
- }
64
-
65
- .portaltype-imio-smartweb-eventsview, .portaltype-imio-smartweb-directoryview{
66
- header#content-header {
67
- z-index: 9;
68
- }
69
- }
67
+ text-decoration: none;
68
+ }
69
+
70
+ .portaltype-imio-smartweb-eventsview,
71
+ .portaltype-imio-smartweb-directoryview {
72
+ header#content-header {
73
+ z-index: 9;
74
+ }
75
+ }
76
+
77
+ .r-wrapper {
78
+ .r-content-text ul {
79
+ padding-left: 2rem;
80
+ }
81
+ }
@@ -1,77 +1,95 @@
1
1
  #messagesviewlet .portalMessage.info,
2
2
  #localmessagesviewlet .portalMessage.info {
3
- background-color: $primary;
3
+ background-color: $primary;
4
4
  }
5
+
5
6
  #messagesviewlet .portalMessage,
6
7
  #localmessagesviewlet .portalMessage {
7
- align-items: center;
8
+ align-items: center;
8
9
  }
10
+
9
11
  #messagesviewlet,
10
12
  #localmessagesviewlet {
11
- float: none;
12
- .portalMessage {
13
- margin: 1rem 0;
14
- display: block;
15
- max-width: 1320px;
16
- margin: 0 auto;
17
- color: white;
18
- padding: .5rem .75rem;
19
- border-radius: 5px;
20
- margin-bottom: .5rem;
21
- a {
22
- color: #fff;
23
- }
24
- p:first-of-type {
25
- display: inline;
26
- padding-right: 0.7rem;
27
- }
28
- .close-button {
29
- width: 26px;
30
- height: 26px;
31
- display: block;
32
- background: transparent;
33
- display: inline-block;
34
- white-space: nowrap;
35
- top: 0;
36
- bottom: inherit;
37
- transform: none;
38
- margin-top: 0.35rem;
39
- &::after {
40
- background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
41
- background-size: 50%;
42
- }
43
- &:hover,
44
- &:focus {
45
- &:after {
46
- opacity: .7;
47
- }
48
- }
49
- }
50
- .messagesviewlet-type {
51
- color: #fff;
52
- padding: 0;
53
- margin: 0;
54
- font-weight: bold;
55
- background: transparent !important;
56
- &::after {
57
- content: ":";
58
- margin-left: 1px;
59
- }
60
- }
61
- }
13
+ float: none;
14
+ padding-top: 0;
15
+
16
+ .portalMessage {
17
+ display: block;
18
+ max-width: 1320px;
19
+ margin: 0 auto;
20
+ color: white;
21
+ padding: 0.5rem 0.75rem;
22
+ border-radius: 5px;
23
+ margin-bottom: 0.5rem;
24
+ margin-top: 0.5rem;
25
+
26
+ a {
27
+ color: #fff;
28
+ }
29
+
30
+ p:first-of-type {
31
+ display: inline;
32
+ padding-right: 0.7rem;
33
+ }
34
+
35
+ .close-button {
36
+ width: 26px;
37
+ height: 26px;
38
+ background: transparent;
39
+ display: inline-block;
40
+ white-space: nowrap;
41
+ top: 0;
42
+ bottom: inherit;
43
+ transform: none;
44
+ margin-top: 0.35rem;
45
+
46
+ &::after {
47
+ content: "" !important;
48
+ background: transparent
49
+ url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e")
50
+ center/1em auto no-repeat;
51
+ background-size: 50%;
52
+ }
53
+
54
+ &:hover,
55
+ &:focus {
56
+ &::after {
57
+ opacity: 70%;
58
+ }
59
+ }
60
+ }
61
+
62
+ .messagesviewlet-type {
63
+ color: #fff;
64
+ padding: 0;
65
+ margin: 0;
66
+ font-weight: bold;
67
+ background: transparent !important;
68
+
69
+ &::after {
70
+ content: ":";
71
+ margin-left: 1px;
72
+ }
73
+ }
74
+ }
62
75
  }
76
+
63
77
  #messagesviewlet {
64
- grid-area: messageviewlet;
78
+ grid-area: messageviewlet;
65
79
  }
80
+
66
81
  #localmessagesviewlet {
67
- grid-area: localmessageviewlet;
82
+ grid-area: localmessageviewlet;
68
83
  }
84
+
69
85
  .portalMessage.info {
70
- background: #27789c;
86
+ background: #27789c;
71
87
  }
88
+
72
89
  .portalMessage.warning {
73
- background: #c06d01;
90
+ background: #c06d01;
74
91
  }
92
+
75
93
  .portalMessage.error {
76
- background: #ae2609;
77
- }
94
+ background: #ae2609;
95
+ }
@@ -1,45 +1,53 @@
1
1
  .a-la-une {
2
2
  position: relative;
3
+
3
4
  @include media-breakpoint-down(lg) {
4
5
  padding-bottom: 0;
5
6
  }
7
+
6
8
  .container {
7
9
  padding-right: 0;
8
10
  padding-left: 0;
9
11
  }
12
+
10
13
  .section-title {
11
14
  color: $a-la-une-title-color;
12
15
  margin: $a-la-une-title-margin;
13
16
  padding: $a-la-une-title-padding;
14
17
  text-align: $a-la-une-title-align;
15
18
  }
16
- .swiper{
19
+
20
+ .swiper {
17
21
  z-index: 0;
18
22
  }
23
+
19
24
  .swiper-slide {
20
25
  a {
21
26
  text-decoration: none;
22
27
  }
23
- &>a {
28
+
29
+ & > a {
24
30
  @include media-breakpoint-up(lg) {
25
31
  display: grid;
26
32
  grid-template-columns: 60% 40%;
27
33
  grid-template-rows: auto 1fr;
28
34
  }
29
35
  }
36
+
30
37
  .swiper-image {
31
38
  border-radius: $a-la-une-item-image-radius;
39
+
32
40
  @include media-breakpoint-up(lg) {
33
41
  margin: $a-la-une-item-image-margin;
34
42
  padding-bottom: 60%;
35
- grid-row-end: 3;
36
- grid-row-start: 1;
43
+ grid-row: 1 / 3;
37
44
  }
38
45
  }
46
+
39
47
  .swiper_title {
40
- font-size: $a-la-une-item-title-font-size;
41
48
  border-radius: $a-la-une-item-title-radius;
42
- margin: 1rem 0 0 0;
49
+ margin: 1rem 0 0;
50
+
43
51
  @include media-breakpoint-up(lg) {
44
52
  align-self: start;
45
53
  padding: $a-la-une-item-title-padding;
@@ -48,14 +56,18 @@
48
56
  grid-column: 2;
49
57
  grid-row: 1;
50
58
  }
59
+
51
60
  h3 {
52
61
  color: $a-la-une-item-title-color;
62
+ font-size: $a-la-une-item-title-font-size;
53
63
  }
54
64
  }
65
+
55
66
  .swiper_description {
56
67
  color: $a-la-une-item-description-color;
57
68
  font-size: $a-la-une-item-description-font-size;
58
69
  border-radius: $a-la-une-item-description-radius;
70
+
59
71
  @include media-breakpoint-up(lg) {
60
72
  padding: $a-la-une-item-description-padding;
61
73
  margin: $a-la-une-item-description-margin;
@@ -63,16 +75,27 @@
63
75
  grid-column: 2;
64
76
  grid-row: 2;
65
77
  }
78
+
66
79
  // &:after {
80
+
67
81
  // content: "";
82
+
68
83
  // position: absolute;
84
+
69
85
  // top: 3rem;
86
+
70
87
  // width: calc(40% + 1.7rem);
88
+
71
89
  // bottom: 0;
90
+
72
91
  // right: 25px;
92
+
73
93
  // opacity: .5;
94
+
74
95
  // z-index: -1;
96
+
75
97
  // box-shadow: rgba(0,0,0,.16) -10px 10px 36px 0,rgba(0,0,0,.06) 0 0 0 1px;
98
+
76
99
  // }
77
100
  p {
78
101
  color: $a-la-une-item-description-color;
@@ -85,16 +108,4 @@
85
108
  top: 50% !important;
86
109
  box-shadow: rgb(99 99 99 / 20%) 0 2px 8px 0;
87
110
  }
88
- .swiper-button-prev {
89
- background-image: url("data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"32\" height=\"32\" viewBox=\"0 0 24 24\"><path d=\"M14 17.75a.74.74 0 0 1-.53-.22l-5-5a.75.75 0 0 1 0-1.06l5-5a.75.75 0 0 1 1.06 1.06L10.06 12l4.47 4.47a.75.75 0 0 1 0 1.06a.74.74 0 0 1-.53.22Z\" fill=\"%23D13A3A\"/></svg>");
90
- background-position: center;
91
- background-repeat: no-repeat;
92
- background-size: 50%;
93
- }
94
- .swiper-button-next {
95
- background-image: url("data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"32\" height=\"32\" viewBox=\"0 0 24 24\"><path d=\"M10 17.75a.74.74 0 0 1-.53-.22a.75.75 0 0 1 0-1.06L13.94 12L9.47 7.53a.75.75 0 0 1 1.06-1.06l5 5a.75.75 0 0 1 0 1.06l-5 5a.74.74 0 0 1-.53.22Z\" fill=\"%23D13A3A\"/></svg>");
96
- background-position: center;
97
- background-repeat: no-repeat;
98
- background-size: 50%;
99
- }
100
- }
111
+ }
@@ -1,108 +1,137 @@
1
- .sectionnews {
2
- position: relative;
3
- padding-top: $actu-section-padding-top;
4
- padding-bottom: $actu-section-padding-bottom;
5
- margin: $actu-section-margin;
6
- @if $actu-section-full-width {
7
- width: 100vw;
8
- max-width: 100vw;
9
- }
10
- @include media-breakpoint-up(lg) {
11
- @if $actu-section-full-width {
12
- left: 50%;
13
- transform: translateX(-50%);
14
- }
15
- }
16
- .container {
17
- padding-right: 0;
18
- padding-left: 0;
19
- @if $actu-section-full-width {
20
- padding-right: calc(var(--bs-gutter-x) * 0.5);
21
- padding-left: calc(var(--bs-gutter-x) * 0.5);
22
- }
23
- }
24
- .section-title {
25
- color: $actu-title-color;
26
- margin: $actu-title-margin;
27
- padding: $actu-title-padding;
28
- text-align: $actu-title-align;
29
- @include media-breakpoint-up(lg) {}
30
- @include media-breakpoint-up(xxl) {}
31
- }
32
- .swiper-slide {
33
- height: auto;
34
- a {
35
- text-decoration: none;
36
- }
37
- &>a {
38
- display: grid;
39
- height: 100%;
40
- place-items: start;
41
- grid-auto-rows: min-content;
42
- background: $actu-item-bg-color;
43
- border-radius: $actu-item-bg-radius;
44
- }
45
- .swiper-image {
46
- margin-bottom: $actu-image-margin-bottom;
47
- border-radius: $actu-image-border-radius;
48
- width: 100%;
49
- }
50
- .swiper_category {
51
- margin: $actu-category-margin;
52
- span {
53
- display: block;
54
- padding: $actu-category-padding;
55
- color: $actu-category-color;
56
- background: $actu-category-bg-color;
57
- font-size: $actu-category-font-size;
58
- font-weight: $actu-category-font-weight;
59
- text-transform: $actu-category-text-transform;
60
- border-radius: $actu-category-radius;
61
- }
62
- }
63
- .swiper_date {
64
- padding: $actu-date-padding;
65
- margin: $actu-date-margin;
66
- color: $actu-date-color;
67
- font-size: $actu-date-font-size;
68
- text-align: $actu-date-align;
69
- }
70
- .swiper_title {
71
- padding: $actu-item-title-padding;
72
- margin: $actu-item-title-margin;
73
- h3 {
74
- color: $actu-item-title-color;
75
- font-size: $actu-item-title-font-size;
76
- font-weight: $actu-item-title-font-weight;
77
- text-transform: $actu-item-title-text-transform;
78
- text-align: $actu-item-title-align;
79
- }
80
- }
81
- .swiper_description {
82
- text-align: $actu-description-align;
83
- font-family: $actu-description-font-family;
84
- }
85
- }
86
- // .swiper-button-prev {
87
- // background-image: url("data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"32\" height=\"32\" viewBox=\"0 0 24 24\"><path d=\"M14 17.75a.74.74 0 0 1-.53-.22l-5-5a.75.75 0 0 1 0-1.06l5-5a.75.75 0 0 1 1.06 1.06L10.06 12l4.47 4.47a.75.75 0 0 1 0 1.06a.74.74 0 0 1-.53.22Z\" fill=\"%23FFC93C\"/></svg>");
88
- // background-position: center;
89
- // background-repeat: no-repeat;
90
- // background-size: 50%;
91
- // }
92
- // .swiper-button-next {
93
- // background-image: url("data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"32\" height=\"32\" viewBox=\"0 0 24 24\"><path d=\"M10 17.75a.74.74 0 0 1-.53-.22a.75.75 0 0 1 0-1.06L13.94 12L9.47 7.53a.75.75 0 0 1 1.06-1.06l5 5a.75.75 0 0 1 0 1.06l-5 5a.74.74 0 0 1-.53.22Z\" fill=\"%23FFC93C\"/></svg>");
94
- // background-position: center;
95
- // background-repeat: no-repeat;
96
- // background-size: 50%;
97
- // }
98
- }
99
- .swiper-pagination-bullet-active {
100
- background: $primary !important;
101
- }
102
- // see all
103
- .sectionnews {
104
- .see_all {
105
- justify-content: $actu-see-all-justify-content;
106
- @include see-all-style;
107
- }
108
- }
1
+ .sectionnews {
2
+ position: relative;
3
+ padding-top: $actu-section-padding-top;
4
+ padding-bottom: $actu-section-padding-bottom;
5
+ margin: $actu-section-margin;
6
+
7
+ @if $actu-section-full-width {
8
+ width: 100vw;
9
+ max-width: 100vw;
10
+ }
11
+
12
+ @include media-breakpoint-up(lg) {
13
+ @if $actu-section-full-width {
14
+ left: 50%;
15
+ transform: translateX(-50%);
16
+ }
17
+ }
18
+
19
+ .container {
20
+ padding-right: 0;
21
+ padding-left: 0;
22
+
23
+ @include media-breakpoint-up(lg) {
24
+ @if $actu-section-full-width {
25
+ padding-right: calc(var(--bs-gutter-x) * 0.5);
26
+ padding-left: calc(var(--bs-gutter-x) * 0.5);
27
+ }
28
+ }
29
+ }
30
+
31
+ .section-title {
32
+ color: $actu-title-color;
33
+ margin: $actu-title-margin;
34
+ padding: $actu-title-padding;
35
+ text-align: $actu-title-align;
36
+ }
37
+
38
+ .swiper-slide {
39
+ height: auto;
40
+
41
+ a {
42
+ text-decoration: none;
43
+ }
44
+
45
+ & > a {
46
+ display: grid;
47
+ height: 100%;
48
+ place-items: start;
49
+ grid-auto-rows: min-content;
50
+ background: $actu-item-bg-color;
51
+ border-radius: $actu-item-bg-radius;
52
+ }
53
+
54
+ .swiper-image {
55
+ margin-bottom: $actu-image-margin-bottom;
56
+ border-radius: $actu-image-border-radius;
57
+ width: 100%;
58
+ }
59
+
60
+ .swiper_category {
61
+ margin: $actu-category-margin;
62
+
63
+ span {
64
+ display: block;
65
+ padding: $actu-category-padding;
66
+ color: $actu-category-color;
67
+ background: $actu-category-bg-color;
68
+ font-size: $actu-category-font-size;
69
+ font-weight: $actu-category-font-weight;
70
+ text-transform: $actu-category-text-transform;
71
+ border-radius: $actu-category-radius;
72
+ }
73
+ }
74
+
75
+ .swiper_date {
76
+ padding: $actu-date-padding;
77
+ margin: $actu-date-margin;
78
+ color: $actu-date-color;
79
+ font-size: $actu-date-font-size;
80
+ text-align: $actu-date-align;
81
+ }
82
+
83
+ .swiper_title {
84
+ padding: $actu-item-title-padding;
85
+ margin: $actu-item-title-margin;
86
+
87
+ h3 {
88
+ color: $actu-item-title-color;
89
+ font-size: $actu-item-title-font-size;
90
+ font-weight: $actu-item-title-font-weight;
91
+ text-transform: $actu-item-title-text-transform;
92
+ text-align: $actu-item-title-align;
93
+ }
94
+ }
95
+
96
+ .swiper_description {
97
+ text-align: $actu-item-description-align;
98
+ font-family: $actu-item-description-font-family;
99
+ margin: $actu-item-description-margin;
100
+ padding: $actu-item-description-padding;
101
+ color: $actu-item-description-color;
102
+ }
103
+ }
104
+
105
+ // .swiper-button-prev {
106
+
107
+ // background-image: url("data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"32\" height=\"32\" viewBox=\"0 0 24 24\"><path d=\"M14 17.75a.74.74 0 0 1-.53-.22l-5-5a.75.75 0 0 1 0-1.06l5-5a.75.75 0 0 1 1.06 1.06L10.06 12l4.47 4.47a.75.75 0 0 1 0 1.06a.74.74 0 0 1-.53.22Z\" fill=\"%23FFC93C\"/></svg>");
108
+
109
+ // background-position: center;
110
+
111
+ // background-repeat: no-repeat;
112
+
113
+ // background-size: 50%;
114
+
115
+ // }
116
+
117
+ // .swiper-button-next {
118
+
119
+ // background-image: url("data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"32\" height=\"32\" viewBox=\"0 0 24 24\"><path d=\"M10 17.75a.74.74 0 0 1-.53-.22a.75.75 0 0 1 0-1.06L13.94 12L9.47 7.53a.75.75 0 0 1 1.06-1.06l5 5a.75.75 0 0 1 0 1.06l-5 5a.74.74 0 0 1-.53.22Z\" fill=\"%23FFC93C\"/></svg>");
120
+
121
+ // background-position: center;
122
+
123
+ // background-repeat: no-repeat;
124
+
125
+ // background-size: 50%;
126
+
127
+ // }
128
+ }
129
+
130
+ // see all
131
+ .sectionnews {
132
+ .see_all {
133
+ justify-content: $actu-see-all-justify-content;
134
+
135
+ @include see-all-style;
136
+ }
137
+ }