Making WordPress.org


Ignore:
Timestamp:
03/23/2018 09:59:23 PM (8 years ago)
Author:
coffee2code
Message:

developer.wordpress.org: Add support for user feedback on submitted user notes.

Props keesiemeijer.
See #1504.

File:
1 edited

Legend:

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

    r6825 r6910  
    11381138                }
    11391139
     1140                .comment-awaiting-moderation {
     1141                        background-color: #fff8e5;
     1142                        padding: .2em .5em;
     1143                        border-radius: 3px;
     1144                        border: 1px solid #ffb900;
     1145                }
     1146
     1147                .depth-2 .comment-awaiting-moderation {
     1148                        display: inline-block;
     1149                        margin: 2px 0;
     1150                }
     1151
    11401152                .comment-list,
    11411153                .comment-list ol {
     
    11471159                .comment-list li,
    11481160                #comment-preview {
    1149                         margin-top: 2.5rem;
     1161                        margin-top: 3rem;
    11501162                        background: #fff;
    11511163                        overflow: auto;
    1152                         border: 1px solid #dfdfdf;
    1153                         border-radius: 0 2px 2px 2px;
    11541164
    11551165                        article {
    11561166                                overflow: auto;
    11571167                        }
     1168                }
     1169
     1170                .comment-list li.depth-1,
     1171                #comment-preview {
     1172                        border: 1px solid #dfdfdf;
     1173                        border-radius: 2px;
     1174                }
     1175
     1176                // Feedback
     1177                .comment-list li.depth-2 {
     1178                        border-top: 1px solid #dfdfdf;
     1179                        padding: 0;
     1180                        margin: 0;
     1181
     1182                        .comment-content {
     1183                                padding: .9em 0;
     1184                        }
     1185                        .comment-content p {
     1186                                margin-bottom: 0;
     1187                                font-size: .9em;
     1188                        }
     1189                }
     1190
     1191                .comment ul.children {
     1192                        margin: 0 0 1.5em 0;
     1193                        border-bottom: 1px solid #dfdfdf;
     1194                }
     1195
     1196                .feedback {
     1197                        width: 90%;
     1198                        float: right;
     1199                        margin-right: 1.5rem;
     1200                }
     1201
     1202                .feedback-links {
     1203                        margin: 0 1.5rem 1em 1.5rem;
     1204                        font-size: 0.9em;
     1205                        clear: both;
     1206                }
     1207
     1208                .feedback-editor-title,
     1209                .feedback-title {
     1210                        font-size: 1.8rem;
     1211                        font-weight: 300;
     1212                        line-height: 2.2rem;
     1213                        margin-bottom: 1em;
     1214                }
     1215
     1216                .feedback-toggle {
     1217                        margin: 0 0 0 1.5rem;
     1218                        display: inline-block;
     1219                }
     1220
     1221                #wp-feedback-wrap {
     1222                        padding-bottom: 1em;
    11581223                }
    11591224
     
    11631228                        border: 1px solid #ccc;
    11641229                        border-radius: 0 3px 3px 3px;
    1165                         clear:both;
     1230                        clear: both;
    11661231                }
    11671232
     
    12241289                        clear: both;
    12251290                        padding: 2rem 1.5rem .5rem;
    1226                 }
    1227 
    1228                 .comment-footer {
    1229                         margin: 0 1em;
    1230                         padding: 0 0 1em 0;
    1231                         position: relative;
    1232                         overflow: auto;
    1233 
    1234                         a {
    1235                                 float: right;
    1236                         }
    1237 
    1238                         p {
    1239                                 margin-bottom: 0;
    1240                         }
    12411291                }
    12421292
Note: See TracChangeset for help on using the changeset viewer.