Skip to:
Content

bbPress.org

Changeset 5995


Ignore:
Timestamp:
04/02/2016 10:12:01 AM (9 years ago)
Author:
netweb
Message:

Build Tools: Add @stylelint for linting CSS to adhere to WordPress CSS Coding Standards

This changeset adds a new Grunt task grunt postcss:lint that runs stylelint on CSS & SCSS files to ensure bbPress' CSS adheres to WordPress CSS Coding Standards.

8 months in the making and is maintained by yours truly @netweb, with stylelint I'm learning JavaScript deeply.

See also:

Hat-tip: David Clark and Richard Hallows for the ongoing help and support.

Props netweb.
Fixes #2924.

Location:
trunk
Files:
1 added
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/Gruntfile.js

    r5994 r5995  
    4747
    4848        // PostCSS
    49         autoprefixer    = require('autoprefixer');
     49        autoprefixer = require('autoprefixer'),
     50        stylelint    = require('stylelint'),
     51        reporter     = require('postcss-reporter');
    5052
    5153    // Load tasks.
     
    261263                dest: BUILD_DIR,
    262264                src: [ 'includes/admin/styles/*/colors.css' ]
     265            },
     266            lint: {
     267                options: {
     268                    syntax: require('postcss-scss'),
     269                    processors: [
     270                        stylelint(),
     271                        reporter({
     272                            clearMessages: true,
     273                            throwError: true
     274                            }
     275                        )
     276                    ]
     277                },
     278                expand: true,
     279                cwd: SOURCE_DIR,
     280                dest: SOURCE_DIR,
     281                src: [ [ BBP_LTR_CSS ], 'includes/admin/styles/*/colors.scss' ]
    263282            }
    264283        },
     
    369388
    370389    // Build tasks.
    371     grunt.registerTask( 'src',     [ 'checkDependencies', 'jsvalidate:src', 'jshint' ] );
     390    grunt.registerTask( 'src',     [ 'checkDependencies', 'jsvalidate:src', 'jshint', 'postcss:lint' ] );
    372391    grunt.registerTask( 'commit',  [ 'src', 'checktextdomain' ] );
    373392    grunt.registerTask( 'build',   [ 'commit', 'clean:all', 'copy:files', 'postcss:core', 'colors', 'rtlcss:core', 'cssmin:ltr', 'cssmin:rtl', 'uglify:core', 'jsvalidate:build', 'makepot' ] );
  • trunk/package.json

    r5994 r5995  
    2424    "grunt-sass": "~1.1.0",
    2525    "grunt-wp-i18n": "~0.5.2",
    26     "matchdep": "~1.0.1"
     26    "matchdep": "~1.0.1",
     27    "postcss-reporter": "~1.3.3",
     28    "stylelint": "~5.2.1"
    2729  },
    2830  "engines": {
  • trunk/src/includes/admin/css/admin.css

    r5832 r5995  
    1111
    1212.bbp-badge {
    13     font: normal 150px/1 'dashicons' !important;
     13    font: normal 150px/1 "dashicons" !important;
    1414    color: #000;
    1515    display: inline-block;
     
    2525    right: 0;
    2626}
    27     body.rtl .about-wrap .bbp-badge {
    28         right: auto;
    29         left: 0;
    30     }
     27
     28body.rtl .about-wrap .bbp-badge {
     29    right: auto;
     30    left: 0;
     31}
    3132
    3233/* Dashicons */
     
    5152
    5253#dashboard_right_now a.bbp-glance-topic-tags:before {
    53     content: '\f323';
     54    content: "\f323";
    5455}
    5556
     
    6465th .bbp_topics_column:before,
    6566th .bbp_replies_column:before {
    66     font: normal 20px/.5 'dashicons';
     67    font: normal 20px/0.5 "dashicons";
    6768    speak: none;
    6869    display: inline-block;
     
    100101    left: 15px;
    101102}
    102     body.rtl #bbp-dashboard-right-now p.sub {
    103         right: 15px;
    104         left: 0;
    105     }
     103
     104body.rtl #bbp-dashboard-right-now p.sub {
     105    right: 15px;
     106    left: 0;
     107}
    106108
    107109#bbp-dashboard-right-now .table {
     
    116118    width: 45%;
    117119}
    118     body.rtl #bbp-dashboard-right-now .table_content {
    119         float: right;
    120     }
     120
     121body.rtl #bbp-dashboard-right-now .table_content {
     122    float: right;
     123}
    121124
    122125#bbp-dashboard-right-now .table_discussion {
     
    125128    width: 45%;
    126129}
    127     body.rtl #bbp-dashboard-right-now .table_discussion {
    128         float: left;
    129     }
     130
     131body.rtl #bbp-dashboard-right-now .table_discussion {
     132    float: left;
     133}
    130134
    131135#bbp-dashboard-right-now table td {
     
    145149    width: 1%;
    146150}
    147     body.rtl #bbp-dashboard-right-now td.b {
    148         padding-left: 6px;
    149         padding-right: 0;
    150     }
     151
     152body.rtl #bbp-dashboard-right-now td.b {
     153    padding-left: 6px;
     154    padding-right: 0;
     155}
    151156
    152157#bbp-dashboard-right-now td.b a {
     
    164169    color: #777;
    165170}
    166     body.rtl #bbp-dashboard-right-now .t {
    167         padding-left: 12px;
    168         padding-right: 0;
    169     }
     171
     172body.rtl #bbp-dashboard-right-now .t {
     173    padding-left: 12px;
     174    padding-right: 0;
     175}
    170176
    171177#bbp-dashboard-right-now .t a {
     
    174180
    175181#bbp-dashboard-right-now .spam {
    176     color: red;
     182    color: #f00;
    177183}
    178184
     
    182188
    183189#bbp-dashboard-right-now .approved {
    184     color: green;
     190    color: #0f0;
    185191}
    186192
     
    200206    top: -5px;
    201207}
    202     body.rtl #bbp-dashboard-right-now a.button {
    203         float: left;
    204         clear: left;
    205     }
     208
     209body.rtl #bbp-dashboard-right-now a.button {
     210    float: left;
     211    clear: left;
     212}
  • trunk/src/includes/admin/styles/evergreen/colors.scss

    r5285 r5995  
    11$base-color: #446950;
    22$highlight-color: #56b274;
    3 $notification-color: lighten( #2a8c4b, 10% );
     3$notification-color: lighten(#2a8c4b, 10%);
    44
    55@import "../admin";
  • trunk/src/includes/admin/styles/mint/colors.scss

    r5285 r5995  
    1 $base-color: darken( desaturate( #78cd95, 10% ), 10% );
    2 $highlight-color: desaturate( #467656, 10% );
    3 $notification-color: desaturate( #2a8c4b, 10% );
     1$base-color: darken(desaturate(#78cd95, 10%), 10%);
     2$highlight-color: desaturate(#467656, 10%);
     3$notification-color: desaturate(#2a8c4b, 10%);
    44
    55@import "../admin";
  • trunk/src/templates/default/css/bbpress.css

    r5994 r5995  
    5050    background-color: #fee;
    5151}
     52
    5253#bbpress-forums .status-trash.odd,
    5354#bbpress-forums .status-spam.odd {
     
    6768
    6869#bbpress-forums ul {
    69     background:  none;
     70    background: none;
    7071    list-style: none;
    7172    margin: 0;
     
    140141    width: 55%;
    141142}
     143
    142144li.bbp-forum-topic-count,
    143145li.bbp-topic-voice-count,
     
    174176    border: none;
    175177    font-size: 16px;
    176     line-height: 1em;
    177     margin: 8px 0;
     178    line-height: 1em;
     179    margin: 8px 0;
    178180    padding: 0;
    179181    text-transform: none;
     
    359361#bbpress-forums div.bbp-topic-content pre,
    360362#bbpress-forums div.bbp-reply-content pre {
    361     font-family: Inconsolata, Consolas, Monaco, Lucida Console, monospace;
     363    font-family: Inconsolata, Consolas, Monaco, "Lucida Console", monospace;
    362364    display: inline-block;
    363365    background-color: #f9f9f9;
     
    419421#bbpress-forums div.bbp-breadcrumb p,
    420422#bbpress-forums div.bbp-topic-tags p {
    421     margin-bottom: 10px
     423    margin-bottom: 10px;
    422424}
    423425
     
    437439}
    438440
    439     #bbpress-forums #bbp-search-form .hidden {
    440         height: 0;
    441         width: 0;
    442         overflow: hidden;
    443         position: absolute;
    444         background: none;
    445         left: -999em;
    446     }
    447 
    448     #bbpress-forums #bbp-search-form #bbp_search {
    449         display: inline-block;
    450         width: auto;
    451     }
     441#bbpress-forums #bbp-search-form .hidden {
     442    height: 0;
     443    width: 0;
     444    overflow: hidden;
     445    position: absolute;
     446    background: none;
     447    left: -999em;
     448}
     449
     450#bbpress-forums #bbp-search-form #bbp_search {
     451    display: inline-block;
     452    width: auto;
     453}
    452454
    453455#bbpress-forums div.bbp-search-form {
     
    462464    color: #ddd;
    463465}
     466
    464467span.bbp-admin-links a {
    465468    color: #bbb;
     
    469472    text-decoration: none;
    470473}
     474
    471475fieldset span.bbp-admin-links {
    472476    float: left;
    473477}
     478
    474479tr td span.bbp-admin-links a:hover {
    475480    color: #ff4b33;
    476481}
     482
    477483td.bbp-topic-admin-links,
    478484td.bbp-topic-counts {
     
    499505    font-weight: bold;
    500506    font-size: 13px;
    501     }
    502     .bbp-row-actions #favorite-toggle a:hover {
    503         color: #5a5;
    504         border-color: #7c7;
    505         background-color: #beb;
    506     }
    507     .bbp-row-actions #favorite-toggle span.is-favorite a {
    508         color: #faa;
    509         border: 1px solid #faa;
    510         background-color: #fee;
    511         }
    512         .bbp-row-actions #favorite-toggle span.is-favorite a:hover {
    513             color: #c88;
    514             border-color: #c88;
    515             background-color: #fdd;
    516         }
     507}
     508
     509.bbp-row-actions #favorite-toggle a:hover {
     510    color: #5a5;
     511    border-color: #7c7;
     512    background-color: #beb;
     513}
     514
     515.bbp-row-actions #favorite-toggle span.is-favorite a {
     516    color: #faa;
     517    border: 1px solid #faa;
     518    background-color: #fee;
     519}
     520
     521.bbp-row-actions #favorite-toggle span.is-favorite a:hover {
     522    color: #c88;
     523    border-color: #c88;
     524    background-color: #fdd;
     525}
    517526
    518527.bbp-row-actions #subscription-toggle a {
     
    524533    font-weight: bold;
    525534    font-size: 13px;
    526     }
    527     .bbp-row-actions #subscription-toggle a:hover {
    528         color: #5a5;
    529         border-color: #7c7;
    530         background-color: #beb;
    531     }
    532     .bbp-row-actions #subscription-toggle span.is-subscribed a {
    533         color: #faa;
    534         border: 1px solid #faa;
    535         background-color: #fee;
    536         }
    537         .bbp-row-actions #subscription-toggle span.is-subscribed a:hover {
    538             color: #c88;
    539             border-color: #c88;
    540             background-color: #fdd;
    541         }
     535}
     536
     537.bbp-row-actions #subscription-toggle a:hover {
     538    color: #5a5;
     539    border-color: #7c7;
     540    background-color: #beb;
     541}
     542
     543.bbp-row-actions #subscription-toggle span.is-subscribed a {
     544    color: #faa;
     545    border: 1px solid #faa;
     546    background-color: #fee;
     547}
     548
     549.bbp-row-actions #subscription-toggle span.is-subscribed a:hover {
     550    color: #c88;
     551    border-color: #c88;
     552    background-color: #fdd;
     553}
    542554
    543555#bbpress-forums .bbp-forum-info .bbp-forum-content,
     
    565577    list-style: none;
    566578    display: inline;
    567     }
    568     .bbp-pagination-links a,
    569     .bbp-pagination-links span.current {
    570         display: block;
    571         float: left;
    572         padding: 0px 5px;
    573         margin-left: 5px;
    574         border: 1px solid #efefef;
    575         text-decoration: none;
    576         }
    577         .bbp-pagination-links a:hover,
    578         .bbp-pagination-links span.current {
    579             background: #eee;
    580             opacity: 0.8;
    581             border: 1px solid #ddd;
    582         }
    583 
    584     .bbp-pagination-links span.dots {
    585         display: block;
    586         float: left;
    587         padding: 1px 4px;
    588         margin-left: 5px;
    589     }
     579}
     580
     581.bbp-pagination-links a,
     582.bbp-pagination-links span.current {
     583    display: block;
     584    float: left;
     585    padding: 0 5px;
     586    margin-left: 5px;
     587    border: 1px solid #efefef;
     588    text-decoration: none;
     589}
     590
     591.bbp-pagination-links a:hover,
     592.bbp-pagination-links span.current {
     593    background: #eee;
     594    opacity: 0.8;
     595    border: 1px solid #ddd;
     596}
     597
     598.bbp-pagination-links span.dots {
     599    display: block;
     600    float: left;
     601    padding: 1px 4px;
     602    margin-left: 5px;
     603}
    590604
    591605.bbp-pagination {
     
    599613    margin-left: 5px;
    600614    margin-bottom: 2px;
    601     }
    602     .bbp-topic-pagination a {
    603         font-size: 10px;
    604         line-height: 10px;
    605         padding: 1px 3px;
    606         border: 1px solid #ddd;
    607         text-decoration: none;
    608     }
     615}
     616
     617.bbp-topic-pagination a {
     618    font-size: 10px;
     619    line-height: 10px;
     620    padding: 1px 3px;
     621    border: 1px solid #ddd;
     622    text-decoration: none;
     623}
    609624
    610625
     
    677692    clear: left;
    678693}
     694
    679695body.topic-edit .bbp-topic-form div.avatar img,
    680696body.reply-edit .bbp-reply-form div.avatar img,
     
    696712    font-size: 10px;
    697713    background-color: #f0fff8;
    698     border: 1px solid #CEEFE1;
     714    border: 1px solid #ceefe1;
    699715    display: block;
    700716    padding: 8px;
     
    752768    min-height: 26px;
    753769}
     770
    754771#bbpress-forums div.bbp-the-content-wrapper td.mceToolbar {
    755772    padding: 4px 4px 8px;
     
    772789    padding: 20px 20px 0 20px;
    773790}
    774     #bbpress-forums #bbp-your-profile fieldset div {
    775         margin-bottom: 20px;
    776         float: left;
    777         width: 100%;
    778         clear: left;
    779     }
    780     #bbpress-forums #bbp-your-profile fieldset select {
    781         margin-bottom: 0;
    782     }
    783     #bbpress-forums #bbp-your-profile fieldset input,
    784     #bbpress-forums #bbp-your-profile fieldset textarea {
    785         margin-bottom: 0;
    786         width: 60%;
    787         background: #f9f9f9;
    788         border: 1px solid #ddd;
    789         -webkit-box-shadow: none;
    790         box-shadow: none;
    791         padding: 5px 8px;
    792         -webkit-border-radius: 0;
    793         border-radius: 0;
    794     }
    795     #bbpress-forums #bbp-your-profile fieldset input:focus,
    796     #bbpress-forums #bbp-your-profile fieldset textarea:focus {
    797         border: 1px solid #ccc;
    798         -webkit-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);
    799         box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);
    800         outline-color: rgba(240,255,240,0.1);
    801     }
    802     #bbpress-forums #bbp-your-profile fieldset.bbp-form input.checkbox {
    803         width: auto;
    804     }
    805     #bbpress-forums #bbp-your-profile fieldset legend {
    806         display: none;
    807     }
    808     #bbpress-forums #bbp-your-profile fieldset label[for] {
    809         float: left;
    810         width: 20%;
    811         padding: 5px 20px 5px 0;
    812         text-align: right;
    813         cursor: pointer;
    814     }
    815     #bbpress-forums #bbp-your-profile fieldset dl label[for] {
    816         text-align: left;
    817         width: 60%;
    818     }
    819     #bbpress-forums #bbp-your-profile fieldset span.description {
    820         margin: 5px 0 0 20%;
    821         font-size: 12px;
    822         font-style: italic;
    823         float: left;
    824         clear: left;
    825         width: 60%;
    826         padding: 5px 8px;
    827         border: #cee1ef 1px solid;
    828         background-color: #f0f8ff;
    829     }
    830 
    831     #bbpress-forums #bbp-your-profile fieldset fieldset {
    832         margin: 0;
    833         border: none;
    834         padding: 0;
    835         clear: none;
    836         float: none;
    837     }
    838     #bbpress-forums #bbp-your-profile fieldset fieldset.password {
    839         width: 60%;
    840         display: inline;
    841     }
    842     #bbpress-forums #bbp-your-profile fieldset fieldset.password input,
    843     #bbpress-forums #bbp-your-profile fieldset fieldset.password span {
    844         width: 100%;
    845     }
    846     #bbpress-forums #bbp-your-profile fieldset fieldset.capabilities dl {
    847         margin: 0;
    848     }
    849     #bbpress-forums #bbp-your-profile fieldset fieldset.password span.description {
    850         margin-left: 0;
    851         margin-bottom: 20px;
    852     }
    853 
    854     #bbpress-forums #bbp-your-profile fieldset.submit button {
    855         float: right;
    856     }
     791
     792#bbpress-forums #bbp-your-profile fieldset div {
     793    margin-bottom: 20px;
     794    float: left;
     795    width: 100%;
     796    clear: left;
     797}
     798
     799#bbpress-forums #bbp-your-profile fieldset select {
     800    margin-bottom: 0;
     801}
     802
     803#bbpress-forums #bbp-your-profile fieldset input,
     804#bbpress-forums #bbp-your-profile fieldset textarea {
     805    margin-bottom: 0;
     806    width: 60%;
     807    background: #f9f9f9;
     808    border: 1px solid #ddd;
     809    -webkit-box-shadow: none;
     810    box-shadow: none;
     811    padding: 5px 8px;
     812    -webkit-border-radius: 0;
     813    border-radius: 0;
     814}
     815
     816#bbpress-forums #bbp-your-profile fieldset input:focus,
     817#bbpress-forums #bbp-your-profile fieldset textarea:focus {
     818    border: 1px solid #ccc;
     819    -webkit-box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.1);
     820    box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.1);
     821    outline-color: rgba(240, 255, 240, 0.1);
     822}
     823
     824#bbpress-forums #bbp-your-profile fieldset.bbp-form input.checkbox {
     825    width: auto;
     826}
     827
     828#bbpress-forums #bbp-your-profile fieldset legend {
     829    display: none;
     830}
     831
     832#bbpress-forums #bbp-your-profile fieldset label[for] {
     833    float: left;
     834    width: 20%;
     835    padding: 5px 20px 5px 0;
     836    text-align: right;
     837    cursor: pointer;
     838}
     839
     840#bbpress-forums #bbp-your-profile fieldset dl label[for] {
     841    text-align: left;
     842    width: 60%;
     843}
     844
     845#bbpress-forums #bbp-your-profile fieldset span.description {
     846    margin: 5px 0 0 20%;
     847    font-size: 12px;
     848    font-style: italic;
     849    float: left;
     850    clear: left;
     851    width: 60%;
     852    padding: 5px 8px;
     853    border: #cee1ef 1px solid;
     854    background-color: #f0f8ff;
     855}
     856
     857#bbpress-forums #bbp-your-profile fieldset fieldset {
     858    margin: 0;
     859    border: none;
     860    padding: 0;
     861    clear: none;
     862    float: none;
     863}
     864
     865#bbpress-forums #bbp-your-profile fieldset fieldset.password {
     866    width: 60%;
     867    display: inline;
     868}
     869
     870#bbpress-forums #bbp-your-profile fieldset fieldset.password input,
     871#bbpress-forums #bbp-your-profile fieldset fieldset.password span {
     872    width: 100%;
     873}
     874
     875#bbpress-forums #bbp-your-profile fieldset fieldset.capabilities dl {
     876    margin: 0;
     877}
     878
     879#bbpress-forums #bbp-your-profile fieldset fieldset.password span.description {
     880    margin-left: 0;
     881    margin-bottom: 20px;
     882}
     883
     884#bbpress-forums #bbp-your-profile fieldset.submit button {
     885    float: right;
     886}
    857887
    858888/* =Notices
     
    872902    clear: both;
    873903}
     904
    874905div.bbp-template-notice a {
    875906    color: #555;
    876907    text-decoration: none;
    877908}
    878     div.bbp-template-notice a:hover {
    879         color: #000;
    880     }
    881     div.bbp-template-notice.info {
    882         border: #cee1ef 1px solid;
    883         background-color: #f0f8ff;
    884     }
    885     div.bbp-template-notice.important {
    886         border: #e6db55 1px solid;
    887         background-color: #fffbcc;
    888     }
    889     div.bbp-template-notice.error,
    890     div.bbp-template-notice.warning {
    891         background-color: #ffebe8;
    892         border-color: #c00;
    893     }
    894     div.bbp-template-notice.error a,
    895     div.bbp-template-notice.warning a {
    896         color: #c00;
    897     }
    898     div.bbp-template-notice p,
    899     div.bbp-template-notice li {
    900         margin: 0.5em 0 6px 0 !important;
    901         padding: 2px;
    902         font-size: 12px;
    903         line-height: 140%;
    904     }
     909
     910div.bbp-template-notice a:hover {
     911    color: #000;
     912}
     913
     914div.bbp-template-notice.info {
     915    border: #cee1ef 1px solid;
     916    background-color: #f0f8ff;
     917}
     918
     919div.bbp-template-notice.important {
     920    border: #e6db55 1px solid;
     921    background-color: #fffbcc;
     922}
     923
     924div.bbp-template-notice.error,
     925div.bbp-template-notice.warning {
     926    background-color: #ffebe8;
     927    border-color: #c00;
     928}
     929
     930div.bbp-template-notice.error a,
     931div.bbp-template-notice.warning a {
     932    color: #c00;
     933}
     934
     935div.bbp-template-notice p,
     936div.bbp-template-notice li {
     937    margin: 0.5em 0 6px 0 !important;
     938    padding: 2px;
     939    font-size: 12px;
     940    line-height: 140%;
     941}
    905942
    906943/* =Stickies
     
    11491186-------------------------------------------------------------- */
    11501187@media only screen and (max-width: 480px) {
     1188
    11511189    #bbpress-forums div.bbp-topic-tags {
    11521190        clear: left;
    11531191        float: left;
    11541192    }
     1193
    11551194    div.bbp-search-form input,
    11561195    div.bbp-search-form button {
     
    11581197        padding: 2px;
    11591198    }
     1199
    11601200    li.bbp-forum-info,
    11611201    li.bbp-topic-title {
    11621202        width: 45%;
    11631203    }
     1204
    11641205    li.bbp-forum-topic-count,
    11651206    li.bbp-forum-reply-count,
     
    11681209        width: 15%;
    11691210    }
     1211
    11701212    span.bbp-topic-post-date,
    11711213    span.bbp-reply-post-date {
    11721214        float: left;
    11731215    }
     1216
    11741217    span.bbp-admin-links {
    11751218        clear: left;
    11761219        float: left;
    11771220    }
     1221
    11781222    #bbpress-forums .bbp-forums-list li {
    11791223        display: block;
    11801224        font-size: 11px;
    11811225    }
     1226
    11821227    #bbpress-forums .bbp-body div.bbp-topic-author,
    11831228    #bbpress-forums .bbp-body div.bbp-reply-author {
     
    11891234        width: 100%;
    11901235    }
     1236
    11911237    #bbpress-forums div.bbp-topic-author a.bbp-author-name,
    11921238    #bbpress-forums div.bbp-reply-author a.bbp-author-name {
     
    11961242        word-wrap: break-word;
    11971243    }
     1244
    11981245    #bbpress-forums div.bbp-topic-author img.avatar,
    11991246    #bbpress-forums div.bbp-reply-author img.avatar {
     
    12041251        height: auto;
    12051252    }
     1253
    12061254    #bbpress-forums div.bbp-topic-author .bbp-author-role,
    12071255    #bbpress-forums div.bbp-reply-author .bbp-author-role {
     
    12091257        font-style: normal;
    12101258    }
     1259
    12111260    #bbpress-forums .bbp-body div.bbp-topic-content,
    12121261    #bbpress-forums .bbp-body div.bbp-reply-content {
     
    12151264        padding: 0;
    12161265    }
     1266
    12171267    #bbpress-forums div.bbp-topic-content p,
    12181268    #bbpress-forums div.bbp-reply-content p {
    12191269        margin-bottom: 1em;
    12201270    }
     1271
    12211272    div.bbp-submit-wrapper {
    12221273        float: left;
    12231274    }
     1275
    12241276    #bbpress-forums fieldset.bbp-form {
    12251277        padding: 0 10px 10px;
    12261278    }
     1279
    12271280    #bbpress-forums #bbp-user-body {
    12281281        clear: both;
     
    12301283        word-wrap: break-word;
    12311284    }
     1285
    12321286    #bbpress-forums div.bbp-forum-title h3,
    12331287    #bbpress-forums div.bbp-topic-title h3,
     
    12401294-------------------------------------------------------------- */
    12411295@media only screen and (max-width: 320px) {
     1296
    12421297    #bbpress-forums div.bbp-search-form {
    12431298        margin-bottom: 10px;
    12441299    }
     1300
    12451301    #bbpress-forums li.bbp-header li.bbp-forum-info,
    12461302    #bbpress-forums li.bbp-body li.bbp-forum-info,
     
    12491305        width: 100%;
    12501306    }
     1307
    12511308    #bbpress-forums li.bbp-header li.bbp-forum-info,
    12521309    #bbpress-forums li.bbp-header li.bbp-topic-title {
     
    12541311        text-transform: uppercase;
    12551312    }
     1313
    12561314    #bbpress-forums li.bbp-header li.bbp-forum-topic-count,
    12571315    #bbpress-forums li.bbp-header li.bbp-forum-reply-count,
     
    12641322        width: 20%;
    12651323    }
     1324
    12661325    #bbpress-forums li.bbp-header li.bbp-forum-freshness,
    12671326    #bbpress-forums li.bbp-body li.bbp-forum-freshness,
     
    12701329        width: 58%;
    12711330    }
     1331
    12721332    #bbpress-forums li.bbp-body li.bbp-forum-topic-count,
    12731333    #bbpress-forums li.bbp-body li.bbp-forum-reply-count,
     
    12781338        margin-top: 7px;
    12791339    }
     1340
    12801341    #bbpress-forums li.bbp-header,
    12811342    #bbpress-forums li.bbp-footer {
    12821343        font-size: 10px;
    12831344    }
     1345
    12841346    #bbpress-forums li.bbp-header div.bbp-search-author,
    12851347    #bbpress-forums li.bbp-header div.bbp-topic-author,
     
    12881350        width: 25%;
    12891351    }
     1352
    12901353    #bbpress-forums li.bbp-header div.bbp-search-content,
    12911354    #bbpress-forums li.bbp-header div.bbp-topic-content,
     
    12931356        margin-left: 25%;
    12941357    }
     1358
    12951359    #bbpress-forums div.bbp-template-notice img.avatar,
    12961360    #bbpress-forums p.bbp-topic-meta img.avatar {
     
    12981362        height: auto;
    12991363    }
     1364
    13001365    #bbpress-forums div.bbp-the-content-wrapper td.mceToolbar {
    13011366        padding: 1px;
    13021367    }
     1368
    13031369    #bbpress-forums div.bbp-the-content-wrapper td.mceToolbar td {
    13041370        width: 20px;
    13051371        height: 20px;
    13061372    }
     1373
    13071374    #bbpress-forums div.wp-editor-container {
    13081375        width: 100%;
    13091376        overflow: auto;
    13101377    }
     1378
    13111379    #bbpress-forums input#bbp_topic_title,
    13121380    #bbpress-forums input#bbp_topic_tags {
    13131381        width: 95%;
    13141382    }
     1383
    13151384    #bbpress-forums div.bbp-forum-title h3,
    13161385    #bbpress-forums div.bbp-topic-title h3,
     
    13231392-------------------------------------------------------------- */
    13241393@media only screen and (max-width: 240px) {
     1394
    13251395    #bbpress-forums li.bbp-header li.bbp-forum-topic-count,
    13261396    #bbpress-forums li.bbp-header li.bbp-forum-reply-count,
     
    13361406        width: 45%;
    13371407    }
     1408
    13381409    #bbpress-forums li.bbp-header li.bbp-forum-freshness,
    13391410    #bbpress-forums li.bbp-body li.bbp-forum-freshness,
     
    13431414        width: 100%;
    13441415    }
     1416
    13451417    #bbpress-forums li.bbp-header li.bbp-forum-freshness,
    13461418    #bbpress-forums li.bbp-header li.bbp-topic-freshness {
    13471419        text-align: center;
    13481420    }
     1421
    13491422    #bbpress-forums li.bbp-body li.bbp-topic-freshness,
    13501423    #bbpress-forums li.bbp-header div.bbp-search-author,
     
    13571430        text-align: left;
    13581431    }
     1432
    13591433    #bbpress-forums li.bbp-body li.bbp-topic-freshness p.bbp-topic-meta {
    13601434        display: inline-block;
    13611435    }
     1436
    13621437    #bbpress-forums li.bbp-header {
    13631438        overflow: hidden;
    13641439    }
     1440
    13651441    #bbpress-forums li.bbp-footer div.bbp-search-content,
    13661442    #bbpress-forums li.bbp-footer div.bbp-topic-content,
     
    13691445        margin-left: 0;
    13701446    }
     1447
    13711448    #bbpress-forums li.bbp-body div.bbp-topic-author,
    13721449    #bbpress-forums li.bbp-body div.bbp-reply-author {
     
    13741451        padding-left: 60px;
    13751452    }
     1453
    13761454    #bbpress-forums div.bbp-topic-author img.avatar,
    13771455    #bbpress-forums div.bbp-reply-author img.avatar {
     
    13791457        height: auto;
    13801458    }
     1459
    13811460    #bbpress-forums div.bbp-forum-title h3,
    13821461    #bbpress-forums div.bbp-topic-title h3,
Note: See TracChangeset for help on using the changeset viewer.