Files
mochi/css/TextArea.less
Ben Combee 88f4725a15 Replace Prelude with Lato
Since we don't have license to distribute Prelude with
non-webOS projects, we're substituting Lato for now.
Added TTF and WOFF formats of Lato font and updated
mochi-fonts.less to try Lato if Prelude cannot be loaded.

Enyo-DCO-1.1-Signed-Off-By: Ben Combee (ben.combee@lge.com)
2014-02-18 19:23:12 -06:00

44 lines
968 B
Plaintext

/* TextArea.css */
.mochi-input-decorator > textarea {
margin: 10px 0px 6px;
padding: 0;
border: none;
outline: none;
cursor: pointer;
background-color: transparent;
box-shadow: none;
/* Remove scrollbars and resize handle */
resize: none;
overflow: auto;
/* FIXME: hack for styling reset on Android */
/* -webkit-appearance: caret;*/
font-size: 14px;
font-family: "Mochi Medium";
color: #4b4b4b;
font-style: italic;
}
.mochi-input-decorator.mochi-focused > textarea {
cursor: text;
}
.mochi-input-decorator.mochi-disabled > textarea {
cursor: default;
}
.mochi-textarea {
/* need >=50px for scrollbar to be usable on mac */
min-height: 50px;
}
textarea::-webkit-scrollbar {
width: 4px;
}
textarea::-webkit-scrollbar-track-piece {
margin-top: 4px;
margin-bottom: 0px;
background-color: #fff;
-webkit-border-radius: 10px;
}
textarea::-webkit-scrollbar-thumb:vertical {
height: 10px;
background-color: #7d7d7d;
-webkit-border-radius: 10px;
}