2024-10-18 06:14:45 -04:00
|
|
|
@use 'sass:color';
|
|
|
|
|
2024-09-04 03:52:08 -04:00
|
|
|
:root {
|
|
|
|
--review-icon: url('../../../../../public/img/ol-icons/review-icon-dark-theme.svg');
|
2024-10-18 06:14:45 -04:00
|
|
|
--rp-base-font-size: var(--font-size-01);
|
|
|
|
--rp-bg-dim-blue: #fafafa;
|
|
|
|
--rp-border-grey: #d9d9d9;
|
|
|
|
--rp-type-darkgrey: #3f3f3f;
|
2024-09-04 03:52:08 -04:00
|
|
|
}
|
|
|
|
|
2024-09-06 08:36:15 -04:00
|
|
|
@include theme('light') {
|
|
|
|
--review-icon: url('../../../../../public/img/ol-icons/review-icon-light-theme.svg');
|
|
|
|
|
|
|
|
button {
|
|
|
|
&.active,
|
|
|
|
&:active {
|
|
|
|
.review-icon {
|
|
|
|
--review-icon: url('../../../../../public/img/ol-icons/review-icon-dark-theme.svg');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-10-18 06:14:45 -04:00
|
|
|
$rp-type-blue: #6b7797;
|
|
|
|
|
|
|
|
.rp-tc-state {
|
|
|
|
position: absolute;
|
|
|
|
top: 100%;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
list-style: none;
|
|
|
|
padding: 0 var(--spacing-03);
|
|
|
|
margin: 0;
|
|
|
|
border-bottom: 1px solid var(--rp-border-grey);
|
|
|
|
background-color: var(--rp-bg-dim-blue);
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.rp-tc-state-item {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
padding: var(--spacing-02) 0;
|
|
|
|
|
|
|
|
&:last-of-type {
|
|
|
|
padding-bottom: var(--spacing-03);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.rp-tc-state-item-name {
|
|
|
|
@extend .text-truncate;
|
|
|
|
|
|
|
|
flex-grow: 1;
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
|
|
|
.rp-tc-state-item-name-disabled {
|
|
|
|
opacity: 0.35;
|
|
|
|
}
|
|
|
|
|
2024-09-04 03:52:08 -04:00
|
|
|
.review-icon {
|
|
|
|
display: inline-block;
|
|
|
|
background-image: var(--review-icon);
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: top;
|
|
|
|
background-size: 30px;
|
|
|
|
width: 30px;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: '\00a0'; // Non-breakable space. A non-breakable character here makes this icon work like font-awesome.
|
|
|
|
}
|
|
|
|
}
|
2024-10-18 06:14:45 -04:00
|
|
|
|
|
|
|
.resolved-comments-toggle {
|
|
|
|
background-color: var(--bg-light-secondary);
|
|
|
|
font-size: var(--font-size-02);
|
|
|
|
color: color.adjust($rp-type-blue, $lightness: 25%);
|
|
|
|
border: solid 1px var(--rp-border-grey);
|
|
|
|
border-radius: var(--border-radius-base);
|
|
|
|
padding: 0 var(--spacing-02);
|
|
|
|
display: block;
|
|
|
|
height: 22px;
|
|
|
|
width: 22px;
|
|
|
|
line-height: 1.4;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
text-decoration: none;
|
|
|
|
color: $rp-type-blue;
|
|
|
|
}
|
|
|
|
}
|