mirror of
https://gitlab.com/vyla-entertainment/home-frontend.git
synced 2026-11-20 06:37:26 -05:00
updated glass
This commit is contained in:
@@ -39,7 +39,8 @@
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 0.7rem 1.35rem;
|
||||
border-radius: var(--radius-pill);
|
||||
height: 50px !important;
|
||||
border-radius: var(--radius-pill) !important;
|
||||
font-family: var(--font-body);
|
||||
font-size: 0.8125rem;
|
||||
font-weight: 600;
|
||||
@@ -76,8 +77,8 @@
|
||||
position: relative;
|
||||
background: transparent;
|
||||
color: var(--color-fg);
|
||||
border-radius: 50px;
|
||||
padding: 0.75rem 1.75rem;
|
||||
border-radius: 50px !important;
|
||||
padding: 0.75rem 1.75rem !important;
|
||||
font-weight: 500;
|
||||
font-size: 0.875rem;
|
||||
text-decoration: none;
|
||||
|
||||
@@ -5,40 +5,61 @@
|
||||
justify-content: center !important;
|
||||
background: transparent !important;
|
||||
border: none !important;
|
||||
border-radius: var(--glass-radius, 50px) !important;
|
||||
overflow: visible !important;
|
||||
border-radius: var(--glass-radius, 20px) !important;
|
||||
overflow: hidden !important;
|
||||
text-decoration: none !important;
|
||||
box-sizing: border-box !important;
|
||||
width: auto !important;
|
||||
max-width: max-content !important;
|
||||
transition: opacity 260ms ease-out;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
.glass-surface__backdrop {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
.glass-surface.dark-mode:focus-visible {
|
||||
outline: 2px solid #0A84FF;
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
.glass-surface.light-mode:focus-visible {
|
||||
outline: 2px solid #007AFF;
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
.glass-surface__filter {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: inherit !important;
|
||||
background: transparent;
|
||||
backdrop-filter: var(--glass-filter-id, none) saturate(var(--glass-saturation, 0));
|
||||
-webkit-backdrop-filter: var(--glass-filter-id, none) saturate(var(--glass-saturation, 0));
|
||||
pointer-events: none;
|
||||
z-index: 0;
|
||||
transition: border-color 0.2s ease, box-shadow 0.2s ease;
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
opacity: 0;
|
||||
z-index: -10;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
.glass-surface__content {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
display: inline-flex;
|
||||
z-index: 10;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: inherit;
|
||||
width: auto;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
color: inherit;
|
||||
white-space: nowrap;
|
||||
border-radius: inherit;
|
||||
pointer-events: auto;
|
||||
box-shadow: none !important;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
.glass-surface .fa-solid,
|
||||
.glass-surface .fas {
|
||||
padding-right: 10px !important;
|
||||
}
|
||||
|
||||
.glass-surface--fallback .fa-solid,
|
||||
.glass-surface--fallback .fas {
|
||||
padding-right: 5px;
|
||||
}
|
||||
@@ -5,7 +5,8 @@
|
||||
justify-content: space-between;
|
||||
gap: 1rem;
|
||||
padding: 0.65rem 1.25rem;
|
||||
border-radius: 50px;
|
||||
height: 50px !important;
|
||||
border-radius: 50px !important;
|
||||
cursor: pointer;
|
||||
margin-top: 1.5rem;
|
||||
max-width: 90vw;
|
||||
|
||||
Reference in New Issue
Block a user