Skip to content

Commit 2fe77e7

Browse files
committed
SUP-50263 bla r-add-button style fix
1 parent 0b7377a commit 2fe77e7

File tree

2 files changed

+52
-1
lines changed

2 files changed

+52
-1
lines changed

smartweb/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"url": "https://imio.be"
1818
}
1919
],
20-
"homepage": "https://",
20+
"homepage": "https://www.arlon.be",
2121
"keywords": [
2222
"imio",
2323
"plone",

smartweb/src/scss/smartweb.scss

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,57 @@ body {
145145
top: -100vh !important;
146146
}
147147

148+
.r-add-contact,
149+
.r-add-news,
150+
.r-add-event {
151+
overflow: hidden;
152+
border-radius: 15px;
153+
border: solid 1px #000;
154+
background: #000;
155+
border-bottom-left-radius: 0;
156+
padding: 10px;
157+
fill: #fff;
158+
159+
@media screen and (max-width: 992px) {
160+
margin-top: 1.1rem;
161+
width: max-content;
162+
}
163+
164+
a {
165+
z-index: 1;
166+
color: #fff;
167+
position: relative;
168+
}
169+
170+
&::after {
171+
content: "";
172+
background: #fff;
173+
position: absolute;
174+
top: 0;
175+
bottom: 0;
176+
width: 0;
177+
left: 0;
178+
border-top-right-radius: 15px;
179+
border-bottom-right-radius: 15px;
180+
transition: all 0.4s ease;
181+
z-index: 0;
182+
mix-blend-mode: difference;
183+
}
184+
185+
&:hover,
186+
&:focus {
187+
fill: #000;
188+
189+
a {
190+
color: #000;
191+
}
192+
193+
&::after {
194+
width: 103%;
195+
}
196+
}
197+
}
198+
148199
//// Notes
149200

150201
// j'ai ajouté une div mask-menu dans le index.html du theme: bon ou pas ?

0 commit comments

Comments
 (0)