Making WordPress.org

Changeset 1722


Ignore:
Timestamp:
07/10/2015 05:34:37 PM (9 years ago)
Author:
iandunn
Message:

WordPress.tv: Make success/error message styles DRY.

See #1118

Location:
sites/trunk/wordpress.tv/public_html/wp-content/themes/wptv2
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.tv/public_html/wp-content/themes/wptv2/anon-upload-template.php

    r1650 r1722  
    6666    .video-upload h3 {
    6767        font-size: 22px;
    68     }
    69 
    70     .video-upload div.error {
    71         border: 1px solid #c00;
    72         border-radius: 3px;
    73         background-color: #ffebe8;
    74         padding: 0 10px;
    75         margin: 10px 0;
    76     }
    77 
    78     .video-upload div.error p {
    79         margin: 0.5em 0;
    8068    }
    8169
  • sites/trunk/wordpress.tv/public_html/wp-content/themes/wptv2/style.css

    r1558 r1722  
    167167.none {
    168168    text-indent: -1000em;
     169}
     170
     171div.error,
     172div.success {
     173    border: 1px solid #c00;
     174    border-radius: 3px;
     175    padding: 0 10px;
     176    margin: 10px 0;
     177}
     178
     179div.success {
     180    background-color: #edfcd5;
     181    border-color: #d4ebaf;
     182}
     183
     184div.error {
     185    border-color: #c00;
     186    background-color: #ffebe8;
     187}
     188
     189div.error p,
     190div.success p {
     191    margin: 0.5em 0;
    169192}
    170193
  • sites/trunk/wordpress.tv/public_html/wp-content/themes/wptv2/upload-subtitles-template.php

    r1024 r1722  
    4949    .video-upload h3 {
    5050        font-size: 22px;
    51     }
    52 
    53     .video-upload div.error,
    54     .video-upload div.success {
    55         border: 1px solid #c00;
    56         border-radius: 3px;
    57         background-color: #ffebe8;
    58         padding: 0 10px;
    59         margin: 10px 0;
    60     }
    61 
    62     .video-upload div.success {
    63         background-color: #edfcd5;
    64         border-color: #d4ebaf;
    65     }
    66 
    67     .video-upload div.error p,
    68     .video-upload div.success p {
    69         margin: 0.5em 0;
    7051    }
    7152
Note: See TracChangeset for help on using the changeset viewer.