Skip to content

Commit

Permalink
[src]
Browse files Browse the repository at this point in the history
- Fix dropdown triangle
- Fix selects
  • Loading branch information
colealanroberts committed Sep 8, 2016
1 parent 35107b9 commit a99986f
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 23 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Exprecss",
"description": "A lightweight responsive framework built on Bourbon & Neat",
"version": "0.4.8",
"version": "0.4.9",
"main": "exprecss.css",
"ignore": [
".*",
Expand Down
4 changes: 2 additions & 2 deletions exprecss.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions exprecss.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/_exprecss.sass
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$version: 'v0.4.8'
$version: 'v0.4.9'
$year: '2016'
$license: 'WTFPL'

Expand Down
2 changes: 1 addition & 1 deletion src/partials/_buttons.sass
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ input.btn

&-dropdown
position: relative
z-index: $z-index-alpha
z-index: 1 !important
width: 100%
height: 100%
overflow: hidden
Expand Down
29 changes: 18 additions & 11 deletions src/partials/_dropdowns.sass
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,25 @@
height: 100%
right: 0

&:after,
&:before
display: block
z-index: 2
content: ''

&:after
@include position(absolute, 0 null null 0)
width: 1px
height: 100%
background: $border-grey

&:before
@include triangle(10px, darken($border-grey, 20%), down)
@include position(absolute, 50% null null 50%)
@include transform(translate(-50%, -50%))

&-menu-container
@include position(absolute, null 1px null null)
// position: relative - Added Decemeber 16th

&-inactive
@include animation(dropdown-close $ease-out-cubic ($transition-duration-default - 50ms))
Expand All @@ -22,15 +38,6 @@
.dropdown-menu
display: block

&:before
@include image-retina('src/img/dropdown-triangle', 'png', 13px, $height-dropdown-triangle)
@include position(absolute, -($height-dropdown-triangle) 15px null null)
z-index: $z-index-alpha + 3
display: block
content: ''
width: 13px
height: $height-dropdown-triangle

&-menu
@include position(absolute, null 0 null null)
@include appearance(none)
Expand Down Expand Up @@ -65,4 +72,4 @@
font-size: $font-size-12

&:hover
background: darken($white, 3%)
background: darken($white, 3%)
7 changes: 2 additions & 5 deletions src/partials/_selects.sass
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,8 @@
pointer-events: none

&:after
@include position(absolute, 2px 0 null null)
@include triangle(10px, darken($border-grey, 20%), down)
@include position(absolute, 50% $px-gutter-small null null)
@include transform(translateY(-50%))
display: block
content: ''
width: 40px
height: 35px
border-top: none
border-right: none

0 comments on commit a99986f

Please sign in to comment.