<style>input[type="file"]{
display:none;
margin:10px;
}
input[type="file"]+label{
display:inline-block;
margin:-2px;
padding:5px 12px;
background-color:#cd5c5c;
color:#fff;
box-shadow:inset 0 12px 0 #b22222;
transition:.5s;
border-radius:4px;
}
input[type="file"]:checked+label{
background-color:#9acd32;
box-shadow:inset 0 12px 0 #8acd32;
transition:.5s;
text-shadow:0 1px 0 #555;
}
#sen{
background:#fff;
border:1px solid #ccc;
width:200px;
padding:4px 2px;
display: inline-block;
border-radius:4px;
margin:0px -8px 0px 0px;
}
</style>
<label id="sen">فایل مورد نظر..</label>
<input type="file" id="pub">
<label for="pub">انتخاب فایل</label>