feat(workbench): stabilize junction tools workspace
This commit is contained in:
1 parent
e6b822416d
commit
f10a5da325
22 files changed
+1078
-53
No files matched your search
@@ -315,6 +315,40 @@ pre {
|
||||
display: grid;
|
||||
gap: 6px;
|
||||
}
|
||||
.parameter-group {
|
||||
display: grid;
|
||||
gap: 6px;
|
||||
}
|
||||
.parameter-group__header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 8px;
|
||||
padding: 7px 8px 0;
|
||||
color: #52615b;
|
||||
}
|
||||
.parameter-group__header span {
|
||||
display: grid;
|
||||
gap: 2px;
|
||||
}
|
||||
.parameter-group__header small {
|
||||
color: #7b8a83;
|
||||
font-size: 11px;
|
||||
}
|
||||
.parameter-group__toggle {
|
||||
border: 0;
|
||||
background: none;
|
||||
color: #286956;
|
||||
cursor: pointer;
|
||||
font-size: 12px;
|
||||
padding: 3px 0;
|
||||
text-decoration: underline;
|
||||
}
|
||||
.parameter-group__details {
|
||||
margin: 0 0 0 12px;
|
||||
padding-left: 8px;
|
||||
border-left: 2px solid #dce5e1;
|
||||
}
|
||||
.parameter {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr auto;
|
||||
@@ -346,6 +380,26 @@ pre {
|
||||
font-size: 12px;
|
||||
font-style: normal;
|
||||
}
|
||||
.parameter-stepper {
|
||||
display: inline-flex;
|
||||
gap: 2px;
|
||||
margin-left: 2px;
|
||||
}
|
||||
.parameter-stepper button {
|
||||
display: inline-grid;
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
place-items: center;
|
||||
padding: 0;
|
||||
border: 1px solid #b7c8bf;
|
||||
border-radius: 3px;
|
||||
background: #f8fbf9;
|
||||
color: #286956;
|
||||
}
|
||||
.parameter-stepper button:disabled {
|
||||
opacity: 0.45;
|
||||
cursor: default;
|
||||
}
|
||||
.parameter-range {
|
||||
grid-column: 1 / -1;
|
||||
color: #7b8a83;
|
||||
@@ -546,6 +600,57 @@ pre {
|
||||
box-shadow: 0 14px 40px rgb(15 23 42 / 20%);
|
||||
padding: 1rem 1.25rem;
|
||||
}
|
||||
.junction-page {
|
||||
min-height: 100vh;
|
||||
}
|
||||
.junction-page > header {
|
||||
display: none;
|
||||
}
|
||||
.junction-page > main {
|
||||
height: 100vh;
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
background: #d7e2de;
|
||||
}
|
||||
.junction-page > main > .issues,
|
||||
.junction-page > main > .inspector {
|
||||
display: none;
|
||||
}
|
||||
.junction-page .junction-workspace {
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
width: min(430px, 38vw);
|
||||
border-radius: 0;
|
||||
border-top: 0;
|
||||
border-right: 0;
|
||||
border-bottom: 0;
|
||||
box-shadow: -16px 0 36px rgb(15 23 42 / 18%);
|
||||
}
|
||||
.junction-page .junction-workspace__header {
|
||||
position: sticky;
|
||||
z-index: 2;
|
||||
top: -1rem;
|
||||
margin: -1rem -1.25rem 1.5rem;
|
||||
padding: 1rem 1.25rem;
|
||||
align-items: center;
|
||||
background: #173b32;
|
||||
color: #f4fbf7;
|
||||
border-bottom: 1px solid #2e594d;
|
||||
}
|
||||
.junction-page .junction-workspace__header p,
|
||||
.junction-page .junction-workspace__eyebrow {
|
||||
color: #abc5ba;
|
||||
}
|
||||
.junction-page .junction-workspace__header .button {
|
||||
border-color: #97b5a8;
|
||||
background: #eff7f2;
|
||||
}
|
||||
.junction-page .junction-workspace__header h2 {
|
||||
font-size: 1.15rem;
|
||||
}
|
||||
.junction-page .junction-workspace__body {
|
||||
max-width: none;
|
||||
}
|
||||
.junction-workspace__header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
@@ -561,6 +666,23 @@ pre {
|
||||
.junction-workspace__header h2 {
|
||||
margin: 0.2rem 0;
|
||||
}
|
||||
.junction-workspace__title-line {
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
gap: 0.65rem;
|
||||
min-width: 0;
|
||||
}
|
||||
.junction-workspace__title-line h2 {
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.junction-workspace__title-line code {
|
||||
color: inherit;
|
||||
font-size: 0.8em;
|
||||
font-weight: 500;
|
||||
}
|
||||
.junction-workspace__header p {
|
||||
margin: 0;
|
||||
color: #64748b;
|
||||
@@ -570,6 +692,7 @@ pre {
|
||||
color: #64748b;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.08em;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.junction-workspace__body {
|
||||
max-width: 42rem;
|
||||
|
||||
Reference in new issue
Block a user