.fltrs {
	select {
		  -webkit-appearance: none;
			 -moz-appearance: none;
				  appearance: none;
		  background-color: transparent;
		  border: none;
		  padding: 0 1em 0 0;
		  margin: 0;
		  width: 100%;
		  font-family: inherit;
		  font-size: inherit;
		  cursor: inherit;
		  line-height: inherit;
		  z-index: 1;
		  outline: none;
		  text-transform: uppercase;
		}
		select::-ms-expand {
		  display: none;
		}
		
		.facetwp-type-sort {
		  display: grid;
		  grid-template-areas: "select";
		  align-items: center;
		  position: relative;
		  min-width: 15ch;
		  max-width: 100%;
		  border-bottom: 7px solid $primary;
		  padding: 0px 0px 10px 0px;
		  font-size: 18px;
		  text-transform: uppercase;
		  cursor: pointer;
		  line-height: 1.5;
		  background-color: #fff;
		  background-image: linear-gradient(to top, #fff, #fff 33%);
		}
		.facetwp-type-sort select, .facetwp-type-sort::after {
		  grid-area: select;
		}
		.facetwp-type-sort:not(.select--multiple)::after {
		  content: "";
		  justify-self: end;
		  border-style: solid;
		  border-width: 3px 3px 0 0;
		  display: inline-block;
		  height: 15px;
		  right: 0.15em;
		  position: relative;
		  top: 0.15em;
		  transform: rotate(-45deg);
		  vertical-align: top;
		  width: 15px;
		  top: 0;
		  transform: rotate(135deg);
		}
		
		select:focus + .focus {
		  position: absolute;
		  top: -1px;
		  left: -1px;
		  right: -1px;
		  bottom: -1px;
		  border-radius: inherit;
		}
		
		select[multiple] {
		  padding-right: 0;
		  /*
		   * Safari will not reveal an option
		   * unless the select height has room to 
		   * show all of it
		   * Firefox and Chrome allow showing 
		   * a partial option
		   */
		  height: 6rem;
		  /* 
		   * Experimental - styling of selected options
		   * in the multiselect
		   * Not supported crossbrowser
		   */
		}
		select[multiple] option {
		  white-space: normal;
		  outline-color: var(--select-focus);
		}
		
		.select--disabled {
		  cursor: not-allowed;
		  background-color: #eee;
		  background-image: linear-gradient(to top, #ddd, #eee 33%);
		}
		
		label {
		  font-size: 1.125rem;
		  font-weight: 500;
		}
		
		.facetwp-type-sort + label {
		  margin-top: 2rem;
		}
		.fs-wrap {
			display: block!important;
			position: relative;
			border-bottom: 7px solid $primary;
			padding: 0px;
		    font-size: 18px;
			text-transform: uppercase;
			
			.fs-label-wrap {
				width: 100%;
				border: none!important;
				.fs-label {
					padding: 10px 0px;
				}
			}
		}
		.fs-open .fs-arrow {
			transform: rotate(135deg);
			//transform: rotate(-45deg);
			//bottom: 0;
		}
		.fs-arrow {
			content: "";
			  justify-self: end;
			  border-style: solid;
			  border-color: #000!important;
			  border-width: 3px 3px 0 0;
			  display: inline-block;
			  height: 15px;
			  right: 0.15em;
			  position: absolute;
			  top: 0.15em;
			  transform: rotate(-45deg);
			  vertical-align: top;
			  width: 15px;
			  bottom: auto;
			  transform: rotate(135deg);
		}
		.fs-dropdown {
			width: 100%;
			background: $primary;
			color: $white;
		}
}
Geef een reactie 0