mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
refactor: new project struct (#8199)
packages/frontend/web -> packages/frontend/apps/web packages/frontend/mobile -> packages/frontend/apps/mobile packages/frontend/electron -> packages/frontend/apps/electron
This commit is contained in:
29
packages/frontend/apps/electron/renderer/global.css
Normal file
29
packages/frontend/apps/electron/renderer/global.css
Normal file
@@ -0,0 +1,29 @@
|
||||
button,
|
||||
input,
|
||||
select,
|
||||
textarea
|
||||
/* [role='button'] */ {
|
||||
-webkit-app-region: no-drag;
|
||||
}
|
||||
|
||||
#webpack-dev-server-client-overlay {
|
||||
-webkit-app-region: no-drag;
|
||||
}
|
||||
|
||||
html[data-active='true'] {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
html:is([data-active='false'], [data-dragging='true']) * {
|
||||
-webkit-app-region: no-drag !important;
|
||||
}
|
||||
|
||||
html[data-active='false'] {
|
||||
opacity: 0;
|
||||
transition: opacity 0.2s 0.1s;
|
||||
}
|
||||
|
||||
html[data-active='true']:has([data-blur-background='true']) {
|
||||
opacity: 1;
|
||||
transition: opacity 0.2s;
|
||||
}
|
||||
Reference in New Issue
Block a user