/** * Author(s): Vic Chan * * SEARCH * * Search styling to go here some in header.less * * $SEARCH BAR...................As seen in the header * $SEARCH PAGE..................The search results page * $Promoted search............Search results shown as promoted */ @import 'variables.less'; @import 'core-mixins.less'; @import 'site-mixins.less'; @import 'grid.less'; /* $SEARCH BAR */ .domain-oxweb .block-oxweb-search { width: 10%; min-width: 167px; position: absolute; right: 0; top: -65px; form { position: relative; margin-right: 0; } .form-item { margin: 0; } input[type=text] { .box-sizing(border-box); .border-radius(3px); .placeholder(@colorWhite); font-family: @fontPTSans; background: rgba(255,255,255,0.1); border: none; padding: 0.625em 2.1875em 0.7em 1em; padding-right: 40px; color: @colorWhite; height: 47px; min-width: 167px; width: 100%; font-size: @sizeSearch; &:focus { background: @colorWhite; color: @colorOffBlack; .box-shadow(none); .placeholder(@colorOffBlack); } } input[type=submit] { position: absolute; top: 7px; right: 8px; background: url('@{theme_path}/images/search-icon.png') center right transparent no-repeat; width: 34px; height: 30px; padding: 4px; margin: 0; border: none; .hidden(); &:hover, &:active { .box-shadow(none); border: none; // background: url('@{theme_path}/images/search-icon-hover.png') center center transparent no-repeat; } } } body.front .block-oxweb-search input[type=text] { .border-radius(0); .border-top-right-radius(); .border-bottom-right-radius(); } /* $SEARCH PAGE */ .page-search { .page-content-sidebar-second { background: @colorTertiary; .column(3, 0); .push(1); } #contactsearchcontainer { padding: 1.5625em 1.5625em 1.25em 1.5625em; h2 { text-transform: uppercase; font-size: @sizeL; } .name-details { .clearfix(); } .lastname-container { width: 65%; float: left; } .initial-container { margin-left: 5%; width: 30%; float: left; } .emergency-nums { margin-top: 1.65em; padding-top: 1em; border-top: 1px solid @colorSecondary; a .exclamation { .transition(border-color 0.5s); } a:hover .exclamation { border-color: transparent transparent @colorCherry transparent; .transition(border-color 0.5s); } } .exclamation { width: 0px; height: 0px; border-style: solid; border-width: 0 17px 27px 17px; border-color: transparent transparent @colorSecondary transparent; position: relative; display: inline-block; margin-top: -2px; margin-bottom: -5px; margin-right: 0.5em; &:after { content: "!"; top: 5px; text-rendering: optimizeLegibility; font-weight: bold; display: block; color: @colorTertiary; position: absolute; left: -3px; font-size: @sizeM; } } } } /** Add some styling to the pager links so they don't break out of the container **/ .contact-results .page-links a { display: inline-block; padding: 0 2px 0 0; } .contact-results .contact-results-list { margin-left: 1.15em; li { padding: 0.5em 0; list-style: disc outside; background-image: none; } } .contact-results .contact-results-list .person_name h3 { margin-bottom: 0.25em; } /* Google Custom Search styles */ .page-search { /* Customizations */ .gs-webResult.gs-result, .gs-imageResult, .gsc-webResult.gsc-promotion { a.gs-title:link { color: @colorLink; font-size:unset; b, em { color: @colorLink; font-size:unset; text-decoration: none; } } a.gs-title:hover { color: @colorLinkHover; border-bottom: 1px solid; } } .oxwebsearchbox { .gsc-search-box { input[type="image"]{ padding: 10px 27px; } tr { .gsc-input { padding-bottom: 0; .gsc-input-box { border: none; & > table { margin-bottom: 0; } .gsib_a #gsc-i-id1 { height: 1.5em!important; padding-bottom: 0 !important; margin-top: -.75em!important; } } } } } } .main-content .oxwebsearchbox .gsc-search-box-tools .gsc-search-box .gsc-input-box .gsib_b { border:none; padding-top: 4px; } .gsc-above-wrapper-area-container { margin-bottom: 0; } .google-custom-search-text { font-weight: bold; display: inline-block; padding-left: 7px; font-size: 15px; color: #000; } .oxwebsearchbox { .gsc-search-box .gsc-input .gsc-input-box .gsib_a, .gsc-search-box .gsc-input .gsc-input-box .gsib_b { border: none; } .gsc-search-box .gsc-input .gsc-input-box .gsib_a #gsc-i-id1 { background: none !important; box-shadow: none; text-indent: 0px !important; font-size: 20px; font-weight: bold; } .gsc-search-box .gsc-input .gsc-input-box-hover, .gsc-search-box .gsc-input .gsc-input-box-focus { box-shadow: none; } } .oxwebsearchresult { .gsc-results-wrapper-visible .gsc-wrapper .gsc-resultsbox-visible .gcsc-branding { display: none; } .gsc-results-wrapper-visible .gsc-wrapper .gsc-resultsbox-visible .gsc-webResult .gs-title { color: #3277ae!important; font-size: 1.313em!important; font-weight: 400; height: inherit !important; text-decoration: none !important; } .gs-webResult div.gs-visibleUrl-long { font-family: @fontPTSans; } .gsc-results-wrapper-visible .gsc-wrapper .gsc-resultsbox-visible .gsc-webResult .gsc-url-top { margin-top: 10px; } .gsc-results-wrapper-visible .gsc-wrapper .gsc-resultsbox-visible .gsc-webResult .gsc-table-result .gsc-table-cell-snippet-close { padding-left: 10px; padding-top: 10px; border: none; font-family: @fontPTSerif; font-size: 16px; } .gsc-results-wrapper-visible .gsc-wrapper .gsc-resultsbox-visible .gsc-expansionArea .gsc-webResult.gsc-result { margin: 0; padding: 2em 0 0; list-style-type: none; list-style-image: none; border-bottom: 1px solid @colorLightGrey; } .gsc-results-wrapper-visible .gsc-wrapper { .gsc-resultsbox-visible .gsc-twiddleRegionCell, .gsc-resultsbox-visible .gsc-configLabelCell, .gsc-adBlock, .gsc-table-cell-thumbnail { display: none !important; } .gsc-resultsbox-visible .gsc-webResult.gsc-result.gsc-promotion { border: 1px solid @colorLightGrey; padding: 1em; .gs-promotion-text-cell { border: none; } .gs-snippet { font-family: @fontPTSerif; font-size: 16px; } } } .gsc-results-wrapper-visible .gsc-above-wrapper-area { background-color: #f3f1ee; border-radius: 0; padding: 0.8125em 1.25em; font-family: @fontPTSans; font-size: 0.938em; margin: 1.6em 0; border: 0; } .gsc-results-wrapper-visible .gsc-refinementsArea, .gsc-results-wrapper-visible .gsc-above-wrapper-area .gsc-result-info-container { border: none; } .gsc-results-wrapper-visible .gsc-above-wrapper-area .gsc-orderby-container { display: none; } .gsc-results-wrapper-visible .gsc-wrapper .gsc-resultsbox-visible .gsc-expansionArea .gsc-cursor-box{ margin: 1.846em 0 0 0; padding: 13px 20px; font-family: "PT Sans",'Helvetica Neue',Arial,Helvetica,sans-serif; font-size: 0.938em; background-color: #f3f1ee; text-align: center; } .gsc-results-wrapper-visible .gsc-wrapper .gsc-resultsbox-visible .gsc-expansionArea .gsc-cursor-box .gsc-cursor .gsc-cursor-page { padding: 0.5em; margin-right: 0.5em; line-height: 0.75em; background-color: transparent !important; font-family: @fontPTSans; font-size: 16px; color: @colorLink; } .gsc-results-wrapper-visible .gsc-wrapper .gsc-resultsbox-visible .gsc-webResult.gsc-result { margin: 0; padding: 2em 0 0; list-style-type: none; list-style-image: none; border-bottom: 1px solid @colorLightGrey; } } .gsc-search-button-v2 { border: none; } .gsc-tabsArea, .gsc-tabHeader.gsc-tabhActive { border-color: @colorLightGrey; } .gsc-tabHeader.gsc-tabhActive { border-bottom-color: #fff; } .gs-promotion-table { td { border: none; } .gs-promotion-image-box, .gs-promotion-image-box img.gs-promotion-image { max-width: 100%; width: auto; } } }