mirror of
https://github.com/RustyRaptor/rustyraptor.github.io.git
synced 2026-12-03 23:55:19 -07:00
121 lines
2.3 KiB
CSS
Executable File
121 lines
2.3 KiB
CSS
Executable File
/* Search icon by IcoMoon, made with http://icomoon.io/app/ */
|
|
@font-face {
|
|
font-family: 'icomoon';
|
|
src:url('../fonts/icomoon/icomoon.eot');
|
|
src:url('../fonts/icomoon/icomoon.eot?#iefix') format('embedded-opentype'),
|
|
url('../fonts/icomoon/icomoon.woff') format('woff'),
|
|
url('../fonts/icomoon/icomoon.ttf') format('truetype'),
|
|
url('../fonts/icomoon/icomoon.svg#icomoon') format('svg');
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
}
|
|
|
|
.sb-search {
|
|
position: relative;
|
|
margin-top: 10px;
|
|
width: 0%;
|
|
min-width: 60px;
|
|
height: 60px;
|
|
float: right;
|
|
overflow: hidden;
|
|
-webkit-transition: width 0.3s;
|
|
-moz-transition: width 0.3s;
|
|
transition: width 0.3s;
|
|
-webkit-backface-visibility: hidden;
|
|
}
|
|
|
|
.sb-search-input {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
border: none;
|
|
outline: none;
|
|
background: transparent;
|
|
width: 100%;
|
|
height: 60px;
|
|
margin: 0;
|
|
z-index: 10;
|
|
padding: 20px 65px 20px 20px;
|
|
font-family: inherit;
|
|
font-size: 20px;
|
|
color: #bf1e2e;
|
|
/* text-shadow: 1px 1px 1px black;*/
|
|
}
|
|
|
|
.sb-search-input::-webkit-input-placeholder {
|
|
color: #fdb514;
|
|
}
|
|
|
|
.sb-search-input:-moz-placeholder {
|
|
color: #fdb514;
|
|
}
|
|
|
|
.sb-search-input::-moz-placeholder {
|
|
color: #fdb514;
|
|
}
|
|
|
|
.sb-search-input:-ms-input-placeholder {
|
|
color: #fdb514;
|
|
}
|
|
|
|
.sb-icon-search,
|
|
.sb-search-submit {
|
|
width: 60px;
|
|
height: 60px;
|
|
display: inline;
|
|
position: absolute;
|
|
right: 0;
|
|
top: 10%;
|
|
padding: 0;
|
|
margin: 0;
|
|
line-height: 255%;
|
|
text-align: center;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.sb-search-submit {
|
|
background: transparent; /* IE needs this */
|
|
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; /* IE 8 */
|
|
filter: alpha(opacity=0); /* IE 5-7 */
|
|
opacity: 0;
|
|
color: transparent;
|
|
border: none;
|
|
outline: none;
|
|
z-index: -1;
|
|
}
|
|
|
|
.sb-icon-search {
|
|
color: #fdb514;
|
|
background: transparent;
|
|
z-index: 90;
|
|
font-size: 140%;
|
|
speak: none;
|
|
font-style: normal;
|
|
font-weight: normal;
|
|
font-variant: normal;
|
|
text-transform: none;
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
|
|
.sb-icon-search:before {
|
|
content: "\e000";
|
|
}
|
|
|
|
/* Open state */
|
|
.sb-search.sb-search-open,
|
|
.no-js .sb-search {
|
|
width: 100%;
|
|
}
|
|
|
|
.sb-search.sb-search-open .sb-icon-search,
|
|
.no-js .sb-search .sb-icon-search {
|
|
background: transparent;
|
|
color: #fdb514;
|
|
z-index: 11;
|
|
}
|
|
|
|
.sb-search.sb-search-open .sb-search-submit,
|
|
.no-js .sb-search .sb-search-submit {
|
|
z-index: 90;
|
|
}
|