Skip to content

Commit

Permalink
Merge pull request #229 from Wisembly/disabled-dropdown
Browse files Browse the repository at this point in the history
Dropdown-select | add disabled state
  • Loading branch information
Gabriel Cousin committed Jan 19, 2016
2 parents 648fcb1 + d0f7805 commit 10761ce
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions dist/css/tapestry.css
Original file line number Diff line number Diff line change
Expand Up @@ -1158,6 +1158,12 @@ th {
border-color: #a1a9ae;
}

.Dropdown-selectInput[disabled] {
color: #a1a9ae;
background: #d5d9da;
cursor: not-allowed;
}

.Dropdown-selectInput:focus {
outline: none;
}
Expand Down
6 changes: 6 additions & 0 deletions src/scss/components/dropdown/_select.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@
border-color: $gray-chateau;
}

&[disabled] {
color: $gray-chateau;
background: $iron;
cursor: not-allowed;
}

&:focus {
outline: none;
}
Expand Down

0 comments on commit 10761ce

Please sign in to comment.