-
Notifications
You must be signed in to change notification settings - Fork 205
/
Copy path_header.scss
229 lines (186 loc) · 3.94 KB
/
_header.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
/**
* Site header
*/
.site-header {
border-top: 0px solid $grey-color-dark;
border-bottom: 6px solid $clemson-orange;
min-height: 56px;
background-color: $clemson-purple;
// Positioning context for the mobile navigation icon
position: relative;
}
.header-texture {
opacity: $header-background-opacity;
filter: invert($header-background-invert);
}
.site-title, .site-title a {
font-size: 26px;
/* margin-top: 15px;
line-height: 40px; */
letter-spacing: -1px;
margin-bottom: 0;
float: left;
font-weight: 500;
font-family: 'Titillium Web', sans-serif;
color: $header-text-color;
&,
&:visited {
color: $header-text-color;
}
&,
&:hover {
text-decoration: none;
}
}
.site-header .wrapper {
padding-top: 20px;
position: relative;
}
.site-nav ul li a {
color: $header-text-color;
}
.site-nav ul {
text-align: right;
float: right;
padding-top: 9px;
font-size: 85%;
letter-spacing: 1px;
line-height: 1em;
font-weight: 600;
margin: 0;
padding: 0;
list-style-type: none;
text-transform: uppercase;
font-family: 'Titillium Web', sans-serif;
}
.site-nav .menu > li {
border-bottom: 3px solid transparent;
display: inline-block;
height: 23px;
line-height: normal;
margin: 12px 0 0 20px;
padding: 0 0 2px 0;
position: relative;
vertical-align: top;
}
.site-nav a {
display: block;
color: $header-text-color;
}
/* Sub Menu */
.site-nav .sub-menu a {
display: block;
font-weight: normal;
height: auto;
letter-spacing: 0;
line-height: 1.2em;
padding: 4px 10px;
color: $title-color;
}
.site-nav .sub-menu a:hover {
color: $clemson-purple;
}
.site-nav .sub-menu {
background: #ffffff;
border-color: $clemson-purple;
min-width: 265px;
z-index:2147483647;
}
.site-nav .sub-menu li.current-menu-item > a {
border-left-color: $clemson-purple;
border-right-color: $clemson-purple;
border-right: 0px;
}
.sub-menu {
border: 3px solid transparent;
border-top: 0;
/* bg and border colors set in header */
box-shadow: 0 2px 2px rgba(0,0,0,0.4);
-moz-box-shadow: 0 2px 2px rgba(0,0,0,0.4);
-webkit-box-shadow: 0 2px 2px rgba(0,0,0,0.4);
display: none;
right: -10px;
padding: 4px 0 3px 0;
position: absolute;
text-align: left;
text-transform: none;
top: 28px;
min-width: 265px;
z-index:999;
font-family: Helvetica, Arial, Verdana, sans-serif;
}
.sub-menu li {
border-bottom: 0;
display: block;
height: auto;
margin: 3px 0;
padding: 0;
text-align: left;
}
.site-nav li:hover > .sub-menu {
display: block;
}
.site-nav h1 {
position: absolute;
left: -999em;
}
.site-nav {
float: right;
line-height: 40px;
.menu-icon {
display: none;
}
.page-link {
color: $header-text-color;
background: $clemson-purple;
line-height: $base-line-height;
// Gaps between nav items, but not on the first one
&:not(:first-child) {
margin-left: 20px;
}
}
@include media-query($on-palm) {
position: absolute;
top: 9px;
right: 30px;
background-color: $background-color;
border: 1px solid $grey-color-light;
border-radius: 5px;
text-align: right;
.menu-icon {
display: block;
float: right;
width: 36px;
height: 26px;
line-height: 0;
padding-top: 10px;
text-align: center;
> svg {
width: 18px;
height: 15px;
path {
fill: $grey-color-dark;
}
}
}
.trigger {
clear: both;
display: none;
}
&:hover .trigger {
display: block;
padding-bottom: 5px;
}
.page-link {
display: block;
padding: 5px 10px;
}
}
}
.schoolname {
color: $header-text-color;
}
.coursesemeter {
color: $header-text-color;
opacity: 0.9;
}