File tree Expand file tree Collapse file tree 1 file changed +81
-0
lines changed Expand file tree Collapse file tree 1 file changed +81
-0
lines changed Original file line number Diff line number Diff line change
1
+ form .search-field {
2
+ .search-icon {
3
+ padding : 0.5em 0 0.5em 0.5em ;
4
+ background-color : @searchbar-bg ;
5
+ .rounded-corners (0.25em );
6
+ border-top-right-radius : unset ;
7
+ border-bottom-right-radius : unset ;
8
+ min-height : 26px ;
9
+ margin-bottom : 0.25em ;
10
+ }
11
+
12
+ input .search-field {
13
+ .rounded-corners (0.25em );
14
+ .appearance (none );
15
+ padding : 0.5em ;
16
+ margin-bottom : 0.5em ;
17
+ margin-right : 1em ;
18
+ background-color : @searchbar-bg ;
19
+ border : none ;
20
+ border-top-left-radius : unset ;
21
+ border-bottom-left-radius : unset ;
22
+ background-image : unset ;
23
+ }
24
+
25
+ input [type= " submit" ] {
26
+ .rounded-corners (3px );
27
+ margin-bottom : 0.5em ;
28
+ max-width : 10em ;
29
+ white-space : nowrap ;
30
+ overflow : hidden ;
31
+ text-overflow : ellipsis ;
32
+ background-color : @primary-button-bg ;
33
+ color : @primary-button-color ;
34
+ border : 2px solid @primary-button-bg ;
35
+ padding : ~ " calc(0.5em - 2px) 1em" ;
36
+ }
37
+
38
+ #term-container {
39
+ margin-top : 1em ;
40
+
41
+ label {
42
+ position : relative ;
43
+
44
+ .trash-icon {
45
+ display : none ;
46
+ position : absolute ;
47
+ right : 9px ;
48
+ top : 1px ;
49
+ }
50
+
51
+ & :hover {
52
+ // badge for read-only mode
53
+ input [type= " button" ] {
54
+ background-color : @search-term-selected-bg ;
55
+ color : @search-term-selected-color ;
56
+ }
57
+
58
+ .trash-icon {
59
+ display : inline-block ;
60
+ color : @cancel-button-color ;
61
+ background-color : @search-term-selected-bg ;
62
+ }
63
+ }
64
+
65
+ // badge
66
+ input [type= " button" ], input [type= " text" ] {
67
+ .rounded-corners (0.25em );
68
+ border : none ;
69
+ padding : 0.5em ;
70
+ margin-right : 0.5em ;
71
+ margin-bottom : 0.5em ;
72
+ max-width : 10em ;
73
+ white-space : nowrap ;
74
+ overflow : hidden ;
75
+ text-overflow : ellipsis ;
76
+ background-color : @search-term-bg ;
77
+ color : @search-term-color ;
78
+ }
79
+ }
80
+ }
81
+ }
You can’t perform that action at this time.
0 commit comments