Newer
Older
@import "../helpers/mixins";
@import "../helpers/variables";
@import "../helpers/functions";
//
// People
// --------------------------------------------------
//## People grid.
.view-people-directory {
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
h3 {
text-transform: uppercase;
}
.row {
display: flex;
@media (max-width: 768px) {
display: block;
}
}
.view-header {
margin-bottom: 20px;
padding-bottom: 20px;
border-bottom: solid #979797 3px;
}
.people-row {
font-size: 14px;
line-height: 1.6;
display: flex;
@media (max-width: 768px) {
display: block;
}
.inner-people-grid {
flex: 1;
background: #F9F9F9;
padding: 20px;
margin-bottom: 30px;
@media (max-width: 768px) {
flex: none;
}
.views-field-user-picture {
margin-bottom: 10px;
}
.views-field-nothing-1 {
img {
width: 100%;
}
}
.views-field-field-first-name,
.views-field-field-last-name {
font-weight: bold;
font-size: 16px;
.square-opic {
max-width: 220px;
max-height: 220px;
overflow: hidden;
position: relative;
&:after {
content: "";
display: block;
padding-bottom: 100%;
}
@media (max-width: 768px) {
max-width: 100%;
max-height: 630px;
}
}
.square-opic-content {
position: absolute;
width: 100%;
height: 100%;
}
// --------------------------------------------------
//## Siderbar and Filters form.
.block-views-exposed-filter-blockpeople-directory-page-1 {
padding: 20px 0px;
}
#views-exposed-form-people-directory-page-1 {
.form-item {
width: 100%;
}
.form-checkbox {
-webkit-appearance: none;
-moz-appearance: none;
-ie-appearance: none;
background-color: #fafafa;
border: 1px solid #cacece;
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
padding: 9px;
border-radius: 3px;
display: inline-block;
position: relative;
top: 4px;
&:active, &:checked:active {
box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px 1px 3px rgba(0,0,0,0.1);
}
&:checked {
background-color: #442369;
border: 1px solid #adb8c0;
box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px -15px 10px -12px rgba(0,0,0,0.05), inset 15px 10px -12px rgba(255,255,255,0.1);
color: #99a1a7;
}
&:checked:after {
content: '\2713';
font-size: 14px;
position: absolute;
top: 0px;
left: 3px;
color: $white;
}
}
.form-wrapper {
margin-top: 20px;
legend {
text-transform: uppercase;
color: #4A4A4A;
font-weight: bold;
font-size: 18px;
border-bottom: none;
margin-bottom: 5px;
}
}
label {
width: 90%;
margin-left: 28px;
input {
margin-left: -28px;
margin-right: 8px;
}
}
}
// --------------------------------------------------
//## Mobile View.
#views-exposed-form-people-directory-page-2 {
background: #D8D8D8;
padding: 10px;
details {
background: #ffffff;
padding: 5px 10px;
border-radius: 8px;
margin: 10px 0;
}
.ppl-filter-heading {
color: #225D62;
margin: 5px 0;
text-transform: capitalize;
}
.ppl-taxon-heading {
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
228
229
230
231
232
233
234
235
236
}
.form-checkbox {
-webkit-appearance: none;
-moz-appearance: none;
-ie-appearance: none;
background-color: #fafafa;
border: 1px solid #cacece;
box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px -15px 10px -12px rgba(0,0,0,0.05);
padding: 9px;
border-radius: 3px;
display: inline-block;
position: relative;
top: 4px;
margin-right: 5px;
&:active, &:checked:active {
box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px 1px 3px rgba(0,0,0,0.1);
}
&:checked {
background-color: #442369;
border: 1px solid #adb8c0;
box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px -15px 10px -12px rgba(0,0,0,0.05), inset 15px 10px -12px rgba(255,255,255,0.1);
color: #99a1a7;
}
&:checked:after {
content: '\2713';
font-size: 14px;
position: absolute;
top: 0px;
left: 3px;
color: $white;
}
}
Brian Canini
committed
#edit-submit-people-directory {
text-transform: uppercase;
}
#edit-reset {
text-transform: uppercase;
}
// --------------------------------------------------
//## Bio.
.path-user .page-header {
display: none;
}
.bio-header-top {
background: #F9F9F9;
.bio-top-right {
width: 100%;
}
}
.field--name-field-google-map-location {
.field--item {
padding: 20px 0;
.geolocation-formatter-map-wrapper {
border: solid 2px #979797;
}
}
}
Brian Canini
committed
.bio-top-left {
h1 {
margin-bottom: 0;
}
.bio-pronoun {
font-size: 14px;
font-style: italic;
}
Brian Canini
committed
}
}
.bio-header {
width: 100%;
float: left;
margin: 0 0 20px;
}
.bio-btm-left {
margin-bottom: 40px;
h2 {
font-size: 22px;
}
.field--name-field-media-image {
padding-bottom: 0;
.img-responsive {
width: 100%;
}
}
@media (max-width: 1030px) {
height: auto;
}
}
.taxonomy-people-heading {
float: left;
width: 100%;
padding-top: 15px;
h2 {
line-height: 0;
font-size: 18px;
}
}