From: Laury GvR Date: Fri, 13 Mar 2015 20:11:13 +0000 (-0400) Subject: Better search area, slideshow php, blocks php. X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=e9733e930d4b9b8ea6c59bd5e37994693bd22e6d;p=web%2FGruntInit%2FglmTheme.git Better search area, slideshow php, blocks php. --- diff --git a/root/assets/logo.png b/root/assets/logo.png new file mode 100644 index 0000000..2779936 Binary files /dev/null and b/root/assets/logo.png differ diff --git a/root/functions.php b/root/functions.php index 4849bc0..a0cab5a 100644 --- a/root/functions.php +++ b/root/functions.php @@ -132,7 +132,7 @@ function glm_site_scripts() /* Header for posts*/ -function GLM_get_header() { +function glm_get_header() { echo '
-
+
-
- -
-
- +
+
diff --git a/root/parts/slide-show.php b/root/parts/slide-show.php index f4ff144..e566daa 100644 --- a/root/parts/slide-show.php +++ b/root/parts/slide-show.php @@ -1,6 +1,6 @@ -
- -
+'; + echo do_shortcode("[metaslider id=27]"); + echo '
'; +} +?> diff --git a/root/scss/_structure.scss b/root/scss/_structure.scss index 70d29cc..bbaf06b 100644 --- a/root/scss/_structure.scss +++ b/root/scss/_structure.scss @@ -11,7 +11,7 @@ //@font-face { // font-family: "Rage Italic"; // src: url('assets/Rage Italic.ttf') format ('truetype'); -//} +// body { background: #e6e7e9; #page-wrapper { @@ -23,6 +23,7 @@ body { padding-top: rem-calc(20); header { a { + position: relative; margin: 0 .643rem; img { padding-bottom: rem-calc(20); @@ -38,16 +39,48 @@ body { padding: 0 rem-calc(10); font-size: rem-calc(15); } - &#magnifying-glass { - font-size: 10em; /* This controls the size. */ + + } + #top_search { + position: relative; + float: right; + width: 100%; + max-width: 12rem; + #searchform { + position: relative; + } + a { + margin: 0; + position: absolute; + right: rem-calc(2); + top: rem-calc(12); + width: rem-calc(20); + height: rem-calc(20); + padding: 1px; + } + .search-button { + width: 17px; + height: 17px; + background-image: url("../assets/search_button.png"); + background-size: cover; + background-repeat: no-repeat; + display: block; + position: absolute; + right: 3px; + top: 3px; + } + } + +/* #magnifying-glass { + font-size: 10em; This controls the size. display: inline-block; width: rem-calc(10); height: rem-calc(10); border: rem-calc(2) solid $black; - position: relative; + position: absolute; border-radius: 0.35em; - bottom: rem-calc(-15); - right: rem-calc(-355); + top: rem-calc(2); + right: rem-calc(8); &:before { content: ""; display: inline-block; @@ -63,10 +96,9 @@ body { -ms-transform: rotate(45deg); transform: rotate(45deg); } - } - } - input { - width: rem-calc(163); + }*/ + .search-input { + width: 100%; border: 2px solid #b2b3b6; border-radius: 3px; padding: 0 5px; @@ -75,7 +107,7 @@ body { margin: rem-calc(10) 0 1rem; } .top-bar { - @include gradient(#1999ce, #107098); + @include gradient(blue, red); margin-top: rem-calc(10); .top-bar-section { background: transparent; @@ -172,7 +204,7 @@ body { font-style: italic; font-size: rem-calc(36); } - .glm_blocks { + .blocks { margin-bottom: rem-calc(45); img { border: 5px solid $green; diff --git a/root/search.php b/root/search.php new file mode 100644 index 0000000..a5be70c --- /dev/null +++ b/root/search.php @@ -0,0 +1,38 @@ + +
+

Search Results for ""


+ +
+
+
+ +
> +
Page:
+ + +
+ + + +
+
+
+
+
+ + + + + +
+

+
+ +
+