شكـــــل الزر
============
شرح التركيب
============
قم بالتوجه الى لوحة تحكم مدونتك ثم > تخطيط > اضافة اداة > html/javascript
قم بنسخ الكود التالي
وضعه داخل الأداة وقم بالحفظ
<style type="text/css"> .form-wrapper { width: 269px; padding:5px; margin: 10px auto; overflow: hidden; border-width: 1px;a; -moz-box-shadow: 0 3px 3px rgba(255,255,255,.1), 0 3px 0 #bbbborder-style: solid; border-color: #dedede #bababa #aaa #baba b, 0 4px 0 #aaa, 0 5px 5px #444; -webkit-box-shadow: 0 3px 3pxbox-shadow: 0 3px 3px rgba(255,255,255,.1), 0 3px 0 #bbb, 0 4pxrgba(255,255,255,.1), 0 3px 0 #bbb, 0 4px 0 #aaa, 0 5px 5px #444 ;0 #aaa, 0 5px 5px #444; -moz-border-radius: 10px; -webkit-border-radius: 10px;t(linear, left top, left bottom, from(#f6f6f6), to(#498bf5)); bacborder-radius: 10px; background-color: #f6f6f6; background-image: -webkit-gradie nkground-image: -webkit-linear-gradient(top, #f6f6f6, #eae8e8); background-image: -moz-linear-gradient(top, #f6f6f6, #eae8e8);ckground-image: linear-gradient(top, #f6f6f6, #eae8e8); } .forbackground-image: -ms-linear-gradient(top, #f6f6f6, #eae8e8); background-image: -o-linear-gradient(top, #f6f6f6, #eae8e8); b am-wrapper #search { width: 180px; height: 20px; padding: 10px 5px; float: left; font: bold 16px 'lucida sans', 'trebuchet MS', 'Tahoma';hadow: 0 1px 1px #ddd inset, 0 1px 0 #fff; -moz-border-radius: 3px; -wborder: 1px solid #ccc; -moz-box-shadow: 0 1px 1px #ddd inset, 0 1px 0 #fff; -webkit-box-shadow: 0 1px 1px #ddd inset, 0 1px 0 #fff; box- sebkit-border-radius: 3px; border-radius: 3px; } .form-wrapper #search:focus { outline: 0; border-color: #aaa; -moz-box-shadow: 0 1px 1px #bbb inset; -webkit-box-shadow: 0 1px 1px #bbb inset; box-shadow: 0h:-ms-input-placeholder { color: #999; font-weight: normal; } .thumb{po1px 1px #bbb inset; } .form-wrapper #search::-webkit-input-placeholder { color: #999; font-weight: normal; } .form-wrapper #search:-moz-placeholder { color: #999; font-weight: normal; } .form-wrapper #sear csition:relative;left:4px;top:1px; border:8px solid transparent;-webkit-box-shadow:0 0 8px rgba(0, 0, 0, 0.3);-moz-box-shadow:0 0 8px rgba(0, 0, 0, 0.3);box-shadow:0 0 8px rgba(0, 0, 0,: 70px; padding: 0; cursor: pointer; font: bold 15px Arial, Helvetica; color: #fafafa; text-transform:0.3);-webkit-background-clip:padding-box;-moz-background-clip:padding-box;background-clip:padding-box;} .form-wrapper #submit { float: right; border: 1px solid #2d6ebd; height: 42px; widt h uppercase; background-color: #2d6ebd; background-image: -webkit-gradient(linear, left top, left bottom, from(#2d6ebd), to(#2d6ebd)); background-image: -webkit-linear-gradient(top, #2d6ebd, #2d6ebd); background-image: -moz-linear-gradient(top, #2d6ebd, #2d6ebd); background-image:x-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset, 0 1px 0 #ff-ms-linear-gradient(top, #2d6ebd, #2d6ebd); background-image: -o-linear-gradient(top, #2d6ebd, #2d6ebd); background-image: linear-gradient(top, #2d6ebd, #2d6ebd); -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; text-shadow: 0 1px 0 rgba(0, 0 ,0, .3); -moz-b of; -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset, 0 1px 0 #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset, 0 1px 0 #fff; } .form-wrapper #submit:hover, .form-wrapper #submit:focus { background-color: #2d6ebd; background-image: -webkit-gradient(linear, left top, left bottom, from(#2d6ebd),#2d6ebd); } .form-wrapper #submit:active { outline: 0; -moz-box-shadoto(#2d6ebd)); background-image: -webkit-linear-gradient(top, #2d6ebd, #2d6ebd); background-image: -moz-linear-gradient(top, #2d6ebd, #2d6ebd); background-image: -ms-linear-gradient(top, #2d6ebd, #2d6ebd); background-image: -o-linear-gradient(top, #2d6ebd, #2d6ebd); background-image: linear-gradient(top, #0483a0, w: 0 1px 4px rgba(0, 0, 0, 0.5) inset; -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5) inset; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5) inset; } .form-wrapper #submit::-moz-focus-inner { border: 0; } </style> <form class="form-wrapper" action="/search" method="get"> <input id="search" name="q" type="text" placeholder="بحث ..."><input id="submit" type="submit" value="ابحث"> </form></div>
0 التعليقات:
إرسال تعليق