Skip to content

Commit 46cef68

Browse files
author
Hwashiang Yu
committed
MC-5701: Slide Dots Are Hard To See Against Certain Backgrounds On Storefront
- Updated slider dot styles for both admin panel and storefront to be consistently white with grey background that change to black on focus
1 parent 3edb155 commit 46cef68

File tree

2 files changed

+1
-5
lines changed
  • app/code/Magento/PageBuilder/view

2 files changed

+1
-5
lines changed

app/code/Magento/PageBuilder/view/adminhtml/web/css/source/content-type/slider/_default.less

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,6 @@
223223
&.active {
224224
.navigation-dot-anchor:after {
225225
background: @color-very-dark-grayish-orange;
226-
border: none;
227226
transition: all .3s;
228227
}
229228

@@ -261,7 +260,6 @@
261260

262261
&.active .navigation-dot-anchor:after {
263262
background: @color-pagebuilder-darkest-gray;
264-
border: none;
265263
}
266264
}
267265
}

app/code/Magento/PageBuilder/view/frontend/web/css/source/slick/_slick.less

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@
194194
vertical-align: middle;
195195
width: 14px;
196196
button {
197-
background: transparent;
197+
background: @color-white;
198198
border: 1px solid #ccc;
199199
border-radius: 10px;
200200
box-shadow: none;
@@ -213,15 +213,13 @@
213213
&:active,
214214
&:focus,
215215
&:not(.primary) {
216-
background: transparent;
217216
box-shadow: none;
218217
}
219218
}
220219

221220
&.slick-active {
222221
button {
223222
background: #1c1918;
224-
border: none;
225223
}
226224
}
227225
}

0 commit comments

Comments
 (0)