File tree Expand file tree Collapse file tree 6 files changed +17
-16
lines changed Expand file tree Collapse file tree 6 files changed +17
-16
lines changed Original file line number Diff line number Diff line change 1
1
@import " common-style" ;
2
-
3
- :global(mark ) {
4
- background-color : inherit ;
5
- font-weight : var (--font-weight-semi-bold );
6
- }
Original file line number Diff line number Diff line change 20
20
import type { KBStates , Resource } from ' @nuclia/core' ;
21
21
import { Observable } from ' rxjs' ;
22
22
import { setupSuggestionsAndPredictions , setupTriggerSearch } from ' ./core/search-bar' ;
23
+ import globalCss from ' ./_video-widget/_global.scss' ;
23
24
24
25
export let backend = ' https://nuclia.cloud/api' ;
25
26
export let widgetid = ' ' ;
126
127
};
127
128
</script >
128
129
130
+ <svelte:element this ="style" >{@html globalCss }</svelte:element >
131
+
129
132
<div class ="nuclia-widget" {style } data-version =" __NUCLIA_DEV_VERSION__" >
130
133
{#if ready }
131
134
{#if type === ' input' }
Original file line number Diff line number Diff line change 9
9
import { setLang } from ' ../core/i18n' ;
10
10
import SearchInput from ' ../widgets/search-input/SearchInput.svelte' ;
11
11
import { setupTriggerSearch } from ' ../core/search-bar' ;
12
+ import globalCss from ' ./_global.scss' ;
12
13
13
14
export let backend = ' https://nuclia.cloud/api' ;
14
15
export let widgetid = ' ' ;
68
69
});
69
70
</script >
70
71
72
+ <svelte:element this ="style" >{@html globalCss }</svelte:element >
71
73
<div class =" nuclia-widget" data-version =" __NUCLIA_DEV_VERSION__" >
72
74
{#if ready }
73
75
<SearchInput {placeholder } searchBarWidget ={true } />
Original file line number Diff line number Diff line change 13
13
flex-direction : column ;
14
14
gap : var (--rhythm-3 );
15
15
}
16
-
17
- :global(mark ) {
18
- background-color : inherit ;
19
- font-weight : var (--font-weight-semi-bold );
20
- }
21
-
22
- :global(.ellipsis ) {
23
- overflow : hidden ;
24
- text-overflow : ellipsis ;
25
- white-space : nowrap ;
26
- }
Original file line number Diff line number Diff line change 8
8
import { _ } from ' ../core/i18n' ;
9
9
import LoadingDots from ' ../components/spinner/LoadingDots.svelte' ;
10
10
import VideoTile from ' ./VideoTile.svelte' ;
11
+ import globalCss from ' ./_global.scss' ;
11
12
12
13
const showResults = nucliaStore ().triggerSearch .pipe (map (() => true ));
13
14
const results = nucliaState ().results ;
43
44
});
44
45
</script >
45
46
47
+ <svelte:element this ="style" >{@html globalCss }</svelte:element >
46
48
<div class =" nuclia-widget sw-video-results" data-version =" __NUCLIA_DEV_VERSION__" >
47
49
{#if $showResults }
48
50
{#if $hasSearchError }
Original file line number Diff line number Diff line change
1
+ mark {
2
+ background-color : inherit ;
3
+ font-weight : var (--font-weight-semi-bold );
4
+ }
5
+
6
+ .ellipsis {
7
+ overflow : hidden ;
8
+ text-overflow : ellipsis ;
9
+ white-space : nowrap ;
10
+ }
You can’t perform that action at this time.
0 commit comments