WordPress.org

Making WordPress.org

Changeset 4606


Ignore:
Timestamp:
01/03/2017 03:31:17 AM (4 years ago)
Author:
dd32
Message:

Plugin Directory: Better alignment for the search button on non-home views.

Props iCaleb.
Fixes #2307.

Location:
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/client/components/search-form/style.scss

    r4223 r4606  
    1919
    2020    .button-search {
     21        border-top: none;
    2122        border-left: none;
    2223        border-radius: 0 2px 2px 0;
     
    2526        right: auto;
    2627        top: auto;
     28        vertical-align: top;
    2729
    2830        &:active {
     
    7476        .search-field {
    7577            border: 0;
    76             border-radius: 2px;
     78            border-radius: 2px 0 0 2px;
    7779            display: inline-block;
    7880            font-size: ms( 0 );
    7981            padding: 5px 10px;
    8082            position: relative;
    81             width: 100%;
     83            width: auto;
    8284        }
    8385
    8486        @media screen and (min-width: $ms-breakpoint) {
    8587            .search-field {
    86                 border-radius: 2px 0 0 2px;
    8788                font-size: ms( -4 );
    8889                width: 7rem;
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/css/style-rtl.css

    r4506 r4606  
    28202820
    28212821.search-form .button-search {
     2822  border-top: none;
    28222823  border-right: none;
    28232824  -webkit-border-radius: 2px 0 0 2px;
     
    28282829  left: auto;
    28292830  top: auto;
     2831  vertical-align: top;
    28302832}
    28312833
     
    28862888.site-header:not(.home) .search-form .search-field {
    28872889  border: 0;
    2888   -webkit-border-radius: 2px;
    2889   border-radius: 2px;
     2890  -webkit-border-radius: 0 2px 2px 0;
     2891  border-radius: 0 2px 2px 0;
    28902892  display: inline-block;
    28912893  font-size: 16px;
     
    28932895  padding: 5px 10px;
    28942896  position: relative;
    2895   width: 100%;
     2897  width: auto;
    28962898}
    28972899
    28982900@media screen and (min-width: 48em) {
    28992901  .site-header:not(.home) .search-form .search-field {
    2900     -webkit-border-radius: 0 2px 2px 0;
    2901     border-radius: 0 2px 2px 0;
    29022902    font-size: 0.64rem;
    29032903    width: 7rem;
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/css/style.css

    r4506 r4606  
    28202820
    28212821.search-form .button-search {
     2822  border-top: none;
    28222823  border-left: none;
    28232824  -webkit-border-radius: 0 2px 2px 0;
     
    28282829  right: auto;
    28292830  top: auto;
     2831  vertical-align: top;
    28302832}
    28312833
     
    28862888.site-header:not(.home) .search-form .search-field {
    28872889  border: 0;
    2888   -webkit-border-radius: 2px;
    2889   border-radius: 2px;
     2890  -webkit-border-radius: 2px 0 0 2px;
     2891  border-radius: 2px 0 0 2px;
    28902892  display: inline-block;
    28912893  font-size: 16px;
     
    28932895  padding: 5px 10px;
    28942896  position: relative;
    2895   width: 100%;
     2897  width: auto;
    28962898}
    28972899
    28982900@media screen and (min-width: 48em) {
    28992901  .site-header:not(.home) .search-form .search-field {
    2900     -webkit-border-radius: 2px 0 0 2px;
    2901     border-radius: 2px 0 0 2px;
    29022902    font-size: 0.64rem;
    29032903    width: 7rem;
Note: See TracChangeset for help on using the changeset viewer.