search-google.scss 3.62 KB
Newer Older
Ryan Dee's avatar
Ryan Dee committed
1
2
3
4
5
6
7
// TODO: Import DCF mixins
// @import "mixins/_mixins.backgrounds.scss";
// @import "mixins/_mixins.margins.scss";
// @import "mixins/_mixins.padding.scss";
// @import "mixins/_mixins.typography.scss";


Jeff Sturek's avatar
Jeff Sturek committed
8

Ryan Dee's avatar
Ryan Dee committed
9
// !UNL Google Search Results Overrides
10
11
12
13
14
15
.unl .gcsc-branding,
.unl .gsc-url-bottom,
.unl .gsc-table-cell-snippet-close .gs-title {
  display: none;
}

16
17
18
19
20
21
.unl .google-results table,
.unl .google-results tbody th,
.unl .google-results tbody td {
  border: 0 !important;
}

Ryan Dee's avatar
Ryan Dee committed
22
23
.unl .google-results tbody th,
.unl .google-results tbody td {
24
  padding: 0;
Ryan Dee's avatar
Ryan Dee committed
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
}

.unl .gsc-control-cse {
//   @include bg-transparent;
  background-color: transparent;
  border: 0;
  font-family: inherit;
  font-size: inherit;
  padding: 0;
}

.unl .cse .gsc-control-cse {
//   @include bg-transparent;
  background-color: transparent;
  border: 0;
  padding: 0;
}

.unl .gsc-control-cse .gsc-table-result {
44
  display: flex;
Ryan Dee's avatar
Ryan Dee committed
45
46
  font-family: inherit;
  font-size: inherit;
47
  padding: 0;
Ryan Dee's avatar
Ryan Dee committed
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
}

.unl .gsc-above-wrapper-area {
  border: 0;
//   @include mb-7;
  margin-bottom: 2.37em;
  padding: 0;
}

.unl .gsc-result-info {
//   color: $color-body;
//   color: ;
  font-size: inherit;
  margin: 0;
  padding: 0;
}

.unl .gsc-webResult .gsc-result {
  border: 0;
67
//   @include pb-7;
Ryan Dee's avatar
Ryan Dee committed
68
69
70
71
72
  padding-bottom: 2.37em;
  padding-top: 0;
}

.unl .gsc-thumbnail-inside {
73
  padding-left: 0;
Ryan Dee's avatar
Ryan Dee committed
74
75
}

76
77
.unl .gsc-thumbnail-inside > .gs-title,
.unl .gsc-thumbnail-inside > .gs-title * {
Ryan Dee's avatar
Ryan Dee committed
78
79
//   color: $scarlet;
  color: #d00000;
80
  height: initial;
Ryan Dee's avatar
Ryan Dee committed
81
82
  text-decoration: none;
//   @include lh-3;
Jeff Sturek's avatar
Jeff Sturek committed
83
  line-height: 1.25em;
Ryan Dee's avatar
Ryan Dee committed
84
85
}

86
.unl .gsc-thumbnail-inside > .gs-title {
Ryan Dee's avatar
Ryan Dee committed
87
88
89
90
91
//   @include txt-h5;
  font-size: 1.5em;
  margin-bottom: .18em;
}

92
.unl .gsc-thumbnail-inside > .gs-title * {
Ryan Dee's avatar
Ryan Dee committed
93
94
95
96
//   @include txt-base;
  font-size: 1rem;
}

97
98
99
100
101
102
103
104
105
106
107
.unl .gsc-thumbnail-left {
  display: block;
//   @include mb-1;
  margin-bottom: .43em;
}

.unl .gs-snippet {
//   @include mb-1;
  margin-bottom: .43em;
}

Ryan Dee's avatar
Ryan Dee committed
108
109
110
111
112
113
.unl .gsc-control-cse .gs-snippet {
  color: inherit;
}

.unl .gs-web-image-box,
.unl .gs-promotion-image-box {
114
  padding: 0;
Ryan Dee's avatar
Ryan Dee committed
115
116
117
118
}

.unl .gs-promotion-image-box img.gs-promotion-image,
.unl .gs-web-image-box img.gs-image {
119
  height: 4.21em;
Ryan Dee's avatar
Ryan Dee committed
120
121
122
  width: 4.21em;
}

123
124
125
126
127
128
.unl .gs-promotion-image-box,
.unl .gs-image-box.gs-web-image-box.gs-web-image-box-portrait,
.unl .gs-image-box.gs-web-image-box.gs-web-image-box-landscape {
  margin-left: 0;
  margin-right: 1em;
  margin-top: .24em;
Ryan Dee's avatar
Ryan Dee committed
129
130
131
132
133
134
}

.unl .gsc-result.gsc-webResult:hover {
  border: 0;
}

135
.unl .gsc-url-top {
Ryan Dee's avatar
Ryan Dee committed
136
  display: block;
137
  padding: 0 0 1em 0;
Ryan Dee's avatar
Ryan Dee committed
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
//   @include txt-xs;
  font-size: .75em;
}

// .unl .gsc-snippet-metadata,
// .unl .gsc-role,
// .unl .gsc-tel,
// .unl .gsc-org,
// .unl .gsc-location,
// .unl .gsc-reviewer,
// .unl .gsc-author,
// .unl .gs-result .gs-visibleUrl,
// .unl .gs-result a.gs-visibleUrl {
//   color: $color-light-text;
// }

.unl .gsc-results .gsc-cursor-box {
155
156
157
  border-bottom: 1px solid #e3e3e2;
  border-radius: 0;
  border-top: 1px solid #e3e3e2;
Ryan Dee's avatar
Ryan Dee committed
158
159
160
  margin: 0;
}

161
162
163
.unl .gsc-cursor-container-previous,
.unl .gsc-cursor-container-next {
  padding: 1em 0;
Ryan Dee's avatar
Ryan Dee committed
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
}

.unl .gsc-snippet-metadata,
.unl .gsc-role,
.unl .gsc-tel,
.unl .gsc-org,
.unl .gsc-location,
.unl .gsc-reviewer,
.unl .gsc-author
.unl .gs-result a.gs-visibleUrl,
.unl .gs-result .gs-visibleUrl {
  color: #6d6d6c; // TODO: replace with color variable
}

.unl .gs-result a.gs-visibleUrl,
.unl .gs-result .gs-visibleUrl {
  padding-bottom: 0;
}
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202

.unl .gcsc-find-more-on-google-root {
  font-size: .84em;
  margin-top: 1em;
  text-align: left;
}

.unl .gcsc-more-maybe-branding-box {
  border: 0;
  margin: 0;
  padding: 0;
}

.unl .gcsc-find-more-on-google {
  color: #d00000;
}

.unl .gsc-cursor,
.unl .gcsc-find-more-on-google-magnifier {
  fill: #d00000;
}