認証にしてdisabledがついた場合のcssも指定
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | input[type= 'submit' ]{ border : 1px solid #777 ; padding : 4px 10px ; color : #fff ; cursor : pointer ; background : #428ec9 ; border-radius : 5px ; /* Webkit */ background : -webkit-gradient( linear , left top , left bottom , from( #99c9e5 ), to( #428ec9 ) ); -webkit- border-radius : 5px ; -webkit- box-shadow : 1px 1px 1px #fff ; /* Firefox */ background : -moz- linear-gradient ( top , #99c9e5 , #428ec9 ); -moz- border-radius : 5px ; -moz- box-shadow : 1px 1px 1px #fff ; /* IE */ filter :progid:DXImageTransform.Microsoft.gradient (startColorstr= #ff99c9 e 5 ,endColorstr= #ff428e c 9 ); zoom: 1 ; font-size : 16px ; } /* 認証式にした場合 */ input[type= 'submit' ][disabled]{ opacity : 0.7 ; filter : alpha(opacity= 70 ); /* ie lt 8 */ -ms- filter : "alpha(opacity=70)" ; /* ie 8 */ -moz- opacity : 0.7 ; /* FF lt 1.5, Netscape */ -khtml- opacity : 0.7 ; cursor : default ; } |