File tree Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ import { unstable_batchedUpdates } from "react-dom";
13
13
import { Input } from "semantic-ui-react" ;
14
14
import debounce from "lodash/debounce" ;
15
15
16
+ import styles from "./Search.module.scss" ;
17
+
16
18
const TYPING_DELAY = 1000 ;
17
19
18
20
export default function Search ( { search } ) {
@@ -22,6 +24,7 @@ export default function Search({ search }) {
22
24
fluid
23
25
icon = "search"
24
26
placeholder = "Search..."
27
+ className = { styles . input }
25
28
onChange = { ( _ , data ) => handleChange ( data . value ) }
26
29
/>
27
30
) ;
Original file line number Diff line number Diff line change
1
+ /*
2
+ -*- coding: utf-8 -*-
3
+
4
+ This file is part of REANA.
5
+ Copyright (C) 2022 CERN.
6
+
7
+ REANA is free software; you can redistribute it and/or modify it
8
+ under the terms of the MIT License; see LICENSE file for more details.
9
+ */
10
+
11
+ @import " @palette" ;
12
+
13
+ :global(.ui.input ).input {
14
+ :global (input )::placeholder {
15
+ color : $gray ;
16
+ }
17
+
18
+ :global(input ):focus ::placeholder {
19
+ color : darken ($gray , 30% );
20
+ }
21
+ }
You can’t perform that action at this time.
0 commit comments