Skip to content

Commit 6d784ba

Browse files
committed
style: continue integration beercss, use standard loading indicator
1 parent d8635c7 commit 6d784ba

File tree

3 files changed

+19
-41
lines changed

3 files changed

+19
-41
lines changed

src/components/toolbar/toolbar.css

+2-11
Original file line numberDiff line numberDiff line change
@@ -28,24 +28,15 @@
2828
left: var(--app-padding);
2929
right: var(--app-padding);
3030
height: var(--toolbar-height);
31-
border-radius: var(--toolbar-border-radius);
3231
}
3332

3433
.style-editor-toolbar input {
3534
min-width: 400px;
36-
37-
width: calc(100% - 100px);
38-
background: white;
39-
border: none;
40-
height: var(--toolbar-height);
41-
color: #333;
42-
border-radius: 12px 0 0 12px;
43-
font-size: 14px;
44-
font-weight: 700;
4535
padding-left: 16px;
4636
font-family: "IBM Plex Mono";
37+
font-weight: 600;
4738

48-
background: #fffa;
39+
background: #fffc;
4940
backdrop-filter: blur(10px);
5041
box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.17);
5142
}

src/components/toolbar/toolbar.js

+16-25
Original file line numberDiff line numberDiff line change
@@ -116,31 +116,22 @@ export class StyleEditorToolbar extends LitElement {
116116
</style>
117117
<div class="style-editor-toolbar">
118118
<div class="flex">
119-
<div id="logo">
120-
<img src="/eodash-style-editor/EOX_Eye.svg" width="32" />
121-
</div>
122-
<input
123-
style="font-size: 0.9rem;"
124-
type="text"
125-
value="${this._inputValue}"
126-
@input="${this._onInput}"
127-
placeholder="Paste a link here to load geometry"
128-
/>
129-
130-
<button
131-
@click="${this._triggerFileLoad}"
132-
style="
133-
background: #004170 !important;
134-
color: #FFF !important;
135-
font-weight: 700 !important;
136-
margin: 0;
137-
min-width: 54px;
138-
"
139-
class="primary right-round fill"
140-
>
141-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><title>import</title><path d="M14,12L10,8V11H2V13H10V16M20,18V6C20,4.89 19.1,4 18,4H6A2,2 0 0,0 4,6V9H6V6H18V18H6V15H4V18A2,2 0 0,0 6,20H18A2,2 0 0,0 20,18Z" /></svg>
142-
<span>Load</span>
143-
</button>
119+
<nav class="no-space small" style="height: 40px; width: 100%; margin-block-start: 0">
120+
<div class="max field border left-round small">
121+
<input
122+
class="round small"
123+
value="${this._inputValue}"
124+
@input="${this._onInput}"
125+
style="font-size: 0.9rem;"
126+
type="text"
127+
placeholder="Paste a link here to load geometry"
128+
/>
129+
</div>
130+
<button @click="${this._triggerFileLoad}" class="right-round">
131+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><title>import</title><path d="M14,12L10,8V11H2V13H10V16M20,18V6C20,4.89 19.1,4 18,4H6A2,2 0 0,0 4,6V9H6V6H18V18H6V15H4V18A2,2 0 0,0 6,20H18A2,2 0 0,0 20,18Z" /></svg>
132+
<span>Load</span>
133+
</button>
134+
</nav>
144135
145136
<div class="field suffix border round small" style="width: 270px; margin-top: 0; margin-left: 9px; background: #FFF;">
146137
<select @change="${(e) => this._onSelectExample(e)}" style="font-size: .875rem; cursor: pointer;">

src/eodash-style-editor.js

+1-5
Original file line numberDiff line numberDiff line change
@@ -436,11 +436,7 @@ export class EodashStyleEditor extends LitElement {
436436
${this._isMapLoading
437437
? html`<div id="style-editor-loader">
438438
<div style="display: flex; width: 100%; height: 100%; justify-content: center; align-items: center">
439-
<div class="trinity-rings-spinner" style="transform: scale(2)">
440-
<div class="circle"></div>
441-
<div class="circle"></div>
442-
<div class="circle"></div>
443-
</div>
439+
<progress class="circle large"></progress>
444440
</div>
445441
</div>`
446442
: html`<eox-map

0 commit comments

Comments
 (0)