Skip to content

Commit 2632a86

Browse files
author
Daniel Bruce
committed
Adds some UI stylings for spider.
1 parent dc44ac4 commit 2632a86

13 files changed

+3000
-93
lines changed

spider/assets/bootstrap/css/bootstrap.min.css

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

spider/assets/bootstrap/js/bootstrap.min.js

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

spider/assets/css/styles.css

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
.page {
2+
padding-top: 30px;
3+
}
4+
5+
.filters .filters-list .filters-list-item {
6+
padding-left: 0.5rem;
7+
}
8+
9+
.search-form {
10+
padding-bottom: 15px;
11+
}
12+
13+
.search-form .input-group .input-group-prepend .input-group-text {
14+
background-color: transparent;
15+
border-right: 0;
16+
}
17+
18+
.search-form .input-group .form-control {
19+
border-left: 0;
20+
}
21+
22+
.search-form .input-group .ais-search-box {
23+
flex: 1 1 auto;
24+
}
25+
26+
.hits-container {
27+
padding-top: 10px;
28+
}
29+
30+
.ais-hits--item {
31+
border-bottom: 1px solid #dee2e6;
32+
padding-top: 15px;
33+
}
34+
35+
.ais-hits--item:first-child {
36+
padding-top: 0;
37+
}
38+
39+
.ais-hits--item:last-child {
40+
border-bottom: 0;
41+
}
42+
43+
.ais-hits--item .list-inline li {
44+
max-width: 200px;
45+
overflow: hidden;
46+
text-overflow: ellipsis;
47+
white-space: nowrap;
48+
}
49+
50+
.ais-hits--item .list-inline li::before {
51+
margin-right: 0.5rem;
52+
content: "|";
53+
}
54+
55+
.ais-hits--item .list-inline li:first-child::before {
56+
display: none;
57+
}
58+
59+
.nav .nav-item i.fa {
60+
margin-right: 5px;
61+
}
62+
63+
footer {
64+
bottom: 0;
65+
left: auto;
66+
right: auto;
67+
width: 100%;
68+
padding-top: 10px;
69+
padding-bottom: 10px;
70+
}
71+
72+
footer .footer-links {
73+
margin-left: 1rem;
74+
}
75+
76+
footer .footer-link {
77+
text-decoration: underline;
78+
}
79+
80+
footer .footer-link-divider {
81+
padding: 0 0.5rem;
82+
}

spider/assets/fonts/FontAwesome.otf

132 KB
Binary file not shown.

spider/assets/fonts/font-awesome.min.css

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
162 KB
Binary file not shown.

spider/assets/fonts/fontawesome-webfont.svg

Lines changed: 2671 additions & 0 deletions
Loading
162 KB
Binary file not shown.
95.7 KB
Binary file not shown.
75.4 KB
Binary file not shown.

0 commit comments

Comments
 (0)