Snippets

Created by stíobhart matulevicz
/*search box on front page*/
div.searchbox {
  margin-top: -0.5em;
  float: right;
  right: 12px;
  width: 300px;
}
div.searchbox div.gsc-control-cse {
  font-family: Arial, sans-serif;
  border: none;
  background: none;
}
div.searchbox table.gsc-search-box {
  background: none;
  border-style: none;
  border-width: 0px;
  border-spacing: 0px;
  width: 100%;
  margin: 0px;
}
table.gsc-search-box tr {
  background: inherit;
}
table.gsc-search-box td {
  padding: 1px;
  border: 0px;
}
table.gsc-search-box td#gs_tti50 input {
  background: #00ff00;
}
table.gsc-search-box td.gsc-search-button {
  background: #cc0000;
}
table.gsc-search-box td.gsc-search-button:hover {
  background: #ff0000;
}
div.searchbox div.gsc-input-box {
  height: auto;
}
div.searchbox div.gsc-input-box table {
  margin: 0px;
  padding: 0px;
  border: 0px;
  background: none;
}
input.gsc-search-button.gsc-search-button-v2 {
  border: none;
  background: none;
}
input.gsc-search-button.gsc-search-button-v2:hover {
  border: none;
  background: none;
}
/*main search results overlay panel*/
div.gsc-results-wrapper-overlay.gsc-results-wrapper-visible,
div.gsc-webResult.gsc-result {
  background: #ffffff;
  border: none;
}
/*individual search result box rollover*/
div.gsc-webResult.gsc-result:hover {
  background: #eee8d5;
  border: none;
}
/*tabs at top of search results panel [swith between Web/Image]*/
div.gsc-tabHeader.gsc-tabhInactive.gsc-inline-block {
  border: 1px solid #cc0000;
}
div.gsc-tabHeader.gsc-inline-block.gsc-tabhActive {
  background: #eee8d5;
  border: 1px solid #cc0000;
}
/*popup 'sort by' menu*/
div.gsc-selected-option-container.gsc-inline-block {
  background: #eee8d5;
}
/*popup 'sort by' menu popped up*/
div.gsc-option-menu {
  background: #ffffff;
}
div.gsc-option-menu-item-highlighted {
  background: #eee8d5;
}
/*Image search results*/
div.gsc-imageResult.gsc-imageResult-popup,
div.gsc-imageResult.gsc-result {
  background: #ffffff;
}
div.gs-imageResult-popup,
div.gs-image-popup-box {
  background-color: #ffffff;
}

Comments (0)

HTTPS SSH

You can clone a snippet to your computer for local editing. Learn more.