Monday, 6 April 2015

ZK Search Text Box

ZK Version : 7.0.3

image

 

<?page title="Search" contentType="text/html;charset=UTF-8"?>
<zk>
<style src="css/search1.css" />
<window title="Search" border="normal">
<box orient="horizontal" sclass="searchform">
<textbox sclass="searchfield" />
<button label="Ok" sclass="myroundbtn" />
</box>
</window>
</zk>


CSS File

.searchform {
display: inline-block;
zoom: 1; /* ie7 hack for display:inline-block */
*display: inline;
border: solid 1px #d2d2d2;
padding: 3px 5px;
-webkit-border-radius: 2em;
-moz-border-radius: 2em;
border-radius: 2em;
-webkit-box-shadow: 0 1px 0px rgba(0, 0, 0, .1);
-moz-box-shadow: 0 1px 0px rgba(0, 0, 0, .1);
box-shadow: 0 1px 0px rgba(0, 0, 0, .1);
background: #f1f1f1;
background: -webkit-gradient(linear, left top, left bottom, from(#fff),
to(#ededed));
background: -moz-linear-gradient(top, #fff, #ededed);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff',
endColorstr='#ededed'); /* ie7 */
-ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff',
endColorstr='#ededed'); /* ie8 */
}

.searchform .searchfield {
background: #fff;
padding: 6px 6px 6px 8px;
width: 202px;
border: solid 1px #bcbbbb;
outline: none;
-webkit-border-radius: 2em;
-moz-border-radius: 2em;
border-radius: 2em;
-moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .2);
-webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .2);
box-shadow: inset 0 1px 2px rgba(0, 0, 0, .2);
}

.myroundbtn.z-button{
padding: 5px 10px;
background: #2664cf;
font-family: Arial, sans-serif;
color: #ffffff;
text-align: center;
display: block;
cursor: pointer border: 1px solid #4cadfc;
border-radius: 14px;
-webkit-border-radius: 4px;
-moz-border-radius: 4px background: -webkit-gradient(linear, left top, left bottom, from(#0a8ffe),
to(#2b5cc6));
background: -moz-linear-gradient(top, #0a8ffe, #2b5cc6);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0a8ffe',
endColorstr='#2b5cc6')
}






image

<?page title="Search" contentType="text/html;charset=UTF-8"?>
<zk>
<style src="css/search2.css" />
<window title="Search" border="normal">
<box orient="horizontal" sclass="searchform">
<textbox sclass="searchfield"
placeholder="Please type some text" />
<button label="Search" sclass="mybtn" />
</box>
</window>
</zk>


CSS File

.searchform {
background: #eaf8fc;
background-image: -moz-linear-gradient(#fff, #d4e8ec);
background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #d4e8ec),
color-stop(1, #fff));
-moz-border-radius: 35px;
border-radius: 35px;
border-width: 1px;
border-style: solid;
border-color: #c4d9df #a4c3ca #83afb7;
width: 500px;
height: 35px;
padding: 10px;
margin: 100px auto 50px;
overflow: hidden; /* Clear floats */
}

.searchform .searchfield {
padding: 5px 9px;
height: 23px;
width: 380px;
border: 1px solid #a4c3ca;
font: normal 13px 'trebuchet MS', arial, helvetica;
background: #f1f1f1;
-moz-border-radius: 50px 3px 3px 50px;
border-radius: 50px 3px 3px 50px;
-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25) inset, 0 1px 0
rgba(255, 255, 255, 1);
-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25) inset, 0 1px 0
rgba(255, 255, 255, 1);
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25) inset, 0 1px 0
rgba(255, 255, 255, 1);
}

.mybtn.z-button {
background-image: none;
background: #6cbb6b;
background-image: -moz-linear-gradient(#95d788, #6cbb6b);
background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #6cbb6b),
color-stop(1, #95d788));
-moz-border-radius: 3px 50px 50px 3px;
border-radius: 3px 50px 50px 3px;
border-width: 1px;
border-style: solid;
border-color: #7eba7c #578e57 #447d43;
-moz-box-shadow: 0 0 1px rgba(0, 0, 0, 0.3), 0 1px 0
rgba(255, 255, 255, 0.3) inset;
-webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.3), 0 1px 0
rgba(255, 255, 255, 0.3) inset;
box-shadow: 0 0 1px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 255, 255, 0.3)
inset;
height: 26px;
margin: 0 0 0 10px;
padding: 0;
width: 90px;
cursor: pointer;
font: bold 14px Arial, Helvetica;
color: #23441e;
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
float: left;
padding-top: 1px;
}

.mybtn.z-button:hover {
background: #95d788;
background-image: -moz-linear-gradient(#6cbb6b, #95d788);
background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #95d788),
color-stop(1, #6cbb6b));
}

16 comments:

  1. But it is not supporting in IE7, please help me in IE7

    ReplyDelete
  2. its good but some errorsThe Best Health and Fitness Website list
    झड़ते हुए बालो को दे नई जान
    http://www.besthairbuildingfiber.info/
    लम्बाई बढ़ने का आसान तरीका
    http://www.stepupheightgrowth.org/
    अपना वज़न सिर्फ ७ दिनों में घटाए
    http://www.slim24propriceindia.in/
    घुटनो और बैक पैन से तुरंत आराम पाये
    http://www.sandhisudhaoilindia.info/

    ReplyDelete
  3. I’m always looking for new blog ideas. I know I need to try a giveaway, for sure. Will bookmark to have as a reference.

    Slim 24 Pro | Fair look | Zero Addiction | Hot Shapers | Hair biulding fibers
    Step Up Height Increaser | Sandhi Sudha Plus

    ReplyDelete
  4. I wish more authors of this type of content would take the time you did to research and write so well. I am very impressed with your vision and insight.
    CCTV Surveillance Camera in Delhi
    CCTV Security Camera in Delhi

    ReplyDelete
  5. Really appreciate this wonderful post that you have provided for us.Great site and a great topic as well i really get amazed to read this. Its really good.
    Step Up Height Increaser

    ReplyDelete
  6. Thanks a lot for sharing this amazing knowledge with us. This site is fantastic. I always find great knowledge from it.
    Zero Addiction Powder

    ReplyDelete


  7. step up height increaser It’s an
    amazing ayurvedic product that not just increase your height up to 5 inch but also boost your strength,
    bone mass density. Step up body growth formula is a healthy product that also boost your immune and digestive
    system and provide you with healthy complete body growth.



    step up height increaser It’s an
    amazing ayurvedic product that not just increase your height up to 5 inch but also boost your strength,
    bone mass density. Step up body growth formula is a healthy product that also boost your immune and digestive
    system and provide you with healthy complete body growth.

    ReplyDelete


  8. step up height increaser It’s an
    amazing ayurvedic product that not just increase your height up to 5 inch but also boost your strength,
    bone mass density. Step up body growth formula is a healthy product that also boost your immune and digestive
    system and provide you with healthy complete body growth.



    step up height increaser It’s an
    amazing ayurvedic product that not just increase your height up to 5 inch but also boost your strength,
    bone mass density. Step up body growth formula is a healthy product that also boost your immune and digestive
    system and provide you with healthy complete body growth.

    ReplyDelete
  9. Thanks for your great tips, i think branding is most important thing . So, before choosing a good domain name you should to choose a gold domain that’s goes brand later. Obviously SEO is a factor to get your online business in top.



    Hair Building Fiber
    Sandhi Sudha
    Step Up Height Increaser
    No addiction

    ReplyDelete

  10. step up height increaser It’s an
    amazing ayurvedic product that not just increase your height up to 5 inch but also boost your strength,
    bone mass density. Step up body growth formula is a healthy product that also boost your immune and digestive
    system and provide you with healthy complete body growth.

    step up height increaser

    ReplyDelete
  11. Thanks a lot for sharing this amazing knowledge with us. This site is fantastic. I always find great knowledge from it. Ema Dulakova top fashion blogger

    ReplyDelete
  12. Microsoft office has a different version, and the entire version has the different setup file. Some of the version is Office 2013, Office 2016 and Office 365 etc. Go to www.office.com/setup and redeem your key. Office Com Setup is one of the most popular productivity programs around. If you have your product key handy, you don't even need a disc to start installing Office just visit office setup help. Norton is one of the most reliable antivirus providers in the market to download visit www.norton.com/setup . There are multiple manufacturers making printers for home and office use with varied range as printer series per the need and affordability of different customers. Printer Tech Support. It has become one of the most useful computer hardware devices that allow people to convert computer generated typescript into a physical printed document.

    ReplyDelete