search.scss 1.5 KB
Newer Older
Ryan Dee's avatar
Ryan Dee committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// TODO: Import DCF mixins
// @import "mixins/_mixins.padding.scss";


// Template overrides
.embed #visitorChat,
#wdn_search {
  display: none !important;
}


// TODO: update search form to use app sub-theme
#searchform {
  background: #38431b url(../images/050419.jpg) 50% 50% no-repeat;
  background-size: cover;
  text-align: center;
}

Jeff Sturek's avatar
Jeff Sturek committed
19
#searchform .dcf-input-group {
Ryan Dee's avatar
Ryan Dee committed
20
  margin: 0 auto;
Jeff Sturek's avatar
Jeff Sturek committed
21
  max-width: 30em!important;
Ryan Dee's avatar
Ryan Dee committed
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
}

.result-tab li + li::before {
  content: '\b7'; // middle-dot + space
  padding-left: .43em;
  padding-right: .43em;
}

.result-tab li.selected a {
  color: #2e2e2d;
}

.search-results {
  opacity: 0;
  transition: opacity 400ms;
}

.search-results.active {
  opacity: 1;
}

Ryan Dee's avatar
Ryan Dee committed
43
.search-results h3,
Ryan Dee's avatar
Ryan Dee committed
44
45
46
47
48
49
50
51
52
.google-search {
	display: none;
}


// Directory Styles
// TODO: revisit (and remove?) after Directory has been updated to 5.0
#ppl_results h3,
#ppl_results h4,
Ryan Dee's avatar
Ryan Dee committed
53
54
55
56
#ppl_results .result_head,
#ppl_results .cInfo,
#ppl_results .overflow .roles	.organization-name,
[data-uid="kfarrell2"] .given-name {
Ryan Dee's avatar
Ryan Dee committed
57
58
59
60
61
  display: none;
}

#ppl_results .ppl_Sresult,
#ppl_results .dep_result {
Ryan Dee's avatar
Ryan Dee committed
62
  margin-bottom: 1.77em;
Ryan Dee's avatar
Ryan Dee committed
63
64
65
66
67
68
69
70
}

#ppl_results .overflow > .recordDetails {
  align-self: center;
  flex: 1 1 auto;
}

#ppl_results .overflow .roles li {
Ryan Dee's avatar
Ryan Dee committed
71
  margin-bottom: .32em;
Ryan Dee's avatar
Ryan Dee committed
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
}

#ppl_results .overflow .roles:last-child {
  margin-bottom: 0;
}

#ppl_results .overflow .roles .title,
#ppl_results .overflow .roles .organization-unit {
  display: block;
}

#ppl_results .given-name {
  font-size: 1rem;
  margin-left: 1em;
  text-transform: uppercase;
}