WordPress.org

Making WordPress.org


Ignore:
Timestamp:
12/02/2014 11:03:33 PM (6 years ago)
Author:
obenland
Message:

WP.org Themes: First pass at improved single theme page.

  • Synchronizes content between modal and single view.
  • Displays a banner if the theme is outdated.
  • Removes unused inline CSS for easier code scanning.

See #745.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/header.php

    r1006 r1021  
    3434<![endif]-->
    3535
    36 
    37 <style type="text/css">
    38 h3.top {
    39     border-bottom: 1px solid #CCCCCC;
    40     margin-bottom: 20px;
    41 }
    42 div.plugin-block {
    43     margin-bottom: 20px;
    44 }
    45 .pending-theme {
    46     line-height: 200%;
    47 }
    48 span.button {
    49     padding: 3px;
    50 }
    51 .admin-message {
    52     background-color: #FFFBCC;
    53     border: 1px solid #E6DB55;
    54     padding: 4px;
    55     margin-bottom: 20px;
    56 }
    57 
    58 /* theme page (topic) */
    59 .block-content img.screenshot {
    60     border: 1px solid #cccccc;
    61     float: right;
    62     margin-left: 10px;
    63     margin-bottom: 10px;
    64     padding: 5px;
    65 }
    66 #plugin-tags,
    67 #theme-languages {
    68     padding-top: 5px;
    69     clear: both;
    70 }
    71 .col-3 p.button.preview-button {
    72     background: #4EAF21;
    73 }
    74 .col-3 p.button.preview-button a:hover {
    75     color: #ACFF90;
    76 }
    77 .col-3 p.button.parent-button {
    78     background: #4E21AF;
    79 }
    80 .col-3 p.button.parent-button a:hover {
    81     color: #AC90FF;
    82 }
    83 
    84 .postform {
    85     clear: both;
    86 }
    87 
    88 .float-it-left {
    89     float: left;
    90     margin-right: 15px;
    91 }
    92 
    93 .filter-tag {
    94     display: block;
    95 }
    96 </style>
    97 
    9836<meta name="generator" content="bbPress 1.1" />
    9937<link rel='stylesheet' id='forum-wp4-css'  href='//s.w.org/style/forum-wp4.css?ver=11' type='text/css' media='' />
     
    10240<link rel='stylesheet' id='forum-ie7-css'  href='//s.w.org/style/forum-ie7.css?ver=7' type='text/css' media='' />
    10341<![endif]-->
    104     <style type="text/css">
    105     #theme-contributors .theme-contributor {
    106         overflow: auto;
    107         margin: 2px 0;
    108     }
    109     #theme-contributors .theme-contributor-info.no-profile {
    110         line-height: 36px;
    111     }
    112     #theme-contributors .theme-contributor-gravatar img {
    113         vertical-align: bottom;
    114         margin-right: 8px;
    115         margin-top: 4px;
    116         border-radius: 3px;
    117     }
    118     #theme-contributors .theme-contributor-profile {
    119         float:left;
    120     }
    121     #theme-contributors .theme-contributor-gravatar {
    122         float:left;
    123     }
    124     #theme-contributors .theme-contributor-info {
    125         margin: 6px 0 0;
    126         line-height: 15px;
    127     }
    128     #theme-contributors .theme-contributor-links {
    129         margin-top: 2px;
    130         font-size: 11px;
    131     }
    132     #theme-contributors {
    133         margin: 6px 0;
    134         padding-bottom: 12px;
    135         position: relative;
    136         overflow: auto;
    137     }
    138     #theme-contributors h4.head {
    139         display: inline-block;
    140         float: left;
    141         margin-top: 4px;
    142         margin-right: 8px;
    143     }
    144     #theme-contributors .theme-authors {
    145         display: inline-block;
    146         float: left;
    147         width: 300px;
    148     }
    149     </style>
    150         <style type="text/css">
    151     div.theme-notice {
    152         border: 1px solid;
    153         padding: 4px 12px;
    154         margin-bottom: 20px;
    155         border-radius: 6px;
    156         overflow: auto;
    157     }
    158     div.theme-notice-approved {
    159         background-color: #DFF2BF;
    160         color: #4F8A10;
    161     }
    162     div.theme-notice-closed, div.theme-notice-disabled, div.theme-notice-rejected {
    163         background-color: #FFBABA;
    164         color: #D8000C;
    165     }
    166     div.theme-notice-open-old {
    167         background-color: #FEEFB3;
    168         color: #9F6000;
    169     }
    170     div.theme-notice-requested {
    171         background-color: #BDE5F8;
    172         color: #00529B;
    173     }
    174     div.theme-notice span:first-child {
    175         padding: 1px 10px 3px;
    176         border-radius: 25px;
    177         color: white;
    178         font-size: 18px;
    179         font-weight: bold;
    180         font-family: Verdana;
    181         float: left;
    182         margin: 0 8px 0 0;
    183     }
    184     div.theme-notice-approved span:first-child {
    185         background-color: #4F8A10;
    186     }
    187     div.theme-notice-closed span:first-child, div.theme-notice-disabled span:first-child, div.theme-notice-rejected span:first-child {
    188         background-color: #D8000C;
    189     }
    190     div.theme-notice-open-old span:first-child {
    191         background-color: #9F6000;
    192     }
    193     div.theme-notice-requested span:first-child {
    194         background-color: #00529B;
    195     }
    196     span.theme-notice-banner-msg {
    197         float: left;
    198         width: 95%;
    199         line-height: 1.3em;
    200         padding-top: 5px;
    201     }
    202 
    203     div.theme-notice-open-old {
    204         padding-top: 8px;
    205         padding-bottom: 8px;
    206     }
    207     div.theme-notice-open-old span.theme-notice-banner-msg {
    208         padding-top: 0;
    209     }
    210     </style>
    211         <style type="text/css">
    212     #pagebody .support-sidebox p {
    213         margin: 0 0 8px 0;
    214     }
    215     #theme-submit-support {
    216         text-align: center;
    217     }
    218     #theme-submit-support a {
    219         display: block;
    220         margin: 4px auto 2px;
    221         padding: 3px 6px;
    222         border-radius: 6px;
    223         border: 1px solid #000;
    224         background-color: #439e47;
    225         width: 60%;
    226         color: #fff;
    227     }
    228     #theme-submit-support a:hover {
    229         background-color: #218834;
    230     }
    231     div.support-sidebox {
    232         margin: 6px 0;
    233         padding-bottom: 12px;
    234     }
    235     div.support-sidebox h3.head {
    236         padding-left: 0;
    237         margin-bottom: 6px;
    238     }
    239     a.theme-support-link {
    240         display: block;
    241         text-align: center;
    242     }
    243     </style>
    24442    <link rel='stylesheet' href='https://wordpress.org/extend/themes-plugins/bb-ratings/bb-ratings.css?4' type='text/css' />
    24543<link rel="alternate" type="application/rss+xml" title="Free WordPress Themes &raquo; Recent Posts" href="https://wordpress.org/themes/rss/" />
Note: See TracChangeset for help on using the changeset viewer.