mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-01 18:33:33 +00:00
Migrate to Mantine v8 and Design Changes (#961)
* mantine v8 migration * various design changes and improvements
This commit is contained in:
parent
bea55d48a8
commit
c1330d92b2
473 changed files with 12469 additions and 11607 deletions
91
src/renderer/layouts/window-bar.module.css
Normal file
91
src/renderer/layouts/window-bar.module.css
Normal file
|
|
@ -0,0 +1,91 @@
|
|||
.windows-container {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
width: 100vw;
|
||||
-webkit-app-region: drag;
|
||||
}
|
||||
|
||||
.windows-button-group {
|
||||
display: flex;
|
||||
width: 130px;
|
||||
height: 100%;
|
||||
-webkit-app-region: no-drag;
|
||||
}
|
||||
|
||||
.windows-button {
|
||||
display: flex;
|
||||
flex: 1;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
-webkit-app-region: no-drag;
|
||||
width: 50px;
|
||||
height: 30px;
|
||||
|
||||
img {
|
||||
width: 35%;
|
||||
height: 50%;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background: rgb(125 125 125 / 30%);
|
||||
}
|
||||
}
|
||||
|
||||
.windows-button.exit {
|
||||
&:hover {
|
||||
background: var(--theme-colors-state-error);
|
||||
}
|
||||
}
|
||||
|
||||
.player-status-container {
|
||||
display: flex;
|
||||
gap: 0.5rem;
|
||||
max-width: 45vw;
|
||||
padding-left: 1rem;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.macos-container {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 100vw;
|
||||
-webkit-app-region: drag;
|
||||
}
|
||||
|
||||
.macos-button-group {
|
||||
position: absolute;
|
||||
top: 5px;
|
||||
left: 0.5rem;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 20px);
|
||||
height: 100%;
|
||||
-webkit-app-region: no-drag;
|
||||
}
|
||||
|
||||
.macos-button {
|
||||
grid-row: 1 / span 1;
|
||||
grid-column: 1;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
user-select: none;
|
||||
|
||||
img {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
}
|
||||
}
|
||||
|
||||
.macos-button.min-button {
|
||||
grid-column: 2;
|
||||
}
|
||||
|
||||
.macos-button.max-button,
|
||||
.macos-button.restore-button {
|
||||
grid-column: 3;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue