File tree Expand file tree Collapse file tree
src/themes/datashare/app/shared/search-form Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<!-- // DATASHARE - start -->
22< div class ="datashare-search-form-container px-3 py-3 my-3 bg-primary text-white ">
3- < h3 class =" border-bottom " > Search Datashare</ h3 >
3+ < h3 > Search Datashare</ h3 >
44 < form #form ="ngForm " (ngSubmit) ="onSubmit(form.value) " action ="/search ">
55 < div >
66 < div class ="form-group input-group ">
@@ -11,7 +11,7 @@ <h3 class="border-bottom">Search Datashare</h3>
1111 {{dsoNameService.getName(selectedScope | async) || ('search.form.scope.all' | translate)}}
1212 </ button >
1313 </ div >
14- < input type ="text " [(ngModel)] ="query " name ="query " class ="form-control no-border "
14+ < input type ="text " [(ngModel)] ="query " name ="query " class ="datashare-search-form-input form-control no-border "
1515 [attr.aria-label] ="searchPlaceholder " [attr.data-test] ="'search-box' | dsBrowserOnly "
1616 [placeholder] ="searchPlaceholder ">
1717
Original file line number Diff line number Diff line change 22 border-radius : 0.5rem ;
33}
44
5+ .datashare-search-form-input {
6+ /* top-left | top-right | bottom-right | bottom-left */
7+ border-radius : 0.25rem 0 0 0.25rem !important ;
8+ }
9+
510
611.scope-button {
712 color : var (--datashare-blue-muted ) !important ;
813 background-color : #fff !important ;
9- margin-right : 1rem !important ;
14+ border-radius : 0.25rem !important ;
15+ margin-right : 1rem ;
1016}
1117
1218.search-button.btn {
1319 background-color : #fff !important ;
14- padding : .1 rem !important ;
20+ // padding: .2rem !important;
1521 border-left : none !important ;
22+ border-right : none !important ;
23+
24+ }
25+
26+ .search-button .search-icon {
27+ margin-left : -1px ; /* Example adjustment */
28+ padding-right : 0px ;
1629}
1730
31+ .btn {
32+ line-height : 1rem !important ;
33+ }
1834
1935.search-icon {
2036 background-image : url (' /assets/datashare/images/search.svg' );
2440 background-color : transparent ; // Explicitly set to transparent
2541 width : 1.2rem ;
2642 height : 1.5rem ;
27- margin-right : 0.5rem ;
43+ /* top-left | top-right | bottom-right | bottom-left */
44+ border-radius : 0 0.25rem 0.25rem 0 !important ;
45+ border : none !important ;
2846 display : inline-block ;
2947 vertical-align : middle ;
3048 filter : brightness (0 ) saturate (100% ) invert (30% );
31- }
49+ }
You can’t perform that action at this time.
0 commit comments