refactor(ui): better select popovers

This commit is contained in:
liyasthomas
2021-08-04 11:20:23 +05:30
parent b03565a816
commit a4caeac584
10 changed files with 45 additions and 49 deletions

View File

@@ -46,8 +46,8 @@ body {
@apply select-none;
@apply overflow-x-hidden;
font-size: var(--font-size);
line-height: var(--line-height);
font-size: var(--body-font-size);
line-height: var(--body-line-height);
overflow: overlay;
-webkit-tap-highlight-color: transparent;
-webkit-touch-callout: none;
@@ -189,8 +189,8 @@ input,
select,
textarea,
button {
font-size: var(--font-size);
line-height: var(--line-height);
font-size: var(--body-font-size);
line-height: var(--body-line-height);
}
.input[type="file"],
@@ -259,16 +259,17 @@ input[type="checkbox"] {
@apply cursor-pointer;
&::before {
@apply border border-secondary;
@apply border-2 border-divider;
@apply rounded;
@apply inline-flex;
@apply items-center;
@apply justify-center;
@apply text-transparent;
@apply h-4;
@apply w-4;
@apply font-icon;
content: "\2714";
height: 16px;
width: 16px;
content: "\e876";
margin: 8px 8px 8px 0;
}
}

View File

@@ -300,9 +300,9 @@
@mixin fontSmall {
// Font size
--font-size: 0.75rem;
--body-font-size: 0.75rem;
// Line height
--line-height: 1rem;
--body-line-height: 1rem;
// Upper primary sticky fold
--upper-primary-sticky-fold: 4.125rem;
// Upper secondary sticky fold
@@ -321,9 +321,9 @@
@mixin fontMedium {
// Font size
--font-size: 0.875rem;
--body-font-size: 0.875rem;
// Line height
--line-height: 1.25rem;
--body-line-height: 1.25rem;
// Upper primary sticky fold
--upper-primary-sticky-fold: 4.375rem;
// Upper secondary sticky fold
@@ -342,9 +342,9 @@
@mixin fontLarge {
// Font size
--font-size: 1rem;
--body-font-size: 1rem;
// Line height
--line-height: 1.5rem;
--body-line-height: 1.5rem;
// Upper primary sticky fold
--upper-primary-sticky-fold: 4.625rem;
// Upper secondary sticky fold