2010-10-13 16:45:10 +00:00
|
|
|
/*
|
|
|
|
|
* jQuery Mobile Framework
|
|
|
|
|
* Copyright (c) jQuery Project
|
|
|
|
|
* Dual licensed under the MIT (MIT-LICENSE.txt) or GPL (GPL-LICENSE.txt) licenses.
|
|
|
|
|
*/
|
|
|
|
|
label.ui-input-text { font-size: 16px; line-height: 1.4; display: block; font-weight: normal; margin: 0 0 .3em; }
|
|
|
|
|
input.ui-input-text, textarea.ui-input-text { background-image: none; padding: .4em; line-height: 1.4; font-size: 16px; display: block; width: 95%; }
|
2010-11-19 23:15:34 +00:00
|
|
|
input.ui-input-text { -webkit-appearance: none; }
|
2010-10-13 16:45:10 +00:00
|
|
|
textarea.ui-input-text { height: 50px; -webkit-transition: height 200ms linear; -moz-transition: height 200ms linear; -o-transition: height 200ms linear; transition: height 200ms linear; }
|
2011-09-28 18:09:55 +00:00
|
|
|
.ui-input-search { padding: 0 30px; width: 77%; background-image: none; position: relative; }
|
|
|
|
|
.ui-icon-searchfield:after { position: absolute; left: 7px; top: 50%; margin-top: -9px; content: ""; width: 18px; height: 18px; opacity: .5; }
|
2010-10-13 16:45:10 +00:00
|
|
|
.ui-input-search input.ui-input-text { border: none; width: 98%; padding: .4em 0; margin: 0; display: block; background: transparent none; outline: 0 !important; }
|
2011-10-05 20:50:36 +00:00
|
|
|
.ui-input-search .ui-input-clear { position: absolute; right: 0; top: 50%; margin-top: -13px; }
|
2010-10-13 16:45:10 +00:00
|
|
|
.ui-input-search .ui-input-clear-hidden { display: none; }
|
|
|
|
|
|
|
|
|
|
/* orientation adjustments - incomplete!*/
|
2011-05-11 16:00:44 +00:00
|
|
|
@media all and (min-width: 450px){
|
2011-05-11 16:32:57 +00:00
|
|
|
label.ui-input-text { vertical-align: top; display: inline-block; width: 20%; margin: 0 2% 0 0 }
|
2011-05-11 16:00:44 +00:00
|
|
|
input.ui-input-text,
|
|
|
|
|
textarea.ui-input-text,
|
|
|
|
|
.ui-input-search { width: 60%; display: inline-block; }
|
|
|
|
|
.ui-input-search { width: 50%; }
|
|
|
|
|
.ui-input-search input.ui-input-text { width: 98%; /*echos rule from above*/ }
|
|
|
|
|
}
|