new searchsubmitbutton design
This commit is contained in:
parent
ed6fc9e542
commit
5a16f4f4f5
1 changed files with 23 additions and 8 deletions
|
@ -23,8 +23,6 @@
|
||||||
input {
|
input {
|
||||||
min-height: @icon-size;
|
min-height: @icon-size;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
border-color: @color-link;
|
|
||||||
border-radius: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
button[type="submit"] {
|
button[type="submit"] {
|
||||||
|
@ -32,22 +30,28 @@
|
||||||
.hide-text-show-before();
|
.hide-text-show-before();
|
||||||
.icon-search();
|
.icon-search();
|
||||||
|
|
||||||
|
position: relative;
|
||||||
width: @icon-size;
|
width: @icon-size;
|
||||||
min-height: @icon-size;
|
min-height: @icon-size;
|
||||||
|
overflow: visible;
|
||||||
background-image: none;
|
background-image: none;
|
||||||
background-color: @color-link;
|
background-color: transparent;
|
||||||
border: solid 1px @color-link;
|
border: solid 1px transparent;
|
||||||
border-radius: 0;
|
border-right-color: @color-border;
|
||||||
color: #fff;
|
color: @color-nav;
|
||||||
margin-left: -(@icon-size);
|
margin-left: -(@icon-size);
|
||||||
padding: 0;
|
padding: 0;
|
||||||
transition: @transition color, @transition background-color;
|
transition: @transition color, @transition border-color;
|
||||||
|
|
||||||
&:hover,
|
&:hover,
|
||||||
&:focus,
|
&:focus,
|
||||||
&:active {
|
&:active {
|
||||||
background-color: #fff;
|
border: solid 1px @color-link;
|
||||||
color: @color-link;
|
color: @color-link;
|
||||||
|
|
||||||
|
&::after {
|
||||||
|
background-color: @color-link;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&::before {
|
&::before {
|
||||||
|
@ -57,6 +61,17 @@
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&::after {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
top: 15%;
|
||||||
|
bottom: 15%;
|
||||||
|
width: 1px;
|
||||||
|
left: -1px;
|
||||||
|
background-color: @color-border;
|
||||||
|
transition: @transition background-color;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue