@@ -44,7 +44,7 @@ $orange-hover: rgba(236, 151, 54, 0.8);
4444 z-index : 999 ;
4545
4646 & .search-all {
47- padding : 0 10px 0 10px ;
47+ padding : 2 px 10px 0 10px ;
4848 margin : 0 0 10px 0 ;
4949 font-weight : 900 ;
5050 background-color : $blue-searchall-color ;
@@ -58,37 +58,6 @@ $orange-hover: rgba(236, 151, 54, 0.8);
5858 position : relative ;
5959 top : 4px ;
6060 }
61-
62- & :after {
63- content : ' ' ;
64- position : absolute ;
65- top : 0 ;
66- right : 0 ;
67- border-right : 15px solid white ;
68- border-top : 20px solid $blue-searchall-color ;
69- width : 0 ;
70- }
71-
72- & :before {
73- content : ' ' ;
74- position : absolute ;
75- top : 0 ;
76- left : 0 ;
77- border-left : 15px solid white ;
78- border-top : 20px solid $blue-searchall-color ;
79- width : 0 ;
80- }
81-
82- @media (max-width : 991px ) {
83- & :after {
84- border-top : 21px solid $blue-searchall-color ;
85- }
86-
87- & :before {
88- border-top : 21px solid $blue-searchall-color ;
89- }
90- }
91-
9261 & :hover {
9362 opacity : .8 ;
9463 }
@@ -105,27 +74,11 @@ $orange-hover: rgba(236, 151, 54, 0.8);
10574 & .result-title {
10675 font-weight : bold ;
10776 margin : 5px 0 0 0 ;
108- padding : 0 0 0 10 px ;
109- width : 60 % ;
77+ padding : 5 px ;
78+ width : 40 % ;
11079 background-color : $category-label-green ;
11180 color : white ;
11281 cursor : default ;
113-
114- & :after {
115- content : ' ' ;
116- position : absolute ;
117- right : 40% ;
118- border-right : 15px solid white ;
119- border-top : 20px solid $category-label-green ;
120- width : 0 ;
121- }
122-
123- @media (max-width : 767px ) {
124- width : 100% ;
125- & :after {
126- display : none ;
127- }
128- }
12982 }
13083
13184 & .result-list {
@@ -134,6 +87,10 @@ $orange-hover: rgba(236, 151, 54, 0.8);
13487 color : black !important ;
13588
13689 & .result {
90+ display : flex ;
91+ align-items : center ;
92+ flex-direction : row ;
93+ justify-content : space-around ;
13794 padding : 5px 10px 0 25px ;
13895 height : 25px ;
13996 outline : none ;
@@ -152,6 +109,7 @@ $orange-hover: rgba(236, 151, 54, 0.8);
152109 white-space : nowrap ;
153110 overflow : hidden ;
154111 text-overflow : ellipsis ;
112+ flex : 1 1 auto ;
155113 }
156114
157115 & .id {
@@ -165,8 +123,6 @@ $orange-hover: rgba(236, 151, 54, 0.8);
165123 & .term-result {
166124 & .result-list {
167125 & .result .id {
168- display : block ;
169- float : left ;
170126 width : 60px ;
171127 }
172128 }
@@ -175,21 +131,10 @@ $orange-hover: rgba(236, 151, 54, 0.8);
175131 & .disease-result {
176132 & .result-list {
177133 & .result .id {
178- display : block ;
179- float : left ;
180134 width : 50px ;
181135 }
182136 }
183137 }
184-
185- & .gene-result {
186- & .result-list {
187- & .result .id {
188- display : block ;
189- float : left ;
190- }
191- }
192- }
193138 }
194139}
195140
0 commit comments