Skip to content

Commit

Permalink
style(menuSelect): apply select theme (#2462)
Browse files Browse the repository at this point in the history
* style(menuSelect): apply select theme

* fix(select): apply manually vendor prefixes
  • Loading branch information
Maxime Janton committed Oct 9, 2017
1 parent 05d14b3 commit 94bcdce
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/css/theme/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
@import 'star-rating';
@import 'stats';
@import 'toggle';
@import 'menu-select';

[class^=ais-] {
box-sizing: border-box;
Expand Down
3 changes: 3 additions & 0 deletions src/css/theme/_hits-per-page.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
select.ais-hits-per-page-selector {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;

background: $white url("data:image/svg+xml;utf8,<svg viewBox='0 0 12 7' xmlns='http://www.w3.org/2000/svg'><path d='M11 1L6.02 6 1 1' stroke-width='1.5' stroke='%23BFC7D8' fill='none' fill-rule='evenodd' stroke-linecap='round'/></svg>") no-repeat center right 16px/10px;
box-shadow: 0 1px 1px 0 rgba(85, 95, 110, 0.2) !important;
border: solid 1px #D4D8E3 !important;
Expand Down
3 changes: 3 additions & 0 deletions src/css/theme/_menu-select.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
select.ais-menu-select--select {
@extend select.ais-hits-per-page-selector;
}

0 comments on commit 94bcdce

Please sign in to comment.