mirror of
https://github.com/Boof2015/prism.git
synced 2026-08-20 12:29:51 +02:00
clean up ui/ux
This commit is contained in:
@@ -267,6 +267,8 @@ function createMainWindow(): void {
|
|||||||
frame: false,
|
frame: false,
|
||||||
transparent: false,
|
transparent: false,
|
||||||
backgroundColor: '#000000',
|
backgroundColor: '#000000',
|
||||||
|
roundedCorners: false,
|
||||||
|
hasShadow: false,
|
||||||
alwaysOnTop: true,
|
alwaysOnTop: true,
|
||||||
autoHideMenuBar: true,
|
autoHideMenuBar: true,
|
||||||
resizable: true,
|
resizable: true,
|
||||||
@@ -370,6 +372,8 @@ function createScopePopoutWindow(kind: ScopeKind, rawBounds?: WindowBounds): Bro
|
|||||||
frame: false,
|
frame: false,
|
||||||
transparent: false,
|
transparent: false,
|
||||||
backgroundColor: '#000000',
|
backgroundColor: '#000000',
|
||||||
|
roundedCorners: false,
|
||||||
|
hasShadow: false,
|
||||||
resizable: true,
|
resizable: true,
|
||||||
fullscreenable: false,
|
fullscreenable: false,
|
||||||
maximizable: false,
|
maximizable: false,
|
||||||
|
|||||||
@@ -39,9 +39,7 @@ body,
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
background:
|
background: #000000;
|
||||||
radial-gradient(circle at top, rgba(var(--accent-rgb), 0.09), transparent 28%),
|
|
||||||
linear-gradient(180deg, #040506 0%, #000000 24%, #000000 100%);
|
|
||||||
color: var(--text-primary);
|
color: var(--text-primary);
|
||||||
font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
|
||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
@@ -96,12 +94,9 @@ select {
|
|||||||
min-height: 38px;
|
min-height: 38px;
|
||||||
padding: 4px 10px 0;
|
padding: 4px 10px 0;
|
||||||
gap: 10px;
|
gap: 10px;
|
||||||
background:
|
background: rgba(0, 0, 0, 0.74);
|
||||||
linear-gradient(180deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.58));
|
|
||||||
backdrop-filter: blur(16px) saturate(1.05);
|
backdrop-filter: blur(16px) saturate(1.05);
|
||||||
-webkit-backdrop-filter: blur(16px) saturate(1.05);
|
-webkit-backdrop-filter: blur(16px) saturate(1.05);
|
||||||
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
|
|
||||||
box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.toolbar__grab {
|
.toolbar__grab {
|
||||||
@@ -407,8 +402,7 @@ select {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.settings-panel {
|
.settings-panel {
|
||||||
background: linear-gradient(180deg, rgba(6, 8, 11, 0.98), rgba(4, 5, 7, 0.98));
|
background: rgba(5, 7, 10, 0.98);
|
||||||
border-top: 1px solid rgba(255, 255, 255, 0.08);
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 12px;
|
gap: 12px;
|
||||||
@@ -427,7 +421,6 @@ select {
|
|||||||
gap: 14px 18px;
|
gap: 14px 18px;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
padding: 0 14px 10px;
|
padding: 0 14px 10px;
|
||||||
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.settings-utility-section {
|
.settings-utility-section {
|
||||||
@@ -743,8 +736,7 @@ select {
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 0;
|
gap: 0;
|
||||||
padding: 8px 0;
|
padding: 8px 0;
|
||||||
background: linear-gradient(180deg, rgba(4, 5, 7, 0.98), rgba(2, 3, 4, 0.98));
|
background: rgba(3, 4, 6, 0.98);
|
||||||
border-top: 1px solid rgba(255, 255, 255, 0.06);
|
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -811,9 +803,7 @@ select {
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
background:
|
background: #000000;
|
||||||
radial-gradient(circle at top, rgba(var(--accent-rgb), 0.1), transparent 26%),
|
|
||||||
linear-gradient(180deg, rgba(3, 4, 6, 0.98), rgba(0, 0, 0, 1));
|
|
||||||
color: var(--text-primary);
|
color: var(--text-primary);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -853,7 +843,6 @@ select {
|
|||||||
gap: 10px;
|
gap: 10px;
|
||||||
min-height: 42px;
|
min-height: 42px;
|
||||||
padding: 8px 10px;
|
padding: 8px 10px;
|
||||||
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
|
|
||||||
background: rgba(7, 10, 14, 0.92);
|
background: rgba(7, 10, 14, 0.92);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -957,8 +946,7 @@ select {
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
background: linear-gradient(180deg, rgba(6, 8, 11, 0.98), rgba(4, 5, 7, 0.98));
|
background: rgba(5, 7, 10, 0.98);
|
||||||
border-top: 1px solid rgba(255, 255, 255, 0.06);
|
|
||||||
padding: 12px 0 10px;
|
padding: 12px 0 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user