a better, more compact extension UI

This commit is contained in:
Nikita Krupin committed 2022-01-05 15:59:13 -05:00
1 parent b6184991a1
commit db666735e4
4 files changed
+64 -35

No files matched your search

+18 -6
View File
@@ -33,8 +33,8 @@ button {
border: none;
border-radius: 4px;
font-weight: 500;
box-shadow: 0 2px 4px -1px rgb(0 0 0 / 20%), 0 4px 5px 0 rgb(0 0 0 / 14%),
0 1px 10px 0 rgb(0 0 0 / 12%);
/* box-shadow: 0 2px 4px -1px rgb(0 0 0 / 20%), 0 4px 5px 0 rgb(0 0 0 / 14%),
0 1px 10px 0 rgb(0 0 0 / 12%); */
transition: 0.4s;
}
@@ -42,12 +42,23 @@ button:hover {
background: #444;
}
#ext-version {
z-index: 69;
position: fixed;
margin: 0;
bottom: 1.15rem;
right: 1.15rem;
background: var(--secondary);
border-radius: .25rem;
padding: .25rem .5rem;
}
#advancedToggle {
position: fixed;
background: none;
box-shadow: none;
color: var(--lightGrey);
top: 22px; right: 22px;
top: 26px; right: 26px;
padding: 2px;
z-index: 69;
height: 2rem;
@@ -65,14 +76,15 @@ button:hover {
#advancedSettings {
opacity: 0;
pointer-events: none;
transition-duration: .15s;
transition-timing-function: ease-in-out;
transform: scale(1.1);
position: fixed;
background: var(--background);
top: 4px; right: 9px;
width: calc(100% - 55px);
height: calc(100% - 48px);
top: 10px; right: 14px;
width: calc(100% - 65px);
height: calc(100% - 58px);
border: 2px solid var(--secondary);
border-radius: 0.5rem;
padding: 1rem;