Making WordPress.org

Changeset 2436


Ignore:
Timestamp:
01/30/2016 09:42:59 PM (8 years ago)
Author:
drewapicture
Message:

DevHub: Consolidate and improve style rules for deprecated and private access messages.

See #1551.

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

Legend:

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

    r2435 r2436  
    10101010            padding: 20px;
    10111011        }
     1012        .deprecated,
     1013        .private-access {
     1014            margin-top: 30px;
     1015            padding: 20px;
     1016            p {
     1017                margin-bottom: 0px;
     1018            }
     1019        }
    10121020        .deprecated {
    10131021            background-color: #fbeaea;
    10141022            border: 1px solid #dc3232;
    1015             padding: 20px;
    10161023        }
    10171024        .deprecated-method {
     
    10201027        }
    10211028        .private-access {
    1022             margin-top: 30px;
    1023             padding: 20px 20px 10px;
    10241029            border: 1px solid #ffb900;
    10251030            background-color: #fff8e5;
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/stylesheets/main.css

    r2435 r2436  
    12131213  padding: 20px;
    12141214}
     1215.devhub-wrap .wp-parser-class .deprecated,
     1216.devhub-wrap .wp-parser-class .private-access, .devhub-wrap .wp-parser-function .deprecated,
     1217.devhub-wrap .wp-parser-function .private-access, .devhub-wrap .wp-parser-hook .deprecated,
     1218.devhub-wrap .wp-parser-hook .private-access, .devhub-wrap .wp-parser-method .deprecated,
     1219.devhub-wrap .wp-parser-method .private-access {
     1220  margin-top: 30px;
     1221  padding: 20px;
     1222}
     1223.devhub-wrap .wp-parser-class .deprecated p,
     1224.devhub-wrap .wp-parser-class .private-access p, .devhub-wrap .wp-parser-function .deprecated p,
     1225.devhub-wrap .wp-parser-function .private-access p, .devhub-wrap .wp-parser-hook .deprecated p,
     1226.devhub-wrap .wp-parser-hook .private-access p, .devhub-wrap .wp-parser-method .deprecated p,
     1227.devhub-wrap .wp-parser-method .private-access p {
     1228  margin-bottom: 0px;
     1229}
    12151230.devhub-wrap .wp-parser-class .deprecated, .devhub-wrap .wp-parser-function .deprecated, .devhub-wrap .wp-parser-hook .deprecated, .devhub-wrap .wp-parser-method .deprecated {
    12161231  background-color: #fbeaea;
    12171232  border: 1px solid #dc3232;
    1218   padding: 20px;
    12191233}
    12201234.devhub-wrap .wp-parser-class .deprecated-method, .devhub-wrap .wp-parser-function .deprecated-method, .devhub-wrap .wp-parser-hook .deprecated-method, .devhub-wrap .wp-parser-method .deprecated-method {
     
    12231237}
    12241238.devhub-wrap .wp-parser-class .private-access, .devhub-wrap .wp-parser-function .private-access, .devhub-wrap .wp-parser-hook .private-access, .devhub-wrap .wp-parser-method .private-access {
    1225   margin-top: 30px;
    1226   padding: 20px 20px 10px;
    12271239  border: 1px solid #ffb900;
    12281240  background-color: #fff8e5;
Note: See TracChangeset for help on using the changeset viewer.