From: Ove Klykken Date: Fri, 20 Jun 2014 16:48:54 +0000 (-0400) Subject: misc stuff for the top right area in different widths X-Git-Tag: v1.0^2~32 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=b6e7b9c023572b3e82e6d9b0437415986674a23d;p=web%2FSooLocks.git misc stuff for the top right area in different widths --- diff --git a/assets/spyglass.png b/assets/spyglass.png new file mode 100644 index 0000000..59c4c4d Binary files /dev/null and b/assets/spyglass.png differ diff --git a/css/foundation.css b/css/foundation.css index 452db98..e4b4428 100644 --- a/css/foundation.css +++ b/css/foundation.css @@ -270,6 +270,10 @@ select { position: relative; padding-left: 0.9375em; padding-right: 0.9375em; + + padding-left: 0em; + padding-right: 0em; + float: left; } .small-1 { @@ -497,8 +501,8 @@ select { .columns { position: relative; padding-left: 0.9375em; - padding-right: 0.9375em; - float: left; } + padding-right: 0.9375em; + float: left; } .medium-1 { width: 8.33333%; } diff --git a/styles.css b/styles.css index b4c63a3..ddec649 100644 --- a/styles.css +++ b/styles.css @@ -51,20 +51,69 @@ body { display: none; } } -.vcard { +/* Top Right */ +#topright { color: white; border: 0; float: right; + margin: 16px 0 0 0; + width: 220px; } -.vcard a { +#topright a { color: white; - border-left: 1px solid white; - padding-left: 10px; margin-left: 5px; + text-decoration: underline; + } +#topright span { + margin-left: 5px; + } +#search { + position: relative; + height: 21px; + width: 193px; + border: 1px solid #aaa; + background: #f8f7f1; + border-radius: 5px; + margin: 10px 0 0 0; + } +#search input[type=text] { + color: #5A91CE; + height: 21px; + background: transparent; + border: 0; + margin: 0; + width: 175px; } -.vcard input[type="text"] { - border-radius: 10px; - margin-top: 10px; +#search ::-webkit-input-placeholder { font-size: 12px; } +#search ::-moz-placeholder { font-size: 12px; } /* firefox 19+ */ +#search :-ms-input-placeholder { font-size: 12px; } /* ie */ +#search input:-moz-placeholder { font-size: 12px; } +#search input[type=submit] { + position: absolute; + right: 2px; + top: 2px; + position: absolute; +height: 16px; +width: 17px; +background: url(assets/spyglass.png) no-repeat scroll transparent; +text-indent: -9999px; +border: 0; +cursor: pointer; + } +@media only screen and (max-width: 40.063em) { + #topright { + width: 100%; + } + #search { + margin-top: 0; + width: 140px; + } + #search input[type=text] { + 125px; + } + #topright { + font-size: 12px; + } } /* small logo */ #logoSmall { diff --git a/templates/template.html b/templates/template.html index ac08d11..61e8c43 100644 --- a/templates/template.html +++ b/templates/template.html @@ -28,7 +28,7 @@ $(function() {
-

Soo Locks Boat Tours

+

Soo Locks Boat Tours

-
+

Sault Ste. Marie, Michigan

-
-
-
- (800) 432-6301 +
+
+
+ (800) 432-6301| Contact
-
- +
+