Files
landing_page/qdrant-landing/themes/qdrant-2024/assets/css/partials/_feedback.scss
T
trean 6f49a1e761 Light theme for the documentation page (#931)
* light theme for docs, wip

* several switchers, fixes

* format

* fix

* sooner apllication of user's theme

* dark theme by default
2024-05-30 19:06:12 +02:00

102 lines
1.9 KiB
SCSS

@use '../helpers/functions' as *;
.feedback {
margin-top: rem(12);
&__title {
color: $neutral-98;
margin-bottom: calc($spacer / 2);
font-size: map-get($font-sizes-text, 'md');
line-height: rem(24);
}
&__question {
font-size: map-get($font-sizes-text, 'md');
line-height: rem(24);
color: $neutral-70;
margin-bottom: rem(12);
}
&__answer {
outline: none;
border: none;
border-radius: 8px;
font-size: map-get($font-sizes-text, 'md');
line-height: rem(24);
padding: rem(4) $spacer;
&_yes {
color: $success-90;
background-color: $success-10;
margin-right: rem(12);
box-sizing: border-box;
&:hover {
background-color: $success-30;
color: $neutral-100;
}
}
&_no {
color: $error-90;
background-color: $error-10;
&:hover {
background-color: $error-30;
color: $neutral-100;
}
}
&[disabled] {
display: none;
}
}
&__response {
display: none;
padding: 10px 8px;
color: $neutral-100;
background: $neutral-20;
border-radius: 8px;
font-size: $font-size-sm;
&_visible {
display: block;
}
}
[data-theme='light'] & {
&__title {
color: $neutral-30;
}
&__question {
color: $neutral-30;
}
&__answer {
color: $neutral-30;
background-color: $neutral-90;
&_yes {
color: $success-10;
background-color: $success-90;
border: 1px solid $success-10;
&:hover {
background-color: $success-50;
color: $neutral-100;
}
}
&_no {
color: $error-10;
background-color: $error-90;
border: 1px solid $error-10;
&:hover {
background-color: $error-50;
color: $neutral-100;
}
}
}
&__response {
color: $neutral-30;
background: $neutral-90;
}
}
}