дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-09 03:05:40 +02:00
feat(workbench): add merged main menu style (#561)
* feat(workbench): add merged main menu style * fix(workbench): restore focus on a second Alt and keep closed menus closed
Цей коміт міститься в:
1 джерело
bdadecdf91
коміт
e7740e4032
10 files changed
+562
-59
No files matched your search
@@ -125,7 +125,32 @@
|
||||
outline: 2px solid var(--focus-ring);
|
||||
outline-offset: -2px;
|
||||
}
|
||||
/* The expanded main menu: File Edit View … in place of the project widgets. */
|
||||
/* Preserve the menu's natural width while allowing its slot to yield to toolbar controls. */
|
||||
.mainMenuSlot {
|
||||
position: relative;
|
||||
flex: 0 1 auto;
|
||||
min-width: 34px;
|
||||
height: 30px;
|
||||
overflow: hidden;
|
||||
}
|
||||
.mainMenuSlot ~ .item,
|
||||
.mainMenuSlot ~ .tools {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.menuMeasure {
|
||||
width: max-content;
|
||||
visibility: hidden;
|
||||
pointer-events: none;
|
||||
}
|
||||
.menuPresentation {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
/* The main menu titles. */
|
||||
.menuBar {
|
||||
flex: none;
|
||||
display: flex;
|
||||
|
||||
Reference in new issue
Заблокувати користувача