Newer
Older
// also used within the React app in /components/ReviewBlock
Chris Lawton
committed
.reviews-sidebar {
$root: &;
margin-bottom: 20px;
font-weight: $weight--bold;
&__decision {
position: relative;
font-size: 14px;
border-top: 1px solid $color--mid-grey;
border-bottom: 1px solid $color--mid-grey;
margin-bottom: 20px;
padding-top: 10px;
}
Chris Lawton
committed
&__item {
display: flex;
justify-content: space-between;
margin-bottom: 20px;
Chris Lawton
committed
@supports(display: grid) {
display: grid;
grid-template-columns: 50% 25% 25%;
grid-gap: 5px;
}
&--decision {
margin-bottom: 10px;
font-weight: $weight--semibold;
Chris Lawton
committed
&:first-child {
Chris Lawton
committed
#{$root}__outcome {
&::before,
&::after {
position: absolute;
top: -23px;
left: 5px;
}
Chris Lawton
committed
&::after {
@include triangle(top, $color--white, 8px);
top: -21px;
}
&::before {
@include triangle(top, $color--mid-grey, 8px);
}
}
&--header {
background-color: $color--light-grey;
padding: 10px;
align-items: center;
Chris Lawton
committed
}
&.is-hidden {
display: none;
Chris Lawton
committed
}
&.no-response {
color: $color--black-20;
Chris Lawton
committed
}
}
&__date {
@include font-size(milli);
}
&__no-reviews {
color: $color--mid-grey;
}
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
&__name {
position: relative;
z-index: 1;
display: flex;
align-items: center;
overflow: hidden;
text-overflow: ellipsis;
background: $color--white;
&:hover {
display: inline-flex;
overflow: visible;
}
img {
margin-left: 7px;
}
}
&__outcome {
position: relative;
&.agree {
color: $color--green;
}
&.disagree {
color: $color--tomato;
}
}
&__split {
margin-bottom: 20px;
}