Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Commit

Permalink
Fix AuthBox Dropdown (#403)
Browse files Browse the repository at this point in the history
  • Loading branch information
rafegoldberg authored Dec 9, 2019
1 parent 4a135ed commit 9dc6a94
Showing 1 changed file with 25 additions and 2 deletions.
27 changes: 25 additions & 2 deletions packages/api-explorer/src/AuthBox/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,42 @@
border-radius: 3px;
}
.GroupsList {
position: relative;
display: flex;
justify-content: center;
padding: .75rem;
background: linear-gradient(to right, white 10%, darken($bg, 1.25%) 75%);
&:after {
content: '';
position: absolute;
top: 50%;
right: 0.75rem;
transform: translate(-12px, -50%);
z-index: 9999;
font-size: 0.88em;
}
&:focus-within:after {
color: $pop;
}
>select {
flex: 1;
margin: 0 4px;
padding: 2px 4px;
font: inherit;
color: $text;
border-color: darken($edge, 5%);
border: 1px solid darken($edge, 6%);
border-radius: 3px;
outline-color: none;
background: #fff;
background-color: #fff;
&:focus { border-color: $pop }
-webkit-appearance: none;
-moz-appearance: none;
-ms-appearance: none;
appearance: none;
outline: none;
&:focus {
border-color: $pop;
}
}
}
details {
Expand Down

0 comments on commit 9dc6a94

Please sign in to comment.