Archived
1
0
This repository has been archived on 2020-12-10. You can view files and clone it, but cannot push or open issues or pull requests.
old/assets/css/posts_list.css
2018-10-16 18:28:42 +02:00

158 lines
3.1 KiB
CSS

.search-form-container {
position: relative;
height: 90px;
}
.search-form {
position: absolute;
top: 50%;
left: 50%;
width: 350px;
height: 40px;
border-radius: 40px;
box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
background: #fff;
transition: all 0.3s ease;
}
.search-form.focus {
box-shadow: 0 3px 4px rgba(0, 0, 0, 0.15);
}
.search-input {
position: absolute;
top: 10px;
left: 38px;
font-size: 14px;
background: none;
color: #5a6674;
width: 195px;
height: 20px;
border: none;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
outline: none;
}
.search-input::-webkit-search-cancel-button {
-webkit-appearance: none;
appearance: none;
}
.search-button {
position: absolute;
top: 5px;
left: 15px;
height: 20px;
width: 20px;
padding: 0;
margin: 0;
border: none;
background: none;
outline: none !important;
cursor: pointer;
}
.search-button svg {
width: 20px;
height: 20px;
fill: #5a6674;
}
.search-option {
position: absolute;
text-align: right;
top: 10px;
right: 15px;
}
.search-option div {
position: relative;
display: inline-block;
margin: 0 1px;
cursor: pointer;
}
.search-option div input {
position: absolute;
top: 0;
left: 0;
opacity: 0.01;
cursor: pointer;
}
.search-option div span {
position: absolute;
display: block;
text-align: center;
left: 50%;
-webkit-transform: translateX(-50%);
transform: translateX(-50%);
opacity: 0;
background: #929AA3;
color: #fff;
font-size: 9px;
letter-spacing: 1px;
line-height: 1;
text-transform: uppercase;
padding: 4px 7px;
border-radius: 12px;
top: -18px;
transition: all .2s ease-in-out;
}
.search-option div span::after {
content: '';
position: absolute;
bottom: -3px;
left: 50%;
-webkit-transform: translateX(-50%);
transform: translateX(-50%);
border-top: 4px solid #929AA3;
border-left: 4px solid transparent;
border-right: 4px solid transparent;
transition: all .2s ease-in-out;
}
.search-option div:hover span {
opacity: 1;
top: -21px;
}
.search-option div label {
display: block;
cursor: pointer;
}
.search-option div svg {
height: 20px;
width: 20px;
fill: #5a6674;
opacity: 0.6;
transition: all .2s ease-in-out;
pointer-events: none;
}
.search-option div:hover svg {
opacity: 1;
}
.search-option div input:checked + label svg {
fill: #2272ff;
opacity: .9;
}
.search-option div input:checked + label span {
background: #2272ff;
}
.search-option div input:checked + label span::after {
border-top-color: #2272ff;
}
.card-profile-picture {
display: block;
width: 100px;
margin: 0 auto -25%;
transform: translateY(-50%);
border: 3px solid white;
box-shadow: 0 1px 2px rgba(0,0,0,.5);
}
.user-search {
display: none;
}
.comment-list .post-item .content-container {
overflow: initial !important;
}