@imiobe/plonetheme-smartweb-base 0.0.6 → 0.1.1

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 (95) hide show
  1. package/CHANGELOG.md +80 -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/package.json +25 -2
  55. package/src/index.js +60 -14
  56. package/src/scss/_breadcrum.scss +1 -0
  57. package/src/scss/_fonts.scss +6 -5
  58. package/src/scss/_general.scss +73 -65
  59. package/src/scss/_header.scss +33 -13
  60. package/src/scss/_mixin.scss +43 -35
  61. package/src/scss/_sitenav.scss +326 -259
  62. package/src/scss/_sub-sitenav.scss +113 -65
  63. package/src/scss/_swiper.scss +17 -10
  64. package/src/scss/_trucaverif.scss +630 -555
  65. package/src/scss/common/_com-cookies.scss +86 -75
  66. package/src/scss/common/_com-edition.scss +36 -24
  67. package/src/scss/common/_com-faceted.scss +153 -132
  68. package/src/scss/common/_com-footer.scss +9 -5
  69. package/src/scss/common/_com-list-image.scss +17 -15
  70. package/src/scss/common/_com-react.scss +62 -57
  71. package/src/scss/common/_messviewlet.scss +77 -60
  72. package/src/scss/homepage/_a-la-une.scss +30 -19
  73. package/src/scss/homepage/_actualites.scss +137 -111
  74. package/src/scss/homepage/_album.scss +87 -75
  75. package/src/scss/homepage/_banner.scss +38 -41
  76. package/src/scss/homepage/_events.scss +42 -20
  77. package/src/scss/homepage/_general-home.scss +47 -43
  78. package/src/scss/homepage/_newsletter.scss +30 -24
  79. package/src/scss/homepage/_quick-access.scss +14 -4
  80. package/src/scss/list/_list-block-img.scss +53 -49
  81. package/src/scss/list/_list-block.scss +70 -64
  82. package/src/scss/list/_list-img.scss +21 -14
  83. package/src/scss/list/_list.scss +55 -53
  84. package/src/scss/main.scss +21 -9
  85. package/src/scss/sections/_se-contact.scss +229 -158
  86. package/src/scss/sections/_se-file.scss +188 -158
  87. package/src/scss/sections/_se-gallery.scss +16 -14
  88. package/src/scss/sections/_se-link.scss +141 -135
  89. package/src/scss/sections/_se-linked-content.scss +4 -4
  90. package/src/scss/sections/_se-plan-geo.scss +92 -74
  91. package/src/scss/sections/_se-plan.scss +2 -2
  92. package/src/scss/sections/_se-postit.scss +19 -17
  93. package/src/scss/sections/_se-textes.scss +35 -41
  94. package/src/scss/variables.scss +159 -138
  95. package/theme.zip +0 -0
@@ -1,76 +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
- }
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
+ }
69
81
  }
70
- .r-wrapper{
71
- .r-content-text ul
72
- { padding-left: 2rem; }
73
-
74
- .r-content-text li
75
- { display: list-item; list-style: disc; margin: 0.25rem 0; padding-left: 0; }
76
- }
@@ -1,78 +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
- padding-top: 0;
13
- .portalMessage {
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
- margin-top: .5rem;
22
- a {
23
- color: #fff;
24
- }
25
- p:first-of-type {
26
- display: inline;
27
- padding-right: 0.7rem;
28
- }
29
- .close-button {
30
- width: 26px;
31
- height: 26px;
32
- display: block;
33
- background: transparent;
34
- display: inline-block;
35
- white-space: nowrap;
36
- top: 0;
37
- bottom: inherit;
38
- transform: none;
39
- margin-top: 0.35rem;
40
- &::after {
41
- 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;
42
- background-size: 50%;
43
- }
44
- &:hover,
45
- &:focus {
46
- &:after {
47
- opacity: .7;
48
- }
49
- }
50
- }
51
- .messagesviewlet-type {
52
- color: #fff;
53
- padding: 0;
54
- margin: 0;
55
- font-weight: bold;
56
- background: transparent !important;
57
- &::after {
58
- content: ":";
59
- margin-left: 1px;
60
- }
61
- }
62
- }
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
+ }
63
75
  }
76
+
64
77
  #messagesviewlet {
65
- grid-area: messageviewlet;
78
+ grid-area: messageviewlet;
66
79
  }
80
+
67
81
  #localmessagesviewlet {
68
- grid-area: localmessageviewlet;
82
+ grid-area: localmessageviewlet;
69
83
  }
84
+
70
85
  .portalMessage.info {
71
- background: #27789c;
86
+ background: #27789c;
72
87
  }
88
+
73
89
  .portalMessage.warning {
74
- background: #c06d01;
90
+ background: #c06d01;
75
91
  }
92
+
76
93
  .portalMessage.error {
77
- background: #ae2609;
78
- }
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,111 +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
- @include media-breakpoint-up(lg) {
20
- @if $actu-section-full-width {
21
- padding-right: calc(var(--bs-gutter-x) * 0.5);
22
- padding-left: calc(var(--bs-gutter-x) * 0.5);
23
- }
24
- }
25
- }
26
- .section-title {
27
- color: $actu-title-color;
28
- margin: $actu-title-margin;
29
- padding: $actu-title-padding;
30
- text-align: $actu-title-align;
31
- @include media-breakpoint-up(lg) {}
32
- @include media-breakpoint-up(xxl) {}
33
- }
34
- .swiper-slide {
35
- height: auto;
36
- a {
37
- text-decoration: none;
38
- }
39
- &>a {
40
- display: grid;
41
- height: 100%;
42
- place-items: start;
43
- grid-auto-rows: min-content;
44
- background: $actu-item-bg-color;
45
- border-radius: $actu-item-bg-radius;
46
- }
47
- .swiper-image {
48
- margin-bottom: $actu-image-margin-bottom;
49
- border-radius: $actu-image-border-radius;
50
- width: 100%;
51
- }
52
- .swiper_category {
53
- margin: $actu-category-margin;
54
- span {
55
- display: block;
56
- padding: $actu-category-padding;
57
- color: $actu-category-color;
58
- background: $actu-category-bg-color;
59
- font-size: $actu-category-font-size;
60
- font-weight: $actu-category-font-weight;
61
- text-transform: $actu-category-text-transform;
62
- border-radius: $actu-category-radius;
63
- }
64
- }
65
- .swiper_date {
66
- padding: $actu-date-padding;
67
- margin: $actu-date-margin;
68
- color: $actu-date-color;
69
- font-size: $actu-date-font-size;
70
- text-align: $actu-date-align;
71
- }
72
- .swiper_title {
73
- padding: $actu-item-title-padding;
74
- margin: $actu-item-title-margin;
75
- h3 {
76
- color: $actu-item-title-color;
77
- font-size: $actu-item-title-font-size;
78
- font-weight: $actu-item-title-font-weight;
79
- text-transform: $actu-item-title-text-transform;
80
- text-align: $actu-item-title-align;
81
- }
82
- }
83
- .swiper_description {
84
- text-align: $actu-item-description-align;
85
- font-family: $actu-item-description-font-family;
86
- margin:$actu-item-description-margin;
87
- padding: $actu-item-description-padding;
88
- color:$actu-item-description-color;
89
- }
90
- }
91
- // .swiper-button-prev {
92
- // 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>");
93
- // background-position: center;
94
- // background-repeat: no-repeat;
95
- // background-size: 50%;
96
- // }
97
- // .swiper-button-next {
98
- // 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>");
99
- // background-position: center;
100
- // background-repeat: no-repeat;
101
- // background-size: 50%;
102
- // }
103
- }
104
-
105
- // see all
106
- .sectionnews {
107
- .see_all {
108
- justify-content: $actu-see-all-justify-content;
109
- @include see-all-style;
110
- }
111
- }
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
+ }