Making WordPress.org


Ignore:
Timestamp:
07/09/2014 06:46:05 PM (12 years ago)
Author:
coffee2code
Message:

Code Reference: add search form to search results page.

  • Add search form to top of search results page
  • Add breadcrumb for search results page
  • Make searchform template applicable outside of reference landing page

See #450, #494.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/scss/main.scss

    r724 r742  
    578578        }
    579579
     580        .section.search-section {
     581                padding-bottom: 0;
     582        }
     583
     584        .searchform {
     585                overflow: hidden;
     586                height: auto;
     587                margin-bottom: 1em;
     588                input[type="text"], input[type="submit"] {
     589                        height: 50px;
     590                        height: 5rem;
     591                        margin-bottom: 1em;
     592                        width: 100%;
     593                }
     594                input[type="submit"] {
     595                        width: 85px;
     596                        width: 8.5rem;
     597                        float: left;
     598                }
     599                label {
     600                        width: 560px;
     601                        width: 56rem;
     602                        max-width: 100%;
     603                        margin-right: 15px;
     604                        display: inline-block;
     605                        float: left;
     606                        .search-field input[type="text"] {
     607                                width: 100%;
     608                        }
     609                }
     610                div {
     611                        overflow: auto;
     612                }
     613        }
     614
    580615        .reference-landing {
    581616                padding: 1em 0;
    … …  
    603638                        &.section.topic-guide, &.section.new-in-guide  {
    604639                                padding-top: 0;
    605                         }
    606                 }
    607                 .searchform {
    608                         overflow: hidden;
    609                         height: auto;
    610                         margin-bottom: 1em;
    611                         input {
    612                                 height: 50px;
    613                                 height: 5rem;
    614                                 margin-bottom: 1em;
    615                                 width: 100%;
    616                         }
    617                         input[type="submit"] {
    618                                 width: 85px;
    619                                 width: 8.5rem;
    620                                 float: left;
    621                         }
    622                         label {
    623                                 width: 560px;
    624                                 width: 56rem;
    625                                 max-width: 100%;
    626                                 margin-right: 15px;
    627                                 display: inline-block;
    628                                 float: left;
    629                                 .search-field input[type="text"] {
    630                                         width: 100%;
    631                                 }
    632 
    633640                        }
    634641                }
Note: See TracChangeset for help on using the changeset viewer.