added editor
Sonarqube Scanner / Build and analyze (push) Failing after 26s

This commit is contained in:
Florian Zumpe
2026-09-01 23:38:04 +02:00
parent 69bf3cb91e
commit 2412293d3d
5 changed files with 925 additions and 0 deletions
+229
View File
@@ -0,0 +1,229 @@
.editor-entry-panel {
align-items: center;
background: rgba(255, 255, 255, .92);
border: 1px solid rgba(49, 93, 58, .22);
border-radius: 1.2rem;
box-shadow: 0 .5rem 1.4rem rgba(20, 40, 24, .08);
display: flex;
gap: 1rem;
justify-content: space-between;
margin-top: 1.4rem;
padding: 1rem;
}
.editor-entry-panel h2,
.editor-entry-panel p {
margin: 0;
}
.editor-entry-panel p {
color: #4e604f;
margin-top: .25rem;
}
.editor-button,
.editor-round-button {
align-items: center;
background: #315d3a;
border: 0;
border-radius: 999px;
color: #fff;
display: inline-flex;
font-size: 1.8rem;
font-weight: 700;
height: 3rem;
justify-content: center;
line-height: 1;
min-width: 3rem;
padding: 0;
}
.editor-button:focus-visible,
.editor-round-button:focus-visible,
.editor-primary-button:focus-visible,
.editor-secondary-button:focus-visible,
.editor-icon-button:focus-visible {
outline: .2rem solid #f2ca6b;
outline-offset: .15rem;
}
.editor-dialog {
border: 0;
border-radius: 1.2rem;
box-shadow: 0 1.4rem 3rem rgba(20, 32, 22, .28);
max-height: min(90vh, 55rem);
max-width: min(92vw, 48rem);
padding: 0;
width: 48rem;
}
.editor-dialog::backdrop {
background: rgba(21, 36, 24, .42);
}
.editor-dialog-shell {
background: #f8f5eb;
color: #233326;
display: flex;
flex-direction: column;
gap: 1rem;
max-height: min(90vh, 55rem);
overflow-y: auto;
padding: 1rem;
}
.editor-dialog-header,
.editor-toolbar {
align-items: center;
display: flex;
gap: .75rem;
justify-content: space-between;
}
.editor-dialog-header h2,
.editor-toolbar h3 {
margin: 0;
}
.editor-dialog-header h2,
.editor-toolbar-back h3 {
flex: 1 1 auto;
min-width: 0;
}
#editor-close {
align-items: center;
background: #fff;
border: 1px solid rgba(49, 93, 58, .28);
border-radius: 999px;
color: #233326;
display: inline-flex;
font-size: 1.5rem;
height: 2.4rem;
justify-content: center;
margin-left: auto;
width: 2.4rem;
}
.editor-status {
background: #fff8d7;
border: 1px solid rgba(125, 92, 21, .25);
border-radius: .8rem;
margin: 0;
padding: .7rem .85rem;
}
.editor-view[hidden],
.editor-status[hidden] {
display: none;
}
.editor-route-list,
.editor-poi-list {
display: flex;
flex-direction: column;
gap: .65rem;
list-style: none;
margin: 0;
padding: 0;
}
.editor-poi-list {
counter-reset: editor-poi;
}
.editor-route-item,
.editor-poi-item {
align-items: center;
background: #fff;
border: 1px solid rgba(49, 93, 58, .18);
border-radius: .9rem;
display: flex;
gap: .75rem;
justify-content: space-between;
padding: .75rem;
}
.editor-route-item strong,
.editor-poi-item strong {
display: block;
}
.editor-route-item small,
.editor-poi-item small,
.editor-muted {
color: #607160;
}
.editor-form {
background: #fff;
border: 1px solid rgba(49, 93, 58, .18);
border-radius: .9rem;
display: flex;
flex-direction: column;
gap: .6rem;
padding: .9rem;
}
.editor-form input,
.editor-form textarea {
border: 1px solid rgba(49, 93, 58, .35);
border-radius: .65rem;
font: inherit;
padding: .65rem .75rem;
}
.editor-form textarea {
resize: vertical;
}
.editor-coordinate-grid {
display: grid;
gap: .55rem;
grid-template-columns: minmax(0, 1fr);
}
.editor-primary-button,
.editor-secondary-button,
.editor-icon-button {
border-radius: .75rem;
font: inherit;
min-height: 2.4rem;
padding: .55rem .85rem;
}
.editor-primary-button {
background: #315d3a;
border: 1px solid #315d3a;
color: #fff;
}
.editor-secondary-button,
.editor-icon-button {
background: #fff;
border: 1px solid rgba(49, 93, 58, .32);
color: #233326;
}
.editor-icon-row {
display: flex;
flex: 0 0 auto;
gap: .35rem;
}
.editor-icon-button {
align-items: center;
display: inline-flex;
justify-content: center;
min-width: 2.4rem;
}
.editor-poi-toolbar {
margin-top: .5rem;
}
@media (min-width: 42rem) {
.editor-coordinate-grid {
grid-template-columns: max-content minmax(0, 1fr);
}
}