File tree 7 files changed +44
-29
lines changed
7 files changed +44
-29
lines changed Original file line number Diff line number Diff line change 11
11
{% include hub_icons.html left-icon="full-hub-icon-selected.svg" right-icon="compact-hub-icon.svg" index-url="developer-models" compact-url="developer-models/compact" %}
12
12
13
13
{% endif %}
14
+
15
+ {% include hub_sort.html %}
16
+
14
17
</ div >
15
18
16
19
{% include hub_search.html %}
Original file line number Diff line number Diff line change 11
11
{% include hub_icons.html left-icon="full-hub-icon-selected.svg" right-icon="compact-hub-icon.svg" index-url="research-models" compact-url="research-models/compact" %}
12
12
13
13
{% endif %}
14
+
15
+ {% include hub_sort.html %}
16
+
14
17
</ div >
15
18
16
19
{% include hub_search.html %}
Original file line number Diff line number Diff line change
1
+ < a id ="dropdownSortLeft " data-toggle ="dropdown " data-target ="#dropdownSortMenuLeft " >
2
+ Sort < img src ="{{ site.baseurl }}/assets/images/filter-arrow.svg ">
3
+ </ a >
4
+
5
+ < div class ="dropdown-menu sort-menu " id ="dropdownSortMenuLeft ">
6
+ < div class ="hub-filter-menu ">
7
+ < ul >
8
+ < li >
9
+ < a class = "hub-filter " id ="sortLowLeft "> Lowest</ a >
10
+ </ li >
11
+
12
+ < li >
13
+ < a class = "hub-filter " id ="sortHighLeft "> Highest</ a >
14
+ </ li >
15
+ </ ul >
16
+ </ div >
17
+ </ div >
Original file line number Diff line number Diff line change 68
68
69
69
.compact-hub-icon {
70
70
margin-left : 0.5rem ;
71
+ margin-right : rem (50px );
71
72
& :hover {
72
- cursor : pointer ;
73
+ cursor : pointer ;
73
74
}
74
75
}
75
76
Original file line number Diff line number Diff line change 18
18
}
19
19
}
20
20
21
+ .hub #hub-search-icon {
22
+ @media (max-width : 480px ) {
23
+ margin-top : 1rem ;
24
+ }
25
+ }
26
+
21
27
#hub-search-icon {
22
28
background-image : url ($baseurl + " /assets/images/search-icon.svg" );
23
29
color : transparent ;
Original file line number Diff line number Diff line change 159
159
160
160
#hub-icons {
161
161
height : 2rem ;
162
+ @media (max-width : 480px ) {
163
+ position : initial ;
164
+ padding-left : 0 ;
165
+ padding-top : 1rem ;
166
+ }
162
167
}
163
168
164
169
.hub.hub-detail .main-content-wrapper {
287
292
position : absolute ;
288
293
}
289
294
290
- .hub #dropdownSort , #dropdownSortLeft {
291
- margin- left : rem ( 100 px ) ;
295
+ .hub .sort-menu {
296
+ left : 0 ;
292
297
}
293
298
294
- .hub .sort-menu {
295
- left : 63% ;
296
- @include desktop {
297
- left : 25% ;
298
- }
299
+ .hub-index .sort-menu {
300
+ left : 23% ;
299
301
}
300
302
301
303
.hub .research-hub-title ,
540
542
}
541
543
542
544
.hub .hub-tags-container {
543
- width : 40% ;
544
-
545
+ width : 60% ;
545
546
& .active {
546
547
width : 0 ;
547
548
}
Original file line number Diff line number Diff line change @@ -32,26 +32,10 @@ <h3 class="research-hub-sub-title">Explore and extend models<br> from the latest
32
32
33
33
< nav class ="navbar navbar-expand-lg navbar-light research-menu col-12 ">
34
34
{% include hub_model_tags.html category="researchers" %}
35
- {% include hub_search.html %}
36
- <!--
37
- <a id="dropdownSortLeft" data-toggle="dropdown" data-target="#dropdownSortMenuLeft" >
38
- Sort <img src="{{ site.baseurl }}/assets/images/filter-arrow.svg">
39
- </a>
40
-
41
- <div class="dropdown-menu sort-menu" id="dropdownSortMenuLeft">
42
- <div class="hub-filter-menu">
43
- <ul>
44
- <li>
45
- <a class= "hub-filter" id="sortLowLeft">Lowest</a>
46
- </li>
47
-
48
- <li>
49
- <a class= "hub-filter" id="sortHighLeft">Highest</a>
50
- </li>
51
- </ul>
52
- </div>
35
+ < div id ="hub-icons " class ="hub-select-container col-5 ">
36
+ {% include hub_sort.html %}
53
37
</ div >
54
- -->
38
+ {% include hub_search.html %}
55
39
</ nav >
56
40
57
41
< hr class ="hub-divider ">
You can’t perform that action at this time.
0 commit comments