mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-19 19:16:29 +08:00
feat(editor): audio block (#10947)
AudioMedia entity for loading & controlling a single audio media AudioMediaManagerService: Global audio state synchronization across tabs AudioAttachmentService + AudioAttachmentBlock for manipulating AttachmentBlock in affine - e.g., filling transcription (using mock endpoint for now) Added AudioBlock + AudioPlayer for rendering audio block in affine (new transcription block whose renderer is provided in affine) fix AF-2292 fix AF-2337
This commit is contained in:
@@ -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