| /* |
| Copyright 2010 the Melange authors. |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| */ |
| |
| /** |
| * Google Site Search Theme and style file. |
| * |
| */ |
| |
| .cse { |
| .gsc-branding { |
| /* Slight reset to make the preview have ample padding. */ |
| display: none; |
| } |
| .gsc-control-cse { |
| /* Selector for entire element. */ |
| background-color: #ffffff; |
| border: 1px solid; |
| border-color: #ffffff; |
| &:after { |
| clear: both; |
| content: "."; |
| display: block; |
| height: 0px; |
| visibility: hidden; |
| } |
| div { |
| position: normal; |
| } |
| } |
| .gsc-resultsHeader { |
| border: none; |
| } |
| input.gsc-search-button { |
| /* Search button */ |
| background-color: #cecece; |
| border: 1px outset; |
| border-color: #666666; |
| border-radius: 2px; |
| -moz-border-radius: 2px; |
| -webkit-border-radius: 2px; |
| color: #000000; |
| font-family: inherit; |
| text-shadow: 0px 1px 2px #ffffff; |
| } |
| .gsc-tabHeader.gsc-tabhInactive { |
| /* Inactive tab */ |
| background-color: #e9e9e9; |
| border: 1px solid; |
| border-bottom: none; |
| border-color: #e9e9e9; |
| color: #666666; |
| } |
| .gsc-tabHeader.gsc-tabhActive { |
| /* Active tab */ |
| background-color: #ffffff; |
| border: 1px solid; |
| border-bottom: none; |
| border-color: #e9e9e9; |
| border-top: 2px solid; |
| border-top-color: #ff9900; |
| } |
| .gsc-tabsArea { |
| /* This is the tab bar bottom border. */ |
| border-bottom: 1px solid #e9e9e9; |
| margin-top: 1em; |
| } |
| .gsc-webResult.gsc-result { |
| /* Inner wrapper for a result */ |
| border: 1px solid; |
| border-color: #ffffff; |
| margin-bottom: 1em; |
| padding: .25em; |
| /* Result hover event styling */ |
| &:hover { |
| border: 1px solid; |
| border-color: #ffffff; |
| } |
| } |
| .gs-promotion.gs-result { |
| /* Promotion Settings: The entire promo */ |
| background-color: #ffffff; |
| border: 1px solid; |
| border-color: #336699; |
| a.gs-title { |
| /* Promotion Settings: Promotion title */ |
| &:active, |
| &:hover, |
| &:link, |
| &:visited { |
| color: #0000cc; |
| } |
| } |
| .gs-snippet { |
| /* Promotion Settings: Promotion snippet */ |
| color: #000000; |
| } |
| .gs-visibleUrl { |
| /* Promotion Settings: Promotion url */ |
| color: #008000; |
| } |
| } |
| } |
| |
| .gsc-resultsHeader, |
| .gsc-tabsArea, |
| .gsc-webResult:after { |
| /* Ensure results page render properly on the main content pane */ |
| clear: none !important; |
| } |