mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-01 20:19:36 -05:00
8b3ffe58fa
[web] BS5 IDE light header GitOrigin-RevId: 39403afae76f267228fb286492ad50e8e88e31be
29 lines
706 B
SCSS
29 lines
706 B
SCSS
:root {
|
|
--review-icon: url('../../../../../public/img/ol-icons/review-icon-dark-theme.svg');
|
|
}
|
|
|
|
@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');
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.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.
|
|
}
|
|
}
|