Skip to content

Commit 0f3c8e4

Browse files
authored
Merge pull request #104 from imsdev/95-responsive-navigation-header
Responsive navigation header
2 parents 6f5372d + 85a9c8f commit 0f3c8e4

File tree

4 files changed

+550
-400
lines changed

4 files changed

+550
-400
lines changed
Lines changed: 106 additions & 106 deletions
Original file line numberDiff line numberDiff line change
@@ -1,193 +1,193 @@
11
/* ICON */
22
.search-icon {
3-
float: right;
4-
height: 1.25em;
5-
width: 1.25em;
3+
float: right;
4+
height: 1.25em;
5+
width: 1.25em;
66
}
77

88
/* SEARCH RESULTS */
99
#search-results {
10-
position: absolute;
11-
width: 40%;
12-
color: black;
13-
margin-top: 3em;
14-
z-index: 0;
10+
position: absolute;
11+
width: 40%;
12+
color: black;
13+
margin-top: 3em;
14+
z-index: 0;
15+
}
16+
17+
@media screen and (max-width: 63.9375em) {
18+
#search-results {
19+
width: 85%;
20+
}
1521
}
1622

1723
.hide-results {
18-
visibility: hidden;
19-
display: none;
24+
visibility: hidden;
25+
display: none;
2026
}
2127

2228
.result {
23-
padding: 0.625em 1em;
24-
border-top: solid lightgray;
25-
background-color: whitesmoke;
26-
border-width: 1px;
27-
margin-right: 3em;
28-
transition: .2s;
29+
padding: 0.625em 1em;
30+
border-top: solid lightgray;
31+
background-color: whitesmoke;
32+
border-width: 1px;
33+
margin-right: 3em;
34+
transition: 0.2s;
2935
}
3036

3137
.result:hover {
32-
background-color: #dddddd;
33-
}
38+
background-color: #dddddd;
39+
}
3440

3541
.result:hover + .tipue_search_content_text {
36-
background-color: #dddddd;
42+
background-color: #dddddd;
3743
}
3844

3945
/* TITLE */
4046
.tipue_search_content_title {
41-
width: 100%;
47+
width: 100%;
4248
}
4349

4450
.tipue_search_content_title p {
45-
padding: 0;
46-
padding-right: 0.5em;
47-
margin: 0;
48-
overflow-wrap: break-word;
49-
flex-grow: 2;
51+
padding: 0;
52+
padding-right: 0.5em;
53+
margin: 0;
54+
overflow-wrap: break-word;
55+
flex-grow: 2;
5056
}
5157

5258
.tipue_search_content_title a {
53-
color: black;
54-
padding-left: 2em;
55-
display: flex;
56-
flex-flow: row nowrap;
59+
color: black;
60+
padding-left: 2em;
61+
display: flex;
62+
flex-flow: row nowrap;
5763
}
5864

5965
/* COUNT */
6066
#tipue_search_results_count {
61-
text-align: center;
62-
margin: 1em;
63-
display: none;
67+
text-align: center;
68+
margin: 1em;
69+
display: none;
6470
}
6571

6672
/* WARNINGS */
6773
#tipue_search_warning {
68-
text-align: left;
69-
padding: 1em;
70-
margin-right: 3em;
71-
color: #333;
72-
background-color: whitesmoke;
74+
text-align: left;
75+
padding: 1em;
76+
margin-right: 3em;
77+
color: #333;
78+
background-color: whitesmoke;
7379
}
7480

7581
#tipue_search_warning a {
76-
color: #5396ea;
77-
text-decoration: none;
82+
color: #5396ea;
83+
text-decoration: none;
7884
}
7985

8086
#tipue_search_warning a:hover {
81-
color: #555;
87+
color: #555;
8288
}
8389

8490
/* DESCRIPTIONS */
8591
.tipue_search_content_text {
86-
color: #333;
87-
word-wrap: break-word;
88-
hyphens: auto;
89-
padding: 0em 3em;
90-
overflow: hidden;
91-
margin-right: 3em;
92-
max-height: 0;
93-
transition: .2s;
92+
color: #333;
93+
word-wrap: break-word;
94+
hyphens: auto;
95+
padding: 0em 3em;
96+
overflow: hidden;
97+
margin-right: 3em;
98+
max-height: 0;
99+
transition: 0.2s;
94100
}
95101

96102
.tipue_search_content_bold {
97-
color: #333;
98-
/* font-weight: 600; */
103+
color: #333;
104+
/* font-weight: 600; */
99105
}
100106

101107
.tipue_search_content_debug {
102-
color: #333;
103-
margin: 5px 0;
108+
color: #333;
109+
margin: 5px 0;
104110
}
105111

106112
/* DROPDOWN */
107113
.fa-angle-down {
108-
float: left;
114+
float: left;
109115
}
110116

111117
.fa-angle-right {
112-
transition: .2s;
113-
}
118+
transition: 0.2s;
119+
}
114120

115-
.rotArrow {
116-
transform: rotate(90deg);
117-
transition: .2s;
118-
}
121+
.rotArrow {
122+
transform: rotate(90deg);
123+
transition: 0.2s;
124+
}
119125

120126
.search_content_drop {
121-
max-height: 3.75em;
122-
padding-bottom: 1em;
123-
overflow: hidden;
124-
background-color: whitesmoke;
125-
transition: .2s;
127+
max-height: 3.75em;
128+
padding-bottom: 1em;
129+
overflow: hidden;
130+
background-color: whitesmoke;
131+
transition: 0.2s;
126132
}
127133

128134
.cordion {
129-
background-color: none;
130-
cursor: pointer;
131-
position: absolute;
132-
border: none;
133-
outline: none;
134-
background-color: rgba(0, 0, 0, 0);
135-
transition: .4s;
135+
background-color: none;
136+
cursor: pointer;
137+
position: absolute;
138+
border: none;
139+
outline: none;
140+
background-color: rgba(0, 0, 0, 0);
141+
transition: 0.4s;
136142
}
137143

138144
/* PAGINATION FOOTER */
139145
#tipue_search_foot {
140-
background-color: whitesmoke;
141-
margin-top: 0em;
142-
margin-right: 3em;
143-
padding-top: 1em;
146+
background-color: whitesmoke;
147+
margin-top: 0em;
148+
margin-right: 3em;
149+
padding-top: 1em;
144150
}
145151

146152
#tipue_search_foot_boxes {
147-
padding: 0;
148-
cursor: pointer;
149-
color: black;
150-
margin-left: auto;
151-
margin-right: auto;
152-
display: table;
153+
padding: 0;
154+
cursor: pointer;
155+
color: black;
156+
margin-left: auto;
157+
margin-right: auto;
158+
display: table;
153159
}
154160

155161
.tipue_search_foot_box {
156-
color: black;
157-
transition: .2s;
162+
color: black;
163+
transition: 0.2s;
158164
}
159165

160166
#tipue_search_foot_boxes a {
161-
height: 2.2em;
162-
width: 1.75em;
163-
display: inline-block;
164-
text-align: center;
167+
height: 2.2em;
168+
width: 1.75em;
169+
display: inline-block;
170+
text-align: center;
165171
}
166172

167173
#tipue_search_foot_boxes li {
168-
height: 2.2em;
169-
width: 1.75em;
170-
display: inline-block;
171-
text-align: center;
172-
list-style: none;
173-
padding: 0em 0.3125em;
174-
margin: 0em 0.625em;
174+
height: 2.2em;
175+
width: 1.75em;
176+
display: inline-block;
177+
text-align: center;
178+
list-style: none;
179+
padding: 0em 0.3125em;
180+
margin: 0em 0.625em;
175181
}
176182

177183
#tipue_search_foot_boxes li:hover {
178-
cursor: pointer;
179-
border-bottom: solid gray;
180-
border-width: 4px;
181-
transition: .2s;
184+
cursor: pointer;
185+
border-bottom: solid gray;
186+
border-width: 4px;
187+
transition: 0.2s;
182188
}
183189

184190
.current {
185-
border-bottom: solid #0F6FFE;
186-
border-width: 4px;
191+
border-bottom: solid #0f6ffe;
192+
border-width: 4px;
187193
}
188-
189-
190-
191-
192-
193-

0 commit comments

Comments
 (0)