From a0514281a03e267f8cab9cf209e20d6c8305f09e Mon Sep 17 00:00:00 2001 From: Samantha Doherty Date: Thu, 25 Aug 2011 22:30:09 -0400 Subject: [PATCH] Style for header search form. --- theme/base/css/display.css | 7 +++++++ theme/neo/README | 2 +- theme/neo/css/display.css | 31 +++++++++++++++++++++++++++++++ theme/neo/images/magnifier.png | Bin 0 -> 615 bytes 4 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 theme/neo/images/magnifier.png diff --git a/theme/base/css/display.css b/theme/base/css/display.css index 5d65c14cc8..52bf7f19ed 100644 --- a/theme/base/css/display.css +++ b/theme/base/css/display.css @@ -218,6 +218,13 @@ address .poweredby { margin-right: 0px; } +#header-search { + float: right; + position: relative; + top: -8px; + margin-left: 10px; +} + #site_notice { float: right; width: 300px; diff --git a/theme/neo/README b/theme/neo/README index 9e001123cb..eff8cd6dfa 100644 --- a/theme/neo/README +++ b/theme/neo/README @@ -1,7 +1,7 @@ Default avatars are modified from an image by Francesco 'Architetto' Rollandin. http://www.openclipart.org/detail/34957 -Icons by Mark James +Some icons by Mark James http://www.famfamfam.com/lab/icons/silk/ http://creativecommons.org/licenses/by/2.5/ Creative Commons Attribution 2.5 License diff --git a/theme/neo/css/display.css b/theme/neo/css/display.css index 22634b40ea..e41cf9f87a 100644 --- a/theme/neo/css/display.css +++ b/theme/neo/css/display.css @@ -129,6 +129,37 @@ h6 {font-size: 1em;} text-decoration: none; } +#header-search { + top: 1px; + margin-left: 6px; +} + +#header-search #search-q { + position: relative; + width: 131px; + height: 12px; + margin-right: 10px; + padding: 2px 22px 2px 6px; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; + border: none; + font-size: 0.88em; +} + +#header-search input[type="submit"] { + border: 0; + background: url(../images/magnifier.png) no-repeat 2px 1px; + text-indent: -9999px; + width: 20px; + height: 18px; + position: absolute; + right: 10px; + top: 2px; + z-index: 2; + cursor: pointer; +} + #site_notice { -webkit-border-radius: 6px; -moz-border-radius: 6px; diff --git a/theme/neo/images/magnifier.png b/theme/neo/images/magnifier.png new file mode 100644 index 0000000000000000000000000000000000000000..cf3d97f75e9cde9c143980d89272fe61fc2d64ee GIT binary patch literal 615 zcmV-t0+{`YP)gNuvOO$0ks zMIj=HnnBRUR?tKXG11rxCU4&7dG4NbuvR2_mEvc)n?Cow;~Wve|KR^>9@p5l)|QB+ z$jmun3q#x>;ss-PW_mnr2MHVzLAl1RW&0?VkixF*4t!St0YVb2wnKdU(kmOHiL;aW zK8Xte%(k>MVGG$E4no6dcNnb>BhVHHGD&1pv4YZ68kE2V03t5#PCEFm7=ad$6)+3B zTCmn*?A?=u(o~ET7~-7g0)ZB=6|lumi4}B}MLgy~Ysy6)Q5%Al7|05&1z3Jpu>cF8 z3?VXs*3<}%h3`5Wld)N2zJnk%Agw<~3k)sPTLFd=F5;d8-bj-09SkQuynfflNcZLN z!^_37fdZvzrq=9~mp*($%mcDRKC&qvaaZuX+C=AT6O*~tHl>0mcP<_q>-z%$xO(@! zYluq5a8VQI$S@4?r*v;gPo!QQ%pX3A#>xx4t=w-L6COWx?aj&`f+!YePsFtj=hOQR zP3=E2j@9L7s8;T^&s?u(Hdpu?CubjMrGn{t_37>9$|AD)QE08weJlKn8|OyjL~7oP zC8mPT`jzuH*Dh^I0048RGafUIT)4H~*m8m>egI0iH=(LB%b@@O002ovPDHLkV1lw0 B3