From 50719aeaadf1ad8ed35406e2f4df7a25492e3bf7 Mon Sep 17 00:00:00 2001
From: Ryan Dee <ryan@skoolbus39.com>
Date: Thu, 16 Aug 2018 16:38:25 -0500
Subject: [PATCH] Restore Less files for 4.1

---
 www/less/search-google.less | 119 ++++++++++++++++
 www/less/search.less        | 271 ++++++++++++++++++++++++++++++++++++
 2 files changed, 390 insertions(+)
 create mode 100644 www/less/search-google.less
 create mode 100644 www/less/search.less

diff --git a/www/less/search-google.less b/www/less/search-google.less
new file mode 100644
index 0000000..2af06ab
--- /dev/null
+++ b/www/less/search-google.less
@@ -0,0 +1,119 @@
+@charset "UTF-8";
+
+@import "lib/breakpoints.less";
+@import "lib/colors.less";
+@import "lib/fonts.less";
+
+// Google Styles
+.gsc-control-cse,
+.gsc-control-cse .gsc-table-result {
+	font-family: inherit;
+	font-size: inherit;
+}
+
+.gsc-thumbnail-inside {
+	padding-left: 0;
+	padding-right: 0;
+}
+
+.gsc-control-cse .gs-snippet {
+	color: inherit;
+}
+
+.gsc-thumbnail .gs-image-box {
+	padding-right: 0.5em;
+}
+
+.gsc-url-top {
+	font-size: 80%;
+	padding-left: 0;
+	padding-right: 0;
+}
+
+.gsc-control-cse {
+	padding: 0;
+}
+
+.gsc-result {
+
+	.gsc-webResult & {
+		border: 0;
+		padding: 0.75em 0;
+	}
+
+	.gs-title {
+		height: 1.662em;
+	}
+
+	&.gsc-webResult:hover {
+		border: none;
+	}
+}
+
+.gs-result {
+	.gs-title, .gs-title * {
+		color: @brand;
+		text-decoration: none;
+	}
+
+	a.gs-visibleUrl, .gs-visibleUrl, .gsc-url-top {
+		color: @light-neutral;
+	}
+}
+
+.gsc-result-info {
+	font-style: italic;
+	margin: 0 0 10px;
+	color: @ui08;
+}
+
+.gsc-results {
+
+	.gsc-cursor-box {
+		border-top: 1px solid @ui03;
+		padding: 1em 0 0;
+		margin-top: 1em;
+		.sans-serif-font();
+
+		.gsc-cursor-page {
+			border: 1px solid @ui03;
+			padding: 2px 8px;
+			margin-bottom: 1em;
+			min-width: 2.2em;
+			display: inline-block;
+			text-align: center;
+			text-decoration: none;
+			color: @brand;
+		}
+
+		.gsc-cursor-current-page {
+			font-weight: normal;
+			color: @ui08;
+			border: 0;
+		}
+	}
+}
+
+.gcsc-branding {
+	margin-bottom: 1.3333em;
+	display: none;
+}
+
+td.gcsc-branding-text {
+	font-style: italic;
+	width: auto;
+
+	div.gcsc-branding-text {
+		text-align: left;
+		color: @ui08;
+	}
+}
+
+td.gcsc-branding-text-name {
+	width: 100%;
+}
+
+.gs-web-image-box img.gs-image, .gs-promotion-image-box img.gs-promotion-image {
+	max-width: 100%;
+	max-height: none;
+}
diff --git a/www/less/search.less b/www/less/search.less
new file mode 100644
index 0000000..2925725
--- /dev/null
+++ b/www/less/search.less
@@ -0,0 +1,271 @@
+@charset "UTF-8";
+
+@import "lib/breakpoints.less";
+@import "lib/colors.less";
+@import "lib/fonts.less";
+
+// Template overrides
+.embed #visitorChat,
+#wdn_search {
+	display: none !important;
+}
+
+#search_results table,
+#search_results td {
+	border: 0;
+	padding: 0;
+}
+
+#searchform {
+	text-align: center;
+	background: #38431b url(../images/050419.jpg) 50% 50% no-repeat;
+	background-size: cover;
+
+	.wdn-input-group {
+		margin: 0 auto;
+		max-width: 30em;
+	}
+}
+
+#search_wrapper {
+	display: none;
+}
+
+.results-group {
+
+	&:hover {
+		background-color: #fff;
+
+		.result-head {
+			background-color: @ui09;
+		}
+	}
+
+	.result-head {
+		background-color: mix(@ui09, @page-background, 95%);
+		color: #fff;
+		position: relative;
+
+		h2 {
+			color: inherit;
+			margin: 0;
+		}
+	}
+}
+
+.result-tab {
+	color: @ui04;
+	margin: 0;
+	padding: 0;
+	list-style: none;
+	position: relative;
+
+	li {
+		display: inline;
+
+		&.selected {
+			color: #fff;
+		}
+
+		a {
+			color: inherit;
+			border: 0;
+		}
+
+		&:before {
+			content: '\b7\a0'; // middle-dot + space
+		}
+
+		&:first-child:before {
+			content: none;
+		}
+	}
+
+	&:after {
+		content: '';
+		position: absolute;
+		border-style: solid;
+		border-width: 0 6px 6px;
+		border-color: transparent transparent #fff;
+		bottom: -1.425em;
+		left: 0;
+		transition: transform 400ms;
+
+		#directory_results & {
+			transform: translateX(1.3125em);
+		}
+
+		#search_results & {
+			&.no-local {
+				transform: translateX(2.2812em);
+			}
+
+			transform: translateX(1.875em);
+		}
+	}
+
+	&.state-1:after {
+		#directory_results & {
+			transform: translateX(7em);
+		}
+
+		#search_results & {
+			transform: translateX(7.5312em);
+		}
+	}
+
+}
+
+.search-set, .embed {
+	margin: 0;
+	background: mix(#fff, @page-background, 95%);
+}
+
+.search-results {
+	transition: opacity 400ms;
+	opacity: 0;
+
+	&.active {
+		opacity: 1;
+	}
+
+	h3 {
+		display: none;
+	}
+}
+
+.results-group {
+	float: left;
+	width: 100%;
+}
+
+#directory_results {
+	> * {
+		padding: 1.425em 9.375%;
+	}
+
+	@media @bp2 {
+		width: 33.3333%;
+	}
+
+	.embed & {
+		width: 40%;
+	}
+
+}
+
+#search_results {
+	> * {
+		padding: 1.425em 7.812%;
+	}
+
+	@media @bp2 {
+		width: 66.6667%;
+
+		.result-head {
+			border-right: 1px solid @ui09;
+		}
+
+		.search-results {
+			border-right: 1px solid @ui02;
+		}
+	}
+
+	.embed & {
+		width: 60%;
+
+		.result-head {
+			border-right: 1px solid @ui09;
+		}
+
+		.search-results {
+			border-right: 1px solid @ui02;
+		}
+	}
+}
+
+.google-search {
+	display: none;
+}
+
+// Directory Styles
+#ppl_results {
+	h3, h4, .result_head {
+		display: none;
+	}
+
+	.pfResult {
+		padding: 0;
+		list-style: none;
+	}
+
+	.ppl_Sresult, .dep_result {
+		margin: 1em 0;
+	}
+
+	.cInfo {
+		display: none;
+	}
+
+	.overflow {
+		display: flex;
+
+		> .profile_pic {
+			width: 40px;
+			min-width: 40px;
+			margin-right: 1em;
+		}
+
+		> .recordDetails {
+			flex: 1 1 auto;
+			align-self: center;
+		}
+
+		.photo {
+			border-radius: 50%;
+			margin-top: 0.375em;
+			width: 100%;
+			height: 40px;
+			object-fit: cover;
+		}
+		.roles {
+			padding: 0;
+			margin: 0;
+			list-style: none;
+
+			li {
+				margin-bottom: 0.618rem;
+
+				&:last-child {
+					margin-bottom: 0;
+				}
+			}
+
+			.title,
+			.organization-unit {
+				display: block;
+			}
+
+			.organization-name {
+				display: none;
+			}
+		}
+	}
+
+	.fn {
+		font-size: 1.128em;
+		font-weight: bold;
+	}
+
+	.given-name {
+		margin-left: 1em;
+		font-size: 1rem;
+		.sans-serif-font();
+		text-transform: uppercase;
+		color: @ui08;
+	}
+}
+
+[data-uid="kfarrell2"] .given-name {
+	display: none;
+}
-- 
GitLab