@imiobe/plonetheme-smartweb-base 0.0.6 → 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 (95) 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/package.json +20 -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 +17 -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,52 +1,56 @@
1
1
  body.template-block_view_with_images .block-menu-element {
2
- a {
3
- text-decoration: none;
4
- .card-body {
5
- background: #fff;
6
- height: 180px;
7
- border-radius: 15px 15px 15px 0px;
8
- box-shadow: $block-small-shadow;
9
- position: relative;
10
- &::after {
11
- // content: url(../svg/arrow-right-yellow.svg);
12
- background: #fff;
13
- position: absolute;
14
- bottom: 0;
15
- left: 0;
16
- width: 50px;
17
- height: 50px;
18
- border-radius: 50%;
19
- text-align: center;
20
- margin: 1rem 1rem;
21
- }
22
- }
23
- &:hover,
24
- &:focus {
25
- .card-body{
26
- box-shadow: $block-full-shadow;
27
- &::after {
28
- // content: url(../svg/arrow-right-white.svg);
29
- background: $yellow;
30
- left: 0;
31
- bottom: 0;
32
- width: 50px;
33
- height: 50px;
34
- border-radius: 50%;
35
- text-align: center;
36
- position: absolute;
37
- margin: 1rem 1rem;
38
-
39
- }
40
- }
41
- }
42
- h2.card-title {
43
- &:hover,
44
- &:focus {
45
- text-decoration-color: $yellow;
46
- }
47
- font-size: $section-list-block-img-card-title;
48
- text-transform: initial;
49
- font-weight: bold;
2
+ a {
3
+ text-decoration: none;
4
+
5
+ .card-body {
6
+ background: #fff;
7
+ height: 180px;
8
+ border-radius: 15px 15px 15px 0;
9
+ box-shadow: $block-small-shadow;
10
+ position: relative;
11
+
12
+ &::after {
13
+ // content: url(../svg/arrow-right-yellow.svg);
14
+ background: #fff;
15
+ position: absolute;
16
+ bottom: 0;
17
+ left: 0;
18
+ width: 50px;
19
+ height: 50px;
20
+ border-radius: 50%;
21
+ text-align: center;
22
+ margin: 1rem;
23
+ }
24
+ }
25
+
26
+ &:hover,
27
+ &:focus {
28
+ .card-body {
29
+ box-shadow: $block-full-shadow;
30
+
31
+ &::after {
32
+ // content: url(../svg/arrow-right-white.svg);
33
+ background: $yellow;
34
+ left: 0;
35
+ bottom: 0;
36
+ width: 50px;
37
+ height: 50px;
38
+ border-radius: 50%;
39
+ text-align: center;
40
+ position: absolute;
41
+ margin: 1rem;
50
42
  }
43
+ }
44
+ }
45
+
46
+ h2.card-title {
47
+ &:hover,
48
+ &:focus {
49
+ text-decoration-color: $yellow;
50
+ }
51
+ font-size: $section-list-block-img-card-title;
52
+ text-transform: initial;
53
+ font-weight: bold;
51
54
  }
52
- }
55
+ }
56
+ }
@@ -1,74 +1,80 @@
1
1
  body.template-block_view #content-core {
2
- position: relative;
3
- &::after {
4
- content: "";
5
- position: absolute;
6
- width: 100vw;
7
- background: #f7f7f7;
8
- top: 0;
9
- bottom: -10%;
10
- left: 50%;
11
- transform: translateX(-50%);
12
- z-index: -2;
13
- }
2
+ position: relative;
3
+
4
+ &::after {
5
+ content: "";
6
+ position: absolute;
7
+ width: 100vw;
8
+ background: #f7f7f7;
9
+ top: 0;
10
+ bottom: -10%;
11
+ left: 50%;
12
+ transform: translateX(-50%);
13
+ z-index: -2;
14
+ }
14
15
  }
16
+
15
17
  #block-quickaccess {
16
- margin-top: calc(var(--bs-gutter-y) * 0);
18
+ margin-top: calc(var(--bs-gutter-y) * 0);
17
19
  }
20
+
18
21
  .block-menu-element {
19
- a {
20
- text-decoration: none;
21
- .card-body {
22
- background: #fff;
23
- height: 180px;
24
- border-radius: 15px 15px 15px 0px;
25
- box-shadow: $block-small-shadow;
26
- transition: 1.2s;
27
- position: relative;
28
- &:hover,
29
- &:focus {
22
+ a {
23
+ text-decoration: none;
30
24
 
31
- box-shadow: $block-full-shadow;
32
- h2.card-title {}
33
- &::after {
34
- // content: url(../svg/arrow-right-white.svg);
35
- background: $yellow;
36
- left: 0;
37
- bottom: 0;
38
- width: 50px;
39
- height: 50px;
40
- border-radius: 50%;
41
- text-align: center;
42
- position: absolute;
43
- margin: 1rem 1rem;
44
- line-height: 50px;
45
- }
46
- }
47
- &::after {
48
- // content: url(../svg/arrow-right-yellow.svg);
49
- background: transparent;
50
- position: absolute;
51
- bottom: 0;
52
- left: 0;
53
- width: 50px;
54
- height: 50px;
55
- border-radius: 50%;
56
- text-align: center;
57
- margin: 1rem 1rem;
58
- line-height: 50px;
59
- transition: 0.5s;
60
- }
61
- }
62
- h2.card-title {
63
- &:hover,
64
- &:focus {
65
- //border-bottom: $link-hover-decoration;
66
- text-decoration-color: $yellow;
67
- }
25
+ .card-body {
26
+ background: #fff;
27
+ height: 180px;
28
+ border-radius: 15px 15px 15px 0;
29
+ box-shadow: $block-small-shadow;
30
+ transition: 1.2s;
31
+ position: relative;
32
+
33
+ &:hover,
34
+ &:focus {
35
+ box-shadow: $block-full-shadow;
68
36
 
69
- text-transform: initial;
70
- font-weight: bold;
37
+ &::after {
38
+ background: $yellow;
39
+ left: 0;
40
+ bottom: 0;
41
+ width: 50px;
42
+ height: 50px;
43
+ border-radius: 50%;
44
+ text-align: center;
45
+ position: absolute;
46
+ margin: 1rem;
47
+ line-height: 50px;
71
48
  }
49
+ }
50
+
51
+ &::after {
52
+ // content: url(../svg/arrow-right-yellow.svg);
53
+ background: transparent;
54
+ position: absolute;
55
+ bottom: 0;
56
+ left: 0;
57
+ width: 50px;
58
+ height: 50px;
59
+ border-radius: 50%;
60
+ text-align: center;
61
+ margin: 1rem;
62
+ line-height: 50px;
63
+ transition: 0.5s;
64
+ }
65
+ }
66
+
67
+ h2.card-title {
68
+ &:hover,
69
+ &:focus {
70
+ //border-bottom: $link-hover-decoration;
71
+ text-decoration-color: $yellow;
72
+ }
73
+
74
+ text-transform: initial;
75
+ font-weight: bold;
72
76
  }
77
+ }
73
78
  }
74
- //HTML
79
+
80
+ //HTML
@@ -3,25 +3,32 @@
3
3
  /* démarches */
4
4
 
5
5
  .subsection-demarches-infos-pratiques .list-menu-element.col-12 {
6
- margin-bottom: 1rem;
6
+ margin-bottom: 1rem;
7
7
  }
8
- .subsection-demarches-infos-pratiques .list-menu-element .newsImage.card-img-left {
9
- width: 3rem;
10
- height: 3rem;
11
- border: 3px solid lightgrey;
12
- border-radius: 90%;
13
- background-size: 70%;
14
- background-repeat: no-repeat;
15
- margin-top: -0.5rem;
8
+
9
+ .subsection-demarches-infos-pratiques
10
+ .list-menu-element
11
+ .newsImage.card-img-left {
12
+ width: 3rem;
13
+ height: 3rem;
14
+ border: 3px solid lightgrey;
15
+ border-radius: 90%;
16
+ background-size: 70%;
17
+ background-repeat: no-repeat;
18
+ margin-top: -0.5rem;
16
19
  }
20
+
17
21
  .subsection-demarches-infos-pratiques .list-menu-element a {
18
- text-decoration: none;
22
+ text-decoration: none;
19
23
  }
24
+
20
25
  .subsection-demarches-infos-pratiques .list-menu-element h2.list-card-title {
21
- font-weight: 500;
22
- font-size: 1.75rem;
26
+ font-weight: 500;
27
+ font-size: 1.75rem;
23
28
  }
29
+
24
30
  .subsection-demarches-infos-pratiques .list-menu-element .list-card-body {
25
- width: 75%;
31
+ width: 75%;
26
32
  }
27
- // end for bla
33
+
34
+ // end for bla
@@ -1,61 +1,63 @@
1
1
  .list-group {
2
- .list-group-item {
3
- border-bottom: $border-width solid #d1d1d1;
4
- position: relative;
5
- .tileHeadline {
6
- a::after {
7
- content: "";
8
- top: 0;
9
- bottom: 0;
10
- left: 0;
11
- right: 0;
12
- position: absolute;
13
- z-index: 1;
14
- }
15
- &:hover,
16
- &:focus {
17
- .summary {
18
- border-bottom: $link-hover-decoration;
19
- }
20
- &::after {
21
- // content: url(../svg/arrow-right-white.svg);
22
- background: $yellow;
23
- position: absolute;
24
- right: 0;
25
- width: 50px;
26
- height: 50px;
27
- border-radius: 50%;
28
- text-align: center;
29
- line-height: 50px;
30
- }
31
- }
32
- &::after {
33
- // content: url(../svg/arrow-right-yellow.svg);
34
- background: #fff;
35
- position: absolute;
36
- right: 0;
37
- width: 50px;
38
- height: 50px;
39
- border-radius: 50%;
40
- text-align: center;
41
- line-height: 50px;
42
- }
43
- }
2
+ .list-group-item {
3
+ border-bottom: $border-width solid #d1d1d1;
4
+ position: relative;
5
+
6
+ .tileHeadline {
7
+ a::after {
8
+ content: "";
9
+ inset: 0;
10
+ position: absolute;
11
+ z-index: 1;
12
+ }
13
+
14
+ &:hover,
15
+ &:focus {
44
16
  .summary {
45
- &:hover,
46
- &:focus {
47
- border-bottom: $link-hover-decoration;
48
- }
49
- text-decoration: none;
50
- text-transform: uppercase;
51
- font-weight: bold;
17
+ border-bottom: $link-hover-decoration;
18
+ }
52
19
 
20
+ &::after {
21
+ // content: url(../svg/arrow-right-white.svg);
22
+ background: $yellow;
23
+ position: absolute;
24
+ right: 0;
25
+ width: 50px;
26
+ height: 50px;
27
+ border-radius: 50%;
28
+ text-align: center;
29
+ line-height: 50px;
53
30
  }
31
+ }
32
+
33
+ &::after {
34
+ // content: url(../svg/arrow-right-yellow.svg);
35
+ background: #fff;
36
+ position: absolute;
37
+ right: 0;
38
+ width: 50px;
39
+ height: 50px;
40
+ border-radius: 50%;
41
+ text-align: center;
42
+ line-height: 50px;
43
+ }
54
44
  }
45
+
46
+ .summary {
47
+ &:hover,
48
+ &:focus {
49
+ border-bottom: $link-hover-decoration;
50
+ }
51
+ text-decoration: none;
52
+ text-transform: uppercase;
53
+ font-weight: bold;
54
+ }
55
+ }
55
56
  }
57
+
56
58
  //HTML
57
59
  body .list-group {
58
- .list-group-item {
59
- border: none !important;
60
- }
61
- }
60
+ .list-group-item {
61
+ border: none !important;
62
+ }
63
+ }
@@ -1,43 +1,46 @@
1
1
  //// VARIABLES
2
2
  $roboto-base-path: "@theme/assets/fonts/";
3
+
3
4
  @import "./variables";
4
5
 
5
6
  // Plone Barceloneta Styling & components
6
7
 
7
8
  // Plone colors
9
+
8
10
  @import "@plone/plonetheme-barceloneta-base/scss/variables.colors.plone";
9
11
 
10
12
  // Plone specific default variables & properties
13
+
11
14
  @import "@plone/plonetheme-barceloneta-base/scss/variables.properties";
12
15
  @import "@plone/plonetheme-barceloneta-base/scss/variables.barceloneta";
13
-
14
16
  @import "@plone/plonetheme-barceloneta-base/scss/base";
15
-
16
17
  @import "@plone/plonetheme-barceloneta-base/scss/mixins/mixin.portlets.plone";
17
18
  @import "@plone/plonetheme-barceloneta-base/scss/mixins/mixin.font.plone";
18
19
 
19
20
  // Plone components
21
+
20
22
  @import "@plone/plonetheme-barceloneta-base/scss/cards";
21
23
  @import "@plone/plonetheme-barceloneta-base/scss/scaffolding";
22
24
 
23
25
  // // style.scss
26
+
24
27
  @import "@plone/plonetheme-barceloneta-base/scss/icons";
25
28
  @import "@plone/plonetheme-barceloneta-base/scss/header";
26
29
 
27
30
  // @import "@plone/plonetheme-barceloneta-base/scss/sitenav";
31
+
28
32
  @import "@plone/plonetheme-barceloneta-base/scss/breadcrumbs";
29
33
  @import "@plone/plonetheme-barceloneta-base/scss/content";
30
34
  @import "@plone/plonetheme-barceloneta-base/scss/comments";
31
35
  @import "@plone/plonetheme-barceloneta-base/scss/portlets";
32
36
  @import "@plone/plonetheme-barceloneta-base/scss/footer";
33
-
34
37
  @import "@plone/plonetheme-barceloneta-base/scss/print";
35
-
36
38
  @import "@plone/plonetheme-barceloneta-base/scss/roboto-webfont";
37
39
 
38
40
  // @import "@plone/plonetheme-barceloneta-base/scss/barceloneta";
39
41
 
40
42
  ///// Common
43
+
41
44
  @import "./common/com-cookies";
42
45
  @import "./common/com-edition";
43
46
  @import "./common/com-faceted";
@@ -47,11 +50,14 @@ $roboto-base-path: "@theme/assets/fonts/";
47
50
  @import "./common/com-footer";
48
51
 
49
52
  ///// List
53
+
50
54
  @import "./list/list-block";
51
55
  @import "./list/list-block-img";
52
56
  @import "./list/list-img";
53
57
  @import "./list/list";
58
+
54
59
  ///// Base
60
+
55
61
  @import "./mixin";
56
62
  @import "./general";
57
63
  @import "./fonts";
@@ -59,12 +65,12 @@ $roboto-base-path: "@theme/assets/fonts/";
59
65
  @import "./sub-sitenav";
60
66
  @import "./header";
61
67
  @import "./edition";
62
- @import "./swiper";
63
68
  @import "./print";
64
69
  @import "./swiper";
65
70
  @import "./trucaverif";
66
71
 
67
72
  //// Sections
73
+
68
74
  @import "./sections/se-textes";
69
75
  @import "./sections/se-contact";
70
76
  @import "./sections/se-file";
@@ -76,6 +82,7 @@ $roboto-base-path: "@theme/assets/fonts/";
76
82
  @import "./sections/se-postit";
77
83
 
78
84
  // Home page
85
+
79
86
  @import "./homepage/general-home";
80
87
  @import "./homepage/banner";
81
88
  @import "./homepage/quick-access";
@@ -85,9 +92,10 @@ $roboto-base-path: "@theme/assets/fonts/";
85
92
  @import "./homepage/album";
86
93
  @import "./homepage/newsletter";
87
94
 
88
- #faceted-map-container{
89
- z-index: 0;
95
+ #faceted-map-container {
96
+ z-index: 0;
90
97
  }
98
+
91
99
  .leaflet-top.leaflet-left {
92
- z-index: inherit !important;
93
- }
100
+ z-index: inherit !important;
101
+ }