mirror of
https://github.com/qdrant/landing_page.git
synced 2026-10-03 09:58:30 +02:00
102 lines
1.9 KiB
SCSS
102 lines
1.9 KiB
SCSS
@use '../helpers/functions' as *;
|
|
|
|
.feedback {
|
|
margin-top: pxToRem(12);
|
|
&__title {
|
|
color: $neutral-98;
|
|
margin-bottom: calc($spacer / 2);
|
|
font-size: map-get($font-sizes-text, 'md');
|
|
line-height: pxToRem(24);
|
|
}
|
|
&__question {
|
|
font-size: map-get($font-sizes-text, 'md');
|
|
line-height: pxToRem(24);
|
|
color: $neutral-70;
|
|
margin-bottom: pxToRem(12);
|
|
}
|
|
&__answer {
|
|
outline: none;
|
|
border: none;
|
|
border-radius: 8px;
|
|
font-size: map-get($font-sizes-text, 'md');
|
|
line-height: pxToRem(24);
|
|
padding: pxToRem(4) $spacer;
|
|
&_yes {
|
|
color: $success-90;
|
|
background-color: $success-10;
|
|
margin-right: pxToRem(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;
|
|
}
|
|
}
|
|
}
|