ETHReport/components/searchResults/style.scss

79 lines
1.4 KiB
SCSS
Raw Normal View History

2018-07-06 11:47:25 +00:00
@import './assets/styles/global.scss';
.search-results {
2018-07-09 14:29:57 +00:00
li {
margin-bottom: calculateRem(32);
2018-07-17 14:23:38 +00:00
button {
text-align: left;
width: 100%;
padding: 0;
2018-07-17 13:06:53 +00:00
2018-07-17 14:23:38 +00:00
&:hover h3 {
text-decoration: underline;
&.matched-name::before {
display: none;
}
2018-07-17 13:06:53 +00:00
}
2018-07-09 14:29:57 +00:00
2018-07-17 14:23:38 +00:00
h3 {
2018-07-17 14:29:59 +00:00
color: #fff;
2018-07-17 14:23:38 +00:00
font-size: calculateRem(24);
display: inline-block;
2018-07-17 14:29:59 +00:00
margin-bottom: calculateRem(12);
2018-07-17 14:23:38 +00:00
&.matched-name {
@include hasRedUnderline;
position: relative;
}
}
h5 {
2018-07-17 14:29:59 +00:00
color: #fff;
2018-07-17 14:23:38 +00:00
font-size: calculateRem(16);
2018-07-17 14:29:59 +00:00
margin-bottom: calculateRem(8);
2018-07-17 14:23:38 +00:00
}
p {
color: hsla(0, 0, 100, .6);
font-size: calculateRem(14);
line-height: 1.6;
display: inline;
span {
position: relative;
&::before {
content: '';
position: absolute;
top: -10%;
left: -2%;
height: 120%;
width: 104%;
background-color: $red;
color: $navy;
z-index: -1;
}
}
}
2018-07-09 14:29:57 +00:00
}
2018-07-17 14:23:38 +00:00
}
.li-header {
display: flex;
justify-content: space-between;
2018-07-09 14:29:57 +00:00
2018-07-17 14:23:38 +00:00
> div {
color: #fff;
display: flex;
align-items: center;
2018-07-09 14:29:57 +00:00
span {
2018-07-17 14:23:38 +00:00
margin: 0 calculateRem(12);
2018-07-09 14:29:57 +00:00
}
}
}
2018-07-06 11:47:25 +00:00
}