mirror of
https://github.com/mue/mue.git
synced 2026-07-11 18:31:47 +02:00
style: glass effect on modal
This commit is contained in:
@@ -148,7 +148,7 @@ const TabNavbar = ({ modalClose }) => {
|
||||
{subTab !== '' && (
|
||||
<>
|
||||
<MdOutlineKeyboardArrowRight />
|
||||
<span onClick={() => setSubSection('')} className={clsx("text-xl capitalize tracking-normal", { 'text-neutral-300 cursor-pointer': subSection !== '' })}>{subTab}</span>
|
||||
<span onClick={() => setSubSection('')} className={clsx("text-xl capitalize tracking-normal transition-all duration-300 ease-in-out", { 'text-neutral-300 cursor-pointer hover:text-neutral-100': subSection !== '' })}>{subTab}</span>
|
||||
</>
|
||||
)}
|
||||
{subSection !== '' && (
|
||||
|
||||
@@ -87,12 +87,16 @@
|
||||
#modal {
|
||||
height: 80vh;
|
||||
width: clamp(60vw, 1400px, 90vw);
|
||||
background: rgba(14, 16, 19, .85);
|
||||
backdrop-filter: blur(60px);
|
||||
border: 3px solid rgba(14, 16, 19, .1);
|
||||
|
||||
@include themed {
|
||||
/*@include themed {
|
||||
background-color: t($modal-sidebar);
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
|
||||
/* fixes for font size on extension */
|
||||
label,
|
||||
p,
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
background: t($modal-background);
|
||||
background: t($modal-sidebar);
|
||||
|
||||
@extend %tabText;
|
||||
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
position: sticky;
|
||||
margin: 0;
|
||||
padding: 0 5px;
|
||||
background: t($modal-sidebar);
|
||||
border-radius: 12px 0 0 12px;
|
||||
overflow: hidden auto;
|
||||
height: 67vh;
|
||||
|
||||
Reference in New Issue
Block a user