4
4
* Dual licensed under the MIT (MIT-LICENSE.txt) or GPL (GPL-LICENSE.txt) licenses.
5
5
*/
6
6
label .ui-input-text { font-size : 16px ; line-height : 1.4 ; display : block; font-weight : normal; margin : 0 0 .3em ; }
7
- input .ui-input-text , textarea .ui-input-text { background-image : none; padding : .4em ; line-height : 1.4 ; font-size : 16px ; display : block; width : 95 % ; }
7
+ input .ui-input-text , textarea .ui-input-text { background-image : none; padding : .4em 1.5 % ; line-height : 1.4 ; font-size : 16px ; display : block; width : 97 % ; }
8
8
input .ui-input-text { -webkit-appearance : none; }
9
9
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; }
10
- .ui-input-search { padding : 0 30px ; width : 77 % ; background-image : none; position : relative; }
10
+ .ui-input-search { padding : 0 30px ; background-image : none; position : relative; }
11
11
.ui-icon-searchfield : after { position : absolute; left : 7px ; top : 50% ; margin-top : -9px ; content : "" ; width : 18px ; height : 18px ; opacity : .5 ; }
12
12
.ui-input-search input .ui-input-text { border : none; width : 98% ; padding : .4em 0 ; margin : 0 ; display : block; background : transparent none; outline : 0 !important ; }
13
13
.ui-input-search .ui-input-clear { position : absolute; right : 0 ; top : 50% ; margin-top : -13px ; }
14
14
.ui-input-search .ui-input-clear-hidden { display : none; }
15
15
16
16
/* orientation adjustments - incomplete!*/
17
17
@media all and (min-width : 450px ){
18
- label .ui-input-text { vertical-align : top; display : inline-block; width : 20% ; margin : 0 2% 0 0 }
19
- input .ui-input-text ,
20
- textarea .ui-input-text ,
21
- .ui-input-search { width : 60% ; display : inline-block; }
22
- .ui-input-search { width : 50% ; }
18
+ . ui-field-contain label .ui-input-text { vertical-align : top; display : inline-block; width : 20% ; margin : 0 2% 0 0 }
19
+ . ui-field-contain input .ui-input-text ,
20
+ . ui-field-contain textarea .ui-input-text ,
21
+ .ui-field-contain . ui- input-search { width : 60% ; display : inline-block; }
22
+ .ui-field-contain . ui- input-search { width : 50% ; }
23
23
.ui-input-search input .ui-input-text { width : 98% ; /*echos rule from above*/ }
24
24
}
0 commit comments