Skip to content

Commit 1ff1aa9

Browse files
committed
remove unused css
1 parent 2681d76 commit 1ff1aa9

3 files changed

Lines changed: 17 additions & 101 deletions

File tree

jekyll-tipue-search/assets/tipuesearch/css/tipuesearch-component.css

Lines changed: 0 additions & 82 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@
1212
color: black;
1313
margin-top: 3em;
1414
z-index: 0;
15-
/* max-width: 30em; */
16-
/* background-color: whitesmoke; */
17-
/* margin-right: 3em; */
1815
}
1916

2017
.hide-results {
@@ -29,7 +26,6 @@
2926
border-width: 1px;
3027
margin-right: 3em;
3128
transition: .2s;
32-
/* height: 1em; */
3329
}
3430

3531
.result:hover {
@@ -85,20 +81,6 @@
8581
color: #555;
8682
}
8783

88-
/* URLS */
89-
/* .tipue_search_content_url {
90-
word-wrap: break-word;
91-
hyphens: auto;
92-
}
93-
94-
.tipue_search_content_url a, .tipue_search_related_text a {
95-
color: #5396ea;
96-
text-decoration: none;
97-
}
98-
.tipue_search_content_url a:hover, .tipue_search_related_text a:hover, .tipue_search_related_before, .tipue_search_related_after {
99-
color: #555;
100-
} */
101-
10284
/* DESCRIPTIONS */
10385
.tipue_search_content_text {
10486
color: #333;
@@ -153,25 +135,12 @@
153135
transition: .4s;
154136
}
155137

156-
/* RELATED -? */
157-
/* .tipue_search_related_title {
158-
color: #333;
159-
margin: 26px 0 7px 0;
160-
}
161-
162-
.tipue_search_related_cols {
163-
-webkit-columns: 230px 2;
164-
-moz-columns: 230px 2;
165-
columns: 230px 2;
166-
} */
167-
168138
/* PAGINATION FOOTER */
169139
#tipue_search_foot {
170140
background-color: whitesmoke;
171141
margin-top: 0em;
172142
margin-right: 3em;
173143
padding-top: 1em;
174-
/* margin: 1em 0em; */
175144
}
176145

177146
#tipue_search_foot_boxes {
@@ -215,59 +184,8 @@
215184
.current {
216185
border-bottom: solid #0F6FFE;
217186
border-width: 4px;
218-
/* text-align: center; */
219-
/* width: 40px !important; */
220-
}
221-
222-
/* SEARCH SPINNER */
223-
/* .tipue_search_spinner {
224-
display: none !important;
225-
}
226-
227-
.tipue_search_spinner > div {
228-
background-color: #e3e3e3;
229-
height: 100%;
230-
width: 2px;
231-
display: inline-block;
232-
margin-right: 2px;
233-
-webkit-animation: stretchdelay 1.2s infinite ease-in-out;
234-
animation: stretchdelay 1.2s infinite ease-in-out;
235-
}
236-
237-
.tipue_search_spinner .tipue_search_rect2 {
238-
-webkit-animation-delay: -1.1s;
239-
animation-delay: -1.1s;
240187
}
241188

242-
.tipue_search_spinner .tipue_search_rect3 {
243-
-webkit-animation-delay: -1.0s;
244-
animation-delay: -1.0s;
245-
}
246-
247-
@-webkit-keyframes stretchdelay {
248-
0%, 40%, 100%
249-
{
250-
-webkit-transform: scaleY(0.4)
251-
}
252-
20%
253-
{
254-
-webkit-transform: scaleY(1.0)
255-
}
256-
}
257-
258-
@keyframes stretchdelay {
259-
0%, 40%, 100%
260-
{
261-
transform: scaleY(0.4);
262-
-webkit-transform: scaleY(0.4);
263-
}
264-
20%
265-
{
266-
transform: scaleY(1.0);
267-
-webkit-transform: scaleY(1.0);
268-
}
269-
} */
270-
271189

272190

273191

web-components/nav-header/nav-header.css

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ form div {
4949
border: lightgray solid 2px;
5050
}
5151

52+
form div > img {
53+
padding: 0.1em 0.5em;
54+
}
55+
5256
form input {
5357
font-size: 1.125em;
5458
}
@@ -62,30 +66,13 @@ input {
6266
padding: 0.4em 0em;
6367
}
6468

65-
.search-bar-focused {
66-
border-color: #42a7ec;
67-
}
68-
69-
form div > img {
70-
padding: 0.1em 0.5em;
71-
}
72-
7369
.masthead {
7470
position: relative;
7571
display: flex;
7672
justify-content: space-between;
7773
height: 3em;
7874
}
7975

80-
#search-icon {
81-
width: 1.4em;
82-
}
83-
84-
#clear-icon {
85-
cursor: pointer;
86-
display: none;
87-
}
88-
8976
.logo {
9077
display: flex;
9178
flex-flow: row nowrap;
@@ -105,6 +92,19 @@ form div > img {
10592
width: 40%;
10693
}
10794

95+
#search-icon {
96+
width: 1.4em;
97+
}
98+
99+
#clear-icon {
100+
cursor: pointer;
101+
display: none;
102+
}
103+
104+
.search-bar-focused {
105+
border-color: #42a7ec;
106+
}
107+
108108
.hamburger-menu {
109109
z-index: 400;
110110
background-color: #1c1c1c;

web-components/nav-header/nav-header.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ function createComponent(html) {
3838
const menuItems = dropdownMenu.querySelectorAll('a');
3939
const documentationMenuItem = menuItems[menuItems.length - 2];
4040
const supportMenuItem = menuItems[menuItems.length - 1];
41-
4241
// Search
4342
const searchForm = shadow.getElementById('search-form');
4443
const searchInput = shadow.getElementById('search-input');
@@ -111,7 +110,6 @@ function createComponent(html) {
111110

112111
// Helper functions
113112
// --------------------------------------------------------------------------------------------------
114-
115113
// Toggle dropdown navigation menu
116114
function toggleMenu() {
117115
dropdownMenu.classList.toggle('show-menu');

0 commit comments

Comments
 (0)