Skip to content

Commit

Permalink
DNA-28 - Consume origins
Browse files Browse the repository at this point in the history
* fix text area quiet style
* hide scrollbar
  • Loading branch information
karstens committed Dec 17, 2016
1 parent 42355f3 commit 12b7596
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 11 deletions.
20 changes: 12 additions & 8 deletions abstract/textfield/index.styl
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,6 @@ spectrum-textfield() {
}
}


// to be used for textarea
spectrum-textfield--multiline() {
height: auto;
padding: 4*$px 8*$px;
text-indent: 0;
}

spectrum-textfield--quiet() {
border-radius: 0;
text-indent: 0;
Expand All @@ -89,3 +81,15 @@ spectrum-textfield--quiet() {
padding-right: 0;

}

// to be used for textarea
spectrum-textfield--multiline() {
height: auto;
padding: 4*$px 8*$px;
text-indent: 0;
}

spectrum-textfield--quiet--multiline() {
resize: none;
overflow-y: hidden;
}
8 changes: 6 additions & 2 deletions reference/textfield/index.styl
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,16 @@
spectrum-textfield()
}

.spectrum-Textfield--quiet {
spectrum-textfield--quiet()
}

.spectrum-Textfield--multiline {
spectrum-textfield--multiline()
}

.spectrum-Textfield--quiet {
spectrum-textfield--quiet()
.spectrum-Textfield--quiet + spectrum-Textfield--multiline {
spectrum-textfield--quiet--multiline()
}

@import 'light.styl'
Expand Down
1 change: 0 additions & 1 deletion reference/textfield/skin.styl
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
&:invalid {
spectrum-textfield--invalid()
}

}

.spectrum-Textfield--quiet {
Expand Down

0 comments on commit 12b7596

Please sign in to comment.