Spaces:
Running
Running
Commit ·
9a9f208
1
Parent(s): aa558b2
commit initial 09-12-2025 44
Browse files- src/App.css +31 -34
src/App.css
CHANGED
|
@@ -45,14 +45,17 @@ html, body, #root {
|
|
| 45 |
Menubar
|
| 46 |
============================ */
|
| 47 |
|
| 48 |
-
/* allow left/right groups to wrap when space is tight */
|
| 49 |
.ide-menubar {
|
| 50 |
-
height:
|
| 51 |
-
|
| 52 |
align-items: center;
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 56 |
}
|
| 57 |
|
| 58 |
.ide-menubar-left,
|
|
@@ -60,44 +63,38 @@ html, body, #root {
|
|
| 60 |
display: flex;
|
| 61 |
align-items: center;
|
| 62 |
gap: 8px;
|
| 63 |
-
flex-wrap: wrap; /* buttons wrap to new line if needed */
|
| 64 |
}
|
| 65 |
|
| 66 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 67 |
.ide-menubar button {
|
| 68 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 69 |
font-size: 13px;
|
| 70 |
-
white-space: nowrap;
|
| 71 |
-
flex-shrink: 0; /* prevent squishing text; use wrap instead */
|
| 72 |
}
|
| 73 |
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
.ide-menubar {
|
| 77 |
-
padding: 6px 6px;
|
| 78 |
-
}
|
| 79 |
-
.ide-menubar button {
|
| 80 |
-
padding: 4px 6px;
|
| 81 |
-
font-size: 12px;
|
| 82 |
-
}
|
| 83 |
-
.ide-logo {
|
| 84 |
-
font-size: 13px;
|
| 85 |
-
margin-right: 8px;
|
| 86 |
-
}
|
| 87 |
}
|
| 88 |
|
| 89 |
-
/*
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
.ide-menubar-right {
|
| 93 |
-
max-width: 100%;
|
| 94 |
-
box-sizing: border-box;
|
| 95 |
-
}
|
| 96 |
|
| 97 |
-
/* if the menubar wraps, make sure body content doesn't get pushed off-screen */
|
| 98 |
.ide-body {
|
| 99 |
-
flex: 1
|
| 100 |
-
|
|
|
|
|
|
|
|
|
|
| 101 |
}
|
| 102 |
|
| 103 |
/* ============================
|
|
|
|
| 45 |
Menubar
|
| 46 |
============================ */
|
| 47 |
|
|
|
|
| 48 |
.ide-menubar {
|
| 49 |
+
height: 32px;
|
| 50 |
+
display: flex;
|
| 51 |
align-items: center;
|
| 52 |
+
justify-content: space-between;
|
| 53 |
+
padding: 0 10px;
|
| 54 |
+
background: #252526;
|
| 55 |
+
color: #eee;
|
| 56 |
+
font-size: 13px;
|
| 57 |
+
border-bottom: 1px solid #444;
|
| 58 |
+
flex: 0 0 auto;
|
| 59 |
}
|
| 60 |
|
| 61 |
.ide-menubar-left,
|
|
|
|
| 63 |
display: flex;
|
| 64 |
align-items: center;
|
| 65 |
gap: 8px;
|
|
|
|
| 66 |
}
|
| 67 |
|
| 68 |
+
.ide-logo {
|
| 69 |
+
font-weight: 600;
|
| 70 |
+
margin-right: 12px;
|
| 71 |
+
}
|
| 72 |
+
|
| 73 |
.ide-menubar button {
|
| 74 |
+
margin-right: 4px;
|
| 75 |
+
background: transparent;
|
| 76 |
+
border: none;
|
| 77 |
+
color: inherit;
|
| 78 |
+
cursor: pointer;
|
| 79 |
+
padding: 2px 6px;
|
| 80 |
+
border-radius: 3px;
|
| 81 |
font-size: 13px;
|
|
|
|
|
|
|
| 82 |
}
|
| 83 |
|
| 84 |
+
.ide-menubar button:hover {
|
| 85 |
+
background: rgba(255, 255, 255, 0.08);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 86 |
}
|
| 87 |
|
| 88 |
+
/* ============================
|
| 89 |
+
Body Layout
|
| 90 |
+
============================ */
|
|
|
|
|
|
|
|
|
|
|
|
|
| 91 |
|
|
|
|
| 92 |
.ide-body {
|
| 93 |
+
flex: 1;
|
| 94 |
+
display: flex;
|
| 95 |
+
overflow: hidden; /* prevent children from creating page overflow */
|
| 96 |
+
min-height: 0; /* allow children to shrink (important for flex) */
|
| 97 |
+
max-width: 100%;
|
| 98 |
}
|
| 99 |
|
| 100 |
/* ============================
|