Making WordPress.org

Changeset 4399


Ignore:
Timestamp:
11/22/2016 01:22:15 AM (9 years ago)
Author:
mapk
Message:

Plugin Directry Theme: Screenshot section styling.

Removing the bottom border from the screenshot section on the Detail page. Also adding max-height to thumbnails.

See #1828

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/plugin/sections/screenshots/image-gallery/style.scss

    r4322 r4399  
    132132    margin-right: 5px;
    133133    border: 1px solid #eee;
     134    max-height: 100px;
     135    overflow: hidden;
    134136
    135137    .image-gallery-image {
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/client/components/plugin/sections/style.scss

    r4344 r4399  
    5656}
    5757
     58#screenshots.read-more {
     59    border-bottom: none;
     60}
     61
    5862.no-js .read-more {
    5963    overflow: auto;
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/css/style.css

    r4394 r4399  
    18501850
    18511851.plugin-card {
    1852   background-color: #f9f9f9;
    18531852  margin-bottom: 4%;
    1854   padding: 8px 8px 0 8px;
    1855   vertical-align: top;
    18561853}
    18571854
     
    18981895.plugin-card .entry-excerpt p {
    18991896  margin: 0 0 8px;
    1900 }
    1901 
    1902 .plugin-card hr {
    1903   background-color: #fff;
    1904   margin: auto;
    1905 }
    1906 
    1907 .plugin-card footer span {
    1908   font-size: 11.704px;
    1909   font-size: 0.73152rem;
    1910   width: 48%;
    1911   display: inline-block;
    1912   overflow: hidden;
    1913   white-space: nowrap;
    1914 }
    1915 
    1916 .plugin-card footer span i {
    1917   display: inline-block;
    1918   font-size: 16px;
    1919   font-size: 1rem;
    1920   margin-right: 6.4px;
    1921   margin-right: 0.4rem;
    1922 }
    1923 
    1924 .plugin-card footer .dashicons {
    1925   margin: 0 2px -16px;
    1926   margin: 0 2px -1rem;
    1927   color: #bbb;
    1928   width: auto;
    1929   height: auto;
    1930   display: none;
    1931 }
    1932 
    1933 @media (min-width: 414px) {
    1934   .plugin-card footer .dashicons {
    1935     display: inline-block;
    1936   }
    19371897}
    19381898
     
    20031963.site-main.single .plugin-rating .rating-count {
    20041964  display: none;
    2005 }
    2006 
    2007 .plugin-rating .rating-count a {
    2008   color: inherit;
    2009   cursor: hand;
    2010   text-decoration: none;
    20111965}
    20121966
     
    24842438  margin-right: 5px;
    24852439  border: 1px solid #eee;
     2440  max-height: 100px;
     2441  overflow: hidden;
    24862442}
    24872443
     
    26182574.read-more.toggled {
    26192575  max-height: none;
     2576}
     2577
     2578#screenshots.read-more {
     2579  border-bottom: none;
    26202580}
    26212581
     
    28702830}
    28712831
    2872 nav .nav-links {
    2873   text-align: center;
    2874 }
    2875 
    2876 nav .nav-links .page-numbers {
    2877   background-color: #f9f9f9;
    2878   min-width: 2em;
    2879   padding: 8px;
    2880   display: inline-block;
    2881   cursor: hand;
    2882 }
    2883 
    2884 nav .nav-links .page-numbers.next, nav .nav-links .page-numbers.prev, nav .nav-links .page-numbers.dots {
    2885   width: auto;
    2886   font-size: 0.9em;
    2887   background: none;
    2888 }
    2889 
    2890 nav .nav-links .page-numbers.dots {
    2891   cursor: inherit;
    2892 }
    2893 
    2894 nav .nav-links span.page-numbers {
    2895   font-weight: bold;
    2896   background-color: #f7f7f7;
    2897 }
    2898 
    28992832.main-navigation {
    29002833  background: #0073aa;
     
    33403273  }
    33413274}
     3275/*# sourceMappingURL=style.css.map */
Note: See TracChangeset for help on using the changeset viewer.