ui: change fragment warning style
This commit is contained in:
parent
db0fd1af05
commit
7dcf4afe52
2 changed files with 3 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ class UiTree extends UiWidget {
|
|||
super(options)
|
||||
|
||||
this.mounted = false
|
||||
this.fragment = this.container.appendChild(html`<div class="fragment-mode-warning" title="${locales('fragment_mode_explanation')}">${raw(icon('exclamation-triangle'))} ${locales('fragment_mode_warning')}</div>`)
|
||||
this.fragment = this.container.appendChild(html`<div class="fragment-mode-warning" title="${locales('fragment_mode_explanation')}">${locales('fragment_mode_warning')}</div>`)
|
||||
this.filter = this.container.appendChild(html`<input class="filter" type="text" placeholder="${locales('tree_filter')}..."/>`)
|
||||
this.wrapper = this.container.appendChild(html`<div class="tree"></div>`)
|
||||
this.list = this.wrapper.appendChild(html`<ol style="--depth: 1"></ol`)
|
||||
|
|
|
|||
|
|
@ -186,7 +186,9 @@
|
|||
.fragment-mode-warning {
|
||||
color: var(--color-warning);
|
||||
padding: 0 $padding;
|
||||
text-align: center;
|
||||
line-height: $field-height;
|
||||
background: var(--color-ui-foreground);
|
||||
border-bottom: 1rem solid var(--color-background);
|
||||
display: none;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue