Ну там немного длинный код, кстати хотел спросить, на этом форуме есть возможность добавления спойлера ?
/*Кнопки каталог*/
.btn-0 {
width: 1170px;
padding-top: 20px;
margin-bottom: 22px;
height: 40px;
}
.btn-0 div a button {
font-family: 'Lato', Calibri, Arial, sans-serif;
}
.btn-1 {
border: none;
font-family: inherit;
font-size: inherit;
color: inherit;
cursor: pointer;
padding: 10px 40px;
display: inline-block;
margin: -9px 10px;
text-transform: uppercase;
letter-spacing: 1px;
font-weight: 700;
outline: none;
position: relative;
-webkit-transition: all 0.2s;
-moz-transition: all 0.2s;
transition: all 0.2s;
}
.btn-1:after {
content: '';
position: absolute;
z-index: -1;
-webkit-transition: all 0.3s;
-moz-transition: all 0.3s;
transition: all 0.3s;
}
.btn-4 {
border-radius: 5px;
border: 3px solid #fff;
overflow: hidden;
}
.btn-4:active {
border-color: #17954c;
color: #17954c;
}
.btn-4:hover {
background: #24b662;
color: white !important;
}
.btn-4:before {
position: absolute;
height: 100%;
font-size: 125%;
line-height: 2.2;
color: #fff;
-webkit-transition: all 0.2s;
-moz-transition: all 0.2s;
transition: all 0.2s;
}
.btn-4:active:before {
color: #17954c;
}
/*------------- Кнопка Вперед ----------*/
.btn-4c:before {
left: 60%;
opacity: 0;
top: 0;
}
.btn-4c:hover:before {
left: 80%;
opacity: 1;
}
/*------------- Кнопка Назад ----------*/
.btn-4d:before {
left: 30%;
opacity: 0;
top: 0;
}
.btn-4d:hover:before {
left: 0%;
opacity: 1;
}
/*-----------------------------------*/
.icon-arrow-left:before {
/*content: "\f060";*/
content: url(/themes/default-bootstrap/img/arrow_left.png) no-repeat;
padding: 2px 10px;
}
.icon-arrow-right:before {
/*content: "\f061";*/
content: url(/themes/default-bootstrap/img/arrow_right.png) no-repeat;
padding: 2px 16px;
}
Разметка выглядит так:
<div class="btn-0">
<div style="float: left; padding: 0; width: 400px;">
<a title="Мужские кольца Каталог Гелис" href="/.../..."><button class="btn-1 btn-4 btn-4d icon-arrow-left">Мужские кольца</button></a>
</div>
<div style="float: left; width: 365px;">
<h1 style="font-size: 23px; margin-top: 0px;">Женские кольца «Каталог Гелис»</h1>
</div>
<div style="float: left; width: 400px;">
<a style="float: right;" title="Браслеты и колье Каталог Гелис" href="/.../..."><button class="btn-1 btn-4 btn-4c icon-arrow-right" style="float: right;">Браслеты и колье</button></a>
</div>
</div>