base_ui/assets/common/scss/components/_search-items.scss
2025-02-01 13:04:55 +03:30

141 lines
2.4 KiB
SCSS

.search-items {
// text-align: justify;
// padding-left: 1rem;
&__item {
&:not(:last-child) {
margin-bottom: 30px;
}
}
&__header {
display: flex;
align-items: flex-start;
margin-bottom: 5px;
.text__gray {
color: #a7a098;
}
}
&__label {
white-space: nowrap;
padding: 0 5px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 6px;
background: #fff;
border: 1px solid #e4dfd8;
height: 20px;
margin-left: 8px;
color: rgba($color: #000, $alpha: 0.4);
&:hover {
color: black;
border-color: black;
}
}
&__description {
line-height: 1.625;
// color: rgb(88, 89, 91);
color: #000;
text-align: justify;
margin-bottom: 0.2em;
}
&__meta {
display: flex;
align-items: flex-start;
margin-bottom: 6px;
margin-top: 3px;
color: #060606;
}
&__title {
&:hover {
// color: #0d65e8 !important;
color: rgb(59 130 246) !important;
text-decoration: underline !important;
}
}
&__content {
}
&__detail {
display: inline-block;
line-height: 25px;
color: #4e4e4e;
color: #000;
}
&__item--bookmark {
padding-left: 55px;
position: relative;
}
&__bookmark {
position: absolute;
left: 0;
top: 24px;
&.active {
img {
&.active {
opacity: 1;
}
&.deactive {
opacity: 0;
}
}
}
&:hover {
img {
&.active {
opacity: 1;
}
&.deactive {
opacity: 0;
}
}
}
img {
transition: all 0.2s linear;
&.active {
position: absolute;
opacity: 0;
}
&.deactive {
}
}
}
&__pagination {
margin-top: 50px;
ul {
display: flex;
align-items: center;
flex-wrap: wrap;
list-style: none;
}
li {
font-size: 18px;
color: #3f43bc;
margin-right: 9px;
margin-left: 9px;
&.prev {
margin-left: 40px;
font-size: 16px;
}
&.next {
margin-right: 40px;
font-size: 16px;
}
&.active {
color: #a7a098;
}
}
a {
&:hover {
color: #a7a098;
}
}
}
&__code {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
align-items: flex-start;
margin-bottom: 5px;
}
}