base styles

by cristianromagnoli

HTML

<script src="http://www.bulgaria-web-developers.com/projects/javascript/selectbox/js/jquery.selectbox-0.2.js"></script>
<input type="submit" value="Enviar" />
<input type="button" value="Filtrar" />
<input type="reset" value="Borrar" />

<label for="input-txt" class="required">This is a label</label>
<input type="text" id="input-txt" value="This is a value" />

<label for="select" class="required">This is a label</label>
<select id="select" class="custom-select">
    <option>Default</option>
    <option>First</option>
    <option>Second</option>
    <option>Third</option>
</select>

<label for="input-txt" class="required">This is a label</label>
<input type="password" id="input-txt" value="This is a value" />

<div id="search-widget" class="clearfix">
    <input id="search-box" type="text" value="Buscar" />
    <select id="lang-select" class="custom-select">
        <option>Portuguese</option>
        <option>English</option>
        <option>Español</option>
    </select>
</div>

<p>Lorem ipsum dolor sit amet, <a href="#">click here</a></p>

<a href="#" class="highlighted-link">acesse o site ></a>

CSS

/*Remove later*/
.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
    font-size:0;
}
/*END Remove later*/

body{
    font-family: Tahoma, Arial, sans-serif;
    font-size: 12px;
    color: #333;
}

a{
    color: #808080;
    text-decoration: none;
}

a:hover{
    color: #A5A5A5;  
    text-decoration: underline;
}

a:active{
    background: transparent;
}

a.highlighted-link{
    color: #bd0000;
    font-style: italic;
    font-weight: bold;
    text-decoration: none;
}

a.highlighted-link:hover{
    color: #E90000;    
}


/*Forms UI styles*/

input[type="submit"], input[type="button"], input[type="reset"]{
    padding: 8px 24px;
    font-family: Tahoma, Arial, sans-serif;
    font-size: 11px;
    cursor: pointer;

    -webkit-border-radius: 3px;
	-khtml-border-radius: 3px;	
	-moz-border-radius: 3px;
	border-radius: 3px;
}

input[type="submit"], input[type="button"]{
    background-color:#bd0000;
    border: 1px solid #aaa;
    color: #fff;
}

input[type="submit"]:hover, input[type="button"]:hover{
    background-color: #DD0000;
}

input[type="reset"]{
    background-color:#ddd;
    border: 1px solid #ccc;
    color: #454545;
}

input[type="reset"]:hover{
    background-color:#EBEBEB;
}

input[type="text"], input[type="password"]{
    display: block;
    border: 1px solid #d4d5dd;
    color: #666;
    height: 25px;
    width: 395px;
    margin: 5px 0 30px 0;
    padding: 0 5px;
    
    -webkit-border-radius: 3px;
	-khtml-border-radius: 3px;	
	-moz-border-radius: 3px;
	border-radius: 3px;
}

label{
    display: block;
    margin-top: 5px;
}

label.required:after{
    content: ' *';
    color: #bd0000;
    font-weight: bold;
    font-size: 11px;
}


/*Select custom styles*/

.sbHolder{
	border: solid 1px #d4d5dd;
	font-family: Tahoma, Arial, sans-serif;
	font-size: 12px;
	font-weight: normal;
	height: 25px;
	position: relative;
	width: 230px;
    margin: 5px 0 30px 0;    
    
    background: #ffffff;...

JavaScript

$('.custom-select').selectbox();
//$('.custom-select').selectbox('disable');