@qvant/qui-max
Version:
A Vue 3 Design system for Web.
52 lines (51 loc) • 1.1 kB
CSS
.q-popover {
display: flex;
align-items: flex-start;
min-width: 320px;
max-width: 552px;
padding: 24px;
color: var(--color-primary-black);
text-align: left;
letter-spacing: 0.2px;
background-color: var(--color-tertiary-white);
border-radius: var(--border-radius-base);
box-shadow: var(--box-shadow-primary);
}
.q-popover__icon {
margin-right: 16px;
color: var(--color-tertiary-white);
text-align: center;
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
}
.q-popover__icon::before {
font-size: 40px;
line-height: 40px;
}
.q-popover__inner {
max-height: 646px;
padding-top: 8px;
}
.q-popover__title {
min-width: 216px;
font-size: 16px;
font-weight: 600;
line-height: 22px;
}
.q-popover__content {
font-size: var(--font-size-base);
font-style: normal;
font-weight: var(--font-weight-base);
line-height: 20px;
color: var(--color-primary-black);
}
.q-popover__title + .q-popover__content {
margin-top: 16px;
}
.q-popover_without-icon {
padding: 16px;
}
.q-popover-trigger {
display: contents;
}