diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/001/001.test.js b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/001/001.test.js deleted file mode 100644 index f38a14e782e35f..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/001/001.test.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -const stylelint = require( 'stylelint' ), - systemTestUtils = require( '../systemTestUtils.js' ); - -it( '001', () => { - return stylelint.lint({ - files: [systemTestUtils.caseStylesheetGlob( '001' )], - configFile: systemTestUtils.caseConfig( '001' ), - }).then( ({ results }) => { - expect( systemTestUtils.prepResults( results ) ).toMatchSnapshot(); - }); -}); diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/001/__snapshots__/001.test.js.snap b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/001/__snapshots__/001.test.js.snap deleted file mode 100644 index 4da758cbb86150..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/001/__snapshots__/001.test.js.snap +++ /dev/null @@ -1,30 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`001 1`] = ` -Array [ - Object { - "deprecations": Array [], - "errored": true, - "ignored": undefined, - "invalidOptionWarnings": Array [], - "parseErrors": Array [], - "source": "001/stylesheet.css", - "warnings": Array [ - Object { - "column": 34, - "line": 1139, - "rule": "block-no-empty", - "severity": "error", - "text": "Unexpected empty block (block-no-empty)", - }, - Object { - "column": 34, - "line": 1147, - "rule": "block-no-empty", - "severity": "error", - "text": "Unexpected empty block (block-no-empty)", - }, - ], - }, -] -`; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/001/config.json b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/001/config.json deleted file mode 100644 index a8af7d5dcb61b9..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/001/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../index.js" -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/001/stylesheet.css b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/001/stylesheet.css deleted file mode 100644 index b49f0acece70fa..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/001/stylesheet.css +++ /dev/null @@ -1,1642 +0,0 @@ -/** - * bbPress specific CSS - * - * @package bbPress - * @subpackage Theme - */ - -/* =bbPress Style --------------------------------------------------------------- */ - -.hidden, -.js .hide-if-js { - display: none; -} - -/* Hide visually but not from screen readers */ -.screen-reader-text, -.screen-reader-text span, -.ui-helper-hidden-accessible { - position: absolute; - margin: -1px; - padding: 0; - height: 1px; - width: 1px; - overflow: hidden; - clip: rect(0 0 0 0); - border: 0; - word-wrap: normal !important; /* many screen reader and browser combinations announce broken words as they would appear visually */ -} - -#bbpress-forums { - background: transparent; - clear: both; - margin-bottom: 20px; - overflow: hidden; - font-size: 12px; -} - -#bbpress-forums a, -#bbpress-forums a:hover { - box-shadow: none; - border: none; -} - -#bbpress-forums hr { - margin: 0 0 24px; -} - -#bbpress-forums div.even, -#bbpress-forums ul.even { - background-color: #fff; -} - -#bbpress-forums div.odd, -#bbpress-forums ul.odd { - background-color: #fbfbfb; -} - -body.reply-edit .reply { - float: none; -} - -#bbpress-forums div.reply { - height: auto; - width: 100%; -} - -#bbpress-forums div.bbp-forum-header, -#bbpress-forums div.bbp-topic-header, -#bbpress-forums div.bbp-reply-header { - background-color: #f4f4f4; -} - -#bbpress-forums .status-trash.even, -#bbpress-forums .status-spam.even { - background-color: #fee; -} - -#bbpress-forums .status-trash.odd, -#bbpress-forums .status-spam.odd { - background-color: #fdd; -} - -#bbpress-forums .status-pending.even, -#bbpress-forums .status-pending.odd, -#bbpress-forums ul.status-pending a { - background-color: #fef7f1; -} - -#bbpress-forums ul.status-closed, -#bbpress-forums ul.status-closed a { - color: #ccc; -} - -#bbpress-forums ul { - background: none; - list-style: none; - margin: 0; - padding: 0; -} - -#bbpress-forums ul.bbp-threaded-replies { - margin-left: 50px; -} - -#bbpress-forums li { - background: none; - margin: 0; - list-style: none; -} - -#bbpress-forums ul.bbp-lead-topic, -#bbpress-forums ul.bbp-topics, -#bbpress-forums ul.bbp-forums, -#bbpress-forums ul.bbp-replies, -#bbpress-forums ul.bbp-search-results { - font-size: 12px; - overflow: hidden; - border: 1px solid #eee; - margin-bottom: 20px; - clear: both; -} - -#bbpress-forums li.bbp-header, -#bbpress-forums li.bbp-body, -#bbpress-forums li.bbp-footer { - clear: both; -} - -#bbpress-forums li.bbp-header, -#bbpress-forums li.bbp-footer { - background: #f3f3f3; - border-top: 1px solid #eee; - font-weight: 700; - padding: 8px; - text-align: center; -} - -#bbpress-forums li.bbp-header { - background: #eaeaea; -} - -#bbpress-forums li.bbp-header ul { - overflow: hidden; -} - -#bbpress-forums .bbp-forums-list { - margin: 0 0 0 5px; - padding-left: 15px; - border-left: 1px solid #ddd; -} - -#bbpress-forums .bbp-forums-list li { - display: inline; - font-size: 11px; -} - -#bbpress-forums li.bbp-footer p { - margin: 0; - line-height: 1; -} - -li.bbp-forum-info, -li.bbp-topic-title { - float: left; - text-align: left; - width: 55%; -} - -li.bbp-forum-topic-count, -li.bbp-topic-voice-count, -li.bbp-forum-reply-count, -li.bbp-topic-reply-count { - float: left; - text-align: center; - width: 10%; -} - -li.bbp-forum-freshness, -li.bbp-topic-freshness { - text-align: center; - float: left; - width: 22%; -} - -#bbpress-forums li.bbp-body ul.forum, -#bbpress-forums li.bbp-body ul.topic { - border-top: 1px solid #eee; - overflow: hidden; - padding: 8px; -} - -#bbpress-forums #subscription-toggle, -#bbpress-forums #favorite-toggle { - float: right; -} - -#bbpress-forums div.bbp-forum-title h3, -#bbpress-forums div.bbp-topic-title h3, -#bbpress-forums div.bbp-reply-title h3 { - background: none; - border: none; - font-size: 16px; - line-height: 1; - margin: 8px 0; - padding: 0; - text-transform: none; -} - -#bbpress-forums div.bbp-forum-author, -#bbpress-forums div.bbp-topic-author, -#bbpress-forums div.bbp-reply-author { - float: left; - text-align: center; - width: 115px; -} - -#bbpress-forums div.bbp-forum-author img.avatar, -#bbpress-forums div.bbp-topic-author img.avatar, -#bbpress-forums div.bbp-reply-author img.avatar { - border: none; - max-width: 80px; - padding: 0; - margin: 12px auto 0; - float: none; -} - -#bbpress-forums div.bbp-forum-author a.bbp-author-name, -#bbpress-forums div.bbp-topic-author a.bbp-author-name, -#bbpress-forums div.bbp-reply-author a.bbp-author-name { - margin: 0 12px; - word-wrap: break-word; - display: inline-block; -} - -#bbpress-forums div.bbp-topic-author a.bbp-author-name, -#bbpress-forums div.bbp-reply-author a.bbp-author-name { - clear: left; - display: block; -} - -#bbpress-forums div.bbp-forum-author .bbp-author-role, -#bbpress-forums div.bbp-topic-author .bbp-author-role, -#bbpress-forums div.bbp-reply-author .bbp-author-role { - font-size: 11px; - font-style: italic; -} - -#bbpress-forums li.bbp-header .bbp-search-author, -#bbpress-forums li.bbp-footer .bbp-search-author, -#bbpress-forums li.bbp-header .bbp-forum-author, -#bbpress-forums li.bbp-footer .bbp-forum-author, -#bbpress-forums li.bbp-header .bbp-topic-author, -#bbpress-forums li.bbp-footer .bbp-topic-author, -#bbpress-forums li.bbp-header .bbp-reply-author, -#bbpress-forums li.bbp-footer .bbp-reply-author { - float: left; - margin: 0; - padding: 0; - width: 120px; -} - -#bbpress-forums li.bbp-header .bbp-search-content, -#bbpress-forums li.bbp-footer .bbp-search-content, -#bbpress-forums li.bbp-header .bbp-forum-content, -#bbpress-forums li.bbp-footer .bbp-forum-content, -#bbpress-forums li.bbp-header .bbp-topic-content, -#bbpress-forums li.bbp-footer .bbp-topic-content, -#bbpress-forums li.bbp-header .bbp-reply-content, -#bbpress-forums li.bbp-footer .bbp-reply-content { - margin-left: 140px; - padding: 0; - text-align: left; -} - -div.bbp-forum-header, -div.bbp-topic-header, -div.bbp-reply-header, -li.bbp-body div.hentry { - margin: 0; - overflow: hidden; - padding: 8px; -} - -div.bbp-forum-header, -div.bbp-topic-header, -div.bbp-reply-header { - border-top: 1px solid #ddd; - clear: both; -} - -span.bbp-author-ip { - font-size: 11px; - font-weight: 700; - word-wrap: break-word; - color: #aaa; -} - -/* =Topic and reply content --------------------------------------------------------------- */ - -#bbpress-forums div.bbp-forum-content, -#bbpress-forums div.bbp-topic-content, -#bbpress-forums div.bbp-reply-content { - margin-left: 130px; - padding: 12px 12px 12px 0; - text-align: left; -} - -/* Clearing hack */ -#bbpress-forums div.bbp-forum-content:after, -#bbpress-forums div.bbp-topic-content:after, -#bbpress-forums div.bbp-reply-content:after { - clear: both; - content: "."; - display: block; - float: none; - height: 0; - font-size: 0; - visibility: hidden; -} - -#bbpress-forums div.bbp-topic-content a, -#bbpress-forums div.bbp-reply-content a { - background: none; - border: none; - display: inline; - font-weight: 400; - margin: 0; - padding: 0; -} - -#bbpress-forums div.bbp-topic-content a.bbp-user-mention, -#bbpress-forums div.bbp-reply-content a.bbp-user-mention { - background: none; - border: none; - text-decoration: none; - text-shadow: none; - display: inline; - font-weight: 600; - margin: 0; - padding: 0; -} - -#bbpress-forums div.bbp-topic-content h1, -#bbpress-forums div.bbp-reply-content h1, -#bbpress-forums div.bbp-topic-content h2, -#bbpress-forums div.bbp-reply-content h2, -#bbpress-forums div.bbp-topic-content h3, -#bbpress-forums div.bbp-reply-content h3, -#bbpress-forums div.bbp-topic-content h4, -#bbpress-forums div.bbp-reply-content h4, -#bbpress-forums div.bbp-topic-content h5, -#bbpress-forums div.bbp-reply-content h5, -#bbpress-forums div.bbp-topic-content h6, -#bbpress-forums div.bbp-reply-content h6 { - clear: none; - line-height: 1; - margin: 24px 0; - padding: 0; -} - -#bbpress-forums div.bbp-topic-content img, -#bbpress-forums div.bbp-reply-content img { - max-width: 100%; - height: auto; -} - -#bbpress-forums div.bbp-topic-content ul, -#bbpress-forums div.bbp-reply-content ul, -#bbpress-forums div.bbp-topic-content ol, -#bbpress-forums div.bbp-reply-content ol { - margin: 0 15px 15px; - padding: 0; -} - -#bbpress-forums div.bbp-topic-content ul li, -#bbpress-forums div.bbp-reply-content ul li { - list-style-type: disc; -} - -#bbpress-forums div.bbp-topic-content ol li, -#bbpress-forums div.bbp-reply-content ol li { - list-style-type: decimal; -} - -#bbpress-forums div.bbp-topic-content ol li li, -#bbpress-forums div.bbp-reply-content ol li li { - list-style-type: lower-alpha; -} - -#bbpress-forums div.bbp-topic-content ol li li li, -#bbpress-forums div.bbp-reply-content ol li li li { - list-style-type: upper-roman; -} - -#bbpress-forums div.bbp-topic-content code, -#bbpress-forums div.bbp-reply-content code, -#bbpress-forums div.bbp-topic-content pre, -#bbpress-forums div.bbp-reply-content pre { - font-family: Inconsolata, Consolas, Monaco, "Lucida Console", monospace; - display: inline-block; - background-color: #f9f9f9; - border: 1px solid #ddd; - padding: 0 5px; - max-width: 95%; - vertical-align: middle; - margin-top: -3px; - overflow-x: auto; -} - -#bbpress-forums div.bbp-topic-content pre, -#bbpress-forums div.bbp-reply-content pre { - display: block; - line-height: 18px; - margin: 0 0 24px; - padding: 5px 10px; - white-space: pre; - overflow: auto; -} - -#bbpress-forums div.bbp-topic-content pre code, -#bbpress-forums div.bbp-reply-content pre code { - display: block; - border: none; - padding: 0; - margin: 0; - background-color: transparent; - overflow-wrap: normal; - overflow: auto; - max-width: 100%; -} - -/* =Reply to --------------------------------------------------------------- */ - -#bbpress-forums div.bbp-reply-to { - margin-left: 130px; - padding: 12px 12px 12px 0; - text-align: right; -} - -#bbpress-forums div#bbp-cancel-reply-to { - text-align: right; -} - -/* =Breadcrumb and Tags --------------------------------------------------------------- */ - -div.bbp-breadcrumb { - float: left; -} - -div.bbp-breadcrumb, -div.bbp-topic-tags { - font-size: 12px; -} - -#bbpress-forums div.bbp-breadcrumb p, -#bbpress-forums div.bbp-topic-tags p { - margin-bottom: 10px; -} - -#bbpress-forums div.bbp-topic-tags { - float: right; - clear: both; -} - -#bbp-topic-hot-tags { - clear: both; -} - -/* =Search --------------------------------------------------------------- */ - -#bbpress-forums #bbp-search-form { - clear: left; -} - -#bbpress-forums #bbp-search-form .hidden { - height: 0; - width: 0; - overflow: hidden; - position: absolute; - background: none; - left: -999em; -} - -#bbpress-forums #bbp-search-form #bbp_search { - display: inline-block; - width: auto; -} - -#bbpress-forums div.bbp-search-form { - float: right; -} - -/* =Admin Links --------------------------------------------------------------- */ - -span.bbp-admin-links { - float: right; - color: #ddd; -} - -span.bbp-admin-links a { - color: #bbb; - font-weight: 400; - font-size: 10px; - text-transform: uppercase; - text-decoration: none; -} - -fieldset span.bbp-admin-links { - float: left; -} - -tr td span.bbp-admin-links a:hover { - color: #ff4b33; -} - -td.bbp-topic-admin-links, -td.bbp-topic-counts { - width: 50%; -} - -.bbp-forum-header a.bbp-forum-permalink, -.bbp-topic-header a.bbp-topic-permalink, -.bbp-reply-header a.bbp-reply-permalink { - float: right; - margin-left: 10px; - color: #ccc; -} - -/* =Toggles --------------------------------------------------------------- */ - -.bbp-row-actions #favorite-toggle a { - text-decoration: none; - padding: 0 3px 1px; - color: #7c7; - border: 1px solid #aca; - background-color: #dfd; - font-weight: 700; - font-size: 13px; -} - -.bbp-row-actions #favorite-toggle a:hover { - color: #5a5; - border-color: #7c7; - background-color: #beb; -} - -.bbp-row-actions #favorite-toggle span.is-favorite a { - color: #faa; - border: 1px solid #faa; - background-color: #fee; -} - -.bbp-row-actions #favorite-toggle span.is-favorite a:hover { - color: #c88; - border-color: #c88; - background-color: #fdd; -} - -.bbp-row-actions #subscription-toggle a { - text-decoration: none; - padding: 0 3px 1px; - color: #7c7; - border: 1px solid #aca; - background-color: #dfd; - font-weight: 700; - font-size: 13px; -} - -.bbp-row-actions #subscription-toggle a:hover { - color: #5a5; - border-color: #7c7; - background-color: #beb; -} - -.bbp-row-actions #subscription-toggle span.is-subscribed a { - color: #faa; - border: 1px solid #faa; - background-color: #fee; -} - -.bbp-row-actions #subscription-toggle span.is-subscribed a:hover { - color: #c88; - border-color: #c88; - background-color: #fdd; -} - -#bbpress-forums .bbp-forum-info .bbp-forum-content, -#bbpress-forums p.bbp-topic-meta { - font-size: 11px; - margin: 5px 0; - padding: 0; - word-wrap: break-word; -} - -#bbpress-forums p.bbp-topic-meta span { - white-space: nowrap; -} - -/* =Pagination --------------------------------------------------------------- */ - -.bbp-pagination-count { - float: left; - border: 1px solid transparent; -} - -.bbp-pagination-links { - float: right; - list-style: none; - display: inline; -} - -.bbp-pagination-links a, -.bbp-pagination-links span.current { - display: block; - float: left; - padding: 0 5px; - margin-left: 5px; - border: 1px solid #efefef; - text-decoration: none; -} - -.bbp-pagination-links a:hover, -.bbp-pagination-links span.current { - background: #eee; - opacity: 0.8; - border: 1px solid #ddd; -} - -.bbp-pagination-links span.dots { - display: block; - float: left; - padding: 1px 4px; - margin-left: 5px; -} - -.bbp-pagination { - float: left; - width: 100%; - margin-bottom: 15px; -} - -.bbp-topic-pagination { - display: inline-block; - margin-left: 5px; - margin-bottom: 2px; -} - -.bbp-topic-pagination a { - font-size: 10px; - line-height: 10px; - padding: 1px 3px; - border: 1px solid #ddd; - text-decoration: none; -} - - -/* =Forms --------------------------------------------------------------- */ - -#bbpress-forums fieldset.bbp-form { - clear: left; - border: 1px solid #eee; - padding: 10px 20px; - margin-bottom: 10px; -} - -#bbpress-forums fieldset.bbp-form legend { - padding: 5px; - width: auto; - border: none; -} - -#bbpress-forums fieldset.bbp-form label { - margin: 0; - display: inline-block; -} - -#bbp-edit-topic-tag.bbp-form fieldset.bbp-form label, -#bbp-login fieldset label, -#bbp-register fieldset label, -#bbp-lost-pass fieldset label { - width: 100px; -} - -#bbpress-forums fieldset.bbp-form p, -#bbpress-forums fieldset.bbp-form textarea, -#bbpress-forums fieldset.bbp-form select, -#bbpress-forums fieldset.bbp-form input { - margin: 0 0 8px; -} - -textarea#bbp_reply_content, -textarea#bbp_topic_content, -textarea#bbp_forum_content { - width: 97%; - box-sizing: border-box; -} - -textarea#bbp_forum_content { - height: 210px; -} - -#bbpress-forums fieldset.bbp-forum-form-attributes { - width: 200px; - float: right; - clear: none; - margin-left: 25px; -} - -/** - * Fix for too-long forum names, usually from conversion - */ -#bbpress-forums fieldset select#bbp_forum_id { - max-width: 200px; -} - -.bbp-topic-form, -.bbp-reply-form, -.bbp-topic-tag-form { - clear: left; -} - -body.topic-edit .bbp-topic-form div.avatar img, -body.reply-edit .bbp-reply-form div.avatar img, -body.single-forum .bbp-topic-form div.avatar img, -body.single-reply .bbp-reply-form div.avatar img { - margin-right: 0; - padding: 10px; - border: 1px solid #ddd; - line-height: 0; - background-color: #efefef; -} - -body.page .bbp-reply-form code, -body.page .bbp-topic-form code, -body.single-topic .bbp-reply-form code, -body.single-forum .bbp-topic-form code, -body.topic-edit .bbp-topic-form code, -body.reply-edit .bbp-reply-form code { - font-size: 10px; - background-color: #f0fff8; - border: 1px solid #ceefe1; - display: block; - padding: 8px; - margin-top: 5px; - width: 369px; -} - -#merge_tag, -#delete_tag { - display: inline; -} - -div.bbp-submit-wrapper { - margin-top: 15px; - float: right; - clear: both; -} - -p.form-allowed-tags { - max-width: 100%; -} - -/* =TinyMCE in themes --------------------------------------------------------------- */ -#bbpress-forums div.bbp-the-content-wrapper { - margin-bottom: 10px; -} - -#bbpress-forums div.bbp-the-content-wrapper textarea.bbp-the-content { - width: 100%; - margin: 0; - font-size: 12px; -} - -#bbpress-forums div.bbp-the-content-wrapper table, -#bbpress-forums div.bbp-the-content-wrapper tbody, -#bbpress-forums div.bbp-the-content-wrapper tr, -#bbpress-forums div.bbp-the-content-wrapper td { - border: none; - padding: 0; - margin: 0; - width: auto; - line-height: 1; -} - -#bbpress-forums div.bbp-the-content-wrapper input[type="button"] { - padding: 5px 7px; - margin: 0 -1px 0 0; - line-height: 1; - border: 1px solid transparent; - background-color: transparent; - box-shadow: none; - text-shadow: none; - border-radius: 0; - text-transform: uppercase; - font-size: 11px; -} - -#bbpress-forums div.bbp-the-content-wrapper input[type="button"]:hover { - border-color: rgba(0, 0, 0, 0.1); - background-color: rgba(255, 255, 255, 0.5); -} - -#bbpress-forums div.bbp-the-content-wrapper div.quicktags-toolbar { - padding: 5px; - min-height: 26px; -} - -#bbpress-forums div.bbp-the-content-wrapper td.mceToolbar { - padding: 4px 4px 8px; -} - -#bbpress-forums div.wp-editor-container { - margin: 0; - padding: 0; - line-height: 0; -} - -#bbpress-forums div.bbp-the-content-wrapper td.mceStatusbar { - line-height: 16px; -} - -/* =Edit User --------------------------------------------------------------- */ - -#bbpress-forums #bbp-your-profile fieldset { - padding: 20px 20px 0; -} - -#bbpress-forums #bbp-your-profile fieldset div { - margin-bottom: 20px; - float: left; - width: 100%; - clear: left; -} - -#bbpress-forums #bbp-your-profile fieldset select { - margin-bottom: 0; - width: 60%; - background-color: #f9f9f9; - border: 1px solid #ddd; -} - -#bbpress-forums #bbp-your-profile fieldset input, -#bbpress-forums #bbp-your-profile fieldset textarea { - margin-bottom: 0; - width: 60%; - background-color: #f9f9f9; - border: 1px solid #ddd; - box-shadow: none; - border-radius: 0; -} - -#bbpress-forums #bbp-your-profile fieldset input:focus, -#bbpress-forums #bbp-your-profile fieldset textarea:focus { - border: 1px solid #ccc; - box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.1); - outline-color: rgba(240, 255, 240, 0.1); -} - -#bbpress-forums #bbp-your-profile fieldset.bbp-form input.checkbox { - width: auto; -} - -#bbpress-forums #bbp-your-profile fieldset legend { - display: none; -} - -#bbpress-forums #bbp-your-profile fieldset label[for] { - float: left; - width: 20%; - padding: 5px 20px 5px 0; - text-align: right; - cursor: pointer; -} - -#bbpress-forums #bbp-your-profile fieldset dl label[for] { - text-align: left; - width: 60%; -} - -#bbpress-forums #bbp-your-profile fieldset p.description { - margin: 5px 0 0 20%; - font-size: 12px; - font-style: italic; - float: left; - clear: left; - width: 60%; - padding: 5px 8px; - border: #cee1ef 1px solid; - background-color: #f0f8ff; -} - -#bbpress-forums #bbp-your-profile fieldset fieldset { - margin: 0; - border: none; - padding: 0; - clear: none; - float: none; -} - -#bbpress-forums #bbp-your-profile fieldset fieldset.capabilities dl { - margin: 0; -} - -#bbpress-forums #bbp-your-profile fieldset.submit button { - float: right; -} - -/* =Password Generator --------------------------------------------------------------- */ - -#bbpress-forums #bbp-your-profile fieldset fieldset.password { - width: 60%; - display: inline; -} - -#bbpress-forums #bbp-your-profile fieldset fieldset.password .password-input-wrapper, -#bbpress-forums #bbp-your-profile fieldset fieldset.password .password-button-wrapper { - width: 100%; - margin: 0; - display: inline-block; -} - -#bbpress-forums #bbp-your-profile fieldset fieldset.password .password-button-wrapper button { - width: 46%; - margin: 4% 2%; - box-sizing: border-box; - display: inline-block; -} - -#bbpress-forums #bbp-your-profile fieldset fieldset.password input, -#bbpress-forums #bbp-your-profile fieldset fieldset.passwword textarea { - width: 100%; -} - -#bbpress-forums #bbp-your-profile fieldset fieldset.password button .dashicons { - display: none; -} - -#bbpress-forums #bbp-your-profile fieldset fieldset.password span.description { - margin-left: 0; - margin-bottom: 20px; -} - -#bbpress-forums #password #pass-strength-result { - background-color: #eee; - border: 1px solid #ddd; - color: #23282d; - margin: 0; - padding: 8px; - text-align: center; - box-sizing: border-box; - display: inline-block; -} - -#bbpress-forums #password #pass-strength-result.short { - background-color: #f1adad; - border-color: #e35b5b; - opacity: 1; -} - -#bbpress-forums #password #pass-strength-result.bad { - background-color: #fbc5a9; - border-color: #f78b53; - opacity: 1; -} - -#bbpress-forums #password #pass-strength-result.good { - background-color: #ffe399; - border-color: #ffc733; - opacity: 1; -} - -#bbpress-forums #password #pass-strength-result.strong { - background-color: #c1e1b9; - border-color: #83c373; - opacity: 1; -} - -#bbpress-forums #password #pass1.short, -#bbpress-forums #password #pass1-text.short { - border-color: #e35b5b; -} - -#bbpress-forums #password#pass1.bad, -#bbpress-forums #password #pass1-text.bad { - border-color: #f78b53; -} - -#bbpress-forums #password #pass1.good, -#bbpress-forums #password #pass1-text.good { - border-color: #ffc733; -} - -#bbpress-forums #password #pass1.strong, -#bbpress-forums #password #pass1-text.strong { - border-color: #83c373; -} - -#bbpress-forums .indicator-hint { - padding-top: 8px; -} - -#bbpress-forums .pw-weak, -#bbpress-forums #pass1-text, -#bbpress-forums .show-password #pass1 { - display: none; -} - -#bbpress-forums .show-password #pass1-text { - display: inline-block; -} - -/* =Notices --------------------------------------------------------------- */ - -div.bbp-template-notice, -div.indicator-hint { - border-width: 1px; - border-style: solid; - padding: 0 0.6em; - margin: 5px 0 15px; - border-radius: 3px; - background-color: #ffffe0; - border-color: #e6db55; - color: #000; - clear: both; -} - -div.bbp-template-notice a { - color: #555; - text-decoration: none; -} - -div.bbp-template-notice a:hover { - color: #000; -} - -div.bbp-template-notice.info { - border: #cee1ef 1px solid; - background-color: #f0f8ff; -} - -div.bbp-template-notice.important { - border: #e6db55 1px solid; - background-color: #fffbcc; -} - -div.bbp-template-notice.error, -div.bbp-template-notice.warning { - background-color: #ffebe8; - border-color: #c00; -} - -div.bbp-template-notice.error a, -div.bbp-template-notice.warning a { - color: #c00; -} - -div.bbp-template-notice p, -div.bbp-template-notice li { - margin: 0.5em 0 6px !important; - padding: 2px; - font-size: 12px; - line-height: 1.4; -} - -/* =Stickies --------------------------------------------------------------- */ - -.bbp-topics-front ul.super-sticky, -.bbp-topics ul.super-sticky, -.bbp-topics ul.sticky, -.bbp-forum-content ul.sticky { - background-color: #ffffe0 !important; - font-size: 1.1em; -} - -/* =Revisions --------------------------------------------------------------- */ - -#bbpress-forums .bbp-topic-content ul.bbp-topic-revision-log, -#bbpress-forums .bbp-reply-content ul.bbp-topic-revision-log, -#bbpress-forums .bbp-reply-content ul.bbp-reply-revision-log { - border-top: 1px dotted #ddd; - width: 100%; - margin: 0; - padding: 8px 0 0; - font-size: 11px; - color: #aaa; -} - -#bbpress-forums .bbp-topic-content ul.bbp-topic-revision-log li, -#bbpress-forums .bbp-reply-content ul.bbp-topic-revision-log li, -#bbpress-forums .bbp-reply-content ul.bbp-reply-revision-log li { - list-style-type: none; -} - -/* =Widgets --------------------------------------------------------------- */ - -.bbp-login-form fieldset legend { - display: none; -} - -.bbp-login-form .bbp-username input, -.bbp-login-form .bbp-email input, -.bbp-login-form .bbp-password input { - padding: 5px; -} - -.bbp-login-form label { - width: 140px; - display: inline-block; -} - -#sidebar .bbp-login-form label { - width: 70px; -} - -.bbp-login-form .bbp-username, -.bbp-login-form .bbp-email, -.bbp-login-form .bbp-password, -.bbp-login-form .bbp-remember-me, -.bbp-login-form .bbp-submit-wrapper { - margin-top: 10px; -} - -.bbp-login-form .bbp-remember-me { - -} - -.bbp-login-form .bbp-submit-wrapper { - text-align: right; -} - -.bbp-login-form .bbp-login-links { -} - -.bbp-login-form .bbp-login-links a { - float: left; - clear: left; -} - -.bbp-logged-in img.avatar { - float: left; - margin: 0 15px 0 0; -} - -.bbp-logged-in h4 { - font-weight: 700; - font-size: 1.3em; - clear: none; - margin-bottom: 10px; -} - -/* =Avatars --------------------------------------------------------------- */ - -#bbpress-forums img.avatar { - box-shadow: none; - display: inline-block; -} - -#bbpress-forums p.bbp-topic-meta img.avatar, -#bbpress-forums ul.bbp-reply-revision-log img.avatar, -#bbpress-forums ul.bbp-topic-revision-log img.avatar, -#bbpress-forums div.bbp-template-notice img.avatar, -#bbpress-forums .widget_display_topics img.avatar, -#bbpress-forums .widget_display_replies img.avatar { - float: none; - vertical-align: middle; - border: 3px double #ddd; -} - -fieldset div.avatar { - float: right; -} - -/* =BuddyPress Activity Streams --------------------------------------------------------------- */ - -.activity-list li.bbp_topic_create .activity-content .activity-inner, -.activity-list li.bbp_reply_create .activity-content .activity-inner { - border-left: 2px solid #eaeaea; - margin-left: 5px; - padding-left: 10px; -} - -/* =User Pages --------------------------------------------------------------- */ - -#bbpress-forums h1 { - clear: none; - font-size: 1.8em; - line-height: 1; - padding-bottom: 10px; -} - -#bbpress-forums #bbp-user-wrapper { - float: left; - width: 100%; -} - -#bbpress-forums .bbp-user-section { - overflow: auto; - clear: right; -} - -#bbpress-forums #bbp-user-wrapper h2.entry-title { - font-size: 1.4em; - margin: 0; - padding-bottom: 10px; - padding-top: 0; - clear: none; -} - -#bbpress-forums #bbp-user-wrapper ul.bbp-lead-topic, -#bbpress-forums #bbp-user-wrapper ul.bbp-topics, -#bbpress-forums #bbp-user-wrapper ul.bbp-forums, -#bbpress-forums #bbp-user-wrapper ul.bbp-replies, -#bbpress-forums #bbp-user-wrapper fieldset.bbp-form { - clear: none; -} - -#bbpress-forums #bbp-single-user-details { - margin: 0; - width: 150px; - float: left; - overflow: hidden; -} - -#bbpress-forums #bbp-single-user-details #bbp-user-avatar { - margin: 0; - width: 150px; -} - -#bbpress-forums #bbp-single-user-details #bbp-user-avatar img.avatar { - border: none; - height: 150px; - padding: 0; - margin: 0 0 20px; - width: 150px; -} - -#bbpress-forums #bbp-single-user-details #bbp-user-description { - float: none; - margin-left: 180px; -} - -#bbpress-forums #bbp-single-user-details #bbp-user-navigation { - float: none; - margin: 0; -} - -#bbpress-forums #bbp-single-user-details #bbp-user-navigation li { - margin: 0; -} - -#bbpress-forums #bbp-single-user-details #bbp-user-navigation a { - padding: 5px 8px; - display: block; - border: 1px solid transparent; - text-decoration: none; -} - -#bbpress-forums #bbp-single-user-details #bbp-user-navigation li.current a { - background: #eee; - opacity: 0.8; -} - -#bbpress-forums #bbp-user-body { - margin-left: 180px; -} - -body.my-account #bbpress-forums { - border-top: none; - padding-top: 0; - margin-bottom: 0; -} - -/* =User Capabilities --------------------------------------------------------------- */ - -#bbpress-forums dl.bbp-user-capabilities { - display: inline-block; - vertical-align: top; -} - -#bbpress-forums dl.bbp-user-capabilities dt { - margin: 0 0 10px; - text-transform: capitalize; -} - -#bbpress-forums dl.bbp-user-capabilities dd { - margin: 0; - padding: 0; -} - -/* =BuddyPress Group Forums --------------------------------------------------------------- */ - -#bbpress-forums div.row-actions { - font-size: 11px; - visibility: hidden; -} - -#bbpress-forums li:hover > div.row-actions { - visibility: visible; -} - -/* =Alerts --------------------------------------------------------------- */ - -.bbp-alert-outer { - height: 100%; - width: 100%; - top: 0; - left: 0; - position: fixed; - background-color: rgba(0, 0, 0, 0.2); - z-index: 99999; -} - -.bbp-alert-inner { - width: 350px; - text-align: center; - background: #fff; - position: fixed; - top: 50%; - left: 50%; - margin-top: -75px; - margin-left: -185px; - border-radius: 3px; - border: 1px solid #aaa; - padding: 15px 10px 10px; -} - -.bbp-alert-outer .bbp-alert-inner p { - margin: 10px 0; -} - -.bbp-alert-actions a { - padding: 5px 20px; - text-decoration: none; -} - -/*-------------------------------------------------------------- - Media Queries ---------------------------------------------------------------*/ - -/* =Standard Mobile Landscape --------------------------------------------------------------- */ -@media only screen and (max-width: 480px) { - - #bbpress-forums div.bbp-topic-tags { - clear: left; - float: left; - } - - div.bbp-search-form input, - div.bbp-search-form button { - font-size: 11px; - padding: 2px; - } - - li.bbp-forum-info, - li.bbp-topic-title { - width: 45%; - } - - li.bbp-forum-topic-count, - li.bbp-forum-reply-count, - li.bbp-topic-voice-count, - li.bbp-topic-reply-count { - width: 15%; - } - - span.bbp-topic-post-date, - span.bbp-reply-post-date { - float: left; - } - - span.bbp-admin-links { - clear: left; - float: left; - } - - #bbpress-forums .bbp-forums-list li { - display: block; - font-size: 11px; - } - - #bbpress-forums .bbp-body div.bbp-topic-author, - #bbpress-forums .bbp-body div.bbp-reply-author { - margin: -15px 10px 10px; - min-height: 100px; - padding-left: 80px; - position: relative; - text-align: left; - width: 100%; - } - - #bbpress-forums div.bbp-topic-author a.bbp-author-name, - #bbpress-forums div.bbp-reply-author a.bbp-author-name { - clear: none; - display: inline-block; - margin-left: 0; - word-wrap: break-word; - } - - #bbpress-forums div.bbp-topic-author img.avatar, - #bbpress-forums div.bbp-reply-author img.avatar { - position: absolute; - top: 15px; - left: 0; - width: 60px; - height: auto; - } - - #bbpress-forums div.bbp-topic-author .bbp-author-role, - #bbpress-forums div.bbp-reply-author .bbp-author-role { - font-size: 12px; - font-style: normal; - } - - #bbpress-forums .bbp-body div.bbp-topic-content, - #bbpress-forums .bbp-body div.bbp-reply-content { - clear: both; - margin: 10px; - padding: 0; - } - - #bbpress-forums div.bbp-topic-content p, - #bbpress-forums div.bbp-reply-content p { - margin-bottom: 1em; - } - - div.bbp-submit-wrapper { - float: left; - } - - #bbpress-forums fieldset.bbp-form { - padding: 0 10px 10px; - } - - #bbpress-forums #bbp-user-body { - clear: both; - margin-left: 0; - word-wrap: break-word; - } - - #bbpress-forums div.bbp-forum-title h3, - #bbpress-forums div.bbp-topic-title h3, - #bbpress-forums div.bbp-reply-title h3 { - font-size: 14px; - } -} - -/* =Standard Mobile Portrait --------------------------------------------------------------- */ -@media only screen and (max-width: 320px) { - - #bbpress-forums div.bbp-search-form { - margin-bottom: 10px; - } - - #bbpress-forums li.bbp-header li.bbp-forum-info, - #bbpress-forums li.bbp-body li.bbp-forum-info, - #bbpress-forums li.bbp-header li.bbp-topic-title, - #bbpress-forums li.bbp-body li.bbp-topic-title { - width: 100%; - } - - #bbpress-forums li.bbp-header li.bbp-forum-info, - #bbpress-forums li.bbp-header li.bbp-topic-title { - text-align: center; - text-transform: uppercase; - } - - #bbpress-forums li.bbp-header li.bbp-forum-topic-count, - #bbpress-forums li.bbp-header li.bbp-forum-reply-count, - #bbpress-forums li.bbp-body li.bbp-forum-topic-count, - #bbpress-forums li.bbp-body li.bbp-forum-reply-count, - #bbpress-forums li.bbp-header li.bbp-topic-voice-count, - #bbpress-forums li.bbp-header li.bbp-topic-reply-count, - #bbpress-forums li.bbp-body li.bbp-topic-voice-count, - #bbpress-forums li.bbp-body li.bbp-topic-reply-count { - width: 20%; - } - - #bbpress-forums li.bbp-header li.bbp-forum-freshness, - #bbpress-forums li.bbp-body li.bbp-forum-freshness, - #bbpress-forums li.bbp-header li.bbp-topic-freshness, - #bbpress-forums li.bbp-body li.bbp-topic-freshness { - width: 58%; - } - - #bbpress-forums li.bbp-body li.bbp-forum-topic-count, - #bbpress-forums li.bbp-body li.bbp-forum-reply-count, - #bbpress-forums li.bbp-body li.bbp-forum-freshness, - #bbpress-forums li.bbp-body li.bbp-topic-voice-count, - #bbpress-forums li.bbp-body li.bbp-topic-reply-count, - #bbpress-forums li.bbp-body li.bbp-topic-freshness { - margin-top: 7px; - } - - #bbpress-forums li.bbp-header, - #bbpress-forums li.bbp-footer { - font-size: 10px; - } - - #bbpress-forums li.bbp-header div.bbp-search-author, - #bbpress-forums li.bbp-header div.bbp-topic-author, - #bbpress-forums li.bbp-header div.bbp-reply-author { - text-align: left; - width: 25%; - } - - #bbpress-forums li.bbp-header div.bbp-search-content, - #bbpress-forums li.bbp-header div.bbp-topic-content, - #bbpress-forums li.bbp-header div.bbp-reply-content { - margin-left: 25%; - } - - #bbpress-forums div.bbp-template-notice img.avatar, - #bbpress-forums p.bbp-topic-meta img.avatar { - width: 14px; - height: auto; - } - - #bbpress-forums div.bbp-the-content-wrapper td.mceToolbar { - padding: 1px; - } - - #bbpress-forums div.bbp-the-content-wrapper td.mceToolbar td { - width: 20px; - height: 20px; - } - - #bbpress-forums div.wp-editor-container { - width: 100%; - overflow: auto; - } - - #bbpress-forums input#bbp_topic_title, - #bbpress-forums input#bbp_topic_tags { - width: 95%; - } - - #bbpress-forums div.bbp-forum-title h3, - #bbpress-forums div.bbp-topic-title h3, - #bbpress-forums div.bbp-reply-title h3 { - font-size: 14px; - } -} - -/* =Extra Small Mobile --------------------------------------------------------------- */ -@media only screen and (max-width: 240px) { - - #bbpress-forums li.bbp-header li.bbp-forum-topic-count, - #bbpress-forums li.bbp-header li.bbp-forum-reply-count, - #bbpress-forums li.bbp-body li.bbp-forum-topic-count, - #bbpress-forums li.bbp-body li.bbp-forum-reply-count, - #bbpress-forums li.bbp-header li.bbp-topic-voice-count, - #bbpress-forums li.bbp-header li.bbp-topic-reply-count, - #bbpress-forums li.bbp-body li.bbp-topic-voice-count, - #bbpress-forums li.bbp-body li.bbp-topic-reply-count, - #bbpress-forums li.bbp-footer div.bbp-search-author, - #bbpress-forums li.bbp-footer div.bbp-topic-author, - #bbpress-forums li.bbp-footer div.bbp-reply-author { - width: 45%; - } - - #bbpress-forums li.bbp-header li.bbp-forum-freshness, - #bbpress-forums li.bbp-body li.bbp-forum-freshness, - #bbpress-forums li.bbp-header li.bbp-topic-freshness, - #bbpress-forums li.bbp-body li.bbp-topic-freshness { - clear: both; - width: 100%; - } - - #bbpress-forums li.bbp-header li.bbp-forum-freshness, - #bbpress-forums li.bbp-header li.bbp-topic-freshness { - text-align: center; - } - - #bbpress-forums li.bbp-body li.bbp-topic-freshness, - #bbpress-forums li.bbp-header div.bbp-search-author, - #bbpress-forums li.bbp-header div.bbp-search-content, - #bbpress-forums li.bbp-header div.bbp-topic-author, - #bbpress-forums li.bbp-header div.bbp-topic-content, - #bbpress-forums li.bbp-header div.bbp-reply-author, - #bbpress-forums li.bbp-header div.bbp-reply-content { - margin-left: 0; - text-align: left; - } - - #bbpress-forums li.bbp-body li.bbp-topic-freshness p.bbp-topic-meta { - display: inline-block; - } - - #bbpress-forums li.bbp-header { - overflow: hidden; - } - - #bbpress-forums li.bbp-footer div.bbp-search-content, - #bbpress-forums li.bbp-footer div.bbp-topic-content, - #bbpress-forums li.bbp-footer div.bbp-reply-content { - display: inline-block; - margin-left: 0; - } - - #bbpress-forums li.bbp-body div.bbp-topic-author, - #bbpress-forums li.bbp-body div.bbp-reply-author { - min-height: 60px; - padding-left: 60px; - } - - #bbpress-forums div.bbp-topic-author img.avatar, - #bbpress-forums div.bbp-reply-author img.avatar { - width: 40px; - height: auto; - } - - #bbpress-forums div.bbp-forum-title h3, - #bbpress-forums div.bbp-topic-title h3, - #bbpress-forums div.bbp-reply-title h3 { - font-size: 12px; - } -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/002/002.test.js b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/002/002.test.js deleted file mode 100644 index 42627985b73f38..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/002/002.test.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -const stylelint = require( 'stylelint' ), - systemTestUtils = require( '../systemTestUtils.js' ); - -it( '002', () => { - return stylelint.lint({ - files: [systemTestUtils.caseStylesheetGlob( '002' )], - configFile: systemTestUtils.caseConfig( '002' ), - }).then( ({ results }) => { - expect( systemTestUtils.prepResults( results ) ).toMatchSnapshot(); - }); -}); diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/002/__snapshots__/002.test.js.snap b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/002/__snapshots__/002.test.js.snap deleted file mode 100644 index 2dda72e2a82353..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/002/__snapshots__/002.test.js.snap +++ /dev/null @@ -1,30 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`002 1`] = ` -Array [ - Object { - "deprecations": Array [], - "errored": true, - "ignored": undefined, - "invalidOptionWarnings": Array [], - "parseErrors": Array [], - "source": "002/stylesheet.css", - "warnings": Array [ - Object { - "column": 34, - "line": 1139, - "rule": "block-no-empty", - "severity": "error", - "text": "Unexpected empty block (block-no-empty)", - }, - Object { - "column": 34, - "line": 1147, - "rule": "block-no-empty", - "severity": "error", - "text": "Unexpected empty block (block-no-empty)", - }, - ], - }, -] -`; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/002/config.json b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/002/config.json deleted file mode 100644 index a8af7d5dcb61b9..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/002/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../index.js" -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/002/stylesheet.css b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/002/stylesheet.css deleted file mode 100644 index 53506a52cc2f22..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/002/stylesheet.css +++ /dev/null @@ -1,1642 +0,0 @@ -/** - * bbPress specific CSS - * - * @package bbPress - * @subpackage Theme - */ - -/* =bbPress Style --------------------------------------------------------------- */ - -.hidden, -.js .hide-if-js { - display: none; -} - -/* Hide visually but not from screen readers */ -.screen-reader-text, -.screen-reader-text span, -.ui-helper-hidden-accessible { - position: absolute; - margin: -1px; - padding: 0; - height: 1px; - width: 1px; - overflow: hidden; - clip: rect(0 0 0 0); - border: 0; - word-wrap: normal !important; /* many screen reader and browser combinations announce broken words as they would appear visually */ -} - -#bbpress-forums { - background: transparent; - clear: both; - margin-bottom: 20px; - overflow: hidden; - font-size: 12px; -} - -#bbpress-forums a, -#bbpress-forums a:hover { - box-shadow: none; - border: none; -} - -#bbpress-forums hr { - margin: 0 0 24px; -} - -#bbpress-forums div.even, -#bbpress-forums ul.even { - background-color: #fff; -} - -#bbpress-forums div.odd, -#bbpress-forums ul.odd { - background-color: #fbfbfb; -} - -body.reply-edit .reply { - float: none; -} - -#bbpress-forums div.reply { - height: auto; - width: 100%; -} - -#bbpress-forums div.bbp-forum-header, -#bbpress-forums div.bbp-topic-header, -#bbpress-forums div.bbp-reply-header { - background-color: #f4f4f4; -} - -#bbpress-forums .status-trash.even, -#bbpress-forums .status-spam.even { - background-color: #fee; -} - -#bbpress-forums .status-trash.odd, -#bbpress-forums .status-spam.odd { - background-color: #fdd; -} - -#bbpress-forums .status-pending.even, -#bbpress-forums .status-pending.odd, -#bbpress-forums ul.status-pending a { - background-color: #fef7f1; -} - -#bbpress-forums ul.status-closed, -#bbpress-forums ul.status-closed a { - color: #ccc; -} - -#bbpress-forums ul { - background: none; - list-style: none; - margin: 0; - padding: 0; -} - -#bbpress-forums ul.bbp-threaded-replies { - margin-right: 50px; -} - -#bbpress-forums li { - background: none; - margin: 0; - list-style: none; -} - -#bbpress-forums ul.bbp-lead-topic, -#bbpress-forums ul.bbp-topics, -#bbpress-forums ul.bbp-forums, -#bbpress-forums ul.bbp-replies, -#bbpress-forums ul.bbp-search-results { - font-size: 12px; - overflow: hidden; - border: 1px solid #eee; - margin-bottom: 20px; - clear: both; -} - -#bbpress-forums li.bbp-header, -#bbpress-forums li.bbp-body, -#bbpress-forums li.bbp-footer { - clear: both; -} - -#bbpress-forums li.bbp-header, -#bbpress-forums li.bbp-footer { - background: #f3f3f3; - border-top: 1px solid #eee; - font-weight: 700; - padding: 8px; - text-align: center; -} - -#bbpress-forums li.bbp-header { - background: #eaeaea; -} - -#bbpress-forums li.bbp-header ul { - overflow: hidden; -} - -#bbpress-forums .bbp-forums-list { - margin: 0 5px 0 0; - padding-right: 15px; - border-right: 1px solid #ddd; -} - -#bbpress-forums .bbp-forums-list li { - display: inline; - font-size: 11px; -} - -#bbpress-forums li.bbp-footer p { - margin: 0; - line-height: 1; -} - -li.bbp-forum-info, -li.bbp-topic-title { - float: right; - text-align: right; - width: 55%; -} - -li.bbp-forum-topic-count, -li.bbp-topic-voice-count, -li.bbp-forum-reply-count, -li.bbp-topic-reply-count { - float: right; - text-align: center; - width: 10%; -} - -li.bbp-forum-freshness, -li.bbp-topic-freshness { - text-align: center; - float: right; - width: 22%; -} - -#bbpress-forums li.bbp-body ul.forum, -#bbpress-forums li.bbp-body ul.topic { - border-top: 1px solid #eee; - overflow: hidden; - padding: 8px; -} - -#bbpress-forums #subscription-toggle, -#bbpress-forums #favorite-toggle { - float: left; -} - -#bbpress-forums div.bbp-forum-title h3, -#bbpress-forums div.bbp-topic-title h3, -#bbpress-forums div.bbp-reply-title h3 { - background: none; - border: none; - font-size: 16px; - line-height: 1; - margin: 8px 0; - padding: 0; - text-transform: none; -} - -#bbpress-forums div.bbp-forum-author, -#bbpress-forums div.bbp-topic-author, -#bbpress-forums div.bbp-reply-author { - float: right; - text-align: center; - width: 115px; -} - -#bbpress-forums div.bbp-forum-author img.avatar, -#bbpress-forums div.bbp-topic-author img.avatar, -#bbpress-forums div.bbp-reply-author img.avatar { - border: none; - max-width: 80px; - padding: 0; - margin: 12px auto 0; - float: none; -} - -#bbpress-forums div.bbp-forum-author a.bbp-author-name, -#bbpress-forums div.bbp-topic-author a.bbp-author-name, -#bbpress-forums div.bbp-reply-author a.bbp-author-name { - margin: 0 12px; - word-wrap: break-word; - display: inline-block; -} - -#bbpress-forums div.bbp-topic-author a.bbp-author-name, -#bbpress-forums div.bbp-reply-author a.bbp-author-name { - clear: right; - display: block; -} - -#bbpress-forums div.bbp-forum-author .bbp-author-role, -#bbpress-forums div.bbp-topic-author .bbp-author-role, -#bbpress-forums div.bbp-reply-author .bbp-author-role { - font-size: 11px; - font-style: italic; -} - -#bbpress-forums li.bbp-header .bbp-search-author, -#bbpress-forums li.bbp-footer .bbp-search-author, -#bbpress-forums li.bbp-header .bbp-forum-author, -#bbpress-forums li.bbp-footer .bbp-forum-author, -#bbpress-forums li.bbp-header .bbp-topic-author, -#bbpress-forums li.bbp-footer .bbp-topic-author, -#bbpress-forums li.bbp-header .bbp-reply-author, -#bbpress-forums li.bbp-footer .bbp-reply-author { - float: right; - margin: 0; - padding: 0; - width: 120px; -} - -#bbpress-forums li.bbp-header .bbp-search-content, -#bbpress-forums li.bbp-footer .bbp-search-content, -#bbpress-forums li.bbp-header .bbp-forum-content, -#bbpress-forums li.bbp-footer .bbp-forum-content, -#bbpress-forums li.bbp-header .bbp-topic-content, -#bbpress-forums li.bbp-footer .bbp-topic-content, -#bbpress-forums li.bbp-header .bbp-reply-content, -#bbpress-forums li.bbp-footer .bbp-reply-content { - margin-right: 140px; - padding: 0; - text-align: right; -} - -div.bbp-forum-header, -div.bbp-topic-header, -div.bbp-reply-header, -li.bbp-body div.hentry { - margin: 0; - overflow: hidden; - padding: 8px; -} - -div.bbp-forum-header, -div.bbp-topic-header, -div.bbp-reply-header { - border-top: 1px solid #ddd; - clear: both; -} - -span.bbp-author-ip { - font-size: 11px; - font-weight: 700; - word-wrap: break-word; - color: #aaa; -} - -/* =Topic and reply content --------------------------------------------------------------- */ - -#bbpress-forums div.bbp-forum-content, -#bbpress-forums div.bbp-topic-content, -#bbpress-forums div.bbp-reply-content { - margin-right: 130px; - padding: 12px 0 12px 12px; - text-align: right; -} - -/* Clearing hack */ -#bbpress-forums div.bbp-forum-content:after, -#bbpress-forums div.bbp-topic-content:after, -#bbpress-forums div.bbp-reply-content:after { - clear: both; - content: "."; - display: block; - float: none; - height: 0; - font-size: 0; - visibility: hidden; -} - -#bbpress-forums div.bbp-topic-content a, -#bbpress-forums div.bbp-reply-content a { - background: none; - border: none; - display: inline; - font-weight: 400; - margin: 0; - padding: 0; -} - -#bbpress-forums div.bbp-topic-content a.bbp-user-mention, -#bbpress-forums div.bbp-reply-content a.bbp-user-mention { - background: none; - border: none; - text-decoration: none; - text-shadow: none; - display: inline; - font-weight: 600; - margin: 0; - padding: 0; -} - -#bbpress-forums div.bbp-topic-content h1, -#bbpress-forums div.bbp-reply-content h1, -#bbpress-forums div.bbp-topic-content h2, -#bbpress-forums div.bbp-reply-content h2, -#bbpress-forums div.bbp-topic-content h3, -#bbpress-forums div.bbp-reply-content h3, -#bbpress-forums div.bbp-topic-content h4, -#bbpress-forums div.bbp-reply-content h4, -#bbpress-forums div.bbp-topic-content h5, -#bbpress-forums div.bbp-reply-content h5, -#bbpress-forums div.bbp-topic-content h6, -#bbpress-forums div.bbp-reply-content h6 { - clear: none; - line-height: 1; - margin: 24px 0; - padding: 0; -} - -#bbpress-forums div.bbp-topic-content img, -#bbpress-forums div.bbp-reply-content img { - max-width: 100%; - height: auto; -} - -#bbpress-forums div.bbp-topic-content ul, -#bbpress-forums div.bbp-reply-content ul, -#bbpress-forums div.bbp-topic-content ol, -#bbpress-forums div.bbp-reply-content ol { - margin: 0 15px 15px; - padding: 0; -} - -#bbpress-forums div.bbp-topic-content ul li, -#bbpress-forums div.bbp-reply-content ul li { - list-style-type: disc; -} - -#bbpress-forums div.bbp-topic-content ol li, -#bbpress-forums div.bbp-reply-content ol li { - list-style-type: decimal; -} - -#bbpress-forums div.bbp-topic-content ol li li, -#bbpress-forums div.bbp-reply-content ol li li { - list-style-type: lower-alpha; -} - -#bbpress-forums div.bbp-topic-content ol li li li, -#bbpress-forums div.bbp-reply-content ol li li li { - list-style-type: upper-roman; -} - -#bbpress-forums div.bbp-topic-content code, -#bbpress-forums div.bbp-reply-content code, -#bbpress-forums div.bbp-topic-content pre, -#bbpress-forums div.bbp-reply-content pre { - font-family: Inconsolata, Consolas, Monaco, "Lucida Console", monospace; - display: inline-block; - background-color: #f9f9f9; - border: 1px solid #ddd; - padding: 0 5px; - max-width: 95%; - vertical-align: middle; - margin-top: -3px; - overflow-x: auto; -} - -#bbpress-forums div.bbp-topic-content pre, -#bbpress-forums div.bbp-reply-content pre { - display: block; - line-height: 18px; - margin: 0 0 24px; - padding: 5px 10px; - white-space: pre; - overflow: auto; -} - -#bbpress-forums div.bbp-topic-content pre code, -#bbpress-forums div.bbp-reply-content pre code { - display: block; - border: none; - padding: 0; - margin: 0; - background-color: transparent; - overflow-wrap: normal; - overflow: auto; - max-width: 100%; -} - -/* =Reply to --------------------------------------------------------------- */ - -#bbpress-forums div.bbp-reply-to { - margin-right: 130px; - padding: 12px 0 12px 12px; - text-align: left; -} - -#bbpress-forums div#bbp-cancel-reply-to { - text-align: left; -} - -/* =Breadcrumb and Tags --------------------------------------------------------------- */ - -div.bbp-breadcrumb { - float: right; -} - -div.bbp-breadcrumb, -div.bbp-topic-tags { - font-size: 12px; -} - -#bbpress-forums div.bbp-breadcrumb p, -#bbpress-forums div.bbp-topic-tags p { - margin-bottom: 10px; -} - -#bbpress-forums div.bbp-topic-tags { - float: left; - clear: both; -} - -#bbp-topic-hot-tags { - clear: both; -} - -/* =Search --------------------------------------------------------------- */ - -#bbpress-forums #bbp-search-form { - clear: right; -} - -#bbpress-forums #bbp-search-form .hidden { - height: 0; - width: 0; - overflow: hidden; - position: absolute; - background: none; - right: -999em; -} - -#bbpress-forums #bbp-search-form #bbp_search { - display: inline-block; - width: auto; -} - -#bbpress-forums div.bbp-search-form { - float: left; -} - -/* =Admin Links --------------------------------------------------------------- */ - -span.bbp-admin-links { - float: left; - color: #ddd; -} - -span.bbp-admin-links a { - color: #bbb; - font-weight: 400; - font-size: 10px; - text-transform: uppercase; - text-decoration: none; -} - -fieldset span.bbp-admin-links { - float: right; -} - -tr td span.bbp-admin-links a:hover { - color: #ff4b33; -} - -td.bbp-topic-admin-links, -td.bbp-topic-counts { - width: 50%; -} - -.bbp-forum-header a.bbp-forum-permalink, -.bbp-topic-header a.bbp-topic-permalink, -.bbp-reply-header a.bbp-reply-permalink { - float: left; - margin-right: 10px; - color: #ccc; -} - -/* =Toggles --------------------------------------------------------------- */ - -.bbp-row-actions #favorite-toggle a { - text-decoration: none; - padding: 0 3px 1px; - color: #7c7; - border: 1px solid #aca; - background-color: #dfd; - font-weight: 700; - font-size: 13px; -} - -.bbp-row-actions #favorite-toggle a:hover { - color: #5a5; - border-color: #7c7; - background-color: #beb; -} - -.bbp-row-actions #favorite-toggle span.is-favorite a { - color: #faa; - border: 1px solid #faa; - background-color: #fee; -} - -.bbp-row-actions #favorite-toggle span.is-favorite a:hover { - color: #c88; - border-color: #c88; - background-color: #fdd; -} - -.bbp-row-actions #subscription-toggle a { - text-decoration: none; - padding: 0 3px 1px; - color: #7c7; - border: 1px solid #aca; - background-color: #dfd; - font-weight: 700; - font-size: 13px; -} - -.bbp-row-actions #subscription-toggle a:hover { - color: #5a5; - border-color: #7c7; - background-color: #beb; -} - -.bbp-row-actions #subscription-toggle span.is-subscribed a { - color: #faa; - border: 1px solid #faa; - background-color: #fee; -} - -.bbp-row-actions #subscription-toggle span.is-subscribed a:hover { - color: #c88; - border-color: #c88; - background-color: #fdd; -} - -#bbpress-forums .bbp-forum-info .bbp-forum-content, -#bbpress-forums p.bbp-topic-meta { - font-size: 11px; - margin: 5px 0; - padding: 0; - word-wrap: break-word; -} - -#bbpress-forums p.bbp-topic-meta span { - white-space: nowrap; -} - -/* =Pagination --------------------------------------------------------------- */ - -.bbp-pagination-count { - float: right; - border: 1px solid transparent; -} - -.bbp-pagination-links { - float: left; - list-style: none; - display: inline; -} - -.bbp-pagination-links a, -.bbp-pagination-links span.current { - display: block; - float: right; - padding: 0 5px; - margin-right: 5px; - border: 1px solid #efefef; - text-decoration: none; -} - -.bbp-pagination-links a:hover, -.bbp-pagination-links span.current { - background: #eee; - opacity: 0.8; - border: 1px solid #ddd; -} - -.bbp-pagination-links span.dots { - display: block; - float: right; - padding: 1px 4px; - margin-right: 5px; -} - -.bbp-pagination { - float: right; - width: 100%; - margin-bottom: 15px; -} - -.bbp-topic-pagination { - display: inline-block; - margin-right: 5px; - margin-bottom: 2px; -} - -.bbp-topic-pagination a { - font-size: 10px; - line-height: 10px; - padding: 1px 3px; - border: 1px solid #ddd; - text-decoration: none; -} - - -/* =Forms --------------------------------------------------------------- */ - -#bbpress-forums fieldset.bbp-form { - clear: right; - border: 1px solid #eee; - padding: 10px 20px; - margin-bottom: 10px; -} - -#bbpress-forums fieldset.bbp-form legend { - padding: 5px; - width: auto; - border: none; -} - -#bbpress-forums fieldset.bbp-form label { - margin: 0; - display: inline-block; -} - -#bbp-edit-topic-tag.bbp-form fieldset.bbp-form label, -#bbp-login fieldset label, -#bbp-register fieldset label, -#bbp-lost-pass fieldset label { - width: 100px; -} - -#bbpress-forums fieldset.bbp-form p, -#bbpress-forums fieldset.bbp-form textarea, -#bbpress-forums fieldset.bbp-form select, -#bbpress-forums fieldset.bbp-form input { - margin: 0 0 8px; -} - -textarea#bbp_reply_content, -textarea#bbp_topic_content, -textarea#bbp_forum_content { - width: 97%; - box-sizing: border-box; -} - -textarea#bbp_forum_content { - height: 210px; -} - -#bbpress-forums fieldset.bbp-forum-form-attributes { - width: 200px; - float: left; - clear: none; - margin-right: 25px; -} - -/** - * Fix for too-long forum names, usually from conversion - */ -#bbpress-forums fieldset select#bbp_forum_id { - max-width: 200px; -} - -.bbp-topic-form, -.bbp-reply-form, -.bbp-topic-tag-form { - clear: right; -} - -body.topic-edit .bbp-topic-form div.avatar img, -body.reply-edit .bbp-reply-form div.avatar img, -body.single-forum .bbp-topic-form div.avatar img, -body.single-reply .bbp-reply-form div.avatar img { - margin-left: 0; - padding: 10px; - border: 1px solid #ddd; - line-height: 0; - background-color: #efefef; -} - -body.page .bbp-reply-form code, -body.page .bbp-topic-form code, -body.single-topic .bbp-reply-form code, -body.single-forum .bbp-topic-form code, -body.topic-edit .bbp-topic-form code, -body.reply-edit .bbp-reply-form code { - font-size: 10px; - background-color: #f0fff8; - border: 1px solid #ceefe1; - display: block; - padding: 8px; - margin-top: 5px; - width: 369px; -} - -#merge_tag, -#delete_tag { - display: inline; -} - -div.bbp-submit-wrapper { - margin-top: 15px; - float: left; - clear: both; -} - -p.form-allowed-tags { - max-width: 100%; -} - -/* =TinyMCE in themes --------------------------------------------------------------- */ -#bbpress-forums div.bbp-the-content-wrapper { - margin-bottom: 10px; -} - -#bbpress-forums div.bbp-the-content-wrapper textarea.bbp-the-content { - width: 100%; - margin: 0; - font-size: 12px; -} - -#bbpress-forums div.bbp-the-content-wrapper table, -#bbpress-forums div.bbp-the-content-wrapper tbody, -#bbpress-forums div.bbp-the-content-wrapper tr, -#bbpress-forums div.bbp-the-content-wrapper td { - border: none; - padding: 0; - margin: 0; - width: auto; - line-height: 1; -} - -#bbpress-forums div.bbp-the-content-wrapper input[type="button"] { - padding: 5px 7px; - margin: 0 0 0 -1px; - line-height: 1; - border: 1px solid transparent; - background-color: transparent; - box-shadow: none; - text-shadow: none; - border-radius: 0; - text-transform: uppercase; - font-size: 11px; -} - -#bbpress-forums div.bbp-the-content-wrapper input[type="button"]:hover { - border-color: rgba(0, 0, 0, 0.1); - background-color: rgba(255, 255, 255, 0.5); -} - -#bbpress-forums div.bbp-the-content-wrapper div.quicktags-toolbar { - padding: 5px; - min-height: 26px; -} - -#bbpress-forums div.bbp-the-content-wrapper td.mceToolbar { - padding: 4px 4px 8px; -} - -#bbpress-forums div.wp-editor-container { - margin: 0; - padding: 0; - line-height: 0; -} - -#bbpress-forums div.bbp-the-content-wrapper td.mceStatusbar { - line-height: 16px; -} - -/* =Edit User --------------------------------------------------------------- */ - -#bbpress-forums #bbp-your-profile fieldset { - padding: 20px 20px 0; -} - -#bbpress-forums #bbp-your-profile fieldset div { - margin-bottom: 20px; - float: right; - width: 100%; - clear: right; -} - -#bbpress-forums #bbp-your-profile fieldset select { - margin-bottom: 0; - width: 60%; - background-color: #f9f9f9; - border: 1px solid #ddd; -} - -#bbpress-forums #bbp-your-profile fieldset input, -#bbpress-forums #bbp-your-profile fieldset textarea { - margin-bottom: 0; - width: 60%; - background-color: #f9f9f9; - border: 1px solid #ddd; - box-shadow: none; - border-radius: 0; -} - -#bbpress-forums #bbp-your-profile fieldset input:focus, -#bbpress-forums #bbp-your-profile fieldset textarea:focus { - border: 1px solid #ccc; - box-shadow: inset -1px 1px 1px rgba(0, 0, 0, 0.1); - outline-color: rgba(240, 255, 240, 0.1); -} - -#bbpress-forums #bbp-your-profile fieldset.bbp-form input.checkbox { - width: auto; -} - -#bbpress-forums #bbp-your-profile fieldset legend { - display: none; -} - -#bbpress-forums #bbp-your-profile fieldset label[for] { - float: right; - width: 20%; - padding: 5px 0 5px 20px; - text-align: left; - cursor: pointer; -} - -#bbpress-forums #bbp-your-profile fieldset dl label[for] { - text-align: right; - width: 60%; -} - -#bbpress-forums #bbp-your-profile fieldset p.description { - margin: 5px 20% 0 0; - font-size: 12px; - font-style: italic; - float: right; - clear: right; - width: 60%; - padding: 5px 8px; - border: #cee1ef 1px solid; - background-color: #f0f8ff; -} - -#bbpress-forums #bbp-your-profile fieldset fieldset { - margin: 0; - border: none; - padding: 0; - clear: none; - float: none; -} - -#bbpress-forums #bbp-your-profile fieldset fieldset.capabilities dl { - margin: 0; -} - -#bbpress-forums #bbp-your-profile fieldset.submit button { - float: left; -} - -/* =Password Generator --------------------------------------------------------------- */ - -#bbpress-forums #bbp-your-profile fieldset fieldset.password { - width: 60%; - display: inline; -} - -#bbpress-forums #bbp-your-profile fieldset fieldset.password .password-input-wrapper, -#bbpress-forums #bbp-your-profile fieldset fieldset.password .password-button-wrapper { - width: 100%; - margin: 0; - display: inline-block; -} - -#bbpress-forums #bbp-your-profile fieldset fieldset.password .password-button-wrapper button { - width: 46%; - margin: 4% 2%; - box-sizing: border-box; - display: inline-block; -} - -#bbpress-forums #bbp-your-profile fieldset fieldset.password input, -#bbpress-forums #bbp-your-profile fieldset fieldset.passwword textarea { - width: 100%; -} - -#bbpress-forums #bbp-your-profile fieldset fieldset.password button .dashicons { - display: none; -} - -#bbpress-forums #bbp-your-profile fieldset fieldset.password span.description { - margin-right: 0; - margin-bottom: 20px; -} - -#bbpress-forums #password #pass-strength-result { - background-color: #eee; - border: 1px solid #ddd; - color: #23282d; - margin: 0; - padding: 8px; - text-align: center; - box-sizing: border-box; - display: inline-block; -} - -#bbpress-forums #password #pass-strength-result.short { - background-color: #f1adad; - border-color: #e35b5b; - opacity: 1; -} - -#bbpress-forums #password #pass-strength-result.bad { - background-color: #fbc5a9; - border-color: #f78b53; - opacity: 1; -} - -#bbpress-forums #password #pass-strength-result.good { - background-color: #ffe399; - border-color: #ffc733; - opacity: 1; -} - -#bbpress-forums #password #pass-strength-result.strong { - background-color: #c1e1b9; - border-color: #83c373; - opacity: 1; -} - -#bbpress-forums #password #pass1.short, -#bbpress-forums #password #pass1-text.short { - border-color: #e35b5b; -} - -#bbpress-forums #password#pass1.bad, -#bbpress-forums #password #pass1-text.bad { - border-color: #f78b53; -} - -#bbpress-forums #password #pass1.good, -#bbpress-forums #password #pass1-text.good { - border-color: #ffc733; -} - -#bbpress-forums #password #pass1.strong, -#bbpress-forums #password #pass1-text.strong { - border-color: #83c373; -} - -#bbpress-forums .indicator-hint { - padding-top: 8px; -} - -#bbpress-forums .pw-weak, -#bbpress-forums #pass1-text, -#bbpress-forums .show-password #pass1 { - display: none; -} - -#bbpress-forums .show-password #pass1-text { - display: inline-block; -} - -/* =Notices --------------------------------------------------------------- */ - -div.bbp-template-notice, -div.indicator-hint { - border-width: 1px; - border-style: solid; - padding: 0 0.6em; - margin: 5px 0 15px; - border-radius: 3px; - background-color: #ffffe0; - border-color: #e6db55; - color: #000; - clear: both; -} - -div.bbp-template-notice a { - color: #555; - text-decoration: none; -} - -div.bbp-template-notice a:hover { - color: #000; -} - -div.bbp-template-notice.info { - border: #cee1ef 1px solid; - background-color: #f0f8ff; -} - -div.bbp-template-notice.important { - border: #e6db55 1px solid; - background-color: #fffbcc; -} - -div.bbp-template-notice.error, -div.bbp-template-notice.warning { - background-color: #ffebe8; - border-color: #c00; -} - -div.bbp-template-notice.error a, -div.bbp-template-notice.warning a { - color: #c00; -} - -div.bbp-template-notice p, -div.bbp-template-notice li { - margin: 0.5em 0 6px !important; - padding: 2px; - font-size: 12px; - line-height: 1.4; -} - -/* =Stickies --------------------------------------------------------------- */ - -.bbp-topics-front ul.super-sticky, -.bbp-topics ul.super-sticky, -.bbp-topics ul.sticky, -.bbp-forum-content ul.sticky { - background-color: #ffffe0 !important; - font-size: 1.1em; -} - -/* =Revisions --------------------------------------------------------------- */ - -#bbpress-forums .bbp-topic-content ul.bbp-topic-revision-log, -#bbpress-forums .bbp-reply-content ul.bbp-topic-revision-log, -#bbpress-forums .bbp-reply-content ul.bbp-reply-revision-log { - border-top: 1px dotted #ddd; - width: 100%; - margin: 0; - padding: 8px 0 0; - font-size: 11px; - color: #aaa; -} - -#bbpress-forums .bbp-topic-content ul.bbp-topic-revision-log li, -#bbpress-forums .bbp-reply-content ul.bbp-topic-revision-log li, -#bbpress-forums .bbp-reply-content ul.bbp-reply-revision-log li { - list-style-type: none; -} - -/* =Widgets --------------------------------------------------------------- */ - -.bbp-login-form fieldset legend { - display: none; -} - -.bbp-login-form .bbp-username input, -.bbp-login-form .bbp-email input, -.bbp-login-form .bbp-password input { - padding: 5px; -} - -.bbp-login-form label { - width: 140px; - display: inline-block; -} - -#sidebar .bbp-login-form label { - width: 70px; -} - -.bbp-login-form .bbp-username, -.bbp-login-form .bbp-email, -.bbp-login-form .bbp-password, -.bbp-login-form .bbp-remember-me, -.bbp-login-form .bbp-submit-wrapper { - margin-top: 10px; -} - -.bbp-login-form .bbp-remember-me { - -} - -.bbp-login-form .bbp-submit-wrapper { - text-align: left; -} - -.bbp-login-form .bbp-login-links { -} - -.bbp-login-form .bbp-login-links a { - float: right; - clear: right; -} - -.bbp-logged-in img.avatar { - float: right; - margin: 0 0 0 15px; -} - -.bbp-logged-in h4 { - font-weight: 700; - font-size: 1.3em; - clear: none; - margin-bottom: 10px; -} - -/* =Avatars --------------------------------------------------------------- */ - -#bbpress-forums img.avatar { - box-shadow: none; - display: inline-block; -} - -#bbpress-forums p.bbp-topic-meta img.avatar, -#bbpress-forums ul.bbp-reply-revision-log img.avatar, -#bbpress-forums ul.bbp-topic-revision-log img.avatar, -#bbpress-forums div.bbp-template-notice img.avatar, -#bbpress-forums .widget_display_topics img.avatar, -#bbpress-forums .widget_display_replies img.avatar { - float: none; - vertical-align: middle; - border: 3px double #ddd; -} - -fieldset div.avatar { - float: left; -} - -/* =BuddyPress Activity Streams --------------------------------------------------------------- */ - -.activity-list li.bbp_topic_create .activity-content .activity-inner, -.activity-list li.bbp_reply_create .activity-content .activity-inner { - border-right: 2px solid #eaeaea; - margin-right: 5px; - padding-right: 10px; -} - -/* =User Pages --------------------------------------------------------------- */ - -#bbpress-forums h1 { - clear: none; - font-size: 1.8em; - line-height: 1; - padding-bottom: 10px; -} - -#bbpress-forums #bbp-user-wrapper { - float: right; - width: 100%; -} - -#bbpress-forums .bbp-user-section { - overflow: auto; - clear: left; -} - -#bbpress-forums #bbp-user-wrapper h2.entry-title { - font-size: 1.4em; - margin: 0; - padding-bottom: 10px; - padding-top: 0; - clear: none; -} - -#bbpress-forums #bbp-user-wrapper ul.bbp-lead-topic, -#bbpress-forums #bbp-user-wrapper ul.bbp-topics, -#bbpress-forums #bbp-user-wrapper ul.bbp-forums, -#bbpress-forums #bbp-user-wrapper ul.bbp-replies, -#bbpress-forums #bbp-user-wrapper fieldset.bbp-form { - clear: none; -} - -#bbpress-forums #bbp-single-user-details { - margin: 0; - width: 150px; - float: right; - overflow: hidden; -} - -#bbpress-forums #bbp-single-user-details #bbp-user-avatar { - margin: 0; - width: 150px; -} - -#bbpress-forums #bbp-single-user-details #bbp-user-avatar img.avatar { - border: none; - height: 150px; - padding: 0; - margin: 0 0 20px; - width: 150px; -} - -#bbpress-forums #bbp-single-user-details #bbp-user-description { - float: none; - margin-right: 180px; -} - -#bbpress-forums #bbp-single-user-details #bbp-user-navigation { - float: none; - margin: 0; -} - -#bbpress-forums #bbp-single-user-details #bbp-user-navigation li { - margin: 0; -} - -#bbpress-forums #bbp-single-user-details #bbp-user-navigation a { - padding: 5px 8px; - display: block; - border: 1px solid transparent; - text-decoration: none; -} - -#bbpress-forums #bbp-single-user-details #bbp-user-navigation li.current a { - background: #eee; - opacity: 0.8; -} - -#bbpress-forums #bbp-user-body { - margin-right: 180px; -} - -body.my-account #bbpress-forums { - border-top: none; - padding-top: 0; - margin-bottom: 0; -} - -/* =User Capabilities --------------------------------------------------------------- */ - -#bbpress-forums dl.bbp-user-capabilities { - display: inline-block; - vertical-align: top; -} - -#bbpress-forums dl.bbp-user-capabilities dt { - margin: 0 0 10px; - text-transform: capitalize; -} - -#bbpress-forums dl.bbp-user-capabilities dd { - margin: 0; - padding: 0; -} - -/* =BuddyPress Group Forums --------------------------------------------------------------- */ - -#bbpress-forums div.row-actions { - font-size: 11px; - visibility: hidden; -} - -#bbpress-forums li:hover > div.row-actions { - visibility: visible; -} - -/* =Alerts --------------------------------------------------------------- */ - -.bbp-alert-outer { - height: 100%; - width: 100%; - top: 0; - right: 0; - position: fixed; - background-color: rgba(0, 0, 0, 0.2); - z-index: 99999; -} - -.bbp-alert-inner { - width: 350px; - text-align: center; - background: #fff; - position: fixed; - top: 50%; - right: 50%; - margin-top: -75px; - margin-right: -185px; - border-radius: 3px; - border: 1px solid #aaa; - padding: 15px 10px 10px; -} - -.bbp-alert-outer .bbp-alert-inner p { - margin: 10px 0; -} - -.bbp-alert-actions a { - padding: 5px 20px; - text-decoration: none; -} - -/*-------------------------------------------------------------- - Media Queries ---------------------------------------------------------------*/ - -/* =Standard Mobile Landscape --------------------------------------------------------------- */ -@media only screen and (max-width: 480px) { - - #bbpress-forums div.bbp-topic-tags { - clear: right; - float: right; - } - - div.bbp-search-form input, - div.bbp-search-form button { - font-size: 11px; - padding: 2px; - } - - li.bbp-forum-info, - li.bbp-topic-title { - width: 45%; - } - - li.bbp-forum-topic-count, - li.bbp-forum-reply-count, - li.bbp-topic-voice-count, - li.bbp-topic-reply-count { - width: 15%; - } - - span.bbp-topic-post-date, - span.bbp-reply-post-date { - float: right; - } - - span.bbp-admin-links { - clear: right; - float: right; - } - - #bbpress-forums .bbp-forums-list li { - display: block; - font-size: 11px; - } - - #bbpress-forums .bbp-body div.bbp-topic-author, - #bbpress-forums .bbp-body div.bbp-reply-author { - margin: -15px 10px 10px; - min-height: 100px; - padding-right: 80px; - position: relative; - text-align: right; - width: 100%; - } - - #bbpress-forums div.bbp-topic-author a.bbp-author-name, - #bbpress-forums div.bbp-reply-author a.bbp-author-name { - clear: none; - display: inline-block; - margin-right: 0; - word-wrap: break-word; - } - - #bbpress-forums div.bbp-topic-author img.avatar, - #bbpress-forums div.bbp-reply-author img.avatar { - position: absolute; - top: 15px; - right: 0; - width: 60px; - height: auto; - } - - #bbpress-forums div.bbp-topic-author .bbp-author-role, - #bbpress-forums div.bbp-reply-author .bbp-author-role { - font-size: 12px; - font-style: normal; - } - - #bbpress-forums .bbp-body div.bbp-topic-content, - #bbpress-forums .bbp-body div.bbp-reply-content { - clear: both; - margin: 10px; - padding: 0; - } - - #bbpress-forums div.bbp-topic-content p, - #bbpress-forums div.bbp-reply-content p { - margin-bottom: 1em; - } - - div.bbp-submit-wrapper { - float: right; - } - - #bbpress-forums fieldset.bbp-form { - padding: 0 10px 10px; - } - - #bbpress-forums #bbp-user-body { - clear: both; - margin-right: 0; - word-wrap: break-word; - } - - #bbpress-forums div.bbp-forum-title h3, - #bbpress-forums div.bbp-topic-title h3, - #bbpress-forums div.bbp-reply-title h3 { - font-size: 14px; - } -} - -/* =Standard Mobile Portrait --------------------------------------------------------------- */ -@media only screen and (max-width: 320px) { - - #bbpress-forums div.bbp-search-form { - margin-bottom: 10px; - } - - #bbpress-forums li.bbp-header li.bbp-forum-info, - #bbpress-forums li.bbp-body li.bbp-forum-info, - #bbpress-forums li.bbp-header li.bbp-topic-title, - #bbpress-forums li.bbp-body li.bbp-topic-title { - width: 100%; - } - - #bbpress-forums li.bbp-header li.bbp-forum-info, - #bbpress-forums li.bbp-header li.bbp-topic-title { - text-align: center; - text-transform: uppercase; - } - - #bbpress-forums li.bbp-header li.bbp-forum-topic-count, - #bbpress-forums li.bbp-header li.bbp-forum-reply-count, - #bbpress-forums li.bbp-body li.bbp-forum-topic-count, - #bbpress-forums li.bbp-body li.bbp-forum-reply-count, - #bbpress-forums li.bbp-header li.bbp-topic-voice-count, - #bbpress-forums li.bbp-header li.bbp-topic-reply-count, - #bbpress-forums li.bbp-body li.bbp-topic-voice-count, - #bbpress-forums li.bbp-body li.bbp-topic-reply-count { - width: 20%; - } - - #bbpress-forums li.bbp-header li.bbp-forum-freshness, - #bbpress-forums li.bbp-body li.bbp-forum-freshness, - #bbpress-forums li.bbp-header li.bbp-topic-freshness, - #bbpress-forums li.bbp-body li.bbp-topic-freshness { - width: 58%; - } - - #bbpress-forums li.bbp-body li.bbp-forum-topic-count, - #bbpress-forums li.bbp-body li.bbp-forum-reply-count, - #bbpress-forums li.bbp-body li.bbp-forum-freshness, - #bbpress-forums li.bbp-body li.bbp-topic-voice-count, - #bbpress-forums li.bbp-body li.bbp-topic-reply-count, - #bbpress-forums li.bbp-body li.bbp-topic-freshness { - margin-top: 7px; - } - - #bbpress-forums li.bbp-header, - #bbpress-forums li.bbp-footer { - font-size: 10px; - } - - #bbpress-forums li.bbp-header div.bbp-search-author, - #bbpress-forums li.bbp-header div.bbp-topic-author, - #bbpress-forums li.bbp-header div.bbp-reply-author { - text-align: right; - width: 25%; - } - - #bbpress-forums li.bbp-header div.bbp-search-content, - #bbpress-forums li.bbp-header div.bbp-topic-content, - #bbpress-forums li.bbp-header div.bbp-reply-content { - margin-right: 25%; - } - - #bbpress-forums div.bbp-template-notice img.avatar, - #bbpress-forums p.bbp-topic-meta img.avatar { - width: 14px; - height: auto; - } - - #bbpress-forums div.bbp-the-content-wrapper td.mceToolbar { - padding: 1px; - } - - #bbpress-forums div.bbp-the-content-wrapper td.mceToolbar td { - width: 20px; - height: 20px; - } - - #bbpress-forums div.wp-editor-container { - width: 100%; - overflow: auto; - } - - #bbpress-forums input#bbp_topic_title, - #bbpress-forums input#bbp_topic_tags { - width: 95%; - } - - #bbpress-forums div.bbp-forum-title h3, - #bbpress-forums div.bbp-topic-title h3, - #bbpress-forums div.bbp-reply-title h3 { - font-size: 14px; - } -} - -/* =Extra Small Mobile --------------------------------------------------------------- */ -@media only screen and (max-width: 240px) { - - #bbpress-forums li.bbp-header li.bbp-forum-topic-count, - #bbpress-forums li.bbp-header li.bbp-forum-reply-count, - #bbpress-forums li.bbp-body li.bbp-forum-topic-count, - #bbpress-forums li.bbp-body li.bbp-forum-reply-count, - #bbpress-forums li.bbp-header li.bbp-topic-voice-count, - #bbpress-forums li.bbp-header li.bbp-topic-reply-count, - #bbpress-forums li.bbp-body li.bbp-topic-voice-count, - #bbpress-forums li.bbp-body li.bbp-topic-reply-count, - #bbpress-forums li.bbp-footer div.bbp-search-author, - #bbpress-forums li.bbp-footer div.bbp-topic-author, - #bbpress-forums li.bbp-footer div.bbp-reply-author { - width: 45%; - } - - #bbpress-forums li.bbp-header li.bbp-forum-freshness, - #bbpress-forums li.bbp-body li.bbp-forum-freshness, - #bbpress-forums li.bbp-header li.bbp-topic-freshness, - #bbpress-forums li.bbp-body li.bbp-topic-freshness { - clear: both; - width: 100%; - } - - #bbpress-forums li.bbp-header li.bbp-forum-freshness, - #bbpress-forums li.bbp-header li.bbp-topic-freshness { - text-align: center; - } - - #bbpress-forums li.bbp-body li.bbp-topic-freshness, - #bbpress-forums li.bbp-header div.bbp-search-author, - #bbpress-forums li.bbp-header div.bbp-search-content, - #bbpress-forums li.bbp-header div.bbp-topic-author, - #bbpress-forums li.bbp-header div.bbp-topic-content, - #bbpress-forums li.bbp-header div.bbp-reply-author, - #bbpress-forums li.bbp-header div.bbp-reply-content { - margin-right: 0; - text-align: right; - } - - #bbpress-forums li.bbp-body li.bbp-topic-freshness p.bbp-topic-meta { - display: inline-block; - } - - #bbpress-forums li.bbp-header { - overflow: hidden; - } - - #bbpress-forums li.bbp-footer div.bbp-search-content, - #bbpress-forums li.bbp-footer div.bbp-topic-content, - #bbpress-forums li.bbp-footer div.bbp-reply-content { - display: inline-block; - margin-right: 0; - } - - #bbpress-forums li.bbp-body div.bbp-topic-author, - #bbpress-forums li.bbp-body div.bbp-reply-author { - min-height: 60px; - padding-right: 60px; - } - - #bbpress-forums div.bbp-topic-author img.avatar, - #bbpress-forums div.bbp-reply-author img.avatar { - width: 40px; - height: auto; - } - - #bbpress-forums div.bbp-forum-title h3, - #bbpress-forums div.bbp-topic-title h3, - #bbpress-forums div.bbp-reply-title h3 { - font-size: 12px; - } -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/003/003.test.js b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/003/003.test.js deleted file mode 100644 index 321ac2d1f72be8..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/003/003.test.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -const stylelint = require( 'stylelint' ), - systemTestUtils = require( '../systemTestUtils.js' ); - -it( '003', () => { - return stylelint.lint({ - files: [systemTestUtils.caseStylesheetGlob( '003' )], - configFile: systemTestUtils.caseConfig( '003' ), - }).then( ({ results }) => { - expect( systemTestUtils.prepResults( results ) ).toMatchSnapshot(); - }); -}); diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/003/__snapshots__/003.test.js.snap b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/003/__snapshots__/003.test.js.snap deleted file mode 100644 index b02425d184cedc..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/003/__snapshots__/003.test.js.snap +++ /dev/null @@ -1,15 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`003 1`] = ` -Array [ - Object { - "deprecations": Array [], - "errored": undefined, - "ignored": undefined, - "invalidOptionWarnings": Array [], - "parseErrors": Array [], - "source": "003/stylesheet.css", - "warnings": Array [], - }, -] -`; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/003/config.json b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/003/config.json deleted file mode 100644 index a8af7d5dcb61b9..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/003/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../index.js" -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/003/stylesheet.css b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/003/stylesheet.css deleted file mode 100644 index 7c706d533e90f0..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/003/stylesheet.css +++ /dev/null @@ -1,488 +0,0 @@ - -/* Kludge for too-wide forums dropdown */ -#poststuff #bbp_forum_attributes select#parent_id, -#poststuff #bbp_topic_attributes select#parent_id, -#poststuff #bbp_reply_attributes select#bbp_forum_id, -#poststuff #bbp_reply_attributes select#bbp_reply_to { - max-width: 170px; -} - -/* Version Badge */ - -.bbp-badge { - -webkit-transform-origin: top left; - transform-origin: top left; - -webkit-animation: swoop 16s infinite linear; - animation: swoop 16s infinite linear; -} - -.bbp-bee { - font: 400 80px/1 dashicons !important; - color: #000; - position: absolute; - height: 60px; - width: 60px; -} - -.bbp-hive { - font: 400 150px/1 dashicons !important; - color: #ccc; - position: absolute; - height: 150px; - width: 150px; - top: 0; - right: 0; - display: block; -} - -.bbp-bee:before { - content: "\f451"; -} - -.bbp-hive:before { - content: "\f449"; -} - -@-webkit-keyframes buzz { - - 0% { - right: -2px; - top: -1px; - } - - 25% { - right: 1px; - top: 2px; - } - - 50% { - right: -3px; - top: -1px; - } - - 75% { - right: 2px; - top: 1px; - } - - 0% { - right: -2px; - top: -1px; - } -} - -@keyframes buzz { - - 0% { - right: -2px; - top: -1px; - } - - 25% { - right: 1px; - top: 2px; - } - - 50% { - right: -3px; - top: -1px; - } - - 75% { - right: 2px; - top: 1px; - } - - 0% { - right: -2px; - top: -1px; - } -} - -@-webkit-keyframes swoop { - - 0% { - -webkit-transform: rotate(95deg); - transform: rotate(95deg); - } - - 100% { - -webkit-transform: rotate(455deg); - transform: rotate(455deg); - } -} - -@keyframes swoop { - - 0% { - -webkit-transform: rotate(95deg); - transform: rotate(95deg); - } - - 100% { - -webkit-transform: rotate(455deg); - transform: rotate(455deg); - } -} - -.about-wrap .bbp-badge { - position: absolute; - right: 50px; - top: 50px; - height: 25px; - width: 25px; -} - -body.rtl .about-wrap .bbp-badge { - right: auto; - left: 50px; -} - -/* Dashicons */ - -th .bbp_forums_column:before, -#dashboard_right_now a.bbp-glance-forums:before, -#adminmenu #menu-posts-forum .wp-menu-image:before { - content: "\f449"; -} - -th .bbp_topics_column:before, -#dashboard_right_now a.bbp-glance-topics:before, -#adminmenu #menu-posts-topic .wp-menu-image:before { - content: "\f450"; -} - -th .bbp_replies_column:before, -#dashboard_right_now a.bbp-glance-replies:before, -#adminmenu #menu-posts-reply .wp-menu-image:before { - content: "\f451"; -} - -#dashboard_right_now a.bbp-glance-topic-tags:before { - content: "\f323"; -} - -#dashboard_right_now a.bbp-glance-users:before { - content: "\f110"; -} - -th .bbp_forums_column, -th .bbp_topics_column, -th .bbp_replies_column { - height: 16px; - width: 16px; -} - -th .bbp_forums_column:before, -th .bbp_topics_column:before, -th .bbp_replies_column:before { - font: 400 20px/0.5 dashicons; - speak: none; - display: inline-block; - padding: 0; - top: 4px; - left: -4px; - position: relative; - vertical-align: top; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - text-decoration: none !important; - color: #444; -} - -/* Deprecated Dashboard Metabox */ - -#bbp-dashboard-right-now p.sub, -#bbp-dashboard-right-now .table, -#bbp-dashboard-right-now .versions { - margin: -12px; -} - -#bbp-dashboard-right-now .inside { - font-size: 12px; - padding-top: 20px; - margin-bottom: 0; -} - -#bbp-dashboard-right-now p.sub { - padding: 5px 0 15px; - color: #8f8f8f; - font-size: 14px; - position: absolute; - top: -17px; - left: 15px; -} - -body.rtl #bbp-dashboard-right-now p.sub { - right: 15px; - left: 0; -} - -#bbp-dashboard-right-now .table { - margin: 0; - padding: 0; - position: relative; -} - -#bbp-dashboard-right-now .table_content { - float: left; - border-top: #ececec 1px solid; - width: 45%; -} - -body.rtl #bbp-dashboard-right-now .table_content { - float: right; -} - -#bbp-dashboard-right-now .table_discussion { - float: right; - border-top: #ececec 1px solid; - width: 45%; -} - -body.rtl #bbp-dashboard-right-now .table_discussion { - float: left; -} - -#bbp-dashboard-right-now table td { - padding: 3px 0; - white-space: nowrap; -} - -#bbp-dashboard-right-now table tr.first td { - border-top: none; -} - -#bbp-dashboard-right-now td.b { - padding-right: 6px; - text-align: right; - font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif; - font-size: 14px; - width: 1%; -} - -body.rtl #bbp-dashboard-right-now td.b { - padding-left: 6px; - padding-right: 0; -} - -#bbp-dashboard-right-now td.b a { - font-size: 18px; -} - -#bbp-dashboard-right-now td.b a:hover { - color: #d54e21; -} - -#bbp-dashboard-right-now .t { - font-size: 12px; - padding-right: 12px; - padding-top: 6px; - color: #777; -} - -body.rtl #bbp-dashboard-right-now .t { - padding-left: 12px; - padding-right: 0; -} - -#bbp-dashboard-right-now .t a { - white-space: nowrap; -} - -#bbp-dashboard-right-now .spam { - color: #f00; -} - -#bbp-dashboard-right-now .waiting { - color: #e66f00; -} - -#bbp-dashboard-right-now .approved { - color: #0f0; -} - -#bbp-dashboard-right-now .versions { - padding: 6px 10px 12px; - clear: both; -} - -#bbp-dashboard-right-now .versions .b { - font-weight: 700; -} - -#bbp-dashboard-right-now a.button { - float: right; - clear: right; - position: relative; - top: -5px; -} - -body.rtl #bbp-dashboard-right-now a.button { - float: left; - clear: left; -} - -/* List Tables */ - -body.post-type-forum #minor-publishing, -body.post-type-forum #save-post { - display: none; -} - -body.post-type-forum strong.label, -body.post-type-topic strong.label, -body.post-type-reply strong.label { - display: inline-block; - width: 60px; -} - -.column-bbp_forum_topic_count, -.column-bbp_forum_reply_count, -.column-bbp_topic_reply_count, -.column-bbp_topic_voice_count { - width: 8% !important; -} - -.column-author, -.column-bbp_forum_mods, -.column-bbp_reply_author, -.column-bbp_topic_author { - width: 10% !important; -} - -.column-bbp_topic_forum, -.column-bbp_reply_forum, -.column-bbp_reply_topic { - width: 10% !important; -} - -.column-bbp_forum_freshness, -.column-bbp_topic_freshness { - width: 10% !important; -} - -.column-bbp_forum_created, -.column-bbp_topic_created, -.column-bbp_reply_created { - width: 15% !important; -} - -.column-bbp_topic_reply_author, -.column-bbp_forum_topic_author { - width: 25% !important; -} - -.column-bbp_topic_reply_author .avatar, -.column-bbp_forum_topic_author .avatar { - float: left; - margin-right: 10px; -} - -#bbp_moderators { - width: 100%; -} - -#bbp_forum_attributes hr { - border-style: solid; - border-width: 1px; - border-color: #ccc #fff #fff #ccc; -} - -#the-list .status-closed { - background-color: #f5f5f5; -} - -#the-list .status-closed:nth-child(odd) { - background-color: #f0f0f0; -} - -#the-list .status-spam { - background-color: #fee; -} - -#the-list .status-spam:nth-child(odd) { - background-color: #fdd; -} - -#the-list .status-pending { - background-color: #fff2e8; -} - -#the-list .status-pending:nth-child(odd) { - background-color: #fff7f1; -} - -#the-list .status-closed td, -#the-list .status-spam td { - color: #999; -} - -/* User Relationships */ - -#bbp_topic_engagements_metabox .avatar, -#bbp_topic_favorites_metabox .avatar, -#bbp_topic_subscriptions_metabox .avatar { - margin: 3px; -} - -/* Converter */ - -#bbp-converter-monitor .inside { - margin-bottom: 0; -} - -div.bbp-converter-log, -div.bbp-converter-warning { - padding: 5px 0 5px 5px; -} - -div.bbp-converter-log.started { - height: 300px; - overflow: auto; -} - -div.bbp-converter-log p { - margin: 0; - padding: 2px; -} - -div.bbp-converter-log p:only-child { - float: none; - margin-bottom: 0; -} - -div.bbp-converter-log div { - padding: 10px; - margin: 5px; - background: #f4f4f4; - border: 1px solid #ddd; -} - -div.bbp-converter-log div code { - margin-top: 5px; - display: block; -} - -div.bbp-converter-log .step { - text-align: right; - font-weight: 600; -} - -#bbp-converter-stop { - display: none; -} - -#bbp-converter-status { - font-weight: 400; - font-size: 12px; - color: #aaa; - display: block; - margin-top: 2px; -} - -/* Tools */ - -td.bbp-tool-title strong { - display: block; -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/004/004.test.js b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/004/004.test.js deleted file mode 100644 index d282c53cc992e8..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/004/004.test.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -const stylelint = require( 'stylelint' ), - systemTestUtils = require( '../systemTestUtils.js' ); - -it( '004', () => { - return stylelint.lint({ - files: [systemTestUtils.caseStylesheetGlob( '004' )], - configFile: systemTestUtils.caseConfig( '004' ), - }).then( ({ results }) => { - expect( systemTestUtils.prepResults( results ) ).toMatchSnapshot(); - }); -}); diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/004/__snapshots__/004.test.js.snap b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/004/__snapshots__/004.test.js.snap deleted file mode 100644 index ebe3971891a41e..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/004/__snapshots__/004.test.js.snap +++ /dev/null @@ -1,15 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`004 1`] = ` -Array [ - Object { - "deprecations": Array [], - "errored": undefined, - "ignored": undefined, - "invalidOptionWarnings": Array [], - "parseErrors": Array [], - "source": "004/stylesheet.css", - "warnings": Array [], - }, -] -`; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/004/config.json b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/004/config.json deleted file mode 100644 index a8af7d5dcb61b9..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/004/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../index.js" -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/004/stylesheet.css b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/004/stylesheet.css deleted file mode 100644 index 7f60c8521426fa..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/004/stylesheet.css +++ /dev/null @@ -1,488 +0,0 @@ - -/* Kludge for too-wide forums dropdown */ -#poststuff #bbp_forum_attributes select#parent_id, -#poststuff #bbp_topic_attributes select#parent_id, -#poststuff #bbp_reply_attributes select#bbp_forum_id, -#poststuff #bbp_reply_attributes select#bbp_reply_to { - max-width: 170px; -} - -/* Version Badge */ - -.bbp-badge { - -webkit-transform-origin: top right; - transform-origin: top right; - -webkit-animation: swoop 16s infinite linear; - animation: swoop 16s infinite linear; -} - -.bbp-bee { - font: 400 80px/1 dashicons !important; - color: #000; - position: absolute; - height: 60px; - width: 60px; -} - -.bbp-hive { - font: 400 150px/1 dashicons !important; - color: #ccc; - position: absolute; - height: 150px; - width: 150px; - top: 0; - left: 0; - display: block; -} - -.bbp-bee:before { - content: "\f451"; -} - -.bbp-hive:before { - content: "\f449"; -} - -@-webkit-keyframes buzz { - - 0% { - left: -2px; - top: -1px; - } - - 25% { - left: 1px; - top: 2px; - } - - 50% { - left: -3px; - top: -1px; - } - - 75% { - left: 2px; - top: 1px; - } - - 0% { - left: -2px; - top: -1px; - } -} - -@keyframes buzz { - - 0% { - left: -2px; - top: -1px; - } - - 25% { - left: 1px; - top: 2px; - } - - 50% { - left: -3px; - top: -1px; - } - - 75% { - left: 2px; - top: 1px; - } - - 0% { - left: -2px; - top: -1px; - } -} - -@-webkit-keyframes swoop { - - 0% { - -webkit-transform: rotate(-95deg); - transform: rotate(-95deg); - } - - 100% { - -webkit-transform: rotate(-455deg); - transform: rotate(-455deg); - } -} - -@keyframes swoop { - - 0% { - -webkit-transform: rotate(-95deg); - transform: rotate(-95deg); - } - - 100% { - -webkit-transform: rotate(-455deg); - transform: rotate(-455deg); - } -} - -.about-wrap .bbp-badge { - position: absolute; - left: 50px; - top: 50px; - height: 25px; - width: 25px; -} - -body.rtl .about-wrap .bbp-badge { - left: auto; - right: 50px; -} - -/* Dashicons */ - -th .bbp_forums_column:before, -#dashboard_right_now a.bbp-glance-forums:before, -#adminmenu #menu-posts-forum .wp-menu-image:before { - content: "\f449"; -} - -th .bbp_topics_column:before, -#dashboard_right_now a.bbp-glance-topics:before, -#adminmenu #menu-posts-topic .wp-menu-image:before { - content: "\f450"; -} - -th .bbp_replies_column:before, -#dashboard_right_now a.bbp-glance-replies:before, -#adminmenu #menu-posts-reply .wp-menu-image:before { - content: "\f451"; -} - -#dashboard_right_now a.bbp-glance-topic-tags:before { - content: "\f323"; -} - -#dashboard_right_now a.bbp-glance-users:before { - content: "\f110"; -} - -th .bbp_forums_column, -th .bbp_topics_column, -th .bbp_replies_column { - height: 16px; - width: 16px; -} - -th .bbp_forums_column:before, -th .bbp_topics_column:before, -th .bbp_replies_column:before { - font: 400 20px/0.5 dashicons; - speak: none; - display: inline-block; - padding: 0; - top: 4px; - right: -4px; - position: relative; - vertical-align: top; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - text-decoration: none !important; - color: #444; -} - -/* Deprecated Dashboard Metabox */ - -#bbp-dashboard-right-now p.sub, -#bbp-dashboard-right-now .table, -#bbp-dashboard-right-now .versions { - margin: -12px; -} - -#bbp-dashboard-right-now .inside { - font-size: 12px; - padding-top: 20px; - margin-bottom: 0; -} - -#bbp-dashboard-right-now p.sub { - padding: 5px 0 15px; - color: #8f8f8f; - font-size: 14px; - position: absolute; - top: -17px; - right: 15px; -} - -body.rtl #bbp-dashboard-right-now p.sub { - left: 15px; - right: 0; -} - -#bbp-dashboard-right-now .table { - margin: 0; - padding: 0; - position: relative; -} - -#bbp-dashboard-right-now .table_content { - float: right; - border-top: #ececec 1px solid; - width: 45%; -} - -body.rtl #bbp-dashboard-right-now .table_content { - float: left; -} - -#bbp-dashboard-right-now .table_discussion { - float: left; - border-top: #ececec 1px solid; - width: 45%; -} - -body.rtl #bbp-dashboard-right-now .table_discussion { - float: right; -} - -#bbp-dashboard-right-now table td { - padding: 3px 0; - white-space: nowrap; -} - -#bbp-dashboard-right-now table tr.first td { - border-top: none; -} - -#bbp-dashboard-right-now td.b { - padding-left: 6px; - text-align: left; - font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif; - font-size: 14px; - width: 1%; -} - -body.rtl #bbp-dashboard-right-now td.b { - padding-right: 6px; - padding-left: 0; -} - -#bbp-dashboard-right-now td.b a { - font-size: 18px; -} - -#bbp-dashboard-right-now td.b a:hover { - color: #d54e21; -} - -#bbp-dashboard-right-now .t { - font-size: 12px; - padding-left: 12px; - padding-top: 6px; - color: #777; -} - -body.rtl #bbp-dashboard-right-now .t { - padding-right: 12px; - padding-left: 0; -} - -#bbp-dashboard-right-now .t a { - white-space: nowrap; -} - -#bbp-dashboard-right-now .spam { - color: #f00; -} - -#bbp-dashboard-right-now .waiting { - color: #e66f00; -} - -#bbp-dashboard-right-now .approved { - color: #0f0; -} - -#bbp-dashboard-right-now .versions { - padding: 6px 10px 12px; - clear: both; -} - -#bbp-dashboard-right-now .versions .b { - font-weight: 700; -} - -#bbp-dashboard-right-now a.button { - float: left; - clear: left; - position: relative; - top: -5px; -} - -body.rtl #bbp-dashboard-right-now a.button { - float: right; - clear: right; -} - -/* List Tables */ - -body.post-type-forum #minor-publishing, -body.post-type-forum #save-post { - display: none; -} - -body.post-type-forum strong.label, -body.post-type-topic strong.label, -body.post-type-reply strong.label { - display: inline-block; - width: 60px; -} - -.column-bbp_forum_topic_count, -.column-bbp_forum_reply_count, -.column-bbp_topic_reply_count, -.column-bbp_topic_voice_count { - width: 8% !important; -} - -.column-author, -.column-bbp_forum_mods, -.column-bbp_reply_author, -.column-bbp_topic_author { - width: 10% !important; -} - -.column-bbp_topic_forum, -.column-bbp_reply_forum, -.column-bbp_reply_topic { - width: 10% !important; -} - -.column-bbp_forum_freshness, -.column-bbp_topic_freshness { - width: 10% !important; -} - -.column-bbp_forum_created, -.column-bbp_topic_created, -.column-bbp_reply_created { - width: 15% !important; -} - -.column-bbp_topic_reply_author, -.column-bbp_forum_topic_author { - width: 25% !important; -} - -.column-bbp_topic_reply_author .avatar, -.column-bbp_forum_topic_author .avatar { - float: right; - margin-left: 10px; -} - -#bbp_moderators { - width: 100%; -} - -#bbp_forum_attributes hr { - border-style: solid; - border-width: 1px; - border-color: #ccc #ccc #fff #fff; -} - -#the-list .status-closed { - background-color: #f5f5f5; -} - -#the-list .status-closed:nth-child(odd) { - background-color: #f0f0f0; -} - -#the-list .status-spam { - background-color: #fee; -} - -#the-list .status-spam:nth-child(odd) { - background-color: #fdd; -} - -#the-list .status-pending { - background-color: #fff2e8; -} - -#the-list .status-pending:nth-child(odd) { - background-color: #fff7f1; -} - -#the-list .status-closed td, -#the-list .status-spam td { - color: #999; -} - -/* User Relationships */ - -#bbp_topic_engagements_metabox .avatar, -#bbp_topic_favorites_metabox .avatar, -#bbp_topic_subscriptions_metabox .avatar { - margin: 3px; -} - -/* Converter */ - -#bbp-converter-monitor .inside { - margin-bottom: 0; -} - -div.bbp-converter-log, -div.bbp-converter-warning { - padding: 5px 5px 5px 0; -} - -div.bbp-converter-log.started { - height: 300px; - overflow: auto; -} - -div.bbp-converter-log p { - margin: 0; - padding: 2px; -} - -div.bbp-converter-log p:only-child { - float: none; - margin-bottom: 0; -} - -div.bbp-converter-log div { - padding: 10px; - margin: 5px; - background: #f4f4f4; - border: 1px solid #ddd; -} - -div.bbp-converter-log div code { - margin-top: 5px; - display: block; -} - -div.bbp-converter-log .step { - text-align: left; - font-weight: 600; -} - -#bbp-converter-stop { - display: none; -} - -#bbp-converter-status { - font-weight: 400; - font-size: 12px; - color: #aaa; - display: block; - margin-top: 2px; -} - -/* Tools */ - -td.bbp-tool-title strong { - display: block; -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/005/005.test.js b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/005/005.test.js deleted file mode 100644 index add18fa36621df..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/005/005.test.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -const stylelint = require( 'stylelint' ), - systemTestUtils = require( '../systemTestUtils.js' ); - -it( '005', () => { - return stylelint.lint({ - files: [systemTestUtils.caseStylesheetGlob( '005' )], - configFile: systemTestUtils.caseConfig( '005' ), - }).then( ({ results }) => { - expect( systemTestUtils.prepResults( results ) ).toMatchSnapshot(); - }); -}); diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/005/__snapshots__/005.test.js.snap b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/005/__snapshots__/005.test.js.snap deleted file mode 100644 index 51bb51dc05e0f5..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/005/__snapshots__/005.test.js.snap +++ /dev/null @@ -1,135 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`005 1`] = ` -Array [ - Object { - "deprecations": Array [], - "errored": true, - "ignored": undefined, - "invalidOptionWarnings": Array [], - "parseErrors": Array [], - "source": "005/stylesheet.scss", - "warnings": Array [ - Object { - "column": 3, - "line": 51, - "rule": "at-rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before at-rule (at-rule-empty-line-before)", - }, - Object { - "column": 23, - "line": 377, - "rule": "function-parentheses-space-inside", - "severity": "error", - "text": "Unexpected whitespace after \\"(\\" (function-parentheses-space-inside)", - }, - Object { - "column": 44, - "line": 377, - "rule": "function-parentheses-space-inside", - "severity": "error", - "text": "Unexpected whitespace before \\")\\" (function-parentheses-space-inside)", - }, - Object { - "column": 5, - "line": 188, - "rule": "indentation", - "severity": "error", - "text": "Expected indentation of 1 tab (indentation)", - }, - Object { - "column": 5, - "line": 231, - "rule": "indentation", - "severity": "error", - "text": "Expected indentation of 1 tab (indentation)", - }, - Object { - "column": 5, - "line": 236, - "rule": "indentation", - "severity": "error", - "text": "Expected indentation of 1 tab (indentation)", - }, - Object { - "column": 83, - "line": 133, - "rule": "max-line-length", - "severity": "error", - "text": "Expected line length to be no more than 80 characters (max-line-length)", - }, - Object { - "column": 2, - "line": 50, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 58, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 66, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 74, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 12, - "line": 33, - "rule": "selector-attribute-quotes", - "severity": "error", - "text": "Expected quotes around \\"checkbox\\" (selector-attribute-quotes)", - }, - Object { - "column": 12, - "line": 37, - "rule": "selector-attribute-quotes", - "severity": "error", - "text": "Expected quotes around \\"radio\\" (selector-attribute-quotes)", - }, - Object { - "column": 9, - "line": 168, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 9, - "line": 181, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 9, - "line": 2, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 9, - "line": 3, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - ], - }, -] -`; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/005/config.json b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/005/config.json deleted file mode 100644 index b3a2db66c84f1a..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/005/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../scss.js" -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/005/stylesheet.scss b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/005/stylesheet.scss deleted file mode 100644 index 928670d2b1ace0..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/005/stylesheet.scss +++ /dev/null @@ -1,493 +0,0 @@ - -@import 'variables'; -@import 'mixins'; - - -body { - background: $body-background; -} - - -/* Links */ - -a { - color: $link; - - &:hover, - &:active, - &:focus { - color: $link-focus; - } -} - -#media-upload a.del-link:hover, -div.dashboard-widget-submit input:hover, -.subsubsub a:hover, -.subsubsub a.current:hover { - color: $link-focus; -} - - -/* Forms */ - -input[type=checkbox]:checked:before { - color: $form-checked; -} - -input[type=radio]:checked:before { - background: $form-checked; -} - -.wp-core-ui input[type="reset"]:hover, -.wp-core-ui input[type="reset"]:active { - color: $link-focus; -} - - -/* Core UI */ - -.wp-core-ui { - .button-primary { - @include button( $button-color ); - } - - .wp-ui-primary { - color: $text-color; - background-color: $base-color; - } - .wp-ui-text-primary { - color: $base-color; - } - - .wp-ui-highlight { - color: $menu-highlight-text; - background-color: $menu-highlight-background; - } - .wp-ui-text-highlight { - color: $menu-highlight-background; - } - - .wp-ui-notification { - color: $menu-bubble-text; - background-color: $menu-bubble-background; - } - .wp-ui-text-notification { - color: $menu-bubble-background; - } - - .wp-ui-text-icon { - color: $menu-icon; - } -} - - -/* List tables */ - -.wrap .add-new-h2:hover, /* deprecated */ -.wrap .page-title-action:hover, -.tablenav .tablenav-pages a:hover, -.tablenav .tablenav-pages a:focus { - color: $menu-text; - background-color: $menu-background; -} - -.view-switch a.current:before { - color: $menu-background; -} - -.view-switch a:hover:before { - color: $menu-bubble-background; -} - - -/* Admin Menu */ - -#adminmenuback, -#adminmenuwrap, -#adminmenu { - background: $menu-background; -} - -#adminmenu a { - color: $menu-text; -} - -#adminmenu div.wp-menu-image:before { - color: $menu-icon; -} - -#adminmenu a:hover, -#adminmenu li.menu-top:hover, -#adminmenu li.opensub > a.menu-top, -#adminmenu li > a.menu-top:focus { - color: $menu-highlight-text; - background-color: $menu-highlight-background; -} - -#adminmenu li.menu-top:hover div.wp-menu-image:before, -#adminmenu li.opensub > a.menu-top div.wp-menu-image:before { - color: $menu-highlight-icon; -} - - -/* Active tabs use a bottom border color that matches the page background color. */ - -.about-wrap h2 .nav-tab-active, -.nav-tab-active, -.nav-tab-active:hover { - background-color: $body-background; - border-bottom-color: $body-background; -} - - -/* Admin Menu: submenu */ - -#adminmenu .wp-submenu, -#adminmenu .wp-has-current-submenu .wp-submenu, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu, -.folded #adminmenu .wp-has-current-submenu .wp-submenu, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu { - background: $menu-submenu-background; -} - -#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after { - border-right-color: $menu-submenu-background; -} - -#adminmenu .wp-submenu .wp-submenu-head { - color: $menu-submenu-text; -} - -#adminmenu .wp-submenu a, -#adminmenu .wp-has-current-submenu .wp-submenu a, -.folded #adminmenu .wp-has-current-submenu .wp-submenu a, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu a { - color: $menu-submenu-text; - - &:focus, &:hover { - color: $menu-submenu-focus-text; - } -} - - -/* Admin Menu: current */ - -#adminmenu .wp-submenu li.current a, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a { - color: $menu-submenu-current-text; - - &:hover, &:focus { - color: $menu-submenu-focus-text; - } -} - -ul#adminmenu a.wp-has-current-submenu:after, -ul#adminmenu > li.current > a.current:after { - border-right-color: $body-background; -} - -#adminmenu li.current a.menu-top, -#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu, -#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head, -.folded #adminmenu li.current.menu-top { - color: $menu-current-text; - background: $menu-current-background; -} - -#adminmenu li.wp-has-current-submenu div.wp-menu-image:before, -#adminmenu a.current:hover div.wp-menu-image:before, -#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before, -#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before, -#adminmenu li:hover div.wp-menu-image:before, -#adminmenu li a:focus div.wp-menu-image:before, -#adminmenu li.opensub div.wp-menu-image:before, -.ie8 #adminmenu li.opensub div.wp-menu-image:before { - color: $menu-current-icon; -} - - -/* Admin Menu: bubble */ - -#adminmenu .awaiting-mod, -#adminmenu .update-plugins { - color: $menu-bubble-text; - background: $menu-bubble-background; -} - -#adminmenu li.current a .awaiting-mod, -#adminmenu li a.wp-has-current-submenu .update-plugins, -#adminmenu li:hover a .awaiting-mod, -#adminmenu li.menu-top:hover > a .update-plugins { - color: $menu-bubble-current-text; - background: $menu-bubble-current-background; -} - - -/* Admin Menu: collapse button */ - -#collapse-button { - color: $menu-collapse-text; -} - -#collapse-button:hover, -#collapse-button:focus { - color: $menu-submenu-focus-text; -} - -/* Admin Bar */ - -#wpadminbar { - color: $menu-text; - background: $menu-background; -} - -#wpadminbar .ab-item, -#wpadminbar a.ab-item, -#wpadminbar > #wp-toolbar span.ab-label, -#wpadminbar > #wp-toolbar span.noticon { - color: $menu-text; -} - -#wpadminbar .ab-icon, -#wpadminbar .ab-icon:before, -#wpadminbar .ab-item:before, -#wpadminbar .ab-item:after { - color: $menu-icon; -} - -#wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item, -#wpadminbar:not(.mobile) .ab-top-menu > li > .ab-item:focus, -#wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus, -#wpadminbar.nojs .ab-top-menu > li.menupop:hover > .ab-item, -#wpadminbar .ab-top-menu > li.menupop.hover > .ab-item { - color: $menu-submenu-focus-text; - background: $menu-submenu-background; -} - -#wpadminbar:not(.mobile) > #wp-toolbar li:hover span.ab-label, -#wpadminbar:not(.mobile) > #wp-toolbar li.hover span.ab-label, -#wpadminbar:not(.mobile) > #wp-toolbar a:focus span.ab-label { - color: $menu-submenu-focus-text; -} - -#wpadminbar:not(.mobile) li:hover .ab-icon:before, -#wpadminbar:not(.mobile) li:hover .ab-item:before, -#wpadminbar:not(.mobile) li:hover .ab-item:after, -#wpadminbar:not(.mobile) li:hover #adminbarsearch:before { - color: $menu-highlight-icon; -} - - -/* Admin Bar: submenu */ - -#wpadminbar .menupop .ab-sub-wrapper { - background: $menu-submenu-background; -} - -#wpadminbar .quicklinks .menupop ul.ab-sub-secondary, -#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu { - background: $menu-submenu-background-alt; -} - -#wpadminbar .ab-submenu .ab-item, -#wpadminbar .quicklinks .menupop ul li a, -#wpadminbar .quicklinks .menupop.hover ul li a, -#wpadminbar.nojs .quicklinks .menupop:hover ul li a { - color: $menu-submenu-text; -} - -#wpadminbar .quicklinks li .blavatar, -#wpadminbar .menupop .menupop > .ab-item:before { - color: $menu-icon; -} - -#wpadminbar .quicklinks .menupop ul li a:hover, -#wpadminbar .quicklinks .menupop ul li a:focus, -#wpadminbar .quicklinks .menupop ul li a:hover strong, -#wpadminbar .quicklinks .menupop ul li a:focus strong, -#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a, -#wpadminbar .quicklinks .menupop.hover ul li a:hover, -#wpadminbar .quicklinks .menupop.hover ul li a:focus, -#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover, -#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus, -#wpadminbar li:hover .ab-icon:before, -#wpadminbar li:hover .ab-item:before, -#wpadminbar li a:focus .ab-icon:before, -#wpadminbar li .ab-item:focus:before, -#wpadminbar li .ab-item:focus .ab-icon:before, -#wpadminbar li.hover .ab-icon:before, -#wpadminbar li.hover .ab-item:before, -#wpadminbar li:hover #adminbarsearch:before, -#wpadminbar li #adminbarsearch.adminbar-focused:before { - color: $menu-submenu-focus-text; -} - -#wpadminbar .quicklinks li a:hover .blavatar, -#wpadminbar .quicklinks li a:focus .blavatar, -#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a .blavatar, -#wpadminbar .menupop .menupop > .ab-item:hover:before, -#wpadminbar.mobile .quicklinks .ab-icon:before, -#wpadminbar.mobile .quicklinks .ab-item:before { - color: $menu-submenu-focus-text; -} - -#wpadminbar.mobile .quicklinks .hover .ab-icon:before, -#wpadminbar.mobile .quicklinks .hover .ab-item:before { - color: $menu-icon; -} - - -/* Admin Bar: search */ - -#wpadminbar #adminbarsearch:before { - color: $menu-icon; -} - -#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus { - color: $menu-text; - background: $adminbar-input-background; -} - -/* Admin Bar: my account */ - -#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img { - border-color: $adminbar-avatar-frame; - background-color: $adminbar-avatar-frame; -} - -#wpadminbar #wp-admin-bar-user-info .display-name { - color: $menu-text; -} - -#wpadminbar #wp-admin-bar-user-info a:hover .display-name { - color: $menu-submenu-focus-text; -} - -#wpadminbar #wp-admin-bar-user-info .username { - color: $menu-submenu-text; -} - - -/* Pointers */ - -.wp-pointer .wp-pointer-content h3 { - background-color: $highlight-color; - border-color: darken( $highlight-color, 5% ); -} - -.wp-pointer .wp-pointer-content h3:before { - color: $highlight-color; -} - -.wp-pointer.wp-pointer-top .wp-pointer-arrow, -.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner, -.wp-pointer.wp-pointer-undefined .wp-pointer-arrow, -.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner { - border-bottom-color: $highlight-color; -} - - -/* Media */ - -.media-item .bar, -.media-progress-bar div { - background-color: $highlight-color; -} - -.details.attachment { - box-shadow: - inset 0 0 0 3px #fff, - inset 0 0 0 7px $highlight-color; -} - -.attachment.details .check { - background-color: $highlight-color; - box-shadow: 0 0 0 1px #fff, 0 0 0 2px $highlight-color; -} - -.media-selection .attachment.selection.details .thumbnail { - box-shadow: 0 0 0 1px #fff, 0 0 0 3px $highlight-color; -} - - -/* Themes */ - -.theme-browser .theme.active .theme-name, -.theme-browser .theme.add-new-theme a:hover:after, -.theme-browser .theme.add-new-theme a:focus:after { - background: $highlight-color; -} - -.theme-browser .theme.add-new-theme a:hover span:after, -.theme-browser .theme.add-new-theme a:focus span:after { - color: $highlight-color; -} - -.theme-section.current, -.theme-filter.current { - border-bottom-color: $menu-background; -} - -body.more-filters-opened .more-filters { - color: $menu-text; - background-color: $menu-background; -} - -body.more-filters-opened .more-filters:before { - color: $menu-text; -} - -body.more-filters-opened .more-filters:hover, -body.more-filters-opened .more-filters:focus { - background-color: $menu-highlight-background; - color: $menu-highlight-text; -} - -body.more-filters-opened .more-filters:hover:before, -body.more-filters-opened .more-filters:focus:before { - color: $menu-highlight-text; -} - -/* Widgets */ - -.widgets-chooser li.widgets-chooser-selected { - background-color: $menu-highlight-background; - color: $menu-highlight-text; -} - -.widgets-chooser li.widgets-chooser-selected:before, -.widgets-chooser li.widgets-chooser-selected:focus:before { - color: $menu-highlight-text; -} - -/* Responsive Component */ - -div#wp-responsive-toggle a:before { - color: $menu-icon; -} - -.wp-responsive-open div#wp-responsive-toggle a { - // ToDo: make inset border - border-color: transparent; - background: $menu-highlight-background; -} - -.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a { - background: $menu-submenu-background; -} - -.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before { - color: $menu-icon; -} - -/* TinyMCE */ - -.mce-container.mce-menu .mce-menu-item:hover, -.mce-container.mce-menu .mce-menu-item.mce-selected, -.mce-container.mce-menu .mce-menu-item:focus, -.mce-container.mce-menu .mce-menu-item-normal.mce-active, -.mce-container.mce-menu .mce-menu-item-preview.mce-active { - background: $highlight-color; -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/006/006.test.js b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/006/006.test.js deleted file mode 100644 index 127b6635652f40..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/006/006.test.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -const stylelint = require( 'stylelint' ), - systemTestUtils = require( '../systemTestUtils.js' ); - -it( '006', () => { - return stylelint.lint({ - files: [systemTestUtils.caseStylesheetGlob( '006' )], - configFile: systemTestUtils.caseConfig( '006' ), - }).then( ({ results }) => { - expect( systemTestUtils.prepResults( results ) ).toMatchSnapshot(); - }); -}); diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/006/__snapshots__/006.test.js.snap b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/006/__snapshots__/006.test.js.snap deleted file mode 100644 index 3c231ed4b2732e..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/006/__snapshots__/006.test.js.snap +++ /dev/null @@ -1,352 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`006 1`] = ` -Array [ - Object { - "deprecations": Array [], - "errored": true, - "ignored": undefined, - "invalidOptionWarnings": Array [], - "parseErrors": Array [], - "source": "006/stylesheet.scss", - "warnings": Array [ - Object { - "column": 13, - "line": 10, - "rule": "declaration-colon-newline-after", - "severity": "error", - "text": "Expected newline after \\":\\" with a multi-line declaration (declaration-colon-newline-after)", - }, - Object { - "column": 13, - "line": 24, - "rule": "declaration-colon-newline-after", - "severity": "error", - "text": "Expected newline after \\":\\" with a multi-line declaration (declaration-colon-newline-after)", - }, - Object { - "column": 23, - "line": 7, - "rule": "function-parentheses-space-inside", - "severity": "error", - "text": "Unexpected whitespace after \\"(\\" (function-parentheses-space-inside)", - }, - Object { - "column": 42, - "line": 7, - "rule": "function-parentheses-space-inside", - "severity": "error", - "text": "Unexpected whitespace before \\")\\" (function-parentheses-space-inside)", - }, - Object { - "column": 52, - "line": 7, - "rule": "function-parentheses-space-inside", - "severity": "error", - "text": "Unexpected whitespace after \\"(\\" (function-parentheses-space-inside)", - }, - Object { - "column": 71, - "line": 7, - "rule": "function-parentheses-space-inside", - "severity": "error", - "text": "Unexpected whitespace before \\")\\" (function-parentheses-space-inside)", - }, - Object { - "column": 81, - "line": 7, - "rule": "function-parentheses-space-inside", - "severity": "error", - "text": "Unexpected whitespace after \\"(\\" (function-parentheses-space-inside)", - }, - Object { - "column": 100, - "line": 7, - "rule": "function-parentheses-space-inside", - "severity": "error", - "text": "Unexpected whitespace before \\")\\" (function-parentheses-space-inside)", - }, - Object { - "column": 29, - "line": 9, - "rule": "function-parentheses-space-inside", - "severity": "error", - "text": "Unexpected whitespace after \\"(\\" (function-parentheses-space-inside)", - }, - Object { - "column": 48, - "line": 9, - "rule": "function-parentheses-space-inside", - "severity": "error", - "text": "Unexpected whitespace before \\")\\" (function-parentheses-space-inside)", - }, - Object { - "column": 33, - "line": 10, - "rule": "function-parentheses-space-inside", - "severity": "error", - "text": "Unexpected whitespace after \\"(\\" (function-parentheses-space-inside)", - }, - Object { - "column": 52, - "line": 10, - "rule": "function-parentheses-space-inside", - "severity": "error", - "text": "Unexpected whitespace before \\")\\" (function-parentheses-space-inside)", - }, - Object { - "column": 20, - "line": 11, - "rule": "function-parentheses-space-inside", - "severity": "error", - "text": "Unexpected whitespace after \\"(\\" (function-parentheses-space-inside)", - }, - Object { - "column": 39, - "line": 11, - "rule": "function-parentheses-space-inside", - "severity": "error", - "text": "Unexpected whitespace before \\")\\" (function-parentheses-space-inside)", - }, - Object { - "column": 20, - "line": 12, - "rule": "function-parentheses-space-inside", - "severity": "error", - "text": "Unexpected whitespace after \\"(\\" (function-parentheses-space-inside)", - }, - Object { - "column": 39, - "line": 12, - "rule": "function-parentheses-space-inside", - "severity": "error", - "text": "Unexpected whitespace before \\")\\" (function-parentheses-space-inside)", - }, - Object { - "column": 21, - "line": 13, - "rule": "function-parentheses-space-inside", - "severity": "error", - "text": "Unexpected whitespace after \\"(\\" (function-parentheses-space-inside)", - }, - Object { - "column": 40, - "line": 13, - "rule": "function-parentheses-space-inside", - "severity": "error", - "text": "Unexpected whitespace before \\")\\" (function-parentheses-space-inside)", - }, - Object { - "column": 23, - "line": 17, - "rule": "function-parentheses-space-inside", - "severity": "error", - "text": "Unexpected whitespace after \\"(\\" (function-parentheses-space-inside)", - }, - Object { - "column": 41, - "line": 17, - "rule": "function-parentheses-space-inside", - "severity": "error", - "text": "Unexpected whitespace before \\")\\" (function-parentheses-space-inside)", - }, - Object { - "column": 24, - "line": 18, - "rule": "function-parentheses-space-inside", - "severity": "error", - "text": "Unexpected whitespace after \\"(\\" (function-parentheses-space-inside)", - }, - Object { - "column": 43, - "line": 18, - "rule": "function-parentheses-space-inside", - "severity": "error", - "text": "Unexpected whitespace before \\")\\" (function-parentheses-space-inside)", - }, - Object { - "column": 30, - "line": 20, - "rule": "function-parentheses-space-inside", - "severity": "error", - "text": "Unexpected whitespace after \\"(\\" (function-parentheses-space-inside)", - }, - Object { - "column": 49, - "line": 20, - "rule": "function-parentheses-space-inside", - "severity": "error", - "text": "Unexpected whitespace before \\")\\" (function-parentheses-space-inside)", - }, - Object { - "column": 36, - "line": 24, - "rule": "function-parentheses-space-inside", - "severity": "error", - "text": "Unexpected whitespace after \\"(\\" (function-parentheses-space-inside)", - }, - Object { - "column": 55, - "line": 24, - "rule": "function-parentheses-space-inside", - "severity": "error", - "text": "Unexpected whitespace before \\")\\" (function-parentheses-space-inside)", - }, - Object { - "column": 22, - "line": 29, - "rule": "function-parentheses-space-inside", - "severity": "error", - "text": "Unexpected whitespace after \\"(\\" (function-parentheses-space-inside)", - }, - Object { - "column": 41, - "line": 29, - "rule": "function-parentheses-space-inside", - "severity": "error", - "text": "Unexpected whitespace before \\")\\" (function-parentheses-space-inside)", - }, - Object { - "column": 24, - "line": 30, - "rule": "function-parentheses-space-inside", - "severity": "error", - "text": "Unexpected whitespace after \\"(\\" (function-parentheses-space-inside)", - }, - Object { - "column": 43, - "line": 30, - "rule": "function-parentheses-space-inside", - "severity": "error", - "text": "Unexpected whitespace before \\")\\" (function-parentheses-space-inside)", - }, - Object { - "column": 37, - "line": 31, - "rule": "function-parentheses-space-inside", - "severity": "error", - "text": "Unexpected whitespace after \\"(\\" (function-parentheses-space-inside)", - }, - Object { - "column": 56, - "line": 31, - "rule": "function-parentheses-space-inside", - "severity": "error", - "text": "Unexpected whitespace before \\")\\" (function-parentheses-space-inside)", - }, - Object { - "column": 14, - "line": 38, - "rule": "function-parentheses-space-inside", - "severity": "error", - "text": "Unexpected whitespace after \\"(\\" (function-parentheses-space-inside)", - }, - Object { - "column": 45, - "line": 38, - "rule": "function-parentheses-space-inside", - "severity": "error", - "text": "Unexpected whitespace before \\")\\" (function-parentheses-space-inside)", - }, - Object { - "column": 19, - "line": 38, - "rule": "function-parentheses-space-inside", - "severity": "error", - "text": "Unexpected whitespace after \\"(\\" (function-parentheses-space-inside)", - }, - Object { - "column": 33, - "line": 38, - "rule": "function-parentheses-space-inside", - "severity": "error", - "text": "Unexpected whitespace before \\")\\" (function-parentheses-space-inside)", - }, - Object { - "column": 22, - "line": 39, - "rule": "function-parentheses-space-inside", - "severity": "error", - "text": "Unexpected whitespace after \\"(\\" (function-parentheses-space-inside)", - }, - Object { - "column": 40, - "line": 39, - "rule": "function-parentheses-space-inside", - "severity": "error", - "text": "Unexpected whitespace before \\")\\" (function-parentheses-space-inside)", - }, - Object { - "column": 24, - "line": 40, - "rule": "function-parentheses-space-inside", - "severity": "error", - "text": "Unexpected whitespace after \\"(\\" (function-parentheses-space-inside)", - }, - Object { - "column": 43, - "line": 40, - "rule": "function-parentheses-space-inside", - "severity": "error", - "text": "Unexpected whitespace before \\")\\" (function-parentheses-space-inside)", - }, - Object { - "column": 30, - "line": 45, - "rule": "function-parentheses-space-inside", - "severity": "error", - "text": "Unexpected whitespace after \\"(\\" (function-parentheses-space-inside)", - }, - Object { - "column": 49, - "line": 45, - "rule": "function-parentheses-space-inside", - "severity": "error", - "text": "Unexpected whitespace before \\")\\" (function-parentheses-space-inside)", - }, - Object { - "column": 38, - "line": 47, - "rule": "function-parentheses-space-inside", - "severity": "error", - "text": "Unexpected whitespace after \\"(\\" (function-parentheses-space-inside)", - }, - Object { - "column": 57, - "line": 47, - "rule": "function-parentheses-space-inside", - "severity": "error", - "text": "Unexpected whitespace before \\")\\" (function-parentheses-space-inside)", - }, - Object { - "column": 6, - "line": 25, - "rule": "indentation", - "severity": "error", - "text": "Expected indentation of 3 tabs (indentation)", - }, - Object { - "column": 4, - "line": 31, - "rule": "indentation", - "severity": "error", - "text": "Expected indentation of 2 tabs (indentation)", - }, - Object { - "column": 5, - "line": 47, - "rule": "indentation", - "severity": "error", - "text": "Expected indentation of 3 tabs (indentation)", - }, - Object { - "column": 3, - "line": 46, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - ], - }, -] -`; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/006/config.json b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/006/config.json deleted file mode 100644 index b3a2db66c84f1a..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/006/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../scss.js" -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/006/stylesheet.scss b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/006/stylesheet.scss deleted file mode 100644 index b9dd2efe896173..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/006/stylesheet.scss +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Button mixin- creates 3d-ish button effect with correct - * highlights/shadows, based on a base color. - */ -@mixin button( $button-color, $text-color: #fff ) { - background: $button-color; - border-color: darken( $button-color, 10% ) darken( $button-color, 15% ) darken( $button-color, 15% ); - color: $text-color; - box-shadow: 0 1px 0 darken( $button-color, 15% ); - text-shadow: 0 -1px 1px darken( $button-color, 15% ), - 1px 0 1px darken( $button-color, 15% ), - 0 1px 1px darken( $button-color, 15% ), - -1px 0 1px darken( $button-color, 15% ); - - &:hover, - &:focus { - background: lighten( $button-color, 3% ); - border-color: darken( $button-color, 15% ); - color: $text-color; - box-shadow: 0 1px 0 darken( $button-color, 15% ); - } - - &:focus { - box-shadow: inset 0 1px 0 darken( $button-color, 10% ), - 0 0 2px 1px #33b3db; - } - - &:active { - background: darken( $button-color, 10% ); - border-color: darken( $button-color, 15% ); - box-shadow: inset 0 2px 0 darken( $button-color, 15% ); - } - - &[disabled], - &:disabled, - &.button-primary-disabled, - &.disabled { - color: hsl( hue( $button-color ), 10%, 80% ) !important; - background: darken( $button-color, 8% ) !important; - border-color: darken( $button-color, 15% ) !important; - text-shadow: none !important; - } - - &.button-hero { - box-shadow: 0 2px 0 darken( $button-color, 15% ) !important; - &:active { - box-shadow: inset 0 3px 0 darken( $button-color, 15% ) !important; - } - } - -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/007/007.test.js b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/007/007.test.js deleted file mode 100644 index 0d1ea042cf5671..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/007/007.test.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -const stylelint = require( 'stylelint' ), - systemTestUtils = require( '../systemTestUtils.js' ); - -it( '007', () => { - return stylelint.lint({ - files: [systemTestUtils.caseStylesheetGlob( '007' )], - configFile: systemTestUtils.caseConfig( '007' ), - }).then( ({ results }) => { - expect( systemTestUtils.prepResults( results ) ).toMatchSnapshot(); - }); -}); diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/007/__snapshots__/007.test.js.snap b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/007/__snapshots__/007.test.js.snap deleted file mode 100644 index d822ffbd1bb22a..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/007/__snapshots__/007.test.js.snap +++ /dev/null @@ -1,156 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`007 1`] = ` -Array [ - Object { - "deprecations": Array [], - "errored": true, - "ignored": undefined, - "invalidOptionWarnings": Array [], - "parseErrors": Array [], - "source": "007/stylesheet.scss", - "warnings": Array [ - Object { - "column": 18, - "line": 8, - "rule": "function-parentheses-space-inside", - "severity": "error", - "text": "Unexpected whitespace after \\"(\\" (function-parentheses-space-inside)", - }, - Object { - "column": 46, - "line": 8, - "rule": "function-parentheses-space-inside", - "severity": "error", - "text": "Unexpected whitespace before \\")\\" (function-parentheses-space-inside)", - }, - Object { - "column": 23, - "line": 8, - "rule": "function-parentheses-space-inside", - "severity": "error", - "text": "Unexpected whitespace after \\"(\\" (function-parentheses-space-inside)", - }, - Object { - "column": 35, - "line": 8, - "rule": "function-parentheses-space-inside", - "severity": "error", - "text": "Unexpected whitespace before \\")\\" (function-parentheses-space-inside)", - }, - Object { - "column": 22, - "line": 18, - "rule": "function-parentheses-space-inside", - "severity": "error", - "text": "Unexpected whitespace after \\"(\\" (function-parentheses-space-inside)", - }, - Object { - "column": 33, - "line": 18, - "rule": "function-parentheses-space-inside", - "severity": "error", - "text": "Unexpected whitespace before \\")\\" (function-parentheses-space-inside)", - }, - Object { - "column": 25, - "line": 38, - "rule": "function-parentheses-space-inside", - "severity": "error", - "text": "Unexpected whitespace after \\"(\\" (function-parentheses-space-inside)", - }, - Object { - "column": 55, - "line": 38, - "rule": "function-parentheses-space-inside", - "severity": "error", - "text": "Unexpected whitespace before \\")\\" (function-parentheses-space-inside)", - }, - Object { - "column": 34, - "line": 39, - "rule": "function-parentheses-space-inside", - "severity": "error", - "text": "Unexpected whitespace after \\"(\\" (function-parentheses-space-inside)", - }, - Object { - "column": 50, - "line": 39, - "rule": "function-parentheses-space-inside", - "severity": "error", - "text": "Unexpected whitespace before \\")\\" (function-parentheses-space-inside)", - }, - Object { - "column": 42, - "line": 40, - "rule": "function-parentheses-space-inside", - "severity": "error", - "text": "Unexpected whitespace after \\"(\\" (function-parentheses-space-inside)", - }, - Object { - "column": 78, - "line": 40, - "rule": "function-parentheses-space-inside", - "severity": "error", - "text": "Unexpected whitespace before \\")\\" (function-parentheses-space-inside)", - }, - Object { - "column": 51, - "line": 40, - "rule": "function-parentheses-space-inside", - "severity": "error", - "text": "Unexpected whitespace after \\"(\\" (function-parentheses-space-inside)", - }, - Object { - "column": 72, - "line": 40, - "rule": "function-parentheses-space-inside", - "severity": "error", - "text": "Unexpected whitespace before \\")\\" (function-parentheses-space-inside)", - }, - Object { - "column": 33, - "line": 55, - "rule": "function-parentheses-space-inside", - "severity": "error", - "text": "Unexpected whitespace after \\"(\\" (function-parentheses-space-inside)", - }, - Object { - "column": 54, - "line": 55, - "rule": "function-parentheses-space-inside", - "severity": "error", - "text": "Unexpected whitespace before \\")\\" (function-parentheses-space-inside)", - }, - Object { - "column": 37, - "line": 56, - "rule": "function-parentheses-space-inside", - "severity": "error", - "text": "Unexpected whitespace after \\"(\\" (function-parentheses-space-inside)", - }, - Object { - "column": 58, - "line": 56, - "rule": "function-parentheses-space-inside", - "severity": "error", - "text": "Unexpected whitespace before \\")\\" (function-parentheses-space-inside)", - }, - Object { - "column": 28, - "line": 58, - "rule": "function-parentheses-space-inside", - "severity": "error", - "text": "Unexpected whitespace after \\"(\\" (function-parentheses-space-inside)", - }, - Object { - "column": 58, - "line": 58, - "rule": "function-parentheses-space-inside", - "severity": "error", - "text": "Unexpected whitespace before \\")\\" (function-parentheses-space-inside)", - }, - ], - }, -] -`; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/007/config.json b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/007/config.json deleted file mode 100644 index b3a2db66c84f1a..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/007/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../scss.js" -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/007/stylesheet.scss b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/007/stylesheet.scss deleted file mode 100644 index c203f1b2d5e762..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/007/stylesheet.scss +++ /dev/null @@ -1,58 +0,0 @@ -// assign default value to all undefined variables - - -// core variables - -$text-color: #fff !default; -$base-color: #23282d !default; -$icon-color: hsl( hue( $base-color ), 7%, 95% ) !default; -$highlight-color: #0073aa !default; -$notification-color: #d54e21 !default; - - -// global - -$body-background: #f1f1f1 !default; - -$link: #0073aa !default; -$link-focus: lighten( $link, 10% ) !default; - -$button-color: $highlight-color !default; -$form-checked: $highlight-color !default; - - -// admin menu & admin-bar - -$menu-text: $text-color !default; -$menu-icon: $icon-color !default; -$menu-background: $base-color !default; - -$menu-highlight-text: $text-color !default; -$menu-highlight-icon: $text-color !default; -$menu-highlight-background: $highlight-color !default; - -$menu-current-text: $menu-highlight-text !default; -$menu-current-icon: $menu-highlight-icon !default; -$menu-current-background: $menu-highlight-background !default; - -$menu-submenu-text: mix( $base-color, $text-color, 30% ) !default; -$menu-submenu-background: darken( $base-color, 7% ) !default; -$menu-submenu-background-alt: desaturate( lighten( $menu-background, 7% ), 7% ) !default; - -$menu-submenu-focus-text: $highlight-color !default; -$menu-submenu-current-text: $text-color !default; - -$menu-bubble-text: $text-color !default; -$menu-bubble-background: $notification-color !default; -$menu-bubble-current-text: $text-color !default; -$menu-bubble-current-background: $menu-submenu-background !default; - -$menu-collapse-text: $menu-icon !default; -$menu-collapse-icon: $menu-icon !default; -$menu-collapse-focus-text: $text-color !default; -$menu-collapse-focus-icon: $menu-highlight-icon !default; - -$adminbar-avatar-frame: lighten( $menu-background, 7% ) !default; -$adminbar-input-background: lighten( $menu-background, 7% ) !default; - -$menu-customizer-text: mix( $base-color, $text-color, 40% ) !default; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/008/008.test.js b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/008/008.test.js deleted file mode 100644 index adb09caef6c04e..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/008/008.test.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -const stylelint = require( 'stylelint' ), - systemTestUtils = require( '../systemTestUtils.js' ); - -it( '008', () => { - return stylelint.lint({ - files: [systemTestUtils.caseStylesheetGlob( '008' )], - configFile: systemTestUtils.caseConfig( '008' ), - }).then( ({ results }) => { - expect( systemTestUtils.prepResults( results ) ).toMatchSnapshot(); - }); -}); diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/008/__snapshots__/008.test.js.snap b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/008/__snapshots__/008.test.js.snap deleted file mode 100644 index 25d16636b252e5..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/008/__snapshots__/008.test.js.snap +++ /dev/null @@ -1,15 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`008 1`] = ` -Array [ - Object { - "deprecations": Array [], - "errored": undefined, - "ignored": undefined, - "invalidOptionWarnings": Array [], - "parseErrors": Array [], - "source": "008/stylesheet.scss", - "warnings": Array [], - }, -] -`; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/008/config.json b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/008/config.json deleted file mode 100644 index b3a2db66c84f1a..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/008/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../scss.js" -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/008/stylesheet.scss b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/008/stylesheet.scss deleted file mode 100644 index 56e5f8c2715977..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/008/stylesheet.scss +++ /dev/null @@ -1,5 +0,0 @@ -$base-color: #446950; -$highlight-color: #56b274; -$notification-color: lighten(#2a8c4b, 10%); - -@import "../admin"; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/009/009.test.js b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/009/009.test.js deleted file mode 100644 index 2500bd36a95359..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/009/009.test.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -const stylelint = require( 'stylelint' ), - systemTestUtils = require( '../systemTestUtils.js' ); - -it( '009', () => { - return stylelint.lint({ - files: [systemTestUtils.caseStylesheetGlob( '009' )], - configFile: systemTestUtils.caseConfig( '009' ), - }).then( ({ results }) => { - expect( systemTestUtils.prepResults( results ) ).toMatchSnapshot(); - }); -}); diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/009/__snapshots__/009.test.js.snap b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/009/__snapshots__/009.test.js.snap deleted file mode 100644 index 56c577568e7be1..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/009/__snapshots__/009.test.js.snap +++ /dev/null @@ -1,15 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`009 1`] = ` -Array [ - Object { - "deprecations": Array [], - "errored": undefined, - "ignored": undefined, - "invalidOptionWarnings": Array [], - "parseErrors": Array [], - "source": "009/stylesheet.scss", - "warnings": Array [], - }, -] -`; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/009/config.json b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/009/config.json deleted file mode 100644 index b3a2db66c84f1a..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/009/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../scss.js" -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/009/stylesheet.scss b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/009/stylesheet.scss deleted file mode 100644 index 5323510215cc80..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/009/stylesheet.scss +++ /dev/null @@ -1,5 +0,0 @@ -$base-color: darken(desaturate(#78cd95, 10%), 10%); -$highlight-color: desaturate(#467656, 10%); -$notification-color: desaturate(#2a8c4b, 10%); - -@import "../admin"; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/010/010.test.js b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/010/010.test.js deleted file mode 100644 index f3ba6db4964f98..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/010/010.test.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -const stylelint = require( 'stylelint' ), - systemTestUtils = require( '../systemTestUtils.js' ); - -it( '010', () => { - return stylelint.lint({ - files: [systemTestUtils.caseStylesheetGlob( '010' )], - configFile: systemTestUtils.caseConfig( '010' ), - }).then( ({ results }) => { - expect( systemTestUtils.prepResults( results ) ).toMatchSnapshot(); - }); -}); diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/010/__snapshots__/010.test.js.snap b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/010/__snapshots__/010.test.js.snap deleted file mode 100644 index 9990f752d7eae4..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/010/__snapshots__/010.test.js.snap +++ /dev/null @@ -1,15 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`010 1`] = ` -Array [ - Object { - "deprecations": Array [], - "errored": undefined, - "ignored": undefined, - "invalidOptionWarnings": Array [], - "parseErrors": Array [], - "source": "010/stylesheet.css", - "warnings": Array [], - }, -] -`; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/010/config.json b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/010/config.json deleted file mode 100644 index a8af7d5dcb61b9..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/010/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../index.js" -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/010/stylesheet.css b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/010/stylesheet.css deleted file mode 100644 index d2633a0ed306cd..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/010/stylesheet.css +++ /dev/null @@ -1,105 +0,0 @@ -.akismet-status { - float: left; -} - -.akismet-status a { - color: #aaa; - font-style: italic; -} - -.akismet-history { - margin: 13px; -} - -.akismet-history div { - margin-bottom: 13px; -} - -.akismet-history span { - color: #999; -} - -#wp-bp-activities-wrap { - padding: 5px 0; -} - -#bp-activities { - height: 120px; -} - -#bp-replyhead { - font-size: 1em; - line-height: 1.4; - margin: 0; -} - -#bp-replysubmit { - margin: 0; - padding: 0 0 3px; - text-align: center; -} - -#bp-replysubmit .error { - color: #f00; - line-height: 21px; - text-align: center; - vertical-align: center; -} - -#bp-replysubmit img.waiting { - float: left; - padding: 4px 10px 0; - vertical-align: top; -} - -#bp-activities-form .column-response img { - float: right; - margin-bottom: 5px; - margin-left: 10px; - margin-top: 1px; -} - -.activity-errors { - list-style-type: disc; - margin-right: 2em; -} - -#bp_activity_action div.inside, -#bp_activity_content div.inside { - line-height: 0; -} - -#bp_activity_action h3, -#bp_activity_content h3 { - cursor: auto; -} - -#bp_activity_action td.mceIframeContainer, -#bp_activity_content td.mceIframeContainer { - background-color: #fff; -} - -#post-body #bp-activities-action_resize, -#post-body #bp-activities-content_resize { - position: inherit; - margin-top: -2px; -} - -#bp_activity_link input { - width: 99%; -} - -#bp-activities-primaryid { - margin-bottom: 1em; -} - -.column-action { - width: 12%; -} - -@media screen and (max-width: 782px) { - - body.toplevel_page_bp-activity .wp-list-table tr:not(.inline-edit-row):not(.no-items) td:not(.check-column) { - display: table-cell; - } -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/011/011.test.js b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/011/011.test.js deleted file mode 100644 index 49d2fdd0cf0cd8..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/011/011.test.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -const stylelint = require( 'stylelint' ), - systemTestUtils = require( '../systemTestUtils.js' ); - -it( '011', () => { - return stylelint.lint({ - files: [systemTestUtils.caseStylesheetGlob( '011' )], - configFile: systemTestUtils.caseConfig( '011' ), - }).then( ({ results }) => { - expect( systemTestUtils.prepResults( results ) ).toMatchSnapshot(); - }); -}); diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/011/__snapshots__/011.test.js.snap b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/011/__snapshots__/011.test.js.snap deleted file mode 100644 index ba8cdb8420efad..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/011/__snapshots__/011.test.js.snap +++ /dev/null @@ -1,23 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`011 1`] = ` -Array [ - Object { - "deprecations": Array [], - "errored": true, - "ignored": undefined, - "invalidOptionWarnings": Array [], - "parseErrors": Array [], - "source": "011/stylesheet.css", - "warnings": Array [ - Object { - "column": 1, - "line": 14, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - ], - }, -] -`; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/011/config.json b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/011/config.json deleted file mode 100644 index a8af7d5dcb61b9..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/011/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../index.js" -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/011/stylesheet.css b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/011/stylesheet.css deleted file mode 100644 index e6a1097c4b66e1..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/011/stylesheet.css +++ /dev/null @@ -1,106 +0,0 @@ -.atwho-view { - background: rgba(204, 204, 204, 0.8); - border-radius: 2px; - border: 1px solid rgb(204, 204, 204); - box-shadow: 0 0 5px rgba(204, 204, 204, 0.25), 0 0 1px #fff; - color: #d84800; - display: none; - font-family: sans-serif; - margin-top: 18px; - position: absolute; - top: 0; - z-index: 1000; /* >999 for wp-admin */ -} -.atwho-view { - left: 0; -} - -.atwho-view ul { - background: #fff; - list-style: none; - margin: auto; - padding: 0; -} - -.atwho-view ul li { - border-bottom: 1px solid #efefef; - box-sizing: content-box; - cursor: pointer; - display: block; - font-size: 14px; - height: 20px; - line-height: 20px; - margin: 0; - overflow: hidden; - padding: 5px 10px; -} - -.atwho-view img { - border-radius: 2px; - float: left; - height: 20px; - margin-top: 0; - width: 20px; -} - -.atwho-view strong { - background: #efefef; - font-weight: 700; -} - -.atwho-view .username strong { - color: #d54e21; -} - -.atwho-view small { - color: #aaa; - float: left; - font-size: smaller; - font-weight: 400; - margin: 0 40px 0 10px; -} - -.atwho-view .cur { - background: rgba(239, 239, 239, 0.5); -} - -@media (max-width: 900px) { - - .atwho-view img { - float: right; - margin: 0 0 0 10px; - } -} - -@media (max-width: 400px) { - - .atwho-view ul li { - font-size: 16px; - line-height: 23px; - padding: 13px; - } - - .atwho-view ul li img { - height: 30px; - margin-top: -5px; - width: 30px; - } - - .atwho-view { - border-radius: 0; - height: 100%; - right: 0 !important; - width: 100%; - } - - .atwho-view ul li .username { - display: inline-block; - margin: -10px 0 0 0; - padding: 10px 0; - } - - .atwho-view ul li small { - display: inline-block; - margin-right: 20px; - } -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/012/012.test.js b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/012/012.test.js deleted file mode 100644 index 022234e6668f78..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/012/012.test.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -const stylelint = require( 'stylelint' ), - systemTestUtils = require( '../systemTestUtils.js' ); - -it( '012', () => { - return stylelint.lint({ - files: [systemTestUtils.caseStylesheetGlob( '012' )], - configFile: systemTestUtils.caseConfig( '012' ), - }).then( ({ results }) => { - expect( systemTestUtils.prepResults( results ) ).toMatchSnapshot(); - }); -}); diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/012/__snapshots__/012.test.js.snap b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/012/__snapshots__/012.test.js.snap deleted file mode 100644 index 9d0fbdf8e5fc06..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/012/__snapshots__/012.test.js.snap +++ /dev/null @@ -1,15 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`012 1`] = ` -Array [ - Object { - "deprecations": Array [], - "errored": undefined, - "ignored": undefined, - "invalidOptionWarnings": Array [], - "parseErrors": Array [], - "source": "012/stylesheet.css", - "warnings": Array [], - }, -] -`; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/012/config.json b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/012/config.json deleted file mode 100644 index a8af7d5dcb61b9..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/012/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../index.js" -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/012/stylesheet.css b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/012/stylesheet.css deleted file mode 100644 index 8b5b13311386fa..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/012/stylesheet.css +++ /dev/null @@ -1,685 +0,0 @@ -/*------------------------------------------------------------------------------ - -This stylesheet is always loaded in wp-admin. - -@since 1.6.0 -@since 2.5.0 - --------------------------------------------------------------------------------- -TABLE OF CONTENTS: --------------------------------------------------------------------------------- -1.0 Welcome Screen - 1.1 Version Badge - 1.2 About Panel - 1.2.1 Headline Feature - 1.2.2 Features Section - 1.2.3 Changelog Section -2.0 Dashicons - 2.1 Top level menus - 2.2 Settings - Components - 2.3 Tools -3.0 User's Lists -4.0 Emails - Edit page -5.0 Tools - BuddyPress -6.0 Plugins page -------------------------------------------------------------------------------*/ - -/*------------------------------------------------------------------------------ - * 1.0 Welcome Screen - *----------------------------------------------------------------------------*/ - -/* - * 1.1 Version Badge - */ -.bp-badge { - color: #d84800; - display: inline-block; - font: 400 150px/1 dashicons !important; -} - -.bp-badge:before { - content: "\f448"; -} - -.about-wrap .bp-badge { - position: absolute; - top: 0; - left: 0; -} - -.buddypress code { - background-color: #e0e0e0; - color: #636363; - font-size: 1em; -} - -@media only screen and (max-width: 500px) { - - .about-wrap .bp-badge { - position: relative; - margin: 10px auto; - top: auto; - left: auto; - } -} - -/* - * 1.2 About Panel - */ - -/* - * 1.2.1 Headline Feature - */ -.buddypress .bp-headline-feature { - margin-bottom: 2em; - margin-top: 3em; - padding: 2em 3em; -} - -.buddypress .bp-headline { - margin: 0 auto; - width: 45em; -} - -.buddypress .bp-headline span.dashicons { - background-color: #f1f1f1; - color: #d84800; - clear: right; - font-size: 100px; - float: right; - height: 100px; - line-height: 100px; - margin: 0 0 15px 15px; - text-align: center; - width: 100px; -} - -.buddypress .bp-headline-feature .headline-title { - font-size: 2.2em; - font-weight: 300; - line-height: 2; - margin: 0 0 1em; - text-align: center; -} - -.buddypress .bp-headline-feature p { - font-size: 1.15em; - margin: 1.15em 0 0.6em auto; -} - -/* - * 1.2.2 Features Section - */ -.buddypress .bp-features-section { - border-bottom: 1px solid #ccc; - clear: both; - margin-bottom: 3em; - margin-top: 2em; - overflow: hidden; - padding-bottom: 2em; -} - -.buddypress .bp-features-section p { - font-size: 14px; - line-height: 1.5; -} - -.buddypress .bp-features-section img { - margin-bottom: 20px; -} - -.buddypress .bp-features-section span.dashicons { - background-color: #fff; - border-radius: 50%; - clear: right; - color: #d84800; - font-size: 50px; - float: right; - height: 80px; - line-height: 80px; - margin: 0 0 15px 15px; - text-align: center; - width: 80px; -} - -.buddypress .bp-features-section .headline-title { - font-size: 2em; - font-weight: 300; - line-height: 1.5; - margin: 1em auto 2em; - text-align: center; -} - -.buddypress .bp-features-section .bp-feature-with-images { - border-bottom: 1px solid #ccc; - margin-bottom: 5em; - padding-bottom: 2em; -} - -.buddypress .bp-features-section .bp-feature, -.buddypress .bp-features-section .bp-feature-imaged { - float: right; - margin-bottom: 3em; - margin-left: 4.799999999%; - width: 47.6%; -} - -.buddypress .bp-features-section .bp-feature.opposite, -.buddypress .bp-features-section .bp-feature-imaged.anon { - margin-left: 0; -} - -.buddypress .bp-features-section .bp-feature code { - font-size: 0.95em; - line-height: 1.5; -} - -.buddypress .bp-feature:after { - clear: both; - content: ""; - margin-bottom: 2em; -} - -.buddypress .bp-feature-imaged .feature-title { - color: #23282d; - font-size: 1.25em; - margin-bottom: 0.6em; - margin-top: 0; -} - -.buddypress .bp-feature-imaged p { - clear: right; - font-size: 1.1em; -} - -.buddypress .bp-feature-imaged img { - clear: right; -} - -.buddypress .bp-feature .feature-title { - font-size: 1em; - line-height: 1.5; - margin-bottom: 0; - margin-right: 110px; - margin-top: 0; - text-align: right; -} - -.buddypress .bp-feature p { - margin-right: 110px; -} - -/* - * 1.2.3 Changelog Section - */ -.buddypress .bp-changelog-section { - clear: both; - margin-bottom: 3em; - margin-top: 4em; - padding-bottom: 0; -} - -.buddypress .bp-changelog-section:after { - clear: both; - content: ""; - display: table; -} - -.buddypress .bp-changelog-section .changelog-title { - color: #23282d; - font-size: 1.25em; - line-height: 1.5; - margin: 0 auto 1.5em; -} - -.buddypress .bp-two-column div { - float: right; - margin-left: 4.799999999%; - position: relative; - width: 47.6%; -} - -.buddypress .bp-three-column .bp-column { - float: right; - margin-left: 5%; - position: relative; - width: 29.95%; -} - -.buddypress .bp-two-column .bp-column:nth-of-type(2n), -.buddypress .bp-three-column .bp-column:nth-of-type(3n) { - margin-left: 0; -} - -.buddypress .bp-changelog { - margin-bottom: 3em; -} - -.buddypress .bp-changelog:after { - clear: both; - content: ""; - display: table; -} - -.buddypress .bp-changelog .title { - font-size: 14px; - margin-bottom: 0.75em; - margin-top: 0; -} - -.buddypress .bp-changelog p { - margin-bottom: 0; -} - -.bp-changelog-url { - text-align: center; -} - -.bp-assets { - clear: both; - margin-bottom: 3em; -} - -@media screen and ( max-width: 782px ) { - - .bp-headline-feature, - .bp-features-section, - .bp-changelog-section, - .bp-assets { - margin-right: 20px; - margin-left: 20px; - } - - .buddypress .bp-headline-feature { - padding: 0; - } - - .buddypress .bp-headline { - margin: 0; - width: 97%; - } - - .buddypress .bp-features-section { - clear: both; - margin-bottom: 0; - margin-top: 2em; - padding-bottom: 2em; - } - - .buddypress .bp-features-section .bp-feature-with-images { - margin-bottom: 2em; - } - - .buddypress .bp-features-section .headline-title { - margin-bottom: 1em; - } - - .buddypress .bp-changelog-section .changelog-title { - font-size: 1.25em; - line-height: 1.5; - margin-bottom: 0.5em; - margin-top: 0.5em; - } - - .buddypress .bp-features-section .feature-title, - .buddypress .bp-changelog-section .title { - font-size: 1.25em; - line-height: 1.25; - margin-top: 0.6em; - text-align: right; - } - - .buddypress .bp-features-section .bp-feature, - .buddypress .bp-features-section .bp-feature-imaged { - clear: both; - float: right; - margin-bottom: 1em; - margin-top: 1em; - margin-left: 0; - padding-left: 1em; - width: 100%; - } - - .buddypress .bp-features-section .bp-feature-imaged p { - font-size: 1em; - } - - .buddypress .bp-features-section .bp-feature span { - margin-top: 0.33em; - } - - .buddypress .bp-feature.opposite .feature-title, - .buddypress .bp-feature.opposite p { - float: none; - } - - .buddypress .bp-changelog-section { - clear: both; - margin-bottom: 2em; - margin-top: 2em; - } - - .buddypress .bp-changelog-section .changelog-title { - margin-bottom: 1.5em; - } - - .buddypress .bp-changelog .title { - font-size: 1em; - } - - .buddypress .bp-changelog p { - margin-bottom: 1em; - } - - .buddypress .bp-changelog-section .two-col > div, - .buddypress .bp-changelog-section .three-col .col { - margin-top: 0; - padding-bottom: 0.5em; - width: 100%; - } -} - -@media screen and ( max-width: 360px ) { - - .buddypress .bp-headline { - text-align: center; - } - - .buddypress .bp-headline span.dashicons { - clear: none; - font-size: 80px; - float: none; - height: 80px; - line-height: 80px; - margin: 0 auto; - width: 80px; - } - - .buddypress .bp-headline-feature .headline-title, - .buddypress .bp-features-section .headline-title { - font-size: 1.5em; - line-height: 1.5; - text-align: right; - } - - .buddypress .bp-headline-feature .headline-title { - margin: 1em 0 0; - } - - .buddypress .bp-headline-feature p { - margin: 1.15em 0 0.6em auto; - text-align: right; - width: auto; - } - - .buddypress .bp-features-section .bp-feature { - text-align: center; - } - - .buddypress .bp-features-section span.dashicons { - float: none; - } - - .buddypress .bp-features-section .feature-title, - .buddypress .bp-features-section p { - margin-right: 0; - text-align: right; - } -} - -/*------------------------------------------------------------------------------ - * 2.0 Dashicons - *----------------------------------------------------------------------------*/ - -/* - * 2.1 Top level menus - */ -#adminmenu #toplevel_page_bp-activity .wp-menu-image:before, -#adminmenu #toplevel_page_bp-activity_user .wp-menu-image:before, -#adminmenu #toplevel_page_bp-activity_network .wp-menu-image:before { - content: "\f452"; -} - -#adminmenu #toplevel_page_bp-groups .wp-menu-image:before, -#adminmenu #toplevel_page_bp-groups_user .wp-menu-image:before, -#adminmenu #toplevel_page_bp-groups_network .wp-menu-image:before { - content: "\f456"; -} - -#adminmenu #toplevel_page_bp-notifications .wp-menu-image:before, -#adminmenu #toplevel_page_bp-notifications_user .wp-menu-image:before, -#adminmenu #toplevel_page_bp-notifications_network .wp-menu-image:before { - content: "\f439"; -} - -#adminmenu #toplevel_page_bp-messages .wp-menu-image:before, -#adminmenu #toplevel_page_bp-messages_user .wp-menu-image:before, -#adminmenu #toplevel_page_bp-messages_network .wp-menu-image:before { - content: "\f457"; -} - -#adminmenu #toplevel_page_bp-friends .wp-menu-image:before, -#adminmenu #toplevel_page_bp-friends_user .wp-menu-image:before, -#adminmenu #toplevel_page_bp-friends_network .wp-menu-image:before { - content: "\f454"; -} - -#adminmenu #toplevel_page_bp-settings .wp-menu-image:before, -#adminmenu #toplevel_page_bp-settings_user .wp-menu-image:before, -#adminmenu #toplevel_page_bp-settings_network .wp-menu-image:before { - content: "\f108"; -} - -#adminmenu li.toplevel_page_bp-components .wp-menu-image, -#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image { - content: "\f448"; -} - -/* - * 2.2 Settings - Components - */ -.settings_page_bp-components td.plugin-title span { - float: right; - width: 18px; - height: 18px; - margin-left: 5px; -} - -.settings_page_bp-components td.plugin-title span:before { - font-family: dashicons; - font-size: 18px; -} - -.settings_page_bp-components tr.activity td.plugin-title span:before { - content: "\f452"; -} - -.settings_page_bp-components tr.notifications td.plugin-title span:before { - content: "\f339"; -} - -.settings_page_bp-components tr.xprofile td.plugin-title span:before { - content: "\f336"; -} - -.settings_page_bp-components tr.settings td.plugin-title span:before { - content: "\f108"; -} - -.settings_page_bp-components tr.groups td.plugin-title span:before { - content: "\f456"; -} - -.settings_page_bp-components tr.messages td.plugin-title span:before { - content: "\f457"; -} - -.settings_page_bp-components tr.forums td.plugin-title span:before { - content: "\f452"; -} - -.settings_page_bp-components tr.blogs td.plugin-title span:before { - content: "\f120"; -} - -.settings_page_bp-components tr.friends td.plugin-title span:before { - content: "\f454"; -} - -.settings_page_bp-components tr.core td.plugin-title span:before { - content: "\f448"; -} - -.settings_page_bp-components tr.members td.plugin-title span:before { - content: "\f307"; -} - -#bp-admin-component-form .wp-list-table.plugins .plugin-title { - width: 25%; -} - -@media screen and ( max-width: 782px ) { - - .settings_page_bp-components td.plugin-title span { - margin-top: 5px; - } - - #bp-admin-component-form .wp-list-table.plugins .plugin-title { - display: block; - width: auto; - } - - #bp-admin-component-form .subsubsub { - margin-bottom: 0; - padding-bottom: 35px; - } -} - -/* - * 2.3 Tools - */ -#adminmenu .toplevel_page_network-tools div.wp-menu-image:before { - content: ""; -} - - -/*------------------------------------------------------------------------------ - * 3.0 User's Lists - *----------------------------------------------------------------------------*/ -body.site-users-php th#role, -body.users-php th#role, -body.users_page_bp-signups th#count_sent { - width: 10%; -} - -body.site-users-php th#name, -body.site-users-php th#email, -body.users-php th#name, -body.users-php th#registered, -body.users-php th#email, -body.users_page_bp-signups th#name, -body.users_page_bp-signups th#registered, -body.users_page_bp-signups th#email, -body.users_page_bp-signups th#date_sent { - width: 15%; -} - -body.users-php th#blogs, -body.users_page_bp-signups th#blogs { - width: 20%; -} - -body.users_page_bp-signups th.column-count_sent, -body.users_page_bp-signups td.count_sent { - text-align: center; -} - -.bp-signups-list table { - margin: 1em 0; -} - -.bp-signups-list .column-fields { - font-weight: 700; -} - -/*------------------------------------------------------------------------------ - * 4.0 Emails - Edit Page - *----------------------------------------------------------------------------*/ -body.post-type-bp-email #excerpt { - height: auto; -} - -body.post-type-bp-email th#situation { - width: 20%; -} - -body.post-type-bp-email td.column-situation ul { - margin: 0; -} - -body.post-type-bp-email .categorydiv label { - display: block; - float: right; - padding-right: 25px; - text-indent: -25px; -} - -/*------------------------------------------------------------------------------ - * 5.0 Tools - BuddyPress - *----------------------------------------------------------------------------*/ -.tools_page_bp-tools .wrap { - max-width: 950px; -} - -.tools_page_bp-tools p { - line-height: 2; -} - -.tools_page_bp-tools fieldset { - margin: 2em 0 0; -} - -.tools_page_bp-tools legend { - color: #23282d; - font-size: 1.3em; - font-weight: 600; - margin: 1em 0; -} - -.tools_page_bp-tools label { - clear: right; - display: block; - line-height: 1.5; - margin: 0 0 1em; - vertical-align: middle; -} - -@media screen and (max-width: 782px) { - - .tools_page_bp-tools p { - line-height: 1.5; - } - - .tools_page_bp-tools label { - margin-bottom: 1em; - padding-left: 25px; - text-indent: -33px; - } - - .tools_page_bp-tools .checkbox { - padding: 0 30px 0 0; - } -} - - -/*------------------------------------------------------------------------------ - * 6.0 Plugins page - *----------------------------------------------------------------------------*/ -#buddypress-update.not-shiny .update-message { - border-right: 0; - padding-right: 36px; -} - -#buddypress-update.not-shiny .update-message:before { - content: "\f534"; -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/013/013.test.js b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/013/013.test.js deleted file mode 100644 index be9527884c5da6..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/013/013.test.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -const stylelint = require( 'stylelint' ), - systemTestUtils = require( '../systemTestUtils.js' ); - -it( '013', () => { - return stylelint.lint({ - files: [systemTestUtils.caseStylesheetGlob( '013' )], - configFile: systemTestUtils.caseConfig( '013' ), - }).then( ({ results }) => { - expect( systemTestUtils.prepResults( results ) ).toMatchSnapshot(); - }); -}); diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/013/__snapshots__/013.test.js.snap b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/013/__snapshots__/013.test.js.snap deleted file mode 100644 index ded2d367ccfcfa..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/013/__snapshots__/013.test.js.snap +++ /dev/null @@ -1,15 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`013 1`] = ` -Array [ - Object { - "deprecations": Array [], - "errored": undefined, - "ignored": undefined, - "invalidOptionWarnings": Array [], - "parseErrors": Array [], - "source": "013/stylesheet.css", - "warnings": Array [], - }, -] -`; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/013/config.json b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/013/config.json deleted file mode 100644 index a8af7d5dcb61b9..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/013/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../index.js" -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/013/stylesheet.css b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/013/stylesheet.css deleted file mode 100644 index e2ab46fbd56b4b..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/013/stylesheet.css +++ /dev/null @@ -1,10 +0,0 @@ -.customize-control-range output { - background-color: #fff; - border: 1px solid #ddd; - box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.07); - float: right; - margin-left: 10px; - margin-top: -4px; - min-width: 16px; - padding: 5px; -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/014/014.test.js b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/014/014.test.js deleted file mode 100644 index b126213fb99692..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/014/014.test.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -const stylelint = require( 'stylelint' ), - systemTestUtils = require( '../systemTestUtils.js' ); - -it( '014', () => { - return stylelint.lint({ - files: [systemTestUtils.caseStylesheetGlob( '014' )], - configFile: systemTestUtils.caseConfig( '014' ), - }).then( ({ results }) => { - expect( systemTestUtils.prepResults( results ) ).toMatchSnapshot(); - }); -}); diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/014/__snapshots__/014.test.js.snap b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/014/__snapshots__/014.test.js.snap deleted file mode 100644 index b680423dc36cc6..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/014/__snapshots__/014.test.js.snap +++ /dev/null @@ -1,15 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`014 1`] = ` -Array [ - Object { - "deprecations": Array [], - "errored": undefined, - "ignored": undefined, - "invalidOptionWarnings": Array [], - "parseErrors": Array [], - "source": "014/stylesheet.css", - "warnings": Array [], - }, -] -`; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/014/config.json b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/014/config.json deleted file mode 100644 index a8af7d5dcb61b9..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/014/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../index.js" -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/014/stylesheet.css b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/014/stylesheet.css deleted file mode 100644 index f3f1fc7663137e..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/014/stylesheet.css +++ /dev/null @@ -1,73 +0,0 @@ -/* Displayed User */ -#wpadminbar .quicklinks li#wp-admin-bar-user-admin-with-avatar > a img, -#wpadminbar .quicklinks li#wp-admin-bar-group-admin-with-avatar > a img { - width: 16px; - height: 16px; - display: inline; - border: 1px solid #999; - vertical-align: middle; - margin: -2px -5px 0 10px; - padding: 0; - background: #eee; - float: none; -} - -/* Displayed Group */ -#wpadminbar .quicklinks li#wp-admin-bar-group-admin-with-avatar ul { - right: 0; -} - -#wpadminbar .quicklinks li#wp-admin-bar-group-admin-with-avatar ul ul { - right: 0; -} - -/* Notifications */ -#wpadminbar .quicklinks li#wp-admin-bar-my-account a span.count, -#wpadminbar .quicklinks li#wp-admin-bar-my-account-with-avatar a span.count, -#wpadminbar .quicklinks li#wp-admin-bar-bp-notifications #ab-pending-notifications { - background: #21759b; - color: #fff; - text-shadow: none; - display: inline; - padding: 2px 5px; - font-size: 10px; - font-weight: 700; - -moz-border-radius: 10px; - -khtml-border-radius: 10px; - -webkit-border-radius: 10px; - border-radius: 10px; -} - -#wpadminbar .quicklinks li#wp-admin-bar-bp-notifications #ab-pending-notifications { - background: #ddd; - color: #333; - margin: 0; -} - -#wpadminbar .quicklinks li#wp-admin-bar-bp-notifications #ab-pending-notifications.alert { - background-color: #21759b; - color: #fff; -} - -#wpadminbar .quicklinks li#wp-admin-bar-bp-notifications > a { - padding: 0 0.5em; -} - -#wp-admin-bar-user-info img.avatar { - height: 64px; - width: 64px; -} - -/* Remove additional arrows from appearing on the BuddyPress' `my_account_menu` - * on large screens. Add back arrows for screen widths 600px and lower. - */ -#wpadminbar .wp-admin-bar-arrow-right { - display: none; -} - -@media screen and (max-width: 600px) { - - #wpadminbar .wp-admin-bar-arrow-right { - display: block; - } -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/015/015.test.js b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/015/015.test.js deleted file mode 100644 index 1f3bc65de4032a..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/015/015.test.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -const stylelint = require( 'stylelint' ), - systemTestUtils = require( '../systemTestUtils.js' ); - -it( '015', () => { - return stylelint.lint({ - files: [systemTestUtils.caseStylesheetGlob( '015' )], - configFile: systemTestUtils.caseConfig( '015' ), - }).then( ({ results }) => { - expect( systemTestUtils.prepResults( results ) ).toMatchSnapshot(); - }); -}); diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/015/__snapshots__/015.test.js.snap b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/015/__snapshots__/015.test.js.snap deleted file mode 100644 index 4cb60fcc3d0e97..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/015/__snapshots__/015.test.js.snap +++ /dev/null @@ -1,15 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`015 1`] = ` -Array [ - Object { - "deprecations": Array [], - "errored": undefined, - "ignored": undefined, - "invalidOptionWarnings": Array [], - "parseErrors": Array [], - "source": "015/stylesheet.css", - "warnings": Array [], - }, -] -`; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/015/config.json b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/015/config.json deleted file mode 100644 index a8af7d5dcb61b9..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/015/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../index.js" -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/015/stylesheet.css b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/015/stylesheet.css deleted file mode 100644 index 0d0ad44b692276..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/015/stylesheet.css +++ /dev/null @@ -1,413 +0,0 @@ -div.bp-avatar-status, -div.bp-cover-image-status { - clear: both; - margin: 1em 0; -} - -div.bp-avatar-status p.updated, -div.bp-cover-image-status p.updated { - display: block; - padding: 10px 15px; -} - -div.bp-avatar-status p.success, -div.bp-cover-image-status p.success { - background-color: #efc; - border: 1px solid #591; - color: #250; -} - -div.bp-avatar-status p.error, -div.bp-cover-image-status p.error { - background-color: #fdc; - border: 1px solid #a00; - color: #800; -} - -div.bp-avatar-status .bp-progress, -div.bp-cover-image-status .bp-progress { - background: none; - border: 1px solid #d1d1d1; - float: left; - height: 22px; - line-height: 2; - margin: 6px 0 0 10px; - margin-bottom: 2px; - padding: 0; - overflow: hidden; - width: 200px; -} - -div.bp-avatar-status .bp-bar, -div.bp-cover-image-status .bp-bar { - background-color: #c3ff88; - width: 0; - height: 100%; - z-index: 9; -} - -.bp-uploader-progress div.error { - background-color: #fdc; - border: 1px solid #a00; - color: #800; - display: block; - font-size: 90%; - padding: 10px 15px; -} - -/* stylelint-disable selector-id-pattern */ -#buddypress p.warning, -body.users_page_bp-profile-edit.modal-open #TB_ajaxContent p.warning, -body.profile_page_bp-profile-edit.modal-open #TB_ajaxContent p.warning { - background-color: #ffd; - border: 1px solid #cb2; - color: #440; - display: block; - font-size: 90%; - margin: 1em 0; - padding: 10px 15px; -} -/* stylelint-enable */ - -div.bp-avatar-nav { - background: transparent; - clear: both; - margin: 10px 0; - overflow: hidden; -} - -.avatar-nav-items { - margin: 0; - padding: 0; -} - -.bp-avatar-nav .avatar-nav-items li.avatar-nav-item { - float: right !important; - margin: 0; - list-style: none; -} - -.avatar-nav-items li a { - display: block; - padding: 5px 10px; - text-decoration: none; -} - -.bp-avatar-nav ul:before, -.bp-avatar-nav ul:after { - content: " "; - display: table; -} - -.bp-avatar-nav ul:after { - clear: both; -} - -.bp-avatar-nav ul { - border-bottom: 1px solid #ccc; - margin-bottom: 10px; -} - -.bp-avatar-nav ul.avatar-nav-items li.current { - border: 1px solid #ccc; - border-bottom-color: #fff; - border-top-right-radius: 4px; - border-top-left-radius: 4px; - margin-bottom: -1px; -} - -.bp-avatar-nav li.current a { - background: none; - color: inherit; - font-weight: 700; - opacity: 0.8; - outline: 0; -} - -#drag-drop-area { - border: 4px dashed #bbb; - height: 200px; -} - -.drag-drop.drag-over #drag-drop-area { - border-color: #83b4d8; -} - -.drag-drop-inside p { - display: none; -} - -.drag-drop-inside p.drag-drop-buttons { - margin-top: 80px; - text-align: center; -} - -.drag-drop .drag-drop-inside p.drag-drop-buttons { - margin: auto; - text-align: inherit; -} - -.moxie-shim.moxie-shim-html5 input { - cursor: pointer; -} - -.drag-drop #drag-drop-area { - box-sizing: border-box; - display: table; - height: 100%; - width: 100%; -} - -.drag-drop .drag-drop-inside { - display: table-cell; - padding: 40px 0; - text-align: center; - vertical-align: middle; -} - -.drag-drop .drag-drop-inside p, -.drag-drop-inside p.drag-drop-buttons { - display: block; -} - -.drag-drop .drag-drop-inside p { - color: #767676; - font-size: 110%; - margin: 5px 0; - text-align: center; -} - -.drag-drop-inside p.drag-drop-info { - margin-top: 0; -} - -#avatar-to-crop { - margin: 0 auto 20px; - text-align: right; -} - -#bp-webcam-avatar #avatar-to-crop { - float: right; - margin: 0 0 20px; -} - -#avatar-to-crop .jcrop-holder { - margin: 0 auto; -} - -.avatar-crop-management { - clear: right; - overflow: hidden; - padding-top: 20px; - text-align: center; -} - -#bp-webcam-avatar .avatar-crop-management { - clear: none; - float: none; - overflow: visible; - padding-top: 0; - width: auto; -} - -#avatar-crop-pane { - margin: 0 auto; - overflow: hidden; -} - -#bp-webcam-avatar #avatar-to-crop { - border: 1px solid #eee; - max-width: 100%; - width: 100%; -} - -@media screen and (min-width: 801px) { - - #bp-webcam-avatar #avatar-to-crop { - max-width: 64%; - width: 64%; - } -} - -#avatar-crop-actions a { - display: block; -} - -#bp-webcam-avatar #avatar-crop-actions { - float: right; - margin: 0 0 20px; - width: 50%; -} - -#avatar-crop-actions a.button { - margin-top: 10px; -} - -#bp-webcam-avatar #avatar-crop-actions a.button { - display: block; - margin: 0 0 5px; - padding: 4px 0; - width: 100%; -} - -#avatar-to-crop img, -#avatar-crop-pane img, -#avatar-crop-pane canvas, -#avatar-upload-form img, -#create-group-form img, -#group-settings-form img { - border: none !important; - max-width: none !important; -} - -#bp-webcam-avatar video { - float: right; - margin-bottom: 0; - max-width: 100%; - width: 100%; - -webkit-transform: scaleX(-1); - transform: scaleX(-1); -} - -#bp-webcam-avatar #avatar-crop-pane { - border: 2px dashed #bbb; - clear: right; - float: left; - margin: 0 0 10px 40px; - overflow: hidden; -} - -/** -* Users can define avatar constants with new dimension values -* If they do, we'll ensure the layouts preserved by enforcing a max width -* that matches bp default settings. -*/ -#bp-webcam-avatar .avatar-crop-management #avatar-crop-pane { - max-width: 150px; - max-height: 150px; -} - -#avatar-crop-pane canvas { - height: auto; - width: 100%; - max-width: 100%; -} - -.group-avatar .bp-avatar .avatar-crop-management { - margin-right: 0; - padding-top: 0; - width: auto; -} - -.bp-avatar .item { - overflow: hidden; -} - -.bp-avatar .avatar-crop-management.adjust { - float: right; - clear: none; - padding-top: 0; -} - -.bp-avatar #avatar-to-crop.adjust { - float: right; - margin-left: 20px; -} - -@media screen and (max-width: 480px) { - - #bp-webcam-avatar .avatar-crop-management #avatar-crop-actions, - #bp-webcam-avatar .avatar-crop-management #avatar-crop-pane { - float: none; - } - - #bp-webcam-avatar .avatar-crop-management #avatar-crop-pane { - margin: 0 auto 10px; - } - - #bp-webcam-avatar .avatar-crop-management #avatar-crop-actions { - width: auto; - } - -} - -@media screen and (min-width: 801px) { - - #bp-webcam-avatar .avatar-crop-management { - clear: none; - float: left; - } - - #bp-webcam-avatar .avatar-crop-management #avatar-crop-pane { - float: none; - margin: 0 auto 10px; - } - - #bp-webcam-avatar .avatar-crop-management #avatar-crop-actions { - float: right; - width: 100%; - } - -} - - -/** Admin Profile **/ -/* stylelint-disable selector-id-pattern */ -body.users_page_bp-profile-edit.modal-open #TB_ajaxContent, -body.profile_page_bp-profile-edit.modal-open #TB_ajaxContent { - height: 95% !important; - width: 95% !important; -} - -body.users_page_bp-profile-edit.modal-open #TB_ajaxContent p.updated, -body.users_page_bp-profile-edit.modal-open #TB_ajaxContent p.warning, -body.profile_page_bp-profile-edit.modal-open #TB_ajaxContent p.updated, -body.profile_page_bp-profile-edit.modal-open #TB_ajaxContent p.warning { - display: block; - padding: 10px 15px; -} - -.wp-admin #TB_window .bp-avatar #avatar-to-crop { - float: right; - margin: 0; -} - -.wp-admin #TB_window .bp-avatar #bp-webcam-avatar #avatar-to-crop { - margin-bottom: 20px; -} - -@media screen and (min-width: 783px) { - - .wp-admin #TB_window .bp-avatar .avatar-crop-management { - clear: none; - float: right; - margin-right: 20px; - padding-top: 0; - text-align: center; - - } - -} - -.wp-admin #TB_window .bp-avatar #avatar-to-crop video { - width: 100%; -} - -.wp-admin #TB_window .bp-avatar .avatar-crop-management a.button { - height: auto; - line-height: inherit; -} - -@media screen and (min-width: 810px) { - - .wp-admin #TB_window .bp-avatar #bp-webcam-avatar #avatar-to-crop { - max-width: none; - width: 76%; - } - - .wp-admin #TB_window #bp-webcam-avatar .avatar-crop-management { - max-width: none; - width: auto; - } -} -/* stylelint-enable */ diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/016/016.test.js b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/016/016.test.js deleted file mode 100644 index e5ac3c7ee9e4b9..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/016/016.test.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -const stylelint = require( 'stylelint' ), - systemTestUtils = require( '../systemTestUtils.js' ); - -it( '016', () => { - return stylelint.lint({ - files: [systemTestUtils.caseStylesheetGlob( '016' )], - configFile: systemTestUtils.caseConfig( '016' ), - }).then( ({ results }) => { - expect( systemTestUtils.prepResults( results ) ).toMatchSnapshot(); - }); -}); diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/016/__snapshots__/016.test.js.snap b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/016/__snapshots__/016.test.js.snap deleted file mode 100644 index fe388b4d815951..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/016/__snapshots__/016.test.js.snap +++ /dev/null @@ -1,15 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`016 1`] = ` -Array [ - Object { - "deprecations": Array [], - "errored": undefined, - "ignored": undefined, - "invalidOptionWarnings": Array [], - "parseErrors": Array [], - "source": "016/stylesheet.css", - "warnings": Array [], - }, -] -`; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/016/config.json b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/016/config.json deleted file mode 100644 index a8af7d5dcb61b9..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/016/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../index.js" -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/016/stylesheet.css b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/016/stylesheet.css deleted file mode 100644 index 796997327dc428..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/016/stylesheet.css +++ /dev/null @@ -1,237 +0,0 @@ -body:not(.wp-admin) { - padding-top: 25px !important; -} - -#wp-admin-bar { - position: fixed; - top: 0; - right: 0; - height: 25px; - font-size: 11px; - width: 100%; - z-index: 9999; -} - -#wp-admin-bar .padder { - position: relative; - padding: 0; - width: 100%; - margin: 0 auto; - background: url(../images/60pc_black.png); - height: 25px; -} - -body#bp-default #wp-admin-bar .padder { - max-width: 1250px; -} - -#wp-admin-bar * { - z-index: 999; -} - -#wp-admin-bar div#admin-bar-logo { - position: absolute; - top: 5px; - right: 10px; -} - -#wp-admin-bar a img { - border: none; -} - -#wp-admin-bar li { - list-style: none; - margin: 0; - padding: 0; - line-height: 1; - text-align: right; -} - -#wp-admin-bar li a { - padding: 7px 15px; - color: #eee; - text-decoration: none; - font-size: 11px; -} - -#wp-admin-bar li.alt { - border: none; -} - -#wp-admin-bar li.no-arrow a { - padding-left: 15px; -} - -#wp-admin-bar ul li ul li a span { - display: none; -} - -#wp-admin-bar li:hover, -#wp-admin-bar li.hover { - position: static; -} - -#admin-bar-logo { - float: right; - font-weight: 700; - font-size: 11px; - padding: 5px 8px; - margin: 0; - text-decoration: none; - color: #fff; -} - -body#bp-default #admin-bar-logo { - padding: 2px 8px; -} - -/* all lists */ -#wp-admin-bar ul { - margin: 0; - list-style: none; - line-height: 1; - cursor: pointer; - height: auto; - padding: 0; -} - -/* all list items */ -#wp-admin-bar ul li { - padding: 0; - float: right; - position: relative; - background: url(../images/admin-menu-arrow.gif) 88% 53% no-repeat; - padding-left: 11px; -} - -#wp-admin-bar ul li.no-arrow { - background: none; - padding-left: 0; -} - -#wp-admin-bar ul li ul li { - background-image: none; -} - -#wp-admin-bar ul li.align-right { - position: absolute; - left: 0; -} - -#wp-admin-bar ul li a { - display: block; -} - -#wp-admin-bar ul.main-nav li:hover, -#wp-admin-bar ul.main-nav li.sfhover, -#wp-admin-bar ul.main-nav li ul li.sfhover { - background-color: #333; -} - -/* second-level lists */ -#wp-admin-bar ul li ul { - position: absolute; - width: 185px; - right: -999em; - margin-right: 0; - background: #333; - border: 1px solid #222; - -moz-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); - -webkit-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - -moz-border-radius-topright: 0; - -webkit-border-top-right-radius: 0; - -moz-border-radius-topleft: 0; - -webkit-border-top-left-radius: 0; -} - -#wp-admin-bar ul li > ul { - border-top: none; -} - -#wp-admin-bar ul li ul a { - color: #eee; -} - -#wp-admin-bar ul li ul li { - float: right; - width: 174px; - margin: 0; -} - -#wp-admin-bar ul li ul li:hover a { - color: #fff; -} - -#wp-admin-bar ul li div.admin-bar-clear { - clear: both; -} - -#wp-admin-bar ul.main-nav li ul li:hover, -#wp-admin-bar ul.main-nav li ul li.sfhover, -#wp-admin-bar ul.main-nav li ul li.sfhover { - background-color: #222; -} - -/* third-and-above-level lists */ -#wp-admin-bar ul li ul ul { - margin: -25px 184px 0 0; - -moz-border-radius: 3px; - -webkit-border-radius: 3px; -} - -#wp-admin-bar ul li ul li:hover ul li a { - color: #eee; -} - -#wp-admin-bar ul li ul li ul li:hover a { - color: #fff; -} - -#wp-admin-bar ul li:hover ul, -#wp-admin-bar ul li ul li:hover ul, -#wp-admin-bar ul li.sfhover ul, -#wp-admin-bar ul li ul li.sfhover ul { - right: auto; -} - -#wp-admin-bar ul li.align-right:hover ul { - left: 0; -} - -#wp-admin-bar ul li:hover ul ul, -#wp-admin-bar li.sfhover ul li ul { - right: -999em; -} - -/* Menu item css */ -#wp-admin-bar img.avatar { - float: right; - margin-left: 8px; -} - -#wp-admin-bar span.activity { - display: block; - margin-right: 34px; - padding: 0; -} - -#wp-admin-bar ul.author-list li a { - height: 17px; -} - -#wp-admin-bar ul li#bp-adminbar-notifications-menu a span { - padding: 0 6px; - margin-right: 2px; - background: #fff; - color: #000; - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - border-radius: 3px; -} - -#wp-admin-bar-user-info img.avatar { - height: 64px; - width: 64px; -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/017/017.test.js b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/017/017.test.js deleted file mode 100644 index d7e15994409279..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/017/017.test.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -const stylelint = require( 'stylelint' ), - systemTestUtils = require( '../systemTestUtils.js' ); - -it( '017', () => { - return stylelint.lint({ - files: [systemTestUtils.caseStylesheetGlob( '017' )], - configFile: systemTestUtils.caseConfig( '017' ), - }).then( ({ results }) => { - expect( systemTestUtils.prepResults( results ) ).toMatchSnapshot(); - }); -}); diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/017/__snapshots__/017.test.js.snap b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/017/__snapshots__/017.test.js.snap deleted file mode 100644 index 3800110e5c9072..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/017/__snapshots__/017.test.js.snap +++ /dev/null @@ -1,15 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`017 1`] = ` -Array [ - Object { - "deprecations": Array [], - "errored": undefined, - "ignored": undefined, - "invalidOptionWarnings": Array [], - "parseErrors": Array [], - "source": "017/stylesheet.css", - "warnings": Array [], - }, -] -`; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/017/config.json b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/017/config.json deleted file mode 100644 index a8af7d5dcb61b9..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/017/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../index.js" -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/017/stylesheet.css b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/017/stylesheet.css deleted file mode 100644 index cf0df3cf077a84..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/017/stylesheet.css +++ /dev/null @@ -1,148 +0,0 @@ -body.toplevel_page_bp-groups table.groups th#status, -body.toplevel_page_bp-groups table.groups th#members { - width: 10%; -} - -body.toplevel_page_bp-groups table.groups th#last_active { - width: 15%; -} - -#bp-groups-form .avatar { - float: right; - margin-left: 10px; - margin-top: 1px; -} - -#bp-groups-edit-form input { - outline: medium none; -} - -#bp-groups-edit-form input#bp-groups-name { - font-size: 1.7em; - width: 100%; - margin-bottom: 6px; -} - -#bp-groups-edit-form input#bp-groups-new-members { - border: 1px solid #e5e5e5; - margin-top: 6px; - width: 100%; -} - -#bp-groups-new-members-list { - margin: 0; -} - -.bp-groups-settings-section { - margin-top: 10px; - line-height: 2; -} - -.bp-groups-settings-section legend { - margin-top: 10px; - font-weight: 700; -} - -.bp-groups-settings-section label { - clear: right; - display: block; - float: right; - vertical-align: middle; -} - -#bp-groups-permalink-box { - line-height: 24px; - color: #666; -} - -#bp-groups-permalink { - margin-left: 24px; -} - -.bp-groups-member-type { - position: relative; -} - -.bp-groups-member-type > h4 { - margin-bottom: 0.5em; -} - -ul.bp-group-delete-list { - list-style-type: disc; - margin: 4px 26px; -} - -/* - * Members Pagination - */ -.bp-group-admin-pagination { - position: absolute; - text-align: left; - width: 100%; -} - -.bp-group-admin-pagination.table-top { - top: 0; -} - -.bp-group-admin-pagination.table-bottom { - bottom: 0; -} - -.bp-group-admin-pagination-viewing { - color: #777; - font-size: 12px; - font-style: italic; -} - -.bp-group-admin-pagination-links { - white-space: nowrap; - padding-right: 15px; -} - -.bp-group-admin-pagination-links .page-numbers { - display: inline-block; - min-width: 12px; - border: 1px solid #ccc; - padding: 2px 4px 4px; - background: #e5e5e5; - line-height: 1; - font-weight: 400; - text-align: center; - text-decoration: none; -} - -.bp-group-admin-pagination-links a.page-numbers:hover { - text-decoration: underline; -} - -.bp-group-admin-pagination-links .page-numbers.current, -.bp-group-admin-pagination-links .page-numbers.dots { - border-color: #ddd; - background: #f7f7f7; - color: #a0a5aa; -} - -/* - * Members List - */ -table.bp-group-members .uid-column { - padding-right: 20px; - padding-left: 20px; -} - -table.bp-group-members .uname-column { - width: 70%; -} - -table.bp-group-members .urole-column { - padding-right: 20px; - padding-left: 20px; -} - -@media screen and (max-width: 782px) { - - .bp-groups-settings-section label { - margin: 0.25em 0; - } -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/018/018.test.js b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/018/018.test.js deleted file mode 100644 index 661738ffbdb657..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/018/018.test.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -const stylelint = require( 'stylelint' ), - systemTestUtils = require( '../systemTestUtils.js' ); - -it( '018', () => { - return stylelint.lint({ - files: [systemTestUtils.caseStylesheetGlob( '018' )], - configFile: systemTestUtils.caseConfig( '018' ), - }).then( ({ results }) => { - expect( systemTestUtils.prepResults( results ) ).toMatchSnapshot(); - }); -}); diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/018/__snapshots__/018.test.js.snap b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/018/__snapshots__/018.test.js.snap deleted file mode 100644 index b401fe1268ca4e..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/018/__snapshots__/018.test.js.snap +++ /dev/null @@ -1,30 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`018 1`] = ` -Array [ - Object { - "deprecations": Array [], - "errored": true, - "ignored": undefined, - "invalidOptionWarnings": Array [], - "parseErrors": Array [], - "source": "018/stylesheet.css", - "warnings": Array [ - Object { - "column": 42, - "line": 123, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 38, - "line": 178, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - ], - }, -] -`; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/018/config.json b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/018/config.json deleted file mode 100644 index a8af7d5dcb61b9..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/018/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../index.js" -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/018/stylesheet.css b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/018/stylesheet.css deleted file mode 100644 index 54e0ac894afe4f..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/018/stylesheet.css +++ /dev/null @@ -1,286 +0,0 @@ -/**** BP Members Profile Administration Screens -* TO DO: Organize and clean up stylesheet. -****/ - -div#profile-page.wrap form#your-profile { - position: relative; - padding-top: 50px; -} - -div#profile-page.wrap form#your-profile h3:first-of-type { - margin-top: 5em; -} - -div#profile-page.wrap form#your-profile #profile-nav { - position: absolute; - top: 0; - width: 97%; -} - -div#community-profile-page #profile-nav { - margin-bottom: 1em; -} - -#bp_members_admin_user_stats ul { - margin-bottom: 0; -} - -div#community-profile-page li.bp-members-profile-stats:before, -div#community-profile-page li.bp-friends-profile-stats:before, -div#community-profile-page li.bp-groups-profile-stats:before, -div#community-profile-page li.bp-blogs-profile-stats:before, -div#community-profile-page a.bp-xprofile-avatar-user-admin:before, -div#community-profile-page a.bp-xprofile-avatar-user-edit:before { - font: 400 20px/1 dashicons; - speak: none; - display: inline-block; - padding: 0 0 0 2px; - top: 0; - right: -1px; - position: relative; - vertical-align: top; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - text-decoration: none !important; - color: #888; -} - -div#community-profile-page li.bp-members-profile-stats:before { - content: "\f130"; -} - -div#community-profile-page li.bp-friends-profile-stats:before { - content: "\f454"; -} - -div#community-profile-page li.bp-groups-profile-stats:before { - content: "\f456"; -} - -div#community-profile-page li.bp-blogs-profile-stats:before { - content: "\f120"; -} - -div#community-profile-page a.bp-xprofile-avatar-user-admin:before { - content: "\f182"; -} - -div#community-profile-page a.bp-xprofile-avatar-user-edit:before { - content: "\f107"; -} - -div#community-profile-page div#bp_xprofile_user_admin_avatar div.avatar { - width: 150px; - margin: 0 auto; -} - -div#community-profile-page div#bp_xprofile_user_admin_avatar div.avatar img { - max-width: 100%; - height: auto; -} - -div#community-profile-page div#bp_xprofile_user_admin_avatar a { - display: block; - margin: 1em 0; -} - -div#community-profile-page p.not-activated { - margin: 1em 1em 0; - color: #f00; -} - -#community-profile-page #submitdiv #publishing-action { - float: none; - width: 100%; -} - -.bp-view-profile { - float: right; -} - -.alt { - background: none; -} - -.bp-profile-field { - border-bottom: dotted 1px #ccc; - font-size: 14px; - margin: 15px 0; - padding: 10px; -} - -.bp-profile-field:last-child { - border-bottom: 0; -} - -.bp-profile-field p { - font-size: 14px; -} - -.field_type_textarea legend, -.field_type_multiselectbox legend, -.field_type_radio .radio legend, -.field_type_checkbox .checkbox legend { /* these fields are usually pretty tall, so align the label for better consistency */ - vertical-align: top; -} - -.bp-profile-field .description { /* description also sits in the right side column */ - margin: 10px 200px 12px 0; - text-align: right; -} - -.bp-profile-field .wp-editor-wrap { - margin-right: 200px; -} - -.field_type_checkbox .description, -.field_type_datebox .description, -.field_type_radio .description { - margin-top: 0; -} - -.clear-value { /* 'clear value' option also sits in the right side column */ - display: block; - font-size: 12px; - margin-right: 200px; -} - -/* force checkboxes to new lines, in the right side column */ -.field_type_checkbox label, -.field_type_radio label { - display: block; - margin-bottom: 1em; - margin-right: 200px; - width: auto; -} - -.field_type_datebox select:nth-of-type(1) { - margin-right: 200px; -} - -.field_type_radio .radio .input-options label, -.field_type_checkbox .checkbox .input-options label { - - /* force checkboxes and radio buttons to new lines */ - display: block; -} - -.field_type_checkbox .checkbox .input-options, -.field_type_datebox .datebox .input-options, -.field_type_radio .radio .input-options { - - /* make the checkboxes, select menus, and radio buttons sit in the - right side column */ - display: inline-block; -} - -.field-visibility-settings-notoggle, -.field-visibility-settings-toggle { /* visibility settings go in the left column */ - margin: 10px 200px 10px 0; - text-align: right; -} - -.field-visibility-settings { /* visibility settings go in the left column */ - display: none; - margin-right: 200px; -} - -.field-visibility-settings .button { /* visibility setting close button */ - margin-bottom: 15px; -} - -.field-visibility-settings label { - clear: right; - display: block; - margin-bottom: 1em; -} - -#normal-sortables .field-visibility-settings legend { /* id required for css selector weight */ - font-size: 14px; - font-weight: 600; -} - -#your-profile .bp-profile-field legend { - float: right; /* Firefox will not apply display: inline-block to legends */ - font-size: 14px; - font-weight: 600; - line-height: 1.4; - margin-bottom: 1em; - text-align: right; - vertical-align: middle; - width: 192px; -} - -.bp-profile-field .radio .clear-value { - margin-top: 10px; -} - -@media screen and (max-width: 782px) { - - #your-profile .bp-profile-field legend { - float: none; - clear: right; - display: block; - margin-bottom: 12px; - } - - #your-profile .field_type_multiselectbox select { - height: auto; - } - - .field_type_checkbox label, - .field_type_radio label { - margin-right: 0; - } - - .bp-profile-field .checkbox input[type="checkbox"], - .bp-profile-field .radio input[type="radio"] { - vertical-align: top; - } - - .bp-profile-field .clear-value, - .bp-profile-field .description, - .bp-profile-field input[type="checkbox"], - .bp-profile-field input[type="email"], - .bp-profile-field input[type="number"], - .bp-profile-field input[type="radio"], - .bp-profile-field input[type="text"], - .bp-profile-field input[type="url"], - .bp-profile-field select:nth-of-type(1), - .bp-profile-field .wp-editor-wrap, - .field-visibility-settings-notoggle, - .field-visibility-settings-toggle { - clear: right; - margin-right: 50px; - } - - .field-visibility-settings { - margin-right: 100px; - } - - #your-profile .field_multiselectbox select { - height: auto; - } -} - -@media screen and (max-width: 480px) { - - .bp-profile-field .clear-value, - .bp-profile-field .description, - .bp-profile-field input[type="checkbox"], - .bp-profile-field input[type="email"], - .bp-profile-field input[type="number"], - .bp-profile-field input[type="radio"], - .bp-profile-field input[type="text"], - .bp-profile-field input[type="url"], - .bp-profile-field select:nth-of-type(1), - .bp-profile-field .wp-editor-wrap, - .field-visibility-settings-notoggle, - .field-visibility-settings-toggle { - margin-right: 0; - } - - .field-visibility-settings { - margin-right: 50px; - } -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/019/019.test.js b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/019/019.test.js deleted file mode 100644 index 207ab29ea26d33..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/019/019.test.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -const stylelint = require( 'stylelint' ), - systemTestUtils = require( '../systemTestUtils.js' ); - -it( '019', () => { - return stylelint.lint({ - files: [systemTestUtils.caseStylesheetGlob( '019' )], - configFile: systemTestUtils.caseConfig( '019' ), - }).then( ({ results }) => { - expect( systemTestUtils.prepResults( results ) ).toMatchSnapshot(); - }); -}); diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/019/__snapshots__/019.test.js.snap b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/019/__snapshots__/019.test.js.snap deleted file mode 100644 index c89ea75dd03b57..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/019/__snapshots__/019.test.js.snap +++ /dev/null @@ -1,15 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`019 1`] = ` -Array [ - Object { - "deprecations": Array [], - "errored": undefined, - "ignored": undefined, - "invalidOptionWarnings": Array [], - "parseErrors": Array [], - "source": "019/stylesheet.css", - "warnings": Array [], - }, -] -`; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/019/config.json b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/019/config.json deleted file mode 100644 index a8af7d5dcb61b9..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/019/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../index.js" -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/019/stylesheet.css b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/019/stylesheet.css deleted file mode 100644 index 6a9b294876c3de..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/019/stylesheet.css +++ /dev/null @@ -1,86 +0,0 @@ -.ac_results { - padding: 0; - overflow: hidden; - z-index: 99999; - background: #fff; - border: 1px solid #ccc; - -moz-border-radius-bottomright: 3px; - -khtml-border-bottom-right-radius: 3px; - -webkit-border-bottom-right-radius: 3px; - border-bottom-right-radius: 3px; - -moz-border-radius-bottomleft: 3px; - -khtml-border-bottom-left-radius: 3px; - -webkit-border-bottom-left-radius: 3px; - border-bottom-left-radius: 3px; -} - -.ac_results ul { - width: 100%; - list-style: none; - list-style-position: outside; - padding: 0; - margin: 0; -} - -.ac_results li { - margin: 0; - padding: 5px 10px; - cursor: pointer; - display: block; - font-size: 1em; - line-height: 16px; - overflow: hidden; -} - -.ac_results li img { - margin-left: 5px; -} - -.ac_odd { - background-color: #f0f0f0; -} - -.ac_over { - background-color: #888; - color: #fff; -} - -ul.acfb-holder { - margin: 0; - height: auto !important; - height: 1%; - overflow: hidden; - padding: 0; - list-style: none; -} - -ul.acfb-holder li { - float: right; - margin: 0 0 4px 5px; - list-style-type: none; -} - -ul.acfb-holder li.friend-tab { - border-radius: 3px; - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - border: 1px solid #ffe7c7; - padding: 2px 7px; - background: #fff9df; - font-size: 1em; -} - -li.friend-tab img.avatar { - border-width: 2px !important; - vertical-align: middle; -} - -li.friend-tab span.p { - padding-right: 5px; - font-size: 0.8em; - cursor: pointer; -} - -input#send-to-input { - width: 275px; -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/020/020.test.js b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/020/020.test.js deleted file mode 100644 index 04f682d84a602a..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/020/020.test.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -const stylelint = require( 'stylelint' ), - systemTestUtils = require( '../systemTestUtils.js' ); - -it( '020', () => { - return stylelint.lint({ - files: [systemTestUtils.caseStylesheetGlob( '020' )], - configFile: systemTestUtils.caseConfig( '020' ), - }).then( ({ results }) => { - expect( systemTestUtils.prepResults( results ) ).toMatchSnapshot(); - }); -}); diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/020/__snapshots__/020.test.js.snap b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/020/__snapshots__/020.test.js.snap deleted file mode 100644 index bd516e6482be63..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/020/__snapshots__/020.test.js.snap +++ /dev/null @@ -1,15 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`020 1`] = ` -Array [ - Object { - "deprecations": Array [], - "errored": undefined, - "ignored": undefined, - "invalidOptionWarnings": Array [], - "parseErrors": Array [], - "source": "020/stylesheet.css", - "warnings": Array [], - }, -] -`; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/020/config.json b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/020/config.json deleted file mode 100644 index a8af7d5dcb61b9..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/020/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../index.js" -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/020/stylesheet.css b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/020/stylesheet.css deleted file mode 100644 index 62181ed0b76ddc..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/020/stylesheet.css +++ /dev/null @@ -1,2296 +0,0 @@ -/*-------------------------------------------------------------- -Hello, this is the BuddyPress Legacy stylesheet. - ----------------------------------------------------------------- ->>> TABLE OF CONTENTS: ----------------------------------------------------------------- -1.0 - Navigation - 1.1 - Pagination -2.0 - WordPress - 2.1 - Images -3.0 - BuddyPress - 3.1 - Activity - 3.1.1 - Activity Listing - 3.1.2 - Activity Comments - 3.2 - Toolbar - 3.3 - Directories - Members, Groups, Blogs, Forums - 3.4 - Error / Success Messages - 3.5 - Forms - 3.6 - Ajax Loading - 3.7 - Topics and Tables - Forums and General - 3.8 - Headers, Lists and Tabs - Activity, Groups, Blogs, Forums - 3.8.1 - Cover Image - 3.9 - Private Messaging Threads - 3.10 - Extended Profiles - 3.11 - Widgets - 3.12 - Tooltips -4.0 - Media Queries - 4.1 - Smartphones Landscape - 4.2 - Smartphones Portrait - 4.3 - Smartphones - smaller screen sizes ---------------------------------------------------------------*/ - -/*-------------------------------------------------------------- -1 - Navigation ---------------------------------------------------------------*/ - -/*-------------------------------------------------------------- -1.1 - Pagination ---------------------------------------------------------------*/ -#buddypress div.pagination { - background: transparent; - border: none; - color: #767676; - font-size: small; - margin: 0; - position: relative; - display: block; - float: right; - width: 100%; - padding: 10px 0; -} - -#buddypress div.pagination .pag-count { - float: right; - margin-right: 10px; -} - -#buddypress div.pagination .pagination-links { - float: left; - margin-left: 10px; -} - -#buddypress div.pagination .pagination-links span, -#buddypress div.pagination .pagination-links a { - font-size: 90%; - padding: 0 5px; -} - -#buddypress div.pagination .pagination-links a:hover { - font-weight: 700; -} - -#buddypress noscript div.pagination { - margin-bottom: 15px; -} - -#buddypress #nav-above { - display: none; -} - -#buddypress .paged #nav-above { - display: block; -} - -/*-------------------------------------------------------------- -2 - WordPress ---------------------------------------------------------------*/ - -/*-------------------------------------------------------------- -2.1 - Images ---------------------------------------------------------------*/ -#buddypress img.wp-smiley { - border: none !important; - clear: none !important; - float: none !important; - margin: 0 !important; - padding: 0 !important; -} - -#buddypress .clear { - clear: right; -} - -/*-------------------------------------------------------------- -3.0 - BuddyPress ---------------------------------------------------------------*/ - -/*-------------------------------------------------------------- -3.1 - Activity ---------------------------------------------------------------*/ -#buddypress #activity-stream { - margin-top: -5px; -} - -#buddypress #activity-stream p { - margin: 5px 0; -} - -#buddypress #item-body form#whats-new-form { - margin: 0; - padding: 0; -} - -#buddypress .home-page form#whats-new-form { - border-bottom: none; - padding-bottom: 0; -} - -#buddypress form#whats-new-form #whats-new-avatar { - float: right; -} - -#buddypress form#whats-new-form #whats-new-content { - margin-right: 55px; - padding: 0 20px 20px 0; -} - -#buddypress form#whats-new-form p.activity-greeting { - line-height: 0.5; - margin-bottom: 15px; - margin-right: 75px; -} - -#buddypress form#whats-new-form textarea { - background: #fff; - box-sizing: border-box; - color: #555; - font-family: inherit; - font-size: medium; - height: 2.2em; - line-height: 1.4; - padding: 6px; - width: 100%; -} - -body.no-js #buddypress form#whats-new-form textarea { - height: 50px; -} - -#buddypress form#whats-new-form #whats-new-options select { - max-width: 200px; - margin-top: 12px; -} - -#buddypress form#whats-new-form #whats-new-submit { - float: left; - margin-top: 12px; -} - -#buddypress #whats-new-options:after { - clear: both; - content: ""; - display: table; -} - -body.no-js #buddypress #whats-new-options { - height: auto; -} - -#buddypress #whats-new:focus { - border-color: rgba(31, 179, 221, 0.9) !important; - outline-color: rgba(31, 179, 221, 0.9); -} - -/*-------------------------------------------------------------- -3.1.1 - Activity Listing ---------------------------------------------------------------*/ -#buddypress ul.activity-list li { - overflow: hidden; - padding: 15px 0 0; - list-style: none; -} - -#buddypress .activity-list .activity-avatar { - float: right; -} - -#buddypress ul.item-list.activity-list li.has-comments { - padding-bottom: 15px; -} - -body.activity-permalink #buddypress ul.activity-list li.has-comments { - padding-bottom: 0; -} - -#buddypress .activity-list li.mini { - font-size: 80%; - position: relative; -} - -#buddypress .activity-list li.mini .activity-avatar img.avatar, -#buddypress .activity-list li.mini .activity-avatar img.FB_profile_pic { /* stylelint-disable-line selector-class-pattern */ - height: 20px; - margin-right: 30px; - width: 20px; -} - -#buddypress .activity-permalink .activity-list li.mini .activity-avatar img.avatar, -#buddypress .activity-permalink .activity-list li.mini .activity-avatar img.FB_profile_pic { /* stylelint-disable-line selector-class-pattern */ - height: auto; - margin-right: 0; - width: auto; -} - -body.activity-permalink #buddypress .activity-list > li:first-child { - padding-top: 0; -} - -#buddypress .activity-list li .activity-content { - position: relative; -} - -#buddypress .activity-list li.mini .activity-content p { - margin: 0; -} - -#buddypress .activity-list li.mini .activity-comments { - clear: both; - font-size: 120%; -} - -body.activity-permalink #buddypress li.mini .activity-meta { - margin-top: 4px; -} - -#buddypress .activity-list li .activity-inreplyto { - color: #767676; - font-size: 80%; -} - -#buddypress .activity-list li .activity-inreplyto > p { - margin: 0; - display: inline; -} - -#buddypress .activity-list li .activity-inreplyto blockquote, -#buddypress .activity-list li .activity-inreplyto div.activity-inner { - background: none; - border: none; - display: inline; - margin: 0; - overflow: hidden; - padding: 0; -} - -#buddypress .activity-list .activity-content { - margin: 0 70px 0 0; -} - -body.activity-permalink #buddypress .activity-list li .activity-content { - border: none; - font-size: 100%; - line-height: 1.5; - margin-right: 170px; - margin-left: 0; - padding: 0; -} - -body.activity-permalink #buddypress .activity-list li .activity-header > p { - margin: 0; - padding: 5px 0 0; -} - -#buddypress .activity-list .activity-content .activity-header, -#buddypress .activity-list .activity-content .comment-header { - color: #767676; - line-height: 2.2; -} - -#buddypress .activity-header { - margin-left: 20px; -} - -#buddypress .activity-header a, -#buddypress .comment-meta a, -#buddypress .acomment-meta a { - text-decoration: none; -} - -#buddypress .activity-list .activity-content .activity-header img.avatar { - float: none !important; - margin: 0 0 -8px 5px !important; -} - -#buddypress a.bp-secondary-action, -#buddypress span.highlight { - font-size: 80%; - padding: 0; - margin-left: 5px; - text-decoration: none; -} - -#buddypress .activity-list .activity-content .activity-inner, -#buddypress .activity-list .activity-content blockquote { - margin: 10px 0 5px 10px; - overflow: hidden; -} - -#buddypress .activity-list li.new_forum_post .activity-content .activity-inner, -#buddypress .activity-list li.new_forum_topic .activity-content .activity-inner { - border-right: 2px solid #eaeaea; - margin-right: 5px; - padding-right: 10px; -} - -body.activity-permalink #buddypress .activity-content .activity-inner, -body.activity-permalink #buddypress .activity-content blockquote { - margin-right: 0; - margin-top: 5px; -} - -#buddypress .activity-inner > p { - word-wrap: break-word; -} - -#buddypress .activity-inner > .activity-inner { - margin: 0; -} - -#buddypress .activity-inner > blockquote { - margin: 0; -} - -#buddypress .activity-list .activity-content img.thumbnail { - border: 2px solid #eee; - float: right; - margin: 0 0 5px 10px; -} - -#buddypress .activity-read-more { - margin-right: 1em; - white-space: nowrap; -} - -#buddypress .activity-list li.load-more, -#buddypress .activity-list li.load-newest { - background: #f0f0f0; - font-size: 110%; - margin: 15px 0; - padding: 10px 15px; - text-align: center; -} - -#buddypress .activity-list li.load-more a, -#buddypress .activity-list li.load-newest a { - color: #4d4d4d; -} - - -/*-------------------------------------------------------------- -3.1.2 - Activity Comments ---------------------------------------------------------------*/ -#buddypress div.activity-meta { - margin: 18px 0 0; -} - -body.activity-permalink #buddypress div.activity-meta { - margin-bottom: 6px; -} - -#buddypress div.activity-meta a { - padding: 4px 8px; -} - -#buddypress a.activity-time-since { - color: #767676; - text-decoration: none; -} - -#buddypress a.activity-time-since:hover { - color: #767676; - text-decoration: underline; -} - -#buddypress a.bp-primary-action, -#buddypress #reply-title small a { - font-size: 80%; - margin-left: 5px; - text-decoration: none; -} - -#buddypress a.bp-primary-action span, -#buddypress #reply-title small a span { - background: #767676; - color: #fff; - font-size: 90%; - margin-right: 2px; - padding: 0 5px; -} - -#buddypress a.bp-primary-action:hover span, -#buddypress #reply-title small a:hover span { - background: #555; - color: #fff; -} - -#buddypress div.activity-comments { - margin: 0 70px 0 0; - overflow: hidden; /* IE fix */ - position: relative; - width: auto; - clear: both; -} - -body.activity-permalink #buddypress div.activity-comments { - background: none; - margin-right: 170px; - width: auto; -} - -#buddypress div.activity-comments > ul { - padding: 0 10px 0 0; -} - -#buddypress div.activity-comments ul, -#buddypress div.activity-comments ul li { - border: none; - list-style: none; -} - -#buddypress div.activity-comments ul { - clear: both; - margin: 0; -} - -#buddypress div.activity-comments ul li { - border-top: 1px solid #eee; - padding: 10px 0 0; -} - -body.activity-permalink #buddypress .activity-list li.mini .activity-comments { - clear: none; - margin-top: 0; -} - -body.activity-permalink #buddypress div.activity-comments ul li { - border-width: 1px; - padding: 10px 0 0; -} - -#buddypress div.activity-comments > ul > li:first-child { - border-top: none; -} - -#buddypress div.activity-comments ul li:last-child { - margin-bottom: 0; -} - -#buddypress div.activity-comments ul li > ul { - margin-right: 30px; - margin-top: 0; - padding-right: 10px; -} - -body.activity-permalink #buddypress div.activity-comments ul li > ul { - margin-top: 10px; -} - -body.activity-permalink #buddypress div.activity-comments > ul { - padding: 0 15px 0 10px; -} - -#buddypress div.activity-comments div.acomment-avatar img { - border-width: 1px; - float: right; - height: 25px; - margin-left: 10px; - width: 25px; -} - -#buddypress div.activity-comments div.acomment-content { - font-size: 80%; - margin: 5px 40px 0 0; -} - -#buddypress div.acomment-content .time-since, -#buddypress div.acomment-content .activity-delete-link, -#buddypress div.acomment-content .comment-header { - display: none; -} - -body.activity-permalink #buddypress div.activity-comments div.acomment-content { - font-size: 90%; -} - -#buddypress div.activity-comments div.acomment-meta { - color: #767676; - font-size: 80%; -} - -#buddypress div.activity-comments form.ac-form { - display: none; - padding: 10px; -} - -#buddypress div.activity-comments li form.ac-form { - margin-left: 15px; - clear: both; -} - -#buddypress div.activity-comments form.root { - margin-right: 0; -} - -#buddypress div.activity-comments div#message { - margin-top: 15px; - margin-bottom: 0; -} - -#buddypress div.activity-comments form .ac-textarea { - background: #fff; - border: 1px inset #ccc; - margin-bottom: 10px; - padding: 8px; -} - -#buddypress div.activity-comments form textarea { - border: none; - background: transparent; - box-shadow: none; - outline: none; - color: #555; - font-family: inherit; - font-size: 100%; - height: 60px; - padding: 0; - margin: 0; - width: 100%; -} - -#buddypress div.activity-comments form input { - margin-top: 5px; -} - -#buddypress div.activity-comments form div.ac-reply-avatar { - float: right; -} - -#buddypress div.ac-reply-avatar img { - border: 1px solid #eee; -} - -#buddypress div.activity-comments form div.ac-reply-content { - color: #767676; - margin-right: 50px; - padding-right: 15px; -} - -#buddypress div.activity-comments form div.ac-reply-content a { - text-decoration: none; -} - -#buddypress .acomment-options { - float: right; - margin: 5px 40px 5px 0; -} - -#buddypress .acomment-options a { - color: #767676; -} - -#buddypress .acomment-options a:hover { - color: inherit; -} - -/*-------------------------------------------------------------- -3.3 - Directories - Members, Groups, Blogs, Forums ---------------------------------------------------------------*/ -#buddypress div.dir-search { - float: left; - margin: -39px 0 0 0; -} - -#buddypress div.dir-search input[type="text"], -#buddypress li.groups-members-search input[type="text"] { - font-size: 90%; - padding: 1px 3px; -} - -#buddypress .current-member-type { - font-style: italic; -} - -#buddypress .dir-form { - clear: both; -} - -/*-------------------------------------------------------------- -3.4 - Errors / Success Messages ---------------------------------------------------------------*/ -#buddypress div#message { - margin: 0 0 15px; -} - -#buddypress #message.info { - margin-bottom: 0; -} - -#buddypress div#message.updated { - clear: both; - display: block; -} - -#buddypress div#message p, -#sitewide-notice p { - font-size: 90%; - display: block; - padding: 10px 15px; -} - -#buddypress div#message.error p { - background-color: #fdc; - border: 1px solid #a00; - clear: right; - color: #800; -} - -#buddypress div#message.warning p { - background-color: #ffe0af; - border: 1px solid #ffd087; - clear: right; - color: #800; -} - -#buddypress div#message.updated p { - background-color: #efc; - border: 1px solid #591; - color: #250; -} - -#buddypress #pass-strength-result { - background-color: #eee; - border-color: #ddd; - border-style: solid; - border-width: 1px; - display: none; - margin: 5px 0 5px 5px; - padding: 5px; - text-align: center; - width: 150px; -} - -#buddypress .standard-form #basic-details-section #pass-strength-result { - width: 35%; -} - -#buddypress #pass-strength-result.error, -#buddypress #pass-strength-result.bad { - background-color: #ffb78c; - border-color: #ff853c !important; - display: block; -} - -#buddypress #pass-strength-result.good { - background-color: #ffec8b; - border-color: #fc0 !important; - display: block; -} - -#buddypress #pass-strength-result.short { - background-color: #ffa0a0; - border-color: #f04040 !important; - display: block; -} - -#buddypress #pass-strength-result.strong { - background-color: #c3ff88; - border-color: #8dff1c !important; - display: block; -} - -#buddypress .standard-form#signup_form div div.error { - background: #faa; - color: #a00; - margin: 0 0 10px; - padding: 6px; - width: 90%; -} - -#buddypress div.accept, -#buddypress div.reject { - float: right; - margin-right: 10px; -} - -#buddypress ul.button-nav li { - float: right; - margin: 0 0 10px 10px; - list-style: none; -} - -#buddypress ul.button-nav li.current a { - font-weight: 700; -} - -#sitewide-notice #message { - right: 2%; - position: fixed; - top: 1em; - width: 96%; - z-index: 9999; -} - -#sitewide-notice.admin-bar-on #message { - top: 3.3em; -} - -#sitewide-notice strong { - display: block; - margin-bottom: -1em; -} - -/*-------------------------------------------------------------- -3.5 - Forms ---------------------------------------------------------------*/ - -#buddypress form fieldset { - border: 0; - padding: 0; -} - -#buddypress .standard-form textarea, -#buddypress .standard-form input[type="text"], -#buddypress .standard-form input[type="color"], -#buddypress .standard-form input[type="date"], -#buddypress .standard-form input[type="datetime"], -#buddypress .standard-form input[type="datetime-local"], -#buddypress .standard-form input[type="email"], -#buddypress .standard-form input[type="month"], -#buddypress .standard-form input[type="number"], -#buddypress .standard-form input[type="range"], -#buddypress .standard-form input[type="search"], -#buddypress .standard-form input[type="tel"], -#buddypress .standard-form input[type="time"], -#buddypress .standard-form input[type="url"], -#buddypress .standard-form input[type="week"], -#buddypress .standard-form select, -#buddypress .standard-form input[type="password"], -#buddypress .dir-search input[type="search"], -#buddypress .dir-search input[type="text"], -#buddypress .groups-members-search input[type="search"], -#buddypress .groups-members-search input[type="text"] { - border: 1px solid #ccc; - background: #fafafa; - border-radius: 0; - color: #737373; - font: inherit; - font-size: 100%; - padding: 6px; -} - -#buddypress .standard-form select { - padding: 3px; -} - -#buddypress .standard-form input[type="password"] { - margin-bottom: 5px; -} - -#buddypress .standard-form label, -#buddypress .standard-form span.label, -#buddypress .standard-form legend { - display: block; - font-weight: 700; - margin: 15px 0 5px; - width: auto; -} - -#buddypress .standard-form p label, -#buddypress .standard-form #invite-list label { - font-weight: 400; - margin: auto; -} - -#buddypress .standard-form .checkbox label, -#buddypress .standard-form .radio label { - color: #767676; - font-size: 100%; - font-weight: 400; - margin: 5px 0 0; -} - -#buddypress .standard-form .checkbox label input, -#buddypress .standard-form .radio label input { - margin-left: 3px; -} - -#buddypress .standard-form#sidebar-login-form label { - margin-top: 5px; -} - -#buddypress .standard-form input[type="text"] { - width: 75%; -} - -#buddypress .standard-form#sidebar-login-form input[type="text"], -#buddypress .standard-form#sidebar-login-form input[type="password"] { - padding: 4px; - width: 95%; -} - -#buddypress .standard-form #basic-details-section input[type="password"], -#buddypress .standard-form #blog-details-section input#signup_blog_url { - width: 35%; -} - -#buddypress .standard-form#signup_form input[type="text"], -#buddypress .standard-form#signup_form textarea, -#buddypress .form-allowed-tags, -#buddypress #commentform input[type="text"], -#buddypress #commentform textarea { - width: 90%; -} - -#buddypress .standard-form#signup_form div.submit { - float: left; -} - -#buddypress div#signup-avatar img { - margin: 0 0 10px 15px; -} - -#buddypress .standard-form textarea { - width: 75%; - height: 120px; -} - -#buddypress .standard-form textarea#message_content { - height: 200px; -} - -#buddypress .standard-form#send-reply textarea { - width: 97.5%; -} - -#buddypress .standard-form p.description { - color: #767676; - font-size: 80%; - margin: 5px 0; -} - -#buddypress .standard-form div.submit { - clear: both; - padding: 15px 0 0; -} - -#buddypress .standard-form p.submit { - margin-bottom: 0; - padding: 15px 0 0; -} - -#buddypress .standard-form div.submit input { - margin-left: 15px; -} - -#buddypress .standard-form div.radio ul { - margin: 10px 38px 15px 0; - list-style: disc; -} - -#buddypress .standard-form div.radio ul li { - margin-bottom: 5px; -} - -#buddypress .standard-form a.clear-value { - display: block; - margin-top: 5px; - outline: none; -} - -#buddypress .standard-form #basic-details-section, -#buddypress .standard-form #blog-details-section, -#buddypress .standard-form #profile-details-section { - float: right; - width: 48%; -} - -#buddypress .standard-form #profile-details-section { - float: left; -} - -#buddypress .standard-form #blog-details-section, -#buddypress #notifications-bulk-management { - clear: right; -} - -body.no-js #buddypress #notifications-bulk-management #select-all-notifications, -body.no-js #buddypress label[for="message-type-select"], -body.no-js #buddypress #message-type-select, -body.no-js #buddypress #delete_inbox_messages, -body.no-js #buddypress #delete_sentbox_messages, -body.no-js #buddypress #messages-bulk-management #select-all-messages { - display: none; -} - -#buddypress .standard-form input:focus, -#buddypress .standard-form textarea:focus, -#buddypress .standard-form select:focus { - background: #fafafa; - color: #555; -} - -#buddypress form#send-invite-form { - margin-top: 20px; -} - -#buddypress div#invite-list { - background: #f5f5f5; - height: 400px; - margin: 0 0 10px; - overflow: auto; - padding: 5px; - width: 160px; -} - -#buddypress .standard-form button, -#buddypress a.button, -#buddypress input[type="submit"], -#buddypress input[type="button"], -#buddypress input[type="reset"], -#buddypress ul.button-nav li a, -#buddypress .generic-button a, -#buddypress .comment-reply-link, -a.bp-title-button { - background: #fff; /* Old browsers */ - border: 1px solid #ccc; - color: #767676; - font-size: small; - cursor: pointer; - outline: none; - padding: 4px 10px; - text-align: center; - text-decoration: none; -} - -#buddypress .standard-form button:hover, -#buddypress a.button:hover, -#buddypress a.button:focus, -#buddypress input[type="submit"]:hover, -#buddypress input[type="button"]:hover, -#buddypress input[type="reset"]:hover, -#buddypress ul.button-nav li a:hover, -#buddypress ul.button-nav li.current a, -#buddypress div.generic-button a:hover, -#buddypress .comment-reply-link:hover { - background: #ededed; - border: 1px solid #bbb; - color: #555; - outline: none; - text-decoration: none; -} - -#buddypress form.standard-form .left-menu { - float: right; -} - -#buddypress form.standard-form .left-menu #invite-list ul { - margin: 1%; - list-style: none; -} - -#buddypress form.standard-form .left-menu #invite-list ul li { - margin: 0 1% 0 0; -} - -#buddypress form.standard-form .main-column { - margin-right: 190px; -} - -#buddypress form.standard-form .main-column ul#friend-list { - clear: none; - float: right; -} - -#buddypress form.standard-form .main-column ul#friend-list h3, -#buddypress form.standard-form .main-column ul#friend-list h4 { - clear: none; -} - -/* Overrides for embedded WP editors */ -#buddypress .wp-editor-wrap a.button, -#buddypress .wp-editor-wrap button, -#buddypress .wp-editor-wrap input[type="submit"], -#buddypress .wp-editor-wrap input[type="button"], -#buddypress .wp-editor-wrap input[type="reset"] { - padding: 0 8px 1px; -} - -/* Form classes & generic attr styling */ -#buddypress form *[disabled="disabled"] { - cursor: default; - opacity: 0.4; -} - -fieldset.register-site { - margin-top: 1em; -} - -fieldset.create-site { - margin-bottom: 2em; -} - -fieldset.create-site legend { - margin-bottom: 1em; -} - -fieldset.create-site label { - margin-left: 3em; -} - -.bp-screen-reader-text { - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - overflow: hidden; - position: absolute !important; - width: 1px; - word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */ -} - -.bp-screen-reader-text:focus { - background-color: #f1f1f1; - -webkit-border-radius: 3px; - border-radius: 3px; - -webkit-box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); - box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); - clip: auto !important; - color: #21759b; - display: block; - font-size: 14px; - font-size: 0.875rem; - font-weight: 700; - height: auto; - right: 5px; - line-height: normal; - padding: 15px 23px 14px; - text-decoration: none; - top: 5px; - width: auto; - z-index: 100000; /* Above WP toolbar. */ -} - -/*-------------------------------------------------------------- -3.6 - Ajax Loading ---------------------------------------------------------------*/ -#buddypress a.loading, -#buddypress input.loading { - -webkit-animation: loader-pulsate 0.5s infinite ease-in-out alternate; - -moz-animation: loader-pulsate 0.5s infinite ease-in-out alternate; - border-color: #aaa; -} - -@-webkit-keyframes loader-pulsate { - - from { - border-color: #aaa; - -webkit-box-shadow: 0 0 6px #ccc; - box-shadow: 0 0 6px #ccc; - } - - to { - border-color: #ccc; - -webkit-box-shadow: 0 0 6px #f8f8f8; - box-shadow: 0 0 6px #f8f8f8; - } -} - -@-moz-keyframes loader-pulsate { - - from { - border-color: #aaa; - -moz-box-shadow: 0 0 6px #ccc; - box-shadow: 0 0 6px #ccc; - } - - to { - border-color: #ccc; - -moz-box-shadow: 0 0 6px #f8f8f8; - box-shadow: 0 0 6px #f8f8f8; - } -} - -#buddypress a.loading:hover, -#buddypress input.loading:hover { - color: #767676; -} - -#buddypress input[type="submit"].pending, -#buddypress input[type="button"].pending, -#buddypress input[type="reset"].pending, -#buddypress input[type="submit"].disabled, -#buddypress input[type="button"].disabled, -#buddypress input[type="reset"].disabled, -#buddypress input[type="submit"][disabled="disabled"], -#buddypress button.pending, -#buddypress button.disabled, -#buddypress div.pending a, -#buddypress a.disabled { - border-color: #eee; - color: #bbb; - cursor: default; -} - -#buddypress input[type="submit"]:hover.pending, -#buddypress input[type="button"]:hover.pending, -#buddypress input[type="reset"]:hover.pending, -#buddypress input[type="submit"]:hover.disabled, -#buddypress input[type="button"]:hover.disabled, -#buddypress input[type="reset"]:hover.disabled, -#buddypress button.pending:hover, -#buddypress button.disabled:hover, -#buddypress div.pending a:hover, -#buddypress a.disabled:hover { - border-color: #eee; - color: #bbb; -} - -/*-------------------------------------------------------------- -3.7 - Forums, Tables and Topics ---------------------------------------------------------------*/ -#buddypress ul#topic-post-list { - margin: 0; - width: auto; -} - -#buddypress ul#topic-post-list li { - padding: 15px; - position: relative; -} - -#buddypress ul#topic-post-list li.alt { - background: #f5f5f5; -} - -#buddypress ul#topic-post-list li div.poster-meta { - color: #767676; - margin-bottom: 10px; -} - -#buddypress ul#topic-post-list li div.post-content { - margin-right: 54px; -} - -#buddypress div.topic-tags { - font-size: 80%; -} - -#buddypress div.admin-links { - color: #767676; - font-size: 80%; - position: absolute; - top: 15px; - left: 25px; -} - -#buddypress div#topic-meta { - margin: 0; - padding: 5px 19px 30px; - position: relative; -} - -#buddypress div#topic-meta div.admin-links { - left: 19px; - top: -36px; -} - -#buddypress div#topic-meta h3 { - margin: 5px 0; -} - -#buddypress div#new-topic-post { - display: none; - margin: 20px 0 0; - padding: 1px 0 0; -} - -#buddypress table.notifications, -#buddypress table.notifications-settings, -#buddypress table.profile-settings, -#buddypress table.profile-fields, -#buddypress table.wp-profile-fields, -#buddypress table.messages-notices, -#buddypress table.forum { - width: 100%; -} - -#buddypress table.notifications thead tr, -#buddypress table.notifications-settings thead tr, -#buddypress table.profile-settings thead tr, -#buddypress table.profile-fields thead tr, -#buddypress table.wp-profile-fields thead tr, -#buddypress table.messages-notices thead tr, -#buddypress table.forum thead tr { - background: #eaeaea; -} - -#buddypress table#message-threads { - clear: both; -} - -#buddypress table.profile-fields { - margin-bottom: 20px; -} - -#buddypress table.profile-fields:last-child { - margin-bottom: 0; -} - -#buddypress table.profile-fields p { - margin: 0; -} - -#buddypress table.profile-fields p:last-child { - margin-top: 0; -} - -#buddypress table.notifications tr td, -#buddypress table.notifications-settings tr td, -#buddypress table.profile-settings tr td, -#buddypress table.profile-fields tr td, -#buddypress table.wp-profile-fields tr td, -#buddypress table.messages-notices tr td, -#buddypress table.forum tr td, -#buddypress table.notifications tr th, -#buddypress table.notifications-settings tr th, -#buddypress table.profile-fields tr th, -#buddypress table.wp-profile-fields tr th, -#buddypress table.messages-notices tr th, -#buddypress table.forum tr th { - padding: 8px; - vertical-align: middle; -} - -#buddypress table.notifications tr td.label, -#buddypress table.notifications-settings tr td.label, -#buddypress table.profile-fields tr td.label, -#buddypress table.wp-profile-fields tr td.label, -#buddypress table.messages-notices tr td.label, -#buddypress table.forum tr td.label { - border-left: 1px solid #eaeaea; - font-weight: 700; - width: 25%; -} - -#buddypress #message-threads .thread-info { - min-width: 40%; -} - -#buddypress table tr td.thread-info p { - margin: 0; -} - -#buddypress table tr td.thread-info p.thread-excerpt { - color: #767676; - font-size: 80%; - margin-top: 3px; -} - -#buddypress table.forum td { - text-align: center; -} - -#buddypress table.notifications tr.alt td, -#buddypress table.notifications-settings tr.alt td, -#buddypress table.profile-settings tr.alt td, -#buddypress table.profile-fields tr.alt td, -#buddypress table.wp-profile-fields tr.alt td, -#buddypress table.messages-notices tr.alt td, -#buddypress table.forum tr.alt td { - background: #f5f5f5; - color: #707070; -} - -#buddypress table.notification-settings { - margin-bottom: 20px; - text-align: right; -} - -#buddypress #groups-notification-settings { - margin-bottom: 0; -} - -#buddypress table.notifications th.icon, -#buddypress table.notifications td:first-child, -#buddypress table.notification-settings th.icon, -#buddypress table.notification-settings td:first-child { - display: none; -} - -#buddypress table.notification-settings th.title, -#buddypress table.profile-settings th.title { - width: 80%; -} - -#buddypress table.notification-settings .yes, -#buddypress table.notification-settings .no { - text-align: center; - width: 40px; -} - -#buddypress table.forum { - margin: 0; - width: auto; - clear: both; -} - -#buddypress table.forum tr.sticky td { - font-size: 110%; - background: #fff9db; - border-top: 1px solid #ffe8c4; - border-bottom: 1px solid #ffe8c4; -} - -#buddypress table.forum tr.closed td.td-title { - padding-right: 35px; -} - -#buddypress table.forum td p.topic-text { - color: #767676; - font-size: 100%; -} - -#buddypress table.forum tr > td:first-child, -#buddypress table.forum tr > th:first-child { - padding-right: 15px; -} - -#buddypress table.forum tr > td:last-child, -#buddypress table.forum tr > th:last-child { - padding-left: 15px; -} - -#buddypress table.forum tr th#th-title, -#buddypress table.forum tr th#th-poster, -#buddypress table.forum tr th#th-group, -#buddypress table.forum td.td-poster, -#buddypress table.forum td.td-group, -#buddypress table.forum td.td-title { - text-align: right; -} - -#buddypress table.forum tr td.td-title a.topic-title { - font-size: 110%; -} - -#buddypress table.forum td.td-freshness { - white-space: nowrap; -} - -#buddypress table.forum td.td-freshness span.time-since { - font-size: 80%; - color: #767676; -} - -#buddypress table.forum td img.avatar { - float: none; - margin: 0 0 -8px 5px; -} - -#buddypress table.forum td.td-poster, -#buddypress table.forum td.td-group { - min-width: 140px; -} - -#buddypress table.forum th#th-title { - width: 80%; -} - -#buddypress table.forum th#th-freshness { - width: 25%; -} - -#buddypress table.forum th#th-postcount { - width: 15%; -} - -#buddypress table.forum p.topic-meta { - font-size: 80%; - margin: 5px 0 0; -} - -/*------------------------------------------------------------------------- -3.8 - Headers, Lists and Tabs - Activity, Groups, Blogs, Forums, Profiles --------------------------------------------------------------------------*/ -#buddypress .item-body { - margin: 20px 0; -} - -#buddypress span.activity { - display: inline-block; - font-size: small; - padding: 0; -} - -#buddypress span.user-nicename { - color: #767676; - display: inline-block; - font-size: 120%; - font-weight: 700; -} - -#buddypress div#message p, -#sitewide-notice p { - background-color: #ffd; - border: 1px solid #cb2; - color: #440; - font-weight: 400; - margin-top: 3px; - text-decoration: none; -} - -.bp-site-wide-message #message p, -.admin-bar-on #message p { - padding-left: 25px; - position: relative; -} - -.bp-site-wide-message #message button, -.admin-bar-on #message button { - font-size: 0.8em; - padding: 2px 4px; - position: absolute; - left: 0; - top: 0; -} - -.admin-bar-on #message button { - left: 10px; - top: 7px; -} - -#buddypress #item-header:after { - clear: both; - content: ""; - display: table; -} - -#buddypress div#item-header div#item-header-content { - float: right; - margin-right: 0; -} - -#buddypress div#item-header h2 { - line-height: 1.2; - margin: 0 0 15px; -} - -#buddypress div#item-header h2 a { - color: #767676; - text-decoration: none; -} - -#buddypress div#item-header img.avatar { - float: right; - margin: 0 0 19px 15px; -} - -#buddypress div#item-header h2 { - margin-bottom: 5px; -} - -#buddypress div#item-header h2 span.highlight { - font-size: 60%; - font-weight: 400; - line-height: 1.7; - vertical-align: middle; - display: inline-block; -} - -#buddypress div#item-header h2 span.highlight span { - background: #a1dcfa; - color: #fff; - cursor: pointer; - font-weight: 700; - font-size: 80%; - margin-bottom: 2px; - padding: 1px 4px; - position: relative; - left: -2px; - top: -2px; - vertical-align: middle; -} - -#buddypress div#item-header div#item-meta { - font-size: 80%; - color: #767676; - overflow: hidden; - margin: 15px 0 5px; - padding-bottom: 10px; -} - -#buddypress div#item-header div#item-actions { - float: left; - margin: 0 15px 15px 0; - text-align: left; - width: 20%; -} - -#buddypress div#item-header div#item-actions h2, -#buddypress div#item-header div#item-actions h3 { - margin: 0 0 5px; -} - -#buddypress div#item-header div#item-actions a { - display: inline-block; -} - -#buddypress div#item-header ul { - margin-bottom: 15px; -} - -#buddypress div#item-header ul:after { - clear: both; - content: ""; - display: table; -} - -#buddypress div#item-header ul h5, -#buddypress div#item-header ul span, -#buddypress div#item-header ul hr { - display: none; -} - -#buddypress div#item-header ul li { - float: left; - list-style: none; -} - -#buddypress div#item-header ul img.avatar, -#buddypress div#item-header ul.avatars img.avatar { - height: 30px; - margin: 2px; - width: 30px; -} - -#buddypress div#item-header div.generic-button, -#buddypress div#item-header a.button { - float: right; - margin: 10px 0 0 10px; -} - -body.no-js #buddypress div#item-header .js-self-profile-button { - display: none; -} - -#buddypress div#item-header div#message.info { - line-height: 0.8; -} - -#buddypress ul.item-list { - border-top: 1px solid #eaeaea; - width: 100%; - list-style: none; - clear: both; - margin: 0; - padding: 0; -} - -body.activity-permalink #buddypress ul.item-list, -body.activity-permalink #buddypress ul.item-list li.activity-item { - border: none; -} - -#buddypress ul.item-list li { - border-bottom: 1px solid #eaeaea; - padding: 15px 0; - margin: 0; - position: relative; - list-style: none; -} - -#buddypress ul.single-line li { - border: none; -} - -#buddypress ul.item-list li img.avatar { - float: right; - margin: 0 0 0 10px; -} - -#buddypress ul.item-list li div.item-title, -#buddypress ul.item-list li h3, -#buddypress ul.item-list li h4 { - font-weight: 400; - font-size: 90%; - margin: 0; - width: 75%; -} - -#buddypress ul.item-list li div.item-title span { - color: #767676; - font-size: 80%; -} - -#buddypress ul.item-list li div.item-desc { - color: #767676; - font-size: 80%; - margin: 10px 60px 0 0; - width: 50%; -} - -#buddypress ul.item-list li.group-no-avatar div.item-desc { - margin-right: 0; -} - -#buddypress ul.item-list li div.action { - position: absolute; - top: 15px; - left: 0; - text-align: left; -} - -#buddypress ul.item-list li div.meta { - color: #767676; - font-size: 80%; - margin-top: 10px; -} - -#buddypress ul.item-list li h5 span.small { - float: left; - font-size: 80%; - font-weight: 400; -} - -#buddypress div.item-list-tabs { - background: transparent; - clear: right; - overflow: hidden; -} - -#buddypress div.item-list-tabs ul { - margin: 0; - padding: 0; -} - -#buddypress div.item-list-tabs ul li { - float: right; - margin: 0; - list-style: none; -} - -#buddypress div.item-list-tabs#subnav ul li { - margin-top: 0; -} - -#buddypress div.item-list-tabs ul li.last { - float: left; - margin: 7px 0 0; -} - -#buddypress div.item-list-tabs#subnav ul li.last { - margin-top: 4px; -} - -#buddypress div.item-list-tabs ul li.last select { - max-width: 185px; -} - -#buddypress div.item-list-tabs ul li a, -#buddypress div.item-list-tabs ul li span { - display: block; - padding: 5px 10px; - text-decoration: none; -} - -#buddypress div.item-list-tabs ul li a span { - background: #eee; - border-radius: 50%; - border: 1px solid #ccc; - color: #6c6c6c; - display: inline; - font-size: 70%; - margin-right: 2px; - padding: 3px 6px; - text-align: center; - vertical-align: middle; -} - -#buddypress div.item-list-tabs ul li.selected a, -#buddypress div.item-list-tabs ul li.current a { - background-color: #eee; - color: #555; - opacity: 0.9; - font-weight: 700; -} - -#buddypress div.item-list-tabs ul li.selected a span, -#buddypress div.item-list-tabs ul li.current a span, -#buddypress div.item-list-tabs ul li a:hover span { - background-color: #eee; -} - -#buddypress div.item-list-tabs ul li.selected a span, -#buddypress div.item-list-tabs ul li.current a span { - background-color: #fff; -} - -#buddypress div#item-nav ul li.loading a { - background-position: 12% 50%; -} - -#buddypress div.item-list-tabs#object-nav { - margin-top: 0; -} - -#buddypress div.item-list-tabs#subnav { - background: transparent; - margin: 10px 0; - overflow: hidden; -} - -#buddypress #admins-list li, -#buddypress #mods-list li, -#buddypress #members-list li { - overflow: auto; - list-style: none; -} - -#buddypress .group-members-list { - width: 100%; - margin-top: 1em; - clear: both; - overflow: auto; -} - -#buddypress #item-buttons:empty { - display: none; -} - -/*-------------------------------------------------------------- -3.8.1 - Cover Image ---------------------------------------------------------------*/ - -#buddypress #cover-image-container { - position: relative; - z-index: 0; -} - -#buddypress #header-cover-image { - background-color: #c5c5c5; - background-position: center top; - background-repeat: no-repeat; - background-size: cover; - border: 0; - display: block; - right: 0; - margin: 0; - padding: 0; - position: absolute; - top: 0; - width: 100%; - z-index: 1; -} - -#buddypress #item-header-cover-image { - padding: 0 1em; - position: relative; - z-index: 2; -} - -/*-------------------------------------------------------------- -3.9 - Private Messaging Threads ---------------------------------------------------------------*/ -#buddypress table#message-threads tr.unread td { - background: #fff9db; - border-top: 1px solid #ffe8c4; - border-bottom: 1px solid #ffe8c4; - font-weight: 700; -} - -#buddypress table#message-threads tr.unread td .thread-excerpt, -#buddypress table#message-threads tr.unread td .activity, -#buddypress table#message-threads tr.unread td.thread-options { - font-weight: 400; -} - -#buddypress li span.unread-count, -#buddypress tr.unread span.unread-count { - background: #d00; - color: #fff; - font-weight: 700; - padding: 2px 8px; -} - -#buddypress div.item-list-tabs ul li a span.unread-count { - padding: 1px 6px; - color: #fff; -} - -#buddypress div#message-thread div.message-box { - margin: 0; - padding: 15px; -} - -#buddypress div#message-thread div.alt { - background: #f4f4f4; -} - -#buddypress div#message-thread p#message-recipients { - margin: 10px 0 20px; -} - -#buddypress div#message-thread img.avatar { - float: right; - margin: 0 0 0 10px; - vertical-align: middle; -} - -#buddypress div#message-thread strong { - font-size: 100%; - margin: 0; -} - -#buddypress div#message-thread strong a { - text-decoration: none; -} - -#buddypress div#message-thread strong span.activity { - margin-top: 4px; -} - -#buddypress div#message-thread div.message-metadata:after { - clear: both; - content: ""; - display: table; -} - -#buddypress div#message-thread div.message-content { - margin-right: 45px; -} - -#buddypress div#message-thread div.message-options { - text-align: left; -} - -#buddypress #message-threads img.avatar { - max-width: none; -} - -#buddypress div.message-search { - float: left; - margin: 0 20px; -} - -.message-metadata { - position: relative; -} - -.message-star-actions { - position: absolute; - left: 0; - top: 0; -} - -#buddypress a.message-action-star, -#buddypress a.message-action-unstar { - border-bottom: 0; - text-decoration: none; - outline: none; -} - -a.message-action-star { - opacity: 0.7; -} - -a.message-action-star:hover { - opacity: 1; -} - -.message-action-star span.icon:before, -.message-action-unstar span.icon:before { - font-family: dashicons; - font-size: 18px; -} - -.message-action-star span.icon:before { - color: #767676; - content: "\f154"; -} - -.message-action-unstar span.icon:before { - color: #fcdd77; - content: "\f155"; -} - -/*-------------------------------------------------------------- -3.10 - Extended Profiles ---------------------------------------------------------------*/ - -#buddypress div.profile h2 { - margin-bottom: auto; - margin-top: 15px; -} - -#buddypress #profile-edit-form ul.button-nav { - margin-top: 15px; -} - -body.no-js #buddypress .field-visibility-settings-toggle, -body.no-js #buddypress .field-visibility-settings-close { - display: none; -} - -#buddypress .field-visibility-settings { - display: none; - margin-top: 10px; -} - -body.no-js #buddypress .field-visibility-settings { - display: block; -} - -#buddypress .current-visibility-level { - font-weight: 700; - font-style: normal; -} - -#buddypress .field-visibility-settings, -#buddypress .field-visibility-settings-toggle, -#buddypress .field-visibility-settings-notoggle { - color: #707070; -} - -#buddypress .field-visibility-settings-toggle a, -#buddypress .field-visibility-settings a { - font-size: 80%; -} - -body.register #buddypress div.page ul { - list-style: none; -} - -#buddypress .standard-form .field-visibility-settings label { - margin: 0; - font-weight: 400; -} - -#buddypress .field-visibility-settings legend, -#buddypress .field-visibility-settings-toggle { - font-style: italic; -} - -#buddypress .field-visibility-settings .radio { - list-style: none; - margin-bottom: 0; -} - -#buddypress .field-visibility select { - margin: 0; -} - -#buddypress .wp-editor-container { - border: 1px solid #dedede; -} - -#buddypress .html-active button.switch-html { - border-bottom-color: transparent; - border-bottom-right-radius: 0; - border-bottom-left-radius: 0; - background: #f5f5f5; - color: #707070; -} - -#buddypress .tmce-active button.switch-tmce { - border-bottom-color: transparent; - border-bottom-right-radius: 0; - border-bottom-left-radius: 0; - background: #f5f5f5; - color: #707070; -} - -#buddypress .standard-form .wp-editor-container textarea { - width: 100%; - padding-top: 0; - padding-bottom: 0; -} - -/*-------------------------------------------------------------- -3.11 - Widgets ---------------------------------------------------------------*/ - -.widget.buddypress span.activity { - display: inline-block; - font-size: small; - padding: 0; -} - -.widget.buddypress div.item-options { - font-size: 90%; - margin: 0 0 1em; - padding: 1em 0; -} - -.widget.buddypress div.item { - margin: 0 0 1em; -} - -.widget.buddypress div.item-meta, -.widget.buddypress div.item-content { - font-size: 11px; - margin-right: 50px; -} - -.widget.buddypress div.avatar-block:after { - clear: both; - content: ""; - display: table; -} - -.widget.buddypress .item-avatar a { - float: right; - margin-bottom: 15px; - margin-left: 10px; -} - -.widget.buddypress div.item-avatar img { - display: inline-block; - height: 40px; - margin: 1px; - width: 40px; -} - -.widget.buddypress .item-avatar a, -.widget.buddypress .item-avatar a:hover, -.widget.buddypress .item-avatar a:focus, -.widget.buddypress .item-avatar a:active, -.widget.buddypress .item-avatar a img { - -webkit-box-shadow: none; - box-shadow: none; -} - -.widget.buddypress #bp-login-widget-form label { - display: block; - margin: 1rem 0 0.5rem; -} - -.widget.buddypress #bp-login-widget-form #bp-login-widget-submit { - margin-left: 10px; -} - -.widget.buddypress .bp-login-widget-user-avatar { - float: right; -} - -.bp-login-widget-user-avatar img.avatar { - height: 40px; - width: 40px; -} - -.widget.buddypress .bp-login-widget-user-links > div { - padding-right: 60px; -} - -.widget.buddypress .bp-login-widget-user-links > div { - margin-bottom: 0.5rem; -} - -.widget.buddypress .bp-login-widget-user-links > div.bp-login-widget-user-link a { - font-weight: 700; -} - -.widget.buddypress #groups-list, -.widget.buddypress #members-list, -.widget.buddypress #friends-list { - margin-right: 0; - padding-right: 0; -} - -.widget.buddypress #groups-list li, -.widget.buddypress #members-list li, -.widget.buddypress #friends-list li { - clear: both; - list-style-type: none; -} - -/*-------------------------------------------------------------- -3.12 - Tooltips ---------------------------------------------------------------*/ - -.buddypress .bp-tooltip { - position: relative; -} - -.bp-tooltip:after { - background: #fff; - border: 1px solid #aaa; - border-collapse: separate; - border-radius: 1px; - box-shadow: -1px 1px 0 1px rgba(132, 132, 132, 0.3); - color: #000; - content: attr(data-bp-tooltip); - display: none; - font-family: sans-serif; - font-size: 11px; - font-weight: 400; - letter-spacing: normal; - line-height: 1.5; - margin-top: 10px; - max-width: 240px; - opacity: 0; - padding: 3px 6px; - position: absolute; - left: 50%; - text-align: center; - text-decoration: none; - text-shadow: none; - text-transform: none; - top: 100%; - -webkit-transform: translateX(-50%); - -ms-transform: translateX(-50%); - transform: translateX(-50%); - -webkit-transition: opacity 2s ease-out; - -ms-transition: opacity 2s ease-out; - transition: opacity 2s ease-out; - white-space: pre; - word-wrap: break-word; - z-index: 998; -} - -.bp-tooltip:hover:after, -.bp-tooltip:active:after, -.bp-tooltip:focus:after { - display: inline-block; - opacity: 1; - overflow: visible; - text-decoration: none; - z-index: 999; -} - -#group-admins .bp-tooltip:after, -#group-mods .bp-tooltip:after, -.message-metadata .bp-tooltip:after { - left: 0; - text-align: left; - -webkit-transform: translateX(0); - -ms-transform: translateX(0); - transform: translateX(0); -} - -.feed .bp-tooltip:after, -.item-list .bp-tooltip:after, -.messages-notices .bp-tooltip:after { - right: 0; - left: auto; - text-align: right; - -webkit-transform: translateX(0); - -ms-transform: translateX(0); - transform: translateX(0); -} - -.bp-site-wide-message .bp-tooltip:after, -.admin-bar-on .bp-tooltip:after { - left: 50px; -} - -/*-------------------------------------------------------------- -4.0 - Media Queries ---------------------------------------------------------------*/ - -/*-------------------------------------------------------------- -4.1 - Smartphones - landscape ---------------------------------------------------------------*/ -@media only screen and (max-width: 480px ) { - - #buddypress div.dir-search { - float: left; - margin-top: -50px; - text-align: left; - } - - #buddypress div.dir-search input[type="text"] { - margin-bottom: 1em; - width: 50%; - } - - a.bp-title-button { - margin-right: 10px; - } - - #buddypress form.standard-form .main-column div.action { - position: relative; - margin-bottom: 1em; - } - - #buddypress form.standard-form .main-column ul#friend-list h3, - #buddypress form.standard-form .main-column ul#friend-list h4 { - width: 100%; - } -} - -/*-------------------------------------------------------------- -4.2 - Smartphones - portrait ---------------------------------------------------------------*/ -@media only screen and (max-width: 320px) { - - #buddypress div.dir-search { - clear: right; - float: right; - margin-top: 0; - text-align: right; - } - - #buddypress li#groups-order-select { - clear: right; - float: right; - } - - #buddypress ul.item-list li div.action { - clear: right; - float: right; - margin-top: 0; - margin-right: 70px; - position: relative; - top: 0; - left: 0; - text-align: right; - } - - #buddypress ul.item-list li div.item-desc { - clear: right; - float: right; - margin: 10px 0 0; - width: auto; - } - - #buddypress li div.item { - margin-right: 70px; - width: auto; - } - - #buddypress ul.item-list li div.meta { - margin-top: 0; - } - - #buddypress .item-desc p { - margin: 0 0 10px; - } - - #buddypress div.pagination .pag-count { - margin-right: 0; - } -} - -/*-------------------------------------------------------------- -4.2 - Smartphones - smaller screen sizes ---------------------------------------------------------------*/ -@media only screen and (max-width: 240px) { - - #buddypress div.dir-search { - float: right; - margin: 0; - } - - #buddypress div.dir-search input[type="text"] { - width: 50%; - } - - #buddypress li#groups-order-select { - float: right; - } - - #buddypress ul.item-list li img.avatar { - width: 30px; - height: auto; - } - - #buddypress ul.item-list li div.action, - #buddypress li div.item { - margin-right: 45px; - } - - h1 a.bp-title-button { - clear: right; - float: right; - margin: 10px 0 20px; - } -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/021/021.test.js b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/021/021.test.js deleted file mode 100644 index 0779d5568a0ad5..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/021/021.test.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -const stylelint = require( 'stylelint' ), - systemTestUtils = require( '../systemTestUtils.js' ); - -it( '021', () => { - return stylelint.lint({ - files: [systemTestUtils.caseStylesheetGlob( '021' )], - configFile: systemTestUtils.caseConfig( '021' ), - }).then( ({ results }) => { - expect( systemTestUtils.prepResults( results ) ).toMatchSnapshot(); - }); -}); diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/021/__snapshots__/021.test.js.snap b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/021/__snapshots__/021.test.js.snap deleted file mode 100644 index 0eb9619e1da670..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/021/__snapshots__/021.test.js.snap +++ /dev/null @@ -1,15 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`021 1`] = ` -Array [ - Object { - "deprecations": Array [], - "errored": undefined, - "ignored": undefined, - "invalidOptionWarnings": Array [], - "parseErrors": Array [], - "source": "021/stylesheet.css", - "warnings": Array [], - }, -] -`; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/021/config.json b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/021/config.json deleted file mode 100644 index a8af7d5dcb61b9..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/021/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../index.js" -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/021/stylesheet.css b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/021/stylesheet.css deleted file mode 100644 index 177c8df6b179bc..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/021/stylesheet.css +++ /dev/null @@ -1,153 +0,0 @@ -#bp-embed-header:after { - clear: both; - content: ""; - display: table; - margin-bottom: 1em; -} - -.bp-embed-avatar { - float: right; - margin: 0 0 0 0.75em; -} - -p.bp-embed-activity-action { - font-size: 15px; - margin-bottom: 0; -} - -p.bp-embed-activity-action a:first-child { - color: #32373c; - font-weight: 700; -} - -p.bp-embed-activity-action img.avatar { - padding: 0 3px 0 4px; - vertical-align: text-bottom; -} - -.bp-embed-excerpt { - margin-bottom: 1em; -} - -.bp-embed-excerpt a { - color: #21759b; - display: inline-block; - overflow: hidden; - text-overflow: ellipsis; - vertical-align: top; - white-space: nowrap; - max-width: 250px; -} - -.activity-read-more { - margin-right: 0.5em; -} - -.activity-read-more a { - color: #b4b9be; -} - -.wp-embed-footer { - margin-top: 20px; -} - -span.bp-embed-timestamp { - font-size: 0.9em; -} - -video { - width: 100%; - height: auto; -} - -.bp-activity-embed-display-media { - border: 1px solid #ccc; - border-radius: 6px; -} - -.bp-activity-embed-display-media.one-col, -.bp-activity-embed-display-media.one-col .thumb, -.bp-activity-embed-display-media.one-col .thumb img { - width: 100%; -} - -.bp-activity-embed-display-media.two-col .thumb, -.bp-activity-embed-display-media.two-col .caption { - display: table-cell; -} - -.bp-activity-embed-display-media.two-col .thumb { - background: #000; - vertical-align: middle; -} - -.bp-activity-embed-display-media.two-col .caption { - vertical-align: top; -} - -.bp-activity-embed-display-media.two-col .thumb img { - border-left: 1px solid #ccc; - display: block; - width: 100%; -} - -.bp-activity-embed-display-media .thumb { - position: relative; -} - -.bp-activity-embed-display-media .caption { - padding: 0.2em 0.5em 0.5em; -} - -a.play-btn { - background: rgba(0, 0, 0, 0.75); - border-radius: 50%; - height: 50px; - right: 50%; - margin: 0; - padding: 1em; - position: absolute; - text-indent: 0.25em; - top: 50%; - transform: translateY(-50%) translateX(50%); - -webkit-transform: translateY(-50%) translateX(50%); - transition: all 0.2s ease-out; - width: 50px; -} - -.bp-activity-embed-display-media.two-col a.play-btn { - height: 35px; - width: 35px; -} - -a.play-btn:hover { - background: rgba(0, 0, 0, 0.95); - transform: translateY(-50%) translateX(50%) scale(1.05); - -webkit-transform: translateY(-50%) translateX(50%) scale(1.05); - transition: all 0.2s ease-out; -} - -.bp-activity-embed-display-media .thumb svg { - fill: #fff; - overflow: hidden; -} - -.bp-activity-embed-display-media .caption-description { - font-size: 90%; - margin: 0.4em 0; -} - -@media only screen and (max-width: 480px) { - - .bp-activity-embed-display-media.two-col .thumb { - border-bottom: 1px solid #ccc; - border-left: 0; - display: block; - max-width: none !important; - } - - a.play-btn { - height: 35px; - width: 35px; - } -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/022/022.test.js b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/022/022.test.js deleted file mode 100644 index 03b6972c946e5a..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/022/022.test.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -const stylelint = require( 'stylelint' ), - systemTestUtils = require( '../systemTestUtils.js' ); - -it( '022', () => { - return stylelint.lint({ - files: [systemTestUtils.caseStylesheetGlob( '022' )], - configFile: systemTestUtils.caseConfig( '022' ), - }).then( ({ results }) => { - expect( systemTestUtils.prepResults( results ) ).toMatchSnapshot(); - }); -}); diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/022/__snapshots__/022.test.js.snap b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/022/__snapshots__/022.test.js.snap deleted file mode 100644 index ce1425c5c16691..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/022/__snapshots__/022.test.js.snap +++ /dev/null @@ -1,905 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`022 1`] = ` -Array [ - Object { - "deprecations": Array [], - "errored": true, - "ignored": undefined, - "invalidOptionWarnings": Array [], - "parseErrors": Array [], - "source": "022/stylesheet.css", - "warnings": Array [ - Object { - "column": 1, - "line": 57, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 85, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 92, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 547, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 840, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 1121, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 1128, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 1251, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 1770, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 2, - "line": 117, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 122, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 128, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 133, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 136, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 141, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 156, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 159, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 165, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 191, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 226, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 236, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 240, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 246, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 251, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 255, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 258, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 264, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 270, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 273, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 279, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 284, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 287, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 294, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 298, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 309, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 315, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 392, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 408, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 424, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 447, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 469, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 476, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 481, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 487, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 505, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 524, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 531, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 557, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 586, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 589, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 594, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 653, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 658, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 661, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 665, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 669, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 719, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 752, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 826, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 830, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 853, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 861, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 864, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 896, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 905, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 912, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 916, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 920, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 924, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 931, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 939, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 953, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 959, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 963, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 967, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 970, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 974, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 977, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 980, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1002, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1012, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1035, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1039, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1043, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1050, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1060, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1067, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1075, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1103, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1106, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1109, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1179, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1204, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1223, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1239, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1267, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1271, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1288, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1312, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1328, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1462, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1509, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1535, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1576, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1750, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1873, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1879, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1893, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1898, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1935, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 45, - "line": 104, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 47, - "line": 133, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 94, - "line": 133, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 43, - "line": 136, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 86, - "line": 136, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 52, - "line": 159, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 34, - "line": 330, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 46, - "line": 731, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 80, - "line": 816, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 81, - "line": 1334, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 88, - "line": 1413, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 61, - "line": 1629, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 30, - "line": 1716, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 2, - "line": 185, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '5px 0 5px' instead of '5px 0' (shorthand-property-no-redundant-values)", - }, - Object { - "column": 3, - "line": 534, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '0 0 15px 0' instead of '0 0 15px' (shorthand-property-no-redundant-values)", - }, - Object { - "column": 2, - "line": 1231, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '5px 0 0 0' instead of '5px 0 0' (shorthand-property-no-redundant-values)", - }, - Object { - "column": 2, - "line": 1476, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '15px 0 0 0' instead of '15px 0 0' (shorthand-property-no-redundant-values)", - }, - ], - }, -] -`; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/022/config.json b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/022/config.json deleted file mode 100644 index a8af7d5dcb61b9..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/022/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../index.js" -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/022/stylesheet.css b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/022/stylesheet.css deleted file mode 100644 index 94496b6b22bfb6..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/022/stylesheet.css +++ /dev/null @@ -1,2021 +0,0 @@ -/*-------------------------------------------------------------- - -This is the BuddyPress companion stylesheet for -the WordPress Twentyeleven theme. - -This sheet supports the primary BuddyPress styles in buddypress.css - -If you are running as a child theme of twentyeleven this stylesheet will be -loaded by default. If you want to modify the styles the normal BP Theme Compat -hierarchy works and you can copy the file to buddypress/css/ or community/css/ -in your child themes root & either start over or modify the rulesets. - -If you do not require the styles you can dequeue them from the themes -functions file. - -Please see this codex article for more information: -http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ - ----------------------------------------------------------------- ->>> TABLE OF CONTENTS: ----------------------------------------------------------------- -1.0 Theme Structural Elements & overrides -2.0 - Navigation - General - 2.1 - Navs - Object Nav / Sub Nav (item-list-tabs) - 2.2 - Pagination -3.0 - Images -4.0 - BP Lists / Loops Generic - 4.1 - Activity Loop - 4.1.1 Whats New Activity - 4.1.2 - Activity Listing - 4.1.3 - Activity Comments - 4.2 - Members Loop - 4.3 - Groups Loop - 4.4 - Blogs Loop -5.0 - Directories - Members, Groups, Blogs, Register, activation -6.0 - Single Item screens: User Account & Single Group Screens - 6.1 - Item Headers: Global - 6.1.1 - item-header: Groups - 6.1.2 - item-header: User Accounts - 6.2 - Item Body: Global - 6.2.1 - item-body: Groups - 6.2.1.1 - Management settings screens - 6.2.1.2 - Group members list - 6.2.2 - item-body: User Accounts - 6.2.2.1 - classes, pag, filters - 6.2.2.2 - Extended Profiles - 6.2.2.3 - Groups - 6.2.2.4 - friends - 6.2.2.5 - Private Messaging Threads - 6.2.2.6 - Settings - 6.2.2.7 - Notifications -7.0 - Forms - General -8.0 - Tables - General -9.0 - Error / Success Messages -10.0 - Ajax Loading, Widgets, General classes ---------------------------------------------------------------*/ -/** -*------------------------------------------------------------------------------- -* @section 1.0 - Theme - Structural Elements. overrides, Globals -*------------------------------------------------------------------------------- -*/ -.buddypress div.clear { - display: none; -} - -body.buddypress:not(.page-template-sidebar-page) #content { - margin: 0 10%; - width: auto; -} - -body.buddypress:not(.page-template-sidebar-page) #content .entry-header, -body.buddypress:not(.page-template-sidebar-page) #content .entry-content { - width: auto; -} - -.buddypress.singular.page .hentry { - padding-top: 0; -} - -/** -*------------------------------------------------------------------------------- -* @section 2.0 - Navigation - General -*------------------------------------------------------------------------------- -*/ -/** -*---------------------------------------------------------- -* @section 2.1 - Navs Object Nav / Sub Nav (item-list-tabs) -* -* The main navigational elements for all BP screens -*---------------------------------------------------------- -*/ -/* Here we start things off */ -#buddypress div.item-list-tabs ul li.selected a, -#buddypress div.item-list-tabs ul li.current a { - background: inherit; - opacity: 1; -} - -#buddypress div.item-list-tabs ul { - overflow: hidden; - padding: 0; -} - -#buddypress div.item-list-tabs ul li a:focus, #buddypress div.item-list-tabs ul li a:hover { - color: #555; -} - -#buddypress div.item-list-tabs ul li a:visited { - color: #21759b; -} - -#buddypress div.item-list-tabs ul li a span { - border-radius: 25%; -} - -@media screen and (max-width: 450px) { - .bp-user #buddypress #object-nav { - border: 1px solid #eaeaea; - overflow: visible; - padding: 5px; - } - .bp-user #buddypress #object-nav ul { - border: 0; - height: 0; - transition: height 0.3s ease-in-out 0.7s; - visibility: hidden; - } - .bp-user #buddypress #object-nav:before { - content: "Menu \021E9"; - display: inline; - opacity: 0.7; - } - .bp-user #buddypress #object-nav:focus:before, .bp-user #buddypress #object-nav:hover:before, .bp-user #buddypress #object-nav:active:before { - content: "Menu \021E7"; - } - .bp-user #buddypress #object-nav:focus ul, .bp-user #buddypress #object-nav:hover ul, .bp-user #buddypress #object-nav:active ul { - min-height: 320px; - opacity: 1; - visibility: visible; - } - .bp-user #buddypress #subnav { - clear: both; - } -} - -/*__ Horizontal menus __*/ -#buddypress #object-nav ul { - overflow: hidden; -} - -#buddypress #object-nav ul li { - float: none; -} - -@media screen and (max-width: 650px) { - #buddypress #object-nav ul li:not(:last-child) { - border-bottom: 1px solid #eaeaea; - } - #buddypress #object-nav ul li:not(.selected):focus, #buddypress #object-nav ul li:not(.selected):hover { - background: #f2f2f2; - } -} - -@media screen and (min-width: 650px) { - #buddypress #object-nav ul li { - float: right; - } -} - -#buddypress div#subnav.item-list-tabs { - margin-top: 0; -} - -#buddypress div#subnav.item-list-tabs ul { - border-bottom: 0; - border-top: 1px solid #d4d0ba; - margin-top: 5px; - padding: 0; -} - -#buddypress div#subnav.item-list-tabs ul li.last { - background: #fff; - float: left; - margin-top: 0; - padding: 5px 0 5px; - text-align: left; - width: 230px; -} - -@media screen and (max-width: 450px) { - #buddypress div#subnav.item-list-tabs ul li.last { - float: none; - width: auto; - } -} - -#buddypress div#subnav.item-list-tabs ul li.last select, -#buddypress div#subnav.item-list-tabs ul li.last select:focus { - background: transparent; - border: 0; - outline: 0; - padding: 0; -} - -#buddypress div#subnav.item-list-tabs ul li.last select, -#buddypress div#subnav.item-list-tabs ul li.last label, -#buddypress div#subnav.item-list-tabs ul li.last option { - font-size: 14px; - font-size: 0.9333333333rem; -} - -#buddypress div#subnav.item-list-tabs ul li.last select { - font-style: italic; -} - -#buddypress div#subnav.item-list-tabs ul li.last select option { - font-style: normal; -} - -.bp-user #buddypress div#subnav.item-list-tabs li.last { - margin-right: 0; - text-align: left; -} - -@media screen and (max-width: 450px) { - .bp-user #buddypress div#subnav.item-list-tabs li.last { - clear: right; - float: none; - margin-right: 10px; - text-align: right; - } -} - -/*__ Vertical menu User Account / Group single screens __*/ -@media screen and (min-width: 800px) { - body.bp-user #buddypress #item-header, - body.bp-user #buddypress #item-body { - background: #fff; - } - body.bp-user #buddypress #object-nav { - border-left: 1px solid #ddd; - float: right; - margin-left: -1px; - width: 200px; - } - body.bp-user #buddypress #object-nav ul { - background: none; - border-bottom: 0; - padding: 0; - } - body.bp-user #buddypress #object-nav ul li { - float: none; - overflow: hidden; - } - body.bp-user #buddypress #object-nav ul li.selected { - background: #ddd; - } - body.bp-user #buddypress #object-nav ul li span { - background: #fff; - border-radius: 10%; - float: left; - margin-left: 2px; - } - body.bp-user #buddypress #item-body { - border-right: 1px solid #ddd; - overflow: hidden; - padding: 0 25px 0 0; - width: auto; - } - body.bp-user #buddypress #item-body #subnav { - margin: 0 -25px 0 0; - } - body.bp-user #buddypress #item-body #subnav ul { - margin-top: 0; - } -} - -@media screen and (min-width: 650px) { - #main #buddypress #group-create-tabs.item-list-tabs ul:before, - #main #buddypress #group-create-tabs.item-list-tabs ul:after { - content: " "; - display: table; - } - #main #buddypress #group-create-tabs.item-list-tabs ul:after { - clear: both; - } - #main #buddypress #group-create-tabs.item-list-tabs ul { - background: none; - border: 0; - border-bottom: 1px solid #ddd; - overflow: visible; - padding-bottom: 0; - } - #main #buddypress #group-create-tabs.item-list-tabs ul li { - float: right; - width: auto; - } - #main #buddypress #group-create-tabs.item-list-tabs ul li.selected, - #main #buddypress #group-create-tabs.item-list-tabs ul li.current { - border: 1px solid #ddd; - border-bottom-color: #fff; - -webkit-border-top-left-radius: 4px; - border-top-left-radius: 4px; - -webkit-border-top-right-radius: 4px; - border-top-right-radius: 4px; - background-clip: padding-box; - margin-bottom: -1px; - } - #main #buddypress #group-create-tabs.item-list-tabs ul li.selected a, - #main #buddypress #group-create-tabs.item-list-tabs ul li.current a { - background: none; - color: #373737; - outline: none; - } - #main #buddypress #subnav ul { - border-bottom: 0; - } -} - -/** -*---------------------------------------------------------- -* @section 2.2 - Pagination -*---------------------------------------------------------- -*/ -#buddypress div.pagination { - box-shadow: none; - min-height: 0; -} - -#buddypress div.pagination:before, #buddypress div.pagination:after { - height: 0; - width: 0; -} - -#buddypress div.pagination .pag-count { - margin-right: 0; -} - -#buddypress div.pagination .pagination-links { - margin-left: 0; -} - -#buddypress div.pagination .pagination-links span, -#buddypress div.pagination .pagination-links a { - height: auto; - line-height: 1; - padding: 5px; -} - -#buddypress div.pagination .pagination-links .prev, -#buddypress div.pagination .pagination-links .next { - background-color: transparent; - color: inherit; - overflow: visible; - width: auto; -} - -#buddypress div.pagination .pagination-links .prev:before, -#buddypress div.pagination .pagination-links .next:before { - display: none; -} - -#buddypress div.pagination .pagination-links .prev { - right: auto; - position: static; -} - -#buddypress div.pagination .pagination-links .next { - position: static; - left: auto; -} - -/** -*------------------------------------------------------------------------------- -* @section 4.0 - BP Lists / Loops Generic -*------------------------------------------------------------------------------- -*/ -#buddypress ul.item-list { - border-top: 0; -} - -#buddypress ul.item-list li { - overflow: hidden !important; -} - -#buddypress ul.item-list li .item-avatar { - margin-bottom: 15px; - text-align: center; -} - -@media screen and (min-width: 650px) { - #buddypress ul.item-list li .item-avatar { - margin-bottom: 0; - } -} - -#buddypress ul.item-list li .item-avatar a { - border-bottom: 0; -} - -#buddypress ul.item-list li .item-avatar img.avatar { - display: inline-block; - float: none; - margin-bottom: 15px; -} - -@media screen and (min-width: 450px) { - #buddypress ul.item-list li .item-avatar img.avatar { - display: block; - float: right; - } -} - -#buddypress ul.item-list li .item { - margin-right: 0; - overflow: hidden; -} - -#buddypress ul.item-list li .item .item-meta { - text-align: center; -} - -@media screen and (min-width: 61.5625em) { - #buddypress ul.item-list li .item .item-meta { - text-align: right; - } -} - -#buddypress ul.item-list li .item span.activity { - font-style: italic; -} - -#buddypress ul.item-list li .item .item-desc { - margin-right: 0; - width: 94%; -} - -#buddypress ul.item-list li .item .item-title { - font-size: 16px; - font-size: 1.0666666667rem; - line-height: 1.2; - text-align: center; - width: 100%; -} - -@media screen and (min-width: 450px) { - #buddypress ul.item-list li .item .item-title { - text-align: right; - } -} - -#buddypress ul.item-list li .item .item-title > a { - text-decoration: none; -} - -#buddypress ul.item-list li .item .item-title > a:visited { - color: #21759b; -} - -#buddypress ul.item-list li .item .item-title .update { - display: block; - font-size: 12px; - font-size: 0.8rem; - padding: 15px 0; - text-align: right; -} - -@media screen and (min-width: 650px) { - #buddypress ul.item-list li .item .item-title .update { - font-size: 14px; - font-size: 0.9333333333rem; - } -} - -@media screen and (min-width: 650px) { - #buddypress ul.item-list li .item-avatar, - #buddypress ul.item-list li .item, - #buddypress ul.item-list li .action { - float: right; - } - #buddypress ul.item-list li .item { - right: 5%; - margin-right: 0; - position: relative; - width: 55%; - } - #buddypress ul.item-list li .item .item-title { - font-size: 18px; - font-size: 1.2rem; - } -} - -#buddypress ul.item-list li div.action { - clear: right; - float: none; - margin: 0; - margin-right: 0; - padding: 15px 0 5px; - position: relative; - text-align: right; - top: 0; -} - -@media screen and (min-width: 650px) { - #buddypress ul.item-list li div.action { - clear: none; - float: left; - margin-bottom: 0; - padding: 0; - } -} - -#buddypress ul.item-list li div.action div { - display: inline-block; - margin: 5px 0; - width: 100%; -} - -#buddypress ul.item-list li div.action div a { - display: block; -} - -@media screen and (min-width: 37em) { - #buddypress ul.item-list li div.action div { - margin: 0 0 5px 15px; - width: auto; - } -} - -@media screen and (min-width: 650px) { - #buddypress ul.item-list li div.action div { - clear: left; - float: left; - margin: 0 0 15px 0; - } -} - -#buddypress ul.item-list li div.action .meta { - font-style: italic; -} - -/** -*---------------------------------------------------------- -* @section 4.1 - Activity -*---------------------------------------------------------- -*/ -/** -*----------------------------------------------------- -* @section 4.1.1 - Activity Whats New -*----------------------------------------------------- -*/ -#buddypress form#whats-new-form p.activity-greeting { - line-height: 1.4; -} - -@media screen and (max-width: 650px) { - #buddypress form#whats-new-form #whats-new-content { - clear: right; - margin: 15px 0 25px; - padding: 15px 0 0; - } -} - -#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box { - border: 1px solid rgba(212, 208, 186, 0.5); - float: right; - font-size: 12px; - font-size: 0.8rem; - line-height: 1.6; - margin-top: 12px; - padding-right: 0.2em; - width: 100%; -} - -#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box select { - background: none; - border: 0; - float: left; - margin: 0; - max-width: 220px; - min-height: 1.5em; - padding: 0 0.4em 0 0; -} - -@media screen and (min-width: 30em) { - #buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box { - width: auto; - } - #buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-submit { - font-size: 12px; - font-size: 0.8rem; - float: left; - } - #buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-submit input { - padding: 0 6px; - } -} - -#buddypress #item-body form#whats-new-form { - margin: 50px 0; -} - -/** -*----------------------------------------------------- -* @section 4.1.2 - Activity Listing -*----------------------------------------------------- -*/ -#buddypress #activity-stream li { - padding: 25px 0 15px; -} - -#buddypress #activity-stream li.load-newest a { - display: block; -} - -#buddypress #activity-stream li .activity-avatar { - float: none; - text-align: center; -} - -#buddypress #activity-stream li .activity-avatar a { - display: inline-block; -} - -#buddypress #activity-stream li .activity-avatar a img.avatar { - display: inline; - float: none; - height: 60px; - margin-bottom: 25px; - margin-right: 0; - width: 60px; -} - -#buddypress #activity-stream li .activity-content, -#buddypress #activity-stream li .activity-comments { - margin-right: 0; -} - -#buddypress #activity-stream li .activity-header { - font-size: 14px; - font-size: 0.9333333333rem; -} - -#buddypress #activity-stream li .activity-header a:visited { - color: #21759b; -} - -#buddypress #activity-stream li .activity-inner img { - height: auto; -} - -@media screen and (min-width: 650px) { - #buddypress #activity-stream li .activity-avatar { - float: right; - margin-left: 15px; - text-align: right; - } - #buddypress #activity-stream li .activity-avatar a { - border-bottom: 0; - } - #buddypress #activity-stream li .activity-content { - margin: 0; - overflow: hidden; - } - #buddypress #activity-stream li .activity-content .activity-header { - font-size: 16px; - font-size: 1.0666666667rem; - } - #buddypress #activity-stream li .activity-comments { - margin-right: 70px; - } -} - -#buddypress #activity-stream li.mini .activity-avatar a img.avatar { - height: 30px; - margin-right: 15px; - width: 30px; -} - -#buddypress #activity-stream li.mini .activity-content .activity-header { - font-size: 14px; - font-size: 0.9333333333rem; -} - -#buddypress #activity-stream li.mini .activity-content .activity-meta a { - font-size: 12px; - font-size: 0.8rem; -} - -#buddypress #activity-stream .activity-content { - margin-top: -12px; -} - -#buddypress #activity-stream .activity-content .activity-header { - line-height: inherit; - margin-left: 0; -} - -#buddypress #activity-stream .activity-content .activity-header p { - border-bottom: 1px solid rgba(234, 234, 234, 0.6); - margin-top: 0; - padding: 0 0.2em; -} - -#buddypress #activity-stream .activity-content .activity-header img.avatar { - display: inline-block; - margin-bottom: 0 !important; -} - -#buddypress #activity-stream .activity-content .activity-meta a { - display: block; - font-size: 14px; - font-size: 0.9333333333rem; - margin-bottom: 5px; - padding: 0.2em 0.5em; -} - -@media screen and (min-width: 650px) { - #buddypress #activity-stream .activity-content .activity-meta a { - float: right; - margin-bottom: 0; - } -} - -#buddypress #activity-stream .load-more { - background: #f7f7f7; - border: 1px solid transparent; - padding: 15px; -} - -#buddypress #activity-stream .load-more:focus, #buddypress #activity-stream .load-more:hover { - background: #f4f4f4; - border: 1px solid rgba(159, 209, 226, 0.3); -} - -#buddypress #activity-stream .load-more a { - display: block; -} - -/* Single activity view - activity permalink */ -.activity-permalink #buddypress #activity-stream li.activity-item { - padding: 25px; -} - -.activity-permalink #buddypress #activity-stream li.mini .activity-header { - font-size: 16px; - font-size: 1.0666666667rem; - margin-bottom: 50px; -} - -@media screen and (min-width: 650px) { - .activity-permalink #buddypress #activity-stream li.mini .activity-header { - font-size: 20px; - font-size: 1.3333333333rem; - } -} - -.activity-permalink #buddypress #activity-stream li.mini .activity-header p { - padding: 25px; -} - -.activity-permalink #buddypress #activity-stream .activity-comments { - margin-right: 0; -} - -/** -*----------------------------------------------------- -* @section 4.1.3 - Activity Comments -*----------------------------------------------------- -*/ -#buddypress #activity-stream .activity-comments { - position: relative; -} - -#buddypress #activity-stream .activity-comments > ul { - background: rgba(247, 247, 247, 0.6); - margin: 15px 2px 0 0; -} - -#buddypress #activity-stream .activity-comments > ul > li:hover * { - color: #555; -} - -#buddypress #activity-stream .activity-comments > ul > li .acomment-meta, -#buddypress #activity-stream .activity-comments > ul > li .acomment-content { - font-size: 12px; - font-size: 0.8rem; -} - -#buddypress #activity-stream .activity-comments .ac-form { - border: 1px solid #d4d0ba; - box-sizing: border-box; - margin: 15px 0; - width: 100%; -} - -#buddypress #activity-stream .activity-comments .ac-form input[type="submit"], -#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel { - color: rgba(55, 55, 55, 0.8); - display: inline-block; - font-family: inherit; - font-size: 12px; - font-size: 0.8rem; - font-weight: 400; - line-height: 1.2; - padding: 4px 10px; - text-transform: lowercase; - width: 100px; -} - -#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel { - border: 1px solid rgba(212, 208, 186, 0.7); - text-align: center; -} - -#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:focus, #buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:hover { - background: #ededed; -} - -/** -*---------------------------------------------------------- -* @section 4.2 - Members Loop -*---------------------------------------------------------- -*/ -@media screen and (min-width: 650px) { - #buddypress #members-list li .item-avatar, - #buddypress #members-list li .item { - float: right; - } - #buddypress #members-list li .action { - float: left; - } -} - -/** -*------------------------------------------------------------------------------- -* @section 5.0 - Directories -*------------------------------------------------------------------------------- -*/ -/** -*----------------------------------------------------------- -* @subsection Registration -*----------------------------------------------------------- -*/ -#buddypress #signup_form.standard-form #profile-details-section, -#buddypress #signup_form.standard-form #basic-details-section, -#buddypress #signup_form.standard-form #blog-details-section { - float: none; - width: 100%; -} - -@media screen and (min-width: 37.5em) { - #buddypress #signup_form.standard-form #profile-details-section, - #buddypress #signup_form.standard-form #basic-details-section, - #buddypress #signup_form.standard-form #blog-details-section { - width: 48%; - } -} - -@media screen and (min-width: 37.5em) { - #buddypress #signup_form.standard-form #profile-details-section { - float: left; - } - #buddypress #signup_form.standard-form #basic-details-section { - float: right; - } -} - -/** -*------------------------------------------------------------------------------- -* @section 6.0 - Single Item screens: User Account & Single Group Screens -*------------------------------------------------------------------------------- -*/ -.bp-user #buddypress a:visited { - color: #21759b; -} - -/** -*----------------------------------------------------------- -* @subsection 6.1 - Item Header Global -*----------------------------------------------------------- -*/ -.bp-user #buddypress #item-header-content #item-meta, -.single-item.groups #buddypress #item-header-content #item-meta { - font-size: 14px; - font-size: 0.9333333333rem; - text-align: right; -} - -.bp-user #buddypress #item-header-content #item-meta p, -.single-item.groups #buddypress #item-header-content #item-meta p { - margin-bottom: 0.5em; -} - -@media screen and (max-width: 37.5em) { - .bp-user h1, - .bp-user #item-header-content, - .single-item.groups h1, - .single-item.groups #item-header-content { - text-align: center; - } -} - -@media screen and (max-width: 46.25em) { - .bp-user main header.entry-header, - .single-item.groups main header.entry-header { - padding-bottom: 1rem; - } -} - -@media screen and (max-width: 37.5em) { - .bp-user #buddypress h1, - .single-item.groups #buddypress h1 { - margin-bottom: 0; - } - .bp-user #buddypress #item-header-avatar img.avatar, - .single-item.groups #buddypress #item-header-avatar img.avatar { - margin-left: 0; - } - .bp-user #buddypress #item-header-content, - .single-item.groups #buddypress #item-header-content { - width: 100%; - } - .bp-user #buddypress #item-header-content .user-nicename, - .single-item.groups #buddypress #item-header-content .user-nicename { - color: #555; - } -} - -@media screen and (max-width: 46.25em) { - .bp-user #buddypress #item-header .generic-button, - .single-item.groups #buddypress #item-header .generic-button { - float: none; - margin: 1.5em 0 0; - } -} - -@media screen and (max-width: 800px) { - #buddypress #item-header-cover-image #item-header-content .user-nicename { - color: #555; - text-shadow: none; - } -} - -/** -*----------------------------------------------------- -* @subsection 6.1.1 - item-header Groups -* -* Group Specific Item Header -*----------------------------------------------------- -*/ -@media screen and (max-width: 46.25em) { - .single-item.groups #buddypress #item-header #item-meta { - margin-bottom: 25px; - } -} - -@media screen and (max-width: 50em) { - .single-item.groups #buddypress div#item-header { - display: flex; - flex-direction: column; - } - .single-item.groups #buddypress div#item-header #item-header-avatar { - order: 1; - text-align: center; - } - .single-item.groups #buddypress div#item-header #item-header-avatar a { - border-bottom: 0; - } - .single-item.groups #buddypress div#item-header #item-header-avatar a img { - display: inline-block; - float: none; - } - .single-item.groups #buddypress div#item-header #item-header-content { - order: 2; - } - .single-item.groups #buddypress div#item-header #item-actions { - order: 3; - } - .single-item.groups #buddypress div#item-header #item-actions h2 { - border-bottom: 1px solid #eaeaea; - text-align: center; - } -} - -.single-item.groups #buddypress div#item-header { - padding-bottom: 50px; -} - -.single-item.groups #buddypress div#item-header #item-header-content { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -.single-item.groups #buddypress div#item-header div#item-actions { - margin: 0 !important; - width: 100%; -} - -@media screen and (min-width: 50em) { - .single-item.groups #buddypress div#item-header div#item-actions { - border-right: 1px solid #eaeaea; - clear: none; - float: left; - padding-right: 0.2em; - width: 30%; - } -} - -@media screen and (min-width: 46.25em) { - .single-item.groups #buddypress div#item-header div#item-actions { - width: 40%; - } -} - -.single-item.groups #buddypress div#item-header div#item-actions ul { - margin-top: 0; - padding-right: 0; -} - -.single-item.groups #buddypress div#item-header div#item-actions h2 { - font-size: 14px; - font-size: 0.9333333333rem; - font-weight: 700; - line-height: 1.4; -} - -.single-item.groups #buddypress div#item-header div#item-actions #group-admins li, -.single-item.groups #buddypress div#item-header div#item-actions #group-mods li { - margin: 0; -} - -@media screen and (min-width: 650px) { - .single-item.groups #buddypress div#item-header #item-header-avatar, - .single-item.groups #buddypress div#item-header #item-header-content { - float: right; - } - .single-item.groups #buddypress div#item-header #item-header-content { - margin-right: 2%; - padding: 0 0.5em; - } - .single-item.groups #buddypress div#item-header div#item-actions { - float: left; - width: 28%; - } -} - -@media screen and (min-width: 64em) { - .single-item.groups #buddypress div#item-header #item-header-content { - width: 40%; - } -} - -.single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-actions { - margin-top: 225px !important; -} - -@media screen and (min-width: 50em) and (max-width: 60em) { - .single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-header-content { - max-width: 60% !important; - width: 60% !important; - } -} - -@media screen and (max-width: 64em) { - .single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-actions { - border: 0; - clear: both; - margin-top: 0 !important; - max-width: 100% !important; - padding-top: 0 !important; - width: auto; - } - .single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-actions h2 { - border-bottom: 1px solid #eaeaea; - } -} - -/** -*----------------------------------------------------- -* @subsection 6.1.2 - Item Header User Accounts -* -* User Accounts Specific Item Header -*----------------------------------------------------- -*/ -.bp-user #buddypress #item-header #item-header-avatar { - text-align: center; -} - -.bp-user #buddypress #item-header #item-header-avatar img.avatar, -.bp-user #buddypress #item-header #item-header-avatar a { - border-bottom: 0; - display: inline-block; - float: none; -} - -.bp-user #buddypress #item-header #item-header-content #item-buttons .generic-button { - margin-left: 5px; -} - -@media screen and (min-width: 650px) { - .bp-user #buddypress #item-header #item-header-avatar { - float: right; - } - .bp-user #buddypress #item-header #item-header-avatar a { - float: right; - } - .bp-user #buddypress #item-header #item-header-content { - float: left; - margin-left: 0%; - width: 69%; - } -} - -/** -*----------------------------------------------------------- -* @subsection 6.2 - Item Body: Global -*----------------------------------------------------------- -*/ -/** -*---------------------------------------------------- -* @subsection 6.2.1 - Item Body Groups -* -* Groups specific item body rules - screens -*---------------------------------------------------- -*/ -/** -*----------------------------------------- -* @subsection 6.2.1.1 - Group Management -*----------------------------------------- -*/ -.groups #group-settings-form h3 { - background: #555; - color: #fff; - padding: 0.2em; -} - -.groups.edit-details #group-settings-form label { - margin-bottom: 0; - padding: 0.2em; - width: 80%; -} - -.groups.edit-details #group-settings-form textarea + p label { - background: none; - color: inherit; - font-size: 14px; - font-size: 0.9333333333rem; - width: auto; -} - -.groups.edit-details #group-settings-form textarea { - height: auto; - min-height: 100px; - overflow: auto; -} - -.groups.group-settings #group-settings-form div.radio label { - font-weight: 700; - padding: 0.2em; -} - -.groups.group-settings #group-settings-form div.radio label ul { - color: rgba(55, 55, 55, 0.6); - font-size: 14px; - font-size: 0.9333333333rem; -} - -.groups.group-avatar form > p { - margin-top: 25px; -} - -.groups.manage-members #group-settings-form .item-list li { - border-bottom: 1px solid #eaeaea; -} - -@media screen and (min-width: 650px) { - .groups.manage-members #group-settings-form .item-list li img, - .groups.manage-members #group-settings-form .item-list li h5 { - float: right; - } -} - -.groups.manage-members #group-settings-form .item-list li img > a, -.groups.manage-members #group-settings-form .item-list li h5 > a { - border-bottom: 0; -} - -.groups.manage-members #group-settings-form .item-list li span.small { - clear: right; - display: block; - float: none; - margin-top: 15px; - width: 100%; -} - -.groups.manage-members #group-settings-form .item-list li span.small a { - display: block; - margin: 5px 0; -} - -@media screen and (min-width: 650px) { - .groups.manage-members #group-settings-form .item-list li span.small a { - display: inline-block; - } -} - -.groups.manage-members #group-settings-form .item-list li h5 { - margin: 0; -} - -/** -*----------------------------------------- -* @subsection 6.2.1.2 - Group members -*----------------------------------------- -*/ -.groups.group-members #subnav li { - width: 100%; -} - -@media screen and (max-width: 450px) { - .groups.group-members #subnav li { - background: #fff; - padding: 25px 0; - } -} - -.groups.group-members #subnav li #search-members-form { - float: left; - margin: 5px 0 0 0; -} - -.groups.group-members #subnav li #search-members-form label input[type="text"] { - box-shadow: none; -} - -@media screen and (max-width: 450px) { - .groups.group-members #subnav li #search-members-form label input[type="text"] { - width: 100%; - } -} - -/** -*----------------------------------------------------- -* @subsection 6.2.2 - Item Body User Accounts -* -* User Account specific component item body rules -*----------------------------------------------------- -*/ -/** -*-------------------------------------------- -* @subsection 6.2.2.1 - classes, pag, filters -*-------------------------------------------- -*/ -.bp-user #buddypress table th { - font-size: 13px; - font-size: 0.8666666667rem; -} - -.bp-user #buddypress table td { - font-size: 12px; - font-size: 0.8rem; -} - -@media screen and (min-width: 650px) { - .bp-user #buddypress table th { - font-size: 16px; - font-size: 1.0666666667rem; - } - .bp-user #buddypress table td { - font-size: 14px; - font-size: 0.9333333333rem; - } -} - -.bp-user #buddypress .pag-count { - font-style: italic; -} - -.bp-user #buddypress .notifications-options-nav, -.bp-user #buddypress .messages-options-nav { - float: right; - width: 100%; -} - -@media screen and (min-width: 37.5em) { - .bp-user #buddypress .notifications-options-nav, - .bp-user #buddypress .messages-options-nav { - width: 40%; - } -} - -.bp-user #buddypress .notifications-options-nav select, -.bp-user #buddypress .notifications-options-nav input, -.bp-user #buddypress .messages-options-nav select, -.bp-user #buddypress .messages-options-nav input { - font-size: 14px; - font-size: 0.9333333333rem; - outline: 0; - padding: 0; -} - -.bp-user #buddypress .notifications-options-nav select, -.bp-user #buddypress .messages-options-nav select { - float: right; - margin-left: 0; - width: 49%; -} - -@media screen and (min-width: 37.5em) { - .bp-user #buddypress .notifications-options-nav select, - .bp-user #buddypress .messages-options-nav select { - width: auto; - } -} - -.bp-user #buddypress .notifications-options-nav input, -.bp-user #buddypress .messages-options-nav input { - float: right; - font-family: inherit; - line-height: 20px; - margin-right: 1%; - width: 50%; -} - -@media screen and (min-width: 37.5em) { - .bp-user #buddypress .notifications-options-nav input, - .bp-user #buddypress .messages-options-nav input { - width: auto; - } -} - -.bp-user #buddypress .notifications-options-nav input[disabled="disabled"]:focus, .bp-user #buddypress .notifications-options-nav input[disabled="disabled"]:hover, -.bp-user #buddypress .messages-options-nav input[disabled="disabled"]:focus, -.bp-user #buddypress .messages-options-nav input[disabled="disabled"]:hover { - background: none; -} - -/** - *------------------------------------------- - * @subsection 6.2.2.2 - Extended Profiles - *------------------------------------------- - */ -.bp-user #buddypress .profile .bp-widget h2 { - background: #6f6e6e; - color: #fff; - margin-bottom: 0; - padding: 0.4em; -} - -.bp-user #buddypress .profile .bp-widget table { - margin-top: 0; -} - -.bp-user #buddypress .profile #profile-edit-form .button-nav:before, -.bp-user #buddypress .profile #profile-edit-form .button-nav:after { - content: " "; - display: table; -} - -.bp-user #buddypress .profile #profile-edit-form .button-nav:after { - clear: both; -} - -.bp-user #buddypress .profile #profile-edit-form ul.button-nav { - border-bottom: 1px solid #eaeaea; - margin-right: 0; -} - -.bp-user #buddypress .profile #profile-edit-form ul.button-nav li { - float: right; - margin-bottom: 0; -} - -.bp-user #buddypress .profile #profile-edit-form ul.button-nav li.current { - border: 1px solid #eaeaea; - border-bottom-color: #fff; - margin-bottom: -1px; -} - -.bp-user #buddypress .profile #profile-edit-form ul.button-nav a { - background: none; - border: 0; - font-size: 18px; - font-size: 1.2rem; -} - -.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle { - margin: 5px 0 25px; -} - -.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle, -.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings { - font-size: 14px; - font-size: 0.9333333333rem; -} - -.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close, -.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link { - background: #6f6e6e; - -webkit-border-radius: 2px; - -moz-border-radius: 2px; - -ms-border-radius: 2px; - border-radius: 2px; - background-clip: padding-box; - color: #eee; - font-weight: 700; - padding: 0.1em 0.5em; - text-decoration: none; -} - -.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close:focus, .bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close:hover, -.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link:focus, -.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link:hover { - color: #fff; -} - -.bp-user #buddypress .profile .bp-avatar #bp-delete-avatar a { - font-size: inherit; -} - -/** - *------------------------------------------- - * @subsection 6.2.2.5 - Private Messaging - *------------------------------------------- - */ -.bp-user #buddypress #message-thread a { - border-bottom: 0; -} - -.bp-user #buddypress #message-thread #message-subject { - background: #6f6e6e; - color: #fff; - padding: 0.3em 0.2em 0.3em 0; -} - -.bp-user #buddypress #message-thread #message-recipients { - font-style: italic; -} - -.bp-user #buddypress #message-thread #message-recipients a.confirm { - border: 1px solid #eaeaea; - font-style: normal; -} - -.bp-user #buddypress #message-thread #message-recipients .highlight { - font-size: 100%; -} - -.bp-user #buddypress #message-thread .message-metadata:after { - clear: both; - content: ""; - display: table; -} - -.bp-user #buddypress #message-thread .message-metadata img.avatar { - float: none; -} - -@media screen and (min-width: 46.25em) { - .bp-user #buddypress #message-thread .message-metadata img.avatar { - float: right; - } -} - -.bp-user #buddypress #message-thread .message-metadata .message-star-actions { - float: left; - margin-left: 5px; - position: static; -} - -.bp-user #buddypress #message-thread .message-content { - background: #f7f7f7; - border: 1px solid #eaeaea; - margin: 15px 0 0 0; - padding: 0.3em; -} - -.bp-user #buddypress #message-thread #send-reply .message-content { - background: #fff; - border: 0; -} - -.bp-user #buddypress #message-thread .alt { - background: #fff; -} - -.bp-user #buddypress #message-threads thead tr { - background: #6f6e6e; -} - -.bp-user #buddypress #message-threads tr td { - background: #fff; - box-sizing: border-box; - display: inline-block; - float: right; -} - -.bp-user #buddypress #message-threads tr td.thread-star, -.bp-user #buddypress #message-threads tr td.thread-options { - border-bottom: 1px solid #ccc; - height: 2.4em; - padding-bottom: 0.2em; - padding-top: 0.2em; -} - -@media screen and (max-width: 46.25em) { - .bp-user #buddypress #message-threads tr td.thread-star, - .bp-user #buddypress #message-threads tr td.thread-options { - padding-top: 0; - } -} - -.bp-user #buddypress #message-threads tr td.thread-star { - vertical-align: middle; -} - -.bp-user #buddypress #message-threads tr td.thread-star .message-action-star, -.bp-user #buddypress #message-threads tr td.thread-star .message-action-unstar { - line-height: 1.2; -} - -.bp-user #buddypress #message-threads tr td.thread-star span.icon:before { - font-size: 14px; - font-size: 0.9333333333rem; -} - -.bp-user #buddypress #message-threads tr td.bulk-select-check, -.bp-user #buddypress #message-threads tr td.thread-from { - height: 3em; -} - -@media screen and (max-width: 37.5em) { - .bp-user #buddypress #message-threads tr td.bulk-select-check, - .bp-user #buddypress #message-threads tr td.thread-from { - height: 5.2em; - } -} - -.bp-user #buddypress #message-threads tr td.thread-from, -.bp-user #buddypress #message-threads tr td.thread-options { - border-right: 0 !important; - width: -webkit-calc(100% - 30px); - width: -moz-calc(100% - 30px); - width: calc(100% - 30px); - margin-right: 0; -} - -.bp-user #buddypress #message-threads tr td.thread-info { - padding-right: 41px; - width: 100%; -} - -.bp-user #buddypress #message-threads tr td.thread-options { - text-align: left; -} - -.bp-user #buddypress #message-threads tr td.thread-options a { - font-size: 12px; - font-size: 0.8rem; - line-height: 1.2; -} - -.bp-user #buddypress #message-threads tr span.from { - display: none; -} - -.bp-user #buddypress #message-threads tr span.activity { - display: block; - float: left; - line-height: 2; -} - -@media screen and (max-width: 37.5em) { - .bp-user #buddypress #message-threads tr span.activity { - clear: both; - font-size: 11px; - font-size: 0.7333333333rem; - width: 100%; - } -} - -.bp-user #buddypress #message-threads tr.unread td { - border-color: #eaeaea; -} - -.bp-user #buddypress #message-threads th { - display: none; -} - -.bp-user #buddypress #message-threads th.bulk-select-all { - border-bottom: 0; - display: inline-block; - text-align: right; -} - -.bp-user #buddypress #message-threads th.bulk-select-all, -.bp-user #buddypress #message-threads td.bulk-select-check, -.bp-user #buddypress #message-threads td.thread-star { - border-left: 0; - width: 30px; -} - -.bp-user #buddypress #send_message_form input, -.bp-user #buddypress #send_message_form textarea { - box-sizing: border-box; -} - -.bp-user #buddypress .acfb-holder { - list-style: none; -} - -.bp-user #buddypress .acfb-holder li { - margin-right: 0; -} - -.bp-user #buddypress .acfb-holder li.friend-tab { - background: #edf7fa; - border: inherit; - margin-left: 0; - padding: 0.5em; -} - -.bp-user #buddypress .acfb-holder li.friend-tab span.p { - padding-right: 15px; -} - -.bp-user #buddypress .acfb-holder li.friend-tab span.p:focus, .bp-user #buddypress .acfb-holder li.friend-tab span.p:hover { - color: #c82b2b; - cursor: pointer; -} - -.bp-user #buddypress .acfb-holder li.friend-tab a { - border-bottom: 0; - text-decoration: none; -} - -.bp-user #buddypress .acfb-holder li.friend-tab a img { - display: inline; - height: 20px; - vertical-align: middle; - width: 20px !important; -} - -.bp-user #buddypress #message-threads.sitewide-notices tr { - margin: 3em 0; -} - -.bp-user #buddypress #message-threads.sitewide-notices td { - width: 100%; -} - -.bp-user #buddypress #message-threads.sitewide-notices td strong { - background: #6f6e6e; - color: #fff; - display: block; - margin-bottom: 0.4em; - padding-right: 0.2em; -} - -.bp-user #buddypress #message-threads.sitewide-notices td a { - display: inline-block; -} - -.bp-user #buddypress #message-threads.sitewide-notices td a.button { - border: 1px solid #d4d0ba; - line-height: initial; - padding: 0.4em 0.3em; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:first-child { - display: none; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:nth-child(2) strong { - margin: -8px -8px 8px; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:first-child + td + td { - border-bottom: 0; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:first-child + td + td span { - line-height: 1; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:last-child { - line-height: 1; - padding-bottom: 1em; - text-align: left; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child { - line-height: 0; - margin-right: 0.7em; - text-indent: -999em; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child:after { - content: attr(title); - display: block; - line-height: initial; - text-indent: 0; -} - -.bp-user .ac_results { - background: #eee; - padding-right: 15px; -} - -.bp-user .ac_results li { - margin: 15px 0; -} - -.bp-user .ac_results li:focus, .bp-user .ac_results li:hover { - cursor: pointer; -} - -.bp-user .ac_results li img { - vertical-align: bottom; -} - -/** - *------------------------------ - * @subsection 6.2.2.6 - Settings - *------------------------------ - */ -.bp-user #buddypress #settings-form > p { - font-size: 20px; - font-size: 1.3333333333rem; - margin: 25px 0 15px; -} - -.bp-user #buddypress table.notification-settings td.yes, -.bp-user #buddypress table.notification-settings td.no { - vertical-align: middle; -} - -.bp-user #buddypress table.profile-settings { - width: 100%; -} - -.bp-user #buddypress table.profile-settings th.field-group-name, -.bp-user #buddypress table.profile-settings td.field-name { - width: 50%; -} - -@media screen and (min-width: 46.25em) { - .bp-user #buddypress table.profile-settings th.field-group-name, - .bp-user #buddypress table.profile-settings td.field-name { - width: 70%; - } -} - -.bp-user #buddypress table.profile-settings th.title, -.bp-user #buddypress table.profile-settings td.field-visibility { - width: 30%; -} - -.bp-user #buddypress table.profile-settings td.field-visibility select { - width: 100%; -} - -/** - *------------------------------------ - * @subsection 6.2.2.6 - Notifications - *------------------------------------ - */ -/** -*------------------------------------------------------------------------------- -* @section 7.0 - Forms - General -*------------------------------------------------------------------------------- -*/ -#main #buddypress .standard-form li { - float: none; -} - -#main #buddypress .standard-form input[type="text"], -#main #buddypress .standard-form input[type="email"], -#main #buddypress .standard-form input[type="password"], -#main #buddypress .standard-form textarea { - width: 100%; -} - -#buddypress div.activity-comments form .ac-textarea { - background: #f7f7f7; - border: 1px solid rgba(212, 208, 186, 0.5); -} - -#buddypress div.activity-comments form .ac-textarea textarea { - background: none; - border: 0; -} - -#buddypress .standard-form input[type="text"], -#buddypress .standard-form input[type="email"], -#buddypress .standard-form input[type="password"], -#buddypress .standard-form button, -#buddypress .standard-form select, -#buddypress .standard-form textarea { - border-color: rgba(212, 208, 186, 0.5); - border-width: 1px; -} - -#buddypress #signup_form.standard-form div.submit { - float: none; -} - -#buddypress #signup_form.standard-form div.submit input { - margin-left: 0; -} - -#buddypress div.dir-search, -#buddypress div.message-search, -#buddypress li.groups-members-search { - float: none; - margin: 15px 0; -} - -#buddypress div.dir-search form, -#buddypress div.message-search form, -#buddypress li.groups-members-search form { - border: 1px solid rgba(212, 208, 186, 0.6); - overflow: hidden; -} - -#buddypress div.dir-search form label, -#buddypress div.message-search form label, -#buddypress li.groups-members-search form label { - float: right; - width: 70%; -} - -#buddypress div.dir-search form input[type="text"], -#buddypress div.dir-search form input[type="submit"], -#buddypress div.message-search form input[type="text"], -#buddypress div.message-search form input[type="submit"], -#buddypress li.groups-members-search form input[type="text"], -#buddypress li.groups-members-search form input[type="submit"] { - border: 0; - border-radius: 0; - box-shadow: none; - box-sizing: border-box; - font-size: 14px; - font-size: 0.9333333333rem; - line-height: 1.8; - min-height: 2rem; -} - -#buddypress div.dir-search form input[type="text"], -#buddypress div.message-search form input[type="text"], -#buddypress li.groups-members-search form input[type="text"] { - border-left: 1px solid rgba(212, 208, 186, 0.6); - float: right; - margin: 0; - padding: 0 0.2em; - width: 70%; -} - -#buddypress div.dir-search form input[type="submit"], -#buddypress div.message-search form input[type="submit"], -#buddypress li.groups-members-search form input[type="submit"] { - float: left; - font-weight: 400; - padding: 0 1em; - text-align: center; - text-transform: none; - width: 30%; -} - -@media screen and (min-width: 37.5em) { - #buddypress div.dir-search, - #buddypress div.message-search, - #buddypress li.groups-members-search { - float: left; - margin-bottom: 5px !important; - } - #buddypress div.dir-search form label, - #buddypress div.dir-search form input[type="text"], - #buddypress div.dir-search form input[type="submit"], - #buddypress div.message-search form label, - #buddypress div.message-search form input[type="text"], - #buddypress div.message-search form input[type="submit"], - #buddypress li.groups-members-search form label, - #buddypress li.groups-members-search form input[type="text"], - #buddypress li.groups-members-search form input[type="submit"] { - width: auto; - } -} - -@media screen and (min-width: 800px) { - #buddypress .dir-search form input[type="text"], - #buddypress .message-search form input[type="text"] { - font-size: 16px; - font-size: 1.0666666667rem; - } - #buddypress .dir-search form input[type="submit"], - #buddypress .message-search form input[type="submit"] { - font-size: 16px; - font-size: 1.0666666667rem; - } -} - -/** -*------------------------------------------------------------------------------- -* @section 8.0 - Tables - General -*------------------------------------------------------------------------------- -*/ -.bp-user #buddypress table { - font-size: 14px; - font-size: 0.9333333333rem; - margin: 25px 0; -} - -.bp-user #buddypress table tr th { - background: #6f6e6e; - border-color: #b7b7b7; - color: #fff; - font-size: 16px; - font-size: 1.0666666667rem; - padding: 0 8px; - text-transform: capitalize; -} - -.bp-user #buddypress table tr td { - padding: 8px; -} - -.bp-user #buddypress table p { - margin-bottom: 0.5em; -} - -@media screen and (min-width: 55em) { - .bp-user #buddypress table { - font-size: 16px; - font-size: 1.0666666667rem; - } -} - -.bp-user #buddypress .notifications th, -.bp-user #buddypress .messages-notices th { - width: 30%; -} - -.bp-user #buddypress .notifications th.bulk-select-all, -.bp-user #buddypress .messages-notices th.bulk-select-all { - text-align: center; - width: 10%; -} - -.bp-user #buddypress .notifications th.actions, -.bp-user #buddypress .messages-notices th.actions { - text-align: center; -} - -.bp-user #buddypress .notifications .bulk-select-check, -.bp-user #buddypress .notifications .thread-star, -.bp-user #buddypress .messages-notices .bulk-select-check, -.bp-user #buddypress .messages-notices .thread-star { - text-align: center; -} - -.bp-user #buddypress .notifications .notification-actions, -.bp-user #buddypress .notifications td.thread-options, -.bp-user #buddypress .messages-notices .notification-actions, -.bp-user #buddypress .messages-notices td.thread-options { - text-align: center; -} - -.bp-user #buddypress .notifications .notification-actions a, -.bp-user #buddypress .notifications td.thread-options a, -.bp-user #buddypress .messages-notices .notification-actions a, -.bp-user #buddypress .messages-notices td.thread-options a { - display: inline-block; - margin: 0; - padding: 0; -} - -.bp-user #buddypress .notifications td .button, -.bp-user #buddypress .messages-notices td .button { - border: 0; - display: block; - padding: 0; - text-align: center; -} - -/** -*------------------------------------------------------------------------------- -* @section 9.0 - Error / Success messages -*------------------------------------------------------------------------------- -*/ -#buddypress div#message p { - font-size: 18px; - font-size: 1.2rem; - font-weight: 700; -} - -#buddypress div#message.info p { - background: #c6e4ee; - border: 1px solid #78bed6; - color: #1e5264; -} - -#buddypress div#message.updated p { - background: #dee6b2; - border: 1px solid #becc66; - color: #454d19; -} - -.delete-group #buddypress div#message.info p { - background: #db7e7e; - border: 1px solid #be3535; - color: #1f0808; -} - -/** -*------------------------------------------------------------------------------- -* @section 10.0 - Ajax Loading, Widgets, General classes -*------------------------------------------------------------------------------- -*/ diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/023/023.test.js b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/023/023.test.js deleted file mode 100644 index 05020f46a2b53c..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/023/023.test.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -const stylelint = require( 'stylelint' ), - systemTestUtils = require( '../systemTestUtils.js' ); - -it( '023', () => { - return stylelint.lint({ - files: [systemTestUtils.caseStylesheetGlob( '023' )], - configFile: systemTestUtils.caseConfig( '023' ), - }).then( ({ results }) => { - expect( systemTestUtils.prepResults( results ) ).toMatchSnapshot(); - }); -}); diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/023/__snapshots__/023.test.js.snap b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/023/__snapshots__/023.test.js.snap deleted file mode 100644 index 769175ffc2d8a9..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/023/__snapshots__/023.test.js.snap +++ /dev/null @@ -1,814 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`023 1`] = ` -Array [ - Object { - "deprecations": Array [], - "errored": true, - "ignored": undefined, - "invalidOptionWarnings": Array [], - "parseErrors": Array [], - "source": "023/stylesheet.css", - "warnings": Array [ - Object { - "column": 1, - "line": 57, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 2, - "line": 153, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 455, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 809, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 1008, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 1111, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 2, - "line": 80, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 91, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 97, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 116, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 187, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 228, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 242, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 246, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 250, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 256, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 260, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 264, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 270, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 276, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 352, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 367, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 387, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 392, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 412, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 432, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 439, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 465, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 473, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 478, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 481, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 484, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 488, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 491, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 516, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 519, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 565, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 570, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 573, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 577, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 621, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 662, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 699, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 710, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 729, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 733, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 738, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 743, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 758, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 761, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 795, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 799, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 815, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 822, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 831, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 839, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 843, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 847, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 861, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 867, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 871, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 875, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 878, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 882, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 885, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 900, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 916, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 923, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 927, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 930, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 934, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 963, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 967, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 971, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1039, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1097, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1113, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1119, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1133, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1157, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1169, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1173, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1188, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1194, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1200, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1204, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1208, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1211, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1244, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1248, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1255, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1259, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1276, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1300, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1321, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1401, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1442, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1489, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1501, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1542, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1703, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1818, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1824, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1838, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1843, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1872, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1931, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 46, - "line": 633, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 48, - "line": 638, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 80, - "line": 785, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 61, - "line": 1592, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 30, - "line": 1669, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 3, - "line": 442, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '0 0 10px 0' instead of '0 0 10px' (shorthand-property-no-redundant-values)", - }, - Object { - "column": 2, - "line": 1456, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '10px 0 0 0' instead of '10px 0 0' (shorthand-property-no-redundant-values)", - }, - ], - }, -] -`; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/023/config.json b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/023/config.json deleted file mode 100644 index a8af7d5dcb61b9..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/023/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../index.js" -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/023/stylesheet.css b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/023/stylesheet.css deleted file mode 100644 index 1cb67f472d1aa1..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/023/stylesheet.css +++ /dev/null @@ -1,1964 +0,0 @@ -/*------------------------------------------------------------------------------ - -This is the BuddyPress companion stylesheet for -the WordPress Twentyfifteen theme. - -This sheet supports the primary BuddyPress styles in buddypress.css - -If you are running as a child theme of twentyfifteen this stylesheet will be -loaded by default. If you want to modify the styles the normal BP Theme Compat -hierarchy works and you can copy the file to buddypress/css/ or community/css/ -in your child themes root & either start over or modify the rulesets. - -If you do not require the styles you can dequeue them from the themes -functions file. - -Please see this codex article for more information: -http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ - --------------------------------------------------------------------------------- ->>> TABLE OF CONTENTS: --------------------------------------------------------------------------------- -1.0 Theme Structural Elements & overrides -2.0 - Navigation - General - 2.1 - Navs - Object Nav / Sub Nav (item-list-tabs) - 2.2 - Pagination -3.0 - Images -4.0 - BP Lists / Loops Generic - 4.1 - Activity Loop - 4.1.1 Whats New Activity - 4.1.2 - Activity Listing - 4.1.3 - Activity Comments - 4.2 - Members Loop - 4.3 - Groups Loop - 4.4 - Blogs Loop -5.0 - Directories - Members, Groups, Blogs, Forums -6.0 - Single Item screens: User Account & Single Group Screens - 6.1 - Item Headers: Global - 6.1.1 - item-header: Groups - 6.1.2 - item-header: User Accounts - 6.2 - Item Body: Global - 6.2.1 - item-body: Groups - 6.2.1.1 - Management settings screens - 6.2.1.2 - Group members list - 6.2.1.3 - Group Send Invites - 6.2.2 - item-body: User Accounts - 6.2.2.1 - classes, pag, filters - 6.2.2.2 - Extended Profiles - 6.2.2.3 - Groups - 6.2.2.4 - friends - 6.2.2.5 - Private Messaging Threads - 6.2.2.6 - Settings -7.0 - Forms - General -8.0 - Tables - General -9.0 - Error / Success Messages -10.0 - Ajax Loading, Widgets, General classes -------------------------------------------------------------------------------*/ -/** -*------------------------------------------------------------------------------- -* @section 1.0 - Theme - Structural Elements & overrides -*------------------------------------------------------------------------------- -*/ -#buddypress h1, -#buddypress h2, -#buddypress h3, -#buddypress h4, -#buddypress h5, -#buddypress h6 { - clear: none; -} - -.buddypress div.clear { - display: none; -} - -.buddypress main { - padding-top: 4%; -} - -@media screen and (min-width: 59.6875em) { - .buddypress main { - padding-top: 0; - } -} - -.buddypress main article { - margin: 0 4%; - padding-top: 8.3333%; -} - -@media screen and (min-width: 59.6875em) { - .buddypress main article { - margin: 0 1px 0 0; - } -} - -@media screen and (min-width: 87.6875em) { - .buddypress main article { - margin: 0 8.3333% 0 4.3333%; - } -} - -.buddypress main article .entry-header, -.buddypress main article .entry-content { - padding: 0 3rem 3rem; -} - -.buddypress main article #buddypress { - margin-bottom: 40px; -} - -.buddypress .site-footer { - margin: 0 4%; -} - -@media screen and (min-width: 59.6875em) { - .buddypress .site-footer { - margin: 0 35.2941% 0 0; - width: 61.8235%; - } -} - -/** -*------------------------------------------------------------------------------- -* @section 2.0 - Navigation - General -*------------------------------------------------------------------------------- -*/ -.buddypress #buddypress .item-list-tabs a, -.buddypress #buddypress .activity-header a, -.buddypress #buddypress .activity-inner a, -.buddypress #buddypress .activity-comments a, -.buddypress #buddypress .item-title a, -.buddypress #buddypress .load-more a, -.buddypress #buddypress .field-visibility-settings-toggle a, -.buddypress #buddypress #latest-update a, -.buddypress #buddypress table a, -.buddypress #buddypress .avatar-nav-items a { - border-bottom: 0; -} - -.buddypress #buddypress .pagination-links a, -.buddypress #buddypress .pagination-links span { - border-bottom: 0; -} - -/** -*---------------------------------------------------------- -* @section 2.1 - Navs Object Nav / Sub Nav (item-list-tabs) -* -* The main navigational elements for all BP screens -*---------------------------------------------------------- -*/ -#buddypress { - /*__ Horizontal menus __*/ -} - -#buddypress div.item-list-tabs ul li.selected a { - background: #555; - color: #fff; - opacity: 1; -} - -#buddypress div.item-list-tabs ul { - background-color: #f7f7f7; - border-bottom: 1px solid rgba(234, 234, 234, 0.9); - border-top: 1px solid rgba(234, 234, 234, 0.9); - overflow: hidden; - padding: 5px 0; -} - -#buddypress div.item-list-tabs ul li a span { - border-radius: 25%; -} - -#buddypress #object-nav ul { - overflow: hidden; -} - -#buddypress #object-nav ul li { - float: none; -} - -#buddypress #object-nav ul li:not(.selected) a { - opacity: 0.7; -} - -@media screen and (min-width: 38.75em) { - #buddypress #object-nav ul li { - float: right; - } -} - -#buddypress div#subnav.item-list-tabs { - margin-top: 0; -} - -#buddypress div#subnav.item-list-tabs ul { - background-color: #f7f7f7; - border-bottom: 0; - padding: 0; -} - -#buddypress div#subnav.item-list-tabs ul li.last { - background: #fff; - margin-top: 0; - padding: 5px 0 5px 5px; - width: 100%; -} - -#buddypress div#subnav.item-list-tabs ul li.last select, -#buddypress div#subnav.item-list-tabs ul li.last select:focus { - background: transparent; - border: 0; - outline: 0; -} - -#buddypress div#subnav.item-list-tabs ul li.last select, -#buddypress div#subnav.item-list-tabs ul li.last label, -#buddypress div#subnav.item-list-tabs ul li.last option { - font-size: 14px; - font-size: 1.4rem; -} - -#buddypress div#subnav.item-list-tabs ul li.last select { - font-style: italic; -} - -@media screen and (min-width: 38.75em) { - #buddypress div#subnav.item-list-tabs ul li.last { - text-align: left; - } -} - -#buddypress div.item-list-tabs ul li.selected a, -#buddypress div.item-list-tabs ul li.current a { - background: #555; - color: #fff; - opacity: 1; -} - -/*__ Vertical menu User Account / Group single screens __*/ -@media screen and (min-width: 55em) { - .bp-user #buddypress, - .single-item.groups #buddypress { - background: #f7f7f7; - } - #buddypress #item-header, - #buddypress #item-body { - background: #fff; - } - #buddypress #object-nav { - border-left: 1px solid #ddd; - float: right; - margin-left: -1px; - width: 200px; - } - #buddypress #object-nav ul { - border-bottom: 0; - padding: 0; - } - #buddypress #object-nav ul li { - float: none; - overflow: hidden; - } - #buddypress #object-nav ul li span { - background: #fff; - border-radius: 10%; - float: left; - margin-left: 2px; - } - #buddypress #item-body { - border-right: 1px solid #ddd; - overflow: hidden; - padding: 0 20px 0 0; - width: auto; - } - #buddypress #item-body #subnav { - margin: 0 -20px 0 0; - } -} - -/** -*---------------------------------------------------------- -* @section 2.2 - Pagination -*---------------------------------------------------------- -*/ -#buddypress div.pagination { - box-shadow: none; -} - -#buddypress div.pagination .pag-count { - margin-right: 0; -} - -#buddypress div.pagination .pagination-links { - margin-left: 0; -} - -#buddypress div.pagination .pagination-links span, -#buddypress div.pagination .pagination-links a { - height: auto; - line-height: 1; - padding: 5px; -} - -#buddypress div.pagination .pagination-links .prev, -#buddypress div.pagination .pagination-links .next { - background-color: transparent; - color: inherit; - overflow: visible; - width: auto; -} - -#buddypress div.pagination .pagination-links .prev:before, -#buddypress div.pagination .pagination-links .next:before { - display: none; -} - -#buddypress div.pagination .pagination-links .prev { - right: auto; - position: static; -} - -#buddypress div.pagination .pagination-links .next { - position: static; - left: auto; -} - -/** -*------------------------------------------------------------------------------- -* @section 4.0 - BP Lists / Loops Generic -*------------------------------------------------------------------------------- -*/ -#buddypress .item-list .activity-header, -#buddypress .item-list .activity-meta { - font-family: "Noto Sans", sans-serif; -} - -#buddypress .item-list a.activity-time-since { - color: #717171; -} - -#buddypress ul.item-list li { - overflow: hidden !important; -} - -#buddypress ul.item-list li .item-avatar { - margin-bottom: 10px; - text-align: center; -} - -@media screen and (min-width: 38.75em) { - #buddypress ul.item-list li .item-avatar { - margin-bottom: 0; - } -} - -#buddypress ul.item-list li .item-avatar a { - border-bottom: 0; -} - -#buddypress ul.item-list li .item-avatar img.avatar { - display: inline-block; - float: none; -} - -@media screen and (min-width: 38.75em) { - #buddypress ul.item-list li .item-avatar img.avatar { - display: block; - float: right; - } -} - -#buddypress ul.item-list li .item { - margin-right: 25%; -} - -#buddypress ul.item-list li .item span.activity { - font-style: italic; -} - -#buddypress ul.item-list li .item .item-desc { - margin-right: 0; - width: 70%; -} - -@media screen and (min-width: 59.6875em) { - #buddypress ul.item-list li .item-avatar, - #buddypress ul.item-list li .item, - #buddypress ul.item-list li .action { - float: right; - } - #buddypress ul.item-list li .item { - right: 10%; - margin-right: 0; - position: relative; - width: 55%; - } -} - -#buddypress ul.item-list li div.action { - clear: right; - float: none; - margin-bottom: -20px; - margin-right: 0; - padding: 20px 0 5px; - position: relative; - text-align: right; - top: 0; -} - -@media screen and (min-width: 59.6875em) { - #buddypress ul.item-list li div.action { - clear: none; - float: left; - margin-bottom: 0; - padding: 0; - } -} - -#buddypress ul.item-list li div.action div { - display: inline-block; - margin: 10px 0; - width: 100%; -} - -#buddypress ul.item-list li div.action div a { - display: block; - width: 100%; -} - -@media screen and (min-width: 38.75em) { - #buddypress ul.item-list li div.action div { - margin: 0 0 10px 10px; - width: auto; - } -} - -@media screen and (min-width: 59.6875em) { - #buddypress ul.item-list li div.action div { - clear: left; - float: left; - margin: 0 0 10px 0; - } -} - -#buddypress ul.item-list li div.action .meta { - font-style: italic; -} - -/** -*---------------------------------------------------------- -* @section 4.1 - Activity -*---------------------------------------------------------- -*/ -/** -*----------------------------------------------------- -* @section 4.1.1 - Activity Whats New -*----------------------------------------------------- -*/ -#buddypress form#whats-new-form p.activity-greeting { - line-height: 1.4; -} - -@media screen and (max-width: 30em) { - #buddypress form#whats-new-form #whats-new-post-in-box select { - font-size: 14px; - font-size: 1.4rem; - max-width: 120px; - } -} - -@media screen and (max-width: 38.75em) { - #buddypress form#whats-new-form #whats-new-content { - clear: right; - margin: 10px 0 40px; - padding: 10px 0 0; - } - #buddypress form#whats-new-form #whats-new-content #whats-new-submit { - float: none; - } - #buddypress form#whats-new-form #whats-new-content #whats-new-submit input { - width: 100%; - } - #buddypress form#whats-new-form #whats-new-options { - display: flex; - flex-direction: column; - } - #buddypress form#whats-new-form #whats-new-options #whats-new-submit { - order: 2; - } - #buddypress form#whats-new-form #whats-new-options #whats-new-post-in-box { - order: 1; - } -} - -#buddypress form#whats-new-form #whats-new-options[style] #whats-new-post-in-box { - border: 1px solid rgba(153, 153, 153, 0.5); - float: right; - line-height: 1.5; - margin-top: 12px; - padding-right: 0.2em; - width: 100%; -} - -#buddypress form#whats-new-form #whats-new-options[style] #whats-new-post-in-box select { - background: none; - border: 0; - float: left; - margin: 0; - min-height: 1.5em; - outline: 0; - padding-right: 0.4em; -} - -@media screen and (min-width: 30em) { - #buddypress form#whats-new-form #whats-new-options[style] #whats-new-post-in-box { - width: auto; - } - #buddypress form#whats-new-form #whats-new-options[style] #whats-new-submit { - float: left; - } -} - -#buddypress #item-body form#whats-new-form { - margin: 40px 0; -} - -/** -*----------------------------------------------------- -* @section 4.1.2 - Activity Listing -*----------------------------------------------------- -*/ -#buddypress #activity-stream li { - padding: 25px 0 15px; -} - -#buddypress #activity-stream li .activity-avatar { - float: none; - text-align: center; -} - -#buddypress #activity-stream li .activity-avatar a { - display: inline-block; -} - -#buddypress #activity-stream li .activity-avatar a img.avatar { - display: inline; - float: none; - height: 60px; - margin-bottom: 20px; - margin-right: 0; - width: 60px; -} - -#buddypress #activity-stream li .activity-content { - margin-right: 0; -} - -#buddypress #activity-stream li .activity-content .activity-header { - font-size: 14px; - font-size: 1.4rem; -} - -@media screen and (min-width: 46.25em) { - #buddypress #activity-stream li .activity-avatar { - float: right; - margin-left: 10px; - text-align: right; - } - #buddypress #activity-stream li .activity-avatar a { - border-bottom: 0; - } - #buddypress #activity-stream li .activity-content { - margin: 0; - overflow: hidden; - } - #buddypress #activity-stream li .activity-content .activity-header { - font-size: 16px; - font-size: 1.6rem; - } -} - -#buddypress #activity-stream li.mini .activity-avatar a img.avatar { - height: 30px; - margin-right: 15px; - width: 30px; -} - -#buddypress #activity-stream li.mini .activity-content .activity-header { - font-size: 13px; - font-size: 1.3rem; -} - -#buddypress #activity-stream .activity-content { - margin-top: -12px; -} - -#buddypress #activity-stream .activity-content .activity-header { - line-height: inherit; - margin-left: 0; -} - -#buddypress #activity-stream .activity-content .activity-header p { - background-color: #f7f7f7; - border: 1px solid rgba(234, 234, 234, 0.6); - color: #717171; - padding: 0 0.2em; -} - -#buddypress #activity-stream .activity-content .activity-header img.avatar { - display: inline-block; - margin-bottom: 0 !important; -} - -#buddypress #activity-stream .activity-content .activity-meta a { - display: block; - margin: 0 0 5px; -} - -@media screen and (min-width: 38.75em) { - #buddypress #activity-stream .activity-content .activity-meta a { - display: inline-block; - margin: 0; - } -} - -#buddypress #activity-stream .load-more { - background: #f7f7f7; - border: 1px solid transparent; - padding: 10px; -} - -#buddypress #activity-stream .load-more:focus, #buddypress #activity-stream .load-more:hover { - background: #f4f4f4; - border: 1px solid rgba(159, 209, 226, 0.3); -} - -#buddypress #activity-stream .load-more:focus a, #buddypress #activity-stream .load-more:hover a { - font-style: italic; -} - -#buddypress #activity-stream .load-more a { - display: block; -} - -/* Single activity view - activity permalink */ -.activity-permalink #buddypress { - background: none; -} - -.activity-permalink #buddypress #activity-stream li.activity-item { - padding: 20px 0; -} - -.activity-permalink #buddypress #activity-stream li.mini .activity-header { - font-size: 16px; - font-size: 1.6rem; - margin-bottom: 40px; -} - -@media screen and (min-width: 46.25em) { - .activity-permalink #buddypress #activity-stream li.mini .activity-header { - font-size: 20px; - font-size: 2rem; - } -} - -.activity-permalink #buddypress #activity-stream li.mini .activity-header p { - padding: 20px; -} - -/** -*----------------------------------------------------- -* @section 4.1.3 - Activity Comments -*----------------------------------------------------- -*/ -#buddypress #activity-stream .activity-comments { - margin: 10px 0 0; -} - -#buddypress #activity-stream .activity-comments a { - color: #717171; -} - -#buddypress #activity-stream .activity-comments.has-comments { - border-right: 1px solid #eaeaea; -} - -#buddypress #activity-stream .activity-comments .ac-form { - padding: 20px 0 0; -} - -#buddypress #activity-stream .activity-comments > ul { - background: rgba(247, 247, 247, 0.6); - margin: 15px 2px 0 0; -} - -@media screen and (min-width: 38.75em) { - #buddypress #activity-stream .activity-comments > ul { - margin-right: 70px; - } -} - -#buddypress #activity-stream .activity-comments > ul ul { - margin-right: 1%; - padding-right: 0; -} - -@media screen and (min-width: 30em) { - #buddypress #activity-stream .activity-comments > ul ul { - margin-right: 1%; - padding-right: 1em; - } -} - -#buddypress #activity-stream .activity-comments > ul ul li { - border-right: 1px solid #eaeaea; - border-top: 0; - padding-right: 0.2em; -} - -#buddypress #activity-stream .activity-comments > ul .acomment-meta { - border-bottom: 1px solid #eaeaea; - color: #737373; - font-style: italic; -} - -@media screen and (max-width: 38.75em) { - #buddypress #activity-stream .activity-comments > ul .acomment-avatar { - display: block; - text-align: center; - } - #buddypress #activity-stream .activity-comments > ul .acomment-avatar a, - #buddypress #activity-stream .activity-comments > ul .acomment-avatar img.avatar { - display: inline; - float: none; - } - #buddypress #activity-stream .activity-comments > ul .acomment-content, - #buddypress #activity-stream .activity-comments > ul .acomment-meta, - #buddypress #activity-stream .activity-comments > ul .acomment-options { - margin: 5px; - } - #buddypress #activity-stream .activity-comments > ul .acomment-content { - padding: 0 10px; - } -} - -#buddypress #activity-stream .activity-comments .ac-reply-avatar { - display: none; -} - -#buddypress #activity-stream .activity-comments .ac-reply-content { - margin-right: 0; - padding-right: 0; -} - -@media screen and (min-width: 38.75em) { - #buddypress #activity-stream .activity-comments .ac-reply-avatar { - display: block; - } - #buddypress #activity-stream .activity-comments .ac-reply-content { - overflow: hidden; - } -} - -#buddypress #activity-stream .activity-comments .ac-form input[type="submit"], -#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel { - color: rgba(51, 51, 51, 0.8); - display: inline-block; - font-family: inherit; - font-size: 12px; - font-size: 1.2rem; - font-weight: 400; - line-height: 1.2; - padding: 4px 10px; - text-transform: lowercase; - width: 100px; -} - -#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel { - border: 1px solid rgba(153, 153, 153, 0.7); - text-align: center; -} - -#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:focus, #buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:hover { - background: #ededed; -} - -/** -*---------------------------------------------------------- -* @section 4.2 - Members Loop -*---------------------------------------------------------- -*/ -@media screen and (min-width: 59.6875em) { - #buddypress #members-list li .item-avatar, - #buddypress #members-list li .item { - float: right; - } - #buddypress #members-list li .action { - float: left; - } -} - -/** -*------------------------------------------------------------------------------- -* @section 6.0 - Single Item screens: User Account & Single Group Screens -*------------------------------------------------------------------------------- -*/ -/** -*----------------------------------------------------------- -* @subsection 6.1 - Item Header Global -*----------------------------------------------------------- -*/ -@media screen and (max-width: 46.25em) { - .bp-user main header.entry-header, - .single-item.groups main header.entry-header { - padding-bottom: 1rem; - } -} - -@media screen and (max-width: 38.75em) { - .bp-user h1, - .bp-user #item-header-content, - .single-item.groups h1, - .single-item.groups #item-header-content { - text-align: center; - } -} - -@media screen and (max-width: 46.25em) { - .bp-user #buddypress #item-header .generic-button, - .single-item.groups #buddypress #item-header .generic-button { - float: none; - margin: 1.5em 0 0; - } -} - -@media screen and (max-width: 38.75em) { - .bp-user #buddypress h1, - .single-item.groups #buddypress h1 { - margin-bottom: 0; - } - .bp-user #buddypress #item-header-avatar img.avatar, - .single-item.groups #buddypress #item-header-avatar img.avatar { - margin-left: 0; - } - .bp-user #buddypress #item-header-content, - .single-item.groups #buddypress #item-header-content { - width: 100%; - } -} - -/** -*----------------------------------------------------- -* @subsection 6.1.1 - item-header Groups -* -* Group Specific Item Header -*----------------------------------------------------- -*/ -@media screen and (max-width: 46.25em) { - .single-item.groups #buddypress #item-header #item-meta { - margin-bottom: 20px; - } -} - -@media screen and (max-width: 38.75em) { - .single-item.groups #buddypress div#item-header { - display: flex; - flex-direction: column; - } - .single-item.groups #buddypress div#item-header #item-header-avatar { - order: 1; - text-align: center; - } - .single-item.groups #buddypress div#item-header #item-header-avatar a { - border-bottom: 0; - } - .single-item.groups #buddypress div#item-header #item-header-avatar a img { - display: inline-block; - float: none; - } - .single-item.groups #buddypress div#item-header #item-header-content { - order: 2; - } - .single-item.groups #buddypress div#item-header #item-actions { - order: 3; - } -} - -.single-item.groups #buddypress div#item-header { - padding-bottom: 40px; -} - -.single-item.groups #buddypress div#item-header div#item-actions { - margin: 0; - width: 100%; -} - -@media screen and (min-width: 38.75em) { - .single-item.groups #buddypress div#item-header div#item-actions { - clear: none; - float: left; - width: 50%; - } -} - -.single-item.groups #buddypress div#item-header div#item-actions h2 { - background: #555; - color: #fff; - font-size: 14px; - font-size: 1.4rem; - padding: 0.2em; -} - -@media screen and (min-width: 46.25em) { - .single-item.groups #buddypress div#item-header div#item-actions h2 { - font-size: 16px; - font-size: 1.6rem; - } -} - -@media screen and (min-width: 46.25em) { - .single-item.groups #buddypress div#item-header #item-header-avatar, - .single-item.groups #buddypress div#item-header #item-header-content { - float: right; - } - .single-item.groups #buddypress div#item-header #item-header-avatar { - width: 21%; - } - .single-item.groups #buddypress div#item-header #item-header-content { - margin-right: 4%; - width: 40%; - } - .single-item.groups #buddypress div#item-header div#item-actions { - float: left; - width: 28%; - } -} - -/** -*----------------------------------------------------- -* @subsection 6.1.2 - Item Header User Accounts -* -* User Accounts Specific Item Header -*----------------------------------------------------- -*/ -.bp-user #buddypress #item-header { - padding: 20px 0; -} - -.bp-user #buddypress #item-header #item-header-avatar { - text-align: center; - width: 100%; -} - -.bp-user #buddypress #item-header #item-header-avatar a { - border-bottom: 0; - display: inline-block; - float: none; -} - -@media screen and (min-width: 46.25em) { - .bp-user #buddypress #item-header #item-header-avatar { - float: right; - width: 20%; - } - .bp-user #buddypress #item-header #item-header-avatar img.avatar, - .bp-user #buddypress #item-header #item-header-avatar a { - float: right; - } - .bp-user #buddypress #item-header #item-header-content { - float: left; - margin-left: 5%; - width: 69%; - } -} - -/** -*----------------------------------------------------------- -* @subsection 6.2 - Item Body: Global -*----------------------------------------------------------- -*/ -#item-body h1, -#item-body h2, -#item-body h3, -#item-body h4, -#item-body h5, -#item-body h6 { - margin: 1em 0; -} - -#item-body h1 a, -#item-body h2 a, -#item-body h3 a, -#item-body h4 a, -#item-body h5 a, -#item-body h6 a { - border-bottom: 0; -} - -/** -*---------------------------------------------------- -* @subsection 6.2.1 - Item Body Groups -* -* Groups specific item body rules - screens -*---------------------------------------------------- -*/ -/** -*----------------------------------------- -* @subsection 6.2.1.1 - Group Management -*----------------------------------------- -*/ -.groups #group-settings-form h3 { - background: #555; - color: #fff; - padding: 0.2em; -} - -.groups #group-settings-form #request-list h4 { - background: none; - color: inherit; -} - -.groups.edit-details #group-settings-form label { - background: #555; - -webkit-border-top-left-radius: 4px; - border-top-left-radius: 4px; - -webkit-border-top-right-radius: 4px; - border-top-right-radius: 4px; - background-clip: padding-box; - color: #fff; - display: inline-block; - margin-bottom: 0; - padding: 0.2em; - width: 80%; -} - -@media screen and (min-width: 38.75em) { - .groups.edit-details #group-settings-form label { - width: 60%; - } -} - -.groups.edit-details #group-settings-form textarea + p label { - background: none; - color: inherit; - font-size: 14px; - font-size: 1.4rem; - width: auto; -} - -.groups.group-settings #group-settings-form div.radio label, -.groups.group-settings #create-group-form div.radio label { - border: 1px solid #eaeaea; - padding: 0.2em; -} - -.groups.group-settings #group-settings-form div.radio ul, -.groups.group-settings #create-group-form div.radio ul { - color: #767676; - font-size: 14px; - font-size: 1.4rem; -} - -.groups.group-avatar form > p { - margin-top: 20px; -} - -.groups.manage-members #group-settings-form .item-list li { - border-bottom: 1px solid #eaeaea; -} - -.groups.manage-members #group-settings-form .item-list li img, -.groups.manage-members #group-settings-form .item-list li h5 { - float: right; -} - -.groups.manage-members #group-settings-form .item-list li img > a, -.groups.manage-members #group-settings-form .item-list li h5 > a { - border-bottom: 0; -} - -.groups.manage-members #group-settings-form .item-list li span.small { - clear: right; - display: block; - float: none; - margin-top: 10px; -} - -.groups.manage-members #group-settings-form .item-list li span.small a { - display: inline-block; - margin: 5px 0; - width: 100%; -} - -@media screen and (min-width: 38.75em) { - .groups.manage-members #group-settings-form .item-list li span.small a { - width: auto; - } -} - -.groups.manage-members #group-settings-form .item-list li h5 { - margin: 0; -} - -/** -*----------------------------------------- -* @subsection 6.2.1.2 - Group members -*----------------------------------------- -*/ -/* Members loop */ -@media screen and (max-width: 30em) { - .groups.group-members #buddypress #members-group-list li > a { - border-bottom: 0; - display: block; - margin-bottom: 10px; - text-align: center; - } - .groups.group-members #buddypress #members-group-list li > a img.avatar { - display: inline; - float: none; - } -} - -.groups.group-members #buddypress #members-group-list li h5 { - display: inline-block; - font-size: 14px; - font-size: 1.4rem; - margin: 0; -} - -@media screen and (min-width: 59.6875em) { - .groups.group-members #buddypress #members-group-list li h5 { - font-size: 16px; - font-size: 1.6rem; - } -} - -.groups.group-members #buddypress #members-group-list li h5 a { - border-bottom: 0; -} - -.groups.group-members #buddypress #members-group-list li span.activity { - font-size: 12px; - font-size: 1.2rem; -} - -.groups.group-members #buddypress #members-group-list li .action { - top: 0; -} - -.groups.group-members #subnav li { - width: 100%; -} - -@media screen and (max-width: 38.75em) { - .groups.group-members #subnav li { - background: #fff; - padding: 20px 0; - } -} - -.groups.group-members #subnav li #search-members-form { - float: left; - margin: 5px 0 0 5px; -} - -@media screen and (max-width: 38.75em) { - .groups.group-members #subnav li #search-members-form { - margin: 0; - width: 100%; - } - .groups.group-members #subnav li #search-members-form label input[type="text"] { - width: 100%; - } -} - -/** -*----------------------------------------- -* @subsection 6.2.1.3 - Group Send Invites -*----------------------------------------- -*/ -.groups.group-invites #item-body .item-list .action { - margin-bottom: 0; -} - -@media screen and (min-width: 46.25em) { - .groups.group-invites #buddypress #item-body #message { - margin-top: 0; - } -} - -@media screen and (min-width: 55em) { - .groups.group-invites #buddypress #send-invite-form { - margin-top: 0; - } -} - -@media screen and (max-width: 46.25em) { - .groups.group-invites #item-body .left-menu { - float: none; - margin: 10px 0; - } - .groups.group-invites #item-body .left-menu #invite-list { - height: auto; - width: auto; - } - .groups.group-invites #item-body .main-column { - margin-right: 0; - } - .groups.group-invites #item-body .submit input { - display: inline-block; - width: 100%; - } -} - -/** -*----------------------------------------------------- -* @subsection 6.2.2 - Item Body User Accounts -* -* User Account specific item body rules -*----------------------------------------------------- -*/ -.bp-user .entry-title { - margin-bottom: 0.5em; -} - -/** -*-------------------------------------------- -* @subsection 6.2.2.1 - classes, pag, filters -*-------------------------------------------- -*/ -.bp-user #buddypress table th { - font-size: 14px; - font-size: 1.4rem; -} - -.bp-user #buddypress table td { - font-size: 12px; - font-size: 1.2rem; -} - -@media screen and (min-width: 46.25em) { - .bp-user #buddypress table th { - font-size: 16px; - font-size: 1.6rem; - } - .bp-user #buddypress table td { - font-size: 14px; - font-size: 1.4rem; - } -} - -@media screen and (min-width: 77.5em) { - .bp-user #buddypress table th { - font-size: 18px; - font-size: 1.8rem; - } - .bp-user #buddypress table td { - font-size: 16px; - font-size: 1.6rem; - } -} - -.bp-user #buddypress .pag-count { - font-style: italic; -} - -.bp-user #buddypress .notifications-options-nav, -.bp-user #buddypress .messages-options-nav { - float: right; - width: 100%; -} - -@media screen and (min-width: 30em) { - .bp-user #buddypress .notifications-options-nav, - .bp-user #buddypress .messages-options-nav { - width: 50%; - } -} - -.bp-user #buddypress .notifications-options-nav select, -.bp-user #buddypress .notifications-options-nav input, -.bp-user #buddypress .messages-options-nav select, -.bp-user #buddypress .messages-options-nav input { - font-size: 14px; - font-size: 1.4rem; - outline: 0; - padding: 0; -} - -.bp-user #buddypress .notifications-options-nav select, -.bp-user #buddypress .messages-options-nav select { - float: right; - margin-left: 0; - width: 100%; -} - -@media screen and (min-width: 30em) { - .bp-user #buddypress .notifications-options-nav select, - .bp-user #buddypress .messages-options-nav select { - width: 60%; - } -} - -.bp-user #buddypress .notifications-options-nav input, -.bp-user #buddypress .messages-options-nav input { - float: left; - font-family: "Noto Serif", serif; - line-height: 1.5; - margin-top: 10px; - width: 100%; -} - -.bp-user #buddypress .notifications-options-nav input[disabled]:hover, -.bp-user #buddypress .messages-options-nav input[disabled]:hover { - background: none; -} - -@media screen and (min-width: 30em) { - .bp-user #buddypress .notifications-options-nav input, - .bp-user #buddypress .messages-options-nav input { - margin-top: 0; - width: 38%; - } -} - -/** - *------------------------------------------- - * @subsection 6.2.2.2 - Extended Profiles - *------------------------------------------- - */ -.bp-user #buddypress .profile .bp-widget h2 { - background: #6f6e6e; - color: #fff; - margin-bottom: 0; - padding: 0.4em; -} - -.bp-user #buddypress .profile .bp-widget table { - margin-top: 0; -} - -/* Edit Profile */ -.bp-user #buddypress .profile #profile-edit-form .button-nav:before, -.bp-user #buddypress .profile #profile-edit-form .button-nav:after { - content: " "; - display: table; -} - -.bp-user #buddypress .profile #profile-edit-form .button-nav:after { - clear: both; -} - -.bp-user #buddypress .profile #profile-edit-form ul.button-nav { - border-bottom: 1px solid #eaeaea; - margin-right: 0; -} - -.bp-user #buddypress .profile #profile-edit-form ul.button-nav li { - float: right; - margin-bottom: 0; -} - -.bp-user #buddypress .profile #profile-edit-form ul.button-nav li.current { - border: 1px solid #eaeaea; - border-bottom-color: #fff; - margin-bottom: -1px; -} - -.bp-user #buddypress .profile #profile-edit-form ul.button-nav a { - background: none; - border: 0; - font-size: 18px; - font-size: 1.8rem; -} - -.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle, -.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings { - font-size: 14px; - font-size: 1.4rem; -} - -.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close, -.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link { - background: #555; - color: #fff; - padding: 0.2em 0.5em; -} - -.bp-user #buddypress .profile .bp-avatar #bp-delete-avatar a { - font-size: inherit; -} - -/** - *------------------------------------------- - * @subsection 6.2.2.3 - Groups - *------------------------------------------- - */ -@media screen and (min-width: 77.5em) { - .bp-user #buddypress #groups-list li .item { - right: 5%; - width: 50%; - } -} - -/** - *------------------------------------------- - * @subsection 6.2.2.5 - Private Messaging - *------------------------------------------- - */ -.bp-user #buddypress #message-thread a { - border-bottom: 0; -} - -.bp-user #buddypress #message-thread #message-subject { - background: #6f6e6e; - color: #fff; - padding: 0.3em 0.2em 0.3em 0; -} - -.bp-user #buddypress #message-thread #message-recipients { - font-style: italic; -} - -.bp-user #buddypress #message-thread #message-recipients a.confirm { - border: 1px solid #eaeaea; - font-style: normal; -} - -.bp-user #buddypress #message-thread .message-metadata:after { - clear: both; - content: ""; - display: table; -} - -.bp-user #buddypress #message-thread .message-metadata img.avatar { - float: none; -} - -@media screen and (min-width: 46.25em) { - .bp-user #buddypress #message-thread .message-metadata img.avatar { - float: right; - } -} - -.bp-user #buddypress #message-thread .message-metadata .message-star-actions { - float: left; - margin-left: 5px; - position: static; -} - -.bp-user #buddypress #message-thread .message-content { - background: #f7f7f7; - border: 1px solid #eaeaea; - margin: 10px 0 0 0; - padding: 0.3em; -} - -.bp-user #buddypress #message-thread #send-reply .message-content { - background: #fff; - border: 0; -} - -.bp-user #buddypress #message-thread .alt { - background: #fff; -} - -.bp-user #buddypress #message-threads thead tr { - background: #6f6e6e; -} - -.bp-user #buddypress #message-threads tr td { - background: #fff; - display: inline-block; - float: right; -} - -.bp-user #buddypress #message-threads tr td.thread-star, -.bp-user #buddypress #message-threads tr td.thread-options { - border-bottom-color: #b7b7b7; - border-bottom-width: 2px; - height: 2.4em; - padding-bottom: 0.2em; - padding-top: 0.2em; -} - -@media screen and (max-width: 46.25em) { - .bp-user #buddypress #message-threads tr td.thread-star, - .bp-user #buddypress #message-threads tr td.thread-options { - padding-top: 0; - } -} - -.bp-user #buddypress #message-threads tr td.bulk-select-check, -.bp-user #buddypress #message-threads tr td.thread-from { - height: 2.6em; -} - -@media screen and (max-width: 38.75em) { - .bp-user #buddypress #message-threads tr td.bulk-select-check, - .bp-user #buddypress #message-threads tr td.thread-from { - height: 5.2em; - } -} - -.bp-user #buddypress #message-threads tr td.thread-from, -.bp-user #buddypress #message-threads tr td.thread-options { - border-right: 0 !important; - width: -webkit-calc(100% - 30px); - width: -moz-calc(100% - 30px); - width: calc(100% - 30px); - margin-right: 0; -} - -.bp-user #buddypress #message-threads tr td.thread-info { - padding-right: 41px; - width: 100%; -} - -.bp-user #buddypress #message-threads tr td.thread-options { - text-align: left; -} - -.bp-user #buddypress #message-threads tr td.thread-options a { - font-size: 12px; - font-size: 1.2rem; - line-height: 2.2; -} - -.bp-user #buddypress #message-threads tr span.from { - display: none; -} - -.bp-user #buddypress #message-threads tr span.activity { - display: block; - float: left; - line-height: 2; -} - -@media screen and (max-width: 38.75em) { - .bp-user #buddypress #message-threads tr span.activity { - clear: both; - font-size: 11px; - font-size: 1.1rem; - width: 100%; - } -} - -.bp-user #buddypress #message-threads tr.unread td { - background: #dce5ff; - border-color: #d1d0d0; - border-bottom-color: #b7b7b7; -} - -.bp-user #buddypress #message-threads th { - display: none; -} - -.bp-user #buddypress #message-threads th.bulk-select-all { - border-bottom: 0; - display: inline-block; - text-align: right; -} - -.bp-user #buddypress #message-threads th.bulk-select-all, -.bp-user #buddypress #message-threads td.bulk-select-check, -.bp-user #buddypress #message-threads td.thread-star { - border-left: 0; - width: 30px; -} - -.bp-user #buddypress .acfb-holder { - list-style: none; -} - -.bp-user #buddypress .acfb-holder li { - margin-right: 0; -} - -.bp-user #buddypress .acfb-holder li.friend-tab { - background: #edf7fa; - border: inherit; - margin-left: 0; - padding: 0.5em; -} - -.bp-user #buddypress .acfb-holder li.friend-tab span.p { - padding-right: 10px; -} - -.bp-user #buddypress .acfb-holder li.friend-tab span.p:focus, .bp-user #buddypress .acfb-holder li.friend-tab span.p:hover { - color: #c82b2b; - cursor: pointer; -} - -.bp-user #buddypress .acfb-holder li.friend-tab a { - border-bottom: 0; - text-decoration: none; -} - -.bp-user #buddypress .acfb-holder li.friend-tab a img { - display: inline; - height: 20px; - vertical-align: middle; - width: 20px !important; -} - -.bp-user #buddypress #message-threads.sitewide-notices td { - width: 100%; -} - -.bp-user #buddypress #message-threads.sitewide-notices td strong { - background: #6f6e6e; - color: #fff; - display: block; - margin-bottom: 0.4em; - padding-right: 0.2em; -} - -.bp-user #buddypress #message-threads.sitewide-notices td a { - display: inline-block; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:first-child { - display: none; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:first-child + td + td { - border-bottom: 0; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:first-child + td + td span { - line-height: 1; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:last-child { - border-bottom-color: #b7b7b7; - line-height: 1; - text-align: left; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child { - line-height: 0; - margin-right: 0.7em; - text-indent: -999em; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child:after { - content: attr(title); - display: block; - line-height: initial; - text-indent: 0; -} - -.bp-user .ac_results { - background: #eee; - padding-right: 10px; -} - -.bp-user .ac_results ul { - margin: 0; -} - -.bp-user .ac_results li { - margin: 10px 0; -} - -.bp-user .ac_results li:focus, .bp-user .ac_results li:hover { - cursor: pointer; -} - -/** - *------------------------------ - * @subsection 6.2.2.6 - Settings - *------------------------------ - */ -.bp-user #buddypress #settings-form > p { - font-size: 20px; - font-size: 2rem; - margin: 20px 0 10px; -} - -.bp-user #buddypress table.notification-settings th.title { - width: 75%; -} - -.bp-user #buddypress table.notification-settings td.yes, -.bp-user #buddypress table.notification-settings td.no { - vertical-align: middle; -} - -.bp-user #buddypress table.profile-settings { - width: 100%; -} - -.bp-user #buddypress table.profile-settings th.field-group-name, -.bp-user #buddypress table.profile-settings td.field-name { - width: 50%; -} - -@media screen and (min-width: 46.25em) { - .bp-user #buddypress table.profile-settings th.field-group-name, - .bp-user #buddypress table.profile-settings td.field-name { - width: 70%; - } -} - -.bp-user #buddypress table.profile-settings th.title, -.bp-user #buddypress table.profile-settings td.field-visibility { - width: 30%; -} - -.bp-user #buddypress table.profile-settings td.field-visibility select { - width: 100%; -} - -/** -*------------------------------------------------------------------------------- -* @section 7.0 - Forms - General -*------------------------------------------------------------------------------- -*/ -#buddypress div.activity-comments form .ac-textarea { - background: #f7f7f7; - border: 1px solid rgba(153, 153, 153, 0.3); -} - -#buddypress div.activity-comments form .ac-textarea textarea { - background: none; - border: 0; -} - -#buddypress select { - border: 1px solid rgba(153, 153, 153, 0.5); -} - -#buddypress .wp-editor-wrap a.button, -#buddypress .wp-editor-wrap button, -#buddypress .wp-editor-wrap input[type="submit"], -#buddypress .wp-editor-wrap input[type="button"], -#buddypress .wp-editor-wrap input[type="reset"] { - padding: 0 5px 1px; -} - -#buddypress .standard-form li, -#buddypress .group-create-form li { - float: none; - list-style: none; -} - -#buddypress .standard-form input[type="text"], -#buddypress .standard-form textarea, -#buddypress .group-create-form input[type="text"], -#buddypress .group-create-form textarea { - width: 100%; -} - -#buddypress div.dir-search, -#buddypress div.message-search, -#buddypress li.groups-members-search { - float: none; - margin: 10px 0; -} - -#buddypress div.dir-search form, -#buddypress div.message-search form, -#buddypress li.groups-members-search form { - border: 1px solid rgba(153, 153, 153, 0.4); - overflow: hidden; -} - -#buddypress div.dir-search form label, -#buddypress div.message-search form label, -#buddypress li.groups-members-search form label { - float: right; - width: 80%; -} - -#buddypress div.dir-search form input[type="text"], -#buddypress div.message-search form input[type="text"], -#buddypress li.groups-members-search form input[type="text"] { - float: right; - margin: 0; - width: 80%; -} - -#buddypress div.dir-search form input[type="text"], -#buddypress div.dir-search form input[type="submit"], -#buddypress div.message-search form input[type="text"], -#buddypress div.message-search form input[type="submit"], -#buddypress li.groups-members-search form input[type="text"], -#buddypress li.groups-members-search form input[type="submit"] { - font-size: 14px; - font-size: 1.4rem; - border: 0; - line-height: inherit; -} - -#buddypress div.dir-search form input[type="text"], -#buddypress div.message-search form input[type="text"], -#buddypress li.groups-members-search form input[type="text"] { - border-left: 1px solid rgba(153, 153, 153, 0.4); - padding: 0.2em 0.2em 0.2em 0; -} - -#buddypress div.dir-search form input[type="submit"], -#buddypress div.message-search form input[type="submit"], -#buddypress li.groups-members-search form input[type="submit"] { - float: left; - font-weight: 400; - padding: 0.2em 1em; - text-align: center; - text-transform: none; - width: 20%; -} - -@media screen and (min-width: 38.75em) { - #buddypress div.dir-search, - #buddypress div.message-search, - #buddypress li.groups-members-search { - float: left; - margin-bottom: 5px !important; - } - #buddypress div.dir-search form label, - #buddypress div.dir-search form input[type="text"], - #buddypress div.dir-search form input[type="submit"], - #buddypress div.message-search form label, - #buddypress div.message-search form input[type="text"], - #buddypress div.message-search form input[type="submit"], - #buddypress li.groups-members-search form label, - #buddypress li.groups-members-search form input[type="text"], - #buddypress li.groups-members-search form input[type="submit"] { - width: auto; - } -} - -@media screen and (min-width: 77.5em) { - #buddypress .dir-search form input[type="text"], - #buddypress .message-search form input[type="text"] { - font-size: 16px; - font-size: 1.6rem; - } - #buddypress .dir-search form input[type="submit"], - #buddypress .message-search form input[type="submit"] { - font-size: 16px; - font-size: 1.6rem; - } -} - -/** -*------------------------------------------------------------------------------- -* @section 8.0 - Tables - General -*------------------------------------------------------------------------------- -*/ -#buddypress table { - font-size: 14px; - font-size: 1.4rem; - margin: 20px 0; -} - -#buddypress table tr th { - background: #6f6e6e; - border-color: #b7b7b7; - color: #fff; -} - -#buddypress table p { - margin-bottom: 0.5em; -} - -@media screen and (min-width: 55em) { - #buddypress table { - font-size: 16px; - font-size: 1.6rem; - } -} - -/*__ User Account tables __*/ -#buddypress .notifications th, -#buddypress .messages-notices th { - width: 30%; -} - -#buddypress .notifications th.bulk-select-all, -#buddypress .messages-notices th.bulk-select-all { - text-align: center; - width: 10%; -} - -#buddypress .notifications .bulk-select-check, -#buddypress .notifications .thread-star, -#buddypress .messages-notices .bulk-select-check, -#buddypress .messages-notices .thread-star { - text-align: center; -} - -#buddypress .notifications .notification-actions, -#buddypress .notifications td.thread-options, -#buddypress .messages-notices .notification-actions, -#buddypress .messages-notices td.thread-options { - text-align: center; -} - -#buddypress .notifications .notification-actions a, -#buddypress .notifications td.thread-options a, -#buddypress .messages-notices .notification-actions a, -#buddypress .messages-notices td.thread-options a { - display: inline-block; - margin: 0; - padding: 0; -} - -#buddypress .notifications td .button, -#buddypress .messages-notices td .button { - border: 0; - display: block; - padding: 0; - text-align: center; -} - -/** -*------------------------------------------------------------------------------- -* @section 9.0 - Error / Success messages -*------------------------------------------------------------------------------- -*/ -#buddypress #item-body div#message { - margin-top: 20px; -} - -@media screen and (min-width: 55em) { - #buddypress #item-body div#message { - margin-left: 20px; - } -} - -#buddypress div#message p { - font-size: 18px; - font-size: 1.8rem; - font-weight: 700; -} - -#buddypress div#message.info p { - background: #c6e4ee; - border: 1px solid #78bed6; - color: #1e5264; -} - -#buddypress div#message.updated p { - background: #dee6b2; - border: 1px solid #becc66; - color: #454d19; -} - -.delete-group #buddypress div#message.info p { - background: #db7e7e; - border: 1px solid #be3535; - color: #1f0808; -} - -/** -*------------------------------------------------------------------------------- -* @section 10.0 - Ajax Loading, Widgets, General classes -*------------------------------------------------------------------------------- -*/ diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/024/024.test.js b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/024/024.test.js deleted file mode 100644 index 7a0fdacea716d6..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/024/024.test.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -const stylelint = require( 'stylelint' ), - systemTestUtils = require( '../systemTestUtils.js' ); - -it( '024', () => { - return stylelint.lint({ - files: [systemTestUtils.caseStylesheetGlob( '024' )], - configFile: systemTestUtils.caseConfig( '024' ), - }).then( ({ results }) => { - expect( systemTestUtils.prepResults( results ) ).toMatchSnapshot(); - }); -}); diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/024/__snapshots__/024.test.js.snap b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/024/__snapshots__/024.test.js.snap deleted file mode 100644 index c39c3df5bebf4a..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/024/__snapshots__/024.test.js.snap +++ /dev/null @@ -1,765 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`024 1`] = ` -Array [ - Object { - "deprecations": Array [], - "errored": true, - "ignored": undefined, - "invalidOptionWarnings": Array [], - "parseErrors": Array [], - "source": "024/stylesheet.css", - "warnings": Array [ - Object { - "column": 1, - "line": 58, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 103, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 406, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 629, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 634, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 804, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 809, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 814, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 1011, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 1478, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 2, - "line": 78, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 115, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 121, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 146, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 149, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 159, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 180, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 185, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 188, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 195, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 199, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 203, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 206, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 213, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 218, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 222, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 225, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 230, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 233, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 238, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 244, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 248, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 251, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 254, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 344, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 348, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 351, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 356, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 359, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 367, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 371, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 375, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 381, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 384, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 391, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 434, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 438, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 441, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 444, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 448, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 456, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 459, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 519, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 523, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 527, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 530, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 541, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 558, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 582, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 586, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 591, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 596, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 646, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 682, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 686, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 690, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 693, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 697, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 700, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 705, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 708, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 711, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 737, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 740, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 743, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 768, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 774, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 784, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 790, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 794, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 876, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 921, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 936, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 940, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 946, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 957, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 963, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 966, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 970, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 988, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 994, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 997, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1000, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1104, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1117, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1159, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1335, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1441, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1446, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1454, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1457, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 37, - "line": 222, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 64, - "line": 251, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 73, - "line": 620, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 52, - "line": 1226, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 30, - "line": 1306, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 3, - "line": 771, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '0 0 5px 0' instead of '0 0 5px' (shorthand-property-no-redundant-values)", - }, - ], - }, -] -`; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/024/config.json b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/024/config.json deleted file mode 100644 index a8af7d5dcb61b9..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/024/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../index.js" -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/024/stylesheet.css b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/024/stylesheet.css deleted file mode 100644 index 1e0dd9e0989257..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/024/stylesheet.css +++ /dev/null @@ -1,1511 +0,0 @@ -/*------------------------------------------------------------------------------ - -This is the BuddyPress companion stylesheet for -the WordPress Twentyfourteen theme. - -This sheet supports the primary BuddyPress styles in buddypress.css - -If you are running as a child theme of twentyfourteen this stylesheet will be -loaded by default. If you want to modify the styles the normal BP Theme Compat -hierarchy works and you can copy the file to buddypress/css/ or community/css/ -in your child themes root & either start over or modify the ruelesets. - -If you do not require the styles you can dequeue them from the themes -functions file. - -Please see this codex article for more information: -http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ - --------------------------------------------------------------------------------- ->>> TABLE OF CONTENTS: --------------------------------------------------------------------------------- -1.0 Theme Structural Elements -2.0 - Navigation - General - 2.1 - Navs - Object Nav / Sub Nav (item-list-tabs) - 2.2 - Pagination -3.0 - Images -4.0 - BP Lists / Loops Generic - 4.1 - Activity Loop - 4.1.1 - Activity Whats new - 4.1.2 - Activity Listing - 4.1.3 - Activity Comments - 4.2 - Members Loop - 4.3 - Groups Loop - 4.4 - Blogs Loop -5.0 - Directories - Members, Groups, Blogs, Forums -6.0 - Single Item screens: User Account & Single Group Screens - 6.1 - Item Headers: Global - 6.1.1 - Item-header: Groups; - 6.1.2 - item-header: User Accounts - 6.2 - Item Body: Global - 6.2.1 - item-body: Groups - 6.2.1.1- Management settings screens - 6.2.1.2 - Group members list - 6.2.1.3 - Group Send Invites - 6.2.2 - item-body: User Accounts - 6.2.2.1 - classes, pag, filters - 6.2.2.2 - Extended Profiles - 6.2.2.3 - Groups - 6.2.2.4 - friends - 6.2.2.5 - Private Messaging Threads - 6.2.2.6 - Settings -7.0 - Forms - General -8.0 - Tables - General -9.0 - Error / Success Messages -10.0 - Ajax Loading -11.0 - Widgets -------------------------------------------------------------------------------*/ -/** -*------------------------------------------------------------------------------- -* @section - 1.0 - Theme - Structural Elements -*------------------------------------------------------------------------------- -*/ -#buddypress h1, -#buddypress h2, -#buddypress h3, -#buddypress h4, -#buddypress h5, -#buddypress h6 { - clear: none; -} - -.buddypress .site-content { - padding-bottom: 20px; - padding-top: 4%; -} - -@media screen and (min-width: 59.6875em) { - .buddypress .site-content { - padding-top: 0; - } -} - -.buddypress .site-content article { - margin: 0 4%; - padding-top: 0; -} - -.buddypress .site-content article .entry-header, -.buddypress .site-content article .entry-content { - max-width: 100%; - padding: 0; -} - -.buddypress .site-content article #buddypress { - margin-bottom: 40px; -} - -/** -* ------------------------------------------------------------------------------ -* @section 2.0 - Navigation - General -*------------------------------------------------------------------------------- -*/ -/** -*---------------------------------------------------------- -* @subsection 2.1 - Object Nav / Subnav (item-list-tabs) -* -* The main navigational elements for all BP screens -*---------------------------------------------------------- -*/ -#buddypress .item-list-tabs ul li { - width: 100%; -} - -@media screen and (min-width: 400px) { - #buddypress .item-list-tabs ul li { - width: 50%; - } -} - -@media screen and (min-width: 594px) { - #buddypress .item-list-tabs ul li { - width: auto; - } -} - -#buddypress .item-list-tabs ul a { - color: #1b6e08; -} - -.directory #buddypress .item-list-tabs ul:before, -.directory #buddypress .item-list-tabs ul:after { - content: " "; - display: table; -} - -.directory #buddypress .item-list-tabs ul:after { - clear: both; -} - -.directory #buddypress .item-list-tabs ul { - border-bottom: 1px solid rgba(0, 0, 0, 0.2); - padding-bottom: 10px; -} - -@media screen and (min-width: 783px) { - .directory #buddypress .item-list-tabs ul { - padding-bottom: 0; - } - .directory #buddypress .item-list-tabs ul li.selected { - border: 1px solid rgba(0, 0, 0, 0.2); - border-bottom-color: #fff; - -webkit-border-top-left-radius: 4px; - border-top-left-radius: 4px; - -webkit-border-top-right-radius: 4px; - border-top-right-radius: 4px; - background-clip: padding-box; - margin-bottom: -1px; - } - .directory #buddypress .item-list-tabs ul li.selected a { - background: none; - outline: none; - } -} - -.directory #buddypress #subnav ul { - border-bottom: 0; -} - -.directory #buddypress #subnav a { - color: #1b6e08; -} - -/* List last filters global */ -#buddypress #subnav li#activity-filter-select.last { - line-height: 2.1; - margin-top: 0; -} - -@media screen and (max-width: 783px) { - #buddypress #object-nav ul { - border-bottom: 1px solid rgba(0, 0, 0, 0.2); - overflow: hidden; - padding-bottom: 10px; - } - #buddypress div#subnav.item-list-tabs { - margin-bottom: 40px; - } - #buddypress div#subnav.item-list-tabs ul li { - width: auto; - } -} - -/*__ Vertical Menu User Account Screens __*/ -@media screen and (min-width: 783px) { - .bp-user #buddypress, - .single-item.groups #buddypress { - background: #d8d7d7; - } - #buddypress #item-header, - #buddypress #item-body { - background: #fff; - } - #buddypress #item-body { - border-right: 1px solid #bebebe; - } - #buddypress #object-nav { - background: #d8d7d7; - border-left: 1px solid #bebebe; - float: right; - margin-left: -1px; - width: 200px; - } - #buddypress #object-nav ul { - border-bottom: 0; - border-top: 1px solid #bebebe; - padding: 0; - } - #buddypress #object-nav ul li { - float: none; - overflow: hidden; - } - #buddypress #object-nav ul li:focus, #buddypress #object-nav ul li:hover { - background: #f1f1f1; - } - #buddypress #object-nav ul li span { - border-radius: 10%; - float: left; - margin-left: 15px; - } - #buddypress #object-nav ul li.current { - background: #f1f1f1; - } - #buddypress #item-body { - overflow: hidden; - padding: 0 20px; - width: auto; - } - #buddypress #item-body #subnav { - border: 1px solid #bebebe; - border-right: 0; - border-left: 0; - margin: 0 -20px 20px; - } - #buddypress #item-body #subnav li:focus, - #buddypress #item-body #subnav li:hover { - background: #f1f1f1; - } - #buddypress #item-body #subnav li.current { - background: #f1f1f1; - } - #buddypress #item-body #subnav li#activity-filter-select:focus, #buddypress #item-body #subnav li#activity-filter-select:hover { - background: none; - } - #buddypress #item-body #subnav li#activity-filter-select select { - max-width: 130px; - } -} - -/** -*---------------------------------------------------------- -* @subsection 2.2 - Pagination -*---------------------------------------------------------- -*/ -#buddypress div.pagination .pag-count { - margin-right: 0; -} - -/** -*------------------------------------------------------------------------------- -* @section 4.0 - BP Lists / Loops Generic -*------------------------------------------------------------------------------- -*/ -#buddypress .item-list .item-title a { - display: block; - font-size: 22px; - font-size: 1.375rem; - text-decoration: none; -} - -#buddypress .item-list .item-title span.update, -#buddypress .item-list .item-title span a { - font-size: 12px; - font-size: 0.75rem; -} - -#buddypress ul.item-list li { - overflow: hidden !important; -} - -#buddypress ul.item-list li .item-avatar { - float: none; - margin-bottom: 20px; - text-align: center; -} - -#buddypress ul.item-list li .item-avatar a img.avatar { - float: none; -} - -#buddypress ul.item-list li div.item-title { - float: none; - width: 100%; -} - -#buddypress ul.item-list li div.item-title > a { - text-align: center; -} - -#buddypress ul.item-list li .item { - margin-right: 0; -} - -#buddypress ul.item-list li div.item-desc { - margin-right: 0; - width: auto; -} - -#buddypress ul.item-list li div.action { - clear: both; - float: none; - margin: 0; - position: relative; - text-align: right; -} - -#buddypress ul.item-list li div.action div { - margin: 0 0 10px; -} - -#buddypress ul.item-list li .activity-meta, -#buddypress ul.item-list li .action { - float: none; -} - -#buddypress ul.item-list li .activity-meta a, -#buddypress ul.item-list li .activity-meta div, -#buddypress ul.item-list li .action a, -#buddypress ul.item-list li .action div { - display: block; - margin: 5px 0; -} - -@media screen and (min-width: 594px) { - #buddypress ul.item-list li .item-avatar { - float: right; - margin-bottom: 0; - } - #buddypress ul.item-list li div.item-title > a { - text-align: right; - } - #buddypress ul.item-list li .item { - float: left; - margin-right: 5%; - width: 80%; - } - #buddypress ul.item-list li .activity-meta { - clear: both; - } - #buddypress ul.item-list li .activity-meta a, - #buddypress ul.item-list li .activity-meta div { - display: inline-block; - margin: 5px 0 0 5px; - } -} - -@media screen and (min-width: 783px) { - #buddypress ul.item-list li .item { - float: right; - width: 55%; - } - #buddypress ul.item-list li .item div.item-desc { - margin: 0; - width: auto; - } - #buddypress ul.item-list li div.action { - clear: none; - float: left; - top: 0; - width: 25%; - } - #buddypress ul.item-list li div.action div { - display: block; - } - #buddypress ul.item-list li div.action div a { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - display: block; - width: 100%; - } - #buddypress ul.item-list li div.action .meta { - text-align: center; - } -} - -#buddypress ul.item-list li .meta, -#buddypress ul.item-list li .item-meta .activity { - font-style: italic; -} - -/** -*------------------------------------------------------------ -* @section 4.1 - Activity -*------------------------------------------------------------ -*/ -/** -*------------------------------------------------- -* @subsection 4.1.1 - Activity What's New -*------------------------------------------------- -*/ -#buddypress form#whats-new-form { - margin: 40px 0; -} - -#buddypress form#whats-new-form #whats-new-avatar { - float: none; - margin-bottom: 20px; - text-align: center; -} - -#buddypress form#whats-new-form #whats-new-content, -#buddypress form#whats-new-form p.activity-greeting { - margin-right: 0; - padding-right: 0; -} - -#buddypress form#whats-new-form p.activity-greeting { - clear: right; - line-height: inherit; - margin-bottom: 5px; -} - -@media screen and (max-width: 594px) { - #buddypress form#whats-new-form #whats-new-content #whats-new-options { - display: flex; - flex-direction: column; - } - #buddypress form#whats-new-form #whats-new-content #whats-new-options #whats-new-submit { - order: 2; - } - #buddypress form#whats-new-form #whats-new-content #whats-new-options #whats-new-submit input { - width: 100%; - } - #buddypress form#whats-new-form #whats-new-content #whats-new-options #whats-new-post-in-box { - margin-top: 10px; - order: 1; - } - #buddypress form#whats-new-form #whats-new-content #whats-new-options #whats-new-post-in-box select { - margin-top: 5px; - max-width: 100%; - width: 100%; - } -} - -@media screen and (min-width: 594px) { - #buddypress form#whats-new-form #whats-new-avatar { - float: right; - } - #buddypress form#whats-new-form #whats-new-content, - #buddypress form#whats-new-form p.activity-greeting { - clear: none; - overflow: hidden; - padding-right: 20px; - } -} - -/** -*------------------------------------------------- -* @subsection 4.1.2 - Activity Listing -*------------------------------------------------- -*/ -#buddypress #activity-stream { - margin-top: 40px; -} - -#buddypress .activity-list li.activity-item:not(.mini) .activity-avatar { - float: none; - margin-bottom: 10px; - text-align: center; -} - -#buddypress .activity-list li.activity-item:not(.mini) .activity-avatar img.avatar { - display: inline; - float: none; -} - -#buddypress .activity-list li.mini .activity-avatar img.avatar { - margin-right: 0; -} - -#buddypress .activity-list li.mini .activity-meta a { - font-size: 12px; - font-size: 0.75rem; -} - -#buddypress .activity-list .activity-content { - margin: 0; -} - -#buddypress .activity-list .activity-content .activity-header { - margin: -0.5em 0 0; -} - -#buddypress .activity-list .activity-content .activity-header > p { - line-height: 1.4; - margin-top: -10px; -} - -#buddypress .activity-list .activity-content .activity-header img.avatar { - margin-bottom: 0 !important; - vertical-align: middle; -} - -#buddypress .activity-list .activity-content .activity-inner { - margin: 10px 0; -} - -@media screen and (min-width: 594px) { - #buddypress .activity-list li.activity-item:not(.mini) .activity-avatar { - float: right; - margin: 0 0 0 20px; - } - #buddypress .activity-list li.activity-item:not(.mini) .activity-avatar img.avatar { - display: inline; - float: none; - } - #buddypress .activity-list li.mini .activity-avatar { - margin: 0 5% 0 10px; - } - #buddypress .activity-list .activity-content { - margin-right: 0; - overflow: hidden; - } -} - -body.activity-permalink #buddypress { - background: transparent; -} - -@media screen and (max-width: 760px) { - body.activity-permalink #buddypress .activity-list li .activity-content, - body.activity-permalink #buddypress .activity-list li .activity-comments { - margin-right: 0; - } -} - -/** -*------------------------------------------------- -* @subsection 4.1.3 - Activity Comments -*------------------------------------------------- -*/ -#buddypress .activity .activity-comments { - margin-right: 0; - margin-top: 5px; -} - -@media screen and (min-width: 594px) { - #buddypress .activity .activity-comments { - margin-right: 70px; - } -} - -#buddypress .activity .activity-comments a { - color: #1b6e08; -} - -#buddypress .activity .activity-comments ul { - background: rgba(247, 247, 247, 0.6); - margin: 30px 2px 0 0; -} - -#buddypress .activity .activity-comments ul ul { - border-right: 1px solid rgba(0, 0, 0, 0.1); - padding-right: 2%; -} - -#buddypress .activity .activity-comments .acomment-meta { - color: #737373; -} - -@media screen and (max-width: 400px) { - #buddypress .activity .activity-comments .acomment-avatar { - display: block; - text-align: center; - } - #buddypress .activity .activity-comments .acomment-avatar a, - #buddypress .activity .activity-comments .acomment-avatar img.avatar { - display: inline; - float: none; - } - #buddypress .activity .activity-comments .acomment-content, - #buddypress .activity .activity-comments .acomment-meta, - #buddypress .activity .activity-comments .acomment-options { - margin: 5px; - } - #buddypress .activity .activity-comments .acomment-content { - padding: 0 10px; - } -} - -#buddypress .activity .activity-comments .ac-form input[type="submit"], -#buddypress .activity .activity-comments .ac-form .ac-reply-cancel { - color: rgba(43, 43, 43, 0.8); - display: inline-block; - font-family: inherit; - font-size: 12px; - font-size: 0.75rem; - font-weight: 400; - line-height: 1.2; - padding: 4px 10px; - text-transform: lowercase; - width: 100px; -} - -#buddypress .activity .activity-comments .ac-form .ac-reply-cancel { - border: 1px solid rgba(0, 0, 0, 0.2); - text-align: center; -} - -#buddypress .activity .activity-comments .ac-form .ac-reply-cancel:focus, #buddypress .activity .activity-comments .ac-form .ac-reply-cancel:hover { - background: #ededed; -} - -/** -*------------------------------------------------------------ -* @section 4.2 - Members Loop -*------------------------------------------------------------ -*/ -/* -*------------------------------------------------------------------------------- -* @section 6.0 - Single Item screens -*------------------------------------------------------------------------------- -*/ -/* groups & user account page entry title */ -.single-item.groups .entry-title, -.bp-user .entry-title { - background: #4d4c4c; - color: #fff; - font-size: 22px; - font-size: 1.375rem; - margin-bottom: 10px; - padding: 0.2em; -} - -@media screen and (min-width: 673px) { - .single-item.groups .entry-title, - .bp-user .entry-title { - font-size: 28px; - font-size: 1.75rem; - } -} - -/** -*------------------------------------------------------------ -* @subsection 6.1 - Item Header: Global -*------------------------------------------------------------ -*/ -#buddypress div#item-header { - padding-bottom: 10px; -} - -#buddypress div#item-header img.avatar { - margin: 0 0 10px 20px; -} - -#buddypress div#item-header #message { - clear: both; - margin-bottom: 5px; - padding-top: 10px; -} - -#buddypress div#item-header #message p { - margin-bottom: 0; -} - -/** -*------------------------------------------------- -* @subsection 6.1.1 - item-header: Groups -*------------------------------------------------- -*/ -@media screen and (max-width: 594px) { - .single-item.groups #buddypress div#item-header { - display: flex; - flex-direction: column; - } - .single-item.groups #buddypress div#item-header #item-header-avatar { - order: 1; - text-align: center; - } - .single-item.groups #buddypress div#item-header #item-header-avatar a { - border-bottom: 0; - } - .single-item.groups #buddypress div#item-header #item-header-avatar a img { - display: inline-block; - float: none; - } - .single-item.groups #buddypress div#item-header #item-header-content { - order: 2; - } - .single-item.groups #buddypress div#item-header #item-actions { - margin-right: 0; - order: 3; - text-align: right; - } - .single-item.groups #buddypress div#item-header #item-actions ul { - margin-right: 0; - } - .single-item.groups #buddypress div#item-header #item-actions ul li { - float: right; - } - .single-item.groups #buddypress div#item-header #message { - order: 4; - } -} - -.single-item.groups #buddypress #item-header #item-actions { - float: none; - margin: 0 20px 0 0; - width: auto; -} - -.single-item.groups #buddypress #item-header #item-actions h2 { - font-size: 20px; - font-size: 1.25rem; -} - -.single-item.groups #buddypress #item-header #item-header-avatar { - text-align: center; -} - -.single-item.groups #buddypress #item-header #item-header-content { - float: none; - overflow: hidden; -} - -@media screen and (min-width: 594px) { - .single-item.groups #buddypress #item-header #item-actions { - float: left; - } - .single-item.groups #buddypress #item-header #item-header-avatar { - float: right; - } - .single-item.groups #buddypress #item-header #item-header-content { - float: none; - overflow: hidden; - } -} - -/** -*------------------------------------------------- -* @subsection 6.1.2 - item-header: User Accounts -*------------------------------------------------- -*/ -.bp-user #buddypress #item-header #item-header-avatar { - text-align: center; - width: 100%; -} - -.bp-user #buddypress #item-header #item-header-avatar img { - float: none; -} - -.bp-user #buddypress #item-header #latest-update { - margin-bottom: 10px; -} - -@media screen and (max-width: 594px) { - .bp-user #buddypress #item-header #item-buttons div.generic-button { - display: inline-block; - float: none; - margin: 0 0 5px 0; - width: 100%; - } - .bp-user #buddypress #item-header #item-buttons div.generic-button a { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - display: block; - width: 100%; - } -} - -@media screen and (min-width: 673px) { - .bp-user #buddypress #item-header #item-header-avatar { - float: right; - overflow: hidden; - text-align: right; - width: 20%; - } - .bp-user #buddypress #item-header #item-header-content { - float: left; - width: 78%; - } - .bp-user #buddypress #item-header #item-header-content #latest-update { - margin-bottom: 20px; - } -} - -/** -*------------------------------------------------------------ -* @subsection 6.2 - Item Body: Global -*------------------------------------------------------------ -*/ -/** -*------------------------------------------------- -* @subsection 6.2.1 - item-body: Groups -*------------------------------------------------- -*/ -/** - *------------------------------ - * 6.2.1.1 - Groups Management - *------------------------------ - */ -/* Settings */ -#group-settings-form .radio strong, -#create-group-form .radio strong { - font-size: 18px; - font-size: 1.125rem; -} - -#group-settings-form .radio ul, -#create-group-form .radio ul { - color: #6b6b6b; -} - -#group-settings-form #group-creation-previous, -#create-group-form #group-creation-previous { - margin: 10px 0; -} - -/* Manage Members */ -.groups.manage-members #group-settings-form h3 { - margin-top: 40px; -} - -.groups.manage-members #group-settings-form .item-list { - background: #f7f7f7; - border-top: 0; - padding: 0 0.5em; -} - -.groups.manage-members #group-settings-form .item-list li { - border-bottom: 1px solid rgba(0, 0, 0, 0.1); -} - -.groups.manage-members #group-settings-form .item-list li:last-child { - border-bottom: 0; -} - -.groups.manage-members #group-settings-form .item-list li img, -.groups.manage-members #group-settings-form .item-list li h5 { - clear: none; - float: right; -} - -.groups.manage-members #group-settings-form .item-list li img > a, -.groups.manage-members #group-settings-form .item-list li h5 > a { - border-bottom: 0; - color: #22830c; -} - -.groups.manage-members #group-settings-form .item-list li span.small { - display: block; - float: none; - margin-top: 10px; - width: 100%; -} - -.groups.manage-members #group-settings-form .item-list li span.small a { - display: inline-block; - margin: 5px 0; - width: 100%; -} - -@media screen and (min-width: 38.75em) { - .groups.manage-members #group-settings-form .item-list li span.small a { - width: auto; - } -} - -.groups.manage-members #group-settings-form .item-list li h5 { - margin: 0; -} - -/** - *------------------------------ - * 6.2.1.2 - Group Members List - *------------------------------ - */ -#buddypress #members-group-list .item-list h5 { - display: inline-block; - margin: 0; -} - -#buddypress #members-group-list .item-list span.activity { - padding-right: 10px; -} - -#buddypress #item-body #subnav li.groups-members-search:focus, -#buddypress #item-body #subnav li.groups-members-search:hover, -#buddypress #item-body #subnav li.last:focus, -#buddypress #item-body #subnav li.last:hover { - background: none; -} - -.groups.group-members #subnav ul:before, -.groups.group-members #subnav ul:after { - content: " "; - display: table; -} - -.groups.group-members #subnav ul:after { - clear: both; -} - -.groups.group-members #subnav ul { - padding: 5px 0; -} - -@media screen and (max-width: 400px) { - .groups.group-members #subnav li { - background: #fff; - padding: 10px 0; - width: 100% !important; - } -} - -.groups.group-members #subnav li #search-members-form { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - float: right; -} - -@media screen and (max-width: 400px) { - .groups.group-members #subnav li #search-members-form { - margin: 0; - width: 100%; - } - .groups.group-members #subnav li #search-members-form label input[type="text"] { - width: 100%; - } -} - -@media screen and (min-width: 783px) { - .groups.group-members #subnav li #search-members-form { - margin-right: 3px; - } -} - -/** - *------------------------------ - * 6.2.1.3 - Groups Send Invites - *------------------------------ - */ -@media screen and (min-width: 783px) { - .send-invites #buddypress #item-body { - border-top: 1px solid #bebebe; - } -} - -@media screen and (max-width: 400px) { - .send-invites #buddypress #item-body .left-menu { - float: none; - } - .send-invites #buddypress #item-body .left-menu #invite-list { - height: auto; - width: auto; - } - .send-invites #buddypress #item-body .main-column { - margin-right: 0; - } -} - -.send-invites #buddypress #item-body li img.avatar { - display: block; - float: none; - margin: 10px auto; -} - -.send-invites #buddypress #item-body li .action { - margin-top: 10px; - text-align: right; - width: 100%; -} - -@media screen and (min-width: 38.75em) { - .send-invites #buddypress #item-body li .action { - text-align: left; - } -} - -@media screen and (min-width: 594px) { - .send-invites #buddypress #item-body #invite-list { - width: 160px; - } - .send-invites #buddypress #item-body .main-column { - margin-right: 190px; - } - .send-invites #buddypress #item-body li img.avatar { - float: right; - margin: 0 0 0 10px; - } -} - -/** -*------------------------------------------------- -* @subsection 6.2.2 - item-body: User Accounts -*------------------------------------------------- -*/ -/** - *------------------------------ - * 6.2.2.2 - Extended Profiles - *------------------------------ - */ -#buddypress .profile .bp-widget h2 { - background: #949494; - color: #fff; - padding: 0.4em 0.2em; -} - -#buddypress .profile #profile-edit-form .button-nav:before, -#buddypress .profile #profile-edit-form .button-nav:after { - content: " "; - display: table; -} - -#buddypress .profile #profile-edit-form .button-nav:after { - clear: both; -} - -#buddypress .profile #profile-edit-form ul.button-nav { - border-bottom: 1px solid rgba(0, 0, 0, 0.1); - margin-right: 0; -} - -#buddypress .profile #profile-edit-form ul.button-nav li { - float: right; - margin-bottom: 0; -} - -#buddypress .profile #profile-edit-form ul.button-nav li.current { - border: 1px solid rgba(0, 0, 0, 0.1); - border-bottom-color: #fff; - margin-bottom: -1px; -} - -#buddypress .profile #profile-edit-form ul.button-nav a { - background: none; - border: 0; - font-size: 18px; - font-size: 1.125rem; -} - -#buddypress .profile #profile-edit-form .field-visibility-settings-toggle, -#buddypress .profile #profile-edit-form .field-visibility-settings { - font-size: 14px; - font-size: 0.875rem; -} - -#buddypress .profile #profile-edit-form .field-visibility-settings-close, -#buddypress .profile #profile-edit-form .visibility-toggle-link { - background: #000; - color: #fff; - padding: 0.2em 0.5em; -} - -/** - *------------------------------ - * @subsection 6.2.2.5 - Messaging - *------------------------------ - */ -#buddypress table#message-threads { - border-right: 1px solid rgba(0, 0, 0, 0.2); - border-left: 1px solid rgba(0, 0, 0, 0.2); -} - -#buddypress table#message-threads tbody > tr:first-child td.bulk-select-check, -#buddypress table#message-threads tbody > tr:first-child td.thread-from { - border-top: 1px solid rgba(0, 0, 0, 0.2); -} - -#buddypress table#message-threads tr td { - background: #fff; - border-left: 0 !important; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - display: inline-block; - float: right; -} - -#buddypress table#message-threads tr td.thread-star, -#buddypress table#message-threads tr td.thread-options { - border-bottom-color: rgba(0, 0, 0, 0.2); - border-bottom-width: 2px; - border-right: 0; - height: 2.4em; - padding-bottom: 0.2em; - padding-top: 0.2em; -} - -@media screen and (max-width: 549px) { - #buddypress table#message-threads tr td.thread-star, - #buddypress table#message-threads tr td.thread-options { - padding-top: 0; - } -} - -#buddypress table#message-threads tr td.bulk-select-check, -#buddypress table#message-threads tr td.thread-from { - border-right: 0; - height: 2.6em; -} - -@media screen and (max-width: 320px) { - #buddypress table#message-threads tr td.bulk-select-check, - #buddypress table#message-threads tr td.thread-from { - height: 5.2em; - } -} - -#buddypress table#message-threads tr td.thread-from, -#buddypress table#message-threads tr td.thread-options { - border-right: 0; - width: -webkit-calc(100% - 30px); - width: -moz-calc(100% - 30px); - width: calc(100% - 30px); - margin-right: 0; -} - -#buddypress table#message-threads tr td.thread-info { - border-right: 0; - padding-right: 41px; - width: 100%; -} - -#buddypress table#message-threads tr td.thread-options { - text-align: left; -} - -#buddypress table#message-threads tr td.thread-options a { - font-size: 12px; - font-size: 0.75rem; - line-height: 2.2; -} - -#buddypress table#message-threads tr span.from { - display: none; -} - -#buddypress table#message-threads tr span.activity { - display: block; - float: left; - line-height: 2; -} - -@media screen and (max-width: 320px) { - #buddypress table#message-threads tr span.activity { - clear: both; - font-size: 11px; - font-size: 0.6875rem; - width: 100%; - } -} - -#buddypress table#message-threads tr.unread td { - background: #f1f4ff; - border-color: rgba(0, 0, 0, 0.2); - border-top: 0; - border-width: 1px; -} - -#buddypress table#message-threads th { - display: none; -} - -#buddypress table#message-threads th.bulk-select-all { - border-bottom: 0; - display: inline-block; - text-align: right; -} - -#buddypress table#message-threads th.bulk-select-all, -#buddypress table#message-threads td.bulk-select-check, -#buddypress table#message-threads td.thread-star { - border-left: 0; - width: 30px; -} - -#buddypress #message-thread #message-subject { - background: #4d4c4c; - color: #fff; - padding: 0.5em; -} - -#buddypress #message-thread .message-box .message-metadata { - margin-bottom: 10px; -} - -#buddypress #message-thread .message-box .message-content { - clear: right; - margin-right: 0; -} - -#buddypress .acfb-holder { - list-style: none; - margin: 0; -} - -#buddypress .acfb-holder li { - margin-right: 0; -} - -#buddypress .acfb-holder li.friend-tab { - background: #edf7fa; - border: inherit; - margin-left: 0; - padding: 0.5em; -} - -#buddypress .acfb-holder li.friend-tab span.p { - padding-right: 10px; -} - -#buddypress .acfb-holder li.friend-tab span.p:focus, #buddypress .acfb-holder li.friend-tab span.p:hover { - color: #c82b2b; - cursor: pointer; -} - -#buddypress .acfb-holder li.friend-tab a { - border-bottom: 0; - text-decoration: none; -} - -#buddypress .acfb-holder li.friend-tab a img { - display: inline; - height: 20px; - vertical-align: middle; - width: 20px !important; -} - -#buddypress #message-threads.sitewide-notices td { - width: 100%; -} - -#buddypress #message-threads.sitewide-notices td strong { - background: #4d4c4c; - color: #fff; - font-size: 16px; - font-size: 1rem; - display: block; - margin-bottom: 0.4em; - padding: 0.2em; -} - -#buddypress #message-threads.sitewide-notices td a { - display: inline-block; - line-height: initial; -} - -#buddypress #message-threads.sitewide-notices td:first-child { - display: none; -} - -#buddypress #message-threads.sitewide-notices td:first-child + td + td { - border-bottom: 0; -} - -#buddypress #message-threads.sitewide-notices td:first-child + td + td span { - line-height: 1; -} - -#buddypress #message-threads.sitewide-notices td:last-child { - border-bottom-color: rgba(0, 0, 0, 0.2); - line-height: 1; - text-align: left; -} - -#buddypress #message-threads.sitewide-notices td:last-child a:last-child { - line-height: 0; - margin-right: 0.7em; - text-indent: -999em; -} - -#buddypress #message-threads.sitewide-notices td:last-child a:last-child:after { - content: attr(title); - display: block; - line-height: initial; - text-indent: 0; -} - -.bp-user .ac_results { - background: #eee; - padding-right: 10px; -} - -.bp-user .ac_results ul { - margin: 0; -} - -.bp-user .ac_results li { - margin: 10px 0; -} - -.bp-user .ac_results li:focus, .bp-user .ac_results li:hover { - cursor: pointer; -} - -/** - *------------------------------ - * @subsection 6.2.2.6 - Settings - *------------------------------ - */ -#buddypress #settings-form > p { - font-size: 20px; - font-size: 1.25rem; -} - -#buddypress table.notification-settings td.yes, -#buddypress table.notification-settings td.no { - vertical-align: middle; -} - -#buddypress table.profile-settings { - width: 100%; -} - -#buddypress table.profile-settings th.field-group-name, -#buddypress table.profile-settings td.field-name { - width: 50%; -} - -@media screen and (min-width: 401px) { - #buddypress table.profile-settings th.field-group-name, - #buddypress table.profile-settings td.field-name { - width: 70%; - } -} - -#buddypress table.profile-settings td.field-visibility select { - width: 100%; -} - -/*------------------------------------------------------------------------------ -* @section - 7.0 - Forms - General -*------------------------------------------------------------------------------- -*/ -#buddypress input[type="text"], -#buddypress input[type="email"], -#buddypress input[type="password"], -#buddypress input[type="submit"], -#buddypress select, -#buddypress textarea { - border: 1px solid rgba(0, 0, 0, 0.2); -} - -#buddypress .standard-form input[type="text"], -#buddypress .standard-form input[type="email"], -#buddypress .standard-form input[type="password"], -#buddypress .standard-form input[type="submit"], -#buddypress .standard-form textarea { - width: 100%; -} - -#buddypress #send-reply.standard-form textarea { - width: 100%; -} - -#buddypress div.activity-comments form .ac-textarea { - background: #f7f7f7; - border: 1px solid rgba(0, 0, 0, 0.2); -} - -#buddypress div.activity-comments form .ac-textarea textarea { - background: none; - border: 0; -} - -#buddypress div.dir-search, -#buddypress div.message-search, -#buddypress li.groups-members-search { - clear: both; - float: none; - margin: 10px 0; -} - -#buddypress div.dir-search form, -#buddypress div.message-search form, -#buddypress li.groups-members-search form { - border: 1px solid #ccc; - overflow: hidden; -} - -#buddypress div.dir-search form label, -#buddypress div.message-search form label, -#buddypress li.groups-members-search form label { - float: right; - width: 80%; -} - -#buddypress div.dir-search form input[type="text"], -#buddypress div.message-search form input[type="text"], -#buddypress li.groups-members-search form input[type="text"] { - float: right; - margin: 0; - width: 80%; -} - -#buddypress div.dir-search form input[type="text"], -#buddypress div.dir-search form input[type="submit"], -#buddypress div.message-search form input[type="text"], -#buddypress div.message-search form input[type="submit"], -#buddypress li.groups-members-search form input[type="text"], -#buddypress li.groups-members-search form input[type="submit"] { - border: 0; - font-size: 14px; - font-size: 0.875rem; - line-height: inherit; -} - -#buddypress div.dir-search form input[type="text"], -#buddypress div.message-search form input[type="text"], -#buddypress li.groups-members-search form input[type="text"] { - border-left: 1px solid #ccc; - padding: 0.2em 0.2em 0.2em 0; -} - -#buddypress div.dir-search form input[type="submit"], -#buddypress div.message-search form input[type="submit"], -#buddypress li.groups-members-search form input[type="submit"] { - float: left; - font-weight: 400; - padding: 0.2em 1em; - text-align: center; - text-transform: none; - width: 20%; -} - -@media screen and (min-width: 401px) { - #buddypress div.dir-search, - #buddypress div.message-search { - clear: none; - float: left; - } - #buddypress div.dir-search form label, - #buddypress div.dir-search form input[type="submit"], - #buddypress div.dir-search form input[type="text"], - #buddypress div.message-search form label, - #buddypress div.message-search form input[type="submit"], - #buddypress div.message-search form input[type="text"] { - width: auto; - } - #buddypress div.message-search { - margin: 3px 0 0; - } - #buddypress li.groups-members-search form label, - #buddypress li.groups-members-search form input[type="submit"], - #buddypress li.groups-members-search form input[type="text"] { - width: auto; - } -} - -/** -*------------------------------------------------------------------------------- -* @section 8.0 - Tables General -*------------------------------------------------------------------------------- -*/ -#buddypress table { - border-color: rgba(0, 0, 0, 0.2); -} - -#buddypress table .alt a { - color: #22820c; -} - -/*__ User Account tables __*/ -/** -*------------------------------------------------------------------------------- -* @section 9.0 - Error / Success messages -*------------------------------------------------------------------------------- -*/ -#buddypress div#message p { - font-size: 18px; - font-size: 1.125rem; - font-weight: 700; -} - -#buddypress div#message.info p { - background: #c6e4ee; - border: 1px solid #78bed6; - color: #1e5264; -} - -#buddypress div#message.updated p { - background: #dee6b2; - border: 1px solid #becc66; - color: #454d19; -} - -.delete-group #buddypress div#message.info p { - background: #db7e7e; - border: 1px solid #be3535; - color: #1f0808; -} - -/** -*------------------------------------------------------------------------------- -* @section 10.0 - Ajax Loading, Widgets, General classes -*------------------------------------------------------------------------------- -*/ diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/025/025.test.js b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/025/025.test.js deleted file mode 100644 index cfbdbd28aae478..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/025/025.test.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -const stylelint = require( 'stylelint' ), - systemTestUtils = require( '../systemTestUtils.js' ); - -it( '025', () => { - return stylelint.lint({ - files: [systemTestUtils.caseStylesheetGlob( '025' )], - configFile: systemTestUtils.caseConfig( '025' ), - }).then( ({ results }) => { - expect( systemTestUtils.prepResults( results ) ).toMatchSnapshot(); - }); -}); diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/025/__snapshots__/025.test.js.snap b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/025/__snapshots__/025.test.js.snap deleted file mode 100644 index bced7be2d8a0bb..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/025/__snapshots__/025.test.js.snap +++ /dev/null @@ -1,842 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`025 1`] = ` -Array [ - Object { - "deprecations": Array [], - "errored": true, - "ignored": undefined, - "invalidOptionWarnings": Array [], - "parseErrors": Array [], - "source": "025/stylesheet.css", - "warnings": Array [ - Object { - "column": 1, - "line": 56, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 292, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 692, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 966, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 1000, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 1221, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 2, - "line": 1459, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 2, - "line": 85, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 91, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 97, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 106, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 109, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 112, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 117, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 124, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 324, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 330, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 336, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 381, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 388, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 394, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 399, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 403, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 409, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 415, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 418, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 424, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 429, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 432, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 439, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 443, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 454, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 460, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 549, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 565, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 576, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 599, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 613, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 620, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 625, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 631, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 649, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 669, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 676, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 702, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 728, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 731, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 781, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 786, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 789, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 793, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 837, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 875, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 896, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 946, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 950, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 953, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 979, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 987, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 990, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1006, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1010, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1022, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1042, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1049, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1058, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1066, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1070, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1074, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1088, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1094, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1098, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1102, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1106, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1109, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1112, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1128, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1138, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1155, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1162, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1166, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1169, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1173, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1202, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1206, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1209, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1307, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1326, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1338, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1342, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1378, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1382, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1389, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1393, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1410, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1542, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1583, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1638, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1666, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1707, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1867, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 2017, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 2026, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 2032, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 2095, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 63, - "line": 183, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 52, - "line": 330, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 34, - "line": 476, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 41, - "line": 529, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 44, - "line": 534, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 46, - "line": 850, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 48, - "line": 855, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 80, - "line": 936, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 61, - "line": 1756, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 30, - "line": 1837, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 3, - "line": 679, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '0 0 10px 0' instead of '0 0 10px' (shorthand-property-no-redundant-values)", - }, - Object { - "column": 2, - "line": 892, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '20px 0 20px' instead of '20px 0' (shorthand-property-no-redundant-values)", - }, - Object { - "column": 2, - "line": 1597, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '10px 0 0 0' instead of '10px 0 0' (shorthand-property-no-redundant-values)", - }, - ], - }, -] -`; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/025/config.json b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/025/config.json deleted file mode 100644 index a8af7d5dcb61b9..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/025/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../index.js" -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/025/stylesheet.css b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/025/stylesheet.css deleted file mode 100644 index df59dfbb99304a..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/025/stylesheet.css +++ /dev/null @@ -1,2194 +0,0 @@ -/*-------------------------------------------------------------- - -This is the BuddyPress companion stylesheet for -the WordPress twentyseventeen theme. - -This sheet supports the primary BuddyPress styles in buddypress.css - -If you are running as a child theme of twentyseventeen this stylesheet will be -loaded by default. If you want to modify the styles the normal BP Theme Compat -hierarchy works and you can copy the file to buddypress/css/ or community/css/ -in your child themes root & either start over or modify the rulesets. - -If you do not require the styles you can dequeue them from the themes -functions file. - -Please see this codex article for more information: -http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ - ----------------------------------------------------------------- ->>> TABLE OF CONTENTS: ----------------------------------------------------------------- -1.0 Theme Structural Elements & overrides -2.0 - Navigation - General - 2.1 - Navs - Object Nav / Sub Nav (item-list-tabs) - 2.2 - Pagination -3.0 - Images -4.0 - BP Lists / Loops Generic - 4.1 - Activity Loop - 4.1.1 Whats New Activity - 4.1.2 - Activity Listing - 4.1.3 - Activity Comments - 4.2 - Members Loop - 4.3 - Groups Loop - 4.4 - Blogs Loop -5.0 - Directories - Members, Groups, Blogs, Register, activation -6.0 - Single Item screens: User Account & Single Group Screens - 6.1 - Item Headers: Global - 6.1.1 - item-header: Groups - 6.1.2 - item-header: User Accounts - 6.2 - Item Body: Global - 6.2.1 - item-body: Groups - 6.2.1.1 - Management settings screens - 6.2.1.2 - Group members list - 6.2.2 - item-body: User Accounts - 6.2.2.1 - classes, pag, filters - 6.2.2.2 - Extended Profiles - 6.2.2.3 - Groups - 6.2.2.4 - friends - 6.2.2.5 - Private Messaging Threads - 6.2.2.6 - Settings -7.0 - Forms - General -8.0 - Tables - General -9.0 - Error / Success Messages -10.0 - Ajax Loading, Widgets, General classes ---------------------------------------------------------------*/ -/** -*------------------------------------------------------------------------------- -* @section 1.0 - Theme - Structural Elements. overrides, Globals -*------------------------------------------------------------------------------- -*/ -.buddypress div.clear { - display: none; -} - -.buddypress ul.item-list h1, -.buddypress ul.item-list h2, -.buddypress ul.item-list h3, -.buddypress ul.item-list h4, -.buddypress ul.item-list h5, -.buddypress ul.item-list h6 { - clear: none; - padding: 0; -} - -.buddypress #page a { - box-shadow: none; - text-decoration: none !important; -} - -.buddypress .entry-title { - text-align: center; -} - -@media screen and (min-width: 55em) { - .buddypress .entry-title { - text-align: right; - } -} - -@media screen and (min-width: 55em) { - .buddypress.bp-user.page .site-content, - .buddypress.single-item.groups .site-content, - .buddypress.groups.group-create .site-content, - .directory.buddypress.page-one-column .site-content { - padding-top: 40px; - } - .buddypress.bp-user.page .entry-header, - .buddypress.single-item.groups .entry-header, - .buddypress.groups.group-create .entry-header, - .directory.buddypress.page-one-column .entry-header { - margin: 10px 0; - } -} - -@media screen and (min-width: 48em) { - body.buddypress.page.page-two-column #primary .entry-header { - width: 30%; - } - body.buddypress.page.page-two-column #primary .entry-content { - width: 68%; - } - body.buddypress:not(.has-sidebar) #primary.content-area, - body.buddypress:not(.page-two-column) #primary.content-area { - max-width: 100%; - width: 100%; - } - body.buddypress:not(.has-sidebar) #primary.content-area .entry-content, - body.buddypress:not(.has-sidebar) #primary.content-area .content-bottom-widgets, - body.buddypress:not(.page-two-column) #primary.content-area .entry-content, - body.buddypress:not(.page-two-column) #primary.content-area .content-bottom-widgets { - margin-right: 0; - margin-left: 0; - } - body.buddypress:not(.has-sidebar) .sidebar, - body.buddypress:not(.page-two-column) .sidebar { - float: right; - margin-right: 75%; - padding: 0; - width: 25%; - } -} - -body.colors-dark #buddypress #group-create-tabs.item-list-tabs li.selected, -body.colors-dark #buddypress #group-create-tabs.item-list-tabs li.current { - border-bottom-color: #222; -} - -body.colors-dark #buddypress #group-create-tabs.item-list-tabs li.selected a, -body.colors-dark #buddypress #group-create-tabs.item-list-tabs li.current a { - color: inherit; -} - -body.colors-dark #buddypress div.item-list-tabs ul li.selected a, -body.colors-dark #buddypress div.item-list-tabs ul li.current a { - background: none; - color: inherit; -} - -body.colors-dark #buddypress #object-nav li:not(.current):focus a, -body.colors-dark #buddypress #object-nav li:not(.current):hover a { - color: #555; -} - -body.colors-dark #buddypress #subnav.item-list-tabs ul { - border-bottom: 1px solid rgba(234, 234, 234, 0.9); - margin-bottom: 20px; -} - -body.colors-dark #buddypress #subnav.item-list-tabs ul li.last { - border-top: 1px solid rgba(234, 234, 234, 0.9); -} - -body.colors-dark #buddypress #subnav.item-list-tabs select option { - background-color: #333; -} - -body.colors-dark #buddypress .item-list div.meta { - color: #ddd; -} - -body.colors-dark #buddypress .item-list div.item-desc, -body.colors-dark #buddypress .item-list .activity-header p, -body.colors-dark #buddypress .item-list .activity-comments ul, -body.colors-dark #buddypress .item-list .acomment-meta { - color: #eee; -} - -body.colors-dark #buddypress .item-list .activity-meta a, -body.colors-dark #buddypress .item-list .action a { - background: #fafafa; -} - -body.colors-dark #buddypress .item-list .activity-meta a:focus, body.colors-dark #buddypress .item-list .activity-meta a:hover, -body.colors-dark #buddypress .item-list .action a:focus, -body.colors-dark #buddypress .item-list .action a:hover { - background: #fff; -} - -body.colors-dark #buddypress #latest-update { - color: #eee; -} - -body.colors-dark #buddypress div.pagination * { - color: #ddd; -} - -body.colors-dark #buddypress #item-header .user-nicename { - color: #eee; -} - -body.colors-dark #buddypress #item-body table thead tr, -body.colors-dark #buddypress #item-body table thead th { - background: none; - color: #eee; -} - -body.colors-dark #buddypress #item-body table tr.alt td { - background: none; - color: #eee; -} - -body.colors-dark #buddypress #item-body table .field-visibility-settings, -body.colors-dark #buddypress #item-body table .field-visibility-settings-notoggle { - color: #eee; -} - -body.colors-dark #buddypress #item-body fieldset { - background: none; -} - -body.colors-dark #buddypress #item-body .checkbox label, -body.colors-dark #buddypress #item-body .radio label { - color: #eee; -} - -body.colors-dark #buddypress #item-body div#invite-list { - background: none; -} - -body.colors-dark.group-members #buddypress #subnav li { - background: none; -} - -body.colors-dark.group-members #buddypress #subnav .groups-members-search form { - margin-bottom: 20px; - margin-top: 0; -} - -.directory.colors-dark #buddypress #subnav.item-list-tabs ul { - border-bottom: 0; - border-top: 0; -} - -.directory.colors-dark #buddypress #subnav.item-list-tabs ul li.last.filter { - border-top: 0; -} - -.directory.colors-dark #buddypress div.activity ul.item-list { - border-top: 0; -} - -body.colors-light #buddypress div.item-list-tabs ul { - background-color: #fafafa; -} - -body.colors-light #buddypress div#subnav.item-list-tabs ul { - background-color: #f7f7f7; -} - -body.colors-light #buddypress div#subnav.item-list-tabs ul li.last { - background: #fff; -} - -body.colors-light #buddypress .item-list .activity-header p { - background-color: #f7f7f7; - color: #878787; -} - -body.colors-light #buddypress .item-list .activity-comments .acomment-meta { - color: #737373; -} - -body.colors-light #buddypress #item-body .profile h2 { - background: #878787; - color: #fff; -} - -body.colors-light #buddypress table tr.alt td { - background: #f5f5f5; - color: #333; -} - -body.colors-light #buddypress div#invite-list { - background: #fafafa; -} - -/** -*------------------------------------------------------------------------------- -* @section 2.0 - Navigation - General -*------------------------------------------------------------------------------- -*/ -/** -*---------------------------------------------------------- -* @section 2.1 - Navs Object Nav / Sub Nav (item-list-tabs) -* -* The main navigational elements for all BP screens -*---------------------------------------------------------- -*/ -#buddypress div.item-list-tabs ul li.selected a { - background: inherit; - opacity: 1; -} - -#buddypress div.item-list-tabs ul { - border-bottom: 1px solid rgba(234, 234, 234, 0.9); - overflow: hidden; - padding: 0; -} - -#buddypress div.item-list-tabs ul li a span { - border-radius: 25%; -} - -/*__ Horizontal menus __*/ -#buddypress #object-nav ul { - overflow: hidden; -} - -#buddypress #object-nav ul li { - float: none; -} - -@media screen and (max-width: 38.75em) { - #buddypress #object-nav ul li:not(:last-child) { - border-bottom: 1px solid #eaeaea; - } -} - -@media screen and (max-width: 38.75em) { - #buddypress #object-nav ul li:not(.selected):focus, #buddypress #object-nav ul li:not(.selected):hover { - background: #f4f2df; - } -} - -@media screen and (min-width: 38.75em) { - #buddypress #object-nav ul li { - float: right; - } -} - -#buddypress div#subnav.item-list-tabs { - margin-top: 0; -} - -#buddypress div#subnav.item-list-tabs ul { - border-bottom: 0; - margin-top: 5px; - padding: 0; -} - -#buddypress div#subnav.item-list-tabs ul li.last { - margin-top: 0; - padding: 5px 0 5px 5px; - width: 100%; -} - -#buddypress div#subnav.item-list-tabs ul li.last select, -#buddypress div#subnav.item-list-tabs ul li.last select:focus { - background: transparent; - border: 0; - outline: 0; -} - -#buddypress div#subnav.item-list-tabs ul li.last label { - display: inline; -} - -#buddypress div#subnav.item-list-tabs ul li.last select, -#buddypress div#subnav.item-list-tabs ul li.last label, -#buddypress div#subnav.item-list-tabs ul li.last option { - font-size: 14px; - font-size: 0.875rem; -} - -#buddypress div#subnav.item-list-tabs ul li.last select { - font-style: italic; - height: auto; -} - -@media screen and (min-width: 38.75em) { - #buddypress div#subnav.item-list-tabs ul li.last { - text-align: left; - } -} - -/*__ Vertical menu User Account / Group single screens __*/ -@media screen and (min-width: 55em) { - body:not(.page-two-column) #buddypress #object-nav { - border-left: 1px solid #ddd; - float: right; - margin-left: -1px; - width: 200px; - } - body:not(.page-two-column) #buddypress #object-nav ul { - background: none; - border-bottom: 0; - padding: 0; - } - body:not(.page-two-column) #buddypress #object-nav ul li { - float: none; - overflow: hidden; - } - body:not(.page-two-column) #buddypress #object-nav ul li span { - background: #fff; - border-radius: 10%; - float: left; - margin-left: 2px; - } - body:not(.page-two-column) #buddypress #item-body { - border-right: 1px solid #ddd; - overflow: hidden; - padding: 0 20px 0 0; - width: auto; - } - body:not(.page-two-column) #buddypress #item-body #subnav { - margin: 0 -20px 0 0; - } - body:not(.page-two-column) #buddypress #item-body #subnav ul { - margin-top: 0; - } -} - -@media screen and (min-width: 48em) { - #buddypress #group-create-tabs.item-list-tabs ul:before, - #buddypress #group-create-tabs.item-list-tabs ul:after { - content: " "; - display: table; - } - #buddypress #group-create-tabs.item-list-tabs ul:after { - clear: both; - } - #buddypress #group-create-tabs.item-list-tabs ul { - background: none; - border: 0; - border-bottom: 1px solid #ddd; - overflow: visible; - padding-bottom: 0; - } - #buddypress #group-create-tabs.item-list-tabs ul li { - float: right; - width: auto; - } - #buddypress #group-create-tabs.item-list-tabs ul li.selected, - #buddypress #group-create-tabs.item-list-tabs ul li.current { - border: 1px solid #ddd; - border-bottom-color: #fff; - -webkit-border-top-left-radius: 4px; - border-top-left-radius: 4px; - -webkit-border-top-right-radius: 4px; - border-top-right-radius: 4px; - background-clip: padding-box; - margin-bottom: -1px; - } - #buddypress #group-create-tabs.item-list-tabs ul li.selected a, - #buddypress #group-create-tabs.item-list-tabs ul li.current a { - background: none; - color: #333; - outline: none; - } - #buddypress #subnav ul { - border-bottom: 0; - } -} - -/** -*---------------------------------------------------------- -* @section 2.2 - Pagination -*---------------------------------------------------------- -*/ -#buddypress div.pagination { - box-shadow: none; - font-weight: 400; - min-height: 0; -} - -#buddypress div.pagination:before, #buddypress div.pagination:after { - height: 0; - width: 0; -} - -#buddypress div.pagination .pag-count { - margin-right: 0; -} - -#buddypress div.pagination .pagination-links { - margin-left: 0; -} - -#buddypress div.pagination .pagination-links span, -#buddypress div.pagination .pagination-links a { - height: auto; - line-height: 1; - padding: 5px; -} - -#buddypress div.pagination .pagination-links .prev, -#buddypress div.pagination .pagination-links .next { - background-color: transparent; - color: inherit; - overflow: visible; - width: auto; -} - -#buddypress div.pagination .pagination-links .prev:before, -#buddypress div.pagination .pagination-links .next:before { - display: none; -} - -#buddypress div.pagination .pagination-links .prev { - right: auto; - position: static; -} - -#buddypress div.pagination .pagination-links .next { - position: static; - left: auto; -} - -/** -*------------------------------------------------------------------------------- -* @section 4.0 - BP Lists / Loops Generic -*------------------------------------------------------------------------------- -*/ -#buddypress .item-list .activity-header, -#buddypress .item-list .activity-meta { - font-family: "Libre Franklin", "Helvetica Neue", helvetica, arial, sans-serif; -} - -#buddypress .activity-meta .button:focus, #buddypress .activity-meta .button:hover { - background: inherit; - color: #000; -} - -#buddypress .action .generic-button a:focus, #buddypress .action .generic-button a:hover { - background: inherit; - color: #000; -} - -#buddypress ul.item-list li { - overflow: hidden !important; -} - -#buddypress ul.item-list li .item-avatar { - margin-bottom: 10px; - text-align: center; -} - -@media screen and (min-width: 38.75em) { - #buddypress ul.item-list li .item-avatar { - margin-bottom: 0; - } -} - -#buddypress ul.item-list li .item-avatar a { - border-bottom: 0; -} - -#buddypress ul.item-list li .item-avatar img.avatar { - display: inline-block; - float: none; - margin-bottom: 10px; -} - -@media screen and (min-width: 30em) { - #buddypress ul.item-list li .item-avatar img.avatar { - display: block; - float: right; - } -} - -#buddypress ul.item-list li .item { - overflow: hidden; -} - -@media screen and (min-width: 48em) { - #buddypress ul.item-list li .item { - margin-right: 15%; - } -} - -#buddypress ul.item-list li .item span.activity { - font-style: italic; -} - -#buddypress ul.item-list li .item .item-desc { - margin-right: 0; - width: 94%; -} - -#buddypress ul.item-list li .item .item-title { - font-size: 18px; - font-size: 1.125rem; - line-height: 1.2; - text-align: center; - width: 100%; -} - -@media screen and (min-width: 30em) { - #buddypress ul.item-list li .item .item-title { - text-align: right; - } -} - -#buddypress ul.item-list li .item .item-title .update { - display: block; - font-size: 13px; - font-size: 0.8125rem; - padding: 10px 0; - text-align: right; -} - -@media screen and (min-width: 55em) { - #buddypress ul.item-list li .item .item-title .update { - font-size: 14px; - font-size: 0.875rem; - } -} - -@media screen and (min-width: 55em) { - #buddypress ul.item-list li .item-avatar, - #buddypress ul.item-list li .item, - #buddypress ul.item-list li .action { - float: right; - } - #buddypress ul.item-list li .item { - right: 5%; - margin-right: 0; - position: relative; - width: 55%; - } - #buddypress ul.item-list li .item .item-title { - font-size: 22px; - font-size: 1.375rem; - } -} - -#buddypress ul.item-list li div.action { - clear: right; - float: none; - margin-bottom: -20px; - margin-right: 0; - padding: 20px 0 5px; - position: relative; - text-align: right; - top: 0; -} - -@media screen and (min-width: 55em) { - #buddypress ul.item-list li div.action { - clear: none; - float: left; - margin-bottom: 0; - padding: 0; - } -} - -#buddypress ul.item-list li div.action div { - display: inline-block; - margin: 10px 0; - width: 100%; -} - -#buddypress ul.item-list li div.action div a { - display: block; - width: 100%; -} - -@media screen and (min-width: 30em) { - #buddypress ul.item-list li div.action div { - margin: 0 0 10px 10px; - width: auto; - } -} - -@media screen and (min-width: 55em) { - #buddypress ul.item-list li div.action div { - clear: left; - float: left; - margin: 0 0 10px 0; - } -} - -#buddypress ul.item-list li div.action .meta { - font-style: italic; -} - -/** -*---------------------------------------------------------- -* @section 4.1 - Activity -*---------------------------------------------------------- -*/ -/** -*----------------------------------------------------- -* @section 4.1.1 - Activity Whats New -*----------------------------------------------------- -*/ -#buddypress form#whats-new-form p.activity-greeting { - line-height: 1.4; -} - -@media screen and (max-width: 46.25em) { - #buddypress form#whats-new-form #whats-new-content { - clear: right; - margin: 10px 0 20px; - padding: 10px 0 0; - } -} - -#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box { - border: 1px solid rgba(190, 190, 190, 0.5); - float: right; - line-height: 1.5; - margin-top: 12px; - padding-right: 0.2em; - width: 100%; -} - -#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box select { - background: none; - border: 0; - float: left; - margin: 0; - min-height: 1.5em; - padding-right: 0.4em; -} - -@media screen and (min-width: 30em) { - #buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box { - width: auto; - } - #buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-submit { - float: left; - } -} - -#buddypress #item-body form#whats-new-form { - margin: 40px 0; -} - -/** -*----------------------------------------------------- -* @section 4.1.2 - Activity Listing -*----------------------------------------------------- -*/ -#buddypress #activity-stream li { - padding: 25px 0 15px; -} - -#buddypress #activity-stream li .activity-avatar { - float: none; - text-align: center; -} - -#buddypress #activity-stream li .activity-avatar a { - display: inline-block; -} - -#buddypress #activity-stream li .activity-avatar a img.avatar { - display: inline; - float: none; - height: 60px; - margin-bottom: 20px; - margin-right: 0; - width: 60px; -} - -#buddypress #activity-stream li .activity-content { - margin-right: 0; -} - -#buddypress #activity-stream li .activity-content .activity-header { - font-size: 14px; - font-size: 0.875rem; -} - -#buddypress #activity-stream li .activity-content .activity-header a { - color: #0075c4; -} - -@media screen and (min-width: 48em) { - #buddypress #activity-stream li .activity-avatar { - float: right; - margin-left: 10px; - text-align: right; - } - #buddypress #activity-stream li .activity-avatar a { - border-bottom: 0; - } - #buddypress #activity-stream li .activity-content { - margin: 0; - overflow: hidden; - } - #buddypress #activity-stream li .activity-content .activity-header { - font-size: 16px; - font-size: 1rem; - } -} - -#buddypress #activity-stream li.mini .activity-avatar a img.avatar { - height: 30px; - margin-right: 15px; - width: 30px; -} - -#buddypress #activity-stream li.mini .activity-content .activity-header { - font-size: 14px; - font-size: 0.875rem; -} - -#buddypress #activity-stream .activity-content { - margin-top: -12px; -} - -#buddypress #activity-stream .activity-content .activity-header { - margin-left: 0; -} - -#buddypress #activity-stream .activity-content .activity-header p { - border: 1px solid rgba(234, 234, 234, 0.6); - margin-top: 0; - padding: 0 0.2em; -} - -#buddypress #activity-stream .activity-content .activity-header img.avatar { - box-shadow: none; - display: inline-block; - margin: 0 5px !important; - vertical-align: middle; -} - -#buddypress #activity-stream .activity-content .activity-meta a { - display: block; - margin-bottom: 5px; -} - -@media screen and (min-width: 30em) { - #buddypress #activity-stream .activity-content .activity-meta a { - display: inline-block; - margin-bottom: 0; - width: auto; - } -} - -#buddypress #activity-stream .load-more { - background: #f7f7f7; - border: 1px solid transparent; - padding: 10px; -} - -#buddypress #activity-stream .load-more:focus, #buddypress #activity-stream .load-more:hover { - background: #f4f4f4; - border: 1px solid rgba(159, 209, 226, 0.3); -} - -#buddypress #activity-stream .load-more:focus a, #buddypress #activity-stream .load-more:hover a { - font-style: italic; -} - -#buddypress #activity-stream .load-more a { - display: block; -} - -/* Single activity view - activity permalink */ -.activity-permalink #buddypress #activity-stream li.activity-item { - padding: 20px; -} - -.activity-permalink #buddypress #activity-stream li.mini .activity-header { - font-size: 16px; - font-size: 1rem; - margin-bottom: 40px; -} - -@media screen and (min-width: 48em) { - .activity-permalink #buddypress #activity-stream li.mini .activity-header { - font-size: 20px; - font-size: 1.25rem; - } -} - -.activity-permalink #buddypress #activity-stream li.mini .activity-header p { - padding: 20px; -} - -/** -*----------------------------------------------------- -* @section 4.1.3 - Activity Comments -*----------------------------------------------------- -*/ -#buddypress #activity-stream .activity-comments { - border-right: 1px solid #eaeaea; - margin: 20px 0 20px; -} - -@media screen and (min-width: 30em) { - #buddypress #activity-stream .activity-comments { - margin-right: 20px; - } -} - -#buddypress #activity-stream .activity-comments ul { - margin: 15px 2px 0 0; -} - -#buddypress #activity-stream .activity-comments ul li { - border-top: 1px solid #bebebe; -} - -#buddypress #activity-stream .activity-comments ul a { - color: #0077c7; -} - -#buddypress #activity-stream .activity-comments .acomment-meta { - border-bottom: 1px solid #eaeaea; -} - -#buddypress #activity-stream .activity-comments .ac-form input[type="submit"], -#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel { - color: rgba(51, 51, 51, 0.8); - display: inline-block; - font-family: inherit; - font-size: 12px; - font-size: 0.75rem; - font-weight: 400; - line-height: 1.2; - padding: 4px 10px; - text-transform: lowercase; - width: 100px; -} - -#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel { - border: 1px solid rgba(190, 190, 190, 0.7); - text-align: center; -} - -#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:focus, #buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:hover { - background: #ededed; -} - -/** -*---------------------------------------------------------- -* @section 4.2 - Members Loop -*---------------------------------------------------------- -*/ -@media screen and (min-width: 55em) { - #buddypress #members-list li .item-avatar, - #buddypress #members-list li .item { - float: right; - } - #buddypress #members-list li .action { - float: left; - } - #buddypress #members-list li.is-current-user .item { - float: none; - right: 0; - padding-right: 5%; - width: auto; - } -} - -/** -*------------------------------------------------------------------------------- -* @section 5.0 - Directories -*------------------------------------------------------------------------------- -*/ -/** -*----------------------------------------------------------- -* @subsection Registration -*----------------------------------------------------------- -*/ -#buddypress #signup_form.standard-form #profile-details-section, -#buddypress #signup_form.standard-form #basic-details-section, -#buddypress #signup_form.standard-form #blog-details-section { - float: none; - width: 100%; -} - -@media screen and (min-width: 38.75em) { - #buddypress #signup_form.standard-form #profile-details-section, - #buddypress #signup_form.standard-form #basic-details-section, - #buddypress #signup_form.standard-form #blog-details-section { - width: 48%; - } -} - -@media screen and (min-width: 30em) { - #buddypress #signup_form.standard-form #profile-details-section { - float: left; - } - #buddypress #signup_form.standard-form #basic-details-section { - float: right; - } -} - -/** -*------------------------------------------------------------------------------- -* @section 6.0 - Single Item screens: User Account & Single Group Screens -*------------------------------------------------------------------------------- -*/ -/** -*----------------------------------------------------------- -* @subsection 6.1 - Item Header Global -*----------------------------------------------------------- -*/ -@media screen and (min-width: 48em) { - .bp-user.page-two-column #buddypress #cover-image-container #item-header-cover-image #item-header-content { - margin-right: 140px; - margin-top: -100px; - } - .single-item.groups.page-two-column #buddypress #cover-image-container #item-header-cover-image #item-header-content { - margin-right: 10px; - } -} - -.bp-user #buddypress #item-header-cover-image .user-nicename, -.single-item.groups #buddypress #item-header-cover-image .user-nicename { - color: #333; - text-shadow: none; -} - -@media screen and (min-width: 48em) { - .bp-user #buddypress #item-header-cover-image .user-nicename, - .single-item.groups #buddypress #item-header-cover-image .user-nicename { - color: #fff; - text-shadow: 0 0 3px rgba(0, 0, 0, 0.8); - } -} - -.bp-user #buddypress #item-header-content #item-meta, -.single-item.groups #buddypress #item-header-content #item-meta { - font-size: 14px; - font-size: 0.875rem; - text-align: right; -} - -.bp-user #buddypress #item-header-content #item-meta p, -.single-item.groups #buddypress #item-header-content #item-meta p { - margin-bottom: 0.5em; -} - -@media screen and (max-width: 46.25em) { - .bp-user main header.entry-header, - .single-item.groups main header.entry-header { - padding-bottom: 1rem; - } -} - -@media screen and (max-width: 38.75em) { - .bp-user h1, - .bp-user #item-header-content, - .single-item.groups h1, - .single-item.groups #item-header-content { - text-align: center; - } -} - -@media screen and (max-width: 46.25em) { - .bp-user #buddypress #item-header .generic-button, - .single-item.groups #buddypress #item-header .generic-button { - float: none; - margin: 1.5em 0 0; - } -} - -@media screen and (max-width: 38.75em) { - .bp-user #buddypress h1, - .single-item.groups #buddypress h1 { - margin-bottom: 0; - } - .bp-user #buddypress #item-header-avatar img.avatar, - .single-item.groups #buddypress #item-header-avatar img.avatar { - margin-left: 0; - } - .bp-user #buddypress #item-header-content, - .single-item.groups #buddypress #item-header-content { - width: 100%; - } -} - -/** -*----------------------------------------------------- -* @subsection 6.1.1 - item-header Groups -* -* Group Specific Item Header -*----------------------------------------------------- -*/ -@media screen and (max-width: 46.25em) { - .single-item.groups #buddypress #item-header #item-meta { - margin-bottom: 20px; - } -} - -@media screen and (max-width: 38.75em) { - .single-item.groups #buddypress div#item-header { - display: flex; - flex-direction: column; - } - .single-item.groups #buddypress div#item-header #item-header-avatar { - order: 1; - text-align: center; - } - .single-item.groups #buddypress div#item-header #item-header-avatar a img { - display: inline-block; - float: none; - } - .single-item.groups #buddypress div#item-header #item-header-content { - order: 2; - } - .single-item.groups #buddypress div#item-header #item-actions { - order: 3; - } - .single-item.groups #buddypress div#item-header #item-actions h2 { - border-bottom: 1px solid #eaeaea; - text-align: center; - } -} - -.single-item.groups #buddypress div#item-header { - padding-bottom: 40px; -} - -.single-item.groups #buddypress div#item-header div#item-actions { - margin: 0; - width: 100%; -} - -@media screen and (min-width: 38.75em) { - .single-item.groups #buddypress div#item-header div#item-actions { - border-right: 1px solid #eaeaea; - clear: none; - float: left; - padding-right: 0.2em; - width: 30%; - } -} - -@media screen and (min-width: 48em) { - .single-item.groups #buddypress div#item-header div#item-actions { - width: 40%; - } -} - -.single-item.groups #buddypress div#item-header div#item-actions ul { - margin-top: 0; - padding-right: 0; -} - -.single-item.groups #buddypress div#item-header div#item-actions h2 { - font-size: 14px; - font-size: 0.875rem; - padding: 0.2em; -} - -@media screen and (min-width: 48em) { - .single-item.groups #buddypress div#item-header div#item-actions h2 { - font-size: 16px; - font-size: 1rem; - } -} - -@media screen and (min-width: 48em) { - .single-item.groups #buddypress div#item-header #item-header-avatar, - .single-item.groups #buddypress div#item-header #item-header-content { - float: right; - } - .single-item.groups #buddypress div#item-header #item-header-avatar { - width: 21%; - } - .single-item.groups #buddypress div#item-header #item-header-content { - margin-right: 4%; - width: 40%; - } - .single-item.groups #buddypress div#item-header div#item-actions { - float: left; - width: 28%; - } -} - -/** -*----------------------------------------------------- -* @subsection 6.1.2 - Item Header User Accounts -* -* User Accounts Specific Item Header -*----------------------------------------------------- -*/ -.bp-user #buddypress #item-header { - padding: 20px 0; -} - -.bp-user #buddypress #item-header #item-header-avatar { - text-align: center; - width: 100%; -} - -.bp-user #buddypress #item-header #item-header-avatar img.avatar, -.bp-user #buddypress #item-header #item-header-avatar a { - display: inline-block; - float: none; -} - -@media screen and (min-width: 48em) { - .bp-user #buddypress #item-header #item-header-avatar { - float: right; - width: 20%; - } - .bp-user #buddypress #item-header #item-header-avatar a { - float: right; - } - .bp-user #buddypress #item-header #item-header-content { - float: left; - margin-left: 5%; - width: 69%; - } -} - -/** -*----------------------------------------------------------- -* @subsection 6.2 - Item Body: Global -*----------------------------------------------------------- -*/ -/** -*---------------------------------------------------- -* @subsection 6.2.1 - Item Body Groups -* -* Groups specific item body rules - screens -*---------------------------------------------------- -*/ -.groups.single-item.members #buddypress #subnav.item-list-tabs ul { - background: none; - border-top: 0; -} - -/** -*----------------------------------------- -* @subsection 6.2.1.1 - Group Management -*----------------------------------------- -*/ -.groups #group-settings-form h3 { - background: #555; - color: #fff; - padding: 0.2em; -} - -.groups.edit-details #group-settings-form label { - margin-bottom: 0; - padding: 0.2em; - width: 80%; -} - -.groups.edit-details #group-settings-form textarea + p label { - background: none; - color: inherit; - font-size: 14px; - font-size: 0.875rem; - width: auto; -} - -.groups.edit-details #group-settings-form textarea { - height: auto; - min-height: 100px; - overflow: auto; -} - -.groups.group-settings #group-settings-form div.radio label { - border: 1px solid #eaeaea; - padding: 0.2em; -} - -.groups.group-settings #group-settings-form div.radio label ul { - color: rgba(51, 51, 51, 0.6); - font-size: 14px; - font-size: 0.875rem; -} - -.groups.group-avatar form > p { - margin-top: 20px; -} - -.groups.manage-members #group-settings-form .item-list li { - border-bottom: 1px solid #eaeaea; -} - -.groups.manage-members #group-settings-form .item-list li img, -.groups.manage-members #group-settings-form .item-list li h5 { - float: right; -} - -.groups.manage-members #group-settings-form .item-list li img > a, -.groups.manage-members #group-settings-form .item-list li h5 > a { - border-bottom: 0; -} - -.groups.manage-members #group-settings-form .item-list li span.small { - clear: right; - display: block; - float: none; - margin-top: 10px; -} - -.groups.manage-members #group-settings-form .item-list li span.small a { - display: inline-block; - margin: 5px 0; - width: 100%; -} - -@media screen and (min-width: 38.75em) { - .groups.manage-members #group-settings-form .item-list li span.small a { - width: auto; - } -} - -.groups.manage-members #group-settings-form .item-list li h5 { - margin: 0; -} - -/** -*----------------------------------------- -* @subsection 6.2.1.2 - Group members -*----------------------------------------- -*/ -.groups.group-members #subnav li { - width: 100%; -} - -@media screen and (max-width: 38.75em) { - .groups.group-members #subnav li { - background: #fff; - padding: 20px 0; - } -} - -.groups.group-members #subnav li #search-members-form { - float: left; - margin: 5px 0 0; -} - -@media screen and (max-width: 38.75em) { - .groups.group-members #subnav li #search-members-form { - margin: 0; - width: 100%; - } - .groups.group-members #subnav li #search-members-form label input[type="text"] { - width: 100%; - } -} - -/** -*----------------------------------------------------- -* @subsection 6.2.2 - Item Body User Accounts -* -* User Account specific item body rules -*----------------------------------------------------- -*/ -.bp-user .entry-title { - margin-bottom: 0.5em; -} - -/** -*-------------------------------------------- -* @subsection 6.2.2.1 - classes, pag, filters -*-------------------------------------------- -*/ -.bp-user #buddypress table th { - font-size: 14px; - font-size: 0.875rem; -} - -.bp-user #buddypress table td { - font-size: 12px; - font-size: 0.75rem; -} - -.bp-user #buddypress table a { - color: #0074c2; -} - -@media screen and (min-width: 55em) { - .bp-user #buddypress table th { - font-size: 16px; - font-size: 1rem; - } - .bp-user #buddypress table td { - font-size: 14px; - font-size: 0.875rem; - } -} - -@media screen and (min-width: 67em) { - .bp-user #buddypress table th { - font-size: 18px; - font-size: 1.125rem; - } - .bp-user #buddypress table td { - font-size: 16px; - font-size: 1rem; - } -} - -.bp-user #buddypress .pag-count { - font-style: italic; -} - -.bp-user #buddypress .notifications-options-nav, -.bp-user #buddypress .messages-options-nav { - float: right; - width: 100%; -} - -@media screen and (min-width: 38.75em) { - .bp-user #buddypress .notifications-options-nav, - .bp-user #buddypress .messages-options-nav { - width: 300px; - } -} - -.bp-user #buddypress .notifications-options-nav select, -.bp-user #buddypress .messages-options-nav select { - height: auto; -} - -.bp-user #buddypress .notifications-options-nav select, -.bp-user #buddypress .notifications-options-nav input, -.bp-user #buddypress .messages-options-nav select, -.bp-user #buddypress .messages-options-nav input { - font-size: 14px; - font-size: 0.875rem; - outline: 0; - padding: 0; -} - -.bp-user #buddypress .notifications-options-nav select, -.bp-user #buddypress .messages-options-nav select { - float: right; - margin-left: 1%; - width: 59%; -} - -.bp-user #buddypress .notifications-options-nav input, -.bp-user #buddypress .messages-options-nav input { - float: left; - font-family: inherit; - line-height: 20px; - width: 40%; -} - -.bp-user #buddypress .notifications-options-nav input[disabled="disabled"]:focus, -.bp-user #buddypress .notifications-options-nav input[disabled="disabled"]:hover, -.bp-user #buddypress .messages-options-nav input[disabled="disabled"]:focus, -.bp-user #buddypress .messages-options-nav input[disabled="disabled"]:hover { - background: none; -} - -/** - *------------------------------------------- - * @subsection 6.2.2.2 - Extended Profiles - *------------------------------------------- - */ -.bp-user #buddypress .profile { - /* Edit profile */ -} - -.bp-user #buddypress .profile h2 { - margin: 40px 0 10px; - padding: 0.1em 0.4em 0.1em 0; -} - -.bp-user #buddypress .profile table { - margin-top: 0; -} - -.bp-user #buddypress .profile .profile-fields tr.alt td { - color: #333; -} - -.bp-user #buddypress .profile .profile-fields tr:last-child { - border-bottom: 0; -} - -.bp-user #buddypress .profile #profile-edit-form .button-nav:before, -.bp-user #buddypress .profile #profile-edit-form .button-nav:after { - content: " "; - display: table; -} - -.bp-user #buddypress .profile #profile-edit-form .button-nav:after { - clear: both; -} - -.bp-user #buddypress .profile #profile-edit-form ul.button-nav { - border-bottom: 1px solid #eaeaea; - margin-right: 0; -} - -.bp-user #buddypress .profile #profile-edit-form ul.button-nav li { - float: right; - margin-bottom: 0; -} - -.bp-user #buddypress .profile #profile-edit-form ul.button-nav li.current { - border: 1px solid #eaeaea; - border-bottom-color: #fff; - margin-bottom: -1px; -} - -.bp-user #buddypress .profile #profile-edit-form ul.button-nav a { - background: none; - border: 0; - font-size: 18px; - font-size: 1.125rem; -} - -.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle, -.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-notoggle, -.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings { - font-size: 14px; - font-size: 0.875rem; - margin-top: 10px; -} - -.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close, -.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link { - background: #555; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - -ms-border-radius: 3px; - border-radius: 3px; - background-clip: padding-box; - color: #fff; - padding: 0.2em 0.5em; -} - -.bp-user #buddypress .profile .bp-avatar #bp-delete-avatar a { - font-size: inherit; -} - -/** - *------------------------------------------- - * @subsection 6.2.2.3 - Groups - *------------------------------------------- - */ -@media screen and (min-width: 77.5em) { - .bp-user #buddypress #groups-list li .item { - right: 5%; - width: 50%; - } -} - -/** - *------------------------------------------- - * @subsection 6.2.2.5 - Private Messaging - *------------------------------------------- - */ -.bp-user #buddypress #message-thread a { - border-bottom: 0; -} - -.bp-user #buddypress #message-thread #message-subject { - background: #6f6e6e; - color: #fff; - padding: 0.3em 0.2em 0.3em 0; -} - -.bp-user #buddypress #message-thread #message-recipients { - font-style: italic; -} - -.bp-user #buddypress #message-thread #message-recipients a.confirm { - border: 1px solid #eaeaea; - font-style: normal; -} - -.bp-user #buddypress #message-thread .message-metadata:after { - clear: both; - content: ""; - display: table; -} - -.bp-user #buddypress #message-thread .message-metadata img.avatar { - float: none; -} - -@media screen and (min-width: 48em) { - .bp-user #buddypress #message-thread .message-metadata img.avatar { - float: right; - } -} - -.bp-user #buddypress #message-thread .message-metadata .message-star-actions { - float: left; - margin-left: 5px; - position: static; -} - -.bp-user #buddypress #message-thread .message-content { - background: #f7f7f7; - border: 1px solid #eaeaea; - margin: 10px 0 0 0; - padding: 0.3em; -} - -.bp-user #buddypress #message-thread #send-reply .message-content { - background: #fff; - border: 0; -} - -.bp-user #buddypress #message-thread .alt { - background: #fff; -} - -.bp-user #buddypress #message-threads thead tr { - background: none; - border-bottom: 1px solid #bebebe; -} - -.bp-user #buddypress #message-threads thead tr th { - background: #555; -} - -.bp-user #buddypress #message-threads tr { - border-bottom: 5px solid #878787; -} - -.bp-user #buddypress #message-threads tr td { - display: inline-block; - float: right; -} - -.bp-user #buddypress #message-threads tr td.thread-star, -.bp-user #buddypress #message-threads tr td.thread-options { - border-bottom-color: #bebebe; - border-bottom-width: 1px; - height: 2.4em; - padding-bottom: 0.2em; - padding-top: 0.2em; -} - -@media screen and (max-width: 46.25em) { - .bp-user #buddypress #message-threads tr td.thread-star, - .bp-user #buddypress #message-threads tr td.thread-options { - padding-top: 0; - } -} - -.bp-user #buddypress #message-threads tr td.bulk-select-check, -.bp-user #buddypress #message-threads tr td.thread-star, -.bp-user #buddypress #message-threads tr td.thread-from, -.bp-user #buddypress #message-threads tr td.thread-info, -.bp-user #buddypress #message-threads tr td.thread-options { - border-top: 0; -} - -.bp-user #buddypress #message-threads tr td.thread-star { - vertical-align: middle; -} - -.bp-user #buddypress #message-threads tr td.thread-star .message-action-star { - line-height: 1.2; -} - -.bp-user #buddypress #message-threads tr td.bulk-select-check, -.bp-user #buddypress #message-threads tr td.thread-from { - height: 3em; -} - -@media screen and (max-width: 38.75em) { - .bp-user #buddypress #message-threads tr td.bulk-select-check, - .bp-user #buddypress #message-threads tr td.thread-from { - height: 5.2em; - } -} - -.bp-user #buddypress #message-threads tr td.thread-from, -.bp-user #buddypress #message-threads tr td.thread-options { - border-right: 0 !important; - width: -webkit-calc(100% - 30px); - width: -moz-calc(100% - 30px); - width: calc(100% - 30px); - margin-right: 0; -} - -.bp-user #buddypress #message-threads tr td.thread-info { - padding-right: 41px; - width: 100%; -} - -.bp-user #buddypress #message-threads tr td.thread-options { - text-align: left; -} - -.bp-user #buddypress #message-threads tr td.thread-options a { - font-size: 12px; - font-size: 0.75rem; - line-height: 2.2; -} - -.bp-user #buddypress #message-threads tr span.from { - display: none; -} - -.bp-user #buddypress #message-threads tr span.activity { - display: block; - float: left; - line-height: 2; -} - -@media screen and (max-width: 38.75em) { - .bp-user #buddypress #message-threads tr span.activity { - clear: both; - font-size: 11px; - font-size: 0.6875rem; - width: 100%; - } -} - -.bp-user #buddypress #message-threads tr.unread td { - background: none; - border-color: #bebebe; -} - -.bp-user #buddypress #message-threads th { - display: none; -} - -.bp-user #buddypress #message-threads th.bulk-select-all { - border-bottom: 0; - display: inline-block; - text-align: right; -} - -.bp-user #buddypress #message-threads th.bulk-select-all, -.bp-user #buddypress #message-threads td.bulk-select-check, -.bp-user #buddypress #message-threads td.thread-star { - border-left: 0; - width: 30px; -} - -.bp-user #buddypress .acfb-holder { - list-style: none; -} - -.bp-user #buddypress .acfb-holder li { - margin-right: 0; -} - -.bp-user #buddypress .acfb-holder li.friend-tab { - background: #e3f6ff; - border: inherit; - margin-left: 0; - padding: 0.5em; -} - -.bp-user #buddypress .acfb-holder li.friend-tab span.p { - padding-right: 10px; -} - -.bp-user #buddypress .acfb-holder li.friend-tab span.p:focus, .bp-user #buddypress .acfb-holder li.friend-tab span.p:hover { - color: #c82b2b; - cursor: pointer; -} - -.bp-user #buddypress .acfb-holder li.friend-tab a { - border-bottom: 0; - text-decoration: none; -} - -.bp-user #buddypress .acfb-holder li.friend-tab a img { - display: inline; - height: 20px; - vertical-align: middle; - width: 20px !important; -} - -.bp-user #buddypress #message-threads.sitewide-notices td { - width: 100%; -} - -.bp-user #buddypress #message-threads.sitewide-notices td strong { - background: #6f6e6e; - color: #fff; - display: block; - margin-bottom: 0.4em; - padding-right: 0.2em; -} - -.bp-user #buddypress #message-threads.sitewide-notices td a { - display: inline-block; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:first-child { - display: none; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:nth-child(2) strong { - margin: -8px -8px 8px; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:first-child + td + td { - border-bottom: 0; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:first-child + td + td span { - line-height: 1; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:last-child { - border-bottom-color: #b7b7b7; - line-height: 1; - text-align: left; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child { - line-height: 0; - margin-right: 0.7em; - text-indent: -999em; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child:after { - content: attr(title); - display: block; - line-height: initial; - text-indent: 0; -} - -.bp-user .ac_results { - background: #eee; - padding-right: 10px; -} - -.bp-user .ac_results ul { - margin: 0; -} - -.bp-user .ac_results li { - margin: 10px 0; -} - -.bp-user .ac_results li:focus, .bp-user .ac_results li:hover { - cursor: pointer; -} - -/** - *------------------------------ - * @subsection 6.2.2.6 - Settings - *------------------------------ - */ -.bp-user #buddypress #settings-form > p { - font-size: 20px; - font-size: 1.25rem; - margin: 20px 0 10px; -} - -.bp-user #buddypress table.notification-settings td.yes, -.bp-user #buddypress table.notification-settings td.no { - vertical-align: middle; -} - -.bp-user #buddypress table.profile-settings { - width: 100%; -} - -.bp-user #buddypress table.profile-settings th.field-group-name, -.bp-user #buddypress table.profile-settings td.field-name { - width: 50%; -} - -@media screen and (min-width: 48em) { - .bp-user #buddypress table.profile-settings th.field-group-name, - .bp-user #buddypress table.profile-settings td.field-name { - width: 70%; - } -} - -.bp-user #buddypress table.profile-settings th.title, -.bp-user #buddypress table.profile-settings td.field-visibility { - width: 30%; -} - -.bp-user #buddypress table.profile-settings td.field-visibility select { - width: 100%; -} - -/** -*------------------------------------------------------------------------------- -* @section 7.0 - Forms - General -*------------------------------------------------------------------------------- -*/ -#main #buddypress .standard-form li { - float: none; -} - -#main #buddypress .standard-form input[type="text"], -#main #buddypress .standard-form input[type="email"], -#main #buddypress .standard-form input[type="password"], -#main #buddypress .standard-form textarea { - width: 100%; -} - -#buddypress div.activity-comments form .ac-textarea { - background: #f7f7f7; - border: 1px solid rgba(190, 190, 190, 0.5); -} - -#buddypress div.activity-comments form .ac-textarea textarea { - background: none; - border: 0; -} - -#buddypress select { - height: auto; -} - -#buddypress .standard-form input[type="text"], -#buddypress .standard-form input[type="email"], -#buddypress .standard-form input[type="password"], -#buddypress .standard-form button, -#buddypress .standard-form select, -#buddypress .standard-form textarea { - border-color: rgba(190, 190, 190, 0.5); - border-width: 1px; -} - -#buddypress .standard-form select { - color: #737373; -} - -#buddypress #signup_form.standard-form div.submit { - float: none; -} - -#buddypress #signup_form.standard-form div.submit input { - margin-left: 0; -} - -#buddypress div.dir-search, -#buddypress div.message-search, -#buddypress li.groups-members-search { - float: none; - margin: 10px 0; -} - -#buddypress div.dir-search form, -#buddypress div.message-search form, -#buddypress li.groups-members-search form { - border: 1px solid rgba(190, 190, 190, 0.6); - -webkit-border-radius: 2px; - -moz-border-radius: 2px; - -ms-border-radius: 2px; - border-radius: 2px; - background-clip: padding-box; - overflow: hidden; -} - -#buddypress div.dir-search form label, -#buddypress div.message-search form label, -#buddypress li.groups-members-search form label { - float: right; - margin: 0; - width: 70%; -} - -#buddypress div.dir-search form input[type="text"], -#buddypress div.message-search form input[type="text"], -#buddypress li.groups-members-search form input[type="text"] { - float: right; - margin: 0; - width: 100%; -} - -#buddypress div.dir-search form input[type="text"], -#buddypress div.dir-search form input[type="submit"], -#buddypress div.message-search form input[type="text"], -#buddypress div.message-search form input[type="submit"], -#buddypress li.groups-members-search form input[type="text"], -#buddypress li.groups-members-search form input[type="submit"] { - border: 0; - font-size: 14px; - font-size: 0.875rem; - line-height: inherit; -} - -#buddypress div.dir-search form input[type="text"], -#buddypress div.message-search form input[type="text"], -#buddypress li.groups-members-search form input[type="text"] { - border-left: 1px solid rgba(190, 190, 190, 0.6); - font-weight: 400; - padding: 0.2em 0.2em 0.2em 0; -} - -#buddypress div.dir-search form input[type="submit"], -#buddypress div.message-search form input[type="submit"], -#buddypress li.groups-members-search form input[type="submit"] { - -webkit-border-radius: none; - -moz-border-radius: none; - -ms-border-radius: none; - border-radius: none; - float: left; - font-weight: 400; - padding: 0.2em 1em; - text-align: center; - text-transform: none; - width: 30%; -} - -#buddypress div.dir-search { - margin-top: 0; -} - -#buddypress .dir-search #search-members-form input[type="text"], -#buddypress #search-groups-form input[type="text"], -#buddypress #search-message-form input[type="text"] { - float: right; - margin: 0; - width: 70%; -} - -@media screen and (min-width: 30em) { - #buddypress div.dir-search, - #buddypress div.message-search, - #buddypress li.groups-members-search { - float: left; - margin-bottom: 5px !important; - } -} - -@media screen and (min-width: 67em) { - #buddypress .dir-search form input[type="text"], - #buddypress .message-search form input[type="text"], - #buddypress li.groups-members-search form input[type="text"] { - font-size: 16px; - font-size: 1rem; - } - #buddypress .dir-search form input[type="submit"], - #buddypress .message-search form input[type="submit"], - #buddypress li.groups-members-search form input[type="submit"] { - font-size: 16px; - font-size: 1rem; - } -} - -body.colors-dark #page #buddypress .dir-search form, -body.colors-dark #page #buddypress .groups-members-search form, -body.colors-dark #page #buddypress .message-search form { - background: #333; - border-color: #555; - -webkit-border-radius: 2px; - -moz-border-radius: 2px; - -ms-border-radius: 2px; - border-radius: 2px; - background-clip: padding-box; - padding: 1px; -} - -body.colors-dark #page #buddypress .dir-search input[type="text"], -body.colors-dark #page #buddypress .groups-members-search input[type="text"], -body.colors-dark #page #buddypress .message-search input[type="text"] { - background: none; -} - -body.colors-dark #page #buddypress .dir-search input[type="submit"], -body.colors-dark #page #buddypress .groups-members-search input[type="submit"], -body.colors-dark #page #buddypress .message-search input[type="submit"] { - -webkit-border-radius: 2px; - -moz-border-radius: 2px; - -ms-border-radius: 2px; - border-radius: 2px; - background-clip: padding-box; -} - -body.colors-dark #page .message-search { - margin-top: 0; -} - -/** -*------------------------------------------------------------------------------- -* @section 8.0 - Tables - General -*------------------------------------------------------------------------------- -*/ -#buddypress table { - font-size: 14px; - font-size: 0.875rem; - margin: 20px 0; -} - -#buddypress table tr th { - background: #f7f7f7; - border-color: #eaeaea; - color: #333; -} - -#buddypress table p { - margin-bottom: 0.5em; -} - -@media screen and (min-width: 55em) { - #buddypress table { - font-size: 16px; - font-size: 1rem; - } -} - -/*__ User Account tables __*/ -#buddypress .notifications th, -#buddypress .messages-notices th { - width: 30%; -} - -#buddypress .notifications th.bulk-select-all, -#buddypress .messages-notices th.bulk-select-all { - text-align: center; - width: 10%; -} - -#buddypress .notifications .bulk-select-check, -#buddypress .notifications .thread-star, -#buddypress .messages-notices .bulk-select-check, -#buddypress .messages-notices .thread-star { - text-align: center; -} - -#buddypress .notifications .notification-actions, -#buddypress .notifications td.thread-options, -#buddypress .messages-notices .notification-actions, -#buddypress .messages-notices td.thread-options { - text-align: center; -} - -#buddypress .notifications .notification-actions a, -#buddypress .notifications td.thread-options a, -#buddypress .messages-notices .notification-actions a, -#buddypress .messages-notices td.thread-options a { - display: inline-block; - margin: 0; - padding: 0; -} - -#buddypress .notifications td .button, -#buddypress .messages-notices td .button { - border: 0; - display: block; - padding: 0; - text-align: center; -} - -#buddypress .notifications .actions { - text-align: center; -} - -/** -*------------------------------------------------------------------------------- -* @section 9.0 - Error / Success messages -*------------------------------------------------------------------------------- -*/ -#buddypress div#message p { - font-size: 18px; - font-size: 1.125rem; - font-weight: 700; -} - -#buddypress div#message.info p { - background: #b0e5ff; - border: 1px solid #4ac3ff; - color: #00547d; -} - -#buddypress div#message.updated p { - background: #dee6b2; - border: 1px solid #becc66; - color: #454d19; -} - -#buddypress .bp-avatar-status .warning, -#buddypress .bp-cover-image-status .warning { - background: #7dd4ff; - border: 1px solid #000; - color: #333; - font-size: 16px; - font-size: 1rem; -} - -.delete-group #buddypress div#message.info p { - background: #db7e7e; - border: 1px solid #be3535; - color: #1f0808; -} - -/** -*------------------------------------------------------------------------------- -* @section 10.0 - Ajax Loading, Widgets, General classes -*------------------------------------------------------------------------------- -*/ -#buddypress .acfb-holder li.friend-tab { - background: #7dd4ff; - border: inherit; -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/026/026.test.js b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/026/026.test.js deleted file mode 100644 index d3a99c5d1a6ad0..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/026/026.test.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -const stylelint = require( 'stylelint' ), - systemTestUtils = require( '../systemTestUtils.js' ); - -it( '026', () => { - return stylelint.lint({ - files: [systemTestUtils.caseStylesheetGlob( '026' )], - configFile: systemTestUtils.caseConfig( '026' ), - }).then( ({ results }) => { - expect( systemTestUtils.prepResults( results ) ).toMatchSnapshot(); - }); -}); diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/026/__snapshots__/026.test.js.snap b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/026/__snapshots__/026.test.js.snap deleted file mode 100644 index 6cf24741a360f9..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/026/__snapshots__/026.test.js.snap +++ /dev/null @@ -1,891 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`026 1`] = ` -Array [ - Object { - "deprecations": Array [], - "errored": true, - "ignored": undefined, - "invalidOptionWarnings": Array [], - "parseErrors": Array [], - "source": "026/stylesheet.css", - "warnings": Array [ - Object { - "column": 1, - "line": 56, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 61, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 142, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 580, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 840, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 874, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 1075, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 1082, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 2, - "line": 1292, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 2, - "line": 66, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 85, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 91, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 96, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 99, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 104, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 113, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 118, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 123, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 171, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 177, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 183, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 188, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 191, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 197, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 212, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 218, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 224, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 266, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 273, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 277, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 283, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 288, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 292, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 298, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 304, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 307, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 313, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 318, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 321, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 328, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 332, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 343, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 349, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 437, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 453, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 464, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 487, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 501, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 508, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 513, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 519, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 537, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 557, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 564, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 590, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 616, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 619, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 669, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 674, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 677, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 681, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 726, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 763, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 826, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 830, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 853, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 861, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 864, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 892, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 899, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 908, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 916, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 920, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 924, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 938, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 944, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 948, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 952, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 955, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 959, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 962, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 965, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 981, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 991, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1008, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1015, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1019, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1022, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1026, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1056, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1060, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1063, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1156, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1175, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1187, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1191, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1227, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1231, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1238, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1242, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1259, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1362, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1403, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1450, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1470, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1511, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1671, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1794, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1800, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1814, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1819, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1848, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 47, - "line": 188, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 43, - "line": 191, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 52, - "line": 218, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 34, - "line": 364, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 41, - "line": 417, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 44, - "line": 422, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 46, - "line": 738, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 48, - "line": 743, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 80, - "line": 816, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 61, - "line": 1560, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 30, - "line": 1641, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 3, - "line": 567, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '0 0 10px 0' instead of '0 0 10px' (shorthand-property-no-redundant-values)", - }, - Object { - "column": 2, - "line": 1417, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '10px 0 0 0' instead of '10px 0 0' (shorthand-property-no-redundant-values)", - }, - ], - }, -] -`; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/026/config.json b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/026/config.json deleted file mode 100644 index a8af7d5dcb61b9..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/026/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../index.js" -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/026/stylesheet.css b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/026/stylesheet.css deleted file mode 100644 index 30cb6762fca456..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/026/stylesheet.css +++ /dev/null @@ -1,1934 +0,0 @@ -/*-------------------------------------------------------------- - -This is the BuddyPress companion stylesheet for -the WordPress Twentysixteen theme. - -This sheet supports the primary BuddyPress styles in buddypress.css - -If you are running as a child theme of twentysixteen this stylesheet will be -loaded by default. If you want to modify the styles the normal BP Theme Compat -hierarchy works and you can copy the file to buddypress/css/ or community/css/ -in your child themes root & either start over or modify the rulesets. - -If you do not require the styles you can dequeue them from the themes -functions file. - -Please see this codex article for more information: -http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ - ----------------------------------------------------------------- ->>> TABLE OF CONTENTS: ----------------------------------------------------------------- -1.0 Theme Structural Elements & overrides -2.0 - Navigation - General - 2.1 - Navs - Object Nav / Sub Nav (item-list-tabs) - 2.2 - Pagination -3.0 - Images -4.0 - BP Lists / Loops Generic - 4.1 - Activity Loop - 4.1.1 Whats New Activity - 4.1.2 - Activity Listing - 4.1.3 - Activity Comments - 4.2 - Members Loop - 4.3 - Groups Loop - 4.4 - Blogs Loop -5.0 - Directories - Members, Groups, Blogs, Register, activation -6.0 - Single Item screens: User Account & Single Group Screens - 6.1 - Item Headers: Global - 6.1.1 - item-header: Groups - 6.1.2 - item-header: User Accounts - 6.2 - Item Body: Global - 6.2.1 - item-body: Groups - 6.2.1.1 - Management settings screens - 6.2.1.2 - Group members list - 6.2.2 - item-body: User Accounts - 6.2.2.1 - classes, pag, filters - 6.2.2.2 - Extended Profiles - 6.2.2.3 - Groups - 6.2.2.4 - friends - 6.2.2.5 - Private Messaging Threads - 6.2.2.6 - Settings -7.0 - Forms - General -8.0 - Tables - General -9.0 - Error / Success Messages -10.0 - Ajax Loading, Widgets, General classes ---------------------------------------------------------------*/ -/** -*------------------------------------------------------------------------------- -* @section 1.0 - Theme - Structural Elements. overrides, Globals -*------------------------------------------------------------------------------- -*/ -/** -* Corrective measure to deal with 2016 / BP handling of no-js -* classes - hide menu if BP still showing 'no-js'. -*/ -@media screen and (max-width: 905px) { - html.js body.no-js .site-header-menu { - display: none; - } -} - -.buddypress div.clear { - display: none; -} - -.buddypress #page a { - box-shadow: none; - text-decoration: none !important; -} - -.buddypress .entry-title { - text-align: center; -} - -@media screen and (min-width: 61.5625em) { - .buddypress .entry-title { - text-align: right; - } -} - -@media screen and (min-width: 44.375em) { - .buddypress #primary { - float: none; - margin: 0; - width: auto; - } - .buddypress #primary .entry-header { - margin: 0; - } - .buddypress #primary .entry-content, - .buddypress #primary .content-bottom-widgets { - margin-right: 7.6923%; - margin-left: 7.6923%; - } - .buddypress .sidebar { - float: none; - margin-right: 0; - padding: 0 7.6923%; - width: auto; - } -} - -@media screen and (min-width: 61.5625em) { - .buddypress #primary { - float: right; - margin-left: -100%; - width: 70%; - } - .buddypress #primary .entry-content, - .buddypress #primary .content-bottom-widgets { - margin-right: 0; - margin-left: 0; - } - .buddypress .sidebar { - float: right; - margin-right: 75%; - padding: 0; - width: 25%; - } -} - -.buddypress.no-sidebar #primary { - float: none; - margin: 0; - width: auto; -} - -/** -*------------------------------------------------------------------------------- -* @section 2.0 - Navigation - General -*------------------------------------------------------------------------------- -*/ -/** -*---------------------------------------------------------- -* @section 2.1 - Navs Object Nav / Sub Nav (item-list-tabs) -* -* The main navigational elements for all BP screens -*---------------------------------------------------------- -*/ -#buddypress div.item-list-tabs ul li.selected a { - background: inherit; - opacity: 1; -} - -#buddypress div.item-list-tabs ul { - background-color: #f7f5e7; - border-bottom: 1px solid rgba(234, 234, 234, 0.9); - border-top: 1px solid rgba(234, 234, 234, 0.9); - overflow: hidden; - padding: 0; -} - -#buddypress div.item-list-tabs ul li a { - color: #0073c1; -} - -#buddypress div.item-list-tabs ul li a span { - border-radius: 25%; -} - -@media screen and (max-width: 38.75em) { - .bp-user #buddypress #object-nav { - background: #f7f5e7; - border: 1px solid #eaeaea; - overflow: visible; - padding: 10px; - } - .bp-user #buddypress #object-nav ul { - border: 0; - height: 0; - transition: height 0.3s ease-in-out 0.7s; - visibility: hidden; - } - .bp-user #buddypress #object-nav:before { - content: "Menu \021E9"; - display: inline; - opacity: 0.7; - } - .bp-user #buddypress #object-nav:hover:before, .bp-user #buddypress #object-nav:focus:before { - content: "Menu \021E7"; - } - .bp-user #buddypress #object-nav:hover ul, .bp-user #buddypress #object-nav:focus ul { - height: 320px; - opacity: 1; - overflow-y: auto; - visibility: visible; - } - .bp-user #buddypress #subnav { - clear: both; - } -} - -/*__ Horizontal menus __*/ -#buddypress #object-nav ul { - overflow: hidden; -} - -#buddypress #object-nav ul li { - float: none; -} - -@media screen and (max-width: 38.75em) { - #buddypress #object-nav ul li:not(:last-child) { - border-bottom: 1px solid #eaeaea; - } -} - -@media screen and (max-width: 38.75em) { - #buddypress #object-nav ul li:not(.selected):focus, #buddypress #object-nav ul li:not(.selected):hover { - background: #f4f2df; - } -} - -@media screen and (min-width: 38.75em) { - #buddypress #object-nav ul li { - float: right; - } -} - -#buddypress div#subnav.item-list-tabs { - margin-top: 0; -} - -#buddypress div#subnav.item-list-tabs ul { - background-color: #f7f7f7; - border-bottom: 0; - margin-top: 5px; - padding: 0; -} - -#buddypress div#subnav.item-list-tabs ul li.last { - background: #fff; - margin-top: 0; - padding: 5px 0 5px 5px; - width: 100%; -} - -#buddypress div#subnav.item-list-tabs ul li.last select, -#buddypress div#subnav.item-list-tabs ul li.last select:focus { - background: transparent; - border: 0; - outline: 0; -} - -#buddypress div#subnav.item-list-tabs ul li.last select, -#buddypress div#subnav.item-list-tabs ul li.last label, -#buddypress div#subnav.item-list-tabs ul li.last option { - font-size: 14px; - font-size: 0.875rem; -} - -#buddypress div#subnav.item-list-tabs ul li.last select { - font-style: italic; -} - -@media screen and (min-width: 38.75em) { - #buddypress div#subnav.item-list-tabs ul li.last { - text-align: left; - } -} - -/*__ Vertical menu User Account / Group single screens __*/ -@media screen and (min-width: 55em) { - body.no-sidebar #buddypress #item-header, - body.no-sidebar #buddypress #item-body { - background: #fff; - } - body.no-sidebar #buddypress #object-nav { - border-left: 1px solid #ddd; - float: right; - margin-left: -1px; - width: 200px; - } - body.no-sidebar #buddypress #object-nav ul { - background: none; - border-bottom: 0; - padding: 0; - } - body.no-sidebar #buddypress #object-nav ul li { - float: none; - overflow: hidden; - } - body.no-sidebar #buddypress #object-nav ul li span { - background: #fff; - border-radius: 10%; - float: left; - margin-left: 2px; - } - body.no-sidebar #buddypress #item-body { - border-right: 1px solid #ddd; - overflow: hidden; - padding: 0 20px 0 0; - width: auto; - } - body.no-sidebar #buddypress #item-body #subnav { - margin: 0 -20px 0 0; - } - body.no-sidebar #buddypress #item-body #subnav ul { - margin-top: 0; - } -} - -@media screen and (min-width: 46.25em) { - #main #buddypress #group-create-tabs.item-list-tabs ul:before, - #main #buddypress #group-create-tabs.item-list-tabs ul:after { - content: " "; - display: table; - } - #main #buddypress #group-create-tabs.item-list-tabs ul:after { - clear: both; - } - #main #buddypress #group-create-tabs.item-list-tabs ul { - background: none; - border: 0; - border-bottom: 1px solid #ddd; - overflow: visible; - padding-bottom: 0; - } - #main #buddypress #group-create-tabs.item-list-tabs ul li { - float: right; - width: auto; - } - #main #buddypress #group-create-tabs.item-list-tabs ul li.selected, - #main #buddypress #group-create-tabs.item-list-tabs ul li.current { - border: 1px solid #ddd; - border-bottom-color: #fff; - -webkit-border-top-left-radius: 4px; - border-top-left-radius: 4px; - -webkit-border-top-right-radius: 4px; - border-top-right-radius: 4px; - background-clip: padding-box; - margin-bottom: -1px; - } - #main #buddypress #group-create-tabs.item-list-tabs ul li.selected a, - #main #buddypress #group-create-tabs.item-list-tabs ul li.current a { - background: none; - color: #141412; - outline: none; - } - #main #buddypress #subnav ul { - border-bottom: 0; - } -} - -/** -*---------------------------------------------------------- -* @section 2.2 - Pagination -*---------------------------------------------------------- -*/ -#buddypress div.pagination { - box-shadow: none; - min-height: 0; -} - -#buddypress div.pagination:before, #buddypress div.pagination:after { - height: 0; - width: 0; -} - -#buddypress div.pagination .pag-count { - margin-right: 0; -} - -#buddypress div.pagination .pagination-links { - margin-left: 0; -} - -#buddypress div.pagination .pagination-links span, -#buddypress div.pagination .pagination-links a { - height: auto; - line-height: 1; - padding: 5px; -} - -#buddypress div.pagination .pagination-links .prev, -#buddypress div.pagination .pagination-links .next { - background-color: transparent; - color: inherit; - overflow: visible; - width: auto; -} - -#buddypress div.pagination .pagination-links .prev:before, -#buddypress div.pagination .pagination-links .next:before { - display: none; -} - -#buddypress div.pagination .pagination-links .prev { - right: auto; - position: static; -} - -#buddypress div.pagination .pagination-links .next { - position: static; - left: auto; -} - -/** -*------------------------------------------------------------------------------- -* @section 4.0 - BP Lists / Loops Generic -*------------------------------------------------------------------------------- -*/ -#buddypress .item-list .activity-header, -#buddypress .item-list .activity-meta { - font-family: "Source Sans Pro", Helvetica, sans-serif; -} - -#buddypress .activity-meta .button:focus, #buddypress .activity-meta .button:hover { - background: inherit; - color: #000; -} - -#buddypress .action .generic-button a:focus, #buddypress .action .generic-button a:hover { - background: inherit; - color: #000; -} - -#buddypress ul.item-list li { - overflow: hidden !important; -} - -#buddypress ul.item-list li .item-avatar { - margin-bottom: 10px; - text-align: center; -} - -@media screen and (min-width: 38.75em) { - #buddypress ul.item-list li .item-avatar { - margin-bottom: 0; - } -} - -#buddypress ul.item-list li .item-avatar a { - border-bottom: 0; -} - -#buddypress ul.item-list li .item-avatar img.avatar { - display: inline-block; - float: none; - margin-bottom: 10px; -} - -@media screen and (min-width: 44.375em) { - #buddypress ul.item-list li .item-avatar img.avatar { - display: block; - float: right; - } -} - -#buddypress ul.item-list li .item { - overflow: hidden; -} - -@media screen and (min-width: 46.25em) { - #buddypress ul.item-list li .item { - margin-right: 15%; - } -} - -#buddypress ul.item-list li .item span.activity { - font-style: italic; -} - -#buddypress ul.item-list li .item .item-desc { - margin-right: 0; - width: 94%; -} - -#buddypress ul.item-list li .item .item-title { - font-size: 18px; - font-size: 1.125rem; - line-height: 1.2; - text-align: center; - width: 100%; -} - -@media screen and (min-width: 44.375em) { - #buddypress ul.item-list li .item .item-title { - text-align: right; - } -} - -#buddypress ul.item-list li .item .item-title .update { - display: block; - font-size: 12px; - font-size: 0.75rem; - padding: 10px 0; - text-align: right; -} - -@media screen and (min-width: 61.5625em) { - #buddypress ul.item-list li .item .item-title .update { - font-size: 14px; - font-size: 0.875rem; - } -} - -@media screen and (min-width: 61.5625em) { - #buddypress ul.item-list li .item-avatar, - #buddypress ul.item-list li .item, - #buddypress ul.item-list li .action { - float: right; - } - #buddypress ul.item-list li .item { - right: 5%; - margin-right: 0; - position: relative; - width: 55%; - } - #buddypress ul.item-list li .item .item-title { - font-size: 22px; - font-size: 1.375rem; - } -} - -#buddypress ul.item-list li div.action { - clear: right; - float: none; - margin-bottom: -20px; - margin-right: 0; - padding: 20px 0 5px; - position: relative; - text-align: right; - top: 0; -} - -@media screen and (min-width: 61.5625em) { - #buddypress ul.item-list li div.action { - clear: none; - float: left; - margin-bottom: 0; - padding: 0; - } -} - -#buddypress ul.item-list li div.action div { - display: inline-block; - margin: 10px 0; - width: 100%; -} - -#buddypress ul.item-list li div.action div a { - display: block; - width: 100%; -} - -@media screen and (min-width: 38.75em) { - #buddypress ul.item-list li div.action div { - margin: 0 0 10px 10px; - width: auto; - } -} - -@media screen and (min-width: 61.5625em) { - #buddypress ul.item-list li div.action div { - clear: left; - float: left; - margin: 0 0 10px 0; - } -} - -#buddypress ul.item-list li div.action .meta { - font-style: italic; -} - -/** -*---------------------------------------------------------- -* @section 4.1 - Activity -*---------------------------------------------------------- -*/ -/** -*----------------------------------------------------- -* @section 4.1.1 - Activity Whats New -*----------------------------------------------------- -*/ -#buddypress form#whats-new-form p.activity-greeting { - line-height: 1.4; -} - -@media screen and (max-width: 46.25em) { - #buddypress form#whats-new-form #whats-new-content { - clear: right; - margin: 10px 0 20px; - padding: 10px 0 0; - } -} - -#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box { - border: 1px solid rgba(212, 208, 186, 0.5); - float: right; - line-height: 1.5; - margin-top: 12px; - padding-right: 0.2em; - width: 100%; -} - -#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box select { - background: none; - border: 0; - float: left; - margin: 0; - min-height: 1.5em; - padding-right: 0.4em; -} - -@media screen and (min-width: 30em) { - #buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box { - width: auto; - } - #buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-submit { - float: left; - } -} - -#buddypress #item-body form#whats-new-form { - margin: 40px 0; -} - -/** -*----------------------------------------------------- -* @section 4.1.2 - Activity Listing -*----------------------------------------------------- -*/ -#buddypress #activity-stream li { - padding: 25px 0 15px; -} - -#buddypress #activity-stream li .activity-avatar { - float: none; - text-align: center; -} - -#buddypress #activity-stream li .activity-avatar a { - display: inline-block; -} - -#buddypress #activity-stream li .activity-avatar a img.avatar { - display: inline; - float: none; - height: 60px; - margin-bottom: 20px; - margin-right: 0; - width: 60px; -} - -#buddypress #activity-stream li .activity-content { - margin-right: 0; -} - -#buddypress #activity-stream li .activity-content .activity-header { - font-size: 14px; - font-size: 0.875rem; -} - -#buddypress #activity-stream li .activity-content .activity-header a { - color: #0075c4; -} - -@media screen and (min-width: 46.25em) { - #buddypress #activity-stream li .activity-avatar { - float: right; - margin-left: 10px; - text-align: right; - } - #buddypress #activity-stream li .activity-avatar a { - border-bottom: 0; - } - #buddypress #activity-stream li .activity-content { - margin: 0; - overflow: hidden; - } - #buddypress #activity-stream li .activity-content .activity-header { - font-size: 16px; - font-size: 1rem; - } -} - -#buddypress #activity-stream li.mini .activity-avatar a img.avatar { - height: 30px; - margin-right: 15px; - width: 30px; -} - -#buddypress #activity-stream li.mini .activity-content .activity-header { - font-size: 14px; - font-size: 0.875rem; -} - -#buddypress #activity-stream .activity-content { - margin-top: -12px; -} - -#buddypress #activity-stream .activity-content .activity-header { - line-height: inherit; - margin-left: 0; -} - -#buddypress #activity-stream .activity-content .activity-header p { - background-color: #f7f7f7; - border: 1px solid rgba(234, 234, 234, 0.6); - color: #727272; - margin-top: 0; - padding: 0 0.2em; -} - -#buddypress #activity-stream .activity-content .activity-header img.avatar { - display: inline-block; - margin-bottom: 0 !important; -} - -#buddypress #activity-stream .activity-content .activity-meta a { - display: block; - margin-bottom: 5px; -} - -@media screen and (min-width: 38.75em) { - #buddypress #activity-stream .activity-content .activity-meta a { - display: inline-block; - margin-bottom: 0; - } -} - -#buddypress #activity-stream .load-more { - background: #f7f7f7; - border: 1px solid transparent; - padding: 10px; -} - -#buddypress #activity-stream .load-more:focus, #buddypress #activity-stream .load-more:hover { - background: #f4f4f4; - border: 1px solid rgba(159, 209, 226, 0.3); -} - -#buddypress #activity-stream .load-more:focus a, #buddypress #activity-stream .load-more:hover a { - font-style: italic; -} - -#buddypress #activity-stream .load-more a { - display: block; -} - -/* Single activity view - activity permalink */ -.activity-permalink #buddypress #activity-stream li.activity-item { - padding: 20px; -} - -.activity-permalink #buddypress #activity-stream li.mini .activity-header { - font-size: 16px; - font-size: 1rem; - margin-bottom: 40px; -} - -@media screen and (min-width: 46.25em) { - .activity-permalink #buddypress #activity-stream li.mini .activity-header { - font-size: 20px; - font-size: 1.25rem; - } -} - -.activity-permalink #buddypress #activity-stream li.mini .activity-header p { - padding: 20px; -} - -/** -*----------------------------------------------------- -* @section 4.1.3 - Activity Comments -*----------------------------------------------------- -*/ -#buddypress #activity-stream .activity-comments { - border-right: 1px solid #eaeaea; - margin-top: 5px; -} - -#buddypress #activity-stream .activity-comments ul { - background: rgba(247, 247, 247, 0.6); - color: #737373; - margin: 15px 2px 0 0; -} - -#buddypress #activity-stream .activity-comments ul a { - color: #0077c7; -} - -#buddypress #activity-stream .activity-comments .acomment-meta { - color: #737373; -} - -#buddypress #activity-stream .activity-comments .ac-form input[type="submit"], -#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel { - color: rgba(20, 20, 18, 0.8); - display: inline-block; - font-family: inherit; - font-size: 12px; - font-size: 0.75rem; - font-weight: 400; - line-height: 1.2; - padding: 4px 10px; - text-transform: lowercase; - width: 100px; -} - -#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel { - border: 1px solid rgba(212, 208, 186, 0.7); - text-align: center; -} - -#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:focus, #buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:hover { - background: #ededed; -} - -/** -*---------------------------------------------------------- -* @section 4.2 - Members Loop -*---------------------------------------------------------- -*/ -@media screen and (min-width: 61.5625em) { - #buddypress #members-list li .item-avatar, - #buddypress #members-list li .item { - float: right; - } - #buddypress #members-list li .action { - float: left; - } -} - -/** -*------------------------------------------------------------------------------- -* @section 5.0 - Directories -*------------------------------------------------------------------------------- -*/ -/** -*----------------------------------------------------------- -* @subsection Registration -*----------------------------------------------------------- -*/ -#buddypress #signup_form.standard-form #profile-details-section, -#buddypress #signup_form.standard-form #basic-details-section, -#buddypress #signup_form.standard-form #blog-details-section { - float: none; - width: 100%; -} - -@media screen and (min-width: 38.75em) { - #buddypress #signup_form.standard-form #profile-details-section, - #buddypress #signup_form.standard-form #basic-details-section, - #buddypress #signup_form.standard-form #blog-details-section { - width: 48%; - } -} - -@media screen and (min-width: 38.75em) { - #buddypress #signup_form.standard-form #profile-details-section { - float: left; - } - #buddypress #signup_form.standard-form #basic-details-section { - float: right; - } -} - -/** -*------------------------------------------------------------------------------- -* @section 6.0 - Single Item screens: User Account & Single Group Screens -*------------------------------------------------------------------------------- -*/ -/** -*----------------------------------------------------------- -* @subsection 6.1 - Item Header Global -*----------------------------------------------------------- -*/ -.bp-user #buddypress #item-header-content #item-meta, -.single-item.groups #buddypress #item-header-content #item-meta { - font-size: 14px; - font-size: 0.875rem; - text-align: right; -} - -.bp-user #buddypress #item-header-content #item-meta p, -.single-item.groups #buddypress #item-header-content #item-meta p { - margin-bottom: 0.5em; -} - -@media screen and (max-width: 46.25em) { - .bp-user main header.entry-header, - .single-item.groups main header.entry-header { - padding-bottom: 1rem; - } -} - -@media screen and (max-width: 38.75em) { - .bp-user h1, - .bp-user #item-header-content, - .single-item.groups h1, - .single-item.groups #item-header-content { - text-align: center; - } -} - -@media screen and (max-width: 46.25em) { - .bp-user #buddypress #item-header .generic-button, - .single-item.groups #buddypress #item-header .generic-button { - float: none; - margin: 1.5em 0 0; - } -} - -@media screen and (max-width: 38.75em) { - .bp-user #buddypress h1, - .single-item.groups #buddypress h1 { - margin-bottom: 0; - } - .bp-user #buddypress #item-header-avatar img.avatar, - .single-item.groups #buddypress #item-header-avatar img.avatar { - margin-left: 0; - } - .bp-user #buddypress #item-header-content, - .single-item.groups #buddypress #item-header-content { - width: 100%; - } -} - -/** -*----------------------------------------------------- -* @subsection 6.1.1 - item-header Groups -* -* Group Specific Item Header -*----------------------------------------------------- -*/ -@media screen and (max-width: 46.25em) { - .single-item.groups #buddypress #item-header #item-meta { - margin-bottom: 20px; - } -} - -@media screen and (max-width: 38.75em) { - .single-item.groups #buddypress div#item-header { - display: flex; - flex-direction: column; - } - .single-item.groups #buddypress div#item-header #item-header-avatar { - order: 1; - text-align: center; - } - .single-item.groups #buddypress div#item-header #item-header-avatar a { - border-bottom: 0; - } - .single-item.groups #buddypress div#item-header #item-header-avatar a img { - display: inline-block; - float: none; - } - .single-item.groups #buddypress div#item-header #item-header-content { - order: 2; - } - .single-item.groups #buddypress div#item-header #item-actions { - order: 3; - } - .single-item.groups #buddypress div#item-header #item-actions h2 { - border-bottom: 1px solid #eaeaea; - text-align: center; - } -} - -.single-item.groups #buddypress div#item-header { - padding-bottom: 40px; -} - -.single-item.groups #buddypress div#item-header div#item-actions { - margin: 0; - width: 100%; -} - -@media screen and (min-width: 38.75em) { - .single-item.groups #buddypress div#item-header div#item-actions { - border-right: 1px solid #eaeaea; - clear: none; - float: left; - padding-right: 0.2em; - width: 30%; - } -} - -@media screen and (min-width: 46.25em) { - .single-item.groups #buddypress div#item-header div#item-actions { - width: 40%; - } -} - -.single-item.groups #buddypress div#item-header div#item-actions ul { - margin-top: 0; - padding-right: 0; -} - -.single-item.groups #buddypress div#item-header div#item-actions h2 { - font-size: 14px; - font-size: 0.875rem; - padding: 0.2em; -} - -@media screen and (min-width: 46.25em) { - .single-item.groups #buddypress div#item-header div#item-actions h2 { - font-size: 16px; - font-size: 1rem; - } -} - -@media screen and (min-width: 46.25em) { - .single-item.groups #buddypress div#item-header #item-header-avatar, - .single-item.groups #buddypress div#item-header #item-header-content { - float: right; - } - .single-item.groups #buddypress div#item-header #item-header-avatar { - width: 21%; - } - .single-item.groups #buddypress div#item-header #item-header-content { - margin-right: 4%; - width: 40%; - } - .single-item.groups #buddypress div#item-header div#item-actions { - float: left; - width: 28%; - } -} - -/** -*----------------------------------------------------- -* @subsection 6.1.2 - Item Header User Accounts -* -* User Accounts Specific Item Header -*----------------------------------------------------- -*/ -.bp-user #buddypress #item-header { - padding: 20px 0; -} - -.bp-user #buddypress #item-header #item-header-avatar { - text-align: center; - width: 100%; -} - -.bp-user #buddypress #item-header #item-header-avatar img.avatar, -.bp-user #buddypress #item-header #item-header-avatar a { - border-bottom: 0; - display: inline-block; - float: none; -} - -@media screen and (min-width: 46.25em) { - .bp-user #buddypress #item-header #item-header-avatar { - float: right; - width: 20%; - } - .bp-user #buddypress #item-header #item-header-avatar a { - float: right; - } - .bp-user #buddypress #item-header #item-header-content { - float: left; - margin-left: 5%; - width: 69%; - } -} - -/** -*----------------------------------------------------------- -* @subsection 6.2 - Item Body: Global -*----------------------------------------------------------- -*/ -/** -*---------------------------------------------------- -* @subsection 6.2.1 - Item Body Groups -* -* Groups specific item body rules - screens -*---------------------------------------------------- -*/ -/** -*----------------------------------------- -* @subsection 6.2.1.1 - Group Management -*----------------------------------------- -*/ -.groups #group-settings-form h3 { - background: #555; - color: #fff; - padding: 0.2em; -} - -.groups.edit-details #group-settings-form label { - margin-bottom: 0; - padding: 0.2em; - width: 80%; -} - -.groups.edit-details #group-settings-form textarea + p label { - background: none; - color: inherit; - font-size: 14px; - font-size: 0.875rem; - width: auto; -} - -.groups.edit-details #group-settings-form textarea { - height: auto; - min-height: 100px; - overflow: auto; -} - -.groups.group-settings #group-settings-form div.radio label { - border: 1px solid #eaeaea; - padding: 0.2em; -} - -.groups.group-settings #group-settings-form div.radio label ul { - color: rgba(20, 20, 18, 0.6); - font-size: 14px; - font-size: 0.875rem; -} - -.groups.group-avatar form > p { - margin-top: 20px; -} - -.groups.manage-members #group-settings-form .item-list li { - border-bottom: 1px solid #eaeaea; -} - -.groups.manage-members #group-settings-form .item-list li img, -.groups.manage-members #group-settings-form .item-list li h5 { - float: right; -} - -.groups.manage-members #group-settings-form .item-list li img > a, -.groups.manage-members #group-settings-form .item-list li h5 > a { - border-bottom: 0; -} - -.groups.manage-members #group-settings-form .item-list li span.small { - clear: right; - display: block; - float: none; - margin-top: 10px; -} - -.groups.manage-members #group-settings-form .item-list li span.small a { - display: inline-block; - margin: 5px 0; - width: 100%; -} - -@media screen and (min-width: 38.75em) { - .groups.manage-members #group-settings-form .item-list li span.small a { - width: auto; - } -} - -.groups.manage-members #group-settings-form .item-list li h5 { - margin: 0; -} - -/** -*----------------------------------------- -* @subsection 6.2.1.2 - Group members -*----------------------------------------- -*/ -.groups.group-members #subnav li { - width: 100%; -} - -@media screen and (max-width: 38.75em) { - .groups.group-members #subnav li { - background: #fff; - padding: 20px 0; - } -} - -.groups.group-members #subnav li #search-members-form { - float: left; - margin: 5px 0 0 5px; -} - -@media screen and (max-width: 38.75em) { - .groups.group-members #subnav li #search-members-form { - margin: 0; - width: 100%; - } - .groups.group-members #subnav li #search-members-form label input[type="text"] { - width: 100%; - } -} - -/** -*----------------------------------------------------- -* @subsection 6.2.2 - Item Body User Accounts -* -* User Account specific item body rules -*----------------------------------------------------- -*/ -.bp-user .entry-title { - margin-bottom: 0.5em; -} - -/** -*-------------------------------------------- -* @subsection 6.2.2.1 - classes, pag, filters -*-------------------------------------------- -*/ -.bp-user #buddypress table th { - font-size: 14px; - font-size: 0.875rem; -} - -.bp-user #buddypress table td { - font-size: 12px; - font-size: 0.75rem; -} - -.bp-user #buddypress table a { - color: #0074c2; -} - -@media screen and (min-width: 61.5625em) { - .bp-user #buddypress table th { - font-size: 16px; - font-size: 1rem; - } - .bp-user #buddypress table td { - font-size: 14px; - font-size: 0.875rem; - } -} - -@media screen and (min-width: 75em) { - .bp-user #buddypress table th { - font-size: 18px; - font-size: 1.125rem; - } - .bp-user #buddypress table td { - font-size: 16px; - font-size: 1rem; - } -} - -.bp-user #buddypress .pag-count { - font-style: italic; -} - -.bp-user #buddypress .notifications-options-nav { - border: 1px solid rgba(212, 208, 186, 0.5); - float: right; - width: 100%; -} - -@media screen and (min-width: 38.75em) { - .bp-user #buddypress .notifications-options-nav { - width: 300px; - } -} - -.bp-user #buddypress .notifications-options-nav select, -.bp-user #buddypress .notifications-options-nav input { - border: 0; - font-size: 14px; - font-size: 0.875rem; - outline: 0; - padding: 0; -} - -.bp-user #buddypress .notifications-options-nav select { - float: right; - margin-left: 0; - width: 60%; -} - -.bp-user #buddypress .notifications-options-nav input { - float: left; - font-family: inherit; - line-height: 20px; - width: 40%; -} - -/** - *------------------------------------------- - * @subsection 6.2.2.2 - Extended Profiles - *------------------------------------------- - */ -.bp-user #buddypress .profile { - /* Edit profile */ -} - -.bp-user #buddypress .profile .bp-widget h2 { - background: #6f6e6e; - color: #fff; - margin-bottom: 0; - padding: 0.4em; -} - -.bp-user #buddypress .profile .bp-widget table { - margin-top: 0; -} - -.bp-user #buddypress .profile #profile-edit-form .button-nav:before, -.bp-user #buddypress .profile #profile-edit-form .button-nav:after { - content: " "; - display: table; -} - -.bp-user #buddypress .profile #profile-edit-form .button-nav:after { - clear: both; -} - -.bp-user #buddypress .profile #profile-edit-form ul.button-nav { - border-bottom: 1px solid #eaeaea; - margin-right: 0; -} - -.bp-user #buddypress .profile #profile-edit-form ul.button-nav li { - float: right; - margin-bottom: 0; -} - -.bp-user #buddypress .profile #profile-edit-form ul.button-nav li.current { - border: 1px solid #eaeaea; - border-bottom-color: #fff; - margin-bottom: -1px; -} - -.bp-user #buddypress .profile #profile-edit-form ul.button-nav a { - background: none; - border: 0; - font-size: 18px; - font-size: 1.125rem; -} - -.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle, -.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings { - font-size: 14px; - font-size: 0.875rem; -} - -.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close, -.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link { - background: #555; - color: #fff; - padding: 0.2em 0.5em; -} - -.bp-user #buddypress .profile .bp-avatar #bp-delete-avatar a { - font-size: inherit; -} - -/** - *------------------------------------------- - * @subsection 6.2.2.3 - Groups - *------------------------------------------- - */ -@media screen and (min-width: 77.5em) { - .bp-user #buddypress #groups-list li .item { - right: 5%; - width: 50%; - } -} - -/** - *------------------------------------------- - * @subsection 6.2.2.5 - Private Messaging - *------------------------------------------- - */ -.bp-user #buddypress #message-thread a { - border-bottom: 0; -} - -.bp-user #buddypress #message-thread #message-subject { - background: #6f6e6e; - color: #fff; - padding: 0.3em 0.2em 0.3em 0; -} - -.bp-user #buddypress #message-thread #message-recipients { - font-style: italic; -} - -.bp-user #buddypress #message-thread #message-recipients a.confirm { - border: 1px solid #eaeaea; - font-style: normal; -} - -.bp-user #buddypress #message-thread .message-metadata:after { - clear: both; - content: ""; - display: table; -} - -.bp-user #buddypress #message-thread .message-metadata img.avatar { - float: none; -} - -@media screen and (min-width: 46.25em) { - .bp-user #buddypress #message-thread .message-metadata img.avatar { - float: right; - } -} - -.bp-user #buddypress #message-thread .message-metadata .message-star-actions { - float: left; - margin-left: 5px; - position: static; -} - -.bp-user #buddypress #message-thread .message-content { - background: #f7f7f7; - border: 1px solid #eaeaea; - margin: 10px 0 0 0; - padding: 0.3em; -} - -.bp-user #buddypress #message-thread #send-reply .message-content { - background: #fff; - border: 0; -} - -.bp-user #buddypress #message-thread .alt { - background: #fff; -} - -.bp-user #buddypress #message-threads thead tr { - background: #6f6e6e; -} - -.bp-user #buddypress #message-threads tr td { - background: #fff; - display: inline-block; - float: right; -} - -.bp-user #buddypress #message-threads tr td.thread-star, -.bp-user #buddypress #message-threads tr td.thread-options { - border-bottom-color: #ccc; - border-bottom-width: 2px; - height: 2.4em; - padding-bottom: 0.2em; - padding-top: 0.2em; -} - -@media screen and (max-width: 46.25em) { - .bp-user #buddypress #message-threads tr td.thread-star, - .bp-user #buddypress #message-threads tr td.thread-options { - padding-top: 0; - } -} - -.bp-user #buddypress #message-threads tr td.thread-star { - vertical-align: middle; -} - -.bp-user #buddypress #message-threads tr td.thread-star .message-action-star { - line-height: 1.2; -} - -.bp-user #buddypress #message-threads tr td.bulk-select-check, -.bp-user #buddypress #message-threads tr td.thread-from { - height: 3em; -} - -@media screen and (max-width: 38.75em) { - .bp-user #buddypress #message-threads tr td.bulk-select-check, - .bp-user #buddypress #message-threads tr td.thread-from { - height: 5.2em; - } -} - -.bp-user #buddypress #message-threads tr td.thread-from, -.bp-user #buddypress #message-threads tr td.thread-options { - border-right: 0 !important; - width: -webkit-calc(100% - 30px); - width: -moz-calc(100% - 30px); - width: calc(100% - 30px); - margin-right: 0; -} - -.bp-user #buddypress #message-threads tr td.thread-info { - padding-right: 41px; - width: 100%; -} - -.bp-user #buddypress #message-threads tr td.thread-options { - text-align: left; -} - -.bp-user #buddypress #message-threads tr td.thread-options a { - font-size: 12px; - font-size: 0.75rem; - line-height: 2.2; -} - -.bp-user #buddypress #message-threads tr span.from { - display: none; -} - -.bp-user #buddypress #message-threads tr span.activity { - display: block; - float: left; - line-height: 2; -} - -@media screen and (max-width: 38.75em) { - .bp-user #buddypress #message-threads tr span.activity { - clear: both; - font-size: 11px; - font-size: 0.6875rem; - width: 100%; - } -} - -.bp-user #buddypress #message-threads tr.unread td { - background: #dce5ff; - border-color: #d4d0ba; -} - -.bp-user #buddypress #message-threads th { - display: none; -} - -.bp-user #buddypress #message-threads th.bulk-select-all { - border-bottom: 0; - display: inline-block; - text-align: right; -} - -.bp-user #buddypress #message-threads th.bulk-select-all, -.bp-user #buddypress #message-threads td.bulk-select-check, -.bp-user #buddypress #message-threads td.thread-star { - border-left: 0; - width: 30px; -} - -.bp-user #buddypress .acfb-holder { - list-style: none; -} - -.bp-user #buddypress .acfb-holder li { - margin-right: 0; -} - -.bp-user #buddypress .acfb-holder li.friend-tab { - background: #edf7fa; - border: inherit; - margin-left: 0; - padding: 0.5em; -} - -.bp-user #buddypress .acfb-holder li.friend-tab span.p { - padding-right: 10px; -} - -.bp-user #buddypress .acfb-holder li.friend-tab span.p:focus, .bp-user #buddypress .acfb-holder li.friend-tab span.p:hover { - color: #c82b2b; - cursor: pointer; -} - -.bp-user #buddypress .acfb-holder li.friend-tab a { - border-bottom: 0; - text-decoration: none; -} - -.bp-user #buddypress .acfb-holder li.friend-tab a img { - display: inline; - height: 20px; - vertical-align: middle; - width: 20px !important; -} - -.bp-user #buddypress #message-threads.sitewide-notices td { - width: 100%; -} - -.bp-user #buddypress #message-threads.sitewide-notices td strong { - background: #6f6e6e; - color: #fff; - display: block; - margin-bottom: 0.4em; - padding-right: 0.2em; -} - -.bp-user #buddypress #message-threads.sitewide-notices td a { - display: inline-block; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:first-child { - display: none; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:nth-child(2) strong { - margin: -8px -8px 8px; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:first-child + td + td { - border-bottom: 0; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:first-child + td + td span { - line-height: 1; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:last-child { - border-bottom-color: #b7b7b7; - line-height: 1; - text-align: left; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child { - line-height: 0; - margin-right: 0.7em; - text-indent: -999em; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child:after { - content: attr(title); - display: block; - line-height: initial; - text-indent: 0; -} - -.bp-user .ac_results { - background: #eee; - padding-right: 10px; -} - -.bp-user .ac_results ul { - margin: 0; -} - -.bp-user .ac_results li { - margin: 10px 0; -} - -.bp-user .ac_results li:focus, .bp-user .ac_results li:hover { - cursor: pointer; -} - -/** - *------------------------------ - * @subsection 6.2.2.6 - Settings - *------------------------------ - */ -.bp-user #buddypress #settings-form > p { - font-size: 20px; - font-size: 1.25rem; - margin: 20px 0 10px; -} - -.bp-user #buddypress table.notification-settings td.yes, -.bp-user #buddypress table.notification-settings td.no { - vertical-align: middle; -} - -.bp-user #buddypress table.profile-settings { - width: 100%; -} - -.bp-user #buddypress table.profile-settings th.field-group-name, -.bp-user #buddypress table.profile-settings td.field-name { - width: 50%; -} - -@media screen and (min-width: 46.25em) { - .bp-user #buddypress table.profile-settings th.field-group-name, - .bp-user #buddypress table.profile-settings td.field-name { - width: 70%; - } -} - -.bp-user #buddypress table.profile-settings th.title, -.bp-user #buddypress table.profile-settings td.field-visibility { - width: 30%; -} - -.bp-user #buddypress table.profile-settings td.field-visibility select { - width: 100%; -} - -/** -*------------------------------------------------------------------------------- -* @section 7.0 - Forms - General -*------------------------------------------------------------------------------- -*/ -#main #buddypress .standard-form li { - float: none; -} - -#main #buddypress .standard-form input[type="text"], -#main #buddypress .standard-form input[type="email"], -#main #buddypress .standard-form input[type="password"], -#main #buddypress .standard-form textarea { - width: 100%; -} - -#buddypress div.activity-comments form .ac-textarea { - background: #f7f7f7; - border: 1px solid rgba(212, 208, 186, 0.5); -} - -#buddypress div.activity-comments form .ac-textarea textarea { - background: none; - border: 0; -} - -#buddypress .standard-form input[type="text"], -#buddypress .standard-form input[type="email"], -#buddypress .standard-form input[type="password"], -#buddypress .standard-form button, -#buddypress .standard-form select, -#buddypress .standard-form textarea { - border-color: rgba(212, 208, 186, 0.5); - border-width: 1px; -} - -#buddypress .standard-form select { - color: #737373; -} - -#buddypress #signup_form.standard-form div.submit { - float: none; -} - -#buddypress #signup_form.standard-form div.submit input { - margin-left: 0; -} - -#buddypress div.dir-search, -#buddypress div.message-search, -#buddypress li.groups-members-search { - float: none; - margin: 10px 0; -} - -#buddypress div.dir-search form, -#buddypress div.message-search form, -#buddypress li.groups-members-search form { - border: 1px solid rgba(212, 208, 186, 0.6); - overflow: hidden; -} - -#buddypress div.dir-search form label, -#buddypress div.message-search form label, -#buddypress li.groups-members-search form label { - float: right; - width: 70%; -} - -#buddypress div.dir-search form input[type="text"], -#buddypress div.message-search form input[type="text"], -#buddypress li.groups-members-search form input[type="text"] { - float: right; - margin: 0; - width: 100%; -} - -#buddypress div.dir-search form input[type="text"], -#buddypress div.dir-search form input[type="submit"], -#buddypress div.message-search form input[type="text"], -#buddypress div.message-search form input[type="submit"], -#buddypress li.groups-members-search form input[type="text"], -#buddypress li.groups-members-search form input[type="submit"] { - font-size: 14px; - font-size: 0.875rem; - border: 0; - line-height: inherit; -} - -#buddypress div.dir-search form input[type="text"], -#buddypress div.message-search form input[type="text"], -#buddypress li.groups-members-search form input[type="text"] { - border-left: 1px solid rgba(212, 208, 186, 0.6); - padding: 0.2em 0.2em 0.2em 0; -} - -#buddypress div.dir-search form input[type="submit"], -#buddypress div.message-search form input[type="submit"], -#buddypress li.groups-members-search form input[type="submit"] { - float: left; - font-weight: 400; - padding: 0.2em 1em; - text-align: center; - text-transform: none; - width: 30%; -} - -@media screen and (min-width: 38.75em) { - #buddypress div.dir-search, - #buddypress div.message-search, - #buddypress li.groups-members-search { - float: left; - margin-bottom: 5px !important; - } - #buddypress div.dir-search form label, - #buddypress div.dir-search form input[type="text"], - #buddypress div.dir-search form input[type="submit"], - #buddypress div.message-search form label, - #buddypress div.message-search form input[type="text"], - #buddypress div.message-search form input[type="submit"], - #buddypress li.groups-members-search form label, - #buddypress li.groups-members-search form input[type="text"], - #buddypress li.groups-members-search form input[type="submit"] { - width: auto; - } -} - -@media screen and (min-width: 75em) { - #buddypress .dir-search form input[type="text"], - #buddypress .message-search form input[type="text"] { - font-size: 16px; - font-size: 1rem; - } - #buddypress .dir-search form input[type="submit"], - #buddypress .message-search form input[type="submit"] { - font-size: 16px; - font-size: 1rem; - } -} - -/** -*------------------------------------------------------------------------------- -* @section 8.0 - Tables - General -*------------------------------------------------------------------------------- -*/ -#buddypress table { - font-size: 14px; - font-size: 0.875rem; - margin: 20px 0; -} - -#buddypress table tr th { - background: #6f6e6e; - border-color: #b7b7b7; - color: #fff; -} - -#buddypress table p { - margin-bottom: 0.5em; -} - -@media screen and (min-width: 55em) { - #buddypress table { - font-size: 16px; - font-size: 1rem; - } -} - -/*__ User Account tables __*/ -#buddypress .notifications th, -#buddypress .messages-notices th { - width: 30%; -} - -#buddypress .notifications th.bulk-select-all, -#buddypress .messages-notices th.bulk-select-all { - text-align: center; - width: 10%; -} - -#buddypress .notifications .bulk-select-check, -#buddypress .notifications .thread-star, -#buddypress .messages-notices .bulk-select-check, -#buddypress .messages-notices .thread-star { - text-align: center; -} - -#buddypress .notifications .notification-actions, -#buddypress .notifications td.thread-options, -#buddypress .messages-notices .notification-actions, -#buddypress .messages-notices td.thread-options { - text-align: center; -} - -#buddypress .notifications .notification-actions a, -#buddypress .notifications td.thread-options a, -#buddypress .messages-notices .notification-actions a, -#buddypress .messages-notices td.thread-options a { - display: inline-block; - margin: 0; - padding: 0; -} - -#buddypress .notifications td .button, -#buddypress .messages-notices td .button { - border: 0; - display: block; - padding: 0; - text-align: center; -} - -/** -*------------------------------------------------------------------------------- -* @section 9.0 - Error / Success messages -*------------------------------------------------------------------------------- -*/ -#buddypress div#message p { - font-size: 18px; - font-size: 1.125rem; - font-weight: 700; -} - -#buddypress div#message.info p { - background: #c6e4ee; - border: 1px solid #78bed6; - color: #1e5264; -} - -#buddypress div#message.updated p { - background: #dee6b2; - border: 1px solid #becc66; - color: #454d19; -} - -.delete-group #buddypress div#message.info p { - background: #db7e7e; - border: 1px solid #be3535; - color: #1f0808; -} - -/** -*------------------------------------------------------------------------------- -* @section 10.0 - Ajax Loading, Widgets, General classes -*------------------------------------------------------------------------------- -*/ -#buddypress .acfb-holder li.friend-tab { - background: #9fd1e2; - border: inherit; -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/027/027.test.js b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/027/027.test.js deleted file mode 100644 index e994bb114933b4..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/027/027.test.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -const stylelint = require( 'stylelint' ), - systemTestUtils = require( '../systemTestUtils.js' ); - -it( '027', () => { - return stylelint.lint({ - files: [systemTestUtils.caseStylesheetGlob( '027' )], - configFile: systemTestUtils.caseConfig( '027' ), - }).then( ({ results }) => { - expect( systemTestUtils.prepResults( results ) ).toMatchSnapshot(); - }); -}); diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/027/__snapshots__/027.test.js.snap b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/027/__snapshots__/027.test.js.snap deleted file mode 100644 index 73f926402889a5..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/027/__snapshots__/027.test.js.snap +++ /dev/null @@ -1,786 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`027 1`] = ` -Array [ - Object { - "deprecations": Array [], - "errored": true, - "ignored": undefined, - "invalidOptionWarnings": Array [], - "parseErrors": Array [], - "source": "027/stylesheet.css", - "warnings": Array [ - Object { - "column": 1, - "line": 57, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 85, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 92, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 496, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 783, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 1069, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 1076, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 1186, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 1709, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 2, - "line": 126, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 181, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 185, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 191, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 196, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 200, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 203, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 206, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 212, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 218, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 221, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 227, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 232, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 235, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 242, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 246, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 257, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 263, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 340, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 356, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 373, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 396, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 418, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 425, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 430, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 436, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 454, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 473, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 480, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 527, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 530, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 535, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 594, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 599, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 602, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 606, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 610, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 660, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 693, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 769, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 773, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 796, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 804, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 807, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 839, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 848, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 855, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 859, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 863, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 867, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 874, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 889, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 895, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 899, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 903, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 906, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 910, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 913, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 916, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 938, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 948, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 971, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 975, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 979, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 986, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 996, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1003, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1011, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1040, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1051, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1054, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1057, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1127, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1152, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1202, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1206, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1223, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1247, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1263, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1397, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1446, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1472, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1513, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1689, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1820, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1826, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1840, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1845, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1886, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 45, - "line": 104, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 34, - "line": 278, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 46, - "line": 672, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 80, - "line": 759, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 81, - "line": 1269, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 88, - "line": 1348, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 61, - "line": 1568, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 30, - "line": 1655, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 2, - "line": 146, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '5px 0 5px' instead of '5px 0' (shorthand-property-no-redundant-values)", - }, - Object { - "column": 3, - "line": 483, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '0 0 15px 0' instead of '0 0 15px' (shorthand-property-no-redundant-values)", - }, - Object { - "column": 2, - "line": 1172, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '5px 0 0 0' instead of '5px 0 0' (shorthand-property-no-redundant-values)", - }, - Object { - "column": 2, - "line": 1411, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '15px 0 0 0' instead of '15px 0 0' (shorthand-property-no-redundant-values)", - }, - ], - }, -] -`; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/027/config.json b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/027/config.json deleted file mode 100644 index a8af7d5dcb61b9..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/027/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../index.js" -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/027/stylesheet.css b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/027/stylesheet.css deleted file mode 100644 index ea66c50f3e2b75..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/027/stylesheet.css +++ /dev/null @@ -1,1972 +0,0 @@ -/*-------------------------------------------------------------- - -This is the BuddyPress companion stylesheet for -the WordPress Twentyten theme. - -This sheet supports the primary BuddyPress styles in buddypress.css - -If you are running as a child theme of twentyten this stylesheet will be -loaded by default. If you want to modify the styles the normal BP Theme Compat -hierarchy works and you can copy the file to buddypress/css/ or community/css/ -in your child themes root & either start over or modify the rulesets. - -If you do not require the styles you can dequeue them from the themes -functions file. - -Please see this codex article for more information: -http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ - ----------------------------------------------------------------- ->>> TABLE OF CONTENTS: ----------------------------------------------------------------- -1.0 Theme Structural Elements & overrides -2.0 - Navigation - General - 2.1 - Navs - Object Nav / Sub Nav (item-list-tabs) - 2.2 - Pagination -3.0 - Images -4.0 - BP Lists / Loops Generic - 4.1 - Activity Loop - 4.1.1 Whats New Activity - 4.1.2 - Activity Listing - 4.1.3 - Activity Comments - 4.2 - Members Loop - 4.3 - Groups Loop - 4.4 - Blogs Loop -5.0 - Directories - Members, Groups, Blogs, Register, activation -6.0 - Single Item screens: User Account & Single Group Screens - 6.1 - Item Headers: Global - 6.1.1 - item-header: Groups - 6.1.2 - item-header: User Accounts - 6.2 - Item Body: Global - 6.2.1 - item-body: Groups - 6.2.1.1 - Management settings screens - 6.2.1.2 - Group members list - 6.2.2 - item-body: User Accounts - 6.2.2.1 - classes, pag, filters - 6.2.2.2 - Extended Profiles - 6.2.2.3 - Groups - 6.2.2.4 - friends - 6.2.2.5 - Private Messaging Threads - 6.2.2.6 - Settings - 6.2.2.7 - Notifications -7.0 - Forms - General -8.0 - Tables - General -9.0 - Error / Success Messages -10.0 - Ajax Loading, Widgets, General classes ---------------------------------------------------------------*/ -/** -*------------------------------------------------------------------------------- -* @section 1.0 - Theme - Structural Elements. overrides, Globals -*------------------------------------------------------------------------------- -*/ -.buddypress div.clear { - display: none; -} - -body.page-template-onecolumn-page #main #container { - margin: 0; -} - -body.page-template-onecolumn-page #content { - margin: 0 10%; - width: auto; -} - -body.page-template-onecolumn-page #content .entry-header, -body.page-template-onecolumn-page #content .entry-content { - width: auto; -} - -/** -*------------------------------------------------------------------------------- -* @section 2.0 - Navigation - General -*------------------------------------------------------------------------------- -*/ -/** -*---------------------------------------------------------- -* @section 2.1 - Navs Object Nav / Sub Nav (item-list-tabs) -* -* The main navigational elements for all BP screens -*---------------------------------------------------------- -*/ -/* Here we start things off */ -#buddypress div.item-list-tabs ul li.selected a, -#buddypress div.item-list-tabs ul li.current a { - background: inherit; - opacity: 1; -} - -#buddypress div.item-list-tabs ul { - overflow: hidden; - padding: 0; -} - -#buddypress div.item-list-tabs ul li a:focus, #buddypress div.item-list-tabs ul li a:hover { - color: #555; -} - -#buddypress div.item-list-tabs ul li a:visited { - color: #21759b; -} - -#buddypress div.item-list-tabs ul li a span { - padding: 0 4px !important; -} - -/*__ Horizontal menus __*/ -#buddypress #object-nav ul { - overflow: hidden; -} - -#buddypress #object-nav ul li { - float: none; -} - -@media screen and (min-width: 650px) { - #buddypress #object-nav ul li { - float: right; - } -} - -#buddypress div#subnav.item-list-tabs { - margin-top: 0; -} - -#buddypress div#subnav.item-list-tabs ul { - border-bottom: 0; - border-top: 1px solid #d4d0ba; - margin-top: 5px; - padding: 0; -} - -#buddypress div#subnav.item-list-tabs ul li.last { - background: #fff; - float: left; - margin-top: 0; - padding: 5px 0 5px; - text-align: left; - width: 230px; -} - -#buddypress div#subnav.item-list-tabs ul li.last select, -#buddypress div#subnav.item-list-tabs ul li.last select:focus { - background: transparent; - border: 0; - outline: 0; - padding: 0; -} - -#buddypress div#subnav.item-list-tabs ul li.last select, -#buddypress div#subnav.item-list-tabs ul li.last label, -#buddypress div#subnav.item-list-tabs ul li.last option { - font-size: 14px; - font-size: 0.9333333333rem; -} - -#buddypress div#subnav.item-list-tabs ul li.last select { - font-style: italic; -} - -#buddypress div#subnav.item-list-tabs ul li.last select option { - font-style: normal; -} - -.bp-user #buddypress div#subnav.item-list-tabs li.last { - margin-right: 0; - text-align: left; -} - -/*__ Vertical menu User Account / Group single screens __*/ -@media screen and (min-width: 800px) { - body.bp-user #buddypress #item-header, - body.bp-user #buddypress #item-body { - background: #fff; - } - body.bp-user #buddypress #object-nav { - border-left: 1px solid #ddd; - float: right; - margin-left: -1px; - width: 200px; - } - body.bp-user #buddypress #object-nav ul { - background: none; - border-bottom: 0; - padding: 0; - } - body.bp-user #buddypress #object-nav ul li { - float: none; - margin-bottom: 5px; - } - body.bp-user #buddypress #object-nav ul li a { - overflow: hidden; - } - body.bp-user #buddypress #object-nav ul li.selected { - background: #ddd; - } - body.bp-user #buddypress #object-nav ul li span { - background: #fff; - border-radius: 10%; - float: left; - margin-left: 2px; - } - body.bp-user #buddypress #item-body { - border-right: 1px solid #ddd; - overflow: hidden; - padding: 0 25px 0 0; - width: auto; - } - body.bp-user #buddypress #item-body #subnav { - margin: 0 -25px 0 0; - } - body.bp-user #buddypress #item-body #subnav ul { - margin-top: 0; - } -} - -@media only screen and (min-device-width: 375px) { - #main #buddypress #group-create-tabs.item-list-tabs ul:before, - #main #buddypress #group-create-tabs.item-list-tabs ul:after { - content: " "; - display: table; - } - #main #buddypress #group-create-tabs.item-list-tabs ul:after { - clear: both; - } - #main #buddypress #group-create-tabs.item-list-tabs ul { - background: none; - border: 0; - border-bottom: 1px solid #ddd; - overflow: visible; - padding-bottom: 0; - } - #main #buddypress #group-create-tabs.item-list-tabs ul li { - float: right; - width: auto; - } - #main #buddypress #group-create-tabs.item-list-tabs ul li.selected, - #main #buddypress #group-create-tabs.item-list-tabs ul li.current { - border: 1px solid #ddd; - border-bottom-color: #fff; - -webkit-border-top-left-radius: 4px; - border-top-left-radius: 4px; - -webkit-border-top-right-radius: 4px; - border-top-right-radius: 4px; - background-clip: padding-box; - margin-bottom: -1px; - } - #main #buddypress #group-create-tabs.item-list-tabs ul li.selected a, - #main #buddypress #group-create-tabs.item-list-tabs ul li.current a { - background: none; - color: #373737; - outline: none; - } - #main #buddypress #subnav ul { - border-bottom: 0; - } -} - -/** -*---------------------------------------------------------- -* @section 2.2 - Pagination -*---------------------------------------------------------- -*/ -#buddypress div.pagination { - box-shadow: none; - min-height: 0; -} - -#buddypress div.pagination:before, #buddypress div.pagination:after { - height: 0; - width: 0; -} - -#buddypress div.pagination .pag-count { - margin-right: 0; -} - -#buddypress div.pagination .pagination-links { - margin-left: 0; -} - -#buddypress div.pagination .pagination-links span, -#buddypress div.pagination .pagination-links a { - height: auto; - line-height: 1; - padding: 5px; -} - -#buddypress div.pagination .pagination-links .prev, -#buddypress div.pagination .pagination-links .next { - background-color: transparent; - color: inherit; - overflow: visible; - width: auto; -} - -#buddypress div.pagination .pagination-links .prev:before, -#buddypress div.pagination .pagination-links .next:before { - display: none; -} - -#buddypress div.pagination .pagination-links .prev { - right: auto; - position: static; -} - -#buddypress div.pagination .pagination-links .next { - position: static; - left: auto; -} - -/** -*------------------------------------------------------------------------------- -* @section 4.0 - BP Lists / Loops Generic -*------------------------------------------------------------------------------- -*/ -#buddypress ul.item-list { - border-top: 0; -} - -#buddypress ul.item-list li { - overflow: hidden !important; -} - -#buddypress ul.item-list li .item-avatar { - margin-bottom: 15px; - text-align: center; -} - -@media only screen and (min-device-width: 375px) { - #buddypress ul.item-list li .item-avatar { - margin-bottom: 0; - } -} - -#buddypress ul.item-list li .item-avatar a { - border-bottom: 0; -} - -#buddypress ul.item-list li .item-avatar img.avatar { - display: inline-block; - float: none; - margin-bottom: 15px; -} - -@media only screen and (min-device-width: 450px) { - #buddypress ul.item-list li .item-avatar img.avatar { - display: block; - float: right; - opacity: 1; - } -} - -#buddypress ul.item-list li .item { - margin-right: 0; - overflow: hidden; -} - -#buddypress ul.item-list li .item .item-meta { - text-align: center; -} - -@media screen and (min-width: 650px) { - #buddypress ul.item-list li .item .item-meta { - text-align: right; - } -} - -#buddypress ul.item-list li .item span.activity { - font-style: italic; -} - -#buddypress ul.item-list li .item .item-desc { - margin-right: 0; - width: 94%; -} - -#buddypress ul.item-list li .item .item-title { - font-size: 16px; - font-size: 1.0666666667rem; - line-height: 1.2; - text-align: center; - width: 100%; -} - -@media screen and (min-device-width: 450px) { - #buddypress ul.item-list li .item .item-title { - text-align: right; - } -} - -#buddypress ul.item-list li .item .item-title > a { - text-decoration: none; -} - -#buddypress ul.item-list li .item .item-title > a:visited { - color: #21759b; -} - -#buddypress ul.item-list li .item .item-title .update { - display: block; - font-size: 12px; - font-size: 0.8rem; - padding: 15px 0; - text-align: right; -} - -@media screen and (min-width: 650px) { - #buddypress ul.item-list li .item .item-title .update { - font-size: 14px; - font-size: 0.9333333333rem; - } -} - -@media screen and (min-width: 650px) { - #buddypress ul.item-list li .item-avatar, - #buddypress ul.item-list li .item, - #buddypress ul.item-list li .action { - float: right; - } - #buddypress ul.item-list li .item { - right: 5%; - margin-right: 0; - position: relative; - width: 55%; - } - #buddypress ul.item-list li .item .item-title { - font-size: 18px; - font-size: 1.2rem; - } -} - -#buddypress ul.item-list li div.action { - clear: right; - float: none; - margin: 0; - margin-right: 0; - padding: 15px 0 5px; - position: relative; - text-align: right; - top: 0; -} - -@media screen and (min-width: 650px) { - #buddypress ul.item-list li div.action { - clear: none; - float: left; - margin-bottom: 0; - padding: 0; - } -} - -#buddypress ul.item-list li div.action div { - display: inline-block; - margin: 5px 0; - width: 100%; -} - -#buddypress ul.item-list li div.action div a { - display: block; -} - -@media only screen and (min-device-width: 375px) { - #buddypress ul.item-list li div.action div { - margin: 0 0 5px 15px; - width: auto; - } -} - -@media screen and (min-width: 650px) { - #buddypress ul.item-list li div.action div { - clear: left; - float: left; - margin: 0 0 15px 0; - } -} - -#buddypress ul.item-list li div.action .meta { - font-style: italic; -} - -/** -*---------------------------------------------------------- -* @section 4.1 - Activity -*---------------------------------------------------------- -*/ -/** -*----------------------------------------------------- -* @section 4.1.1 - Activity Whats New -*----------------------------------------------------- -*/ -#buddypress form#whats-new-form p.activity-greeting { - line-height: 1.4; -} - -#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box { - border: 1px solid rgba(212, 208, 186, 0.5); - float: right; - font-size: 12px; - font-size: 0.8rem; - line-height: 1.6; - margin-top: 12px; - padding-right: 0.2em; - width: 100%; -} - -#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box select { - background: none; - border: 0; - float: left; - margin: 0; - max-width: 220px; - min-height: 1.5em; - padding: 0 0.4em 0 0; -} - -@media screen and (min-width: 30em) { - #buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box { - width: auto; - } - #buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-submit { - font-size: 12px; - font-size: 0.8rem; - float: left; - } - #buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-submit input { - padding: 0 6px; - } -} - -#buddypress #item-body form#whats-new-form { - margin: 50px 0; -} - -/** -*----------------------------------------------------- -* @section 4.1.2 - Activity Listing -*----------------------------------------------------- -*/ -#buddypress #activity-stream li { - padding: 25px 0 15px; -} - -#buddypress #activity-stream li.load-newest a { - display: block; -} - -#buddypress #activity-stream li .activity-avatar { - float: none; - text-align: center; -} - -#buddypress #activity-stream li .activity-avatar a { - display: inline-block; -} - -#buddypress #activity-stream li .activity-avatar a img.avatar { - display: inline; - float: none; - height: 60px; - margin-bottom: 25px; - margin-right: 0; - width: 60px; -} - -#buddypress #activity-stream li .activity-content, -#buddypress #activity-stream li .activity-comments { - margin-right: 0; -} - -#buddypress #activity-stream li .activity-header { - font-size: 14px; - font-size: 0.9333333333rem; -} - -#buddypress #activity-stream li .activity-header a:visited { - color: #21759b; -} - -#buddypress #activity-stream li .activity-inner img { - height: auto; -} - -@media screen and (min-width: 650px) { - #buddypress #activity-stream li .activity-avatar { - float: right; - margin-left: 15px; - text-align: right; - } - #buddypress #activity-stream li .activity-avatar a { - border-bottom: 0; - } - #buddypress #activity-stream li .activity-content { - margin: 0; - overflow: hidden; - } - #buddypress #activity-stream li .activity-content .activity-header { - font-size: 16px; - font-size: 1.0666666667rem; - } - #buddypress #activity-stream li .activity-comments { - margin-right: 70px; - } -} - -#buddypress #activity-stream li.mini .activity-avatar a img.avatar { - height: 30px; - margin-right: 15px; - width: 30px; -} - -#buddypress #activity-stream li.mini .activity-content .activity-header { - font-size: 14px; - font-size: 0.9333333333rem; -} - -#buddypress #activity-stream li.mini .activity-content .activity-meta a { - font-size: 12px; - font-size: 0.8rem; -} - -#buddypress #activity-stream .activity-content { - margin-top: -12px; -} - -#buddypress #activity-stream .activity-content .activity-header { - line-height: inherit; - margin-left: 0; -} - -#buddypress #activity-stream .activity-content .activity-header p { - border-bottom: 1px solid rgba(234, 234, 234, 0.6); - margin-top: 0; - padding: 0 0.2em; -} - -#buddypress #activity-stream .activity-content .activity-header img.avatar { - display: inline-block; - margin-bottom: 0 !important; -} - -#buddypress #activity-stream .activity-content .activity-meta a { - display: block; - font-size: 14px; - font-size: 0.9333333333rem; - margin-bottom: 5px; - padding: 0.2em 0.5em; -} - -@media screen and (min-width: 650px) { - #buddypress #activity-stream .activity-content .activity-meta a { - float: right; - margin-bottom: 0; - } -} - -#buddypress #activity-stream .load-more { - background: #f7f7f7; - border: 1px solid transparent; - padding: 15px; -} - -#buddypress #activity-stream .load-more:focus, #buddypress #activity-stream .load-more:hover { - background: #f4f4f4; - border: 1px solid rgba(159, 209, 226, 0.3); -} - -#buddypress #activity-stream .load-more a { - display: block; -} - -/* Single activity view - activity permalink */ -.activity-permalink #buddypress #activity-stream li.activity-item { - padding: 25px; -} - -.activity-permalink #buddypress #activity-stream li.mini .activity-header { - font-size: 16px; - font-size: 1.0666666667rem; - margin-bottom: 50px; -} - -@media screen and (min-width: 650px) { - .activity-permalink #buddypress #activity-stream li.mini .activity-header { - font-size: 20px; - font-size: 1.3333333333rem; - } -} - -.activity-permalink #buddypress #activity-stream li.mini .activity-header p { - padding: 25px; -} - -.activity-permalink #buddypress #activity-stream .activity-comments { - margin-right: 0; -} - -/** -*----------------------------------------------------- -* @section 4.1.3 - Activity Comments -*----------------------------------------------------- -*/ -#buddypress #activity-stream .activity-comments { - position: relative; -} - -#buddypress #activity-stream .activity-comments > ul { - background: rgba(247, 247, 247, 0.6); - margin: 15px 2px 0 0; -} - -#buddypress #activity-stream .activity-comments > ul > li:hover * { - color: #555; -} - -#buddypress #activity-stream .activity-comments > ul > li .acomment-meta, -#buddypress #activity-stream .activity-comments > ul > li .acomment-content { - font-size: 12px; - font-size: 0.8rem; -} - -#buddypress #activity-stream .activity-comments .ac-form { - border: 1px solid #d4d0ba; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - margin: 15px 0; - width: 100%; -} - -#buddypress #activity-stream .activity-comments .ac-form input[type="submit"], -#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel { - color: rgba(55, 55, 55, 0.8); - display: inline-block; - font-family: inherit; - font-size: 12px; - font-size: 0.8rem; - font-weight: 400; - line-height: 1.2; - padding: 4px 10px; - text-transform: lowercase; - width: 100px; -} - -#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel { - border: 1px solid rgba(212, 208, 186, 0.7); - text-align: center; -} - -#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:focus, #buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:hover { - background: #ededed; -} - -/** -*---------------------------------------------------------- -* @section 4.2 - Members Loop -*---------------------------------------------------------- -*/ -@media screen and (min-width: 650px) { - #buddypress #members-list li .item-avatar, - #buddypress #members-list li .item { - float: right; - } - #buddypress #members-list li .action { - float: left; - } -} - -/** -*------------------------------------------------------------------------------- -* @section 5.0 - Directories -*------------------------------------------------------------------------------- -*/ -/** -*----------------------------------------------------------- -* @subsection Registration -*----------------------------------------------------------- -*/ -#buddypress #signup_form.standard-form #profile-details-section, -#buddypress #signup_form.standard-form #basic-details-section, -#buddypress #signup_form.standard-form #blog-details-section { - float: none; - width: 100%; -} - -@media screen and (min-width: 37.5em) { - #buddypress #signup_form.standard-form #profile-details-section, - #buddypress #signup_form.standard-form #basic-details-section, - #buddypress #signup_form.standard-form #blog-details-section { - width: 48%; - } -} - -@media screen and (min-width: 37.5em) { - #buddypress #signup_form.standard-form #profile-details-section { - float: left; - } - #buddypress #signup_form.standard-form #basic-details-section { - float: right; - } -} - -/** -*------------------------------------------------------------------------------- -* @section 6.0 - Single Item screens: User Account & Single Group Screens -*------------------------------------------------------------------------------- -*/ -.bp-user #buddypress a:visited { - color: #21759b; -} - -/** -*----------------------------------------------------------- -* @subsection 6.1 - Item Header Global -*----------------------------------------------------------- -*/ -.bp-user #buddypress #item-header-content #item-meta, -.single-item.groups #buddypress #item-header-content #item-meta { - font-size: 14px; - font-size: 0.9333333333rem; - text-align: right; -} - -.bp-user #buddypress #item-header-content #item-meta p, -.single-item.groups #buddypress #item-header-content #item-meta p { - margin-bottom: 0.5em; -} - -@media screen and (max-width: 37.5em) { - .bp-user h1, - .bp-user #item-header-content, - .single-item.groups h1, - .single-item.groups #item-header-content { - text-align: center; - } -} - -@media screen and (max-width: 46.25em) { - .bp-user main header.entry-header, - .single-item.groups main header.entry-header { - padding-bottom: 1rem; - } -} - -@media screen and (max-width: 37.5em) { - .bp-user #buddypress h1, - .single-item.groups #buddypress h1 { - margin-bottom: 0; - } - .bp-user #buddypress #item-header-avatar img.avatar, - .single-item.groups #buddypress #item-header-avatar img.avatar { - margin-left: 0; - } - .bp-user #buddypress #item-header-content, - .single-item.groups #buddypress #item-header-content { - width: 100%; - } - .bp-user #buddypress #item-header-content .user-nicename, - .single-item.groups #buddypress #item-header-content .user-nicename { - color: #555; - } -} - -@media screen and (max-width: 46.25em) { - .bp-user #buddypress #item-header .generic-button, - .single-item.groups #buddypress #item-header .generic-button { - float: none; - margin: 1.5em 0 0; - } -} - -/** -*----------------------------------------------------- -* @subsection 6.1.1 - item-header Groups -* -* Group Specific Item Header -*----------------------------------------------------- -*/ -@media screen and (max-width: 46.25em) { - .single-item.groups #buddypress #item-header #item-meta { - margin-bottom: 25px; - } -} - -@media screen and (max-width: 50em) { - .single-item.groups #buddypress div#item-header { - display: flex; - flex-direction: column; - } - .single-item.groups #buddypress div#item-header #item-header-avatar { - order: 1; - text-align: center; - } - .single-item.groups #buddypress div#item-header #item-header-avatar a { - border-bottom: 0; - } - .single-item.groups #buddypress div#item-header #item-header-avatar a img { - display: inline-block; - float: none; - } - .single-item.groups #buddypress div#item-header #item-header-content { - order: 2; - } - .single-item.groups #buddypress div#item-header #item-actions { - order: 3; - } - .single-item.groups #buddypress div#item-header #item-actions h2 { - border-bottom: 1px solid #eaeaea; - text-align: center; - } -} - -.single-item.groups #buddypress div#item-header { - padding-bottom: 50px; -} - -.single-item.groups #buddypress div#item-header #item-header-content { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -.single-item.groups #buddypress div#item-header div#item-actions { - margin: 0 !important; - width: 100%; -} - -@media screen and (min-width: 50em) { - .single-item.groups #buddypress div#item-header div#item-actions { - border-right: 1px solid #eaeaea; - clear: none; - float: left; - padding-right: 0.2em; - width: 30%; - } -} - -@media screen and (min-width: 46.25em) { - .single-item.groups #buddypress div#item-header div#item-actions { - width: 40%; - } -} - -.single-item.groups #buddypress div#item-header div#item-actions ul { - margin-top: 0; - padding-right: 0; -} - -.single-item.groups #buddypress div#item-header div#item-actions h2 { - font-size: 14px; - font-size: 0.9333333333rem; - font-weight: 700; - line-height: 1.4; -} - -.single-item.groups #buddypress div#item-header div#item-actions #group-admins li, -.single-item.groups #buddypress div#item-header div#item-actions #group-mods li { - margin: 0; -} - -@media screen and (min-width: 650px) { - .single-item.groups #buddypress div#item-header #item-header-avatar, - .single-item.groups #buddypress div#item-header #item-header-content { - float: right; - } - .single-item.groups #buddypress div#item-header #item-header-content { - margin-right: 2%; - padding: 0 0.5em; - } - .single-item.groups #buddypress div#item-header div#item-actions { - float: left; - width: 28%; - } -} - -@media screen and (min-width: 64em) { - .single-item.groups #buddypress div#item-header #item-header-content { - width: 40%; - } -} - -.single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-actions { - margin-top: 225px !important; -} - -@media screen and (min-width: 50em) and (max-width: 60em) { - .single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-header-content { - max-width: 60% !important; - width: 60% !important; - } -} - -@media screen and (max-width: 64em) { - .single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-actions { - border: 0; - clear: both; - margin-top: 0 !important; - max-width: 100% !important; - padding-top: 0 !important; - width: auto; - } - .single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-actions h2 { - border-bottom: 1px solid #eaeaea; - } -} - -/** -*----------------------------------------------------- -* @subsection 6.1.2 - Item Header User Accounts -* -* User Accounts Specific Item Header -*----------------------------------------------------- -*/ -.bp-user #buddypress #item-header #item-header-avatar { - text-align: center; -} - -.bp-user #buddypress #item-header #item-header-avatar img.avatar, -.bp-user #buddypress #item-header #item-header-avatar a { - border-bottom: 0; - display: inline-block; - float: none; -} - -.bp-user #buddypress #item-header #item-header-cover-image .user-nicename { - color: inherit; - text-shadow: none; -} - -@media screen and (min-width: 800px) { - .bp-user #buddypress #item-header #item-header-cover-image .user-nicename { - color: #fff; - text-shadow: 0 0 3px rgba(0, 0, 0, 0.8); - } -} - -.bp-user #buddypress #item-header #item-header-content #item-buttons .generic-button { - margin-left: 5px; -} - -@media screen and (min-width: 650px) { - .bp-user #buddypress #item-header #item-header-avatar { - float: right; - } - .bp-user #buddypress #item-header #item-header-avatar a { - float: right; - } - .bp-user #buddypress #item-header #item-header-content { - float: left; - margin-left: 0%; - width: 69%; - } -} - -/** -*----------------------------------------------------------- -* @subsection 6.2 - Item Body: Global -*----------------------------------------------------------- -*/ -/** -*---------------------------------------------------- -* @subsection 6.2.1 - Item Body Groups -* -* Groups specific item body rules - screens -*---------------------------------------------------- -*/ -/** -*----------------------------------------- -* @subsection 6.2.1.1 - Group Management -*----------------------------------------- -*/ -.groups #group-settings-form h3 { - background: #555; - color: #fff; - padding: 0.2em; -} - -.groups.edit-details #group-settings-form label { - margin-bottom: 0; - padding: 0.2em; - width: 80%; -} - -.groups.edit-details #group-settings-form textarea + p label { - background: none; - color: inherit; - font-size: 14px; - font-size: 0.9333333333rem; - width: auto; -} - -.groups.edit-details #group-settings-form textarea { - height: auto; - min-height: 100px; - overflow: auto; -} - -.groups.group-settings #group-settings-form div.radio label { - font-weight: 700; - padding: 0.2em; -} - -.groups.group-settings #group-settings-form div.radio label ul { - color: rgba(55, 55, 55, 0.6); - font-size: 14px; - font-size: 0.9333333333rem; -} - -.groups.group-avatar form > p { - margin-top: 25px; -} - -.groups.manage-members #group-settings-form .item-list li { - border-bottom: 1px solid #eaeaea; -} - -@media screen and (min-width: 650px) { - .groups.manage-members #group-settings-form .item-list li img, - .groups.manage-members #group-settings-form .item-list li h5 { - float: right; - } -} - -.groups.manage-members #group-settings-form .item-list li img > a, -.groups.manage-members #group-settings-form .item-list li h5 > a { - border-bottom: 0; -} - -.groups.manage-members #group-settings-form .item-list li span.small { - clear: right; - display: block; - float: none; - margin-top: 15px; - width: 100%; -} - -.groups.manage-members #group-settings-form .item-list li span.small a { - display: block; - margin: 5px 0; -} - -@media screen and (min-width: 650px) { - .groups.manage-members #group-settings-form .item-list li span.small a { - display: inline-block; - } -} - -.groups.manage-members #group-settings-form .item-list li h5 { - margin: 0; -} - -/** -*----------------------------------------- -* @subsection 6.2.1.2 - Group members -*----------------------------------------- -*/ -.groups.group-members #subnav li { - width: 100%; -} - -.groups.group-members #subnav li #search-members-form { - float: left; - margin: 5px 0 0 0; -} - -.groups.group-members #subnav li #search-members-form label input[type="text"] { - box-shadow: none; -} - -/** -*----------------------------------------------------- -* @subsection 6.2.2 - Item Body User Accounts -* -* User Account specific component item body rules -*----------------------------------------------------- -*/ -/** -*-------------------------------------------- -* @subsection 6.2.2.1 - classes, pag, filters -*-------------------------------------------- -*/ -.bp-user #buddypress table th { - font-size: 13px; - font-size: 0.8666666667rem; -} - -.bp-user #buddypress table td { - font-size: 12px; - font-size: 0.8rem; -} - -@media screen and (min-width: 650px) { - .bp-user #buddypress table th { - font-size: 16px; - font-size: 1.0666666667rem; - } - .bp-user #buddypress table td { - font-size: 14px; - font-size: 0.9333333333rem; - } -} - -.bp-user #buddypress .pag-count { - font-style: italic; -} - -.bp-user #buddypress .notifications-options-nav, -.bp-user #buddypress .messages-options-nav { - float: right; - width: 100%; -} - -@media screen and (min-width: 37.5em) { - .bp-user #buddypress .notifications-options-nav, - .bp-user #buddypress .messages-options-nav { - width: 60%; - } -} - -.bp-user #buddypress .notifications-options-nav select, -.bp-user #buddypress .notifications-options-nav input, -.bp-user #buddypress .messages-options-nav select, -.bp-user #buddypress .messages-options-nav input { - font-size: 14px; - font-size: 0.9333333333rem; - outline: 0; - padding: 0; -} - -.bp-user #buddypress .notifications-options-nav select, -.bp-user #buddypress .messages-options-nav select { - float: right; - margin-left: 0; - width: 49%; -} - -@media screen and (min-width: 37.5em) { - .bp-user #buddypress .notifications-options-nav select, - .bp-user #buddypress .messages-options-nav select { - width: auto; - } -} - -.bp-user #buddypress .notifications-options-nav input, -.bp-user #buddypress .messages-options-nav input { - float: right; - font-family: inherit; - line-height: 20px; - margin-right: 1%; - width: 50%; -} - -@media screen and (min-width: 37.5em) { - .bp-user #buddypress .notifications-options-nav input, - .bp-user #buddypress .messages-options-nav input { - width: auto; - } -} - -.bp-user #buddypress .notifications-options-nav input[disabled="disabled"]:focus, .bp-user #buddypress .notifications-options-nav input[disabled="disabled"]:hover, -.bp-user #buddypress .messages-options-nav input[disabled="disabled"]:focus, -.bp-user #buddypress .messages-options-nav input[disabled="disabled"]:hover { - background: none; -} - -/** - *------------------------------------------- - * @subsection 6.2.2.2 - Extended Profiles - *------------------------------------------- - */ -.bp-user #buddypress .profile .bp-widget h2 { - background: #6f6e6e; - color: #fff; - margin-bottom: 0; - padding: 0.4em; -} - -.bp-user #buddypress .profile .bp-widget table { - margin-top: 0; -} - -.bp-user #buddypress .profile #profile-edit-form .button-nav:before, -.bp-user #buddypress .profile #profile-edit-form .button-nav:after { - content: " "; - display: table; -} - -.bp-user #buddypress .profile #profile-edit-form .button-nav:after { - clear: both; -} - -.bp-user #buddypress .profile #profile-edit-form ul.button-nav { - border-bottom: 1px solid #eaeaea; - margin-right: 0; -} - -.bp-user #buddypress .profile #profile-edit-form ul.button-nav li { - float: right; - margin-bottom: 0; -} - -.bp-user #buddypress .profile #profile-edit-form ul.button-nav li.current { - border: 1px solid #eaeaea; - border-bottom-color: #fff; - margin-bottom: -1px; -} - -.bp-user #buddypress .profile #profile-edit-form ul.button-nav a { - background: none; - border: 0; - font-size: 18px; - font-size: 1.2rem; -} - -.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle { - margin: 5px 0 25px; -} - -.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle, -.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings { - font-size: 14px; - font-size: 0.9333333333rem; -} - -.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close, -.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link { - background: #6f6e6e; - -webkit-border-radius: 2px; - -moz-border-radius: 2px; - -ms-border-radius: 2px; - border-radius: 2px; - background-clip: padding-box; - color: #eee; - font-weight: 700; - padding: 0.1em 0.5em; - text-decoration: none; -} - -.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close:focus, .bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close:hover, -.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link:focus, -.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link:hover { - color: #fff; -} - -.bp-user #buddypress .profile .bp-avatar #bp-delete-avatar a { - font-size: inherit; -} - -/** - *------------------------------------------- - * @subsection 6.2.2.5 - Private Messaging - *------------------------------------------- - */ -.bp-user #buddypress #message-thread a { - border-bottom: 0; -} - -.bp-user #buddypress #message-thread #message-subject { - background: #6f6e6e; - color: #fff; - padding: 0.3em 0.2em 0.3em 0; -} - -.bp-user #buddypress #message-thread #message-recipients { - font-style: italic; -} - -.bp-user #buddypress #message-thread #message-recipients a.confirm { - border: 1px solid #eaeaea; - font-style: normal; -} - -.bp-user #buddypress #message-thread #message-recipients .highlight { - font-size: 100%; -} - -.bp-user #buddypress #message-thread .message-metadata:after { - clear: both; - content: ""; - display: table; -} - -.bp-user #buddypress #message-thread .message-metadata img.avatar { - float: none; -} - -@media screen and (min-width: 46.25em) { - .bp-user #buddypress #message-thread .message-metadata img.avatar { - float: right; - } -} - -.bp-user #buddypress #message-thread .message-metadata .message-star-actions { - float: left; - margin-left: 5px; - position: static; -} - -.bp-user #buddypress #message-thread .message-content { - background: #f7f7f7; - border: 1px solid #eaeaea; - margin: 15px 0 0 0; - padding: 0.3em; -} - -.bp-user #buddypress #message-thread #send-reply .message-content { - background: #fff; - border: 0; -} - -.bp-user #buddypress #message-thread .alt { - background: #fff; -} - -.bp-user #buddypress #message-threads thead tr { - background: #6f6e6e; -} - -.bp-user #buddypress #message-threads tr td { - background: #fff; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - display: inline-block; - float: right; -} - -.bp-user #buddypress #message-threads tr td.thread-star, -.bp-user #buddypress #message-threads tr td.thread-options { - border-bottom: 1px solid #ccc; - height: 2.4em; - padding-bottom: 0.2em; - padding-top: 0.2em; -} - -@media screen and (max-width: 46.25em) { - .bp-user #buddypress #message-threads tr td.thread-star, - .bp-user #buddypress #message-threads tr td.thread-options { - padding-top: 0; - } -} - -.bp-user #buddypress #message-threads tr td.thread-star { - vertical-align: middle; -} - -.bp-user #buddypress #message-threads tr td.thread-star .message-action-star, -.bp-user #buddypress #message-threads tr td.thread-star .message-action-unstar { - line-height: 1.2; -} - -.bp-user #buddypress #message-threads tr td.thread-star span.icon:before { - font-size: 14px; - font-size: 0.9333333333rem; -} - -.bp-user #buddypress #message-threads tr td.bulk-select-check, -.bp-user #buddypress #message-threads tr td.thread-from { - height: 3em; -} - -@media screen and (max-width: 37.5em) { - .bp-user #buddypress #message-threads tr td.bulk-select-check, - .bp-user #buddypress #message-threads tr td.thread-from { - height: 5.2em; - } -} - -.bp-user #buddypress #message-threads tr td.thread-from, -.bp-user #buddypress #message-threads tr td.thread-options { - border-right: 0 !important; - width: -webkit-calc(100% - 30px); - width: -moz-calc(100% - 30px); - width: calc(100% - 30px); - margin-right: 0; -} - -.bp-user #buddypress #message-threads tr td.thread-info { - padding-right: 41px; - width: 100%; -} - -.bp-user #buddypress #message-threads tr td.thread-options { - text-align: left; -} - -.bp-user #buddypress #message-threads tr td.thread-options a { - font-size: 12px; - font-size: 0.8rem; - line-height: 1.2; -} - -.bp-user #buddypress #message-threads tr span.from { - display: none; -} - -.bp-user #buddypress #message-threads tr span.activity { - display: block; - float: left; - line-height: 2; -} - -@media screen and (max-width: 37.5em) { - .bp-user #buddypress #message-threads tr span.activity { - clear: both; - font-size: 11px; - font-size: 0.7333333333rem; - width: 100%; - } -} - -.bp-user #buddypress #message-threads tr.unread td { - border-color: #eaeaea; -} - -.bp-user #buddypress #message-threads th { - display: none; -} - -.bp-user #buddypress #message-threads th.bulk-select-all { - border-bottom: 0; - display: inline-block; - text-align: right; -} - -.bp-user #buddypress #message-threads th.bulk-select-all, -.bp-user #buddypress #message-threads td.bulk-select-check, -.bp-user #buddypress #message-threads td.thread-star { - border-left: 0; - width: 30px; -} - -.bp-user #buddypress #send_message_form input, -.bp-user #buddypress #send_message_form textarea { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -.bp-user #buddypress .acfb-holder { - list-style: none; -} - -.bp-user #buddypress .acfb-holder li { - margin-right: 0; -} - -.bp-user #buddypress .acfb-holder li.friend-tab { - background: #edf7fa; - border: inherit; - margin-left: 0; - padding: 0.5em; -} - -.bp-user #buddypress .acfb-holder li.friend-tab span.p { - padding-right: 15px; -} - -.bp-user #buddypress .acfb-holder li.friend-tab span.p:focus, .bp-user #buddypress .acfb-holder li.friend-tab span.p:hover { - color: #c82b2b; - cursor: pointer; -} - -.bp-user #buddypress .acfb-holder li.friend-tab a { - border-bottom: 0; - text-decoration: none; -} - -.bp-user #buddypress .acfb-holder li.friend-tab a img { - display: inline; - height: 20px; - vertical-align: middle; - width: 20px !important; -} - -.bp-user #buddypress #message-threads.sitewide-notices tr { - margin: 3em 0; -} - -.bp-user #buddypress #message-threads.sitewide-notices td { - width: 100%; -} - -.bp-user #buddypress #message-threads.sitewide-notices td strong { - background: #6f6e6e; - color: #fff; - display: block; - margin-bottom: 0.4em; - padding-right: 0.2em; -} - -.bp-user #buddypress #message-threads.sitewide-notices td a { - display: inline-block; -} - -.bp-user #buddypress #message-threads.sitewide-notices td a.button { - border: 1px solid #d4d0ba; - line-height: initial; - padding: 0.4em 0.3em; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:first-child { - display: none; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:nth-child(2) strong { - margin: -8px -8px 8px; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:first-child + td + td { - border-bottom: 0; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:first-child + td + td span { - line-height: 1; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:last-child { - line-height: 1; - padding-bottom: 1em; - text-align: left; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child { - line-height: 0; - margin-right: 0.7em; - text-indent: -999em; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child:after { - content: attr(title); - display: block; - line-height: initial; - text-indent: 0; -} - -.bp-user .ac_results { - background: #eee; - padding-right: 15px; -} - -.bp-user .ac_results li { - margin: 15px 0; -} - -.bp-user .ac_results li:focus, .bp-user .ac_results li:hover { - cursor: pointer; -} - -.bp-user .ac_results li img { - vertical-align: bottom; -} - -/** - *------------------------------ - * @subsection 6.2.2.6 - Settings - *------------------------------ - */ -.bp-user #buddypress #settings-form > p { - font-size: 20px; - font-size: 1.3333333333rem; - margin: 25px 0 15px; -} - -.bp-user #buddypress table.notification-settings td.yes, -.bp-user #buddypress table.notification-settings td.no { - vertical-align: middle; -} - -.bp-user #buddypress table.profile-settings { - width: 100%; -} - -.bp-user #buddypress table.profile-settings th.field-group-name, -.bp-user #buddypress table.profile-settings td.field-name { - width: 50%; -} - -@media screen and (min-width: 46.25em) { - .bp-user #buddypress table.profile-settings th.field-group-name, - .bp-user #buddypress table.profile-settings td.field-name { - width: 70%; - } -} - -.bp-user #buddypress table.profile-settings th.title, -.bp-user #buddypress table.profile-settings td.field-visibility { - width: 30%; -} - -.bp-user #buddypress table.profile-settings td.field-visibility select { - width: 100%; -} - -/** - *------------------------------------ - * @subsection 6.2.2.6 - Notifications - *------------------------------------ - */ -/** -*------------------------------------------------------------------------------- -* @section 7.0 - Forms - General -*------------------------------------------------------------------------------- -*/ -#main #buddypress .standard-form li { - float: none; -} - -#main #buddypress .standard-form input[type="text"], -#main #buddypress .standard-form input[type="email"], -#main #buddypress .standard-form input[type="password"], -#main #buddypress .standard-form textarea { - border-width: 1px; - box-shadow: none; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - width: 100%; -} - -#buddypress div.activity-comments form .ac-textarea { - background: #f7f7f7; - border: 1px solid rgba(212, 208, 186, 0.5); -} - -#buddypress div.activity-comments form .ac-textarea textarea { - background: none; - border: 0; -} - -#buddypress .standard-form input[type="text"], -#buddypress .standard-form input[type="email"], -#buddypress .standard-form input[type="password"], -#buddypress .standard-form button, -#buddypress .standard-form select, -#buddypress .standard-form textarea { - border-color: rgba(212, 208, 186, 0.5); - border-width: 1px; -} - -#buddypress #signup_form.standard-form div.submit { - float: none; -} - -#buddypress #signup_form.standard-form div.submit input { - margin-left: 0; -} - -#buddypress div.dir-search, -#buddypress div.message-search, -#buddypress li.groups-members-search { - float: none; - margin: 15px 0; -} - -#buddypress div.dir-search form, -#buddypress div.message-search form, -#buddypress li.groups-members-search form { - border: 1px solid rgba(212, 208, 186, 0.6); - overflow: hidden; -} - -#buddypress div.dir-search form label, -#buddypress div.message-search form label, -#buddypress li.groups-members-search form label { - float: right; - width: 70%; -} - -#buddypress div.dir-search form input[type="text"], -#buddypress div.dir-search form input[type="submit"], -#buddypress div.message-search form input[type="text"], -#buddypress div.message-search form input[type="submit"], -#buddypress li.groups-members-search form input[type="text"], -#buddypress li.groups-members-search form input[type="submit"] { - border: 0; - border-radius: 0; - box-shadow: none; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - font-size: 14px; - font-size: 0.9333333333rem; - line-height: 1.8; - margin: 0; - min-height: 2rem; -} - -#buddypress div.dir-search form input[type="text"], -#buddypress div.message-search form input[type="text"], -#buddypress li.groups-members-search form input[type="text"] { - border-left: 1px solid rgba(212, 208, 186, 0.6); - float: right; - margin: 0; - padding: 0 0.2em; - width: 70%; -} - -#buddypress div.dir-search form input[type="submit"], -#buddypress div.message-search form input[type="submit"], -#buddypress li.groups-members-search form input[type="submit"] { - float: left; - font-weight: 400; - padding: 0 1em; - text-align: center; - text-transform: none; - width: 30%; -} - -@media screen and (min-device-width: 450px) { - #buddypress div.dir-search, - #buddypress div.message-search, - #buddypress li.groups-members-search { - float: left; - margin-bottom: 5px !important; - } - #buddypress div.dir-search form label, - #buddypress div.dir-search form input[type="text"], - #buddypress div.dir-search form input[type="submit"], - #buddypress div.message-search form label, - #buddypress div.message-search form input[type="text"], - #buddypress div.message-search form input[type="submit"], - #buddypress li.groups-members-search form label, - #buddypress li.groups-members-search form input[type="text"], - #buddypress li.groups-members-search form input[type="submit"] { - width: auto; - } -} - -@media screen and (min-width: 800px) { - #buddypress .dir-search form input[type="text"], - #buddypress .message-search form input[type="text"] { - font-size: 16px; - font-size: 1.0666666667rem; - } - #buddypress .dir-search form input[type="submit"], - #buddypress .message-search form input[type="submit"] { - font-size: 16px; - font-size: 1.0666666667rem; - } -} - -/** -*------------------------------------------------------------------------------- -* @section 8.0 - Tables - General -*------------------------------------------------------------------------------- -*/ -.bp-user #buddypress table { - font-size: 14px; - font-size: 0.9333333333rem; - margin: 25px 0; -} - -.bp-user #buddypress table input { - margin: 0; -} - -.bp-user #buddypress table tr th { - background: #6f6e6e; - border-color: #b7b7b7; - color: #fff; - font-size: 16px; - font-size: 1.0666666667rem; - padding: 4px 8px; - text-transform: capitalize; -} - -.bp-user #buddypress table tr td { - padding: 8px; -} - -.bp-user #buddypress table p { - margin-bottom: 0.5em; -} - -@media screen and (min-width: 55em) { - .bp-user #buddypress table { - font-size: 16px; - font-size: 1.0666666667rem; - } -} - -.bp-user #buddypress .notifications th, -.bp-user #buddypress .messages-notices th { - width: 30%; -} - -.bp-user #buddypress .notifications th.bulk-select-all, -.bp-user #buddypress .messages-notices th.bulk-select-all { - text-align: center; - width: 10%; -} - -.bp-user #buddypress .notifications th.actions, -.bp-user #buddypress .messages-notices th.actions { - text-align: center; -} - -.bp-user #buddypress .notifications .bulk-select-check, -.bp-user #buddypress .notifications .thread-star, -.bp-user #buddypress .messages-notices .bulk-select-check, -.bp-user #buddypress .messages-notices .thread-star { - text-align: center; -} - -.bp-user #buddypress .notifications .notification-actions, -.bp-user #buddypress .notifications td.thread-options, -.bp-user #buddypress .messages-notices .notification-actions, -.bp-user #buddypress .messages-notices td.thread-options { - text-align: center; -} - -.bp-user #buddypress .notifications .notification-actions a, -.bp-user #buddypress .notifications td.thread-options a, -.bp-user #buddypress .messages-notices .notification-actions a, -.bp-user #buddypress .messages-notices td.thread-options a { - display: inline-block; - margin: 0; - padding: 0; -} - -.bp-user #buddypress .notifications td .button, -.bp-user #buddypress .messages-notices td .button { - border: 0; - display: block; - padding: 0; - text-align: center; -} - -/** -*------------------------------------------------------------------------------- -* @section 9.0 - Error / Success messages -*------------------------------------------------------------------------------- -*/ -#buddypress div#message p { - font-size: 18px; - font-size: 1.2rem; - font-weight: 700; -} - -#buddypress div#message.info p { - background: #c6e4ee; - border: 1px solid #78bed6; - color: #1e5264; -} - -#buddypress div#message.updated p { - background: #dee6b2; - border: 1px solid #becc66; - color: #454d19; -} - -.delete-group #buddypress div#message.info p { - background: #db7e7e; - border: 1px solid #be3535; - color: #1f0808; -} - -/** -*------------------------------------------------------------------------------- -* @section 10.0 - Ajax Loading, Widgets, General classes -*------------------------------------------------------------------------------- -*/ diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/028/028.test.js b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/028/028.test.js deleted file mode 100644 index 0db439e8d87605..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/028/028.test.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -const stylelint = require( 'stylelint' ), - systemTestUtils = require( '../systemTestUtils.js' ); - -it( '028', () => { - return stylelint.lint({ - files: [systemTestUtils.caseStylesheetGlob( '028' )], - configFile: systemTestUtils.caseConfig( '028' ), - }).then( ({ results }) => { - expect( systemTestUtils.prepResults( results ) ).toMatchSnapshot(); - }); -}); diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/028/__snapshots__/028.test.js.snap b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/028/__snapshots__/028.test.js.snap deleted file mode 100644 index 804eaf7f9d9d59..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/028/__snapshots__/028.test.js.snap +++ /dev/null @@ -1,933 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`028 1`] = ` -Array [ - Object { - "deprecations": Array [], - "errored": true, - "ignored": undefined, - "invalidOptionWarnings": Array [], - "parseErrors": Array [], - "source": "028/stylesheet.css", - "warnings": Array [ - Object { - "column": 1, - "line": 57, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 90, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 519, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 778, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 812, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 1089, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 1096, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 2, - "line": 67, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 73, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 110, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 116, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 122, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 127, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 130, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 136, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 151, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 157, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 163, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 205, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 218, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 222, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 228, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 233, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 237, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 243, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 249, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 252, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 258, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 263, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 266, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 273, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 277, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 288, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 294, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 376, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 391, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 402, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 426, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 440, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 447, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 452, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 458, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 476, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 496, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 503, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 529, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 555, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 558, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 604, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 609, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 612, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 616, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 665, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 702, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 764, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 768, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 791, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 799, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 802, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 832, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 851, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 858, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 867, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 875, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 879, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 883, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 897, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 903, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 907, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 911, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 914, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 918, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 921, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 924, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 940, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 950, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 967, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 974, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 978, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 981, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 985, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 990, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1003, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1009, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1012, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1015, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1055, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1059, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1062, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1066, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1070, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1076, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1079, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1170, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1189, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1201, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1205, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1220, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1234, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1248, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1280, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1284, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1291, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1295, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1312, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1412, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1453, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1500, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1504, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1520, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1566, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1694, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1775, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1821, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1829, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1835, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1849, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1854, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1888, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 47, - "line": 127, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 43, - "line": 130, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 37, - "line": 151, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 41, - "line": 356, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 44, - "line": 361, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 46, - "line": 677, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 48, - "line": 682, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 80, - "line": 754, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 61, - "line": 1617, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 30, - "line": 1660, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 3, - "line": 506, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '0 0 10px 0' instead of '0 0 10px' (shorthand-property-no-redundant-values)", - }, - Object { - "column": 2, - "line": 1467, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '10px 0 0 0' instead of '10px 0 0' (shorthand-property-no-redundant-values)", - }, - ], - }, -] -`; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/028/config.json b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/028/config.json deleted file mode 100644 index a8af7d5dcb61b9..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/028/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../index.js" -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/028/stylesheet.css b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/028/stylesheet.css deleted file mode 100644 index 26258ba3cc3797..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/028/stylesheet.css +++ /dev/null @@ -1,1970 +0,0 @@ -/*-------------------------------------------------------------- - -This is the BuddyPress companion stylesheet for -the WordPress Twentythirteen theme. - -This sheet supports the primary BuddyPress styles in buddypress.css - -If you are running as a child theme of twentyfifteen this stylesheet will be -loaded by default. If you want to modify the styles the normal BP Theme Compat -hierarchy works and you can copy the file to buddypress/css/ or community/css/ -in your child themes root & either start over or modify the rulesets. - -If you do not require the styles you can dequeue them from the themes -functions file. - -Please see this codex article for more information: -http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ - ----------------------------------------------------------------- ->>> TABLE OF CONTENTS: ----------------------------------------------------------------- -1.0 Theme Structural Elements & overrides -2.0 - Navigation - General - 2.1 - Navs - Object Nav / Sub Nav (item-list-tabs) - 2.2 - Pagination -3.0 - Images -4.0 - BP Lists / Loops Generic - 4.1 - Activity Loop - 4.1.1 Whats New Activity - 4.1.2 - Activity Listing - 4.1.3 - Activity Comments - 4.2 - Members Loop - 4.3 - Groups Loop - 4.4 - Blogs Loop -5.0 - Directories - Members, Groups, Blogs, Register, activation -6.0 - Single Item screens: User Account & Single Group Screens - 6.1 - Item Headers: Global - 6.1.1 - item-header: Groups - 6.1.2 - item-header: User Accounts - 6.2 - Item Body: Global - 6.2.1 - item-body: Groups - 6.2.1.1 - Management settings screens - 6.2.1.2 - Group members list - 6.2.1.3 - Group send Invites - 6.2.2 - item-body: User Accounts - 6.2.2.1 - classes, pag, filters - 6.2.2.2 - Extended Profiles - 6.2.2.3 - Groups - 6.2.2.4 - friends - 6.2.2.5 - Private Messaging Threads - 6.2.2.6 - Settings -7.0 - Forms - General -8.0 - Tables - General -9.0 - Error / Success Messages -10.0 - Ajax Loading, Widgets, General classes ---------------------------------------------------------------*/ -/** -*------------------------------------------------------------------------------- -* @section 1.0 - Theme - Structural Elements & overrides -*------------------------------------------------------------------------------- -*/ -.buddypress div.clear { - display: none; -} - -@media (max-width: 999px) { - .buddypress #content { - padding: 0 20px; - } -} - -@media (max-width: 643px) { - .buddypress #content { - padding: 0; - } -} - -.buddypress .entry-header, -.buddypress .entry-content, -.buddypress .entry-summary, -.buddypress .entry-meta { - max-width: 890px; -} - -/** -*------------------------------------------------------------------------------- -* @section 2.0 - Navigation - General -*------------------------------------------------------------------------------- -*/ -/** -*---------------------------------------------------------- -* @section 2.1 - Navs Object Nav / Sub Nav (item-list-tabs) -* -* The main navigational elements for all BP screens -*---------------------------------------------------------- -*/ -#buddypress div.item-list-tabs ul { - background-color: #f7f5e7; - border-bottom: 1px solid rgba(234, 234, 234, 0.9); - border-top: 1px solid rgba(234, 234, 234, 0.9); - overflow: hidden; - padding: 0; -} - -#buddypress div.item-list-tabs ul li a span { - border-radius: 25%; -} - -@media screen and (max-width: 38.75em) { - .bp-user #buddypress #object-nav { - background: #f7f5e7; - border: 1px solid #eaeaea; - overflow: visible; - padding: 10px; - } - .bp-user #buddypress #object-nav ul { - border: 0; - height: 0; - transition: height 0.3s ease-in-out 0.7s; - visibility: hidden; - } - .bp-user #buddypress #object-nav:before { - content: "Menu \021E9"; - display: inline; - opacity: 0.7; - } - .bp-user #buddypress #object-nav:hover:before, .bp-user #buddypress #object-nav:focus:before { - content: "Menu \021E7"; - } - .bp-user #buddypress #object-nav:hover ul, .bp-user #buddypress #object-nav:focus ul { - height: 320px; - opacity: 1; - overflow-y: auto; - visibility: visible; - } - .bp-user #buddypress #subnav { - clear: both; - } -} - -/*__ Horizontal menus & small screen __*/ -#buddypress #object-nav ul { - overflow: hidden; -} - -#buddypress #object-nav ul li { - float: none; -} - -@media screen and (max-width: 38.75em) { - #buddypress #object-nav ul li:focus, #buddypress #object-nav ul li:hover { - background: #f4f2df; - } -} - -@media screen and (max-width: 38.75em) { - #buddypress #object-nav ul li:not(:last-child) { - border-bottom: 1px solid #eaeaea; - } -} - -@media screen and (min-width: 38.75em) { - #buddypress #object-nav ul li { - float: right; - } -} - -#buddypress div#subnav.item-list-tabs { - margin-top: 0; -} - -#buddypress div#subnav.item-list-tabs ul { - background-color: #f7f7f7; - border-bottom: 0; - margin-top: 5px; - padding: 0; -} - -#buddypress div#subnav.item-list-tabs ul li.last { - background: #fff; - margin-top: 0; - padding: 5px 0 5px 5px; - width: 100%; -} - -#buddypress div#subnav.item-list-tabs ul li.last select, -#buddypress div#subnav.item-list-tabs ul li.last select:focus { - background: transparent; - border: 0; - outline: 0; -} - -#buddypress div#subnav.item-list-tabs ul li.last select, -#buddypress div#subnav.item-list-tabs ul li.last label, -#buddypress div#subnav.item-list-tabs ul li.last option { - font-size: 14px; - font-size: 0.875rem; -} - -#buddypress div#subnav.item-list-tabs ul li.last select { - font-style: italic; -} - -@media screen and (min-width: 38.75em) { - #buddypress div#subnav.item-list-tabs ul li.last { - text-align: left; - } -} - -#buddypress div.item-list-tabs ul li.selected a, -#buddypress div.item-list-tabs ul li.current a { - background: none; - opacity: 1; -} - -/*__ Vertical menu User Account / Group single screens __*/ -@media screen and (min-width: 55em) { - body:not(.sidebar) #buddypress #item-header, - body:not(.sidebar) #buddypress #item-body { - background: #fff; - } - body:not(.sidebar) #buddypress #object-nav { - border-left: 1px solid #ddd; - float: right; - margin-left: -1px; - width: 200px; - } - body:not(.sidebar) #buddypress #object-nav ul { - background: none; - border-bottom: 0; - padding: 0; - } - body:not(.sidebar) #buddypress #object-nav ul li { - float: none; - overflow: hidden; - } - body:not(.sidebar) #buddypress #object-nav ul li span { - background: #fff; - border-radius: 10%; - float: left; - margin-left: 2px; - } - body:not(.sidebar) #buddypress #item-body { - border-right: 1px solid #ddd; - overflow: hidden; - padding: 0 20px 0 0; - width: auto; - } - body:not(.sidebar) #buddypress #item-body #subnav { - margin: 0 -20px 0 0; - } - body:not(.sidebar) #buddypress #item-body #subnav ul { - margin-top: 0; - } -} - -@media screen and (min-width: 46.25em) { - #main #buddypress #group-create-tabs.item-list-tabs ul:before, - #main #buddypress #group-create-tabs.item-list-tabs ul:after { - content: " "; - display: table; - } - #main #buddypress #group-create-tabs.item-list-tabs ul:after { - clear: both; - } - #main #buddypress #group-create-tabs.item-list-tabs ul { - background: none; - border: 0; - border-bottom: 1px solid #ddd; - overflow: visible; - padding: 0; - } - #main #buddypress #group-create-tabs.item-list-tabs ul li { - float: right; - width: auto; - } - #main #buddypress #group-create-tabs.item-list-tabs ul li.selected, - #main #buddypress #group-create-tabs.item-list-tabs ul li.current { - border: 1px solid #ddd; - border-bottom-color: #fff; - -webkit-border-top-left-radius: 4px; - border-top-left-radius: 4px; - -webkit-border-top-right-radius: 4px; - border-top-right-radius: 4px; - background-clip: padding-box; - margin-bottom: -1px; - } - #main #buddypress #group-create-tabs.item-list-tabs ul li.selected a, - #main #buddypress #group-create-tabs.item-list-tabs ul li.current a { - background: none; - color: #141412; - outline: none; - } - #main #buddypress #subnav ul { - border-bottom: 0; - } -} - -/** -*---------------------------------------------------------- -* @section 2.2 - Pagination -*---------------------------------------------------------- -*/ -#buddypress div.pagination { - box-shadow: none; -} - -#buddypress div.pagination .pag-count { - margin-right: 0; -} - -#buddypress div.pagination .pagination-links { - margin-left: 0; -} - -#buddypress div.pagination .pagination-links span, -#buddypress div.pagination .pagination-links a { - height: auto; - line-height: 1; - padding: 5px; -} - -#buddypress div.pagination .pagination-links .prev, -#buddypress div.pagination .pagination-links .next { - background-color: transparent; - color: inherit; - overflow: visible; - width: auto; -} - -#buddypress div.pagination .pagination-links .prev:before, -#buddypress div.pagination .pagination-links .next:before { - display: none; -} - -#buddypress div.pagination .pagination-links .prev { - right: auto; - position: static; -} - -#buddypress div.pagination .pagination-links .next { - position: static; - left: auto; -} - -/** -*------------------------------------------------------------------------------- -* @section 4.0 - BP Lists / Loops Generic -*------------------------------------------------------------------------------- -*/ -#buddypress .item-list .activity-header, -#buddypress .item-list .activity-meta { - font-family: "Source Sans Pro", Helvetica, sans-serif; -} - -#buddypress .activity-meta .button:focus, #buddypress .activity-meta .button:hover { - background: #bd4b28; - color: #f7f5e7; -} - -#buddypress .action .generic-button a:focus, #buddypress .action .generic-button a:hover { - background: #bd4b28; - color: #f7f5e7; -} - -#buddypress ul.item-list li { - overflow: hidden !important; -} - -#buddypress ul.item-list li .item-avatar { - margin-bottom: 10px; - text-align: center; -} - -@media screen and (min-width: 38.75em) { - #buddypress ul.item-list li .item-avatar { - margin-bottom: 0; - } -} - -#buddypress ul.item-list li .item-avatar a { - border-bottom: 0; -} - -#buddypress ul.item-list li .item-avatar img.avatar { - display: inline-block; - float: none; -} - -@media screen and (min-width: 38.75em) { - #buddypress ul.item-list li .item-avatar img.avatar { - display: block; - float: right; - } -} - -#buddypress ul.item-list li .item { - overflow: hidden; -} - -@media screen and (min-width: 46.25em) { - #buddypress ul.item-list li .item { - margin-right: 15%; - } -} - -#buddypress ul.item-list li .item span.activity { - font-style: italic; -} - -#buddypress ul.item-list li .item .item-desc { - margin: 0 auto; - width: 100%; -} - -#buddypress ul.item-list li .item .item-title { - font-size: 18px; - font-size: 1.125rem; - line-height: 1.2; - margin: 0 auto; - text-align: center; - width: 100%; -} - -@media screen and (min-width: 38.75em) { - #buddypress ul.item-list li .item .item-title { - text-align: right; - } -} - -#buddypress ul.item-list li .item .item-title .update { - font-size: 12px; - font-size: 0.75rem; - display: block; - padding: 10px 0; - text-align: right; -} - -@media screen and (min-width: 59.6875em) { - #buddypress ul.item-list li .item .item-title .update { - font-size: 14px; - font-size: 0.875rem; - } -} - -@media screen and (min-width: 59.6875em) { - #buddypress ul.item-list li .item-avatar, - #buddypress ul.item-list li .item, - #buddypress ul.item-list li .action { - float: right; - } - #buddypress ul.item-list li .item { - right: 5%; - margin-right: 0; - position: relative; - width: 55%; - } - #buddypress ul.item-list li .item .item-title { - font-size: 22px; - font-size: 1.375rem; - } -} - -#buddypress ul.item-list li div.action { - clear: right; - float: none; - margin-bottom: -20px; - margin-right: 0; - padding: 20px 0 5px; - position: relative; - text-align: right; - top: 0; -} - -@media screen and (min-width: 59.6875em) { - #buddypress ul.item-list li div.action { - clear: none; - float: left; - margin-bottom: 0; - padding: 0; - } -} - -#buddypress ul.item-list li div.action div { - display: inline-block; - margin: 10px 0; - width: 100%; -} - -#buddypress ul.item-list li div.action div a { - display: block; - width: 100%; -} - -@media screen and (min-width: 38.75em) { - #buddypress ul.item-list li div.action div { - margin: 0 0 10px 10px; - width: auto; - } -} - -@media screen and (min-width: 59.6875em) { - #buddypress ul.item-list li div.action div { - clear: left; - float: left; - margin: 0 0 10px 0; - } -} - -#buddypress ul.item-list li div.action .meta { - font-style: italic; -} - -/** -*---------------------------------------------------------- -* @section 4.1 - Activity -*---------------------------------------------------------- -*/ -/** -*----------------------------------------------------- -* @section 4.1.1 - Activity Whats New -*----------------------------------------------------- -*/ -#buddypress form#whats-new-form p.activity-greeting { - line-height: 1.4; -} - -@media screen and (max-width: 46.25em) { - #buddypress form#whats-new-form #whats-new-content { - clear: right; - margin: 10px 0 20px; - padding: 10px 0 0; - } -} - -#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box { - border: 1px solid rgba(212, 208, 186, 0.5); - float: right; - line-height: 1.5; - margin-top: 12px; - padding-right: 0.2em; - width: 100%; -} - -#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box select { - background: none; - border: 0; - float: left; - margin: 0; - min-height: 1.5em; - padding-right: 0.4em; -} - -@media screen and (min-width: 30em) { - #buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box { - width: auto; - } - #buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-submit { - float: left; - } -} - -#buddypress #item-body form#whats-new-form { - margin: 40px 0; -} - -/** -*----------------------------------------------------- -* @section 4.1.2 - Activity Listing -*----------------------------------------------------- -*/ -#buddypress #activity-stream li { - padding: 25px 0 15px; -} - -#buddypress #activity-stream li .activity-avatar { - float: none; - text-align: center; -} - -#buddypress #activity-stream li .activity-avatar a { - display: inline-block; -} - -#buddypress #activity-stream li .activity-avatar a img.avatar { - display: inline; - float: none; - height: 60px; - margin-bottom: 20px; - margin-right: 0; - width: 60px; -} - -#buddypress #activity-stream li .activity-content { - margin-right: 0; -} - -#buddypress #activity-stream li .activity-content .activity-header { - font-size: 14px; - font-size: 0.875rem; -} - -@media screen and (min-width: 46.25em) { - #buddypress #activity-stream li .activity-avatar { - float: right; - margin-left: 10px; - text-align: right; - } - #buddypress #activity-stream li .activity-avatar a { - border-bottom: 0; - } - #buddypress #activity-stream li .activity-content { - margin: 0; - overflow: hidden; - } - #buddypress #activity-stream li .activity-content .activity-header { - font-size: 16px; - font-size: 1rem; - } -} - -#buddypress #activity-stream li.mini .activity-avatar a img.avatar { - height: 30px; - margin-right: 15px; - width: 30px; -} - -#buddypress #activity-stream li.mini .activity-content .activity-header { - font-size: 14px; - font-size: 0.875rem; -} - -#buddypress #activity-stream .activity-content { - margin-top: -12px; -} - -#buddypress #activity-stream .activity-content .activity-header { - line-height: inherit; - margin-left: 0; -} - -#buddypress #activity-stream .activity-content .activity-header p { - background-color: #f7f7f7; - border: 1px solid rgba(234, 234, 234, 0.6); - color: #727272; - margin-top: 0; - padding: 0 0.2em; -} - -#buddypress #activity-stream .activity-content .activity-header p a.activity-time-since { - color: #727272; -} - -#buddypress #activity-stream .activity-content .activity-header img.avatar { - display: inline-block; - margin-bottom: 0 !important; -} - -#buddypress #activity-stream .activity-content .activity-meta a { - display: block; - margin-bottom: 5px; -} - -@media screen and (min-width: 38.75em) { - #buddypress #activity-stream .activity-content .activity-meta a { - display: inline-block; - margin-bottom: 0; - } -} - -#buddypress #activity-stream .load-more { - background: #f7f7f7; - border: 1px solid transparent; - padding: 10px; -} - -#buddypress #activity-stream .load-more:focus, #buddypress #activity-stream .load-more:hover { - background: #f4f4f4; - border: 1px solid rgba(159, 209, 226, 0.3); -} - -#buddypress #activity-stream .load-more:focus a, #buddypress #activity-stream .load-more:hover a { - font-style: italic; -} - -#buddypress #activity-stream .load-more a { - display: block; -} - -/* Single activity view - activity permalink */ -.activity-permalink #buddypress #activity-stream li.activity-item { - padding: 20px; -} - -.activity-permalink #buddypress #activity-stream li.mini .activity-header { - font-size: 16px; - font-size: 1rem; - margin-bottom: 40px; -} - -@media screen and (min-width: 46.25em) { - .activity-permalink #buddypress #activity-stream li.mini .activity-header { - font-size: 20px; - font-size: 1.25rem; - } -} - -.activity-permalink #buddypress #activity-stream li.mini .activity-header p { - padding: 20px; -} - -/** -*----------------------------------------------------- -* @section 4.1.3 - Activity Comments -*----------------------------------------------------- -*/ -#buddypress #activity-stream .activity-comments { - border-right: 1px solid #eaeaea; - margin-top: 5px; -} - -#buddypress #activity-stream .activity-comments ul { - background: rgba(247, 247, 247, 0.6); - margin: 15px 2px 0 0; -} - -#buddypress #activity-stream .activity-comments a { - color: #ac0404; -} - -#buddypress #activity-stream .activity-comments .acomment-meta { - color: #737373; -} - -#buddypress #activity-stream .activity-comments .ac-form input[type="submit"], -#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel { - color: rgba(20, 20, 18, 0.8); - display: inline-block; - font-family: inherit; - font-size: 12px; - font-size: 0.75rem; - font-weight: 400; - line-height: 1.2; - padding: 4px 10px; - text-transform: lowercase; - width: 100px; -} - -#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel { - border: 1px solid rgba(212, 208, 186, 0.7); - text-align: center; -} - -#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:focus, #buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:hover { - background: #ededed; -} - -/** -*---------------------------------------------------------- -* @section 4.2 - Members Loop -*---------------------------------------------------------- -*/ -@media screen and (min-width: 59.6875em) { - #buddypress #members-list li .item-avatar, - #buddypress #members-list li .item { - float: right; - } - #buddypress #members-list li .action { - float: left; - } -} - -/** -*------------------------------------------------------------------------------- -* @section 5.0 - Directories -*------------------------------------------------------------------------------- -*/ -/** -*----------------------------------------------------------- -* @subsection Registration -*----------------------------------------------------------- -*/ -#buddypress #signup_form.standard-form #profile-details-section, -#buddypress #signup_form.standard-form #basic-details-section, -#buddypress #signup_form.standard-form #blog-details-section { - float: none; - width: 100%; -} - -@media screen and (min-width: 38.75em) { - #buddypress #signup_form.standard-form #profile-details-section, - #buddypress #signup_form.standard-form #basic-details-section, - #buddypress #signup_form.standard-form #blog-details-section { - width: 48%; - } -} - -@media screen and (min-width: 38.75em) { - #buddypress #signup_form.standard-form #profile-details-section { - float: left; - } - #buddypress #signup_form.standard-form #basic-details-section { - float: right; - } -} - -/** -*------------------------------------------------------------------------------- -* @section 6.0 - Single Item screens: User Account & Single Group Screens -*------------------------------------------------------------------------------- -*/ -/** -*----------------------------------------------------------- -* @subsection 6.1 - Item Header Global -*----------------------------------------------------------- -*/ -.bp-user .entry-header, -.single-item.groups .entry-header { - margin-bottom: 0; -} - -.bp-user .entry-header .entry-title, -.single-item.groups .entry-header .entry-title { - color: #8c8c7f; - font-size: 32px; - font-size: 2rem; - margin-bottom: 10px; - text-align: center; -} - -@media screen and (min-width: 46.25em) { - .bp-user .entry-header .entry-title, - .single-item.groups .entry-header .entry-title { - text-align: right; - } -} - -.bp-user #buddypress #item-header-content #item-meta, -.single-item.groups #buddypress #item-header-content #item-meta { - font-size: 14px; - font-size: 0.875rem; - text-align: right; -} - -.bp-user #buddypress #item-header-content #item-meta p, -.single-item.groups #buddypress #item-header-content #item-meta p { - margin-bottom: 0.5em; -} - -@media screen and (max-width: 46.25em) { - .bp-user main header.entry-header, - .single-item.groups main header.entry-header { - padding-bottom: 1rem; - } -} - -@media screen and (max-width: 38.75em) { - .bp-user h1, - .bp-user #item-header-content, - .single-item.groups h1, - .single-item.groups #item-header-content { - text-align: center; - } -} - -@media screen and (max-width: 46.25em) { - .bp-user #buddypress #item-header .generic-button, - .single-item.groups #buddypress #item-header .generic-button { - float: none; - margin: 1.5em 0 0; - } -} - -@media screen and (max-width: 38.75em) { - .bp-user #buddypress h1, - .single-item.groups #buddypress h1 { - margin-bottom: 0; - } - .bp-user #buddypress #item-header-avatar img.avatar, - .single-item.groups #buddypress #item-header-avatar img.avatar { - margin-left: 0; - } - .bp-user #buddypress #item-header-content, - .single-item.groups #buddypress #item-header-content { - width: 100%; - } -} - -/** -*----------------------------------------------------- -* @subsection 6.1.1 - item-header Groups -* -* Group Specific Item Header -*----------------------------------------------------- -*/ -@media screen and (max-width: 46.25em) { - .single-item.groups #buddypress #item-header #item-meta { - margin-bottom: 20px; - } -} - -@media screen and (max-width: 38.75em) { - .single-item.groups #buddypress div#item-header { - display: flex; - flex-direction: column; - } - .single-item.groups #buddypress div#item-header #item-header-avatar { - order: 1; - text-align: center; - } - .single-item.groups #buddypress div#item-header #item-header-avatar a { - border-bottom: 0; - } - .single-item.groups #buddypress div#item-header #item-header-avatar a img { - display: inline-block; - float: none; - } - .single-item.groups #buddypress div#item-header #item-header-content { - order: 2; - } - .single-item.groups #buddypress div#item-header #item-actions { - order: 3; - } - .single-item.groups #buddypress div#item-header #item-actions h2 { - border-bottom: 1px solid #eaeaea; - text-align: center; - } -} - -.single-item.groups #buddypress div#item-header { - padding-bottom: 40px; -} - -.single-item.groups #buddypress div#item-header div#item-actions { - margin: 0; - width: 100%; -} - -@media screen and (min-width: 38.75em) { - .single-item.groups #buddypress div#item-header div#item-actions { - border-right: 1px solid #eaeaea; - clear: none; - float: left; - padding-right: 0.2em; - width: 30%; - } -} - -@media screen and (min-width: 46.25em) { - .single-item.groups #buddypress div#item-header div#item-actions { - width: 40%; - } -} - -.single-item.groups #buddypress div#item-header div#item-actions ul { - margin-top: 0; - padding-right: 0; -} - -.single-item.groups #buddypress div#item-header div#item-actions h2 { - font-size: 14px; - font-size: 0.875rem; - padding: 0.2em; -} - -@media screen and (min-width: 46.25em) { - .single-item.groups #buddypress div#item-header div#item-actions h2 { - font-size: 16px; - font-size: 1rem; - } -} - -@media screen and (min-width: 46.25em) { - .single-item.groups #buddypress div#item-header #item-header-avatar, - .single-item.groups #buddypress div#item-header #item-header-content { - float: right; - } - .single-item.groups #buddypress div#item-header #item-header-avatar { - width: 21%; - } - .single-item.groups #buddypress div#item-header #item-header-content { - margin-right: 4%; - width: 40%; - } - .single-item.groups #buddypress div#item-header div#item-actions { - clear: both; - float: left; - width: 28%; - } - .single-item.groups #buddypress div#item-header div#item-actions h2 { - font-size: 14px; - font-size: 0.875rem; - } -} - -.single-item.groups #buddypress div#item-header #item-header-cover-image #item-actions { - border: 0; - float: none; - width: auto; -} - -@media screen and (max-width: 46.25em) { - .single-item.groups #buddypress div#item-header #item-header-cover-image #item-actions { - clear: both !important; - } -} - -@media screen and (min-width: 46.25em) { - .single-item.groups #buddypress div#item-header #item-header-cover-image #item-header-content { - padding-right: 10px; - } - .single-item.groups #buddypress div#item-header #item-header-cover-image #item-header-content #item-buttons { - margin-top: 0; - } - .single-item.groups #buddypress div#item-header #item-header-cover-image #item-actions { - border-right: 1px solid #eaeaea; - clear: none; - float: left; - margin-top: 230px !important; - padding-top: 0 !important; - width: 20%; - } -} - -/** -*----------------------------------------------------- -* @subsection 6.1.2 - Item Header User Accounts -* -* User Accounts Specific Item Header -*----------------------------------------------------- -*/ -.bp-user #buddypress #item-header { - padding: 20px 0; -} - -.bp-user #buddypress #item-header #item-header-avatar { - text-align: center; - width: 100%; -} - -.bp-user #buddypress #item-header #item-header-avatar img.avatar, -.bp-user #buddypress #item-header #item-header-avatar a { - border-bottom: 0; - display: inline-block; - float: none; -} - -.bp-user #buddypress #item-header #item-header-content .user-nicename, -.bp-user #buddypress #item-header #item-header-content span.activity { - display: block; - text-align: center; -} - -@media screen and (min-width: 46.25em) { - .bp-user #buddypress #item-header #item-header-avatar { - float: right; - width: auto; - } - .bp-user #buddypress #item-header #item-header-avatar a { - float: right; - } - .bp-user #buddypress #item-header #item-header-content { - float: none; - overflow: hidden; - } - .bp-user #buddypress #item-header #item-header-content .user-nicename, - .bp-user #buddypress #item-header #item-header-content span.activity { - text-align: right; - } - .bp-user #buddypress #item-header #item-header-content #item-meta { - margin-top: 0; - } -} - -@media screen and (min-width: 46.25em) { - .bp-user #buddypress #item-header-cover-image #item-header-content .user-nicename { - margin-bottom: 20px; - } - .bp-user #buddypress #item-header-cover-image #item-header-content #item-buttons { - margin: 0; - } -} - -/** -*----------------------------------------------------------- -* @subsection 6.2 - Item Body: Global -*----------------------------------------------------------- -*/ -/** -*---------------------------------------------------- -* @subsection 6.2.1 - Item Body Groups -* -* Groups specific item body rules - screens -*---------------------------------------------------- -*/ -/** -*----------------------------------------- -* @subsection 6.2.1.1 - Group Management -*----------------------------------------- -*/ -.groups #group-settings-form h3 { - background: #555; - color: #fff; - padding: 0.2em; -} - -.groups.edit-details #group-settings-form label { - margin-bottom: 0; - padding: 0.2em; - width: 80%; -} - -.groups.edit-details #group-settings-form textarea + p label { - background: none; - color: inherit; - font-size: 14px; - font-size: 0.875rem; - width: auto; -} - -.groups.edit-details #group-settings-form textarea { - height: auto; - min-height: 100px; - overflow: auto; -} - -.groups.group-settings #group-settings-form div.radio label { - border: 1px solid #eaeaea; - padding: 0.2em; -} - -.groups.group-settings #group-settings-form div.radio label ul { - color: rgba(20, 20, 18, 0.6); - font-size: 14px; - font-size: 0.875rem; -} - -.groups.group-avatar form > p { - margin-top: 20px; -} - -.groups.manage-members #group-settings-form .item-list li { - border-bottom: 1px solid #eaeaea; -} - -.groups.manage-members #group-settings-form .item-list li img, -.groups.manage-members #group-settings-form .item-list li h5 { - float: right; -} - -.groups.manage-members #group-settings-form .item-list li img > a, -.groups.manage-members #group-settings-form .item-list li h5 > a { - border-bottom: 0; -} - -.groups.manage-members #group-settings-form .item-list li span.small { - clear: right; - display: block; - float: none; - margin-top: 10px; -} - -.groups.manage-members #group-settings-form .item-list li span.small a { - display: inline-block; - margin: 5px 0; - width: 100%; -} - -@media screen and (min-width: 38.75em) { - .groups.manage-members #group-settings-form .item-list li span.small a { - width: auto; - } -} - -.groups.manage-members #group-settings-form .item-list li h5 { - margin: 0; -} - -/** -*----------------------------------------- -* @subsection 6.2.1.2 - Group members -*----------------------------------------- -*/ -.groups.group-members #subnav li { - width: 100%; -} - -@media screen and (max-width: 38.75em) { - .groups.group-members #subnav li { - background: #fff; - padding: 20px 0; - } -} - -.groups.group-members #subnav li #search-members-form { - float: left; - margin: 5px 0 0 5px; -} - -@media screen and (max-width: 38.75em) { - .groups.group-members #subnav li #search-members-form { - margin: 0; - width: 100%; - } - .groups.group-members #subnav li #search-members-form label input[type="text"] { - width: 100%; - } -} - -/** -*----------------------------------------- -* @subsection 6.2.1.3 - Group send Invites -*----------------------------------------- -*/ -#buddypress div.invite .left-menu { - float: none; -} - -@media screen and (min-width: 46.25em) { - #buddypress div.invite .left-menu { - float: right; - } -} - -#buddypress div.invite #invite-list { - border: 1px solid #eaeaea; - height: auto; - min-height: 3.125em; - padding: 0 0.3em 0.5em; - width: auto; -} - -@media screen and (min-width: 46.25em) { - #buddypress div.invite #invite-list { - width: 220px; - } -} - -#buddypress div.invite #invite-list ul { - padding-right: 0; -} - -#buddypress div.invite .main-column { - margin-right: 0; -} - -@media screen and (min-width: 46.25em) { - #buddypress div.invite .main-column { - margin-right: 235px; - } -} - -/** -*----------------------------------------------------- -* @subsection 6.2.2 - Item Body User Accounts -* -* User Account specific item body rules -*----------------------------------------------------- -*/ -.bp-user .entry-title { - margin-bottom: 0.5em; -} - -/** -*-------------------------------------------- -* @subsection 6.2.2.1 - classes, pag, filters -*-------------------------------------------- -*/ -.bp-user #buddypress table th { - font-size: 14px; - font-size: 0.875rem; -} - -.bp-user #buddypress table td { - font-size: 13px; - font-size: 0.8125rem; -} - -@media screen and (min-width: 46.25em) { - .bp-user #buddypress table th { - font-size: 16px; - font-size: 1rem; - } - .bp-user #buddypress table td { - font-size: 14px; - font-size: 0.875rem; - } -} - -@media screen and (min-width: 77.5em) { - .bp-user #buddypress table th { - font-size: 18px; - font-size: 1.125rem; - } - .bp-user #buddypress table td { - font-size: 16px; - font-size: 1rem; - } -} - -.bp-user #buddypress .pag-count { - font-style: italic; -} - -.bp-user #buddypress .notifications-options-nav { - border: 1px solid rgba(212, 208, 186, 0.5); - float: right; - width: 100%; -} - -@media screen and (min-width: 38.75em) { - .bp-user #buddypress .notifications-options-nav { - width: 300px; - } -} - -.bp-user #buddypress .notifications-options-nav select, -.bp-user #buddypress .notifications-options-nav input { - border: 0; - font-size: 14px; - font-size: 0.875rem; - outline: 0; - padding: 0; -} - -.bp-user #buddypress .notifications-options-nav select { - float: right; - margin-left: 0; - width: 60%; -} - -.bp-user #buddypress .notifications-options-nav input { - float: left; - font-family: inherit; - line-height: 20px; - width: 40%; -} - -/** - *------------------------------------------- - * @subsection 6.2.2.2 - Extended Profiles - *------------------------------------------- - */ -.bp-user #buddypress .profile .bp-widget h2 { - background: #6f6e6e; - color: #fff; - margin-bottom: 0; - padding: 0.4em; -} - -.bp-user #buddypress .profile .bp-widget table { - margin-top: 0; -} - -.bp-user #buddypress .profile #profile-edit-form .button-nav:before, -.bp-user #buddypress .profile #profile-edit-form .button-nav:after { - content: " "; - display: table; -} - -.bp-user #buddypress .profile #profile-edit-form .button-nav:after { - clear: both; -} - -.bp-user #buddypress .profile #profile-edit-form ul.button-nav { - border-bottom: 1px solid #eaeaea; - margin-right: 0; - padding: 0; -} - -.bp-user #buddypress .profile #profile-edit-form ul.button-nav li { - float: right; - margin-bottom: 0; -} - -.bp-user #buddypress .profile #profile-edit-form ul.button-nav li.current { - border: 1px solid #eaeaea; - border-bottom-color: #fff; - margin-bottom: -1px; -} - -.bp-user #buddypress .profile #profile-edit-form ul.button-nav a { - background: none; - border: 0; - font-size: 18px; - font-size: 1.125rem; -} - -.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle, -.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings { - font-size: 14px; - font-size: 0.875rem; -} - -.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close, -.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link { - background: #555; - color: #fff; - padding: 0.2em 0.5em; -} - -.bp-user #buddypress .profile .bp-avatar #bp-delete-avatar a { - font-size: inherit; -} - -/** - *------------------------------------------- - * @subsection 6.2.2.3 - Groups - *------------------------------------------- - */ -@media screen and (min-width: 77.5em) { - .bp-user #buddypress #groups-list li .item { - right: 5%; - width: 50%; - } -} - -/** - *------------------------------------------- - * @subsection 6.2.2.5 - Private Messaging - *------------------------------------------- - */ -.bp-user #buddypress #message-thread a { - border-bottom: 0; -} - -.bp-user #buddypress #message-thread #message-subject { - background: #6f6e6e; - color: #fff; - padding: 0.3em 0.2em 0.3em 0; -} - -.bp-user #buddypress #message-thread #message-recipients { - font-style: italic; -} - -.bp-user #buddypress #message-thread #message-recipients a.confirm { - border: 1px solid #eaeaea; - font-style: normal; -} - -.bp-user #buddypress #message-thread .message-metadata:after { - clear: both; - content: ""; - display: table; -} - -.bp-user #buddypress #message-thread .message-metadata img.avatar { - float: none; -} - -@media screen and (min-width: 46.25em) { - .bp-user #buddypress #message-thread .message-metadata img.avatar { - float: right; - } -} - -.bp-user #buddypress #message-thread .message-metadata .message-star-actions { - float: left; - margin-left: 5px; - position: static; -} - -.bp-user #buddypress #message-thread .message-content { - background: #f7f7f7; - border: 1px solid #eaeaea; - margin: 10px 0 0 0; - padding: 0.3em; -} - -.bp-user #buddypress #message-thread #send-reply .message-content { - background: #fff; - border: 0; -} - -.bp-user #buddypress #message-thread .alt { - background: #fff; -} - -.bp-user #buddypress #message-threads thead tr { - background: #6f6e6e; -} - -.bp-user #buddypress #message-threads tr td { - background: #fff; - display: inline-block; - float: right; -} - -.bp-user #buddypress #message-threads tr td.thread-star, -.bp-user #buddypress #message-threads tr td.thread-options { - border-bottom-color: #ccc; - border-bottom-width: 2px; - height: 2.4em; - padding-bottom: 0.2em; - padding-top: 0.2em; -} - -@media screen and (max-width: 46.25em) { - .bp-user #buddypress #message-threads tr td.thread-star, - .bp-user #buddypress #message-threads tr td.thread-options { - padding-top: 0; - } - .bp-user #buddypress #message-threads tr td.thread-star span.icon:before, - .bp-user #buddypress #message-threads tr td.thread-options span.icon:before { - font-size: 14px; - } -} - -.bp-user #buddypress #message-threads tr .thread-checkbox { - padding: 0 0.3em 0 0; -} - -.bp-user #buddypress #message-threads tr td.bulk-select-check, -.bp-user #buddypress #message-threads tr td.thread-from { - height: 3em; -} - -@media screen and (max-width: 38.75em) { - .bp-user #buddypress #message-threads tr td.bulk-select-check, - .bp-user #buddypress #message-threads tr td.thread-from { - height: 5.2em; - } -} - -.bp-user #buddypress #message-threads tr td.thread-from, -.bp-user #buddypress #message-threads tr td.thread-options { - border-right: 0 !important; - width: -webkit-calc(100% - 30px); - width: -moz-calc(100% - 30px); - width: calc(100% - 30px); - margin-right: 0; -} - -.bp-user #buddypress #message-threads tr td.thread-info { - padding-right: 41px; - width: 100%; -} - -.bp-user #buddypress #message-threads tr td.thread-info .thread-excerpt { - font-size: 14px; - font-size: 0.875rem; -} - -.bp-user #buddypress #message-threads tr td.thread-options { - text-align: left; -} - -.bp-user #buddypress #message-threads tr td.thread-options a { - font-size: 12px; - font-size: 0.75rem; - line-height: 2.2; -} - -.bp-user #buddypress #message-threads tr span.from { - display: none; -} - -.bp-user #buddypress #message-threads tr span.activity { - display: block; - float: left; - line-height: 2; -} - -@media screen and (max-width: 38.75em) { - .bp-user #buddypress #message-threads tr span.activity { - clear: both; - font-size: 12px; - font-size: 0.75rem; - width: 100%; - } -} - -.bp-user #buddypress #message-threads tr.unread td { - background: #dce5ff; - border-color: #d4d0ba; -} - -.bp-user #buddypress #message-threads th { - display: none; -} - -.bp-user #buddypress #message-threads th.bulk-select-all { - border-bottom: 0; - display: inline-block; - text-align: right; -} - -.bp-user #buddypress #message-threads th.bulk-select-all, -.bp-user #buddypress #message-threads td.bulk-select-check, -.bp-user #buddypress #message-threads td.thread-star { - border-left: 0; - width: 30px; -} - -.bp-user #buddypress .acfb-holder { - list-style: none; - margin: 0; - padding: 0; -} - -.bp-user #buddypress .acfb-holder li { - margin-right: 0; -} - -.bp-user #buddypress .acfb-holder li.friend-tab { - background: #edf7fa; - border: inherit; - margin-left: 0; - padding: 0.5em; -} - -.bp-user #buddypress .acfb-holder li.friend-tab span.p { - padding-right: 10px; -} - -.bp-user #buddypress .acfb-holder li.friend-tab span.p:focus, .bp-user #buddypress .acfb-holder li.friend-tab span.p:hover { - color: #c82b2b; - cursor: pointer; -} - -.bp-user #buddypress .acfb-holder li.friend-tab a { - border-bottom: 0; - text-decoration: none; -} - -.bp-user #buddypress .acfb-holder li.friend-tab a img { - display: inline; - height: 20px; - vertical-align: middle; - width: 20px !important; -} - -.bp-user #buddypress .sitewide-notices tr td:first-child { - display: none; -} - -.bp-user #buddypress .sitewide-notices td strong { - background: #6f6e6e; - color: #fff; - display: block; - padding-right: 0.2em; -} - -.bp-user .ac_results { - background: #eee; - padding-right: 10px; -} - -.bp-user .ac_results ul { - list-style: none; - margin: 0; - padding: 0; -} - -.bp-user .ac_results li { - margin: 10px 0; -} - -.bp-user .ac_results li:focus, .bp-user .ac_results li:hover { - cursor: pointer; -} - -/** - *------------------------------ - * @subsection 6.2.2.6 - Settings - *------------------------------ - */ -.bp-user #buddypress #settings-form { - padding: 0 10px; -} - -.bp-user #buddypress #settings-form > p { - font-size: 20px; - font-size: 1.25rem; - margin: 20px 0 10px; -} - -.bp-user #buddypress table.notification-settings td.yes, -.bp-user #buddypress table.notification-settings td.no { - vertical-align: middle; -} - -.bp-user #buddypress table.profile-settings { - width: 100%; -} - -.bp-user #buddypress table.profile-settings th.field-group-name, -.bp-user #buddypress table.profile-settings td.field-name { - width: 50%; -} - -@media screen and (min-width: 46.25em) { - .bp-user #buddypress table.profile-settings th.field-group-name, - .bp-user #buddypress table.profile-settings td.field-name { - width: 70%; - } -} - -.bp-user #buddypress table.profile-settings th.title, -.bp-user #buddypress table.profile-settings td.field-visibility { - width: 30%; -} - -.bp-user #buddypress table.profile-settings td.field-visibility select { - width: 100%; -} - -/** -*------------------------------------------------------------------------------- -* @section 7.0 - Forms - General -*------------------------------------------------------------------------------- -*/ -#main #buddypress .standard-form li { - float: none; -} - -#main #buddypress .standard-form input[type="text"], -#main #buddypress .standard-form input[type="email"], -#main #buddypress .standard-form input[type="password"], -#main #buddypress .standard-form textarea { - width: 100%; -} - -#buddypress div.activity-comments form .ac-textarea { - background: #f7f7f7; - border: 1px solid rgba(212, 208, 186, 0.5); -} - -#buddypress div.activity-comments form .ac-textarea textarea { - background: none; - border: 0; -} - -#buddypress .standard-form input[type="text"], -#buddypress .standard-form input[type="email"], -#buddypress .standard-form input[type="password"], -#buddypress .standard-form button, -#buddypress .standard-form select, -#buddypress .standard-form textarea { - border-color: rgba(212, 208, 186, 0.5); - border-width: 1px; -} - -#buddypress #signup_form.standard-form div.submit { - float: none; -} - -#buddypress #signup_form.standard-form div.submit input { - margin-left: 0; -} - -#buddypress div.dir-search, -#buddypress div.message-search, -#buddypress li.groups-members-search { - float: none; - margin: 10px 0; -} - -#buddypress div.dir-search form, -#buddypress div.message-search form, -#buddypress li.groups-members-search form { - border: 1px solid rgba(212, 208, 186, 0.6); - overflow: hidden; -} - -#buddypress div.dir-search form label, -#buddypress div.message-search form label, -#buddypress li.groups-members-search form label { - float: right; - width: 60%; -} - -@media screen and (min-width: 46.25em) { - #buddypress div.dir-search form label, - #buddypress div.message-search form label, - #buddypress li.groups-members-search form label { - width: 80%; - } -} - -#buddypress div.dir-search form input[type="text"], -#buddypress div.message-search form input[type="text"], -#buddypress li.groups-members-search form input[type="text"] { - float: right; - margin: 0; - width: 100%; -} - -#buddypress div.dir-search form input[type="text"], -#buddypress div.dir-search form input[type="submit"], -#buddypress div.message-search form input[type="text"], -#buddypress div.message-search form input[type="submit"], -#buddypress li.groups-members-search form input[type="text"], -#buddypress li.groups-members-search form input[type="submit"] { - font-size: 14px; - font-size: 0.875rem; - border: 0; - line-height: inherit; -} - -#buddypress div.dir-search form input[type="text"], -#buddypress div.message-search form input[type="text"], -#buddypress li.groups-members-search form input[type="text"] { - border-left: 1px solid rgba(212, 208, 186, 0.6); - padding: 0.2em 0.2em 0.2em 0; -} - -#buddypress div.dir-search form input[type="submit"], -#buddypress div.message-search form input[type="submit"], -#buddypress li.groups-members-search form input[type="submit"] { - float: left; - font-weight: 400; - padding: 0.2em 1em; - text-align: center; - text-transform: none; - width: 40%; -} - -@media screen and (min-width: 46.25em) { - #buddypress div.dir-search form input[type="submit"], - #buddypress div.message-search form input[type="submit"], - #buddypress li.groups-members-search form input[type="submit"] { - width: 20%; - } -} - -@media screen and (min-width: 38.75em) { - #buddypress div.dir-search, - #buddypress div.message-search, - #buddypress li.groups-members-search { - float: left; - margin-bottom: 5px !important; - } - #buddypress div.dir-search form label, - #buddypress div.dir-search form input[type="text"], - #buddypress div.dir-search form input[type="submit"], - #buddypress div.message-search form label, - #buddypress div.message-search form input[type="text"], - #buddypress div.message-search form input[type="submit"], - #buddypress li.groups-members-search form label, - #buddypress li.groups-members-search form input[type="text"], - #buddypress li.groups-members-search form input[type="submit"] { - width: auto; - } -} - -@media screen and (min-width: 77.5em) { - #buddypress .dir-search form input[type="text"], - #buddypress .message-search form input[type="text"] { - font-size: 16px; - font-size: 1rem; - } - #buddypress .dir-search form input[type="submit"], - #buddypress .message-search form input[type="submit"] { - font-size: 16px; - font-size: 1rem; - } -} - -/** -*------------------------------------------------------------------------------- -* @section 8.0 - Tables - General -*------------------------------------------------------------------------------- -*/ -#buddypress table { - font-size: 14px; - font-size: 0.875rem; - margin: 20px 0; -} - -#buddypress table tr th { - background: #6f6e6e; - border-color: #b7b7b7; - color: #fff; -} - -#buddypress table th, -#buddypress table td { - padding: 0.3em; -} - -#buddypress table p { - margin-bottom: 0.5em; -} - -@media screen and (min-width: 55em) { - #buddypress table { - font-size: 16px; - font-size: 1rem; - } -} - -/*__ User Account tables __*/ -#buddypress .notifications th, -#buddypress .messages-notices th { - width: 30%; -} - -#buddypress .notifications th.bulk-select-all, -#buddypress .messages-notices th.bulk-select-all { - text-align: center; - width: 10%; -} - -#buddypress .notifications .bulk-select-check, -#buddypress .notifications .thread-star, -#buddypress .messages-notices .bulk-select-check, -#buddypress .messages-notices .thread-star { - text-align: center; -} - -#buddypress .notifications .notification-actions, -#buddypress .notifications td.thread-options, -#buddypress .messages-notices .notification-actions, -#buddypress .messages-notices td.thread-options { - text-align: center; -} - -#buddypress .notifications .notification-actions a, -#buddypress .notifications td.thread-options a, -#buddypress .messages-notices .notification-actions a, -#buddypress .messages-notices td.thread-options a { - display: inline-block; - margin: 0; - padding: 0; -} - -#buddypress .notifications td .button, -#buddypress .messages-notices td .button { - border: 0; - display: block; - padding: 0; - text-align: center; -} - -/** -*------------------------------------------------------------------------------- -* @section 9.0 - Error / Success messages -*------------------------------------------------------------------------------- -*/ -#buddypress div#message p { - font-size: 18px; - font-size: 1.125rem; - font-weight: 700; -} - -#buddypress div#message.info p { - background: #c6e4ee; - border: 1px solid #78bed6; - color: #1e5264; -} - -#buddypress div#message.updated p { - background: #dee6b2; - border: 1px solid #becc66; - color: #454d19; -} - -.delete-group #buddypress div#message.info p { - background: #db7e7e; - border: 1px solid #be3535; - color: #1f0808; -} - -/** -*------------------------------------------------------------------------------- -* @section 10.0 - Ajax Loading, Widgets, General classes -*------------------------------------------------------------------------------- -*/ diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/029/029.test.js b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/029/029.test.js deleted file mode 100644 index 249ef4eaecc89c..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/029/029.test.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -const stylelint = require( 'stylelint' ), - systemTestUtils = require( '../systemTestUtils.js' ); - -it( '029', () => { - return stylelint.lint({ - files: [systemTestUtils.caseStylesheetGlob( '029' )], - configFile: systemTestUtils.caseConfig( '029' ), - }).then( ({ results }) => { - expect( systemTestUtils.prepResults( results ) ).toMatchSnapshot(); - }); -}); diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/029/__snapshots__/029.test.js.snap b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/029/__snapshots__/029.test.js.snap deleted file mode 100644 index 9c13c1b99ae03e..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/029/__snapshots__/029.test.js.snap +++ /dev/null @@ -1,870 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`029 1`] = ` -Array [ - Object { - "deprecations": Array [], - "errored": true, - "ignored": undefined, - "invalidOptionWarnings": Array [], - "parseErrors": Array [], - "source": "029/stylesheet.css", - "warnings": Array [ - Object { - "column": 1, - "line": 57, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 71, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 539, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 827, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 1100, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 1107, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 2, - "line": 1327, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 1767, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 2, - "line": 102, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 107, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 113, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 118, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 121, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 127, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 142, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 148, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 154, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 180, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 215, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 225, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 229, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 235, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 240, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 244, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 250, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 256, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 259, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 265, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 270, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 273, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 280, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 284, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 295, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 301, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 378, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 394, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 406, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 416, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 439, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 461, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 468, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 473, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 479, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 497, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 516, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 523, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 549, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 575, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 578, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 581, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 636, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 641, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 644, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 648, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 652, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 702, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 735, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 813, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 817, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 840, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 848, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 851, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 883, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 892, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 899, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 903, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 907, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 914, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 929, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 935, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 939, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 943, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 946, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 950, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 953, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 956, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 978, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 988, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1010, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1014, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1018, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1025, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1035, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1042, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1050, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1082, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1085, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1088, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1181, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1200, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1212, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1216, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1248, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1252, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1269, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1293, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1309, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1414, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1459, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1506, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1532, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1573, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1747, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1868, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1874, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1888, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1893, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1927, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 45, - "line": 89, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 47, - "line": 118, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 43, - "line": 121, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 52, - "line": 148, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 34, - "line": 316, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 46, - "line": 714, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 80, - "line": 803, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 81, - "line": 1315, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 88, - "line": 1398, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 61, - "line": 1626, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 30, - "line": 1713, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 2, - "line": 174, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '5px 0 5px' instead of '5px 0' (shorthand-property-no-redundant-values)", - }, - Object { - "column": 3, - "line": 526, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '0 0 10px 0' instead of '0 0 10px' (shorthand-property-no-redundant-values)", - }, - Object { - "column": 2, - "line": 1473, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '10px 0 0 0' instead of '10px 0 0' (shorthand-property-no-redundant-values)", - }, - ], - }, -] -`; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/029/config.json b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/029/config.json deleted file mode 100644 index a8af7d5dcb61b9..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/029/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../index.js" -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/029/stylesheet.css b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/029/stylesheet.css deleted file mode 100644 index e58678897613f5..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/029/stylesheet.css +++ /dev/null @@ -1,2013 +0,0 @@ -/*-------------------------------------------------------------- - -This is the BuddyPress companion stylesheet for -the WordPress Twentytwelve theme. - -This sheet supports the primary BuddyPress styles in buddypress.css - -If you are running as a child theme of twentytwelve this stylesheet will be -loaded by default. If you want to modify the styles the normal BP Theme Compat -hierarchy works and you can copy the file to buddypress/css/ or community/css/ -in your child themes root & either start over or modify the rulesets. - -If you do not require the styles you can dequeue them from the themes -functions file. - -Please see this codex article for more information: -http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ - ----------------------------------------------------------------- ->>> TABLE OF CONTENTS: ----------------------------------------------------------------- -1.0 Theme Structural Elements & overrides -2.0 - Navigation - General - 2.1 - Navs - Object Nav / Sub Nav (item-list-tabs) - 2.2 - Pagination -3.0 - Images -4.0 - BP Lists / Loops Generic - 4.1 - Activity Loop - 4.1.1 Whats New Activity - 4.1.2 - Activity Listing - 4.1.3 - Activity Comments - 4.2 - Members Loop - 4.3 - Groups Loop - 4.4 - Blogs Loop -5.0 - Directories - Members, Groups, Blogs, Register, activation -6.0 - Single Item screens: User Account & Single Group Screens - 6.1 - Item Headers: Global - 6.1.1 - item-header: Groups - 6.1.2 - item-header: User Accounts - 6.2 - Item Body: Global - 6.2.1 - item-body: Groups - 6.2.1.1 - Management settings screens - 6.2.1.2 - Group members list - 6.2.2 - item-body: User Accounts - 6.2.2.1 - classes, pag, filters - 6.2.2.2 - Extended Profiles - 6.2.2.3 - Groups - 6.2.2.4 - friends - 6.2.2.5 - Private Messaging Threads - 6.2.2.6 - Settings - 6.2.2.7 - Notifications -7.0 - Forms - General -8.0 - Tables - General -9.0 - Error / Success Messages -10.0 - Ajax Loading, Widgets, General classes ---------------------------------------------------------------*/ -/** -*------------------------------------------------------------------------------- -* @section 1.0 - Theme - Structural Elements. overrides, Globals -*------------------------------------------------------------------------------- -*/ -.buddypress div.clear { - display: none; -} - -/** -*------------------------------------------------------------------------------- -* @section 2.0 - Navigation - General -*------------------------------------------------------------------------------- -*/ -/** -*---------------------------------------------------------- -* @section 2.1 - Navs Object Nav / Sub Nav (item-list-tabs) -* -* The main navigational elements for all BP screens -*---------------------------------------------------------- -*/ -#buddypress div.item-list-tabs ul li.selected a, -#buddypress div.item-list-tabs ul li.current a { - background: inherit; - opacity: 1; -} - -#buddypress div.item-list-tabs ul { - overflow: hidden; - padding: 0; -} - -#buddypress div.item-list-tabs ul li a:focus, #buddypress div.item-list-tabs ul li a:hover { - color: #555; -} - -#buddypress div.item-list-tabs ul li a:visited { - color: #21759b; -} - -#buddypress div.item-list-tabs ul li a span { - border-radius: 25%; -} - -@media screen and (max-width: 30em) { - .bp-user #buddypress #object-nav { - border: 1px solid #eaeaea; - overflow: visible; - padding: 10px; - } - .bp-user #buddypress #object-nav ul { - border: 0; - height: 0; - transition: height 0.3s ease-in-out 0.7s; - visibility: hidden; - } - .bp-user #buddypress #object-nav:before { - content: "Menu \021E9"; - display: inline; - opacity: 0.7; - } - .bp-user #buddypress #object-nav:hover:before, .bp-user #buddypress #object-nav:focus:before { - content: "Menu \021E7"; - } - .bp-user #buddypress #object-nav:hover ul, .bp-user #buddypress #object-nav:focus ul { - height: 320px; - opacity: 1; - overflow-y: auto; - visibility: visible; - } - .bp-user #buddypress #subnav { - clear: both; - } -} - -/*__ Horizontal menus __*/ -#buddypress #object-nav ul { - overflow: hidden; -} - -#buddypress #object-nav ul li { - float: none; -} - -@media screen and (max-width: 37.5em) { - #buddypress #object-nav ul li:not(:last-child) { - border-bottom: 1px solid #eaeaea; - } -} - -@media screen and (max-width: 37.5em) { - #buddypress #object-nav ul li:not(.selected):focus, #buddypress #object-nav ul li:not(.selected):hover { - background: #f2f2f2; - } -} - -@media screen and (min-width: 37.5em) { - #buddypress #object-nav ul li { - float: right; - } -} - -#buddypress div#subnav.item-list-tabs { - margin-top: 0; -} - -#buddypress div#subnav.item-list-tabs ul { - border-bottom: 0; - border-top: 1px solid #d4d0ba; - margin-top: 5px; - padding: 0; -} - -#buddypress div#subnav.item-list-tabs ul li.last { - background: #fff; - float: left; - margin-top: 0; - padding: 5px 0 5px; - text-align: left; - width: 230px; -} - -@media screen and (max-width: 30em) { - #buddypress div#subnav.item-list-tabs ul li.last { - float: none; - width: auto; - } -} - -#buddypress div#subnav.item-list-tabs ul li.last select, -#buddypress div#subnav.item-list-tabs ul li.last select:focus { - background: transparent; - border: 0; - outline: 0; - padding: 0; -} - -#buddypress div#subnav.item-list-tabs ul li.last select, -#buddypress div#subnav.item-list-tabs ul li.last label, -#buddypress div#subnav.item-list-tabs ul li.last option { - font-size: 14px; - font-size: 1rem; -} - -#buddypress div#subnav.item-list-tabs ul li.last select { - font-style: italic; -} - -#buddypress div#subnav.item-list-tabs ul li.last select option { - font-style: normal; -} - -.bp-user #buddypress div#subnav.item-list-tabs li.last { - margin-right: 0; - text-align: left; -} - -@media screen and (max-width: 30em) { - .bp-user #buddypress div#subnav.item-list-tabs li.last { - clear: right; - float: none; - margin-right: 10px; - text-align: right; - } -} - -/*__ Vertical menu User Account / Group single screens __*/ -@media screen and (min-width: 60em) { - body.full-width #buddypress #item-header, - body.full-width #buddypress #item-body { - background: #fff; - } - body.full-width #buddypress #object-nav { - border-left: 1px solid #ddd; - float: right; - margin-left: -1px; - width: 200px; - } - body.full-width #buddypress #object-nav ul { - background: none; - border-bottom: 0; - padding: 0; - } - body.full-width #buddypress #object-nav ul li { - float: none; - overflow: hidden; - } - body.full-width #buddypress #object-nav ul li span { - background: #fff; - border-radius: 10%; - float: left; - margin-left: 2px; - } - body.full-width #buddypress #item-body { - border-right: 1px solid #ddd; - overflow: hidden; - padding: 0 24px 0 0; - width: auto; - } - body.full-width #buddypress #item-body #subnav { - margin: 0 -24px 0 0; - } - body.full-width #buddypress #item-body #subnav ul { - margin-top: 0; - } -} - -@media screen and (min-width: 46.25em) { - #main #buddypress #group-create-tabs.item-list-tabs ul:before, - #main #buddypress #group-create-tabs.item-list-tabs ul:after { - content: " "; - display: table; - } - #main #buddypress #group-create-tabs.item-list-tabs ul:after { - clear: both; - } - #main #buddypress #group-create-tabs.item-list-tabs ul { - background: none; - border: 0; - border-bottom: 1px solid #ddd; - overflow: visible; - padding-bottom: 0; - } - #main #buddypress #group-create-tabs.item-list-tabs ul li { - float: right; - width: auto; - } - #main #buddypress #group-create-tabs.item-list-tabs ul li.selected, - #main #buddypress #group-create-tabs.item-list-tabs ul li.current { - border: 1px solid #ddd; - border-bottom-color: #fff; - -webkit-border-top-left-radius: 4px; - border-top-left-radius: 4px; - -webkit-border-top-right-radius: 4px; - border-top-right-radius: 4px; - background-clip: padding-box; - margin-bottom: -1px; - } - #main #buddypress #group-create-tabs.item-list-tabs ul li.selected a, - #main #buddypress #group-create-tabs.item-list-tabs ul li.current a { - background: none; - color: #141412; - outline: none; - } - #main #buddypress #subnav ul { - border-bottom: 0; - } -} - -/** -*---------------------------------------------------------- -* @section 2.2 - Pagination -*---------------------------------------------------------- -*/ -#buddypress div.pagination { - box-shadow: none; - min-height: 0; -} - -#buddypress div.pagination:before, #buddypress div.pagination:after { - height: 0; - width: 0; -} - -#buddypress div.pagination .pag-count { - margin-right: 0; -} - -#buddypress div.pagination .pagination-links { - margin-left: 0; -} - -#buddypress div.pagination .pagination-links span, -#buddypress div.pagination .pagination-links a { - height: auto; - line-height: 1; - padding: 5px; -} - -#buddypress div.pagination .pagination-links .prev, -#buddypress div.pagination .pagination-links .next { - background-color: transparent; - color: inherit; - overflow: visible; - width: auto; -} - -#buddypress div.pagination .pagination-links .prev:before, -#buddypress div.pagination .pagination-links .next:before { - display: none; -} - -#buddypress div.pagination .pagination-links .prev { - right: auto; - position: static; -} - -#buddypress div.pagination .pagination-links .next { - position: static; - left: auto; -} - -/** -*------------------------------------------------------------------------------- -* @section 4.0 - BP Lists / Loops Generic -*------------------------------------------------------------------------------- -*/ -#buddypress ul.item-list { - border-top: 0; -} - -#buddypress ul.item-list li { - overflow: hidden !important; -} - -#buddypress ul.item-list li .item-avatar { - margin-bottom: 10px; - text-align: center; -} - -@media screen and (min-width: 37.5em) { - #buddypress ul.item-list li .item-avatar { - margin-bottom: 0; - } -} - -#buddypress ul.item-list li .item-avatar a { - border-bottom: 0; -} - -#buddypress ul.item-list li .item-avatar img.avatar { - display: inline-block; - float: none; - margin-bottom: 10px; -} - -@media screen and (min-width: 37.5em) { - #buddypress ul.item-list li .item-avatar img.avatar { - display: block; - float: right; - } -} - -#buddypress ul.item-list li .item { - margin-right: 0; - overflow: hidden; -} - -@media screen and (min-width: 61.5625em) { - #buddypress ul.item-list li .item { - margin-right: 15%; - } -} - -#buddypress ul.item-list li .item .item-meta { - text-align: center; -} - -@media screen and (min-width: 61.5625em) { - #buddypress ul.item-list li .item .item-meta { - text-align: right; - } -} - -#buddypress ul.item-list li .item span.activity { - font-style: italic; -} - -#buddypress ul.item-list li .item .item-desc { - margin-right: 0; - width: 94%; -} - -#buddypress ul.item-list li .item .item-title { - font-size: 16px; - font-size: 1.1428571429rem; - line-height: 1.2; - text-align: center; - width: 100%; -} - -@media screen and (min-width: 37.5em) { - #buddypress ul.item-list li .item .item-title { - text-align: right; - } -} - -#buddypress ul.item-list li .item .item-title > a { - text-decoration: none; -} - -#buddypress ul.item-list li .item .item-title > a:visited { - color: #21759b; -} - -#buddypress ul.item-list li .item .item-title .update { - display: block; - font-size: 12px; - font-size: 0.8571428571rem; - padding: 10px 0; - text-align: right; -} - -@media screen and (min-width: 60em) { - #buddypress ul.item-list li .item .item-title .update { - font-size: 14px; - font-size: 1rem; - } -} - -@media screen and (min-width: 60em) { - #buddypress ul.item-list li .item-avatar, - #buddypress ul.item-list li .item, - #buddypress ul.item-list li .action { - float: right; - } - #buddypress ul.item-list li .item { - right: 5%; - margin-right: 0; - position: relative; - width: 55%; - } - #buddypress ul.item-list li .item .item-title { - font-size: 18px; - font-size: 1.2857142857rem; - } -} - -#buddypress ul.item-list li div.action { - clear: right; - float: none; - margin-bottom: -24px; - margin-right: 0; - padding: 24px 0 5px; - position: relative; - text-align: right; - top: 0; -} - -@media screen and (min-width: 60em) { - #buddypress ul.item-list li div.action { - clear: none; - float: left; - margin-bottom: 0; - padding: 0; - } -} - -#buddypress ul.item-list li div.action div { - display: inline-block; - margin: 10px 0; - width: 100%; -} - -#buddypress ul.item-list li div.action div a { - display: block; -} - -@media screen and (min-width: 37.5em) { - #buddypress ul.item-list li div.action div { - margin: 0 0 10px 10px; - width: auto; - } -} - -@media screen and (min-width: 60em) { - #buddypress ul.item-list li div.action div { - clear: left; - float: left; - margin: 0 0 10px 0; - } -} - -#buddypress ul.item-list li div.action .meta { - font-style: italic; -} - -/** -*---------------------------------------------------------- -* @section 4.1 - Activity -*---------------------------------------------------------- -*/ -/** -*----------------------------------------------------- -* @section 4.1.1 - Activity Whats New -*----------------------------------------------------- -*/ -#buddypress form#whats-new-form p.activity-greeting { - line-height: 1.4; -} - -@media screen and (max-width: 46.25em) { - #buddypress form#whats-new-form #whats-new-content { - clear: right; - margin: 10px 0 24px; - padding: 10px 0 0; - } -} - -#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box { - border: 1px solid rgba(212, 208, 186, 0.5); - float: right; - line-height: 1.5; - margin-top: 12px; - padding-right: 0.2em; - width: 100%; -} - -#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box select { - background: none; - border: 0; - float: left; - margin: 0; - min-height: 1.5em; - padding: 0 0.4em 0 0; -} - -@media screen and (min-width: 30em) { - #buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box { - width: auto; - } - #buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-submit { - float: left; - } - #buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-submit input { - padding: 2px 6px; - } -} - -#buddypress #item-body form#whats-new-form { - margin: 48px 0; -} - -/** -*----------------------------------------------------- -* @section 4.1.2 - Activity Listing -*----------------------------------------------------- -*/ -#buddypress #activity-stream li { - padding: 25px 0 15px; -} - -#buddypress #activity-stream li .activity-avatar { - float: none; - text-align: center; -} - -#buddypress #activity-stream li .activity-avatar a { - display: inline-block; -} - -#buddypress #activity-stream li .activity-avatar a img.avatar { - display: inline; - float: none; - height: 60px; - margin-bottom: 24px; - margin-right: 0; - width: 60px; -} - -#buddypress #activity-stream li .activity-content, -#buddypress #activity-stream li .activity-comments { - margin-right: 0; -} - -#buddypress #activity-stream li .activity-header { - font-size: 14px; - font-size: 1rem; -} - -#buddypress #activity-stream li .activity-header a:visited { - color: #21759b; -} - -#buddypress #activity-stream li .activity-inner img { - height: auto; -} - -@media screen and (min-width: 46.25em) { - #buddypress #activity-stream li .activity-avatar { - float: right; - margin-left: 10px; - text-align: right; - } - #buddypress #activity-stream li .activity-avatar a { - border-bottom: 0; - } - #buddypress #activity-stream li .activity-content { - margin: 0; - overflow: hidden; - } - #buddypress #activity-stream li .activity-content .activity-header { - font-size: 16px; - font-size: 1.1428571429rem; - } - #buddypress #activity-stream li .activity-comments { - margin-right: 70px; - } -} - -#buddypress #activity-stream li.mini .activity-avatar a img.avatar { - height: 30px; - margin-right: 15px; - width: 30px; -} - -#buddypress #activity-stream li.mini .activity-content .activity-header { - font-size: 14px; - font-size: 1rem; -} - -#buddypress #activity-stream li.mini .activity-content .activity-meta a { - font-size: 12px; - font-size: 0.8571428571rem; -} - -#buddypress #activity-stream .activity-content { - margin-top: -12px; -} - -#buddypress #activity-stream .activity-content .activity-header { - line-height: inherit; - margin-left: 0; -} - -#buddypress #activity-stream .activity-content .activity-header p { - border-bottom: 1px solid rgba(234, 234, 234, 0.6); - margin-top: 0; - padding: 0 0.2em; -} - -#buddypress #activity-stream .activity-content .activity-header img.avatar { - display: inline-block; - margin-bottom: 0 !important; -} - -#buddypress #activity-stream .activity-content .activity-meta a { - display: block; - font-size: 14px; - font-size: 1rem; - margin-bottom: 5px; - padding: 0.2em 0.5em; -} - -@media screen and (min-width: 37.5em) { - #buddypress #activity-stream .activity-content .activity-meta a { - float: right; - margin-bottom: 0; - } -} - -#buddypress #activity-stream .load-more { - background: #f7f7f7; - border: 1px solid transparent; - padding: 10px; -} - -#buddypress #activity-stream .load-more:focus, #buddypress #activity-stream .load-more:hover { - background: #f4f4f4; - border: 1px solid rgba(159, 209, 226, 0.3); -} - -#buddypress #activity-stream .load-more a { - display: block; -} - -/* Single activity view - activity permalink */ -.activity-permalink #buddypress #activity-stream li.activity-item { - padding: 24px; -} - -.activity-permalink #buddypress #activity-stream li.mini .activity-header { - font-size: 16px; - font-size: 1.1428571429rem; - margin-bottom: 48px; -} - -@media screen and (min-width: 46.25em) { - .activity-permalink #buddypress #activity-stream li.mini .activity-header { - font-size: 20px; - font-size: 1.4285714286rem; - } -} - -.activity-permalink #buddypress #activity-stream li.mini .activity-header p { - padding: 24px; -} - -.activity-permalink #buddypress #activity-stream .activity-comments { - margin-right: 0; -} - -/** -*----------------------------------------------------- -* @section 4.1.3 - Activity Comments -*----------------------------------------------------- -*/ -#buddypress #activity-stream .activity-comments { - position: relative; -} - -#buddypress #activity-stream .activity-comments > ul { - background: rgba(247, 247, 247, 0.6); - margin: 10px 2px 0 0; -} - -#buddypress #activity-stream .activity-comments > ul > li:hover * { - color: #555; -} - -#buddypress #activity-stream .activity-comments > ul > li .acomment-meta, -#buddypress #activity-stream .activity-comments > ul > li .acomment-content { - font-size: 12px; - font-size: 0.8571428571rem; -} - -#buddypress #activity-stream .activity-comments a { - color: #737373; -} - -#buddypress #activity-stream .activity-comments .ac-form { - border: 1px solid #d4d0ba; - box-sizing: border-box; - margin: 10px 0; - width: 100%; -} - -#buddypress #activity-stream .activity-comments .ac-form input[type="submit"], -#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel { - color: rgba(20, 20, 18, 0.8); - display: inline-block; - font-family: inherit; - font-size: 12px; - font-size: 0.8571428571rem; - font-weight: 400; - line-height: 1.2; - padding: 4px 10px; - text-transform: lowercase; - width: 100px; -} - -#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel { - border: 1px solid rgba(212, 208, 186, 0.7); - text-align: center; -} - -#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:focus, #buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:hover { - background: #ededed; -} - -/** -*---------------------------------------------------------- -* @section 4.2 - Members Loop -*---------------------------------------------------------- -*/ -@media screen and (min-width: 60em) { - #buddypress #members-list li .item-avatar, - #buddypress #members-list li .item { - float: right; - } - #buddypress #members-list li .action { - float: left; - } -} - -/** -*------------------------------------------------------------------------------- -* @section 5.0 - Directories -*------------------------------------------------------------------------------- -*/ -/** -*----------------------------------------------------------- -* @subsection Registration -*----------------------------------------------------------- -*/ -#buddypress #signup_form.standard-form #profile-details-section, -#buddypress #signup_form.standard-form #basic-details-section, -#buddypress #signup_form.standard-form #blog-details-section { - float: none; - width: 100%; -} - -@media screen and (min-width: 37.5em) { - #buddypress #signup_form.standard-form #profile-details-section, - #buddypress #signup_form.standard-form #basic-details-section, - #buddypress #signup_form.standard-form #blog-details-section { - width: 48%; - } -} - -@media screen and (min-width: 37.5em) { - #buddypress #signup_form.standard-form #profile-details-section { - float: left; - } - #buddypress #signup_form.standard-form #basic-details-section { - float: right; - } -} - -/** -*------------------------------------------------------------------------------- -* @section 6.0 - Single Item screens: User Account & Single Group Screens -*------------------------------------------------------------------------------- -*/ -.bp-user #buddypress a:visited { - color: #21759b; -} - -/** -*----------------------------------------------------------- -* @subsection 6.1 - Item Header Global -*----------------------------------------------------------- -*/ -.bp-user #buddypress #item-header-content #item-meta, -.single-item.groups #buddypress #item-header-content #item-meta { - font-size: 14px; - font-size: 1rem; - text-align: right; -} - -.bp-user #buddypress #item-header-content #item-meta p, -.single-item.groups #buddypress #item-header-content #item-meta p { - margin-bottom: 0.5em; -} - -@media screen and (max-width: 37.5em) { - .bp-user h1, - .bp-user #item-header-content, - .single-item.groups h1, - .single-item.groups #item-header-content { - text-align: center; - } -} - -@media screen and (max-width: 46.25em) { - .bp-user main header.entry-header, - .single-item.groups main header.entry-header { - padding-bottom: 1rem; - } -} - -@media screen and (max-width: 37.5em) { - .bp-user #buddypress h1, - .single-item.groups #buddypress h1 { - margin-bottom: 0; - } - .bp-user #buddypress #item-header-avatar img.avatar, - .single-item.groups #buddypress #item-header-avatar img.avatar { - margin-left: 0; - } - .bp-user #buddypress #item-header-content, - .single-item.groups #buddypress #item-header-content { - width: 100%; - } -} - -@media screen and (max-width: 46.25em) { - .bp-user #buddypress #item-header .generic-button, - .single-item.groups #buddypress #item-header .generic-button { - float: none; - margin: 1.5em 0 0; - } -} - -/** -*----------------------------------------------------- -* @subsection 6.1.1 - item-header Groups -* -* Group Specific Item Header -*----------------------------------------------------- -*/ -@media screen and (max-width: 46.25em) { - .single-item.groups #buddypress #item-header #item-meta { - margin-bottom: 24px; - } -} - -@media screen and (max-width: 50em) { - .single-item.groups #buddypress div#item-header { - display: flex; - flex-direction: column; - } - .single-item.groups #buddypress div#item-header #item-header-avatar { - order: 1; - text-align: center; - } - .single-item.groups #buddypress div#item-header #item-header-avatar a { - border-bottom: 0; - } - .single-item.groups #buddypress div#item-header #item-header-avatar a img { - display: inline-block; - float: none; - } - .single-item.groups #buddypress div#item-header #item-header-content { - order: 2; - } - .single-item.groups #buddypress div#item-header #item-actions { - order: 3; - } - .single-item.groups #buddypress div#item-header #item-actions h2 { - border-bottom: 1px solid #eaeaea; - text-align: center; - } -} - -.single-item.groups #buddypress div#item-header { - padding-bottom: 48px; -} - -.single-item.groups #buddypress div#item-header #item-header-content { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -.single-item.groups #buddypress div#item-header div#item-actions { - margin: 0 !important; - width: 100%; -} - -@media screen and (min-width: 50em) { - .single-item.groups #buddypress div#item-header div#item-actions { - border-right: 1px solid #eaeaea; - clear: none; - float: left; - padding-right: 0.2em; - width: 30%; - } -} - -@media screen and (min-width: 46.25em) { - .single-item.groups #buddypress div#item-header div#item-actions { - width: 40%; - } -} - -.single-item.groups #buddypress div#item-header div#item-actions ul { - margin-top: 0; - padding-right: 0; -} - -.single-item.groups #buddypress div#item-header div#item-actions h2 { - font-size: 14px; - font-size: 1rem; - padding: 0.2em; -} - -.single-item.groups #buddypress div#item-header div#item-actions #group-admins li, -.single-item.groups #buddypress div#item-header div#item-actions #group-mods li { - margin: 0; -} - -@media screen and (min-width: 46.25em) { - .single-item.groups #buddypress div#item-header #item-header-avatar, - .single-item.groups #buddypress div#item-header #item-header-content { - float: right; - } - .single-item.groups #buddypress div#item-header #item-header-content { - margin-right: 2%; - padding: 0 0.5em; - } - .single-item.groups #buddypress div#item-header div#item-actions { - float: left; - width: 28%; - } -} - -@media screen and (min-width: 64em) { - .single-item.groups #buddypress div#item-header #item-header-content { - width: 40%; - } -} - -.single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-actions { - margin-top: 225px !important; -} - -@media screen and (min-width: 50em) and (max-width: 60em) { - .single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-header-content { - max-width: 60% !important; - width: 60% !important; - } -} - -@media screen and (max-width: 64em) { - .single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-actions { - border: 0; - clear: both; - margin-top: 0 !important; - max-width: 100% !important; - padding-top: 0 !important; - width: auto; - } - .single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-actions h2 { - border-bottom: 1px solid #eaeaea; - } -} - -/** -*----------------------------------------------------- -* @subsection 6.1.2 - Item Header User Accounts -* -* User Accounts Specific Item Header -*----------------------------------------------------- -*/ -.bp-user #buddypress #item-header { - padding: 24px 0; -} - -.bp-user #buddypress #item-header #item-header-avatar { - text-align: center; -} - -.bp-user #buddypress #item-header #item-header-avatar img.avatar, -.bp-user #buddypress #item-header #item-header-avatar a { - border-bottom: 0; - display: inline-block; - float: none; -} - -.bp-user #buddypress #item-header #item-header-content #item-buttons .generic-button { - margin-left: 5px; -} - -@media screen and (min-width: 46.25em) { - .bp-user #buddypress #item-header #item-header-avatar { - float: right; - } - .bp-user #buddypress #item-header #item-header-avatar a { - float: right; - } - .bp-user #buddypress #item-header #item-header-content { - float: left; - margin-left: 0%; - width: 69%; - } -} - -/** -*----------------------------------------------------------- -* @subsection 6.2 - Item Body: Global -*----------------------------------------------------------- -*/ -/** -*---------------------------------------------------- -* @subsection 6.2.1 - Item Body Groups -* -* Groups specific item body rules - screens -*---------------------------------------------------- -*/ -/** -*----------------------------------------- -* @subsection 6.2.1.1 - Group Management -*----------------------------------------- -*/ -.groups #group-settings-form h3 { - background: #555; - color: #fff; - padding: 0.2em; -} - -.groups.edit-details #group-settings-form label { - margin-bottom: 0; - padding: 0.2em; - width: 80%; -} - -.groups.edit-details #group-settings-form textarea + p label { - background: none; - color: inherit; - font-size: 14px; - font-size: 1rem; - width: auto; -} - -.groups.edit-details #group-settings-form textarea { - height: auto; - min-height: 100px; - overflow: auto; -} - -.groups.group-settings #group-settings-form div.radio label { - border: 1px solid #eaeaea; - padding: 0.2em; -} - -.groups.group-settings #group-settings-form div.radio label ul { - color: rgba(20, 20, 18, 0.6); - font-size: 14px; - font-size: 1rem; -} - -.groups.group-avatar form > p { - margin-top: 24px; -} - -.groups.manage-members #group-settings-form .item-list li { - border-bottom: 1px solid #eaeaea; -} - -.groups.manage-members #group-settings-form .item-list li img, -.groups.manage-members #group-settings-form .item-list li h5 { - float: right; -} - -.groups.manage-members #group-settings-form .item-list li img > a, -.groups.manage-members #group-settings-form .item-list li h5 > a { - border-bottom: 0; -} - -.groups.manage-members #group-settings-form .item-list li span.small { - clear: right; - display: block; - float: none; - margin-top: 10px; -} - -.groups.manage-members #group-settings-form .item-list li span.small a { - display: inline-block; - margin: 5px 0; - width: 100%; -} - -@media screen and (min-width: 37.5em) { - .groups.manage-members #group-settings-form .item-list li span.small a { - width: auto; - } -} - -.groups.manage-members #group-settings-form .item-list li h5 { - margin: 0; -} - -/** -*----------------------------------------- -* @subsection 6.2.1.2 - Group members -*----------------------------------------- -*/ -.groups.group-members #subnav li { - width: 100%; -} - -@media screen and (max-width: 37.5em) { - .groups.group-members #subnav li { - background: #fff; - padding: 24px 0; - } -} - -.groups.group-members #subnav li #search-members-form { - float: left; - margin: 5px 0 0 5px; -} - -@media screen and (max-width: 37.5em) { - .groups.group-members #subnav li #search-members-form { - margin: 0; - width: 100%; - } - .groups.group-members #subnav li #search-members-form label input[type="text"] { - width: 100%; - } -} - -/** -*----------------------------------------------------- -* @subsection 6.2.2 - Item Body User Accounts -* -* User Account specific component item body rules -*----------------------------------------------------- -*/ -.bp-user .entry-title { - margin-bottom: 0.5em; -} - -/** -*-------------------------------------------- -* @subsection 6.2.2.1 - classes, pag, filters -*-------------------------------------------- -*/ -.bp-user #buddypress table th { - font-size: 13px; - font-size: 0.9285714286rem; -} - -.bp-user #buddypress table td { - font-size: 12px; - font-size: 0.8571428571rem; -} - -@media screen and (min-width: 60em) { - .bp-user #buddypress table th { - font-size: 16px; - font-size: 1.1428571429rem; - } - .bp-user #buddypress table td { - font-size: 14px; - font-size: 1rem; - } -} - -.bp-user #buddypress .pag-count { - font-style: italic; -} - -.bp-user #buddypress .notifications-options-nav, -.bp-user #buddypress .messages-options-nav { - float: right; - width: 100%; -} - -@media screen and (min-width: 37.5em) { - .bp-user #buddypress .notifications-options-nav, - .bp-user #buddypress .messages-options-nav { - width: 40%; - } -} - -.bp-user #buddypress .notifications-options-nav select, -.bp-user #buddypress .notifications-options-nav input, -.bp-user #buddypress .messages-options-nav select, -.bp-user #buddypress .messages-options-nav input { - font-size: 14px; - font-size: 1rem; - outline: 0; - padding: 0; -} - -.bp-user #buddypress .notifications-options-nav select, -.bp-user #buddypress .messages-options-nav select { - float: right; - margin-left: 0; - width: 49%; -} - -@media screen and (min-width: 37.5em) { - .bp-user #buddypress .notifications-options-nav select, - .bp-user #buddypress .messages-options-nav select { - width: auto; - } -} - -.bp-user #buddypress .notifications-options-nav input, -.bp-user #buddypress .messages-options-nav input { - float: right; - font-family: inherit; - line-height: 20px; - margin-right: 1%; - width: 50%; -} - -@media screen and (min-width: 37.5em) { - .bp-user #buddypress .notifications-options-nav input, - .bp-user #buddypress .messages-options-nav input { - width: auto; - } -} - -.bp-user #buddypress .notifications-options-nav input[disabled="disabled"]:focus, .bp-user #buddypress .notifications-options-nav input[disabled="disabled"]:hover, -.bp-user #buddypress .messages-options-nav input[disabled="disabled"]:focus, -.bp-user #buddypress .messages-options-nav input[disabled="disabled"]:hover { - background: none; -} - -/** - *------------------------------------------- - * @subsection 6.2.2.2 - Extended Profiles - *------------------------------------------- - */ -.bp-user #buddypress .profile { - /* Edit profile */ -} - -.bp-user #buddypress .profile .bp-widget h2 { - background: #6f6e6e; - color: #fff; - margin-bottom: 0; - padding: 0.4em; -} - -.bp-user #buddypress .profile .bp-widget table { - margin-top: 0; -} - -.bp-user #buddypress .profile #profile-edit-form .button-nav:before, -.bp-user #buddypress .profile #profile-edit-form .button-nav:after { - content: " "; - display: table; -} - -.bp-user #buddypress .profile #profile-edit-form .button-nav:after { - clear: both; -} - -.bp-user #buddypress .profile #profile-edit-form ul.button-nav { - border-bottom: 1px solid #eaeaea; - margin-right: 0; -} - -.bp-user #buddypress .profile #profile-edit-form ul.button-nav li { - float: right; - margin-bottom: 0; -} - -.bp-user #buddypress .profile #profile-edit-form ul.button-nav li.current { - border: 1px solid #eaeaea; - border-bottom-color: #fff; - margin-bottom: -1px; -} - -.bp-user #buddypress .profile #profile-edit-form ul.button-nav a { - background: none; - border: 0; - font-size: 18px; - font-size: 1.2857142857rem; -} - -.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle { - margin: 5px 0 24px; -} - -.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle, -.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings { - font-size: 14px; - font-size: 1rem; -} - -.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close, -.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link { - background: #6f6e6e; - -webkit-border-radius: 2px; - -moz-border-radius: 2px; - -ms-border-radius: 2px; - border-radius: 2px; - background-clip: padding-box; - color: #f1f1f1; - font-weight: 700; - padding: 0.1em 0.5em; - text-decoration: none; -} - -.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close:focus, .bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close:hover, -.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link:focus, -.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link:hover { - color: #fff; -} - -.bp-user #buddypress .profile .bp-avatar #bp-delete-avatar a { - font-size: inherit; -} - -/** - *------------------------------------------- - * @subsection 6.2.2.3 - Groups - *------------------------------------------- - */ -@media screen and (min-width: 77.5em) { - .bp-user #buddypress #groups-list li .item { - right: 5%; - width: 50%; - } -} - -/** - *------------------------------------------- - * @subsection 6.2.2.5 - Private Messaging - *------------------------------------------- - */ -.bp-user #buddypress #message-thread a { - border-bottom: 0; -} - -.bp-user #buddypress #message-thread #message-subject { - background: #6f6e6e; - color: #fff; - padding: 0.3em 0.2em 0.3em 0; -} - -.bp-user #buddypress #message-thread #message-recipients { - font-style: italic; -} - -.bp-user #buddypress #message-thread #message-recipients a.confirm { - border: 1px solid #eaeaea; - font-style: normal; -} - -.bp-user #buddypress #message-thread #message-recipients .highlight { - font-size: 100%; -} - -.bp-user #buddypress #message-thread .message-metadata:after { - clear: both; - content: ""; - display: table; -} - -.bp-user #buddypress #message-thread .message-metadata img.avatar { - float: none; -} - -@media screen and (min-width: 46.25em) { - .bp-user #buddypress #message-thread .message-metadata img.avatar { - float: right; - } -} - -.bp-user #buddypress #message-thread .message-metadata .message-star-actions { - float: left; - margin-left: 5px; - position: static; -} - -.bp-user #buddypress #message-thread .message-content { - background: #f7f7f7; - border: 1px solid #eaeaea; - margin: 10px 0 0 0; - padding: 0.3em; -} - -.bp-user #buddypress #message-thread #send-reply .message-content { - background: #fff; - border: 0; -} - -.bp-user #buddypress #message-thread .alt { - background: #fff; -} - -.bp-user #buddypress #message-threads thead tr { - background: #6f6e6e; -} - -.bp-user #buddypress #message-threads tr td { - background: #fff; - box-sizing: border-box; - display: inline-block; - float: right; -} - -.bp-user #buddypress #message-threads tr td.thread-star, -.bp-user #buddypress #message-threads tr td.thread-options { - border-bottom: 1px solid #ccc; - height: 2.4em; - padding-bottom: 0.2em; - padding-top: 0.2em; -} - -@media screen and (max-width: 46.25em) { - .bp-user #buddypress #message-threads tr td.thread-star, - .bp-user #buddypress #message-threads tr td.thread-options { - padding-top: 0; - } -} - -.bp-user #buddypress #message-threads tr td.thread-star { - vertical-align: middle; -} - -.bp-user #buddypress #message-threads tr td.thread-star .message-action-star, -.bp-user #buddypress #message-threads tr td.thread-star .message-action-unstar { - line-height: 1.2; -} - -.bp-user #buddypress #message-threads tr td.thread-star span.icon:before { - font-size: 14px; - font-size: 1rem; -} - -.bp-user #buddypress #message-threads tr td.bulk-select-check, -.bp-user #buddypress #message-threads tr td.thread-from { - height: 3em; -} - -@media screen and (max-width: 37.5em) { - .bp-user #buddypress #message-threads tr td.bulk-select-check, - .bp-user #buddypress #message-threads tr td.thread-from { - height: 5.2em; - } -} - -.bp-user #buddypress #message-threads tr td.thread-from, -.bp-user #buddypress #message-threads tr td.thread-options { - border-right: 0 !important; - width: -webkit-calc(100% - 30px); - width: -moz-calc(100% - 30px); - width: calc(100% - 30px); - margin-right: 0; -} - -.bp-user #buddypress #message-threads tr td.thread-info { - padding-right: 41px; - width: 100%; -} - -.bp-user #buddypress #message-threads tr td.thread-options { - text-align: left; -} - -.bp-user #buddypress #message-threads tr td.thread-options a { - font-size: 12px; - font-size: 0.8571428571rem; - line-height: 1.2; -} - -.bp-user #buddypress #message-threads tr span.from { - display: none; -} - -.bp-user #buddypress #message-threads tr span.activity { - display: block; - float: left; - line-height: 2; -} - -@media screen and (max-width: 37.5em) { - .bp-user #buddypress #message-threads tr span.activity { - clear: both; - font-size: 11px; - font-size: 0.7857142857rem; - width: 100%; - } -} - -.bp-user #buddypress #message-threads tr.unread td { - border-color: #eaeaea; -} - -.bp-user #buddypress #message-threads th { - display: none; -} - -.bp-user #buddypress #message-threads th.bulk-select-all { - border-bottom: 0; - display: inline-block; - text-align: right; -} - -.bp-user #buddypress #message-threads th.bulk-select-all, -.bp-user #buddypress #message-threads td.bulk-select-check, -.bp-user #buddypress #message-threads td.thread-star { - border-left: 0; - width: 30px; -} - -.bp-user #buddypress #send_message_form input, -.bp-user #buddypress #send_message_form textarea { - box-sizing: border-box; -} - -.bp-user #buddypress .acfb-holder { - list-style: none; -} - -.bp-user #buddypress .acfb-holder li { - margin-right: 0; -} - -.bp-user #buddypress .acfb-holder li.friend-tab { - background: #edf7fa; - border: inherit; - margin-left: 0; - padding: 0.5em; -} - -.bp-user #buddypress .acfb-holder li.friend-tab span.p { - padding-right: 10px; -} - -.bp-user #buddypress .acfb-holder li.friend-tab span.p:focus, .bp-user #buddypress .acfb-holder li.friend-tab span.p:hover { - color: #c82b2b; - cursor: pointer; -} - -.bp-user #buddypress .acfb-holder li.friend-tab a { - border-bottom: 0; - text-decoration: none; -} - -.bp-user #buddypress .acfb-holder li.friend-tab a img { - display: inline; - height: 20px; - vertical-align: middle; - width: 20px !important; -} - -.bp-user #buddypress #message-threads.sitewide-notices tr { - margin: 3em 0; -} - -.bp-user #buddypress #message-threads.sitewide-notices td { - width: 100%; -} - -.bp-user #buddypress #message-threads.sitewide-notices td strong { - background: #6f6e6e; - color: #fff; - display: block; - margin-bottom: 0.4em; - padding-right: 0.2em; -} - -.bp-user #buddypress #message-threads.sitewide-notices td a { - display: inline-block; -} - -.bp-user #buddypress #message-threads.sitewide-notices td a.button { - border: 1px solid #d4d0ba; - line-height: initial; - padding: 0.4em 0.3em; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:first-child { - display: none; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:nth-child(2) strong { - margin: -8px -8px 8px; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:first-child + td + td { - border-bottom: 0; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:first-child + td + td span { - line-height: 1; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:last-child { - line-height: 1; - padding-bottom: 1em; - text-align: left; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child { - line-height: 0; - margin-right: 0.7em; - text-indent: -999em; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child:after { - content: attr(title); - display: block; - line-height: initial; - text-indent: 0; -} - -.bp-user .ac_results { - background: #eee; - padding-right: 10px; -} - -.bp-user .ac_results li { - margin: 10px 0; -} - -.bp-user .ac_results li:focus, .bp-user .ac_results li:hover { - cursor: pointer; -} - -.bp-user .ac_results li img { - vertical-align: bottom; -} - -/** - *------------------------------ - * @subsection 6.2.2.6 - Settings - *------------------------------ - */ -.bp-user #buddypress #settings-form > p { - font-size: 20px; - font-size: 1.4285714286rem; - margin: 24px 0 10px; -} - -.bp-user #buddypress table.notification-settings td.yes, -.bp-user #buddypress table.notification-settings td.no { - vertical-align: middle; -} - -.bp-user #buddypress table.profile-settings { - width: 100%; -} - -.bp-user #buddypress table.profile-settings th.field-group-name, -.bp-user #buddypress table.profile-settings td.field-name { - width: 50%; -} - -@media screen and (min-width: 46.25em) { - .bp-user #buddypress table.profile-settings th.field-group-name, - .bp-user #buddypress table.profile-settings td.field-name { - width: 70%; - } -} - -.bp-user #buddypress table.profile-settings th.title, -.bp-user #buddypress table.profile-settings td.field-visibility { - width: 30%; -} - -.bp-user #buddypress table.profile-settings td.field-visibility select { - width: 100%; -} - -/** - *------------------------------------ - * @subsection 6.2.2.6 - Notifications - *------------------------------------ - */ -/** -*------------------------------------------------------------------------------- -* @section 7.0 - Forms - General -*------------------------------------------------------------------------------- -*/ -#main #buddypress .standard-form li { - float: none; -} - -#main #buddypress .standard-form input[type="text"], -#main #buddypress .standard-form input[type="email"], -#main #buddypress .standard-form input[type="password"], -#main #buddypress .standard-form textarea { - width: 100%; -} - -#buddypress div.activity-comments form .ac-textarea { - background: #f7f7f7; - border: 1px solid rgba(212, 208, 186, 0.5); -} - -#buddypress div.activity-comments form .ac-textarea textarea { - background: none; - border: 0; -} - -#buddypress .standard-form input[type="text"], -#buddypress .standard-form input[type="email"], -#buddypress .standard-form input[type="password"], -#buddypress .standard-form button, -#buddypress .standard-form select, -#buddypress .standard-form textarea { - border-color: rgba(212, 208, 186, 0.5); - border-width: 1px; -} - -#buddypress #signup_form.standard-form div.submit { - float: none; -} - -#buddypress #signup_form.standard-form div.submit input { - margin-left: 0; -} - -#buddypress div.dir-search, -#buddypress div.message-search, -#buddypress li.groups-members-search { - float: none; - margin: 10px 0; -} - -#buddypress div.dir-search form, -#buddypress div.message-search form, -#buddypress li.groups-members-search form { - border: 1px solid rgba(212, 208, 186, 0.6); - overflow: hidden; -} - -#buddypress div.dir-search form label, -#buddypress div.message-search form label, -#buddypress li.groups-members-search form label { - float: right; - width: 70%; -} - -#buddypress div.dir-search form input[type="text"], -#buddypress div.dir-search form input[type="submit"], -#buddypress div.message-search form input[type="text"], -#buddypress div.message-search form input[type="submit"], -#buddypress li.groups-members-search form input[type="text"], -#buddypress li.groups-members-search form input[type="submit"] { - font-size: 14px; - font-size: 1rem; - border: 0; - border-radius: 0; - line-height: 1.8; - min-height: 2rem; -} - -#buddypress div.dir-search form input[type="text"], -#buddypress div.message-search form input[type="text"], -#buddypress li.groups-members-search form input[type="text"] { - border-left: 1px solid rgba(212, 208, 186, 0.6); - float: right; - margin: 0; - padding: 0 0.2em; - width: 100%; -} - -#buddypress div.dir-search form input[type="submit"], -#buddypress div.message-search form input[type="submit"], -#buddypress li.groups-members-search form input[type="submit"] { - float: left; - font-weight: 400; - padding: 0 1em; - text-align: center; - text-transform: none; - width: 30%; -} - -@media screen and (min-width: 37.5em) { - #buddypress div.dir-search, - #buddypress div.message-search, - #buddypress li.groups-members-search { - float: left; - margin-bottom: 5px !important; - } - #buddypress div.dir-search form label, - #buddypress div.dir-search form input[type="text"], - #buddypress div.dir-search form input[type="submit"], - #buddypress div.message-search form label, - #buddypress div.message-search form input[type="text"], - #buddypress div.message-search form input[type="submit"], - #buddypress li.groups-members-search form label, - #buddypress li.groups-members-search form input[type="text"], - #buddypress li.groups-members-search form input[type="submit"] { - width: auto; - } -} - -@media screen and (min-width: 75em) { - #buddypress .dir-search form input[type="text"], - #buddypress .message-search form input[type="text"] { - font-size: 16px; - font-size: 1.1428571429rem; - } - #buddypress .dir-search form input[type="submit"], - #buddypress .message-search form input[type="submit"] { - font-size: 16px; - font-size: 1.1428571429rem; - } -} - -/** -*------------------------------------------------------------------------------- -* @section 8.0 - Tables - General -*------------------------------------------------------------------------------- -*/ -.bp-user #buddypress table { - font-size: 14px; - font-size: 1rem; - margin: 24px 0; -} - -.bp-user #buddypress table tr th { - background: #6f6e6e; - border-color: #b7b7b7; - color: #fff; - padding: 0 8px; -} - -.bp-user #buddypress table tr td { - padding: 8px; -} - -.bp-user #buddypress table p { - margin-bottom: 0.5em; -} - -@media screen and (min-width: 55em) { - .bp-user #buddypress table { - font-size: 16px; - font-size: 1.1428571429rem; - } -} - -.bp-user #buddypress .notifications th, -.bp-user #buddypress .messages-notices th { - width: 30%; -} - -.bp-user #buddypress .notifications th.bulk-select-all, -.bp-user #buddypress .messages-notices th.bulk-select-all { - text-align: center; - width: 10%; -} - -.bp-user #buddypress .notifications th.actions, -.bp-user #buddypress .messages-notices th.actions { - text-align: center; -} - -.bp-user #buddypress .notifications .bulk-select-check, -.bp-user #buddypress .notifications .thread-star, -.bp-user #buddypress .messages-notices .bulk-select-check, -.bp-user #buddypress .messages-notices .thread-star { - text-align: center; -} - -.bp-user #buddypress .notifications .notification-actions, -.bp-user #buddypress .notifications td.thread-options, -.bp-user #buddypress .messages-notices .notification-actions, -.bp-user #buddypress .messages-notices td.thread-options { - text-align: center; -} - -.bp-user #buddypress .notifications .notification-actions a, -.bp-user #buddypress .notifications td.thread-options a, -.bp-user #buddypress .messages-notices .notification-actions a, -.bp-user #buddypress .messages-notices td.thread-options a { - display: inline-block; - margin: 0; - padding: 0; -} - -.bp-user #buddypress .notifications td .button, -.bp-user #buddypress .messages-notices td .button { - border: 0; - display: block; - padding: 0; - text-align: center; -} - -/** -*------------------------------------------------------------------------------- -* @section 9.0 - Error / Success messages -*------------------------------------------------------------------------------- -*/ -#buddypress div#message p { - font-size: 18px; - font-size: 1.2857142857rem; - font-weight: 700; -} - -#buddypress div#message.info p { - background: #c6e4ee; - border: 1px solid #78bed6; - color: #1e5264; -} - -#buddypress div#message.updated p { - background: #dee6b2; - border: 1px solid #becc66; - color: #454d19; -} - -.delete-group #buddypress div#message.info p { - background: #db7e7e; - border: 1px solid #be3535; - color: #1f0808; -} - -/** -*------------------------------------------------------------------------------- -* @section 10.0 - Ajax Loading, Widgets, General classes -*------------------------------------------------------------------------------- -*/ diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/030/030.test.js b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/030/030.test.js deleted file mode 100644 index 73711a0897c990..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/030/030.test.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -const stylelint = require( 'stylelint' ), - systemTestUtils = require( '../systemTestUtils.js' ); - -it( '030', () => { - return stylelint.lint({ - files: [systemTestUtils.caseStylesheetGlob( '030' )], - configFile: systemTestUtils.caseConfig( '030' ), - }).then( ({ results }) => { - expect( systemTestUtils.prepResults( results ) ).toMatchSnapshot(); - }); -}); diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/030/__snapshots__/030.test.js.snap b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/030/__snapshots__/030.test.js.snap deleted file mode 100644 index 45e9d747a18adf..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/030/__snapshots__/030.test.js.snap +++ /dev/null @@ -1,961 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`030 1`] = ` -Array [ - Object { - "deprecations": Array [], - "errored": true, - "ignored": undefined, - "invalidOptionWarnings": Array [], - "parseErrors": Array [], - "source": "030/stylesheet.css", - "warnings": Array [ - Object { - "column": 26, - "line": 454, - "rule": "color-hex-case", - "severity": "error", - "text": "Expected \\"#EAEAEA\\" to be \\"#eaeaea\\" (color-hex-case)", - }, - Object { - "column": 25, - "line": 580, - "rule": "color-hex-case", - "severity": "error", - "text": "Expected \\"#FFE8C4\\" to be \\"#ffe8c4\\" (color-hex-case)", - }, - Object { - "column": 1, - "line": 39, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 214, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 281, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 373, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 385, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 557, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 12, - "line": 671, - "rule": "declaration-block-trailing-semicolon", - "severity": "error", - "text": "Expected a trailing semicolon (declaration-block-trailing-semicolon)", - }, - Object { - "column": 16, - "line": 185, - "rule": "font-family-name-quotes", - "severity": "error", - "text": "Unexpected quotes around \\"Monaco\\" (font-family-name-quotes)", - }, - Object { - "column": 26, - "line": 47, - "rule": "function-parentheses-space-inside", - "severity": "error", - "text": "Unexpected whitespace after \\"(\\" (function-parentheses-space-inside)", - }, - Object { - "column": 51, - "line": 47, - "rule": "function-parentheses-space-inside", - "severity": "error", - "text": "Unexpected whitespace before \\")\\" (function-parentheses-space-inside)", - }, - Object { - "column": 1, - "line": 46, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 58, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 69, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 83, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 86, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 100, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 104, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 108, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 123, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 143, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 147, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 150, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 155, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 160, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 164, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 187, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 190, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 193, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 199, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 203, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 225, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 236, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 239, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 243, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 246, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 250, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 255, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 260, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 273, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 287, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 290, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 293, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 296, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 308, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 311, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 314, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 318, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 323, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 327, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 331, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 335, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 338, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 341, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 345, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 349, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 354, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 392, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 395, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 399, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 411, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 414, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 419, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 424, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 427, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 431, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 435, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 438, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 445, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 449, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 458, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 462, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 468, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 474, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 478, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 482, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 487, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 500, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 504, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 507, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 510, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 516, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 521, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 525, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 530, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 534, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 537, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 540, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 543, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 549, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 591, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 595, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 599, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 602, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 607, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 610, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 613, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 620, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 625, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 638, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 643, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 648, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 653, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 661, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 665, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 669, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 673, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 686, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 689, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 694, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 697, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 702, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 706, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 709, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 714, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 717, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 721, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 725, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 729, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 734, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 737, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 750, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 754, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 757, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 761, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 764, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 32, - "line": 100, - "rule": "selector-attribute-quotes", - "severity": "error", - "text": "Expected quotes around \\"text\\" (selector-attribute-quotes)", - }, - Object { - "column": 32, - "line": 104, - "rule": "selector-attribute-quotes", - "severity": "error", - "text": "Expected quotes around \\"submit\\" (selector-attribute-quotes)", - }, - Object { - "column": 12, - "line": 614, - "rule": "selector-attribute-quotes", - "severity": "error", - "text": "Expected quotes around \\"submit\\" (selector-attribute-quotes)", - }, - Object { - "column": 12, - "line": 615, - "rule": "selector-attribute-quotes", - "severity": "error", - "text": "Expected quotes around \\"button\\" (selector-attribute-quotes)", - }, - Object { - "column": 44, - "line": 415, - "rule": "selector-class-pattern", - "severity": "error", - "text": "Selector should use lowercase and separate words with hyphens (selector-class-pattern)", - }, - Object { - "column": 11, - "line": 620, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 2, - "line": 67, - "rule": "declaration-block-no-redundant-longhand-properties", - "severity": "error", - "text": "Expected shorthand property \\"-webkit-border-radius\\" (declaration-block-no-redundant-longhand-properties)", - }, - Object { - "column": 2, - "line": 81, - "rule": "declaration-block-no-redundant-longhand-properties", - "severity": "error", - "text": "Expected shorthand property \\"-webkit-border-radius\\" (declaration-block-no-redundant-longhand-properties)", - }, - ], - }, -] -`; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/030/config.json b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/030/config.json deleted file mode 100644 index a8af7d5dcb61b9..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/030/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../index.js" -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/030/stylesheet.css b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/030/stylesheet.css deleted file mode 100644 index 5eb118dfe08755..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/030/stylesheet.css +++ /dev/null @@ -1,766 +0,0 @@ -/*-------------------------------------------------------------- -Hello, this is the BuddyPress Default rtl stylesheet. -Right to left styles. This will transform the theme to read from -right to left for languages that support this method. - ----------------------------------------------------------------- ->>> TABLE OF CONTENTS: ----------------------------------------------------------------- -1.0 - Structural - 1.1 - Content - 1.2 - Header - 1.3 - Footer - 1.4 - Sidebar -2.0 - Non-structural - 2.1 - Text - 2.2 - Headers - 2.3 - Lists -3.0 - Navigation - 3.1 - Pagination -4.0 - WordPress - 4.1 - Alignments - 4.2 - Comments - 4.3 - Gallery - 4.4 - Images - 4.5 - Posts -5.0 - BuddyPress - 5.1 - Activity - 5.1.1 - Activity Listing - 5.1.2 - Activity Comments - 5.2 - Toolbar - 5.3 - Ajax Loading - 5.4 - Directories - Members, Groups, Blogs, Forums - 5.5 - Error / Success Messages - 5.6 - Forms - 5.7 - Topics and Tables - Forums and General - 5.8 - Headers, Lists and Tabs - Activity, Groups, Blogs, Forums - 5.9 - Private Messaging Threads ---------------------------------------------------------------*/ -/*-------------------------------------------------------------- -1.0 - Structure ---------------------------------------------------------------*/ -body { - direction: rtl; - unicode-bidi: embed; -} -body { - background: #eaeaea url( ../images/background.gif ) top right repeat-x; -} - - -/*-------------------------------------------------------------- -1.1 - Content ---------------------------------------------------------------*/ -div#container { - border-left: 1px solid #e0e0e0; - border-right: 0; -} -div#content { - float: right; - -moz-border-radius-topleft: 0; - -moz-border-radius-topright: 6px; - -webkit-border-top-right-radius: 6px; - -webkit-border-top-left-radius: 0; - -moz-border-radius-bottomleft: 0; - -moz-border-radius-bottomright: 6px; - -webkit-border-bottom-right-radius: 6px; - -webkit-border-bottom-left-radius: 0; -} -div#content .padder { - margin-left: 225px; - margin-right: 0; - border-left: 1px solid #e4e4e4; - border-right: 0; - -moz-border-radius-topright: 6px; - -moz-border-radius-topleft: 0; - -webkit-border-top-right-radius: 6px; - -webkit-border-top-left-radius: 0; - -moz-border-radius-bottomright: 6px; - -moz-border-radius-bottomleft: 0; - -webkit-border-bottom-right-radius: 6px; - -webkit-border-bottom-left-radius: 0; -} -div#content .left-menu { - float: right; -} -div#content .main-column { - margin-right: 190px; - margin-left: 0; -} - - -/*-------------------------------------------------------------- -1.2 - Header ---------------------------------------------------------------*/ -#header #search-bar { - left: 0; - right: auto; - text-align: left; -} -#header #search-bar input[type=text] { - margin-left: 4px; - margin-right: 0; -} -#header #search-bar input[type=submit] { - margin-right: 4px; - margin-left: 0; -} -#header h1 { - float: right; - left: auto; - right: 20px; -} - - -/*-------------------------------------------------------------- -1.3 - Footer ---------------------------------------------------------------*/ -#footer-widget-area div.widget-area > ul { - float: right; - margin-left: 19px; - margin-right: 0; -} -#footer-widget-area ul.item-list li img.avatar { - margin-right: 15px; /* border is 4px */ - margin-left: 0; -} - - -/*-------------------------------------------------------------- -1.4 - Sidebar ---------------------------------------------------------------*/ -div#sidebar { - float: right; - margin-right: -226px; - margin-left: 0; - border-right: 1px solid #e4e4e4; - border-left: 0; - -moz-border-radius-topleft: 3px; - -webkit-border-top-left-radius: 3px; - -moz-border-radius-topright: 0; - -webkit-border-top-right-radius: 0; -} -div#sidebar div#sidebar-me img.avatar { - float: right; - margin: 0 0 15px 10px; -} -div#sidebar ul#bp-nav { - clear: right; -} -#footer-widget-area h3.widgettitle, -div#sidebar h3.widgettitle { - margin: 25px -19px 10px -20px; - clear: right; -} -#footer-widget-area ul.item-list img.avatar, -div#sidebar ul.item-list img.avatar { - margin-left: 10px; - margin-right: 0; -} -#footer-widget-area div.item-options, -div#sidebar div.item-options { - margin: -10px -19px 0 -20px; -} -#footer-widget-area div.item-meta, -#footer-widget-area div.item-content, -div#sidebar div.item-meta, -div#sidebar div.item-content { - margin-right: 38px; - margin-left: 0; -} - - -/*-------------------------------------------------------------- -2.0 - Non-structural ---------------------------------------------------------------*/ -p.postmetadata { - clear: right; -} - - -/*-------------------------------------------------------------- -2.1 - Text ---------------------------------------------------------------*/ -code { - font-family: "Monaco", courier, sans-serif; -} -blockquote { - font-family: sans-serif; -} -table th { - text-align: right; -} -div.author-box, -div.comment-avatar-box { - float: right; - margin: 0 0 15px 15px; - font-family: sans-serif; -} -div.post-content { - margin-right: 105px; - margin-left: 0; -} -p.date, -p.postmetadata, -div.comment-meta, -div.comment-options { - font-family: sans-serif; -} - - -/*-------------------------------------------------------------- -2.2 - Headers ---------------------------------------------------------------*/ -/*-------------------------------------------------------------- -2.3 - Lists ---------------------------------------------------------------*/ -div.page ul, -div.page ol, -div.page dl, -div.post ul, -div.post ol, -div.post dl { - margin: 0 1.5em 18px 0; -} -dl { - margin-right: 0; -} - - -/*-------------------------------------------------------------- -3.0 - Navigation ---------------------------------------------------------------*/ -#navigation { - text-align: left; -} -#nav { - margin: 40px 0 0 20px; -} -#nav li { - margin-left: auto; - margin-right: 5px; -} -#nav li a { - text-align: right; -} -#nav li li { - margin-left: auto; - margin-right: 0; -} -#nav .sfhover ul .sfhover > ul, -#nav :hover ul :hover > ul { - left: auto; - right: 125px; -} -.navigation, -.paged-navigation, -.comment-navigation { - font-family: sans-serif; -} -#nav .sfhover ul li a, -#nav :hover ul li a { - padding-left: 0; - padding-right: 10px; -} - - -/*-------------------------------------------------------------- -3.1 - Pagination ---------------------------------------------------------------*/ -div.pagination .pag-count { - float: right; -} -div.pagination .pagination-links { - float: left; -} - - -/*-------------------------------------------------------------- -4.0 - WordPress ---------------------------------------------------------------*/ -/*-------------------------------------------------------------- -4.1 - Alignments ---------------------------------------------------------------*/ -.alignright { - float: left; -} -.alignleft { - float: right; -} -.clear { - clear: right; -} -img.avatar { - float: right; -} -.accessibly-hidden { - left: auto; - right: -999em; -} - - -/*-------------------------------------------------------------- -4.2 - Comments ---------------------------------------------------------------*/ -.comments { - float: left; -} -ol.commentlist li.comment { - clear: right; -} -.commentlist ul.children { - margin: 15px 70px 15px 0; -} -.commentlist ul.children ul { - margin: 0 25px 0 0; - padding-left: 0; -} -ol.commentlist #respond { - clear: right; - margin-left: auto; - margin-right: 70px; -} -.commentlist ul.children #respond { - margin-left: 20px; - margin-right: 35px; -} -ol.commentlist div.comment-avatar-box { - float: right; - margin: 15px 0 0 15px; -} -.commentlist ul.children div.comment-avatar-box { - float: right; - margin: 0 0 0 10px; -} -#comments ol.commentlist ol { - margin: 0 2.5em 18px 0; -} -#reply-title small { - float: left; -} -#reply-title small a { - margin-right: auto; - margin-left: 0; -} -#respond .comment-avatar-box { - float: right; - margin: 0 0 0 15px; -} -.acomment-options { - float: right; - margin-right: 40px; - margin-left: auto; -} -.comment-options .comment-reply-link, -.comment-options .comment-edit-link { - margin-left: 5px; - margin-right: auto; -} - - -/*-------------------------------------------------------------- -4.3 - Gallery ---------------------------------------------------------------*/ -dd.wp-caption p.wp-caption-text, -.wp-caption p.wp-caption-text { - padding: 0 0 5px 4px; -} - - -/*-------------------------------------------------------------- -4.4 - Images ---------------------------------------------------------------*/ -/*-------------------------------------------------------------- -4.5 - Posts ---------------------------------------------------------------*/ -.page .tags, -.post .tags { - float: right; -} - - -/*-------------------------------------------------------------- -5.0 - BuddyPress ---------------------------------------------------------------*/ -/*-------------------------------------------------------------- -5.1 - Activity ---------------------------------------------------------------*/ -form#whats-new-form h5 { - margin-right: 76px; - margin-left: 0; -} -form#whats-new-form #whats-new-avatar { - float: right; -} -form#whats-new-form #whats-new-content { - margin-right: 54px; - padding-right: 22px; -} -form#whats-new-form #whats-new-submit { - float: left; -} - - -/*-------------------------------------------------------------- -5.1.1 - Activity Listing ---------------------------------------------------------------*/ -.activity-header { - margin-left: 20px; - margin-right: auto; -} -.activity-list .activity-avatar { - float: right; -} -.activity-list li.mini .activity-avatar img.avatar, -.activity-list li.mini .activity-avatar img.FB_profile_pic { - margin-right: 30px; - margin-left: 0; -} -body.activity-permalink .activity-list li .activity-header > p { - margin-left: auto; - margin-right: -35px; - padding: 5px 35px 0 0; -} -.activity-list li.mini .activity-content p { - float: right; -} -.activity-list li.mini .activity-meta { - left: 0; - right: auto; -} -body.activity-permalink .activity-list li.mini .activity-meta { - left: 15px; - right: auto; -} -.activity-list li.mini .activity-comments { - clear: right; -} -.activity-list li .activity-inreplyto { - margin-right: 5px; - margin-left: 0; - padding-right: 25px; - padding-left: 0; - background-position: 100% 0; -} -.activity-list .activity-content { - margin-right: 70px; - margin-left: 0; -} -.activity-list li.new_forum_post .activity-content .activity-inner, -.activity-list li.new_forum_topic .activity-content .activity-inner { - border-left: none; - margin-left: 0; - padding-left: 0; - border-right: 2px solid #EAEAEA; - margin-right: 5px; - padding-right: 10px; -} -body.activity-permalink .activity-list li .activity-content { - margin-right: 185px; - margin-left: 0; -} -body.activity-permalink .activity-list li .activity-content > p { - background-position: top right; - margin-right: -35px; - margin-left: 0; - padding: 5px 38px 0 0; -} -.activity-list .activity-content > p > a:first-child, -span.highlight, -.activity-list .activity-content > .comment-header > a:first-child { - margin-left: 3px; - margin-right: 0; -} -.activity-list .activity-content img.thumbnail { - float: right; - margin: 0 0 5px 10px; -} -.activity-list li.load-more { - border-left: 1px solid #ddd; - border-right: 0; -} -a.bp-secondary-action, -span.highlight { - margin-left: 5px; - margin-right: auto; -} -.activity-list .activity-content .activity-inner, -.activity-list .activity-content blockquote { - margin-left: 10px; - margin-right: 0; -} - - -/*-------------------------------------------------------------- -5.1.2 - Activity Comments ---------------------------------------------------------------*/ -div.activity-comments { - margin: 0 70px 0 0; -} -body.activity-permalink div.activity-comments { - margin-right: 185px; - margin-left: 0; -} -div.activity-comments ul { - clear: right; -} -div.activity-comments > ul { - padding: 0 10px 0 0; -} -div.activity-comments ul li > ul { - margin-left: 0; - margin-right: 30px; - padding-left: 0; - padding-right: 10px; -} -div.activity-comments div.acomment-avatar img { - float: right; - margin-left: 10px; - margin-right: 0; -} -div.activity-comments div.acomment-content { - margin-left: 0; - margin-right: 40px; -} -div.activity-comments form.ac-form { - margin: 10px 33px 10px 0; - border-left: 1px solid #ddd; - border-right: 0; -} -div.activity-comments li form.ac-form { - margin-left: 15px; - margin-right: 0; -} -div.activity-comments form.root { - margin-right: 0; -} -div.activity-comments form.loading { - background-position: 88% 95%; -} -div.activity-comments form div.ac-reply-avatar { - float: right; -} -div.activity-comments form div.ac-reply-content { - margin-right: 50px; - margin-left: 0; - padding-right: 15px; - padding-left: 0; -} -body.activity-permalink div.activity-comments > ul { - padding: 0 15px 0 10px; -} - - -/*-------------------------------------------------------------- -5.2 - Toolbar ---------------------------------------------------------------*/ -/*-------------------------------------------------------------- -5.3 - Ajax Loading ---------------------------------------------------------------*/ -a.loading { - background-position: 5% 50% !important; - padding-left: 25px !important; - padding-right: 0 !important; -} - - -/*-------------------------------------------------------------- -5.4 - Directories - Members, Groups, Blogs, Forums ---------------------------------------------------------------*/ -div.dir-search { - float: left; -} - - -/*-------------------------------------------------------------- -5.5 - Error / Success Messages ---------------------------------------------------------------*/ -span.activity, -div#message p { - border-left: 1px solid #FFE8C4; - border-right: 0; -} - - -/*-------------------------------------------------------------- -5.6 - Forms ---------------------------------------------------------------*/ -.standard-form#signup_form div.submit { - float: left; -} -.standard-form#signup_form div.signup-avatar { - margin-left: 15px; - margin-right: 0; -} -.standard-form div.submit input { - margin-left: 15px; - margin-right: 0; -} -.standard-form div.radio ul { - margin: 10px 38px 15px 0; -} -.standard-form #basic-details-section, -.standard-form #blog-details-section, -.standard-form #profile-details-section { - float: right; -} -.standard-form #profile-details-section { - float: left; -} -.standard-form #blog-details-section { - clear: right; -} -a.button, -input[type=submit], -input[type=button], -ul.button-nav li a, -div.generic-button a { - background-position: right top; -} -div.accept, div.reject { - float: right; - margin-left: 0; - margin-right: 10px; -} -ul.button-nav li { - float: right; - margin: 0 0 10px 10px; -} - - -/*-------------------------------------------------------------- -5.7 - Topics and Tables - Forums and General ---------------------------------------------------------------*/ -table tr td.label { - border-left: 1px solid #eaeaea; - border-right: 0; -} -table.forum tr.closed td.td-title { - padding-right: 35px; - padding-left: 0; - background-position: 5% 50%; -} -table.forum tr > td:first-child, -table.forum tr > th:first-child { - padding-right: 15px; - padding-left: 0; -} -table.forum tr > td:last-child, -table.forum tr > th:last-child { - padding-left: 15px; - padding-right: 0; -} -table.forum tr th#th-title, -table.forum tr th#th-poster, -table.forum tr th#th-group, -table.forum td.td-poster, -table.forum td.td-group, -table.forum td.td-title { - text-align: right; -} -table.forum td img.avatar { - margin-left: 5px; - margin-right: 0; -} -ul#topic-post-list li div.post-content { - margin-right: 54px; - margin-left: 0; -} -div.admin-links { - left: 25px; - right: auto -} -div#topic-meta div.admin-links { - left: 0; - right: auto; -} - - -/*-------------------------------------------------------------- -5.8 - Headers, Lists and Tabs - Activity, Groups, Blogs, Forums ---------------------------------------------------------------*/ -div#item-header img.avatar { - float: right; - margin: 0 0 25px 15px; -} -div#item-header span.activity { - margin: 0 4px 5px 0; -} -div#item-header div#item-actions { - float: left; - margin: 0 15px 15px 0; - text-align: left; -} -div#item-header ul li { - float: left; -} -div#item-header div.generic-button, -div#item-header a.button { - float: right; - margin: 10px 0 0 10px; -} -ul.item-list li img.avatar { - float: right; - margin: 0 0 0 10px; -} -ul.item-list li div.item-desc { - margin: 10px 64px 0 0; -} -ul.item-list li div.action { - left: 0; - right: auto; - text-align: left; -} -div.item-list-tabs { - clear: right; -} -div.item-list-tabs ul li { - float: right; - margin: 5px 5px 0 0; -} -div.item-list-tabs ul li:first-child { - margin-left: 0; - margin-right: 20px; -} -div.item-list-tabs ul li.last { - float: left; - margin: 7px 0 0 20px; -} -ul li.loading a { - background-position: 8% 50%; - padding-left: 30px !important; - padding-right: 0 !important; -} -div#item-nav ul li.loading a { - background-position: 12% 50%; -} -div.item-list-tabs ul li.feed a { - background-position: right center; - padding-right: 20px; - padding-left: 0; -} - - -/*-------------------------------------------------------------- -5.9 - Private Messaging Threads ---------------------------------------------------------------*/ -div.messages-options-nav { - text-align: left; -} -div#message-thread img.avatar { - float: right; - margin: 0 0 0 10px; -} -div#message-thread strong span.activity { - margin: 4px 10px 0 0; -} -div#message-thread div.message-content { - margin-right: 45px; - margin-left: 0; -} -div#message-thread div.message-options { - text-align: left; -} -div.message-search { - float: left; -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/031/031.test.js b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/031/031.test.js deleted file mode 100644 index 6113d8d3b90118..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/031/031.test.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -const stylelint = require( 'stylelint' ), - systemTestUtils = require( '../systemTestUtils.js' ); - -it( '031', () => { - return stylelint.lint({ - files: [systemTestUtils.caseStylesheetGlob( '031' )], - configFile: systemTestUtils.caseConfig( '031' ), - }).then( ({ results }) => { - expect( systemTestUtils.prepResults( results ) ).toMatchSnapshot(); - }); -}); diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/031/__snapshots__/031.test.js.snap b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/031/__snapshots__/031.test.js.snap deleted file mode 100644 index d8f60b67eb960d..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/031/__snapshots__/031.test.js.snap +++ /dev/null @@ -1,79 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`031 1`] = ` -Array [ - Object { - "deprecations": Array [], - "errored": true, - "ignored": undefined, - "invalidOptionWarnings": Array [], - "parseErrors": Array [], - "source": "031/stylesheet.css", - "warnings": Array [ - Object { - "column": 1, - "line": 43, - "rule": "no-missing-end-of-source-newline", - "severity": "error", - "text": "Unexpected missing end-of-source newline (no-missing-end-of-source-newline)", - }, - Object { - "column": 1, - "line": 11, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 16, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 20, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 23, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 26, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 30, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 40, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 30, - "line": 36, - "rule": "selector-pseudo-class-no-unknown", - "severity": "error", - "text": "Unexpected unknown pseudo-class selector \\":first\\" (selector-pseudo-class-no-unknown)", - }, - ], - }, -] -`; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/031/config.json b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/031/config.json deleted file mode 100644 index a8af7d5dcb61b9..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/031/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../index.js" -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/031/stylesheet.css b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/031/stylesheet.css deleted file mode 100644 index df07d31ddbdb54..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/031/stylesheet.css +++ /dev/null @@ -1,43 +0,0 @@ -/* -Theme Name: BuddyPress Default -Description: Used to style the TinyMCE editor (RTL version). -*/ - -html .mceContentBody .alignright { - float: left; - margin-left: auto; - margin-right: 15px; -} -html .mceContentBody .alignleft { - float: right; - margin-left: 15px; - margin-right: auto; -} -dl { - margin-left: auto; - margin-right: 0; -} -html .mceContentBody img.alignright { - margin: 0 7px 2px 0; -} -html .mceContentBody img.alignleft { - margin: 0 0 2px 7px; -} -dd.wp-caption p.wp-caption-text, -.wp-caption p.wp-caption-text { - padding: 0 0 5px 4px; -} -html .mceContentBody ul, -html .mceContentBody ol, -html .mceContentBody dl { - margin: 0 1.5em 18px 0; -} - -html .mceContentBody table th:first { - border-left: 1px solid #eaeaea; - border-right: 0; -} -html .mceContentBody table tr td.label { - border-left: 1px solid #eaeaea; - border-right: 0; -} \ No newline at end of file diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/032/032.test.js b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/032/032.test.js deleted file mode 100644 index 742330b316a0b0..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/032/032.test.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -const stylelint = require( 'stylelint' ), - systemTestUtils = require( '../systemTestUtils.js' ); - -it( '032', () => { - return stylelint.lint({ - files: [systemTestUtils.caseStylesheetGlob( '032' )], - configFile: systemTestUtils.caseConfig( '032' ), - }).then( ({ results }) => { - expect( systemTestUtils.prepResults( results ) ).toMatchSnapshot(); - }); -}); diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/032/__snapshots__/032.test.js.snap b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/032/__snapshots__/032.test.js.snap deleted file mode 100644 index 66192f112028ec..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/032/__snapshots__/032.test.js.snap +++ /dev/null @@ -1,44 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`032 1`] = ` -Array [ - Object { - "deprecations": Array [], - "errored": true, - "ignored": undefined, - "invalidOptionWarnings": Array [], - "parseErrors": Array [], - "source": "032/stylesheet.css", - "warnings": Array [ - Object { - "column": 461, - "line": 4, - "rule": "max-line-length", - "severity": "error", - "text": "Expected line length to be no more than 80 characters (max-line-length)", - }, - Object { - "column": 254, - "line": 10, - "rule": "max-line-length", - "severity": "error", - "text": "Expected line length to be no more than 80 characters (max-line-length)", - }, - Object { - "column": 86, - "line": 14, - "rule": "max-line-length", - "severity": "error", - "text": "Expected line length to be no more than 80 characters (max-line-length)", - }, - Object { - "column": 81, - "line": 16, - "rule": "max-line-length", - "severity": "error", - "text": "Expected line length to be no more than 80 characters (max-line-length)", - }, - ], - }, -] -`; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/032/config.json b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/032/config.json deleted file mode 100644 index a8af7d5dcb61b9..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/032/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../index.js" -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/032/stylesheet.css b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/032/stylesheet.css deleted file mode 100644 index 750bf09a753ac5..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/032/stylesheet.css +++ /dev/null @@ -1,24 +0,0 @@ -/** - * Theme Name: BuddyPress Default - * Theme URI: http://buddypress.org/extend/themes/ - * Description: Clean and stylish, BuddyPress Default lets you build a social network straight out of the box. Make it yours with a custom menu, header image, and background. Along with five widgetized areas (one in the sidebar, four in the footer), BP-Default supports featured images (as custom header images on posts and pages) and is furnished with an optional one-column page template that removes the sidebar, and a stylesheet for the admin Visual Editor. - * Version: 2.4.0 - * Author: the BuddyPress team - * Author URI: http://buddypress.org - * License: GNU General Public License - * License URI: license.txt - * Tags: blue, buddypress, custom-background, custom-header, custom-menu, editor-style, featured-image-header, featured-images, fixed-width, light, right-sidebar, rtl-language-support, sticky-post, threaded-comments, translation-ready, two-columns, white - * - *** IMPORTANT - DO NOT COPY THIS THEME ** - * - * If you want to make a custom theme based on this theme, DO NOT copy and edit it. By - * doing this you will make updates and maintainence much harder for yourself. - * Instead, please read this codex page on how to build a BuddyPress child theme: - * - * http://codex.buddypress.org/how-to-guides/building-a-buddypress-child-theme/ - * - *** - * - * This file intentionally left blank. CSS is enqueued in functions.php - * - */ diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/033/033.test.js b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/033/033.test.js deleted file mode 100644 index 1006603fd14e51..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/033/033.test.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -const stylelint = require( 'stylelint' ), - systemTestUtils = require( '../systemTestUtils.js' ); - -it( '033', () => { - return stylelint.lint({ - files: [systemTestUtils.caseStylesheetGlob( '033' )], - configFile: systemTestUtils.caseConfig( '033' ), - }).then( ({ results }) => { - expect( systemTestUtils.prepResults( results ) ).toMatchSnapshot(); - }); -}); diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/033/__snapshots__/033.test.js.snap b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/033/__snapshots__/033.test.js.snap deleted file mode 100644 index c9a9651709f17c..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/033/__snapshots__/033.test.js.snap +++ /dev/null @@ -1,15 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`033 1`] = ` -Array [ - Object { - "deprecations": Array [], - "errored": undefined, - "ignored": undefined, - "invalidOptionWarnings": Array [], - "parseErrors": Array [], - "source": "033/stylesheet.css", - "warnings": Array [], - }, -] -`; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/033/config.json b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/033/config.json deleted file mode 100644 index a8af7d5dcb61b9..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/033/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../index.js" -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/033/stylesheet.css b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/033/stylesheet.css deleted file mode 100644 index bdcf345b4d42d5..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/033/stylesheet.css +++ /dev/null @@ -1,419 +0,0 @@ -/* Profile field group main admin page */ -@-o-keyframes tab-throb { - - from { - box-shadow: 0 0 10px #1e8cbe; - } - - 50% { - box-shadow: 0 0 0 #1e8cbe; - } - - to { - box-shadow: 0 0 10px #1e8cbe; - } -} - -@-webkit-keyframes tab-throb { - - from { - box-shadow: 0 0 10px #1e8cbe; - } - - 50% { - box-shadow: 0 0 0 #1e8cbe; - } - - to { - box-shadow: 0 0 10px #1e8cbe; - } -} - -@-moz-keyframes tab-throb { - - from { - box-shadow: 0 0 10px #1e8cbe; - } - - 50% { - box-shadow: 0 0 0 #1e8cbe; - } - - to { - box-shadow: 0 0 10px #1e8cbe; - } -} - -#profile-field-form { - margin-top: 12px; -} - -#tabs { - position: relative; -} - -p.nofields { - margin: 20px 0 0; -} - -/* Field group tabs */ -ul#field-group-tabs { - float: right; - padding: 0 15px 0 0; - margin: 0; - display: none; -} - -ul#field-group-tabs li { - float: right; - margin-left: 8px; - margin-bottom: -1px; -} - -ul#field-group-tabs li.ui-state-hover a.ui-tab { - color: #d54e21; -} - -ul#field-group-tabs li.ui-state-acceptable:not(.ui-state-active) a.ui-tab { - -webkit-animation: tab-throb 2s infinite; - -moz-animation: tab-throb 2s infinite; - -o-animation: tab-throb 2s infinite; - animation: tab-throb 2s infinite; -} - -ul#field-group-tabs li.drop-candidate.ui-state-acceptable:not(.ui-state-active) a.ui-tab { - -webkit-box-shadow: 0 0 10px #0f0; - -moz-box-shadow: 0 0 10px #0f0; - -o-box-shadow: 0 0 10px #0f0; - box-shadow: 0 0 10px #0f0; - -webkit-animation: none; - -moz-animation: none; - -o-animation: none; - animation: none; - color: #000; -} - -ul#field-group-tabs li a.ui-tab { - font-size: 14px; - display: block; - margin-top: 3px; - padding: 5px 10px 6px; - border: 1px solid #e5e5e5; - background-color: #f5f5f5; - text-decoration: none; - color: #000; - outline: none; -} - -/* Selected tab */ -ul#field-group-tabs li.ui-state-active a.ui-tab { - background-color: #fff; - margin-top: 0; - padding: 7px 10px; - border-bottom: 1px solid transparent; - color: #000; -} - -/* Toolbar */ -.tab-toolbar { - clear: right; - background: #fff; - border-width: 1px; - border-color: #e5e5e5; - border-style: solid; - -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); - box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); - padding: 10px; - margin-bottom: 10px; -} - -.bp-option a.delete, -.field-wrapper a.deletion, -.tab-toolbar a.deletion { - color: #a00; - border-bottom: 1px solid #a00; - text-decoration: none; - padding: 0; -} - -div.delete-button { - float: left; - line-height: 28px; -} - -div.field-group { - clear: right; -} - -.field-group { - cursor: default; - border: 1px solid #e5e5e5; - background: #fff; - -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); - box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); - margin-top: 10px; - padding: 0 20px 20px; -} - -.field-group .xprofile-field { - position: relative; -} - -.field-group fieldset { - position: relative; - border: 1px solid #ddd; - margin: 20px 0 0; - cursor: move; - background: #fafafa; - padding: 10px 0 0; -} - -.field-group fieldset legend { - position: absolute; - top: 10px; - right: 10px; - padding: 0; -} - -fieldset.radio div div label, -fieldset.checkbox div label { - margin-left: 20px; -} - -fieldset.clear-value { - margin-right: 10px; -} - -fieldset div.field-wrapper { - padding: 25px 10px 10px; -} - -.field-group div.actions { - float: none; - border-top: 1px solid #ddd; - margin: 10px 0 0; - padding-top: 10px; -} - -.field-group div.actions a, -.field-group div.actions button, -.field-group div.actions input { - float: none; -} - -.field-group fieldset:hover { - border-color: #999; -} - -.field-group fieldset:hover div.actions { - display: block; -} - -.bp-options-box .ui-sortable-placeholder, -#field-group-tabs .ui-sortable-placeholder, -.field-group fieldset.ui-sortable-placeholder { - border: 1px dashed #999; - background-color: #fff; - visibility: visible !important; -} - -#field-group-tabs .ui-sortable-placeholder { - background: transparent; - border-bottom: none; - margin: -1px 0 -1px 6px; -} - -ul.forTab { - list-style: none; - padding: 0; - margin: 0 1em 0 0; -} - -ul.forTab li { - margin: 0 0 1em; -} - -ul.forTab li label { - display: block; -} - -ul.forTab li input { - font-size: 1.4em; -} - -p.success { - background: #0f0; -} - -p.err { - border-top: 2px solid #f00; - border-bottom: 2px solid #f00; - color: #f00; - padding: 5px 0; - width: 40%; -} - -span.desc, -span.signup-description { - display: block; - font-size: 11px; - color: #555; -} - -ul.multi-checkbox { - margin: 0 0 0 5px; - padding: 0.5em 0.9em; - height: 10em; - overflow: auto; - list-style: none; - border: solid 1px #ccc; - width: 90%; -} - -ul.multi-checkbox li { - padding: 0; - margin: 0; -} - -div.bp-option { - background: #fafafa; - border: 1px solid #dfdfdf; - margin: 10px 0; - padding: 10px 5px; -} - -div.bp-option:hover { - border: 1px solid #999; -} - -.bp-option-icon { - font: 400 20px/1 dashicons; - speak: none; - display: inline-block; - padding: 0 2px 0 0; - top: 5px; - position: relative; - vertical-align: top; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - text-decoration: none !important; - color: #888; -} - -div.bp-option .grabber:before { - content: "\f329"; -} - -th a { - background: #fff; - padding: 2px 5px; - top: -2px; -} - -textarea#description, -textarea#group_description { - border: 1px solid #ddd; - width: 100%; -} - -#bp-xprofile-add-field .titlewrap, -#bp-xprofile-add-field-group .titlewrap { - margin-bottom: 20px; -} - -#bp-xprofile-add-field #post-body-content { - margin-bottom: 0; -} - -span.member-type-none-notice, -p.member-type-none-notice { - color: #f00; -} - -.hide { - display: none; - visibility: hidden; -} - -/* xProfile Field Type - Date */ - -.form-table.bp-date-options { - margin: 0 8px; -} - -.form-table.bp-date-options th { - width: 150px; -} - -.form-table td .date-format-section select { - margin-top: -2px; -} - -.date-format-label { - display: inline-block; - width: 150px; -} - -.date-format-custom-value, -.date-range-numeric { - width: 56px; -} - -.bp-date-range-type-label { - float: right; - font-style: italic; - width: auto; -} - -.bp-date-range-type-values { - margin-left: 25px; - padding-right: 100px; -} - -#bp-xprofile-add-field select#fieldtype { - max-width: 100%; - word-wrap: break-word; - word-break: break-all; /* e.g. Chinese, Japanese, Korean chars */ -} - -@media screen and (max-width: 782px) { - - .bp-date-formats .bp-date-format-option:first-of-type { - margin-top: 1em; - } - - .bp-range-types .bp-date-format-option { - margin-bottom: 1em; - margin-top: 1em; - } - - .form-table td input.date-format-custom-value, - .form-table td input.date-range-numeric { - display: inline-block; - margin-left: 10px; - width: 56px; - } - - .form-table td .bp-date-range-type-values select { - display: inline-block; - width: auto; - } - - .bp-date-range-type-label { - float: none; - width: auto; - } - - .bp-date-range-type-values { - padding-right: 0; - margin-right: 35px; - } -} - -@media screen and (max-width: 480px) { - - .form-table .bp-range-types label { - clear: both; - display: block; - } -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/034/034.test.js b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/034/034.test.js deleted file mode 100644 index f8f6ba09fa300b..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/034/034.test.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -const stylelint = require( 'stylelint' ), - systemTestUtils = require( '../systemTestUtils.js' ); - -it( '034', () => { - return stylelint.lint({ - files: [systemTestUtils.caseStylesheetGlob( '034' )], - configFile: systemTestUtils.caseConfig( '034' ), - }).then( ({ results }) => { - expect( systemTestUtils.prepResults( results ) ).toMatchSnapshot(); - }); -}); diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/034/__snapshots__/034.test.js.snap b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/034/__snapshots__/034.test.js.snap deleted file mode 100644 index a84117c92523b7..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/034/__snapshots__/034.test.js.snap +++ /dev/null @@ -1,15 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`034 1`] = ` -Array [ - Object { - "deprecations": Array [], - "errored": undefined, - "ignored": undefined, - "invalidOptionWarnings": Array [], - "parseErrors": Array [], - "source": "034/stylesheet.css", - "warnings": Array [], - }, -] -`; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/034/config.json b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/034/config.json deleted file mode 100644 index a8af7d5dcb61b9..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/034/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../index.js" -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/034/stylesheet.css b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/034/stylesheet.css deleted file mode 100644 index b68791e7eb5988..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/034/stylesheet.css +++ /dev/null @@ -1,105 +0,0 @@ -.akismet-status { - float: right; -} - -.akismet-status a { - color: #aaa; - font-style: italic; -} - -.akismet-history { - margin: 13px; -} - -.akismet-history div { - margin-bottom: 13px; -} - -.akismet-history span { - color: #999; -} - -#wp-bp-activities-wrap { - padding: 5px 0; -} - -#bp-activities { - height: 120px; -} - -#bp-replyhead { - font-size: 1em; - line-height: 1.4; - margin: 0; -} - -#bp-replysubmit { - margin: 0; - padding: 0 0 3px; - text-align: center; -} - -#bp-replysubmit .error { - color: #f00; - line-height: 21px; - text-align: center; - vertical-align: center; -} - -#bp-replysubmit img.waiting { - float: right; - padding: 4px 10px 0; - vertical-align: top; -} - -#bp-activities-form .column-response img { - float: left; - margin-bottom: 5px; - margin-right: 10px; - margin-top: 1px; -} - -.activity-errors { - list-style-type: disc; - margin-left: 2em; -} - -#bp_activity_action div.inside, -#bp_activity_content div.inside { - line-height: 0; -} - -#bp_activity_action h3, -#bp_activity_content h3 { - cursor: auto; -} - -#bp_activity_action td.mceIframeContainer, -#bp_activity_content td.mceIframeContainer { - background-color: #fff; -} - -#post-body #bp-activities-action_resize, -#post-body #bp-activities-content_resize { - position: inherit; - margin-top: -2px; -} - -#bp_activity_link input { - width: 99%; -} - -#bp-activities-primaryid { - margin-bottom: 1em; -} - -.column-action { - width: 12%; -} - -@media screen and (max-width: 782px) { - - body.toplevel_page_bp-activity .wp-list-table tr:not(.inline-edit-row):not(.no-items) td:not(.check-column) { - display: table-cell; - } -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/035/035.test.js b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/035/035.test.js deleted file mode 100644 index 9ab634f98ce11f..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/035/035.test.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -const stylelint = require( 'stylelint' ), - systemTestUtils = require( '../systemTestUtils.js' ); - -it( '035', () => { - return stylelint.lint({ - files: [systemTestUtils.caseStylesheetGlob( '035' )], - configFile: systemTestUtils.caseConfig( '035' ), - }).then( ({ results }) => { - expect( systemTestUtils.prepResults( results ) ).toMatchSnapshot(); - }); -}); diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/035/__snapshots__/035.test.js.snap b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/035/__snapshots__/035.test.js.snap deleted file mode 100644 index be702e902465af..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/035/__snapshots__/035.test.js.snap +++ /dev/null @@ -1,15 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`035 1`] = ` -Array [ - Object { - "deprecations": Array [], - "errored": undefined, - "ignored": undefined, - "invalidOptionWarnings": Array [], - "parseErrors": Array [], - "source": "035/stylesheet.css", - "warnings": Array [], - }, -] -`; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/035/config.json b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/035/config.json deleted file mode 100644 index a8af7d5dcb61b9..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/035/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../index.js" -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/035/stylesheet.css b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/035/stylesheet.css deleted file mode 100644 index b0a3abfc2edd37..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/035/stylesheet.css +++ /dev/null @@ -1,108 +0,0 @@ -.atwho-view { - background: rgba(204, 204, 204, 0.8); - border-radius: 2px; - border: 1px solid rgb(204, 204, 204); - box-shadow: 0 0 5px rgba(204, 204, 204, 0.25), 0 0 1px #fff; - color: #d84800; - display: none; - font-family: sans-serif; - margin-top: 18px; - position: absolute; - top: 0; - z-index: 1000; /* >999 for wp-admin */ -} - -/* rtl:ignore */ -.atwho-view { - left: 0; -} - -.atwho-view ul { - background: #fff; - list-style: none; - margin: auto; - padding: 0; -} - -.atwho-view ul li { - border-bottom: 1px solid #efefef; - box-sizing: content-box; - cursor: pointer; - display: block; - font-size: 14px; - height: 20px; - line-height: 20px; - margin: 0; - overflow: hidden; - padding: 5px 10px; -} - -.atwho-view img { - border-radius: 2px; - float: right; - height: 20px; - margin-top: 0; - width: 20px; -} - -.atwho-view strong { - background: #efefef; - font-weight: 700; -} - -.atwho-view .username strong { - color: #d54e21; -} - -.atwho-view small { - color: #aaa; - float: right; - font-size: smaller; - font-weight: 400; - margin: 0 10px 0 40px; -} - -.atwho-view .cur { - background: rgba(239, 239, 239, 0.5); -} - -@media (max-width: 900px) { - - .atwho-view img { - float: left; - margin: 0 10px 0 0; - } -} - -@media (max-width: 400px) { - - .atwho-view ul li { - font-size: 16px; - line-height: 23px; - padding: 13px; - } - - .atwho-view ul li img { - height: 30px; - margin-top: -5px; - width: 30px; - } - - .atwho-view { - border-radius: 0; - height: 100%; - left: 0 !important; - width: 100%; - } - - .atwho-view ul li .username { - display: inline-block; - margin: -10px 0 0 0; - padding: 10px 0; - } - - .atwho-view ul li small { - display: inline-block; - margin-left: 20px; - } -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/036/036.test.js b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/036/036.test.js deleted file mode 100644 index f7425709c66a20..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/036/036.test.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -const stylelint = require( 'stylelint' ), - systemTestUtils = require( '../systemTestUtils.js' ); - -it( '036', () => { - return stylelint.lint({ - files: [systemTestUtils.caseStylesheetGlob( '036' )], - configFile: systemTestUtils.caseConfig( '036' ), - }).then( ({ results }) => { - expect( systemTestUtils.prepResults( results ) ).toMatchSnapshot(); - }); -}); diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/036/__snapshots__/036.test.js.snap b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/036/__snapshots__/036.test.js.snap deleted file mode 100644 index 5db4620b8c15b4..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/036/__snapshots__/036.test.js.snap +++ /dev/null @@ -1,15 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`036 1`] = ` -Array [ - Object { - "deprecations": Array [], - "errored": undefined, - "ignored": undefined, - "invalidOptionWarnings": Array [], - "parseErrors": Array [], - "source": "036/stylesheet.css", - "warnings": Array [], - }, -] -`; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/036/config.json b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/036/config.json deleted file mode 100644 index a8af7d5dcb61b9..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/036/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../index.js" -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/036/stylesheet.css b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/036/stylesheet.css deleted file mode 100644 index 2c803503685a9a..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/036/stylesheet.css +++ /dev/null @@ -1,685 +0,0 @@ -/*------------------------------------------------------------------------------ - -This stylesheet is always loaded in wp-admin. - -@since 1.6.0 -@since 2.5.0 - --------------------------------------------------------------------------------- -TABLE OF CONTENTS: --------------------------------------------------------------------------------- -1.0 Welcome Screen - 1.1 Version Badge - 1.2 About Panel - 1.2.1 Headline Feature - 1.2.2 Features Section - 1.2.3 Changelog Section -2.0 Dashicons - 2.1 Top level menus - 2.2 Settings - Components - 2.3 Tools -3.0 User's Lists -4.0 Emails - Edit page -5.0 Tools - BuddyPress -6.0 Plugins page -------------------------------------------------------------------------------*/ - -/*------------------------------------------------------------------------------ - * 1.0 Welcome Screen - *----------------------------------------------------------------------------*/ - -/* - * 1.1 Version Badge - */ -.bp-badge { - color: #d84800; - display: inline-block; - font: 400 150px/1 dashicons !important; -} - -.bp-badge:before { - content: "\f448"; -} - -.about-wrap .bp-badge { - position: absolute; - top: 0; - right: 0; -} - -.buddypress code { - background-color: #e0e0e0; - color: #636363; - font-size: 1em; -} - -@media only screen and (max-width: 500px) { - - .about-wrap .bp-badge { - position: relative; - margin: 10px auto; - top: auto; - right: auto; - } -} - -/* - * 1.2 About Panel - */ - -/* - * 1.2.1 Headline Feature - */ -.buddypress .bp-headline-feature { - margin-bottom: 2em; - margin-top: 3em; - padding: 2em 3em; -} - -.buddypress .bp-headline { - margin: 0 auto; - width: 45em; -} - -.buddypress .bp-headline span.dashicons { - background-color: #f1f1f1; - color: #d84800; - clear: left; - font-size: 100px; - float: left; - height: 100px; - line-height: 100px; - margin: 0 15px 15px 0; - text-align: center; - width: 100px; -} - -.buddypress .bp-headline-feature .headline-title { - font-size: 2.2em; - font-weight: 300; - line-height: 2; - margin: 0 0 1em; - text-align: center; -} - -.buddypress .bp-headline-feature p { - font-size: 1.15em; - margin: 1.15em auto 0.6em 0; -} - -/* - * 1.2.2 Features Section - */ -.buddypress .bp-features-section { - border-bottom: 1px solid #ccc; - clear: both; - margin-bottom: 3em; - margin-top: 2em; - overflow: hidden; - padding-bottom: 2em; -} - -.buddypress .bp-features-section p { - font-size: 14px; - line-height: 1.5; -} - -.buddypress .bp-features-section img { - margin-bottom: 20px; -} - -.buddypress .bp-features-section span.dashicons { - background-color: #fff; - border-radius: 50%; - clear: left; - color: #d84800; - font-size: 50px; - float: left; - height: 80px; - line-height: 80px; - margin: 0 15px 15px 0; - text-align: center; - width: 80px; -} - -.buddypress .bp-features-section .headline-title { - font-size: 2em; - font-weight: 300; - line-height: 1.5; - margin: 1em auto 2em; - text-align: center; -} - -.buddypress .bp-features-section .bp-feature-with-images { - border-bottom: 1px solid #ccc; - margin-bottom: 5em; - padding-bottom: 2em; -} - -.buddypress .bp-features-section .bp-feature, -.buddypress .bp-features-section .bp-feature-imaged { - float: left; - margin-bottom: 3em; - margin-right: 4.799999999%; - width: 47.6%; -} - -.buddypress .bp-features-section .bp-feature.opposite, -.buddypress .bp-features-section .bp-feature-imaged.anon { - margin-right: 0; -} - -.buddypress .bp-features-section .bp-feature code { - font-size: 0.95em; - line-height: 1.5; -} - -.buddypress .bp-feature:after { - clear: both; - content: ""; - margin-bottom: 2em; -} - -.buddypress .bp-feature-imaged .feature-title { - color: #23282d; - font-size: 1.25em; - margin-bottom: 0.6em; - margin-top: 0; -} - -.buddypress .bp-feature-imaged p { - clear: left; - font-size: 1.1em; -} - -.buddypress .bp-feature-imaged img { - clear: left; -} - -.buddypress .bp-feature .feature-title { - font-size: 1em; - line-height: 1.5; - margin-bottom: 0; - margin-left: 110px; - margin-top: 0; - text-align: left; -} - -.buddypress .bp-feature p { - margin-left: 110px; -} - -/* - * 1.2.3 Changelog Section - */ -.buddypress .bp-changelog-section { - clear: both; - margin-bottom: 3em; - margin-top: 4em; - padding-bottom: 0; -} - -.buddypress .bp-changelog-section:after { - clear: both; - content: ""; - display: table; -} - -.buddypress .bp-changelog-section .changelog-title { - color: #23282d; - font-size: 1.25em; - line-height: 1.5; - margin: 0 auto 1.5em; -} - -.buddypress .bp-two-column div { - float: left; - margin-right: 4.799999999%; - position: relative; - width: 47.6%; -} - -.buddypress .bp-three-column .bp-column { - float: left; - margin-right: 5%; - position: relative; - width: 29.95%; -} - -.buddypress .bp-two-column .bp-column:nth-of-type(2n), -.buddypress .bp-three-column .bp-column:nth-of-type(3n) { - margin-right: 0; -} - -.buddypress .bp-changelog { - margin-bottom: 3em; -} - -.buddypress .bp-changelog:after { - clear: both; - content: ""; - display: table; -} - -.buddypress .bp-changelog .title { - font-size: 14px; - margin-bottom: 0.75em; - margin-top: 0; -} - -.buddypress .bp-changelog p { - margin-bottom: 0; -} - -.bp-changelog-url { - text-align: center; -} - -.bp-assets { - clear: both; - margin-bottom: 3em; -} - -@media screen and ( max-width: 782px ) { - - .bp-headline-feature, - .bp-features-section, - .bp-changelog-section, - .bp-assets { - margin-left: 20px; - margin-right: 20px; - } - - .buddypress .bp-headline-feature { - padding: 0; - } - - .buddypress .bp-headline { - margin: 0; - width: 97%; - } - - .buddypress .bp-features-section { - clear: both; - margin-bottom: 0; - margin-top: 2em; - padding-bottom: 2em; - } - - .buddypress .bp-features-section .bp-feature-with-images { - margin-bottom: 2em; - } - - .buddypress .bp-features-section .headline-title { - margin-bottom: 1em; - } - - .buddypress .bp-changelog-section .changelog-title { - font-size: 1.25em; - line-height: 1.5; - margin-bottom: 0.5em; - margin-top: 0.5em; - } - - .buddypress .bp-features-section .feature-title, - .buddypress .bp-changelog-section .title { - font-size: 1.25em; - line-height: 1.25; - margin-top: 0.6em; - text-align: left; - } - - .buddypress .bp-features-section .bp-feature, - .buddypress .bp-features-section .bp-feature-imaged { - clear: both; - float: left; - margin-bottom: 1em; - margin-top: 1em; - margin-right: 0; - padding-right: 1em; - width: 100%; - } - - .buddypress .bp-features-section .bp-feature-imaged p { - font-size: 1em; - } - - .buddypress .bp-features-section .bp-feature span { - margin-top: 0.33em; - } - - .buddypress .bp-feature.opposite .feature-title, - .buddypress .bp-feature.opposite p { - float: none; - } - - .buddypress .bp-changelog-section { - clear: both; - margin-bottom: 2em; - margin-top: 2em; - } - - .buddypress .bp-changelog-section .changelog-title { - margin-bottom: 1.5em; - } - - .buddypress .bp-changelog .title { - font-size: 1em; - } - - .buddypress .bp-changelog p { - margin-bottom: 1em; - } - - .buddypress .bp-changelog-section .two-col > div, - .buddypress .bp-changelog-section .three-col .col { - margin-top: 0; - padding-bottom: 0.5em; - width: 100%; - } -} - -@media screen and ( max-width: 360px ) { - - .buddypress .bp-headline { - text-align: center; - } - - .buddypress .bp-headline span.dashicons { - clear: none; - font-size: 80px; - float: none; - height: 80px; - line-height: 80px; - margin: 0 auto; - width: 80px; - } - - .buddypress .bp-headline-feature .headline-title, - .buddypress .bp-features-section .headline-title { - font-size: 1.5em; - line-height: 1.5; - text-align: left; - } - - .buddypress .bp-headline-feature .headline-title { - margin: 1em 0 0; - } - - .buddypress .bp-headline-feature p { - margin: 1.15em auto 0.6em 0; - text-align: left; - width: auto; - } - - .buddypress .bp-features-section .bp-feature { - text-align: center; - } - - .buddypress .bp-features-section span.dashicons { - float: none; - } - - .buddypress .bp-features-section .feature-title, - .buddypress .bp-features-section p { - margin-left: 0; - text-align: left; - } -} - -/*------------------------------------------------------------------------------ - * 2.0 Dashicons - *----------------------------------------------------------------------------*/ - -/* - * 2.1 Top level menus - */ -#adminmenu #toplevel_page_bp-activity .wp-menu-image:before, -#adminmenu #toplevel_page_bp-activity_user .wp-menu-image:before, -#adminmenu #toplevel_page_bp-activity_network .wp-menu-image:before { - content: "\f452"; -} - -#adminmenu #toplevel_page_bp-groups .wp-menu-image:before, -#adminmenu #toplevel_page_bp-groups_user .wp-menu-image:before, -#adminmenu #toplevel_page_bp-groups_network .wp-menu-image:before { - content: "\f456"; -} - -#adminmenu #toplevel_page_bp-notifications .wp-menu-image:before, -#adminmenu #toplevel_page_bp-notifications_user .wp-menu-image:before, -#adminmenu #toplevel_page_bp-notifications_network .wp-menu-image:before { - content: "\f439"; -} - -#adminmenu #toplevel_page_bp-messages .wp-menu-image:before, -#adminmenu #toplevel_page_bp-messages_user .wp-menu-image:before, -#adminmenu #toplevel_page_bp-messages_network .wp-menu-image:before { - content: "\f457"; -} - -#adminmenu #toplevel_page_bp-friends .wp-menu-image:before, -#adminmenu #toplevel_page_bp-friends_user .wp-menu-image:before, -#adminmenu #toplevel_page_bp-friends_network .wp-menu-image:before { - content: "\f454"; -} - -#adminmenu #toplevel_page_bp-settings .wp-menu-image:before, -#adminmenu #toplevel_page_bp-settings_user .wp-menu-image:before, -#adminmenu #toplevel_page_bp-settings_network .wp-menu-image:before { - content: "\f108"; -} - -#adminmenu li.toplevel_page_bp-components .wp-menu-image, -#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image { - content: "\f448"; -} - -/* - * 2.2 Settings - Components - */ -.settings_page_bp-components td.plugin-title span { - float: left; - width: 18px; - height: 18px; - margin-right: 5px; -} - -.settings_page_bp-components td.plugin-title span:before { - font-family: dashicons; - font-size: 18px; -} - -.settings_page_bp-components tr.activity td.plugin-title span:before { - content: "\f452"; -} - -.settings_page_bp-components tr.notifications td.plugin-title span:before { - content: "\f339"; -} - -.settings_page_bp-components tr.xprofile td.plugin-title span:before { - content: "\f336"; -} - -.settings_page_bp-components tr.settings td.plugin-title span:before { - content: "\f108"; -} - -.settings_page_bp-components tr.groups td.plugin-title span:before { - content: "\f456"; -} - -.settings_page_bp-components tr.messages td.plugin-title span:before { - content: "\f457"; -} - -.settings_page_bp-components tr.forums td.plugin-title span:before { - content: "\f452"; -} - -.settings_page_bp-components tr.blogs td.plugin-title span:before { - content: "\f120"; -} - -.settings_page_bp-components tr.friends td.plugin-title span:before { - content: "\f454"; -} - -.settings_page_bp-components tr.core td.plugin-title span:before { - content: "\f448"; -} - -.settings_page_bp-components tr.members td.plugin-title span:before { - content: "\f307"; -} - -#bp-admin-component-form .wp-list-table.plugins .plugin-title { - width: 25%; -} - -@media screen and ( max-width: 782px ) { - - .settings_page_bp-components td.plugin-title span { - margin-top: 5px; - } - - #bp-admin-component-form .wp-list-table.plugins .plugin-title { - display: block; - width: auto; - } - - #bp-admin-component-form .subsubsub { - margin-bottom: 0; - padding-bottom: 35px; - } -} - -/* - * 2.3 Tools - */ -#adminmenu .toplevel_page_network-tools div.wp-menu-image:before { - content: ""; -} - - -/*------------------------------------------------------------------------------ - * 3.0 User's Lists - *----------------------------------------------------------------------------*/ -body.site-users-php th#role, -body.users-php th#role, -body.users_page_bp-signups th#count_sent { - width: 10%; -} - -body.site-users-php th#name, -body.site-users-php th#email, -body.users-php th#name, -body.users-php th#registered, -body.users-php th#email, -body.users_page_bp-signups th#name, -body.users_page_bp-signups th#registered, -body.users_page_bp-signups th#email, -body.users_page_bp-signups th#date_sent { - width: 15%; -} - -body.users-php th#blogs, -body.users_page_bp-signups th#blogs { - width: 20%; -} - -body.users_page_bp-signups th.column-count_sent, -body.users_page_bp-signups td.count_sent { - text-align: center; -} - -.bp-signups-list table { - margin: 1em 0; -} - -.bp-signups-list .column-fields { - font-weight: 700; -} - -/*------------------------------------------------------------------------------ - * 4.0 Emails - Edit Page - *----------------------------------------------------------------------------*/ -body.post-type-bp-email #excerpt { - height: auto; -} - -body.post-type-bp-email th#situation { - width: 20%; -} - -body.post-type-bp-email td.column-situation ul { - margin: 0; -} - -body.post-type-bp-email .categorydiv label { - display: block; - float: left; - padding-left: 25px; - text-indent: -25px; -} - -/*------------------------------------------------------------------------------ - * 5.0 Tools - BuddyPress - *----------------------------------------------------------------------------*/ -.tools_page_bp-tools .wrap { - max-width: 950px; -} - -.tools_page_bp-tools p { - line-height: 2; -} - -.tools_page_bp-tools fieldset { - margin: 2em 0 0; -} - -.tools_page_bp-tools legend { - color: #23282d; - font-size: 1.3em; - font-weight: 600; - margin: 1em 0; -} - -.tools_page_bp-tools label { - clear: left; - display: block; - line-height: 1.5; - margin: 0 0 1em; - vertical-align: middle; -} - -@media screen and (max-width: 782px) { - - .tools_page_bp-tools p { - line-height: 1.5; - } - - .tools_page_bp-tools label { - margin-bottom: 1em; - padding-right: 25px; - text-indent: -33px; - } - - .tools_page_bp-tools .checkbox { - padding: 0 0 0 30px; - } -} - - -/*------------------------------------------------------------------------------ - * 6.0 Plugins page - *----------------------------------------------------------------------------*/ -#buddypress-update.not-shiny .update-message { - border-left: 0; - padding-left: 36px; -} - -#buddypress-update.not-shiny .update-message:before { - content: "\f534"; -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/037/037.test.js b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/037/037.test.js deleted file mode 100644 index 0fa131b49577f5..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/037/037.test.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -const stylelint = require( 'stylelint' ), - systemTestUtils = require( '../systemTestUtils.js' ); - -it( '037', () => { - return stylelint.lint({ - files: [systemTestUtils.caseStylesheetGlob( '037' )], - configFile: systemTestUtils.caseConfig( '037' ), - }).then( ({ results }) => { - expect( systemTestUtils.prepResults( results ) ).toMatchSnapshot(); - }); -}); diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/037/__snapshots__/037.test.js.snap b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/037/__snapshots__/037.test.js.snap deleted file mode 100644 index 852c11f0550981..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/037/__snapshots__/037.test.js.snap +++ /dev/null @@ -1,15 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`037 1`] = ` -Array [ - Object { - "deprecations": Array [], - "errored": undefined, - "ignored": undefined, - "invalidOptionWarnings": Array [], - "parseErrors": Array [], - "source": "037/stylesheet.css", - "warnings": Array [], - }, -] -`; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/037/config.json b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/037/config.json deleted file mode 100644 index a8af7d5dcb61b9..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/037/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../index.js" -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/037/stylesheet.css b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/037/stylesheet.css deleted file mode 100644 index 1a7c1a4340c2ec..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/037/stylesheet.css +++ /dev/null @@ -1,10 +0,0 @@ -.customize-control-range output { - background-color: #fff; - border: 1px solid #ddd; - box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.07); - float: left; - margin-right: 10px; - margin-top: -4px; - min-width: 16px; - padding: 5px; -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/038/038.test.js b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/038/038.test.js deleted file mode 100644 index 5dfc2f35ee45b7..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/038/038.test.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -const stylelint = require( 'stylelint' ), - systemTestUtils = require( '../systemTestUtils.js' ); - -it( '038', () => { - return stylelint.lint({ - files: [systemTestUtils.caseStylesheetGlob( '038' )], - configFile: systemTestUtils.caseConfig( '038' ), - }).then( ({ results }) => { - expect( systemTestUtils.prepResults( results ) ).toMatchSnapshot(); - }); -}); diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/038/__snapshots__/038.test.js.snap b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/038/__snapshots__/038.test.js.snap deleted file mode 100644 index 65d3db71fe6be3..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/038/__snapshots__/038.test.js.snap +++ /dev/null @@ -1,15 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`038 1`] = ` -Array [ - Object { - "deprecations": Array [], - "errored": undefined, - "ignored": undefined, - "invalidOptionWarnings": Array [], - "parseErrors": Array [], - "source": "038/stylesheet.css", - "warnings": Array [], - }, -] -`; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/038/config.json b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/038/config.json deleted file mode 100644 index a8af7d5dcb61b9..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/038/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../index.js" -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/038/stylesheet.css b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/038/stylesheet.css deleted file mode 100644 index 7e24505f4909b9..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/038/stylesheet.css +++ /dev/null @@ -1,73 +0,0 @@ -/* Displayed User */ -#wpadminbar .quicklinks li#wp-admin-bar-user-admin-with-avatar > a img, -#wpadminbar .quicklinks li#wp-admin-bar-group-admin-with-avatar > a img { - width: 16px; - height: 16px; - display: inline; - border: 1px solid #999; - vertical-align: middle; - margin: -2px 10px 0 -5px; - padding: 0; - background: #eee; - float: none; -} - -/* Displayed Group */ -#wpadminbar .quicklinks li#wp-admin-bar-group-admin-with-avatar ul { - left: 0; -} - -#wpadminbar .quicklinks li#wp-admin-bar-group-admin-with-avatar ul ul { - left: 0; -} - -/* Notifications */ -#wpadminbar .quicklinks li#wp-admin-bar-my-account a span.count, -#wpadminbar .quicklinks li#wp-admin-bar-my-account-with-avatar a span.count, -#wpadminbar .quicklinks li#wp-admin-bar-bp-notifications #ab-pending-notifications { - background: #21759b; - color: #fff; - text-shadow: none; - display: inline; - padding: 2px 5px; - font-size: 10px; - font-weight: 700; - -moz-border-radius: 10px; - -khtml-border-radius: 10px; - -webkit-border-radius: 10px; - border-radius: 10px; -} - -#wpadminbar .quicklinks li#wp-admin-bar-bp-notifications #ab-pending-notifications { - background: #ddd; - color: #333; - margin: 0; -} - -#wpadminbar .quicklinks li#wp-admin-bar-bp-notifications #ab-pending-notifications.alert { - background-color: #21759b; - color: #fff; -} - -#wpadminbar .quicklinks li#wp-admin-bar-bp-notifications > a { - padding: 0 0.5em; -} - -#wp-admin-bar-user-info img.avatar { - height: 64px; - width: 64px; -} - -/* Remove additional arrows from appearing on the BuddyPress' `my_account_menu` - * on large screens. Add back arrows for screen widths 600px and lower. - */ -#wpadminbar .wp-admin-bar-arrow-right { - display: none; -} - -@media screen and (max-width: 600px) { - - #wpadminbar .wp-admin-bar-arrow-right { - display: block; - } -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/039/039.test.js b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/039/039.test.js deleted file mode 100644 index e3636ed018fcb2..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/039/039.test.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -const stylelint = require( 'stylelint' ), - systemTestUtils = require( '../systemTestUtils.js' ); - -it( '039', () => { - return stylelint.lint({ - files: [systemTestUtils.caseStylesheetGlob( '039' )], - configFile: systemTestUtils.caseConfig( '039' ), - }).then( ({ results }) => { - expect( systemTestUtils.prepResults( results ) ).toMatchSnapshot(); - }); -}); diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/039/__snapshots__/039.test.js.snap b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/039/__snapshots__/039.test.js.snap deleted file mode 100644 index 954409baaa8a74..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/039/__snapshots__/039.test.js.snap +++ /dev/null @@ -1,15 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`039 1`] = ` -Array [ - Object { - "deprecations": Array [], - "errored": undefined, - "ignored": undefined, - "invalidOptionWarnings": Array [], - "parseErrors": Array [], - "source": "039/stylesheet.css", - "warnings": Array [], - }, -] -`; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/039/config.json b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/039/config.json deleted file mode 100644 index a8af7d5dcb61b9..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/039/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../index.js" -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/039/stylesheet.css b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/039/stylesheet.css deleted file mode 100644 index 72594bdf86f953..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/039/stylesheet.css +++ /dev/null @@ -1,413 +0,0 @@ -div.bp-avatar-status, -div.bp-cover-image-status { - clear: both; - margin: 1em 0; -} - -div.bp-avatar-status p.updated, -div.bp-cover-image-status p.updated { - display: block; - padding: 10px 15px; -} - -div.bp-avatar-status p.success, -div.bp-cover-image-status p.success { - background-color: #efc; - border: 1px solid #591; - color: #250; -} - -div.bp-avatar-status p.error, -div.bp-cover-image-status p.error { - background-color: #fdc; - border: 1px solid #a00; - color: #800; -} - -div.bp-avatar-status .bp-progress, -div.bp-cover-image-status .bp-progress { - background: none; - border: 1px solid #d1d1d1; - float: right; - height: 22px; - line-height: 2; - margin: 6px 10px 0 0; - margin-bottom: 2px; - padding: 0; - overflow: hidden; - width: 200px; -} - -div.bp-avatar-status .bp-bar, -div.bp-cover-image-status .bp-bar { - background-color: #c3ff88; - width: 0; - height: 100%; - z-index: 9; -} - -.bp-uploader-progress div.error { - background-color: #fdc; - border: 1px solid #a00; - color: #800; - display: block; - font-size: 90%; - padding: 10px 15px; -} - -/* stylelint-disable selector-id-pattern */ -#buddypress p.warning, -body.users_page_bp-profile-edit.modal-open #TB_ajaxContent p.warning, -body.profile_page_bp-profile-edit.modal-open #TB_ajaxContent p.warning { - background-color: #ffd; - border: 1px solid #cb2; - color: #440; - display: block; - font-size: 90%; - margin: 1em 0; - padding: 10px 15px; -} -/* stylelint-enable */ - -div.bp-avatar-nav { - background: transparent; - clear: both; - margin: 10px 0; - overflow: hidden; -} - -.avatar-nav-items { - margin: 0; - padding: 0; -} - -.bp-avatar-nav .avatar-nav-items li.avatar-nav-item { - float: left !important; - margin: 0; - list-style: none; -} - -.avatar-nav-items li a { - display: block; - padding: 5px 10px; - text-decoration: none; -} - -.bp-avatar-nav ul:before, -.bp-avatar-nav ul:after { - content: " "; - display: table; -} - -.bp-avatar-nav ul:after { - clear: both; -} - -.bp-avatar-nav ul { - border-bottom: 1px solid #ccc; - margin-bottom: 10px; -} - -.bp-avatar-nav ul.avatar-nav-items li.current { - border: 1px solid #ccc; - border-bottom-color: #fff; - border-top-left-radius: 4px; - border-top-right-radius: 4px; - margin-bottom: -1px; -} - -.bp-avatar-nav li.current a { - background: none; - color: inherit; - font-weight: 700; - opacity: 0.8; - outline: 0; -} - -#drag-drop-area { - border: 4px dashed #bbb; - height: 200px; -} - -.drag-drop.drag-over #drag-drop-area { - border-color: #83b4d8; -} - -.drag-drop-inside p { - display: none; -} - -.drag-drop-inside p.drag-drop-buttons { - margin-top: 80px; - text-align: center; -} - -.drag-drop .drag-drop-inside p.drag-drop-buttons { - margin: auto; - text-align: inherit; -} - -.moxie-shim.moxie-shim-html5 input { - cursor: pointer; -} - -.drag-drop #drag-drop-area { - box-sizing: border-box; - display: table; - height: 100%; - width: 100%; -} - -.drag-drop .drag-drop-inside { - display: table-cell; - padding: 40px 0; - text-align: center; - vertical-align: middle; -} - -.drag-drop .drag-drop-inside p, -.drag-drop-inside p.drag-drop-buttons { - display: block; -} - -.drag-drop .drag-drop-inside p { - color: #767676; - font-size: 110%; - margin: 5px 0; - text-align: center; -} - -.drag-drop-inside p.drag-drop-info { - margin-top: 0; -} - -#avatar-to-crop { - margin: 0 auto 20px; - text-align: left; -} - -#bp-webcam-avatar #avatar-to-crop { - float: left; - margin: 0 0 20px; -} - -#avatar-to-crop .jcrop-holder { - margin: 0 auto; -} - -.avatar-crop-management { - clear: left; - overflow: hidden; - padding-top: 20px; - text-align: center; -} - -#bp-webcam-avatar .avatar-crop-management { - clear: none; - float: none; - overflow: visible; - padding-top: 0; - width: auto; -} - -#avatar-crop-pane { - margin: 0 auto; - overflow: hidden; -} - -#bp-webcam-avatar #avatar-to-crop { - border: 1px solid #eee; - max-width: 100%; - width: 100%; -} - -@media screen and (min-width: 801px) { - - #bp-webcam-avatar #avatar-to-crop { - max-width: 64%; - width: 64%; - } -} - -#avatar-crop-actions a { - display: block; -} - -#bp-webcam-avatar #avatar-crop-actions { - float: left; - margin: 0 0 20px; - width: 50%; -} - -#avatar-crop-actions a.button { - margin-top: 10px; -} - -#bp-webcam-avatar #avatar-crop-actions a.button { - display: block; - margin: 0 0 5px; - padding: 4px 0; - width: 100%; -} - -#avatar-to-crop img, -#avatar-crop-pane img, -#avatar-crop-pane canvas, -#avatar-upload-form img, -#create-group-form img, -#group-settings-form img { - border: none !important; - max-width: none !important; -} - -#bp-webcam-avatar video { - float: left; - margin-bottom: 0; - max-width: 100%; - width: 100%; - -webkit-transform: scaleX(-1); - transform: scaleX(-1); -} - -#bp-webcam-avatar #avatar-crop-pane { - border: 2px dashed #bbb; - clear: left; - float: right; - margin: 0 40px 10px 0; - overflow: hidden; -} - -/** -* Users can define avatar constants with new dimension values -* If they do, we'll ensure the layouts preserved by enforcing a max width -* that matches bp default settings. -*/ -#bp-webcam-avatar .avatar-crop-management #avatar-crop-pane { - max-width: 150px; - max-height: 150px; -} - -#avatar-crop-pane canvas { - height: auto; - width: 100%; - max-width: 100%; -} - -.group-avatar .bp-avatar .avatar-crop-management { - margin-left: 0; - padding-top: 0; - width: auto; -} - -.bp-avatar .item { - overflow: hidden; -} - -.bp-avatar .avatar-crop-management.adjust { - float: left; - clear: none; - padding-top: 0; -} - -.bp-avatar #avatar-to-crop.adjust { - float: left; - margin-right: 20px; -} - -@media screen and (max-width: 480px) { - - #bp-webcam-avatar .avatar-crop-management #avatar-crop-actions, - #bp-webcam-avatar .avatar-crop-management #avatar-crop-pane { - float: none; - } - - #bp-webcam-avatar .avatar-crop-management #avatar-crop-pane { - margin: 0 auto 10px; - } - - #bp-webcam-avatar .avatar-crop-management #avatar-crop-actions { - width: auto; - } - -} - -@media screen and (min-width: 801px) { - - #bp-webcam-avatar .avatar-crop-management { - clear: none; - float: right; - } - - #bp-webcam-avatar .avatar-crop-management #avatar-crop-pane { - float: none; - margin: 0 auto 10px; - } - - #bp-webcam-avatar .avatar-crop-management #avatar-crop-actions { - float: left; - width: 100%; - } - -} - - -/** Admin Profile **/ -/* stylelint-disable selector-id-pattern */ -body.users_page_bp-profile-edit.modal-open #TB_ajaxContent, -body.profile_page_bp-profile-edit.modal-open #TB_ajaxContent { - height: 95% !important; - width: 95% !important; -} - -body.users_page_bp-profile-edit.modal-open #TB_ajaxContent p.updated, -body.users_page_bp-profile-edit.modal-open #TB_ajaxContent p.warning, -body.profile_page_bp-profile-edit.modal-open #TB_ajaxContent p.updated, -body.profile_page_bp-profile-edit.modal-open #TB_ajaxContent p.warning { - display: block; - padding: 10px 15px; -} - -.wp-admin #TB_window .bp-avatar #avatar-to-crop { - float: left; - margin: 0; -} - -.wp-admin #TB_window .bp-avatar #bp-webcam-avatar #avatar-to-crop { - margin-bottom: 20px; -} - -@media screen and (min-width: 783px) { - - .wp-admin #TB_window .bp-avatar .avatar-crop-management { - clear: none; - float: left; - margin-left: 20px; - padding-top: 0; - text-align: center; - - } - -} - -.wp-admin #TB_window .bp-avatar #avatar-to-crop video { - width: 100%; -} - -.wp-admin #TB_window .bp-avatar .avatar-crop-management a.button { - height: auto; - line-height: inherit; -} - -@media screen and (min-width: 810px) { - - .wp-admin #TB_window .bp-avatar #bp-webcam-avatar #avatar-to-crop { - max-width: none; - width: 76%; - } - - .wp-admin #TB_window #bp-webcam-avatar .avatar-crop-management { - max-width: none; - width: auto; - } -} -/* stylelint-enable */ diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/040/040.test.js b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/040/040.test.js deleted file mode 100644 index 315d0d613e4875..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/040/040.test.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -const stylelint = require( 'stylelint' ), - systemTestUtils = require( '../systemTestUtils.js' ); - -it( '040', () => { - return stylelint.lint({ - files: [systemTestUtils.caseStylesheetGlob( '040' )], - configFile: systemTestUtils.caseConfig( '040' ), - }).then( ({ results }) => { - expect( systemTestUtils.prepResults( results ) ).toMatchSnapshot(); - }); -}); diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/040/__snapshots__/040.test.js.snap b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/040/__snapshots__/040.test.js.snap deleted file mode 100644 index 34e5c89d8d277e..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/040/__snapshots__/040.test.js.snap +++ /dev/null @@ -1,15 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`040 1`] = ` -Array [ - Object { - "deprecations": Array [], - "errored": undefined, - "ignored": undefined, - "invalidOptionWarnings": Array [], - "parseErrors": Array [], - "source": "040/stylesheet.css", - "warnings": Array [], - }, -] -`; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/040/config.json b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/040/config.json deleted file mode 100644 index a8af7d5dcb61b9..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/040/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../index.js" -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/040/stylesheet.css b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/040/stylesheet.css deleted file mode 100644 index ca8cf9dc6e43ec..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/040/stylesheet.css +++ /dev/null @@ -1,237 +0,0 @@ -body:not(.wp-admin) { - padding-top: 25px !important; -} - -#wp-admin-bar { - position: fixed; - top: 0; - left: 0; - height: 25px; - font-size: 11px; - width: 100%; - z-index: 9999; -} - -#wp-admin-bar .padder { - position: relative; - padding: 0; - width: 100%; - margin: 0 auto; - background: url(../images/60pc_black.png); - height: 25px; -} - -body#bp-default #wp-admin-bar .padder { - max-width: 1250px; -} - -#wp-admin-bar * { - z-index: 999; -} - -#wp-admin-bar div#admin-bar-logo { - position: absolute; - top: 5px; - left: 10px; -} - -#wp-admin-bar a img { - border: none; -} - -#wp-admin-bar li { - list-style: none; - margin: 0; - padding: 0; - line-height: 1; - text-align: left; -} - -#wp-admin-bar li a { - padding: 7px 15px; - color: #eee; - text-decoration: none; - font-size: 11px; -} - -#wp-admin-bar li.alt { - border: none; -} - -#wp-admin-bar li.no-arrow a { - padding-right: 15px; -} - -#wp-admin-bar ul li ul li a span { - display: none; -} - -#wp-admin-bar li:hover, -#wp-admin-bar li.hover { - position: static; -} - -#admin-bar-logo { - float: left; - font-weight: 700; - font-size: 11px; - padding: 5px 8px; - margin: 0; - text-decoration: none; - color: #fff; -} - -body#bp-default #admin-bar-logo { - padding: 2px 8px; -} - -/* all lists */ -#wp-admin-bar ul { - margin: 0; - list-style: none; - line-height: 1; - cursor: pointer; - height: auto; - padding: 0; -} - -/* all list items */ -#wp-admin-bar ul li { - padding: 0; - float: left; - position: relative; - background: url(../images/admin-menu-arrow.gif) 88% 53% no-repeat; - padding-right: 11px; -} - -#wp-admin-bar ul li.no-arrow { - background: none; - padding-right: 0; -} - -#wp-admin-bar ul li ul li { - background-image: none; -} - -#wp-admin-bar ul li.align-right { - position: absolute; - right: 0; -} - -#wp-admin-bar ul li a { - display: block; -} - -#wp-admin-bar ul.main-nav li:hover, -#wp-admin-bar ul.main-nav li.sfhover, -#wp-admin-bar ul.main-nav li ul li.sfhover { - background-color: #333; -} - -/* second-level lists */ -#wp-admin-bar ul li ul { - position: absolute; - width: 185px; - left: -999em; - margin-left: 0; - background: #333; - border: 1px solid #222; - -moz-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); - -webkit-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - -moz-border-radius-topleft: 0; - -webkit-border-top-left-radius: 0; - -moz-border-radius-topright: 0; - -webkit-border-top-right-radius: 0; -} - -#wp-admin-bar ul li > ul { - border-top: none; -} - -#wp-admin-bar ul li ul a { - color: #eee; -} - -#wp-admin-bar ul li ul li { - float: left; - width: 174px; - margin: 0; -} - -#wp-admin-bar ul li ul li:hover a { - color: #fff; -} - -#wp-admin-bar ul li div.admin-bar-clear { - clear: both; -} - -#wp-admin-bar ul.main-nav li ul li:hover, -#wp-admin-bar ul.main-nav li ul li.sfhover, -#wp-admin-bar ul.main-nav li ul li.sfhover { - background-color: #222; -} - -/* third-and-above-level lists */ -#wp-admin-bar ul li ul ul { - margin: -25px 0 0 184px; - -moz-border-radius: 3px; - -webkit-border-radius: 3px; -} - -#wp-admin-bar ul li ul li:hover ul li a { - color: #eee; -} - -#wp-admin-bar ul li ul li ul li:hover a { - color: #fff; -} - -#wp-admin-bar ul li:hover ul, -#wp-admin-bar ul li ul li:hover ul, -#wp-admin-bar ul li.sfhover ul, -#wp-admin-bar ul li ul li.sfhover ul { - left: auto; -} - -#wp-admin-bar ul li.align-right:hover ul { - right: 0; -} - -#wp-admin-bar ul li:hover ul ul, -#wp-admin-bar li.sfhover ul li ul { - left: -999em; -} - -/* Menu item css */ -#wp-admin-bar img.avatar { - float: left; - margin-right: 8px; -} - -#wp-admin-bar span.activity { - display: block; - margin-left: 34px; - padding: 0; -} - -#wp-admin-bar ul.author-list li a { - height: 17px; -} - -#wp-admin-bar ul li#bp-adminbar-notifications-menu a span { - padding: 0 6px; - margin-left: 2px; - background: #fff; - color: #000; - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - border-radius: 3px; -} - -#wp-admin-bar-user-info img.avatar { - height: 64px; - width: 64px; -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/041/041.test.js b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/041/041.test.js deleted file mode 100644 index cbe0226c3f566b..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/041/041.test.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -const stylelint = require( 'stylelint' ), - systemTestUtils = require( '../systemTestUtils.js' ); - -it( '041', () => { - return stylelint.lint({ - files: [systemTestUtils.caseStylesheetGlob( '041' )], - configFile: systemTestUtils.caseConfig( '041' ), - }).then( ({ results }) => { - expect( systemTestUtils.prepResults( results ) ).toMatchSnapshot(); - }); -}); diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/041/__snapshots__/041.test.js.snap b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/041/__snapshots__/041.test.js.snap deleted file mode 100644 index 099e1ac890786e..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/041/__snapshots__/041.test.js.snap +++ /dev/null @@ -1,1654 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`041 1`] = ` -Array [ - Object { - "deprecations": Array [], - "errored": true, - "ignored": undefined, - "invalidOptionWarnings": Array [], - "parseErrors": Array [], - "source": "041/stylesheet.css", - "warnings": Array [ - Object { - "column": 32, - "line": 11, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 135, - "line": 12, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 48, - "line": 13, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 22, - "line": 14, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 95, - "line": 15, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 29, - "line": 16, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 19, - "line": 17, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 27, - "line": 18, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 52, - "line": 19, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 28, - "line": 20, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 42, - "line": 21, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 28, - "line": 22, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 28, - "line": 23, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 18, - "line": 24, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 122, - "line": 25, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 45, - "line": 26, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 85, - "line": 27, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 78, - "line": 28, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 34, - "line": 29, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 76, - "line": 30, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 6, - "line": 11, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 117, - "line": 12, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 7, - "line": 13, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 14, - "line": 14, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 57, - "line": 15, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 9, - "line": 16, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 4, - "line": 17, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 12, - "line": 18, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 19, - "line": 19, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 18, - "line": 20, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 14, - "line": 21, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 5, - "line": 22, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 5, - "line": 23, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 8, - "line": 24, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 46, - "line": 25, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 30, - "line": 26, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 6, - "line": 27, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 37, - "line": 28, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 7, - "line": 29, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 22, - "line": 30, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 4, - "line": 11, - "rule": "block-opening-brace-space-before", - "severity": "error", - "text": "Expected single space before \\"{\\" (block-opening-brace-space-before)", - }, - Object { - "column": 115, - "line": 12, - "rule": "block-opening-brace-space-before", - "severity": "error", - "text": "Expected single space before \\"{\\" (block-opening-brace-space-before)", - }, - Object { - "column": 5, - "line": 13, - "rule": "block-opening-brace-space-before", - "severity": "error", - "text": "Expected single space before \\"{\\" (block-opening-brace-space-before)", - }, - Object { - "column": 12, - "line": 14, - "rule": "block-opening-brace-space-before", - "severity": "error", - "text": "Expected single space before \\"{\\" (block-opening-brace-space-before)", - }, - Object { - "column": 55, - "line": 15, - "rule": "block-opening-brace-space-before", - "severity": "error", - "text": "Expected single space before \\"{\\" (block-opening-brace-space-before)", - }, - Object { - "column": 7, - "line": 16, - "rule": "block-opening-brace-space-before", - "severity": "error", - "text": "Expected single space before \\"{\\" (block-opening-brace-space-before)", - }, - Object { - "column": 2, - "line": 17, - "rule": "block-opening-brace-space-before", - "severity": "error", - "text": "Expected single space before \\"{\\" (block-opening-brace-space-before)", - }, - Object { - "column": 10, - "line": 18, - "rule": "block-opening-brace-space-before", - "severity": "error", - "text": "Expected single space before \\"{\\" (block-opening-brace-space-before)", - }, - Object { - "column": 17, - "line": 19, - "rule": "block-opening-brace-space-before", - "severity": "error", - "text": "Expected single space before \\"{\\" (block-opening-brace-space-before)", - }, - Object { - "column": 16, - "line": 20, - "rule": "block-opening-brace-space-before", - "severity": "error", - "text": "Expected single space before \\"{\\" (block-opening-brace-space-before)", - }, - Object { - "column": 12, - "line": 21, - "rule": "block-opening-brace-space-before", - "severity": "error", - "text": "Expected single space before \\"{\\" (block-opening-brace-space-before)", - }, - Object { - "column": 3, - "line": 22, - "rule": "block-opening-brace-space-before", - "severity": "error", - "text": "Expected single space before \\"{\\" (block-opening-brace-space-before)", - }, - Object { - "column": 3, - "line": 23, - "rule": "block-opening-brace-space-before", - "severity": "error", - "text": "Expected single space before \\"{\\" (block-opening-brace-space-before)", - }, - Object { - "column": 6, - "line": 24, - "rule": "block-opening-brace-space-before", - "severity": "error", - "text": "Expected single space before \\"{\\" (block-opening-brace-space-before)", - }, - Object { - "column": 44, - "line": 25, - "rule": "block-opening-brace-space-before", - "severity": "error", - "text": "Expected single space before \\"{\\" (block-opening-brace-space-before)", - }, - Object { - "column": 28, - "line": 26, - "rule": "block-opening-brace-space-before", - "severity": "error", - "text": "Expected single space before \\"{\\" (block-opening-brace-space-before)", - }, - Object { - "column": 4, - "line": 27, - "rule": "block-opening-brace-space-before", - "severity": "error", - "text": "Expected single space before \\"{\\" (block-opening-brace-space-before)", - }, - Object { - "column": 35, - "line": 28, - "rule": "block-opening-brace-space-before", - "severity": "error", - "text": "Expected single space before \\"{\\" (block-opening-brace-space-before)", - }, - Object { - "column": 5, - "line": 29, - "rule": "block-opening-brace-space-before", - "severity": "error", - "text": "Expected single space before \\"{\\" (block-opening-brace-space-before)", - }, - Object { - "column": 20, - "line": 30, - "rule": "block-opening-brace-space-before", - "severity": "error", - "text": "Expected single space before \\"{\\" (block-opening-brace-space-before)", - }, - Object { - "column": 28, - "line": 11, - "rule": "color-hex-case", - "severity": "error", - "text": "Expected \\"#FFF\\" to be \\"#fff\\" (color-hex-case)", - }, - Object { - "column": 72, - "line": 27, - "rule": "declaration-block-no-duplicate-properties", - "severity": "error", - "text": "Unexpected duplicate \\"font\\" (declaration-block-no-duplicate-properties)", - }, - Object { - "column": 17, - "line": 11, - "rule": "declaration-block-semicolon-newline-after", - "severity": "error", - "text": "Expected newline after \\";\\" (declaration-block-semicolon-newline-after)", - }, - Object { - "column": 126, - "line": 12, - "rule": "declaration-block-semicolon-newline-after", - "severity": "error", - "text": "Expected newline after \\";\\" (declaration-block-semicolon-newline-after)", - }, - Object { - "column": 32, - "line": 13, - "rule": "declaration-block-semicolon-newline-after", - "severity": "error", - "text": "Expected newline after \\";\\" (declaration-block-semicolon-newline-after)", - }, - Object { - "column": 76, - "line": 15, - "rule": "declaration-block-semicolon-newline-after", - "severity": "error", - "text": "Expected newline after \\";\\" (declaration-block-semicolon-newline-after)", - }, - Object { - "column": 34, - "line": 19, - "rule": "declaration-block-semicolon-newline-after", - "severity": "error", - "text": "Expected newline after \\";\\" (declaration-block-semicolon-newline-after)", - }, - Object { - "column": 23, - "line": 21, - "rule": "declaration-block-semicolon-newline-after", - "severity": "error", - "text": "Expected newline after \\";\\" (declaration-block-semicolon-newline-after)", - }, - Object { - "column": 66, - "line": 25, - "rule": "declaration-block-semicolon-newline-after", - "severity": "error", - "text": "Expected newline after \\";\\" (declaration-block-semicolon-newline-after)", - }, - Object { - "column": 84, - "line": 25, - "rule": "declaration-block-semicolon-newline-after", - "severity": "error", - "text": "Expected newline after \\";\\" (declaration-block-semicolon-newline-after)", - }, - Object { - "column": 103, - "line": 25, - "rule": "declaration-block-semicolon-newline-after", - "severity": "error", - "text": "Expected newline after \\";\\" (declaration-block-semicolon-newline-after)", - }, - Object { - "column": 55, - "line": 27, - "rule": "declaration-block-semicolon-newline-after", - "severity": "error", - "text": "Expected newline after \\";\\" (declaration-block-semicolon-newline-after)", - }, - Object { - "column": 71, - "line": 27, - "rule": "declaration-block-semicolon-newline-after", - "severity": "error", - "text": "Expected newline after \\";\\" (declaration-block-semicolon-newline-after)", - }, - Object { - "column": 25, - "line": 29, - "rule": "declaration-block-semicolon-newline-after", - "severity": "error", - "text": "Expected newline after \\";\\" (declaration-block-semicolon-newline-after)", - }, - Object { - "column": 44, - "line": 30, - "rule": "declaration-block-semicolon-newline-after", - "severity": "error", - "text": "Expected newline after \\";\\" (declaration-block-semicolon-newline-after)", - }, - Object { - "column": 59, - "line": 30, - "rule": "declaration-block-semicolon-newline-after", - "severity": "error", - "text": "Expected newline after \\";\\" (declaration-block-semicolon-newline-after)", - }, - Object { - "column": 12, - "line": 11, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 28, - "line": 11, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 124, - "line": 12, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 134, - "line": 12, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 23, - "line": 13, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 47, - "line": 13, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 21, - "line": 14, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 68, - "line": 15, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 88, - "line": 15, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 25, - "line": 16, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 15, - "line": 17, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 23, - "line": 18, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 29, - "line": 19, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 46, - "line": 19, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 26, - "line": 20, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 21, - "line": 21, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 36, - "line": 21, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 20, - "line": 22, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 20, - "line": 23, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 14, - "line": 24, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 58, - "line": 25, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 76, - "line": 25, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 95, - "line": 25, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 115, - "line": 25, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 40, - "line": 26, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 11, - "line": 27, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 65, - "line": 27, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 77, - "line": 27, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 42, - "line": 28, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 17, - "line": 29, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 30, - "line": 29, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 34, - "line": 30, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 54, - "line": 30, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 72, - "line": 30, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 72, - "line": 30, - "rule": "declaration-property-unit-whitelist", - "severity": "error", - "text": "Unexpected unit \\"%\\" for property \\"line-height\\" (declaration-property-unit-whitelist)", - }, - Object { - "column": 15, - "line": 94, - "rule": "declaration-property-unit-whitelist", - "severity": "error", - "text": "Unexpected unit \\"em\\" for property \\"line-height\\" (declaration-property-unit-whitelist)", - }, - Object { - "column": 15, - "line": 123, - "rule": "declaration-property-unit-whitelist", - "severity": "error", - "text": "Unexpected unit \\"em\\" for property \\"line-height\\" (declaration-property-unit-whitelist)", - }, - Object { - "column": 15, - "line": 144, - "rule": "declaration-property-unit-whitelist", - "severity": "error", - "text": "Unexpected unit \\"em\\" for property \\"line-height\\" (declaration-property-unit-whitelist)", - }, - Object { - "column": 15, - "line": 398, - "rule": "declaration-property-unit-whitelist", - "severity": "error", - "text": "Unexpected unit \\"em\\" for property \\"line-height\\" (declaration-property-unit-whitelist)", - }, - Object { - "column": 46, - "line": 19, - "rule": "font-weight-notation", - "severity": "error", - "text": "Expected numeric font-weight notation (font-weight-notation)", - }, - Object { - "column": 15, - "line": 71, - "rule": "font-weight-notation", - "severity": "error", - "text": "Expected numeric font-weight notation (font-weight-notation)", - }, - Object { - "column": 15, - "line": 88, - "rule": "font-weight-notation", - "severity": "error", - "text": "Expected numeric font-weight notation (font-weight-notation)", - }, - Object { - "column": 15, - "line": 143, - "rule": "font-weight-notation", - "severity": "error", - "text": "Expected numeric font-weight notation (font-weight-notation)", - }, - Object { - "column": 15, - "line": 217, - "rule": "font-weight-notation", - "severity": "error", - "text": "Expected numeric font-weight notation (font-weight-notation)", - }, - Object { - "column": 15, - "line": 255, - "rule": "font-weight-notation", - "severity": "error", - "text": "Expected numeric font-weight notation (font-weight-notation)", - }, - Object { - "column": 18, - "line": 388, - "rule": "function-url-quotes", - "severity": "error", - "text": "Unexpected quotes (function-url-quotes)", - }, - Object { - "column": 24, - "line": 409, - "rule": "function-url-quotes", - "severity": "error", - "text": "Unexpected quotes (function-url-quotes)", - }, - Object { - "column": 35, - "line": 124, - "rule": "length-zero-no-unit", - "severity": "error", - "text": "Unexpected unit (length-zero-no-unit)", - }, - Object { - "column": 43, - "line": 124, - "rule": "length-zero-no-unit", - "severity": "error", - "text": "Unexpected unit (length-zero-no-unit)", - }, - Object { - "column": 35, - "line": 141, - "rule": "length-zero-no-unit", - "severity": "error", - "text": "Unexpected unit (length-zero-no-unit)", - }, - Object { - "column": 43, - "line": 141, - "rule": "length-zero-no-unit", - "severity": "error", - "text": "Unexpected unit (length-zero-no-unit)", - }, - Object { - "column": 1, - "line": 433, - "rule": "no-missing-end-of-source-newline", - "severity": "error", - "text": "Unexpected missing end-of-source newline (no-missing-end-of-source-newline)", - }, - Object { - "column": 1, - "line": 12, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 13, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 14, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 15, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 16, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 17, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 18, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 19, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 20, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 21, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 22, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 23, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 24, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 25, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 26, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 27, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 28, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 29, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 30, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 5, - "line": 12, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 9, - "line": 12, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 12, - "line": 12, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 15, - "line": 12, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 18, - "line": 12, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 21, - "line": 12, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 24, - "line": 12, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 27, - "line": 12, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 30, - "line": 12, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 33, - "line": 12, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 36, - "line": 12, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 39, - "line": 12, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 42, - "line": 12, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 45, - "line": 12, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 49, - "line": 12, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 54, - "line": 12, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 59, - "line": 12, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 68, - "line": 12, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 75, - "line": 12, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 81, - "line": 12, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 88, - "line": 12, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 97, - "line": 12, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 99, - "line": 12, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 110, - "line": 12, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 113, - "line": 12, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 9, - "line": 14, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 8, - "line": 15, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 16, - "line": 15, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 21, - "line": 15, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 26, - "line": 15, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 30, - "line": 15, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 33, - "line": 15, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 40, - "line": 15, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 43, - "line": 15, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 47, - "line": 15, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 4, - "line": 16, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 8, - "line": 18, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 3, - "line": 19, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 6, - "line": 19, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 9, - "line": 19, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 12, - "line": 19, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 15, - "line": 19, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 9, - "line": 20, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 5, - "line": 21, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 6, - "line": 25, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 13, - "line": 25, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 22, - "line": 25, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 29, - "line": 25, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 38, - "line": 25, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 6, - "line": 26, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 13, - "line": 26, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 22, - "line": 26, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 7, - "line": 28, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 13, - "line": 28, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 20, - "line": 28, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 29, - "line": 28, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 4, - "line": 30, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 9, - "line": 30, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 13, - "line": 30, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 18, - "line": 30, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 26, - "line": 20, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 15, - "line": 42, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 48, - "line": 42, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 15, - "line": 330, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 48, - "line": 330, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 15, - "line": 345, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 48, - "line": 345, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 15, - "line": 354, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 48, - "line": 354, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 18, - "line": 388, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 15, - "line": 396, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 48, - "line": 396, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 24, - "line": 409, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 27, - "line": 27, - "rule": "value-list-comma-space-after", - "severity": "error", - "text": "Expected single space after \\",\\" in a single-line list (value-list-comma-space-after)", - }, - Object { - "column": 37, - "line": 27, - "rule": "value-list-comma-space-after", - "severity": "error", - "text": "Expected single space after \\",\\" in a single-line list (value-list-comma-space-after)", - }, - Object { - "column": 43, - "line": 27, - "rule": "value-list-comma-space-after", - "severity": "error", - "text": "Expected single space after \\",\\" in a single-line list (value-list-comma-space-after)", - }, - Object { - "column": 51, - "line": 28, - "rule": "value-list-comma-space-after", - "severity": "error", - "text": "Expected single space after \\",\\" in a single-line list (value-list-comma-space-after)", - }, - Object { - "column": 61, - "line": 28, - "rule": "value-list-comma-space-after", - "severity": "error", - "text": "Expected single space after \\",\\" in a single-line list (value-list-comma-space-after)", - }, - Object { - "column": 67, - "line": 28, - "rule": "value-list-comma-space-after", - "severity": "error", - "text": "Expected single space after \\",\\" in a single-line list (value-list-comma-space-after)", - }, - Object { - "column": 72, - "line": 27, - "rule": "declaration-block-no-shorthand-property-overrides", - "severity": "error", - "text": "Unexpected shorthand \\"font\\" after \\"font-size\\" (declaration-block-no-shorthand-property-overrides)", - }, - Object { - "column": 25, - "line": 29, - "rule": "declaration-block-no-shorthand-property-overrides", - "severity": "error", - "text": "Unexpected shorthand \\"font\\" after \\"font-size\\" (declaration-block-no-shorthand-property-overrides)", - }, - Object { - "column": 2, - "line": 48, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '2em auto 1em auto' instead of '2em auto 1em' (shorthand-property-no-redundant-values)", - }, - Object { - "column": 2, - "line": 79, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '12px 0 27px 0' instead of '12px 0 27px' (shorthand-property-no-redundant-values)", - }, - Object { - "column": 2, - "line": 86, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '0 0 2em 0' instead of '0 0 2em' (shorthand-property-no-redundant-values)", - }, - Object { - "column": 2, - "line": 92, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '0 0 1em 0' instead of '0 0 1em' (shorthand-property-no-redundant-values)", - }, - Object { - "column": 2, - "line": 212, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '1em 1em 1em 1em' instead of '1em' (shorthand-property-no-redundant-values)", - }, - Object { - "column": 2, - "line": 223, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '0 0 1.8em 0' instead of '0 0 1.8em' (shorthand-property-no-redundant-values)", - }, - ], - }, -] -`; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/041/config.json b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/041/config.json deleted file mode 100644 index a8af7d5dcb61b9..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/041/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../index.js" -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/041/stylesheet.css b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/041/stylesheet.css deleted file mode 100644 index 6870df00cc25f9..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/041/stylesheet.css +++ /dev/null @@ -1,433 +0,0 @@ -/* -Start with some basic resets -*/ - -/* -Copyright (c) 2009, Yahoo! Inc. All rights reserved. -Code licensed under the BSD License: -http://developer.yahoo.net/yui/license.txt -version: 2.7.0 -*/ -html{color:#000;background:#FFF;} -body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,button,textarea,p,blockquote,th,td{margin:0;padding:0;} -table{border-collapse:collapse;border-spacing:0;} -fieldset,img{border:0;} -address,caption,cite,code,dfn,em,strong,th,var,optgroup{font-style:inherit;font-weight:inherit;} -del,ins{text-decoration:none;} -li{list-style:none;} -caption,th{text-align:left;} -h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;} -q:before,q:after{content:'';} -abbr,acronym{border:0;font-variant:normal;} -sup{vertical-align:baseline;} -sub{vertical-align:baseline;} -legend{color:#000;} -input,button,textarea,select,optgroup,option{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;} -input,button,textarea,select{*font-size:100%;} -body{font:13px/1.231 arial,helvetica,clean,sans-serif;*font-size:small;*font:x-small;} -select,input,button,textarea,button{font:99% arial,helvetica,clean,sans-serif;} -table{font-size:inherit;font:100%;} -pre,code,kbd,samp,tt{font-family:monospace;*font-size:108%;line-height:100%;} - -/* -Now for our own code -*/ - -html { - background-color: rgb(247, 247, 247); -} - -body { - text-align: center; - font-family: 'Lucida Grande', Verdana, Arial, 'Bitstream Vera Sans', sans-serif; - font-size: 1em; - color: rgb(255, 255, 255); -} - -div#container { - margin: 2em auto 1em auto; - padding: 1em 32px; - width: 700px; - background-color: rgb(255, 255, 255); - text-align: left; - -moz-border-radius: 11px; - -khtml-border-radius: 11px; - -webkit-border-radius: 11px; - border-radius: 11px; - border: 1px solid rgb(223, 223, 223); - color: rgb(51, 51, 51); -} - -a { - color: rgb(50, 140, 0); - text-decoration: none; -} - -a:hover { - text-decoration: underline; -} - -strong { - font-weight: bold; -} - -em { - font-style: italic; -} - -div.logo img { - margin: 12px 0 27px 0; - width: 200px; - height: 57px; - display: block; -} - -h1 { - margin: 0 0 2em 0; - font-size: 0.75em; - font-weight: bold; -} - -p { - margin: 0 0 1em 0; - font-size: 0.75em; - line-height: 1.4em; -} - -dl { - border-left: 1px solid rgb(125, 125, 125); - margin: 1.5em 0 1.5em 2.5em; - font-size: 0.75em; -} - -dl code { - font-size: 1.4em; -} - -dt { - font-size: 1em; - padding: 0.6em 0 0.2em 0.6em; -} - -dd { - font-size: 1em; - padding: 0 0 0.6em 3.6em; -} - -p.status { - position: absolute; - right: 0; - top: -2.4em; - margin: 0; - padding: 0.5em 1em; - line-height: 1.4em; - text-shadow: rgb(255, 255, 255) 0px 1px 0px; - color: rgb(70, 70, 70); -} - -p code { - font-size: 1.25em; -} - -div.open div p.error.last, -div.open div p.message.last { - margin-bottom: 1.4em; -} - -h2 { - font-size: 0.75em; - background-color: rgb(236, 236, 236); - padding: 0.5em 1em; - text-shadow: rgb(255, 255, 255) 0px 1px 0px; - color: rgb(70, 70, 70); - font-weight: bold; - line-height: 1.4em; -} - -div.open, -div.closed { - border: 1px solid rgb(223, 223, 223); - -moz-border-radius: 6px; - -khtml-border-radius: 6px; - -webkit-border-radius: 6px; - border-radius: 6px; - margin-bottom: 1em; - background-color: rgb(247, 247, 247); -} - -div.open div { - padding: 1em; - margin: 1px 0; -} - -div.closed div { - position: relative; -} - -p.error { - border: 1px solid rgb(204, 0, 0); - background-color: rgb(255, 235, 232); - padding: 0.6em; - -moz-border-radius: 4px; - -khtml-border-radius: 4px; - -webkit-border-radius: 4px; - border-radius: 4px; -} - -p.error a { - color: rgb(204, 0, 0); -} - -dl.error { - margin-top: -1em; -} - -p.message { - border: 1px solid rgb(230, 219, 85); - background-color: rgb(255, 251, 204); - padding: 0.6em; - -moz-border-radius: 4px; - -khtml-border-radius: 4px; - -webkit-border-radius: 4px; - border-radius: 4px; -} - -div.open div.toggle { - margin: 0; - padding: 0; -} - -div.open h2 { - color: rgb(0, 0, 0); -} - -form { - clear: both; - border: 1px solid rgb(223, 223, 223); - background-color: rgb(255, 255, 255); - -moz-border-radius: 4px; - -khtml-border-radius: 4px; - -webkit-border-radius: 4px; - border-radius: 4px; - padding: 1em 1em 1em 1em; -} - -legend { - font-size: 0.9em; - font-weight: bold; - padding-bottom: 0.5em; -} - -label { - display: block; - margin: 0 0 1.8em 0; - font-size: 0.75em; - color: rgb(34, 34, 34); - cursor: pointer; - clear: both; -} - -label span { - display: block; - margin-bottom: 5px; -} - -label.error { - border: 1px solid rgb(204, 0, 0); - background-color: rgb(255, 235, 232); - padding: 0.6em; - -moz-border-radius: 4px; - -khtml-border-radius: 4px; - -webkit-border-radius: 4px; - border-radius: 4px; -} - -label.forward { - clear: none; -} - -label a.note-toggle { - background-color: rgb(223, 223, 223); - color: rgb(255, 255, 255); - display: block; - text-align: center; - float: left; - font-weight: bold; - font-size: 1.2em; - padding-top: 1px; - padding-left: 1px; - width: 18px; - height: 18px; - line-height: 18px; - margin-left: 6px; - margin-top: 4px; - -moz-border-radius: 9px; - -khtml-border-radius: 9px; - -webkit-border-radius: 9px; - border-radius: 9px; -} - -label a.note-toggle:hover { - text-decoration: none; - background-color: rgb(50, 140, 0); -} - -label.has-note.for-textarea a.note-toggle { - margin-top: -2px; - margin-left: 6px; -} - -label.has-note.for-select a.note-toggle { - margin-top: 3px; - margin-left: 4px; -} - -label.has-note.for-toggle a.note-toggle { - margin-top: -2px; - margin-left: 6px; -} - -label.for-textarea span, -label.for-toggle span { - float: left; -} - -label.for-toggle span { - margin-bottom: 0; -} - -label span.error { - color: rgb(204, 0, 0); - display: block; - margin: 0.4em 0.4em 0.4em 3em; -} - -label code { - font-size: 1.25em; -} - -fieldset.buttons label.forward { - margin: 0; - float: right; -} - -fieldset.buttons label.back { - margin: 0; - float: left; -} - -p.note { - margin: 0 0 0 2.5em; - color: rgb(102, 102, 102); - border-left: 1px solid rgb(50, 140, 0); - padding: 0.6em; - font-size: 0.9em; - font-style: italic; - clear: both; -} - -input.text { - font-family: 'Lucida Grande', Verdana, Arial, 'Bitstream Vera Sans', sans-serif; - font-size: 1.2em; - padding: 4px; - border: 1px solid rgb(187, 187, 187); - width: 400px; - display: block; - float: left; - -moz-border-radius: 4px; - -khtml-border-radius: 4px; - -webkit-border-radius: 4px; - border-radius: 4px; - clear: both; -} - -select { - font-family: 'Lucida Grande', Verdana, Arial, 'Bitstream Vera Sans', sans-serif; - font-size: 1.2em; - padding: 0; - border: 1px solid rgb(187, 187, 187); - display: block; - float: left; -} - -textarea { - font-family: 'Lucida Grande', Verdana, Arial, 'Bitstream Vera Sans', sans-serif; - font-size: 0.9em; - padding: 0; - border: 1px solid rgb(187, 187, 187); - width: 630px; - max-width: 630px; - height: 38em; - display: block; - -moz-border-radius: 4px; - -khtml-border-radius: 4px; - -webkit-border-radius: 4px; - border-radius: 4px; - clear: both; -} - -textarea#config { - text-align: left; -} - -textarea.short, -textarea#error_log { - height: 15em; -} - -textarea#error_log { - border-color: rgb(153, 0, 0); - color: rgb(153, 0, 0); -} - -input.checkbox { - font-size: 1.25em; -} - -input.button { - background: url('images/white-grad.png') repeat-x 0 0 rgb(242, 242, 242); - -moz-border-radius: 15px; - -khtml-border-radius: 15px; - -webkit-border-radius: 15px; - border-radius: 15px; - border: 1px solid rgb(187, 187, 187); - color: rgb(70, 70, 70); - cursor: pointer; - font-family: 'Lucida Grande', Verdana, Arial, 'Bitstream Vera Sans', sans-serif; - font-size: 1.2em; - line-height: 1.2em; - padding: 0.45em 0.9em; - text-decoration: none; -} - -input.button:hover { - border-color: rgb(102, 102, 102); - color: rgb(0, 0, 0); -} - -input.button:active { - background-image: url('images/white-grad-active.png'); -} - -label#label-toggle_4 { - margin-bottom: 0; -} - -label#label-toggle_4 span { - margin-bottom: 0.4em; -} - -label#label-error_log, -label#label-installation_log { - margin-top: 1.8em; - margin-bottom: 0; -} - -div.clear { - clear: both; - height: 0; - line-height: 0; - font-size: 0; - margin: 0 !important; - padding: 0 !important; -} \ No newline at end of file diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/042/042.test.js b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/042/042.test.js deleted file mode 100644 index 899acba531aa41..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/042/042.test.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -const stylelint = require( 'stylelint' ), - systemTestUtils = require( '../systemTestUtils.js' ); - -it( '042', () => { - return stylelint.lint({ - files: [systemTestUtils.caseStylesheetGlob( '042' )], - configFile: systemTestUtils.caseConfig( '042' ), - }).then( ({ results }) => { - expect( systemTestUtils.prepResults( results ) ).toMatchSnapshot(); - }); -}); diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/042/__snapshots__/042.test.js.snap b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/042/__snapshots__/042.test.js.snap deleted file mode 100644 index 73d886204f51fb..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/042/__snapshots__/042.test.js.snap +++ /dev/null @@ -1,2963 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`042 1`] = ` -Array [ - Object { - "deprecations": Array [], - "errored": true, - "ignored": undefined, - "invalidOptionWarnings": Array [], - "parseErrors": Array [], - "source": "042/stylesheet.css", - "warnings": Array [ - Object { - "column": 32, - "line": 11, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 135, - "line": 12, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 48, - "line": 13, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 22, - "line": 14, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 95, - "line": 15, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 29, - "line": 16, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 19, - "line": 17, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 27, - "line": 18, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 52, - "line": 19, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 28, - "line": 20, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 42, - "line": 21, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 28, - "line": 22, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 28, - "line": 23, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 18, - "line": 24, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 122, - "line": 25, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 45, - "line": 26, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 85, - "line": 27, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 78, - "line": 28, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 34, - "line": 29, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 76, - "line": 30, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 6, - "line": 11, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 117, - "line": 12, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 7, - "line": 13, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 14, - "line": 14, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 57, - "line": 15, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 9, - "line": 16, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 4, - "line": 17, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 12, - "line": 18, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 19, - "line": 19, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 18, - "line": 20, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 14, - "line": 21, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 5, - "line": 22, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 5, - "line": 23, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 8, - "line": 24, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 46, - "line": 25, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 30, - "line": 26, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 6, - "line": 27, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 37, - "line": 28, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 7, - "line": 29, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 22, - "line": 30, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 4, - "line": 11, - "rule": "block-opening-brace-space-before", - "severity": "error", - "text": "Expected single space before \\"{\\" (block-opening-brace-space-before)", - }, - Object { - "column": 115, - "line": 12, - "rule": "block-opening-brace-space-before", - "severity": "error", - "text": "Expected single space before \\"{\\" (block-opening-brace-space-before)", - }, - Object { - "column": 5, - "line": 13, - "rule": "block-opening-brace-space-before", - "severity": "error", - "text": "Expected single space before \\"{\\" (block-opening-brace-space-before)", - }, - Object { - "column": 12, - "line": 14, - "rule": "block-opening-brace-space-before", - "severity": "error", - "text": "Expected single space before \\"{\\" (block-opening-brace-space-before)", - }, - Object { - "column": 55, - "line": 15, - "rule": "block-opening-brace-space-before", - "severity": "error", - "text": "Expected single space before \\"{\\" (block-opening-brace-space-before)", - }, - Object { - "column": 7, - "line": 16, - "rule": "block-opening-brace-space-before", - "severity": "error", - "text": "Expected single space before \\"{\\" (block-opening-brace-space-before)", - }, - Object { - "column": 2, - "line": 17, - "rule": "block-opening-brace-space-before", - "severity": "error", - "text": "Expected single space before \\"{\\" (block-opening-brace-space-before)", - }, - Object { - "column": 10, - "line": 18, - "rule": "block-opening-brace-space-before", - "severity": "error", - "text": "Expected single space before \\"{\\" (block-opening-brace-space-before)", - }, - Object { - "column": 17, - "line": 19, - "rule": "block-opening-brace-space-before", - "severity": "error", - "text": "Expected single space before \\"{\\" (block-opening-brace-space-before)", - }, - Object { - "column": 16, - "line": 20, - "rule": "block-opening-brace-space-before", - "severity": "error", - "text": "Expected single space before \\"{\\" (block-opening-brace-space-before)", - }, - Object { - "column": 12, - "line": 21, - "rule": "block-opening-brace-space-before", - "severity": "error", - "text": "Expected single space before \\"{\\" (block-opening-brace-space-before)", - }, - Object { - "column": 3, - "line": 22, - "rule": "block-opening-brace-space-before", - "severity": "error", - "text": "Expected single space before \\"{\\" (block-opening-brace-space-before)", - }, - Object { - "column": 3, - "line": 23, - "rule": "block-opening-brace-space-before", - "severity": "error", - "text": "Expected single space before \\"{\\" (block-opening-brace-space-before)", - }, - Object { - "column": 6, - "line": 24, - "rule": "block-opening-brace-space-before", - "severity": "error", - "text": "Expected single space before \\"{\\" (block-opening-brace-space-before)", - }, - Object { - "column": 44, - "line": 25, - "rule": "block-opening-brace-space-before", - "severity": "error", - "text": "Expected single space before \\"{\\" (block-opening-brace-space-before)", - }, - Object { - "column": 28, - "line": 26, - "rule": "block-opening-brace-space-before", - "severity": "error", - "text": "Expected single space before \\"{\\" (block-opening-brace-space-before)", - }, - Object { - "column": 4, - "line": 27, - "rule": "block-opening-brace-space-before", - "severity": "error", - "text": "Expected single space before \\"{\\" (block-opening-brace-space-before)", - }, - Object { - "column": 35, - "line": 28, - "rule": "block-opening-brace-space-before", - "severity": "error", - "text": "Expected single space before \\"{\\" (block-opening-brace-space-before)", - }, - Object { - "column": 5, - "line": 29, - "rule": "block-opening-brace-space-before", - "severity": "error", - "text": "Expected single space before \\"{\\" (block-opening-brace-space-before)", - }, - Object { - "column": 20, - "line": 30, - "rule": "block-opening-brace-space-before", - "severity": "error", - "text": "Expected single space before \\"{\\" (block-opening-brace-space-before)", - }, - Object { - "column": 24, - "line": 1227, - "rule": "block-opening-brace-space-before", - "severity": "error", - "text": "Expected single space before \\"{\\" (block-opening-brace-space-before)", - }, - Object { - "column": 28, - "line": 1231, - "rule": "block-opening-brace-space-before", - "severity": "error", - "text": "Expected single space before \\"{\\" (block-opening-brace-space-before)", - }, - Object { - "column": 28, - "line": 11, - "rule": "color-hex-case", - "severity": "error", - "text": "Expected \\"#FFF\\" to be \\"#fff\\" (color-hex-case)", - }, - Object { - "column": 9, - "line": 85, - "rule": "color-named", - "severity": "error", - "text": "Unexpected named color \\"white\\" (color-named)", - }, - Object { - "column": 2, - "line": 64, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 1888, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 1916, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 1921, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 72, - "line": 27, - "rule": "declaration-block-no-duplicate-properties", - "severity": "error", - "text": "Unexpected duplicate \\"font\\" (declaration-block-no-duplicate-properties)", - }, - Object { - "column": 2, - "line": 1792, - "rule": "declaration-block-no-duplicate-properties", - "severity": "error", - "text": "Unexpected duplicate \\"cursor\\" (declaration-block-no-duplicate-properties)", - }, - Object { - "column": 17, - "line": 11, - "rule": "declaration-block-semicolon-newline-after", - "severity": "error", - "text": "Expected newline after \\";\\" (declaration-block-semicolon-newline-after)", - }, - Object { - "column": 126, - "line": 12, - "rule": "declaration-block-semicolon-newline-after", - "severity": "error", - "text": "Expected newline after \\";\\" (declaration-block-semicolon-newline-after)", - }, - Object { - "column": 32, - "line": 13, - "rule": "declaration-block-semicolon-newline-after", - "severity": "error", - "text": "Expected newline after \\";\\" (declaration-block-semicolon-newline-after)", - }, - Object { - "column": 76, - "line": 15, - "rule": "declaration-block-semicolon-newline-after", - "severity": "error", - "text": "Expected newline after \\";\\" (declaration-block-semicolon-newline-after)", - }, - Object { - "column": 34, - "line": 19, - "rule": "declaration-block-semicolon-newline-after", - "severity": "error", - "text": "Expected newline after \\";\\" (declaration-block-semicolon-newline-after)", - }, - Object { - "column": 23, - "line": 21, - "rule": "declaration-block-semicolon-newline-after", - "severity": "error", - "text": "Expected newline after \\";\\" (declaration-block-semicolon-newline-after)", - }, - Object { - "column": 66, - "line": 25, - "rule": "declaration-block-semicolon-newline-after", - "severity": "error", - "text": "Expected newline after \\";\\" (declaration-block-semicolon-newline-after)", - }, - Object { - "column": 84, - "line": 25, - "rule": "declaration-block-semicolon-newline-after", - "severity": "error", - "text": "Expected newline after \\";\\" (declaration-block-semicolon-newline-after)", - }, - Object { - "column": 103, - "line": 25, - "rule": "declaration-block-semicolon-newline-after", - "severity": "error", - "text": "Expected newline after \\";\\" (declaration-block-semicolon-newline-after)", - }, - Object { - "column": 55, - "line": 27, - "rule": "declaration-block-semicolon-newline-after", - "severity": "error", - "text": "Expected newline after \\";\\" (declaration-block-semicolon-newline-after)", - }, - Object { - "column": 71, - "line": 27, - "rule": "declaration-block-semicolon-newline-after", - "severity": "error", - "text": "Expected newline after \\";\\" (declaration-block-semicolon-newline-after)", - }, - Object { - "column": 25, - "line": 29, - "rule": "declaration-block-semicolon-newline-after", - "severity": "error", - "text": "Expected newline after \\";\\" (declaration-block-semicolon-newline-after)", - }, - Object { - "column": 44, - "line": 30, - "rule": "declaration-block-semicolon-newline-after", - "severity": "error", - "text": "Expected newline after \\";\\" (declaration-block-semicolon-newline-after)", - }, - Object { - "column": 59, - "line": 30, - "rule": "declaration-block-semicolon-newline-after", - "severity": "error", - "text": "Expected newline after \\";\\" (declaration-block-semicolon-newline-after)", - }, - Object { - "column": 12, - "line": 11, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 28, - "line": 11, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 124, - "line": 12, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 134, - "line": 12, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 23, - "line": 13, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 47, - "line": 13, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 21, - "line": 14, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 68, - "line": 15, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 88, - "line": 15, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 25, - "line": 16, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 15, - "line": 17, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 23, - "line": 18, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 29, - "line": 19, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 46, - "line": 19, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 26, - "line": 20, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 21, - "line": 21, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 36, - "line": 21, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 20, - "line": 22, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 20, - "line": 23, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 14, - "line": 24, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 58, - "line": 25, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 76, - "line": 25, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 95, - "line": 25, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 115, - "line": 25, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 40, - "line": 26, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 11, - "line": 27, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 65, - "line": 27, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 77, - "line": 27, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 42, - "line": 28, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 17, - "line": 29, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 30, - "line": 29, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 34, - "line": 30, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 54, - "line": 30, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 72, - "line": 30, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 72, - "line": 30, - "rule": "declaration-property-unit-whitelist", - "severity": "error", - "text": "Unexpected unit \\"%\\" for property \\"line-height\\" (declaration-property-unit-whitelist)", - }, - Object { - "column": 15, - "line": 42, - "rule": "declaration-property-unit-whitelist", - "severity": "error", - "text": "Unexpected unit \\"em\\" for property \\"line-height\\" (declaration-property-unit-whitelist)", - }, - Object { - "column": 15, - "line": 813, - "rule": "declaration-property-unit-whitelist", - "severity": "error", - "text": "Unexpected unit \\"em\\" for property \\"line-height\\" (declaration-property-unit-whitelist)", - }, - Object { - "column": 15, - "line": 875, - "rule": "declaration-property-unit-whitelist", - "severity": "error", - "text": "Unexpected unit \\"em\\" for property \\"line-height\\" (declaration-property-unit-whitelist)", - }, - Object { - "column": 15, - "line": 917, - "rule": "declaration-property-unit-whitelist", - "severity": "error", - "text": "Unexpected unit \\"em\\" for property \\"line-height\\" (declaration-property-unit-whitelist)", - }, - Object { - "column": 15, - "line": 989, - "rule": "declaration-property-unit-whitelist", - "severity": "error", - "text": "Unexpected unit \\"em\\" for property \\"line-height\\" (declaration-property-unit-whitelist)", - }, - Object { - "column": 15, - "line": 1124, - "rule": "declaration-property-unit-whitelist", - "severity": "error", - "text": "Unexpected unit \\"em\\" for property \\"line-height\\" (declaration-property-unit-whitelist)", - }, - Object { - "column": 15, - "line": 1306, - "rule": "declaration-property-unit-whitelist", - "severity": "error", - "text": "Unexpected unit \\"em\\" for property \\"line-height\\" (declaration-property-unit-whitelist)", - }, - Object { - "column": 46, - "line": 19, - "rule": "font-weight-notation", - "severity": "error", - "text": "Expected numeric font-weight notation (font-weight-notation)", - }, - Object { - "column": 8, - "line": 84, - "rule": "font-weight-notation", - "severity": "error", - "text": "Expected numeric font-weight notation (font-weight-notation)", - }, - Object { - "column": 15, - "line": 161, - "rule": "font-weight-notation", - "severity": "error", - "text": "Expected numeric font-weight notation (font-weight-notation)", - }, - Object { - "column": 8, - "line": 272, - "rule": "font-weight-notation", - "severity": "error", - "text": "Expected numeric font-weight notation (font-weight-notation)", - }, - Object { - "column": 8, - "line": 563, - "rule": "font-weight-notation", - "severity": "error", - "text": "Expected numeric font-weight notation (font-weight-notation)", - }, - Object { - "column": 8, - "line": 594, - "rule": "font-weight-notation", - "severity": "error", - "text": "Expected numeric font-weight notation (font-weight-notation)", - }, - Object { - "column": 15, - "line": 625, - "rule": "font-weight-notation", - "severity": "error", - "text": "Expected numeric font-weight notation (font-weight-notation)", - }, - Object { - "column": 15, - "line": 672, - "rule": "font-weight-notation", - "severity": "error", - "text": "Expected numeric font-weight notation (font-weight-notation)", - }, - Object { - "column": 15, - "line": 745, - "rule": "font-weight-notation", - "severity": "error", - "text": "Expected numeric font-weight notation (font-weight-notation)", - }, - Object { - "column": 15, - "line": 791, - "rule": "font-weight-notation", - "severity": "error", - "text": "Expected numeric font-weight notation (font-weight-notation)", - }, - Object { - "column": 15, - "line": 796, - "rule": "font-weight-notation", - "severity": "error", - "text": "Expected numeric font-weight notation (font-weight-notation)", - }, - Object { - "column": 15, - "line": 802, - "rule": "font-weight-notation", - "severity": "error", - "text": "Expected numeric font-weight notation (font-weight-notation)", - }, - Object { - "column": 15, - "line": 833, - "rule": "font-weight-notation", - "severity": "error", - "text": "Expected numeric font-weight notation (font-weight-notation)", - }, - Object { - "column": 15, - "line": 997, - "rule": "font-weight-notation", - "severity": "error", - "text": "Expected numeric font-weight notation (font-weight-notation)", - }, - Object { - "column": 15, - "line": 1001, - "rule": "font-weight-notation", - "severity": "error", - "text": "Expected numeric font-weight notation (font-weight-notation)", - }, - Object { - "column": 15, - "line": 1027, - "rule": "font-weight-notation", - "severity": "error", - "text": "Expected numeric font-weight notation (font-weight-notation)", - }, - Object { - "column": 15, - "line": 1036, - "rule": "font-weight-notation", - "severity": "error", - "text": "Expected numeric font-weight notation (font-weight-notation)", - }, - Object { - "column": 15, - "line": 1120, - "rule": "font-weight-notation", - "severity": "error", - "text": "Expected numeric font-weight notation (font-weight-notation)", - }, - Object { - "column": 15, - "line": 1177, - "rule": "font-weight-notation", - "severity": "error", - "text": "Expected numeric font-weight notation (font-weight-notation)", - }, - Object { - "column": 15, - "line": 1190, - "rule": "font-weight-notation", - "severity": "error", - "text": "Expected numeric font-weight notation (font-weight-notation)", - }, - Object { - "column": 15, - "line": 1232, - "rule": "font-weight-notation", - "severity": "error", - "text": "Expected numeric font-weight notation (font-weight-notation)", - }, - Object { - "column": 15, - "line": 1302, - "rule": "font-weight-notation", - "severity": "error", - "text": "Expected numeric font-weight notation (font-weight-notation)", - }, - Object { - "column": 15, - "line": 1318, - "rule": "font-weight-notation", - "severity": "error", - "text": "Expected numeric font-weight notation (font-weight-notation)", - }, - Object { - "column": 15, - "line": 1379, - "rule": "font-weight-notation", - "severity": "error", - "text": "Expected numeric font-weight notation (font-weight-notation)", - }, - Object { - "column": 15, - "line": 1549, - "rule": "font-weight-notation", - "severity": "error", - "text": "Expected numeric font-weight notation (font-weight-notation)", - }, - Object { - "column": 15, - "line": 1589, - "rule": "font-weight-notation", - "severity": "error", - "text": "Expected numeric font-weight notation (font-weight-notation)", - }, - Object { - "column": 15, - "line": 1765, - "rule": "font-weight-notation", - "severity": "error", - "text": "Expected numeric font-weight notation (font-weight-notation)", - }, - Object { - "column": 15, - "line": 1793, - "rule": "font-weight-notation", - "severity": "error", - "text": "Expected numeric font-weight notation (font-weight-notation)", - }, - Object { - "column": 30, - "line": 83, - "rule": "function-url-quotes", - "severity": "error", - "text": "Unexpected quotes (function-url-quotes)", - }, - Object { - "column": 34, - "line": 101, - "rule": "function-url-quotes", - "severity": "error", - "text": "Unexpected quotes (function-url-quotes)", - }, - Object { - "column": 24, - "line": 175, - "rule": "function-url-quotes", - "severity": "error", - "text": "Unexpected quotes (function-url-quotes)", - }, - Object { - "column": 24, - "line": 181, - "rule": "function-url-quotes", - "severity": "error", - "text": "Unexpected quotes (function-url-quotes)", - }, - Object { - "column": 24, - "line": 187, - "rule": "function-url-quotes", - "severity": "error", - "text": "Unexpected quotes (function-url-quotes)", - }, - Object { - "column": 24, - "line": 193, - "rule": "function-url-quotes", - "severity": "error", - "text": "Unexpected quotes (function-url-quotes)", - }, - Object { - "column": 24, - "line": 199, - "rule": "function-url-quotes", - "severity": "error", - "text": "Unexpected quotes (function-url-quotes)", - }, - Object { - "column": 24, - "line": 205, - "rule": "function-url-quotes", - "severity": "error", - "text": "Unexpected quotes (function-url-quotes)", - }, - Object { - "column": 24, - "line": 211, - "rule": "function-url-quotes", - "severity": "error", - "text": "Unexpected quotes (function-url-quotes)", - }, - Object { - "column": 30, - "line": 217, - "rule": "function-url-quotes", - "severity": "error", - "text": "Unexpected quotes (function-url-quotes)", - }, - Object { - "column": 24, - "line": 223, - "rule": "function-url-quotes", - "severity": "error", - "text": "Unexpected quotes (function-url-quotes)", - }, - Object { - "column": 24, - "line": 229, - "rule": "function-url-quotes", - "severity": "error", - "text": "Unexpected quotes (function-url-quotes)", - }, - Object { - "column": 37, - "line": 268, - "rule": "function-url-quotes", - "severity": "error", - "text": "Unexpected quotes (function-url-quotes)", - }, - Object { - "column": 24, - "line": 369, - "rule": "function-url-quotes", - "severity": "error", - "text": "Unexpected quotes (function-url-quotes)", - }, - Object { - "column": 30, - "line": 407, - "rule": "function-url-quotes", - "severity": "error", - "text": "Unexpected quotes (function-url-quotes)", - }, - Object { - "column": 30, - "line": 501, - "rule": "function-url-quotes", - "severity": "error", - "text": "Unexpected quotes (function-url-quotes)", - }, - Object { - "column": 30, - "line": 510, - "rule": "function-url-quotes", - "severity": "error", - "text": "Unexpected quotes (function-url-quotes)", - }, - Object { - "column": 37, - "line": 598, - "rule": "function-url-quotes", - "severity": "error", - "text": "Unexpected quotes (function-url-quotes)", - }, - Object { - "column": 37, - "line": 603, - "rule": "function-url-quotes", - "severity": "error", - "text": "Unexpected quotes (function-url-quotes)", - }, - Object { - "column": 24, - "line": 613, - "rule": "function-url-quotes", - "severity": "error", - "text": "Unexpected quotes (function-url-quotes)", - }, - Object { - "column": 24, - "line": 618, - "rule": "function-url-quotes", - "severity": "error", - "text": "Unexpected quotes (function-url-quotes)", - }, - Object { - "column": 18, - "line": 741, - "rule": "function-url-quotes", - "severity": "error", - "text": "Unexpected quotes (function-url-quotes)", - }, - Object { - "column": 18, - "line": 808, - "rule": "function-url-quotes", - "severity": "error", - "text": "Unexpected quotes (function-url-quotes)", - }, - Object { - "column": 18, - "line": 822, - "rule": "function-url-quotes", - "severity": "error", - "text": "Unexpected quotes (function-url-quotes)", - }, - Object { - "column": 18, - "line": 913, - "rule": "function-url-quotes", - "severity": "error", - "text": "Unexpected quotes (function-url-quotes)", - }, - Object { - "column": 18, - "line": 927, - "rule": "function-url-quotes", - "severity": "error", - "text": "Unexpected quotes (function-url-quotes)", - }, - Object { - "column": 18, - "line": 1002, - "rule": "function-url-quotes", - "severity": "error", - "text": "Unexpected quotes (function-url-quotes)", - }, - Object { - "column": 24, - "line": 1110, - "rule": "function-url-quotes", - "severity": "error", - "text": "Unexpected quotes (function-url-quotes)", - }, - Object { - "column": 18, - "line": 1117, - "rule": "function-url-quotes", - "severity": "error", - "text": "Unexpected quotes (function-url-quotes)", - }, - Object { - "column": 18, - "line": 1299, - "rule": "function-url-quotes", - "severity": "error", - "text": "Unexpected quotes (function-url-quotes)", - }, - Object { - "column": 24, - "line": 1641, - "rule": "function-url-quotes", - "severity": "error", - "text": "Unexpected quotes (function-url-quotes)", - }, - Object { - "column": 18, - "line": 1763, - "rule": "function-url-quotes", - "severity": "error", - "text": "Unexpected quotes (function-url-quotes)", - }, - Object { - "column": 18, - "line": 1790, - "rule": "function-url-quotes", - "severity": "error", - "text": "Unexpected quotes (function-url-quotes)", - }, - Object { - "column": 18, - "line": 1805, - "rule": "function-url-quotes", - "severity": "error", - "text": "Unexpected quotes (function-url-quotes)", - }, - Object { - "column": 8, - "line": 216, - "rule": "indentation", - "severity": "error", - "text": "Expected indentation of 1 tab (indentation)", - }, - Object { - "column": 8, - "line": 217, - "rule": "indentation", - "severity": "error", - "text": "Expected indentation of 1 tab (indentation)", - }, - Object { - "column": 8, - "line": 218, - "rule": "indentation", - "severity": "error", - "text": "Expected indentation of 1 tab (indentation)", - }, - Object { - "column": 32, - "line": 103, - "rule": "length-zero-no-unit", - "severity": "error", - "text": "Unexpected unit (length-zero-no-unit)", - }, - Object { - "column": 41, - "line": 103, - "rule": "length-zero-no-unit", - "severity": "error", - "text": "Unexpected unit (length-zero-no-unit)", - }, - Object { - "column": 12, - "line": 114, - "rule": "length-zero-no-unit", - "severity": "error", - "text": "Unexpected unit (length-zero-no-unit)", - }, - Object { - "column": 35, - "line": 163, - "rule": "length-zero-no-unit", - "severity": "error", - "text": "Unexpected unit (length-zero-no-unit)", - }, - Object { - "column": 43, - "line": 163, - "rule": "length-zero-no-unit", - "severity": "error", - "text": "Unexpected unit (length-zero-no-unit)", - }, - Object { - "column": 35, - "line": 291, - "rule": "length-zero-no-unit", - "severity": "error", - "text": "Unexpected unit (length-zero-no-unit)", - }, - Object { - "column": 44, - "line": 291, - "rule": "length-zero-no-unit", - "severity": "error", - "text": "Unexpected unit (length-zero-no-unit)", - }, - Object { - "column": 35, - "line": 742, - "rule": "length-zero-no-unit", - "severity": "error", - "text": "Unexpected unit (length-zero-no-unit)", - }, - Object { - "column": 43, - "line": 742, - "rule": "length-zero-no-unit", - "severity": "error", - "text": "Unexpected unit (length-zero-no-unit)", - }, - Object { - "column": 11, - "line": 747, - "rule": "length-zero-no-unit", - "severity": "error", - "text": "Unexpected unit (length-zero-no-unit)", - }, - Object { - "column": 15, - "line": 1016, - "rule": "length-zero-no-unit", - "severity": "error", - "text": "Unexpected unit (length-zero-no-unit)", - }, - Object { - "column": 35, - "line": 1118, - "rule": "length-zero-no-unit", - "severity": "error", - "text": "Unexpected unit (length-zero-no-unit)", - }, - Object { - "column": 43, - "line": 1118, - "rule": "length-zero-no-unit", - "severity": "error", - "text": "Unexpected unit (length-zero-no-unit)", - }, - Object { - "column": 11, - "line": 1241, - "rule": "length-zero-no-unit", - "severity": "error", - "text": "Unexpected unit (length-zero-no-unit)", - }, - Object { - "column": 35, - "line": 1300, - "rule": "length-zero-no-unit", - "severity": "error", - "text": "Unexpected unit (length-zero-no-unit)", - }, - Object { - "column": 43, - "line": 1300, - "rule": "length-zero-no-unit", - "severity": "error", - "text": "Unexpected unit (length-zero-no-unit)", - }, - Object { - "column": 11, - "line": 1602, - "rule": "length-zero-no-unit", - "severity": "error", - "text": "Unexpected unit (length-zero-no-unit)", - }, - Object { - "column": 35, - "line": 1627, - "rule": "length-zero-no-unit", - "severity": "error", - "text": "Unexpected unit (length-zero-no-unit)", - }, - Object { - "column": 43, - "line": 1627, - "rule": "length-zero-no-unit", - "severity": "error", - "text": "Unexpected unit (length-zero-no-unit)", - }, - Object { - "column": 35, - "line": 1636, - "rule": "length-zero-no-unit", - "severity": "error", - "text": "Unexpected unit (length-zero-no-unit)", - }, - Object { - "column": 43, - "line": 1636, - "rule": "length-zero-no-unit", - "severity": "error", - "text": "Unexpected unit (length-zero-no-unit)", - }, - Object { - "column": 1, - "line": 146, - "rule": "max-empty-lines", - "severity": "error", - "text": "Expected no more than 2 empty lines (max-empty-lines)", - }, - Object { - "column": 1, - "line": 147, - "rule": "max-empty-lines", - "severity": "error", - "text": "Expected no more than 2 empty lines (max-empty-lines)", - }, - Object { - "column": 1, - "line": 235, - "rule": "max-empty-lines", - "severity": "error", - "text": "Expected no more than 2 empty lines (max-empty-lines)", - }, - Object { - "column": 1, - "line": 236, - "rule": "max-empty-lines", - "severity": "error", - "text": "Expected no more than 2 empty lines (max-empty-lines)", - }, - Object { - "column": 1, - "line": 237, - "rule": "max-empty-lines", - "severity": "error", - "text": "Expected no more than 2 empty lines (max-empty-lines)", - }, - Object { - "column": 1, - "line": 838, - "rule": "max-empty-lines", - "severity": "error", - "text": "Expected no more than 2 empty lines (max-empty-lines)", - }, - Object { - "column": 1, - "line": 932, - "rule": "max-empty-lines", - "severity": "error", - "text": "Expected no more than 2 empty lines (max-empty-lines)", - }, - Object { - "column": 1, - "line": 1041, - "rule": "max-empty-lines", - "severity": "error", - "text": "Expected no more than 2 empty lines (max-empty-lines)", - }, - Object { - "column": 1, - "line": 1042, - "rule": "max-empty-lines", - "severity": "error", - "text": "Expected no more than 2 empty lines (max-empty-lines)", - }, - Object { - "column": 1, - "line": 1248, - "rule": "max-empty-lines", - "severity": "error", - "text": "Expected no more than 2 empty lines (max-empty-lines)", - }, - Object { - "column": 1, - "line": 1373, - "rule": "max-empty-lines", - "severity": "error", - "text": "Expected no more than 2 empty lines (max-empty-lines)", - }, - Object { - "column": 1, - "line": 1882, - "rule": "max-empty-lines", - "severity": "error", - "text": "Expected no more than 2 empty lines (max-empty-lines)", - }, - Object { - "column": 1, - "line": 1883, - "rule": "max-empty-lines", - "severity": "error", - "text": "Expected no more than 2 empty lines (max-empty-lines)", - }, - Object { - "column": 1, - "line": 1884, - "rule": "max-empty-lines", - "severity": "error", - "text": "Expected no more than 2 empty lines (max-empty-lines)", - }, - Object { - "column": 1, - "line": 1885, - "rule": "max-empty-lines", - "severity": "error", - "text": "Expected no more than 2 empty lines (max-empty-lines)", - }, - Object { - "column": 1, - "line": 1886, - "rule": "max-empty-lines", - "severity": "error", - "text": "Expected no more than 2 empty lines (max-empty-lines)", - }, - Object { - "column": 1, - "line": 1887, - "rule": "max-empty-lines", - "severity": "error", - "text": "Expected no more than 2 empty lines (max-empty-lines)", - }, - Object { - "column": 1, - "line": 1929, - "rule": "max-empty-lines", - "severity": "error", - "text": "Expected no more than 2 empty lines (max-empty-lines)", - }, - Object { - "column": 1, - "line": 1930, - "rule": "max-empty-lines", - "severity": "error", - "text": "Expected no more than 2 empty lines (max-empty-lines)", - }, - Object { - "column": 1, - "line": 258, - "rule": "no-eol-whitespace", - "severity": "error", - "text": "Unexpected whitespace at end of line (no-eol-whitespace)", - }, - Object { - "column": 1, - "line": 497, - "rule": "no-eol-whitespace", - "severity": "error", - "text": "Unexpected whitespace at end of line (no-eol-whitespace)", - }, - Object { - "column": 1, - "line": 1136, - "rule": "no-eol-whitespace", - "severity": "error", - "text": "Unexpected whitespace at end of line (no-eol-whitespace)", - }, - Object { - "column": 1, - "line": 12, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 13, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 14, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 15, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 16, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 17, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 18, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 19, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 20, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 21, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 22, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 23, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 24, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 25, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 26, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 27, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 28, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 29, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 30, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 1499, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 5, - "line": 12, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 9, - "line": 12, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 12, - "line": 12, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 15, - "line": 12, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 18, - "line": 12, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 21, - "line": 12, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 24, - "line": 12, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 27, - "line": 12, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 30, - "line": 12, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 33, - "line": 12, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 36, - "line": 12, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 39, - "line": 12, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 42, - "line": 12, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 45, - "line": 12, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 49, - "line": 12, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 54, - "line": 12, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 59, - "line": 12, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 68, - "line": 12, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 75, - "line": 12, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 81, - "line": 12, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 88, - "line": 12, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 97, - "line": 12, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 99, - "line": 12, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 110, - "line": 12, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 113, - "line": 12, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 9, - "line": 14, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 8, - "line": 15, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 16, - "line": 15, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 21, - "line": 15, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 26, - "line": 15, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 30, - "line": 15, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 33, - "line": 15, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 40, - "line": 15, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 43, - "line": 15, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 47, - "line": 15, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 4, - "line": 16, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 8, - "line": 18, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 3, - "line": 19, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 6, - "line": 19, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 9, - "line": 19, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 12, - "line": 19, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 15, - "line": 19, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 9, - "line": 20, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 5, - "line": 21, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 6, - "line": 25, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 13, - "line": 25, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 22, - "line": 25, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 29, - "line": 25, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 38, - "line": 25, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 6, - "line": 26, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 13, - "line": 26, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 22, - "line": 26, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 7, - "line": 28, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 13, - "line": 28, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 20, - "line": 28, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 29, - "line": 28, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 4, - "line": 30, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 9, - "line": 30, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 13, - "line": 30, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 18, - "line": 30, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 26, - "line": 840, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 24, - "line": 882, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 41, - "line": 906, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 47, - "line": 921, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 48, - "line": 926, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 26, - "line": 20, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 15, - "line": 43, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 48, - "line": 43, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 30, - "line": 83, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 50, - "line": 84, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 69, - "line": 84, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 34, - "line": 101, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 51, - "line": 161, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 70, - "line": 161, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 24, - "line": 175, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 24, - "line": 181, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 24, - "line": 187, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 24, - "line": 193, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 24, - "line": 199, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 24, - "line": 205, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 24, - "line": 211, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 30, - "line": 217, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 24, - "line": 223, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 24, - "line": 229, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 37, - "line": 268, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 48, - "line": 272, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 67, - "line": 272, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 24, - "line": 369, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 30, - "line": 407, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 30, - "line": 501, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 30, - "line": 510, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 49, - "line": 563, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 68, - "line": 563, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 42, - "line": 594, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 75, - "line": 594, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 37, - "line": 598, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 37, - "line": 603, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 24, - "line": 613, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 24, - "line": 618, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 18, - "line": 741, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 24, - "line": 762, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 43, - "line": 762, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 24, - "line": 779, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 43, - "line": 779, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 18, - "line": 808, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 18, - "line": 822, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 15, - "line": 873, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 48, - "line": 873, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 15, - "line": 891, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 48, - "line": 891, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 15, - "line": 897, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 48, - "line": 897, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 15, - "line": 907, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 48, - "line": 907, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 18, - "line": 913, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 18, - "line": 927, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 15, - "line": 987, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 48, - "line": 987, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 18, - "line": 1002, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 24, - "line": 1110, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 18, - "line": 1117, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 18, - "line": 1299, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 24, - "line": 1641, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 15, - "line": 1689, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 48, - "line": 1689, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 15, - "line": 1753, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 48, - "line": 1753, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 18, - "line": 1763, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 15, - "line": 1780, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 48, - "line": 1780, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 18, - "line": 1790, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 18, - "line": 1805, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 24, - "line": 1833, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 43, - "line": 1833, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 24, - "line": 1850, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 43, - "line": 1850, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 27, - "line": 27, - "rule": "value-list-comma-space-after", - "severity": "error", - "text": "Expected single space after \\",\\" in a single-line list (value-list-comma-space-after)", - }, - Object { - "column": 37, - "line": 27, - "rule": "value-list-comma-space-after", - "severity": "error", - "text": "Expected single space after \\",\\" in a single-line list (value-list-comma-space-after)", - }, - Object { - "column": 43, - "line": 27, - "rule": "value-list-comma-space-after", - "severity": "error", - "text": "Expected single space after \\",\\" in a single-line list (value-list-comma-space-after)", - }, - Object { - "column": 51, - "line": 28, - "rule": "value-list-comma-space-after", - "severity": "error", - "text": "Expected single space after \\",\\" in a single-line list (value-list-comma-space-after)", - }, - Object { - "column": 61, - "line": 28, - "rule": "value-list-comma-space-after", - "severity": "error", - "text": "Expected single space after \\",\\" in a single-line list (value-list-comma-space-after)", - }, - Object { - "column": 67, - "line": 28, - "rule": "value-list-comma-space-after", - "severity": "error", - "text": "Expected single space after \\",\\" in a single-line list (value-list-comma-space-after)", - }, - Object { - "column": 27, - "line": 257, - "rule": "block-no-empty", - "severity": "error", - "text": "Unexpected empty block (block-no-empty)", - }, - Object { - "column": 45, - "line": 496, - "rule": "block-no-empty", - "severity": "error", - "text": "Unexpected empty block (block-no-empty)", - }, - Object { - "column": 72, - "line": 27, - "rule": "declaration-block-no-shorthand-property-overrides", - "severity": "error", - "text": "Unexpected shorthand \\"font\\" after \\"font-size\\" (declaration-block-no-shorthand-property-overrides)", - }, - Object { - "column": 25, - "line": 29, - "rule": "declaration-block-no-shorthand-property-overrides", - "severity": "error", - "text": "Unexpected shorthand \\"font\\" after \\"font-size\\" (declaration-block-no-shorthand-property-overrides)", - }, - Object { - "column": 2, - "line": 1255, - "rule": "property-no-unknown", - "severity": "error", - "text": "Unexpected unknown property \\"xwidth\\" (property-no-unknown)", - }, - Object { - "column": 2, - "line": 1354, - "rule": "property-no-unknown", - "severity": "error", - "text": "Unexpected unknown property \\"xwidth\\" (property-no-unknown)", - }, - Object { - "column": 2, - "line": 650, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '5px 0 2px 0' instead of '5px 0 2px' (shorthand-property-no-redundant-values)", - }, - Object { - "column": 2, - "line": 693, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '5px 0 2px 0' instead of '5px 0 2px' (shorthand-property-no-redundant-values)", - }, - Object { - "column": 2, - "line": 721, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '10px 5px 20px 5px' instead of '10px 5px 20px' (shorthand-property-no-redundant-values)", - }, - Object { - "column": 2, - "line": 841, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '10px 0 0 0' instead of '10px 0 0' (shorthand-property-no-redundant-values)", - }, - Object { - "column": 2, - "line": 860, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '0 0 3px 0' instead of '0 0 3px' (shorthand-property-no-redundant-values)", - }, - Object { - "column": 2, - "line": 952, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '13px 0 0 0' instead of '13px 0 0' (shorthand-property-no-redundant-values)", - }, - Object { - "column": 2, - "line": 956, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '0 0 16px 0' instead of '0 0 16px' (shorthand-property-no-redundant-values)", - }, - Object { - "column": 2, - "line": 965, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '0 0 3px 0' instead of '0 0 3px' (shorthand-property-no-redundant-values)", - }, - Object { - "column": 2, - "line": 996, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '4px 0 0 0' instead of '4px 0 0' (shorthand-property-no-redundant-values)", - }, - Object { - "column": 2, - "line": 1291, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '3px 0 0 0' instead of '3px 0 0' (shorthand-property-no-redundant-values)", - }, - Object { - "column": 2, - "line": 1295, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '0 7px 3px 7px' instead of '0 7px 3px' (shorthand-property-no-redundant-values)", - }, - Object { - "column": 2, - "line": 1380, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '0 0 1em 0' instead of '0 0 1em' (shorthand-property-no-redundant-values)", - }, - Object { - "column": 2, - "line": 1462, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '0 0 1em 0' instead of '0 0 1em' (shorthand-property-no-redundant-values)", - }, - Object { - "column": 2, - "line": 1467, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '0 0 1em 0' instead of '0 0 1em' (shorthand-property-no-redundant-values)", - }, - Object { - "column": 2, - "line": 1475, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '0 0 0 0' instead of '0' (shorthand-property-no-redundant-values)", - }, - Object { - "column": 2, - "line": 1550, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '0 0 1em 0' instead of '0 0 1em' (shorthand-property-no-redundant-values)", - }, - Object { - "column": 2, - "line": 1570, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '0 0 1em 0' instead of '0 0 1em' (shorthand-property-no-redundant-values)", - }, - Object { - "column": 2, - "line": 1579, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '0 4em 1em 4em' instead of '0 4em 1em' (shorthand-property-no-redundant-values)", - }, - Object { - "column": 2, - "line": 1663, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '3px 0 6px 0' instead of '3px 0 6px' (shorthand-property-no-redundant-values)", - }, - ], - }, -] -`; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/042/config.json b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/042/config.json deleted file mode 100644 index a8af7d5dcb61b9..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/042/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../index.js" -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/042/stylesheet.css b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/042/stylesheet.css deleted file mode 100644 index 9d359ce509fbd9..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/042/stylesheet.css +++ /dev/null @@ -1,1932 +0,0 @@ -/* -Start with some basic resets -*/ - -/* -Copyright (c) 2009, Yahoo! Inc. All rights reserved. -Code licensed under the BSD License: -http://developer.yahoo.net/yui/license.txt -version: 2.7.0 -*/ -html{color:#000;background:#FFF;} -body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,button,textarea,p,blockquote,th,td{margin:0;padding:0;} -table{border-collapse:collapse;border-spacing:0;} -fieldset,img{border:0;} -address,caption,cite,code,dfn,em,strong,th,var,optgroup{font-style:inherit;font-weight:inherit;} -del,ins{text-decoration:none;} -li{list-style:none;} -caption,th{text-align:left;} -h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;} -q:before,q:after{content:'';} -abbr,acronym{border:0;font-variant:normal;} -sup{vertical-align:baseline;} -sub{vertical-align:baseline;} -legend{color:#000;} -input,button,textarea,select,optgroup,option{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;} -input,button,textarea,select{*font-size:100%;} -body{font:13px/1.231 arial,helvetica,clean,sans-serif;*font-size:small;*font:x-small;} -select,input,button,textarea,button{font:99% arial,helvetica,clean,sans-serif;} -table{font-size:inherit;font:100%;} -pre,code,kbd,samp,tt{font-family:monospace;*font-size:108%;line-height:100%;} - - -html { - height: 100%; - background-color: rgb(249, 249, 249); -} - -body { - height: 100%; - min-width: 785px; - color: rgb(51, 51, 51); - line-height: 1.4em; - font-family: 'Lucida Grande', Verdana, Arial, 'Bitstream Vera Sans', sans-serif; - font-size: 0.8em; -} - -a { - outline: none; -} - -div#bbWrap { - height: auto; - min-height: 100%; - width: 100%; -} - -div#bbContent { - height: 100%; - padding-bottom: 45px; -} - - -pre { - /* http://www.longren.org/2006/09/27/wrapping-text-inside-pre-tags/ */ - white-space: pre-wrap; /* css-3 */ - white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */ - white-space: -pre-wrap; /* Opera 4-6 */ - white-space: -o-pre-wrap; /* Opera 7 */ - word-wrap: break-word; /* Internet Explorer 5.5+ */ -} - -/* Header */ - -div#bbHead { - position: relative; - background-color: rgb(70, 70, 70); -} - -div#bbHead h1 { - padding: 10px 0 5px 39px; - margin-left: 16px; - min-height: 31px; - background: transparent url('images/admin-header-logo.gif') no-repeat 0 8px; - font: normal normal normal 22px/normal Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; - color: white; -} - -div#bbHead h1 a { - text-decoration: none; -} - -div#bbHead h1 a span { - color: rgb(255, 255, 255); -} - -div#bbHead h1 a:hover span { - text-decoration: underline; -} - -div#bbHead h1 a em { - background: rgb(88, 88, 88) url('images/visit-site-button-grad.gif') repeat-x 0 0; - color: rgb(170, 170, 170); - text-shadow: rgb(63, 63, 63) 0px -1px 0px; - -moz-border-radius: 3px; - -khtml-border-radius: 3px; - -webkit-border-radius: 3px; - border-radius: 3px; - cursor: pointer; - display: inline-block; - font-size: 0.5em; - font-style: normal; - line-height: 17px; - margin-left: 5px; - padding: 0px 6px; - vertical-align: middle; -} - -div#bbHead h1 a:hover em { - color: rgb(255, 255, 255); -} - -div#bbHead h1 a:active em { - background-position: 0 -27px; -} - -div#bbUserInfo { - position: absolute; - top: 14px; - right: 15px; - font-size: 0.95em; - color: rgb(153, 153, 153); -} - -div#bbUserInfo a { - color: rgb(204, 204, 204); - text-decoration: none; -} - -div#bbUserInfo a:hover { - color: rgb(255, 255, 255); - text-decoration: underline; -} - - - - -/* Body */ - -div#bbBody { - margin-left: 180px; - padding-right: 15px; -} - -body.bb-menu-folded div#bbBody { - margin-left: 65px; -} - -h2 { - display: block; - color: rgb(70, 70, 70); - font: italic normal normal 1.9em/1.45em Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; - padding: 14px 15px 3px 0; - text-shadow: rgb(255, 255, 255) 0px 1px 0px; - background: transparent none no-repeat 0 0; - margin-left: -5px; -} - -h2 span.subtitle { - font-size: 0.75em; - padding-left: 25px; -} - -body.bb-admin-dashboard h2 { - padding-left: 47px; - background-image: url('images/icons32.png'); - background-position: 0 -172px; -} - -body.bb-admin-forums h2 { - padding-left: 47px; - background-image: url('images/icons32.png'); - background-position: 0 -981px; -} - -body.bb-admin-topics h2 { - padding-left: 47px; - background-image: url('images/icons32.png'); - background-position: 0 -1071px; -} - -body.bb-admin-posts h2 { - padding-left: 47px; - background-image: url('images/icons32.png'); - background-position: 0 -1161px; -} - -body.bb-admin-appearance h2 { - padding-left: 47px; - background-image: url('images/icons32.png'); - background-position: 0 8px; -} - -body.bb-admin-plugins h2 { - padding-left: 47px; - background-image: url('images/icons32.png'); - background-position: 0 -532px; -} - -body.bb-admin-users h2 { - padding-left: 47px; - background-image: url('images/icons32.png'); - background-position: 0 -891px; -} - -body.bb-admin-user-manage h2 { - padding-left: 47px; - background-image: url('images/icons32.png'); - background-position: 0 -891px; -} - -body.bb-admin-tools h2 { - padding-left: 47px; - background-image: url('images/icons32.png'); - background-position: 0 -621px; -} - -body.bb-admin-settings h2 { - padding-left: 47px; - background-image: url('images/icons32.png'); - background-position: 0 -712px; -} - - - - - -/* Menu */ -ul#bbAdminMenu * { - -webkit-user-select: none; - -moz-user-select: none; - -khtml-user-select: none; - user-select: none; -} - -ul#bbAdminMenu { - float: left; - margin: 15px 5px 15px -165px; - position: relative; - width: 145px; -} - -body.bb-menu-folded ul#bbAdminMenu { - margin-left: -50px; - width: auto; -} - -ul#bbAdminMenu li.bb-menu { - -} - -body.bb-menu-folded ul#bbAdminMenu li.bb-menu { - position: relative; -} - -ul#bbAdminMenu li.bb-menu a { - display: block; - color: rgb(0, 102, 0); - background: rgb(241, 241, 241) url('images/menu-bits.gif') repeat-x 0 -379px; - border: 1px solid rgb(227, 227, 227); - width: 133px; - padding: 5px; - font: normal normal normal 1em/1.4em Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; - text-decoration: none; - border-bottom-width: 0; -} - -body.bb-menu-folded ul#bbAdminMenu li.bb-menu a { - height: 17px; - width: 17px; - background-image: none; -} - -body.bb-menu-folded ul#bbAdminMenu li.bb-menu a span { - display: none; -} - -ul#bbAdminMenu li.bb-menu.bb-menu-current a { - background-position: 0 0; - border-color: rgb(109, 109, 109); - color: rgb(255, 255, 255); - text-shadow: rgba(0, 0, 0, 0.4) 0px -1px 0px; -} - -body.bb-menu-folded ul#bbAdminMenu li.bb-menu.bb-menu-current a { - background-color: rgb(230, 230, 230); - background-image: none; - border-color: rgb(227, 227, 227); -} - -ul#bbAdminMenu li.bb-menu.bb-menu-current a:hover { - border-color: rgb(181, 181, 181); - color: rgb(255, 255, 255); -} - -ul#bbAdminMenu li.bb-menu.bb-menu-first a { - -moz-border-radius-topleft: 6px; - -moz-border-radius-topright: 6px; - -khtml-border-top-left-radius: 6px; - -khtml-border-top-right-radius: 6px; - -webkit-border-top-left-radius: 6px; - -webkit-border-top-right-radius: 6px; - border-top-left-radius: 6px; - border-top-right-radius: 6px; -} - -ul#bbAdminMenu li.bb-menu.bb-menu-last a { - -moz-border-radius-bottomleft: 6px; - -moz-border-radius-bottomright: 6px; - -khtml-border-bottom-left-radius: 6px; - -khtml-border-bottom-right-radius: 6px; - -webkit-border-bottom-left-radius: 6px; - -webkit-border-bottom-right-radius: 6px; - border-bottom-left-radius: 6px; - border-bottom-right-radius: 6px; - border-bottom-width: 1px; -} - -ul#bbAdminMenu li.bb-menu.bb-menu-open.bb-menu-has-submenu a, -ul#bbAdminMenu li.bb-menu.bb-menu-open a { - -moz-border-radius-bottomleft: 0; - -moz-border-radius-bottomright: 0; - -khtml-border-bottom-left-radius: 0; - -khtml-border-bottom-right-radius: 0; - -webkit-border-bottom-left-radius: 0; - -webkit-border-bottom-right-radius: 0; - border-bottom-left-radius: 0; - border-bottom-right-radius: 0; -} - -body.bb-menu-folded ul#bbAdminMenu li.bb-menu.bb-menu-last a { - -moz-border-radius-bottomleft: 6px; - -moz-border-radius-bottomright: 6px; - -khtml-border-bottom-left-radius: 6px; - -khtml-border-bottom-right-radius: 6px; - -webkit-border-bottom-left-radius: 6px; - -webkit-border-bottom-right-radius: 6px; - border-bottom-left-radius: 6px; - border-bottom-right-radius: 6px; - border-bottom-width: 1px; -} - -ul#bbAdminMenu li.bb-menu.bb-menu-open a { - border-bottom-width: 0; -} - -ul#bbAdminMenu li.bb-menu.bb-menu-current.bb-menu-has-submenu a:hover { - border-color: rgb(109, 109, 109); -} - -body.bb-menu-folded ul#bbAdminMenu li.bb-menu.bb-menu-current.bb-menu-has-submenu a:hover { - border-color: rgb(227, 227, 227); -} - -ul#bbAdminMenu li.bb-menu div.bb-menu-toggle { - float: right; - height: 27px; - width: 24px; - display: none; - background-image: url('images/menu-bits.gif'); - background-repeat: no-repeat; - background-position: 0 -110px; - margin-top: -27px; -} - -ul#bbAdminMenu li.bb-menu.bb-menu-last div.bb-menu-toggle { - margin-top: -28px; -} - -ul#bbAdminMenu li.bb-menu.bb-menu-last.bb-menu-open div.bb-menu-toggle { - margin-top: -27px; -} - -ul#bbAdminMenu li.bb-menu.bb-menu-has-submenu:hover div.bb-menu-toggle, -ul#bbAdminMenu li.bb-menu.bb-menu-has-submenu.bb-menu-open div.bb-menu-toggle { - display: block; -} - -body.bb-menu-folded ul#bbAdminMenu li.bb-menu.bb-menu-has-submenu:hover div.bb-menu-toggle, -body.bb-menu-folded ul#bbAdminMenu li.bb-menu.bb-menu-has-submenu.bb-menu-open div.bb-menu-toggle { - display: none; -} - -ul#bbAdminMenu li.bb-menu.bb-menu-has-submenu.bb-menu-current div.bb-menu-toggle { - background-position: 0 -208px; -} - -ul#bbAdminMenu li.bb-menu a:hover, -ul#bbAdminMenu li.bb-menu a:active, -ul#bbAdminMenu li.bb-menu a:focus { - color: rgb(213, 78, 33); -} - -ul#bbAdminMenu li.bb-menu a div.bb-menu-icon { - height: 22px; - width: 22px; - float: left; - background: transparent url('images/menu.png') no-repeat -337px -39px; -} - -ul#bbAdminMenu li.bb-menu.bb-menu-current a div.bb-menu-icon, -ul#bbAdminMenu li.bb-menu a:hover div.bb-menu-icon { - background-position: -337px -7px; -} - -ul#bbAdminMenu li#bb-menu-dashboard a div.bb-menu-icon { - background-position: -67px -39px; -} - -ul#bbAdminMenu li#bb-menu-dashboard.bb-menu-current a div.bb-menu-icon, -ul#bbAdminMenu li#bb-menu-dashboard a:hover div.bb-menu-icon { - background-position: -67px -7px; -} - -ul#bbAdminMenu li#bb-menu-forums a div.bb-menu-icon { - background-position: -367px -39px; -} - -ul#bbAdminMenu li#bb-menu-forums.bb-menu-current a div.bb-menu-icon, -ul#bbAdminMenu li#bb-menu-forums a:hover div.bb-menu-icon { - background-position: -367px -7px; -} - -ul#bbAdminMenu li#bb-menu-topics a div.bb-menu-icon { - background-position: -397px -39px; -} - -ul#bbAdminMenu li#bb-menu-topics.bb-menu-current a div.bb-menu-icon, -ul#bbAdminMenu li#bb-menu-topics a:hover div.bb-menu-icon { - background-position: -397px -7px; -} - -ul#bbAdminMenu li#bb-menu-posts a div.bb-menu-icon { - background-position: -427px -39px; -} - -ul#bbAdminMenu li#bb-menu-posts.bb-menu-current a div.bb-menu-icon, -ul#bbAdminMenu li#bb-menu-posts a:hover div.bb-menu-icon { - background-position: -427px -7px; -} - -ul#bbAdminMenu li#bb-menu-appearance a div.bb-menu-icon { - background-position: -6px -39px; -} - -ul#bbAdminMenu li#bb-menu-appearance.bb-menu-current a div.bb-menu-icon, -ul#bbAdminMenu li#bb-menu-appearance a:hover div.bb-menu-icon { - background-position: -6px -7px; -} - -ul#bbAdminMenu li#bb-menu-plugins a div.bb-menu-icon { - background-position: -186px -39px; -} - -ul#bbAdminMenu li#bb-menu-plugins.bb-menu-current a div.bb-menu-icon, -ul#bbAdminMenu li#bb-menu-plugins a:hover div.bb-menu-icon { - background-position: -186px -7px; -} - -ul#bbAdminMenu li#bb-menu-users a div.bb-menu-icon { - background-position: -308px -39px; -} - -ul#bbAdminMenu li#bb-menu-users.bb-menu-current a div.bb-menu-icon, -ul#bbAdminMenu li#bb-menu-users a:hover div.bb-menu-icon { - background-position: -308px -7px; -} - -ul#bbAdminMenu li#bb-menu-tools a div.bb-menu-icon { - background-position: -217px -39px; -} - -ul#bbAdminMenu li#bb-menu-tools.bb-menu-current a div.bb-menu-icon, -ul#bbAdminMenu li#bb-menu-tools a:hover div.bb-menu-icon { - background-position: -217px -7px; -} - -ul#bbAdminMenu li#bb-menu-settings a div.bb-menu-icon { - background-position: -246px -39px; -} - -ul#bbAdminMenu li#bb-menu-settings.bb-menu-current a div.bb-menu-icon, -ul#bbAdminMenu li#bb-menu-settings a:hover div.bb-menu-icon { - background-position: -246px -7px; -} - -ul#bbAdminMenu li.bb-menu.bb-menu-separator { - -} - -ul#bbAdminMenu li.bb-menu.bb-menu-separator a { - background: transparent url('images/menu-arrows.gif') no-repeat 0 5px; - border-width: 0; - padding: 0; - height: 21px; - cursor: w-resize; - width: 145px; -} - -body.bb-menu-folded ul#bbAdminMenu li.bb-menu.bb-menu-separator a { - background: transparent url('images/menu-arrows.gif') no-repeat -171px -34px; - height: 21px; - cursor: e-resize; - width: 29px; -} - -ul#bbAdminMenu li.bb-menu div.bb-menu-sub-wrap { - display: none; - border: 1px solid rgb(227, 227, 227); - border-bottom-width: 0; - border-left-width: 0; -} - -body.bb-menu-folded ul#bbAdminMenu li.bb-menu div.bb-menu-sub-wrap { - display: none; - position: absolute; - left: 36px; - top: 0; - width: 145px; - z-index: 1000; -} - -ul#bbAdminMenu li.bb-menu.bb-menu-current div.bb-menu-sub-wrap { - border-color: rgb(170, 170, 170); - border-bottom-width: 1px; -} - -body.bb-menu-folded ul#bbAdminMenu li.bb-menu div.bb-menu-sub-wrap { - border-width: 0; - border-color: rgb(227, 227, 227); - border-style: solid; - border-bottom-width: 1px; -} - -body.bb-menu-folded ul#bbAdminMenu li.bb-menu.bb-menu-current div.bb-menu-sub-wrap { - border-color: rgb(170, 170, 170); -} - -ul#bbAdminMenu li.bb-menu.bb-menu-open div.bb-menu-sub-wrap { - display: block; -} - -ul#bbAdminMenu li.bb-menu.bb-menu-last div.bb-menu-sub-wrap { - border-bottom-width: 1px; -} - -body.bb-menu-folded ul#bbAdminMenu li.bb-menu div.bb-menu-sub-wrap.bb-menu-sub-open { - display: block; - border-bottom-width: 1px; -} - -ul#bbAdminMenu li.bb-menu div.bb-menu-sub-wrap span { - display: none; - font: normal normal normal 1em/1.45em Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; - background-color: rgb(241, 241, 241); - border: 1px solid rgb(227, 227, 227); - -moz-border-radius-topleft: 6px; - -moz-border-radius-topright: 6px; - -khtml-border-top-left-radius: 6px; - -khtml-border-top-right-radius: 6px; - -webkit-border-top-left-radius: 6px; - -webkit-border-top-right-radius: 6px; - border-top-left-radius: 6px; - border-top-right-radius: 6px; - padding: 5px 5px 4px 10px; - cursor: default; -} - -ul#bbAdminMenu li.bb-menu.bb-menu-current div.bb-menu-sub-wrap span { - background-color: rgb(234, 234, 234); - border-color: rgb(170, 170, 170); -} - -body.bb-menu-folded ul#bbAdminMenu li.bb-menu div.bb-menu-sub-wrap span { - display: block; -} - -ul#bbAdminMenu li.bb-menu li.bb-menu-sub a { - width: 127px !important; - -moz-border-radius: 0 !important; - -khtml-border-radius: 0 !important; - -webkit-border-radius: 0 !important; - border-radius: 0 !important; - border-width: 0 !important; - font: normal normal normal 0.85em/1.7em 'Lucida Grande', Verdana, Arial, 'Bitstream Vera Sans', sans-serif; - padding: 1px 5px 3px 12px; - color: rgb(0, 102, 0); - text-shadow: none; - background: rgb(255, 255, 255) url('images/menu-bits.gif') no-repeat 0 -306px; -} - -body.bb-menu-folded ul#bbAdminMenu li.bb-menu li.bb-menu-sub a { - height: auto; - background: rgb(255, 255, 255) url('images/menu-bits.gif') no-repeat 0 -306px; - border-right-width: 1px !important; -} - -ul#bbAdminMenu li.bb-menu li.bb-menu-sub a:hover { - background-color: rgb(222, 236, 225) !important; - color: rgb(51, 51, 51); -} - -ul#bbAdminMenu li.bb-menu.bb-menu-current li.bb-menu-sub a { - background-image: url('images/menu-dark.gif'); - background-position: 0 -20px !important; -} - -body.bb-menu-folded ul#bbAdminMenu li.bb-menu.bb-menu-current li.bb-menu-sub a { - background-image: url('images/menu-dark.gif'); - background-position: 0 -20px !important; - border-color: rgb(170, 170, 170) !important; -} - -ul#bbAdminMenu li.bb-menu.bb-menu-current li.bb-menu-sub.bb-menu-sub-current a { - color: rgb(51, 51, 51); - font-weight: bold; - background-color: rgb(245, 245, 245) !important; - background-position: 0 0 !important; -} - -body.bb-menu-folded ul#bbAdminMenu li.bb-menu.bb-menu-current li.bb-menu-sub.bb-menu-sub-current a { - background-position: 0 0 !important; -} - -ul#bbAdminMenu li.bb-menu.bb-menu-open li.bb-menu-sub a { - background-position: 0 -306px; -} - -div.wrap { - float: left; - width: 100%; -} - -div#message { - -moz-border-radius: 3px; - -khtml-border-radius: 3px; - -webkit-border-radius: 3px; - border-radius: 3px; - border-style: solid; - border-width: 1px; - margin: 5px 0 2px 0; - padding: 0 0.65em; - font-size: 0.9em; -} - -div#message.updated { - background-color: rgb(255, 251, 204); - border-color: rgb(230, 219, 85); -} - -div#message.error { - background-color: rgb(255, 235, 232); - border-color: rgb(204, 0, 0); -} - -div#message p { - line-height: 1; - margin: 0.6em 0; - padding: 2px; -} - -div#message p strong { - font-weight: bold; -} - -div#message a { - color: rgb(0, 102, 0); - text-decoration: none; -} - -div#message a:hover { - color: rgb(213, 78, 33); -} - -div.plugin-error { - background-color: rgb(255, 235, 232); - border-color: rgb(204, 0, 0); - -moz-border-radius: 3px; - -khtml-border-radius: 3px; - -webkit-border-radius: 3px; - border-radius: 3px; - border-style: solid; - border-width: 1px; - margin: 5px 0 2px 0; - padding: 0; - height: 160px; -} - -div.plugin-error iframe { - -moz-border-radius: 3px; - -khtml-border-radius: 3px; - -webkit-border-radius: 3px; - border-radius: 3px; - display: block; - width: 100%; - height: 100%; - margin: 0; - padding: 0; - border-width: 0; -} - - -/* Dashboard */ - -div.dashboard { - background-color: rgb(255, 255, 255); - border: 1px solid rgb(223, 223, 223); - -moz-border-radius: 6px; - -khtml-border-radius: 6px; - -webkit-border-radius: 6px; - border-radius: 6px; - margin: 10px 5px 20px 5px; -} - -div.dashboard a { - color: rgb(0, 102, 0); -} - -div.dashboard a:hover { - color: rgb(213, 78, 33); -} - -div.dashboard h3 { - -moz-border-radius-topleft: 6px; - -moz-border-radius-topright: 6px; - -khtml-border-top-left-radius: 6px; - -khtml-border-top-right-radius: 6px; - -webkit-border-top-left-radius: 6px; - -webkit-border-top-right-radius: 6px; - border-top-left-radius: 6px; - border-top-right-radius: 6px; - background: url('images/gray-grad.png') repeat-x rgb(223, 223, 223); - text-shadow: rgb(255, 255, 255) 0px 1px 0px; - color: rgb(70, 70, 70); - font-size: 0.9em; - font-weight: bold; - line-height: 1; - margin: 0px; - padding: 7px 9px; -} - -div.dashboard div.table { - border-bottom: 1px solid rgb(236, 236, 236); - background: rgb(249, 249, 249); -} - -div.dashboard div.table table { - width: 100%; -} - -div.dashboard div.table thead th { - color: rgb(119, 119, 119); - font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; - font-size: 1em; - font-style: italic; - padding: 3px 8px 4px; - background: rgb(255, 255, 255); - width: 50%; -} - -div.dashboard div.table tbody td { - border-top: 1px solid rgb(236, 236, 236); - padding: 4px 16px; - white-space: nowrap; - font-size: 0.9em; - color: rgb(70, 70, 70); -} - -div.dashboard div.table tbody td span { - font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; - font-size: 1.6em; - padding-right: 6px; -} - -div.dashboard p { - color: rgb(51, 51, 51); - font-size: 0.85em; - margin: 8px; -} - -div.dashboard div.versions p span.b { - font-weight: bold; -} - -div.dashboard div.versions p a { - text-decoration: none; - font-weight: bold; -} - -div.dashboard div.versions p.theme a.button { - display: block; - float: right; - font-weight: normal; - -moz-border-radius: 10px; - -khtml-border-radius: 10px; - -webkit-border-radius: 10px; - border-radius: 10px; - padding: 4px 10px; - background: url('images/white-grad.png') repeat-x scroll rgb(242, 242, 242); - border: 1px solid rgb(187, 187, 187); - color: rgb(70, 70, 70); - cursor: pointer; - font-size: 1em; - line-height: 1.2em; -} - -div.dashboard div.versions p.theme a.button:hover { - border-color: rgb(102, 102, 102); - color: rgb(0, 0, 0); -} - -div.dashboard div.versions p.theme a.button:active { - background: url('images/white-grad-active.png') repeat-x scroll rgb(238, 238, 238); -} - -div.dashboard ul li { - color: rgb(51, 51, 51); - font-size: 0.85em; - margin: 8px; -} - -div.dashboard ul li a { - text-decoration: none; - font-weight: bold; -} - - - -/* Search forms */ - -form.search-form fieldset, form.bulk-form fieldset { - margin: 10px 0 0 0; - clear: left; - float: left; -} - -form.search-form fieldset div { - float: left; - margin-right: 5px; - margin-top: 3px; -} - -form.search-form fieldset div div { - float: none; - margin: 0; -} - -form.search-form fieldset div label { - display: block; - line-height: 1; - padding: 0 0 3px 0; - font-size: 0.8em; - color: rgb(70, 70, 70); -} - -form.search-form fieldset div div input.text-input { - width: 100px; - padding: 3px; - -moz-border-radius: 4px; - -khtml-border-radius: 4px; - -webkit-border-radius: 4px; - border-radius: 4px; - border: 1px solid rgb(223, 223, 223); - font-family: 'Lucida Grande', Verdana, Arial, 'Bitstream Vera Sans', sans-serif; - font-size: 0.85em; - line-height: 1.3em; -} - -form.search-form fieldset div div input.checkbox-input { - margin: 4px; -} - -form.search-form select, form.bulk-form select { - height: 2.1em; - margin: 0; - padding: 3px; - -moz-border-radius: 4px; - -khtml-border-radius: 4px; - -webkit-border-radius: 4px; - border-radius: 4px; - border: 1px solid rgb(223, 223, 223); - font-family: 'Lucida Grande', Verdana, Arial, 'Bitstream Vera Sans', sans-serif; - font-size: 0.85em; -} - -form.search-form fieldset div div option { - padding: 3px; - font-family: 'Lucida Grande', Verdana, Arial, 'Bitstream Vera Sans', sans-serif; - font-size: 0.9em; -} - -form.search-form div.submit label { - width: 0; - overflow: hidden; -} - -form.search-form div.submit input.button, form.bulk-form input.button { - font-family: 'Lucida Grande', Verdana, Arial, 'Bitstream Vera Sans', sans-serif; - -moz-border-radius: 10px; - -khtml-border-radius: 10px; - -webkit-border-radius: 10px; - border-radius: 10px; - padding: 4px 9px 5px; - background: url('images/white-grad.png') repeat-x scroll rgb(242, 242, 242); - border: 1px solid rgb(187, 187, 187); - color: rgb(70, 70, 70); - cursor: pointer; - line-height: 1.1em; - font-size: 0.85em; -} - -form.search-form div.submit input.button:hover, form.bulk-form input.button:hover { - border-color: rgb(102, 102, 102); - color: rgb(0, 0, 0); -} - -form.search-form div.submit input.button:active, form.bulk-form input.button:active { - background: url('images/white-grad-active.png') repeat-x scroll rgb(238, 238, 238); -} - - - -/* Table nav */ - -div.tablenav { - margin-top: -1em; - float: right; -} - -div.bottom { - margin-top: 0; -} - -div.tablenav a { - color: rgb(0, 102, 0); -} - -div.tablenav a:hover { - color: rgb(213, 78, 33); -} - -div.tablenav-pages { - margin: 13px 0 0 0; -} - -div.tablenav.bottom div.tablenav-pages { - margin: 0 0 16px 0; -} - -span.displaying-num { - display: block; - text-align: right; - line-height: 1; - font-size: 0.8em; - color: rgb(70, 70, 70); - padding: 0 0 3px 0; -} - -span.displaying-pages { - display: block; - float: right; - cursor: default; - color: rgb(85, 85, 85); -} - -span.displaying-pages span, -span.displaying-pages a { - display: block; - float: left; - -moz-border-radius: 5px; - -khtml-border-radius: 5px; - -webkit-border-radius: 5px; - border-radius: 5px; - border: 1px solid rgb(211, 211, 211); - padding: 3px 7px; - text-decoration: none; - background-color: rgb(223, 223, 223); - font-family: 'Lucida Grande', Verdana, Arial, 'Bitstream Vera Sans', sans-serif; - font-size: 0.85em; - line-height: 1.3em; - margin-left: 3px; -} - -span.displaying-pages span.dots { - border-width: 0; - background-color: transparent; - padding: 4px 0 0 0; - font-weight: bold; -} - -span.displaying-pages a { - font-weight: bold; - background: url('images/menu-bits.gif') repeat-x 0 -379px rgb(238, 238, 238); - border-color: rgb(227, 227, 227); -} - -span.displaying-pages a:hover { - border-color: rgb(213, 78, 33); -} - -span.displaying-pages a:active { - color: rgb(255, 255, 255); -} - -div.table-filter { - color: rgb(102, 102, 102); - margin: 8px 0px 5px; - font-size: 0.85em; -} - -div.table-filter a { - color: rgb(0, 102, 0); - text-decoration: none; -} - -div.table-filter a.current { - color: rgb(0, 0, 0); - font-weight: bold; -} - -div.table-filter a:hover { - color: rgb(213, 78, 33); -} - -div.table-filter a span.count { - color: rgb(153, 153, 153); - font-weight: normal; -} - - - - -/* Tabled info */ - -p.no-results { - margin: 10px 0; - font-size: 0.85em; -} - -table.widefat { - width: 100%; - border: 1px solid rgb(223, 223, 223); - -moz-border-radius: 4px; - -khtml-border-radius: 4px; - -webkit-border-radius: 4px; - border-radius: 4px; - border-collapse: separate; - margin: 10px 0; -} - -table.widefat a { - color: rgb(0, 102, 0); - text-decoration: none; -} - -table.widefat a:hover { - color: rgb(213, 78, 33); -} - -table.widefat tr td { - width: 18%; - vertical-align: top; - padding: 3px 7px; - font-size: 0.85em; - border-bottom: 1px solid rgb(223, 223, 223); -} - -table.widefat tr.alt td { - background-color: rgb(255, 255, 255); -} - -table.widefat tr.deleted td { - background-color: rgb(245, 224, 224); -} - -table.widefat tr.deleted.alt td { - background-color: rgb(248, 233, 233); -} - -table.widefat tr.spam td { - background-color: rgb(238, 218, 204); -} - -table.widefat tr.spam.alt td { - background-color: rgb(243, 228, 218); -} - -table#plugins-list.widefat tr.inactive td { - background-color: rgb(238, 238, 238); -} - -table#plugins-list.widefat tr.active td { - background-color: rgb(255, 255, 255); -} - -table#plugins-list.widefat tr.autoload td { - background-color: rgb(249, 249, 249); -} - -table#plugins-list.widefat tr.autoload td.plugin-name { - background-image: url('images/input-lock.png'); - background-repeat: no-repeat; - background-position: 100% 0; - padding-right: 20px; -} - -table.widefat tr th { - background: url('images/gray-grad.png') repeat-x rgb(223, 223, 223); - text-shadow: rgb(255, 255, 255) 0px 1px 0px; - color: rgb(51, 51, 51); - font-weight: bold; - vertical-align: top; - padding: 7px 7px 8px; - font-size: 0.85em; - line-height: 1.3em; - border-bottom: 1px solid rgb(223, 223, 223); -} - -table.widefat tfoot tr th { - border-bottom-width: 0; -} - -table.widefat .check-column { - width: 2.2em; - padding-right: 0; -} - -table#posts-list.widefat tr td.post { - width: 46%; - font-size: 0.9em; -} - -table#topics-list.widefat tr td.topic { - width: 28%; - font-size: 0.9em; -} - -table#plugins-list.widefat tr td.plugin-name { - width: 25%; - font-size: 0.9em; -} - -table#plugins-list.widefat tr td.plugin-description { - width: 75%; -} - -table.widefat tr td.author img.avatar { - vertical-align: top; - border: 1px solid rgb(223, 223, 223); -} - -table.widefat tr td.post p { - margin-bottom: 0.4em; -} - -table.widefat tr td.plugin-description p { - margin-bottom: 0.8em; -} - -table.widefat tr td.plugin-description p.meta { - margin-bottom: 0; -} - -table.widefat tr td.topic span.row-title, -table.widefat tr td.user span.row-title { - margin-bottom: 0.4em; - display: block; - font-weight: bold; -} - -table.widefat tr td.user img.avatar { - display: block; - float: left; - margin: 3px 8px 3px -1px; - border: 1px solid rgb(223, 223, 223); -} - -table.widefat tr td.plugin-name span.row-title { - margin-bottom: 0.8em; - display: block; - font-weight: bold; -} - -table.widefat tr td.post div, -table.widefat tr td.topic div, -table.widefat tr td.plugin-name div { - font-size: 0.85em; -} - -table.widefat tr span.row-actions { - display: none; -} - -table#plugins-list.widefat tr span.row-actions { - display: inline; -} - -table.widefat tr:hover span.row-actions { - display: inline; -} - -table.widefat tr span.row-actions span.note { - color: rgb(102, 102, 102); -} - -table.widefat tr a.post-undelete-link { - display: none; -} - -table.widefat tr.deleted a.post-undelete-link { - display: inline; -} - -table.widefat tr.deleted a.post-delete-link { - display: none; -} - -table.widefat tr td em { - font-style: italic; -} - -table.widefat tr td strong { - font-weight: bold; -} - -table.widefat tr td code, -table.widefat tr td kbd { - font-family: Consolas, Monaco, Courier, monospace; - font-size: 1.2em; - line-height: 1.4; - background: rgb(234, 234, 234); - margin: 0px 1px; - padding: 1px 3px; - color: rgb(51, 51, 51); -} - - - -/* Forums */ - -body.sorting { - overflow-x: hidden; -} - -ul#forum-list { - xwidth: 100%; - border: 1px solid rgb(223, 223, 223); - -moz-border-radius: 4px; - -khtml-border-radius: 4px; - -webkit-border-radius: 4px; - border-radius: 4px; - margin: 10px 0; -} - -ul#forum-list a { - color: rgb(0, 102, 0); - text-decoration: none; -} - -ul#forum-list a:hover { - color: rgb(213, 78, 33); -} - -ul#forum-list li { - border-top: 1px solid rgb(223, 223, 223); - background-color: rgb(249, 249, 249); -} - -ul#forum-list li.alt { - background-color: rgb(255, 255, 255); -} - -ul#forum-list li ul li { - border-left: 1px dashed rgb(223, 223, 223); -} - -ul#forum-list li ul.list-block { - padding: 0 0 0 30px; -} - -ul#forum-list li.list-block { - padding: 3px 0 0 0; -} - -ul#forum-list li div.list-block { - padding: 0 7px 3px 7px; -} - -ul#forum-list li.thead { - background: url('images/gray-grad.png') repeat-x rgb(223, 223, 223); - text-shadow: rgb(255, 255, 255) 0px 1px 0px; - color: rgb(51, 51, 51); - font-weight: bold; - vertical-align: top; - padding: 7px 7px 8px; - font-size: 0.85em; - line-height: 1.3em; - border-top-width: 0; -} - -ul#forum-list li img.sort-handle { - float: left; - margin: 0 3px 0 -4px; - cursor: move; -} - -ul#forum-list li div.row-title { - font-size: 0.9em; - font-weight: bold; -} - -ul#forum-list li p.row-description { - font-size: 0.85em; -} - -ul#forum-list li div.list-block div.row-actions { - font-size: 0.8em; - margin-top: 0.4em; -} - -ul#forum-list li div.list-block div.row-actions span { - display: none; -} - -ul#forum-list li div.list-block:hover div.row-actions span { - display: inline; -} - -ul#forum-list.sorting li div.list-block div.row-actions span { - display: none; -} - -ul#forum-list.sorting li div.list-block div.row-actions span { - display: none; -} - -.helper { - background-color: rgb(200, 250, 200); - outline: 1px dashed #777; - width: 100% !important; - padding: 3px 0; -} - -#dragHelper { - xwidth: auto !important; - padding: 3px; -} - -#dragHelper img.sort-handle { - float: left; - margin: 0 3px 0 0; -} - -#dragHelper div.row-description { - margin: 0 0 0 4px; -} - -#dragHelper div.row-actions span { - display: none; -} - - - -/* Themes */ - -h3.themes { - display: block; - color: rgb(51, 51, 51); - font-size: 1.17em; - font-weight: bold; - padding: 0 0 1em 0; - margin-top: 10px; -} - -table.theme-list-active, -table.theme-list { - margin: 0 auto 40px; - width: 100%; - border-collapse: collapse; -} - -table.theme-list { - margin-bottom: 20px; - width: 100%; - border-top: 1px solid rgb(221, 221, 221); - border-bottom: 1px solid rgb(221, 221, 221); - border-collapse: collapse; -} - -table.theme-list td { - width: 240px; - padding: 20px; - border-bottom: 1px solid rgb(221, 221, 221); - border-right: 1px solid rgb(221, 221, 221); - vertical-align: top; -} - -table.theme-list td.position-3 { - border-right: none; -} - -table.theme-list td h3.themes, -table.theme-list-active td h3.themes { - margin-top: 0; - font-size: 1em; -} - -table.theme-list td div.screen-shot { - border: 1px solid rgb(204, 204, 204); - width: 240px; - height: 180px; - margin-bottom: 10px; - -moz-border-radius: 4px; - -khtml-border-radius: 4px; - -webkit-border-radius: 4px; - border-radius: 4px; -} - -table.theme-list td div.screen-shot img { - width: 240px; - height: 180px; - -moz-border-radius: 4px; - -khtml-border-radius: 4px; - -webkit-border-radius: 4px; - border-radius: 4px; -} - -table.theme-list-active td div.screen-shot { - border: 1px solid rgb(153, 153, 153); - width: 150px; - height: 112px; - float: left; - margin-right: 15px; - -moz-border-radius: 4px; - -khtml-border-radius: 4px; - -webkit-border-radius: 4px; - border-radius: 4px; -} - -table.theme-list-active td div.screen-shot img { - width: 150px; - height: 112px; - -moz-border-radius: 4px; - -khtml-border-radius: 4px; - -webkit-border-radius: 4px; - border-radius: 4px; -} - -table.theme-list td div.description p, -table.theme-list-active td div.description p { - color: rgb(102, 102, 102); - font-style: italic; - margin: 0 0 1em 0; - font-size: 0.9em; -} - -table.theme-list td div.description div.actions { - margin: 0 0 1em 0; - font-size: 1em; -} - -table.theme-list td div.description p.location, -table.theme-list-active td div.description p.location { - color: inherit; - font-style: normal; - margin: 0 0 0 0; -} - -table.theme-list td a, -table.theme-list-active td a { - color: rgb(0, 102, 0); -} - -table.theme-list td a:hover, -table.theme-list-active td a:hover { - color: rgb(213, 78, 33); -} - - -/* Users */ - -.bb-admin-user-manage form { - width: 550px; -} - -#option-pass-strength-fake-input { - clear: none; - width: 200px; -} -.bb-admin-user-manage #pass-strength-result { - clear: left; - float: left; - margin-top: -25px; -} - -#pass-strength-result { - padding: 2px; - text-align: center; - width: 280px; - border: 1px solid #ccc; - background-color: #e3e3e3; - -moz-border-radius: 3px; - -khtml-border-radius: 3px; - -webkit-border-radius: 3px; - border-radius: 3px; -} - -#pass-strength-result.bad { - background-color: #ffeff7; - border-color: #c69; -} - -#pass-strength-result.good { - background-color: #effff4; - border-color: #66cc87; -} - -#pass-strength-result.short { - background-color: #e3e3e3; -} - -#pass-strength-result.strong { - background-color: #59ef86; - border-color: #319f52; -} - - -/* Options */ - -form.settings fieldset { - margin-top: 10px; - margin-bottom: 20px; -} - -form.settings legend, -div.settings h3 { - display: block; - color: rgb(51, 51, 51); - font-size: 1.17em; - font-weight: bold; - padding: 0 0 1em 0; -} - -div.settings { - margin-bottom: 20px; -} - -hr.settings { - height: 1px; - background-color: rgb(221, 221, 221); - border-width: 0; - margin-bottom: 20px; -} - -form.settings p, -div.settings p { - float: none; - display: block; - color: rgb(51, 51, 51); - font-size: 0.9em; - margin: 0 0 1em 0; -} - -form.settings ul, -div.settings ul { - float: none; - display: block; - color: rgb(51, 51, 51); - font-size: 0.9em; - margin: 0 4em 1em 4em; -} - -form.settings ul li, -div.settings ul li { - list-style: disc outside none; -} - -form.settings strong, -div.settings strong { - font-weight: bold; -} - -form.settings em, -div.settings em { - font-style: italic; -} - -form.settings code, -form.settings kbd { - font-family: Consolas, Monaco, Courier, monospace; - font-size: 1.2em; - background: rgb(234, 234, 234); - margin: 0px 1px; - padding: 1px 3px; - color: rgb(51, 51, 51); -} - -form.settings a { - color: rgb(0, 102, 0); -} - -form.settings a:hover { - color: rgb(213, 78, 33); -} - -form.settings div { - clear: both; - padding: 10px; - margin-right: 10px; -} - -form.settings div label { - float: left; - display: block; - padding: 3px; - width: 200px; - color: rgb(34, 34, 34); - text-shadow: rgb(255, 255, 255) 0px 1px 0px; -} - -form.settings div div.label { - float: left; - display: block; - padding: 3px; - width: 190px; - color: rgb(34, 34, 34); - text-shadow: rgb(255, 255, 255) 0px 1px 0px; -} - -form.settings div.disabled label, -form.settings div.disabled div.label { - background-image: url('images/input-lock.png'); - background-repeat: no-repeat; - background-position: 100% 0; - padding-right: 20px; - width: 180px; -} - -form.settings div.disabled div.label { - width: 170px; -} - -form.settings div div.inputs { - clear: none; - padding: 0; - margin: 0 0 0 210px; -} - -form.settings div div.inputs label { - float: none; - clear: none; - display: block; - padding: 0; - margin: 3px 0 6px 0; - width: auto; - color: rgb(51, 51, 51); - text-shadow: none; - font-size: 0.85em; -} - -form.settings div.disabled div.inputs label { - background-image: none; -} - -form.settings div div.inputs label.radios img { - margin: -2px 0 0 0; - vertical-align: middle; - border: 1px solid rgb(223, 223, 223); -} - -form.settings input.text, -form.settings textarea { - width: 300px; - padding: 3px; - -moz-border-radius: 4px; - -khtml-border-radius: 4px; - -webkit-border-radius: 4px; - border-radius: 4px; - border: 1px solid rgb(223, 223, 223); - font-family: 'Lucida Grande', Verdana, Arial, 'Bitstream Vera Sans', sans-serif; - font-size: 1em; -} - -form.settings div.disabled input.text, -form.settings div.disabled textarea { - background-color: rgb(221, 221, 221); -} - -form.settings div input.text.short { - width: 100px; -} - -form.settings div input.text.code { - font-family: Consolas, Monaco, Courier, monospace; - font-size: 1.2em; -} - -form.settings input.readonly, -form.settings textarea.readonly { - background-color: rgb(221, 221, 221); -} - -form.settings div.table { - margin: 0 0 0 220px; - padding: 3px; - -moz-border-radius: 4px; - -khtml-border-radius: 4px; - -webkit-border-radius: 4px; - border-radius: 4px; - border: 1px solid rgb(223, 223, 223); - background-color: rgb(221, 221, 221); - width: 400px; -} - -form.settings div.table table { - width: 100%; - font-family: Consolas, Monaco, Courier, monospace; - font-size: 1.2em; - border-collapse: collapse; -} - -form.settings div.table table th { - border-bottom: 1px dotted rgb(70, 70, 70); - padding: 6px; -} - -form.settings div.table table td { - padding: 6px; -} - -form.settings div span.after { - font-size: 0.85em; -} - -form.settings div p { - color: rgb(102, 102, 102); - font-style: italic; - margin: 0 0 0 3em; - padding: 0.3em; - border-left: 1px solid rgb(223, 223, 223); -} - -form.settings input.submit { - font-family: 'Lucida Grande', Verdana, Arial, 'Bitstream Vera Sans', sans-serif; - -moz-border-radius: 11px; - -khtml-border-radius: 11px; - -webkit-border-radius: 11px; - border-radius: 11px; - border: 1px solid rgb(63, 163, 50); - cursor: pointer; - font-size: 11px; - line-height: 16px; - padding: 2px 8px; - background: url('images/button-grad.png') 0 0 rgb(33, 117, 155); - color: rgb(255, 255, 255); - font-weight: bold; - text-shadow: rgba(0, 0, 0, 0.3) 0 -1px 0; -} - -form.settings input.submit:hover { - border-color: rgb(0, 102, 0); -} - -form.settings input.submit:active { - background-position: 0 30px; -} - -form.settings a.cancel { - display: block; - float: left; - font-family: 'Lucida Grande', Verdana, Arial, 'Bitstream Vera Sans', sans-serif; - -moz-border-radius: 11px; - -khtml-border-radius: 11px; - -webkit-border-radius: 11px; - border-radius: 11px; - border: 1px solid rgb(187, 187, 187); - cursor: pointer; - font-size: 11px; - line-height: 16px; - padding: 2px 8px; - background: url('images/white-grad.png') repeat-x scroll rgb(242, 242, 242); - color: rgb(70, 70, 70); - cursor: pointer; - font-weight: bold; - text-shadow: rgba(255, 255, 255, 0.7) 0 -1px 0; - margin-right: 6px; - text-decoration: none; -} - -form.settings a.cancel:hover { - border-color: rgb(153, 51, 51); - color: rgb(204, 51, 51); -} - -form.settings a.cancel:active { - background: url('images/white-grad-active.png') repeat-x scroll rgb(238, 238, 238); -} - -form.settings div#option-mod-rewrite div.inputs label.radios span { - display: inline-block; - width: 7em; -} - -form.settings div#option-mod-rewrite div.inputs label.radios code { - white-space: nowrap; -} - -form.settings textarea#rewrite-rules { - width: 99%; -} - -form.settings select#timezone-string option { - margin-left: 1em; -} - - -/* Footer */ - -p#bbShowOff { - margin: 0 8px 8px 0; - padding: 6px 8px; - color: rgb(255, 255, 255); - background-color: rgb(170, 170, 170); - font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; - font-size: 0.9em; - font-style: italic; - -moz-border-radius: 6px; - -khtml-border-radius: 6px; - -webkit-border-radius: 6px; - border-radius: 6px; - float: right; -} - -div#bbFoot { - background-color: rgb(70, 70, 70); - color: rgb(153, 153, 153); - margin-top: -45px; - clear: both; - position: relative; - width: 100%; - font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; - font-size: 0.9em; - font-style: italic; -} - -div#bbFoot p { - line-height: 15px; - padding: 15px; -} - -div#bbFoot p a { - color: rgb(204, 204, 204); - text-decoration: none; -} - -p#bbThanks { - float: left; -} - -p#bbVersion { - text-align: right; -} - -div.clear { - clear: both !important; - height: 0; - line-height: 0; - font-size: 0; -} - - - - - - - - -/* Layout classes */ -/* -.absleft { - position: absolute; - left: 0; -} - -.absright { - position: absolute; - right: 0; -} - -.abstop { - position: absolute; - top: 0; -} - -.posrel { - position: relative; -} - -.alignleft { - float: left; -} - -.alignright { - float: right; -} -*/ -/* -.alternate, .alt { - background: #f1f1f1; -} -*/ -/* -.active { - background-color: rgb(200, 250, 200); -} -*/ - - - - -/* List Blocks */ - - diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/043/043.test.js b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/043/043.test.js deleted file mode 100644 index fe9864c286a24e..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/043/043.test.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -const stylelint = require( 'stylelint' ), - systemTestUtils = require( '../systemTestUtils.js' ); - -it( '043', () => { - return stylelint.lint({ - files: [systemTestUtils.caseStylesheetGlob( '043' )], - configFile: systemTestUtils.caseConfig( '043' ), - }).then( ({ results }) => { - expect( systemTestUtils.prepResults( results ) ).toMatchSnapshot(); - }); -}); diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/043/__snapshots__/043.test.js.snap b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/043/__snapshots__/043.test.js.snap deleted file mode 100644 index 9d780dd59a41ac..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/043/__snapshots__/043.test.js.snap +++ /dev/null @@ -1,1731 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`043 1`] = ` -Array [ - Object { - "deprecations": Array [], - "errored": true, - "ignored": undefined, - "invalidOptionWarnings": Array [], - "parseErrors": Array [], - "source": "043/stylesheet.css", - "warnings": Array [ - Object { - "column": 34, - "line": 791, - "rule": "block-closing-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"}\\" (block-closing-brace-newline-after)", - }, - Object { - "column": 27, - "line": 13, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 43, - "line": 21, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 26, - "line": 22, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 31, - "line": 24, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 58, - "line": 26, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 31, - "line": 28, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 21, - "line": 30, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 23, - "line": 32, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 22, - "line": 34, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 21, - "line": 41, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 23, - "line": 43, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 37, - "line": 51, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 35, - "line": 53, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 39, - "line": 55, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 38, - "line": 57, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 42, - "line": 59, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 30, - "line": 106, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 51, - "line": 108, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 34, - "line": 109, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 30, - "line": 205, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 29, - "line": 225, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 51, - "line": 313, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 37, - "line": 315, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 38, - "line": 378, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 50, - "line": 448, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 49, - "line": 450, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 29, - "line": 458, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 72, - "line": 460, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 60, - "line": 472, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 52, - "line": 474, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 60, - "line": 476, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 64, - "line": 478, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 86, - "line": 480, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 58, - "line": 481, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 100, - "line": 483, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 69, - "line": 484, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 67, - "line": 485, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 66, - "line": 486, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 31, - "line": 549, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 34, - "line": 597, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 30, - "line": 632, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 30, - "line": 634, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 29, - "line": 636, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 42, - "line": 670, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 43, - "line": 680, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 62, - "line": 698, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 88, - "line": 704, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 34, - "line": 783, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 75, - "line": 785, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 30, - "line": 787, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 34, - "line": 789, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 32, - "line": 791, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 36, - "line": 793, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 33, - "line": 795, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 40, - "line": 797, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 38, - "line": 799, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 34, - "line": 849, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 43, - "line": 851, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 36, - "line": 853, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 43, - "line": 855, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 97, - "line": 857, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 55, - "line": 859, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 57, - "line": 861, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 50, - "line": 863, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 73, - "line": 865, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 4, - "line": 13, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 4, - "line": 21, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 10, - "line": 22, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 7, - "line": 24, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 12, - "line": 26, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 9, - "line": 28, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 8, - "line": 30, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 9, - "line": 32, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 9, - "line": 34, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 5, - "line": 41, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 5, - "line": 43, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 13, - "line": 51, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 8, - "line": 53, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 12, - "line": 55, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 11, - "line": 57, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 15, - "line": 59, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 12, - "line": 106, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 15, - "line": 108, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 21, - "line": 109, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 12, - "line": 205, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 11, - "line": 225, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 30, - "line": 313, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 10, - "line": 315, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 17, - "line": 378, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 31, - "line": 448, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 37, - "line": 450, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 18, - "line": 458, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 22, - "line": 460, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 29, - "line": 472, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 21, - "line": 474, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 33, - "line": 476, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 37, - "line": 478, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 71, - "line": 480, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 41, - "line": 481, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 85, - "line": 483, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 52, - "line": 484, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 51, - "line": 485, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 50, - "line": 486, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 19, - "line": 549, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 18, - "line": 597, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 11, - "line": 632, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 12, - "line": 634, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 13, - "line": 636, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 26, - "line": 670, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 23, - "line": 680, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 43, - "line": 698, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 61, - "line": 704, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 14, - "line": 783, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 18, - "line": 785, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 12, - "line": 787, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 15, - "line": 789, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 15, - "line": 791, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 16, - "line": 793, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 15, - "line": 795, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 18, - "line": 797, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 21, - "line": 799, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 14, - "line": 849, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 24, - "line": 851, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 18, - "line": 853, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 21, - "line": 855, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 24, - "line": 857, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 28, - "line": 859, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 30, - "line": 861, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 33, - "line": 863, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 39, - "line": 865, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 33, - "line": 927, - "rule": "block-opening-brace-space-before", - "severity": "error", - "text": "Expected single space before \\"{\\" (block-opening-brace-space-before)", - }, - Object { - "column": 27, - "line": 53, - "rule": "color-hex-length", - "severity": "error", - "text": "Expected \\"#eeee88\\" to be \\"#ee8\\" (color-hex-length)", - }, - Object { - "column": 31, - "line": 55, - "rule": "color-hex-length", - "severity": "error", - "text": "Expected \\"#ffff99\\" to be \\"#ff9\\" (color-hex-length)", - }, - Object { - "column": 30, - "line": 57, - "rule": "color-hex-length", - "severity": "error", - "text": "Expected \\"#ee8888\\" to be \\"#e88\\" (color-hex-length)", - }, - Object { - "column": 34, - "line": 59, - "rule": "color-hex-length", - "severity": "error", - "text": "Expected \\"#ff9999\\" to be \\"#f99\\" (color-hex-length)", - }, - Object { - "column": 26, - "line": 322, - "rule": "color-hex-length", - "severity": "error", - "text": "Expected \\"#bbbbbb\\" to be \\"#bbb\\" (color-hex-length)", - }, - Object { - "column": 27, - "line": 323, - "rule": "color-hex-length", - "severity": "error", - "text": "Expected \\"#bbbbbb\\" to be \\"#bbb\\" (color-hex-length)", - }, - Object { - "column": 9, - "line": 332, - "rule": "color-hex-length", - "severity": "error", - "text": "Expected \\"#ffffff\\" to be \\"#fff\\" (color-hex-length)", - }, - Object { - "column": 52, - "line": 476, - "rule": "color-hex-length", - "severity": "error", - "text": "Expected \\"#ee8888\\" to be \\"#e88\\" (color-hex-length)", - }, - Object { - "column": 56, - "line": 478, - "rule": "color-hex-length", - "severity": "error", - "text": "Expected \\"#ff9999\\" to be \\"#f99\\" (color-hex-length)", - }, - Object { - "column": 9, - "line": 915, - "rule": "color-named", - "severity": "error", - "text": "Unexpected named color \\"red\\" (color-named)", - }, - Object { - "column": 9, - "line": 961, - "rule": "color-named", - "severity": "error", - "text": "Unexpected named color \\"red\\" (color-named)", - }, - Object { - "column": 2, - "line": 444, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 2, - "line": 912, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 2, - "line": 412, - "rule": "declaration-block-no-duplicate-properties", - "severity": "error", - "text": "Unexpected duplicate \\"line-height\\" (declaration-block-no-duplicate-properties)", - }, - Object { - "column": 2, - "line": 1016, - "rule": "declaration-block-no-duplicate-properties", - "severity": "error", - "text": "Unexpected duplicate \\"line-height\\" (declaration-block-no-duplicate-properties)", - }, - Object { - "column": 15, - "line": 13, - "rule": "declaration-block-semicolon-newline-after", - "severity": "error", - "text": "Expected newline after \\";\\" (declaration-block-semicolon-newline-after)", - }, - Object { - "column": 20, - "line": 21, - "rule": "declaration-block-semicolon-newline-after", - "severity": "error", - "text": "Expected newline after \\";\\" (declaration-block-semicolon-newline-after)", - }, - Object { - "column": 28, - "line": 108, - "rule": "declaration-block-semicolon-newline-after", - "severity": "error", - "text": "Expected newline after \\";\\" (declaration-block-semicolon-newline-after)", - }, - Object { - "column": 34, - "line": 785, - "rule": "declaration-block-semicolon-newline-after", - "severity": "error", - "text": "Expected newline after \\";\\" (declaration-block-semicolon-newline-after)", - }, - Object { - "column": 53, - "line": 785, - "rule": "declaration-block-semicolon-newline-after", - "severity": "error", - "text": "Expected newline after \\";\\" (declaration-block-semicolon-newline-after)", - }, - Object { - "column": 55, - "line": 857, - "rule": "declaration-block-semicolon-newline-after", - "severity": "error", - "text": "Expected newline after \\";\\" (declaration-block-semicolon-newline-after)", - }, - Object { - "column": 79, - "line": 857, - "rule": "declaration-block-semicolon-newline-after", - "severity": "error", - "text": "Expected newline after \\";\\" (declaration-block-semicolon-newline-after)", - }, - Object { - "column": 53, - "line": 865, - "rule": "declaration-block-semicolon-newline-after", - "severity": "error", - "text": "Expected newline after \\";\\" (declaration-block-semicolon-newline-after)", - }, - Object { - "column": 19, - "line": 244, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 26, - "line": 549, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 8, - "line": 552, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 19, - "line": 594, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 19, - "line": 613, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 19, - "line": 946, - "rule": "declaration-colon-space-after", - "severity": "error", - "text": "Expected single space after \\":\\" with a single-line declaration (declaration-colon-space-after)", - }, - Object { - "column": 15, - "line": 442, - "rule": "declaration-property-unit-whitelist", - "severity": "error", - "text": "Unexpected unit \\"em\\" for property \\"line-height\\" (declaration-property-unit-whitelist)", - }, - Object { - "column": 15, - "line": 169, - "rule": "font-weight-notation", - "severity": "error", - "text": "Expected numeric font-weight notation (font-weight-notation)", - }, - Object { - "column": 15, - "line": 194, - "rule": "font-weight-notation", - "severity": "error", - "text": "Expected numeric font-weight notation (font-weight-notation)", - }, - Object { - "column": 15, - "line": 214, - "rule": "font-weight-notation", - "severity": "error", - "text": "Expected numeric font-weight notation (font-weight-notation)", - }, - Object { - "column": 15, - "line": 301, - "rule": "font-weight-notation", - "severity": "error", - "text": "Expected numeric font-weight notation (font-weight-notation)", - }, - Object { - "column": 15, - "line": 519, - "rule": "font-weight-notation", - "severity": "error", - "text": "Expected numeric font-weight notation (font-weight-notation)", - }, - Object { - "column": 15, - "line": 617, - "rule": "font-weight-notation", - "severity": "error", - "text": "Expected numeric font-weight notation (font-weight-notation)", - }, - Object { - "column": 15, - "line": 640, - "rule": "font-weight-notation", - "severity": "error", - "text": "Expected numeric font-weight notation (font-weight-notation)", - }, - Object { - "column": 15, - "line": 676, - "rule": "font-weight-notation", - "severity": "error", - "text": "Expected numeric font-weight notation (font-weight-notation)", - }, - Object { - "column": 15, - "line": 684, - "rule": "font-weight-notation", - "severity": "error", - "text": "Expected numeric font-weight notation (font-weight-notation)", - }, - Object { - "column": 15, - "line": 690, - "rule": "font-weight-notation", - "severity": "error", - "text": "Expected numeric font-weight notation (font-weight-notation)", - }, - Object { - "column": 15, - "line": 710, - "rule": "font-weight-notation", - "severity": "error", - "text": "Expected numeric font-weight notation (font-weight-notation)", - }, - Object { - "column": 29, - "line": 789, - "rule": "font-weight-notation", - "severity": "error", - "text": "Expected numeric font-weight notation (font-weight-notation)", - }, - Object { - "column": 15, - "line": 826, - "rule": "font-weight-notation", - "severity": "error", - "text": "Expected numeric font-weight notation (font-weight-notation)", - }, - Object { - "column": 15, - "line": 885, - "rule": "font-weight-notation", - "severity": "error", - "text": "Expected numeric font-weight notation (font-weight-notation)", - }, - Object { - "column": 23, - "line": 65, - "rule": "function-url-quotes", - "severity": "error", - "text": "Unexpected quotes (function-url-quotes)", - }, - Object { - "column": 18, - "line": 69, - "rule": "function-url-quotes", - "severity": "error", - "text": "Unexpected quotes (function-url-quotes)", - }, - Object { - "column": 24, - "line": 326, - "rule": "function-url-quotes", - "severity": "error", - "text": "Unexpected quotes (function-url-quotes)", - }, - Object { - "column": 24, - "line": 650, - "rule": "function-url-quotes", - "severity": "error", - "text": "Unexpected quotes (function-url-quotes)", - }, - Object { - "column": 64, - "line": 65, - "rule": "length-zero-no-unit", - "severity": "error", - "text": "Unexpected unit (length-zero-no-unit)", - }, - Object { - "column": 116, - "line": 912, - "rule": "max-line-length", - "severity": "error", - "text": "Expected line length to be no more than 80 characters (max-line-length)", - }, - Object { - "column": 12, - "line": 7, - "rule": "no-eol-whitespace", - "severity": "error", - "text": "Unexpected whitespace at end of line (no-eol-whitespace)", - }, - Object { - "column": 11, - "line": 10, - "rule": "no-eol-whitespace", - "severity": "error", - "text": "Unexpected whitespace at end of line (no-eol-whitespace)", - }, - Object { - "column": 34, - "line": 791, - "rule": "no-eol-whitespace", - "severity": "error", - "text": "Unexpected whitespace at end of line (no-eol-whitespace)", - }, - Object { - "column": 21, - "line": 26, - "rule": "number-no-trailing-zeros", - "severity": "error", - "text": "Unexpected trailing zero(s) (number-no-trailing-zeros)", - }, - Object { - "column": 27, - "line": 28, - "rule": "number-no-trailing-zeros", - "severity": "error", - "text": "Unexpected trailing zero(s) (number-no-trailing-zeros)", - }, - Object { - "column": 15, - "line": 178, - "rule": "number-no-trailing-zeros", - "severity": "error", - "text": "Unexpected trailing zero(s) (number-no-trailing-zeros)", - }, - Object { - "column": 1, - "line": 22, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 109, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 481, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 484, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 485, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 486, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 686, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 689, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 33, - "line": 931, - "rule": "selector-attribute-quotes", - "severity": "error", - "text": "Expected quotes around \\"text\\" (selector-attribute-quotes)", - }, - Object { - "column": 36, - "line": 932, - "rule": "selector-attribute-quotes", - "severity": "error", - "text": "Expected quotes around \\"text\\" (selector-attribute-quotes)", - }, - Object { - "column": 35, - "line": 933, - "rule": "selector-attribute-quotes", - "severity": "error", - "text": "Expected quotes around \\"text\\" (selector-attribute-quotes)", - }, - Object { - "column": 33, - "line": 934, - "rule": "selector-attribute-quotes", - "severity": "error", - "text": "Expected quotes around \\"password\\" (selector-attribute-quotes)", - }, - Object { - "column": 35, - "line": 935, - "rule": "selector-attribute-quotes", - "severity": "error", - "text": "Expected quotes around \\"password\\" (selector-attribute-quotes)", - }, - Object { - "column": 4, - "line": 26, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 4, - "line": 28, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 21, - "line": 306, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 43, - "line": 306, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 57, - "line": 306, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 69, - "line": 306, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 88, - "line": 306, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 99, - "line": 306, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 14, - "line": 448, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 17, - "line": 450, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 31, - "line": 480, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 44, - "line": 483, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 5, - "line": 561, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 11, - "line": 698, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 26, - "line": 698, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 17, - "line": 704, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 38, - "line": 704, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 11, - "line": 706, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 26, - "line": 706, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 13, - "line": 715, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 30, - "line": 715, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 19, - "line": 720, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 42, - "line": 720, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 8, - "line": 728, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 20, - "line": 728, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 8, - "line": 734, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 14, - "line": 18, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 30, - "line": 18, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 33, - "line": 26, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 23, - "line": 65, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 18, - "line": 69, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 24, - "line": 326, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 24, - "line": 650, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 11, - "line": 960, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 20, - "line": 562, - "rule": "value-list-comma-space-after", - "severity": "error", - "text": "Expected single space after \\",\\" in a single-line list (value-list-comma-space-after)", - }, - Object { - "column": 26, - "line": 562, - "rule": "value-list-comma-space-after", - "severity": "error", - "text": "Expected single space after \\",\\" in a single-line list (value-list-comma-space-after)", - }, - Object { - "column": 36, - "line": 562, - "rule": "value-list-comma-space-after", - "severity": "error", - "text": "Expected single space after \\",\\" in a single-line list (value-list-comma-space-after)", - }, - Object { - "column": 20, - "line": 709, - "rule": "value-list-comma-space-after", - "severity": "error", - "text": "Expected single space after \\",\\" in a single-line list (value-list-comma-space-after)", - }, - Object { - "column": 26, - "line": 709, - "rule": "value-list-comma-space-after", - "severity": "error", - "text": "Expected single space after \\",\\" in a single-line list (value-list-comma-space-after)", - }, - Object { - "column": 36, - "line": 709, - "rule": "value-list-comma-space-after", - "severity": "error", - "text": "Expected single space after \\",\\" in a single-line list (value-list-comma-space-after)", - }, - Object { - "column": 2, - "line": 273, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '6px 0 0 0' instead of '6px 0 0' (shorthand-property-no-redundant-values)", - }, - Object { - "column": 2, - "line": 437, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '2em 0 0 0' instead of '2em 0 0' (shorthand-property-no-redundant-values)", - }, - Object { - "column": 2, - "line": 454, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '1em 1em 0 1em' instead of '1em 1em 0' (shorthand-property-no-redundant-values)", - }, - Object { - "column": 56, - "line": 857, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '2px 5px 0 5px' instead of '2px 5px 0' (shorthand-property-no-redundant-values)", - }, - ], - }, -] -`; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/043/config.json b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/043/config.json deleted file mode 100644 index a8af7d5dcb61b9..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/043/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../index.js" -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/043/stylesheet.css b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/043/stylesheet.css deleted file mode 100644 index 9902b80f776c37..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/043/stylesheet.css +++ /dev/null @@ -1,1030 +0,0 @@ -/* -Theme Name: Kakumei -Theme URI: http://bbpress.org/ -Description: The "revolutionized" new face of bbPress. -Version: 1.0 -Author: Bryan Veloso with updates by Sam Bauers -Author URI: -*/ - -/* Globals -=================================== */ - -* { margin: 0; padding: 0; } - -body { - margin-bottom: 50px; - background-color: #fff; - font: 62.5% 'Trebuchet MS', 'Lucida Grande', Verdana, Tahoma, Arial; -} - -a { color: #2e6e15; text-decoration: none; } -a:hover { color: #006400; } - -.alt { background-color: #fff; } - -pre, code { font: 1.0em Monaco, 'Courier New', monospace; } - -pre, p { margin-bottom: 1.0em; } - -.left { float: left; } - -.right { float: right; } - -.clear { clear: both; } - -.delete:hover { - background-color: #c00; - color: #fff; -} - -h1 { font-size: 2em; } - -h2 { font-size: 1.3em; } - -fieldset { - border-width: 0; - padding: 0; - margin: 0; -} - -img.avatar { border: 1px solid #ddd; } - -.bozo { background-color: #eeee88; } - -.alt.bozo { background-color: #ffff99; } - -.deleted { background-color: #ee8888; } - -.alt.deleted { background-color: #ff9999; } - -/* Structure -=================================== */ - -#wrapper { - background: #fff url('images/page_header_tile.png') repeat-x 0px -15px; -} - -#header { - background: url('images/page_header_bblogo.png') no-repeat bottom right; /* Remove to get rid of bb emblem. */ - margin: 0 auto 10px; - width: 760px; - height: 116px; - position: relative; -} - -#header h1 { - font-family: Georgia; - font-style: italic; - overflow: auto; - position: absolute; - display: block; - color: #444; - text-align: right; - letter-spacing: -1px; - right: 53px; - bottom: 26px; - padding: 6px; - z-index: 2; -} - -#header p.description { - font-size: 1.2em; - font-family: Georgia; - font-style: italic; - overflow: auto; - position: absolute; - display: block; - color: #666; - text-align: right; - right: 53px; - bottom: 13px; - padding: 6px; - z-index: 2; -} - -#header p { margin-bottom: 0; } - -#header h1 a { color: #555; text-decoration: none; } -#header h1 a:hover { color: #666; } - -#header div.search { - float: right; - padding: 4px; - background-color: #aaa; - -moz-border-radius-bottomleft: 4px; - -khtml-border-bottom-left-radius: 4px; - -webkit-border-bottom-left-radius: 4px; - border-bottom-left-radius: 4px; - -moz-border-radius-bottomright: 4px; - -khtml-border-bottom-right-radius: 4px; - -webkit-border-bottom-right-radius: 4px; - border-bottom-right-radius: 4px; -} - -#header div.search input { - border: 1px solid #999; - background-color: #fdfdfd; - padding: 2px; - line-height: 14px; - font-size: 12px; - margin: 0; - -moz-border-radius: 3px; - -khtml-border-radius: 3px; - -webkit-border-radius: 3px; - border-radius: 3px; -} - -#header div.search input.submit { - background-color: #ccc; - line-height: 15px; - -moz-border-radius: 4px; - -khtml-border-radius: 4px; - -webkit-border-radius: 4px; - border-radius: 4px; - padding: 2px 4px; -} - -#header div.search input.submit:hover { - background-color: #ddd; - color: rgb(0, 100, 0); -} - -#header div.search input.submit:active { - border-color: rgb(0, 100, 0); -} - -#main { - font-size: 1.2em; - width: 760px; - margin: 0 auto 25px; - position: relative; -} - -.bbcrumb { - text-transform: uppercase; - font-size: 0.9em; - letter-spacing: 1px; - padding: 5px 0 20px; - font-weight: bold; -} - -#footer { - font-family: Georgia; - font-style: italic; - border-top: 1px solid #ccc; - margin: auto; - color: #666; - font-size: 1.0em; - padding-top: 10px; - clear: both; - text-align: right; - width: 760px; -} - -#footer p.showoff { - color: #888; -} - -.notice { - border: 1px solid #4c9545; - background-color: #abd8a2; - color: #4c9545; - font-size: 1.1em; - font-weight: bold; - padding: 10px 15px; - margin: 0 0 1.1em; -} - -.notice.error { - border-color: #852424; - background-color: #ca8a8a; - color: #5d2424; -} - -.notice p { margin-bottom: 0; } - -/* Login Form -=================================== */ - -.login { - position: absolute; - bottom: 31px; - left: 0; - font-weight: normal; - color: #444; - width: 100%; - z-index: 1; - font-size: 12px; -} - -form.login { - bottom: 15px; -} - -.login p { padding: 0 0 8px; } - -.login label { - display: block; - float: left; - padding-right: 10px; - line-height: 14px; -} - -form.login input { - border: 1px solid #999; - padding: 2px; - line-height: 14px; - font-size: 12px; - margin: 0; - -moz-border-radius: 3px; - -khtml-border-radius: 3px; - -webkit-border-radius: 3px; - border-radius: 3px; - background-color:#fff; -} - -form.login input.submit { - background-color: #ccc; - float: left; - margin-top: 14px; - margin-bottom: -10px; - display: block; - line-height: 15px; - -moz-border-radius: 4px; - -khtml-border-radius: 4px; - -webkit-border-radius: 4px; - border-radius: 4px; - padding: 2px 4px; -} - -form.login input.submit:hover { - background-color: #ddd; - color: rgb(0, 100, 0); -} - -form.login input.submit:active { - border-color: rgb(0, 100, 0); -} - -div.remember label { - clear: both; - padding: 0; - margin: 6px 0 0 0; - line-height: 12px; -} - -form.login input#remember { - border-width: 0; - padding: 0; - margin: 0; - vertical-align: baseline; -} - -/* Front Page -=================================== */ - -#front-page #hottags { - position: absolute; - top: 0; - left: 0; - width: 150px; - overflow: hidden; -} - -#front-page #discussions { - margin-left: 170px; - width: 590px; -} - -.frontpageheatmap { - font-weight: normal; - line-height: 30px; - padding-bottom: 10px; -} - -#front-page #main h2, #forum-page #main h2, h2.post-form, #userlogin, #currentfavorites, #register, #passwordrecovery { - color: #555; - border-bottom: 1px solid #ddd; - margin: 0 0 10px; - padding: 0 0 5px; -} - -#front-page #discussions ul { padding: 0 0 0 14px; } - -.sticky { background-color: #a1d29a; } - -/* Page navigation -=================================== */ - -a.page-numbers, -span.page-numbers { - border-right: 1px solid #bbbbbb; - border-bottom: 1px solid #bbbbbb; - padding: 4px 4px 2px 5px; - margin-left: 5px; - background-image: url('images/page-links-background.gif'); - background-repeat: no-repeat; - background-position: 0 0; -} - -span.page-numbers.current { - color: #ffffff; - background-position: 0 -100px; -} - -#latest a.page-numbers { - font-size: 0.8em; - padding: 3px 3px 1px 4px; - margin-left: 3px; -} - -a.prev.page-numbers, -a.next.page-numbers, -span.page-numbers.dots { - border-width: 0; - padding: 0 4px; - background-image: none; -} - -span.page-numbers.dots { - padding: 0; -} - -a.page-numbers:hover { - background-position: 0 -100px; -} - -a.prev.page-numbers:hover, -a.next.page-numbers:hover { - color: #006400; -} - -/* Topic Page -=================================== */ - -.infobox { - border: 1px solid #ccc; - border-width: 1px 0; - padding: 1em 0; -} - -.infobox ul { - margin: 10px 0 10px 20px; - padding: 0; - list-style-type: disc; -} - -.infobox ul li { padding-bottom: 3px; } - -#topic-info { - float: left; - padding: 0 1em 0 0; -} - -#topic-tags { - border-left: 1px solid #ccc; - float: right; - padding: 0 0 0 1em; -} - -#tag-form p { - margin-bottom: 0; -} - -input#tag { - border: 1px solid #999; - padding: 2px; - line-height: 14px; - font-size: 12px; - margin: 0; - -moz-border-radius: 3px; - -khtml-border-radius: 3px; - -webkit-border-radius: 3px; - border-radius: 3px; -} - -input#tagformsub { - border: 1px solid #999; - line-height: 14px; - font-size: 12px; - margin: 0; - line-height: 15px; - -moz-border-radius: 4px; - -khtml-border-radius: 4px; - -webkit-border-radius: 4px; - border-radius: 4px; - padding: 2px 4px; -} - -input#tagformsub:hover { - background-color: #ddd; - color: rgb(0, 100, 0); -} - -input#tagformsub:active { - border-color: rgb(0, 100, 0); -} - -.nav { - margin: 15px 0; - padding: 12px 0; - text-align: center; -} - -#thread { - list-style: none; - margin: 2em 0 0 0; - padding: 0; -} - -#thread li { - line-height: 1.5em; - clear: both; - /* Hack to force padding on .threadauthor on IE */ - border-top: 1px solid #fff; -} - -#thread li ol, #thread li ul { margin-left: 40px; } - -#thread li ol li, #thread li ul li { padding: 0; } - -.threadauthor { - float: left; - padding: 1em 1em 0 1em; - width: 120px; -} - -.threadauthor p { margin: 0; } - -.threadauthor small { font: 11px Verdana, Arial, Helvetica, sans-serif; } - -.threadpost { - padding: 1.5em 1em; - margin-left: 140px; - background-color: #eee; - -moz-border-radius: 6px; - -khtml-border-radius: 6px; - -webkit-border-radius: 6px; - border-radius: 6px; -} - -#thread li.alt .threadpost { background-color: transparent; } - -#thread li.deleted { background-color: transparent; } - -#thread li.deleted .threadpost { background-color: #ee8888; } - -#thread li.alt.deleted .threadpost { background-color: #ff9999; } - -#thread li .post-undelete-link, #thread li.deleted .post-delete-link { display: none; } -#thread li.deleted .post-undelete-link { display: inline; } - -#thread li.deleted .before-post-delete-link, #thread li .before-post-undelete-link { display: none; } -#thread li.deleted span.before-post-undelete-link { display: inline; } -#thread li.deleted div.before-post-undelete-link { display: block; } -#thread li.deleted li.before-post-undelete-link { display: block; } - -#thread li.pingback { - margin-left: 140px; - margin-top: 2px; - margin-bottom: 2px; - background-color: #e4f3e1; - -moz-border-radius: 6px; - -khtml-border-radius: 6px; - -webkit-border-radius: 6px; - border-radius: 6px; - border: 0.2em solid #e4f3e1; -} - -#thread li.pingback.alt { - background-color: #fff; -} - -#thread li.pingback .threadpost { - background-color: #e4f3e1; -} - -#thread li.pingback.alt .threadpost { - background-color: #fff; -} - -#thread li.pingback .threadauthor { - float: none; - padding: 0.9em 0.9em 0; - width: auto; -} - -#thread li.pingback .threadauthor strong { - font-weight: normal; -} - -#thread li.pingback .threadauthor small { - color: #333; -} - -#thread li.pingback .threadpost { - margin-left: 0; - padding: 0.5em 0.9em 1.5em; -} - -#thread li.pingback .post { - font-style: italic; - color: #333; - margin: 0 0 0 2.4em; - padding: 0 0 0 0.8em; - border-left: 3px dotted #ccc; -} - -#thread .post { - _height: 90px; /* Hack to fix broken .alt coloring in IE6 */ -} - -#thread .post blockquote { - margin: 0 0 0 2.4em; - padding: 0 0 0 0.8em; - border-left: 3px solid #ccc; -} - -#thread .post li { clear:none; } - -.poststuff { - clear:both; - _clear: none; /* Hack to fix broken .alt coloring in IE6 */ - border-top: 1px dotted #ccc; - margin: 10px 0 0; - padding: 5px 0 0; - font: 10px Verdana, Arial, Helvetica, sans-serif; - text-transform: uppercase; -} - -.num, #forumlist small { - font: 11px Verdana,Arial,Helvetica,sans-serif; - text-align: center; - white-space: nowrap; -} - -h2.post-form { - border-bottom-width: 0; - margin-bottom: 2px; -} - -.postform { - background-color: #f0f0f0; - padding: 1em; - margin-bottom: 1em; - -moz-border-radius: 6px; - -khtml-border-radius: 6px; - -webkit-border-radius: 6px; - border-radius: 6px; -} - -.postform textarea { - height: 12em; - margin: 5px 0; - padding: 5px; - width: 724px; - max-width: 724px; - border: 1px solid #ccc; - display: block; - -moz-border-radius: 3px; - -khtml-border-radius: 3px; - -webkit-border-radius: 3px; - border-radius: 3px; - background-color:#fff; -} - -.postform label { display: block; } - -.postform #author, -.postform #email, -.postform #topic, -.postform #tags-input, -.postform #url { - margin: 5px 0; - padding: 5px; - width: 724px; - border: 1px solid #ccc; - display: block; - -moz-border-radius: 3px; - -khtml-border-radius: 3px; - -webkit-border-radius: 3px; - border-radius: 3px; - background-color:#fff; -} - -.postform p#post-form-forum-container label span { - font-weight: bold; - font-style: italic; -} - -#manage-tags { - margin: 10px 0; - list-style: none; -} - -#manage-tags li { - float: left; - width: 200px; - padding-bottom: 10px; -} - -p.submit { text-align: right; } - -p.allowed { margin-bottom: 0; } - -.topiclink { display: block; } - -.topictitle { - font-size: 26px; - font-weight: normal; - display: inline; -} - -p.rss-link { - text-align: right; -} - -a.rss-link { - padding: 6px 0 6px 20px; - background-image: url('images/feed-icon-16x16.gif'); - background-repeat: no-repeat; - background-position: 0 50%; -} - -#topic-move, -#topic-move fieldset, -#topic-move fieldset div { - display: inline; -} - -#topic-move input { - font-family: inherit; - background: none; - border: none; - cursor: pointer; - color: #2e6e15; - font-size: 1em; -} - -#topic-move input:hover { color: #006400; } - -/* Other -=================================== */ - -#content .frontpageheatmap a { - font-weight: normal; - text-decoration: none; -} - -#content .infobox li { margin-bottom: 2px; } - -#content .nav a { - border: 1px solid #ccc; - font-weight: normal; -} -#content .nav a:hover { - border: 1px solid #999; -} -#content a:visited { - font-weight: normal; -} - -#front-search { - float: right; - margin-top: -8px; -} - -#latest td, #forumlist td, #favorites td { padding: 5px 10px; } - -#forumlist tr td div.nest { - padding-left: 2.5ex; -} - -#latest tr:hover, #forumlist tr:hover, #favorites tr:hover { background-color: #e4f3e1; } - -#latest th, #forumlist th, #favorites th { - text-align: left; - background-color: rgb(102, 102, 102); - font: 11px Verdana,Arial,Helvetica,sans-serif; - font-weight: normal; - padding: 5px 9px; - color: rgb(255, 255, 255); -} - -#latest th a, #forumlist th a, #favorites th a { - color: rgb(200, 200, 200); - font-style: italic; -} - -#latest th a:hover, #forumlist th a:hover, #favorites th a:hover { - color: rgb(255, 255, 255); -} - -tr.bb-category td { - background-color: #ddd; -} - -#latest, #forumlist, #favorites { - background-color: #f7f7f7; - margin-bottom: 3em; - width: 100%; -} - -#latest, #forumlist { - margin-top: -0.9em; -} - -#discussions .nav { - margin-top: -2em; - margin-bottom: 1em; -} - -/* Profile Page -=================================== */ - -#profile-menu { - list-style: none; - position: absolute; - right: 0; -} - -#profile-menu li { - display: inline; - margin-left: 3px; -} - -#profile-menu li a { - font-size: 1.1em; - background-color: #ddd; - padding: 4px 7px; - border-top: 3px double #9e9e9e; - position: relative; - top: -10px; - -moz-border-radius-bottomleft: 6px; - -khtml-border-bottom-left-radius: 6px; - -webkit-border-bottom-left-radius: 6px; - border-bottom-left-radius: 6px; - -moz-border-radius-bottomright: 6px; - -khtml-border-bottom-right-radius: 6px; - -webkit-border-bottom-right-radius: 6px; - border-bottom-right-radius: 6px; -} - -#profile-menu li.current a { - background-color: #bbb; - border-top: 1px solid #9e9e9e; -} - -#profile-menu li a:hover { - background-color: #e4f3e1; -} - -#useravatar { margin-bottom: 1em; } - -#useravatar img { display: block; border-width: 3px; border-style: double; } - -#userinfo { margin-top: 10px; } - -#userinfo dt { font-weight: bold; } - -#userinfo dd { margin: 0 0 5px; } - -#useractivity { margin: 15px 0 5px; } - -.user-recent { margin: 0 0 10px; } - -.user-recent ol { margin: 5px 0 0 28px; } - -.user-recent ol li { margin: 0 0 3px; } - -/* Search -=================================== */ - -#topic-search-form fieldset { - border-top: 3px double #ccc; - border-bottom: 1px solid #ccc; - border-left: none; - border-right: none; - padding: 10px 0 10px 10px; - margin-bottom: 15px; - background-color: #f6f6f6; -} - -#topic-search-form div { - clear: both; -} - -#topic-search-form div label { - display: block; - float: left; - padding: 5px; - text-align: right; - width: 20%; - vertical-align: top; - padding-right: 1em; - font-weight: bold; -} - -#topic-search-form div div { - display: block; - float: left; - clear: none; - padding: 5px; -} - -#topic-search-form div div input { - width: 280px; - border: 1px solid #ccc; - padding: 2px; - line-height: 14px; - font-size: 12px; - margin: 0; - -moz-border-radius: 3px; - -khtml-border-radius: 3px; - -webkit-border-radius: 3px; - border-radius: 3px; -} - -#search-for { margin: 15px 0 5px; } - -ul#search-suggestions { margin-left: 25px; } - -.search-results { margin: 0 0 10px; } - -.search-results ol { margin: 5px 0 0 28px; } - -.search-results ol li { border-bottom: 1px solid #ccc; padding: 2px 5px 0 5px; min-height: 50px; } - -.search-results ol li.alt { background-color: #f8f8f8; } - -.search-results ol li:hover { background-color: #e4f3e1; } - -.search-results ol li a.result { font-size: 15px; } - -.search-results ol li span.freshness { float: right; font-style: italic; } - -/* Login, Register, Profile Edit -=================================== */ - -#login-page fieldset, -#register-page fieldset, -#profile-page fieldset { - border-top: 3px double #ccc; - border-bottom: 1px solid #ccc; - border-left: none; - border-right: none; - padding: 10px 0 10px 10px; - margin-bottom: 15px; - background-color: #f6f6f6; -} - -#login-page legend, -#register-page legend, -#profile-page legend { - font-weight: bold; - padding: 0 15px; -} - -#login-page fieldset table, -#register-page fieldset table, -#profile-page fieldset table { - text-align: left; - margin: 0 15px; - width: 95%; - border-collapse: collapse; -} - -#login-page fieldset table th, -#register-page fieldset table th, -#profile-page fieldset table th { - padding: 5px; - text-align: right; - width: 20%; - vertical-align: top; - padding-right: 1em; -} - -#login-page fieldset table tr.error th em, -#register-page fieldset table tr.error th em, -#profile-page fieldset table tr.error th em { - position: absolute; - /* fieldset:padding-left + table:margin-left + table:width + td:padding-left + input:width + input:padding-right */ - left: 458px; /* 10 + 15 + 20% * ( 95% * (760 - 10) ) + 5 + 280 + 5 */ - margin-left: 1em; /* th:padding-right = 1em */ - color: red; - font-style: normal; -} - -#login-page fieldset table td, -#register-page fieldset table td, -#profile-page fieldset table td { - padding: 5px; -} - -#login-page fieldset table td p, -#register-page fieldset table td p, -#profile-page fieldset table td p{ - margin: 5px 0; -} - -#login-page fieldset input[type=text], -#register-page fieldset input[type=text], -#profile-page fieldset input[type=text], -#login-page fieldset input[type=password], -#profile-page fieldset input[type=password] { - width: 280px; - border: 1px solid #ccc; - padding: 2px; - line-height: 14px; - font-size: 12px; - margin: 0; - -moz-border-radius: 3px; - -khtml-border-radius: 3px; - -webkit-border-radius: 3px; - border-radius: 3px; - background-color:#fff; -} - -#login-page fieldset p, -#register-page fieldset p, -#profile-page fieldset p { - font-size: 11px; - margin: 10px 16px; -} - -#login-page tr.form-required label:before, -#register-page tr.form-required label:before, -#profile-page tr.form-required label:before, -p.required-message:before { - content: ' * '; - color: red; - vertical-align: 10%; -} - -.form-invalid { - background-color: #ffebe8 !important; -} - -.form-invalid input { - padding: 1px; - border: 1px solid #c00 !important; -} - -.hidden { - display: none; -} - -#pass-strength-result { - padding: 2px; - text-align: center; - width: 280px; - border: 1px solid #ccc; - background-color: #e3e3e3; - -moz-border-radius: 3px; - -khtml-border-radius: 3px; - -webkit-border-radius: 3px; - border-radius: 3px; -} - -#pass-strength-result.bad { - background-color: #ffeff7; - border-color: #c69; -} - -#pass-strength-result.good { - background-color: #effff4; - border-color: #66cc87; -} - -#pass-strength-result.short { - background-color: #e3e3e3; -} - -#pass-strength-result.strong { - background-color: #59ef86; - border-color: #319f52; -} - -p.submit input { - background-color: #ccc; - border: 1px solid #999; - padding: 2px 4px; - line-height: 14px; - font-size: 12px; - margin: 0; - line-height: 15px; - -moz-border-radius: 4px; - -khtml-border-radius: 4px; - -webkit-border-radius: 4px; - border-radius: 4px; -} - -p.submit input:hover { - background-color: #ddd; - color: rgb(0, 100, 0); -} - -p.submit input:active { - border-color: rgb(0, 100, 0); -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/044/044.test.js b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/044/044.test.js deleted file mode 100644 index acd2493bed23b4..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/044/044.test.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -const stylelint = require( 'stylelint' ), - systemTestUtils = require( '../systemTestUtils.js' ); - -it( '044', () => { - return stylelint.lint({ - files: [systemTestUtils.caseStylesheetGlob( '044' )], - configFile: systemTestUtils.caseConfig( '044' ), - }).then( ({ results }) => { - expect( systemTestUtils.prepResults( results ) ).toMatchSnapshot(); - }); -}); diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/044/__snapshots__/044.test.js.snap b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/044/__snapshots__/044.test.js.snap deleted file mode 100644 index 8d56a598578715..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/044/__snapshots__/044.test.js.snap +++ /dev/null @@ -1,485 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`044 1`] = ` -Array [ - Object { - "deprecations": Array [], - "errored": true, - "ignored": undefined, - "invalidOptionWarnings": Array [], - "parseErrors": Array [], - "source": "044/stylesheet.css", - "warnings": Array [ - Object { - "column": 43, - "line": 13, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 26, - "line": 14, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 66, - "line": 15, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 56, - "line": 16, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 64, - "line": 17, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 48, - "line": 18, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 56, - "line": 19, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 41, - "line": 20, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 49, - "line": 21, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 31, - "line": 22, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 72, - "line": 23, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 61, - "line": 24, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 36, - "line": 25, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 42, - "line": 26, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 82, - "line": 27, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 48, - "line": 28, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 71, - "line": 29, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 39, - "line": 30, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 47, - "line": 31, - "rule": "block-closing-brace-newline-before", - "severity": "error", - "text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)", - }, - Object { - "column": 4, - "line": 13, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 10, - "line": 14, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 10, - "line": 15, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 40, - "line": 16, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 41, - "line": 17, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 32, - "line": 18, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 33, - "line": 19, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 25, - "line": 20, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 26, - "line": 21, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 10, - "line": 22, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 22, - "line": 23, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 34, - "line": 24, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 20, - "line": 25, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 26, - "line": 26, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 61, - "line": 27, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 27, - "line": 28, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 55, - "line": 29, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 23, - "line": 30, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 24, - "line": 31, - "rule": "block-opening-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"{\\" (block-opening-brace-newline-after)", - }, - Object { - "column": 20, - "line": 13, - "rule": "declaration-block-semicolon-newline-after", - "severity": "error", - "text": "Expected newline after \\";\\" (declaration-block-semicolon-newline-after)", - }, - Object { - "column": 49, - "line": 23, - "rule": "declaration-block-semicolon-newline-after", - "severity": "error", - "text": "Expected newline after \\";\\" (declaration-block-semicolon-newline-after)", - }, - Object { - "column": 13, - "line": 11, - "rule": "function-url-quotes", - "severity": "error", - "text": "Unexpected quotes (function-url-quotes)", - }, - Object { - "column": 33, - "line": 15, - "rule": "function-url-quotes", - "severity": "error", - "text": "Unexpected quotes (function-url-quotes)", - }, - Object { - "column": 12, - "line": 7, - "rule": "no-eol-whitespace", - "severity": "error", - "text": "Unexpected whitespace at end of line (no-eol-whitespace)", - }, - Object { - "column": 48, - "line": 31, - "rule": "no-missing-end-of-source-newline", - "severity": "error", - "text": "Unexpected missing end-of-source newline (no-missing-end-of-source-newline)", - }, - Object { - "column": 1, - "line": 14, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 15, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 16, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 17, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 18, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 19, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 20, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 21, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 22, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 23, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 24, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 25, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 26, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 27, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 28, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 29, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 30, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 31, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 17, - "line": 27, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 38, - "line": 27, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 26, - "line": 29, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 13, - "line": 11, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - Object { - "column": 33, - "line": 15, - "rule": "string-quotes", - "severity": "error", - "text": "Expected double quotes (string-quotes)", - }, - ], - }, -] -`; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/044/config.json b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/044/config.json deleted file mode 100644 index a8af7d5dcb61b9..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/044/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../index.js" -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/044/stylesheet.css b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/044/stylesheet.css deleted file mode 100644 index eeca106b9d8c99..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/044/stylesheet.css +++ /dev/null @@ -1,31 +0,0 @@ -/* -Theme Name: Kakumei Blue -Theme URI: http://bbpress.org/ -Description: The "revolutionized" new face of bbPress... in blue. -Version: 1.0 -Author: Bryan Veloso with updates by Sam Bauers -Author URI: -*/ - - -@import url('../kakumei/style.css'); - -a { color: #32689b; text-decoration: none; } -a:hover { color: #001364; } -#header { background-image: url('images/page_header_bblogo.png'); } -#header div.search input.submit:hover { color: #001364; } -#header div.search input.submit:active { border-color: #001364; } -form.login input.submit:hover { color: #001364; } -form.login input.submit:active { border-color: #001364; } -input#tagformsub:hover { color: #001364; } -input#tagformsub:active { border-color: #001364; } -.sticky { background: #adb9e1; } -#thread li.pingback { background-color: #d8dcf2; border-color: #d8dcf2; } -#thread li.pingback .threadpost { background-color: #d8dcf2; } -#topic-move input { color: #32689b; } -#topic-move input:hover { color: #001364; } -#latest tr:hover, #forumlist tr:hover, #favorites tr:hover { background: #d8dcf2; } -#profile-menu li a:hover { background: #d8dcf2; } -a.prev.page-numbers:hover, a.next.page-numbers:hover { color: #001364; } -p.submit input:hover { color: #001364; } -p.submit input:active { border-color: #001364; } \ No newline at end of file diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/045/045.test.js b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/045/045.test.js deleted file mode 100644 index 14c91fd7d6860f..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/045/045.test.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -const stylelint = require( 'stylelint' ), - systemTestUtils = require( '../systemTestUtils.js' ); - -it( '045', () => { - return stylelint.lint({ - files: [systemTestUtils.caseStylesheetGlob( '045' )], - configFile: systemTestUtils.caseConfig( '045' ), - }).then( ({ results }) => { - expect( systemTestUtils.prepResults( results ) ).toMatchSnapshot(); - }); -}); diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/045/__snapshots__/045.test.js.snap b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/045/__snapshots__/045.test.js.snap deleted file mode 100644 index 497f1d92f0c76e..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/045/__snapshots__/045.test.js.snap +++ /dev/null @@ -1,15 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`045 1`] = ` -Array [ - Object { - "deprecations": Array [], - "errored": undefined, - "ignored": undefined, - "invalidOptionWarnings": Array [], - "parseErrors": Array [], - "source": "045/stylesheet.css", - "warnings": Array [], - }, -] -`; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/045/config.json b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/045/config.json deleted file mode 100644 index a8af7d5dcb61b9..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/045/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../index.js" -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/045/stylesheet.css b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/045/stylesheet.css deleted file mode 100644 index 0a7887a10e2363..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/045/stylesheet.css +++ /dev/null @@ -1,148 +0,0 @@ -body.toplevel_page_bp-groups table.groups th#status, -body.toplevel_page_bp-groups table.groups th#members { - width: 10%; -} - -body.toplevel_page_bp-groups table.groups th#last_active { - width: 15%; -} - -#bp-groups-form .avatar { - float: left; - margin-right: 10px; - margin-top: 1px; -} - -#bp-groups-edit-form input { - outline: medium none; -} - -#bp-groups-edit-form input#bp-groups-name { - font-size: 1.7em; - width: 100%; - margin-bottom: 6px; -} - -#bp-groups-edit-form input#bp-groups-new-members { - border: 1px solid #e5e5e5; - margin-top: 6px; - width: 100%; -} - -#bp-groups-new-members-list { - margin: 0; -} - -.bp-groups-settings-section { - margin-top: 10px; - line-height: 2; -} - -.bp-groups-settings-section legend { - margin-top: 10px; - font-weight: 700; -} - -.bp-groups-settings-section label { - clear: left; - display: block; - float: left; - vertical-align: middle; -} - -#bp-groups-permalink-box { - line-height: 24px; - color: #666; -} - -#bp-groups-permalink { - margin-right: 24px; -} - -.bp-groups-member-type { - position: relative; -} - -.bp-groups-member-type > h4 { - margin-bottom: 0.5em; -} - -ul.bp-group-delete-list { - list-style-type: disc; - margin: 4px 26px; -} - -/* - * Members Pagination - */ -.bp-group-admin-pagination { - position: absolute; - text-align: right; - width: 100%; -} - -.bp-group-admin-pagination.table-top { - top: 0; -} - -.bp-group-admin-pagination.table-bottom { - bottom: 0; -} - -.bp-group-admin-pagination-viewing { - color: #777; - font-size: 12px; - font-style: italic; -} - -.bp-group-admin-pagination-links { - white-space: nowrap; - padding-left: 15px; -} - -.bp-group-admin-pagination-links .page-numbers { - display: inline-block; - min-width: 12px; - border: 1px solid #ccc; - padding: 2px 4px 4px; - background: #e5e5e5; - line-height: 1; - font-weight: 400; - text-align: center; - text-decoration: none; -} - -.bp-group-admin-pagination-links a.page-numbers:hover { - text-decoration: underline; -} - -.bp-group-admin-pagination-links .page-numbers.current, -.bp-group-admin-pagination-links .page-numbers.dots { - border-color: #ddd; - background: #f7f7f7; - color: #a0a5aa; -} - -/* - * Members List - */ -table.bp-group-members .uid-column { - padding-left: 20px; - padding-right: 20px; -} - -table.bp-group-members .uname-column { - width: 70%; -} - -table.bp-group-members .urole-column { - padding-left: 20px; - padding-right: 20px; -} - -@media screen and (max-width: 782px) { - - .bp-groups-settings-section label { - margin: 0.25em 0; - } -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/046/046.test.js b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/046/046.test.js deleted file mode 100644 index 71061092ed44a9..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/046/046.test.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -const stylelint = require( 'stylelint' ), - systemTestUtils = require( '../systemTestUtils.js' ); - -it( '046', () => { - return stylelint.lint({ - files: [systemTestUtils.caseStylesheetGlob( '046' )], - configFile: systemTestUtils.caseConfig( '046' ), - }).then( ({ results }) => { - expect( systemTestUtils.prepResults( results ) ).toMatchSnapshot(); - }); -}); diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/046/__snapshots__/046.test.js.snap b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/046/__snapshots__/046.test.js.snap deleted file mode 100644 index aa2c2bfa8ba774..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/046/__snapshots__/046.test.js.snap +++ /dev/null @@ -1,30 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`046 1`] = ` -Array [ - Object { - "deprecations": Array [], - "errored": true, - "ignored": undefined, - "invalidOptionWarnings": Array [], - "parseErrors": Array [], - "source": "046/stylesheet.css", - "warnings": Array [ - Object { - "column": 42, - "line": 123, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 38, - "line": 178, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - ], - }, -] -`; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/046/config.json b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/046/config.json deleted file mode 100644 index a8af7d5dcb61b9..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/046/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../index.js" -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/046/stylesheet.css b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/046/stylesheet.css deleted file mode 100644 index 860be0754a7f7c..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/046/stylesheet.css +++ /dev/null @@ -1,286 +0,0 @@ -/**** BP Members Profile Administration Screens -* TO DO: Organize and clean up stylesheet. -****/ - -div#profile-page.wrap form#your-profile { - position: relative; - padding-top: 50px; -} - -div#profile-page.wrap form#your-profile h3:first-of-type { - margin-top: 5em; -} - -div#profile-page.wrap form#your-profile #profile-nav { - position: absolute; - top: 0; - width: 97%; -} - -div#community-profile-page #profile-nav { - margin-bottom: 1em; -} - -#bp_members_admin_user_stats ul { - margin-bottom: 0; -} - -div#community-profile-page li.bp-members-profile-stats:before, -div#community-profile-page li.bp-friends-profile-stats:before, -div#community-profile-page li.bp-groups-profile-stats:before, -div#community-profile-page li.bp-blogs-profile-stats:before, -div#community-profile-page a.bp-xprofile-avatar-user-admin:before, -div#community-profile-page a.bp-xprofile-avatar-user-edit:before { - font: 400 20px/1 dashicons; - speak: none; - display: inline-block; - padding: 0 2px 0 0; - top: 0; - left: -1px; - position: relative; - vertical-align: top; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - text-decoration: none !important; - color: #888; -} - -div#community-profile-page li.bp-members-profile-stats:before { - content: "\f130"; -} - -div#community-profile-page li.bp-friends-profile-stats:before { - content: "\f454"; -} - -div#community-profile-page li.bp-groups-profile-stats:before { - content: "\f456"; -} - -div#community-profile-page li.bp-blogs-profile-stats:before { - content: "\f120"; -} - -div#community-profile-page a.bp-xprofile-avatar-user-admin:before { - content: "\f182"; -} - -div#community-profile-page a.bp-xprofile-avatar-user-edit:before { - content: "\f107"; -} - -div#community-profile-page div#bp_xprofile_user_admin_avatar div.avatar { - width: 150px; - margin: 0 auto; -} - -div#community-profile-page div#bp_xprofile_user_admin_avatar div.avatar img { - max-width: 100%; - height: auto; -} - -div#community-profile-page div#bp_xprofile_user_admin_avatar a { - display: block; - margin: 1em 0; -} - -div#community-profile-page p.not-activated { - margin: 1em 1em 0; - color: #f00; -} - -#community-profile-page #submitdiv #publishing-action { - float: none; - width: 100%; -} - -.bp-view-profile { - float: left; -} - -.alt { - background: none; -} - -.bp-profile-field { - border-bottom: dotted 1px #ccc; - font-size: 14px; - margin: 15px 0; - padding: 10px; -} - -.bp-profile-field:last-child { - border-bottom: 0; -} - -.bp-profile-field p { - font-size: 14px; -} - -.field_type_textarea legend, -.field_type_multiselectbox legend, -.field_type_radio .radio legend, -.field_type_checkbox .checkbox legend { /* these fields are usually pretty tall, so align the label for better consistency */ - vertical-align: top; -} - -.bp-profile-field .description { /* description also sits in the right side column */ - margin: 10px 0 12px 200px; - text-align: left; -} - -.bp-profile-field .wp-editor-wrap { - margin-left: 200px; -} - -.field_type_checkbox .description, -.field_type_datebox .description, -.field_type_radio .description { - margin-top: 0; -} - -.clear-value { /* 'clear value' option also sits in the right side column */ - display: block; - font-size: 12px; - margin-left: 200px; -} - -/* force checkboxes to new lines, in the right side column */ -.field_type_checkbox label, -.field_type_radio label { - display: block; - margin-bottom: 1em; - margin-left: 200px; - width: auto; -} - -.field_type_datebox select:nth-of-type(1) { - margin-left: 200px; -} - -.field_type_radio .radio .input-options label, -.field_type_checkbox .checkbox .input-options label { - - /* force checkboxes and radio buttons to new lines */ - display: block; -} - -.field_type_checkbox .checkbox .input-options, -.field_type_datebox .datebox .input-options, -.field_type_radio .radio .input-options { - - /* make the checkboxes, select menus, and radio buttons sit in the - right side column */ - display: inline-block; -} - -.field-visibility-settings-notoggle, -.field-visibility-settings-toggle { /* visibility settings go in the left column */ - margin: 10px 0 10px 200px; - text-align: left; -} - -.field-visibility-settings { /* visibility settings go in the left column */ - display: none; - margin-left: 200px; -} - -.field-visibility-settings .button { /* visibility setting close button */ - margin-bottom: 15px; -} - -.field-visibility-settings label { - clear: left; - display: block; - margin-bottom: 1em; -} - -#normal-sortables .field-visibility-settings legend { /* id required for css selector weight */ - font-size: 14px; - font-weight: 600; -} - -#your-profile .bp-profile-field legend { - float: left; /* Firefox will not apply display: inline-block to legends */ - font-size: 14px; - font-weight: 600; - line-height: 1.4; - margin-bottom: 1em; - text-align: left; - vertical-align: middle; - width: 192px; -} - -.bp-profile-field .radio .clear-value { - margin-top: 10px; -} - -@media screen and (max-width: 782px) { - - #your-profile .bp-profile-field legend { - float: none; - clear: left; - display: block; - margin-bottom: 12px; - } - - #your-profile .field_type_multiselectbox select { - height: auto; - } - - .field_type_checkbox label, - .field_type_radio label { - margin-left: 0; - } - - .bp-profile-field .checkbox input[type="checkbox"], - .bp-profile-field .radio input[type="radio"] { - vertical-align: top; - } - - .bp-profile-field .clear-value, - .bp-profile-field .description, - .bp-profile-field input[type="checkbox"], - .bp-profile-field input[type="email"], - .bp-profile-field input[type="number"], - .bp-profile-field input[type="radio"], - .bp-profile-field input[type="text"], - .bp-profile-field input[type="url"], - .bp-profile-field select:nth-of-type(1), - .bp-profile-field .wp-editor-wrap, - .field-visibility-settings-notoggle, - .field-visibility-settings-toggle { - clear: left; - margin-left: 50px; - } - - .field-visibility-settings { - margin-left: 100px; - } - - #your-profile .field_multiselectbox select { - height: auto; - } -} - -@media screen and (max-width: 480px) { - - .bp-profile-field .clear-value, - .bp-profile-field .description, - .bp-profile-field input[type="checkbox"], - .bp-profile-field input[type="email"], - .bp-profile-field input[type="number"], - .bp-profile-field input[type="radio"], - .bp-profile-field input[type="text"], - .bp-profile-field input[type="url"], - .bp-profile-field select:nth-of-type(1), - .bp-profile-field .wp-editor-wrap, - .field-visibility-settings-notoggle, - .field-visibility-settings-toggle { - margin-left: 0; - } - - .field-visibility-settings { - margin-left: 50px; - } -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/047/047.test.js b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/047/047.test.js deleted file mode 100644 index d242029d58c076..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/047/047.test.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -const stylelint = require( 'stylelint' ), - systemTestUtils = require( '../systemTestUtils.js' ); - -it( '047', () => { - return stylelint.lint({ - files: [systemTestUtils.caseStylesheetGlob( '047' )], - configFile: systemTestUtils.caseConfig( '047' ), - }).then( ({ results }) => { - expect( systemTestUtils.prepResults( results ) ).toMatchSnapshot(); - }); -}); diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/047/__snapshots__/047.test.js.snap b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/047/__snapshots__/047.test.js.snap deleted file mode 100644 index 8fdf6e45eb1aaa..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/047/__snapshots__/047.test.js.snap +++ /dev/null @@ -1,15 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`047 1`] = ` -Array [ - Object { - "deprecations": Array [], - "errored": undefined, - "ignored": undefined, - "invalidOptionWarnings": Array [], - "parseErrors": Array [], - "source": "047/stylesheet.css", - "warnings": Array [], - }, -] -`; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/047/config.json b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/047/config.json deleted file mode 100644 index a8af7d5dcb61b9..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/047/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../index.js" -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/047/stylesheet.css b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/047/stylesheet.css deleted file mode 100644 index 6897fc2dc08845..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/047/stylesheet.css +++ /dev/null @@ -1,86 +0,0 @@ -.ac_results { - padding: 0; - overflow: hidden; - z-index: 99999; - background: #fff; - border: 1px solid #ccc; - -moz-border-radius-bottomleft: 3px; - -khtml-border-bottom-left-radius: 3px; - -webkit-border-bottom-left-radius: 3px; - border-bottom-left-radius: 3px; - -moz-border-radius-bottomright: 3px; - -khtml-border-bottom-right-radius: 3px; - -webkit-border-bottom-right-radius: 3px; - border-bottom-right-radius: 3px; -} - -.ac_results ul { - width: 100%; - list-style: none; - list-style-position: outside; - padding: 0; - margin: 0; -} - -.ac_results li { - margin: 0; - padding: 5px 10px; - cursor: pointer; - display: block; - font-size: 1em; - line-height: 16px; - overflow: hidden; -} - -.ac_results li img { - margin-right: 5px; -} - -.ac_odd { - background-color: #f0f0f0; -} - -.ac_over { - background-color: #888; - color: #fff; -} - -ul.acfb-holder { - margin: 0; - height: auto !important; - height: 1%; - overflow: hidden; - padding: 0; - list-style: none; -} - -ul.acfb-holder li { - float: left; - margin: 0 5px 4px 0; - list-style-type: none; -} - -ul.acfb-holder li.friend-tab { - border-radius: 3px; - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - border: 1px solid #ffe7c7; - padding: 2px 7px; - background: #fff9df; - font-size: 1em; -} - -li.friend-tab img.avatar { - border-width: 2px !important; - vertical-align: middle; -} - -li.friend-tab span.p { - padding-left: 5px; - font-size: 0.8em; - cursor: pointer; -} - -input#send-to-input { - width: 275px; -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/048/048.test.js b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/048/048.test.js deleted file mode 100644 index 02023e9235982b..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/048/048.test.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -const stylelint = require( 'stylelint' ), - systemTestUtils = require( '../systemTestUtils.js' ); - -it( '048', () => { - return stylelint.lint({ - files: [systemTestUtils.caseStylesheetGlob( '048' )], - configFile: systemTestUtils.caseConfig( '048' ), - }).then( ({ results }) => { - expect( systemTestUtils.prepResults( results ) ).toMatchSnapshot(); - }); -}); diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/048/__snapshots__/048.test.js.snap b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/048/__snapshots__/048.test.js.snap deleted file mode 100644 index bb081276dad649..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/048/__snapshots__/048.test.js.snap +++ /dev/null @@ -1,15 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`048 1`] = ` -Array [ - Object { - "deprecations": Array [], - "errored": undefined, - "ignored": undefined, - "invalidOptionWarnings": Array [], - "parseErrors": Array [], - "source": "048/stylesheet.css", - "warnings": Array [], - }, -] -`; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/048/config.json b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/048/config.json deleted file mode 100644 index a8af7d5dcb61b9..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/048/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../index.js" -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/048/stylesheet.css b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/048/stylesheet.css deleted file mode 100644 index 3b35edb564cabf..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/048/stylesheet.css +++ /dev/null @@ -1,2296 +0,0 @@ -/*-------------------------------------------------------------- -Hello, this is the BuddyPress Legacy stylesheet. - ----------------------------------------------------------------- ->>> TABLE OF CONTENTS: ----------------------------------------------------------------- -1.0 - Navigation - 1.1 - Pagination -2.0 - WordPress - 2.1 - Images -3.0 - BuddyPress - 3.1 - Activity - 3.1.1 - Activity Listing - 3.1.2 - Activity Comments - 3.2 - Toolbar - 3.3 - Directories - Members, Groups, Blogs, Forums - 3.4 - Error / Success Messages - 3.5 - Forms - 3.6 - Ajax Loading - 3.7 - Topics and Tables - Forums and General - 3.8 - Headers, Lists and Tabs - Activity, Groups, Blogs, Forums - 3.8.1 - Cover Image - 3.9 - Private Messaging Threads - 3.10 - Extended Profiles - 3.11 - Widgets - 3.12 - Tooltips -4.0 - Media Queries - 4.1 - Smartphones Landscape - 4.2 - Smartphones Portrait - 4.3 - Smartphones - smaller screen sizes ---------------------------------------------------------------*/ - -/*-------------------------------------------------------------- -1 - Navigation ---------------------------------------------------------------*/ - -/*-------------------------------------------------------------- -1.1 - Pagination ---------------------------------------------------------------*/ -#buddypress div.pagination { - background: transparent; - border: none; - color: #767676; - font-size: small; - margin: 0; - position: relative; - display: block; - float: left; - width: 100%; - padding: 10px 0; -} - -#buddypress div.pagination .pag-count { - float: left; - margin-left: 10px; -} - -#buddypress div.pagination .pagination-links { - float: right; - margin-right: 10px; -} - -#buddypress div.pagination .pagination-links span, -#buddypress div.pagination .pagination-links a { - font-size: 90%; - padding: 0 5px; -} - -#buddypress div.pagination .pagination-links a:hover { - font-weight: 700; -} - -#buddypress noscript div.pagination { - margin-bottom: 15px; -} - -#buddypress #nav-above { - display: none; -} - -#buddypress .paged #nav-above { - display: block; -} - -/*-------------------------------------------------------------- -2 - WordPress ---------------------------------------------------------------*/ - -/*-------------------------------------------------------------- -2.1 - Images ---------------------------------------------------------------*/ -#buddypress img.wp-smiley { - border: none !important; - clear: none !important; - float: none !important; - margin: 0 !important; - padding: 0 !important; -} - -#buddypress .clear { - clear: left; -} - -/*-------------------------------------------------------------- -3.0 - BuddyPress ---------------------------------------------------------------*/ - -/*-------------------------------------------------------------- -3.1 - Activity ---------------------------------------------------------------*/ -#buddypress #activity-stream { - margin-top: -5px; -} - -#buddypress #activity-stream p { - margin: 5px 0; -} - -#buddypress #item-body form#whats-new-form { - margin: 0; - padding: 0; -} - -#buddypress .home-page form#whats-new-form { - border-bottom: none; - padding-bottom: 0; -} - -#buddypress form#whats-new-form #whats-new-avatar { - float: left; -} - -#buddypress form#whats-new-form #whats-new-content { - margin-left: 55px; - padding: 0 0 20px 20px; -} - -#buddypress form#whats-new-form p.activity-greeting { - line-height: 0.5; - margin-bottom: 15px; - margin-left: 75px; -} - -#buddypress form#whats-new-form textarea { - background: #fff; - box-sizing: border-box; - color: #555; - font-family: inherit; - font-size: medium; - height: 2.2em; - line-height: 1.4; - padding: 6px; - width: 100%; -} - -body.no-js #buddypress form#whats-new-form textarea { - height: 50px; -} - -#buddypress form#whats-new-form #whats-new-options select { - max-width: 200px; - margin-top: 12px; -} - -#buddypress form#whats-new-form #whats-new-submit { - float: right; - margin-top: 12px; -} - -#buddypress #whats-new-options:after { - clear: both; - content: ""; - display: table; -} - -body.no-js #buddypress #whats-new-options { - height: auto; -} - -#buddypress #whats-new:focus { - border-color: rgba(31, 179, 221, 0.9) !important; - outline-color: rgba(31, 179, 221, 0.9); -} - -/*-------------------------------------------------------------- -3.1.1 - Activity Listing ---------------------------------------------------------------*/ -#buddypress ul.activity-list li { - overflow: hidden; - padding: 15px 0 0; - list-style: none; -} - -#buddypress .activity-list .activity-avatar { - float: left; -} - -#buddypress ul.item-list.activity-list li.has-comments { - padding-bottom: 15px; -} - -body.activity-permalink #buddypress ul.activity-list li.has-comments { - padding-bottom: 0; -} - -#buddypress .activity-list li.mini { - font-size: 80%; - position: relative; -} - -#buddypress .activity-list li.mini .activity-avatar img.avatar, -#buddypress .activity-list li.mini .activity-avatar img.FB_profile_pic { /* stylelint-disable-line selector-class-pattern */ - height: 20px; - margin-left: 30px; - width: 20px; -} - -#buddypress .activity-permalink .activity-list li.mini .activity-avatar img.avatar, -#buddypress .activity-permalink .activity-list li.mini .activity-avatar img.FB_profile_pic { /* stylelint-disable-line selector-class-pattern */ - height: auto; - margin-left: 0; - width: auto; -} - -body.activity-permalink #buddypress .activity-list > li:first-child { - padding-top: 0; -} - -#buddypress .activity-list li .activity-content { - position: relative; -} - -#buddypress .activity-list li.mini .activity-content p { - margin: 0; -} - -#buddypress .activity-list li.mini .activity-comments { - clear: both; - font-size: 120%; -} - -body.activity-permalink #buddypress li.mini .activity-meta { - margin-top: 4px; -} - -#buddypress .activity-list li .activity-inreplyto { - color: #767676; - font-size: 80%; -} - -#buddypress .activity-list li .activity-inreplyto > p { - margin: 0; - display: inline; -} - -#buddypress .activity-list li .activity-inreplyto blockquote, -#buddypress .activity-list li .activity-inreplyto div.activity-inner { - background: none; - border: none; - display: inline; - margin: 0; - overflow: hidden; - padding: 0; -} - -#buddypress .activity-list .activity-content { - margin: 0 0 0 70px; -} - -body.activity-permalink #buddypress .activity-list li .activity-content { - border: none; - font-size: 100%; - line-height: 1.5; - margin-left: 170px; - margin-right: 0; - padding: 0; -} - -body.activity-permalink #buddypress .activity-list li .activity-header > p { - margin: 0; - padding: 5px 0 0; -} - -#buddypress .activity-list .activity-content .activity-header, -#buddypress .activity-list .activity-content .comment-header { - color: #767676; - line-height: 2.2; -} - -#buddypress .activity-header { - margin-right: 20px; -} - -#buddypress .activity-header a, -#buddypress .comment-meta a, -#buddypress .acomment-meta a { - text-decoration: none; -} - -#buddypress .activity-list .activity-content .activity-header img.avatar { - float: none !important; - margin: 0 5px -8px 0 !important; -} - -#buddypress a.bp-secondary-action, -#buddypress span.highlight { - font-size: 80%; - padding: 0; - margin-right: 5px; - text-decoration: none; -} - -#buddypress .activity-list .activity-content .activity-inner, -#buddypress .activity-list .activity-content blockquote { - margin: 10px 10px 5px 0; - overflow: hidden; -} - -#buddypress .activity-list li.new_forum_post .activity-content .activity-inner, -#buddypress .activity-list li.new_forum_topic .activity-content .activity-inner { - border-left: 2px solid #eaeaea; - margin-left: 5px; - padding-left: 10px; -} - -body.activity-permalink #buddypress .activity-content .activity-inner, -body.activity-permalink #buddypress .activity-content blockquote { - margin-left: 0; - margin-top: 5px; -} - -#buddypress .activity-inner > p { - word-wrap: break-word; -} - -#buddypress .activity-inner > .activity-inner { - margin: 0; -} - -#buddypress .activity-inner > blockquote { - margin: 0; -} - -#buddypress .activity-list .activity-content img.thumbnail { - border: 2px solid #eee; - float: left; - margin: 0 10px 5px 0; -} - -#buddypress .activity-read-more { - margin-left: 1em; - white-space: nowrap; -} - -#buddypress .activity-list li.load-more, -#buddypress .activity-list li.load-newest { - background: #f0f0f0; - font-size: 110%; - margin: 15px 0; - padding: 10px 15px; - text-align: center; -} - -#buddypress .activity-list li.load-more a, -#buddypress .activity-list li.load-newest a { - color: #4d4d4d; -} - - -/*-------------------------------------------------------------- -3.1.2 - Activity Comments ---------------------------------------------------------------*/ -#buddypress div.activity-meta { - margin: 18px 0 0; -} - -body.activity-permalink #buddypress div.activity-meta { - margin-bottom: 6px; -} - -#buddypress div.activity-meta a { - padding: 4px 8px; -} - -#buddypress a.activity-time-since { - color: #767676; - text-decoration: none; -} - -#buddypress a.activity-time-since:hover { - color: #767676; - text-decoration: underline; -} - -#buddypress a.bp-primary-action, -#buddypress #reply-title small a { - font-size: 80%; - margin-right: 5px; - text-decoration: none; -} - -#buddypress a.bp-primary-action span, -#buddypress #reply-title small a span { - background: #767676; - color: #fff; - font-size: 90%; - margin-left: 2px; - padding: 0 5px; -} - -#buddypress a.bp-primary-action:hover span, -#buddypress #reply-title small a:hover span { - background: #555; - color: #fff; -} - -#buddypress div.activity-comments { - margin: 0 0 0 70px; - overflow: hidden; /* IE fix */ - position: relative; - width: auto; - clear: both; -} - -body.activity-permalink #buddypress div.activity-comments { - background: none; - margin-left: 170px; - width: auto; -} - -#buddypress div.activity-comments > ul { - padding: 0 0 0 10px; -} - -#buddypress div.activity-comments ul, -#buddypress div.activity-comments ul li { - border: none; - list-style: none; -} - -#buddypress div.activity-comments ul { - clear: both; - margin: 0; -} - -#buddypress div.activity-comments ul li { - border-top: 1px solid #eee; - padding: 10px 0 0; -} - -body.activity-permalink #buddypress .activity-list li.mini .activity-comments { - clear: none; - margin-top: 0; -} - -body.activity-permalink #buddypress div.activity-comments ul li { - border-width: 1px; - padding: 10px 0 0; -} - -#buddypress div.activity-comments > ul > li:first-child { - border-top: none; -} - -#buddypress div.activity-comments ul li:last-child { - margin-bottom: 0; -} - -#buddypress div.activity-comments ul li > ul { - margin-left: 30px; - margin-top: 0; - padding-left: 10px; -} - -body.activity-permalink #buddypress div.activity-comments ul li > ul { - margin-top: 10px; -} - -body.activity-permalink #buddypress div.activity-comments > ul { - padding: 0 10px 0 15px; -} - -#buddypress div.activity-comments div.acomment-avatar img { - border-width: 1px; - float: left; - height: 25px; - margin-right: 10px; - width: 25px; -} - -#buddypress div.activity-comments div.acomment-content { - font-size: 80%; - margin: 5px 0 0 40px; -} - -#buddypress div.acomment-content .time-since, -#buddypress div.acomment-content .activity-delete-link, -#buddypress div.acomment-content .comment-header { - display: none; -} - -body.activity-permalink #buddypress div.activity-comments div.acomment-content { - font-size: 90%; -} - -#buddypress div.activity-comments div.acomment-meta { - color: #767676; - font-size: 80%; -} - -#buddypress div.activity-comments form.ac-form { - display: none; - padding: 10px; -} - -#buddypress div.activity-comments li form.ac-form { - margin-right: 15px; - clear: both; -} - -#buddypress div.activity-comments form.root { - margin-left: 0; -} - -#buddypress div.activity-comments div#message { - margin-top: 15px; - margin-bottom: 0; -} - -#buddypress div.activity-comments form .ac-textarea { - background: #fff; - border: 1px inset #ccc; - margin-bottom: 10px; - padding: 8px; -} - -#buddypress div.activity-comments form textarea { - border: none; - background: transparent; - box-shadow: none; - outline: none; - color: #555; - font-family: inherit; - font-size: 100%; - height: 60px; - padding: 0; - margin: 0; - width: 100%; -} - -#buddypress div.activity-comments form input { - margin-top: 5px; -} - -#buddypress div.activity-comments form div.ac-reply-avatar { - float: left; -} - -#buddypress div.ac-reply-avatar img { - border: 1px solid #eee; -} - -#buddypress div.activity-comments form div.ac-reply-content { - color: #767676; - margin-left: 50px; - padding-left: 15px; -} - -#buddypress div.activity-comments form div.ac-reply-content a { - text-decoration: none; -} - -#buddypress .acomment-options { - float: left; - margin: 5px 0 5px 40px; -} - -#buddypress .acomment-options a { - color: #767676; -} - -#buddypress .acomment-options a:hover { - color: inherit; -} - -/*-------------------------------------------------------------- -3.3 - Directories - Members, Groups, Blogs, Forums ---------------------------------------------------------------*/ -#buddypress div.dir-search { - float: right; - margin: -39px 0 0 0; -} - -#buddypress div.dir-search input[type="text"], -#buddypress li.groups-members-search input[type="text"] { - font-size: 90%; - padding: 1px 3px; -} - -#buddypress .current-member-type { - font-style: italic; -} - -#buddypress .dir-form { - clear: both; -} - -/*-------------------------------------------------------------- -3.4 - Errors / Success Messages ---------------------------------------------------------------*/ -#buddypress div#message { - margin: 0 0 15px; -} - -#buddypress #message.info { - margin-bottom: 0; -} - -#buddypress div#message.updated { - clear: both; - display: block; -} - -#buddypress div#message p, -#sitewide-notice p { - font-size: 90%; - display: block; - padding: 10px 15px; -} - -#buddypress div#message.error p { - background-color: #fdc; - border: 1px solid #a00; - clear: left; - color: #800; -} - -#buddypress div#message.warning p { - background-color: #ffe0af; - border: 1px solid #ffd087; - clear: left; - color: #800; -} - -#buddypress div#message.updated p { - background-color: #efc; - border: 1px solid #591; - color: #250; -} - -#buddypress #pass-strength-result { - background-color: #eee; - border-color: #ddd; - border-style: solid; - border-width: 1px; - display: none; - margin: 5px 5px 5px 0; - padding: 5px; - text-align: center; - width: 150px; -} - -#buddypress .standard-form #basic-details-section #pass-strength-result { - width: 35%; -} - -#buddypress #pass-strength-result.error, -#buddypress #pass-strength-result.bad { - background-color: #ffb78c; - border-color: #ff853c !important; - display: block; -} - -#buddypress #pass-strength-result.good { - background-color: #ffec8b; - border-color: #fc0 !important; - display: block; -} - -#buddypress #pass-strength-result.short { - background-color: #ffa0a0; - border-color: #f04040 !important; - display: block; -} - -#buddypress #pass-strength-result.strong { - background-color: #c3ff88; - border-color: #8dff1c !important; - display: block; -} - -#buddypress .standard-form#signup_form div div.error { - background: #faa; - color: #a00; - margin: 0 0 10px; - padding: 6px; - width: 90%; -} - -#buddypress div.accept, -#buddypress div.reject { - float: left; - margin-left: 10px; -} - -#buddypress ul.button-nav li { - float: left; - margin: 0 10px 10px 0; - list-style: none; -} - -#buddypress ul.button-nav li.current a { - font-weight: 700; -} - -#sitewide-notice #message { - left: 2%; - position: fixed; - top: 1em; - width: 96%; - z-index: 9999; -} - -#sitewide-notice.admin-bar-on #message { - top: 3.3em; -} - -#sitewide-notice strong { - display: block; - margin-bottom: -1em; -} - -/*-------------------------------------------------------------- -3.5 - Forms ---------------------------------------------------------------*/ - -#buddypress form fieldset { - border: 0; - padding: 0; -} - -#buddypress .standard-form textarea, -#buddypress .standard-form input[type="text"], -#buddypress .standard-form input[type="color"], -#buddypress .standard-form input[type="date"], -#buddypress .standard-form input[type="datetime"], -#buddypress .standard-form input[type="datetime-local"], -#buddypress .standard-form input[type="email"], -#buddypress .standard-form input[type="month"], -#buddypress .standard-form input[type="number"], -#buddypress .standard-form input[type="range"], -#buddypress .standard-form input[type="search"], -#buddypress .standard-form input[type="tel"], -#buddypress .standard-form input[type="time"], -#buddypress .standard-form input[type="url"], -#buddypress .standard-form input[type="week"], -#buddypress .standard-form select, -#buddypress .standard-form input[type="password"], -#buddypress .dir-search input[type="search"], -#buddypress .dir-search input[type="text"], -#buddypress .groups-members-search input[type="search"], -#buddypress .groups-members-search input[type="text"] { - border: 1px solid #ccc; - background: #fafafa; - border-radius: 0; - color: #737373; - font: inherit; - font-size: 100%; - padding: 6px; -} - -#buddypress .standard-form select { - padding: 3px; -} - -#buddypress .standard-form input[type="password"] { - margin-bottom: 5px; -} - -#buddypress .standard-form label, -#buddypress .standard-form span.label, -#buddypress .standard-form legend { - display: block; - font-weight: 700; - margin: 15px 0 5px; - width: auto; -} - -#buddypress .standard-form p label, -#buddypress .standard-form #invite-list label { - font-weight: 400; - margin: auto; -} - -#buddypress .standard-form .checkbox label, -#buddypress .standard-form .radio label { - color: #767676; - font-size: 100%; - font-weight: 400; - margin: 5px 0 0; -} - -#buddypress .standard-form .checkbox label input, -#buddypress .standard-form .radio label input { - margin-right: 3px; -} - -#buddypress .standard-form#sidebar-login-form label { - margin-top: 5px; -} - -#buddypress .standard-form input[type="text"] { - width: 75%; -} - -#buddypress .standard-form#sidebar-login-form input[type="text"], -#buddypress .standard-form#sidebar-login-form input[type="password"] { - padding: 4px; - width: 95%; -} - -#buddypress .standard-form #basic-details-section input[type="password"], -#buddypress .standard-form #blog-details-section input#signup_blog_url { - width: 35%; -} - -#buddypress .standard-form#signup_form input[type="text"], -#buddypress .standard-form#signup_form textarea, -#buddypress .form-allowed-tags, -#buddypress #commentform input[type="text"], -#buddypress #commentform textarea { - width: 90%; -} - -#buddypress .standard-form#signup_form div.submit { - float: right; -} - -#buddypress div#signup-avatar img { - margin: 0 15px 10px 0; -} - -#buddypress .standard-form textarea { - width: 75%; - height: 120px; -} - -#buddypress .standard-form textarea#message_content { - height: 200px; -} - -#buddypress .standard-form#send-reply textarea { - width: 97.5%; -} - -#buddypress .standard-form p.description { - color: #767676; - font-size: 80%; - margin: 5px 0; -} - -#buddypress .standard-form div.submit { - clear: both; - padding: 15px 0 0; -} - -#buddypress .standard-form p.submit { - margin-bottom: 0; - padding: 15px 0 0; -} - -#buddypress .standard-form div.submit input { - margin-right: 15px; -} - -#buddypress .standard-form div.radio ul { - margin: 10px 0 15px 38px; - list-style: disc; -} - -#buddypress .standard-form div.radio ul li { - margin-bottom: 5px; -} - -#buddypress .standard-form a.clear-value { - display: block; - margin-top: 5px; - outline: none; -} - -#buddypress .standard-form #basic-details-section, -#buddypress .standard-form #blog-details-section, -#buddypress .standard-form #profile-details-section { - float: left; - width: 48%; -} - -#buddypress .standard-form #profile-details-section { - float: right; -} - -#buddypress .standard-form #blog-details-section, -#buddypress #notifications-bulk-management { - clear: left; -} - -body.no-js #buddypress #notifications-bulk-management #select-all-notifications, -body.no-js #buddypress label[for="message-type-select"], -body.no-js #buddypress #message-type-select, -body.no-js #buddypress #delete_inbox_messages, -body.no-js #buddypress #delete_sentbox_messages, -body.no-js #buddypress #messages-bulk-management #select-all-messages { - display: none; -} - -#buddypress .standard-form input:focus, -#buddypress .standard-form textarea:focus, -#buddypress .standard-form select:focus { - background: #fafafa; - color: #555; -} - -#buddypress form#send-invite-form { - margin-top: 20px; -} - -#buddypress div#invite-list { - background: #f5f5f5; - height: 400px; - margin: 0 0 10px; - overflow: auto; - padding: 5px; - width: 160px; -} - -#buddypress .standard-form button, -#buddypress a.button, -#buddypress input[type="submit"], -#buddypress input[type="button"], -#buddypress input[type="reset"], -#buddypress ul.button-nav li a, -#buddypress .generic-button a, -#buddypress .comment-reply-link, -a.bp-title-button { - background: #fff; /* Old browsers */ - border: 1px solid #ccc; - color: #767676; - font-size: small; - cursor: pointer; - outline: none; - padding: 4px 10px; - text-align: center; - text-decoration: none; -} - -#buddypress .standard-form button:hover, -#buddypress a.button:hover, -#buddypress a.button:focus, -#buddypress input[type="submit"]:hover, -#buddypress input[type="button"]:hover, -#buddypress input[type="reset"]:hover, -#buddypress ul.button-nav li a:hover, -#buddypress ul.button-nav li.current a, -#buddypress div.generic-button a:hover, -#buddypress .comment-reply-link:hover { - background: #ededed; - border: 1px solid #bbb; - color: #555; - outline: none; - text-decoration: none; -} - -#buddypress form.standard-form .left-menu { - float: left; -} - -#buddypress form.standard-form .left-menu #invite-list ul { - margin: 1%; - list-style: none; -} - -#buddypress form.standard-form .left-menu #invite-list ul li { - margin: 0 0 0 1%; -} - -#buddypress form.standard-form .main-column { - margin-left: 190px; -} - -#buddypress form.standard-form .main-column ul#friend-list { - clear: none; - float: left; -} - -#buddypress form.standard-form .main-column ul#friend-list h3, -#buddypress form.standard-form .main-column ul#friend-list h4 { - clear: none; -} - -/* Overrides for embedded WP editors */ -#buddypress .wp-editor-wrap a.button, -#buddypress .wp-editor-wrap button, -#buddypress .wp-editor-wrap input[type="submit"], -#buddypress .wp-editor-wrap input[type="button"], -#buddypress .wp-editor-wrap input[type="reset"] { - padding: 0 8px 1px; -} - -/* Form classes & generic attr styling */ -#buddypress form *[disabled="disabled"] { - cursor: default; - opacity: 0.4; -} - -fieldset.register-site { - margin-top: 1em; -} - -fieldset.create-site { - margin-bottom: 2em; -} - -fieldset.create-site legend { - margin-bottom: 1em; -} - -fieldset.create-site label { - margin-right: 3em; -} - -.bp-screen-reader-text { - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - overflow: hidden; - position: absolute !important; - width: 1px; - word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */ -} - -.bp-screen-reader-text:focus { - background-color: #f1f1f1; - -webkit-border-radius: 3px; - border-radius: 3px; - -webkit-box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); - box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); - clip: auto !important; - color: #21759b; - display: block; - font-size: 14px; - font-size: 0.875rem; - font-weight: 700; - height: auto; - left: 5px; - line-height: normal; - padding: 15px 23px 14px; - text-decoration: none; - top: 5px; - width: auto; - z-index: 100000; /* Above WP toolbar. */ -} - -/*-------------------------------------------------------------- -3.6 - Ajax Loading ---------------------------------------------------------------*/ -#buddypress a.loading, -#buddypress input.loading { - -webkit-animation: loader-pulsate 0.5s infinite ease-in-out alternate; - -moz-animation: loader-pulsate 0.5s infinite ease-in-out alternate; - border-color: #aaa; -} - -@-webkit-keyframes loader-pulsate { - - from { - border-color: #aaa; - -webkit-box-shadow: 0 0 6px #ccc; - box-shadow: 0 0 6px #ccc; - } - - to { - border-color: #ccc; - -webkit-box-shadow: 0 0 6px #f8f8f8; - box-shadow: 0 0 6px #f8f8f8; - } -} - -@-moz-keyframes loader-pulsate { - - from { - border-color: #aaa; - -moz-box-shadow: 0 0 6px #ccc; - box-shadow: 0 0 6px #ccc; - } - - to { - border-color: #ccc; - -moz-box-shadow: 0 0 6px #f8f8f8; - box-shadow: 0 0 6px #f8f8f8; - } -} - -#buddypress a.loading:hover, -#buddypress input.loading:hover { - color: #767676; -} - -#buddypress input[type="submit"].pending, -#buddypress input[type="button"].pending, -#buddypress input[type="reset"].pending, -#buddypress input[type="submit"].disabled, -#buddypress input[type="button"].disabled, -#buddypress input[type="reset"].disabled, -#buddypress input[type="submit"][disabled="disabled"], -#buddypress button.pending, -#buddypress button.disabled, -#buddypress div.pending a, -#buddypress a.disabled { - border-color: #eee; - color: #bbb; - cursor: default; -} - -#buddypress input[type="submit"]:hover.pending, -#buddypress input[type="button"]:hover.pending, -#buddypress input[type="reset"]:hover.pending, -#buddypress input[type="submit"]:hover.disabled, -#buddypress input[type="button"]:hover.disabled, -#buddypress input[type="reset"]:hover.disabled, -#buddypress button.pending:hover, -#buddypress button.disabled:hover, -#buddypress div.pending a:hover, -#buddypress a.disabled:hover { - border-color: #eee; - color: #bbb; -} - -/*-------------------------------------------------------------- -3.7 - Forums, Tables and Topics ---------------------------------------------------------------*/ -#buddypress ul#topic-post-list { - margin: 0; - width: auto; -} - -#buddypress ul#topic-post-list li { - padding: 15px; - position: relative; -} - -#buddypress ul#topic-post-list li.alt { - background: #f5f5f5; -} - -#buddypress ul#topic-post-list li div.poster-meta { - color: #767676; - margin-bottom: 10px; -} - -#buddypress ul#topic-post-list li div.post-content { - margin-left: 54px; -} - -#buddypress div.topic-tags { - font-size: 80%; -} - -#buddypress div.admin-links { - color: #767676; - font-size: 80%; - position: absolute; - top: 15px; - right: 25px; -} - -#buddypress div#topic-meta { - margin: 0; - padding: 5px 19px 30px; - position: relative; -} - -#buddypress div#topic-meta div.admin-links { - right: 19px; - top: -36px; -} - -#buddypress div#topic-meta h3 { - margin: 5px 0; -} - -#buddypress div#new-topic-post { - display: none; - margin: 20px 0 0; - padding: 1px 0 0; -} - -#buddypress table.notifications, -#buddypress table.notifications-settings, -#buddypress table.profile-settings, -#buddypress table.profile-fields, -#buddypress table.wp-profile-fields, -#buddypress table.messages-notices, -#buddypress table.forum { - width: 100%; -} - -#buddypress table.notifications thead tr, -#buddypress table.notifications-settings thead tr, -#buddypress table.profile-settings thead tr, -#buddypress table.profile-fields thead tr, -#buddypress table.wp-profile-fields thead tr, -#buddypress table.messages-notices thead tr, -#buddypress table.forum thead tr { - background: #eaeaea; -} - -#buddypress table#message-threads { - clear: both; -} - -#buddypress table.profile-fields { - margin-bottom: 20px; -} - -#buddypress table.profile-fields:last-child { - margin-bottom: 0; -} - -#buddypress table.profile-fields p { - margin: 0; -} - -#buddypress table.profile-fields p:last-child { - margin-top: 0; -} - -#buddypress table.notifications tr td, -#buddypress table.notifications-settings tr td, -#buddypress table.profile-settings tr td, -#buddypress table.profile-fields tr td, -#buddypress table.wp-profile-fields tr td, -#buddypress table.messages-notices tr td, -#buddypress table.forum tr td, -#buddypress table.notifications tr th, -#buddypress table.notifications-settings tr th, -#buddypress table.profile-fields tr th, -#buddypress table.wp-profile-fields tr th, -#buddypress table.messages-notices tr th, -#buddypress table.forum tr th { - padding: 8px; - vertical-align: middle; -} - -#buddypress table.notifications tr td.label, -#buddypress table.notifications-settings tr td.label, -#buddypress table.profile-fields tr td.label, -#buddypress table.wp-profile-fields tr td.label, -#buddypress table.messages-notices tr td.label, -#buddypress table.forum tr td.label { - border-right: 1px solid #eaeaea; - font-weight: 700; - width: 25%; -} - -#buddypress #message-threads .thread-info { - min-width: 40%; -} - -#buddypress table tr td.thread-info p { - margin: 0; -} - -#buddypress table tr td.thread-info p.thread-excerpt { - color: #767676; - font-size: 80%; - margin-top: 3px; -} - -#buddypress table.forum td { - text-align: center; -} - -#buddypress table.notifications tr.alt td, -#buddypress table.notifications-settings tr.alt td, -#buddypress table.profile-settings tr.alt td, -#buddypress table.profile-fields tr.alt td, -#buddypress table.wp-profile-fields tr.alt td, -#buddypress table.messages-notices tr.alt td, -#buddypress table.forum tr.alt td { - background: #f5f5f5; - color: #707070; -} - -#buddypress table.notification-settings { - margin-bottom: 20px; - text-align: left; -} - -#buddypress #groups-notification-settings { - margin-bottom: 0; -} - -#buddypress table.notifications th.icon, -#buddypress table.notifications td:first-child, -#buddypress table.notification-settings th.icon, -#buddypress table.notification-settings td:first-child { - display: none; -} - -#buddypress table.notification-settings th.title, -#buddypress table.profile-settings th.title { - width: 80%; -} - -#buddypress table.notification-settings .yes, -#buddypress table.notification-settings .no { - text-align: center; - width: 40px; -} - -#buddypress table.forum { - margin: 0; - width: auto; - clear: both; -} - -#buddypress table.forum tr.sticky td { - font-size: 110%; - background: #fff9db; - border-top: 1px solid #ffe8c4; - border-bottom: 1px solid #ffe8c4; -} - -#buddypress table.forum tr.closed td.td-title { - padding-left: 35px; -} - -#buddypress table.forum td p.topic-text { - color: #767676; - font-size: 100%; -} - -#buddypress table.forum tr > td:first-child, -#buddypress table.forum tr > th:first-child { - padding-left: 15px; -} - -#buddypress table.forum tr > td:last-child, -#buddypress table.forum tr > th:last-child { - padding-right: 15px; -} - -#buddypress table.forum tr th#th-title, -#buddypress table.forum tr th#th-poster, -#buddypress table.forum tr th#th-group, -#buddypress table.forum td.td-poster, -#buddypress table.forum td.td-group, -#buddypress table.forum td.td-title { - text-align: left; -} - -#buddypress table.forum tr td.td-title a.topic-title { - font-size: 110%; -} - -#buddypress table.forum td.td-freshness { - white-space: nowrap; -} - -#buddypress table.forum td.td-freshness span.time-since { - font-size: 80%; - color: #767676; -} - -#buddypress table.forum td img.avatar { - float: none; - margin: 0 5px -8px 0; -} - -#buddypress table.forum td.td-poster, -#buddypress table.forum td.td-group { - min-width: 140px; -} - -#buddypress table.forum th#th-title { - width: 80%; -} - -#buddypress table.forum th#th-freshness { - width: 25%; -} - -#buddypress table.forum th#th-postcount { - width: 15%; -} - -#buddypress table.forum p.topic-meta { - font-size: 80%; - margin: 5px 0 0; -} - -/*------------------------------------------------------------------------- -3.8 - Headers, Lists and Tabs - Activity, Groups, Blogs, Forums, Profiles --------------------------------------------------------------------------*/ -#buddypress .item-body { - margin: 20px 0; -} - -#buddypress span.activity { - display: inline-block; - font-size: small; - padding: 0; -} - -#buddypress span.user-nicename { - color: #767676; - display: inline-block; - font-size: 120%; - font-weight: 700; -} - -#buddypress div#message p, -#sitewide-notice p { - background-color: #ffd; - border: 1px solid #cb2; - color: #440; - font-weight: 400; - margin-top: 3px; - text-decoration: none; -} - -.bp-site-wide-message #message p, -.admin-bar-on #message p { - padding-right: 25px; - position: relative; -} - -.bp-site-wide-message #message button, -.admin-bar-on #message button { - font-size: 0.8em; - padding: 2px 4px; - position: absolute; - right: 0; - top: 0; -} - -.admin-bar-on #message button { - right: 10px; - top: 7px; -} - -#buddypress #item-header:after { - clear: both; - content: ""; - display: table; -} - -#buddypress div#item-header div#item-header-content { - float: left; - margin-left: 0; -} - -#buddypress div#item-header h2 { - line-height: 1.2; - margin: 0 0 15px; -} - -#buddypress div#item-header h2 a { - color: #767676; - text-decoration: none; -} - -#buddypress div#item-header img.avatar { - float: left; - margin: 0 15px 19px 0; -} - -#buddypress div#item-header h2 { - margin-bottom: 5px; -} - -#buddypress div#item-header h2 span.highlight { - font-size: 60%; - font-weight: 400; - line-height: 1.7; - vertical-align: middle; - display: inline-block; -} - -#buddypress div#item-header h2 span.highlight span { - background: #a1dcfa; - color: #fff; - cursor: pointer; - font-weight: 700; - font-size: 80%; - margin-bottom: 2px; - padding: 1px 4px; - position: relative; - right: -2px; - top: -2px; - vertical-align: middle; -} - -#buddypress div#item-header div#item-meta { - font-size: 80%; - color: #767676; - overflow: hidden; - margin: 15px 0 5px; - padding-bottom: 10px; -} - -#buddypress div#item-header div#item-actions { - float: right; - margin: 0 0 15px 15px; - text-align: right; - width: 20%; -} - -#buddypress div#item-header div#item-actions h2, -#buddypress div#item-header div#item-actions h3 { - margin: 0 0 5px; -} - -#buddypress div#item-header div#item-actions a { - display: inline-block; -} - -#buddypress div#item-header ul { - margin-bottom: 15px; -} - -#buddypress div#item-header ul:after { - clear: both; - content: ""; - display: table; -} - -#buddypress div#item-header ul h5, -#buddypress div#item-header ul span, -#buddypress div#item-header ul hr { - display: none; -} - -#buddypress div#item-header ul li { - float: right; - list-style: none; -} - -#buddypress div#item-header ul img.avatar, -#buddypress div#item-header ul.avatars img.avatar { - height: 30px; - margin: 2px; - width: 30px; -} - -#buddypress div#item-header div.generic-button, -#buddypress div#item-header a.button { - float: left; - margin: 10px 10px 0 0; -} - -body.no-js #buddypress div#item-header .js-self-profile-button { - display: none; -} - -#buddypress div#item-header div#message.info { - line-height: 0.8; -} - -#buddypress ul.item-list { - border-top: 1px solid #eaeaea; - width: 100%; - list-style: none; - clear: both; - margin: 0; - padding: 0; -} - -body.activity-permalink #buddypress ul.item-list, -body.activity-permalink #buddypress ul.item-list li.activity-item { - border: none; -} - -#buddypress ul.item-list li { - border-bottom: 1px solid #eaeaea; - padding: 15px 0; - margin: 0; - position: relative; - list-style: none; -} - -#buddypress ul.single-line li { - border: none; -} - -#buddypress ul.item-list li img.avatar { - float: left; - margin: 0 10px 0 0; -} - -#buddypress ul.item-list li div.item-title, -#buddypress ul.item-list li h3, -#buddypress ul.item-list li h4 { - font-weight: 400; - font-size: 90%; - margin: 0; - width: 75%; -} - -#buddypress ul.item-list li div.item-title span { - color: #767676; - font-size: 80%; -} - -#buddypress ul.item-list li div.item-desc { - color: #767676; - font-size: 80%; - margin: 10px 0 0 60px; - width: 50%; -} - -#buddypress ul.item-list li.group-no-avatar div.item-desc { - margin-left: 0; -} - -#buddypress ul.item-list li div.action { - position: absolute; - top: 15px; - right: 0; - text-align: right; -} - -#buddypress ul.item-list li div.meta { - color: #767676; - font-size: 80%; - margin-top: 10px; -} - -#buddypress ul.item-list li h5 span.small { - float: right; - font-size: 80%; - font-weight: 400; -} - -#buddypress div.item-list-tabs { - background: transparent; - clear: left; - overflow: hidden; -} - -#buddypress div.item-list-tabs ul { - margin: 0; - padding: 0; -} - -#buddypress div.item-list-tabs ul li { - float: left; - margin: 0; - list-style: none; -} - -#buddypress div.item-list-tabs#subnav ul li { - margin-top: 0; -} - -#buddypress div.item-list-tabs ul li.last { - float: right; - margin: 7px 0 0; -} - -#buddypress div.item-list-tabs#subnav ul li.last { - margin-top: 4px; -} - -#buddypress div.item-list-tabs ul li.last select { - max-width: 185px; -} - -#buddypress div.item-list-tabs ul li a, -#buddypress div.item-list-tabs ul li span { - display: block; - padding: 5px 10px; - text-decoration: none; -} - -#buddypress div.item-list-tabs ul li a span { - background: #eee; - border-radius: 50%; - border: 1px solid #ccc; - color: #6c6c6c; - display: inline; - font-size: 70%; - margin-left: 2px; - padding: 3px 6px; - text-align: center; - vertical-align: middle; -} - -#buddypress div.item-list-tabs ul li.selected a, -#buddypress div.item-list-tabs ul li.current a { - background-color: #eee; - color: #555; - opacity: 0.9; - font-weight: 700; -} - -#buddypress div.item-list-tabs ul li.selected a span, -#buddypress div.item-list-tabs ul li.current a span, -#buddypress div.item-list-tabs ul li a:hover span { - background-color: #eee; -} - -#buddypress div.item-list-tabs ul li.selected a span, -#buddypress div.item-list-tabs ul li.current a span { - background-color: #fff; -} - -#buddypress div#item-nav ul li.loading a { - background-position: 88% 50%; -} - -#buddypress div.item-list-tabs#object-nav { - margin-top: 0; -} - -#buddypress div.item-list-tabs#subnav { - background: transparent; - margin: 10px 0; - overflow: hidden; -} - -#buddypress #admins-list li, -#buddypress #mods-list li, -#buddypress #members-list li { - overflow: auto; - list-style: none; -} - -#buddypress .group-members-list { - width: 100%; - margin-top: 1em; - clear: both; - overflow: auto; -} - -#buddypress #item-buttons:empty { - display: none; -} - -/*-------------------------------------------------------------- -3.8.1 - Cover Image ---------------------------------------------------------------*/ - -#buddypress #cover-image-container { - position: relative; - z-index: 0; -} - -#buddypress #header-cover-image { - background-color: #c5c5c5; - background-position: center top; - background-repeat: no-repeat; - background-size: cover; - border: 0; - display: block; - left: 0; - margin: 0; - padding: 0; - position: absolute; - top: 0; - width: 100%; - z-index: 1; -} - -#buddypress #item-header-cover-image { - padding: 0 1em; - position: relative; - z-index: 2; -} - -/*-------------------------------------------------------------- -3.9 - Private Messaging Threads ---------------------------------------------------------------*/ -#buddypress table#message-threads tr.unread td { - background: #fff9db; - border-top: 1px solid #ffe8c4; - border-bottom: 1px solid #ffe8c4; - font-weight: 700; -} - -#buddypress table#message-threads tr.unread td .thread-excerpt, -#buddypress table#message-threads tr.unread td .activity, -#buddypress table#message-threads tr.unread td.thread-options { - font-weight: 400; -} - -#buddypress li span.unread-count, -#buddypress tr.unread span.unread-count { - background: #d00; - color: #fff; - font-weight: 700; - padding: 2px 8px; -} - -#buddypress div.item-list-tabs ul li a span.unread-count { - padding: 1px 6px; - color: #fff; -} - -#buddypress div#message-thread div.message-box { - margin: 0; - padding: 15px; -} - -#buddypress div#message-thread div.alt { - background: #f4f4f4; -} - -#buddypress div#message-thread p#message-recipients { - margin: 10px 0 20px; -} - -#buddypress div#message-thread img.avatar { - float: left; - margin: 0 10px 0 0; - vertical-align: middle; -} - -#buddypress div#message-thread strong { - font-size: 100%; - margin: 0; -} - -#buddypress div#message-thread strong a { - text-decoration: none; -} - -#buddypress div#message-thread strong span.activity { - margin-top: 4px; -} - -#buddypress div#message-thread div.message-metadata:after { - clear: both; - content: ""; - display: table; -} - -#buddypress div#message-thread div.message-content { - margin-left: 45px; -} - -#buddypress div#message-thread div.message-options { - text-align: right; -} - -#buddypress #message-threads img.avatar { - max-width: none; -} - -#buddypress div.message-search { - float: right; - margin: 0 20px; -} - -.message-metadata { - position: relative; -} - -.message-star-actions { - position: absolute; - right: 0; - top: 0; -} - -#buddypress a.message-action-star, -#buddypress a.message-action-unstar { - border-bottom: 0; - text-decoration: none; - outline: none; -} - -a.message-action-star { - opacity: 0.7; -} - -a.message-action-star:hover { - opacity: 1; -} - -.message-action-star span.icon:before, -.message-action-unstar span.icon:before { - font-family: dashicons; - font-size: 18px; -} - -.message-action-star span.icon:before { - color: #767676; - content: "\f154"; -} - -.message-action-unstar span.icon:before { - color: #fcdd77; - content: "\f155"; -} - -/*-------------------------------------------------------------- -3.10 - Extended Profiles ---------------------------------------------------------------*/ - -#buddypress div.profile h2 { - margin-bottom: auto; - margin-top: 15px; -} - -#buddypress #profile-edit-form ul.button-nav { - margin-top: 15px; -} - -body.no-js #buddypress .field-visibility-settings-toggle, -body.no-js #buddypress .field-visibility-settings-close { - display: none; -} - -#buddypress .field-visibility-settings { - display: none; - margin-top: 10px; -} - -body.no-js #buddypress .field-visibility-settings { - display: block; -} - -#buddypress .current-visibility-level { - font-weight: 700; - font-style: normal; -} - -#buddypress .field-visibility-settings, -#buddypress .field-visibility-settings-toggle, -#buddypress .field-visibility-settings-notoggle { - color: #707070; -} - -#buddypress .field-visibility-settings-toggle a, -#buddypress .field-visibility-settings a { - font-size: 80%; -} - -body.register #buddypress div.page ul { - list-style: none; -} - -#buddypress .standard-form .field-visibility-settings label { - margin: 0; - font-weight: 400; -} - -#buddypress .field-visibility-settings legend, -#buddypress .field-visibility-settings-toggle { - font-style: italic; -} - -#buddypress .field-visibility-settings .radio { - list-style: none; - margin-bottom: 0; -} - -#buddypress .field-visibility select { - margin: 0; -} - -#buddypress .wp-editor-container { - border: 1px solid #dedede; -} - -#buddypress .html-active button.switch-html { - border-bottom-color: transparent; - border-bottom-left-radius: 0; - border-bottom-right-radius: 0; - background: #f5f5f5; - color: #707070; -} - -#buddypress .tmce-active button.switch-tmce { - border-bottom-color: transparent; - border-bottom-left-radius: 0; - border-bottom-right-radius: 0; - background: #f5f5f5; - color: #707070; -} - -#buddypress .standard-form .wp-editor-container textarea { - width: 100%; - padding-top: 0; - padding-bottom: 0; -} - -/*-------------------------------------------------------------- -3.11 - Widgets ---------------------------------------------------------------*/ - -.widget.buddypress span.activity { - display: inline-block; - font-size: small; - padding: 0; -} - -.widget.buddypress div.item-options { - font-size: 90%; - margin: 0 0 1em; - padding: 1em 0; -} - -.widget.buddypress div.item { - margin: 0 0 1em; -} - -.widget.buddypress div.item-meta, -.widget.buddypress div.item-content { - font-size: 11px; - margin-left: 50px; -} - -.widget.buddypress div.avatar-block:after { - clear: both; - content: ""; - display: table; -} - -.widget.buddypress .item-avatar a { - float: left; - margin-bottom: 15px; - margin-right: 10px; -} - -.widget.buddypress div.item-avatar img { - display: inline-block; - height: 40px; - margin: 1px; - width: 40px; -} - -.widget.buddypress .item-avatar a, -.widget.buddypress .item-avatar a:hover, -.widget.buddypress .item-avatar a:focus, -.widget.buddypress .item-avatar a:active, -.widget.buddypress .item-avatar a img { - -webkit-box-shadow: none; - box-shadow: none; -} - -.widget.buddypress #bp-login-widget-form label { - display: block; - margin: 1rem 0 0.5rem; -} - -.widget.buddypress #bp-login-widget-form #bp-login-widget-submit { - margin-right: 10px; -} - -.widget.buddypress .bp-login-widget-user-avatar { - float: left; -} - -.bp-login-widget-user-avatar img.avatar { - height: 40px; - width: 40px; -} - -.widget.buddypress .bp-login-widget-user-links > div { - padding-left: 60px; -} - -.widget.buddypress .bp-login-widget-user-links > div { - margin-bottom: 0.5rem; -} - -.widget.buddypress .bp-login-widget-user-links > div.bp-login-widget-user-link a { - font-weight: 700; -} - -.widget.buddypress #groups-list, -.widget.buddypress #members-list, -.widget.buddypress #friends-list { - margin-left: 0; - padding-left: 0; -} - -.widget.buddypress #groups-list li, -.widget.buddypress #members-list li, -.widget.buddypress #friends-list li { - clear: both; - list-style-type: none; -} - -/*-------------------------------------------------------------- -3.12 - Tooltips ---------------------------------------------------------------*/ - -.buddypress .bp-tooltip { - position: relative; -} - -.bp-tooltip:after { - background: #fff; - border: 1px solid #aaa; - border-collapse: separate; - border-radius: 1px; - box-shadow: 1px 1px 0 1px rgba(132, 132, 132, 0.3); - color: #000; - content: attr(data-bp-tooltip); - display: none; - font-family: sans-serif; - font-size: 11px; - font-weight: 400; - letter-spacing: normal; - line-height: 1.5; - margin-top: 10px; - max-width: 240px; - opacity: 0; - padding: 3px 6px; - position: absolute; - right: 50%; - text-align: center; - text-decoration: none; - text-shadow: none; - text-transform: none; - top: 100%; - -webkit-transform: translateX(50%); - -ms-transform: translateX(50%); - transform: translateX(50%); - -webkit-transition: opacity 2s ease-out; - -ms-transition: opacity 2s ease-out; - transition: opacity 2s ease-out; - white-space: pre; - word-wrap: break-word; - z-index: 998; -} - -.bp-tooltip:hover:after, -.bp-tooltip:active:after, -.bp-tooltip:focus:after { - display: inline-block; - opacity: 1; - overflow: visible; - text-decoration: none; - z-index: 999; -} - -#group-admins .bp-tooltip:after, -#group-mods .bp-tooltip:after, -.message-metadata .bp-tooltip:after { - right: 0; - text-align: right; - -webkit-transform: translateX(0); - -ms-transform: translateX(0); - transform: translateX(0); -} - -.feed .bp-tooltip:after, -.item-list .bp-tooltip:after, -.messages-notices .bp-tooltip:after { - left: 0; - right: auto; - text-align: left; - -webkit-transform: translateX(0); - -ms-transform: translateX(0); - transform: translateX(0); -} - -.bp-site-wide-message .bp-tooltip:after, -.admin-bar-on .bp-tooltip:after { - right: 50px; -} - -/*-------------------------------------------------------------- -4.0 - Media Queries ---------------------------------------------------------------*/ - -/*-------------------------------------------------------------- -4.1 - Smartphones - landscape ---------------------------------------------------------------*/ -@media only screen and (max-width: 480px ) { - - #buddypress div.dir-search { - float: right; - margin-top: -50px; - text-align: right; - } - - #buddypress div.dir-search input[type="text"] { - margin-bottom: 1em; - width: 50%; - } - - a.bp-title-button { - margin-left: 10px; - } - - #buddypress form.standard-form .main-column div.action { - position: relative; - margin-bottom: 1em; - } - - #buddypress form.standard-form .main-column ul#friend-list h3, - #buddypress form.standard-form .main-column ul#friend-list h4 { - width: 100%; - } -} - -/*-------------------------------------------------------------- -4.2 - Smartphones - portrait ---------------------------------------------------------------*/ -@media only screen and (max-width: 320px) { - - #buddypress div.dir-search { - clear: left; - float: left; - margin-top: 0; - text-align: left; - } - - #buddypress li#groups-order-select { - clear: left; - float: left; - } - - #buddypress ul.item-list li div.action { - clear: left; - float: left; - margin-top: 0; - margin-left: 70px; - position: relative; - top: 0; - right: 0; - text-align: left; - } - - #buddypress ul.item-list li div.item-desc { - clear: left; - float: left; - margin: 10px 0 0; - width: auto; - } - - #buddypress li div.item { - margin-left: 70px; - width: auto; - } - - #buddypress ul.item-list li div.meta { - margin-top: 0; - } - - #buddypress .item-desc p { - margin: 0 0 10px; - } - - #buddypress div.pagination .pag-count { - margin-left: 0; - } -} - -/*-------------------------------------------------------------- -4.2 - Smartphones - smaller screen sizes ---------------------------------------------------------------*/ -@media only screen and (max-width: 240px) { - - #buddypress div.dir-search { - float: left; - margin: 0; - } - - #buddypress div.dir-search input[type="text"] { - width: 50%; - } - - #buddypress li#groups-order-select { - float: left; - } - - #buddypress ul.item-list li img.avatar { - width: 30px; - height: auto; - } - - #buddypress ul.item-list li div.action, - #buddypress li div.item { - margin-left: 45px; - } - - h1 a.bp-title-button { - clear: left; - float: left; - margin: 10px 0 20px; - } -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/049/049.test.js b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/049/049.test.js deleted file mode 100644 index 54addc7f4931a5..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/049/049.test.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -const stylelint = require( 'stylelint' ), - systemTestUtils = require( '../systemTestUtils.js' ); - -it( '049', () => { - return stylelint.lint({ - files: [systemTestUtils.caseStylesheetGlob( '049' )], - configFile: systemTestUtils.caseConfig( '049' ), - }).then( ({ results }) => { - expect( systemTestUtils.prepResults( results ) ).toMatchSnapshot(); - }); -}); diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/049/__snapshots__/049.test.js.snap b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/049/__snapshots__/049.test.js.snap deleted file mode 100644 index f52301f6db4dab..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/049/__snapshots__/049.test.js.snap +++ /dev/null @@ -1,15 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`049 1`] = ` -Array [ - Object { - "deprecations": Array [], - "errored": undefined, - "ignored": undefined, - "invalidOptionWarnings": Array [], - "parseErrors": Array [], - "source": "049/stylesheet.css", - "warnings": Array [], - }, -] -`; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/049/config.json b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/049/config.json deleted file mode 100644 index a8af7d5dcb61b9..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/049/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../index.js" -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/049/stylesheet.css b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/049/stylesheet.css deleted file mode 100644 index 274c9a20febf80..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/049/stylesheet.css +++ /dev/null @@ -1,153 +0,0 @@ -#bp-embed-header:after { - clear: both; - content: ""; - display: table; - margin-bottom: 1em; -} - -.bp-embed-avatar { - float: left; - margin: 0 0.75em 0 0; -} - -p.bp-embed-activity-action { - font-size: 15px; - margin-bottom: 0; -} - -p.bp-embed-activity-action a:first-child { - color: #32373c; - font-weight: 700; -} - -p.bp-embed-activity-action img.avatar { - padding: 0 4px 0 3px; - vertical-align: text-bottom; -} - -.bp-embed-excerpt { - margin-bottom: 1em; -} - -.bp-embed-excerpt a { - color: #21759b; - display: inline-block; - overflow: hidden; - text-overflow: ellipsis; - vertical-align: top; - white-space: nowrap; - max-width: 250px; -} - -.activity-read-more { - margin-left: 0.5em; -} - -.activity-read-more a { - color: #b4b9be; -} - -.wp-embed-footer { - margin-top: 20px; -} - -span.bp-embed-timestamp { - font-size: 0.9em; -} - -video { - width: 100%; - height: auto; -} - -.bp-activity-embed-display-media { - border: 1px solid #ccc; - border-radius: 6px; -} - -.bp-activity-embed-display-media.one-col, -.bp-activity-embed-display-media.one-col .thumb, -.bp-activity-embed-display-media.one-col .thumb img { - width: 100%; -} - -.bp-activity-embed-display-media.two-col .thumb, -.bp-activity-embed-display-media.two-col .caption { - display: table-cell; -} - -.bp-activity-embed-display-media.two-col .thumb { - background: #000; - vertical-align: middle; -} - -.bp-activity-embed-display-media.two-col .caption { - vertical-align: top; -} - -.bp-activity-embed-display-media.two-col .thumb img { - border-right: 1px solid #ccc; - display: block; - width: 100%; -} - -.bp-activity-embed-display-media .thumb { - position: relative; -} - -.bp-activity-embed-display-media .caption { - padding: 0.2em 0.5em 0.5em; -} - -a.play-btn { - background: rgba(0, 0, 0, 0.75); - border-radius: 50%; - height: 50px; - left: 50%; - margin: 0; - padding: 1em; - position: absolute; - text-indent: 0.25em; - top: 50%; - transform: translateY(-50%) translateX(-50%); - -webkit-transform: translateY(-50%) translateX(-50%); - transition: all 0.2s ease-out; - width: 50px; -} - -.bp-activity-embed-display-media.two-col a.play-btn { - height: 35px; - width: 35px; -} - -a.play-btn:hover { - background: rgba(0, 0, 0, 0.95); - transform: translateY(-50%) translateX(-50%) scale(1.05); - -webkit-transform: translateY(-50%) translateX(-50%) scale(1.05); - transition: all 0.2s ease-out; -} - -.bp-activity-embed-display-media .thumb svg { - fill: #fff; - overflow: hidden; -} - -.bp-activity-embed-display-media .caption-description { - font-size: 90%; - margin: 0.4em 0; -} - -@media only screen and (max-width: 480px) { - - .bp-activity-embed-display-media.two-col .thumb { - border-bottom: 1px solid #ccc; - border-right: 0; - display: block; - max-width: none !important; - } - - a.play-btn { - height: 35px; - width: 35px; - } -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/050/050.test.js b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/050/050.test.js deleted file mode 100644 index b16adae0ce5c87..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/050/050.test.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -const stylelint = require( 'stylelint' ), - systemTestUtils = require( '../systemTestUtils.js' ); - -it( '050', () => { - return stylelint.lint({ - files: [systemTestUtils.caseStylesheetGlob( '050' )], - configFile: systemTestUtils.caseConfig( '050' ), - }).then( ({ results }) => { - expect( systemTestUtils.prepResults( results ) ).toMatchSnapshot(); - }); -}); diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/050/__snapshots__/050.test.js.snap b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/050/__snapshots__/050.test.js.snap deleted file mode 100644 index ff6c17492e0158..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/050/__snapshots__/050.test.js.snap +++ /dev/null @@ -1,905 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`050 1`] = ` -Array [ - Object { - "deprecations": Array [], - "errored": true, - "ignored": undefined, - "invalidOptionWarnings": Array [], - "parseErrors": Array [], - "source": "050/stylesheet.css", - "warnings": Array [ - Object { - "column": 1, - "line": 57, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 85, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 92, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 547, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 840, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 1121, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 1128, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 1251, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 1770, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 2, - "line": 117, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 122, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 128, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 133, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 136, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 141, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 156, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 159, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 165, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 191, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 226, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 236, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 240, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 246, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 251, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 255, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 258, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 264, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 270, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 273, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 279, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 284, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 287, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 294, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 298, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 309, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 315, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 392, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 408, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 424, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 447, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 469, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 476, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 481, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 487, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 505, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 524, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 531, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 557, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 586, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 589, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 594, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 653, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 658, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 661, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 665, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 669, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 719, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 752, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 826, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 830, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 853, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 861, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 864, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 896, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 905, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 912, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 916, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 920, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 924, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 931, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 939, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 953, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 959, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 963, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 967, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 970, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 974, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 977, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 980, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1002, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1012, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1035, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1039, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1043, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1050, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1060, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1067, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1075, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1103, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1106, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1109, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1179, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1204, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1223, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1239, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1267, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1271, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1288, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1312, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1328, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1462, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1509, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1535, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1576, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1750, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1873, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1879, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1893, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1898, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1935, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 45, - "line": 104, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 47, - "line": 133, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 94, - "line": 133, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 43, - "line": 136, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 86, - "line": 136, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 52, - "line": 159, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 34, - "line": 330, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 46, - "line": 731, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 80, - "line": 816, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 81, - "line": 1334, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 88, - "line": 1413, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 61, - "line": 1629, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 30, - "line": 1716, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 2, - "line": 185, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '5px 0 5px' instead of '5px 0' (shorthand-property-no-redundant-values)", - }, - Object { - "column": 3, - "line": 534, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '0 0 15px 0' instead of '0 0 15px' (shorthand-property-no-redundant-values)", - }, - Object { - "column": 2, - "line": 1231, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '5px 0 0 0' instead of '5px 0 0' (shorthand-property-no-redundant-values)", - }, - Object { - "column": 2, - "line": 1476, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '15px 0 0 0' instead of '15px 0 0' (shorthand-property-no-redundant-values)", - }, - ], - }, -] -`; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/050/config.json b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/050/config.json deleted file mode 100644 index a8af7d5dcb61b9..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/050/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../index.js" -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/050/stylesheet.css b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/050/stylesheet.css deleted file mode 100644 index fc418e960ee8c9..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/050/stylesheet.css +++ /dev/null @@ -1,2021 +0,0 @@ -/*-------------------------------------------------------------- - -This is the BuddyPress companion stylesheet for -the WordPress Twentyeleven theme. - -This sheet supports the primary BuddyPress styles in buddypress.css - -If you are running as a child theme of twentyeleven this stylesheet will be -loaded by default. If you want to modify the styles the normal BP Theme Compat -hierarchy works and you can copy the file to buddypress/css/ or community/css/ -in your child themes root & either start over or modify the rulesets. - -If you do not require the styles you can dequeue them from the themes -functions file. - -Please see this codex article for more information: -http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ - ----------------------------------------------------------------- ->>> TABLE OF CONTENTS: ----------------------------------------------------------------- -1.0 Theme Structural Elements & overrides -2.0 - Navigation - General - 2.1 - Navs - Object Nav / Sub Nav (item-list-tabs) - 2.2 - Pagination -3.0 - Images -4.0 - BP Lists / Loops Generic - 4.1 - Activity Loop - 4.1.1 Whats New Activity - 4.1.2 - Activity Listing - 4.1.3 - Activity Comments - 4.2 - Members Loop - 4.3 - Groups Loop - 4.4 - Blogs Loop -5.0 - Directories - Members, Groups, Blogs, Register, activation -6.0 - Single Item screens: User Account & Single Group Screens - 6.1 - Item Headers: Global - 6.1.1 - item-header: Groups - 6.1.2 - item-header: User Accounts - 6.2 - Item Body: Global - 6.2.1 - item-body: Groups - 6.2.1.1 - Management settings screens - 6.2.1.2 - Group members list - 6.2.2 - item-body: User Accounts - 6.2.2.1 - classes, pag, filters - 6.2.2.2 - Extended Profiles - 6.2.2.3 - Groups - 6.2.2.4 - friends - 6.2.2.5 - Private Messaging Threads - 6.2.2.6 - Settings - 6.2.2.7 - Notifications -7.0 - Forms - General -8.0 - Tables - General -9.0 - Error / Success Messages -10.0 - Ajax Loading, Widgets, General classes ---------------------------------------------------------------*/ -/** -*------------------------------------------------------------------------------- -* @section 1.0 - Theme - Structural Elements. overrides, Globals -*------------------------------------------------------------------------------- -*/ -.buddypress div.clear { - display: none; -} - -body.buddypress:not(.page-template-sidebar-page) #content { - margin: 0 10%; - width: auto; -} - -body.buddypress:not(.page-template-sidebar-page) #content .entry-header, -body.buddypress:not(.page-template-sidebar-page) #content .entry-content { - width: auto; -} - -.buddypress.singular.page .hentry { - padding-top: 0; -} - -/** -*------------------------------------------------------------------------------- -* @section 2.0 - Navigation - General -*------------------------------------------------------------------------------- -*/ -/** -*---------------------------------------------------------- -* @section 2.1 - Navs Object Nav / Sub Nav (item-list-tabs) -* -* The main navigational elements for all BP screens -*---------------------------------------------------------- -*/ -/* Here we start things off */ -#buddypress div.item-list-tabs ul li.selected a, -#buddypress div.item-list-tabs ul li.current a { - background: inherit; - opacity: 1; -} - -#buddypress div.item-list-tabs ul { - overflow: hidden; - padding: 0; -} - -#buddypress div.item-list-tabs ul li a:focus, #buddypress div.item-list-tabs ul li a:hover { - color: #555; -} - -#buddypress div.item-list-tabs ul li a:visited { - color: #21759b; -} - -#buddypress div.item-list-tabs ul li a span { - border-radius: 25%; -} - -@media screen and (max-width: 450px) { - .bp-user #buddypress #object-nav { - border: 1px solid #eaeaea; - overflow: visible; - padding: 5px; - } - .bp-user #buddypress #object-nav ul { - border: 0; - height: 0; - transition: height 0.3s ease-in-out 0.7s; - visibility: hidden; - } - .bp-user #buddypress #object-nav:before { - content: "Menu \021E9"; - display: inline; - opacity: 0.7; - } - .bp-user #buddypress #object-nav:focus:before, .bp-user #buddypress #object-nav:hover:before, .bp-user #buddypress #object-nav:active:before { - content: "Menu \021E7"; - } - .bp-user #buddypress #object-nav:focus ul, .bp-user #buddypress #object-nav:hover ul, .bp-user #buddypress #object-nav:active ul { - min-height: 320px; - opacity: 1; - visibility: visible; - } - .bp-user #buddypress #subnav { - clear: both; - } -} - -/*__ Horizontal menus __*/ -#buddypress #object-nav ul { - overflow: hidden; -} - -#buddypress #object-nav ul li { - float: none; -} - -@media screen and (max-width: 650px) { - #buddypress #object-nav ul li:not(:last-child) { - border-bottom: 1px solid #eaeaea; - } - #buddypress #object-nav ul li:not(.selected):focus, #buddypress #object-nav ul li:not(.selected):hover { - background: #f2f2f2; - } -} - -@media screen and (min-width: 650px) { - #buddypress #object-nav ul li { - float: left; - } -} - -#buddypress div#subnav.item-list-tabs { - margin-top: 0; -} - -#buddypress div#subnav.item-list-tabs ul { - border-bottom: 0; - border-top: 1px solid #d4d0ba; - margin-top: 5px; - padding: 0; -} - -#buddypress div#subnav.item-list-tabs ul li.last { - background: #fff; - float: right; - margin-top: 0; - padding: 5px 0 5px; - text-align: right; - width: 230px; -} - -@media screen and (max-width: 450px) { - #buddypress div#subnav.item-list-tabs ul li.last { - float: none; - width: auto; - } -} - -#buddypress div#subnav.item-list-tabs ul li.last select, -#buddypress div#subnav.item-list-tabs ul li.last select:focus { - background: transparent; - border: 0; - outline: 0; - padding: 0; -} - -#buddypress div#subnav.item-list-tabs ul li.last select, -#buddypress div#subnav.item-list-tabs ul li.last label, -#buddypress div#subnav.item-list-tabs ul li.last option { - font-size: 14px; - font-size: 0.9333333333rem; -} - -#buddypress div#subnav.item-list-tabs ul li.last select { - font-style: italic; -} - -#buddypress div#subnav.item-list-tabs ul li.last select option { - font-style: normal; -} - -.bp-user #buddypress div#subnav.item-list-tabs li.last { - margin-left: 0; - text-align: right; -} - -@media screen and (max-width: 450px) { - .bp-user #buddypress div#subnav.item-list-tabs li.last { - clear: left; - float: none; - margin-left: 10px; - text-align: left; - } -} - -/*__ Vertical menu User Account / Group single screens __*/ -@media screen and (min-width: 800px) { - body.bp-user #buddypress #item-header, - body.bp-user #buddypress #item-body { - background: #fff; - } - body.bp-user #buddypress #object-nav { - border-right: 1px solid #ddd; - float: left; - margin-right: -1px; - width: 200px; - } - body.bp-user #buddypress #object-nav ul { - background: none; - border-bottom: 0; - padding: 0; - } - body.bp-user #buddypress #object-nav ul li { - float: none; - overflow: hidden; - } - body.bp-user #buddypress #object-nav ul li.selected { - background: #ddd; - } - body.bp-user #buddypress #object-nav ul li span { - background: #fff; - border-radius: 10%; - float: right; - margin-right: 2px; - } - body.bp-user #buddypress #item-body { - border-left: 1px solid #ddd; - overflow: hidden; - padding: 0 0 0 25px; - width: auto; - } - body.bp-user #buddypress #item-body #subnav { - margin: 0 0 0 -25px; - } - body.bp-user #buddypress #item-body #subnav ul { - margin-top: 0; - } -} - -@media screen and (min-width: 650px) { - #main #buddypress #group-create-tabs.item-list-tabs ul:before, - #main #buddypress #group-create-tabs.item-list-tabs ul:after { - content: " "; - display: table; - } - #main #buddypress #group-create-tabs.item-list-tabs ul:after { - clear: both; - } - #main #buddypress #group-create-tabs.item-list-tabs ul { - background: none; - border: 0; - border-bottom: 1px solid #ddd; - overflow: visible; - padding-bottom: 0; - } - #main #buddypress #group-create-tabs.item-list-tabs ul li { - float: left; - width: auto; - } - #main #buddypress #group-create-tabs.item-list-tabs ul li.selected, - #main #buddypress #group-create-tabs.item-list-tabs ul li.current { - border: 1px solid #ddd; - border-bottom-color: #fff; - -webkit-border-top-right-radius: 4px; - border-top-right-radius: 4px; - -webkit-border-top-left-radius: 4px; - border-top-left-radius: 4px; - background-clip: padding-box; - margin-bottom: -1px; - } - #main #buddypress #group-create-tabs.item-list-tabs ul li.selected a, - #main #buddypress #group-create-tabs.item-list-tabs ul li.current a { - background: none; - color: #373737; - outline: none; - } - #main #buddypress #subnav ul { - border-bottom: 0; - } -} - -/** -*---------------------------------------------------------- -* @section 2.2 - Pagination -*---------------------------------------------------------- -*/ -#buddypress div.pagination { - box-shadow: none; - min-height: 0; -} - -#buddypress div.pagination:before, #buddypress div.pagination:after { - height: 0; - width: 0; -} - -#buddypress div.pagination .pag-count { - margin-left: 0; -} - -#buddypress div.pagination .pagination-links { - margin-right: 0; -} - -#buddypress div.pagination .pagination-links span, -#buddypress div.pagination .pagination-links a { - height: auto; - line-height: 1; - padding: 5px; -} - -#buddypress div.pagination .pagination-links .prev, -#buddypress div.pagination .pagination-links .next { - background-color: transparent; - color: inherit; - overflow: visible; - width: auto; -} - -#buddypress div.pagination .pagination-links .prev:before, -#buddypress div.pagination .pagination-links .next:before { - display: none; -} - -#buddypress div.pagination .pagination-links .prev { - left: auto; - position: static; -} - -#buddypress div.pagination .pagination-links .next { - position: static; - right: auto; -} - -/** -*------------------------------------------------------------------------------- -* @section 4.0 - BP Lists / Loops Generic -*------------------------------------------------------------------------------- -*/ -#buddypress ul.item-list { - border-top: 0; -} - -#buddypress ul.item-list li { - overflow: hidden !important; -} - -#buddypress ul.item-list li .item-avatar { - margin-bottom: 15px; - text-align: center; -} - -@media screen and (min-width: 650px) { - #buddypress ul.item-list li .item-avatar { - margin-bottom: 0; - } -} - -#buddypress ul.item-list li .item-avatar a { - border-bottom: 0; -} - -#buddypress ul.item-list li .item-avatar img.avatar { - display: inline-block; - float: none; - margin-bottom: 15px; -} - -@media screen and (min-width: 450px) { - #buddypress ul.item-list li .item-avatar img.avatar { - display: block; - float: left; - } -} - -#buddypress ul.item-list li .item { - margin-left: 0; - overflow: hidden; -} - -#buddypress ul.item-list li .item .item-meta { - text-align: center; -} - -@media screen and (min-width: 61.5625em) { - #buddypress ul.item-list li .item .item-meta { - text-align: left; - } -} - -#buddypress ul.item-list li .item span.activity { - font-style: italic; -} - -#buddypress ul.item-list li .item .item-desc { - margin-left: 0; - width: 94%; -} - -#buddypress ul.item-list li .item .item-title { - font-size: 16px; - font-size: 1.0666666667rem; - line-height: 1.2; - text-align: center; - width: 100%; -} - -@media screen and (min-width: 450px) { - #buddypress ul.item-list li .item .item-title { - text-align: left; - } -} - -#buddypress ul.item-list li .item .item-title > a { - text-decoration: none; -} - -#buddypress ul.item-list li .item .item-title > a:visited { - color: #21759b; -} - -#buddypress ul.item-list li .item .item-title .update { - display: block; - font-size: 12px; - font-size: 0.8rem; - padding: 15px 0; - text-align: left; -} - -@media screen and (min-width: 650px) { - #buddypress ul.item-list li .item .item-title .update { - font-size: 14px; - font-size: 0.9333333333rem; - } -} - -@media screen and (min-width: 650px) { - #buddypress ul.item-list li .item-avatar, - #buddypress ul.item-list li .item, - #buddypress ul.item-list li .action { - float: left; - } - #buddypress ul.item-list li .item { - left: 5%; - margin-left: 0; - position: relative; - width: 55%; - } - #buddypress ul.item-list li .item .item-title { - font-size: 18px; - font-size: 1.2rem; - } -} - -#buddypress ul.item-list li div.action { - clear: left; - float: none; - margin: 0; - margin-left: 0; - padding: 15px 0 5px; - position: relative; - text-align: left; - top: 0; -} - -@media screen and (min-width: 650px) { - #buddypress ul.item-list li div.action { - clear: none; - float: right; - margin-bottom: 0; - padding: 0; - } -} - -#buddypress ul.item-list li div.action div { - display: inline-block; - margin: 5px 0; - width: 100%; -} - -#buddypress ul.item-list li div.action div a { - display: block; -} - -@media screen and (min-width: 37em) { - #buddypress ul.item-list li div.action div { - margin: 0 15px 5px 0; - width: auto; - } -} - -@media screen and (min-width: 650px) { - #buddypress ul.item-list li div.action div { - clear: right; - float: right; - margin: 0 0 15px 0; - } -} - -#buddypress ul.item-list li div.action .meta { - font-style: italic; -} - -/** -*---------------------------------------------------------- -* @section 4.1 - Activity -*---------------------------------------------------------- -*/ -/** -*----------------------------------------------------- -* @section 4.1.1 - Activity Whats New -*----------------------------------------------------- -*/ -#buddypress form#whats-new-form p.activity-greeting { - line-height: 1.4; -} - -@media screen and (max-width: 650px) { - #buddypress form#whats-new-form #whats-new-content { - clear: left; - margin: 15px 0 25px; - padding: 15px 0 0; - } -} - -#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box { - border: 1px solid rgba(212, 208, 186, 0.5); - float: left; - font-size: 12px; - font-size: 0.8rem; - line-height: 1.6; - margin-top: 12px; - padding-left: 0.2em; - width: 100%; -} - -#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box select { - background: none; - border: 0; - float: right; - margin: 0; - max-width: 220px; - min-height: 1.5em; - padding: 0 0 0 0.4em; -} - -@media screen and (min-width: 30em) { - #buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box { - width: auto; - } - #buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-submit { - font-size: 12px; - font-size: 0.8rem; - float: right; - } - #buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-submit input { - padding: 0 6px; - } -} - -#buddypress #item-body form#whats-new-form { - margin: 50px 0; -} - -/** -*----------------------------------------------------- -* @section 4.1.2 - Activity Listing -*----------------------------------------------------- -*/ -#buddypress #activity-stream li { - padding: 25px 0 15px; -} - -#buddypress #activity-stream li.load-newest a { - display: block; -} - -#buddypress #activity-stream li .activity-avatar { - float: none; - text-align: center; -} - -#buddypress #activity-stream li .activity-avatar a { - display: inline-block; -} - -#buddypress #activity-stream li .activity-avatar a img.avatar { - display: inline; - float: none; - height: 60px; - margin-bottom: 25px; - margin-left: 0; - width: 60px; -} - -#buddypress #activity-stream li .activity-content, -#buddypress #activity-stream li .activity-comments { - margin-left: 0; -} - -#buddypress #activity-stream li .activity-header { - font-size: 14px; - font-size: 0.9333333333rem; -} - -#buddypress #activity-stream li .activity-header a:visited { - color: #21759b; -} - -#buddypress #activity-stream li .activity-inner img { - height: auto; -} - -@media screen and (min-width: 650px) { - #buddypress #activity-stream li .activity-avatar { - float: left; - margin-right: 15px; - text-align: left; - } - #buddypress #activity-stream li .activity-avatar a { - border-bottom: 0; - } - #buddypress #activity-stream li .activity-content { - margin: 0; - overflow: hidden; - } - #buddypress #activity-stream li .activity-content .activity-header { - font-size: 16px; - font-size: 1.0666666667rem; - } - #buddypress #activity-stream li .activity-comments { - margin-left: 70px; - } -} - -#buddypress #activity-stream li.mini .activity-avatar a img.avatar { - height: 30px; - margin-left: 15px; - width: 30px; -} - -#buddypress #activity-stream li.mini .activity-content .activity-header { - font-size: 14px; - font-size: 0.9333333333rem; -} - -#buddypress #activity-stream li.mini .activity-content .activity-meta a { - font-size: 12px; - font-size: 0.8rem; -} - -#buddypress #activity-stream .activity-content { - margin-top: -12px; -} - -#buddypress #activity-stream .activity-content .activity-header { - line-height: inherit; - margin-right: 0; -} - -#buddypress #activity-stream .activity-content .activity-header p { - border-bottom: 1px solid rgba(234, 234, 234, 0.6); - margin-top: 0; - padding: 0 0.2em; -} - -#buddypress #activity-stream .activity-content .activity-header img.avatar { - display: inline-block; - margin-bottom: 0 !important; -} - -#buddypress #activity-stream .activity-content .activity-meta a { - display: block; - font-size: 14px; - font-size: 0.9333333333rem; - margin-bottom: 5px; - padding: 0.2em 0.5em; -} - -@media screen and (min-width: 650px) { - #buddypress #activity-stream .activity-content .activity-meta a { - float: left; - margin-bottom: 0; - } -} - -#buddypress #activity-stream .load-more { - background: #f7f7f7; - border: 1px solid transparent; - padding: 15px; -} - -#buddypress #activity-stream .load-more:focus, #buddypress #activity-stream .load-more:hover { - background: #f4f4f4; - border: 1px solid rgba(159, 209, 226, 0.3); -} - -#buddypress #activity-stream .load-more a { - display: block; -} - -/* Single activity view - activity permalink */ -.activity-permalink #buddypress #activity-stream li.activity-item { - padding: 25px; -} - -.activity-permalink #buddypress #activity-stream li.mini .activity-header { - font-size: 16px; - font-size: 1.0666666667rem; - margin-bottom: 50px; -} - -@media screen and (min-width: 650px) { - .activity-permalink #buddypress #activity-stream li.mini .activity-header { - font-size: 20px; - font-size: 1.3333333333rem; - } -} - -.activity-permalink #buddypress #activity-stream li.mini .activity-header p { - padding: 25px; -} - -.activity-permalink #buddypress #activity-stream .activity-comments { - margin-left: 0; -} - -/** -*----------------------------------------------------- -* @section 4.1.3 - Activity Comments -*----------------------------------------------------- -*/ -#buddypress #activity-stream .activity-comments { - position: relative; -} - -#buddypress #activity-stream .activity-comments > ul { - background: rgba(247, 247, 247, 0.6); - margin: 15px 0 0 2px; -} - -#buddypress #activity-stream .activity-comments > ul > li:hover * { - color: #555; -} - -#buddypress #activity-stream .activity-comments > ul > li .acomment-meta, -#buddypress #activity-stream .activity-comments > ul > li .acomment-content { - font-size: 12px; - font-size: 0.8rem; -} - -#buddypress #activity-stream .activity-comments .ac-form { - border: 1px solid #d4d0ba; - box-sizing: border-box; - margin: 15px 0; - width: 100%; -} - -#buddypress #activity-stream .activity-comments .ac-form input[type="submit"], -#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel { - color: rgba(55, 55, 55, 0.8); - display: inline-block; - font-family: inherit; - font-size: 12px; - font-size: 0.8rem; - font-weight: 400; - line-height: 1.2; - padding: 4px 10px; - text-transform: lowercase; - width: 100px; -} - -#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel { - border: 1px solid rgba(212, 208, 186, 0.7); - text-align: center; -} - -#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:focus, #buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:hover { - background: #ededed; -} - -/** -*---------------------------------------------------------- -* @section 4.2 - Members Loop -*---------------------------------------------------------- -*/ -@media screen and (min-width: 650px) { - #buddypress #members-list li .item-avatar, - #buddypress #members-list li .item { - float: left; - } - #buddypress #members-list li .action { - float: right; - } -} - -/** -*------------------------------------------------------------------------------- -* @section 5.0 - Directories -*------------------------------------------------------------------------------- -*/ -/** -*----------------------------------------------------------- -* @subsection Registration -*----------------------------------------------------------- -*/ -#buddypress #signup_form.standard-form #profile-details-section, -#buddypress #signup_form.standard-form #basic-details-section, -#buddypress #signup_form.standard-form #blog-details-section { - float: none; - width: 100%; -} - -@media screen and (min-width: 37.5em) { - #buddypress #signup_form.standard-form #profile-details-section, - #buddypress #signup_form.standard-form #basic-details-section, - #buddypress #signup_form.standard-form #blog-details-section { - width: 48%; - } -} - -@media screen and (min-width: 37.5em) { - #buddypress #signup_form.standard-form #profile-details-section { - float: right; - } - #buddypress #signup_form.standard-form #basic-details-section { - float: left; - } -} - -/** -*------------------------------------------------------------------------------- -* @section 6.0 - Single Item screens: User Account & Single Group Screens -*------------------------------------------------------------------------------- -*/ -.bp-user #buddypress a:visited { - color: #21759b; -} - -/** -*----------------------------------------------------------- -* @subsection 6.1 - Item Header Global -*----------------------------------------------------------- -*/ -.bp-user #buddypress #item-header-content #item-meta, -.single-item.groups #buddypress #item-header-content #item-meta { - font-size: 14px; - font-size: 0.9333333333rem; - text-align: left; -} - -.bp-user #buddypress #item-header-content #item-meta p, -.single-item.groups #buddypress #item-header-content #item-meta p { - margin-bottom: 0.5em; -} - -@media screen and (max-width: 37.5em) { - .bp-user h1, - .bp-user #item-header-content, - .single-item.groups h1, - .single-item.groups #item-header-content { - text-align: center; - } -} - -@media screen and (max-width: 46.25em) { - .bp-user main header.entry-header, - .single-item.groups main header.entry-header { - padding-bottom: 1rem; - } -} - -@media screen and (max-width: 37.5em) { - .bp-user #buddypress h1, - .single-item.groups #buddypress h1 { - margin-bottom: 0; - } - .bp-user #buddypress #item-header-avatar img.avatar, - .single-item.groups #buddypress #item-header-avatar img.avatar { - margin-right: 0; - } - .bp-user #buddypress #item-header-content, - .single-item.groups #buddypress #item-header-content { - width: 100%; - } - .bp-user #buddypress #item-header-content .user-nicename, - .single-item.groups #buddypress #item-header-content .user-nicename { - color: #555; - } -} - -@media screen and (max-width: 46.25em) { - .bp-user #buddypress #item-header .generic-button, - .single-item.groups #buddypress #item-header .generic-button { - float: none; - margin: 1.5em 0 0; - } -} - -@media screen and (max-width: 800px) { - #buddypress #item-header-cover-image #item-header-content .user-nicename { - color: #555; - text-shadow: none; - } -} - -/** -*----------------------------------------------------- -* @subsection 6.1.1 - item-header Groups -* -* Group Specific Item Header -*----------------------------------------------------- -*/ -@media screen and (max-width: 46.25em) { - .single-item.groups #buddypress #item-header #item-meta { - margin-bottom: 25px; - } -} - -@media screen and (max-width: 50em) { - .single-item.groups #buddypress div#item-header { - display: flex; - flex-direction: column; - } - .single-item.groups #buddypress div#item-header #item-header-avatar { - order: 1; - text-align: center; - } - .single-item.groups #buddypress div#item-header #item-header-avatar a { - border-bottom: 0; - } - .single-item.groups #buddypress div#item-header #item-header-avatar a img { - display: inline-block; - float: none; - } - .single-item.groups #buddypress div#item-header #item-header-content { - order: 2; - } - .single-item.groups #buddypress div#item-header #item-actions { - order: 3; - } - .single-item.groups #buddypress div#item-header #item-actions h2 { - border-bottom: 1px solid #eaeaea; - text-align: center; - } -} - -.single-item.groups #buddypress div#item-header { - padding-bottom: 50px; -} - -.single-item.groups #buddypress div#item-header #item-header-content { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -.single-item.groups #buddypress div#item-header div#item-actions { - margin: 0 !important; - width: 100%; -} - -@media screen and (min-width: 50em) { - .single-item.groups #buddypress div#item-header div#item-actions { - border-left: 1px solid #eaeaea; - clear: none; - float: right; - padding-left: 0.2em; - width: 30%; - } -} - -@media screen and (min-width: 46.25em) { - .single-item.groups #buddypress div#item-header div#item-actions { - width: 40%; - } -} - -.single-item.groups #buddypress div#item-header div#item-actions ul { - margin-top: 0; - padding-left: 0; -} - -.single-item.groups #buddypress div#item-header div#item-actions h2 { - font-size: 14px; - font-size: 0.9333333333rem; - font-weight: 700; - line-height: 1.4; -} - -.single-item.groups #buddypress div#item-header div#item-actions #group-admins li, -.single-item.groups #buddypress div#item-header div#item-actions #group-mods li { - margin: 0; -} - -@media screen and (min-width: 650px) { - .single-item.groups #buddypress div#item-header #item-header-avatar, - .single-item.groups #buddypress div#item-header #item-header-content { - float: left; - } - .single-item.groups #buddypress div#item-header #item-header-content { - margin-left: 2%; - padding: 0 0.5em; - } - .single-item.groups #buddypress div#item-header div#item-actions { - float: right; - width: 28%; - } -} - -@media screen and (min-width: 64em) { - .single-item.groups #buddypress div#item-header #item-header-content { - width: 40%; - } -} - -.single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-actions { - margin-top: 225px !important; -} - -@media screen and (min-width: 50em) and (max-width: 60em) { - .single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-header-content { - max-width: 60% !important; - width: 60% !important; - } -} - -@media screen and (max-width: 64em) { - .single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-actions { - border: 0; - clear: both; - margin-top: 0 !important; - max-width: 100% !important; - padding-top: 0 !important; - width: auto; - } - .single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-actions h2 { - border-bottom: 1px solid #eaeaea; - } -} - -/** -*----------------------------------------------------- -* @subsection 6.1.2 - Item Header User Accounts -* -* User Accounts Specific Item Header -*----------------------------------------------------- -*/ -.bp-user #buddypress #item-header #item-header-avatar { - text-align: center; -} - -.bp-user #buddypress #item-header #item-header-avatar img.avatar, -.bp-user #buddypress #item-header #item-header-avatar a { - border-bottom: 0; - display: inline-block; - float: none; -} - -.bp-user #buddypress #item-header #item-header-content #item-buttons .generic-button { - margin-right: 5px; -} - -@media screen and (min-width: 650px) { - .bp-user #buddypress #item-header #item-header-avatar { - float: left; - } - .bp-user #buddypress #item-header #item-header-avatar a { - float: left; - } - .bp-user #buddypress #item-header #item-header-content { - float: right; - margin-right: 0%; - width: 69%; - } -} - -/** -*----------------------------------------------------------- -* @subsection 6.2 - Item Body: Global -*----------------------------------------------------------- -*/ -/** -*---------------------------------------------------- -* @subsection 6.2.1 - Item Body Groups -* -* Groups specific item body rules - screens -*---------------------------------------------------- -*/ -/** -*----------------------------------------- -* @subsection 6.2.1.1 - Group Management -*----------------------------------------- -*/ -.groups #group-settings-form h3 { - background: #555; - color: #fff; - padding: 0.2em; -} - -.groups.edit-details #group-settings-form label { - margin-bottom: 0; - padding: 0.2em; - width: 80%; -} - -.groups.edit-details #group-settings-form textarea + p label { - background: none; - color: inherit; - font-size: 14px; - font-size: 0.9333333333rem; - width: auto; -} - -.groups.edit-details #group-settings-form textarea { - height: auto; - min-height: 100px; - overflow: auto; -} - -.groups.group-settings #group-settings-form div.radio label { - font-weight: 700; - padding: 0.2em; -} - -.groups.group-settings #group-settings-form div.radio label ul { - color: rgba(55, 55, 55, 0.6); - font-size: 14px; - font-size: 0.9333333333rem; -} - -.groups.group-avatar form > p { - margin-top: 25px; -} - -.groups.manage-members #group-settings-form .item-list li { - border-bottom: 1px solid #eaeaea; -} - -@media screen and (min-width: 650px) { - .groups.manage-members #group-settings-form .item-list li img, - .groups.manage-members #group-settings-form .item-list li h5 { - float: left; - } -} - -.groups.manage-members #group-settings-form .item-list li img > a, -.groups.manage-members #group-settings-form .item-list li h5 > a { - border-bottom: 0; -} - -.groups.manage-members #group-settings-form .item-list li span.small { - clear: left; - display: block; - float: none; - margin-top: 15px; - width: 100%; -} - -.groups.manage-members #group-settings-form .item-list li span.small a { - display: block; - margin: 5px 0; -} - -@media screen and (min-width: 650px) { - .groups.manage-members #group-settings-form .item-list li span.small a { - display: inline-block; - } -} - -.groups.manage-members #group-settings-form .item-list li h5 { - margin: 0; -} - -/** -*----------------------------------------- -* @subsection 6.2.1.2 - Group members -*----------------------------------------- -*/ -.groups.group-members #subnav li { - width: 100%; -} - -@media screen and (max-width: 450px) { - .groups.group-members #subnav li { - background: #fff; - padding: 25px 0; - } -} - -.groups.group-members #subnav li #search-members-form { - float: right; - margin: 5px 0 0 0; -} - -.groups.group-members #subnav li #search-members-form label input[type="text"] { - box-shadow: none; -} - -@media screen and (max-width: 450px) { - .groups.group-members #subnav li #search-members-form label input[type="text"] { - width: 100%; - } -} - -/** -*----------------------------------------------------- -* @subsection 6.2.2 - Item Body User Accounts -* -* User Account specific component item body rules -*----------------------------------------------------- -*/ -/** -*-------------------------------------------- -* @subsection 6.2.2.1 - classes, pag, filters -*-------------------------------------------- -*/ -.bp-user #buddypress table th { - font-size: 13px; - font-size: 0.8666666667rem; -} - -.bp-user #buddypress table td { - font-size: 12px; - font-size: 0.8rem; -} - -@media screen and (min-width: 650px) { - .bp-user #buddypress table th { - font-size: 16px; - font-size: 1.0666666667rem; - } - .bp-user #buddypress table td { - font-size: 14px; - font-size: 0.9333333333rem; - } -} - -.bp-user #buddypress .pag-count { - font-style: italic; -} - -.bp-user #buddypress .notifications-options-nav, -.bp-user #buddypress .messages-options-nav { - float: left; - width: 100%; -} - -@media screen and (min-width: 37.5em) { - .bp-user #buddypress .notifications-options-nav, - .bp-user #buddypress .messages-options-nav { - width: 40%; - } -} - -.bp-user #buddypress .notifications-options-nav select, -.bp-user #buddypress .notifications-options-nav input, -.bp-user #buddypress .messages-options-nav select, -.bp-user #buddypress .messages-options-nav input { - font-size: 14px; - font-size: 0.9333333333rem; - outline: 0; - padding: 0; -} - -.bp-user #buddypress .notifications-options-nav select, -.bp-user #buddypress .messages-options-nav select { - float: left; - margin-right: 0; - width: 49%; -} - -@media screen and (min-width: 37.5em) { - .bp-user #buddypress .notifications-options-nav select, - .bp-user #buddypress .messages-options-nav select { - width: auto; - } -} - -.bp-user #buddypress .notifications-options-nav input, -.bp-user #buddypress .messages-options-nav input { - float: left; - font-family: inherit; - line-height: 20px; - margin-left: 1%; - width: 50%; -} - -@media screen and (min-width: 37.5em) { - .bp-user #buddypress .notifications-options-nav input, - .bp-user #buddypress .messages-options-nav input { - width: auto; - } -} - -.bp-user #buddypress .notifications-options-nav input[disabled="disabled"]:focus, .bp-user #buddypress .notifications-options-nav input[disabled="disabled"]:hover, -.bp-user #buddypress .messages-options-nav input[disabled="disabled"]:focus, -.bp-user #buddypress .messages-options-nav input[disabled="disabled"]:hover { - background: none; -} - -/** - *------------------------------------------- - * @subsection 6.2.2.2 - Extended Profiles - *------------------------------------------- - */ -.bp-user #buddypress .profile .bp-widget h2 { - background: #6f6e6e; - color: #fff; - margin-bottom: 0; - padding: 0.4em; -} - -.bp-user #buddypress .profile .bp-widget table { - margin-top: 0; -} - -.bp-user #buddypress .profile #profile-edit-form .button-nav:before, -.bp-user #buddypress .profile #profile-edit-form .button-nav:after { - content: " "; - display: table; -} - -.bp-user #buddypress .profile #profile-edit-form .button-nav:after { - clear: both; -} - -.bp-user #buddypress .profile #profile-edit-form ul.button-nav { - border-bottom: 1px solid #eaeaea; - margin-left: 0; -} - -.bp-user #buddypress .profile #profile-edit-form ul.button-nav li { - float: left; - margin-bottom: 0; -} - -.bp-user #buddypress .profile #profile-edit-form ul.button-nav li.current { - border: 1px solid #eaeaea; - border-bottom-color: #fff; - margin-bottom: -1px; -} - -.bp-user #buddypress .profile #profile-edit-form ul.button-nav a { - background: none; - border: 0; - font-size: 18px; - font-size: 1.2rem; -} - -.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle { - margin: 5px 0 25px; -} - -.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle, -.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings { - font-size: 14px; - font-size: 0.9333333333rem; -} - -.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close, -.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link { - background: #6f6e6e; - -webkit-border-radius: 2px; - -moz-border-radius: 2px; - -ms-border-radius: 2px; - border-radius: 2px; - background-clip: padding-box; - color: #eee; - font-weight: 700; - padding: 0.1em 0.5em; - text-decoration: none; -} - -.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close:focus, .bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close:hover, -.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link:focus, -.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link:hover { - color: #fff; -} - -.bp-user #buddypress .profile .bp-avatar #bp-delete-avatar a { - font-size: inherit; -} - -/** - *------------------------------------------- - * @subsection 6.2.2.5 - Private Messaging - *------------------------------------------- - */ -.bp-user #buddypress #message-thread a { - border-bottom: 0; -} - -.bp-user #buddypress #message-thread #message-subject { - background: #6f6e6e; - color: #fff; - padding: 0.3em 0 0.3em 0.2em; -} - -.bp-user #buddypress #message-thread #message-recipients { - font-style: italic; -} - -.bp-user #buddypress #message-thread #message-recipients a.confirm { - border: 1px solid #eaeaea; - font-style: normal; -} - -.bp-user #buddypress #message-thread #message-recipients .highlight { - font-size: 100%; -} - -.bp-user #buddypress #message-thread .message-metadata:after { - clear: both; - content: ""; - display: table; -} - -.bp-user #buddypress #message-thread .message-metadata img.avatar { - float: none; -} - -@media screen and (min-width: 46.25em) { - .bp-user #buddypress #message-thread .message-metadata img.avatar { - float: left; - } -} - -.bp-user #buddypress #message-thread .message-metadata .message-star-actions { - float: right; - margin-right: 5px; - position: static; -} - -.bp-user #buddypress #message-thread .message-content { - background: #f7f7f7; - border: 1px solid #eaeaea; - margin: 15px 0 0 0; - padding: 0.3em; -} - -.bp-user #buddypress #message-thread #send-reply .message-content { - background: #fff; - border: 0; -} - -.bp-user #buddypress #message-thread .alt { - background: #fff; -} - -.bp-user #buddypress #message-threads thead tr { - background: #6f6e6e; -} - -.bp-user #buddypress #message-threads tr td { - background: #fff; - box-sizing: border-box; - display: inline-block; - float: left; -} - -.bp-user #buddypress #message-threads tr td.thread-star, -.bp-user #buddypress #message-threads tr td.thread-options { - border-bottom: 1px solid #ccc; - height: 2.4em; - padding-bottom: 0.2em; - padding-top: 0.2em; -} - -@media screen and (max-width: 46.25em) { - .bp-user #buddypress #message-threads tr td.thread-star, - .bp-user #buddypress #message-threads tr td.thread-options { - padding-top: 0; - } -} - -.bp-user #buddypress #message-threads tr td.thread-star { - vertical-align: middle; -} - -.bp-user #buddypress #message-threads tr td.thread-star .message-action-star, -.bp-user #buddypress #message-threads tr td.thread-star .message-action-unstar { - line-height: 1.2; -} - -.bp-user #buddypress #message-threads tr td.thread-star span.icon:before { - font-size: 14px; - font-size: 0.9333333333rem; -} - -.bp-user #buddypress #message-threads tr td.bulk-select-check, -.bp-user #buddypress #message-threads tr td.thread-from { - height: 3em; -} - -@media screen and (max-width: 37.5em) { - .bp-user #buddypress #message-threads tr td.bulk-select-check, - .bp-user #buddypress #message-threads tr td.thread-from { - height: 5.2em; - } -} - -.bp-user #buddypress #message-threads tr td.thread-from, -.bp-user #buddypress #message-threads tr td.thread-options { - border-left: 0 !important; - width: -webkit-calc(100% - 30px); - width: -moz-calc(100% - 30px); - width: calc(100% - 30px); - margin-left: 0; -} - -.bp-user #buddypress #message-threads tr td.thread-info { - padding-left: 41px; - width: 100%; -} - -.bp-user #buddypress #message-threads tr td.thread-options { - text-align: right; -} - -.bp-user #buddypress #message-threads tr td.thread-options a { - font-size: 12px; - font-size: 0.8rem; - line-height: 1.2; -} - -.bp-user #buddypress #message-threads tr span.from { - display: none; -} - -.bp-user #buddypress #message-threads tr span.activity { - display: block; - float: right; - line-height: 2; -} - -@media screen and (max-width: 37.5em) { - .bp-user #buddypress #message-threads tr span.activity { - clear: both; - font-size: 11px; - font-size: 0.7333333333rem; - width: 100%; - } -} - -.bp-user #buddypress #message-threads tr.unread td { - border-color: #eaeaea; -} - -.bp-user #buddypress #message-threads th { - display: none; -} - -.bp-user #buddypress #message-threads th.bulk-select-all { - border-bottom: 0; - display: inline-block; - text-align: left; -} - -.bp-user #buddypress #message-threads th.bulk-select-all, -.bp-user #buddypress #message-threads td.bulk-select-check, -.bp-user #buddypress #message-threads td.thread-star { - border-right: 0; - width: 30px; -} - -.bp-user #buddypress #send_message_form input, -.bp-user #buddypress #send_message_form textarea { - box-sizing: border-box; -} - -.bp-user #buddypress .acfb-holder { - list-style: none; -} - -.bp-user #buddypress .acfb-holder li { - margin-left: 0; -} - -.bp-user #buddypress .acfb-holder li.friend-tab { - background: #edf7fa; - border: inherit; - margin-right: 0; - padding: 0.5em; -} - -.bp-user #buddypress .acfb-holder li.friend-tab span.p { - padding-left: 15px; -} - -.bp-user #buddypress .acfb-holder li.friend-tab span.p:focus, .bp-user #buddypress .acfb-holder li.friend-tab span.p:hover { - color: #c82b2b; - cursor: pointer; -} - -.bp-user #buddypress .acfb-holder li.friend-tab a { - border-bottom: 0; - text-decoration: none; -} - -.bp-user #buddypress .acfb-holder li.friend-tab a img { - display: inline; - height: 20px; - vertical-align: middle; - width: 20px !important; -} - -.bp-user #buddypress #message-threads.sitewide-notices tr { - margin: 3em 0; -} - -.bp-user #buddypress #message-threads.sitewide-notices td { - width: 100%; -} - -.bp-user #buddypress #message-threads.sitewide-notices td strong { - background: #6f6e6e; - color: #fff; - display: block; - margin-bottom: 0.4em; - padding-left: 0.2em; -} - -.bp-user #buddypress #message-threads.sitewide-notices td a { - display: inline-block; -} - -.bp-user #buddypress #message-threads.sitewide-notices td a.button { - border: 1px solid #d4d0ba; - line-height: initial; - padding: 0.4em 0.3em; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:first-child { - display: none; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:nth-child(2) strong { - margin: -8px -8px 8px; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:first-child + td + td { - border-bottom: 0; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:first-child + td + td span { - line-height: 1; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:last-child { - line-height: 1; - padding-bottom: 1em; - text-align: right; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child { - line-height: 0; - margin-left: 0.7em; - text-indent: -999em; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child:after { - content: attr(title); - display: block; - line-height: initial; - text-indent: 0; -} - -.bp-user .ac_results { - background: #eee; - padding-left: 15px; -} - -.bp-user .ac_results li { - margin: 15px 0; -} - -.bp-user .ac_results li:focus, .bp-user .ac_results li:hover { - cursor: pointer; -} - -.bp-user .ac_results li img { - vertical-align: bottom; -} - -/** - *------------------------------ - * @subsection 6.2.2.6 - Settings - *------------------------------ - */ -.bp-user #buddypress #settings-form > p { - font-size: 20px; - font-size: 1.3333333333rem; - margin: 25px 0 15px; -} - -.bp-user #buddypress table.notification-settings td.yes, -.bp-user #buddypress table.notification-settings td.no { - vertical-align: middle; -} - -.bp-user #buddypress table.profile-settings { - width: 100%; -} - -.bp-user #buddypress table.profile-settings th.field-group-name, -.bp-user #buddypress table.profile-settings td.field-name { - width: 50%; -} - -@media screen and (min-width: 46.25em) { - .bp-user #buddypress table.profile-settings th.field-group-name, - .bp-user #buddypress table.profile-settings td.field-name { - width: 70%; - } -} - -.bp-user #buddypress table.profile-settings th.title, -.bp-user #buddypress table.profile-settings td.field-visibility { - width: 30%; -} - -.bp-user #buddypress table.profile-settings td.field-visibility select { - width: 100%; -} - -/** - *------------------------------------ - * @subsection 6.2.2.6 - Notifications - *------------------------------------ - */ -/** -*------------------------------------------------------------------------------- -* @section 7.0 - Forms - General -*------------------------------------------------------------------------------- -*/ -#main #buddypress .standard-form li { - float: none; -} - -#main #buddypress .standard-form input[type="text"], -#main #buddypress .standard-form input[type="email"], -#main #buddypress .standard-form input[type="password"], -#main #buddypress .standard-form textarea { - width: 100%; -} - -#buddypress div.activity-comments form .ac-textarea { - background: #f7f7f7; - border: 1px solid rgba(212, 208, 186, 0.5); -} - -#buddypress div.activity-comments form .ac-textarea textarea { - background: none; - border: 0; -} - -#buddypress .standard-form input[type="text"], -#buddypress .standard-form input[type="email"], -#buddypress .standard-form input[type="password"], -#buddypress .standard-form button, -#buddypress .standard-form select, -#buddypress .standard-form textarea { - border-color: rgba(212, 208, 186, 0.5); - border-width: 1px; -} - -#buddypress #signup_form.standard-form div.submit { - float: none; -} - -#buddypress #signup_form.standard-form div.submit input { - margin-right: 0; -} - -#buddypress div.dir-search, -#buddypress div.message-search, -#buddypress li.groups-members-search { - float: none; - margin: 15px 0; -} - -#buddypress div.dir-search form, -#buddypress div.message-search form, -#buddypress li.groups-members-search form { - border: 1px solid rgba(212, 208, 186, 0.6); - overflow: hidden; -} - -#buddypress div.dir-search form label, -#buddypress div.message-search form label, -#buddypress li.groups-members-search form label { - float: left; - width: 70%; -} - -#buddypress div.dir-search form input[type="text"], -#buddypress div.dir-search form input[type="submit"], -#buddypress div.message-search form input[type="text"], -#buddypress div.message-search form input[type="submit"], -#buddypress li.groups-members-search form input[type="text"], -#buddypress li.groups-members-search form input[type="submit"] { - border: 0; - border-radius: 0; - box-shadow: none; - box-sizing: border-box; - font-size: 14px; - font-size: 0.9333333333rem; - line-height: 1.8; - min-height: 2rem; -} - -#buddypress div.dir-search form input[type="text"], -#buddypress div.message-search form input[type="text"], -#buddypress li.groups-members-search form input[type="text"] { - border-right: 1px solid rgba(212, 208, 186, 0.6); - float: left; - margin: 0; - padding: 0 0.2em; - width: 70%; -} - -#buddypress div.dir-search form input[type="submit"], -#buddypress div.message-search form input[type="submit"], -#buddypress li.groups-members-search form input[type="submit"] { - float: right; - font-weight: 400; - padding: 0 1em; - text-align: center; - text-transform: none; - width: 30%; -} - -@media screen and (min-width: 37.5em) { - #buddypress div.dir-search, - #buddypress div.message-search, - #buddypress li.groups-members-search { - float: right; - margin-bottom: 5px !important; - } - #buddypress div.dir-search form label, - #buddypress div.dir-search form input[type="text"], - #buddypress div.dir-search form input[type="submit"], - #buddypress div.message-search form label, - #buddypress div.message-search form input[type="text"], - #buddypress div.message-search form input[type="submit"], - #buddypress li.groups-members-search form label, - #buddypress li.groups-members-search form input[type="text"], - #buddypress li.groups-members-search form input[type="submit"] { - width: auto; - } -} - -@media screen and (min-width: 800px) { - #buddypress .dir-search form input[type="text"], - #buddypress .message-search form input[type="text"] { - font-size: 16px; - font-size: 1.0666666667rem; - } - #buddypress .dir-search form input[type="submit"], - #buddypress .message-search form input[type="submit"] { - font-size: 16px; - font-size: 1.0666666667rem; - } -} - -/** -*------------------------------------------------------------------------------- -* @section 8.0 - Tables - General -*------------------------------------------------------------------------------- -*/ -.bp-user #buddypress table { - font-size: 14px; - font-size: 0.9333333333rem; - margin: 25px 0; -} - -.bp-user #buddypress table tr th { - background: #6f6e6e; - border-color: #b7b7b7; - color: #fff; - font-size: 16px; - font-size: 1.0666666667rem; - padding: 0 8px; - text-transform: capitalize; -} - -.bp-user #buddypress table tr td { - padding: 8px; -} - -.bp-user #buddypress table p { - margin-bottom: 0.5em; -} - -@media screen and (min-width: 55em) { - .bp-user #buddypress table { - font-size: 16px; - font-size: 1.0666666667rem; - } -} - -.bp-user #buddypress .notifications th, -.bp-user #buddypress .messages-notices th { - width: 30%; -} - -.bp-user #buddypress .notifications th.bulk-select-all, -.bp-user #buddypress .messages-notices th.bulk-select-all { - text-align: center; - width: 10%; -} - -.bp-user #buddypress .notifications th.actions, -.bp-user #buddypress .messages-notices th.actions { - text-align: center; -} - -.bp-user #buddypress .notifications .bulk-select-check, -.bp-user #buddypress .notifications .thread-star, -.bp-user #buddypress .messages-notices .bulk-select-check, -.bp-user #buddypress .messages-notices .thread-star { - text-align: center; -} - -.bp-user #buddypress .notifications .notification-actions, -.bp-user #buddypress .notifications td.thread-options, -.bp-user #buddypress .messages-notices .notification-actions, -.bp-user #buddypress .messages-notices td.thread-options { - text-align: center; -} - -.bp-user #buddypress .notifications .notification-actions a, -.bp-user #buddypress .notifications td.thread-options a, -.bp-user #buddypress .messages-notices .notification-actions a, -.bp-user #buddypress .messages-notices td.thread-options a { - display: inline-block; - margin: 0; - padding: 0; -} - -.bp-user #buddypress .notifications td .button, -.bp-user #buddypress .messages-notices td .button { - border: 0; - display: block; - padding: 0; - text-align: center; -} - -/** -*------------------------------------------------------------------------------- -* @section 9.0 - Error / Success messages -*------------------------------------------------------------------------------- -*/ -#buddypress div#message p { - font-size: 18px; - font-size: 1.2rem; - font-weight: 700; -} - -#buddypress div#message.info p { - background: #c6e4ee; - border: 1px solid #78bed6; - color: #1e5264; -} - -#buddypress div#message.updated p { - background: #dee6b2; - border: 1px solid #becc66; - color: #454d19; -} - -.delete-group #buddypress div#message.info p { - background: #db7e7e; - border: 1px solid #be3535; - color: #1f0808; -} - -/** -*------------------------------------------------------------------------------- -* @section 10.0 - Ajax Loading, Widgets, General classes -*------------------------------------------------------------------------------- -*/ diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/051/051.test.js b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/051/051.test.js deleted file mode 100644 index d0785fb434d036..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/051/051.test.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -const stylelint = require( 'stylelint' ), - systemTestUtils = require( '../systemTestUtils.js' ); - -it( '051', () => { - return stylelint.lint({ - files: [systemTestUtils.caseStylesheetGlob( '051' )], - configFile: systemTestUtils.caseConfig( '051' ), - }).then( ({ results }) => { - expect( systemTestUtils.prepResults( results ) ).toMatchSnapshot(); - }); -}); diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/051/__snapshots__/051.test.js.snap b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/051/__snapshots__/051.test.js.snap deleted file mode 100644 index 9f50a538feeae4..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/051/__snapshots__/051.test.js.snap +++ /dev/null @@ -1,814 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`051 1`] = ` -Array [ - Object { - "deprecations": Array [], - "errored": true, - "ignored": undefined, - "invalidOptionWarnings": Array [], - "parseErrors": Array [], - "source": "051/stylesheet.css", - "warnings": Array [ - Object { - "column": 1, - "line": 57, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 2, - "line": 153, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 455, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 809, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 1008, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 1111, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 2, - "line": 80, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 91, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 97, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 116, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 187, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 228, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 242, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 246, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 250, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 256, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 260, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 264, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 270, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 276, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 352, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 367, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 387, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 392, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 412, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 432, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 439, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 465, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 473, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 478, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 481, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 484, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 488, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 491, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 516, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 519, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 565, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 570, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 573, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 577, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 621, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 662, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 699, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 710, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 729, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 733, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 738, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 743, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 758, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 761, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 795, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 799, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 815, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 822, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 831, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 839, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 843, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 847, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 861, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 867, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 871, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 875, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 878, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 882, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 885, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 900, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 916, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 923, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 927, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 930, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 934, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 963, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 967, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 971, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1039, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1097, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1113, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1119, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1133, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1157, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1169, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1173, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1188, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1194, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1200, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1204, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1208, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1211, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1244, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1248, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1255, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1259, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1276, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1300, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1321, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1401, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1442, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1489, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1501, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1542, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1703, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1818, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1824, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1838, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1843, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1872, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1931, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 46, - "line": 633, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 48, - "line": 638, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 80, - "line": 785, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 61, - "line": 1592, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 30, - "line": 1669, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 3, - "line": 442, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '0 0 10px 0' instead of '0 0 10px' (shorthand-property-no-redundant-values)", - }, - Object { - "column": 2, - "line": 1456, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '10px 0 0 0' instead of '10px 0 0' (shorthand-property-no-redundant-values)", - }, - ], - }, -] -`; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/051/config.json b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/051/config.json deleted file mode 100644 index a8af7d5dcb61b9..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/051/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../index.js" -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/051/stylesheet.css b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/051/stylesheet.css deleted file mode 100644 index 28ab2e0c03a3c0..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/051/stylesheet.css +++ /dev/null @@ -1,1964 +0,0 @@ -/*------------------------------------------------------------------------------ - -This is the BuddyPress companion stylesheet for -the WordPress Twentyfifteen theme. - -This sheet supports the primary BuddyPress styles in buddypress.css - -If you are running as a child theme of twentyfifteen this stylesheet will be -loaded by default. If you want to modify the styles the normal BP Theme Compat -hierarchy works and you can copy the file to buddypress/css/ or community/css/ -in your child themes root & either start over or modify the rulesets. - -If you do not require the styles you can dequeue them from the themes -functions file. - -Please see this codex article for more information: -http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ - --------------------------------------------------------------------------------- ->>> TABLE OF CONTENTS: --------------------------------------------------------------------------------- -1.0 Theme Structural Elements & overrides -2.0 - Navigation - General - 2.1 - Navs - Object Nav / Sub Nav (item-list-tabs) - 2.2 - Pagination -3.0 - Images -4.0 - BP Lists / Loops Generic - 4.1 - Activity Loop - 4.1.1 Whats New Activity - 4.1.2 - Activity Listing - 4.1.3 - Activity Comments - 4.2 - Members Loop - 4.3 - Groups Loop - 4.4 - Blogs Loop -5.0 - Directories - Members, Groups, Blogs, Forums -6.0 - Single Item screens: User Account & Single Group Screens - 6.1 - Item Headers: Global - 6.1.1 - item-header: Groups - 6.1.2 - item-header: User Accounts - 6.2 - Item Body: Global - 6.2.1 - item-body: Groups - 6.2.1.1 - Management settings screens - 6.2.1.2 - Group members list - 6.2.1.3 - Group Send Invites - 6.2.2 - item-body: User Accounts - 6.2.2.1 - classes, pag, filters - 6.2.2.2 - Extended Profiles - 6.2.2.3 - Groups - 6.2.2.4 - friends - 6.2.2.5 - Private Messaging Threads - 6.2.2.6 - Settings -7.0 - Forms - General -8.0 - Tables - General -9.0 - Error / Success Messages -10.0 - Ajax Loading, Widgets, General classes -------------------------------------------------------------------------------*/ -/** -*------------------------------------------------------------------------------- -* @section 1.0 - Theme - Structural Elements & overrides -*------------------------------------------------------------------------------- -*/ -#buddypress h1, -#buddypress h2, -#buddypress h3, -#buddypress h4, -#buddypress h5, -#buddypress h6 { - clear: none; -} - -.buddypress div.clear { - display: none; -} - -.buddypress main { - padding-top: 4%; -} - -@media screen and (min-width: 59.6875em) { - .buddypress main { - padding-top: 0; - } -} - -.buddypress main article { - margin: 0 4%; - padding-top: 8.3333%; -} - -@media screen and (min-width: 59.6875em) { - .buddypress main article { - margin: 0 0 0 1px; - } -} - -@media screen and (min-width: 87.6875em) { - .buddypress main article { - margin: 0 4.3333% 0 8.3333%; - } -} - -.buddypress main article .entry-header, -.buddypress main article .entry-content { - padding: 0 3rem 3rem; -} - -.buddypress main article #buddypress { - margin-bottom: 40px; -} - -.buddypress .site-footer { - margin: 0 4%; -} - -@media screen and (min-width: 59.6875em) { - .buddypress .site-footer { - margin: 0 0 0 35.2941%; - width: 61.8235%; - } -} - -/** -*------------------------------------------------------------------------------- -* @section 2.0 - Navigation - General -*------------------------------------------------------------------------------- -*/ -.buddypress #buddypress .item-list-tabs a, -.buddypress #buddypress .activity-header a, -.buddypress #buddypress .activity-inner a, -.buddypress #buddypress .activity-comments a, -.buddypress #buddypress .item-title a, -.buddypress #buddypress .load-more a, -.buddypress #buddypress .field-visibility-settings-toggle a, -.buddypress #buddypress #latest-update a, -.buddypress #buddypress table a, -.buddypress #buddypress .avatar-nav-items a { - border-bottom: 0; -} - -.buddypress #buddypress .pagination-links a, -.buddypress #buddypress .pagination-links span { - border-bottom: 0; -} - -/** -*---------------------------------------------------------- -* @section 2.1 - Navs Object Nav / Sub Nav (item-list-tabs) -* -* The main navigational elements for all BP screens -*---------------------------------------------------------- -*/ -#buddypress { - /*__ Horizontal menus __*/ -} - -#buddypress div.item-list-tabs ul li.selected a { - background: #555; - color: #fff; - opacity: 1; -} - -#buddypress div.item-list-tabs ul { - background-color: #f7f7f7; - border-bottom: 1px solid rgba(234, 234, 234, 0.9); - border-top: 1px solid rgba(234, 234, 234, 0.9); - overflow: hidden; - padding: 5px 0; -} - -#buddypress div.item-list-tabs ul li a span { - border-radius: 25%; -} - -#buddypress #object-nav ul { - overflow: hidden; -} - -#buddypress #object-nav ul li { - float: none; -} - -#buddypress #object-nav ul li:not(.selected) a { - opacity: 0.7; -} - -@media screen and (min-width: 38.75em) { - #buddypress #object-nav ul li { - float: left; - } -} - -#buddypress div#subnav.item-list-tabs { - margin-top: 0; -} - -#buddypress div#subnav.item-list-tabs ul { - background-color: #f7f7f7; - border-bottom: 0; - padding: 0; -} - -#buddypress div#subnav.item-list-tabs ul li.last { - background: #fff; - margin-top: 0; - padding: 5px 5px 5px 0; - width: 100%; -} - -#buddypress div#subnav.item-list-tabs ul li.last select, -#buddypress div#subnav.item-list-tabs ul li.last select:focus { - background: transparent; - border: 0; - outline: 0; -} - -#buddypress div#subnav.item-list-tabs ul li.last select, -#buddypress div#subnav.item-list-tabs ul li.last label, -#buddypress div#subnav.item-list-tabs ul li.last option { - font-size: 14px; - font-size: 1.4rem; -} - -#buddypress div#subnav.item-list-tabs ul li.last select { - font-style: italic; -} - -@media screen and (min-width: 38.75em) { - #buddypress div#subnav.item-list-tabs ul li.last { - text-align: right; - } -} - -#buddypress div.item-list-tabs ul li.selected a, -#buddypress div.item-list-tabs ul li.current a { - background: #555; - color: #fff; - opacity: 1; -} - -/*__ Vertical menu User Account / Group single screens __*/ -@media screen and (min-width: 55em) { - .bp-user #buddypress, - .single-item.groups #buddypress { - background: #f7f7f7; - } - #buddypress #item-header, - #buddypress #item-body { - background: #fff; - } - #buddypress #object-nav { - border-right: 1px solid #ddd; - float: left; - margin-right: -1px; - width: 200px; - } - #buddypress #object-nav ul { - border-bottom: 0; - padding: 0; - } - #buddypress #object-nav ul li { - float: none; - overflow: hidden; - } - #buddypress #object-nav ul li span { - background: #fff; - border-radius: 10%; - float: right; - margin-right: 2px; - } - #buddypress #item-body { - border-left: 1px solid #ddd; - overflow: hidden; - padding: 0 0 0 20px; - width: auto; - } - #buddypress #item-body #subnav { - margin: 0 0 0 -20px; - } -} - -/** -*---------------------------------------------------------- -* @section 2.2 - Pagination -*---------------------------------------------------------- -*/ -#buddypress div.pagination { - box-shadow: none; -} - -#buddypress div.pagination .pag-count { - margin-left: 0; -} - -#buddypress div.pagination .pagination-links { - margin-right: 0; -} - -#buddypress div.pagination .pagination-links span, -#buddypress div.pagination .pagination-links a { - height: auto; - line-height: 1; - padding: 5px; -} - -#buddypress div.pagination .pagination-links .prev, -#buddypress div.pagination .pagination-links .next { - background-color: transparent; - color: inherit; - overflow: visible; - width: auto; -} - -#buddypress div.pagination .pagination-links .prev:before, -#buddypress div.pagination .pagination-links .next:before { - display: none; -} - -#buddypress div.pagination .pagination-links .prev { - left: auto; - position: static; -} - -#buddypress div.pagination .pagination-links .next { - position: static; - right: auto; -} - -/** -*------------------------------------------------------------------------------- -* @section 4.0 - BP Lists / Loops Generic -*------------------------------------------------------------------------------- -*/ -#buddypress .item-list .activity-header, -#buddypress .item-list .activity-meta { - font-family: "Noto Sans", sans-serif; -} - -#buddypress .item-list a.activity-time-since { - color: #717171; -} - -#buddypress ul.item-list li { - overflow: hidden !important; -} - -#buddypress ul.item-list li .item-avatar { - margin-bottom: 10px; - text-align: center; -} - -@media screen and (min-width: 38.75em) { - #buddypress ul.item-list li .item-avatar { - margin-bottom: 0; - } -} - -#buddypress ul.item-list li .item-avatar a { - border-bottom: 0; -} - -#buddypress ul.item-list li .item-avatar img.avatar { - display: inline-block; - float: none; -} - -@media screen and (min-width: 38.75em) { - #buddypress ul.item-list li .item-avatar img.avatar { - display: block; - float: left; - } -} - -#buddypress ul.item-list li .item { - margin-left: 25%; -} - -#buddypress ul.item-list li .item span.activity { - font-style: italic; -} - -#buddypress ul.item-list li .item .item-desc { - margin-left: 0; - width: 70%; -} - -@media screen and (min-width: 59.6875em) { - #buddypress ul.item-list li .item-avatar, - #buddypress ul.item-list li .item, - #buddypress ul.item-list li .action { - float: left; - } - #buddypress ul.item-list li .item { - left: 10%; - margin-left: 0; - position: relative; - width: 55%; - } -} - -#buddypress ul.item-list li div.action { - clear: left; - float: none; - margin-bottom: -20px; - margin-left: 0; - padding: 20px 0 5px; - position: relative; - text-align: left; - top: 0; -} - -@media screen and (min-width: 59.6875em) { - #buddypress ul.item-list li div.action { - clear: none; - float: right; - margin-bottom: 0; - padding: 0; - } -} - -#buddypress ul.item-list li div.action div { - display: inline-block; - margin: 10px 0; - width: 100%; -} - -#buddypress ul.item-list li div.action div a { - display: block; - width: 100%; -} - -@media screen and (min-width: 38.75em) { - #buddypress ul.item-list li div.action div { - margin: 0 10px 10px 0; - width: auto; - } -} - -@media screen and (min-width: 59.6875em) { - #buddypress ul.item-list li div.action div { - clear: right; - float: right; - margin: 0 0 10px 0; - } -} - -#buddypress ul.item-list li div.action .meta { - font-style: italic; -} - -/** -*---------------------------------------------------------- -* @section 4.1 - Activity -*---------------------------------------------------------- -*/ -/** -*----------------------------------------------------- -* @section 4.1.1 - Activity Whats New -*----------------------------------------------------- -*/ -#buddypress form#whats-new-form p.activity-greeting { - line-height: 1.4; -} - -@media screen and (max-width: 30em) { - #buddypress form#whats-new-form #whats-new-post-in-box select { - font-size: 14px; - font-size: 1.4rem; - max-width: 120px; - } -} - -@media screen and (max-width: 38.75em) { - #buddypress form#whats-new-form #whats-new-content { - clear: left; - margin: 10px 0 40px; - padding: 10px 0 0; - } - #buddypress form#whats-new-form #whats-new-content #whats-new-submit { - float: none; - } - #buddypress form#whats-new-form #whats-new-content #whats-new-submit input { - width: 100%; - } - #buddypress form#whats-new-form #whats-new-options { - display: flex; - flex-direction: column; - } - #buddypress form#whats-new-form #whats-new-options #whats-new-submit { - order: 2; - } - #buddypress form#whats-new-form #whats-new-options #whats-new-post-in-box { - order: 1; - } -} - -#buddypress form#whats-new-form #whats-new-options[style] #whats-new-post-in-box { - border: 1px solid rgba(153, 153, 153, 0.5); - float: left; - line-height: 1.5; - margin-top: 12px; - padding-left: 0.2em; - width: 100%; -} - -#buddypress form#whats-new-form #whats-new-options[style] #whats-new-post-in-box select { - background: none; - border: 0; - float: right; - margin: 0; - min-height: 1.5em; - outline: 0; - padding-left: 0.4em; -} - -@media screen and (min-width: 30em) { - #buddypress form#whats-new-form #whats-new-options[style] #whats-new-post-in-box { - width: auto; - } - #buddypress form#whats-new-form #whats-new-options[style] #whats-new-submit { - float: right; - } -} - -#buddypress #item-body form#whats-new-form { - margin: 40px 0; -} - -/** -*----------------------------------------------------- -* @section 4.1.2 - Activity Listing -*----------------------------------------------------- -*/ -#buddypress #activity-stream li { - padding: 25px 0 15px; -} - -#buddypress #activity-stream li .activity-avatar { - float: none; - text-align: center; -} - -#buddypress #activity-stream li .activity-avatar a { - display: inline-block; -} - -#buddypress #activity-stream li .activity-avatar a img.avatar { - display: inline; - float: none; - height: 60px; - margin-bottom: 20px; - margin-left: 0; - width: 60px; -} - -#buddypress #activity-stream li .activity-content { - margin-left: 0; -} - -#buddypress #activity-stream li .activity-content .activity-header { - font-size: 14px; - font-size: 1.4rem; -} - -@media screen and (min-width: 46.25em) { - #buddypress #activity-stream li .activity-avatar { - float: left; - margin-right: 10px; - text-align: left; - } - #buddypress #activity-stream li .activity-avatar a { - border-bottom: 0; - } - #buddypress #activity-stream li .activity-content { - margin: 0; - overflow: hidden; - } - #buddypress #activity-stream li .activity-content .activity-header { - font-size: 16px; - font-size: 1.6rem; - } -} - -#buddypress #activity-stream li.mini .activity-avatar a img.avatar { - height: 30px; - margin-left: 15px; - width: 30px; -} - -#buddypress #activity-stream li.mini .activity-content .activity-header { - font-size: 13px; - font-size: 1.3rem; -} - -#buddypress #activity-stream .activity-content { - margin-top: -12px; -} - -#buddypress #activity-stream .activity-content .activity-header { - line-height: inherit; - margin-right: 0; -} - -#buddypress #activity-stream .activity-content .activity-header p { - background-color: #f7f7f7; - border: 1px solid rgba(234, 234, 234, 0.6); - color: #717171; - padding: 0 0.2em; -} - -#buddypress #activity-stream .activity-content .activity-header img.avatar { - display: inline-block; - margin-bottom: 0 !important; -} - -#buddypress #activity-stream .activity-content .activity-meta a { - display: block; - margin: 0 0 5px; -} - -@media screen and (min-width: 38.75em) { - #buddypress #activity-stream .activity-content .activity-meta a { - display: inline-block; - margin: 0; - } -} - -#buddypress #activity-stream .load-more { - background: #f7f7f7; - border: 1px solid transparent; - padding: 10px; -} - -#buddypress #activity-stream .load-more:focus, #buddypress #activity-stream .load-more:hover { - background: #f4f4f4; - border: 1px solid rgba(159, 209, 226, 0.3); -} - -#buddypress #activity-stream .load-more:focus a, #buddypress #activity-stream .load-more:hover a { - font-style: italic; -} - -#buddypress #activity-stream .load-more a { - display: block; -} - -/* Single activity view - activity permalink */ -.activity-permalink #buddypress { - background: none; -} - -.activity-permalink #buddypress #activity-stream li.activity-item { - padding: 20px 0; -} - -.activity-permalink #buddypress #activity-stream li.mini .activity-header { - font-size: 16px; - font-size: 1.6rem; - margin-bottom: 40px; -} - -@media screen and (min-width: 46.25em) { - .activity-permalink #buddypress #activity-stream li.mini .activity-header { - font-size: 20px; - font-size: 2rem; - } -} - -.activity-permalink #buddypress #activity-stream li.mini .activity-header p { - padding: 20px; -} - -/** -*----------------------------------------------------- -* @section 4.1.3 - Activity Comments -*----------------------------------------------------- -*/ -#buddypress #activity-stream .activity-comments { - margin: 10px 0 0; -} - -#buddypress #activity-stream .activity-comments a { - color: #717171; -} - -#buddypress #activity-stream .activity-comments.has-comments { - border-left: 1px solid #eaeaea; -} - -#buddypress #activity-stream .activity-comments .ac-form { - padding: 20px 0 0; -} - -#buddypress #activity-stream .activity-comments > ul { - background: rgba(247, 247, 247, 0.6); - margin: 15px 0 0 2px; -} - -@media screen and (min-width: 38.75em) { - #buddypress #activity-stream .activity-comments > ul { - margin-left: 70px; - } -} - -#buddypress #activity-stream .activity-comments > ul ul { - margin-left: 1%; - padding-left: 0; -} - -@media screen and (min-width: 30em) { - #buddypress #activity-stream .activity-comments > ul ul { - margin-left: 1%; - padding-left: 1em; - } -} - -#buddypress #activity-stream .activity-comments > ul ul li { - border-left: 1px solid #eaeaea; - border-top: 0; - padding-left: 0.2em; -} - -#buddypress #activity-stream .activity-comments > ul .acomment-meta { - border-bottom: 1px solid #eaeaea; - color: #737373; - font-style: italic; -} - -@media screen and (max-width: 38.75em) { - #buddypress #activity-stream .activity-comments > ul .acomment-avatar { - display: block; - text-align: center; - } - #buddypress #activity-stream .activity-comments > ul .acomment-avatar a, - #buddypress #activity-stream .activity-comments > ul .acomment-avatar img.avatar { - display: inline; - float: none; - } - #buddypress #activity-stream .activity-comments > ul .acomment-content, - #buddypress #activity-stream .activity-comments > ul .acomment-meta, - #buddypress #activity-stream .activity-comments > ul .acomment-options { - margin: 5px; - } - #buddypress #activity-stream .activity-comments > ul .acomment-content { - padding: 0 10px; - } -} - -#buddypress #activity-stream .activity-comments .ac-reply-avatar { - display: none; -} - -#buddypress #activity-stream .activity-comments .ac-reply-content { - margin-left: 0; - padding-left: 0; -} - -@media screen and (min-width: 38.75em) { - #buddypress #activity-stream .activity-comments .ac-reply-avatar { - display: block; - } - #buddypress #activity-stream .activity-comments .ac-reply-content { - overflow: hidden; - } -} - -#buddypress #activity-stream .activity-comments .ac-form input[type="submit"], -#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel { - color: rgba(51, 51, 51, 0.8); - display: inline-block; - font-family: inherit; - font-size: 12px; - font-size: 1.2rem; - font-weight: 400; - line-height: 1.2; - padding: 4px 10px; - text-transform: lowercase; - width: 100px; -} - -#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel { - border: 1px solid rgba(153, 153, 153, 0.7); - text-align: center; -} - -#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:focus, #buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:hover { - background: #ededed; -} - -/** -*---------------------------------------------------------- -* @section 4.2 - Members Loop -*---------------------------------------------------------- -*/ -@media screen and (min-width: 59.6875em) { - #buddypress #members-list li .item-avatar, - #buddypress #members-list li .item { - float: left; - } - #buddypress #members-list li .action { - float: right; - } -} - -/** -*------------------------------------------------------------------------------- -* @section 6.0 - Single Item screens: User Account & Single Group Screens -*------------------------------------------------------------------------------- -*/ -/** -*----------------------------------------------------------- -* @subsection 6.1 - Item Header Global -*----------------------------------------------------------- -*/ -@media screen and (max-width: 46.25em) { - .bp-user main header.entry-header, - .single-item.groups main header.entry-header { - padding-bottom: 1rem; - } -} - -@media screen and (max-width: 38.75em) { - .bp-user h1, - .bp-user #item-header-content, - .single-item.groups h1, - .single-item.groups #item-header-content { - text-align: center; - } -} - -@media screen and (max-width: 46.25em) { - .bp-user #buddypress #item-header .generic-button, - .single-item.groups #buddypress #item-header .generic-button { - float: none; - margin: 1.5em 0 0; - } -} - -@media screen and (max-width: 38.75em) { - .bp-user #buddypress h1, - .single-item.groups #buddypress h1 { - margin-bottom: 0; - } - .bp-user #buddypress #item-header-avatar img.avatar, - .single-item.groups #buddypress #item-header-avatar img.avatar { - margin-right: 0; - } - .bp-user #buddypress #item-header-content, - .single-item.groups #buddypress #item-header-content { - width: 100%; - } -} - -/** -*----------------------------------------------------- -* @subsection 6.1.1 - item-header Groups -* -* Group Specific Item Header -*----------------------------------------------------- -*/ -@media screen and (max-width: 46.25em) { - .single-item.groups #buddypress #item-header #item-meta { - margin-bottom: 20px; - } -} - -@media screen and (max-width: 38.75em) { - .single-item.groups #buddypress div#item-header { - display: flex; - flex-direction: column; - } - .single-item.groups #buddypress div#item-header #item-header-avatar { - order: 1; - text-align: center; - } - .single-item.groups #buddypress div#item-header #item-header-avatar a { - border-bottom: 0; - } - .single-item.groups #buddypress div#item-header #item-header-avatar a img { - display: inline-block; - float: none; - } - .single-item.groups #buddypress div#item-header #item-header-content { - order: 2; - } - .single-item.groups #buddypress div#item-header #item-actions { - order: 3; - } -} - -.single-item.groups #buddypress div#item-header { - padding-bottom: 40px; -} - -.single-item.groups #buddypress div#item-header div#item-actions { - margin: 0; - width: 100%; -} - -@media screen and (min-width: 38.75em) { - .single-item.groups #buddypress div#item-header div#item-actions { - clear: none; - float: right; - width: 50%; - } -} - -.single-item.groups #buddypress div#item-header div#item-actions h2 { - background: #555; - color: #fff; - font-size: 14px; - font-size: 1.4rem; - padding: 0.2em; -} - -@media screen and (min-width: 46.25em) { - .single-item.groups #buddypress div#item-header div#item-actions h2 { - font-size: 16px; - font-size: 1.6rem; - } -} - -@media screen and (min-width: 46.25em) { - .single-item.groups #buddypress div#item-header #item-header-avatar, - .single-item.groups #buddypress div#item-header #item-header-content { - float: left; - } - .single-item.groups #buddypress div#item-header #item-header-avatar { - width: 21%; - } - .single-item.groups #buddypress div#item-header #item-header-content { - margin-left: 4%; - width: 40%; - } - .single-item.groups #buddypress div#item-header div#item-actions { - float: right; - width: 28%; - } -} - -/** -*----------------------------------------------------- -* @subsection 6.1.2 - Item Header User Accounts -* -* User Accounts Specific Item Header -*----------------------------------------------------- -*/ -.bp-user #buddypress #item-header { - padding: 20px 0; -} - -.bp-user #buddypress #item-header #item-header-avatar { - text-align: center; - width: 100%; -} - -.bp-user #buddypress #item-header #item-header-avatar a { - border-bottom: 0; - display: inline-block; - float: none; -} - -@media screen and (min-width: 46.25em) { - .bp-user #buddypress #item-header #item-header-avatar { - float: left; - width: 20%; - } - .bp-user #buddypress #item-header #item-header-avatar img.avatar, - .bp-user #buddypress #item-header #item-header-avatar a { - float: left; - } - .bp-user #buddypress #item-header #item-header-content { - float: right; - margin-right: 5%; - width: 69%; - } -} - -/** -*----------------------------------------------------------- -* @subsection 6.2 - Item Body: Global -*----------------------------------------------------------- -*/ -#item-body h1, -#item-body h2, -#item-body h3, -#item-body h4, -#item-body h5, -#item-body h6 { - margin: 1em 0; -} - -#item-body h1 a, -#item-body h2 a, -#item-body h3 a, -#item-body h4 a, -#item-body h5 a, -#item-body h6 a { - border-bottom: 0; -} - -/** -*---------------------------------------------------- -* @subsection 6.2.1 - Item Body Groups -* -* Groups specific item body rules - screens -*---------------------------------------------------- -*/ -/** -*----------------------------------------- -* @subsection 6.2.1.1 - Group Management -*----------------------------------------- -*/ -.groups #group-settings-form h3 { - background: #555; - color: #fff; - padding: 0.2em; -} - -.groups #group-settings-form #request-list h4 { - background: none; - color: inherit; -} - -.groups.edit-details #group-settings-form label { - background: #555; - -webkit-border-top-right-radius: 4px; - border-top-right-radius: 4px; - -webkit-border-top-left-radius: 4px; - border-top-left-radius: 4px; - background-clip: padding-box; - color: #fff; - display: inline-block; - margin-bottom: 0; - padding: 0.2em; - width: 80%; -} - -@media screen and (min-width: 38.75em) { - .groups.edit-details #group-settings-form label { - width: 60%; - } -} - -.groups.edit-details #group-settings-form textarea + p label { - background: none; - color: inherit; - font-size: 14px; - font-size: 1.4rem; - width: auto; -} - -.groups.group-settings #group-settings-form div.radio label, -.groups.group-settings #create-group-form div.radio label { - border: 1px solid #eaeaea; - padding: 0.2em; -} - -.groups.group-settings #group-settings-form div.radio ul, -.groups.group-settings #create-group-form div.radio ul { - color: #767676; - font-size: 14px; - font-size: 1.4rem; -} - -.groups.group-avatar form > p { - margin-top: 20px; -} - -.groups.manage-members #group-settings-form .item-list li { - border-bottom: 1px solid #eaeaea; -} - -.groups.manage-members #group-settings-form .item-list li img, -.groups.manage-members #group-settings-form .item-list li h5 { - float: left; -} - -.groups.manage-members #group-settings-form .item-list li img > a, -.groups.manage-members #group-settings-form .item-list li h5 > a { - border-bottom: 0; -} - -.groups.manage-members #group-settings-form .item-list li span.small { - clear: left; - display: block; - float: none; - margin-top: 10px; -} - -.groups.manage-members #group-settings-form .item-list li span.small a { - display: inline-block; - margin: 5px 0; - width: 100%; -} - -@media screen and (min-width: 38.75em) { - .groups.manage-members #group-settings-form .item-list li span.small a { - width: auto; - } -} - -.groups.manage-members #group-settings-form .item-list li h5 { - margin: 0; -} - -/** -*----------------------------------------- -* @subsection 6.2.1.2 - Group members -*----------------------------------------- -*/ -/* Members loop */ -@media screen and (max-width: 30em) { - .groups.group-members #buddypress #members-group-list li > a { - border-bottom: 0; - display: block; - margin-bottom: 10px; - text-align: center; - } - .groups.group-members #buddypress #members-group-list li > a img.avatar { - display: inline; - float: none; - } -} - -.groups.group-members #buddypress #members-group-list li h5 { - display: inline-block; - font-size: 14px; - font-size: 1.4rem; - margin: 0; -} - -@media screen and (min-width: 59.6875em) { - .groups.group-members #buddypress #members-group-list li h5 { - font-size: 16px; - font-size: 1.6rem; - } -} - -.groups.group-members #buddypress #members-group-list li h5 a { - border-bottom: 0; -} - -.groups.group-members #buddypress #members-group-list li span.activity { - font-size: 12px; - font-size: 1.2rem; -} - -.groups.group-members #buddypress #members-group-list li .action { - top: 0; -} - -.groups.group-members #subnav li { - width: 100%; -} - -@media screen and (max-width: 38.75em) { - .groups.group-members #subnav li { - background: #fff; - padding: 20px 0; - } -} - -.groups.group-members #subnav li #search-members-form { - float: right; - margin: 5px 5px 0 0; -} - -@media screen and (max-width: 38.75em) { - .groups.group-members #subnav li #search-members-form { - margin: 0; - width: 100%; - } - .groups.group-members #subnav li #search-members-form label input[type="text"] { - width: 100%; - } -} - -/** -*----------------------------------------- -* @subsection 6.2.1.3 - Group Send Invites -*----------------------------------------- -*/ -.groups.group-invites #item-body .item-list .action { - margin-bottom: 0; -} - -@media screen and (min-width: 46.25em) { - .groups.group-invites #buddypress #item-body #message { - margin-top: 0; - } -} - -@media screen and (min-width: 55em) { - .groups.group-invites #buddypress #send-invite-form { - margin-top: 0; - } -} - -@media screen and (max-width: 46.25em) { - .groups.group-invites #item-body .left-menu { - float: none; - margin: 10px 0; - } - .groups.group-invites #item-body .left-menu #invite-list { - height: auto; - width: auto; - } - .groups.group-invites #item-body .main-column { - margin-left: 0; - } - .groups.group-invites #item-body .submit input { - display: inline-block; - width: 100%; - } -} - -/** -*----------------------------------------------------- -* @subsection 6.2.2 - Item Body User Accounts -* -* User Account specific item body rules -*----------------------------------------------------- -*/ -.bp-user .entry-title { - margin-bottom: 0.5em; -} - -/** -*-------------------------------------------- -* @subsection 6.2.2.1 - classes, pag, filters -*-------------------------------------------- -*/ -.bp-user #buddypress table th { - font-size: 14px; - font-size: 1.4rem; -} - -.bp-user #buddypress table td { - font-size: 12px; - font-size: 1.2rem; -} - -@media screen and (min-width: 46.25em) { - .bp-user #buddypress table th { - font-size: 16px; - font-size: 1.6rem; - } - .bp-user #buddypress table td { - font-size: 14px; - font-size: 1.4rem; - } -} - -@media screen and (min-width: 77.5em) { - .bp-user #buddypress table th { - font-size: 18px; - font-size: 1.8rem; - } - .bp-user #buddypress table td { - font-size: 16px; - font-size: 1.6rem; - } -} - -.bp-user #buddypress .pag-count { - font-style: italic; -} - -.bp-user #buddypress .notifications-options-nav, -.bp-user #buddypress .messages-options-nav { - float: left; - width: 100%; -} - -@media screen and (min-width: 30em) { - .bp-user #buddypress .notifications-options-nav, - .bp-user #buddypress .messages-options-nav { - width: 50%; - } -} - -.bp-user #buddypress .notifications-options-nav select, -.bp-user #buddypress .notifications-options-nav input, -.bp-user #buddypress .messages-options-nav select, -.bp-user #buddypress .messages-options-nav input { - font-size: 14px; - font-size: 1.4rem; - outline: 0; - padding: 0; -} - -.bp-user #buddypress .notifications-options-nav select, -.bp-user #buddypress .messages-options-nav select { - float: left; - margin-right: 0; - width: 100%; -} - -@media screen and (min-width: 30em) { - .bp-user #buddypress .notifications-options-nav select, - .bp-user #buddypress .messages-options-nav select { - width: 60%; - } -} - -.bp-user #buddypress .notifications-options-nav input, -.bp-user #buddypress .messages-options-nav input { - float: right; - font-family: "Noto Serif", serif; - line-height: 1.5; - margin-top: 10px; - width: 100%; -} - -.bp-user #buddypress .notifications-options-nav input[disabled]:hover, -.bp-user #buddypress .messages-options-nav input[disabled]:hover { - background: none; -} - -@media screen and (min-width: 30em) { - .bp-user #buddypress .notifications-options-nav input, - .bp-user #buddypress .messages-options-nav input { - margin-top: 0; - width: 38%; - } -} - -/** - *------------------------------------------- - * @subsection 6.2.2.2 - Extended Profiles - *------------------------------------------- - */ -.bp-user #buddypress .profile .bp-widget h2 { - background: #6f6e6e; - color: #fff; - margin-bottom: 0; - padding: 0.4em; -} - -.bp-user #buddypress .profile .bp-widget table { - margin-top: 0; -} - -/* Edit Profile */ -.bp-user #buddypress .profile #profile-edit-form .button-nav:before, -.bp-user #buddypress .profile #profile-edit-form .button-nav:after { - content: " "; - display: table; -} - -.bp-user #buddypress .profile #profile-edit-form .button-nav:after { - clear: both; -} - -.bp-user #buddypress .profile #profile-edit-form ul.button-nav { - border-bottom: 1px solid #eaeaea; - margin-left: 0; -} - -.bp-user #buddypress .profile #profile-edit-form ul.button-nav li { - float: left; - margin-bottom: 0; -} - -.bp-user #buddypress .profile #profile-edit-form ul.button-nav li.current { - border: 1px solid #eaeaea; - border-bottom-color: #fff; - margin-bottom: -1px; -} - -.bp-user #buddypress .profile #profile-edit-form ul.button-nav a { - background: none; - border: 0; - font-size: 18px; - font-size: 1.8rem; -} - -.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle, -.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings { - font-size: 14px; - font-size: 1.4rem; -} - -.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close, -.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link { - background: #555; - color: #fff; - padding: 0.2em 0.5em; -} - -.bp-user #buddypress .profile .bp-avatar #bp-delete-avatar a { - font-size: inherit; -} - -/** - *------------------------------------------- - * @subsection 6.2.2.3 - Groups - *------------------------------------------- - */ -@media screen and (min-width: 77.5em) { - .bp-user #buddypress #groups-list li .item { - left: 5%; - width: 50%; - } -} - -/** - *------------------------------------------- - * @subsection 6.2.2.5 - Private Messaging - *------------------------------------------- - */ -.bp-user #buddypress #message-thread a { - border-bottom: 0; -} - -.bp-user #buddypress #message-thread #message-subject { - background: #6f6e6e; - color: #fff; - padding: 0.3em 0 0.3em 0.2em; -} - -.bp-user #buddypress #message-thread #message-recipients { - font-style: italic; -} - -.bp-user #buddypress #message-thread #message-recipients a.confirm { - border: 1px solid #eaeaea; - font-style: normal; -} - -.bp-user #buddypress #message-thread .message-metadata:after { - clear: both; - content: ""; - display: table; -} - -.bp-user #buddypress #message-thread .message-metadata img.avatar { - float: none; -} - -@media screen and (min-width: 46.25em) { - .bp-user #buddypress #message-thread .message-metadata img.avatar { - float: left; - } -} - -.bp-user #buddypress #message-thread .message-metadata .message-star-actions { - float: right; - margin-right: 5px; - position: static; -} - -.bp-user #buddypress #message-thread .message-content { - background: #f7f7f7; - border: 1px solid #eaeaea; - margin: 10px 0 0 0; - padding: 0.3em; -} - -.bp-user #buddypress #message-thread #send-reply .message-content { - background: #fff; - border: 0; -} - -.bp-user #buddypress #message-thread .alt { - background: #fff; -} - -.bp-user #buddypress #message-threads thead tr { - background: #6f6e6e; -} - -.bp-user #buddypress #message-threads tr td { - background: #fff; - display: inline-block; - float: left; -} - -.bp-user #buddypress #message-threads tr td.thread-star, -.bp-user #buddypress #message-threads tr td.thread-options { - border-bottom-color: #b7b7b7; - border-bottom-width: 2px; - height: 2.4em; - padding-bottom: 0.2em; - padding-top: 0.2em; -} - -@media screen and (max-width: 46.25em) { - .bp-user #buddypress #message-threads tr td.thread-star, - .bp-user #buddypress #message-threads tr td.thread-options { - padding-top: 0; - } -} - -.bp-user #buddypress #message-threads tr td.bulk-select-check, -.bp-user #buddypress #message-threads tr td.thread-from { - height: 2.6em; -} - -@media screen and (max-width: 38.75em) { - .bp-user #buddypress #message-threads tr td.bulk-select-check, - .bp-user #buddypress #message-threads tr td.thread-from { - height: 5.2em; - } -} - -.bp-user #buddypress #message-threads tr td.thread-from, -.bp-user #buddypress #message-threads tr td.thread-options { - border-left: 0 !important; - width: -webkit-calc(100% - 30px); - width: -moz-calc(100% - 30px); - width: calc(100% - 30px); - margin-left: 0; -} - -.bp-user #buddypress #message-threads tr td.thread-info { - padding-left: 41px; - width: 100%; -} - -.bp-user #buddypress #message-threads tr td.thread-options { - text-align: right; -} - -.bp-user #buddypress #message-threads tr td.thread-options a { - font-size: 12px; - font-size: 1.2rem; - line-height: 2.2; -} - -.bp-user #buddypress #message-threads tr span.from { - display: none; -} - -.bp-user #buddypress #message-threads tr span.activity { - display: block; - float: right; - line-height: 2; -} - -@media screen and (max-width: 38.75em) { - .bp-user #buddypress #message-threads tr span.activity { - clear: both; - font-size: 11px; - font-size: 1.1rem; - width: 100%; - } -} - -.bp-user #buddypress #message-threads tr.unread td { - background: #dce5ff; - border-color: #d1d0d0; - border-bottom-color: #b7b7b7; -} - -.bp-user #buddypress #message-threads th { - display: none; -} - -.bp-user #buddypress #message-threads th.bulk-select-all { - border-bottom: 0; - display: inline-block; - text-align: left; -} - -.bp-user #buddypress #message-threads th.bulk-select-all, -.bp-user #buddypress #message-threads td.bulk-select-check, -.bp-user #buddypress #message-threads td.thread-star { - border-right: 0; - width: 30px; -} - -.bp-user #buddypress .acfb-holder { - list-style: none; -} - -.bp-user #buddypress .acfb-holder li { - margin-left: 0; -} - -.bp-user #buddypress .acfb-holder li.friend-tab { - background: #edf7fa; - border: inherit; - margin-right: 0; - padding: 0.5em; -} - -.bp-user #buddypress .acfb-holder li.friend-tab span.p { - padding-left: 10px; -} - -.bp-user #buddypress .acfb-holder li.friend-tab span.p:focus, .bp-user #buddypress .acfb-holder li.friend-tab span.p:hover { - color: #c82b2b; - cursor: pointer; -} - -.bp-user #buddypress .acfb-holder li.friend-tab a { - border-bottom: 0; - text-decoration: none; -} - -.bp-user #buddypress .acfb-holder li.friend-tab a img { - display: inline; - height: 20px; - vertical-align: middle; - width: 20px !important; -} - -.bp-user #buddypress #message-threads.sitewide-notices td { - width: 100%; -} - -.bp-user #buddypress #message-threads.sitewide-notices td strong { - background: #6f6e6e; - color: #fff; - display: block; - margin-bottom: 0.4em; - padding-left: 0.2em; -} - -.bp-user #buddypress #message-threads.sitewide-notices td a { - display: inline-block; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:first-child { - display: none; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:first-child + td + td { - border-bottom: 0; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:first-child + td + td span { - line-height: 1; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:last-child { - border-bottom-color: #b7b7b7; - line-height: 1; - text-align: right; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child { - line-height: 0; - margin-left: 0.7em; - text-indent: -999em; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child:after { - content: attr(title); - display: block; - line-height: initial; - text-indent: 0; -} - -.bp-user .ac_results { - background: #eee; - padding-left: 10px; -} - -.bp-user .ac_results ul { - margin: 0; -} - -.bp-user .ac_results li { - margin: 10px 0; -} - -.bp-user .ac_results li:focus, .bp-user .ac_results li:hover { - cursor: pointer; -} - -/** - *------------------------------ - * @subsection 6.2.2.6 - Settings - *------------------------------ - */ -.bp-user #buddypress #settings-form > p { - font-size: 20px; - font-size: 2rem; - margin: 20px 0 10px; -} - -.bp-user #buddypress table.notification-settings th.title { - width: 75%; -} - -.bp-user #buddypress table.notification-settings td.yes, -.bp-user #buddypress table.notification-settings td.no { - vertical-align: middle; -} - -.bp-user #buddypress table.profile-settings { - width: 100%; -} - -.bp-user #buddypress table.profile-settings th.field-group-name, -.bp-user #buddypress table.profile-settings td.field-name { - width: 50%; -} - -@media screen and (min-width: 46.25em) { - .bp-user #buddypress table.profile-settings th.field-group-name, - .bp-user #buddypress table.profile-settings td.field-name { - width: 70%; - } -} - -.bp-user #buddypress table.profile-settings th.title, -.bp-user #buddypress table.profile-settings td.field-visibility { - width: 30%; -} - -.bp-user #buddypress table.profile-settings td.field-visibility select { - width: 100%; -} - -/** -*------------------------------------------------------------------------------- -* @section 7.0 - Forms - General -*------------------------------------------------------------------------------- -*/ -#buddypress div.activity-comments form .ac-textarea { - background: #f7f7f7; - border: 1px solid rgba(153, 153, 153, 0.3); -} - -#buddypress div.activity-comments form .ac-textarea textarea { - background: none; - border: 0; -} - -#buddypress select { - border: 1px solid rgba(153, 153, 153, 0.5); -} - -#buddypress .wp-editor-wrap a.button, -#buddypress .wp-editor-wrap button, -#buddypress .wp-editor-wrap input[type="submit"], -#buddypress .wp-editor-wrap input[type="button"], -#buddypress .wp-editor-wrap input[type="reset"] { - padding: 0 5px 1px; -} - -#buddypress .standard-form li, -#buddypress .group-create-form li { - float: none; - list-style: none; -} - -#buddypress .standard-form input[type="text"], -#buddypress .standard-form textarea, -#buddypress .group-create-form input[type="text"], -#buddypress .group-create-form textarea { - width: 100%; -} - -#buddypress div.dir-search, -#buddypress div.message-search, -#buddypress li.groups-members-search { - float: none; - margin: 10px 0; -} - -#buddypress div.dir-search form, -#buddypress div.message-search form, -#buddypress li.groups-members-search form { - border: 1px solid rgba(153, 153, 153, 0.4); - overflow: hidden; -} - -#buddypress div.dir-search form label, -#buddypress div.message-search form label, -#buddypress li.groups-members-search form label { - float: left; - width: 80%; -} - -#buddypress div.dir-search form input[type="text"], -#buddypress div.message-search form input[type="text"], -#buddypress li.groups-members-search form input[type="text"] { - float: left; - margin: 0; - width: 80%; -} - -#buddypress div.dir-search form input[type="text"], -#buddypress div.dir-search form input[type="submit"], -#buddypress div.message-search form input[type="text"], -#buddypress div.message-search form input[type="submit"], -#buddypress li.groups-members-search form input[type="text"], -#buddypress li.groups-members-search form input[type="submit"] { - font-size: 14px; - font-size: 1.4rem; - border: 0; - line-height: inherit; -} - -#buddypress div.dir-search form input[type="text"], -#buddypress div.message-search form input[type="text"], -#buddypress li.groups-members-search form input[type="text"] { - border-right: 1px solid rgba(153, 153, 153, 0.4); - padding: 0.2em 0 0.2em 0.2em; -} - -#buddypress div.dir-search form input[type="submit"], -#buddypress div.message-search form input[type="submit"], -#buddypress li.groups-members-search form input[type="submit"] { - float: right; - font-weight: 400; - padding: 0.2em 1em; - text-align: center; - text-transform: none; - width: 20%; -} - -@media screen and (min-width: 38.75em) { - #buddypress div.dir-search, - #buddypress div.message-search, - #buddypress li.groups-members-search { - float: right; - margin-bottom: 5px !important; - } - #buddypress div.dir-search form label, - #buddypress div.dir-search form input[type="text"], - #buddypress div.dir-search form input[type="submit"], - #buddypress div.message-search form label, - #buddypress div.message-search form input[type="text"], - #buddypress div.message-search form input[type="submit"], - #buddypress li.groups-members-search form label, - #buddypress li.groups-members-search form input[type="text"], - #buddypress li.groups-members-search form input[type="submit"] { - width: auto; - } -} - -@media screen and (min-width: 77.5em) { - #buddypress .dir-search form input[type="text"], - #buddypress .message-search form input[type="text"] { - font-size: 16px; - font-size: 1.6rem; - } - #buddypress .dir-search form input[type="submit"], - #buddypress .message-search form input[type="submit"] { - font-size: 16px; - font-size: 1.6rem; - } -} - -/** -*------------------------------------------------------------------------------- -* @section 8.0 - Tables - General -*------------------------------------------------------------------------------- -*/ -#buddypress table { - font-size: 14px; - font-size: 1.4rem; - margin: 20px 0; -} - -#buddypress table tr th { - background: #6f6e6e; - border-color: #b7b7b7; - color: #fff; -} - -#buddypress table p { - margin-bottom: 0.5em; -} - -@media screen and (min-width: 55em) { - #buddypress table { - font-size: 16px; - font-size: 1.6rem; - } -} - -/*__ User Account tables __*/ -#buddypress .notifications th, -#buddypress .messages-notices th { - width: 30%; -} - -#buddypress .notifications th.bulk-select-all, -#buddypress .messages-notices th.bulk-select-all { - text-align: center; - width: 10%; -} - -#buddypress .notifications .bulk-select-check, -#buddypress .notifications .thread-star, -#buddypress .messages-notices .bulk-select-check, -#buddypress .messages-notices .thread-star { - text-align: center; -} - -#buddypress .notifications .notification-actions, -#buddypress .notifications td.thread-options, -#buddypress .messages-notices .notification-actions, -#buddypress .messages-notices td.thread-options { - text-align: center; -} - -#buddypress .notifications .notification-actions a, -#buddypress .notifications td.thread-options a, -#buddypress .messages-notices .notification-actions a, -#buddypress .messages-notices td.thread-options a { - display: inline-block; - margin: 0; - padding: 0; -} - -#buddypress .notifications td .button, -#buddypress .messages-notices td .button { - border: 0; - display: block; - padding: 0; - text-align: center; -} - -/** -*------------------------------------------------------------------------------- -* @section 9.0 - Error / Success messages -*------------------------------------------------------------------------------- -*/ -#buddypress #item-body div#message { - margin-top: 20px; -} - -@media screen and (min-width: 55em) { - #buddypress #item-body div#message { - margin-right: 20px; - } -} - -#buddypress div#message p { - font-size: 18px; - font-size: 1.8rem; - font-weight: 700; -} - -#buddypress div#message.info p { - background: #c6e4ee; - border: 1px solid #78bed6; - color: #1e5264; -} - -#buddypress div#message.updated p { - background: #dee6b2; - border: 1px solid #becc66; - color: #454d19; -} - -.delete-group #buddypress div#message.info p { - background: #db7e7e; - border: 1px solid #be3535; - color: #1f0808; -} - -/** -*------------------------------------------------------------------------------- -* @section 10.0 - Ajax Loading, Widgets, General classes -*------------------------------------------------------------------------------- -*/ diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/052/052.test.js b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/052/052.test.js deleted file mode 100644 index 6e29190ba9d573..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/052/052.test.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -const stylelint = require( 'stylelint' ), - systemTestUtils = require( '../systemTestUtils.js' ); - -it( '052', () => { - return stylelint.lint({ - files: [systemTestUtils.caseStylesheetGlob( '052' )], - configFile: systemTestUtils.caseConfig( '052' ), - }).then( ({ results }) => { - expect( systemTestUtils.prepResults( results ) ).toMatchSnapshot(); - }); -}); diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/052/__snapshots__/052.test.js.snap b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/052/__snapshots__/052.test.js.snap deleted file mode 100644 index 3ab42b44303ce0..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/052/__snapshots__/052.test.js.snap +++ /dev/null @@ -1,765 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`052 1`] = ` -Array [ - Object { - "deprecations": Array [], - "errored": true, - "ignored": undefined, - "invalidOptionWarnings": Array [], - "parseErrors": Array [], - "source": "052/stylesheet.css", - "warnings": Array [ - Object { - "column": 1, - "line": 58, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 103, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 406, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 629, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 634, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 804, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 809, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 814, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 1011, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 1478, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 2, - "line": 78, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 115, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 121, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 146, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 149, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 159, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 180, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 185, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 188, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 195, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 199, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 203, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 206, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 213, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 218, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 222, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 225, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 230, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 233, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 238, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 244, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 248, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 251, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 254, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 344, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 348, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 351, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 356, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 359, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 367, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 371, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 375, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 381, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 384, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 391, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 434, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 438, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 441, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 444, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 448, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 456, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 459, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 519, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 523, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 527, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 530, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 541, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 558, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 582, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 586, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 591, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 596, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 646, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 682, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 686, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 690, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 693, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 697, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 700, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 705, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 708, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 711, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 737, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 740, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 743, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 768, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 774, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 784, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 790, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 794, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 876, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 921, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 936, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 940, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 946, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 957, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 963, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 966, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 970, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 988, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 994, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 997, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1000, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1104, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1117, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1159, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1335, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1441, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1446, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1454, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1457, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 37, - "line": 222, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 64, - "line": 251, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 73, - "line": 620, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 52, - "line": 1226, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 30, - "line": 1306, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 3, - "line": 771, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '0 0 5px 0' instead of '0 0 5px' (shorthand-property-no-redundant-values)", - }, - ], - }, -] -`; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/052/config.json b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/052/config.json deleted file mode 100644 index a8af7d5dcb61b9..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/052/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../index.js" -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/052/stylesheet.css b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/052/stylesheet.css deleted file mode 100644 index 9f1b6deaa6133b..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/052/stylesheet.css +++ /dev/null @@ -1,1511 +0,0 @@ -/*------------------------------------------------------------------------------ - -This is the BuddyPress companion stylesheet for -the WordPress Twentyfourteen theme. - -This sheet supports the primary BuddyPress styles in buddypress.css - -If you are running as a child theme of twentyfourteen this stylesheet will be -loaded by default. If you want to modify the styles the normal BP Theme Compat -hierarchy works and you can copy the file to buddypress/css/ or community/css/ -in your child themes root & either start over or modify the ruelesets. - -If you do not require the styles you can dequeue them from the themes -functions file. - -Please see this codex article for more information: -http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ - --------------------------------------------------------------------------------- ->>> TABLE OF CONTENTS: --------------------------------------------------------------------------------- -1.0 Theme Structural Elements -2.0 - Navigation - General - 2.1 - Navs - Object Nav / Sub Nav (item-list-tabs) - 2.2 - Pagination -3.0 - Images -4.0 - BP Lists / Loops Generic - 4.1 - Activity Loop - 4.1.1 - Activity Whats new - 4.1.2 - Activity Listing - 4.1.3 - Activity Comments - 4.2 - Members Loop - 4.3 - Groups Loop - 4.4 - Blogs Loop -5.0 - Directories - Members, Groups, Blogs, Forums -6.0 - Single Item screens: User Account & Single Group Screens - 6.1 - Item Headers: Global - 6.1.1 - Item-header: Groups; - 6.1.2 - item-header: User Accounts - 6.2 - Item Body: Global - 6.2.1 - item-body: Groups - 6.2.1.1- Management settings screens - 6.2.1.2 - Group members list - 6.2.1.3 - Group Send Invites - 6.2.2 - item-body: User Accounts - 6.2.2.1 - classes, pag, filters - 6.2.2.2 - Extended Profiles - 6.2.2.3 - Groups - 6.2.2.4 - friends - 6.2.2.5 - Private Messaging Threads - 6.2.2.6 - Settings -7.0 - Forms - General -8.0 - Tables - General -9.0 - Error / Success Messages -10.0 - Ajax Loading -11.0 - Widgets -------------------------------------------------------------------------------*/ -/** -*------------------------------------------------------------------------------- -* @section - 1.0 - Theme - Structural Elements -*------------------------------------------------------------------------------- -*/ -#buddypress h1, -#buddypress h2, -#buddypress h3, -#buddypress h4, -#buddypress h5, -#buddypress h6 { - clear: none; -} - -.buddypress .site-content { - padding-bottom: 20px; - padding-top: 4%; -} - -@media screen and (min-width: 59.6875em) { - .buddypress .site-content { - padding-top: 0; - } -} - -.buddypress .site-content article { - margin: 0 4%; - padding-top: 0; -} - -.buddypress .site-content article .entry-header, -.buddypress .site-content article .entry-content { - max-width: 100%; - padding: 0; -} - -.buddypress .site-content article #buddypress { - margin-bottom: 40px; -} - -/** -* ------------------------------------------------------------------------------ -* @section 2.0 - Navigation - General -*------------------------------------------------------------------------------- -*/ -/** -*---------------------------------------------------------- -* @subsection 2.1 - Object Nav / Subnav (item-list-tabs) -* -* The main navigational elements for all BP screens -*---------------------------------------------------------- -*/ -#buddypress .item-list-tabs ul li { - width: 100%; -} - -@media screen and (min-width: 400px) { - #buddypress .item-list-tabs ul li { - width: 50%; - } -} - -@media screen and (min-width: 594px) { - #buddypress .item-list-tabs ul li { - width: auto; - } -} - -#buddypress .item-list-tabs ul a { - color: #1b6e08; -} - -.directory #buddypress .item-list-tabs ul:before, -.directory #buddypress .item-list-tabs ul:after { - content: " "; - display: table; -} - -.directory #buddypress .item-list-tabs ul:after { - clear: both; -} - -.directory #buddypress .item-list-tabs ul { - border-bottom: 1px solid rgba(0, 0, 0, 0.2); - padding-bottom: 10px; -} - -@media screen and (min-width: 783px) { - .directory #buddypress .item-list-tabs ul { - padding-bottom: 0; - } - .directory #buddypress .item-list-tabs ul li.selected { - border: 1px solid rgba(0, 0, 0, 0.2); - border-bottom-color: #fff; - -webkit-border-top-right-radius: 4px; - border-top-right-radius: 4px; - -webkit-border-top-left-radius: 4px; - border-top-left-radius: 4px; - background-clip: padding-box; - margin-bottom: -1px; - } - .directory #buddypress .item-list-tabs ul li.selected a { - background: none; - outline: none; - } -} - -.directory #buddypress #subnav ul { - border-bottom: 0; -} - -.directory #buddypress #subnav a { - color: #1b6e08; -} - -/* List last filters global */ -#buddypress #subnav li#activity-filter-select.last { - line-height: 2.1; - margin-top: 0; -} - -@media screen and (max-width: 783px) { - #buddypress #object-nav ul { - border-bottom: 1px solid rgba(0, 0, 0, 0.2); - overflow: hidden; - padding-bottom: 10px; - } - #buddypress div#subnav.item-list-tabs { - margin-bottom: 40px; - } - #buddypress div#subnav.item-list-tabs ul li { - width: auto; - } -} - -/*__ Vertical Menu User Account Screens __*/ -@media screen and (min-width: 783px) { - .bp-user #buddypress, - .single-item.groups #buddypress { - background: #d8d7d7; - } - #buddypress #item-header, - #buddypress #item-body { - background: #fff; - } - #buddypress #item-body { - border-left: 1px solid #bebebe; - } - #buddypress #object-nav { - background: #d8d7d7; - border-right: 1px solid #bebebe; - float: left; - margin-right: -1px; - width: 200px; - } - #buddypress #object-nav ul { - border-bottom: 0; - border-top: 1px solid #bebebe; - padding: 0; - } - #buddypress #object-nav ul li { - float: none; - overflow: hidden; - } - #buddypress #object-nav ul li:focus, #buddypress #object-nav ul li:hover { - background: #f1f1f1; - } - #buddypress #object-nav ul li span { - border-radius: 10%; - float: right; - margin-right: 15px; - } - #buddypress #object-nav ul li.current { - background: #f1f1f1; - } - #buddypress #item-body { - overflow: hidden; - padding: 0 20px; - width: auto; - } - #buddypress #item-body #subnav { - border: 1px solid #bebebe; - border-left: 0; - border-right: 0; - margin: 0 -20px 20px; - } - #buddypress #item-body #subnav li:focus, - #buddypress #item-body #subnav li:hover { - background: #f1f1f1; - } - #buddypress #item-body #subnav li.current { - background: #f1f1f1; - } - #buddypress #item-body #subnav li#activity-filter-select:focus, #buddypress #item-body #subnav li#activity-filter-select:hover { - background: none; - } - #buddypress #item-body #subnav li#activity-filter-select select { - max-width: 130px; - } -} - -/** -*---------------------------------------------------------- -* @subsection 2.2 - Pagination -*---------------------------------------------------------- -*/ -#buddypress div.pagination .pag-count { - margin-left: 0; -} - -/** -*------------------------------------------------------------------------------- -* @section 4.0 - BP Lists / Loops Generic -*------------------------------------------------------------------------------- -*/ -#buddypress .item-list .item-title a { - display: block; - font-size: 22px; - font-size: 1.375rem; - text-decoration: none; -} - -#buddypress .item-list .item-title span.update, -#buddypress .item-list .item-title span a { - font-size: 12px; - font-size: 0.75rem; -} - -#buddypress ul.item-list li { - overflow: hidden !important; -} - -#buddypress ul.item-list li .item-avatar { - float: none; - margin-bottom: 20px; - text-align: center; -} - -#buddypress ul.item-list li .item-avatar a img.avatar { - float: none; -} - -#buddypress ul.item-list li div.item-title { - float: none; - width: 100%; -} - -#buddypress ul.item-list li div.item-title > a { - text-align: center; -} - -#buddypress ul.item-list li .item { - margin-left: 0; -} - -#buddypress ul.item-list li div.item-desc { - margin-left: 0; - width: auto; -} - -#buddypress ul.item-list li div.action { - clear: both; - float: none; - margin: 0; - position: relative; - text-align: left; -} - -#buddypress ul.item-list li div.action div { - margin: 0 0 10px; -} - -#buddypress ul.item-list li .activity-meta, -#buddypress ul.item-list li .action { - float: none; -} - -#buddypress ul.item-list li .activity-meta a, -#buddypress ul.item-list li .activity-meta div, -#buddypress ul.item-list li .action a, -#buddypress ul.item-list li .action div { - display: block; - margin: 5px 0; -} - -@media screen and (min-width: 594px) { - #buddypress ul.item-list li .item-avatar { - float: left; - margin-bottom: 0; - } - #buddypress ul.item-list li div.item-title > a { - text-align: left; - } - #buddypress ul.item-list li .item { - float: right; - margin-left: 5%; - width: 80%; - } - #buddypress ul.item-list li .activity-meta { - clear: both; - } - #buddypress ul.item-list li .activity-meta a, - #buddypress ul.item-list li .activity-meta div { - display: inline-block; - margin: 5px 5px 0 0; - } -} - -@media screen and (min-width: 783px) { - #buddypress ul.item-list li .item { - float: left; - width: 55%; - } - #buddypress ul.item-list li .item div.item-desc { - margin: 0; - width: auto; - } - #buddypress ul.item-list li div.action { - clear: none; - float: right; - top: 0; - width: 25%; - } - #buddypress ul.item-list li div.action div { - display: block; - } - #buddypress ul.item-list li div.action div a { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - display: block; - width: 100%; - } - #buddypress ul.item-list li div.action .meta { - text-align: center; - } -} - -#buddypress ul.item-list li .meta, -#buddypress ul.item-list li .item-meta .activity { - font-style: italic; -} - -/** -*------------------------------------------------------------ -* @section 4.1 - Activity -*------------------------------------------------------------ -*/ -/** -*------------------------------------------------- -* @subsection 4.1.1 - Activity What's New -*------------------------------------------------- -*/ -#buddypress form#whats-new-form { - margin: 40px 0; -} - -#buddypress form#whats-new-form #whats-new-avatar { - float: none; - margin-bottom: 20px; - text-align: center; -} - -#buddypress form#whats-new-form #whats-new-content, -#buddypress form#whats-new-form p.activity-greeting { - margin-left: 0; - padding-left: 0; -} - -#buddypress form#whats-new-form p.activity-greeting { - clear: left; - line-height: inherit; - margin-bottom: 5px; -} - -@media screen and (max-width: 594px) { - #buddypress form#whats-new-form #whats-new-content #whats-new-options { - display: flex; - flex-direction: column; - } - #buddypress form#whats-new-form #whats-new-content #whats-new-options #whats-new-submit { - order: 2; - } - #buddypress form#whats-new-form #whats-new-content #whats-new-options #whats-new-submit input { - width: 100%; - } - #buddypress form#whats-new-form #whats-new-content #whats-new-options #whats-new-post-in-box { - margin-top: 10px; - order: 1; - } - #buddypress form#whats-new-form #whats-new-content #whats-new-options #whats-new-post-in-box select { - margin-top: 5px; - max-width: 100%; - width: 100%; - } -} - -@media screen and (min-width: 594px) { - #buddypress form#whats-new-form #whats-new-avatar { - float: left; - } - #buddypress form#whats-new-form #whats-new-content, - #buddypress form#whats-new-form p.activity-greeting { - clear: none; - overflow: hidden; - padding-left: 20px; - } -} - -/** -*------------------------------------------------- -* @subsection 4.1.2 - Activity Listing -*------------------------------------------------- -*/ -#buddypress #activity-stream { - margin-top: 40px; -} - -#buddypress .activity-list li.activity-item:not(.mini) .activity-avatar { - float: none; - margin-bottom: 10px; - text-align: center; -} - -#buddypress .activity-list li.activity-item:not(.mini) .activity-avatar img.avatar { - display: inline; - float: none; -} - -#buddypress .activity-list li.mini .activity-avatar img.avatar { - margin-left: 0; -} - -#buddypress .activity-list li.mini .activity-meta a { - font-size: 12px; - font-size: 0.75rem; -} - -#buddypress .activity-list .activity-content { - margin: 0; -} - -#buddypress .activity-list .activity-content .activity-header { - margin: -0.5em 0 0; -} - -#buddypress .activity-list .activity-content .activity-header > p { - line-height: 1.4; - margin-top: -10px; -} - -#buddypress .activity-list .activity-content .activity-header img.avatar { - margin-bottom: 0 !important; - vertical-align: middle; -} - -#buddypress .activity-list .activity-content .activity-inner { - margin: 10px 0; -} - -@media screen and (min-width: 594px) { - #buddypress .activity-list li.activity-item:not(.mini) .activity-avatar { - float: left; - margin: 0 20px 0 0; - } - #buddypress .activity-list li.activity-item:not(.mini) .activity-avatar img.avatar { - display: inline; - float: none; - } - #buddypress .activity-list li.mini .activity-avatar { - margin: 0 10px 0 5%; - } - #buddypress .activity-list .activity-content { - margin-left: 0; - overflow: hidden; - } -} - -body.activity-permalink #buddypress { - background: transparent; -} - -@media screen and (max-width: 760px) { - body.activity-permalink #buddypress .activity-list li .activity-content, - body.activity-permalink #buddypress .activity-list li .activity-comments { - margin-left: 0; - } -} - -/** -*------------------------------------------------- -* @subsection 4.1.3 - Activity Comments -*------------------------------------------------- -*/ -#buddypress .activity .activity-comments { - margin-left: 0; - margin-top: 5px; -} - -@media screen and (min-width: 594px) { - #buddypress .activity .activity-comments { - margin-left: 70px; - } -} - -#buddypress .activity .activity-comments a { - color: #1b6e08; -} - -#buddypress .activity .activity-comments ul { - background: rgba(247, 247, 247, 0.6); - margin: 30px 0 0 2px; -} - -#buddypress .activity .activity-comments ul ul { - border-left: 1px solid rgba(0, 0, 0, 0.1); - padding-left: 2%; -} - -#buddypress .activity .activity-comments .acomment-meta { - color: #737373; -} - -@media screen and (max-width: 400px) { - #buddypress .activity .activity-comments .acomment-avatar { - display: block; - text-align: center; - } - #buddypress .activity .activity-comments .acomment-avatar a, - #buddypress .activity .activity-comments .acomment-avatar img.avatar { - display: inline; - float: none; - } - #buddypress .activity .activity-comments .acomment-content, - #buddypress .activity .activity-comments .acomment-meta, - #buddypress .activity .activity-comments .acomment-options { - margin: 5px; - } - #buddypress .activity .activity-comments .acomment-content { - padding: 0 10px; - } -} - -#buddypress .activity .activity-comments .ac-form input[type="submit"], -#buddypress .activity .activity-comments .ac-form .ac-reply-cancel { - color: rgba(43, 43, 43, 0.8); - display: inline-block; - font-family: inherit; - font-size: 12px; - font-size: 0.75rem; - font-weight: 400; - line-height: 1.2; - padding: 4px 10px; - text-transform: lowercase; - width: 100px; -} - -#buddypress .activity .activity-comments .ac-form .ac-reply-cancel { - border: 1px solid rgba(0, 0, 0, 0.2); - text-align: center; -} - -#buddypress .activity .activity-comments .ac-form .ac-reply-cancel:focus, #buddypress .activity .activity-comments .ac-form .ac-reply-cancel:hover { - background: #ededed; -} - -/** -*------------------------------------------------------------ -* @section 4.2 - Members Loop -*------------------------------------------------------------ -*/ -/* -*------------------------------------------------------------------------------- -* @section 6.0 - Single Item screens -*------------------------------------------------------------------------------- -*/ -/* groups & user account page entry title */ -.single-item.groups .entry-title, -.bp-user .entry-title { - background: #4d4c4c; - color: #fff; - font-size: 22px; - font-size: 1.375rem; - margin-bottom: 10px; - padding: 0.2em; -} - -@media screen and (min-width: 673px) { - .single-item.groups .entry-title, - .bp-user .entry-title { - font-size: 28px; - font-size: 1.75rem; - } -} - -/** -*------------------------------------------------------------ -* @subsection 6.1 - Item Header: Global -*------------------------------------------------------------ -*/ -#buddypress div#item-header { - padding-bottom: 10px; -} - -#buddypress div#item-header img.avatar { - margin: 0 20px 10px 0; -} - -#buddypress div#item-header #message { - clear: both; - margin-bottom: 5px; - padding-top: 10px; -} - -#buddypress div#item-header #message p { - margin-bottom: 0; -} - -/** -*------------------------------------------------- -* @subsection 6.1.1 - item-header: Groups -*------------------------------------------------- -*/ -@media screen and (max-width: 594px) { - .single-item.groups #buddypress div#item-header { - display: flex; - flex-direction: column; - } - .single-item.groups #buddypress div#item-header #item-header-avatar { - order: 1; - text-align: center; - } - .single-item.groups #buddypress div#item-header #item-header-avatar a { - border-bottom: 0; - } - .single-item.groups #buddypress div#item-header #item-header-avatar a img { - display: inline-block; - float: none; - } - .single-item.groups #buddypress div#item-header #item-header-content { - order: 2; - } - .single-item.groups #buddypress div#item-header #item-actions { - margin-left: 0; - order: 3; - text-align: left; - } - .single-item.groups #buddypress div#item-header #item-actions ul { - margin-left: 0; - } - .single-item.groups #buddypress div#item-header #item-actions ul li { - float: left; - } - .single-item.groups #buddypress div#item-header #message { - order: 4; - } -} - -.single-item.groups #buddypress #item-header #item-actions { - float: none; - margin: 0 0 0 20px; - width: auto; -} - -.single-item.groups #buddypress #item-header #item-actions h2 { - font-size: 20px; - font-size: 1.25rem; -} - -.single-item.groups #buddypress #item-header #item-header-avatar { - text-align: center; -} - -.single-item.groups #buddypress #item-header #item-header-content { - float: none; - overflow: hidden; -} - -@media screen and (min-width: 594px) { - .single-item.groups #buddypress #item-header #item-actions { - float: right; - } - .single-item.groups #buddypress #item-header #item-header-avatar { - float: left; - } - .single-item.groups #buddypress #item-header #item-header-content { - float: none; - overflow: hidden; - } -} - -/** -*------------------------------------------------- -* @subsection 6.1.2 - item-header: User Accounts -*------------------------------------------------- -*/ -.bp-user #buddypress #item-header #item-header-avatar { - text-align: center; - width: 100%; -} - -.bp-user #buddypress #item-header #item-header-avatar img { - float: none; -} - -.bp-user #buddypress #item-header #latest-update { - margin-bottom: 10px; -} - -@media screen and (max-width: 594px) { - .bp-user #buddypress #item-header #item-buttons div.generic-button { - display: inline-block; - float: none; - margin: 0 0 5px 0; - width: 100%; - } - .bp-user #buddypress #item-header #item-buttons div.generic-button a { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - display: block; - width: 100%; - } -} - -@media screen and (min-width: 673px) { - .bp-user #buddypress #item-header #item-header-avatar { - float: left; - overflow: hidden; - text-align: left; - width: 20%; - } - .bp-user #buddypress #item-header #item-header-content { - float: right; - width: 78%; - } - .bp-user #buddypress #item-header #item-header-content #latest-update { - margin-bottom: 20px; - } -} - -/** -*------------------------------------------------------------ -* @subsection 6.2 - Item Body: Global -*------------------------------------------------------------ -*/ -/** -*------------------------------------------------- -* @subsection 6.2.1 - item-body: Groups -*------------------------------------------------- -*/ -/** - *------------------------------ - * 6.2.1.1 - Groups Management - *------------------------------ - */ -/* Settings */ -#group-settings-form .radio strong, -#create-group-form .radio strong { - font-size: 18px; - font-size: 1.125rem; -} - -#group-settings-form .radio ul, -#create-group-form .radio ul { - color: #6b6b6b; -} - -#group-settings-form #group-creation-previous, -#create-group-form #group-creation-previous { - margin: 10px 0; -} - -/* Manage Members */ -.groups.manage-members #group-settings-form h3 { - margin-top: 40px; -} - -.groups.manage-members #group-settings-form .item-list { - background: #f7f7f7; - border-top: 0; - padding: 0 0.5em; -} - -.groups.manage-members #group-settings-form .item-list li { - border-bottom: 1px solid rgba(0, 0, 0, 0.1); -} - -.groups.manage-members #group-settings-form .item-list li:last-child { - border-bottom: 0; -} - -.groups.manage-members #group-settings-form .item-list li img, -.groups.manage-members #group-settings-form .item-list li h5 { - clear: none; - float: left; -} - -.groups.manage-members #group-settings-form .item-list li img > a, -.groups.manage-members #group-settings-form .item-list li h5 > a { - border-bottom: 0; - color: #22830c; -} - -.groups.manage-members #group-settings-form .item-list li span.small { - display: block; - float: none; - margin-top: 10px; - width: 100%; -} - -.groups.manage-members #group-settings-form .item-list li span.small a { - display: inline-block; - margin: 5px 0; - width: 100%; -} - -@media screen and (min-width: 38.75em) { - .groups.manage-members #group-settings-form .item-list li span.small a { - width: auto; - } -} - -.groups.manage-members #group-settings-form .item-list li h5 { - margin: 0; -} - -/** - *------------------------------ - * 6.2.1.2 - Group Members List - *------------------------------ - */ -#buddypress #members-group-list .item-list h5 { - display: inline-block; - margin: 0; -} - -#buddypress #members-group-list .item-list span.activity { - padding-left: 10px; -} - -#buddypress #item-body #subnav li.groups-members-search:focus, -#buddypress #item-body #subnav li.groups-members-search:hover, -#buddypress #item-body #subnav li.last:focus, -#buddypress #item-body #subnav li.last:hover { - background: none; -} - -.groups.group-members #subnav ul:before, -.groups.group-members #subnav ul:after { - content: " "; - display: table; -} - -.groups.group-members #subnav ul:after { - clear: both; -} - -.groups.group-members #subnav ul { - padding: 5px 0; -} - -@media screen and (max-width: 400px) { - .groups.group-members #subnav li { - background: #fff; - padding: 10px 0; - width: 100% !important; - } -} - -.groups.group-members #subnav li #search-members-form { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - float: left; -} - -@media screen and (max-width: 400px) { - .groups.group-members #subnav li #search-members-form { - margin: 0; - width: 100%; - } - .groups.group-members #subnav li #search-members-form label input[type="text"] { - width: 100%; - } -} - -@media screen and (min-width: 783px) { - .groups.group-members #subnav li #search-members-form { - margin-left: 3px; - } -} - -/** - *------------------------------ - * 6.2.1.3 - Groups Send Invites - *------------------------------ - */ -@media screen and (min-width: 783px) { - .send-invites #buddypress #item-body { - border-top: 1px solid #bebebe; - } -} - -@media screen and (max-width: 400px) { - .send-invites #buddypress #item-body .left-menu { - float: none; - } - .send-invites #buddypress #item-body .left-menu #invite-list { - height: auto; - width: auto; - } - .send-invites #buddypress #item-body .main-column { - margin-left: 0; - } -} - -.send-invites #buddypress #item-body li img.avatar { - display: block; - float: none; - margin: 10px auto; -} - -.send-invites #buddypress #item-body li .action { - margin-top: 10px; - text-align: left; - width: 100%; -} - -@media screen and (min-width: 38.75em) { - .send-invites #buddypress #item-body li .action { - text-align: right; - } -} - -@media screen and (min-width: 594px) { - .send-invites #buddypress #item-body #invite-list { - width: 160px; - } - .send-invites #buddypress #item-body .main-column { - margin-left: 190px; - } - .send-invites #buddypress #item-body li img.avatar { - float: left; - margin: 0 10px 0 0; - } -} - -/** -*------------------------------------------------- -* @subsection 6.2.2 - item-body: User Accounts -*------------------------------------------------- -*/ -/** - *------------------------------ - * 6.2.2.2 - Extended Profiles - *------------------------------ - */ -#buddypress .profile .bp-widget h2 { - background: #949494; - color: #fff; - padding: 0.4em 0.2em; -} - -#buddypress .profile #profile-edit-form .button-nav:before, -#buddypress .profile #profile-edit-form .button-nav:after { - content: " "; - display: table; -} - -#buddypress .profile #profile-edit-form .button-nav:after { - clear: both; -} - -#buddypress .profile #profile-edit-form ul.button-nav { - border-bottom: 1px solid rgba(0, 0, 0, 0.1); - margin-left: 0; -} - -#buddypress .profile #profile-edit-form ul.button-nav li { - float: left; - margin-bottom: 0; -} - -#buddypress .profile #profile-edit-form ul.button-nav li.current { - border: 1px solid rgba(0, 0, 0, 0.1); - border-bottom-color: #fff; - margin-bottom: -1px; -} - -#buddypress .profile #profile-edit-form ul.button-nav a { - background: none; - border: 0; - font-size: 18px; - font-size: 1.125rem; -} - -#buddypress .profile #profile-edit-form .field-visibility-settings-toggle, -#buddypress .profile #profile-edit-form .field-visibility-settings { - font-size: 14px; - font-size: 0.875rem; -} - -#buddypress .profile #profile-edit-form .field-visibility-settings-close, -#buddypress .profile #profile-edit-form .visibility-toggle-link { - background: #000; - color: #fff; - padding: 0.2em 0.5em; -} - -/** - *------------------------------ - * @subsection 6.2.2.5 - Messaging - *------------------------------ - */ -#buddypress table#message-threads { - border-left: 1px solid rgba(0, 0, 0, 0.2); - border-right: 1px solid rgba(0, 0, 0, 0.2); -} - -#buddypress table#message-threads tbody > tr:first-child td.bulk-select-check, -#buddypress table#message-threads tbody > tr:first-child td.thread-from { - border-top: 1px solid rgba(0, 0, 0, 0.2); -} - -#buddypress table#message-threads tr td { - background: #fff; - border-right: 0 !important; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - display: inline-block; - float: left; -} - -#buddypress table#message-threads tr td.thread-star, -#buddypress table#message-threads tr td.thread-options { - border-bottom-color: rgba(0, 0, 0, 0.2); - border-bottom-width: 2px; - border-left: 0; - height: 2.4em; - padding-bottom: 0.2em; - padding-top: 0.2em; -} - -@media screen and (max-width: 549px) { - #buddypress table#message-threads tr td.thread-star, - #buddypress table#message-threads tr td.thread-options { - padding-top: 0; - } -} - -#buddypress table#message-threads tr td.bulk-select-check, -#buddypress table#message-threads tr td.thread-from { - border-left: 0; - height: 2.6em; -} - -@media screen and (max-width: 320px) { - #buddypress table#message-threads tr td.bulk-select-check, - #buddypress table#message-threads tr td.thread-from { - height: 5.2em; - } -} - -#buddypress table#message-threads tr td.thread-from, -#buddypress table#message-threads tr td.thread-options { - border-left: 0; - width: -webkit-calc(100% - 30px); - width: -moz-calc(100% - 30px); - width: calc(100% - 30px); - margin-left: 0; -} - -#buddypress table#message-threads tr td.thread-info { - border-left: 0; - padding-left: 41px; - width: 100%; -} - -#buddypress table#message-threads tr td.thread-options { - text-align: right; -} - -#buddypress table#message-threads tr td.thread-options a { - font-size: 12px; - font-size: 0.75rem; - line-height: 2.2; -} - -#buddypress table#message-threads tr span.from { - display: none; -} - -#buddypress table#message-threads tr span.activity { - display: block; - float: right; - line-height: 2; -} - -@media screen and (max-width: 320px) { - #buddypress table#message-threads tr span.activity { - clear: both; - font-size: 11px; - font-size: 0.6875rem; - width: 100%; - } -} - -#buddypress table#message-threads tr.unread td { - background: #f1f4ff; - border-color: rgba(0, 0, 0, 0.2); - border-top: 0; - border-width: 1px; -} - -#buddypress table#message-threads th { - display: none; -} - -#buddypress table#message-threads th.bulk-select-all { - border-bottom: 0; - display: inline-block; - text-align: left; -} - -#buddypress table#message-threads th.bulk-select-all, -#buddypress table#message-threads td.bulk-select-check, -#buddypress table#message-threads td.thread-star { - border-right: 0; - width: 30px; -} - -#buddypress #message-thread #message-subject { - background: #4d4c4c; - color: #fff; - padding: 0.5em; -} - -#buddypress #message-thread .message-box .message-metadata { - margin-bottom: 10px; -} - -#buddypress #message-thread .message-box .message-content { - clear: left; - margin-left: 0; -} - -#buddypress .acfb-holder { - list-style: none; - margin: 0; -} - -#buddypress .acfb-holder li { - margin-left: 0; -} - -#buddypress .acfb-holder li.friend-tab { - background: #edf7fa; - border: inherit; - margin-right: 0; - padding: 0.5em; -} - -#buddypress .acfb-holder li.friend-tab span.p { - padding-left: 10px; -} - -#buddypress .acfb-holder li.friend-tab span.p:focus, #buddypress .acfb-holder li.friend-tab span.p:hover { - color: #c82b2b; - cursor: pointer; -} - -#buddypress .acfb-holder li.friend-tab a { - border-bottom: 0; - text-decoration: none; -} - -#buddypress .acfb-holder li.friend-tab a img { - display: inline; - height: 20px; - vertical-align: middle; - width: 20px !important; -} - -#buddypress #message-threads.sitewide-notices td { - width: 100%; -} - -#buddypress #message-threads.sitewide-notices td strong { - background: #4d4c4c; - color: #fff; - font-size: 16px; - font-size: 1rem; - display: block; - margin-bottom: 0.4em; - padding: 0.2em; -} - -#buddypress #message-threads.sitewide-notices td a { - display: inline-block; - line-height: initial; -} - -#buddypress #message-threads.sitewide-notices td:first-child { - display: none; -} - -#buddypress #message-threads.sitewide-notices td:first-child + td + td { - border-bottom: 0; -} - -#buddypress #message-threads.sitewide-notices td:first-child + td + td span { - line-height: 1; -} - -#buddypress #message-threads.sitewide-notices td:last-child { - border-bottom-color: rgba(0, 0, 0, 0.2); - line-height: 1; - text-align: right; -} - -#buddypress #message-threads.sitewide-notices td:last-child a:last-child { - line-height: 0; - margin-left: 0.7em; - text-indent: -999em; -} - -#buddypress #message-threads.sitewide-notices td:last-child a:last-child:after { - content: attr(title); - display: block; - line-height: initial; - text-indent: 0; -} - -.bp-user .ac_results { - background: #eee; - padding-left: 10px; -} - -.bp-user .ac_results ul { - margin: 0; -} - -.bp-user .ac_results li { - margin: 10px 0; -} - -.bp-user .ac_results li:focus, .bp-user .ac_results li:hover { - cursor: pointer; -} - -/** - *------------------------------ - * @subsection 6.2.2.6 - Settings - *------------------------------ - */ -#buddypress #settings-form > p { - font-size: 20px; - font-size: 1.25rem; -} - -#buddypress table.notification-settings td.yes, -#buddypress table.notification-settings td.no { - vertical-align: middle; -} - -#buddypress table.profile-settings { - width: 100%; -} - -#buddypress table.profile-settings th.field-group-name, -#buddypress table.profile-settings td.field-name { - width: 50%; -} - -@media screen and (min-width: 401px) { - #buddypress table.profile-settings th.field-group-name, - #buddypress table.profile-settings td.field-name { - width: 70%; - } -} - -#buddypress table.profile-settings td.field-visibility select { - width: 100%; -} - -/*------------------------------------------------------------------------------ -* @section - 7.0 - Forms - General -*------------------------------------------------------------------------------- -*/ -#buddypress input[type="text"], -#buddypress input[type="email"], -#buddypress input[type="password"], -#buddypress input[type="submit"], -#buddypress select, -#buddypress textarea { - border: 1px solid rgba(0, 0, 0, 0.2); -} - -#buddypress .standard-form input[type="text"], -#buddypress .standard-form input[type="email"], -#buddypress .standard-form input[type="password"], -#buddypress .standard-form input[type="submit"], -#buddypress .standard-form textarea { - width: 100%; -} - -#buddypress #send-reply.standard-form textarea { - width: 100%; -} - -#buddypress div.activity-comments form .ac-textarea { - background: #f7f7f7; - border: 1px solid rgba(0, 0, 0, 0.2); -} - -#buddypress div.activity-comments form .ac-textarea textarea { - background: none; - border: 0; -} - -#buddypress div.dir-search, -#buddypress div.message-search, -#buddypress li.groups-members-search { - clear: both; - float: none; - margin: 10px 0; -} - -#buddypress div.dir-search form, -#buddypress div.message-search form, -#buddypress li.groups-members-search form { - border: 1px solid #ccc; - overflow: hidden; -} - -#buddypress div.dir-search form label, -#buddypress div.message-search form label, -#buddypress li.groups-members-search form label { - float: left; - width: 80%; -} - -#buddypress div.dir-search form input[type="text"], -#buddypress div.message-search form input[type="text"], -#buddypress li.groups-members-search form input[type="text"] { - float: left; - margin: 0; - width: 80%; -} - -#buddypress div.dir-search form input[type="text"], -#buddypress div.dir-search form input[type="submit"], -#buddypress div.message-search form input[type="text"], -#buddypress div.message-search form input[type="submit"], -#buddypress li.groups-members-search form input[type="text"], -#buddypress li.groups-members-search form input[type="submit"] { - border: 0; - font-size: 14px; - font-size: 0.875rem; - line-height: inherit; -} - -#buddypress div.dir-search form input[type="text"], -#buddypress div.message-search form input[type="text"], -#buddypress li.groups-members-search form input[type="text"] { - border-right: 1px solid #ccc; - padding: 0.2em 0 0.2em 0.2em; -} - -#buddypress div.dir-search form input[type="submit"], -#buddypress div.message-search form input[type="submit"], -#buddypress li.groups-members-search form input[type="submit"] { - float: right; - font-weight: 400; - padding: 0.2em 1em; - text-align: center; - text-transform: none; - width: 20%; -} - -@media screen and (min-width: 401px) { - #buddypress div.dir-search, - #buddypress div.message-search { - clear: none; - float: right; - } - #buddypress div.dir-search form label, - #buddypress div.dir-search form input[type="submit"], - #buddypress div.dir-search form input[type="text"], - #buddypress div.message-search form label, - #buddypress div.message-search form input[type="submit"], - #buddypress div.message-search form input[type="text"] { - width: auto; - } - #buddypress div.message-search { - margin: 3px 0 0; - } - #buddypress li.groups-members-search form label, - #buddypress li.groups-members-search form input[type="submit"], - #buddypress li.groups-members-search form input[type="text"] { - width: auto; - } -} - -/** -*------------------------------------------------------------------------------- -* @section 8.0 - Tables General -*------------------------------------------------------------------------------- -*/ -#buddypress table { - border-color: rgba(0, 0, 0, 0.2); -} - -#buddypress table .alt a { - color: #22820c; -} - -/*__ User Account tables __*/ -/** -*------------------------------------------------------------------------------- -* @section 9.0 - Error / Success messages -*------------------------------------------------------------------------------- -*/ -#buddypress div#message p { - font-size: 18px; - font-size: 1.125rem; - font-weight: 700; -} - -#buddypress div#message.info p { - background: #c6e4ee; - border: 1px solid #78bed6; - color: #1e5264; -} - -#buddypress div#message.updated p { - background: #dee6b2; - border: 1px solid #becc66; - color: #454d19; -} - -.delete-group #buddypress div#message.info p { - background: #db7e7e; - border: 1px solid #be3535; - color: #1f0808; -} - -/** -*------------------------------------------------------------------------------- -* @section 10.0 - Ajax Loading, Widgets, General classes -*------------------------------------------------------------------------------- -*/ diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/053/053.test.js b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/053/053.test.js deleted file mode 100644 index dafb5a7e165d70..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/053/053.test.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -const stylelint = require( 'stylelint' ), - systemTestUtils = require( '../systemTestUtils.js' ); - -it( '053', () => { - return stylelint.lint({ - files: [systemTestUtils.caseStylesheetGlob( '053' )], - configFile: systemTestUtils.caseConfig( '053' ), - }).then( ({ results }) => { - expect( systemTestUtils.prepResults( results ) ).toMatchSnapshot(); - }); -}); diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/053/__snapshots__/053.test.js.snap b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/053/__snapshots__/053.test.js.snap deleted file mode 100644 index fe8a421328c99c..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/053/__snapshots__/053.test.js.snap +++ /dev/null @@ -1,842 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`053 1`] = ` -Array [ - Object { - "deprecations": Array [], - "errored": true, - "ignored": undefined, - "invalidOptionWarnings": Array [], - "parseErrors": Array [], - "source": "053/stylesheet.css", - "warnings": Array [ - Object { - "column": 1, - "line": 56, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 292, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 692, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 966, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 1000, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 1221, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 2, - "line": 1459, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 2, - "line": 85, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 91, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 97, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 106, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 109, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 112, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 117, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 124, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 324, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 330, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 336, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 381, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 388, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 394, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 399, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 403, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 409, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 415, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 418, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 424, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 429, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 432, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 439, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 443, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 454, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 460, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 549, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 565, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 576, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 599, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 613, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 620, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 625, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 631, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 649, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 669, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 676, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 702, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 728, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 731, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 781, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 786, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 789, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 793, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 837, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 875, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 896, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 946, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 950, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 953, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 979, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 987, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 990, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1006, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1010, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1022, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1042, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1049, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1058, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1066, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1070, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1074, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1088, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1094, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1098, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1102, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1106, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1109, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1112, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1128, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1138, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1155, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1162, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1166, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1169, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1173, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1202, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1206, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1209, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1307, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1326, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1338, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1342, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1378, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1382, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1389, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1393, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1410, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1542, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1583, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1638, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1666, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1707, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1867, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 2017, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 2026, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 2032, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 2095, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 63, - "line": 183, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 52, - "line": 330, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 34, - "line": 476, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 41, - "line": 529, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 44, - "line": 534, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 46, - "line": 850, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 48, - "line": 855, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 80, - "line": 936, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 61, - "line": 1756, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 30, - "line": 1837, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 3, - "line": 679, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '0 0 10px 0' instead of '0 0 10px' (shorthand-property-no-redundant-values)", - }, - Object { - "column": 2, - "line": 892, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '20px 0 20px' instead of '20px 0' (shorthand-property-no-redundant-values)", - }, - Object { - "column": 2, - "line": 1597, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '10px 0 0 0' instead of '10px 0 0' (shorthand-property-no-redundant-values)", - }, - ], - }, -] -`; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/053/config.json b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/053/config.json deleted file mode 100644 index a8af7d5dcb61b9..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/053/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../index.js" -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/053/stylesheet.css b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/053/stylesheet.css deleted file mode 100644 index c315ff09ff0217..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/053/stylesheet.css +++ /dev/null @@ -1,2194 +0,0 @@ -/*-------------------------------------------------------------- - -This is the BuddyPress companion stylesheet for -the WordPress twentyseventeen theme. - -This sheet supports the primary BuddyPress styles in buddypress.css - -If you are running as a child theme of twentyseventeen this stylesheet will be -loaded by default. If you want to modify the styles the normal BP Theme Compat -hierarchy works and you can copy the file to buddypress/css/ or community/css/ -in your child themes root & either start over or modify the rulesets. - -If you do not require the styles you can dequeue them from the themes -functions file. - -Please see this codex article for more information: -http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ - ----------------------------------------------------------------- ->>> TABLE OF CONTENTS: ----------------------------------------------------------------- -1.0 Theme Structural Elements & overrides -2.0 - Navigation - General - 2.1 - Navs - Object Nav / Sub Nav (item-list-tabs) - 2.2 - Pagination -3.0 - Images -4.0 - BP Lists / Loops Generic - 4.1 - Activity Loop - 4.1.1 Whats New Activity - 4.1.2 - Activity Listing - 4.1.3 - Activity Comments - 4.2 - Members Loop - 4.3 - Groups Loop - 4.4 - Blogs Loop -5.0 - Directories - Members, Groups, Blogs, Register, activation -6.0 - Single Item screens: User Account & Single Group Screens - 6.1 - Item Headers: Global - 6.1.1 - item-header: Groups - 6.1.2 - item-header: User Accounts - 6.2 - Item Body: Global - 6.2.1 - item-body: Groups - 6.2.1.1 - Management settings screens - 6.2.1.2 - Group members list - 6.2.2 - item-body: User Accounts - 6.2.2.1 - classes, pag, filters - 6.2.2.2 - Extended Profiles - 6.2.2.3 - Groups - 6.2.2.4 - friends - 6.2.2.5 - Private Messaging Threads - 6.2.2.6 - Settings -7.0 - Forms - General -8.0 - Tables - General -9.0 - Error / Success Messages -10.0 - Ajax Loading, Widgets, General classes ---------------------------------------------------------------*/ -/** -*------------------------------------------------------------------------------- -* @section 1.0 - Theme - Structural Elements. overrides, Globals -*------------------------------------------------------------------------------- -*/ -.buddypress div.clear { - display: none; -} - -.buddypress ul.item-list h1, -.buddypress ul.item-list h2, -.buddypress ul.item-list h3, -.buddypress ul.item-list h4, -.buddypress ul.item-list h5, -.buddypress ul.item-list h6 { - clear: none; - padding: 0; -} - -.buddypress #page a { - box-shadow: none; - text-decoration: none !important; -} - -.buddypress .entry-title { - text-align: center; -} - -@media screen and (min-width: 55em) { - .buddypress .entry-title { - text-align: left; - } -} - -@media screen and (min-width: 55em) { - .buddypress.bp-user.page .site-content, - .buddypress.single-item.groups .site-content, - .buddypress.groups.group-create .site-content, - .directory.buddypress.page-one-column .site-content { - padding-top: 40px; - } - .buddypress.bp-user.page .entry-header, - .buddypress.single-item.groups .entry-header, - .buddypress.groups.group-create .entry-header, - .directory.buddypress.page-one-column .entry-header { - margin: 10px 0; - } -} - -@media screen and (min-width: 48em) { - body.buddypress.page.page-two-column #primary .entry-header { - width: 30%; - } - body.buddypress.page.page-two-column #primary .entry-content { - width: 68%; - } - body.buddypress:not(.has-sidebar) #primary.content-area, - body.buddypress:not(.page-two-column) #primary.content-area { - max-width: 100%; - width: 100%; - } - body.buddypress:not(.has-sidebar) #primary.content-area .entry-content, - body.buddypress:not(.has-sidebar) #primary.content-area .content-bottom-widgets, - body.buddypress:not(.page-two-column) #primary.content-area .entry-content, - body.buddypress:not(.page-two-column) #primary.content-area .content-bottom-widgets { - margin-left: 0; - margin-right: 0; - } - body.buddypress:not(.has-sidebar) .sidebar, - body.buddypress:not(.page-two-column) .sidebar { - float: left; - margin-left: 75%; - padding: 0; - width: 25%; - } -} - -body.colors-dark #buddypress #group-create-tabs.item-list-tabs li.selected, -body.colors-dark #buddypress #group-create-tabs.item-list-tabs li.current { - border-bottom-color: #222; -} - -body.colors-dark #buddypress #group-create-tabs.item-list-tabs li.selected a, -body.colors-dark #buddypress #group-create-tabs.item-list-tabs li.current a { - color: inherit; -} - -body.colors-dark #buddypress div.item-list-tabs ul li.selected a, -body.colors-dark #buddypress div.item-list-tabs ul li.current a { - background: none; - color: inherit; -} - -body.colors-dark #buddypress #object-nav li:not(.current):focus a, -body.colors-dark #buddypress #object-nav li:not(.current):hover a { - color: #555; -} - -body.colors-dark #buddypress #subnav.item-list-tabs ul { - border-bottom: 1px solid rgba(234, 234, 234, 0.9); - margin-bottom: 20px; -} - -body.colors-dark #buddypress #subnav.item-list-tabs ul li.last { - border-top: 1px solid rgba(234, 234, 234, 0.9); -} - -body.colors-dark #buddypress #subnav.item-list-tabs select option { - background-color: #333; -} - -body.colors-dark #buddypress .item-list div.meta { - color: #ddd; -} - -body.colors-dark #buddypress .item-list div.item-desc, -body.colors-dark #buddypress .item-list .activity-header p, -body.colors-dark #buddypress .item-list .activity-comments ul, -body.colors-dark #buddypress .item-list .acomment-meta { - color: #eee; -} - -body.colors-dark #buddypress .item-list .activity-meta a, -body.colors-dark #buddypress .item-list .action a { - background: #fafafa; -} - -body.colors-dark #buddypress .item-list .activity-meta a:focus, body.colors-dark #buddypress .item-list .activity-meta a:hover, -body.colors-dark #buddypress .item-list .action a:focus, -body.colors-dark #buddypress .item-list .action a:hover { - background: #fff; -} - -body.colors-dark #buddypress #latest-update { - color: #eee; -} - -body.colors-dark #buddypress div.pagination * { - color: #ddd; -} - -body.colors-dark #buddypress #item-header .user-nicename { - color: #eee; -} - -body.colors-dark #buddypress #item-body table thead tr, -body.colors-dark #buddypress #item-body table thead th { - background: none; - color: #eee; -} - -body.colors-dark #buddypress #item-body table tr.alt td { - background: none; - color: #eee; -} - -body.colors-dark #buddypress #item-body table .field-visibility-settings, -body.colors-dark #buddypress #item-body table .field-visibility-settings-notoggle { - color: #eee; -} - -body.colors-dark #buddypress #item-body fieldset { - background: none; -} - -body.colors-dark #buddypress #item-body .checkbox label, -body.colors-dark #buddypress #item-body .radio label { - color: #eee; -} - -body.colors-dark #buddypress #item-body div#invite-list { - background: none; -} - -body.colors-dark.group-members #buddypress #subnav li { - background: none; -} - -body.colors-dark.group-members #buddypress #subnav .groups-members-search form { - margin-bottom: 20px; - margin-top: 0; -} - -.directory.colors-dark #buddypress #subnav.item-list-tabs ul { - border-bottom: 0; - border-top: 0; -} - -.directory.colors-dark #buddypress #subnav.item-list-tabs ul li.last.filter { - border-top: 0; -} - -.directory.colors-dark #buddypress div.activity ul.item-list { - border-top: 0; -} - -body.colors-light #buddypress div.item-list-tabs ul { - background-color: #fafafa; -} - -body.colors-light #buddypress div#subnav.item-list-tabs ul { - background-color: #f7f7f7; -} - -body.colors-light #buddypress div#subnav.item-list-tabs ul li.last { - background: #fff; -} - -body.colors-light #buddypress .item-list .activity-header p { - background-color: #f7f7f7; - color: #878787; -} - -body.colors-light #buddypress .item-list .activity-comments .acomment-meta { - color: #737373; -} - -body.colors-light #buddypress #item-body .profile h2 { - background: #878787; - color: #fff; -} - -body.colors-light #buddypress table tr.alt td { - background: #f5f5f5; - color: #333; -} - -body.colors-light #buddypress div#invite-list { - background: #fafafa; -} - -/** -*------------------------------------------------------------------------------- -* @section 2.0 - Navigation - General -*------------------------------------------------------------------------------- -*/ -/** -*---------------------------------------------------------- -* @section 2.1 - Navs Object Nav / Sub Nav (item-list-tabs) -* -* The main navigational elements for all BP screens -*---------------------------------------------------------- -*/ -#buddypress div.item-list-tabs ul li.selected a { - background: inherit; - opacity: 1; -} - -#buddypress div.item-list-tabs ul { - border-bottom: 1px solid rgba(234, 234, 234, 0.9); - overflow: hidden; - padding: 0; -} - -#buddypress div.item-list-tabs ul li a span { - border-radius: 25%; -} - -/*__ Horizontal menus __*/ -#buddypress #object-nav ul { - overflow: hidden; -} - -#buddypress #object-nav ul li { - float: none; -} - -@media screen and (max-width: 38.75em) { - #buddypress #object-nav ul li:not(:last-child) { - border-bottom: 1px solid #eaeaea; - } -} - -@media screen and (max-width: 38.75em) { - #buddypress #object-nav ul li:not(.selected):focus, #buddypress #object-nav ul li:not(.selected):hover { - background: #f4f2df; - } -} - -@media screen and (min-width: 38.75em) { - #buddypress #object-nav ul li { - float: left; - } -} - -#buddypress div#subnav.item-list-tabs { - margin-top: 0; -} - -#buddypress div#subnav.item-list-tabs ul { - border-bottom: 0; - margin-top: 5px; - padding: 0; -} - -#buddypress div#subnav.item-list-tabs ul li.last { - margin-top: 0; - padding: 5px 5px 5px 0; - width: 100%; -} - -#buddypress div#subnav.item-list-tabs ul li.last select, -#buddypress div#subnav.item-list-tabs ul li.last select:focus { - background: transparent; - border: 0; - outline: 0; -} - -#buddypress div#subnav.item-list-tabs ul li.last label { - display: inline; -} - -#buddypress div#subnav.item-list-tabs ul li.last select, -#buddypress div#subnav.item-list-tabs ul li.last label, -#buddypress div#subnav.item-list-tabs ul li.last option { - font-size: 14px; - font-size: 0.875rem; -} - -#buddypress div#subnav.item-list-tabs ul li.last select { - font-style: italic; - height: auto; -} - -@media screen and (min-width: 38.75em) { - #buddypress div#subnav.item-list-tabs ul li.last { - text-align: right; - } -} - -/*__ Vertical menu User Account / Group single screens __*/ -@media screen and (min-width: 55em) { - body:not(.page-two-column) #buddypress #object-nav { - border-right: 1px solid #ddd; - float: left; - margin-right: -1px; - width: 200px; - } - body:not(.page-two-column) #buddypress #object-nav ul { - background: none; - border-bottom: 0; - padding: 0; - } - body:not(.page-two-column) #buddypress #object-nav ul li { - float: none; - overflow: hidden; - } - body:not(.page-two-column) #buddypress #object-nav ul li span { - background: #fff; - border-radius: 10%; - float: right; - margin-right: 2px; - } - body:not(.page-two-column) #buddypress #item-body { - border-left: 1px solid #ddd; - overflow: hidden; - padding: 0 0 0 20px; - width: auto; - } - body:not(.page-two-column) #buddypress #item-body #subnav { - margin: 0 0 0 -20px; - } - body:not(.page-two-column) #buddypress #item-body #subnav ul { - margin-top: 0; - } -} - -@media screen and (min-width: 48em) { - #buddypress #group-create-tabs.item-list-tabs ul:before, - #buddypress #group-create-tabs.item-list-tabs ul:after { - content: " "; - display: table; - } - #buddypress #group-create-tabs.item-list-tabs ul:after { - clear: both; - } - #buddypress #group-create-tabs.item-list-tabs ul { - background: none; - border: 0; - border-bottom: 1px solid #ddd; - overflow: visible; - padding-bottom: 0; - } - #buddypress #group-create-tabs.item-list-tabs ul li { - float: left; - width: auto; - } - #buddypress #group-create-tabs.item-list-tabs ul li.selected, - #buddypress #group-create-tabs.item-list-tabs ul li.current { - border: 1px solid #ddd; - border-bottom-color: #fff; - -webkit-border-top-right-radius: 4px; - border-top-right-radius: 4px; - -webkit-border-top-left-radius: 4px; - border-top-left-radius: 4px; - background-clip: padding-box; - margin-bottom: -1px; - } - #buddypress #group-create-tabs.item-list-tabs ul li.selected a, - #buddypress #group-create-tabs.item-list-tabs ul li.current a { - background: none; - color: #333; - outline: none; - } - #buddypress #subnav ul { - border-bottom: 0; - } -} - -/** -*---------------------------------------------------------- -* @section 2.2 - Pagination -*---------------------------------------------------------- -*/ -#buddypress div.pagination { - box-shadow: none; - font-weight: 400; - min-height: 0; -} - -#buddypress div.pagination:before, #buddypress div.pagination:after { - height: 0; - width: 0; -} - -#buddypress div.pagination .pag-count { - margin-left: 0; -} - -#buddypress div.pagination .pagination-links { - margin-right: 0; -} - -#buddypress div.pagination .pagination-links span, -#buddypress div.pagination .pagination-links a { - height: auto; - line-height: 1; - padding: 5px; -} - -#buddypress div.pagination .pagination-links .prev, -#buddypress div.pagination .pagination-links .next { - background-color: transparent; - color: inherit; - overflow: visible; - width: auto; -} - -#buddypress div.pagination .pagination-links .prev:before, -#buddypress div.pagination .pagination-links .next:before { - display: none; -} - -#buddypress div.pagination .pagination-links .prev { - left: auto; - position: static; -} - -#buddypress div.pagination .pagination-links .next { - position: static; - right: auto; -} - -/** -*------------------------------------------------------------------------------- -* @section 4.0 - BP Lists / Loops Generic -*------------------------------------------------------------------------------- -*/ -#buddypress .item-list .activity-header, -#buddypress .item-list .activity-meta { - font-family: "Libre Franklin", "Helvetica Neue", helvetica, arial, sans-serif; -} - -#buddypress .activity-meta .button:focus, #buddypress .activity-meta .button:hover { - background: inherit; - color: #000; -} - -#buddypress .action .generic-button a:focus, #buddypress .action .generic-button a:hover { - background: inherit; - color: #000; -} - -#buddypress ul.item-list li { - overflow: hidden !important; -} - -#buddypress ul.item-list li .item-avatar { - margin-bottom: 10px; - text-align: center; -} - -@media screen and (min-width: 38.75em) { - #buddypress ul.item-list li .item-avatar { - margin-bottom: 0; - } -} - -#buddypress ul.item-list li .item-avatar a { - border-bottom: 0; -} - -#buddypress ul.item-list li .item-avatar img.avatar { - display: inline-block; - float: none; - margin-bottom: 10px; -} - -@media screen and (min-width: 30em) { - #buddypress ul.item-list li .item-avatar img.avatar { - display: block; - float: left; - } -} - -#buddypress ul.item-list li .item { - overflow: hidden; -} - -@media screen and (min-width: 48em) { - #buddypress ul.item-list li .item { - margin-left: 15%; - } -} - -#buddypress ul.item-list li .item span.activity { - font-style: italic; -} - -#buddypress ul.item-list li .item .item-desc { - margin-left: 0; - width: 94%; -} - -#buddypress ul.item-list li .item .item-title { - font-size: 18px; - font-size: 1.125rem; - line-height: 1.2; - text-align: center; - width: 100%; -} - -@media screen and (min-width: 30em) { - #buddypress ul.item-list li .item .item-title { - text-align: left; - } -} - -#buddypress ul.item-list li .item .item-title .update { - display: block; - font-size: 13px; - font-size: 0.8125rem; - padding: 10px 0; - text-align: left; -} - -@media screen and (min-width: 55em) { - #buddypress ul.item-list li .item .item-title .update { - font-size: 14px; - font-size: 0.875rem; - } -} - -@media screen and (min-width: 55em) { - #buddypress ul.item-list li .item-avatar, - #buddypress ul.item-list li .item, - #buddypress ul.item-list li .action { - float: left; - } - #buddypress ul.item-list li .item { - left: 5%; - margin-left: 0; - position: relative; - width: 55%; - } - #buddypress ul.item-list li .item .item-title { - font-size: 22px; - font-size: 1.375rem; - } -} - -#buddypress ul.item-list li div.action { - clear: left; - float: none; - margin-bottom: -20px; - margin-left: 0; - padding: 20px 0 5px; - position: relative; - text-align: left; - top: 0; -} - -@media screen and (min-width: 55em) { - #buddypress ul.item-list li div.action { - clear: none; - float: right; - margin-bottom: 0; - padding: 0; - } -} - -#buddypress ul.item-list li div.action div { - display: inline-block; - margin: 10px 0; - width: 100%; -} - -#buddypress ul.item-list li div.action div a { - display: block; - width: 100%; -} - -@media screen and (min-width: 30em) { - #buddypress ul.item-list li div.action div { - margin: 0 10px 10px 0; - width: auto; - } -} - -@media screen and (min-width: 55em) { - #buddypress ul.item-list li div.action div { - clear: right; - float: right; - margin: 0 0 10px 0; - } -} - -#buddypress ul.item-list li div.action .meta { - font-style: italic; -} - -/** -*---------------------------------------------------------- -* @section 4.1 - Activity -*---------------------------------------------------------- -*/ -/** -*----------------------------------------------------- -* @section 4.1.1 - Activity Whats New -*----------------------------------------------------- -*/ -#buddypress form#whats-new-form p.activity-greeting { - line-height: 1.4; -} - -@media screen and (max-width: 46.25em) { - #buddypress form#whats-new-form #whats-new-content { - clear: left; - margin: 10px 0 20px; - padding: 10px 0 0; - } -} - -#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box { - border: 1px solid rgba(190, 190, 190, 0.5); - float: left; - line-height: 1.5; - margin-top: 12px; - padding-left: 0.2em; - width: 100%; -} - -#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box select { - background: none; - border: 0; - float: right; - margin: 0; - min-height: 1.5em; - padding-left: 0.4em; -} - -@media screen and (min-width: 30em) { - #buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box { - width: auto; - } - #buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-submit { - float: right; - } -} - -#buddypress #item-body form#whats-new-form { - margin: 40px 0; -} - -/** -*----------------------------------------------------- -* @section 4.1.2 - Activity Listing -*----------------------------------------------------- -*/ -#buddypress #activity-stream li { - padding: 25px 0 15px; -} - -#buddypress #activity-stream li .activity-avatar { - float: none; - text-align: center; -} - -#buddypress #activity-stream li .activity-avatar a { - display: inline-block; -} - -#buddypress #activity-stream li .activity-avatar a img.avatar { - display: inline; - float: none; - height: 60px; - margin-bottom: 20px; - margin-left: 0; - width: 60px; -} - -#buddypress #activity-stream li .activity-content { - margin-left: 0; -} - -#buddypress #activity-stream li .activity-content .activity-header { - font-size: 14px; - font-size: 0.875rem; -} - -#buddypress #activity-stream li .activity-content .activity-header a { - color: #0075c4; -} - -@media screen and (min-width: 48em) { - #buddypress #activity-stream li .activity-avatar { - float: left; - margin-right: 10px; - text-align: left; - } - #buddypress #activity-stream li .activity-avatar a { - border-bottom: 0; - } - #buddypress #activity-stream li .activity-content { - margin: 0; - overflow: hidden; - } - #buddypress #activity-stream li .activity-content .activity-header { - font-size: 16px; - font-size: 1rem; - } -} - -#buddypress #activity-stream li.mini .activity-avatar a img.avatar { - height: 30px; - margin-left: 15px; - width: 30px; -} - -#buddypress #activity-stream li.mini .activity-content .activity-header { - font-size: 14px; - font-size: 0.875rem; -} - -#buddypress #activity-stream .activity-content { - margin-top: -12px; -} - -#buddypress #activity-stream .activity-content .activity-header { - margin-right: 0; -} - -#buddypress #activity-stream .activity-content .activity-header p { - border: 1px solid rgba(234, 234, 234, 0.6); - margin-top: 0; - padding: 0 0.2em; -} - -#buddypress #activity-stream .activity-content .activity-header img.avatar { - box-shadow: none; - display: inline-block; - margin: 0 5px !important; - vertical-align: middle; -} - -#buddypress #activity-stream .activity-content .activity-meta a { - display: block; - margin-bottom: 5px; -} - -@media screen and (min-width: 30em) { - #buddypress #activity-stream .activity-content .activity-meta a { - display: inline-block; - margin-bottom: 0; - width: auto; - } -} - -#buddypress #activity-stream .load-more { - background: #f7f7f7; - border: 1px solid transparent; - padding: 10px; -} - -#buddypress #activity-stream .load-more:focus, #buddypress #activity-stream .load-more:hover { - background: #f4f4f4; - border: 1px solid rgba(159, 209, 226, 0.3); -} - -#buddypress #activity-stream .load-more:focus a, #buddypress #activity-stream .load-more:hover a { - font-style: italic; -} - -#buddypress #activity-stream .load-more a { - display: block; -} - -/* Single activity view - activity permalink */ -.activity-permalink #buddypress #activity-stream li.activity-item { - padding: 20px; -} - -.activity-permalink #buddypress #activity-stream li.mini .activity-header { - font-size: 16px; - font-size: 1rem; - margin-bottom: 40px; -} - -@media screen and (min-width: 48em) { - .activity-permalink #buddypress #activity-stream li.mini .activity-header { - font-size: 20px; - font-size: 1.25rem; - } -} - -.activity-permalink #buddypress #activity-stream li.mini .activity-header p { - padding: 20px; -} - -/** -*----------------------------------------------------- -* @section 4.1.3 - Activity Comments -*----------------------------------------------------- -*/ -#buddypress #activity-stream .activity-comments { - border-left: 1px solid #eaeaea; - margin: 20px 0 20px; -} - -@media screen and (min-width: 30em) { - #buddypress #activity-stream .activity-comments { - margin-left: 20px; - } -} - -#buddypress #activity-stream .activity-comments ul { - margin: 15px 0 0 2px; -} - -#buddypress #activity-stream .activity-comments ul li { - border-top: 1px solid #bebebe; -} - -#buddypress #activity-stream .activity-comments ul a { - color: #0077c7; -} - -#buddypress #activity-stream .activity-comments .acomment-meta { - border-bottom: 1px solid #eaeaea; -} - -#buddypress #activity-stream .activity-comments .ac-form input[type="submit"], -#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel { - color: rgba(51, 51, 51, 0.8); - display: inline-block; - font-family: inherit; - font-size: 12px; - font-size: 0.75rem; - font-weight: 400; - line-height: 1.2; - padding: 4px 10px; - text-transform: lowercase; - width: 100px; -} - -#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel { - border: 1px solid rgba(190, 190, 190, 0.7); - text-align: center; -} - -#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:focus, #buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:hover { - background: #ededed; -} - -/** -*---------------------------------------------------------- -* @section 4.2 - Members Loop -*---------------------------------------------------------- -*/ -@media screen and (min-width: 55em) { - #buddypress #members-list li .item-avatar, - #buddypress #members-list li .item { - float: left; - } - #buddypress #members-list li .action { - float: right; - } - #buddypress #members-list li.is-current-user .item { - float: none; - left: 0; - padding-left: 5%; - width: auto; - } -} - -/** -*------------------------------------------------------------------------------- -* @section 5.0 - Directories -*------------------------------------------------------------------------------- -*/ -/** -*----------------------------------------------------------- -* @subsection Registration -*----------------------------------------------------------- -*/ -#buddypress #signup_form.standard-form #profile-details-section, -#buddypress #signup_form.standard-form #basic-details-section, -#buddypress #signup_form.standard-form #blog-details-section { - float: none; - width: 100%; -} - -@media screen and (min-width: 38.75em) { - #buddypress #signup_form.standard-form #profile-details-section, - #buddypress #signup_form.standard-form #basic-details-section, - #buddypress #signup_form.standard-form #blog-details-section { - width: 48%; - } -} - -@media screen and (min-width: 30em) { - #buddypress #signup_form.standard-form #profile-details-section { - float: right; - } - #buddypress #signup_form.standard-form #basic-details-section { - float: left; - } -} - -/** -*------------------------------------------------------------------------------- -* @section 6.0 - Single Item screens: User Account & Single Group Screens -*------------------------------------------------------------------------------- -*/ -/** -*----------------------------------------------------------- -* @subsection 6.1 - Item Header Global -*----------------------------------------------------------- -*/ -@media screen and (min-width: 48em) { - .bp-user.page-two-column #buddypress #cover-image-container #item-header-cover-image #item-header-content { - margin-left: 140px; - margin-top: -100px; - } - .single-item.groups.page-two-column #buddypress #cover-image-container #item-header-cover-image #item-header-content { - margin-left: 10px; - } -} - -.bp-user #buddypress #item-header-cover-image .user-nicename, -.single-item.groups #buddypress #item-header-cover-image .user-nicename { - color: #333; - text-shadow: none; -} - -@media screen and (min-width: 48em) { - .bp-user #buddypress #item-header-cover-image .user-nicename, - .single-item.groups #buddypress #item-header-cover-image .user-nicename { - color: #fff; - text-shadow: 0 0 3px rgba(0, 0, 0, 0.8); - } -} - -.bp-user #buddypress #item-header-content #item-meta, -.single-item.groups #buddypress #item-header-content #item-meta { - font-size: 14px; - font-size: 0.875rem; - text-align: left; -} - -.bp-user #buddypress #item-header-content #item-meta p, -.single-item.groups #buddypress #item-header-content #item-meta p { - margin-bottom: 0.5em; -} - -@media screen and (max-width: 46.25em) { - .bp-user main header.entry-header, - .single-item.groups main header.entry-header { - padding-bottom: 1rem; - } -} - -@media screen and (max-width: 38.75em) { - .bp-user h1, - .bp-user #item-header-content, - .single-item.groups h1, - .single-item.groups #item-header-content { - text-align: center; - } -} - -@media screen and (max-width: 46.25em) { - .bp-user #buddypress #item-header .generic-button, - .single-item.groups #buddypress #item-header .generic-button { - float: none; - margin: 1.5em 0 0; - } -} - -@media screen and (max-width: 38.75em) { - .bp-user #buddypress h1, - .single-item.groups #buddypress h1 { - margin-bottom: 0; - } - .bp-user #buddypress #item-header-avatar img.avatar, - .single-item.groups #buddypress #item-header-avatar img.avatar { - margin-right: 0; - } - .bp-user #buddypress #item-header-content, - .single-item.groups #buddypress #item-header-content { - width: 100%; - } -} - -/** -*----------------------------------------------------- -* @subsection 6.1.1 - item-header Groups -* -* Group Specific Item Header -*----------------------------------------------------- -*/ -@media screen and (max-width: 46.25em) { - .single-item.groups #buddypress #item-header #item-meta { - margin-bottom: 20px; - } -} - -@media screen and (max-width: 38.75em) { - .single-item.groups #buddypress div#item-header { - display: flex; - flex-direction: column; - } - .single-item.groups #buddypress div#item-header #item-header-avatar { - order: 1; - text-align: center; - } - .single-item.groups #buddypress div#item-header #item-header-avatar a img { - display: inline-block; - float: none; - } - .single-item.groups #buddypress div#item-header #item-header-content { - order: 2; - } - .single-item.groups #buddypress div#item-header #item-actions { - order: 3; - } - .single-item.groups #buddypress div#item-header #item-actions h2 { - border-bottom: 1px solid #eaeaea; - text-align: center; - } -} - -.single-item.groups #buddypress div#item-header { - padding-bottom: 40px; -} - -.single-item.groups #buddypress div#item-header div#item-actions { - margin: 0; - width: 100%; -} - -@media screen and (min-width: 38.75em) { - .single-item.groups #buddypress div#item-header div#item-actions { - border-left: 1px solid #eaeaea; - clear: none; - float: right; - padding-left: 0.2em; - width: 30%; - } -} - -@media screen and (min-width: 48em) { - .single-item.groups #buddypress div#item-header div#item-actions { - width: 40%; - } -} - -.single-item.groups #buddypress div#item-header div#item-actions ul { - margin-top: 0; - padding-left: 0; -} - -.single-item.groups #buddypress div#item-header div#item-actions h2 { - font-size: 14px; - font-size: 0.875rem; - padding: 0.2em; -} - -@media screen and (min-width: 48em) { - .single-item.groups #buddypress div#item-header div#item-actions h2 { - font-size: 16px; - font-size: 1rem; - } -} - -@media screen and (min-width: 48em) { - .single-item.groups #buddypress div#item-header #item-header-avatar, - .single-item.groups #buddypress div#item-header #item-header-content { - float: left; - } - .single-item.groups #buddypress div#item-header #item-header-avatar { - width: 21%; - } - .single-item.groups #buddypress div#item-header #item-header-content { - margin-left: 4%; - width: 40%; - } - .single-item.groups #buddypress div#item-header div#item-actions { - float: right; - width: 28%; - } -} - -/** -*----------------------------------------------------- -* @subsection 6.1.2 - Item Header User Accounts -* -* User Accounts Specific Item Header -*----------------------------------------------------- -*/ -.bp-user #buddypress #item-header { - padding: 20px 0; -} - -.bp-user #buddypress #item-header #item-header-avatar { - text-align: center; - width: 100%; -} - -.bp-user #buddypress #item-header #item-header-avatar img.avatar, -.bp-user #buddypress #item-header #item-header-avatar a { - display: inline-block; - float: none; -} - -@media screen and (min-width: 48em) { - .bp-user #buddypress #item-header #item-header-avatar { - float: left; - width: 20%; - } - .bp-user #buddypress #item-header #item-header-avatar a { - float: left; - } - .bp-user #buddypress #item-header #item-header-content { - float: right; - margin-right: 5%; - width: 69%; - } -} - -/** -*----------------------------------------------------------- -* @subsection 6.2 - Item Body: Global -*----------------------------------------------------------- -*/ -/** -*---------------------------------------------------- -* @subsection 6.2.1 - Item Body Groups -* -* Groups specific item body rules - screens -*---------------------------------------------------- -*/ -.groups.single-item.members #buddypress #subnav.item-list-tabs ul { - background: none; - border-top: 0; -} - -/** -*----------------------------------------- -* @subsection 6.2.1.1 - Group Management -*----------------------------------------- -*/ -.groups #group-settings-form h3 { - background: #555; - color: #fff; - padding: 0.2em; -} - -.groups.edit-details #group-settings-form label { - margin-bottom: 0; - padding: 0.2em; - width: 80%; -} - -.groups.edit-details #group-settings-form textarea + p label { - background: none; - color: inherit; - font-size: 14px; - font-size: 0.875rem; - width: auto; -} - -.groups.edit-details #group-settings-form textarea { - height: auto; - min-height: 100px; - overflow: auto; -} - -.groups.group-settings #group-settings-form div.radio label { - border: 1px solid #eaeaea; - padding: 0.2em; -} - -.groups.group-settings #group-settings-form div.radio label ul { - color: rgba(51, 51, 51, 0.6); - font-size: 14px; - font-size: 0.875rem; -} - -.groups.group-avatar form > p { - margin-top: 20px; -} - -.groups.manage-members #group-settings-form .item-list li { - border-bottom: 1px solid #eaeaea; -} - -.groups.manage-members #group-settings-form .item-list li img, -.groups.manage-members #group-settings-form .item-list li h5 { - float: left; -} - -.groups.manage-members #group-settings-form .item-list li img > a, -.groups.manage-members #group-settings-form .item-list li h5 > a { - border-bottom: 0; -} - -.groups.manage-members #group-settings-form .item-list li span.small { - clear: left; - display: block; - float: none; - margin-top: 10px; -} - -.groups.manage-members #group-settings-form .item-list li span.small a { - display: inline-block; - margin: 5px 0; - width: 100%; -} - -@media screen and (min-width: 38.75em) { - .groups.manage-members #group-settings-form .item-list li span.small a { - width: auto; - } -} - -.groups.manage-members #group-settings-form .item-list li h5 { - margin: 0; -} - -/** -*----------------------------------------- -* @subsection 6.2.1.2 - Group members -*----------------------------------------- -*/ -.groups.group-members #subnav li { - width: 100%; -} - -@media screen and (max-width: 38.75em) { - .groups.group-members #subnav li { - background: #fff; - padding: 20px 0; - } -} - -.groups.group-members #subnav li #search-members-form { - float: right; - margin: 5px 0 0; -} - -@media screen and (max-width: 38.75em) { - .groups.group-members #subnav li #search-members-form { - margin: 0; - width: 100%; - } - .groups.group-members #subnav li #search-members-form label input[type="text"] { - width: 100%; - } -} - -/** -*----------------------------------------------------- -* @subsection 6.2.2 - Item Body User Accounts -* -* User Account specific item body rules -*----------------------------------------------------- -*/ -.bp-user .entry-title { - margin-bottom: 0.5em; -} - -/** -*-------------------------------------------- -* @subsection 6.2.2.1 - classes, pag, filters -*-------------------------------------------- -*/ -.bp-user #buddypress table th { - font-size: 14px; - font-size: 0.875rem; -} - -.bp-user #buddypress table td { - font-size: 12px; - font-size: 0.75rem; -} - -.bp-user #buddypress table a { - color: #0074c2; -} - -@media screen and (min-width: 55em) { - .bp-user #buddypress table th { - font-size: 16px; - font-size: 1rem; - } - .bp-user #buddypress table td { - font-size: 14px; - font-size: 0.875rem; - } -} - -@media screen and (min-width: 67em) { - .bp-user #buddypress table th { - font-size: 18px; - font-size: 1.125rem; - } - .bp-user #buddypress table td { - font-size: 16px; - font-size: 1rem; - } -} - -.bp-user #buddypress .pag-count { - font-style: italic; -} - -.bp-user #buddypress .notifications-options-nav, -.bp-user #buddypress .messages-options-nav { - float: left; - width: 100%; -} - -@media screen and (min-width: 38.75em) { - .bp-user #buddypress .notifications-options-nav, - .bp-user #buddypress .messages-options-nav { - width: 300px; - } -} - -.bp-user #buddypress .notifications-options-nav select, -.bp-user #buddypress .messages-options-nav select { - height: auto; -} - -.bp-user #buddypress .notifications-options-nav select, -.bp-user #buddypress .notifications-options-nav input, -.bp-user #buddypress .messages-options-nav select, -.bp-user #buddypress .messages-options-nav input { - font-size: 14px; - font-size: 0.875rem; - outline: 0; - padding: 0; -} - -.bp-user #buddypress .notifications-options-nav select, -.bp-user #buddypress .messages-options-nav select { - float: left; - margin-right: 1%; - width: 59%; -} - -.bp-user #buddypress .notifications-options-nav input, -.bp-user #buddypress .messages-options-nav input { - float: right; - font-family: inherit; - line-height: 20px; - width: 40%; -} - -.bp-user #buddypress .notifications-options-nav input[disabled="disabled"]:focus, -.bp-user #buddypress .notifications-options-nav input[disabled="disabled"]:hover, -.bp-user #buddypress .messages-options-nav input[disabled="disabled"]:focus, -.bp-user #buddypress .messages-options-nav input[disabled="disabled"]:hover { - background: none; -} - -/** - *------------------------------------------- - * @subsection 6.2.2.2 - Extended Profiles - *------------------------------------------- - */ -.bp-user #buddypress .profile { - /* Edit profile */ -} - -.bp-user #buddypress .profile h2 { - margin: 40px 0 10px; - padding: 0.1em 0 0.1em 0.4em; -} - -.bp-user #buddypress .profile table { - margin-top: 0; -} - -.bp-user #buddypress .profile .profile-fields tr.alt td { - color: #333; -} - -.bp-user #buddypress .profile .profile-fields tr:last-child { - border-bottom: 0; -} - -.bp-user #buddypress .profile #profile-edit-form .button-nav:before, -.bp-user #buddypress .profile #profile-edit-form .button-nav:after { - content: " "; - display: table; -} - -.bp-user #buddypress .profile #profile-edit-form .button-nav:after { - clear: both; -} - -.bp-user #buddypress .profile #profile-edit-form ul.button-nav { - border-bottom: 1px solid #eaeaea; - margin-left: 0; -} - -.bp-user #buddypress .profile #profile-edit-form ul.button-nav li { - float: left; - margin-bottom: 0; -} - -.bp-user #buddypress .profile #profile-edit-form ul.button-nav li.current { - border: 1px solid #eaeaea; - border-bottom-color: #fff; - margin-bottom: -1px; -} - -.bp-user #buddypress .profile #profile-edit-form ul.button-nav a { - background: none; - border: 0; - font-size: 18px; - font-size: 1.125rem; -} - -.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle, -.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-notoggle, -.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings { - font-size: 14px; - font-size: 0.875rem; - margin-top: 10px; -} - -.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close, -.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link { - background: #555; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - -ms-border-radius: 3px; - border-radius: 3px; - background-clip: padding-box; - color: #fff; - padding: 0.2em 0.5em; -} - -.bp-user #buddypress .profile .bp-avatar #bp-delete-avatar a { - font-size: inherit; -} - -/** - *------------------------------------------- - * @subsection 6.2.2.3 - Groups - *------------------------------------------- - */ -@media screen and (min-width: 77.5em) { - .bp-user #buddypress #groups-list li .item { - left: 5%; - width: 50%; - } -} - -/** - *------------------------------------------- - * @subsection 6.2.2.5 - Private Messaging - *------------------------------------------- - */ -.bp-user #buddypress #message-thread a { - border-bottom: 0; -} - -.bp-user #buddypress #message-thread #message-subject { - background: #6f6e6e; - color: #fff; - padding: 0.3em 0 0.3em 0.2em; -} - -.bp-user #buddypress #message-thread #message-recipients { - font-style: italic; -} - -.bp-user #buddypress #message-thread #message-recipients a.confirm { - border: 1px solid #eaeaea; - font-style: normal; -} - -.bp-user #buddypress #message-thread .message-metadata:after { - clear: both; - content: ""; - display: table; -} - -.bp-user #buddypress #message-thread .message-metadata img.avatar { - float: none; -} - -@media screen and (min-width: 48em) { - .bp-user #buddypress #message-thread .message-metadata img.avatar { - float: left; - } -} - -.bp-user #buddypress #message-thread .message-metadata .message-star-actions { - float: right; - margin-right: 5px; - position: static; -} - -.bp-user #buddypress #message-thread .message-content { - background: #f7f7f7; - border: 1px solid #eaeaea; - margin: 10px 0 0 0; - padding: 0.3em; -} - -.bp-user #buddypress #message-thread #send-reply .message-content { - background: #fff; - border: 0; -} - -.bp-user #buddypress #message-thread .alt { - background: #fff; -} - -.bp-user #buddypress #message-threads thead tr { - background: none; - border-bottom: 1px solid #bebebe; -} - -.bp-user #buddypress #message-threads thead tr th { - background: #555; -} - -.bp-user #buddypress #message-threads tr { - border-bottom: 5px solid #878787; -} - -.bp-user #buddypress #message-threads tr td { - display: inline-block; - float: left; -} - -.bp-user #buddypress #message-threads tr td.thread-star, -.bp-user #buddypress #message-threads tr td.thread-options { - border-bottom-color: #bebebe; - border-bottom-width: 1px; - height: 2.4em; - padding-bottom: 0.2em; - padding-top: 0.2em; -} - -@media screen and (max-width: 46.25em) { - .bp-user #buddypress #message-threads tr td.thread-star, - .bp-user #buddypress #message-threads tr td.thread-options { - padding-top: 0; - } -} - -.bp-user #buddypress #message-threads tr td.bulk-select-check, -.bp-user #buddypress #message-threads tr td.thread-star, -.bp-user #buddypress #message-threads tr td.thread-from, -.bp-user #buddypress #message-threads tr td.thread-info, -.bp-user #buddypress #message-threads tr td.thread-options { - border-top: 0; -} - -.bp-user #buddypress #message-threads tr td.thread-star { - vertical-align: middle; -} - -.bp-user #buddypress #message-threads tr td.thread-star .message-action-star { - line-height: 1.2; -} - -.bp-user #buddypress #message-threads tr td.bulk-select-check, -.bp-user #buddypress #message-threads tr td.thread-from { - height: 3em; -} - -@media screen and (max-width: 38.75em) { - .bp-user #buddypress #message-threads tr td.bulk-select-check, - .bp-user #buddypress #message-threads tr td.thread-from { - height: 5.2em; - } -} - -.bp-user #buddypress #message-threads tr td.thread-from, -.bp-user #buddypress #message-threads tr td.thread-options { - border-left: 0 !important; - width: -webkit-calc(100% - 30px); - width: -moz-calc(100% - 30px); - width: calc(100% - 30px); - margin-left: 0; -} - -.bp-user #buddypress #message-threads tr td.thread-info { - padding-left: 41px; - width: 100%; -} - -.bp-user #buddypress #message-threads tr td.thread-options { - text-align: right; -} - -.bp-user #buddypress #message-threads tr td.thread-options a { - font-size: 12px; - font-size: 0.75rem; - line-height: 2.2; -} - -.bp-user #buddypress #message-threads tr span.from { - display: none; -} - -.bp-user #buddypress #message-threads tr span.activity { - display: block; - float: right; - line-height: 2; -} - -@media screen and (max-width: 38.75em) { - .bp-user #buddypress #message-threads tr span.activity { - clear: both; - font-size: 11px; - font-size: 0.6875rem; - width: 100%; - } -} - -.bp-user #buddypress #message-threads tr.unread td { - background: none; - border-color: #bebebe; -} - -.bp-user #buddypress #message-threads th { - display: none; -} - -.bp-user #buddypress #message-threads th.bulk-select-all { - border-bottom: 0; - display: inline-block; - text-align: left; -} - -.bp-user #buddypress #message-threads th.bulk-select-all, -.bp-user #buddypress #message-threads td.bulk-select-check, -.bp-user #buddypress #message-threads td.thread-star { - border-right: 0; - width: 30px; -} - -.bp-user #buddypress .acfb-holder { - list-style: none; -} - -.bp-user #buddypress .acfb-holder li { - margin-left: 0; -} - -.bp-user #buddypress .acfb-holder li.friend-tab { - background: #e3f6ff; - border: inherit; - margin-right: 0; - padding: 0.5em; -} - -.bp-user #buddypress .acfb-holder li.friend-tab span.p { - padding-left: 10px; -} - -.bp-user #buddypress .acfb-holder li.friend-tab span.p:focus, .bp-user #buddypress .acfb-holder li.friend-tab span.p:hover { - color: #c82b2b; - cursor: pointer; -} - -.bp-user #buddypress .acfb-holder li.friend-tab a { - border-bottom: 0; - text-decoration: none; -} - -.bp-user #buddypress .acfb-holder li.friend-tab a img { - display: inline; - height: 20px; - vertical-align: middle; - width: 20px !important; -} - -.bp-user #buddypress #message-threads.sitewide-notices td { - width: 100%; -} - -.bp-user #buddypress #message-threads.sitewide-notices td strong { - background: #6f6e6e; - color: #fff; - display: block; - margin-bottom: 0.4em; - padding-left: 0.2em; -} - -.bp-user #buddypress #message-threads.sitewide-notices td a { - display: inline-block; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:first-child { - display: none; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:nth-child(2) strong { - margin: -8px -8px 8px; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:first-child + td + td { - border-bottom: 0; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:first-child + td + td span { - line-height: 1; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:last-child { - border-bottom-color: #b7b7b7; - line-height: 1; - text-align: right; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child { - line-height: 0; - margin-left: 0.7em; - text-indent: -999em; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child:after { - content: attr(title); - display: block; - line-height: initial; - text-indent: 0; -} - -.bp-user .ac_results { - background: #eee; - padding-left: 10px; -} - -.bp-user .ac_results ul { - margin: 0; -} - -.bp-user .ac_results li { - margin: 10px 0; -} - -.bp-user .ac_results li:focus, .bp-user .ac_results li:hover { - cursor: pointer; -} - -/** - *------------------------------ - * @subsection 6.2.2.6 - Settings - *------------------------------ - */ -.bp-user #buddypress #settings-form > p { - font-size: 20px; - font-size: 1.25rem; - margin: 20px 0 10px; -} - -.bp-user #buddypress table.notification-settings td.yes, -.bp-user #buddypress table.notification-settings td.no { - vertical-align: middle; -} - -.bp-user #buddypress table.profile-settings { - width: 100%; -} - -.bp-user #buddypress table.profile-settings th.field-group-name, -.bp-user #buddypress table.profile-settings td.field-name { - width: 50%; -} - -@media screen and (min-width: 48em) { - .bp-user #buddypress table.profile-settings th.field-group-name, - .bp-user #buddypress table.profile-settings td.field-name { - width: 70%; - } -} - -.bp-user #buddypress table.profile-settings th.title, -.bp-user #buddypress table.profile-settings td.field-visibility { - width: 30%; -} - -.bp-user #buddypress table.profile-settings td.field-visibility select { - width: 100%; -} - -/** -*------------------------------------------------------------------------------- -* @section 7.0 - Forms - General -*------------------------------------------------------------------------------- -*/ -#main #buddypress .standard-form li { - float: none; -} - -#main #buddypress .standard-form input[type="text"], -#main #buddypress .standard-form input[type="email"], -#main #buddypress .standard-form input[type="password"], -#main #buddypress .standard-form textarea { - width: 100%; -} - -#buddypress div.activity-comments form .ac-textarea { - background: #f7f7f7; - border: 1px solid rgba(190, 190, 190, 0.5); -} - -#buddypress div.activity-comments form .ac-textarea textarea { - background: none; - border: 0; -} - -#buddypress select { - height: auto; -} - -#buddypress .standard-form input[type="text"], -#buddypress .standard-form input[type="email"], -#buddypress .standard-form input[type="password"], -#buddypress .standard-form button, -#buddypress .standard-form select, -#buddypress .standard-form textarea { - border-color: rgba(190, 190, 190, 0.5); - border-width: 1px; -} - -#buddypress .standard-form select { - color: #737373; -} - -#buddypress #signup_form.standard-form div.submit { - float: none; -} - -#buddypress #signup_form.standard-form div.submit input { - margin-right: 0; -} - -#buddypress div.dir-search, -#buddypress div.message-search, -#buddypress li.groups-members-search { - float: none; - margin: 10px 0; -} - -#buddypress div.dir-search form, -#buddypress div.message-search form, -#buddypress li.groups-members-search form { - border: 1px solid rgba(190, 190, 190, 0.6); - -webkit-border-radius: 2px; - -moz-border-radius: 2px; - -ms-border-radius: 2px; - border-radius: 2px; - background-clip: padding-box; - overflow: hidden; -} - -#buddypress div.dir-search form label, -#buddypress div.message-search form label, -#buddypress li.groups-members-search form label { - float: left; - margin: 0; - width: 70%; -} - -#buddypress div.dir-search form input[type="text"], -#buddypress div.message-search form input[type="text"], -#buddypress li.groups-members-search form input[type="text"] { - float: left; - margin: 0; - width: 100%; -} - -#buddypress div.dir-search form input[type="text"], -#buddypress div.dir-search form input[type="submit"], -#buddypress div.message-search form input[type="text"], -#buddypress div.message-search form input[type="submit"], -#buddypress li.groups-members-search form input[type="text"], -#buddypress li.groups-members-search form input[type="submit"] { - border: 0; - font-size: 14px; - font-size: 0.875rem; - line-height: inherit; -} - -#buddypress div.dir-search form input[type="text"], -#buddypress div.message-search form input[type="text"], -#buddypress li.groups-members-search form input[type="text"] { - border-right: 1px solid rgba(190, 190, 190, 0.6); - font-weight: 400; - padding: 0.2em 0 0.2em 0.2em; -} - -#buddypress div.dir-search form input[type="submit"], -#buddypress div.message-search form input[type="submit"], -#buddypress li.groups-members-search form input[type="submit"] { - -webkit-border-radius: none; - -moz-border-radius: none; - -ms-border-radius: none; - border-radius: none; - float: right; - font-weight: 400; - padding: 0.2em 1em; - text-align: center; - text-transform: none; - width: 30%; -} - -#buddypress div.dir-search { - margin-top: 0; -} - -#buddypress .dir-search #search-members-form input[type="text"], -#buddypress #search-groups-form input[type="text"], -#buddypress #search-message-form input[type="text"] { - float: left; - margin: 0; - width: 70%; -} - -@media screen and (min-width: 30em) { - #buddypress div.dir-search, - #buddypress div.message-search, - #buddypress li.groups-members-search { - float: right; - margin-bottom: 5px !important; - } -} - -@media screen and (min-width: 67em) { - #buddypress .dir-search form input[type="text"], - #buddypress .message-search form input[type="text"], - #buddypress li.groups-members-search form input[type="text"] { - font-size: 16px; - font-size: 1rem; - } - #buddypress .dir-search form input[type="submit"], - #buddypress .message-search form input[type="submit"], - #buddypress li.groups-members-search form input[type="submit"] { - font-size: 16px; - font-size: 1rem; - } -} - -body.colors-dark #page #buddypress .dir-search form, -body.colors-dark #page #buddypress .groups-members-search form, -body.colors-dark #page #buddypress .message-search form { - background: #333; - border-color: #555; - -webkit-border-radius: 2px; - -moz-border-radius: 2px; - -ms-border-radius: 2px; - border-radius: 2px; - background-clip: padding-box; - padding: 1px; -} - -body.colors-dark #page #buddypress .dir-search input[type="text"], -body.colors-dark #page #buddypress .groups-members-search input[type="text"], -body.colors-dark #page #buddypress .message-search input[type="text"] { - background: none; -} - -body.colors-dark #page #buddypress .dir-search input[type="submit"], -body.colors-dark #page #buddypress .groups-members-search input[type="submit"], -body.colors-dark #page #buddypress .message-search input[type="submit"] { - -webkit-border-radius: 2px; - -moz-border-radius: 2px; - -ms-border-radius: 2px; - border-radius: 2px; - background-clip: padding-box; -} - -body.colors-dark #page .message-search { - margin-top: 0; -} - -/** -*------------------------------------------------------------------------------- -* @section 8.0 - Tables - General -*------------------------------------------------------------------------------- -*/ -#buddypress table { - font-size: 14px; - font-size: 0.875rem; - margin: 20px 0; -} - -#buddypress table tr th { - background: #f7f7f7; - border-color: #eaeaea; - color: #333; -} - -#buddypress table p { - margin-bottom: 0.5em; -} - -@media screen and (min-width: 55em) { - #buddypress table { - font-size: 16px; - font-size: 1rem; - } -} - -/*__ User Account tables __*/ -#buddypress .notifications th, -#buddypress .messages-notices th { - width: 30%; -} - -#buddypress .notifications th.bulk-select-all, -#buddypress .messages-notices th.bulk-select-all { - text-align: center; - width: 10%; -} - -#buddypress .notifications .bulk-select-check, -#buddypress .notifications .thread-star, -#buddypress .messages-notices .bulk-select-check, -#buddypress .messages-notices .thread-star { - text-align: center; -} - -#buddypress .notifications .notification-actions, -#buddypress .notifications td.thread-options, -#buddypress .messages-notices .notification-actions, -#buddypress .messages-notices td.thread-options { - text-align: center; -} - -#buddypress .notifications .notification-actions a, -#buddypress .notifications td.thread-options a, -#buddypress .messages-notices .notification-actions a, -#buddypress .messages-notices td.thread-options a { - display: inline-block; - margin: 0; - padding: 0; -} - -#buddypress .notifications td .button, -#buddypress .messages-notices td .button { - border: 0; - display: block; - padding: 0; - text-align: center; -} - -#buddypress .notifications .actions { - text-align: center; -} - -/** -*------------------------------------------------------------------------------- -* @section 9.0 - Error / Success messages -*------------------------------------------------------------------------------- -*/ -#buddypress div#message p { - font-size: 18px; - font-size: 1.125rem; - font-weight: 700; -} - -#buddypress div#message.info p { - background: #b0e5ff; - border: 1px solid #4ac3ff; - color: #00547d; -} - -#buddypress div#message.updated p { - background: #dee6b2; - border: 1px solid #becc66; - color: #454d19; -} - -#buddypress .bp-avatar-status .warning, -#buddypress .bp-cover-image-status .warning { - background: #7dd4ff; - border: 1px solid #000; - color: #333; - font-size: 16px; - font-size: 1rem; -} - -.delete-group #buddypress div#message.info p { - background: #db7e7e; - border: 1px solid #be3535; - color: #1f0808; -} - -/** -*------------------------------------------------------------------------------- -* @section 10.0 - Ajax Loading, Widgets, General classes -*------------------------------------------------------------------------------- -*/ -#buddypress .acfb-holder li.friend-tab { - background: #7dd4ff; - border: inherit; -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/054/054.test.js b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/054/054.test.js deleted file mode 100644 index ec483337ae2c67..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/054/054.test.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -const stylelint = require( 'stylelint' ), - systemTestUtils = require( '../systemTestUtils.js' ); - -it( '054', () => { - return stylelint.lint({ - files: [systemTestUtils.caseStylesheetGlob( '054' )], - configFile: systemTestUtils.caseConfig( '054' ), - }).then( ({ results }) => { - expect( systemTestUtils.prepResults( results ) ).toMatchSnapshot(); - }); -}); diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/054/__snapshots__/054.test.js.snap b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/054/__snapshots__/054.test.js.snap deleted file mode 100644 index afea7383f9ff53..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/054/__snapshots__/054.test.js.snap +++ /dev/null @@ -1,891 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`054 1`] = ` -Array [ - Object { - "deprecations": Array [], - "errored": true, - "ignored": undefined, - "invalidOptionWarnings": Array [], - "parseErrors": Array [], - "source": "054/stylesheet.css", - "warnings": Array [ - Object { - "column": 1, - "line": 56, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 61, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 142, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 580, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 840, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 874, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 1075, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 1082, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 2, - "line": 1292, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 2, - "line": 66, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 85, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 91, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 96, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 99, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 104, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 113, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 118, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 123, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 171, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 177, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 183, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 188, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 191, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 197, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 212, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 218, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 224, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 266, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 273, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 277, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 283, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 288, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 292, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 298, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 304, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 307, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 313, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 318, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 321, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 328, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 332, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 343, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 349, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 437, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 453, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 464, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 487, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 501, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 508, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 513, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 519, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 537, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 557, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 564, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 590, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 616, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 619, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 669, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 674, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 677, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 681, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 726, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 763, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 826, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 830, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 853, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 861, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 864, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 892, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 899, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 908, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 916, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 920, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 924, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 938, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 944, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 948, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 952, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 955, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 959, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 962, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 965, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 981, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 991, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1008, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1015, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1019, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1022, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1026, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1056, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1060, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1063, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1156, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1175, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1187, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1191, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1227, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1231, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1238, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1242, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1259, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1362, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1403, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1450, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1470, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1511, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1671, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1794, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1800, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1814, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1819, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1848, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 47, - "line": 188, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 43, - "line": 191, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 52, - "line": 218, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 34, - "line": 364, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 41, - "line": 417, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 44, - "line": 422, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 46, - "line": 738, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 48, - "line": 743, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 80, - "line": 816, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 61, - "line": 1560, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 30, - "line": 1641, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 3, - "line": 567, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '0 0 10px 0' instead of '0 0 10px' (shorthand-property-no-redundant-values)", - }, - Object { - "column": 2, - "line": 1417, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '10px 0 0 0' instead of '10px 0 0' (shorthand-property-no-redundant-values)", - }, - ], - }, -] -`; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/054/config.json b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/054/config.json deleted file mode 100644 index a8af7d5dcb61b9..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/054/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../index.js" -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/054/stylesheet.css b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/054/stylesheet.css deleted file mode 100644 index 4e28154730c33b..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/054/stylesheet.css +++ /dev/null @@ -1,1934 +0,0 @@ -/*-------------------------------------------------------------- - -This is the BuddyPress companion stylesheet for -the WordPress Twentysixteen theme. - -This sheet supports the primary BuddyPress styles in buddypress.css - -If you are running as a child theme of twentysixteen this stylesheet will be -loaded by default. If you want to modify the styles the normal BP Theme Compat -hierarchy works and you can copy the file to buddypress/css/ or community/css/ -in your child themes root & either start over or modify the rulesets. - -If you do not require the styles you can dequeue them from the themes -functions file. - -Please see this codex article for more information: -http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ - ----------------------------------------------------------------- ->>> TABLE OF CONTENTS: ----------------------------------------------------------------- -1.0 Theme Structural Elements & overrides -2.0 - Navigation - General - 2.1 - Navs - Object Nav / Sub Nav (item-list-tabs) - 2.2 - Pagination -3.0 - Images -4.0 - BP Lists / Loops Generic - 4.1 - Activity Loop - 4.1.1 Whats New Activity - 4.1.2 - Activity Listing - 4.1.3 - Activity Comments - 4.2 - Members Loop - 4.3 - Groups Loop - 4.4 - Blogs Loop -5.0 - Directories - Members, Groups, Blogs, Register, activation -6.0 - Single Item screens: User Account & Single Group Screens - 6.1 - Item Headers: Global - 6.1.1 - item-header: Groups - 6.1.2 - item-header: User Accounts - 6.2 - Item Body: Global - 6.2.1 - item-body: Groups - 6.2.1.1 - Management settings screens - 6.2.1.2 - Group members list - 6.2.2 - item-body: User Accounts - 6.2.2.1 - classes, pag, filters - 6.2.2.2 - Extended Profiles - 6.2.2.3 - Groups - 6.2.2.4 - friends - 6.2.2.5 - Private Messaging Threads - 6.2.2.6 - Settings -7.0 - Forms - General -8.0 - Tables - General -9.0 - Error / Success Messages -10.0 - Ajax Loading, Widgets, General classes ---------------------------------------------------------------*/ -/** -*------------------------------------------------------------------------------- -* @section 1.0 - Theme - Structural Elements. overrides, Globals -*------------------------------------------------------------------------------- -*/ -/** -* Corrective measure to deal with 2016 / BP handling of no-js -* classes - hide menu if BP still showing 'no-js'. -*/ -@media screen and (max-width: 905px) { - html.js body.no-js .site-header-menu { - display: none; - } -} - -.buddypress div.clear { - display: none; -} - -.buddypress #page a { - box-shadow: none; - text-decoration: none !important; -} - -.buddypress .entry-title { - text-align: center; -} - -@media screen and (min-width: 61.5625em) { - .buddypress .entry-title { - text-align: left; - } -} - -@media screen and (min-width: 44.375em) { - .buddypress #primary { - float: none; - margin: 0; - width: auto; - } - .buddypress #primary .entry-header { - margin: 0; - } - .buddypress #primary .entry-content, - .buddypress #primary .content-bottom-widgets { - margin-left: 7.6923%; - margin-right: 7.6923%; - } - .buddypress .sidebar { - float: none; - margin-left: 0; - padding: 0 7.6923%; - width: auto; - } -} - -@media screen and (min-width: 61.5625em) { - .buddypress #primary { - float: left; - margin-right: -100%; - width: 70%; - } - .buddypress #primary .entry-content, - .buddypress #primary .content-bottom-widgets { - margin-left: 0; - margin-right: 0; - } - .buddypress .sidebar { - float: left; - margin-left: 75%; - padding: 0; - width: 25%; - } -} - -.buddypress.no-sidebar #primary { - float: none; - margin: 0; - width: auto; -} - -/** -*------------------------------------------------------------------------------- -* @section 2.0 - Navigation - General -*------------------------------------------------------------------------------- -*/ -/** -*---------------------------------------------------------- -* @section 2.1 - Navs Object Nav / Sub Nav (item-list-tabs) -* -* The main navigational elements for all BP screens -*---------------------------------------------------------- -*/ -#buddypress div.item-list-tabs ul li.selected a { - background: inherit; - opacity: 1; -} - -#buddypress div.item-list-tabs ul { - background-color: #f7f5e7; - border-bottom: 1px solid rgba(234, 234, 234, 0.9); - border-top: 1px solid rgba(234, 234, 234, 0.9); - overflow: hidden; - padding: 0; -} - -#buddypress div.item-list-tabs ul li a { - color: #0073c1; -} - -#buddypress div.item-list-tabs ul li a span { - border-radius: 25%; -} - -@media screen and (max-width: 38.75em) { - .bp-user #buddypress #object-nav { - background: #f7f5e7; - border: 1px solid #eaeaea; - overflow: visible; - padding: 10px; - } - .bp-user #buddypress #object-nav ul { - border: 0; - height: 0; - transition: height 0.3s ease-in-out 0.7s; - visibility: hidden; - } - .bp-user #buddypress #object-nav:before { - content: "Menu \021E9"; - display: inline; - opacity: 0.7; - } - .bp-user #buddypress #object-nav:hover:before, .bp-user #buddypress #object-nav:focus:before { - content: "Menu \021E7"; - } - .bp-user #buddypress #object-nav:hover ul, .bp-user #buddypress #object-nav:focus ul { - height: 320px; - opacity: 1; - overflow-y: auto; - visibility: visible; - } - .bp-user #buddypress #subnav { - clear: both; - } -} - -/*__ Horizontal menus __*/ -#buddypress #object-nav ul { - overflow: hidden; -} - -#buddypress #object-nav ul li { - float: none; -} - -@media screen and (max-width: 38.75em) { - #buddypress #object-nav ul li:not(:last-child) { - border-bottom: 1px solid #eaeaea; - } -} - -@media screen and (max-width: 38.75em) { - #buddypress #object-nav ul li:not(.selected):focus, #buddypress #object-nav ul li:not(.selected):hover { - background: #f4f2df; - } -} - -@media screen and (min-width: 38.75em) { - #buddypress #object-nav ul li { - float: left; - } -} - -#buddypress div#subnav.item-list-tabs { - margin-top: 0; -} - -#buddypress div#subnav.item-list-tabs ul { - background-color: #f7f7f7; - border-bottom: 0; - margin-top: 5px; - padding: 0; -} - -#buddypress div#subnav.item-list-tabs ul li.last { - background: #fff; - margin-top: 0; - padding: 5px 5px 5px 0; - width: 100%; -} - -#buddypress div#subnav.item-list-tabs ul li.last select, -#buddypress div#subnav.item-list-tabs ul li.last select:focus { - background: transparent; - border: 0; - outline: 0; -} - -#buddypress div#subnav.item-list-tabs ul li.last select, -#buddypress div#subnav.item-list-tabs ul li.last label, -#buddypress div#subnav.item-list-tabs ul li.last option { - font-size: 14px; - font-size: 0.875rem; -} - -#buddypress div#subnav.item-list-tabs ul li.last select { - font-style: italic; -} - -@media screen and (min-width: 38.75em) { - #buddypress div#subnav.item-list-tabs ul li.last { - text-align: right; - } -} - -/*__ Vertical menu User Account / Group single screens __*/ -@media screen and (min-width: 55em) { - body.no-sidebar #buddypress #item-header, - body.no-sidebar #buddypress #item-body { - background: #fff; - } - body.no-sidebar #buddypress #object-nav { - border-right: 1px solid #ddd; - float: left; - margin-right: -1px; - width: 200px; - } - body.no-sidebar #buddypress #object-nav ul { - background: none; - border-bottom: 0; - padding: 0; - } - body.no-sidebar #buddypress #object-nav ul li { - float: none; - overflow: hidden; - } - body.no-sidebar #buddypress #object-nav ul li span { - background: #fff; - border-radius: 10%; - float: right; - margin-right: 2px; - } - body.no-sidebar #buddypress #item-body { - border-left: 1px solid #ddd; - overflow: hidden; - padding: 0 0 0 20px; - width: auto; - } - body.no-sidebar #buddypress #item-body #subnav { - margin: 0 0 0 -20px; - } - body.no-sidebar #buddypress #item-body #subnav ul { - margin-top: 0; - } -} - -@media screen and (min-width: 46.25em) { - #main #buddypress #group-create-tabs.item-list-tabs ul:before, - #main #buddypress #group-create-tabs.item-list-tabs ul:after { - content: " "; - display: table; - } - #main #buddypress #group-create-tabs.item-list-tabs ul:after { - clear: both; - } - #main #buddypress #group-create-tabs.item-list-tabs ul { - background: none; - border: 0; - border-bottom: 1px solid #ddd; - overflow: visible; - padding-bottom: 0; - } - #main #buddypress #group-create-tabs.item-list-tabs ul li { - float: left; - width: auto; - } - #main #buddypress #group-create-tabs.item-list-tabs ul li.selected, - #main #buddypress #group-create-tabs.item-list-tabs ul li.current { - border: 1px solid #ddd; - border-bottom-color: #fff; - -webkit-border-top-right-radius: 4px; - border-top-right-radius: 4px; - -webkit-border-top-left-radius: 4px; - border-top-left-radius: 4px; - background-clip: padding-box; - margin-bottom: -1px; - } - #main #buddypress #group-create-tabs.item-list-tabs ul li.selected a, - #main #buddypress #group-create-tabs.item-list-tabs ul li.current a { - background: none; - color: #141412; - outline: none; - } - #main #buddypress #subnav ul { - border-bottom: 0; - } -} - -/** -*---------------------------------------------------------- -* @section 2.2 - Pagination -*---------------------------------------------------------- -*/ -#buddypress div.pagination { - box-shadow: none; - min-height: 0; -} - -#buddypress div.pagination:before, #buddypress div.pagination:after { - height: 0; - width: 0; -} - -#buddypress div.pagination .pag-count { - margin-left: 0; -} - -#buddypress div.pagination .pagination-links { - margin-right: 0; -} - -#buddypress div.pagination .pagination-links span, -#buddypress div.pagination .pagination-links a { - height: auto; - line-height: 1; - padding: 5px; -} - -#buddypress div.pagination .pagination-links .prev, -#buddypress div.pagination .pagination-links .next { - background-color: transparent; - color: inherit; - overflow: visible; - width: auto; -} - -#buddypress div.pagination .pagination-links .prev:before, -#buddypress div.pagination .pagination-links .next:before { - display: none; -} - -#buddypress div.pagination .pagination-links .prev { - left: auto; - position: static; -} - -#buddypress div.pagination .pagination-links .next { - position: static; - right: auto; -} - -/** -*------------------------------------------------------------------------------- -* @section 4.0 - BP Lists / Loops Generic -*------------------------------------------------------------------------------- -*/ -#buddypress .item-list .activity-header, -#buddypress .item-list .activity-meta { - font-family: "Source Sans Pro", Helvetica, sans-serif; -} - -#buddypress .activity-meta .button:focus, #buddypress .activity-meta .button:hover { - background: inherit; - color: #000; -} - -#buddypress .action .generic-button a:focus, #buddypress .action .generic-button a:hover { - background: inherit; - color: #000; -} - -#buddypress ul.item-list li { - overflow: hidden !important; -} - -#buddypress ul.item-list li .item-avatar { - margin-bottom: 10px; - text-align: center; -} - -@media screen and (min-width: 38.75em) { - #buddypress ul.item-list li .item-avatar { - margin-bottom: 0; - } -} - -#buddypress ul.item-list li .item-avatar a { - border-bottom: 0; -} - -#buddypress ul.item-list li .item-avatar img.avatar { - display: inline-block; - float: none; - margin-bottom: 10px; -} - -@media screen and (min-width: 44.375em) { - #buddypress ul.item-list li .item-avatar img.avatar { - display: block; - float: left; - } -} - -#buddypress ul.item-list li .item { - overflow: hidden; -} - -@media screen and (min-width: 46.25em) { - #buddypress ul.item-list li .item { - margin-left: 15%; - } -} - -#buddypress ul.item-list li .item span.activity { - font-style: italic; -} - -#buddypress ul.item-list li .item .item-desc { - margin-left: 0; - width: 94%; -} - -#buddypress ul.item-list li .item .item-title { - font-size: 18px; - font-size: 1.125rem; - line-height: 1.2; - text-align: center; - width: 100%; -} - -@media screen and (min-width: 44.375em) { - #buddypress ul.item-list li .item .item-title { - text-align: left; - } -} - -#buddypress ul.item-list li .item .item-title .update { - display: block; - font-size: 12px; - font-size: 0.75rem; - padding: 10px 0; - text-align: left; -} - -@media screen and (min-width: 61.5625em) { - #buddypress ul.item-list li .item .item-title .update { - font-size: 14px; - font-size: 0.875rem; - } -} - -@media screen and (min-width: 61.5625em) { - #buddypress ul.item-list li .item-avatar, - #buddypress ul.item-list li .item, - #buddypress ul.item-list li .action { - float: left; - } - #buddypress ul.item-list li .item { - left: 5%; - margin-left: 0; - position: relative; - width: 55%; - } - #buddypress ul.item-list li .item .item-title { - font-size: 22px; - font-size: 1.375rem; - } -} - -#buddypress ul.item-list li div.action { - clear: left; - float: none; - margin-bottom: -20px; - margin-left: 0; - padding: 20px 0 5px; - position: relative; - text-align: left; - top: 0; -} - -@media screen and (min-width: 61.5625em) { - #buddypress ul.item-list li div.action { - clear: none; - float: right; - margin-bottom: 0; - padding: 0; - } -} - -#buddypress ul.item-list li div.action div { - display: inline-block; - margin: 10px 0; - width: 100%; -} - -#buddypress ul.item-list li div.action div a { - display: block; - width: 100%; -} - -@media screen and (min-width: 38.75em) { - #buddypress ul.item-list li div.action div { - margin: 0 10px 10px 0; - width: auto; - } -} - -@media screen and (min-width: 61.5625em) { - #buddypress ul.item-list li div.action div { - clear: right; - float: right; - margin: 0 0 10px 0; - } -} - -#buddypress ul.item-list li div.action .meta { - font-style: italic; -} - -/** -*---------------------------------------------------------- -* @section 4.1 - Activity -*---------------------------------------------------------- -*/ -/** -*----------------------------------------------------- -* @section 4.1.1 - Activity Whats New -*----------------------------------------------------- -*/ -#buddypress form#whats-new-form p.activity-greeting { - line-height: 1.4; -} - -@media screen and (max-width: 46.25em) { - #buddypress form#whats-new-form #whats-new-content { - clear: left; - margin: 10px 0 20px; - padding: 10px 0 0; - } -} - -#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box { - border: 1px solid rgba(212, 208, 186, 0.5); - float: left; - line-height: 1.5; - margin-top: 12px; - padding-left: 0.2em; - width: 100%; -} - -#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box select { - background: none; - border: 0; - float: right; - margin: 0; - min-height: 1.5em; - padding-left: 0.4em; -} - -@media screen and (min-width: 30em) { - #buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box { - width: auto; - } - #buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-submit { - float: right; - } -} - -#buddypress #item-body form#whats-new-form { - margin: 40px 0; -} - -/** -*----------------------------------------------------- -* @section 4.1.2 - Activity Listing -*----------------------------------------------------- -*/ -#buddypress #activity-stream li { - padding: 25px 0 15px; -} - -#buddypress #activity-stream li .activity-avatar { - float: none; - text-align: center; -} - -#buddypress #activity-stream li .activity-avatar a { - display: inline-block; -} - -#buddypress #activity-stream li .activity-avatar a img.avatar { - display: inline; - float: none; - height: 60px; - margin-bottom: 20px; - margin-left: 0; - width: 60px; -} - -#buddypress #activity-stream li .activity-content { - margin-left: 0; -} - -#buddypress #activity-stream li .activity-content .activity-header { - font-size: 14px; - font-size: 0.875rem; -} - -#buddypress #activity-stream li .activity-content .activity-header a { - color: #0075c4; -} - -@media screen and (min-width: 46.25em) { - #buddypress #activity-stream li .activity-avatar { - float: left; - margin-right: 10px; - text-align: left; - } - #buddypress #activity-stream li .activity-avatar a { - border-bottom: 0; - } - #buddypress #activity-stream li .activity-content { - margin: 0; - overflow: hidden; - } - #buddypress #activity-stream li .activity-content .activity-header { - font-size: 16px; - font-size: 1rem; - } -} - -#buddypress #activity-stream li.mini .activity-avatar a img.avatar { - height: 30px; - margin-left: 15px; - width: 30px; -} - -#buddypress #activity-stream li.mini .activity-content .activity-header { - font-size: 14px; - font-size: 0.875rem; -} - -#buddypress #activity-stream .activity-content { - margin-top: -12px; -} - -#buddypress #activity-stream .activity-content .activity-header { - line-height: inherit; - margin-right: 0; -} - -#buddypress #activity-stream .activity-content .activity-header p { - background-color: #f7f7f7; - border: 1px solid rgba(234, 234, 234, 0.6); - color: #727272; - margin-top: 0; - padding: 0 0.2em; -} - -#buddypress #activity-stream .activity-content .activity-header img.avatar { - display: inline-block; - margin-bottom: 0 !important; -} - -#buddypress #activity-stream .activity-content .activity-meta a { - display: block; - margin-bottom: 5px; -} - -@media screen and (min-width: 38.75em) { - #buddypress #activity-stream .activity-content .activity-meta a { - display: inline-block; - margin-bottom: 0; - } -} - -#buddypress #activity-stream .load-more { - background: #f7f7f7; - border: 1px solid transparent; - padding: 10px; -} - -#buddypress #activity-stream .load-more:focus, #buddypress #activity-stream .load-more:hover { - background: #f4f4f4; - border: 1px solid rgba(159, 209, 226, 0.3); -} - -#buddypress #activity-stream .load-more:focus a, #buddypress #activity-stream .load-more:hover a { - font-style: italic; -} - -#buddypress #activity-stream .load-more a { - display: block; -} - -/* Single activity view - activity permalink */ -.activity-permalink #buddypress #activity-stream li.activity-item { - padding: 20px; -} - -.activity-permalink #buddypress #activity-stream li.mini .activity-header { - font-size: 16px; - font-size: 1rem; - margin-bottom: 40px; -} - -@media screen and (min-width: 46.25em) { - .activity-permalink #buddypress #activity-stream li.mini .activity-header { - font-size: 20px; - font-size: 1.25rem; - } -} - -.activity-permalink #buddypress #activity-stream li.mini .activity-header p { - padding: 20px; -} - -/** -*----------------------------------------------------- -* @section 4.1.3 - Activity Comments -*----------------------------------------------------- -*/ -#buddypress #activity-stream .activity-comments { - border-left: 1px solid #eaeaea; - margin-top: 5px; -} - -#buddypress #activity-stream .activity-comments ul { - background: rgba(247, 247, 247, 0.6); - color: #737373; - margin: 15px 0 0 2px; -} - -#buddypress #activity-stream .activity-comments ul a { - color: #0077c7; -} - -#buddypress #activity-stream .activity-comments .acomment-meta { - color: #737373; -} - -#buddypress #activity-stream .activity-comments .ac-form input[type="submit"], -#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel { - color: rgba(20, 20, 18, 0.8); - display: inline-block; - font-family: inherit; - font-size: 12px; - font-size: 0.75rem; - font-weight: 400; - line-height: 1.2; - padding: 4px 10px; - text-transform: lowercase; - width: 100px; -} - -#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel { - border: 1px solid rgba(212, 208, 186, 0.7); - text-align: center; -} - -#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:focus, #buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:hover { - background: #ededed; -} - -/** -*---------------------------------------------------------- -* @section 4.2 - Members Loop -*---------------------------------------------------------- -*/ -@media screen and (min-width: 61.5625em) { - #buddypress #members-list li .item-avatar, - #buddypress #members-list li .item { - float: left; - } - #buddypress #members-list li .action { - float: right; - } -} - -/** -*------------------------------------------------------------------------------- -* @section 5.0 - Directories -*------------------------------------------------------------------------------- -*/ -/** -*----------------------------------------------------------- -* @subsection Registration -*----------------------------------------------------------- -*/ -#buddypress #signup_form.standard-form #profile-details-section, -#buddypress #signup_form.standard-form #basic-details-section, -#buddypress #signup_form.standard-form #blog-details-section { - float: none; - width: 100%; -} - -@media screen and (min-width: 38.75em) { - #buddypress #signup_form.standard-form #profile-details-section, - #buddypress #signup_form.standard-form #basic-details-section, - #buddypress #signup_form.standard-form #blog-details-section { - width: 48%; - } -} - -@media screen and (min-width: 38.75em) { - #buddypress #signup_form.standard-form #profile-details-section { - float: right; - } - #buddypress #signup_form.standard-form #basic-details-section { - float: left; - } -} - -/** -*------------------------------------------------------------------------------- -* @section 6.0 - Single Item screens: User Account & Single Group Screens -*------------------------------------------------------------------------------- -*/ -/** -*----------------------------------------------------------- -* @subsection 6.1 - Item Header Global -*----------------------------------------------------------- -*/ -.bp-user #buddypress #item-header-content #item-meta, -.single-item.groups #buddypress #item-header-content #item-meta { - font-size: 14px; - font-size: 0.875rem; - text-align: left; -} - -.bp-user #buddypress #item-header-content #item-meta p, -.single-item.groups #buddypress #item-header-content #item-meta p { - margin-bottom: 0.5em; -} - -@media screen and (max-width: 46.25em) { - .bp-user main header.entry-header, - .single-item.groups main header.entry-header { - padding-bottom: 1rem; - } -} - -@media screen and (max-width: 38.75em) { - .bp-user h1, - .bp-user #item-header-content, - .single-item.groups h1, - .single-item.groups #item-header-content { - text-align: center; - } -} - -@media screen and (max-width: 46.25em) { - .bp-user #buddypress #item-header .generic-button, - .single-item.groups #buddypress #item-header .generic-button { - float: none; - margin: 1.5em 0 0; - } -} - -@media screen and (max-width: 38.75em) { - .bp-user #buddypress h1, - .single-item.groups #buddypress h1 { - margin-bottom: 0; - } - .bp-user #buddypress #item-header-avatar img.avatar, - .single-item.groups #buddypress #item-header-avatar img.avatar { - margin-right: 0; - } - .bp-user #buddypress #item-header-content, - .single-item.groups #buddypress #item-header-content { - width: 100%; - } -} - -/** -*----------------------------------------------------- -* @subsection 6.1.1 - item-header Groups -* -* Group Specific Item Header -*----------------------------------------------------- -*/ -@media screen and (max-width: 46.25em) { - .single-item.groups #buddypress #item-header #item-meta { - margin-bottom: 20px; - } -} - -@media screen and (max-width: 38.75em) { - .single-item.groups #buddypress div#item-header { - display: flex; - flex-direction: column; - } - .single-item.groups #buddypress div#item-header #item-header-avatar { - order: 1; - text-align: center; - } - .single-item.groups #buddypress div#item-header #item-header-avatar a { - border-bottom: 0; - } - .single-item.groups #buddypress div#item-header #item-header-avatar a img { - display: inline-block; - float: none; - } - .single-item.groups #buddypress div#item-header #item-header-content { - order: 2; - } - .single-item.groups #buddypress div#item-header #item-actions { - order: 3; - } - .single-item.groups #buddypress div#item-header #item-actions h2 { - border-bottom: 1px solid #eaeaea; - text-align: center; - } -} - -.single-item.groups #buddypress div#item-header { - padding-bottom: 40px; -} - -.single-item.groups #buddypress div#item-header div#item-actions { - margin: 0; - width: 100%; -} - -@media screen and (min-width: 38.75em) { - .single-item.groups #buddypress div#item-header div#item-actions { - border-left: 1px solid #eaeaea; - clear: none; - float: right; - padding-left: 0.2em; - width: 30%; - } -} - -@media screen and (min-width: 46.25em) { - .single-item.groups #buddypress div#item-header div#item-actions { - width: 40%; - } -} - -.single-item.groups #buddypress div#item-header div#item-actions ul { - margin-top: 0; - padding-left: 0; -} - -.single-item.groups #buddypress div#item-header div#item-actions h2 { - font-size: 14px; - font-size: 0.875rem; - padding: 0.2em; -} - -@media screen and (min-width: 46.25em) { - .single-item.groups #buddypress div#item-header div#item-actions h2 { - font-size: 16px; - font-size: 1rem; - } -} - -@media screen and (min-width: 46.25em) { - .single-item.groups #buddypress div#item-header #item-header-avatar, - .single-item.groups #buddypress div#item-header #item-header-content { - float: left; - } - .single-item.groups #buddypress div#item-header #item-header-avatar { - width: 21%; - } - .single-item.groups #buddypress div#item-header #item-header-content { - margin-left: 4%; - width: 40%; - } - .single-item.groups #buddypress div#item-header div#item-actions { - float: right; - width: 28%; - } -} - -/** -*----------------------------------------------------- -* @subsection 6.1.2 - Item Header User Accounts -* -* User Accounts Specific Item Header -*----------------------------------------------------- -*/ -.bp-user #buddypress #item-header { - padding: 20px 0; -} - -.bp-user #buddypress #item-header #item-header-avatar { - text-align: center; - width: 100%; -} - -.bp-user #buddypress #item-header #item-header-avatar img.avatar, -.bp-user #buddypress #item-header #item-header-avatar a { - border-bottom: 0; - display: inline-block; - float: none; -} - -@media screen and (min-width: 46.25em) { - .bp-user #buddypress #item-header #item-header-avatar { - float: left; - width: 20%; - } - .bp-user #buddypress #item-header #item-header-avatar a { - float: left; - } - .bp-user #buddypress #item-header #item-header-content { - float: right; - margin-right: 5%; - width: 69%; - } -} - -/** -*----------------------------------------------------------- -* @subsection 6.2 - Item Body: Global -*----------------------------------------------------------- -*/ -/** -*---------------------------------------------------- -* @subsection 6.2.1 - Item Body Groups -* -* Groups specific item body rules - screens -*---------------------------------------------------- -*/ -/** -*----------------------------------------- -* @subsection 6.2.1.1 - Group Management -*----------------------------------------- -*/ -.groups #group-settings-form h3 { - background: #555; - color: #fff; - padding: 0.2em; -} - -.groups.edit-details #group-settings-form label { - margin-bottom: 0; - padding: 0.2em; - width: 80%; -} - -.groups.edit-details #group-settings-form textarea + p label { - background: none; - color: inherit; - font-size: 14px; - font-size: 0.875rem; - width: auto; -} - -.groups.edit-details #group-settings-form textarea { - height: auto; - min-height: 100px; - overflow: auto; -} - -.groups.group-settings #group-settings-form div.radio label { - border: 1px solid #eaeaea; - padding: 0.2em; -} - -.groups.group-settings #group-settings-form div.radio label ul { - color: rgba(20, 20, 18, 0.6); - font-size: 14px; - font-size: 0.875rem; -} - -.groups.group-avatar form > p { - margin-top: 20px; -} - -.groups.manage-members #group-settings-form .item-list li { - border-bottom: 1px solid #eaeaea; -} - -.groups.manage-members #group-settings-form .item-list li img, -.groups.manage-members #group-settings-form .item-list li h5 { - float: left; -} - -.groups.manage-members #group-settings-form .item-list li img > a, -.groups.manage-members #group-settings-form .item-list li h5 > a { - border-bottom: 0; -} - -.groups.manage-members #group-settings-form .item-list li span.small { - clear: left; - display: block; - float: none; - margin-top: 10px; -} - -.groups.manage-members #group-settings-form .item-list li span.small a { - display: inline-block; - margin: 5px 0; - width: 100%; -} - -@media screen and (min-width: 38.75em) { - .groups.manage-members #group-settings-form .item-list li span.small a { - width: auto; - } -} - -.groups.manage-members #group-settings-form .item-list li h5 { - margin: 0; -} - -/** -*----------------------------------------- -* @subsection 6.2.1.2 - Group members -*----------------------------------------- -*/ -.groups.group-members #subnav li { - width: 100%; -} - -@media screen and (max-width: 38.75em) { - .groups.group-members #subnav li { - background: #fff; - padding: 20px 0; - } -} - -.groups.group-members #subnav li #search-members-form { - float: right; - margin: 5px 5px 0 0; -} - -@media screen and (max-width: 38.75em) { - .groups.group-members #subnav li #search-members-form { - margin: 0; - width: 100%; - } - .groups.group-members #subnav li #search-members-form label input[type="text"] { - width: 100%; - } -} - -/** -*----------------------------------------------------- -* @subsection 6.2.2 - Item Body User Accounts -* -* User Account specific item body rules -*----------------------------------------------------- -*/ -.bp-user .entry-title { - margin-bottom: 0.5em; -} - -/** -*-------------------------------------------- -* @subsection 6.2.2.1 - classes, pag, filters -*-------------------------------------------- -*/ -.bp-user #buddypress table th { - font-size: 14px; - font-size: 0.875rem; -} - -.bp-user #buddypress table td { - font-size: 12px; - font-size: 0.75rem; -} - -.bp-user #buddypress table a { - color: #0074c2; -} - -@media screen and (min-width: 61.5625em) { - .bp-user #buddypress table th { - font-size: 16px; - font-size: 1rem; - } - .bp-user #buddypress table td { - font-size: 14px; - font-size: 0.875rem; - } -} - -@media screen and (min-width: 75em) { - .bp-user #buddypress table th { - font-size: 18px; - font-size: 1.125rem; - } - .bp-user #buddypress table td { - font-size: 16px; - font-size: 1rem; - } -} - -.bp-user #buddypress .pag-count { - font-style: italic; -} - -.bp-user #buddypress .notifications-options-nav { - border: 1px solid rgba(212, 208, 186, 0.5); - float: left; - width: 100%; -} - -@media screen and (min-width: 38.75em) { - .bp-user #buddypress .notifications-options-nav { - width: 300px; - } -} - -.bp-user #buddypress .notifications-options-nav select, -.bp-user #buddypress .notifications-options-nav input { - border: 0; - font-size: 14px; - font-size: 0.875rem; - outline: 0; - padding: 0; -} - -.bp-user #buddypress .notifications-options-nav select { - float: left; - margin-right: 0; - width: 60%; -} - -.bp-user #buddypress .notifications-options-nav input { - float: right; - font-family: inherit; - line-height: 20px; - width: 40%; -} - -/** - *------------------------------------------- - * @subsection 6.2.2.2 - Extended Profiles - *------------------------------------------- - */ -.bp-user #buddypress .profile { - /* Edit profile */ -} - -.bp-user #buddypress .profile .bp-widget h2 { - background: #6f6e6e; - color: #fff; - margin-bottom: 0; - padding: 0.4em; -} - -.bp-user #buddypress .profile .bp-widget table { - margin-top: 0; -} - -.bp-user #buddypress .profile #profile-edit-form .button-nav:before, -.bp-user #buddypress .profile #profile-edit-form .button-nav:after { - content: " "; - display: table; -} - -.bp-user #buddypress .profile #profile-edit-form .button-nav:after { - clear: both; -} - -.bp-user #buddypress .profile #profile-edit-form ul.button-nav { - border-bottom: 1px solid #eaeaea; - margin-left: 0; -} - -.bp-user #buddypress .profile #profile-edit-form ul.button-nav li { - float: left; - margin-bottom: 0; -} - -.bp-user #buddypress .profile #profile-edit-form ul.button-nav li.current { - border: 1px solid #eaeaea; - border-bottom-color: #fff; - margin-bottom: -1px; -} - -.bp-user #buddypress .profile #profile-edit-form ul.button-nav a { - background: none; - border: 0; - font-size: 18px; - font-size: 1.125rem; -} - -.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle, -.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings { - font-size: 14px; - font-size: 0.875rem; -} - -.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close, -.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link { - background: #555; - color: #fff; - padding: 0.2em 0.5em; -} - -.bp-user #buddypress .profile .bp-avatar #bp-delete-avatar a { - font-size: inherit; -} - -/** - *------------------------------------------- - * @subsection 6.2.2.3 - Groups - *------------------------------------------- - */ -@media screen and (min-width: 77.5em) { - .bp-user #buddypress #groups-list li .item { - left: 5%; - width: 50%; - } -} - -/** - *------------------------------------------- - * @subsection 6.2.2.5 - Private Messaging - *------------------------------------------- - */ -.bp-user #buddypress #message-thread a { - border-bottom: 0; -} - -.bp-user #buddypress #message-thread #message-subject { - background: #6f6e6e; - color: #fff; - padding: 0.3em 0 0.3em 0.2em; -} - -.bp-user #buddypress #message-thread #message-recipients { - font-style: italic; -} - -.bp-user #buddypress #message-thread #message-recipients a.confirm { - border: 1px solid #eaeaea; - font-style: normal; -} - -.bp-user #buddypress #message-thread .message-metadata:after { - clear: both; - content: ""; - display: table; -} - -.bp-user #buddypress #message-thread .message-metadata img.avatar { - float: none; -} - -@media screen and (min-width: 46.25em) { - .bp-user #buddypress #message-thread .message-metadata img.avatar { - float: left; - } -} - -.bp-user #buddypress #message-thread .message-metadata .message-star-actions { - float: right; - margin-right: 5px; - position: static; -} - -.bp-user #buddypress #message-thread .message-content { - background: #f7f7f7; - border: 1px solid #eaeaea; - margin: 10px 0 0 0; - padding: 0.3em; -} - -.bp-user #buddypress #message-thread #send-reply .message-content { - background: #fff; - border: 0; -} - -.bp-user #buddypress #message-thread .alt { - background: #fff; -} - -.bp-user #buddypress #message-threads thead tr { - background: #6f6e6e; -} - -.bp-user #buddypress #message-threads tr td { - background: #fff; - display: inline-block; - float: left; -} - -.bp-user #buddypress #message-threads tr td.thread-star, -.bp-user #buddypress #message-threads tr td.thread-options { - border-bottom-color: #ccc; - border-bottom-width: 2px; - height: 2.4em; - padding-bottom: 0.2em; - padding-top: 0.2em; -} - -@media screen and (max-width: 46.25em) { - .bp-user #buddypress #message-threads tr td.thread-star, - .bp-user #buddypress #message-threads tr td.thread-options { - padding-top: 0; - } -} - -.bp-user #buddypress #message-threads tr td.thread-star { - vertical-align: middle; -} - -.bp-user #buddypress #message-threads tr td.thread-star .message-action-star { - line-height: 1.2; -} - -.bp-user #buddypress #message-threads tr td.bulk-select-check, -.bp-user #buddypress #message-threads tr td.thread-from { - height: 3em; -} - -@media screen and (max-width: 38.75em) { - .bp-user #buddypress #message-threads tr td.bulk-select-check, - .bp-user #buddypress #message-threads tr td.thread-from { - height: 5.2em; - } -} - -.bp-user #buddypress #message-threads tr td.thread-from, -.bp-user #buddypress #message-threads tr td.thread-options { - border-left: 0 !important; - width: -webkit-calc(100% - 30px); - width: -moz-calc(100% - 30px); - width: calc(100% - 30px); - margin-left: 0; -} - -.bp-user #buddypress #message-threads tr td.thread-info { - padding-left: 41px; - width: 100%; -} - -.bp-user #buddypress #message-threads tr td.thread-options { - text-align: right; -} - -.bp-user #buddypress #message-threads tr td.thread-options a { - font-size: 12px; - font-size: 0.75rem; - line-height: 2.2; -} - -.bp-user #buddypress #message-threads tr span.from { - display: none; -} - -.bp-user #buddypress #message-threads tr span.activity { - display: block; - float: right; - line-height: 2; -} - -@media screen and (max-width: 38.75em) { - .bp-user #buddypress #message-threads tr span.activity { - clear: both; - font-size: 11px; - font-size: 0.6875rem; - width: 100%; - } -} - -.bp-user #buddypress #message-threads tr.unread td { - background: #dce5ff; - border-color: #d4d0ba; -} - -.bp-user #buddypress #message-threads th { - display: none; -} - -.bp-user #buddypress #message-threads th.bulk-select-all { - border-bottom: 0; - display: inline-block; - text-align: left; -} - -.bp-user #buddypress #message-threads th.bulk-select-all, -.bp-user #buddypress #message-threads td.bulk-select-check, -.bp-user #buddypress #message-threads td.thread-star { - border-right: 0; - width: 30px; -} - -.bp-user #buddypress .acfb-holder { - list-style: none; -} - -.bp-user #buddypress .acfb-holder li { - margin-left: 0; -} - -.bp-user #buddypress .acfb-holder li.friend-tab { - background: #edf7fa; - border: inherit; - margin-right: 0; - padding: 0.5em; -} - -.bp-user #buddypress .acfb-holder li.friend-tab span.p { - padding-left: 10px; -} - -.bp-user #buddypress .acfb-holder li.friend-tab span.p:focus, .bp-user #buddypress .acfb-holder li.friend-tab span.p:hover { - color: #c82b2b; - cursor: pointer; -} - -.bp-user #buddypress .acfb-holder li.friend-tab a { - border-bottom: 0; - text-decoration: none; -} - -.bp-user #buddypress .acfb-holder li.friend-tab a img { - display: inline; - height: 20px; - vertical-align: middle; - width: 20px !important; -} - -.bp-user #buddypress #message-threads.sitewide-notices td { - width: 100%; -} - -.bp-user #buddypress #message-threads.sitewide-notices td strong { - background: #6f6e6e; - color: #fff; - display: block; - margin-bottom: 0.4em; - padding-left: 0.2em; -} - -.bp-user #buddypress #message-threads.sitewide-notices td a { - display: inline-block; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:first-child { - display: none; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:nth-child(2) strong { - margin: -8px -8px 8px; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:first-child + td + td { - border-bottom: 0; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:first-child + td + td span { - line-height: 1; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:last-child { - border-bottom-color: #b7b7b7; - line-height: 1; - text-align: right; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child { - line-height: 0; - margin-left: 0.7em; - text-indent: -999em; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child:after { - content: attr(title); - display: block; - line-height: initial; - text-indent: 0; -} - -.bp-user .ac_results { - background: #eee; - padding-left: 10px; -} - -.bp-user .ac_results ul { - margin: 0; -} - -.bp-user .ac_results li { - margin: 10px 0; -} - -.bp-user .ac_results li:focus, .bp-user .ac_results li:hover { - cursor: pointer; -} - -/** - *------------------------------ - * @subsection 6.2.2.6 - Settings - *------------------------------ - */ -.bp-user #buddypress #settings-form > p { - font-size: 20px; - font-size: 1.25rem; - margin: 20px 0 10px; -} - -.bp-user #buddypress table.notification-settings td.yes, -.bp-user #buddypress table.notification-settings td.no { - vertical-align: middle; -} - -.bp-user #buddypress table.profile-settings { - width: 100%; -} - -.bp-user #buddypress table.profile-settings th.field-group-name, -.bp-user #buddypress table.profile-settings td.field-name { - width: 50%; -} - -@media screen and (min-width: 46.25em) { - .bp-user #buddypress table.profile-settings th.field-group-name, - .bp-user #buddypress table.profile-settings td.field-name { - width: 70%; - } -} - -.bp-user #buddypress table.profile-settings th.title, -.bp-user #buddypress table.profile-settings td.field-visibility { - width: 30%; -} - -.bp-user #buddypress table.profile-settings td.field-visibility select { - width: 100%; -} - -/** -*------------------------------------------------------------------------------- -* @section 7.0 - Forms - General -*------------------------------------------------------------------------------- -*/ -#main #buddypress .standard-form li { - float: none; -} - -#main #buddypress .standard-form input[type="text"], -#main #buddypress .standard-form input[type="email"], -#main #buddypress .standard-form input[type="password"], -#main #buddypress .standard-form textarea { - width: 100%; -} - -#buddypress div.activity-comments form .ac-textarea { - background: #f7f7f7; - border: 1px solid rgba(212, 208, 186, 0.5); -} - -#buddypress div.activity-comments form .ac-textarea textarea { - background: none; - border: 0; -} - -#buddypress .standard-form input[type="text"], -#buddypress .standard-form input[type="email"], -#buddypress .standard-form input[type="password"], -#buddypress .standard-form button, -#buddypress .standard-form select, -#buddypress .standard-form textarea { - border-color: rgba(212, 208, 186, 0.5); - border-width: 1px; -} - -#buddypress .standard-form select { - color: #737373; -} - -#buddypress #signup_form.standard-form div.submit { - float: none; -} - -#buddypress #signup_form.standard-form div.submit input { - margin-right: 0; -} - -#buddypress div.dir-search, -#buddypress div.message-search, -#buddypress li.groups-members-search { - float: none; - margin: 10px 0; -} - -#buddypress div.dir-search form, -#buddypress div.message-search form, -#buddypress li.groups-members-search form { - border: 1px solid rgba(212, 208, 186, 0.6); - overflow: hidden; -} - -#buddypress div.dir-search form label, -#buddypress div.message-search form label, -#buddypress li.groups-members-search form label { - float: left; - width: 70%; -} - -#buddypress div.dir-search form input[type="text"], -#buddypress div.message-search form input[type="text"], -#buddypress li.groups-members-search form input[type="text"] { - float: left; - margin: 0; - width: 100%; -} - -#buddypress div.dir-search form input[type="text"], -#buddypress div.dir-search form input[type="submit"], -#buddypress div.message-search form input[type="text"], -#buddypress div.message-search form input[type="submit"], -#buddypress li.groups-members-search form input[type="text"], -#buddypress li.groups-members-search form input[type="submit"] { - font-size: 14px; - font-size: 0.875rem; - border: 0; - line-height: inherit; -} - -#buddypress div.dir-search form input[type="text"], -#buddypress div.message-search form input[type="text"], -#buddypress li.groups-members-search form input[type="text"] { - border-right: 1px solid rgba(212, 208, 186, 0.6); - padding: 0.2em 0 0.2em 0.2em; -} - -#buddypress div.dir-search form input[type="submit"], -#buddypress div.message-search form input[type="submit"], -#buddypress li.groups-members-search form input[type="submit"] { - float: right; - font-weight: 400; - padding: 0.2em 1em; - text-align: center; - text-transform: none; - width: 30%; -} - -@media screen and (min-width: 38.75em) { - #buddypress div.dir-search, - #buddypress div.message-search, - #buddypress li.groups-members-search { - float: right; - margin-bottom: 5px !important; - } - #buddypress div.dir-search form label, - #buddypress div.dir-search form input[type="text"], - #buddypress div.dir-search form input[type="submit"], - #buddypress div.message-search form label, - #buddypress div.message-search form input[type="text"], - #buddypress div.message-search form input[type="submit"], - #buddypress li.groups-members-search form label, - #buddypress li.groups-members-search form input[type="text"], - #buddypress li.groups-members-search form input[type="submit"] { - width: auto; - } -} - -@media screen and (min-width: 75em) { - #buddypress .dir-search form input[type="text"], - #buddypress .message-search form input[type="text"] { - font-size: 16px; - font-size: 1rem; - } - #buddypress .dir-search form input[type="submit"], - #buddypress .message-search form input[type="submit"] { - font-size: 16px; - font-size: 1rem; - } -} - -/** -*------------------------------------------------------------------------------- -* @section 8.0 - Tables - General -*------------------------------------------------------------------------------- -*/ -#buddypress table { - font-size: 14px; - font-size: 0.875rem; - margin: 20px 0; -} - -#buddypress table tr th { - background: #6f6e6e; - border-color: #b7b7b7; - color: #fff; -} - -#buddypress table p { - margin-bottom: 0.5em; -} - -@media screen and (min-width: 55em) { - #buddypress table { - font-size: 16px; - font-size: 1rem; - } -} - -/*__ User Account tables __*/ -#buddypress .notifications th, -#buddypress .messages-notices th { - width: 30%; -} - -#buddypress .notifications th.bulk-select-all, -#buddypress .messages-notices th.bulk-select-all { - text-align: center; - width: 10%; -} - -#buddypress .notifications .bulk-select-check, -#buddypress .notifications .thread-star, -#buddypress .messages-notices .bulk-select-check, -#buddypress .messages-notices .thread-star { - text-align: center; -} - -#buddypress .notifications .notification-actions, -#buddypress .notifications td.thread-options, -#buddypress .messages-notices .notification-actions, -#buddypress .messages-notices td.thread-options { - text-align: center; -} - -#buddypress .notifications .notification-actions a, -#buddypress .notifications td.thread-options a, -#buddypress .messages-notices .notification-actions a, -#buddypress .messages-notices td.thread-options a { - display: inline-block; - margin: 0; - padding: 0; -} - -#buddypress .notifications td .button, -#buddypress .messages-notices td .button { - border: 0; - display: block; - padding: 0; - text-align: center; -} - -/** -*------------------------------------------------------------------------------- -* @section 9.0 - Error / Success messages -*------------------------------------------------------------------------------- -*/ -#buddypress div#message p { - font-size: 18px; - font-size: 1.125rem; - font-weight: 700; -} - -#buddypress div#message.info p { - background: #c6e4ee; - border: 1px solid #78bed6; - color: #1e5264; -} - -#buddypress div#message.updated p { - background: #dee6b2; - border: 1px solid #becc66; - color: #454d19; -} - -.delete-group #buddypress div#message.info p { - background: #db7e7e; - border: 1px solid #be3535; - color: #1f0808; -} - -/** -*------------------------------------------------------------------------------- -* @section 10.0 - Ajax Loading, Widgets, General classes -*------------------------------------------------------------------------------- -*/ -#buddypress .acfb-holder li.friend-tab { - background: #9fd1e2; - border: inherit; -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/055/055.test.js b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/055/055.test.js deleted file mode 100644 index 6b3f87b3c711c3..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/055/055.test.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -const stylelint = require( 'stylelint' ), - systemTestUtils = require( '../systemTestUtils.js' ); - -it( '055', () => { - return stylelint.lint({ - files: [systemTestUtils.caseStylesheetGlob( '055' )], - configFile: systemTestUtils.caseConfig( '055' ), - }).then( ({ results }) => { - expect( systemTestUtils.prepResults( results ) ).toMatchSnapshot(); - }); -}); diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/055/__snapshots__/055.test.js.snap b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/055/__snapshots__/055.test.js.snap deleted file mode 100644 index 98bb28c8406010..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/055/__snapshots__/055.test.js.snap +++ /dev/null @@ -1,786 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`055 1`] = ` -Array [ - Object { - "deprecations": Array [], - "errored": true, - "ignored": undefined, - "invalidOptionWarnings": Array [], - "parseErrors": Array [], - "source": "055/stylesheet.css", - "warnings": Array [ - Object { - "column": 1, - "line": 57, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 85, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 92, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 496, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 783, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 1069, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 1076, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 1186, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 1709, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 2, - "line": 126, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 181, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 185, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 191, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 196, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 200, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 203, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 206, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 212, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 218, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 221, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 227, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 232, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 235, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 242, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 246, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 257, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 263, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 340, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 356, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 373, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 396, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 418, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 425, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 430, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 436, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 454, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 473, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 480, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 527, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 530, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 535, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 594, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 599, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 602, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 606, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 610, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 660, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 693, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 769, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 773, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 796, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 804, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 807, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 839, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 848, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 855, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 859, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 863, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 867, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 874, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 889, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 895, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 899, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 903, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 906, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 910, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 913, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 916, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 938, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 948, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 971, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 975, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 979, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 986, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 996, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1003, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1011, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1040, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1051, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1054, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1057, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1127, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1152, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1202, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1206, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1223, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1247, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1263, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1397, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1446, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1472, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1513, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1689, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1820, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1826, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1840, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1845, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1886, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 45, - "line": 104, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 34, - "line": 278, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 46, - "line": 672, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 80, - "line": 759, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 81, - "line": 1269, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 88, - "line": 1348, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 61, - "line": 1568, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 30, - "line": 1655, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 2, - "line": 146, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '5px 0 5px' instead of '5px 0' (shorthand-property-no-redundant-values)", - }, - Object { - "column": 3, - "line": 483, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '0 0 15px 0' instead of '0 0 15px' (shorthand-property-no-redundant-values)", - }, - Object { - "column": 2, - "line": 1172, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '5px 0 0 0' instead of '5px 0 0' (shorthand-property-no-redundant-values)", - }, - Object { - "column": 2, - "line": 1411, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '15px 0 0 0' instead of '15px 0 0' (shorthand-property-no-redundant-values)", - }, - ], - }, -] -`; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/055/config.json b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/055/config.json deleted file mode 100644 index a8af7d5dcb61b9..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/055/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../index.js" -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/055/stylesheet.css b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/055/stylesheet.css deleted file mode 100644 index 78b6685c7468b4..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/055/stylesheet.css +++ /dev/null @@ -1,1972 +0,0 @@ -/*-------------------------------------------------------------- - -This is the BuddyPress companion stylesheet for -the WordPress Twentyten theme. - -This sheet supports the primary BuddyPress styles in buddypress.css - -If you are running as a child theme of twentyten this stylesheet will be -loaded by default. If you want to modify the styles the normal BP Theme Compat -hierarchy works and you can copy the file to buddypress/css/ or community/css/ -in your child themes root & either start over or modify the rulesets. - -If you do not require the styles you can dequeue them from the themes -functions file. - -Please see this codex article for more information: -http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ - ----------------------------------------------------------------- ->>> TABLE OF CONTENTS: ----------------------------------------------------------------- -1.0 Theme Structural Elements & overrides -2.0 - Navigation - General - 2.1 - Navs - Object Nav / Sub Nav (item-list-tabs) - 2.2 - Pagination -3.0 - Images -4.0 - BP Lists / Loops Generic - 4.1 - Activity Loop - 4.1.1 Whats New Activity - 4.1.2 - Activity Listing - 4.1.3 - Activity Comments - 4.2 - Members Loop - 4.3 - Groups Loop - 4.4 - Blogs Loop -5.0 - Directories - Members, Groups, Blogs, Register, activation -6.0 - Single Item screens: User Account & Single Group Screens - 6.1 - Item Headers: Global - 6.1.1 - item-header: Groups - 6.1.2 - item-header: User Accounts - 6.2 - Item Body: Global - 6.2.1 - item-body: Groups - 6.2.1.1 - Management settings screens - 6.2.1.2 - Group members list - 6.2.2 - item-body: User Accounts - 6.2.2.1 - classes, pag, filters - 6.2.2.2 - Extended Profiles - 6.2.2.3 - Groups - 6.2.2.4 - friends - 6.2.2.5 - Private Messaging Threads - 6.2.2.6 - Settings - 6.2.2.7 - Notifications -7.0 - Forms - General -8.0 - Tables - General -9.0 - Error / Success Messages -10.0 - Ajax Loading, Widgets, General classes ---------------------------------------------------------------*/ -/** -*------------------------------------------------------------------------------- -* @section 1.0 - Theme - Structural Elements. overrides, Globals -*------------------------------------------------------------------------------- -*/ -.buddypress div.clear { - display: none; -} - -body.page-template-onecolumn-page #main #container { - margin: 0; -} - -body.page-template-onecolumn-page #content { - margin: 0 10%; - width: auto; -} - -body.page-template-onecolumn-page #content .entry-header, -body.page-template-onecolumn-page #content .entry-content { - width: auto; -} - -/** -*------------------------------------------------------------------------------- -* @section 2.0 - Navigation - General -*------------------------------------------------------------------------------- -*/ -/** -*---------------------------------------------------------- -* @section 2.1 - Navs Object Nav / Sub Nav (item-list-tabs) -* -* The main navigational elements for all BP screens -*---------------------------------------------------------- -*/ -/* Here we start things off */ -#buddypress div.item-list-tabs ul li.selected a, -#buddypress div.item-list-tabs ul li.current a { - background: inherit; - opacity: 1; -} - -#buddypress div.item-list-tabs ul { - overflow: hidden; - padding: 0; -} - -#buddypress div.item-list-tabs ul li a:focus, #buddypress div.item-list-tabs ul li a:hover { - color: #555; -} - -#buddypress div.item-list-tabs ul li a:visited { - color: #21759b; -} - -#buddypress div.item-list-tabs ul li a span { - padding: 0 4px !important; -} - -/*__ Horizontal menus __*/ -#buddypress #object-nav ul { - overflow: hidden; -} - -#buddypress #object-nav ul li { - float: none; -} - -@media screen and (min-width: 650px) { - #buddypress #object-nav ul li { - float: left; - } -} - -#buddypress div#subnav.item-list-tabs { - margin-top: 0; -} - -#buddypress div#subnav.item-list-tabs ul { - border-bottom: 0; - border-top: 1px solid #d4d0ba; - margin-top: 5px; - padding: 0; -} - -#buddypress div#subnav.item-list-tabs ul li.last { - background: #fff; - float: right; - margin-top: 0; - padding: 5px 0 5px; - text-align: right; - width: 230px; -} - -#buddypress div#subnav.item-list-tabs ul li.last select, -#buddypress div#subnav.item-list-tabs ul li.last select:focus { - background: transparent; - border: 0; - outline: 0; - padding: 0; -} - -#buddypress div#subnav.item-list-tabs ul li.last select, -#buddypress div#subnav.item-list-tabs ul li.last label, -#buddypress div#subnav.item-list-tabs ul li.last option { - font-size: 14px; - font-size: 0.9333333333rem; -} - -#buddypress div#subnav.item-list-tabs ul li.last select { - font-style: italic; -} - -#buddypress div#subnav.item-list-tabs ul li.last select option { - font-style: normal; -} - -.bp-user #buddypress div#subnav.item-list-tabs li.last { - margin-left: 0; - text-align: right; -} - -/*__ Vertical menu User Account / Group single screens __*/ -@media screen and (min-width: 800px) { - body.bp-user #buddypress #item-header, - body.bp-user #buddypress #item-body { - background: #fff; - } - body.bp-user #buddypress #object-nav { - border-right: 1px solid #ddd; - float: left; - margin-right: -1px; - width: 200px; - } - body.bp-user #buddypress #object-nav ul { - background: none; - border-bottom: 0; - padding: 0; - } - body.bp-user #buddypress #object-nav ul li { - float: none; - margin-bottom: 5px; - } - body.bp-user #buddypress #object-nav ul li a { - overflow: hidden; - } - body.bp-user #buddypress #object-nav ul li.selected { - background: #ddd; - } - body.bp-user #buddypress #object-nav ul li span { - background: #fff; - border-radius: 10%; - float: right; - margin-right: 2px; - } - body.bp-user #buddypress #item-body { - border-left: 1px solid #ddd; - overflow: hidden; - padding: 0 0 0 25px; - width: auto; - } - body.bp-user #buddypress #item-body #subnav { - margin: 0 0 0 -25px; - } - body.bp-user #buddypress #item-body #subnav ul { - margin-top: 0; - } -} - -@media only screen and (min-device-width: 375px) { - #main #buddypress #group-create-tabs.item-list-tabs ul:before, - #main #buddypress #group-create-tabs.item-list-tabs ul:after { - content: " "; - display: table; - } - #main #buddypress #group-create-tabs.item-list-tabs ul:after { - clear: both; - } - #main #buddypress #group-create-tabs.item-list-tabs ul { - background: none; - border: 0; - border-bottom: 1px solid #ddd; - overflow: visible; - padding-bottom: 0; - } - #main #buddypress #group-create-tabs.item-list-tabs ul li { - float: left; - width: auto; - } - #main #buddypress #group-create-tabs.item-list-tabs ul li.selected, - #main #buddypress #group-create-tabs.item-list-tabs ul li.current { - border: 1px solid #ddd; - border-bottom-color: #fff; - -webkit-border-top-right-radius: 4px; - border-top-right-radius: 4px; - -webkit-border-top-left-radius: 4px; - border-top-left-radius: 4px; - background-clip: padding-box; - margin-bottom: -1px; - } - #main #buddypress #group-create-tabs.item-list-tabs ul li.selected a, - #main #buddypress #group-create-tabs.item-list-tabs ul li.current a { - background: none; - color: #373737; - outline: none; - } - #main #buddypress #subnav ul { - border-bottom: 0; - } -} - -/** -*---------------------------------------------------------- -* @section 2.2 - Pagination -*---------------------------------------------------------- -*/ -#buddypress div.pagination { - box-shadow: none; - min-height: 0; -} - -#buddypress div.pagination:before, #buddypress div.pagination:after { - height: 0; - width: 0; -} - -#buddypress div.pagination .pag-count { - margin-left: 0; -} - -#buddypress div.pagination .pagination-links { - margin-right: 0; -} - -#buddypress div.pagination .pagination-links span, -#buddypress div.pagination .pagination-links a { - height: auto; - line-height: 1; - padding: 5px; -} - -#buddypress div.pagination .pagination-links .prev, -#buddypress div.pagination .pagination-links .next { - background-color: transparent; - color: inherit; - overflow: visible; - width: auto; -} - -#buddypress div.pagination .pagination-links .prev:before, -#buddypress div.pagination .pagination-links .next:before { - display: none; -} - -#buddypress div.pagination .pagination-links .prev { - left: auto; - position: static; -} - -#buddypress div.pagination .pagination-links .next { - position: static; - right: auto; -} - -/** -*------------------------------------------------------------------------------- -* @section 4.0 - BP Lists / Loops Generic -*------------------------------------------------------------------------------- -*/ -#buddypress ul.item-list { - border-top: 0; -} - -#buddypress ul.item-list li { - overflow: hidden !important; -} - -#buddypress ul.item-list li .item-avatar { - margin-bottom: 15px; - text-align: center; -} - -@media only screen and (min-device-width: 375px) { - #buddypress ul.item-list li .item-avatar { - margin-bottom: 0; - } -} - -#buddypress ul.item-list li .item-avatar a { - border-bottom: 0; -} - -#buddypress ul.item-list li .item-avatar img.avatar { - display: inline-block; - float: none; - margin-bottom: 15px; -} - -@media only screen and (min-device-width: 450px) { - #buddypress ul.item-list li .item-avatar img.avatar { - display: block; - float: left; - opacity: 1; - } -} - -#buddypress ul.item-list li .item { - margin-left: 0; - overflow: hidden; -} - -#buddypress ul.item-list li .item .item-meta { - text-align: center; -} - -@media screen and (min-width: 650px) { - #buddypress ul.item-list li .item .item-meta { - text-align: left; - } -} - -#buddypress ul.item-list li .item span.activity { - font-style: italic; -} - -#buddypress ul.item-list li .item .item-desc { - margin-left: 0; - width: 94%; -} - -#buddypress ul.item-list li .item .item-title { - font-size: 16px; - font-size: 1.0666666667rem; - line-height: 1.2; - text-align: center; - width: 100%; -} - -@media screen and (min-device-width: 450px) { - #buddypress ul.item-list li .item .item-title { - text-align: left; - } -} - -#buddypress ul.item-list li .item .item-title > a { - text-decoration: none; -} - -#buddypress ul.item-list li .item .item-title > a:visited { - color: #21759b; -} - -#buddypress ul.item-list li .item .item-title .update { - display: block; - font-size: 12px; - font-size: 0.8rem; - padding: 15px 0; - text-align: left; -} - -@media screen and (min-width: 650px) { - #buddypress ul.item-list li .item .item-title .update { - font-size: 14px; - font-size: 0.9333333333rem; - } -} - -@media screen and (min-width: 650px) { - #buddypress ul.item-list li .item-avatar, - #buddypress ul.item-list li .item, - #buddypress ul.item-list li .action { - float: left; - } - #buddypress ul.item-list li .item { - left: 5%; - margin-left: 0; - position: relative; - width: 55%; - } - #buddypress ul.item-list li .item .item-title { - font-size: 18px; - font-size: 1.2rem; - } -} - -#buddypress ul.item-list li div.action { - clear: left; - float: none; - margin: 0; - margin-left: 0; - padding: 15px 0 5px; - position: relative; - text-align: left; - top: 0; -} - -@media screen and (min-width: 650px) { - #buddypress ul.item-list li div.action { - clear: none; - float: right; - margin-bottom: 0; - padding: 0; - } -} - -#buddypress ul.item-list li div.action div { - display: inline-block; - margin: 5px 0; - width: 100%; -} - -#buddypress ul.item-list li div.action div a { - display: block; -} - -@media only screen and (min-device-width: 375px) { - #buddypress ul.item-list li div.action div { - margin: 0 15px 5px 0; - width: auto; - } -} - -@media screen and (min-width: 650px) { - #buddypress ul.item-list li div.action div { - clear: right; - float: right; - margin: 0 0 15px 0; - } -} - -#buddypress ul.item-list li div.action .meta { - font-style: italic; -} - -/** -*---------------------------------------------------------- -* @section 4.1 - Activity -*---------------------------------------------------------- -*/ -/** -*----------------------------------------------------- -* @section 4.1.1 - Activity Whats New -*----------------------------------------------------- -*/ -#buddypress form#whats-new-form p.activity-greeting { - line-height: 1.4; -} - -#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box { - border: 1px solid rgba(212, 208, 186, 0.5); - float: left; - font-size: 12px; - font-size: 0.8rem; - line-height: 1.6; - margin-top: 12px; - padding-left: 0.2em; - width: 100%; -} - -#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box select { - background: none; - border: 0; - float: right; - margin: 0; - max-width: 220px; - min-height: 1.5em; - padding: 0 0 0 0.4em; -} - -@media screen and (min-width: 30em) { - #buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box { - width: auto; - } - #buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-submit { - font-size: 12px; - font-size: 0.8rem; - float: right; - } - #buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-submit input { - padding: 0 6px; - } -} - -#buddypress #item-body form#whats-new-form { - margin: 50px 0; -} - -/** -*----------------------------------------------------- -* @section 4.1.2 - Activity Listing -*----------------------------------------------------- -*/ -#buddypress #activity-stream li { - padding: 25px 0 15px; -} - -#buddypress #activity-stream li.load-newest a { - display: block; -} - -#buddypress #activity-stream li .activity-avatar { - float: none; - text-align: center; -} - -#buddypress #activity-stream li .activity-avatar a { - display: inline-block; -} - -#buddypress #activity-stream li .activity-avatar a img.avatar { - display: inline; - float: none; - height: 60px; - margin-bottom: 25px; - margin-left: 0; - width: 60px; -} - -#buddypress #activity-stream li .activity-content, -#buddypress #activity-stream li .activity-comments { - margin-left: 0; -} - -#buddypress #activity-stream li .activity-header { - font-size: 14px; - font-size: 0.9333333333rem; -} - -#buddypress #activity-stream li .activity-header a:visited { - color: #21759b; -} - -#buddypress #activity-stream li .activity-inner img { - height: auto; -} - -@media screen and (min-width: 650px) { - #buddypress #activity-stream li .activity-avatar { - float: left; - margin-right: 15px; - text-align: left; - } - #buddypress #activity-stream li .activity-avatar a { - border-bottom: 0; - } - #buddypress #activity-stream li .activity-content { - margin: 0; - overflow: hidden; - } - #buddypress #activity-stream li .activity-content .activity-header { - font-size: 16px; - font-size: 1.0666666667rem; - } - #buddypress #activity-stream li .activity-comments { - margin-left: 70px; - } -} - -#buddypress #activity-stream li.mini .activity-avatar a img.avatar { - height: 30px; - margin-left: 15px; - width: 30px; -} - -#buddypress #activity-stream li.mini .activity-content .activity-header { - font-size: 14px; - font-size: 0.9333333333rem; -} - -#buddypress #activity-stream li.mini .activity-content .activity-meta a { - font-size: 12px; - font-size: 0.8rem; -} - -#buddypress #activity-stream .activity-content { - margin-top: -12px; -} - -#buddypress #activity-stream .activity-content .activity-header { - line-height: inherit; - margin-right: 0; -} - -#buddypress #activity-stream .activity-content .activity-header p { - border-bottom: 1px solid rgba(234, 234, 234, 0.6); - margin-top: 0; - padding: 0 0.2em; -} - -#buddypress #activity-stream .activity-content .activity-header img.avatar { - display: inline-block; - margin-bottom: 0 !important; -} - -#buddypress #activity-stream .activity-content .activity-meta a { - display: block; - font-size: 14px; - font-size: 0.9333333333rem; - margin-bottom: 5px; - padding: 0.2em 0.5em; -} - -@media screen and (min-width: 650px) { - #buddypress #activity-stream .activity-content .activity-meta a { - float: left; - margin-bottom: 0; - } -} - -#buddypress #activity-stream .load-more { - background: #f7f7f7; - border: 1px solid transparent; - padding: 15px; -} - -#buddypress #activity-stream .load-more:focus, #buddypress #activity-stream .load-more:hover { - background: #f4f4f4; - border: 1px solid rgba(159, 209, 226, 0.3); -} - -#buddypress #activity-stream .load-more a { - display: block; -} - -/* Single activity view - activity permalink */ -.activity-permalink #buddypress #activity-stream li.activity-item { - padding: 25px; -} - -.activity-permalink #buddypress #activity-stream li.mini .activity-header { - font-size: 16px; - font-size: 1.0666666667rem; - margin-bottom: 50px; -} - -@media screen and (min-width: 650px) { - .activity-permalink #buddypress #activity-stream li.mini .activity-header { - font-size: 20px; - font-size: 1.3333333333rem; - } -} - -.activity-permalink #buddypress #activity-stream li.mini .activity-header p { - padding: 25px; -} - -.activity-permalink #buddypress #activity-stream .activity-comments { - margin-left: 0; -} - -/** -*----------------------------------------------------- -* @section 4.1.3 - Activity Comments -*----------------------------------------------------- -*/ -#buddypress #activity-stream .activity-comments { - position: relative; -} - -#buddypress #activity-stream .activity-comments > ul { - background: rgba(247, 247, 247, 0.6); - margin: 15px 0 0 2px; -} - -#buddypress #activity-stream .activity-comments > ul > li:hover * { - color: #555; -} - -#buddypress #activity-stream .activity-comments > ul > li .acomment-meta, -#buddypress #activity-stream .activity-comments > ul > li .acomment-content { - font-size: 12px; - font-size: 0.8rem; -} - -#buddypress #activity-stream .activity-comments .ac-form { - border: 1px solid #d4d0ba; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - margin: 15px 0; - width: 100%; -} - -#buddypress #activity-stream .activity-comments .ac-form input[type="submit"], -#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel { - color: rgba(55, 55, 55, 0.8); - display: inline-block; - font-family: inherit; - font-size: 12px; - font-size: 0.8rem; - font-weight: 400; - line-height: 1.2; - padding: 4px 10px; - text-transform: lowercase; - width: 100px; -} - -#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel { - border: 1px solid rgba(212, 208, 186, 0.7); - text-align: center; -} - -#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:focus, #buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:hover { - background: #ededed; -} - -/** -*---------------------------------------------------------- -* @section 4.2 - Members Loop -*---------------------------------------------------------- -*/ -@media screen and (min-width: 650px) { - #buddypress #members-list li .item-avatar, - #buddypress #members-list li .item { - float: left; - } - #buddypress #members-list li .action { - float: right; - } -} - -/** -*------------------------------------------------------------------------------- -* @section 5.0 - Directories -*------------------------------------------------------------------------------- -*/ -/** -*----------------------------------------------------------- -* @subsection Registration -*----------------------------------------------------------- -*/ -#buddypress #signup_form.standard-form #profile-details-section, -#buddypress #signup_form.standard-form #basic-details-section, -#buddypress #signup_form.standard-form #blog-details-section { - float: none; - width: 100%; -} - -@media screen and (min-width: 37.5em) { - #buddypress #signup_form.standard-form #profile-details-section, - #buddypress #signup_form.standard-form #basic-details-section, - #buddypress #signup_form.standard-form #blog-details-section { - width: 48%; - } -} - -@media screen and (min-width: 37.5em) { - #buddypress #signup_form.standard-form #profile-details-section { - float: right; - } - #buddypress #signup_form.standard-form #basic-details-section { - float: left; - } -} - -/** -*------------------------------------------------------------------------------- -* @section 6.0 - Single Item screens: User Account & Single Group Screens -*------------------------------------------------------------------------------- -*/ -.bp-user #buddypress a:visited { - color: #21759b; -} - -/** -*----------------------------------------------------------- -* @subsection 6.1 - Item Header Global -*----------------------------------------------------------- -*/ -.bp-user #buddypress #item-header-content #item-meta, -.single-item.groups #buddypress #item-header-content #item-meta { - font-size: 14px; - font-size: 0.9333333333rem; - text-align: left; -} - -.bp-user #buddypress #item-header-content #item-meta p, -.single-item.groups #buddypress #item-header-content #item-meta p { - margin-bottom: 0.5em; -} - -@media screen and (max-width: 37.5em) { - .bp-user h1, - .bp-user #item-header-content, - .single-item.groups h1, - .single-item.groups #item-header-content { - text-align: center; - } -} - -@media screen and (max-width: 46.25em) { - .bp-user main header.entry-header, - .single-item.groups main header.entry-header { - padding-bottom: 1rem; - } -} - -@media screen and (max-width: 37.5em) { - .bp-user #buddypress h1, - .single-item.groups #buddypress h1 { - margin-bottom: 0; - } - .bp-user #buddypress #item-header-avatar img.avatar, - .single-item.groups #buddypress #item-header-avatar img.avatar { - margin-right: 0; - } - .bp-user #buddypress #item-header-content, - .single-item.groups #buddypress #item-header-content { - width: 100%; - } - .bp-user #buddypress #item-header-content .user-nicename, - .single-item.groups #buddypress #item-header-content .user-nicename { - color: #555; - } -} - -@media screen and (max-width: 46.25em) { - .bp-user #buddypress #item-header .generic-button, - .single-item.groups #buddypress #item-header .generic-button { - float: none; - margin: 1.5em 0 0; - } -} - -/** -*----------------------------------------------------- -* @subsection 6.1.1 - item-header Groups -* -* Group Specific Item Header -*----------------------------------------------------- -*/ -@media screen and (max-width: 46.25em) { - .single-item.groups #buddypress #item-header #item-meta { - margin-bottom: 25px; - } -} - -@media screen and (max-width: 50em) { - .single-item.groups #buddypress div#item-header { - display: flex; - flex-direction: column; - } - .single-item.groups #buddypress div#item-header #item-header-avatar { - order: 1; - text-align: center; - } - .single-item.groups #buddypress div#item-header #item-header-avatar a { - border-bottom: 0; - } - .single-item.groups #buddypress div#item-header #item-header-avatar a img { - display: inline-block; - float: none; - } - .single-item.groups #buddypress div#item-header #item-header-content { - order: 2; - } - .single-item.groups #buddypress div#item-header #item-actions { - order: 3; - } - .single-item.groups #buddypress div#item-header #item-actions h2 { - border-bottom: 1px solid #eaeaea; - text-align: center; - } -} - -.single-item.groups #buddypress div#item-header { - padding-bottom: 50px; -} - -.single-item.groups #buddypress div#item-header #item-header-content { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -.single-item.groups #buddypress div#item-header div#item-actions { - margin: 0 !important; - width: 100%; -} - -@media screen and (min-width: 50em) { - .single-item.groups #buddypress div#item-header div#item-actions { - border-left: 1px solid #eaeaea; - clear: none; - float: right; - padding-left: 0.2em; - width: 30%; - } -} - -@media screen and (min-width: 46.25em) { - .single-item.groups #buddypress div#item-header div#item-actions { - width: 40%; - } -} - -.single-item.groups #buddypress div#item-header div#item-actions ul { - margin-top: 0; - padding-left: 0; -} - -.single-item.groups #buddypress div#item-header div#item-actions h2 { - font-size: 14px; - font-size: 0.9333333333rem; - font-weight: 700; - line-height: 1.4; -} - -.single-item.groups #buddypress div#item-header div#item-actions #group-admins li, -.single-item.groups #buddypress div#item-header div#item-actions #group-mods li { - margin: 0; -} - -@media screen and (min-width: 650px) { - .single-item.groups #buddypress div#item-header #item-header-avatar, - .single-item.groups #buddypress div#item-header #item-header-content { - float: left; - } - .single-item.groups #buddypress div#item-header #item-header-content { - margin-left: 2%; - padding: 0 0.5em; - } - .single-item.groups #buddypress div#item-header div#item-actions { - float: right; - width: 28%; - } -} - -@media screen and (min-width: 64em) { - .single-item.groups #buddypress div#item-header #item-header-content { - width: 40%; - } -} - -.single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-actions { - margin-top: 225px !important; -} - -@media screen and (min-width: 50em) and (max-width: 60em) { - .single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-header-content { - max-width: 60% !important; - width: 60% !important; - } -} - -@media screen and (max-width: 64em) { - .single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-actions { - border: 0; - clear: both; - margin-top: 0 !important; - max-width: 100% !important; - padding-top: 0 !important; - width: auto; - } - .single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-actions h2 { - border-bottom: 1px solid #eaeaea; - } -} - -/** -*----------------------------------------------------- -* @subsection 6.1.2 - Item Header User Accounts -* -* User Accounts Specific Item Header -*----------------------------------------------------- -*/ -.bp-user #buddypress #item-header #item-header-avatar { - text-align: center; -} - -.bp-user #buddypress #item-header #item-header-avatar img.avatar, -.bp-user #buddypress #item-header #item-header-avatar a { - border-bottom: 0; - display: inline-block; - float: none; -} - -.bp-user #buddypress #item-header #item-header-cover-image .user-nicename { - color: inherit; - text-shadow: none; -} - -@media screen and (min-width: 800px) { - .bp-user #buddypress #item-header #item-header-cover-image .user-nicename { - color: #fff; - text-shadow: 0 0 3px rgba(0, 0, 0, 0.8); - } -} - -.bp-user #buddypress #item-header #item-header-content #item-buttons .generic-button { - margin-right: 5px; -} - -@media screen and (min-width: 650px) { - .bp-user #buddypress #item-header #item-header-avatar { - float: left; - } - .bp-user #buddypress #item-header #item-header-avatar a { - float: left; - } - .bp-user #buddypress #item-header #item-header-content { - float: right; - margin-right: 0%; - width: 69%; - } -} - -/** -*----------------------------------------------------------- -* @subsection 6.2 - Item Body: Global -*----------------------------------------------------------- -*/ -/** -*---------------------------------------------------- -* @subsection 6.2.1 - Item Body Groups -* -* Groups specific item body rules - screens -*---------------------------------------------------- -*/ -/** -*----------------------------------------- -* @subsection 6.2.1.1 - Group Management -*----------------------------------------- -*/ -.groups #group-settings-form h3 { - background: #555; - color: #fff; - padding: 0.2em; -} - -.groups.edit-details #group-settings-form label { - margin-bottom: 0; - padding: 0.2em; - width: 80%; -} - -.groups.edit-details #group-settings-form textarea + p label { - background: none; - color: inherit; - font-size: 14px; - font-size: 0.9333333333rem; - width: auto; -} - -.groups.edit-details #group-settings-form textarea { - height: auto; - min-height: 100px; - overflow: auto; -} - -.groups.group-settings #group-settings-form div.radio label { - font-weight: 700; - padding: 0.2em; -} - -.groups.group-settings #group-settings-form div.radio label ul { - color: rgba(55, 55, 55, 0.6); - font-size: 14px; - font-size: 0.9333333333rem; -} - -.groups.group-avatar form > p { - margin-top: 25px; -} - -.groups.manage-members #group-settings-form .item-list li { - border-bottom: 1px solid #eaeaea; -} - -@media screen and (min-width: 650px) { - .groups.manage-members #group-settings-form .item-list li img, - .groups.manage-members #group-settings-form .item-list li h5 { - float: left; - } -} - -.groups.manage-members #group-settings-form .item-list li img > a, -.groups.manage-members #group-settings-form .item-list li h5 > a { - border-bottom: 0; -} - -.groups.manage-members #group-settings-form .item-list li span.small { - clear: left; - display: block; - float: none; - margin-top: 15px; - width: 100%; -} - -.groups.manage-members #group-settings-form .item-list li span.small a { - display: block; - margin: 5px 0; -} - -@media screen and (min-width: 650px) { - .groups.manage-members #group-settings-form .item-list li span.small a { - display: inline-block; - } -} - -.groups.manage-members #group-settings-form .item-list li h5 { - margin: 0; -} - -/** -*----------------------------------------- -* @subsection 6.2.1.2 - Group members -*----------------------------------------- -*/ -.groups.group-members #subnav li { - width: 100%; -} - -.groups.group-members #subnav li #search-members-form { - float: right; - margin: 5px 0 0 0; -} - -.groups.group-members #subnav li #search-members-form label input[type="text"] { - box-shadow: none; -} - -/** -*----------------------------------------------------- -* @subsection 6.2.2 - Item Body User Accounts -* -* User Account specific component item body rules -*----------------------------------------------------- -*/ -/** -*-------------------------------------------- -* @subsection 6.2.2.1 - classes, pag, filters -*-------------------------------------------- -*/ -.bp-user #buddypress table th { - font-size: 13px; - font-size: 0.8666666667rem; -} - -.bp-user #buddypress table td { - font-size: 12px; - font-size: 0.8rem; -} - -@media screen and (min-width: 650px) { - .bp-user #buddypress table th { - font-size: 16px; - font-size: 1.0666666667rem; - } - .bp-user #buddypress table td { - font-size: 14px; - font-size: 0.9333333333rem; - } -} - -.bp-user #buddypress .pag-count { - font-style: italic; -} - -.bp-user #buddypress .notifications-options-nav, -.bp-user #buddypress .messages-options-nav { - float: left; - width: 100%; -} - -@media screen and (min-width: 37.5em) { - .bp-user #buddypress .notifications-options-nav, - .bp-user #buddypress .messages-options-nav { - width: 60%; - } -} - -.bp-user #buddypress .notifications-options-nav select, -.bp-user #buddypress .notifications-options-nav input, -.bp-user #buddypress .messages-options-nav select, -.bp-user #buddypress .messages-options-nav input { - font-size: 14px; - font-size: 0.9333333333rem; - outline: 0; - padding: 0; -} - -.bp-user #buddypress .notifications-options-nav select, -.bp-user #buddypress .messages-options-nav select { - float: left; - margin-right: 0; - width: 49%; -} - -@media screen and (min-width: 37.5em) { - .bp-user #buddypress .notifications-options-nav select, - .bp-user #buddypress .messages-options-nav select { - width: auto; - } -} - -.bp-user #buddypress .notifications-options-nav input, -.bp-user #buddypress .messages-options-nav input { - float: left; - font-family: inherit; - line-height: 20px; - margin-left: 1%; - width: 50%; -} - -@media screen and (min-width: 37.5em) { - .bp-user #buddypress .notifications-options-nav input, - .bp-user #buddypress .messages-options-nav input { - width: auto; - } -} - -.bp-user #buddypress .notifications-options-nav input[disabled="disabled"]:focus, .bp-user #buddypress .notifications-options-nav input[disabled="disabled"]:hover, -.bp-user #buddypress .messages-options-nav input[disabled="disabled"]:focus, -.bp-user #buddypress .messages-options-nav input[disabled="disabled"]:hover { - background: none; -} - -/** - *------------------------------------------- - * @subsection 6.2.2.2 - Extended Profiles - *------------------------------------------- - */ -.bp-user #buddypress .profile .bp-widget h2 { - background: #6f6e6e; - color: #fff; - margin-bottom: 0; - padding: 0.4em; -} - -.bp-user #buddypress .profile .bp-widget table { - margin-top: 0; -} - -.bp-user #buddypress .profile #profile-edit-form .button-nav:before, -.bp-user #buddypress .profile #profile-edit-form .button-nav:after { - content: " "; - display: table; -} - -.bp-user #buddypress .profile #profile-edit-form .button-nav:after { - clear: both; -} - -.bp-user #buddypress .profile #profile-edit-form ul.button-nav { - border-bottom: 1px solid #eaeaea; - margin-left: 0; -} - -.bp-user #buddypress .profile #profile-edit-form ul.button-nav li { - float: left; - margin-bottom: 0; -} - -.bp-user #buddypress .profile #profile-edit-form ul.button-nav li.current { - border: 1px solid #eaeaea; - border-bottom-color: #fff; - margin-bottom: -1px; -} - -.bp-user #buddypress .profile #profile-edit-form ul.button-nav a { - background: none; - border: 0; - font-size: 18px; - font-size: 1.2rem; -} - -.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle { - margin: 5px 0 25px; -} - -.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle, -.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings { - font-size: 14px; - font-size: 0.9333333333rem; -} - -.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close, -.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link { - background: #6f6e6e; - -webkit-border-radius: 2px; - -moz-border-radius: 2px; - -ms-border-radius: 2px; - border-radius: 2px; - background-clip: padding-box; - color: #eee; - font-weight: 700; - padding: 0.1em 0.5em; - text-decoration: none; -} - -.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close:focus, .bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close:hover, -.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link:focus, -.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link:hover { - color: #fff; -} - -.bp-user #buddypress .profile .bp-avatar #bp-delete-avatar a { - font-size: inherit; -} - -/** - *------------------------------------------- - * @subsection 6.2.2.5 - Private Messaging - *------------------------------------------- - */ -.bp-user #buddypress #message-thread a { - border-bottom: 0; -} - -.bp-user #buddypress #message-thread #message-subject { - background: #6f6e6e; - color: #fff; - padding: 0.3em 0 0.3em 0.2em; -} - -.bp-user #buddypress #message-thread #message-recipients { - font-style: italic; -} - -.bp-user #buddypress #message-thread #message-recipients a.confirm { - border: 1px solid #eaeaea; - font-style: normal; -} - -.bp-user #buddypress #message-thread #message-recipients .highlight { - font-size: 100%; -} - -.bp-user #buddypress #message-thread .message-metadata:after { - clear: both; - content: ""; - display: table; -} - -.bp-user #buddypress #message-thread .message-metadata img.avatar { - float: none; -} - -@media screen and (min-width: 46.25em) { - .bp-user #buddypress #message-thread .message-metadata img.avatar { - float: left; - } -} - -.bp-user #buddypress #message-thread .message-metadata .message-star-actions { - float: right; - margin-right: 5px; - position: static; -} - -.bp-user #buddypress #message-thread .message-content { - background: #f7f7f7; - border: 1px solid #eaeaea; - margin: 15px 0 0 0; - padding: 0.3em; -} - -.bp-user #buddypress #message-thread #send-reply .message-content { - background: #fff; - border: 0; -} - -.bp-user #buddypress #message-thread .alt { - background: #fff; -} - -.bp-user #buddypress #message-threads thead tr { - background: #6f6e6e; -} - -.bp-user #buddypress #message-threads tr td { - background: #fff; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - display: inline-block; - float: left; -} - -.bp-user #buddypress #message-threads tr td.thread-star, -.bp-user #buddypress #message-threads tr td.thread-options { - border-bottom: 1px solid #ccc; - height: 2.4em; - padding-bottom: 0.2em; - padding-top: 0.2em; -} - -@media screen and (max-width: 46.25em) { - .bp-user #buddypress #message-threads tr td.thread-star, - .bp-user #buddypress #message-threads tr td.thread-options { - padding-top: 0; - } -} - -.bp-user #buddypress #message-threads tr td.thread-star { - vertical-align: middle; -} - -.bp-user #buddypress #message-threads tr td.thread-star .message-action-star, -.bp-user #buddypress #message-threads tr td.thread-star .message-action-unstar { - line-height: 1.2; -} - -.bp-user #buddypress #message-threads tr td.thread-star span.icon:before { - font-size: 14px; - font-size: 0.9333333333rem; -} - -.bp-user #buddypress #message-threads tr td.bulk-select-check, -.bp-user #buddypress #message-threads tr td.thread-from { - height: 3em; -} - -@media screen and (max-width: 37.5em) { - .bp-user #buddypress #message-threads tr td.bulk-select-check, - .bp-user #buddypress #message-threads tr td.thread-from { - height: 5.2em; - } -} - -.bp-user #buddypress #message-threads tr td.thread-from, -.bp-user #buddypress #message-threads tr td.thread-options { - border-left: 0 !important; - width: -webkit-calc(100% - 30px); - width: -moz-calc(100% - 30px); - width: calc(100% - 30px); - margin-left: 0; -} - -.bp-user #buddypress #message-threads tr td.thread-info { - padding-left: 41px; - width: 100%; -} - -.bp-user #buddypress #message-threads tr td.thread-options { - text-align: right; -} - -.bp-user #buddypress #message-threads tr td.thread-options a { - font-size: 12px; - font-size: 0.8rem; - line-height: 1.2; -} - -.bp-user #buddypress #message-threads tr span.from { - display: none; -} - -.bp-user #buddypress #message-threads tr span.activity { - display: block; - float: right; - line-height: 2; -} - -@media screen and (max-width: 37.5em) { - .bp-user #buddypress #message-threads tr span.activity { - clear: both; - font-size: 11px; - font-size: 0.7333333333rem; - width: 100%; - } -} - -.bp-user #buddypress #message-threads tr.unread td { - border-color: #eaeaea; -} - -.bp-user #buddypress #message-threads th { - display: none; -} - -.bp-user #buddypress #message-threads th.bulk-select-all { - border-bottom: 0; - display: inline-block; - text-align: left; -} - -.bp-user #buddypress #message-threads th.bulk-select-all, -.bp-user #buddypress #message-threads td.bulk-select-check, -.bp-user #buddypress #message-threads td.thread-star { - border-right: 0; - width: 30px; -} - -.bp-user #buddypress #send_message_form input, -.bp-user #buddypress #send_message_form textarea { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -.bp-user #buddypress .acfb-holder { - list-style: none; -} - -.bp-user #buddypress .acfb-holder li { - margin-left: 0; -} - -.bp-user #buddypress .acfb-holder li.friend-tab { - background: #edf7fa; - border: inherit; - margin-right: 0; - padding: 0.5em; -} - -.bp-user #buddypress .acfb-holder li.friend-tab span.p { - padding-left: 15px; -} - -.bp-user #buddypress .acfb-holder li.friend-tab span.p:focus, .bp-user #buddypress .acfb-holder li.friend-tab span.p:hover { - color: #c82b2b; - cursor: pointer; -} - -.bp-user #buddypress .acfb-holder li.friend-tab a { - border-bottom: 0; - text-decoration: none; -} - -.bp-user #buddypress .acfb-holder li.friend-tab a img { - display: inline; - height: 20px; - vertical-align: middle; - width: 20px !important; -} - -.bp-user #buddypress #message-threads.sitewide-notices tr { - margin: 3em 0; -} - -.bp-user #buddypress #message-threads.sitewide-notices td { - width: 100%; -} - -.bp-user #buddypress #message-threads.sitewide-notices td strong { - background: #6f6e6e; - color: #fff; - display: block; - margin-bottom: 0.4em; - padding-left: 0.2em; -} - -.bp-user #buddypress #message-threads.sitewide-notices td a { - display: inline-block; -} - -.bp-user #buddypress #message-threads.sitewide-notices td a.button { - border: 1px solid #d4d0ba; - line-height: initial; - padding: 0.4em 0.3em; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:first-child { - display: none; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:nth-child(2) strong { - margin: -8px -8px 8px; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:first-child + td + td { - border-bottom: 0; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:first-child + td + td span { - line-height: 1; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:last-child { - line-height: 1; - padding-bottom: 1em; - text-align: right; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child { - line-height: 0; - margin-left: 0.7em; - text-indent: -999em; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child:after { - content: attr(title); - display: block; - line-height: initial; - text-indent: 0; -} - -.bp-user .ac_results { - background: #eee; - padding-left: 15px; -} - -.bp-user .ac_results li { - margin: 15px 0; -} - -.bp-user .ac_results li:focus, .bp-user .ac_results li:hover { - cursor: pointer; -} - -.bp-user .ac_results li img { - vertical-align: bottom; -} - -/** - *------------------------------ - * @subsection 6.2.2.6 - Settings - *------------------------------ - */ -.bp-user #buddypress #settings-form > p { - font-size: 20px; - font-size: 1.3333333333rem; - margin: 25px 0 15px; -} - -.bp-user #buddypress table.notification-settings td.yes, -.bp-user #buddypress table.notification-settings td.no { - vertical-align: middle; -} - -.bp-user #buddypress table.profile-settings { - width: 100%; -} - -.bp-user #buddypress table.profile-settings th.field-group-name, -.bp-user #buddypress table.profile-settings td.field-name { - width: 50%; -} - -@media screen and (min-width: 46.25em) { - .bp-user #buddypress table.profile-settings th.field-group-name, - .bp-user #buddypress table.profile-settings td.field-name { - width: 70%; - } -} - -.bp-user #buddypress table.profile-settings th.title, -.bp-user #buddypress table.profile-settings td.field-visibility { - width: 30%; -} - -.bp-user #buddypress table.profile-settings td.field-visibility select { - width: 100%; -} - -/** - *------------------------------------ - * @subsection 6.2.2.6 - Notifications - *------------------------------------ - */ -/** -*------------------------------------------------------------------------------- -* @section 7.0 - Forms - General -*------------------------------------------------------------------------------- -*/ -#main #buddypress .standard-form li { - float: none; -} - -#main #buddypress .standard-form input[type="text"], -#main #buddypress .standard-form input[type="email"], -#main #buddypress .standard-form input[type="password"], -#main #buddypress .standard-form textarea { - border-width: 1px; - box-shadow: none; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - width: 100%; -} - -#buddypress div.activity-comments form .ac-textarea { - background: #f7f7f7; - border: 1px solid rgba(212, 208, 186, 0.5); -} - -#buddypress div.activity-comments form .ac-textarea textarea { - background: none; - border: 0; -} - -#buddypress .standard-form input[type="text"], -#buddypress .standard-form input[type="email"], -#buddypress .standard-form input[type="password"], -#buddypress .standard-form button, -#buddypress .standard-form select, -#buddypress .standard-form textarea { - border-color: rgba(212, 208, 186, 0.5); - border-width: 1px; -} - -#buddypress #signup_form.standard-form div.submit { - float: none; -} - -#buddypress #signup_form.standard-form div.submit input { - margin-right: 0; -} - -#buddypress div.dir-search, -#buddypress div.message-search, -#buddypress li.groups-members-search { - float: none; - margin: 15px 0; -} - -#buddypress div.dir-search form, -#buddypress div.message-search form, -#buddypress li.groups-members-search form { - border: 1px solid rgba(212, 208, 186, 0.6); - overflow: hidden; -} - -#buddypress div.dir-search form label, -#buddypress div.message-search form label, -#buddypress li.groups-members-search form label { - float: left; - width: 70%; -} - -#buddypress div.dir-search form input[type="text"], -#buddypress div.dir-search form input[type="submit"], -#buddypress div.message-search form input[type="text"], -#buddypress div.message-search form input[type="submit"], -#buddypress li.groups-members-search form input[type="text"], -#buddypress li.groups-members-search form input[type="submit"] { - border: 0; - border-radius: 0; - box-shadow: none; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - font-size: 14px; - font-size: 0.9333333333rem; - line-height: 1.8; - margin: 0; - min-height: 2rem; -} - -#buddypress div.dir-search form input[type="text"], -#buddypress div.message-search form input[type="text"], -#buddypress li.groups-members-search form input[type="text"] { - border-right: 1px solid rgba(212, 208, 186, 0.6); - float: left; - margin: 0; - padding: 0 0.2em; - width: 70%; -} - -#buddypress div.dir-search form input[type="submit"], -#buddypress div.message-search form input[type="submit"], -#buddypress li.groups-members-search form input[type="submit"] { - float: right; - font-weight: 400; - padding: 0 1em; - text-align: center; - text-transform: none; - width: 30%; -} - -@media screen and (min-device-width: 450px) { - #buddypress div.dir-search, - #buddypress div.message-search, - #buddypress li.groups-members-search { - float: right; - margin-bottom: 5px !important; - } - #buddypress div.dir-search form label, - #buddypress div.dir-search form input[type="text"], - #buddypress div.dir-search form input[type="submit"], - #buddypress div.message-search form label, - #buddypress div.message-search form input[type="text"], - #buddypress div.message-search form input[type="submit"], - #buddypress li.groups-members-search form label, - #buddypress li.groups-members-search form input[type="text"], - #buddypress li.groups-members-search form input[type="submit"] { - width: auto; - } -} - -@media screen and (min-width: 800px) { - #buddypress .dir-search form input[type="text"], - #buddypress .message-search form input[type="text"] { - font-size: 16px; - font-size: 1.0666666667rem; - } - #buddypress .dir-search form input[type="submit"], - #buddypress .message-search form input[type="submit"] { - font-size: 16px; - font-size: 1.0666666667rem; - } -} - -/** -*------------------------------------------------------------------------------- -* @section 8.0 - Tables - General -*------------------------------------------------------------------------------- -*/ -.bp-user #buddypress table { - font-size: 14px; - font-size: 0.9333333333rem; - margin: 25px 0; -} - -.bp-user #buddypress table input { - margin: 0; -} - -.bp-user #buddypress table tr th { - background: #6f6e6e; - border-color: #b7b7b7; - color: #fff; - font-size: 16px; - font-size: 1.0666666667rem; - padding: 4px 8px; - text-transform: capitalize; -} - -.bp-user #buddypress table tr td { - padding: 8px; -} - -.bp-user #buddypress table p { - margin-bottom: 0.5em; -} - -@media screen and (min-width: 55em) { - .bp-user #buddypress table { - font-size: 16px; - font-size: 1.0666666667rem; - } -} - -.bp-user #buddypress .notifications th, -.bp-user #buddypress .messages-notices th { - width: 30%; -} - -.bp-user #buddypress .notifications th.bulk-select-all, -.bp-user #buddypress .messages-notices th.bulk-select-all { - text-align: center; - width: 10%; -} - -.bp-user #buddypress .notifications th.actions, -.bp-user #buddypress .messages-notices th.actions { - text-align: center; -} - -.bp-user #buddypress .notifications .bulk-select-check, -.bp-user #buddypress .notifications .thread-star, -.bp-user #buddypress .messages-notices .bulk-select-check, -.bp-user #buddypress .messages-notices .thread-star { - text-align: center; -} - -.bp-user #buddypress .notifications .notification-actions, -.bp-user #buddypress .notifications td.thread-options, -.bp-user #buddypress .messages-notices .notification-actions, -.bp-user #buddypress .messages-notices td.thread-options { - text-align: center; -} - -.bp-user #buddypress .notifications .notification-actions a, -.bp-user #buddypress .notifications td.thread-options a, -.bp-user #buddypress .messages-notices .notification-actions a, -.bp-user #buddypress .messages-notices td.thread-options a { - display: inline-block; - margin: 0; - padding: 0; -} - -.bp-user #buddypress .notifications td .button, -.bp-user #buddypress .messages-notices td .button { - border: 0; - display: block; - padding: 0; - text-align: center; -} - -/** -*------------------------------------------------------------------------------- -* @section 9.0 - Error / Success messages -*------------------------------------------------------------------------------- -*/ -#buddypress div#message p { - font-size: 18px; - font-size: 1.2rem; - font-weight: 700; -} - -#buddypress div#message.info p { - background: #c6e4ee; - border: 1px solid #78bed6; - color: #1e5264; -} - -#buddypress div#message.updated p { - background: #dee6b2; - border: 1px solid #becc66; - color: #454d19; -} - -.delete-group #buddypress div#message.info p { - background: #db7e7e; - border: 1px solid #be3535; - color: #1f0808; -} - -/** -*------------------------------------------------------------------------------- -* @section 10.0 - Ajax Loading, Widgets, General classes -*------------------------------------------------------------------------------- -*/ diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/056/056.test.js b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/056/056.test.js deleted file mode 100644 index 9c4a95344dd157..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/056/056.test.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -const stylelint = require( 'stylelint' ), - systemTestUtils = require( '../systemTestUtils.js' ); - -it( '056', () => { - return stylelint.lint({ - files: [systemTestUtils.caseStylesheetGlob( '056' )], - configFile: systemTestUtils.caseConfig( '056' ), - }).then( ({ results }) => { - expect( systemTestUtils.prepResults( results ) ).toMatchSnapshot(); - }); -}); diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/056/__snapshots__/056.test.js.snap b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/056/__snapshots__/056.test.js.snap deleted file mode 100644 index ba062111fad9c7..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/056/__snapshots__/056.test.js.snap +++ /dev/null @@ -1,933 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`056 1`] = ` -Array [ - Object { - "deprecations": Array [], - "errored": true, - "ignored": undefined, - "invalidOptionWarnings": Array [], - "parseErrors": Array [], - "source": "056/stylesheet.css", - "warnings": Array [ - Object { - "column": 1, - "line": 57, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 90, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 519, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 778, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 812, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 1089, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 1096, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 2, - "line": 67, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 73, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 110, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 116, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 122, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 127, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 130, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 136, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 151, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 157, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 163, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 205, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 218, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 222, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 228, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 233, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 237, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 243, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 249, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 252, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 258, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 263, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 266, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 273, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 277, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 288, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 294, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 376, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 391, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 402, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 426, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 440, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 447, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 452, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 458, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 476, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 496, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 503, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 529, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 555, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 558, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 604, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 609, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 612, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 616, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 665, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 702, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 764, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 768, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 791, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 799, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 802, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 832, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 851, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 858, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 867, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 875, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 879, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 883, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 897, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 903, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 907, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 911, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 914, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 918, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 921, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 924, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 940, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 950, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 967, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 974, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 978, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 981, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 985, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 990, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1003, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1009, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1012, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1015, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1055, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1059, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1062, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1066, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1070, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1076, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1079, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1170, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1189, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1201, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1205, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1220, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1234, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1248, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1280, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1284, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1291, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1295, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1312, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1412, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1453, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1500, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1504, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1520, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1566, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1694, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1775, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1821, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1829, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1835, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1849, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1854, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1888, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 47, - "line": 127, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 43, - "line": 130, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 37, - "line": 151, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 41, - "line": 356, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 44, - "line": 361, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 46, - "line": 677, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 48, - "line": 682, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 80, - "line": 754, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 61, - "line": 1617, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 30, - "line": 1660, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 3, - "line": 506, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '0 0 10px 0' instead of '0 0 10px' (shorthand-property-no-redundant-values)", - }, - Object { - "column": 2, - "line": 1467, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '10px 0 0 0' instead of '10px 0 0' (shorthand-property-no-redundant-values)", - }, - ], - }, -] -`; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/056/config.json b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/056/config.json deleted file mode 100644 index a8af7d5dcb61b9..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/056/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../index.js" -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/056/stylesheet.css b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/056/stylesheet.css deleted file mode 100644 index 6a2409f75b225c..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/056/stylesheet.css +++ /dev/null @@ -1,1970 +0,0 @@ -/*-------------------------------------------------------------- - -This is the BuddyPress companion stylesheet for -the WordPress Twentythirteen theme. - -This sheet supports the primary BuddyPress styles in buddypress.css - -If you are running as a child theme of twentyfifteen this stylesheet will be -loaded by default. If you want to modify the styles the normal BP Theme Compat -hierarchy works and you can copy the file to buddypress/css/ or community/css/ -in your child themes root & either start over or modify the rulesets. - -If you do not require the styles you can dequeue them from the themes -functions file. - -Please see this codex article for more information: -http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ - ----------------------------------------------------------------- ->>> TABLE OF CONTENTS: ----------------------------------------------------------------- -1.0 Theme Structural Elements & overrides -2.0 - Navigation - General - 2.1 - Navs - Object Nav / Sub Nav (item-list-tabs) - 2.2 - Pagination -3.0 - Images -4.0 - BP Lists / Loops Generic - 4.1 - Activity Loop - 4.1.1 Whats New Activity - 4.1.2 - Activity Listing - 4.1.3 - Activity Comments - 4.2 - Members Loop - 4.3 - Groups Loop - 4.4 - Blogs Loop -5.0 - Directories - Members, Groups, Blogs, Register, activation -6.0 - Single Item screens: User Account & Single Group Screens - 6.1 - Item Headers: Global - 6.1.1 - item-header: Groups - 6.1.2 - item-header: User Accounts - 6.2 - Item Body: Global - 6.2.1 - item-body: Groups - 6.2.1.1 - Management settings screens - 6.2.1.2 - Group members list - 6.2.1.3 - Group send Invites - 6.2.2 - item-body: User Accounts - 6.2.2.1 - classes, pag, filters - 6.2.2.2 - Extended Profiles - 6.2.2.3 - Groups - 6.2.2.4 - friends - 6.2.2.5 - Private Messaging Threads - 6.2.2.6 - Settings -7.0 - Forms - General -8.0 - Tables - General -9.0 - Error / Success Messages -10.0 - Ajax Loading, Widgets, General classes ---------------------------------------------------------------*/ -/** -*------------------------------------------------------------------------------- -* @section 1.0 - Theme - Structural Elements & overrides -*------------------------------------------------------------------------------- -*/ -.buddypress div.clear { - display: none; -} - -@media (max-width: 999px) { - .buddypress #content { - padding: 0 20px; - } -} - -@media (max-width: 643px) { - .buddypress #content { - padding: 0; - } -} - -.buddypress .entry-header, -.buddypress .entry-content, -.buddypress .entry-summary, -.buddypress .entry-meta { - max-width: 890px; -} - -/** -*------------------------------------------------------------------------------- -* @section 2.0 - Navigation - General -*------------------------------------------------------------------------------- -*/ -/** -*---------------------------------------------------------- -* @section 2.1 - Navs Object Nav / Sub Nav (item-list-tabs) -* -* The main navigational elements for all BP screens -*---------------------------------------------------------- -*/ -#buddypress div.item-list-tabs ul { - background-color: #f7f5e7; - border-bottom: 1px solid rgba(234, 234, 234, 0.9); - border-top: 1px solid rgba(234, 234, 234, 0.9); - overflow: hidden; - padding: 0; -} - -#buddypress div.item-list-tabs ul li a span { - border-radius: 25%; -} - -@media screen and (max-width: 38.75em) { - .bp-user #buddypress #object-nav { - background: #f7f5e7; - border: 1px solid #eaeaea; - overflow: visible; - padding: 10px; - } - .bp-user #buddypress #object-nav ul { - border: 0; - height: 0; - transition: height 0.3s ease-in-out 0.7s; - visibility: hidden; - } - .bp-user #buddypress #object-nav:before { - content: "Menu \021E9"; - display: inline; - opacity: 0.7; - } - .bp-user #buddypress #object-nav:hover:before, .bp-user #buddypress #object-nav:focus:before { - content: "Menu \021E7"; - } - .bp-user #buddypress #object-nav:hover ul, .bp-user #buddypress #object-nav:focus ul { - height: 320px; - opacity: 1; - overflow-y: auto; - visibility: visible; - } - .bp-user #buddypress #subnav { - clear: both; - } -} - -/*__ Horizontal menus & small screen __*/ -#buddypress #object-nav ul { - overflow: hidden; -} - -#buddypress #object-nav ul li { - float: none; -} - -@media screen and (max-width: 38.75em) { - #buddypress #object-nav ul li:focus, #buddypress #object-nav ul li:hover { - background: #f4f2df; - } -} - -@media screen and (max-width: 38.75em) { - #buddypress #object-nav ul li:not(:last-child) { - border-bottom: 1px solid #eaeaea; - } -} - -@media screen and (min-width: 38.75em) { - #buddypress #object-nav ul li { - float: left; - } -} - -#buddypress div#subnav.item-list-tabs { - margin-top: 0; -} - -#buddypress div#subnav.item-list-tabs ul { - background-color: #f7f7f7; - border-bottom: 0; - margin-top: 5px; - padding: 0; -} - -#buddypress div#subnav.item-list-tabs ul li.last { - background: #fff; - margin-top: 0; - padding: 5px 5px 5px 0; - width: 100%; -} - -#buddypress div#subnav.item-list-tabs ul li.last select, -#buddypress div#subnav.item-list-tabs ul li.last select:focus { - background: transparent; - border: 0; - outline: 0; -} - -#buddypress div#subnav.item-list-tabs ul li.last select, -#buddypress div#subnav.item-list-tabs ul li.last label, -#buddypress div#subnav.item-list-tabs ul li.last option { - font-size: 14px; - font-size: 0.875rem; -} - -#buddypress div#subnav.item-list-tabs ul li.last select { - font-style: italic; -} - -@media screen and (min-width: 38.75em) { - #buddypress div#subnav.item-list-tabs ul li.last { - text-align: right; - } -} - -#buddypress div.item-list-tabs ul li.selected a, -#buddypress div.item-list-tabs ul li.current a { - background: none; - opacity: 1; -} - -/*__ Vertical menu User Account / Group single screens __*/ -@media screen and (min-width: 55em) { - body:not(.sidebar) #buddypress #item-header, - body:not(.sidebar) #buddypress #item-body { - background: #fff; - } - body:not(.sidebar) #buddypress #object-nav { - border-right: 1px solid #ddd; - float: left; - margin-right: -1px; - width: 200px; - } - body:not(.sidebar) #buddypress #object-nav ul { - background: none; - border-bottom: 0; - padding: 0; - } - body:not(.sidebar) #buddypress #object-nav ul li { - float: none; - overflow: hidden; - } - body:not(.sidebar) #buddypress #object-nav ul li span { - background: #fff; - border-radius: 10%; - float: right; - margin-right: 2px; - } - body:not(.sidebar) #buddypress #item-body { - border-left: 1px solid #ddd; - overflow: hidden; - padding: 0 0 0 20px; - width: auto; - } - body:not(.sidebar) #buddypress #item-body #subnav { - margin: 0 0 0 -20px; - } - body:not(.sidebar) #buddypress #item-body #subnav ul { - margin-top: 0; - } -} - -@media screen and (min-width: 46.25em) { - #main #buddypress #group-create-tabs.item-list-tabs ul:before, - #main #buddypress #group-create-tabs.item-list-tabs ul:after { - content: " "; - display: table; - } - #main #buddypress #group-create-tabs.item-list-tabs ul:after { - clear: both; - } - #main #buddypress #group-create-tabs.item-list-tabs ul { - background: none; - border: 0; - border-bottom: 1px solid #ddd; - overflow: visible; - padding: 0; - } - #main #buddypress #group-create-tabs.item-list-tabs ul li { - float: left; - width: auto; - } - #main #buddypress #group-create-tabs.item-list-tabs ul li.selected, - #main #buddypress #group-create-tabs.item-list-tabs ul li.current { - border: 1px solid #ddd; - border-bottom-color: #fff; - -webkit-border-top-right-radius: 4px; - border-top-right-radius: 4px; - -webkit-border-top-left-radius: 4px; - border-top-left-radius: 4px; - background-clip: padding-box; - margin-bottom: -1px; - } - #main #buddypress #group-create-tabs.item-list-tabs ul li.selected a, - #main #buddypress #group-create-tabs.item-list-tabs ul li.current a { - background: none; - color: #141412; - outline: none; - } - #main #buddypress #subnav ul { - border-bottom: 0; - } -} - -/** -*---------------------------------------------------------- -* @section 2.2 - Pagination -*---------------------------------------------------------- -*/ -#buddypress div.pagination { - box-shadow: none; -} - -#buddypress div.pagination .pag-count { - margin-left: 0; -} - -#buddypress div.pagination .pagination-links { - margin-right: 0; -} - -#buddypress div.pagination .pagination-links span, -#buddypress div.pagination .pagination-links a { - height: auto; - line-height: 1; - padding: 5px; -} - -#buddypress div.pagination .pagination-links .prev, -#buddypress div.pagination .pagination-links .next { - background-color: transparent; - color: inherit; - overflow: visible; - width: auto; -} - -#buddypress div.pagination .pagination-links .prev:before, -#buddypress div.pagination .pagination-links .next:before { - display: none; -} - -#buddypress div.pagination .pagination-links .prev { - left: auto; - position: static; -} - -#buddypress div.pagination .pagination-links .next { - position: static; - right: auto; -} - -/** -*------------------------------------------------------------------------------- -* @section 4.0 - BP Lists / Loops Generic -*------------------------------------------------------------------------------- -*/ -#buddypress .item-list .activity-header, -#buddypress .item-list .activity-meta { - font-family: "Source Sans Pro", Helvetica, sans-serif; -} - -#buddypress .activity-meta .button:focus, #buddypress .activity-meta .button:hover { - background: #bd4b28; - color: #f7f5e7; -} - -#buddypress .action .generic-button a:focus, #buddypress .action .generic-button a:hover { - background: #bd4b28; - color: #f7f5e7; -} - -#buddypress ul.item-list li { - overflow: hidden !important; -} - -#buddypress ul.item-list li .item-avatar { - margin-bottom: 10px; - text-align: center; -} - -@media screen and (min-width: 38.75em) { - #buddypress ul.item-list li .item-avatar { - margin-bottom: 0; - } -} - -#buddypress ul.item-list li .item-avatar a { - border-bottom: 0; -} - -#buddypress ul.item-list li .item-avatar img.avatar { - display: inline-block; - float: none; -} - -@media screen and (min-width: 38.75em) { - #buddypress ul.item-list li .item-avatar img.avatar { - display: block; - float: left; - } -} - -#buddypress ul.item-list li .item { - overflow: hidden; -} - -@media screen and (min-width: 46.25em) { - #buddypress ul.item-list li .item { - margin-left: 15%; - } -} - -#buddypress ul.item-list li .item span.activity { - font-style: italic; -} - -#buddypress ul.item-list li .item .item-desc { - margin: 0 auto; - width: 100%; -} - -#buddypress ul.item-list li .item .item-title { - font-size: 18px; - font-size: 1.125rem; - line-height: 1.2; - margin: 0 auto; - text-align: center; - width: 100%; -} - -@media screen and (min-width: 38.75em) { - #buddypress ul.item-list li .item .item-title { - text-align: left; - } -} - -#buddypress ul.item-list li .item .item-title .update { - font-size: 12px; - font-size: 0.75rem; - display: block; - padding: 10px 0; - text-align: left; -} - -@media screen and (min-width: 59.6875em) { - #buddypress ul.item-list li .item .item-title .update { - font-size: 14px; - font-size: 0.875rem; - } -} - -@media screen and (min-width: 59.6875em) { - #buddypress ul.item-list li .item-avatar, - #buddypress ul.item-list li .item, - #buddypress ul.item-list li .action { - float: left; - } - #buddypress ul.item-list li .item { - left: 5%; - margin-left: 0; - position: relative; - width: 55%; - } - #buddypress ul.item-list li .item .item-title { - font-size: 22px; - font-size: 1.375rem; - } -} - -#buddypress ul.item-list li div.action { - clear: left; - float: none; - margin-bottom: -20px; - margin-left: 0; - padding: 20px 0 5px; - position: relative; - text-align: left; - top: 0; -} - -@media screen and (min-width: 59.6875em) { - #buddypress ul.item-list li div.action { - clear: none; - float: right; - margin-bottom: 0; - padding: 0; - } -} - -#buddypress ul.item-list li div.action div { - display: inline-block; - margin: 10px 0; - width: 100%; -} - -#buddypress ul.item-list li div.action div a { - display: block; - width: 100%; -} - -@media screen and (min-width: 38.75em) { - #buddypress ul.item-list li div.action div { - margin: 0 10px 10px 0; - width: auto; - } -} - -@media screen and (min-width: 59.6875em) { - #buddypress ul.item-list li div.action div { - clear: right; - float: right; - margin: 0 0 10px 0; - } -} - -#buddypress ul.item-list li div.action .meta { - font-style: italic; -} - -/** -*---------------------------------------------------------- -* @section 4.1 - Activity -*---------------------------------------------------------- -*/ -/** -*----------------------------------------------------- -* @section 4.1.1 - Activity Whats New -*----------------------------------------------------- -*/ -#buddypress form#whats-new-form p.activity-greeting { - line-height: 1.4; -} - -@media screen and (max-width: 46.25em) { - #buddypress form#whats-new-form #whats-new-content { - clear: left; - margin: 10px 0 20px; - padding: 10px 0 0; - } -} - -#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box { - border: 1px solid rgba(212, 208, 186, 0.5); - float: left; - line-height: 1.5; - margin-top: 12px; - padding-left: 0.2em; - width: 100%; -} - -#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box select { - background: none; - border: 0; - float: right; - margin: 0; - min-height: 1.5em; - padding-left: 0.4em; -} - -@media screen and (min-width: 30em) { - #buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box { - width: auto; - } - #buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-submit { - float: right; - } -} - -#buddypress #item-body form#whats-new-form { - margin: 40px 0; -} - -/** -*----------------------------------------------------- -* @section 4.1.2 - Activity Listing -*----------------------------------------------------- -*/ -#buddypress #activity-stream li { - padding: 25px 0 15px; -} - -#buddypress #activity-stream li .activity-avatar { - float: none; - text-align: center; -} - -#buddypress #activity-stream li .activity-avatar a { - display: inline-block; -} - -#buddypress #activity-stream li .activity-avatar a img.avatar { - display: inline; - float: none; - height: 60px; - margin-bottom: 20px; - margin-left: 0; - width: 60px; -} - -#buddypress #activity-stream li .activity-content { - margin-left: 0; -} - -#buddypress #activity-stream li .activity-content .activity-header { - font-size: 14px; - font-size: 0.875rem; -} - -@media screen and (min-width: 46.25em) { - #buddypress #activity-stream li .activity-avatar { - float: left; - margin-right: 10px; - text-align: left; - } - #buddypress #activity-stream li .activity-avatar a { - border-bottom: 0; - } - #buddypress #activity-stream li .activity-content { - margin: 0; - overflow: hidden; - } - #buddypress #activity-stream li .activity-content .activity-header { - font-size: 16px; - font-size: 1rem; - } -} - -#buddypress #activity-stream li.mini .activity-avatar a img.avatar { - height: 30px; - margin-left: 15px; - width: 30px; -} - -#buddypress #activity-stream li.mini .activity-content .activity-header { - font-size: 14px; - font-size: 0.875rem; -} - -#buddypress #activity-stream .activity-content { - margin-top: -12px; -} - -#buddypress #activity-stream .activity-content .activity-header { - line-height: inherit; - margin-right: 0; -} - -#buddypress #activity-stream .activity-content .activity-header p { - background-color: #f7f7f7; - border: 1px solid rgba(234, 234, 234, 0.6); - color: #727272; - margin-top: 0; - padding: 0 0.2em; -} - -#buddypress #activity-stream .activity-content .activity-header p a.activity-time-since { - color: #727272; -} - -#buddypress #activity-stream .activity-content .activity-header img.avatar { - display: inline-block; - margin-bottom: 0 !important; -} - -#buddypress #activity-stream .activity-content .activity-meta a { - display: block; - margin-bottom: 5px; -} - -@media screen and (min-width: 38.75em) { - #buddypress #activity-stream .activity-content .activity-meta a { - display: inline-block; - margin-bottom: 0; - } -} - -#buddypress #activity-stream .load-more { - background: #f7f7f7; - border: 1px solid transparent; - padding: 10px; -} - -#buddypress #activity-stream .load-more:focus, #buddypress #activity-stream .load-more:hover { - background: #f4f4f4; - border: 1px solid rgba(159, 209, 226, 0.3); -} - -#buddypress #activity-stream .load-more:focus a, #buddypress #activity-stream .load-more:hover a { - font-style: italic; -} - -#buddypress #activity-stream .load-more a { - display: block; -} - -/* Single activity view - activity permalink */ -.activity-permalink #buddypress #activity-stream li.activity-item { - padding: 20px; -} - -.activity-permalink #buddypress #activity-stream li.mini .activity-header { - font-size: 16px; - font-size: 1rem; - margin-bottom: 40px; -} - -@media screen and (min-width: 46.25em) { - .activity-permalink #buddypress #activity-stream li.mini .activity-header { - font-size: 20px; - font-size: 1.25rem; - } -} - -.activity-permalink #buddypress #activity-stream li.mini .activity-header p { - padding: 20px; -} - -/** -*----------------------------------------------------- -* @section 4.1.3 - Activity Comments -*----------------------------------------------------- -*/ -#buddypress #activity-stream .activity-comments { - border-left: 1px solid #eaeaea; - margin-top: 5px; -} - -#buddypress #activity-stream .activity-comments ul { - background: rgba(247, 247, 247, 0.6); - margin: 15px 0 0 2px; -} - -#buddypress #activity-stream .activity-comments a { - color: #ac0404; -} - -#buddypress #activity-stream .activity-comments .acomment-meta { - color: #737373; -} - -#buddypress #activity-stream .activity-comments .ac-form input[type="submit"], -#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel { - color: rgba(20, 20, 18, 0.8); - display: inline-block; - font-family: inherit; - font-size: 12px; - font-size: 0.75rem; - font-weight: 400; - line-height: 1.2; - padding: 4px 10px; - text-transform: lowercase; - width: 100px; -} - -#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel { - border: 1px solid rgba(212, 208, 186, 0.7); - text-align: center; -} - -#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:focus, #buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:hover { - background: #ededed; -} - -/** -*---------------------------------------------------------- -* @section 4.2 - Members Loop -*---------------------------------------------------------- -*/ -@media screen and (min-width: 59.6875em) { - #buddypress #members-list li .item-avatar, - #buddypress #members-list li .item { - float: left; - } - #buddypress #members-list li .action { - float: right; - } -} - -/** -*------------------------------------------------------------------------------- -* @section 5.0 - Directories -*------------------------------------------------------------------------------- -*/ -/** -*----------------------------------------------------------- -* @subsection Registration -*----------------------------------------------------------- -*/ -#buddypress #signup_form.standard-form #profile-details-section, -#buddypress #signup_form.standard-form #basic-details-section, -#buddypress #signup_form.standard-form #blog-details-section { - float: none; - width: 100%; -} - -@media screen and (min-width: 38.75em) { - #buddypress #signup_form.standard-form #profile-details-section, - #buddypress #signup_form.standard-form #basic-details-section, - #buddypress #signup_form.standard-form #blog-details-section { - width: 48%; - } -} - -@media screen and (min-width: 38.75em) { - #buddypress #signup_form.standard-form #profile-details-section { - float: right; - } - #buddypress #signup_form.standard-form #basic-details-section { - float: left; - } -} - -/** -*------------------------------------------------------------------------------- -* @section 6.0 - Single Item screens: User Account & Single Group Screens -*------------------------------------------------------------------------------- -*/ -/** -*----------------------------------------------------------- -* @subsection 6.1 - Item Header Global -*----------------------------------------------------------- -*/ -.bp-user .entry-header, -.single-item.groups .entry-header { - margin-bottom: 0; -} - -.bp-user .entry-header .entry-title, -.single-item.groups .entry-header .entry-title { - color: #8c8c7f; - font-size: 32px; - font-size: 2rem; - margin-bottom: 10px; - text-align: center; -} - -@media screen and (min-width: 46.25em) { - .bp-user .entry-header .entry-title, - .single-item.groups .entry-header .entry-title { - text-align: left; - } -} - -.bp-user #buddypress #item-header-content #item-meta, -.single-item.groups #buddypress #item-header-content #item-meta { - font-size: 14px; - font-size: 0.875rem; - text-align: left; -} - -.bp-user #buddypress #item-header-content #item-meta p, -.single-item.groups #buddypress #item-header-content #item-meta p { - margin-bottom: 0.5em; -} - -@media screen and (max-width: 46.25em) { - .bp-user main header.entry-header, - .single-item.groups main header.entry-header { - padding-bottom: 1rem; - } -} - -@media screen and (max-width: 38.75em) { - .bp-user h1, - .bp-user #item-header-content, - .single-item.groups h1, - .single-item.groups #item-header-content { - text-align: center; - } -} - -@media screen and (max-width: 46.25em) { - .bp-user #buddypress #item-header .generic-button, - .single-item.groups #buddypress #item-header .generic-button { - float: none; - margin: 1.5em 0 0; - } -} - -@media screen and (max-width: 38.75em) { - .bp-user #buddypress h1, - .single-item.groups #buddypress h1 { - margin-bottom: 0; - } - .bp-user #buddypress #item-header-avatar img.avatar, - .single-item.groups #buddypress #item-header-avatar img.avatar { - margin-right: 0; - } - .bp-user #buddypress #item-header-content, - .single-item.groups #buddypress #item-header-content { - width: 100%; - } -} - -/** -*----------------------------------------------------- -* @subsection 6.1.1 - item-header Groups -* -* Group Specific Item Header -*----------------------------------------------------- -*/ -@media screen and (max-width: 46.25em) { - .single-item.groups #buddypress #item-header #item-meta { - margin-bottom: 20px; - } -} - -@media screen and (max-width: 38.75em) { - .single-item.groups #buddypress div#item-header { - display: flex; - flex-direction: column; - } - .single-item.groups #buddypress div#item-header #item-header-avatar { - order: 1; - text-align: center; - } - .single-item.groups #buddypress div#item-header #item-header-avatar a { - border-bottom: 0; - } - .single-item.groups #buddypress div#item-header #item-header-avatar a img { - display: inline-block; - float: none; - } - .single-item.groups #buddypress div#item-header #item-header-content { - order: 2; - } - .single-item.groups #buddypress div#item-header #item-actions { - order: 3; - } - .single-item.groups #buddypress div#item-header #item-actions h2 { - border-bottom: 1px solid #eaeaea; - text-align: center; - } -} - -.single-item.groups #buddypress div#item-header { - padding-bottom: 40px; -} - -.single-item.groups #buddypress div#item-header div#item-actions { - margin: 0; - width: 100%; -} - -@media screen and (min-width: 38.75em) { - .single-item.groups #buddypress div#item-header div#item-actions { - border-left: 1px solid #eaeaea; - clear: none; - float: right; - padding-left: 0.2em; - width: 30%; - } -} - -@media screen and (min-width: 46.25em) { - .single-item.groups #buddypress div#item-header div#item-actions { - width: 40%; - } -} - -.single-item.groups #buddypress div#item-header div#item-actions ul { - margin-top: 0; - padding-left: 0; -} - -.single-item.groups #buddypress div#item-header div#item-actions h2 { - font-size: 14px; - font-size: 0.875rem; - padding: 0.2em; -} - -@media screen and (min-width: 46.25em) { - .single-item.groups #buddypress div#item-header div#item-actions h2 { - font-size: 16px; - font-size: 1rem; - } -} - -@media screen and (min-width: 46.25em) { - .single-item.groups #buddypress div#item-header #item-header-avatar, - .single-item.groups #buddypress div#item-header #item-header-content { - float: left; - } - .single-item.groups #buddypress div#item-header #item-header-avatar { - width: 21%; - } - .single-item.groups #buddypress div#item-header #item-header-content { - margin-left: 4%; - width: 40%; - } - .single-item.groups #buddypress div#item-header div#item-actions { - clear: both; - float: right; - width: 28%; - } - .single-item.groups #buddypress div#item-header div#item-actions h2 { - font-size: 14px; - font-size: 0.875rem; - } -} - -.single-item.groups #buddypress div#item-header #item-header-cover-image #item-actions { - border: 0; - float: none; - width: auto; -} - -@media screen and (max-width: 46.25em) { - .single-item.groups #buddypress div#item-header #item-header-cover-image #item-actions { - clear: both !important; - } -} - -@media screen and (min-width: 46.25em) { - .single-item.groups #buddypress div#item-header #item-header-cover-image #item-header-content { - padding-left: 10px; - } - .single-item.groups #buddypress div#item-header #item-header-cover-image #item-header-content #item-buttons { - margin-top: 0; - } - .single-item.groups #buddypress div#item-header #item-header-cover-image #item-actions { - border-left: 1px solid #eaeaea; - clear: none; - float: right; - margin-top: 230px !important; - padding-top: 0 !important; - width: 20%; - } -} - -/** -*----------------------------------------------------- -* @subsection 6.1.2 - Item Header User Accounts -* -* User Accounts Specific Item Header -*----------------------------------------------------- -*/ -.bp-user #buddypress #item-header { - padding: 20px 0; -} - -.bp-user #buddypress #item-header #item-header-avatar { - text-align: center; - width: 100%; -} - -.bp-user #buddypress #item-header #item-header-avatar img.avatar, -.bp-user #buddypress #item-header #item-header-avatar a { - border-bottom: 0; - display: inline-block; - float: none; -} - -.bp-user #buddypress #item-header #item-header-content .user-nicename, -.bp-user #buddypress #item-header #item-header-content span.activity { - display: block; - text-align: center; -} - -@media screen and (min-width: 46.25em) { - .bp-user #buddypress #item-header #item-header-avatar { - float: left; - width: auto; - } - .bp-user #buddypress #item-header #item-header-avatar a { - float: left; - } - .bp-user #buddypress #item-header #item-header-content { - float: none; - overflow: hidden; - } - .bp-user #buddypress #item-header #item-header-content .user-nicename, - .bp-user #buddypress #item-header #item-header-content span.activity { - text-align: left; - } - .bp-user #buddypress #item-header #item-header-content #item-meta { - margin-top: 0; - } -} - -@media screen and (min-width: 46.25em) { - .bp-user #buddypress #item-header-cover-image #item-header-content .user-nicename { - margin-bottom: 20px; - } - .bp-user #buddypress #item-header-cover-image #item-header-content #item-buttons { - margin: 0; - } -} - -/** -*----------------------------------------------------------- -* @subsection 6.2 - Item Body: Global -*----------------------------------------------------------- -*/ -/** -*---------------------------------------------------- -* @subsection 6.2.1 - Item Body Groups -* -* Groups specific item body rules - screens -*---------------------------------------------------- -*/ -/** -*----------------------------------------- -* @subsection 6.2.1.1 - Group Management -*----------------------------------------- -*/ -.groups #group-settings-form h3 { - background: #555; - color: #fff; - padding: 0.2em; -} - -.groups.edit-details #group-settings-form label { - margin-bottom: 0; - padding: 0.2em; - width: 80%; -} - -.groups.edit-details #group-settings-form textarea + p label { - background: none; - color: inherit; - font-size: 14px; - font-size: 0.875rem; - width: auto; -} - -.groups.edit-details #group-settings-form textarea { - height: auto; - min-height: 100px; - overflow: auto; -} - -.groups.group-settings #group-settings-form div.radio label { - border: 1px solid #eaeaea; - padding: 0.2em; -} - -.groups.group-settings #group-settings-form div.radio label ul { - color: rgba(20, 20, 18, 0.6); - font-size: 14px; - font-size: 0.875rem; -} - -.groups.group-avatar form > p { - margin-top: 20px; -} - -.groups.manage-members #group-settings-form .item-list li { - border-bottom: 1px solid #eaeaea; -} - -.groups.manage-members #group-settings-form .item-list li img, -.groups.manage-members #group-settings-form .item-list li h5 { - float: left; -} - -.groups.manage-members #group-settings-form .item-list li img > a, -.groups.manage-members #group-settings-form .item-list li h5 > a { - border-bottom: 0; -} - -.groups.manage-members #group-settings-form .item-list li span.small { - clear: left; - display: block; - float: none; - margin-top: 10px; -} - -.groups.manage-members #group-settings-form .item-list li span.small a { - display: inline-block; - margin: 5px 0; - width: 100%; -} - -@media screen and (min-width: 38.75em) { - .groups.manage-members #group-settings-form .item-list li span.small a { - width: auto; - } -} - -.groups.manage-members #group-settings-form .item-list li h5 { - margin: 0; -} - -/** -*----------------------------------------- -* @subsection 6.2.1.2 - Group members -*----------------------------------------- -*/ -.groups.group-members #subnav li { - width: 100%; -} - -@media screen and (max-width: 38.75em) { - .groups.group-members #subnav li { - background: #fff; - padding: 20px 0; - } -} - -.groups.group-members #subnav li #search-members-form { - float: right; - margin: 5px 5px 0 0; -} - -@media screen and (max-width: 38.75em) { - .groups.group-members #subnav li #search-members-form { - margin: 0; - width: 100%; - } - .groups.group-members #subnav li #search-members-form label input[type="text"] { - width: 100%; - } -} - -/** -*----------------------------------------- -* @subsection 6.2.1.3 - Group send Invites -*----------------------------------------- -*/ -#buddypress div.invite .left-menu { - float: none; -} - -@media screen and (min-width: 46.25em) { - #buddypress div.invite .left-menu { - float: left; - } -} - -#buddypress div.invite #invite-list { - border: 1px solid #eaeaea; - height: auto; - min-height: 3.125em; - padding: 0 0.3em 0.5em; - width: auto; -} - -@media screen and (min-width: 46.25em) { - #buddypress div.invite #invite-list { - width: 220px; - } -} - -#buddypress div.invite #invite-list ul { - padding-left: 0; -} - -#buddypress div.invite .main-column { - margin-left: 0; -} - -@media screen and (min-width: 46.25em) { - #buddypress div.invite .main-column { - margin-left: 235px; - } -} - -/** -*----------------------------------------------------- -* @subsection 6.2.2 - Item Body User Accounts -* -* User Account specific item body rules -*----------------------------------------------------- -*/ -.bp-user .entry-title { - margin-bottom: 0.5em; -} - -/** -*-------------------------------------------- -* @subsection 6.2.2.1 - classes, pag, filters -*-------------------------------------------- -*/ -.bp-user #buddypress table th { - font-size: 14px; - font-size: 0.875rem; -} - -.bp-user #buddypress table td { - font-size: 13px; - font-size: 0.8125rem; -} - -@media screen and (min-width: 46.25em) { - .bp-user #buddypress table th { - font-size: 16px; - font-size: 1rem; - } - .bp-user #buddypress table td { - font-size: 14px; - font-size: 0.875rem; - } -} - -@media screen and (min-width: 77.5em) { - .bp-user #buddypress table th { - font-size: 18px; - font-size: 1.125rem; - } - .bp-user #buddypress table td { - font-size: 16px; - font-size: 1rem; - } -} - -.bp-user #buddypress .pag-count { - font-style: italic; -} - -.bp-user #buddypress .notifications-options-nav { - border: 1px solid rgba(212, 208, 186, 0.5); - float: left; - width: 100%; -} - -@media screen and (min-width: 38.75em) { - .bp-user #buddypress .notifications-options-nav { - width: 300px; - } -} - -.bp-user #buddypress .notifications-options-nav select, -.bp-user #buddypress .notifications-options-nav input { - border: 0; - font-size: 14px; - font-size: 0.875rem; - outline: 0; - padding: 0; -} - -.bp-user #buddypress .notifications-options-nav select { - float: left; - margin-right: 0; - width: 60%; -} - -.bp-user #buddypress .notifications-options-nav input { - float: right; - font-family: inherit; - line-height: 20px; - width: 40%; -} - -/** - *------------------------------------------- - * @subsection 6.2.2.2 - Extended Profiles - *------------------------------------------- - */ -.bp-user #buddypress .profile .bp-widget h2 { - background: #6f6e6e; - color: #fff; - margin-bottom: 0; - padding: 0.4em; -} - -.bp-user #buddypress .profile .bp-widget table { - margin-top: 0; -} - -.bp-user #buddypress .profile #profile-edit-form .button-nav:before, -.bp-user #buddypress .profile #profile-edit-form .button-nav:after { - content: " "; - display: table; -} - -.bp-user #buddypress .profile #profile-edit-form .button-nav:after { - clear: both; -} - -.bp-user #buddypress .profile #profile-edit-form ul.button-nav { - border-bottom: 1px solid #eaeaea; - margin-left: 0; - padding: 0; -} - -.bp-user #buddypress .profile #profile-edit-form ul.button-nav li { - float: left; - margin-bottom: 0; -} - -.bp-user #buddypress .profile #profile-edit-form ul.button-nav li.current { - border: 1px solid #eaeaea; - border-bottom-color: #fff; - margin-bottom: -1px; -} - -.bp-user #buddypress .profile #profile-edit-form ul.button-nav a { - background: none; - border: 0; - font-size: 18px; - font-size: 1.125rem; -} - -.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle, -.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings { - font-size: 14px; - font-size: 0.875rem; -} - -.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close, -.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link { - background: #555; - color: #fff; - padding: 0.2em 0.5em; -} - -.bp-user #buddypress .profile .bp-avatar #bp-delete-avatar a { - font-size: inherit; -} - -/** - *------------------------------------------- - * @subsection 6.2.2.3 - Groups - *------------------------------------------- - */ -@media screen and (min-width: 77.5em) { - .bp-user #buddypress #groups-list li .item { - left: 5%; - width: 50%; - } -} - -/** - *------------------------------------------- - * @subsection 6.2.2.5 - Private Messaging - *------------------------------------------- - */ -.bp-user #buddypress #message-thread a { - border-bottom: 0; -} - -.bp-user #buddypress #message-thread #message-subject { - background: #6f6e6e; - color: #fff; - padding: 0.3em 0 0.3em 0.2em; -} - -.bp-user #buddypress #message-thread #message-recipients { - font-style: italic; -} - -.bp-user #buddypress #message-thread #message-recipients a.confirm { - border: 1px solid #eaeaea; - font-style: normal; -} - -.bp-user #buddypress #message-thread .message-metadata:after { - clear: both; - content: ""; - display: table; -} - -.bp-user #buddypress #message-thread .message-metadata img.avatar { - float: none; -} - -@media screen and (min-width: 46.25em) { - .bp-user #buddypress #message-thread .message-metadata img.avatar { - float: left; - } -} - -.bp-user #buddypress #message-thread .message-metadata .message-star-actions { - float: right; - margin-right: 5px; - position: static; -} - -.bp-user #buddypress #message-thread .message-content { - background: #f7f7f7; - border: 1px solid #eaeaea; - margin: 10px 0 0 0; - padding: 0.3em; -} - -.bp-user #buddypress #message-thread #send-reply .message-content { - background: #fff; - border: 0; -} - -.bp-user #buddypress #message-thread .alt { - background: #fff; -} - -.bp-user #buddypress #message-threads thead tr { - background: #6f6e6e; -} - -.bp-user #buddypress #message-threads tr td { - background: #fff; - display: inline-block; - float: left; -} - -.bp-user #buddypress #message-threads tr td.thread-star, -.bp-user #buddypress #message-threads tr td.thread-options { - border-bottom-color: #ccc; - border-bottom-width: 2px; - height: 2.4em; - padding-bottom: 0.2em; - padding-top: 0.2em; -} - -@media screen and (max-width: 46.25em) { - .bp-user #buddypress #message-threads tr td.thread-star, - .bp-user #buddypress #message-threads tr td.thread-options { - padding-top: 0; - } - .bp-user #buddypress #message-threads tr td.thread-star span.icon:before, - .bp-user #buddypress #message-threads tr td.thread-options span.icon:before { - font-size: 14px; - } -} - -.bp-user #buddypress #message-threads tr .thread-checkbox { - padding: 0 0 0 0.3em; -} - -.bp-user #buddypress #message-threads tr td.bulk-select-check, -.bp-user #buddypress #message-threads tr td.thread-from { - height: 3em; -} - -@media screen and (max-width: 38.75em) { - .bp-user #buddypress #message-threads tr td.bulk-select-check, - .bp-user #buddypress #message-threads tr td.thread-from { - height: 5.2em; - } -} - -.bp-user #buddypress #message-threads tr td.thread-from, -.bp-user #buddypress #message-threads tr td.thread-options { - border-left: 0 !important; - width: -webkit-calc(100% - 30px); - width: -moz-calc(100% - 30px); - width: calc(100% - 30px); - margin-left: 0; -} - -.bp-user #buddypress #message-threads tr td.thread-info { - padding-left: 41px; - width: 100%; -} - -.bp-user #buddypress #message-threads tr td.thread-info .thread-excerpt { - font-size: 14px; - font-size: 0.875rem; -} - -.bp-user #buddypress #message-threads tr td.thread-options { - text-align: right; -} - -.bp-user #buddypress #message-threads tr td.thread-options a { - font-size: 12px; - font-size: 0.75rem; - line-height: 2.2; -} - -.bp-user #buddypress #message-threads tr span.from { - display: none; -} - -.bp-user #buddypress #message-threads tr span.activity { - display: block; - float: right; - line-height: 2; -} - -@media screen and (max-width: 38.75em) { - .bp-user #buddypress #message-threads tr span.activity { - clear: both; - font-size: 12px; - font-size: 0.75rem; - width: 100%; - } -} - -.bp-user #buddypress #message-threads tr.unread td { - background: #dce5ff; - border-color: #d4d0ba; -} - -.bp-user #buddypress #message-threads th { - display: none; -} - -.bp-user #buddypress #message-threads th.bulk-select-all { - border-bottom: 0; - display: inline-block; - text-align: left; -} - -.bp-user #buddypress #message-threads th.bulk-select-all, -.bp-user #buddypress #message-threads td.bulk-select-check, -.bp-user #buddypress #message-threads td.thread-star { - border-right: 0; - width: 30px; -} - -.bp-user #buddypress .acfb-holder { - list-style: none; - margin: 0; - padding: 0; -} - -.bp-user #buddypress .acfb-holder li { - margin-left: 0; -} - -.bp-user #buddypress .acfb-holder li.friend-tab { - background: #edf7fa; - border: inherit; - margin-right: 0; - padding: 0.5em; -} - -.bp-user #buddypress .acfb-holder li.friend-tab span.p { - padding-left: 10px; -} - -.bp-user #buddypress .acfb-holder li.friend-tab span.p:focus, .bp-user #buddypress .acfb-holder li.friend-tab span.p:hover { - color: #c82b2b; - cursor: pointer; -} - -.bp-user #buddypress .acfb-holder li.friend-tab a { - border-bottom: 0; - text-decoration: none; -} - -.bp-user #buddypress .acfb-holder li.friend-tab a img { - display: inline; - height: 20px; - vertical-align: middle; - width: 20px !important; -} - -.bp-user #buddypress .sitewide-notices tr td:first-child { - display: none; -} - -.bp-user #buddypress .sitewide-notices td strong { - background: #6f6e6e; - color: #fff; - display: block; - padding-left: 0.2em; -} - -.bp-user .ac_results { - background: #eee; - padding-left: 10px; -} - -.bp-user .ac_results ul { - list-style: none; - margin: 0; - padding: 0; -} - -.bp-user .ac_results li { - margin: 10px 0; -} - -.bp-user .ac_results li:focus, .bp-user .ac_results li:hover { - cursor: pointer; -} - -/** - *------------------------------ - * @subsection 6.2.2.6 - Settings - *------------------------------ - */ -.bp-user #buddypress #settings-form { - padding: 0 10px; -} - -.bp-user #buddypress #settings-form > p { - font-size: 20px; - font-size: 1.25rem; - margin: 20px 0 10px; -} - -.bp-user #buddypress table.notification-settings td.yes, -.bp-user #buddypress table.notification-settings td.no { - vertical-align: middle; -} - -.bp-user #buddypress table.profile-settings { - width: 100%; -} - -.bp-user #buddypress table.profile-settings th.field-group-name, -.bp-user #buddypress table.profile-settings td.field-name { - width: 50%; -} - -@media screen and (min-width: 46.25em) { - .bp-user #buddypress table.profile-settings th.field-group-name, - .bp-user #buddypress table.profile-settings td.field-name { - width: 70%; - } -} - -.bp-user #buddypress table.profile-settings th.title, -.bp-user #buddypress table.profile-settings td.field-visibility { - width: 30%; -} - -.bp-user #buddypress table.profile-settings td.field-visibility select { - width: 100%; -} - -/** -*------------------------------------------------------------------------------- -* @section 7.0 - Forms - General -*------------------------------------------------------------------------------- -*/ -#main #buddypress .standard-form li { - float: none; -} - -#main #buddypress .standard-form input[type="text"], -#main #buddypress .standard-form input[type="email"], -#main #buddypress .standard-form input[type="password"], -#main #buddypress .standard-form textarea { - width: 100%; -} - -#buddypress div.activity-comments form .ac-textarea { - background: #f7f7f7; - border: 1px solid rgba(212, 208, 186, 0.5); -} - -#buddypress div.activity-comments form .ac-textarea textarea { - background: none; - border: 0; -} - -#buddypress .standard-form input[type="text"], -#buddypress .standard-form input[type="email"], -#buddypress .standard-form input[type="password"], -#buddypress .standard-form button, -#buddypress .standard-form select, -#buddypress .standard-form textarea { - border-color: rgba(212, 208, 186, 0.5); - border-width: 1px; -} - -#buddypress #signup_form.standard-form div.submit { - float: none; -} - -#buddypress #signup_form.standard-form div.submit input { - margin-right: 0; -} - -#buddypress div.dir-search, -#buddypress div.message-search, -#buddypress li.groups-members-search { - float: none; - margin: 10px 0; -} - -#buddypress div.dir-search form, -#buddypress div.message-search form, -#buddypress li.groups-members-search form { - border: 1px solid rgba(212, 208, 186, 0.6); - overflow: hidden; -} - -#buddypress div.dir-search form label, -#buddypress div.message-search form label, -#buddypress li.groups-members-search form label { - float: left; - width: 60%; -} - -@media screen and (min-width: 46.25em) { - #buddypress div.dir-search form label, - #buddypress div.message-search form label, - #buddypress li.groups-members-search form label { - width: 80%; - } -} - -#buddypress div.dir-search form input[type="text"], -#buddypress div.message-search form input[type="text"], -#buddypress li.groups-members-search form input[type="text"] { - float: left; - margin: 0; - width: 100%; -} - -#buddypress div.dir-search form input[type="text"], -#buddypress div.dir-search form input[type="submit"], -#buddypress div.message-search form input[type="text"], -#buddypress div.message-search form input[type="submit"], -#buddypress li.groups-members-search form input[type="text"], -#buddypress li.groups-members-search form input[type="submit"] { - font-size: 14px; - font-size: 0.875rem; - border: 0; - line-height: inherit; -} - -#buddypress div.dir-search form input[type="text"], -#buddypress div.message-search form input[type="text"], -#buddypress li.groups-members-search form input[type="text"] { - border-right: 1px solid rgba(212, 208, 186, 0.6); - padding: 0.2em 0 0.2em 0.2em; -} - -#buddypress div.dir-search form input[type="submit"], -#buddypress div.message-search form input[type="submit"], -#buddypress li.groups-members-search form input[type="submit"] { - float: right; - font-weight: 400; - padding: 0.2em 1em; - text-align: center; - text-transform: none; - width: 40%; -} - -@media screen and (min-width: 46.25em) { - #buddypress div.dir-search form input[type="submit"], - #buddypress div.message-search form input[type="submit"], - #buddypress li.groups-members-search form input[type="submit"] { - width: 20%; - } -} - -@media screen and (min-width: 38.75em) { - #buddypress div.dir-search, - #buddypress div.message-search, - #buddypress li.groups-members-search { - float: right; - margin-bottom: 5px !important; - } - #buddypress div.dir-search form label, - #buddypress div.dir-search form input[type="text"], - #buddypress div.dir-search form input[type="submit"], - #buddypress div.message-search form label, - #buddypress div.message-search form input[type="text"], - #buddypress div.message-search form input[type="submit"], - #buddypress li.groups-members-search form label, - #buddypress li.groups-members-search form input[type="text"], - #buddypress li.groups-members-search form input[type="submit"] { - width: auto; - } -} - -@media screen and (min-width: 77.5em) { - #buddypress .dir-search form input[type="text"], - #buddypress .message-search form input[type="text"] { - font-size: 16px; - font-size: 1rem; - } - #buddypress .dir-search form input[type="submit"], - #buddypress .message-search form input[type="submit"] { - font-size: 16px; - font-size: 1rem; - } -} - -/** -*------------------------------------------------------------------------------- -* @section 8.0 - Tables - General -*------------------------------------------------------------------------------- -*/ -#buddypress table { - font-size: 14px; - font-size: 0.875rem; - margin: 20px 0; -} - -#buddypress table tr th { - background: #6f6e6e; - border-color: #b7b7b7; - color: #fff; -} - -#buddypress table th, -#buddypress table td { - padding: 0.3em; -} - -#buddypress table p { - margin-bottom: 0.5em; -} - -@media screen and (min-width: 55em) { - #buddypress table { - font-size: 16px; - font-size: 1rem; - } -} - -/*__ User Account tables __*/ -#buddypress .notifications th, -#buddypress .messages-notices th { - width: 30%; -} - -#buddypress .notifications th.bulk-select-all, -#buddypress .messages-notices th.bulk-select-all { - text-align: center; - width: 10%; -} - -#buddypress .notifications .bulk-select-check, -#buddypress .notifications .thread-star, -#buddypress .messages-notices .bulk-select-check, -#buddypress .messages-notices .thread-star { - text-align: center; -} - -#buddypress .notifications .notification-actions, -#buddypress .notifications td.thread-options, -#buddypress .messages-notices .notification-actions, -#buddypress .messages-notices td.thread-options { - text-align: center; -} - -#buddypress .notifications .notification-actions a, -#buddypress .notifications td.thread-options a, -#buddypress .messages-notices .notification-actions a, -#buddypress .messages-notices td.thread-options a { - display: inline-block; - margin: 0; - padding: 0; -} - -#buddypress .notifications td .button, -#buddypress .messages-notices td .button { - border: 0; - display: block; - padding: 0; - text-align: center; -} - -/** -*------------------------------------------------------------------------------- -* @section 9.0 - Error / Success messages -*------------------------------------------------------------------------------- -*/ -#buddypress div#message p { - font-size: 18px; - font-size: 1.125rem; - font-weight: 700; -} - -#buddypress div#message.info p { - background: #c6e4ee; - border: 1px solid #78bed6; - color: #1e5264; -} - -#buddypress div#message.updated p { - background: #dee6b2; - border: 1px solid #becc66; - color: #454d19; -} - -.delete-group #buddypress div#message.info p { - background: #db7e7e; - border: 1px solid #be3535; - color: #1f0808; -} - -/** -*------------------------------------------------------------------------------- -* @section 10.0 - Ajax Loading, Widgets, General classes -*------------------------------------------------------------------------------- -*/ diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/057/057.test.js b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/057/057.test.js deleted file mode 100644 index bb8a501b13fa0c..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/057/057.test.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -const stylelint = require( 'stylelint' ), - systemTestUtils = require( '../systemTestUtils.js' ); - -it( '057', () => { - return stylelint.lint({ - files: [systemTestUtils.caseStylesheetGlob( '057' )], - configFile: systemTestUtils.caseConfig( '057' ), - }).then( ({ results }) => { - expect( systemTestUtils.prepResults( results ) ).toMatchSnapshot(); - }); -}); diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/057/__snapshots__/057.test.js.snap b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/057/__snapshots__/057.test.js.snap deleted file mode 100644 index e4e2949e86c3d5..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/057/__snapshots__/057.test.js.snap +++ /dev/null @@ -1,870 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`057 1`] = ` -Array [ - Object { - "deprecations": Array [], - "errored": true, - "ignored": undefined, - "invalidOptionWarnings": Array [], - "parseErrors": Array [], - "source": "057/stylesheet.css", - "warnings": Array [ - Object { - "column": 1, - "line": 57, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 71, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 539, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 827, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 1100, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 1107, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 2, - "line": 1327, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 1, - "line": 1767, - "rule": "comment-empty-line-before", - "severity": "error", - "text": "Expected empty line before comment (comment-empty-line-before)", - }, - Object { - "column": 2, - "line": 102, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 107, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 113, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 118, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 121, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 127, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 142, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 148, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 154, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 180, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 215, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 225, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 229, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 235, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 240, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 244, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 250, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 256, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 259, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 265, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 270, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 273, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 280, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 284, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 295, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 301, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 378, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 394, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 406, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 416, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 439, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 461, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 468, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 473, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 479, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 497, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 516, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 523, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 549, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 575, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 578, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 581, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 636, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 641, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 644, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 648, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 652, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 702, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 735, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 813, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 817, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 840, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 848, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 851, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 883, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 892, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 899, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 903, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 907, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 914, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 929, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 935, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 939, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 943, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 946, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 950, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 953, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 956, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 978, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 988, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1010, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1014, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1018, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1025, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1035, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1042, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1050, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1082, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1085, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1088, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1181, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1200, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1212, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1216, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1248, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1252, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1269, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1293, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1309, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1414, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1459, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1506, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1532, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1573, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1747, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1868, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1874, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1888, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1893, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 2, - "line": 1927, - "rule": "rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before rule (rule-empty-line-before)", - }, - Object { - "column": 45, - "line": 89, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 47, - "line": 118, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 43, - "line": 121, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 52, - "line": 148, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 34, - "line": 316, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 46, - "line": 714, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 80, - "line": 803, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 81, - "line": 1315, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 88, - "line": 1398, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 61, - "line": 1626, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 30, - "line": 1713, - "rule": "selector-list-comma-newline-after", - "severity": "error", - "text": "Expected newline after \\",\\" (selector-list-comma-newline-after)", - }, - Object { - "column": 2, - "line": 174, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '5px 0 5px' instead of '5px 0' (shorthand-property-no-redundant-values)", - }, - Object { - "column": 3, - "line": 526, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '0 0 10px 0' instead of '0 0 10px' (shorthand-property-no-redundant-values)", - }, - Object { - "column": 2, - "line": 1473, - "rule": "shorthand-property-no-redundant-values", - "severity": "error", - "text": "Unexpected longhand value '10px 0 0 0' instead of '10px 0 0' (shorthand-property-no-redundant-values)", - }, - ], - }, -] -`; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/057/config.json b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/057/config.json deleted file mode 100644 index a8af7d5dcb61b9..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/057/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../index.js" -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/057/stylesheet.css b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/057/stylesheet.css deleted file mode 100644 index c3bd796c45cb7e..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/057/stylesheet.css +++ /dev/null @@ -1,2013 +0,0 @@ -/*-------------------------------------------------------------- - -This is the BuddyPress companion stylesheet for -the WordPress Twentytwelve theme. - -This sheet supports the primary BuddyPress styles in buddypress.css - -If you are running as a child theme of twentytwelve this stylesheet will be -loaded by default. If you want to modify the styles the normal BP Theme Compat -hierarchy works and you can copy the file to buddypress/css/ or community/css/ -in your child themes root & either start over or modify the rulesets. - -If you do not require the styles you can dequeue them from the themes -functions file. - -Please see this codex article for more information: -http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ - ----------------------------------------------------------------- ->>> TABLE OF CONTENTS: ----------------------------------------------------------------- -1.0 Theme Structural Elements & overrides -2.0 - Navigation - General - 2.1 - Navs - Object Nav / Sub Nav (item-list-tabs) - 2.2 - Pagination -3.0 - Images -4.0 - BP Lists / Loops Generic - 4.1 - Activity Loop - 4.1.1 Whats New Activity - 4.1.2 - Activity Listing - 4.1.3 - Activity Comments - 4.2 - Members Loop - 4.3 - Groups Loop - 4.4 - Blogs Loop -5.0 - Directories - Members, Groups, Blogs, Register, activation -6.0 - Single Item screens: User Account & Single Group Screens - 6.1 - Item Headers: Global - 6.1.1 - item-header: Groups - 6.1.2 - item-header: User Accounts - 6.2 - Item Body: Global - 6.2.1 - item-body: Groups - 6.2.1.1 - Management settings screens - 6.2.1.2 - Group members list - 6.2.2 - item-body: User Accounts - 6.2.2.1 - classes, pag, filters - 6.2.2.2 - Extended Profiles - 6.2.2.3 - Groups - 6.2.2.4 - friends - 6.2.2.5 - Private Messaging Threads - 6.2.2.6 - Settings - 6.2.2.7 - Notifications -7.0 - Forms - General -8.0 - Tables - General -9.0 - Error / Success Messages -10.0 - Ajax Loading, Widgets, General classes ---------------------------------------------------------------*/ -/** -*------------------------------------------------------------------------------- -* @section 1.0 - Theme - Structural Elements. overrides, Globals -*------------------------------------------------------------------------------- -*/ -.buddypress div.clear { - display: none; -} - -/** -*------------------------------------------------------------------------------- -* @section 2.0 - Navigation - General -*------------------------------------------------------------------------------- -*/ -/** -*---------------------------------------------------------- -* @section 2.1 - Navs Object Nav / Sub Nav (item-list-tabs) -* -* The main navigational elements for all BP screens -*---------------------------------------------------------- -*/ -#buddypress div.item-list-tabs ul li.selected a, -#buddypress div.item-list-tabs ul li.current a { - background: inherit; - opacity: 1; -} - -#buddypress div.item-list-tabs ul { - overflow: hidden; - padding: 0; -} - -#buddypress div.item-list-tabs ul li a:focus, #buddypress div.item-list-tabs ul li a:hover { - color: #555; -} - -#buddypress div.item-list-tabs ul li a:visited { - color: #21759b; -} - -#buddypress div.item-list-tabs ul li a span { - border-radius: 25%; -} - -@media screen and (max-width: 30em) { - .bp-user #buddypress #object-nav { - border: 1px solid #eaeaea; - overflow: visible; - padding: 10px; - } - .bp-user #buddypress #object-nav ul { - border: 0; - height: 0; - transition: height 0.3s ease-in-out 0.7s; - visibility: hidden; - } - .bp-user #buddypress #object-nav:before { - content: "Menu \021E9"; - display: inline; - opacity: 0.7; - } - .bp-user #buddypress #object-nav:hover:before, .bp-user #buddypress #object-nav:focus:before { - content: "Menu \021E7"; - } - .bp-user #buddypress #object-nav:hover ul, .bp-user #buddypress #object-nav:focus ul { - height: 320px; - opacity: 1; - overflow-y: auto; - visibility: visible; - } - .bp-user #buddypress #subnav { - clear: both; - } -} - -/*__ Horizontal menus __*/ -#buddypress #object-nav ul { - overflow: hidden; -} - -#buddypress #object-nav ul li { - float: none; -} - -@media screen and (max-width: 37.5em) { - #buddypress #object-nav ul li:not(:last-child) { - border-bottom: 1px solid #eaeaea; - } -} - -@media screen and (max-width: 37.5em) { - #buddypress #object-nav ul li:not(.selected):focus, #buddypress #object-nav ul li:not(.selected):hover { - background: #f2f2f2; - } -} - -@media screen and (min-width: 37.5em) { - #buddypress #object-nav ul li { - float: left; - } -} - -#buddypress div#subnav.item-list-tabs { - margin-top: 0; -} - -#buddypress div#subnav.item-list-tabs ul { - border-bottom: 0; - border-top: 1px solid #d4d0ba; - margin-top: 5px; - padding: 0; -} - -#buddypress div#subnav.item-list-tabs ul li.last { - background: #fff; - float: right; - margin-top: 0; - padding: 5px 0 5px; - text-align: right; - width: 230px; -} - -@media screen and (max-width: 30em) { - #buddypress div#subnav.item-list-tabs ul li.last { - float: none; - width: auto; - } -} - -#buddypress div#subnav.item-list-tabs ul li.last select, -#buddypress div#subnav.item-list-tabs ul li.last select:focus { - background: transparent; - border: 0; - outline: 0; - padding: 0; -} - -#buddypress div#subnav.item-list-tabs ul li.last select, -#buddypress div#subnav.item-list-tabs ul li.last label, -#buddypress div#subnav.item-list-tabs ul li.last option { - font-size: 14px; - font-size: 1rem; -} - -#buddypress div#subnav.item-list-tabs ul li.last select { - font-style: italic; -} - -#buddypress div#subnav.item-list-tabs ul li.last select option { - font-style: normal; -} - -.bp-user #buddypress div#subnav.item-list-tabs li.last { - margin-left: 0; - text-align: right; -} - -@media screen and (max-width: 30em) { - .bp-user #buddypress div#subnav.item-list-tabs li.last { - clear: left; - float: none; - margin-left: 10px; - text-align: left; - } -} - -/*__ Vertical menu User Account / Group single screens __*/ -@media screen and (min-width: 60em) { - body.full-width #buddypress #item-header, - body.full-width #buddypress #item-body { - background: #fff; - } - body.full-width #buddypress #object-nav { - border-right: 1px solid #ddd; - float: left; - margin-right: -1px; - width: 200px; - } - body.full-width #buddypress #object-nav ul { - background: none; - border-bottom: 0; - padding: 0; - } - body.full-width #buddypress #object-nav ul li { - float: none; - overflow: hidden; - } - body.full-width #buddypress #object-nav ul li span { - background: #fff; - border-radius: 10%; - float: right; - margin-right: 2px; - } - body.full-width #buddypress #item-body { - border-left: 1px solid #ddd; - overflow: hidden; - padding: 0 0 0 24px; - width: auto; - } - body.full-width #buddypress #item-body #subnav { - margin: 0 0 0 -24px; - } - body.full-width #buddypress #item-body #subnav ul { - margin-top: 0; - } -} - -@media screen and (min-width: 46.25em) { - #main #buddypress #group-create-tabs.item-list-tabs ul:before, - #main #buddypress #group-create-tabs.item-list-tabs ul:after { - content: " "; - display: table; - } - #main #buddypress #group-create-tabs.item-list-tabs ul:after { - clear: both; - } - #main #buddypress #group-create-tabs.item-list-tabs ul { - background: none; - border: 0; - border-bottom: 1px solid #ddd; - overflow: visible; - padding-bottom: 0; - } - #main #buddypress #group-create-tabs.item-list-tabs ul li { - float: left; - width: auto; - } - #main #buddypress #group-create-tabs.item-list-tabs ul li.selected, - #main #buddypress #group-create-tabs.item-list-tabs ul li.current { - border: 1px solid #ddd; - border-bottom-color: #fff; - -webkit-border-top-right-radius: 4px; - border-top-right-radius: 4px; - -webkit-border-top-left-radius: 4px; - border-top-left-radius: 4px; - background-clip: padding-box; - margin-bottom: -1px; - } - #main #buddypress #group-create-tabs.item-list-tabs ul li.selected a, - #main #buddypress #group-create-tabs.item-list-tabs ul li.current a { - background: none; - color: #141412; - outline: none; - } - #main #buddypress #subnav ul { - border-bottom: 0; - } -} - -/** -*---------------------------------------------------------- -* @section 2.2 - Pagination -*---------------------------------------------------------- -*/ -#buddypress div.pagination { - box-shadow: none; - min-height: 0; -} - -#buddypress div.pagination:before, #buddypress div.pagination:after { - height: 0; - width: 0; -} - -#buddypress div.pagination .pag-count { - margin-left: 0; -} - -#buddypress div.pagination .pagination-links { - margin-right: 0; -} - -#buddypress div.pagination .pagination-links span, -#buddypress div.pagination .pagination-links a { - height: auto; - line-height: 1; - padding: 5px; -} - -#buddypress div.pagination .pagination-links .prev, -#buddypress div.pagination .pagination-links .next { - background-color: transparent; - color: inherit; - overflow: visible; - width: auto; -} - -#buddypress div.pagination .pagination-links .prev:before, -#buddypress div.pagination .pagination-links .next:before { - display: none; -} - -#buddypress div.pagination .pagination-links .prev { - left: auto; - position: static; -} - -#buddypress div.pagination .pagination-links .next { - position: static; - right: auto; -} - -/** -*------------------------------------------------------------------------------- -* @section 4.0 - BP Lists / Loops Generic -*------------------------------------------------------------------------------- -*/ -#buddypress ul.item-list { - border-top: 0; -} - -#buddypress ul.item-list li { - overflow: hidden !important; -} - -#buddypress ul.item-list li .item-avatar { - margin-bottom: 10px; - text-align: center; -} - -@media screen and (min-width: 37.5em) { - #buddypress ul.item-list li .item-avatar { - margin-bottom: 0; - } -} - -#buddypress ul.item-list li .item-avatar a { - border-bottom: 0; -} - -#buddypress ul.item-list li .item-avatar img.avatar { - display: inline-block; - float: none; - margin-bottom: 10px; -} - -@media screen and (min-width: 37.5em) { - #buddypress ul.item-list li .item-avatar img.avatar { - display: block; - float: left; - } -} - -#buddypress ul.item-list li .item { - margin-left: 0; - overflow: hidden; -} - -@media screen and (min-width: 61.5625em) { - #buddypress ul.item-list li .item { - margin-left: 15%; - } -} - -#buddypress ul.item-list li .item .item-meta { - text-align: center; -} - -@media screen and (min-width: 61.5625em) { - #buddypress ul.item-list li .item .item-meta { - text-align: left; - } -} - -#buddypress ul.item-list li .item span.activity { - font-style: italic; -} - -#buddypress ul.item-list li .item .item-desc { - margin-left: 0; - width: 94%; -} - -#buddypress ul.item-list li .item .item-title { - font-size: 16px; - font-size: 1.1428571429rem; - line-height: 1.2; - text-align: center; - width: 100%; -} - -@media screen and (min-width: 37.5em) { - #buddypress ul.item-list li .item .item-title { - text-align: left; - } -} - -#buddypress ul.item-list li .item .item-title > a { - text-decoration: none; -} - -#buddypress ul.item-list li .item .item-title > a:visited { - color: #21759b; -} - -#buddypress ul.item-list li .item .item-title .update { - display: block; - font-size: 12px; - font-size: 0.8571428571rem; - padding: 10px 0; - text-align: left; -} - -@media screen and (min-width: 60em) { - #buddypress ul.item-list li .item .item-title .update { - font-size: 14px; - font-size: 1rem; - } -} - -@media screen and (min-width: 60em) { - #buddypress ul.item-list li .item-avatar, - #buddypress ul.item-list li .item, - #buddypress ul.item-list li .action { - float: left; - } - #buddypress ul.item-list li .item { - left: 5%; - margin-left: 0; - position: relative; - width: 55%; - } - #buddypress ul.item-list li .item .item-title { - font-size: 18px; - font-size: 1.2857142857rem; - } -} - -#buddypress ul.item-list li div.action { - clear: left; - float: none; - margin-bottom: -24px; - margin-left: 0; - padding: 24px 0 5px; - position: relative; - text-align: left; - top: 0; -} - -@media screen and (min-width: 60em) { - #buddypress ul.item-list li div.action { - clear: none; - float: right; - margin-bottom: 0; - padding: 0; - } -} - -#buddypress ul.item-list li div.action div { - display: inline-block; - margin: 10px 0; - width: 100%; -} - -#buddypress ul.item-list li div.action div a { - display: block; -} - -@media screen and (min-width: 37.5em) { - #buddypress ul.item-list li div.action div { - margin: 0 10px 10px 0; - width: auto; - } -} - -@media screen and (min-width: 60em) { - #buddypress ul.item-list li div.action div { - clear: right; - float: right; - margin: 0 0 10px 0; - } -} - -#buddypress ul.item-list li div.action .meta { - font-style: italic; -} - -/** -*---------------------------------------------------------- -* @section 4.1 - Activity -*---------------------------------------------------------- -*/ -/** -*----------------------------------------------------- -* @section 4.1.1 - Activity Whats New -*----------------------------------------------------- -*/ -#buddypress form#whats-new-form p.activity-greeting { - line-height: 1.4; -} - -@media screen and (max-width: 46.25em) { - #buddypress form#whats-new-form #whats-new-content { - clear: left; - margin: 10px 0 24px; - padding: 10px 0 0; - } -} - -#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box { - border: 1px solid rgba(212, 208, 186, 0.5); - float: left; - line-height: 1.5; - margin-top: 12px; - padding-left: 0.2em; - width: 100%; -} - -#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box select { - background: none; - border: 0; - float: right; - margin: 0; - min-height: 1.5em; - padding: 0 0 0 0.4em; -} - -@media screen and (min-width: 30em) { - #buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box { - width: auto; - } - #buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-submit { - float: right; - } - #buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-submit input { - padding: 2px 6px; - } -} - -#buddypress #item-body form#whats-new-form { - margin: 48px 0; -} - -/** -*----------------------------------------------------- -* @section 4.1.2 - Activity Listing -*----------------------------------------------------- -*/ -#buddypress #activity-stream li { - padding: 25px 0 15px; -} - -#buddypress #activity-stream li .activity-avatar { - float: none; - text-align: center; -} - -#buddypress #activity-stream li .activity-avatar a { - display: inline-block; -} - -#buddypress #activity-stream li .activity-avatar a img.avatar { - display: inline; - float: none; - height: 60px; - margin-bottom: 24px; - margin-left: 0; - width: 60px; -} - -#buddypress #activity-stream li .activity-content, -#buddypress #activity-stream li .activity-comments { - margin-left: 0; -} - -#buddypress #activity-stream li .activity-header { - font-size: 14px; - font-size: 1rem; -} - -#buddypress #activity-stream li .activity-header a:visited { - color: #21759b; -} - -#buddypress #activity-stream li .activity-inner img { - height: auto; -} - -@media screen and (min-width: 46.25em) { - #buddypress #activity-stream li .activity-avatar { - float: left; - margin-right: 10px; - text-align: left; - } - #buddypress #activity-stream li .activity-avatar a { - border-bottom: 0; - } - #buddypress #activity-stream li .activity-content { - margin: 0; - overflow: hidden; - } - #buddypress #activity-stream li .activity-content .activity-header { - font-size: 16px; - font-size: 1.1428571429rem; - } - #buddypress #activity-stream li .activity-comments { - margin-left: 70px; - } -} - -#buddypress #activity-stream li.mini .activity-avatar a img.avatar { - height: 30px; - margin-left: 15px; - width: 30px; -} - -#buddypress #activity-stream li.mini .activity-content .activity-header { - font-size: 14px; - font-size: 1rem; -} - -#buddypress #activity-stream li.mini .activity-content .activity-meta a { - font-size: 12px; - font-size: 0.8571428571rem; -} - -#buddypress #activity-stream .activity-content { - margin-top: -12px; -} - -#buddypress #activity-stream .activity-content .activity-header { - line-height: inherit; - margin-right: 0; -} - -#buddypress #activity-stream .activity-content .activity-header p { - border-bottom: 1px solid rgba(234, 234, 234, 0.6); - margin-top: 0; - padding: 0 0.2em; -} - -#buddypress #activity-stream .activity-content .activity-header img.avatar { - display: inline-block; - margin-bottom: 0 !important; -} - -#buddypress #activity-stream .activity-content .activity-meta a { - display: block; - font-size: 14px; - font-size: 1rem; - margin-bottom: 5px; - padding: 0.2em 0.5em; -} - -@media screen and (min-width: 37.5em) { - #buddypress #activity-stream .activity-content .activity-meta a { - float: left; - margin-bottom: 0; - } -} - -#buddypress #activity-stream .load-more { - background: #f7f7f7; - border: 1px solid transparent; - padding: 10px; -} - -#buddypress #activity-stream .load-more:focus, #buddypress #activity-stream .load-more:hover { - background: #f4f4f4; - border: 1px solid rgba(159, 209, 226, 0.3); -} - -#buddypress #activity-stream .load-more a { - display: block; -} - -/* Single activity view - activity permalink */ -.activity-permalink #buddypress #activity-stream li.activity-item { - padding: 24px; -} - -.activity-permalink #buddypress #activity-stream li.mini .activity-header { - font-size: 16px; - font-size: 1.1428571429rem; - margin-bottom: 48px; -} - -@media screen and (min-width: 46.25em) { - .activity-permalink #buddypress #activity-stream li.mini .activity-header { - font-size: 20px; - font-size: 1.4285714286rem; - } -} - -.activity-permalink #buddypress #activity-stream li.mini .activity-header p { - padding: 24px; -} - -.activity-permalink #buddypress #activity-stream .activity-comments { - margin-left: 0; -} - -/** -*----------------------------------------------------- -* @section 4.1.3 - Activity Comments -*----------------------------------------------------- -*/ -#buddypress #activity-stream .activity-comments { - position: relative; -} - -#buddypress #activity-stream .activity-comments > ul { - background: rgba(247, 247, 247, 0.6); - margin: 10px 0 0 2px; -} - -#buddypress #activity-stream .activity-comments > ul > li:hover * { - color: #555; -} - -#buddypress #activity-stream .activity-comments > ul > li .acomment-meta, -#buddypress #activity-stream .activity-comments > ul > li .acomment-content { - font-size: 12px; - font-size: 0.8571428571rem; -} - -#buddypress #activity-stream .activity-comments a { - color: #737373; -} - -#buddypress #activity-stream .activity-comments .ac-form { - border: 1px solid #d4d0ba; - box-sizing: border-box; - margin: 10px 0; - width: 100%; -} - -#buddypress #activity-stream .activity-comments .ac-form input[type="submit"], -#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel { - color: rgba(20, 20, 18, 0.8); - display: inline-block; - font-family: inherit; - font-size: 12px; - font-size: 0.8571428571rem; - font-weight: 400; - line-height: 1.2; - padding: 4px 10px; - text-transform: lowercase; - width: 100px; -} - -#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel { - border: 1px solid rgba(212, 208, 186, 0.7); - text-align: center; -} - -#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:focus, #buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:hover { - background: #ededed; -} - -/** -*---------------------------------------------------------- -* @section 4.2 - Members Loop -*---------------------------------------------------------- -*/ -@media screen and (min-width: 60em) { - #buddypress #members-list li .item-avatar, - #buddypress #members-list li .item { - float: left; - } - #buddypress #members-list li .action { - float: right; - } -} - -/** -*------------------------------------------------------------------------------- -* @section 5.0 - Directories -*------------------------------------------------------------------------------- -*/ -/** -*----------------------------------------------------------- -* @subsection Registration -*----------------------------------------------------------- -*/ -#buddypress #signup_form.standard-form #profile-details-section, -#buddypress #signup_form.standard-form #basic-details-section, -#buddypress #signup_form.standard-form #blog-details-section { - float: none; - width: 100%; -} - -@media screen and (min-width: 37.5em) { - #buddypress #signup_form.standard-form #profile-details-section, - #buddypress #signup_form.standard-form #basic-details-section, - #buddypress #signup_form.standard-form #blog-details-section { - width: 48%; - } -} - -@media screen and (min-width: 37.5em) { - #buddypress #signup_form.standard-form #profile-details-section { - float: right; - } - #buddypress #signup_form.standard-form #basic-details-section { - float: left; - } -} - -/** -*------------------------------------------------------------------------------- -* @section 6.0 - Single Item screens: User Account & Single Group Screens -*------------------------------------------------------------------------------- -*/ -.bp-user #buddypress a:visited { - color: #21759b; -} - -/** -*----------------------------------------------------------- -* @subsection 6.1 - Item Header Global -*----------------------------------------------------------- -*/ -.bp-user #buddypress #item-header-content #item-meta, -.single-item.groups #buddypress #item-header-content #item-meta { - font-size: 14px; - font-size: 1rem; - text-align: left; -} - -.bp-user #buddypress #item-header-content #item-meta p, -.single-item.groups #buddypress #item-header-content #item-meta p { - margin-bottom: 0.5em; -} - -@media screen and (max-width: 37.5em) { - .bp-user h1, - .bp-user #item-header-content, - .single-item.groups h1, - .single-item.groups #item-header-content { - text-align: center; - } -} - -@media screen and (max-width: 46.25em) { - .bp-user main header.entry-header, - .single-item.groups main header.entry-header { - padding-bottom: 1rem; - } -} - -@media screen and (max-width: 37.5em) { - .bp-user #buddypress h1, - .single-item.groups #buddypress h1 { - margin-bottom: 0; - } - .bp-user #buddypress #item-header-avatar img.avatar, - .single-item.groups #buddypress #item-header-avatar img.avatar { - margin-right: 0; - } - .bp-user #buddypress #item-header-content, - .single-item.groups #buddypress #item-header-content { - width: 100%; - } -} - -@media screen and (max-width: 46.25em) { - .bp-user #buddypress #item-header .generic-button, - .single-item.groups #buddypress #item-header .generic-button { - float: none; - margin: 1.5em 0 0; - } -} - -/** -*----------------------------------------------------- -* @subsection 6.1.1 - item-header Groups -* -* Group Specific Item Header -*----------------------------------------------------- -*/ -@media screen and (max-width: 46.25em) { - .single-item.groups #buddypress #item-header #item-meta { - margin-bottom: 24px; - } -} - -@media screen and (max-width: 50em) { - .single-item.groups #buddypress div#item-header { - display: flex; - flex-direction: column; - } - .single-item.groups #buddypress div#item-header #item-header-avatar { - order: 1; - text-align: center; - } - .single-item.groups #buddypress div#item-header #item-header-avatar a { - border-bottom: 0; - } - .single-item.groups #buddypress div#item-header #item-header-avatar a img { - display: inline-block; - float: none; - } - .single-item.groups #buddypress div#item-header #item-header-content { - order: 2; - } - .single-item.groups #buddypress div#item-header #item-actions { - order: 3; - } - .single-item.groups #buddypress div#item-header #item-actions h2 { - border-bottom: 1px solid #eaeaea; - text-align: center; - } -} - -.single-item.groups #buddypress div#item-header { - padding-bottom: 48px; -} - -.single-item.groups #buddypress div#item-header #item-header-content { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -.single-item.groups #buddypress div#item-header div#item-actions { - margin: 0 !important; - width: 100%; -} - -@media screen and (min-width: 50em) { - .single-item.groups #buddypress div#item-header div#item-actions { - border-left: 1px solid #eaeaea; - clear: none; - float: right; - padding-left: 0.2em; - width: 30%; - } -} - -@media screen and (min-width: 46.25em) { - .single-item.groups #buddypress div#item-header div#item-actions { - width: 40%; - } -} - -.single-item.groups #buddypress div#item-header div#item-actions ul { - margin-top: 0; - padding-left: 0; -} - -.single-item.groups #buddypress div#item-header div#item-actions h2 { - font-size: 14px; - font-size: 1rem; - padding: 0.2em; -} - -.single-item.groups #buddypress div#item-header div#item-actions #group-admins li, -.single-item.groups #buddypress div#item-header div#item-actions #group-mods li { - margin: 0; -} - -@media screen and (min-width: 46.25em) { - .single-item.groups #buddypress div#item-header #item-header-avatar, - .single-item.groups #buddypress div#item-header #item-header-content { - float: left; - } - .single-item.groups #buddypress div#item-header #item-header-content { - margin-left: 2%; - padding: 0 0.5em; - } - .single-item.groups #buddypress div#item-header div#item-actions { - float: right; - width: 28%; - } -} - -@media screen and (min-width: 64em) { - .single-item.groups #buddypress div#item-header #item-header-content { - width: 40%; - } -} - -.single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-actions { - margin-top: 225px !important; -} - -@media screen and (min-width: 50em) and (max-width: 60em) { - .single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-header-content { - max-width: 60% !important; - width: 60% !important; - } -} - -@media screen and (max-width: 64em) { - .single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-actions { - border: 0; - clear: both; - margin-top: 0 !important; - max-width: 100% !important; - padding-top: 0 !important; - width: auto; - } - .single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-actions h2 { - border-bottom: 1px solid #eaeaea; - } -} - -/** -*----------------------------------------------------- -* @subsection 6.1.2 - Item Header User Accounts -* -* User Accounts Specific Item Header -*----------------------------------------------------- -*/ -.bp-user #buddypress #item-header { - padding: 24px 0; -} - -.bp-user #buddypress #item-header #item-header-avatar { - text-align: center; -} - -.bp-user #buddypress #item-header #item-header-avatar img.avatar, -.bp-user #buddypress #item-header #item-header-avatar a { - border-bottom: 0; - display: inline-block; - float: none; -} - -.bp-user #buddypress #item-header #item-header-content #item-buttons .generic-button { - margin-right: 5px; -} - -@media screen and (min-width: 46.25em) { - .bp-user #buddypress #item-header #item-header-avatar { - float: left; - } - .bp-user #buddypress #item-header #item-header-avatar a { - float: left; - } - .bp-user #buddypress #item-header #item-header-content { - float: right; - margin-right: 0%; - width: 69%; - } -} - -/** -*----------------------------------------------------------- -* @subsection 6.2 - Item Body: Global -*----------------------------------------------------------- -*/ -/** -*---------------------------------------------------- -* @subsection 6.2.1 - Item Body Groups -* -* Groups specific item body rules - screens -*---------------------------------------------------- -*/ -/** -*----------------------------------------- -* @subsection 6.2.1.1 - Group Management -*----------------------------------------- -*/ -.groups #group-settings-form h3 { - background: #555; - color: #fff; - padding: 0.2em; -} - -.groups.edit-details #group-settings-form label { - margin-bottom: 0; - padding: 0.2em; - width: 80%; -} - -.groups.edit-details #group-settings-form textarea + p label { - background: none; - color: inherit; - font-size: 14px; - font-size: 1rem; - width: auto; -} - -.groups.edit-details #group-settings-form textarea { - height: auto; - min-height: 100px; - overflow: auto; -} - -.groups.group-settings #group-settings-form div.radio label { - border: 1px solid #eaeaea; - padding: 0.2em; -} - -.groups.group-settings #group-settings-form div.radio label ul { - color: rgba(20, 20, 18, 0.6); - font-size: 14px; - font-size: 1rem; -} - -.groups.group-avatar form > p { - margin-top: 24px; -} - -.groups.manage-members #group-settings-form .item-list li { - border-bottom: 1px solid #eaeaea; -} - -.groups.manage-members #group-settings-form .item-list li img, -.groups.manage-members #group-settings-form .item-list li h5 { - float: left; -} - -.groups.manage-members #group-settings-form .item-list li img > a, -.groups.manage-members #group-settings-form .item-list li h5 > a { - border-bottom: 0; -} - -.groups.manage-members #group-settings-form .item-list li span.small { - clear: left; - display: block; - float: none; - margin-top: 10px; -} - -.groups.manage-members #group-settings-form .item-list li span.small a { - display: inline-block; - margin: 5px 0; - width: 100%; -} - -@media screen and (min-width: 37.5em) { - .groups.manage-members #group-settings-form .item-list li span.small a { - width: auto; - } -} - -.groups.manage-members #group-settings-form .item-list li h5 { - margin: 0; -} - -/** -*----------------------------------------- -* @subsection 6.2.1.2 - Group members -*----------------------------------------- -*/ -.groups.group-members #subnav li { - width: 100%; -} - -@media screen and (max-width: 37.5em) { - .groups.group-members #subnav li { - background: #fff; - padding: 24px 0; - } -} - -.groups.group-members #subnav li #search-members-form { - float: right; - margin: 5px 5px 0 0; -} - -@media screen and (max-width: 37.5em) { - .groups.group-members #subnav li #search-members-form { - margin: 0; - width: 100%; - } - .groups.group-members #subnav li #search-members-form label input[type="text"] { - width: 100%; - } -} - -/** -*----------------------------------------------------- -* @subsection 6.2.2 - Item Body User Accounts -* -* User Account specific component item body rules -*----------------------------------------------------- -*/ -.bp-user .entry-title { - margin-bottom: 0.5em; -} - -/** -*-------------------------------------------- -* @subsection 6.2.2.1 - classes, pag, filters -*-------------------------------------------- -*/ -.bp-user #buddypress table th { - font-size: 13px; - font-size: 0.9285714286rem; -} - -.bp-user #buddypress table td { - font-size: 12px; - font-size: 0.8571428571rem; -} - -@media screen and (min-width: 60em) { - .bp-user #buddypress table th { - font-size: 16px; - font-size: 1.1428571429rem; - } - .bp-user #buddypress table td { - font-size: 14px; - font-size: 1rem; - } -} - -.bp-user #buddypress .pag-count { - font-style: italic; -} - -.bp-user #buddypress .notifications-options-nav, -.bp-user #buddypress .messages-options-nav { - float: left; - width: 100%; -} - -@media screen and (min-width: 37.5em) { - .bp-user #buddypress .notifications-options-nav, - .bp-user #buddypress .messages-options-nav { - width: 40%; - } -} - -.bp-user #buddypress .notifications-options-nav select, -.bp-user #buddypress .notifications-options-nav input, -.bp-user #buddypress .messages-options-nav select, -.bp-user #buddypress .messages-options-nav input { - font-size: 14px; - font-size: 1rem; - outline: 0; - padding: 0; -} - -.bp-user #buddypress .notifications-options-nav select, -.bp-user #buddypress .messages-options-nav select { - float: left; - margin-right: 0; - width: 49%; -} - -@media screen and (min-width: 37.5em) { - .bp-user #buddypress .notifications-options-nav select, - .bp-user #buddypress .messages-options-nav select { - width: auto; - } -} - -.bp-user #buddypress .notifications-options-nav input, -.bp-user #buddypress .messages-options-nav input { - float: left; - font-family: inherit; - line-height: 20px; - margin-left: 1%; - width: 50%; -} - -@media screen and (min-width: 37.5em) { - .bp-user #buddypress .notifications-options-nav input, - .bp-user #buddypress .messages-options-nav input { - width: auto; - } -} - -.bp-user #buddypress .notifications-options-nav input[disabled="disabled"]:focus, .bp-user #buddypress .notifications-options-nav input[disabled="disabled"]:hover, -.bp-user #buddypress .messages-options-nav input[disabled="disabled"]:focus, -.bp-user #buddypress .messages-options-nav input[disabled="disabled"]:hover { - background: none; -} - -/** - *------------------------------------------- - * @subsection 6.2.2.2 - Extended Profiles - *------------------------------------------- - */ -.bp-user #buddypress .profile { - /* Edit profile */ -} - -.bp-user #buddypress .profile .bp-widget h2 { - background: #6f6e6e; - color: #fff; - margin-bottom: 0; - padding: 0.4em; -} - -.bp-user #buddypress .profile .bp-widget table { - margin-top: 0; -} - -.bp-user #buddypress .profile #profile-edit-form .button-nav:before, -.bp-user #buddypress .profile #profile-edit-form .button-nav:after { - content: " "; - display: table; -} - -.bp-user #buddypress .profile #profile-edit-form .button-nav:after { - clear: both; -} - -.bp-user #buddypress .profile #profile-edit-form ul.button-nav { - border-bottom: 1px solid #eaeaea; - margin-left: 0; -} - -.bp-user #buddypress .profile #profile-edit-form ul.button-nav li { - float: left; - margin-bottom: 0; -} - -.bp-user #buddypress .profile #profile-edit-form ul.button-nav li.current { - border: 1px solid #eaeaea; - border-bottom-color: #fff; - margin-bottom: -1px; -} - -.bp-user #buddypress .profile #profile-edit-form ul.button-nav a { - background: none; - border: 0; - font-size: 18px; - font-size: 1.2857142857rem; -} - -.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle { - margin: 5px 0 24px; -} - -.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle, -.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings { - font-size: 14px; - font-size: 1rem; -} - -.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close, -.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link { - background: #6f6e6e; - -webkit-border-radius: 2px; - -moz-border-radius: 2px; - -ms-border-radius: 2px; - border-radius: 2px; - background-clip: padding-box; - color: #f1f1f1; - font-weight: 700; - padding: 0.1em 0.5em; - text-decoration: none; -} - -.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close:focus, .bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close:hover, -.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link:focus, -.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link:hover { - color: #fff; -} - -.bp-user #buddypress .profile .bp-avatar #bp-delete-avatar a { - font-size: inherit; -} - -/** - *------------------------------------------- - * @subsection 6.2.2.3 - Groups - *------------------------------------------- - */ -@media screen and (min-width: 77.5em) { - .bp-user #buddypress #groups-list li .item { - left: 5%; - width: 50%; - } -} - -/** - *------------------------------------------- - * @subsection 6.2.2.5 - Private Messaging - *------------------------------------------- - */ -.bp-user #buddypress #message-thread a { - border-bottom: 0; -} - -.bp-user #buddypress #message-thread #message-subject { - background: #6f6e6e; - color: #fff; - padding: 0.3em 0 0.3em 0.2em; -} - -.bp-user #buddypress #message-thread #message-recipients { - font-style: italic; -} - -.bp-user #buddypress #message-thread #message-recipients a.confirm { - border: 1px solid #eaeaea; - font-style: normal; -} - -.bp-user #buddypress #message-thread #message-recipients .highlight { - font-size: 100%; -} - -.bp-user #buddypress #message-thread .message-metadata:after { - clear: both; - content: ""; - display: table; -} - -.bp-user #buddypress #message-thread .message-metadata img.avatar { - float: none; -} - -@media screen and (min-width: 46.25em) { - .bp-user #buddypress #message-thread .message-metadata img.avatar { - float: left; - } -} - -.bp-user #buddypress #message-thread .message-metadata .message-star-actions { - float: right; - margin-right: 5px; - position: static; -} - -.bp-user #buddypress #message-thread .message-content { - background: #f7f7f7; - border: 1px solid #eaeaea; - margin: 10px 0 0 0; - padding: 0.3em; -} - -.bp-user #buddypress #message-thread #send-reply .message-content { - background: #fff; - border: 0; -} - -.bp-user #buddypress #message-thread .alt { - background: #fff; -} - -.bp-user #buddypress #message-threads thead tr { - background: #6f6e6e; -} - -.bp-user #buddypress #message-threads tr td { - background: #fff; - box-sizing: border-box; - display: inline-block; - float: left; -} - -.bp-user #buddypress #message-threads tr td.thread-star, -.bp-user #buddypress #message-threads tr td.thread-options { - border-bottom: 1px solid #ccc; - height: 2.4em; - padding-bottom: 0.2em; - padding-top: 0.2em; -} - -@media screen and (max-width: 46.25em) { - .bp-user #buddypress #message-threads tr td.thread-star, - .bp-user #buddypress #message-threads tr td.thread-options { - padding-top: 0; - } -} - -.bp-user #buddypress #message-threads tr td.thread-star { - vertical-align: middle; -} - -.bp-user #buddypress #message-threads tr td.thread-star .message-action-star, -.bp-user #buddypress #message-threads tr td.thread-star .message-action-unstar { - line-height: 1.2; -} - -.bp-user #buddypress #message-threads tr td.thread-star span.icon:before { - font-size: 14px; - font-size: 1rem; -} - -.bp-user #buddypress #message-threads tr td.bulk-select-check, -.bp-user #buddypress #message-threads tr td.thread-from { - height: 3em; -} - -@media screen and (max-width: 37.5em) { - .bp-user #buddypress #message-threads tr td.bulk-select-check, - .bp-user #buddypress #message-threads tr td.thread-from { - height: 5.2em; - } -} - -.bp-user #buddypress #message-threads tr td.thread-from, -.bp-user #buddypress #message-threads tr td.thread-options { - border-left: 0 !important; - width: -webkit-calc(100% - 30px); - width: -moz-calc(100% - 30px); - width: calc(100% - 30px); - margin-left: 0; -} - -.bp-user #buddypress #message-threads tr td.thread-info { - padding-left: 41px; - width: 100%; -} - -.bp-user #buddypress #message-threads tr td.thread-options { - text-align: right; -} - -.bp-user #buddypress #message-threads tr td.thread-options a { - font-size: 12px; - font-size: 0.8571428571rem; - line-height: 1.2; -} - -.bp-user #buddypress #message-threads tr span.from { - display: none; -} - -.bp-user #buddypress #message-threads tr span.activity { - display: block; - float: right; - line-height: 2; -} - -@media screen and (max-width: 37.5em) { - .bp-user #buddypress #message-threads tr span.activity { - clear: both; - font-size: 11px; - font-size: 0.7857142857rem; - width: 100%; - } -} - -.bp-user #buddypress #message-threads tr.unread td { - border-color: #eaeaea; -} - -.bp-user #buddypress #message-threads th { - display: none; -} - -.bp-user #buddypress #message-threads th.bulk-select-all { - border-bottom: 0; - display: inline-block; - text-align: left; -} - -.bp-user #buddypress #message-threads th.bulk-select-all, -.bp-user #buddypress #message-threads td.bulk-select-check, -.bp-user #buddypress #message-threads td.thread-star { - border-right: 0; - width: 30px; -} - -.bp-user #buddypress #send_message_form input, -.bp-user #buddypress #send_message_form textarea { - box-sizing: border-box; -} - -.bp-user #buddypress .acfb-holder { - list-style: none; -} - -.bp-user #buddypress .acfb-holder li { - margin-left: 0; -} - -.bp-user #buddypress .acfb-holder li.friend-tab { - background: #edf7fa; - border: inherit; - margin-right: 0; - padding: 0.5em; -} - -.bp-user #buddypress .acfb-holder li.friend-tab span.p { - padding-left: 10px; -} - -.bp-user #buddypress .acfb-holder li.friend-tab span.p:focus, .bp-user #buddypress .acfb-holder li.friend-tab span.p:hover { - color: #c82b2b; - cursor: pointer; -} - -.bp-user #buddypress .acfb-holder li.friend-tab a { - border-bottom: 0; - text-decoration: none; -} - -.bp-user #buddypress .acfb-holder li.friend-tab a img { - display: inline; - height: 20px; - vertical-align: middle; - width: 20px !important; -} - -.bp-user #buddypress #message-threads.sitewide-notices tr { - margin: 3em 0; -} - -.bp-user #buddypress #message-threads.sitewide-notices td { - width: 100%; -} - -.bp-user #buddypress #message-threads.sitewide-notices td strong { - background: #6f6e6e; - color: #fff; - display: block; - margin-bottom: 0.4em; - padding-left: 0.2em; -} - -.bp-user #buddypress #message-threads.sitewide-notices td a { - display: inline-block; -} - -.bp-user #buddypress #message-threads.sitewide-notices td a.button { - border: 1px solid #d4d0ba; - line-height: initial; - padding: 0.4em 0.3em; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:first-child { - display: none; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:nth-child(2) strong { - margin: -8px -8px 8px; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:first-child + td + td { - border-bottom: 0; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:first-child + td + td span { - line-height: 1; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:last-child { - line-height: 1; - padding-bottom: 1em; - text-align: right; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child { - line-height: 0; - margin-left: 0.7em; - text-indent: -999em; -} - -.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child:after { - content: attr(title); - display: block; - line-height: initial; - text-indent: 0; -} - -.bp-user .ac_results { - background: #eee; - padding-left: 10px; -} - -.bp-user .ac_results li { - margin: 10px 0; -} - -.bp-user .ac_results li:focus, .bp-user .ac_results li:hover { - cursor: pointer; -} - -.bp-user .ac_results li img { - vertical-align: bottom; -} - -/** - *------------------------------ - * @subsection 6.2.2.6 - Settings - *------------------------------ - */ -.bp-user #buddypress #settings-form > p { - font-size: 20px; - font-size: 1.4285714286rem; - margin: 24px 0 10px; -} - -.bp-user #buddypress table.notification-settings td.yes, -.bp-user #buddypress table.notification-settings td.no { - vertical-align: middle; -} - -.bp-user #buddypress table.profile-settings { - width: 100%; -} - -.bp-user #buddypress table.profile-settings th.field-group-name, -.bp-user #buddypress table.profile-settings td.field-name { - width: 50%; -} - -@media screen and (min-width: 46.25em) { - .bp-user #buddypress table.profile-settings th.field-group-name, - .bp-user #buddypress table.profile-settings td.field-name { - width: 70%; - } -} - -.bp-user #buddypress table.profile-settings th.title, -.bp-user #buddypress table.profile-settings td.field-visibility { - width: 30%; -} - -.bp-user #buddypress table.profile-settings td.field-visibility select { - width: 100%; -} - -/** - *------------------------------------ - * @subsection 6.2.2.6 - Notifications - *------------------------------------ - */ -/** -*------------------------------------------------------------------------------- -* @section 7.0 - Forms - General -*------------------------------------------------------------------------------- -*/ -#main #buddypress .standard-form li { - float: none; -} - -#main #buddypress .standard-form input[type="text"], -#main #buddypress .standard-form input[type="email"], -#main #buddypress .standard-form input[type="password"], -#main #buddypress .standard-form textarea { - width: 100%; -} - -#buddypress div.activity-comments form .ac-textarea { - background: #f7f7f7; - border: 1px solid rgba(212, 208, 186, 0.5); -} - -#buddypress div.activity-comments form .ac-textarea textarea { - background: none; - border: 0; -} - -#buddypress .standard-form input[type="text"], -#buddypress .standard-form input[type="email"], -#buddypress .standard-form input[type="password"], -#buddypress .standard-form button, -#buddypress .standard-form select, -#buddypress .standard-form textarea { - border-color: rgba(212, 208, 186, 0.5); - border-width: 1px; -} - -#buddypress #signup_form.standard-form div.submit { - float: none; -} - -#buddypress #signup_form.standard-form div.submit input { - margin-right: 0; -} - -#buddypress div.dir-search, -#buddypress div.message-search, -#buddypress li.groups-members-search { - float: none; - margin: 10px 0; -} - -#buddypress div.dir-search form, -#buddypress div.message-search form, -#buddypress li.groups-members-search form { - border: 1px solid rgba(212, 208, 186, 0.6); - overflow: hidden; -} - -#buddypress div.dir-search form label, -#buddypress div.message-search form label, -#buddypress li.groups-members-search form label { - float: left; - width: 70%; -} - -#buddypress div.dir-search form input[type="text"], -#buddypress div.dir-search form input[type="submit"], -#buddypress div.message-search form input[type="text"], -#buddypress div.message-search form input[type="submit"], -#buddypress li.groups-members-search form input[type="text"], -#buddypress li.groups-members-search form input[type="submit"] { - font-size: 14px; - font-size: 1rem; - border: 0; - border-radius: 0; - line-height: 1.8; - min-height: 2rem; -} - -#buddypress div.dir-search form input[type="text"], -#buddypress div.message-search form input[type="text"], -#buddypress li.groups-members-search form input[type="text"] { - border-right: 1px solid rgba(212, 208, 186, 0.6); - float: left; - margin: 0; - padding: 0 0.2em; - width: 100%; -} - -#buddypress div.dir-search form input[type="submit"], -#buddypress div.message-search form input[type="submit"], -#buddypress li.groups-members-search form input[type="submit"] { - float: right; - font-weight: 400; - padding: 0 1em; - text-align: center; - text-transform: none; - width: 30%; -} - -@media screen and (min-width: 37.5em) { - #buddypress div.dir-search, - #buddypress div.message-search, - #buddypress li.groups-members-search { - float: right; - margin-bottom: 5px !important; - } - #buddypress div.dir-search form label, - #buddypress div.dir-search form input[type="text"], - #buddypress div.dir-search form input[type="submit"], - #buddypress div.message-search form label, - #buddypress div.message-search form input[type="text"], - #buddypress div.message-search form input[type="submit"], - #buddypress li.groups-members-search form label, - #buddypress li.groups-members-search form input[type="text"], - #buddypress li.groups-members-search form input[type="submit"] { - width: auto; - } -} - -@media screen and (min-width: 75em) { - #buddypress .dir-search form input[type="text"], - #buddypress .message-search form input[type="text"] { - font-size: 16px; - font-size: 1.1428571429rem; - } - #buddypress .dir-search form input[type="submit"], - #buddypress .message-search form input[type="submit"] { - font-size: 16px; - font-size: 1.1428571429rem; - } -} - -/** -*------------------------------------------------------------------------------- -* @section 8.0 - Tables - General -*------------------------------------------------------------------------------- -*/ -.bp-user #buddypress table { - font-size: 14px; - font-size: 1rem; - margin: 24px 0; -} - -.bp-user #buddypress table tr th { - background: #6f6e6e; - border-color: #b7b7b7; - color: #fff; - padding: 0 8px; -} - -.bp-user #buddypress table tr td { - padding: 8px; -} - -.bp-user #buddypress table p { - margin-bottom: 0.5em; -} - -@media screen and (min-width: 55em) { - .bp-user #buddypress table { - font-size: 16px; - font-size: 1.1428571429rem; - } -} - -.bp-user #buddypress .notifications th, -.bp-user #buddypress .messages-notices th { - width: 30%; -} - -.bp-user #buddypress .notifications th.bulk-select-all, -.bp-user #buddypress .messages-notices th.bulk-select-all { - text-align: center; - width: 10%; -} - -.bp-user #buddypress .notifications th.actions, -.bp-user #buddypress .messages-notices th.actions { - text-align: center; -} - -.bp-user #buddypress .notifications .bulk-select-check, -.bp-user #buddypress .notifications .thread-star, -.bp-user #buddypress .messages-notices .bulk-select-check, -.bp-user #buddypress .messages-notices .thread-star { - text-align: center; -} - -.bp-user #buddypress .notifications .notification-actions, -.bp-user #buddypress .notifications td.thread-options, -.bp-user #buddypress .messages-notices .notification-actions, -.bp-user #buddypress .messages-notices td.thread-options { - text-align: center; -} - -.bp-user #buddypress .notifications .notification-actions a, -.bp-user #buddypress .notifications td.thread-options a, -.bp-user #buddypress .messages-notices .notification-actions a, -.bp-user #buddypress .messages-notices td.thread-options a { - display: inline-block; - margin: 0; - padding: 0; -} - -.bp-user #buddypress .notifications td .button, -.bp-user #buddypress .messages-notices td .button { - border: 0; - display: block; - padding: 0; - text-align: center; -} - -/** -*------------------------------------------------------------------------------- -* @section 9.0 - Error / Success messages -*------------------------------------------------------------------------------- -*/ -#buddypress div#message p { - font-size: 18px; - font-size: 1.2857142857rem; - font-weight: 700; -} - -#buddypress div#message.info p { - background: #c6e4ee; - border: 1px solid #78bed6; - color: #1e5264; -} - -#buddypress div#message.updated p { - background: #dee6b2; - border: 1px solid #becc66; - color: #454d19; -} - -.delete-group #buddypress div#message.info p { - background: #db7e7e; - border: 1px solid #be3535; - color: #1f0808; -} - -/** -*------------------------------------------------------------------------------- -* @section 10.0 - Ajax Loading, Widgets, General classes -*------------------------------------------------------------------------------- -*/ diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/058/058.test.js b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/058/058.test.js deleted file mode 100644 index e877e0ac860016..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/058/058.test.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -const stylelint = require( 'stylelint' ), - systemTestUtils = require( '../systemTestUtils.js' ); - -it( '058', () => { - return stylelint.lint({ - files: [systemTestUtils.caseStylesheetGlob( '058' )], - configFile: systemTestUtils.caseConfig( '058' ), - }).then( ({ results }) => { - expect( systemTestUtils.prepResults( results ) ).toMatchSnapshot(); - }); -}); diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/058/__snapshots__/058.test.js.snap b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/058/__snapshots__/058.test.js.snap deleted file mode 100644 index 60323f99ad77a3..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/058/__snapshots__/058.test.js.snap +++ /dev/null @@ -1,15 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`058 1`] = ` -Array [ - Object { - "deprecations": Array [], - "errored": undefined, - "ignored": undefined, - "invalidOptionWarnings": Array [], - "parseErrors": Array [], - "source": "058/stylesheet.css", - "warnings": Array [], - }, -] -`; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/058/config.json b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/058/config.json deleted file mode 100644 index a8af7d5dcb61b9..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/058/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../index.js" -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/058/stylesheet.css b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/058/stylesheet.css deleted file mode 100644 index 1800ef43f6acc7..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/058/stylesheet.css +++ /dev/null @@ -1,419 +0,0 @@ -/* Profile field group main admin page */ -@-o-keyframes tab-throb { - - from { - box-shadow: 0 0 10px #1e8cbe; - } - - 50% { - box-shadow: 0 0 0 #1e8cbe; - } - - to { - box-shadow: 0 0 10px #1e8cbe; - } -} - -@-webkit-keyframes tab-throb { - - from { - box-shadow: 0 0 10px #1e8cbe; - } - - 50% { - box-shadow: 0 0 0 #1e8cbe; - } - - to { - box-shadow: 0 0 10px #1e8cbe; - } -} - -@-moz-keyframes tab-throb { - - from { - box-shadow: 0 0 10px #1e8cbe; - } - - 50% { - box-shadow: 0 0 0 #1e8cbe; - } - - to { - box-shadow: 0 0 10px #1e8cbe; - } -} - -#profile-field-form { - margin-top: 12px; -} - -#tabs { - position: relative; -} - -p.nofields { - margin: 20px 0 0; -} - -/* Field group tabs */ -ul#field-group-tabs { - float: left; - padding: 0 0 0 15px; - margin: 0; - display: none; -} - -ul#field-group-tabs li { - float: left; - margin-right: 8px; - margin-bottom: -1px; -} - -ul#field-group-tabs li.ui-state-hover a.ui-tab { - color: #d54e21; -} - -ul#field-group-tabs li.ui-state-acceptable:not(.ui-state-active) a.ui-tab { - -webkit-animation: tab-throb 2s infinite; - -moz-animation: tab-throb 2s infinite; - -o-animation: tab-throb 2s infinite; - animation: tab-throb 2s infinite; -} - -ul#field-group-tabs li.drop-candidate.ui-state-acceptable:not(.ui-state-active) a.ui-tab { - -webkit-box-shadow: 0 0 10px #0f0; - -moz-box-shadow: 0 0 10px #0f0; - -o-box-shadow: 0 0 10px #0f0; - box-shadow: 0 0 10px #0f0; - -webkit-animation: none; - -moz-animation: none; - -o-animation: none; - animation: none; - color: #000; -} - -ul#field-group-tabs li a.ui-tab { - font-size: 14px; - display: block; - margin-top: 3px; - padding: 5px 10px 6px; - border: 1px solid #e5e5e5; - background-color: #f5f5f5; - text-decoration: none; - color: #000; - outline: none; -} - -/* Selected tab */ -ul#field-group-tabs li.ui-state-active a.ui-tab { - background-color: #fff; - margin-top: 0; - padding: 7px 10px; - border-bottom: 1px solid transparent; - color: #000; -} - -/* Toolbar */ -.tab-toolbar { - clear: left; - background: #fff; - border-width: 1px; - border-color: #e5e5e5; - border-style: solid; - -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); - box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); - padding: 10px; - margin-bottom: 10px; -} - -.bp-option a.delete, -.field-wrapper a.deletion, -.tab-toolbar a.deletion { - color: #a00; - border-bottom: 1px solid #a00; - text-decoration: none; - padding: 0; -} - -div.delete-button { - float: right; - line-height: 28px; -} - -div.field-group { - clear: left; -} - -.field-group { - cursor: default; - border: 1px solid #e5e5e5; - background: #fff; - -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); - box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); - margin-top: 10px; - padding: 0 20px 20px; -} - -.field-group .xprofile-field { - position: relative; -} - -.field-group fieldset { - position: relative; - border: 1px solid #ddd; - margin: 20px 0 0; - cursor: move; - background: #fafafa; - padding: 10px 0 0; -} - -.field-group fieldset legend { - position: absolute; - top: 10px; - left: 10px; - padding: 0; -} - -fieldset.radio div div label, -fieldset.checkbox div label { - margin-right: 20px; -} - -fieldset.clear-value { - margin-left: 10px; -} - -fieldset div.field-wrapper { - padding: 25px 10px 10px; -} - -.field-group div.actions { - float: none; - border-top: 1px solid #ddd; - margin: 10px 0 0; - padding-top: 10px; -} - -.field-group div.actions a, -.field-group div.actions button, -.field-group div.actions input { - float: none; -} - -.field-group fieldset:hover { - border-color: #999; -} - -.field-group fieldset:hover div.actions { - display: block; -} - -.bp-options-box .ui-sortable-placeholder, -#field-group-tabs .ui-sortable-placeholder, -.field-group fieldset.ui-sortable-placeholder { - border: 1px dashed #999; - background-color: #fff; - visibility: visible !important; -} - -#field-group-tabs .ui-sortable-placeholder { - background: transparent; - border-bottom: none; - margin: -1px 6px -1px 0; -} - -ul.forTab { - list-style: none; - padding: 0; - margin: 0 0 0 1em; -} - -ul.forTab li { - margin: 0 0 1em; -} - -ul.forTab li label { - display: block; -} - -ul.forTab li input { - font-size: 1.4em; -} - -p.success { - background: #0f0; -} - -p.err { - border-top: 2px solid #f00; - border-bottom: 2px solid #f00; - color: #f00; - padding: 5px 0; - width: 40%; -} - -span.desc, -span.signup-description { - display: block; - font-size: 11px; - color: #555; -} - -ul.multi-checkbox { - margin: 0 5px 0 0; - padding: 0.5em 0.9em; - height: 10em; - overflow: auto; - list-style: none; - border: solid 1px #ccc; - width: 90%; -} - -ul.multi-checkbox li { - padding: 0; - margin: 0; -} - -div.bp-option { - background: #fafafa; - border: 1px solid #dfdfdf; - margin: 10px 0; - padding: 10px 5px; -} - -div.bp-option:hover { - border: 1px solid #999; -} - -.bp-option-icon { - font: 400 20px/1 dashicons; - speak: none; - display: inline-block; - padding: 0 0 0 2px; - top: 5px; - position: relative; - vertical-align: top; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - text-decoration: none !important; - color: #888; -} - -div.bp-option .grabber:before { - content: "\f329"; -} - -th a { - background: #fff; - padding: 2px 5px; - top: -2px; -} - -textarea#description, -textarea#group_description { - border: 1px solid #ddd; - width: 100%; -} - -#bp-xprofile-add-field .titlewrap, -#bp-xprofile-add-field-group .titlewrap { - margin-bottom: 20px; -} - -#bp-xprofile-add-field #post-body-content { - margin-bottom: 0; -} - -span.member-type-none-notice, -p.member-type-none-notice { - color: #f00; -} - -.hide { - display: none; - visibility: hidden; -} - -/* xProfile Field Type - Date */ - -.form-table.bp-date-options { - margin: 0 8px; -} - -.form-table.bp-date-options th { - width: 150px; -} - -.form-table td .date-format-section select { - margin-top: -2px; -} - -.date-format-label { - display: inline-block; - width: 150px; -} - -.date-format-custom-value, -.date-range-numeric { - width: 56px; -} - -.bp-date-range-type-label { - float: left; - font-style: italic; - width: auto; -} - -.bp-date-range-type-values { - margin-right: 25px; - padding-left: 100px; -} - -#bp-xprofile-add-field select#fieldtype { - max-width: 100%; - word-wrap: break-word; - word-break: break-all; /* e.g. Chinese, Japanese, Korean chars */ -} - -@media screen and (max-width: 782px) { - - .bp-date-formats .bp-date-format-option:first-of-type { - margin-top: 1em; - } - - .bp-range-types .bp-date-format-option { - margin-bottom: 1em; - margin-top: 1em; - } - - .form-table td input.date-format-custom-value, - .form-table td input.date-range-numeric { - display: inline-block; - margin-right: 10px; - width: 56px; - } - - .form-table td .bp-date-range-type-values select { - display: inline-block; - width: auto; - } - - .bp-date-range-type-label { - float: none; - width: auto; - } - - .bp-date-range-type-values { - padding-left: 0; - margin-left: 35px; - } -} - -@media screen and (max-width: 480px) { - - .form-table .bp-range-types label { - clear: both; - display: block; - } -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/059/059.test.js b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/059/059.test.js deleted file mode 100644 index b1a60ee4dfedb7..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/059/059.test.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -const stylelint = require( 'stylelint' ), - systemTestUtils = require( '../systemTestUtils.js' ); - -it( '059', () => { - return stylelint.lint({ - files: [systemTestUtils.caseStylesheetGlob( '059' )], - configFile: systemTestUtils.caseConfig( '059' ), - }).then( ({ results }) => { - expect( systemTestUtils.prepResults( results ) ).toMatchSnapshot(); - }); -}); diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/059/__snapshots__/059.test.js.snap b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/059/__snapshots__/059.test.js.snap deleted file mode 100644 index dceda267a82fcf..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/059/__snapshots__/059.test.js.snap +++ /dev/null @@ -1,15 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`059 1`] = ` -Array [ - Object { - "deprecations": Array [], - "errored": undefined, - "ignored": undefined, - "invalidOptionWarnings": Array [], - "parseErrors": Array [], - "source": "059/stylesheet.scss", - "warnings": Array [], - }, -] -`; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/059/config.json b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/059/config.json deleted file mode 100644 index b3a2db66c84f1a..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/059/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../scss.js" -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/059/stylesheet.scss b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/059/stylesheet.scss deleted file mode 100644 index a180556456c0cf..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/059/stylesheet.scss +++ /dev/null @@ -1,2725 +0,0 @@ - -// Stylesheet Guidence Notes -// Table of content represents a guide to sections of the sheet. -// Note that not all sections may be described in the body of the -// rulesets only those that require styles for a given theme. -// Sub sections might not exist but can be added as required -// as per BP Lists - 'activity' section. - -// We follow the dictats of the parent theme in respect of media queries, -// font sizing etc. Media queries are used in a modular sense (OOCSS) -// rather than described as blocks to the end of the sheet, this aids ease -// of managing media queries, scalability & flexibility . - -// 2010 Media Queries / Breakpoints. -// 2010 is a fixed layout with no fluid elements. -// We will provide some simple breakpoints to manage BP elements -// on a limited basis. - - -// Mixins and Variables - -// simplify remembering/writing media queries -// written as: -// @include medium-up { -// body {property: value;} -// } - -// BP min/max width mixins - -// As layout is fixed width 'device' is needed to tell phones to work with -// breakpoints provided is a 'up to' max-width and min-width as device widths -// for mobiles This is not a perfect solution but provides a degree of layout -// contro for BP elements. But not used to any great degree. - -@mixin small-device-up { - - @media only screen and (min-device-width: 375px) { - - @content; - } -} - -@mixin small-device-max { - - @media only screen and (max-device-width: 375px) { - - @content; - } -} - -@mixin medium-device-up { - - @media only screen and (min-device-width: 450px) { - - @content; - } -} - -// min-width 450px -@mixin small-up { - - @media screen and (min-device-width: 450px) { - - @content; - } -} - -// min-width 650px -@mixin medium-up { - - @media screen and (min-width: 650px) { - - @content; - } -} - -// min-width 800px -@mixin large-up { - - @media screen and (min-width: 800px) { - - @content; - } -} - -// Common spacing values -$spacing-val-lg: 50px; -$spacing-val-md: 25px; -$spacing-val-sm: 15px; -$spacing-val-xs: 5px; - -// A simple mixin to handle font-sizing -// 2010 sets a html/body size @ 15px - -@mixin font-size($font-size: 15) { - $rem-font-value: ($font-size / 15); - font-size: ($font-size * 1px); - font-size: $rem-font-value + rem; -} - -// To allow mixins to pass VendorPrefix scss-lint tests we disable lint-test -// for specific blocks / rulesets -// until such time as exemption lists can be built for the scss-lint.yml? -// Any vendor prefix properties / mixins need to be in this block - -// scss-lint:disable VendorPrefix - -// Border border-radius mixins -@mixin border-radius($radius) { - -webkit-border-radius: $radius; - -moz-border-radius: $radius; - -ms-border-radius: $radius; - border-radius: $radius; - background-clip: padding-box; -} - -@mixin border-top-radius($radius) { - -webkit-border-top-right-radius: $radius; - border-top-right-radius: $radius; - -webkit-border-top-left-radius: $radius; - border-top-left-radius: $radius; - background-clip: padding-box; -} - -@mixin border-right-radius($radius) { - -webkit-border-bottom-right-radius: $radius; - border-bottom-right-radius: $radius; - -webkit-border-top-right-radius: $radius; - border-top-right-radius: $radius; - background-clip: padding-box; -} - -@mixin border-bottom-radius($radius) { - -webkit-border-bottom-right-radius: $radius; - border-bottom-right-radius: $radius; - -webkit-border-bottom-left-radius: $radius; - border-bottom-left-radius: $radius; - background-clip: padding-box; -} - -@mixin border-left-radius($radius) { - -webkit-border-bottom-left-radius: $radius; - border-bottom-left-radius: $radius; - -webkit-border-top-left-radius: $radius; - border-top-left-radius: $radius; - background-clip: padding-box; -} - -// Box sizing -@mixin box-model($model-type) { - -webkit-box-sizing: $model-type; - -moz-box-sizing: $model-type; - box-sizing: $model-type; -} - -// Calc -@mixin calc($property, $expression) { - #{$property}: -webkit-calc(#{$expression}); - #{$property}: -moz-calc(#{$expression}); - #{$property}: calc(#{$expression}); -} - -// Re-enable the VendorPrefix lint test -// scss-lint:enable VendorPrefix - -// BP message boxes -@mixin message-box($background, $text-color: null) { - - @if $text-color { - // if a param was passed through - $text-color: $text-color; - } @else { - $text-color: darken($background, 50%); - } - - background: lighten($background, 10%); - border: 1px solid darken($background, 10%); - color: $text-color; -} - -// 2010 font family -@mixin default-font-sans() { - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; -} - -// Variables: color definitions -$body-text: #373737; -$content-background: #fff; -$off-white: lighten(#f9f8ee, 0.7); -$cream-background: #f7f5e7; -$light-background: #f7f7f7; -$medium-background: #ccc; -$dark-background: #555; -$border-color: #d4d0ba; // border color is varied using rgba -$border-light: #eaeaea; // BP dividers -$border-med: #ddd; -$background-hover: #db572f; // 2010 link background hover -$bp-button-hover: #ededed; // this is the default BP button hover background -$notice-error: #c85a6e; -$notice-warning: #d05656; -$notice-info: #9fd1e2; -$notice-update: #ced98c; -$stripe-odd: #ebf0ff; -$stripe-even: #dbe5ff; -$unread: #9dc3c8; -$link-action: #c82b2b; - -/*-------------------------------------------------------------- - -This is the BuddyPress companion stylesheet for -the WordPress Twentyten theme. - -This sheet supports the primary BuddyPress styles in buddypress.css - -If you are running as a child theme of twentyten this stylesheet will be -loaded by default. If you want to modify the styles the normal BP Theme Compat -hierarchy works and you can copy the file to buddypress/css/ or community/css/ -in your child themes root & either start over or modify the rulesets. - -If you do not require the styles you can dequeue them from the themes -functions file. - -Please see this codex article for more information: -http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ - ----------------------------------------------------------------- ->>> TABLE OF CONTENTS: ----------------------------------------------------------------- -1.0 Theme Structural Elements & overrides -2.0 - Navigation - General - 2.1 - Navs - Object Nav / Sub Nav (item-list-tabs) - 2.2 - Pagination -3.0 - Images -4.0 - BP Lists / Loops Generic - 4.1 - Activity Loop - 4.1.1 Whats New Activity - 4.1.2 - Activity Listing - 4.1.3 - Activity Comments - 4.2 - Members Loop - 4.3 - Groups Loop - 4.4 - Blogs Loop -5.0 - Directories - Members, Groups, Blogs, Register, activation -6.0 - Single Item screens: User Account & Single Group Screens - 6.1 - Item Headers: Global - 6.1.1 - item-header: Groups - 6.1.2 - item-header: User Accounts - 6.2 - Item Body: Global - 6.2.1 - item-body: Groups - 6.2.1.1 - Management settings screens - 6.2.1.2 - Group members list - 6.2.2 - item-body: User Accounts - 6.2.2.1 - classes, pag, filters - 6.2.2.2 - Extended Profiles - 6.2.2.3 - Groups - 6.2.2.4 - friends - 6.2.2.5 - Private Messaging Threads - 6.2.2.6 - Settings - 6.2.2.7 - Notifications -7.0 - Forms - General -8.0 - Tables - General -9.0 - Error / Success Messages -10.0 - Ajax Loading, Widgets, General classes ---------------------------------------------------------------*/ - -/** -*------------------------------------------------------------------------------- -* @section 1.0 - Theme - Structural Elements. overrides, Globals -*------------------------------------------------------------------------------- -*/ - -.buddypress { - // Remove any empty clearing elements, CSS provides clearing. - div.clear { - display: none; - } - -} // .buddypress (body class) - - -// Main dir pages: sidebar or not to sidebar -// If no sidebar lets correct some odd layout rules - -body.page-template-onecolumn-page { - - #main { - - #container { - margin: 0; - } - } - - #content { - margin: 0 10%; - width: auto; - - .entry-header, - .entry-content { - width: auto; - } - } -} - - -/** -*------------------------------------------------------------------------------- -* @section 2.0 - Navigation - General -*------------------------------------------------------------------------------- -*/ - - -/** -*---------------------------------------------------------- -* @section 2.1 - Navs Object Nav / Sub Nav (item-list-tabs) -* -* The main navigational elements for all BP screens -*---------------------------------------------------------- -*/ - -// We have a need to override BP specifity -// so some rulesets sets will appear over weighted in selectors - -/* Here we start things off */ -#buddypress { - - // active/current states all navs - div.item-list-tabs { - - ul { - - li.selected, - li.current { - - a { - background: inherit; - opacity: 1; - } - } - } - } - // global nav styles - div.item-list-tabs { - - ul { - overflow: hidden; - padding: 0; - - li { - - a { - - &:focus, - &:hover { - color: #555; - } - // Keep links from inheriting :visited states - &:visited { - color: #21759b; - } - - span { - padding: 0 4px !important; - } - } - - } - } - } // close item-list-tabs - -} // close #buddypress - - -/*__ Horizontal menus __*/ -#buddypress { - - #object-nav { - - ul { - overflow: hidden; - - li { - float: none; - } - - @include medium-up { - - li { - float: left; - } - } - - } - } - - div#subnav.item-list-tabs { - margin-top: 0; - - ul { - border-bottom: 0; - border-top: 1px solid $border-color; - margin-top: $spacing-val-xs; - padding: 0; - - li.last { - background: $content-background; - float: right; - margin-top: 0; - padding: $spacing-val-xs 0 $spacing-val-xs; - text-align: right; - width: 230px; - - select, - select:focus { - background: transparent; - border: 0; - outline: 0; - padding: 0; - } - - select, - label, - option { - - @include font-size(14); - } - - select { - font-style: italic; - - option { - font-style: normal; - } - } - } - - } // close ul - } // close #subnav - -} // close #buddypress - -.bp-user { - - #buddypress { - - div#subnav.item-list-tabs { - - li.last { - margin-left: 0; - text-align: right; - } - } - } -} - -/*__ Vertical menu User Account / Group single screens __*/ - -// This block contains rules to re-factor the item-body structural element -// to sit alongside the vert menu - -@include large-up { - - body.bp-user { - - #buddypress { - - #item-header, - #item-body { - background: $content-background; - } - - #object-nav { - border-right: 1px solid $border-med; - float: left; - margin-right: -1px; - width: 200px; - - ul { - background: none; - border-bottom: 0; - padding: 0; - - li { - float: none; - margin-bottom: 5px; - - a { - overflow: hidden; - } - - &.selected { - background: #ddd; - } - - span { - background: $content-background; - border-radius: 10%; - float: right; - margin-right: 2px; - } - } - } - } - - #item-body { - border-left: 1px solid $border-med; - overflow: hidden; - padding: 0 0 0 $spacing-val-md; - width: auto; - - #subnav { - margin: 0 0 0 (-$spacing-val-md); - - ul { - margin-top: 0; - } - } - } - - } // close #buddypress - } // close body.bp-user -} // close @media - - -// Tabbed Nav styling -// Primarilly used for group create screens & ? directory nav. - -@include small-device-up { - - #main { - - #buddypress { - - #group-create-tabs.item-list-tabs { - - ul:before, - ul:after { - content: " "; - display: table; - } - - ul:after { - clear: both; - } - - ul { - background: none; - border: 0; - border-bottom: 1px solid $border-med; - overflow: visible; - padding-bottom: 0; - - li { - float: left; - width: auto; - } - - li.selected, - li.current { - border: 1px solid $border-med; - border-bottom-color: $content-background; - - @include border-top-radius(4px); - margin-bottom: -1px; - - a { - background: none; - color: $body-text; - outline: none; - } - } - } - - } // close .item-list-tabs - - #subnav { - - ul { - border-bottom: 0; - } - - } // close #subnav - } // close #buddypress - } -} // close @media - -/** -*---------------------------------------------------------- -* @section 2.2 - Pagination -*---------------------------------------------------------- -*/ - -#buddypress { - - div.pagination { - box-shadow: none; - min-height: 0; - - &:before, - &:after { - height: 0; - width: 0; - } - - .pag-count { - margin-left: 0; - } - - .pagination-links { - margin-right: 0; - - span, - a { - height: auto; - line-height: 1; - padding: 5px; - } - - .prev, - .next { - background-color: transparent; - color: inherit; - overflow: visible; - width: auto; - - &:before { - display: none; - } - } - - .prev { - left: auto; - position: static; - } - - .next { - position: static; - right: auto; - } - } // close .pagination-links - } // close .pagination -} // close #buddypress - -/** -*------------------------------------------------------------------------------- -* @section 4.0 - BP Lists / Loops Generic -*------------------------------------------------------------------------------- -*/ - -// Trying to position the action div absolute has bad consequences where -// aditional items are displayed, floating is an alternative that -// allows natural flow expansion. -// This block: -// * Manages li items, Stacks them small screen, floated left at wider screens. -// * Adjusts display of action buttons at small screen mobile up. -// Adjusts Meta items to match 2010 font-family - -#buddypress { - - ul.item-list { - border-top: 0; - - li { - overflow: hidden !important; - - // Undo BP floats to center avatars initially mobile up - .item-avatar { - margin-bottom: $spacing-val-sm; - - @include small-device-up { - margin-bottom: 0; - } - - text-align: center; - - a { - border-bottom: 0; - } - - img.avatar { - display: inline-block; - float: none; - margin-bottom: $spacing-val-sm; - - // small device: move avatars to the left(right) - @include medium-device-up { - display: block; - float: left; - opacity: 1; - } - } - } //close .item-avatar - - .item { - - // counter the BP rule - margin-left: 0; - overflow: hidden; - - .item-meta { - text-align: center; - - @include medium-up { - text-align: left; - } - } - - span.activity { - font-style: italic; - } - - .item-desc { - margin-left: 0; - width: 94%; - } - - .item-title { - - @include font-size(16); - line-height: 1.2; - text-align: center; - - @include small-up { - text-align: left; - } - - width: 100%; - - > a { - text-decoration: none; - - &:visited { - color: #21759b; - } - } - - .update { - display: block; - - @include font-size(12); - - @include medium-up { - - @include font-size(14); - } - - padding: $spacing-val-sm 0; - text-align: left; - } - } // close .item-title - - } // close .item - - @include medium-up { - - .item-avatar, - .item, - .action { - float: left; - } - - .item { - left: 5%; - margin-left: 0; - position: relative; - width: 55%; - - .item-title { - - @include font-size(18); - } - } - - }// close medium-up - - div.action { - clear: left; - float: none; - margin: 0; - // remove BP margin left - margin-left: 0; - padding: $spacing-val-sm 0 $spacing-val-xs; - - // push the actions to the right - @include medium-up { - clear: none; - float: right; - margin-bottom: 0; - padding: 0; - } - - position: relative; - text-align: left; - top: 0; - - div { - display: inline-block; - margin: $spacing-val-xs 0; - width: 100%; - - a { - display: block; - } - // Provisionally lets keep the 'action' div - //position but inline-block the buttons - - @include small-device-up { - // keep buttons to a row small tablet up - margin: 0 $spacing-val-sm 5px 0; - width: auto; - } // close @media - - @include medium-up { - // take buttons to block to stack them when floated right - clear: right; - float: right; - margin: 0 0 $spacing-val-sm 0; - } // close @media - - } // close div - - .meta { - font-style: italic; - } - - } // close .action - - } // close li - } // close .item-list -} // close #buddypress - -/** -*---------------------------------------------------------- -* @section 4.1 - Activity -*---------------------------------------------------------- -*/ - -/** -*----------------------------------------------------- -* @section 4.1.1 - Activity Whats New -*----------------------------------------------------- -*/ - -#buddypress { - - form#whats-new-form { - - // Line-height issue inherited from BP rules, override. - p.activity-greeting { - line-height: 1.4; - } - - // corrective measure for clipped elements due to JS inline styling - - #whats-new-content.active { - - #whats-new-options[style] { - - #whats-new-post-in-box { - border: 1px solid rgba($border-color, 0.5); - float: left; - - @include font-size(12); - line-height: 1.6; - margin-top: 12px; - padding-left: 0.2em; - width: 100%; - - select { - background: none; - border: 0; - float: right; - margin: 0; - max-width: 220px; - min-height: 1.5em; - padding: 0 0 0 0.4em; - } - } - - @media screen and (min-width: 30em) { - - #whats-new-post-in-box { - width: auto; - } - - #whats-new-submit { - - @include font-size(12); - float: right; - - input { - padding: 0 6px; - } - } - } - - } // close #whats-new-options - } // close #whats-new-content.active - - } // close #whats-new-form - - // User account form requires matching bp default specificity - #item-body { - - form#whats-new-form { - margin: $spacing-val-lg 0; - } - } -} // close #buddypress - -/** -*----------------------------------------------------- -* @section 4.1.2 - Activity Listing -*----------------------------------------------------- -*/ - -#buddypress { - - #activity-stream { - - // re-size activity avatars and stack small screen - // refactor main elements positioning medium up. - li { - padding: 25px 0 15px; - - &.load-newest { - - a { - display: block; - } - } - - .activity-avatar { - float: none; - text-align: center; - - a { - display: inline-block; - - img.avatar { - display: inline; - float: none; - height: 60px; - margin-bottom: $spacing-val-md; - margin-left: 0; - width: 60px; - } - } - } // close .activity-avatar - - .activity-content, - .activity-comments { - margin-left: 0; - } - - .activity-header { - - @include font-size(14); - - a:visited { - color: #21759b; - } - } - - .activity-inner { - - img { - height: auto; - } - } - - @include medium-up { - - .activity-avatar { - float: left; - margin-right: $spacing-val-sm; - text-align: left; - - a { - border-bottom: 0; - } - } - - .activity-content { - margin: 0; - overflow: hidden; - - .activity-header { - - @include font-size(16); - } - } - - .activity-comments { - margin-left: 70px; - } - - } // close @media - - } // close li - - li.mini { - - .activity-avatar { - - a { - - img.avatar { - height: 30px; - margin-left: 15px; - width: 30px; - } - } - } - - .activity-content { - - .activity-header { - - @include font-size(14); - } - - .activity-meta { - - a { - - @include font-size(12); - } - } - } - } // close li.mini - - .activity-content { - margin-top: -12px; - - .activity-header { - line-height: inherit; - margin-right: 0; - - p { - border-bottom: 1px solid rgba($border-light, 0.6); - margin-top: 0; - padding: 0 0.2em; - } - - img.avatar { - display: inline-block; - margin-bottom: 0 !important; // have to match to BP - } - } // close .activity-header - - .activity-meta { - - a { - display: block; - - @include font-size(14); - margin-bottom: $spacing-val-xs; - - @include medium-up { - float: left; - margin-bottom: 0; - } - - padding: 0.2em 0.5em; - } - } - - } // close .activity-content - - .load-more { - background: $light-background; - border: 1px solid transparent; - padding: $spacing-val-sm; - - &:focus, - &:hover { - background: darken($light-background, 1%); - border: 1px solid rgba(#9fd1e2, 0.3); - } - - a { - display: block; - } - } - - } // close #activity-stream -} // close #buddypress - -/* Single activity view - activity permalink */ - -.activity-permalink { - - #buddypress { - - #activity-stream { - - li.activity-item { - padding: $spacing-val-md; - } - - li.mini { - - .activity-header { - - @include font-size(16); - - @include medium-up { - - @include font-size(20); - } - - margin-bottom: $spacing-val-lg; - - p { - padding: $spacing-val-md; - } - } - } // close li.mini - - .activity-comments { - margin-left: 0; - } - - } - } -} - -/** -*----------------------------------------------------- -* @section 4.1.3 - Activity Comments -*----------------------------------------------------- -*/ -#buddypress { - - #activity-stream { - - .activity-comments { - position: relative; - - > ul { - background: rgba($light-background, 0.6); - margin: $spacing-val-sm 0 0 2px; - - > li { - - &:hover * { - color: #555; - } - - .acomment-meta, - .acomment-content { - - @include font-size(12); - } - - } - - } - - .ac-form { - border: 1px solid $border-color; - - @include box-model(border-box); - margin: $spacing-val-sm 0; - width: 100%; - - input[type="submit"], - .ac-reply-cancel { - color: rgba($body-text, 0.8); - display: inline-block; - font-family: inherit; - - @include font-size(12); - font-weight: 400; - line-height: 1.2; - padding: 4px 10px; - text-transform: lowercase; - width: 100px; - } - - .ac-reply-cancel { - border: 1px solid rgba($border-color, 0.7); - text-align: center; - - &:focus, - &:hover { - background: $bp-button-hover; - } - } - - } // close .ac-form - - } // close .activity-comments - - } // close #activity-steam - -} // close #buddypress - -/** -*---------------------------------------------------------- -* @section 4.2 - Members Loop -*---------------------------------------------------------- -*/ - -#buddypress { - - #members-list { - - @include medium-up { - - li { - - .item-avatar, - .item { - float: left; - } - - .action { - float: right; - } - } - } - - } // close #members-list -} //close #BuddyPress - -/** -*------------------------------------------------------------------------------- -* @section 5.0 - Directories -*------------------------------------------------------------------------------- -*/ - -/** -*----------------------------------------------------------- -* @subsection Registration -*----------------------------------------------------------- -*/ - -#buddypress { - - #signup_form.standard-form { - - #profile-details-section, - #basic-details-section, - #blog-details-section { - float: none; - width: 100%; - - @media screen and (min-width: 37.5em) { - width: 48%; - } - } - - @media screen and (min-width: 37.5em) { - - #profile-details-section { - float: right; - } - - #basic-details-section { - float: left; - } - } - - } -} - -/** -*------------------------------------------------------------------------------- -* @section 6.0 - Single Item screens: User Account & Single Group Screens -*------------------------------------------------------------------------------- -*/ - -.bp-user { - - #buddypress { - // On object nav links, table links (notifications etc) we don't - // really need :visited inheritance, so set pseudo class to :link color. - a { - - &:visited { - color: #21759b; - } - } - } -} - -/** -*----------------------------------------------------------- -* @subsection 6.1 - Item Header Global -*----------------------------------------------------------- -*/ - -.bp-user, -.single-item.groups { - - #buddypress { - - #item-header-content { - - #item-meta { - - @include font-size(14); - text-align: left; - - p { - margin-bottom: 0.5em; - } - } - } - } - - @media screen and (max-width: 37.5em) { - - h1, - #item-header-content { - text-align: center; - } - } - - @media screen and (max-width: 46.25em) { - - main { - - header.entry-header { - padding-bottom: 1rem; - } - } - } - - #buddypress { - - @media screen and (max-width: 37.5em) { - - h1 { - margin-bottom: 0; - } - - #item-header-avatar { - - img.avatar { - margin-right: 0; - } - } - - #item-header-content { - width: 100%; - - .user-nicename { - color: #555; - } - } - } // close @media - - @media screen and (max-width: 46.25em) { - - #item-header { - - .generic-button { - float: none; - margin: 1.5em 0 0; - } - } - } - } // close #buddypress - -} - -/** -*----------------------------------------------------- -* @subsection 6.1.1 - item-header Groups -* -* Group Specific Item Header -*----------------------------------------------------- -*/ - -.single-item.groups { - - #buddypress { - - @media screen and (max-width: 46.25em) { - - #item-header { - - #item-meta { - margin-bottom: $spacing-val-md; - } - } - } - - // Move visual flow of avatar & item-actions at narrow width, - // avatar first after group title - @media screen and (max-width: 50em) { - - div#item-header { - display: flex; - flex-direction: column; - - #item-header-avatar { - order: 1; - text-align: center; - - a { - border-bottom: 0; - - img { - display: inline-block; - float: none; - } - } - } - - #item-header-content { - order: 2; - } - - #item-actions { - order: 3; - - h2 { - border-bottom: 1px solid $border-light; - text-align: center; - } - } - } - } // close @media - - div#item-header { - padding-bottom: $spacing-val-lg; - - #item-header-content { - - @include box-model(border-box); - } - - div#item-actions { - margin: 0 !important; - width: 100%; - - @media screen and (min-width: 50em) { - border-left: 1px solid $border-light; - clear: none; - float: right; - padding-left: 0.2em; - width: 30%; - } // close @media - - @media screen and (min-width: 46.25em) { - width: 40%; - } - - ul { - margin-top: 0; - padding-left: 0; - } - - h2 { - - @include font-size(14); - font-weight: 700; - line-height: 1.4; - } - - #group-admins, - #group-mods { - - li { - margin: 0; - } - } - - } // close item-actions - - @include medium-up { - - #item-header-avatar, - #item-header-content { - float: left; - } - - #item-header-content { - margin-left: 2%; - padding: 0 0.5em; - } - - div#item-actions { - float: right; - width: 28%; - } - - } // close @media - - @media screen and (min-width: 64em) { - - #item-header-content { - width: 40%; - } - } - } // close #item-header - } // close #buddypress - - // These rules handle the specific instance of Cover Images on single groups - // activated & attempt to address positioning concerns arising from themes - // breakpoints. - // Due to cover image styles being applied via embedded styles & thus carrying - // heavier weight than linked styles the use of !important to - // override may be required. - #buddypress { - - #cover-image-container { - - #item-header-cover-image { - - #item-actions { - margin-top: 225px !important; - } - - @media screen and (min-width: 50em) and (max-width: 60em) { - - #item-header-content { - max-width: 60% !important; - width: 60% !important; - } - } - - @media screen and (max-width: 64em) { - - #item-actions { - border: 0; - clear: both; - margin-top: 0 !important; - max-width: 100% !important; - padding-top: 0 !important; - width: auto; - - h2 { - border-bottom: 1px solid $border-light; - } - } - } // @media - } - } - } - -} // close .single-item.groups - -/** -*----------------------------------------------------- -* @subsection 6.1.2 - Item Header User Accounts -* -* User Accounts Specific Item Header -*----------------------------------------------------- -*/ - -.bp-user { - - #buddypress { - - #item-header { - - #item-header-avatar { - text-align: center; - - img.avatar, - a { - border-bottom: 0; - display: inline-block; - float: none; - } - } - - #item-header-cover-image { - - .user-nicename { - color: inherit; - text-shadow: none; - - @include large-up { - color: #fff; - text-shadow: 0 0 3px rgba(0, 0, 0, 0.8); - } - } - } - - #item-header-content { - - #item-buttons { - - .generic-button { - margin-right: 5px; - } - } - } - - @include medium-up { - - #item-header-avatar { - float: left; - - a { - float: left; - } - } - - #item-header-content { - float: right; - margin-right: 0%; - width: 69%; - } - - } // close @media - - } // close #item-header - - } // close #buddypress -} // close .bp-user - -/** -*----------------------------------------------------------- -* @subsection 6.2 - Item Body: Global -*----------------------------------------------------------- -*/ - -/** -*---------------------------------------------------- -* @subsection 6.2.1 - Item Body Groups -* -* Groups specific item body rules - screens -*---------------------------------------------------- -*/ - -/** -*----------------------------------------- -* @subsection 6.2.1.1 - Group Management -*----------------------------------------- -*/ - -// headings settings screens & general global settings styles -.groups { - - #group-settings-form { - - h3 { - background: $dark-background; - color: $content-background; - padding: 0.2em; - } - } -} - -.groups.edit-details { - - #group-settings-form { - - label { - margin-bottom: 0; - padding: 0.2em; - width: 80%; - } - - textarea + p label { - background: none; - color: inherit; - - @include font-size(14); - width: auto; - } - - textarea { - height: auto; - min-height: 100px; - overflow: auto; - } - } -} // close .groups.edit-details - -.groups.group-settings { - - #group-settings-form { - - div.radio label { - font-weight: 700; - padding: 0.2em; - - ul { - color: rgba($body-text, 0.6); - - @include font-size(14); - } - } - - } -} // close .groups.group-settings - -.groups.group-avatar { - - form > p { - margin-top: $spacing-val-md; - } - -} - -.groups.manage-members { - - #group-settings-form { - - .item-list { - - li { - border-bottom: 1px solid $border-light; - - img, - h5 { - - @include medium-up { - float: left; - } - - > a { - border-bottom: 0; - } - } - - span.small { - clear: left; - display: block; - float: none; - margin-top: $spacing-val-sm; - width: 100%; - - a { - display: block; - margin: $spacing-val-xs 0; - - @include medium-up { - display: inline-block; - } - } - } - - h5 { - margin: 0; - } - - } - } - } -} // close .groups.manage-members - -/** -*----------------------------------------- -* @subsection 6.2.1.2 - Group members -*----------------------------------------- -*/ - -// Massage the members search for groups nav specifically. -.groups.group-members { - - #subnav { - - li { - width: 100%; - - #search-members-form { - float: right; - margin: $spacing-val-xs 0 0 0; - - label { - - input[type="text"] { - box-shadow: none; - } - } - } - } - } -} - -/** -*----------------------------------------------------- -* @subsection 6.2.2 - Item Body User Accounts -* -* User Account specific component item body rules -*----------------------------------------------------- -*/ - -/** -*-------------------------------------------- -* @subsection 6.2.2.1 - classes, pag, filters -*-------------------------------------------- -*/ -.bp-user { - - #buddypress { - - table { - - th { - - @include font-size(13); - } - - td { - - @include font-size(12); - } - - @include medium-up { - - th { - - @include font-size(16); - } - - td { - - @include font-size(14); - } - } - } - - .pag-count { - font-style: italic; - } - - .notifications-options-nav, - .messages-options-nav { - float: left; - width: 100%; - - @media screen and (min-width: 37.5em) { - width: 60%; - } - - select, - input { - - @include font-size(14); - outline: 0; - padding: 0; - } - - select { - float: left; - margin-right: 0; - width: 49%; - - @media screen and (min-width: 37.5em) { - width: auto; - } - } - - input { - float: left; - font-family: inherit; - line-height: 20px; - margin-left: 1%; - width: 50%; - - @media screen and (min-width: 37.5em) { - width: auto; - } - - &[disabled="disabled"]:focus, - &[disabled="disabled"]:hover { - background: none; - } - } - - } // close .notifications-options-nav/messages-options-nav - - } //close #buddypress -} // close .bp-user - -/** - *------------------------------------------- - * @subsection 6.2.2.2 - Extended Profiles - *------------------------------------------- - */ - -.bp-user { - - #buddypress { - - .profile { - - .bp-widget { - - h2 { - background: lighten($dark-background, 10%); - color: #fff; - margin-bottom: 0; - padding: 0.4em; - } - - table { - margin-top: 0; - } - } - - // Edit profile - - #profile-edit-form { - - .button-nav:before, - .button-nav:after { - content: " "; - display: table; - } - - .button-nav:after { - clear: both; - } - - ul.button-nav { - border-bottom: 1px solid $border-light; - margin-left: 0; - - li { - float: left; - margin-bottom: 0; - - &.current { - border: 1px solid $border-light; - border-bottom-color: #fff; - margin-bottom: -1px; - } - } // li - - a { - background: none; - border: 0; - - @include font-size(18); - } - } //.button-nav - - .field-visibility-settings-toggle { - margin: $spacing-val-xs 0 $spacing-val-md; - } - - .field-visibility-settings-toggle, - .field-visibility-settings { - - @include font-size(14); - } - - .field-visibility-settings-close, - .visibility-toggle-link { - background: lighten($dark-background, 10%); - - @include border-radius(2px); - color: #eee; - font-weight: 700; - padding: 0.1em 0.5em; - text-decoration: none; - - &:focus, - &:hover { - color: #fff; - } - } - } // close profile form - - .bp-avatar { - - #bp-delete-avatar { - - a { - font-size: inherit; - } - } - } - } // close .profile - - } // close #buddypress -} // close .bp-user - - -/** - *------------------------------------------- - * @subsection 6.2.2.5 - Private Messaging - *------------------------------------------- - */ - -.bp-user { - - #buddypress { - - #message-thread { - //Single message view - a { - border-bottom: 0; - } - - #message-subject { - background: lighten($dark-background, 10%); - color: $content-background; - padding: 0.3em 0 0.3em 0.2em; - } - - #message-recipients { - font-style: italic; - - a.confirm { - border: 1px solid $border-light; - font-style: normal; - } - - .highlight { - font-size: 100%; - } - } - - .message-metadata { - - &:after { - clear: both; - content: ""; - display: table; - } - - img.avatar { - float: none; - } - - @media screen and (min-width: 46.25em) { - - img.avatar { - float: left; - } - } - - .message-star-actions { - float: right; - margin-right: $spacing-val-xs; - position: static; - } - } // close .message-meta - - .message-content { - background: $light-background; - border: 1px solid $border-light; - margin: $spacing-val-sm 0 0 0; - padding: 0.3em; - } - - #send-reply { - - .message-content { - background: $content-background; - border: 0; - } - } - - .alt { - background: $content-background; - } - - } // close message-thread Singular view! - - #message-threads { - - thead { - - tr { - background: lighten($dark-background, 10%); - } - } - - tr { - - td { - background: $content-background; - - @include box-model(border-box); - display: inline-block; - float: left; - } - - td.thread-star, - td.thread-options { - border-bottom: 1px solid $medium-background; - height: 2.4em; - padding-bottom: 0.2em; - padding-top: 0.2em; - - @media screen and (max-width: 46.25em) { - padding-top: 0; - } - } - - td.thread-star { - vertical-align: middle; - - .message-action-star, - .message-action-unstar { - line-height: 1.2; - } - - span.icon:before { - - @include font-size(14); - } - } - - td.bulk-select-check, - td.thread-from { - height: 3em; - - @media screen and (max-width: 37.5em) { - height: 5.2em; - } - } - - td.thread-from, - td.thread-options { - border-left: 0 !important; - - @include calc(width, "100% - 30px"); - margin-left: 0; - } - - td.thread-info { - padding-left: 41px; - width: 100%; - } - - td.thread-options { - text-align: right; - - a { - - @include font-size(12); - line-height: 1.2; - } - } - - span.from { - display: none; - } - - span.activity { - display: block; - float: right; - line-height: 2; - - @media screen and (max-width: 37.5em) { - clear: both; - - @include font-size(11); - width: 100%; - } - } - } - - tr.unread { - - td { - border-color: $border-light; - } - } - - th { - display: none; - } - - th.bulk-select-all { - border-bottom: 0; - display: inline-block; - text-align: left; - } - - th.bulk-select-all, - td.bulk-select-check, - td.thread-star { - border-right: 0; - width: 30px; - } - } - - #send_message_form { - - input, - textarea { - - @include box-model(border-box); - } - } - - .acfb-holder { - list-style: none; - - li { - margin-left: 0; - } - - li.friend-tab { - background: lighten($notice-info, 20%); - border: inherit; - margin-right: 0; - padding: 0.5em; - - span.p { - // the 'X' close - padding-left: $spacing-val-sm; - - &:focus, - &:hover { - color: $link-action; - cursor: pointer; - } - } - - a { - border-bottom: 0; - text-decoration: none; - - img { - // this is the tiny user avatar - display: inline; - height: 20px; - vertical-align: middle; - width: 20px !important; // override inline style - } - } - } - } - - #message-threads.sitewide-notices { - - tr { - margin: 3em 0; - } - - td { - width: 100%; - - strong { - background: lighten($dark-background, 10%); - color: $content-background; - display: block; - margin-bottom: 0.4em; - padding-left: 0.2em; - } - - a { - display: inline-block; - } - - a.button { - border: 1px solid $border-color; - line-height: initial; - padding: 0.4em 0.3em; - } - } - - td:first-child { - display: none; - } - - td:nth-child(2) { - - strong { - margin: -8px -8px 8px; - } - } - - td:first-child + td + td { - // notice date - border-bottom: 0; - - span { - line-height: 1; - } - } - - td:last-child { - // notice actions - line-height: 1; - padding-bottom: 1em; - text-align: right; - - a:last-child { - // hide the 'x' text - line-height: 0; - margin-left: 0.7em; - text-indent: -999em; - } - - a:last-child:after { - content: attr(title); - display: block; - line-height: initial; - text-indent: 0; - } - } - } - - } // #buddypress - - // acfb auto complete name list sits in doc footer before body close - .ac_results { - background: #eee; - padding-left: $spacing-val-sm; - - li { - margin: $spacing-val-sm 0; - - &:focus, - &:hover { - cursor: pointer; - } - - img { - vertical-align: bottom; - } - - } - } - -} // close .bp-user - -/** - *------------------------------ - * @subsection 6.2.2.6 - Settings - *------------------------------ - */ - -.bp-user { - - #buddypress { - - #settings-form { - - // 'p' = email notification screen sub heading - > p { - - @include font-size(20); - margin: $spacing-val-md 0 $spacing-val-sm; - } - } - - table.notification-settings { - - td.yes, - td.no { - vertical-align: middle; - } - } - - // Profile table td widths - table.profile-settings { - width: 100%; - - th.field-group-name, - td.field-name { - width: 50%; - } - - @media screen and (min-width: 46.25em) { - - th.field-group-name, - td.field-name { - width: 70%; - } - } - - th.title, - td.field-visibility { - width: 30%; - } - - td.field-visibility { - - select { - width: 100%; - } - } - } - - } // close #buddyPress - -} // close .bp-user - -/** - *------------------------------------ - * @subsection 6.2.2.6 - Notifications - *------------------------------------ - */ - - -/** -*------------------------------------------------------------------------------- -* @section 7.0 - Forms - General -*------------------------------------------------------------------------------- -*/ - -// Attempt to reset form control widths -#main { - - #buddypress { - - .standard-form { - - li { - float: none; - } - - input[type="text"], - input[type="email"], - input[type="password"], - textarea { - border-width: 1px; - box-shadow: none; - - @include box-model(border-box); - width: 100%; - } - } - } -} - - -#buddypress { - - // Match BP form elements to Themes(2012) styling where styles - // are not inherited or being overriden. - div.activity-comments { - - form { - - .ac-textarea { - background: $light-background; - border: 1px solid rgba($border-color, 0.5); - - textarea { - background: none; - border: 0; - } - } - } - } - - .standard-form { - - // Keep BP form element borders to 1px rather than 2013 2px - input[type="text"], - input[type="email"], - input[type="password"], - button, - select, - textarea { - border-color: rgba($border-color, 0.5); - border-width: 1px; - } - - } // close .standard-form - - #signup_form.standard-form { - - div.submit { - float: none; - - input { - margin-right: 0; - } - } - } - -} // close #buddypress - -#buddypress { - - div.dir-search, - div.message-search, - li.groups-members-search { - float: none; - margin: $spacing-val-sm 0; - - form { // *sigh* only to bludgeon over specified rules - border: 1px solid rgba($border-color, 0.6); - overflow: hidden; - - label { - float: left; - width: 70%; - } - - input[type="text"], - input[type="submit"] { - border: 0; - border-radius: 0; - box-shadow: none; - - @include box-model(border-box); - @include font-size(14); - line-height: 1.8; - margin: 0; - min-height: 2rem; - } - - input[type="text"] { - border-right: 1px solid rgba($border-color, 0.6); - float: left; - margin: 0; - padding: 0 0.2em; - width: 70%; - } - - input[type="submit"] { - float: right; - font-weight: 400; - padding: 0 1em; - text-align: center; - text-transform: none; - width: 30%; - } - } // close form - - } // close .dir-search, .message-search - - // Shift the search parent to the right and allow to shrinkwrap - - @include small-up { - - div.dir-search, - div.message-search, - li.groups-members-search { - float: right; - margin-bottom: 5px !important; - - form { - - label, - input[type="text"], - input[type="submit"] { - width: auto; - } - } - } - - } // close @media - - @include large-up { - - .dir-search, - .message-search { - - form { - - input[type="text"] { - - @include font-size(16); - } - - input[type="submit"] { - - @include font-size(16); - } - } - } - } - -} // close #buddypress - -/** -*------------------------------------------------------------------------------- -* @section 8.0 - Tables - General -*------------------------------------------------------------------------------- -*/ -.bp-user { - - #buddypress { - - table { - - @include font-size(14); - margin: $spacing-val-md 0; - - // 2010 adds huge bottom margin to input controls, - // unwanted in the table paradigm - input { - margin: 0; - } - - tr th { - background: lighten($dark-background, 10%); - border-color: darken($border-light, 20%); - color: $content-background; - - @include font-size(16); - padding: 4px 8px; - text-transform: capitalize; - } - - tr td { - padding: 8px; - } - - // Reduce the themes inherited paragraph margins in tables - p { - margin-bottom: 0.5em; - } - } - - @media screen and (min-width: 55em) { - - table { - - @include font-size(16); - } - } - - // Manage some table cells widths that are disproportionate to their content - .notifications, - .messages-notices { - - th { - width: 30%; - - &.bulk-select-all { - text-align: center; - width: 10%; - } - } - - th.actions { - text-align: center; - } - - .bulk-select-check, - .thread-star { - text-align: center; - } - - .notification-actions, - td.thread-options { - text-align: center; - - a { - display: inline-block; - margin: 0; - padding: 0; - } - } - - // Notices action buttons, this maybe better moved, temp for now to address - // styling issues - this will need styling ideas - td { - - .button { - border: 0; - display: block; - padding: 0; - text-align: center; - } - } - - } // .notifications, .message-notices - - } // #buddypress -} // .bp-user - -/** -*------------------------------------------------------------------------------- -* @section 9.0 - Error / Success messages -*------------------------------------------------------------------------------- -*/ - -// message args ($variable-color, text-color) -// Leave text-color undefined to automagically set text color -// to background color darker by 50% - -#buddypress { - - div#message { - - p { - - @include font-size(18); - font-weight: 700; - } - - &.info { - - p { - - @include message-box($notice-info); - } - } - - &.updated { - - p { - - @include message-box($notice-update); - } - } - - } // close #message - -} // close #buddypress - -// Without direct classes on our mesages ( 'warning' ) -// we need to use the body classes -// @todo If this class .warning is included in main BP styles remove from here -.delete-group { - - #buddypress { - - div#message.info { - - p { - - @include message-box($notice-warning); - } - } - } -} - -/** -*------------------------------------------------------------------------------- -* @section 10.0 - Ajax Loading, Widgets, General classes -*------------------------------------------------------------------------------- -*/ diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/060/060.test.js b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/060/060.test.js deleted file mode 100644 index 78da40ef1725d9..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/060/060.test.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -const stylelint = require( 'stylelint' ), - systemTestUtils = require( '../systemTestUtils.js' ); - -it( '060', () => { - return stylelint.lint({ - files: [systemTestUtils.caseStylesheetGlob( '060' )], - configFile: systemTestUtils.caseConfig( '060' ), - }).then( ({ results }) => { - expect( systemTestUtils.prepResults( results ) ).toMatchSnapshot(); - }); -}); diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/060/__snapshots__/060.test.js.snap b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/060/__snapshots__/060.test.js.snap deleted file mode 100644 index 2960d98f84291f..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/060/__snapshots__/060.test.js.snap +++ /dev/null @@ -1,15 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`060 1`] = ` -Array [ - Object { - "deprecations": Array [], - "errored": undefined, - "ignored": undefined, - "invalidOptionWarnings": Array [], - "parseErrors": Array [], - "source": "060/stylesheet.scss", - "warnings": Array [], - }, -] -`; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/060/config.json b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/060/config.json deleted file mode 100644 index b3a2db66c84f1a..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/060/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../scss.js" -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/060/stylesheet.scss b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/060/stylesheet.scss deleted file mode 100644 index 5abefde3c76750..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/060/stylesheet.scss +++ /dev/null @@ -1,2835 +0,0 @@ - -// Stylesheet Guidence Notes -// Table of content represents a guide to sections of the sheet. -// Note that not all sections may be described in the body of the -// rulesets only those that require styles for a given theme. -// Sub sections might not exist but can be added as required -// as per BP Lists - 'activity' section. - -// We follow the dictats of the parent theme in respect of media queries, -// font sizing etc. Media queries are used in a modular sense (OOCSS) -// rather than described as blocks to the end of the sheet, this aids ease -// of managing media queries, scalability & flexibility . - -// 2011 Media Queries / Breakpoints. -// 2011 works breakpoints on a max-width approach - -// @media screen and (max-width: 800px) -// @media screen and (max-width: 650px) -// @media screen and (max-width: 450px) - -// Mixins and Variables - -// simplify remembering/writing media queries -// written as: -// @include medium-up { -// body {property: value;} -// } - -// BP min width mixins - -// max-width 320px -@mixin small-only { - - @media screen and (max-width: 320px) { - - @content; - } -} - -// min-width 320px -@mixin xsmall-up { - - @media screen and (min-width: 320px) { - - @content; - } -} - -// min-width 450px -@mixin small-up { - - @media screen and (min-width: 450px) { - - @content; - } -} - -// min-width 650px (match to 2011 max widths) -@mixin medium-up { - - @media screen and (min-width: 650px) { - - @content; - } -} - -// min-width 800px (match to 2011 max widths) -@mixin large-up { - - @media screen and (min-width: 800px) { - - @content; - } -} - -// 2011 max-width mixins - -// max-width 800px -@mixin max800 { - - @media screen and (max-width: 800px) { - - @content; - } -} -// max-width 650px -@mixin max650 { - - @media screen and (max-width: 650px) { - - @content; - } -} -// max-width 450px -@mixin max450 { - - @media screen and (max-width: 450px) { - - @content; - } -} - -// Common spacing values -$spacing-val-lg: 50px; -$spacing-val-md: 25px; -$spacing-val-sm: 15px; -$spacing-val-xs: 5px; - -// Twentyeleven sizes fonts using pixel values; -// we'll continue to set BP sizes via our rem/pixel mixin. - -// A simple mixin to handle font-sizing -// 2011 sets a html/body size @ 15px - -@mixin font-size($font-size: 15) { - $rem-font-value: ($font-size / 15); - font-size: ($font-size * 1px); - font-size: $rem-font-value + rem; -} - -// To allow mixins to pass VendorPrefix scss-lint tests we disable lint-test -// for specific blocks / rulesets -// until such time as exemption lists can be built for the scss-lint.yml? -// Any vendor prefix properties / mixins need to be in this block - -// scss-lint:disable VendorPrefix - -// Border border-radius mixins -@mixin border-radius($radius) { - -webkit-border-radius: $radius; - -moz-border-radius: $radius; - -ms-border-radius: $radius; - border-radius: $radius; - background-clip: padding-box; -} - -@mixin border-top-radius($radius) { - -webkit-border-top-right-radius: $radius; - border-top-right-radius: $radius; - -webkit-border-top-left-radius: $radius; - border-top-left-radius: $radius; - background-clip: padding-box; -} - -@mixin border-right-radius($radius) { - -webkit-border-bottom-right-radius: $radius; - border-bottom-right-radius: $radius; - -webkit-border-top-right-radius: $radius; - border-top-right-radius: $radius; - background-clip: padding-box; -} - -@mixin border-bottom-radius($radius) { - -webkit-border-bottom-right-radius: $radius; - border-bottom-right-radius: $radius; - -webkit-border-bottom-left-radius: $radius; - border-bottom-left-radius: $radius; - background-clip: padding-box; -} - -@mixin border-left-radius($radius) { - -webkit-border-bottom-left-radius: $radius; - border-bottom-left-radius: $radius; - -webkit-border-top-left-radius: $radius; - border-top-left-radius: $radius; - background-clip: padding-box; -} - -// Box sizing -@mixin box-model($box-model) { - -webkit-box-sizing: $box-model; - -moz-box-sizing: $box-model; - box-sizing: $box-model; -} - -// Calc -@mixin calc($property, $expression) { - #{$property}: -webkit-calc(#{$expression}); - #{$property}: -moz-calc(#{$expression}); - #{$property}: calc(#{$expression}); -} - -// Re-enable the VendorPrefix lint test -// scss-lint:enable VendorPrefix - -// BP message boxes -@mixin message-box($background, $text-color: null) { - - @if $text-color { - // if a param was passed through - $text-color: $text-color; - } @else { - $text-color: darken($background, 50%); - } - - background: lighten($background, 10%); - border: 1px solid darken($background, 10%); - color: $text-color; -} - -// 2011 font family -@mixin default-font-sans() { - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; -} - -// Variables: color definitions -$body-text: #373737; -$content-background: #fff; -$off-white: lighten(#f9f8ee, 0.7); -$cream-background: #f7f5e7; -$light-background: #f7f7f7; -$medium-background: #ccc; -$dark-background: #555; -$border-color: #d4d0ba; // border color is varied using rgba -$border-light: #eaeaea; // BP dividers -$border-med: #ddd; -$background-hover: #db572f; // 2011 link background hover -$bp-button-hover: #ededed; // this is the default BP button hover background -$notice-error: #c85a6e; -$notice-warning: #d05656; -$notice-info: #9fd1e2; -$notice-update: #ced98c; -$stripe-odd: #ebf0ff; -$stripe-even: #dbe5ff; -$unread: #9dc3c8; -$link-action: #c82b2b; - -/*-------------------------------------------------------------- - -This is the BuddyPress companion stylesheet for -the WordPress Twentyeleven theme. - -This sheet supports the primary BuddyPress styles in buddypress.css - -If you are running as a child theme of twentyeleven this stylesheet will be -loaded by default. If you want to modify the styles the normal BP Theme Compat -hierarchy works and you can copy the file to buddypress/css/ or community/css/ -in your child themes root & either start over or modify the rulesets. - -If you do not require the styles you can dequeue them from the themes -functions file. - -Please see this codex article for more information: -http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ - ----------------------------------------------------------------- ->>> TABLE OF CONTENTS: ----------------------------------------------------------------- -1.0 Theme Structural Elements & overrides -2.0 - Navigation - General - 2.1 - Navs - Object Nav / Sub Nav (item-list-tabs) - 2.2 - Pagination -3.0 - Images -4.0 - BP Lists / Loops Generic - 4.1 - Activity Loop - 4.1.1 Whats New Activity - 4.1.2 - Activity Listing - 4.1.3 - Activity Comments - 4.2 - Members Loop - 4.3 - Groups Loop - 4.4 - Blogs Loop -5.0 - Directories - Members, Groups, Blogs, Register, activation -6.0 - Single Item screens: User Account & Single Group Screens - 6.1 - Item Headers: Global - 6.1.1 - item-header: Groups - 6.1.2 - item-header: User Accounts - 6.2 - Item Body: Global - 6.2.1 - item-body: Groups - 6.2.1.1 - Management settings screens - 6.2.1.2 - Group members list - 6.2.2 - item-body: User Accounts - 6.2.2.1 - classes, pag, filters - 6.2.2.2 - Extended Profiles - 6.2.2.3 - Groups - 6.2.2.4 - friends - 6.2.2.5 - Private Messaging Threads - 6.2.2.6 - Settings - 6.2.2.7 - Notifications -7.0 - Forms - General -8.0 - Tables - General -9.0 - Error / Success Messages -10.0 - Ajax Loading, Widgets, General classes ---------------------------------------------------------------*/ - -/** -*------------------------------------------------------------------------------- -* @section 1.0 - Theme - Structural Elements. overrides, Globals -*------------------------------------------------------------------------------- -*/ - - -.buddypress { - // Remove any empty clearing elements, CSS provides clearing. - div.clear { - display: none; - } - -} // .buddypress (body class) - -// 2011 page templates do not support sidebars, page entry element kept to a -// narrow width - we override this to allow bp-user screens to -// maximise screen real estate. - -// Main dir pages: sidebar or not to sidebar -// If no sidebar lets fatten the contents girth -// User account single screens never have a sidebar -body.buddypress:not(.page-template-sidebar-page) { - - #content { - margin: 0 10%; - width: auto; - - .entry-header, - .entry-content { - width: auto; - } - } -} - -// Reduce the top padding for single pages, too extreme for BP screens. -.buddypress.singular.page { - - .hentry { - padding-top: 0; - } -} - -/** -*------------------------------------------------------------------------------- -* @section 2.0 - Navigation - General -*------------------------------------------------------------------------------- -*/ - - -/** -*---------------------------------------------------------- -* @section 2.1 - Navs Object Nav / Sub Nav (item-list-tabs) -* -* The main navigational elements for all BP screens -*---------------------------------------------------------- -*/ - -// We have a need to override BP specifity -// so some rulesets sets will appear over weighted in selectors - -/* Here we start things off */ -#buddypress { - - // active/current states all navs - div.item-list-tabs { - - ul { - - li.selected, - li.current { - - a { - background: inherit; - opacity: 1; - } - } - } - } - // global nav styles - div.item-list-tabs { - - ul { - overflow: hidden; - padding: 0; - - li { - - a { - - &:focus, - &:hover { - color: #555; - } - // Keep links from inheriting :visited states - &:visited { - color: #21759b; - } - - span { - border-radius: 25%; - } - } - - } - } - } // close item-list-tabs - -} // close #buddypress - -// .bp-user #object-nav @ small screen as a dropdown - -.bp-user { - - #buddypress { - - @include max450 { - - #object-nav { - border: 1px solid $border-light; - overflow: visible; - padding: $spacing-val-xs; - - ul { - border: 0; - height: 0; - // all latest vendor releases handle transitions, so no prefixes used. - transition: height 0.3s ease-in-out 0.7s; - visibility: hidden; - } - - &:before { - content: "Menu \021E9"; - display: inline; - opacity: 0.7; - } - - &:focus, - &:hover, - &:active { - - &:before { - content: "Menu \021E7"; - } - - ul { - min-height: 320px; - opacity: 1; - visibility: visible; - } - } - } - - #subnav { - clear: both; - } - - } // close @media - } -} - -/*__ Horizontal menus __*/ -#buddypress { - - #object-nav { - - ul { - overflow: hidden; - - li { - float: none; - } - - @include max650 { - - li:not(:last-child) { - border-bottom: 1px solid $border-light; - } - - li:not(.selected) { - - &:focus, - &:hover { - background: darken($light-background, 2%); - } - } - - } // close @media - - @include medium-up { - - li { - float: left; - } - } - - } - } - - div#subnav.item-list-tabs { - margin-top: 0; - - ul { - border-bottom: 0; - border-top: 1px solid $border-color; - margin-top: $spacing-val-xs; - padding: 0; - - li.last { - background: $content-background; - float: right; - margin-top: 0; - padding: $spacing-val-xs 0 $spacing-val-xs; - text-align: right; - width: 230px; - - @include max450 { - float: none; - width: auto; - } - - select, - select:focus { - background: transparent; - border: 0; - outline: 0; - padding: 0; - } - - select, - label, - option { - - @include font-size(14); - } - - select { - font-style: italic; - - option { - font-style: normal; - } - } - } - - } // close ul - } // close #subnav - -} // close #buddypress - -.bp-user { - - #buddypress { - - div#subnav.item-list-tabs { - - li.last { - margin-left: 0; - text-align: right; - - @include max450 { - clear: left; - float: none; - margin-left: 10px; - text-align: left; - } - } - } - } -} - -/*__ Vertical menu User Account / Group single screens __*/ - -// This block contains rules to re-factor the item-body structural element -// to sit alongside the vert menu - -// The pages templates in 2011 do not support sidebars - -@include large-up { - - body.bp-user { - - #buddypress { - - #item-header, - #item-body { - background: $content-background; - } - - #object-nav { - border-right: 1px solid $border-med; - float: left; - margin-right: -1px; - width: 200px; - - ul { - background: none; - border-bottom: 0; - padding: 0; - - li { - float: none; - overflow: hidden; - - &.selected { - background: #ddd; - } - - span { - background: $content-background; - border-radius: 10%; - float: right; - margin-right: 2px; - } - } - } - } - - #item-body { - border-left: 1px solid $border-med; - overflow: hidden; - padding: 0 0 0 $spacing-val-md; - width: auto; - - #subnav { - margin: 0 0 0 (-$spacing-val-md); - - ul { - margin-top: 0; - } - } - } - - } // close #buddypress - } // close body.bp-user -} // close @media - - -// Tabbed Nav styling -// Primarilly used for group create screens & ? directory nav. - -@include medium-up { - - #main { - - #buddypress { - - #group-create-tabs.item-list-tabs { - - ul:before, - ul:after { - content: " "; - display: table; - } - - ul:after { - clear: both; - } - - ul { - background: none; - border: 0; - border-bottom: 1px solid $border-med; - overflow: visible; - padding-bottom: 0; - - li { - float: left; - width: auto; - } - - li.selected, - li.current { - border: 1px solid $border-med; - border-bottom-color: $content-background; - - @include border-top-radius(4px); - margin-bottom: -1px; - - a { - background: none; - color: $body-text; - outline: none; - } - } - } - - } // close .item-list-tabs - - #subnav { - - ul { - border-bottom: 0; - } - - } // close #subnav - } // close #buddypress - } -} // close @media - -/** -*---------------------------------------------------------- -* @section 2.2 - Pagination -*---------------------------------------------------------- -*/ - -#buddypress { - - div.pagination { - box-shadow: none; - min-height: 0; - - &:before, - &:after { - height: 0; - width: 0; - } - - .pag-count { - margin-left: 0; - } - - .pagination-links { - margin-right: 0; - - span, - a { - height: auto; - line-height: 1; - padding: 5px; - } - - .prev, - .next { - background-color: transparent; - color: inherit; - overflow: visible; - width: auto; - - &:before { - display: none; - } - } - - .prev { - left: auto; - position: static; - } - - .next { - position: static; - right: auto; - } - } // close .pagination-links - } // close .pagination -} // close #buddypress - -/** -*------------------------------------------------------------------------------- -* @section 4.0 - BP Lists / Loops Generic -*------------------------------------------------------------------------------- -*/ - -// Trying to position the action div absolute has bad consequences where -// aditional items are displayed, floating is an alternative that -// allows natural flow expansion. -// This block: -// * Manages li items, Stacks them small screen, floated left at wider screens. -// * Adjusts display of action buttons at small screen mobile up. -// Adjusts Meta items to match 2011 font-family - -#buddypress { - - ul.item-list { - border-top: 0; - - li { - overflow: hidden !important; - - // Undo BP floats to center avatars initially mobile up - .item-avatar { - margin-bottom: $spacing-val-sm; - - @include medium-up { - margin-bottom: 0; - } - - text-align: center; - - a { - border-bottom: 0; - } - - img.avatar { - display: inline-block; - float: none; - margin-bottom: $spacing-val-sm; - - // small device: move avatars to the left(right) - @include small-up { - display: block; - float: left; - } - } - } //close .item-avatar - - .item { - - // counter the BP rule - margin-left: 0; - overflow: hidden; - - .item-meta { - text-align: center; - - @media screen and (min-width: 61.5625em) { - text-align: left; - } - } - - span.activity { - font-style: italic; - } - - .item-desc { - margin-left: 0; - width: 94%; - } - - .item-title { - - @include font-size(16); - line-height: 1.2; - text-align: center; - - @include small-up { - text-align: left; - } - - width: 100%; - - > a { - text-decoration: none; - - &:visited { - color: #21759b; - } - } - - .update { - display: block; - - @include font-size(12); - - @include medium-up { - - @include font-size(14); - } - - padding: $spacing-val-sm 0; - text-align: left; - } - } // close .item-title - - } // close .item - - @include medium-up { - - .item-avatar, - .item, - .action { - float: left; - } - - .item { - left: 5%; - margin-left: 0; - position: relative; - width: 55%; - - .item-title { - - @include font-size(18); - } - } - - }// close medium-up - - div.action { - clear: left; - float: none; - margin: 0; - // remove BP margin left - margin-left: 0; - padding: $spacing-val-sm 0 $spacing-val-xs; - - // push the actions to the right - @include medium-up { - clear: none; - float: right; - margin-bottom: 0; - padding: 0; - } - - position: relative; - text-align: left; - top: 0; - - div { - display: inline-block; - margin: $spacing-val-xs 0; - width: 100%; - - a { - display: block; - } - // Provisionally lets keep the 'action' div - //position but inline-block the buttons - - @media screen and (min-width: 37em) { - // keep buttons to a row small tablet up - margin: 0 $spacing-val-sm 5px 0; - width: auto; - } // close @media - - @include medium-up { - // take buttons to block to stack them when floated right - clear: right; - float: right; - margin: 0 0 $spacing-val-sm 0; - } // close @media - - } // close div - - .meta { - font-style: italic; - } - - } // close .action - - } // close li - } // close .item-list -} // close #buddypress - -/** -*---------------------------------------------------------- -* @section 4.1 - Activity -*---------------------------------------------------------- -*/ - -/** -*----------------------------------------------------- -* @section 4.1.1 - Activity Whats New -*----------------------------------------------------- -*/ - -#buddypress { - - form#whats-new-form { - - // Line-height issue inherited from BP rules, override. - p.activity-greeting { - line-height: 1.4; - } - - // corrective measure for clipped elements due to JS inline styling - - @include max650 { - - #whats-new-content { - clear: left; - margin: $spacing-val-sm 0 $spacing-val-md; - padding: $spacing-val-sm 0 0; - } - } - - #whats-new-content.active { - - #whats-new-options[style] { - - #whats-new-post-in-box { - border: 1px solid rgba($border-color, 0.5); - float: left; - - @include font-size(12); - line-height: 1.6; - margin-top: 12px; - padding-left: 0.2em; - width: 100%; - - select { - background: none; - border: 0; - float: right; - margin: 0; - max-width: 220px; - min-height: 1.5em; - padding: 0 0 0 0.4em; - } - } - - @media screen and (min-width: 30em) { - - #whats-new-post-in-box { - width: auto; - } - - #whats-new-submit { - - @include font-size(12); - float: right; - - input { - padding: 0 6px; - } - } - } - - } // close #whats-new-options - } // close #whats-new-content.active - - } // close #whats-new-form - - // User account form requires matching bp default specificity - #item-body { - - form#whats-new-form { - margin: $spacing-val-lg 0; - } - } -} // close #buddypress - -/** -*----------------------------------------------------- -* @section 4.1.2 - Activity Listing -*----------------------------------------------------- -*/ - -#buddypress { - - #activity-stream { - - // re-size activity avatars and stack small screen - // refactor main elements positioning medium up. - li { - padding: 25px 0 15px; - - &.load-newest { - - a { - display: block; - } - } - - .activity-avatar { - float: none; - text-align: center; - - a { - display: inline-block; - - img.avatar { - display: inline; - float: none; - height: 60px; - margin-bottom: $spacing-val-md; - margin-left: 0; - width: 60px; - } - } - } // close .activity-avatar - - .activity-content, - .activity-comments { - margin-left: 0; - } - - .activity-header { - - @include font-size(14); - - a:visited { - color: #21759b; - } - } - - .activity-inner { - - img { - height: auto; - } - } - - @include medium-up { - - .activity-avatar { - float: left; - margin-right: $spacing-val-sm; - text-align: left; - - a { - border-bottom: 0; - } - } - - .activity-content { - margin: 0; - overflow: hidden; - - .activity-header { - - @include font-size(16); - } - } - - .activity-comments { - margin-left: 70px; - } - - } // close @media - - } // close li - - li.mini { - - .activity-avatar { - - a { - - img.avatar { - height: 30px; - margin-left: 15px; - width: 30px; - } - } - } - - .activity-content { - - .activity-header { - - @include font-size(14); - } - - .activity-meta { - - a { - - @include font-size(12); - } - } - } - } // close li.mini - - .activity-content { - margin-top: -12px; - - .activity-header { - line-height: inherit; - margin-right: 0; - - p { - border-bottom: 1px solid rgba($border-light, 0.6); - margin-top: 0; - padding: 0 0.2em; - } - - img.avatar { - display: inline-block; - margin-bottom: 0 !important; // have to match to BP - } - } // close .activity-header - - .activity-meta { - - a { - display: block; - - @include font-size(14); - margin-bottom: $spacing-val-xs; - - @include medium-up { - float: left; - margin-bottom: 0; - } - - padding: 0.2em 0.5em; - } - } - - } // close .activity-content - - .load-more { - background: $light-background; - border: 1px solid transparent; - padding: $spacing-val-sm; - - &:focus, - &:hover { - background: darken($light-background, 1%); - border: 1px solid rgba(#9fd1e2, 0.3); - } - - a { - display: block; - } - } - - } // close #activity-stream -} // close #buddypress - -/* Single activity view - activity permalink */ - -.activity-permalink { - - #buddypress { - - #activity-stream { - - li.activity-item { - padding: $spacing-val-md; - } - - li.mini { - - .activity-header { - - @include font-size(16); - - @include medium-up { - - @include font-size(20); - } - - margin-bottom: $spacing-val-lg; - - p { - padding: $spacing-val-md; - } - } - } // close li.mini - - .activity-comments { - margin-left: 0; - } - - } - } -} - -/** -*----------------------------------------------------- -* @section 4.1.3 - Activity Comments -*----------------------------------------------------- -*/ -#buddypress { - - #activity-stream { - - .activity-comments { - position: relative; - - > ul { - background: rgba($light-background, 0.6); - margin: $spacing-val-sm 0 0 2px; - - > li { - - &:hover * { - color: #555; - } - - .acomment-meta, - .acomment-content { - - @include font-size(12); - } - - } - - } - - .ac-form { - border: 1px solid $border-color; - box-sizing: border-box; - margin: $spacing-val-sm 0; - width: 100%; - - input[type="submit"], - .ac-reply-cancel { - color: rgba($body-text, 0.8); - display: inline-block; - font-family: inherit; - - @include font-size(12); - font-weight: 400; - line-height: 1.2; - padding: 4px 10px; - text-transform: lowercase; - width: 100px; - } - - .ac-reply-cancel { - border: 1px solid rgba($border-color, 0.7); - text-align: center; - - &:focus, - &:hover { - background: $bp-button-hover; - } - } - - } // close .ac-form - - } // close .activity-comments - - } // close #activity-steam - -} // close #buddypress - -/** -*---------------------------------------------------------- -* @section 4.2 - Members Loop -*---------------------------------------------------------- -*/ - -#buddypress { - - #members-list { - - @include medium-up { - - li { - - .item-avatar, - .item { - float: left; - } - - .action { - float: right; - } - } - } - - } // close #members-list -} //close #BuddyPress - -/** -*------------------------------------------------------------------------------- -* @section 5.0 - Directories -*------------------------------------------------------------------------------- -*/ - -/** -*----------------------------------------------------------- -* @subsection Registration -*----------------------------------------------------------- -*/ - -#buddypress { - - #signup_form.standard-form { - - #profile-details-section, - #basic-details-section, - #blog-details-section { - float: none; - width: 100%; - - @media screen and (min-width: 37.5em) { - width: 48%; - } - } - - @media screen and (min-width: 37.5em) { - - #profile-details-section { - float: right; - } - - #basic-details-section { - float: left; - } - } - - } -} - -/** -*------------------------------------------------------------------------------- -* @section 6.0 - Single Item screens: User Account & Single Group Screens -*------------------------------------------------------------------------------- -*/ - -.bp-user { - - #buddypress { - // On object nav links, table links (notifications etc) we don't really - // need :visited inheritance, so set pseudo class to :link color. - a { - - &:visited { - color: #21759b; - } - } - } -} - -/** -*----------------------------------------------------------- -* @subsection 6.1 - Item Header Global -*----------------------------------------------------------- -*/ - -.bp-user, -.single-item.groups { - - #buddypress { - - #item-header-content { - - #item-meta { - - @include font-size(14); - text-align: left; - - p { - margin-bottom: 0.5em; - } - } - } - } - - @media screen and (max-width: 37.5em) { - - h1, - #item-header-content { - text-align: center; - } - } - - @media screen and (max-width: 46.25em) { - - main { - - header.entry-header { - padding-bottom: 1rem; - } - } - } - - #buddypress { - - @media screen and (max-width: 37.5em) { - - h1 { - margin-bottom: 0; - } - - #item-header-avatar { - - img.avatar { - margin-right: 0; - } - } - - #item-header-content { - width: 100%; - - .user-nicename { - color: #555; - } - } - } // close @media - - @media screen and (max-width: 46.25em) { - - #item-header { - - .generic-button { - float: none; - margin: 1.5em 0 0; - } - } - } - } // close #buddypress - -} - -// Manage cover images -@include max800 { - - #buddypress { - - #item-header-cover-image { - - #item-header-content { - - .user-nicename { - color: #555; - text-shadow: none; - } - } - } - } -} - -/** -*----------------------------------------------------- -* @subsection 6.1.1 - item-header Groups -* -* Group Specific Item Header -*----------------------------------------------------- -*/ - -.single-item.groups { - - #buddypress { - - @media screen and (max-width: 46.25em) { - - #item-header { - - #item-meta { - margin-bottom: $spacing-val-md; - } - } - } - - // Move visual flow of avatar & item-actions at narrow width, - // avatar first after group title - @media screen and (max-width: 50em) { - - div#item-header { - display: flex; - flex-direction: column; - - #item-header-avatar { - order: 1; - text-align: center; - - a { - border-bottom: 0; - - img { - display: inline-block; - float: none; - } - } - } - - #item-header-content { - order: 2; - } - - #item-actions { - order: 3; - - h2 { - border-bottom: 1px solid $border-light; - text-align: center; - } - } - } - } // close @media - - div#item-header { - padding-bottom: $spacing-val-lg; - - #item-header-content { - - @include box-model(border-box); - } - - div#item-actions { - margin: 0 !important; - width: 100%; - - @media screen and (min-width: 50em) { - border-left: 1px solid $border-light; - clear: none; - float: right; - padding-left: 0.2em; - width: 30%; - } // close @media - - @media screen and (min-width: 46.25em) { - width: 40%; - } - - ul { - margin-top: 0; - padding-left: 0; - } - - h2 { - - @include font-size(14); - font-weight: 700; - line-height: 1.4; - } - - #group-admins, - #group-mods { - - li { - margin: 0; - } - } - - } // close item-actions - - @include medium-up { - - #item-header-avatar, - #item-header-content { - float: left; - } - - #item-header-content { - margin-left: 2%; - padding: 0 0.5em; - } - - div#item-actions { - float: right; - width: 28%; - } - - } // close @media - - @media screen and (min-width: 64em) { - - #item-header-content { - width: 40%; - } - } - } // close #item-header - } // close #buddypress - - // These rules handle the specific instance of Cover Images on single - // groups activated & attempt to address positioning concerns arising - // from themes breakpoints. Due to cover image styles being applied via - // embedded styles & thus carrying heavier weight than linked styles - // the use of !important to override may be required. - #buddypress { - - #cover-image-container { - - #item-header-cover-image { - - #item-actions { - margin-top: 225px !important; - } - - @media screen and (min-width: 50em) and (max-width: 60em) { - - #item-header-content { - max-width: 60% !important; - width: 60% !important; - } - } - - @media screen and (max-width: 64em) { - - #item-actions { - border: 0; - clear: both; - margin-top: 0 !important; - max-width: 100% !important; - padding-top: 0 !important; - width: auto; - - h2 { - border-bottom: 1px solid $border-light; - } - } - } // @media - } - } - } - -} // close .single-item.groups - -/** -*----------------------------------------------------- -* @subsection 6.1.2 - Item Header User Accounts -* -* User Accounts Specific Item Header -*----------------------------------------------------- -*/ - -.bp-user { - - #buddypress { - - #item-header { - - #item-header-avatar { - text-align: center; - - img.avatar, - a { - border-bottom: 0; - display: inline-block; - float: none; - } - } - - #item-header-content { - - #item-buttons { - - .generic-button { - margin-right: 5px; - } - } - } - - @include medium-up { - - #item-header-avatar { - float: left; - - a { - float: left; - } - } - - #item-header-content { - float: right; - margin-right: 0%; - width: 69%; - } - - } // close @media - - } // close #item-header - - } // close #buddypress -} // close .bp-user - -/** -*----------------------------------------------------------- -* @subsection 6.2 - Item Body: Global -*----------------------------------------------------------- -*/ - -/** -*---------------------------------------------------- -* @subsection 6.2.1 - Item Body Groups -* -* Groups specific item body rules - screens -*---------------------------------------------------- -*/ - -/** -*----------------------------------------- -* @subsection 6.2.1.1 - Group Management -*----------------------------------------- -*/ - -// headings settings screens & general global settings styles -.groups { - - #group-settings-form { - - h3 { - background: $dark-background; - color: $content-background; - padding: 0.2em; - } - } -} - -.groups.edit-details { - - #group-settings-form { - - label { - margin-bottom: 0; - padding: 0.2em; - width: 80%; - } - - textarea + p label { - background: none; - color: inherit; - - @include font-size(14); - width: auto; - } - - textarea { - height: auto; - min-height: 100px; - overflow: auto; - } - } -} // close .groups.edit-details - -.groups.group-settings { - - #group-settings-form { - - div.radio label { - font-weight: 700; - padding: 0.2em; - - ul { - color: rgba($body-text, 0.6); - - @include font-size(14); - } - } - - } -} // close .groups.group-settings - -.groups.group-avatar { - - form > p { - margin-top: $spacing-val-md; - } - -} - -.groups.manage-members { - - #group-settings-form { - - .item-list { - - li { - border-bottom: 1px solid $border-light; - - img, - h5 { - - @include medium-up { - float: left; - } - - > a { - border-bottom: 0; - } - } - - span.small { - clear: left; - display: block; - float: none; - margin-top: $spacing-val-sm; - width: 100%; - - a { - display: block; - margin: $spacing-val-xs 0; - - @include medium-up { - display: inline-block; - } - } - } - - h5 { - margin: 0; - } - - } - } - } -} // close .groups.manage-members - -/** -*----------------------------------------- -* @subsection 6.2.1.2 - Group members -*----------------------------------------- -*/ - -// Massage the members search for groups nav specifically. -.groups.group-members { - - #subnav { - - li { - - @include max450 { - background: $content-background; - padding: $spacing-val-md 0; - } - - width: 100%; - - #search-members-form { - float: right; - - label { - - input[type="text"] { - box-shadow: none; - - @include max450 { - width: 100%; - } - } - } - - margin: $spacing-val-xs 0 0 0; - } - } - } -} - -/** -*----------------------------------------------------- -* @subsection 6.2.2 - Item Body User Accounts -* -* User Account specific component item body rules -*----------------------------------------------------- -*/ - -/** -*-------------------------------------------- -* @subsection 6.2.2.1 - classes, pag, filters -*-------------------------------------------- -*/ -.bp-user { - - #buddypress { - - table { - - th { - - @include font-size(13); - } - - td { - - @include font-size(12); - } - - @include medium-up { - - th { - - @include font-size(16); - } - - td { - - @include font-size(14); - } - } - } - - .pag-count { - font-style: italic; - } - - .notifications-options-nav, - .messages-options-nav { - float: left; - width: 100%; - - @media screen and (min-width: 37.5em) { - width: 40%; - } - - select, - input { - - @include font-size(14); - outline: 0; - padding: 0; - } - - select { - float: left; - margin-right: 0; - width: 49%; - - @media screen and (min-width: 37.5em) { - width: auto; - } - } - - input { - float: left; - font-family: inherit; - line-height: 20px; - margin-left: 1%; - width: 50%; - - @media screen and (min-width: 37.5em) { - width: auto; - } - - &[disabled="disabled"]:focus, - &[disabled="disabled"]:hover { - background: none; - } - } - - } // close .notifications-options-nav/messages-options-nav - - } //close #buddypress -} // close .bp-user - -/** - *------------------------------------------- - * @subsection 6.2.2.2 - Extended Profiles - *------------------------------------------- - */ - -.bp-user { - - #buddypress { - - .profile { - - .bp-widget { - - h2 { - background: lighten($dark-background, 10%); - color: #fff; - margin-bottom: 0; - padding: 0.4em; - } - - table { - margin-top: 0; - } - } - - // Edit profile - - #profile-edit-form { - - .button-nav:before, - .button-nav:after { - content: " "; - display: table; - } - - .button-nav:after { - clear: both; - } - - ul.button-nav { - border-bottom: 1px solid $border-light; - margin-left: 0; - - li { - float: left; - margin-bottom: 0; - - &.current { - border: 1px solid $border-light; - border-bottom-color: #fff; - margin-bottom: -1px; - } - } // li - - a { - background: none; - border: 0; - - @include font-size(18); - } - } //.button-nav - - .field-visibility-settings-toggle { - margin: $spacing-val-xs 0 $spacing-val-md; - } - - .field-visibility-settings-toggle, - .field-visibility-settings { - - @include font-size(14); - } - - .field-visibility-settings-close, - .visibility-toggle-link { - background: lighten($dark-background, 10%); - - @include border-radius(2px); - color: #eee; - font-weight: 700; - padding: 0.1em 0.5em; - text-decoration: none; - - &:focus, - &:hover { - color: #fff; - } - } - } // close profile form - - .bp-avatar { - - #bp-delete-avatar { - - a { - font-size: inherit; - } - } - } - } // close .profile - - } // close #buddypress -} // close .bp-user - - -/** - *------------------------------------------- - * @subsection 6.2.2.5 - Private Messaging - *------------------------------------------- - */ - -.bp-user { - - #buddypress { - - #message-thread { - //Single message view - a { - border-bottom: 0; - } - - #message-subject { - background: lighten($dark-background, 10%); - color: $content-background; - padding: 0.3em 0 0.3em 0.2em; - } - - #message-recipients { - font-style: italic; - - a.confirm { - border: 1px solid $border-light; - font-style: normal; - } - - .highlight { - font-size: 100%; - } - } - - .message-metadata { - - &:after { - clear: both; - content: ""; - display: table; - } - - img.avatar { - float: none; - } - - @media screen and (min-width: 46.25em) { - - img.avatar { - float: left; - } - } - - .message-star-actions { - float: right; - margin-right: $spacing-val-xs; - position: static; - } - } // close .message-meta - - .message-content { - background: $light-background; - border: 1px solid $border-light; - margin: $spacing-val-sm 0 0 0; - padding: 0.3em; - } - - #send-reply { - - .message-content { - background: $content-background; - border: 0; - } - } - - .alt { - background: $content-background; - } - - } // close message-thread Singular view! - - #message-threads { - - thead { - - tr { - background: lighten($dark-background, 10%); - } - } - - tr { - - td { - background: $content-background; - box-sizing: border-box; - display: inline-block; - float: left; - } - - td.thread-star, - td.thread-options { - border-bottom: 1px solid $medium-background; - height: 2.4em; - padding-bottom: 0.2em; - padding-top: 0.2em; - - @media screen and (max-width: 46.25em) { - padding-top: 0; - } - } - - td.thread-star { - vertical-align: middle; - - .message-action-star, - .message-action-unstar { - line-height: 1.2; - } - - span.icon:before { - - @include font-size(14); - } - } - - td.bulk-select-check, - td.thread-from { - height: 3em; - - @media screen and (max-width: 37.5em) { - height: 5.2em; - } - } - - td.thread-from, - td.thread-options { - border-left: 0 !important; - - @include calc(width, "100% - 30px"); - margin-left: 0; - } - - td.thread-info { - padding-left: 41px; - width: 100%; - } - - td.thread-options { - text-align: right; - - a { - - @include font-size(12); - line-height: 1.2; - } - } - - span.from { - display: none; - } - - span.activity { - display: block; - float: right; - line-height: 2; - - @media screen and (max-width: 37.5em) { - clear: both; - - @include font-size(11); - width: 100%; - } - } - } - - tr.unread { - - td { - border-color: $border-light; - } - } - - th { - display: none; - } - - th.bulk-select-all { - border-bottom: 0; - display: inline-block; - text-align: left; - } - - th.bulk-select-all, - td.bulk-select-check, - td.thread-star { - border-right: 0; - width: 30px; - } - } - - #send_message_form { - - input, - textarea { - box-sizing: border-box; - } - } - - .acfb-holder { - list-style: none; - - li { - margin-left: 0; - } - - li.friend-tab { - background: lighten($notice-info, 20%); - border: inherit; - margin-right: 0; - padding: 0.5em; - - span.p { - // the 'X' close - padding-left: $spacing-val-sm; - - &:focus, - &:hover { - color: $link-action; - cursor: pointer; - } - } - - a { - border-bottom: 0; - text-decoration: none; - - img { - // this is the tiny user avatar - display: inline; - height: 20px; - vertical-align: middle; - width: 20px !important; // override inline style - } - } - } - } - - #message-threads.sitewide-notices { - - tr { - margin: 3em 0; - } - - td { - width: 100%; - - strong { - background: lighten($dark-background, 10%); - color: $content-background; - display: block; - margin-bottom: 0.4em; - padding-left: 0.2em; - } - - a { - display: inline-block; - } - - a.button { - border: 1px solid $border-color; - line-height: initial; - padding: 0.4em 0.3em; - } - } - - td:first-child { - display: none; - } - - td:nth-child(2) { - - strong { - margin: -8px -8px 8px; - } - } - - td:first-child + td + td { - // notice date - border-bottom: 0; - - span { - line-height: 1; - } - } - - td:last-child { - // notice actions - line-height: 1; - padding-bottom: 1em; - text-align: right; - - a:last-child { - // hide the 'x' text - line-height: 0; - margin-left: 0.7em; - text-indent: -999em; - } - - a:last-child:after { - content: attr(title); - display: block; - line-height: initial; - text-indent: 0; - } - } - } - - } // #buddypress - - // acfb auto complete name list sits in doc footer before body close - .ac_results { - background: #eee; - padding-left: $spacing-val-sm; - - li { - margin: $spacing-val-sm 0; - - &:focus, - &:hover { - cursor: pointer; - } - - img { - vertical-align: bottom; - } - - } - } - -} // close .bp-user - -/** - *------------------------------ - * @subsection 6.2.2.6 - Settings - *------------------------------ - */ - -.bp-user { - - #buddypress { - - #settings-form { - - // 'p' = email notification screen sub heading - > p { - - @include font-size(20); - margin: $spacing-val-md 0 $spacing-val-sm; - } - } - - table.notification-settings { - - td.yes, - td.no { - vertical-align: middle; - } - } - - // Profile table td widths - table.profile-settings { - width: 100%; - - th.field-group-name, - td.field-name { - width: 50%; - } - - @media screen and (min-width: 46.25em) { - - th.field-group-name, - td.field-name { - width: 70%; - } - } - - th.title, - td.field-visibility { - width: 30%; - } - - td.field-visibility { - - select { - width: 100%; - } - } - } - - } // close #buddyPress - -} // close .bp-user - -/** - *------------------------------------ - * @subsection 6.2.2.6 - Notifications - *------------------------------------ - */ - - -/** -*------------------------------------------------------------------------------- -* @section 7.0 - Forms - General -*------------------------------------------------------------------------------- -*/ - -// Attempt to reset form control widths -#main { - - #buddypress { - - .standard-form { - - li { - float: none; - } - - input[type="text"], - input[type="email"], - input[type="password"], - textarea { - width: 100%; - } - } - } -} - - -#buddypress { - - // Match BP form elements to Themes(2012) styling where styles - // are not inherited or being overriden. - div.activity-comments { - - form { - - .ac-textarea { - background: $light-background; - border: 1px solid rgba($border-color, 0.5); - - textarea { - background: none; - border: 0; - } - } - } - } - - .standard-form { - - // Keep BP form element borders to 1px rather than 2013 2px - input[type="text"], - input[type="email"], - input[type="password"], - button, - select, - textarea { - border-color: rgba($border-color, 0.5); - border-width: 1px; - } - - } // close .standard-form - - #signup_form.standard-form { - - div.submit { - float: none; - - input { - margin-right: 0; - } - } - } - -} // close #buddypress - -#buddypress { - - div.dir-search, - div.message-search, - li.groups-members-search { - float: none; - margin: $spacing-val-sm 0; - - form { // *sigh* only to bludgeon over specified rules - border: 1px solid rgba($border-color, 0.6); - overflow: hidden; - - label { - float: left; - width: 70%; - } - - input[type="text"], - input[type="submit"] { - border: 0; - border-radius: 0; - box-shadow: none; - box-sizing: border-box; - - @include font-size(14); - line-height: 1.8; - min-height: 2rem; - } - - input[type="text"] { - border-right: 1px solid rgba($border-color, 0.6); - float: left; - margin: 0; - padding: 0 0.2em; - width: 70%; - } - - input[type="submit"] { - float: right; - font-weight: 400; - padding: 0 1em; - text-align: center; - text-transform: none; - width: 30%; - } - } // close form - - } // close .dir-search, .message-search - - // Shift the search parent to the right and allow to shrinkwrap - - @media screen and (min-width: 37.5em) { - - div.dir-search, - div.message-search, - li.groups-members-search { - float: right; - margin-bottom: 5px !important; - - form { - - label, - input[type="text"], - input[type="submit"] { - width: auto; - } - } - } - - } // close @media - - - @include large-up { - - .dir-search, - .message-search { - - form { - - input[type="text"] { - - @include font-size(16); - } - - input[type="submit"] { - - @include font-size(16); - } - } - } - } - -} // close #buddypress - -/** -*------------------------------------------------------------------------------- -* @section 8.0 - Tables - General -*------------------------------------------------------------------------------- -*/ -.bp-user { - - #buddypress { - - table { - - @include font-size(14); - margin: $spacing-val-md 0; - - tr th { - background: lighten($dark-background, 10%); - border-color: darken($border-light, 20%); - color: $content-background; - - @include font-size(16); - padding: 0 8px; - text-transform: capitalize; - } - - tr td { - padding: 8px; - } - - // Reduce the themes inherited paragraph margins in tables - p { - margin-bottom: 0.5em; - } - } - - @media screen and (min-width: 55em) { - - table { - - @include font-size(16); - } - } - - // Manage some table cells widths that are disproportionate to their content - .notifications, - .messages-notices { - - th { - width: 30%; - - &.bulk-select-all { - text-align: center; - width: 10%; - } - } - - th.actions { - text-align: center; - } - - .bulk-select-check, - .thread-star { - text-align: center; - } - - .notification-actions, - td.thread-options { - text-align: center; - - a { - display: inline-block; - margin: 0; - padding: 0; - } - } - - // Notices action buttons, this maybe better moved, temp for now to address - // styling issues - this will need styling ideas - td { - - .button { - border: 0; - display: block; - padding: 0; - text-align: center; - } - } - - } // .notifications, .message-notices - - } // #buddypress -} // .bp-user - -/** -*------------------------------------------------------------------------------- -* @section 9.0 - Error / Success messages -*------------------------------------------------------------------------------- -*/ - -// message args ($variable-color, text-color) -// Leave text-color undefined to automagically set text color -// to background color darker by 50% - -#buddypress { - - div#message { - - p { - - @include font-size(18); - font-weight: 700; - } - - &.info { - - p { - - @include message-box($notice-info); - } - } - - &.updated { - - p { - - @include message-box($notice-update); - } - } - - } // close #message - -} // close #buddypress - -// Without direct classes on our mesages ( 'warning' ) -// we need to use the body classes -// @todo If this class .warning is included in main BP styles remove from here -.delete-group { - - #buddypress { - - div#message.info { - - p { - - @include message-box($notice-warning); - } - } - } -} - -/** -*------------------------------------------------------------------------------- -* @section 10.0 - Ajax Loading, Widgets, General classes -*------------------------------------------------------------------------------- -*/ diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/061/061.test.js b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/061/061.test.js deleted file mode 100644 index 11d31a3295a51c..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/061/061.test.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -const stylelint = require( 'stylelint' ), - systemTestUtils = require( '../systemTestUtils.js' ); - -it( '061', () => { - return stylelint.lint({ - files: [systemTestUtils.caseStylesheetGlob( '061' )], - configFile: systemTestUtils.caseConfig( '061' ), - }).then( ({ results }) => { - expect( systemTestUtils.prepResults( results ) ).toMatchSnapshot(); - }); -}); diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/061/__snapshots__/061.test.js.snap b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/061/__snapshots__/061.test.js.snap deleted file mode 100644 index 1b8cd46f210ff4..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/061/__snapshots__/061.test.js.snap +++ /dev/null @@ -1,15 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`061 1`] = ` -Array [ - Object { - "deprecations": Array [], - "errored": undefined, - "ignored": undefined, - "invalidOptionWarnings": Array [], - "parseErrors": Array [], - "source": "061/stylesheet.scss", - "warnings": Array [], - }, -] -`; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/061/config.json b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/061/config.json deleted file mode 100644 index b3a2db66c84f1a..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/061/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../scss.js" -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/061/stylesheet.scss b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/061/stylesheet.scss deleted file mode 100644 index dacdc86b00aead..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/061/stylesheet.scss +++ /dev/null @@ -1,2765 +0,0 @@ - -// Stylesheet Guidence Notes -// Table of content represents a guide to sections of the sheet. -// Note that not all sections may be described in the body of the -// rulesets only those that require styles for a given theme. -// Sub sections might not exist but can be added as required -// as per BP Lists - 'activity' section. - -// We follow the dictats of the parent theme in respect of media queries, -// font sizing etc. Media queries are used in a modular sense (OOCSS) -// rather than described as blocks to the end of the sheet, this aids ease -// of managing media queries, scalability & flexibility . - -// 2012 Media Queries / Breakpoints. -// 2012 works two breakpoints 600px/960px - -// @media screen and (min-width: 37.5em) -// @media screen and (min-width: 61.5625em) - - -// In addition BP can use the em breakpoints as referenced below to provide -// a series of finer breakpoints. -// @media screen and (max-width: 20em) xtra small mobile only 320px -// @media screen and (min-width: 30em) small only 480px -// @media screen and (min-width: 46.25em) 740px -// @media screen and (min-width: 75em) 1200px - -// Mixins and Variables - -// simplify remembering/writing media queries -// written as: -// @include medium-up { -// body {property: value;} -// } - -// 600px -@mixin small-up { - - @media screen and (min-width: 37.5em) { - - @content; - } -} -// 960px -@mixin medium-up { - - @media screen and (min-width: 60em) { - - @content; - } -} -// 1200px -@mixin large-up { - - @media screen and (min-width: 75em) { - - @content; - } -} - - -// Common spacing values -$spacing-val-lg: 48px; // Matches 2012 stated values - virt rhythm -$spacing-val-md: 24px; // Matches 2012 stated values - virt rhythm -$spacing-val-sm: 10px; -$spacing-val-xs: 5px; - -// A simple mixin to handle font-sizing -// 2012 sets a html/body size @ 14px/87.50% -@mixin font-size($font-size: 14) { - $rem-font-value: ($font-size / 14); - font-size: ($font-size * 1px); - font-size: $rem-font-value + rem; -} - -// To allow mixins to pass VendorPrefix scss-lint tests we disable lint-test -// for specific blocks / rulesets -// until such time as exemption lists can be built for the scss-lint.yml? -// Any vendor prefix properties / mixins need to be in this block - -// scss-lint:disable VendorPrefix - -// Border border-radius mixins -@mixin border-radius($radius) { - -webkit-border-radius: $radius; - -moz-border-radius: $radius; - -ms-border-radius: $radius; - border-radius: $radius; - background-clip: padding-box; -} - -@mixin border-top-radius($radius) { - -webkit-border-top-right-radius: $radius; - border-top-right-radius: $radius; - -webkit-border-top-left-radius: $radius; - border-top-left-radius: $radius; - background-clip: padding-box; -} - -@mixin border-right-radius($radius) { - -webkit-border-bottom-right-radius: $radius; - border-bottom-right-radius: $radius; - -webkit-border-top-right-radius: $radius; - border-top-right-radius: $radius; - background-clip: padding-box; -} - -@mixin border-bottom-radius($radius) { - -webkit-border-bottom-right-radius: $radius; - border-bottom-right-radius: $radius; - -webkit-border-bottom-left-radius: $radius; - border-bottom-left-radius: $radius; - background-clip: padding-box; -} - -@mixin border-left-radius($radius) { - -webkit-border-bottom-left-radius: $radius; - border-bottom-left-radius: $radius; - -webkit-border-top-left-radius: $radius; - border-top-left-radius: $radius; - background-clip: padding-box; -} - -// Box sizing -@mixin box-model($box-model) { - -webkit-box-sizing: $box-model; - -moz-box-sizing: $box-model; - box-sizing: $box-model; -} - -// Calc -@mixin calc($property, $expression) { - #{$property}: -webkit-calc(#{$expression}); - #{$property}: -moz-calc(#{$expression}); - #{$property}: calc(#{$expression}); -} - -// Re-enable the VendorPrefix lint test -// scss-lint:enable VendorPrefix - -// BP message boxes -@mixin message-box($background, $text-color: null) { - - @if $text-color { - // if a param was passed through - $text-color: $text-color; - } @else { - $text-color: darken($background, 50%); - } - - background: lighten($background, 10%); - border: 1px solid darken($background, 10%); - color: $text-color; -} - -// 2012 font family -@mixin default-font-sans() { - font-family: "Source Sans Pro", Helvetica, sans-serif; -} - -// Variables: color definitions -$body-text: #141412; -$content-background: #fff; -$off-white: lighten(#f9f8ee, 0.7); -$cream-background: #f7f5e7; -$light-background: #f7f7f7; -$medium-background: #ccc; -$dark-background: #555; -$border-color: #d4d0ba; // border color is varied using rgba -$border-light: #eaeaea; // BP dividers -$border-med: #ddd; -$background-hover: #db572f; // 2012 link background hover -$bp-button-hover: #ededed; // this is the default BP button hover background -$notice-error: #c85a6e; -$notice-warning: #d05656; -$notice-info: #9fd1e2; -$notice-update: #ced98c; -$stripe-odd: #ebf0ff; -$stripe-even: #dbe5ff; -$unread: #9dc3c8; -$link-action: #c82b2b; - -/*-------------------------------------------------------------- - -This is the BuddyPress companion stylesheet for -the WordPress Twentytwelve theme. - -This sheet supports the primary BuddyPress styles in buddypress.css - -If you are running as a child theme of twentytwelve this stylesheet will be -loaded by default. If you want to modify the styles the normal BP Theme Compat -hierarchy works and you can copy the file to buddypress/css/ or community/css/ -in your child themes root & either start over or modify the rulesets. - -If you do not require the styles you can dequeue them from the themes -functions file. - -Please see this codex article for more information: -http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ - ----------------------------------------------------------------- ->>> TABLE OF CONTENTS: ----------------------------------------------------------------- -1.0 Theme Structural Elements & overrides -2.0 - Navigation - General - 2.1 - Navs - Object Nav / Sub Nav (item-list-tabs) - 2.2 - Pagination -3.0 - Images -4.0 - BP Lists / Loops Generic - 4.1 - Activity Loop - 4.1.1 Whats New Activity - 4.1.2 - Activity Listing - 4.1.3 - Activity Comments - 4.2 - Members Loop - 4.3 - Groups Loop - 4.4 - Blogs Loop -5.0 - Directories - Members, Groups, Blogs, Register, activation -6.0 - Single Item screens: User Account & Single Group Screens - 6.1 - Item Headers: Global - 6.1.1 - item-header: Groups - 6.1.2 - item-header: User Accounts - 6.2 - Item Body: Global - 6.2.1 - item-body: Groups - 6.2.1.1 - Management settings screens - 6.2.1.2 - Group members list - 6.2.2 - item-body: User Accounts - 6.2.2.1 - classes, pag, filters - 6.2.2.2 - Extended Profiles - 6.2.2.3 - Groups - 6.2.2.4 - friends - 6.2.2.5 - Private Messaging Threads - 6.2.2.6 - Settings - 6.2.2.7 - Notifications -7.0 - Forms - General -8.0 - Tables - General -9.0 - Error / Success Messages -10.0 - Ajax Loading, Widgets, General classes ---------------------------------------------------------------*/ - -/** -*------------------------------------------------------------------------------- -* @section 1.0 - Theme - Structural Elements. overrides, Globals -*------------------------------------------------------------------------------- -*/ - - -.buddypress { - // Remove any empty clearing elements, CSS provides clearing. - div.clear { - display: none; - } - -} // .buddypress (body class) - - -/** -*------------------------------------------------------------------------------- -* @section 2.0 - Navigation - General -*------------------------------------------------------------------------------- -*/ - - -/** -*---------------------------------------------------------- -* @section 2.1 - Navs Object Nav / Sub Nav (item-list-tabs) -* -* The main navigational elements for all BP screens -*---------------------------------------------------------- -*/ - -// We have a need to override BP specifity -// so some rulesets sets will appear over weighted in selectors - -#buddypress { - - // active/current states all navs - div.item-list-tabs { - - ul { - - li.selected, - li.current { - - a { - background: inherit; - opacity: 1; - } - } - } - } - // global nav styles - div.item-list-tabs { - - ul { - overflow: hidden; - padding: 0; - - li { - - a { - - &:focus, - &:hover { - color: #555; - } - // Keep links from inheriting :visited states - &:visited { - color: #21759b; - } - - span { - border-radius: 25%; - } - } - - } - } - } // close item-list-tabs - -} // close #buddypress - -// .bp-user #object-nav @ small screen as a dropdown - -.bp-user { - - #buddypress { - - @media screen and (max-width: 30em) { - - #object-nav { - border: 1px solid $border-light; - overflow: visible; - padding: $spacing-val-sm; - - ul { - border: 0; - height: 0; - // all latest vendor releases handle transitions, so no prefixes used. - transition: height 0.3s ease-in-out 0.7s; - visibility: hidden; - } - - &:before { - content: "Menu \021E9"; - display: inline; - opacity: 0.7; - } - - &:hover, - &:focus { - - &:before { - content: "Menu \021E7"; - } - - ul { - height: 320px; - opacity: 1; - overflow-y: auto; - visibility: visible; - } - } - } - - #subnav { - clear: both; - } - - } // close @media - } -} - -/*__ Horizontal menus __*/ -#buddypress { - - #object-nav { - - ul { - overflow: hidden; - - li { - float: none; - } - - @media screen and (max-width: 37.5em) { - - li:not(:last-child) { - border-bottom: 1px solid $border-light; - } - } - - li:not(.selected) { - - @media screen and (max-width: 37.5em) { - - &:focus, - &:hover { - background: darken($light-background, 2%); - } - } - } - - @media screen and (min-width: 37.5em) { - - li { - float: left; - } - } - } - } - - div#subnav.item-list-tabs { - margin-top: 0; - - ul { - border-bottom: 0; - border-top: 1px solid $border-color; - margin-top: $spacing-val-xs; - padding: 0; - - li.last { - background: $content-background; - float: right; - margin-top: 0; - padding: $spacing-val-xs 0 $spacing-val-xs; - text-align: right; - width: 230px; - - @media screen and (max-width: 30em) { - float: none; - width: auto; - } - - select, - select:focus { - background: transparent; - border: 0; - outline: 0; - padding: 0; - } - - select, - label, - option { - - @include font-size(14); - } - - select { - font-style: italic; - - option { - font-style: normal; - } - } - } - - } // close ul - } // close #subnav - -} // close #buddypress - -.bp-user { - - #buddypress { - - div#subnav.item-list-tabs { - - li.last { - margin-left: 0; - text-align: right; - - @media screen and (max-width: 30em) { - clear: left; - float: none; - margin-left: 10px; - text-align: left; - } - } - } - } -} - -/*__ Vertical menu User Account / Group single screens __*/ - -// This block contains rules to re-factor the item-body structural element -// to sit alongside the vert menu -// 2012 right sidebar is displayed if the widget sidebar has widgets; -// we'll only display object nav as a vert menu if sidebar not present. - -@media screen and (min-width: 60em) { - - body.full-width { - - #buddypress { - - #item-header, - #item-body { - background: $content-background; - } - - #object-nav { - border-right: 1px solid $border-med; - float: left; - margin-right: -1px; - width: 200px; - - ul { - background: none; - border-bottom: 0; - padding: 0; - - li { - float: none; - overflow: hidden; - - span { - background: $content-background; - border-radius: 10%; - float: right; - margin-right: 2px; - } - } - } - } - - #item-body { - border-left: 1px solid $border-med; - overflow: hidden; - padding: 0 0 0 $spacing-val-md; - width: auto; - - #subnav { - margin: 0 0 0 (-$spacing-val-md); - - ul { - margin-top: 0; - } - } - } - - } // close #buddypress - } // close body:not(.sidebar) -} // close @media - - -// Tabbed Nav styling -// Primarilly used for group create screens & ? directory nav. - -@media screen and (min-width: 46.25em) { - - #main { - - #buddypress { - - #group-create-tabs.item-list-tabs { - - ul:before, - ul:after { - content: " "; - display: table; - } - - ul:after { - clear: both; - } - - ul { - background: none; - border: 0; - border-bottom: 1px solid $border-med; - overflow: visible; - padding-bottom: 0; - - li { - float: left; - width: auto; - } - - li.selected, - li.current { - border: 1px solid $border-med; - border-bottom-color: $content-background; - - @include border-top-radius(4px); - margin-bottom: -1px; - - a { - background: none; - color: $body-text; - outline: none; - } - } - } - - } // close .item-list-tabs - - #subnav { - - ul { - border-bottom: 0; - } - - } // close #subnav - } // close #buddypress - } -} // close @media - -/** -*---------------------------------------------------------- -* @section 2.2 - Pagination -*---------------------------------------------------------- -*/ - -#buddypress { - - div.pagination { - box-shadow: none; - min-height: 0; - - &:before, - &:after { - height: 0; - width: 0; - } - - .pag-count { - margin-left: 0; - } - - .pagination-links { - margin-right: 0; - - span, - a { - height: auto; - line-height: 1; - padding: 5px; - } - - .prev, - .next { - background-color: transparent; - color: inherit; - overflow: visible; - width: auto; - - &:before { - display: none; - } - } - - .prev { - left: auto; - position: static; - } - - .next { - position: static; - right: auto; - } - } // close .pagination-links - } // close .pagination -} // close #buddypress - -/** -*------------------------------------------------------------------------------- -* @section 4.0 - BP Lists / Loops Generic -*------------------------------------------------------------------------------- -*/ - -// Trying to position the action div absolute has bad consequences where -// aditional items are displayed, floating is an alternative that -// allows natural flow expansion. -// This block: -// * Manages li items, Stacks them small screen, floated left at wider screens. -// * Adjusts display of action buttons at small screen mobile up. -// Adjusts Meta items to match 2012 font-family - -#buddypress { - - ul.item-list { - border-top: 0; - - li { - overflow: hidden !important; - - // Undo BP floats to center avatars initially mobile up - .item-avatar { - margin-bottom: $spacing-val-sm; - - @media screen and (min-width: 37.5em) { - margin-bottom: 0; - } - - text-align: center; - - a { - border-bottom: 0; - } - - img.avatar { - display: inline-block; - float: none; - margin-bottom: $spacing-val-sm; - - // Quite early on we need to move avatars to the left(right) - @include small-up { - display: block; - float: left; - } - } - } //close .item-avatar - - .item { - - // counter the BP rule - margin-left: 0; - - @media screen and (min-width: 61.5625em) { - margin-left: 15%; - } - - overflow: hidden; - - .item-meta { - text-align: center; - - @media screen and (min-width: 61.5625em) { - text-align: left; - } - } - - span.activity { - font-style: italic; - } - - .item-desc { - margin-left: 0; - width: 94%; - } - - .item-title { - - @include font-size(16); - line-height: 1.2; - text-align: center; - - @include small-up { - text-align: left; - } - - width: 100%; - - > a { - text-decoration: none; - - &:visited { - color: #21759b; - } - } - - .update { - display: block; - - @include font-size(12); - - @include medium-up { - - @include font-size(14); - } - - padding: $spacing-val-sm 0; - text-align: left; - } - } // close .item-title - - } // close .item - - @include medium-up { - - .item-avatar, - .item, - .action { - float: left; - } - - .item { - left: 5%; - margin-left: 0; - position: relative; - width: 55%; - - .item-title { - - @include font-size(18); - } - } - - }// close medium-up - - div.action { - clear: left; - float: none; - margin-bottom: -$spacing-val-md; - // remove BP margin left - margin-left: 0; - padding: $spacing-val-md 0 $spacing-val-xs; - - // push the actions to the right - @include medium-up { - clear: none; - float: right; - margin-bottom: 0; - padding: 0; - } - - position: relative; - text-align: left; - top: 0; - - div { - display: inline-block; - margin: $spacing-val-sm 0; - width: 100%; - - a { - display: block; - } - // Provisionally lets keep the 'action' div - //position but inline-block the buttons - - @media screen and (min-width: 37.5em) { - // keep buttons to a row small tablet up - margin: 0 $spacing-val-sm $spacing-val-sm 0; - width: auto; - } // close @media - - @include medium-up { - // take buttons to block to stack them when floated right - clear: right; - float: right; - margin: 0 0 $spacing-val-sm 0; - } // close @media - - } // close div - - .meta { - font-style: italic; - } - - } // close .action - - } // close li - } // close .item-list -} // close #buddypress - -/** -*---------------------------------------------------------- -* @section 4.1 - Activity -*---------------------------------------------------------- -*/ - -/** -*----------------------------------------------------- -* @section 4.1.1 - Activity Whats New -*----------------------------------------------------- -*/ - -#buddypress { - - form#whats-new-form { - - // Line-height issue inherited from BP rules, override. - p.activity-greeting { - line-height: 1.4; - } - - // corrective measure for clipped elements due to JS inline styling - - @media screen and (max-width: 46.25em) { - - #whats-new-content { - clear: left; - margin: $spacing-val-sm 0 $spacing-val-md; - padding: $spacing-val-sm 0 0; - } - } - - #whats-new-content.active { - - #whats-new-options[style] { - - #whats-new-post-in-box { - border: 1px solid rgba($border-color, 0.5); - float: left; - line-height: 1.5; - margin-top: 12px; - padding-left: 0.2em; - width: 100%; - - select { - background: none; - border: 0; - float: right; - margin: 0; - min-height: 1.5em; - padding: 0 0 0 0.4em; - } - } - - @media screen and (min-width: 30em) { - - #whats-new-post-in-box { - width: auto; - } - - #whats-new-submit { - float: right; - - input { - padding: 2px 6px; - } - } - } - - } // close #whats-new-options - } // close #whats-new-content.active - - } // close #whats-new-form - - // User account form requires matching bp default specificity - #item-body { - - form#whats-new-form { - margin: $spacing-val-lg 0; - } - } -} // close #buddypress - -/** -*----------------------------------------------------- -* @section 4.1.2 - Activity Listing -*----------------------------------------------------- -*/ - -#buddypress { - - #activity-stream { - - // re-size activity avatars and stack small screen - // refactor main elements positioning medium up. - li { - padding: 25px 0 15px; - - .activity-avatar { - float: none; - text-align: center; - - a { - display: inline-block; - - img.avatar { - display: inline; - float: none; - height: 60px; - margin-bottom: $spacing-val-md; - margin-left: 0; - width: 60px; - } - } - } // close .activity-avatar - - .activity-content, - .activity-comments { - margin-left: 0; - } - - .activity-header { - - @include font-size(14); - - a:visited { - color: #21759b; - } - } - - .activity-inner { - - img { - height: auto; - } - } - - @media screen and (min-width: 46.25em) { - - .activity-avatar { - float: left; - margin-right: $spacing-val-sm; - text-align: left; - - a { - border-bottom: 0; - } - } - - .activity-content { - margin: 0; - overflow: hidden; - - .activity-header { - - @include font-size(16); - } - } - - .activity-comments { - margin-left: 70px; - } - - } // close @media - - } // close li - - li.mini { - - .activity-avatar { - - a { - - img.avatar { - height: 30px; - margin-left: 15px; - width: 30px; - } - } - } - - .activity-content { - - .activity-header { - - @include font-size(14); - } - - .activity-meta { - - a { - - @include font-size(12); - } - } - } - } // close li.mini - - .activity-content { - margin-top: -12px; - - .activity-header { - line-height: inherit; - margin-right: 0; - - p { - border-bottom: 1px solid rgba($border-light, 0.6); - margin-top: 0; - padding: 0 0.2em; - } - - img.avatar { - display: inline-block; - margin-bottom: 0 !important; // have to match to BP - } - } // close .activity-header - - .activity-meta { - - a { - display: block; - - @include font-size(14); - margin-bottom: $spacing-val-xs; - - @media screen and (min-width: 37.5em) { - float: left; - margin-bottom: 0; - } - - padding: 0.2em 0.5em; - } - } - - } // close .activity-content - - .load-more { - background: $light-background; - border: 1px solid transparent; - padding: $spacing-val-sm; - - &:focus, - &:hover { - background: darken($light-background, 1%); - border: 1px solid rgba(#9fd1e2, 0.3); - } - - a { - display: block; - } - } - - } // close #activity-stream -} // close #buddypress - -/* Single activity view - activity permalink */ - -.activity-permalink { - - #buddypress { - - #activity-stream { - - li.activity-item { - padding: $spacing-val-md; - } - - li.mini { - - .activity-header { - - @include font-size(16); - - @media screen and (min-width: 46.25em) { - - @include font-size(20); - } - - margin-bottom: $spacing-val-lg; - - p { - padding: $spacing-val-md; - } - } - } // close li.mini - - .activity-comments { - margin-left: 0; - } - - } - } -} - -/** -*----------------------------------------------------- -* @section 4.1.3 - Activity Comments -*----------------------------------------------------- -*/ -#buddypress { - - #activity-stream { - - .activity-comments { - position: relative; - - > ul { - background: rgba($light-background, 0.6); - margin: $spacing-val-sm 0 0 2px; - - > li { - - &:hover * { - color: #555; - } - - .acomment-meta, - .acomment-content { - - @include font-size(12); - } - } - - } - - a { - color: #737373; - } - - .ac-form { - border: 1px solid $border-color; - box-sizing: border-box; - margin: $spacing-val-sm 0; - width: 100%; - - input[type="submit"], - .ac-reply-cancel { - color: rgba($body-text, 0.8); - display: inline-block; - font-family: inherit; - - @include font-size(12); - font-weight: 400; - line-height: 1.2; - padding: 4px 10px; - text-transform: lowercase; - width: 100px; - } - - .ac-reply-cancel { - border: 1px solid rgba($border-color, 0.7); - text-align: center; - - &:focus, - &:hover { - background: $bp-button-hover; - } - } - - } // close .ac-form - - } // close .activity-comments - - } // close #activity-steam - -} // close #buddypress - -/** -*---------------------------------------------------------- -* @section 4.2 - Members Loop -*---------------------------------------------------------- -*/ - -#buddypress { - - #members-list { - - @include medium-up { - - li { - - .item-avatar, - .item { - float: left; - } - - .action { - float: right; - } - } - } - - } // close #members-list -} //close #BuddyPress - -/** -*------------------------------------------------------------------------------- -* @section 5.0 - Directories -*------------------------------------------------------------------------------- -*/ - -/** -*----------------------------------------------------------- -* @subsection Registration -*----------------------------------------------------------- -*/ - -#buddypress { - - #signup_form.standard-form { - - #profile-details-section, - #basic-details-section, - #blog-details-section { - float: none; - width: 100%; - - @media screen and (min-width: 37.5em) { - width: 48%; - } - } - - @media screen and (min-width: 37.5em) { - - #profile-details-section { - float: right; - } - - #basic-details-section { - float: left; - } - } - - } -} - -/** -*------------------------------------------------------------------------------- -* @section 6.0 - Single Item screens: User Account & Single Group Screens -*------------------------------------------------------------------------------- -*/ - -.bp-user { - - #buddypress { - // On object nav links, table links (notifications etc) we don't really - // need :visited inheritance, so set pseudo class to :link color. - a { - - &:visited { - color: #21759b; - } - } - } -} - -/** -*----------------------------------------------------------- -* @subsection 6.1 - Item Header Global -*----------------------------------------------------------- -*/ - -.bp-user, -.single-item.groups { - - #buddypress { - - #item-header-content { - - #item-meta { - - @include font-size(14); - text-align: left; - - p { - margin-bottom: 0.5em; - } - } - } - } - - @media screen and (max-width: 37.5em) { - - h1, - #item-header-content { - text-align: center; - } - } - - @media screen and (max-width: 46.25em) { - - main { - - header.entry-header { - padding-bottom: 1rem; - } - } - } - - #buddypress { - - @media screen and (max-width: 37.5em) { - - h1 { - margin-bottom: 0; - } - - #item-header-avatar { - - img.avatar { - margin-right: 0; - } - } - - #item-header-content { - width: 100%; - } - } // close @media - - @media screen and (max-width: 46.25em) { - - #item-header { - - .generic-button { - float: none; - margin: 1.5em 0 0; - } - } - } - } // close #buddypress - -} - -/** -*----------------------------------------------------- -* @subsection 6.1.1 - item-header Groups -* -* Group Specific Item Header -*----------------------------------------------------- -*/ - -.single-item.groups { - - #buddypress { - - @media screen and (max-width: 46.25em) { - - #item-header { - - #item-meta { - margin-bottom: $spacing-val-md; - } - } - } - - // Move visual flow of avatar & item-actions at narrow width, - // avatar first after group title - @media screen and (max-width: 50em) { - - div#item-header { - display: flex; - flex-direction: column; - - #item-header-avatar { - order: 1; - text-align: center; - - a { - border-bottom: 0; - - img { - display: inline-block; - float: none; - } - } - } - - #item-header-content { - order: 2; - } - - #item-actions { - order: 3; - - h2 { - border-bottom: 1px solid $border-light; - text-align: center; - } - } - } - } // close @media - - div#item-header { - padding-bottom: $spacing-val-lg; - - #item-header-content { - - @include box-model(border-box); - } - - div#item-actions { - margin: 0 !important; - width: 100%; - - @media screen and (min-width: 50em) { - border-left: 1px solid $border-light; - clear: none; - float: right; - padding-left: 0.2em; - width: 30%; - } // close @media - - @media screen and (min-width: 46.25em) { - width: 40%; - } - - ul { - margin-top: 0; - padding-left: 0; - } - - h2 { - - @include font-size(14); - padding: 0.2em; - } - - #group-admins, - #group-mods { - - li { - margin: 0; - } - } - - } // close item-actions - - @media screen and (min-width: 46.25em) { - - #item-header-avatar, - #item-header-content { - float: left; - } - - #item-header-content { - margin-left: 2%; - padding: 0 0.5em; - } - - div#item-actions { - float: right; - width: 28%; - } - - } // close @media - - @media screen and (min-width: 64em) { - - #item-header-content { - width: 40%; - } - } - } // close #item-header - } // close #buddypress - - // These rules handle the specific instance of Cover Images on single groups - // activated & attempt to address positioning concerns arising from themes - // breakpoints. - // Due to cover image styles being applied via embedded styles & thus - // carrying heavier weight than linked styles the use of !important to - // override may be required. - #buddypress { - - #cover-image-container { - - #item-header-cover-image { - - #item-actions { - margin-top: 225px !important; - } - - @media screen and (min-width: 50em) and (max-width: 60em) { - - #item-header-content { - max-width: 60% !important; - width: 60% !important; - } - } - - @media screen and (max-width: 64em) { - - #item-actions { - border: 0; - clear: both; - margin-top: 0 !important; - max-width: 100% !important; - padding-top: 0 !important; - width: auto; - - h2 { - border-bottom: 1px solid $border-light; - } - } - } // @media - - - } - } - } - -} // close .single-item.groups - -/** -*----------------------------------------------------- -* @subsection 6.1.2 - Item Header User Accounts -* -* User Accounts Specific Item Header -*----------------------------------------------------- -*/ - -.bp-user { - - #buddypress { - - #item-header { - padding: $spacing-val-md 0; - - #item-header-avatar { - text-align: center; - - img.avatar, - a { - border-bottom: 0; - display: inline-block; - float: none; - } - } - - #item-header-content { - - #item-buttons { - - .generic-button { - margin-right: 5px; - } - } - } - - @media screen and (min-width: 46.25em) { - - #item-header-avatar { - float: left; - - a { - float: left; - } - } - - #item-header-content { - float: right; - margin-right: 0%; - width: 69%; - } - - } // close @media - - } // close #item-header - - } // close #buddypress -} // close .bp-user - -/** -*----------------------------------------------------------- -* @subsection 6.2 - Item Body: Global -*----------------------------------------------------------- -*/ - -/** -*---------------------------------------------------- -* @subsection 6.2.1 - Item Body Groups -* -* Groups specific item body rules - screens -*---------------------------------------------------- -*/ - -/** -*----------------------------------------- -* @subsection 6.2.1.1 - Group Management -*----------------------------------------- -*/ - -// headings settings screens & general global settings styles -.groups { - - #group-settings-form { - - h3 { - background: $dark-background; - color: $content-background; - padding: 0.2em; - } - } -} - -.groups.edit-details { - - #group-settings-form { - - label { - margin-bottom: 0; - padding: 0.2em; - width: 80%; - } - - textarea + p label { - background: none; - color: inherit; - - @include font-size(14); - width: auto; - } - - textarea { - height: auto; - min-height: 100px; - overflow: auto; - } - } -} // close .groups.edit-details - -.groups.group-settings { - - #group-settings-form { - - div.radio label { - border: 1px solid $border-light; - padding: 0.2em; - - ul { - color: rgba($body-text, 0.6); - - @include font-size(14); - } - } - - } -} // close .groups.group-settings - -.groups.group-avatar { - - form > p { - margin-top: $spacing-val-md; - } - -} - -.groups.manage-members { - - #group-settings-form { - - .item-list { - - li { - border-bottom: 1px solid $border-light; - - img, - h5 { - float: left; - - > a { - border-bottom: 0; - } - } - - span.small { - clear: left; - display: block; - float: none; - margin-top: $spacing-val-sm; - - a { - display: inline-block; - margin: $spacing-val-xs 0; - width: 100%; - - @media screen and (min-width: 37.5em) { - width: auto; - } - } - } - - h5 { - margin: 0; - } - - } - } - } -} // close .groups.manage-members - -/** -*----------------------------------------- -* @subsection 6.2.1.2 - Group members -*----------------------------------------- -*/ - -// Massage the members search for groups nav specifically. -.groups.group-members { - - #subnav { - - li { - - @media screen and (max-width: 37.5em) { - background: $content-background; - padding: $spacing-val-md 0; - } - - width: 100%; - - #search-members-form { - float: right; - - @media screen and (max-width: 37.5em) { - margin: 0; - width: 100%; - - label { - - input[type="text"] { - width: 100%; - } - } - } - - margin: $spacing-val-xs $spacing-val-xs 0 0; - } - } - } -} - -/** -*----------------------------------------------------- -* @subsection 6.2.2 - Item Body User Accounts -* -* User Account specific component item body rules -*----------------------------------------------------- -*/ - -.bp-user { - - .entry-title { - margin-bottom: 0.5em; - } -} - -/** -*-------------------------------------------- -* @subsection 6.2.2.1 - classes, pag, filters -*-------------------------------------------- -*/ -.bp-user { - - #buddypress { - - table { - - th { - - @include font-size(13); - } - - td { - - @include font-size(12); - } - - @include medium-up { - - th { - - @include font-size(16); - } - - td { - - @include font-size(14); - } - } - } - - .pag-count { - font-style: italic; - } - - .notifications-options-nav, - .messages-options-nav { - float: left; - width: 100%; - - @media screen and (min-width: 37.5em) { - width: 40%; - } - - select, - input { - - @include font-size(14); - outline: 0; - padding: 0; - } - - select { - float: left; - margin-right: 0; - width: 49%; - - @media screen and (min-width: 37.5em) { - width: auto; - } - } - - input { - float: left; - font-family: inherit; - line-height: 20px; - margin-left: 1%; - width: 50%; - - @media screen and (min-width: 37.5em) { - width: auto; - } - - &[disabled="disabled"]:focus, - &[disabled="disabled"]:hover { - background: none; - } - } - - } // close .notifications-options-nav/messages-options-nav - - } //close #buddypress -} // close .bp-user - -/** - *------------------------------------------- - * @subsection 6.2.2.2 - Extended Profiles - *------------------------------------------- - */ - -.bp-user { - - #buddypress { - - .profile { - - .bp-widget { - - h2 { - background: lighten($dark-background, 10%); - color: #fff; - margin-bottom: 0; - padding: 0.4em; - } - - table { - margin-top: 0; - } - } - - /* Edit profile */ - - #profile-edit-form { - - .button-nav:before, - .button-nav:after { - content: " "; - display: table; - } - - .button-nav:after { - clear: both; - } - - ul.button-nav { - border-bottom: 1px solid $border-light; - margin-left: 0; - - li { - float: left; - margin-bottom: 0; - - &.current { - border: 1px solid $border-light; - border-bottom-color: #fff; - margin-bottom: -1px; - } - } // li - - a { - background: none; - border: 0; - - @include font-size(18); - } - } //.button-nav - - .field-visibility-settings-toggle { - margin: $spacing-val-xs 0 $spacing-val-md; - } - - .field-visibility-settings-toggle, - .field-visibility-settings { - - @include font-size(14); - } - - .field-visibility-settings-close, - .visibility-toggle-link { - background: lighten($dark-background, 10%); - - @include border-radius(2px); - color: #f1f1f1; - font-weight: 700; - padding: 0.1em 0.5em; - text-decoration: none; - - &:focus, - &:hover { - color: #fff; - } - } - } // close profile form - - .bp-avatar { - - #bp-delete-avatar { - - a { - font-size: inherit; - } - } - } - } // close .profile - - } // close #buddypress -} // close .bp-user - -/** - *------------------------------------------- - * @subsection 6.2.2.3 - Groups - *------------------------------------------- - */ - -.bp-user { - - #buddypress { - - #groups-list { - - li { - - .item { - - @media screen and (min-width: 77.5em) { - left: 5%; - width: 50%; - } - } - } - } - - } // close #buddypress -} // close .bp-user - -/** - *------------------------------------------- - * @subsection 6.2.2.5 - Private Messaging - *------------------------------------------- - */ - -.bp-user { - - #buddypress { - - #message-thread { - //Single message view - a { - border-bottom: 0; - } - - #message-subject { - background: lighten($dark-background, 10%); - color: $content-background; - padding: 0.3em 0 0.3em 0.2em; - } - - #message-recipients { - font-style: italic; - - a.confirm { - border: 1px solid $border-light; - font-style: normal; - } - - .highlight { - font-size: 100%; - } - } - - .message-metadata { - - &:after { - clear: both; - content: ""; - display: table; - } - - img.avatar { - float: none; - } - - @media screen and (min-width: 46.25em) { - - img.avatar { - float: left; - } - } - - .message-star-actions { - float: right; - margin-right: $spacing-val-xs; - position: static; - } - } // close .message-meta - - .message-content { - background: $light-background; - border: 1px solid $border-light; - margin: $spacing-val-sm 0 0 0; - padding: 0.3em; - } - - #send-reply { - - .message-content { - background: $content-background; - border: 0; - } - } - - .alt { - background: $content-background; - } - } // close message-thread Singular view! - - #message-threads { - - thead { - - tr { - background: lighten($dark-background, 10%); - } - } - - tr { - - td { - background: $content-background; - box-sizing: border-box; - display: inline-block; - float: left; - } - - td.thread-star, - td.thread-options { - border-bottom: 1px solid $medium-background; - height: 2.4em; - padding-bottom: 0.2em; - padding-top: 0.2em; - - @media screen and (max-width: 46.25em) { - padding-top: 0; - } - } - - td.thread-star { - vertical-align: middle; - - .message-action-star, - .message-action-unstar { - line-height: 1.2; - } - - span.icon:before { - - @include font-size(14); - } - } - - td.bulk-select-check, - td.thread-from { - height: 3em; - - @media screen and (max-width: 37.5em) { - height: 5.2em; - } - } - - td.thread-from, - td.thread-options { - border-left: 0 !important; - - @include calc(width, "100% - 30px"); - margin-left: 0; - } - - td.thread-info { - padding-left: 41px; - width: 100%; - } - - td.thread-options { - text-align: right; - - a { - - @include font-size(12); - line-height: 1.2; - } - } - - span.from { - display: none; - } - - span.activity { - display: block; - float: right; - line-height: 2; - - @media screen and (max-width: 37.5em) { - clear: both; - - @include font-size(11); - width: 100%; - } - } - } - - tr.unread { - - td { - border-color: $border-light; - } - } - - th { - display: none; - } - - th.bulk-select-all { - border-bottom: 0; - display: inline-block; - text-align: left; - } - - th.bulk-select-all, - td.bulk-select-check, - td.thread-star { - border-right: 0; - width: 30px; - } - } - - #send_message_form { - - input, - textarea { - box-sizing: border-box; - } - } - - .acfb-holder { - list-style: none; - - li { - margin-left: 0; - } - - li.friend-tab { - background: lighten($notice-info, 20%); - border: inherit; - margin-right: 0; - padding: 0.5em; - - span.p { - // the 'X' close - padding-left: $spacing-val-sm; - - &:focus, - &:hover { - color: $link-action; - cursor: pointer; - } - } - - a { - border-bottom: 0; - text-decoration: none; - - img { - // this is the tiny user avatar - display: inline; - height: 20px; - vertical-align: middle; - width: 20px !important; // override inline style - } - } - } - } - - #message-threads.sitewide-notices { - - tr { - margin: 3em 0; - } - - td { - width: 100%; - - strong { - background: lighten($dark-background, 10%); - color: $content-background; - display: block; - margin-bottom: 0.4em; - padding-left: 0.2em; - } - - a { - display: inline-block; - } - - a.button { - border: 1px solid $border-color; - line-height: initial; - padding: 0.4em 0.3em; - } - } - - td:first-child { - display: none; - } - - td:nth-child(2) { - - strong { - margin: -8px -8px 8px; - } - } - - td:first-child + td + td { - // notice date - border-bottom: 0; - - span { - line-height: 1; - } - } - - td:last-child { - // notice actions - line-height: 1; - padding-bottom: 1em; - text-align: right; - - a:last-child { - // hide the 'x' text - line-height: 0; - margin-left: 0.7em; - text-indent: -999em; - } - - a:last-child:after { - content: attr(title); - display: block; - line-height: initial; - text-indent: 0; - } - } - } - - } // #buddypress - - // acfb auto complete name list sits in doc footer before body close - .ac_results { - background: #eee; - padding-left: $spacing-val-sm; - - li { - margin: $spacing-val-sm 0; - - &:focus, - &:hover { - cursor: pointer; - } - - img { - vertical-align: bottom; - } - - } - } - -} // close .bp-user - -/** - *------------------------------ - * @subsection 6.2.2.6 - Settings - *------------------------------ - */ - -.bp-user { - - #buddypress { - - #settings-form { - - // 'p' = email notification screen sub heading - > p { - - @include font-size(20); - margin: $spacing-val-md 0 $spacing-val-sm; - } - } - - table.notification-settings { - - td.yes, - td.no { - vertical-align: middle; - } - } - - // Profile table td widths - table.profile-settings { - width: 100%; - - th.field-group-name, - td.field-name { - width: 50%; - } - - @media screen and (min-width: 46.25em) { - - th.field-group-name, - td.field-name { - width: 70%; - } - } - - th.title, - td.field-visibility { - width: 30%; - } - - td.field-visibility { - - select { - width: 100%; - } - } - } - - } // close #buddyPress - -} // close .bp-user - -/** - *------------------------------------ - * @subsection 6.2.2.6 - Notifications - *------------------------------------ - */ - - -/** -*------------------------------------------------------------------------------- -* @section 7.0 - Forms - General -*------------------------------------------------------------------------------- -*/ - -// Attempt to reset form control widths -#main { - - #buddypress { - - .standard-form { - - li { - float: none; - } - - input[type="text"], - input[type="email"], - input[type="password"], - textarea { - width: 100%; - } - } - } -} - - -#buddypress { - - // Match BP form elements to Themes(2012) styling where styles - // are not inherited or being overriden. - div.activity-comments { - - form { - - .ac-textarea { - background: $light-background; - border: 1px solid rgba($border-color, 0.5); - - textarea { - background: none; - border: 0; - } - } - } - } - - .standard-form { - - // Keep BP form element borders to 1px rather than 2013 2px - input[type="text"], - input[type="email"], - input[type="password"], - button, - select, - textarea { - border-color: rgba($border-color, 0.5); - border-width: 1px; - } - - } // close .standard-form - - #signup_form.standard-form { - - div.submit { - float: none; - - input { - margin-right: 0; - } - } - } - -} // close #buddypress - -#buddypress { - - div.dir-search, - div.message-search, - li.groups-members-search { - float: none; - margin: $spacing-val-sm 0; - - // Stylise the seach form elements, in part this deals with padding - // issues on the submit & sizing issues between bp styles & 2012 - - form { // *sigh* only to bludgeon over specified rules - border: 1px solid rgba($border-color, 0.6); - overflow: hidden; - - label { - float: left; - width: 70%; - } - - input[type="text"], - input[type="submit"] { - - @include font-size(14); - border: 0; - border-radius: 0; - line-height: 1.8; - min-height: 2rem; - } - - input[type="text"] { - border-right: 1px solid rgba($border-color, 0.6); - float: left; - margin: 0; - padding: 0 0.2em; - width: 100%; - } - - input[type="submit"] { - float: right; - font-weight: 400; - padding: 0 1em; - text-align: center; - text-transform: none; - width: 30%; - } - } // close form - - } // close .dir-search, .message-search - - // Shift the search parent to the right and allow to shrinkwrap - - @media screen and (min-width: 37.5em) { - - div.dir-search, - div.message-search, - li.groups-members-search { - - float: right; - margin-bottom: 5px !important; - - form { - - label, - input[type="text"], - input[type="submit"] { - width: auto; - } - } - } - - } // close @media - - - @include large-up { - - .dir-search, - .message-search { - - form { - - input[type="text"] { - - @include font-size(16) ; - } - - input[type="submit"] { - - @include font-size(16) ; - } - } - } - } - -} // close #buddypress - -/** -*------------------------------------------------------------------------------- -* @section 8.0 - Tables - General -*------------------------------------------------------------------------------- -*/ -.bp-user { - - #buddypress { - - table { - - @include font-size(14); - margin: $spacing-val-md 0; - - tr th { - background: lighten($dark-background, 10%); - border-color: darken($border-light, 20%); - color: $content-background; - padding: 0 8px; - } - - tr td { - padding: 8px; - } - - // Reduce the themes inherited paragraph margins in tables - p { - margin-bottom: 0.5em; - } - } - - @media screen and (min-width: 55em) { - - table { - - @include font-size(16); - } - } - - // Manage some table cells widths that are disproportionate to their content - .notifications, - .messages-notices { - - th { - width: 30%; - - &.bulk-select-all { - text-align: center; - width: 10%; - } - } - - th.actions { - text-align: center; - } - - .bulk-select-check, - .thread-star { - text-align: center; - } - - .notification-actions, - td.thread-options { - text-align: center; - - a { - display: inline-block; - margin: 0; - padding: 0; - } - } - - // Notices action buttons, this maybe better moved, temp for now to address - // styling issues - this will need styling ideas - td { - - .button { - border: 0; - display: block; - padding: 0; - text-align: center; - } - } - - } // .notifications, .message-notices - - } // #buddypress -} // .bp-user - -/** -*------------------------------------------------------------------------------- -* @section 9.0 - Error / Success messages -*------------------------------------------------------------------------------- -*/ - -// message args ($variable-color, text-color) -// Leave text-color undefined to automagically set text color -// to background color darker by 50% - -#buddypress { - - div#message { - - p { - - @include font-size(18); - font-weight: 700; - } - - &.info { - - p { - - @include message-box($notice-info); - } - } - - &.updated { - - p { - - @include message-box($notice-update); - } - } - - } // close #message - -} // close #buddypress - -// Without direct classes on our mesages ( 'warning' ) -// we need to use the body classes -// @todo If this class .warning is included in main BP styles remove from here -.delete-group { - - #buddypress { - - div#message.info { - - p { - - @include message-box($notice-warning); - } - } - } -} - -/** -*------------------------------------------------------------------------------- -* @section 10.0 - Ajax Loading, Widgets, General classes -*------------------------------------------------------------------------------- -*/ diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/062/062.test.js b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/062/062.test.js deleted file mode 100644 index 2be173a1bd59fd..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/062/062.test.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -const stylelint = require( 'stylelint' ), - systemTestUtils = require( '../systemTestUtils.js' ); - -it( '062', () => { - return stylelint.lint({ - files: [systemTestUtils.caseStylesheetGlob( '062' )], - configFile: systemTestUtils.caseConfig( '062' ), - }).then( ({ results }) => { - expect( systemTestUtils.prepResults( results ) ).toMatchSnapshot(); - }); -}); diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/062/__snapshots__/062.test.js.snap b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/062/__snapshots__/062.test.js.snap deleted file mode 100644 index 1173253c4ecbb3..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/062/__snapshots__/062.test.js.snap +++ /dev/null @@ -1,15 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`062 1`] = ` -Array [ - Object { - "deprecations": Array [], - "errored": undefined, - "ignored": undefined, - "invalidOptionWarnings": Array [], - "parseErrors": Array [], - "source": "062/stylesheet.scss", - "warnings": Array [], - }, -] -`; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/062/config.json b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/062/config.json deleted file mode 100644 index b3a2db66c84f1a..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/062/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../scss.js" -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/062/stylesheet.scss b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/062/stylesheet.scss deleted file mode 100644 index 856a8cca86f7eb..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/062/stylesheet.scss +++ /dev/null @@ -1,2688 +0,0 @@ -// Stylesheet Guidence Notes -// Table of content represents a guide to sections of the sheet. -// Note that not all sections may be described in the body of the -// rulesets only those that require styles for a given theme. -// Sub sections might not exist but can be added as required -// as per BP Lists - 'activity' section. - -// We follow the dictats of the parent theme in respect of media queries, -// font sizing etc. Media queries are used in a modular sense (OOCSS) -// rather than described as blocks to the end of the sheet, this aids ease -// of managing media queries, scalability & flexibility . - -// Twentythirteen Media Queries / Breakpoints. -// @media (max-width: 1599px) -// @media (max-width: 1069px) -// @media (max-width: 999px) -// @media (max-width: 767px) -// @media (max-width: 643px) -// @media (max-width: 359px) - -// These differ from other WP themes in using fewer breakpoints -// and in using max-width rather than min-width -// In addition BP will use the em breakpoints as used for twentyfifteen -// referenced below. -// @media screen and (max-width: 22em) // Additional for xtra small mobile only -// @media screen and (max-width: 30em) // Additional small only -// @media screen and (min-width: 38.75em) -// @media screen and (min-width: 46.25em) -// @media screen and (min-width: 55em) -// @media screen and (min-width: 59.6875em) -// @media screen and (min-width: 77.5em) -// @media screen and (min-width: 87.6875em) - -// Mixins and Variables - -// Common margin values -$spacing-val-lg: 40px; -$spacing-val-md: 20px; -$spacing-val-sm: 10px; -$spacing-val-xs: 5px; - -// A simple mixin to handle font-sizing -// 2013 uses a basic pixel font size approach, we'll stick with rem/px -@mixin font-size($font-size: 16) { - $rem-font-value: ($font-size / 16); - font-size: ($font-size * 1px); - font-size: $rem-font-value + rem; -} - -// To allow mixins to pass VendorPrefix scss-lint tests we disable lint-test -// for specific blocks / rulesets -// until such time as exemption lists can be built for the scss-lint.yml? -// Any vendor prefix properties / mixins need to be in this block - -// scss-lint:disable VendorPrefix - -// Border border-radius mixins -@mixin border-radius($radius) { - -webkit-border-radius: $radius; - -moz-border-radius: $radius; - -ms-border-radius: $radius; - border-radius: $radius; - background-clip: padding-box; -} - -@mixin border-top-radius($radius) { - -webkit-border-top-right-radius: $radius; - border-top-right-radius: $radius; - -webkit-border-top-left-radius: $radius; - border-top-left-radius: $radius; - background-clip: padding-box; -} - -@mixin border-right-radius($radius) { - -webkit-border-bottom-right-radius: $radius; - border-bottom-right-radius: $radius; - -webkit-border-top-right-radius: $radius; - border-top-right-radius: $radius; - background-clip: padding-box; -} - -@mixin border-bottom-radius($radius) { - -webkit-border-bottom-right-radius: $radius; - border-bottom-right-radius: $radius; - -webkit-border-bottom-left-radius: $radius; - border-bottom-left-radius: $radius; - background-clip: padding-box; -} - -@mixin border-left-radius($radius) { - -webkit-border-bottom-left-radius: $radius; - border-bottom-left-radius: $radius; - -webkit-border-top-left-radius: $radius; - border-top-left-radius: $radius; - background-clip: padding-box; -} - -// Box sizing -@mixin box-model($box-model) { - -webkit-box-sizing: $box-model; - -moz-box-sizing: $box-model; - box-sizing: $box-model; -} - -// Calc -@mixin calc($property, $expression) { - #{$property}: -webkit-calc(#{$expression}); - #{$property}: -moz-calc(#{$expression}); - #{$property}: calc(#{$expression}); -} - -// Re-enable the VendorPrefix lint test -// scss-lint:enable VendorPrefix - -// BP message boxes -@mixin message-box($background, $text-color: null) { - - @if $text-color { - // if a param was passed through - $text-color: $text-color; - } @else { - $text-color: darken($background, 50%); - } - - background: lighten($background, 10%); - border: 1px solid darken($background, 10%); - color: $text-color; -} - -// 2013 font family -@mixin default-font-sans() { - font-family: "Source Sans Pro", Helvetica, sans-serif; -} - -// Variables: color definitions -$body-text: #141412; -$light-body: lighten(#141412, 45%); -$content-background: #fff; -$off-white: lighten(#f9f8ee, 10%); -$cream-background: #f7f5e7; -$light-background: #f7f7f7; -$medium-background: #ccc; -$dark-background: #555; -$border-color: #d4d0ba; // border color is varied using rgba -$border-light: #eaeaea; // BP dividers -$border-med: #ddd; -$background-hover: #bd4b28; // 2013 link background hover -$bp-button-hover: #ededed; // this is the default BP button hover background -$notice-error: #c85a6e; -$notice-warning: #d05656; -$notice-info: #9fd1e2; -$notice-update: #ced98c; -$stripe-odd: #ebf0ff; -$stripe-even: #dbe5ff; -$unread: #dce5ff; -$link-action: #c82b2b; - -/*-------------------------------------------------------------- - -This is the BuddyPress companion stylesheet for -the WordPress Twentythirteen theme. - -This sheet supports the primary BuddyPress styles in buddypress.css - -If you are running as a child theme of twentyfifteen this stylesheet will be -loaded by default. If you want to modify the styles the normal BP Theme Compat -hierarchy works and you can copy the file to buddypress/css/ or community/css/ -in your child themes root & either start over or modify the rulesets. - -If you do not require the styles you can dequeue them from the themes -functions file. - -Please see this codex article for more information: -http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ - ----------------------------------------------------------------- ->>> TABLE OF CONTENTS: ----------------------------------------------------------------- -1.0 Theme Structural Elements & overrides -2.0 - Navigation - General - 2.1 - Navs - Object Nav / Sub Nav (item-list-tabs) - 2.2 - Pagination -3.0 - Images -4.0 - BP Lists / Loops Generic - 4.1 - Activity Loop - 4.1.1 Whats New Activity - 4.1.2 - Activity Listing - 4.1.3 - Activity Comments - 4.2 - Members Loop - 4.3 - Groups Loop - 4.4 - Blogs Loop -5.0 - Directories - Members, Groups, Blogs, Register, activation -6.0 - Single Item screens: User Account & Single Group Screens - 6.1 - Item Headers: Global - 6.1.1 - item-header: Groups - 6.1.2 - item-header: User Accounts - 6.2 - Item Body: Global - 6.2.1 - item-body: Groups - 6.2.1.1 - Management settings screens - 6.2.1.2 - Group members list - 6.2.1.3 - Group send Invites - 6.2.2 - item-body: User Accounts - 6.2.2.1 - classes, pag, filters - 6.2.2.2 - Extended Profiles - 6.2.2.3 - Groups - 6.2.2.4 - friends - 6.2.2.5 - Private Messaging Threads - 6.2.2.6 - Settings -7.0 - Forms - General -8.0 - Tables - General -9.0 - Error / Success Messages -10.0 - Ajax Loading, Widgets, General classes ---------------------------------------------------------------*/ - -/** -*------------------------------------------------------------------------------- -* @section 1.0 - Theme - Structural Elements & overrides -*------------------------------------------------------------------------------- -*/ - -// As BP screens have specific content lets adjust the themes primary elements -// to maximise the screen real estate for BP pages. - -.buddypress { - - div.clear { - display: none; - } - - // re-factor main themes primary elements widths for BP screens - @media (max-width: 999px) { - - #content { - padding: 0 $spacing-val-md; - } - } - - @media (max-width: 643px) { - - #content { - padding: 0; - } - } - - .entry-header, - .entry-content, - .entry-summary, - .entry-meta { - max-width: 890px; - } - -} // .buddypress (body class) - -/** -*------------------------------------------------------------------------------- -* @section 2.0 - Navigation - General -*------------------------------------------------------------------------------- -*/ - - -/** -*---------------------------------------------------------- -* @section 2.1 - Navs Object Nav / Sub Nav (item-list-tabs) -* -* The main navigational elements for all BP screens -*---------------------------------------------------------- -*/ - -// We have a need to override BP specifity -// so some rulesets sets will appear over weighted in selectors - -#buddypress { - - // Global Nav Styles - div.item-list-tabs { - - ul { - background-color: $cream-background; - border-bottom: 1px solid rgba($border-light, 0.9); - border-top: 1px solid rgba($border-light, 0.9); - overflow: hidden; - padding: 0; - - li { - - a { - - span { - border-radius: 25%; - } - } - } - } - } -} -// .bp-user #object-nav @ small screen as a dropdown - -.bp-user { - - #buddypress { - - @media screen and (max-width: 38.75em) { - - #object-nav { - background: $cream-background; - border: 1px solid $border-light; - overflow: visible; - padding: $spacing-val-sm; - - ul { - border: 0; - height: 0; - // all latest vendor releases handle transitions, so no prefixes used. - transition: height 0.3s ease-in-out 0.7s; - visibility: hidden; - } - - &:before { - content: "Menu \021E9"; - display: inline; - opacity: 0.7; - } - - &:hover, - &:focus { - - &:before { - content: "Menu \021E7"; - } - - ul { - height: 320px; - opacity: 1; - overflow-y: auto; - visibility: visible; - } - } - } - - #subnav { - clear: both; - } - - } // close @media - } -} - -/*__ Horizontal menus & small screen __*/ - -#buddypress { - - #object-nav { - - ul { - overflow: hidden; - - li { - - @media screen and (max-width: 38.75em) { - - &:focus, - &:hover { - background: darken($cream-background, 2%); - } - } - - float: none; - } - - @media screen and (max-width: 38.75em) { - - li:not(:last-child) { - border-bottom: 1px solid $border-light; - } - } - - @media screen and (min-width: 38.75em) { - - li { - float: left; - } - } - } - } - - div#subnav.item-list-tabs { - margin-top: 0; - - ul { - background-color: $light-background; - border-bottom: 0; - margin-top: $spacing-val-xs; - padding: 0; - - li.last { - background: $content-background; - margin-top: 0; - padding: $spacing-val-xs $spacing-val-xs $spacing-val-xs 0; - width: 100%; - - select, - select:focus { - background: transparent; - border: 0; - outline: 0; - } - - select, - label, - option { - - @include font-size(14); - } - - select { - font-style: italic; - } - } - - @media screen and (min-width: 38.75em) { - - li.last { - text-align: right; - } - } - } // close ul - } // close #subnav - - // active/current states all navs - div.item-list-tabs { - - ul { - - li.selected, - li.current { - - a { - background: none; - opacity: 1; - } - } - } - } - -} // close #buddypress - -/*__ Vertical menu User Account / Group single screens __*/ - -// This block contains rules to re-factor the item-body structural element -// to sit alongside the vert menu -// As 2013 has an inner sidebar which if active can narrow screen too far for -// a columner nav we'll only use these rules if no sidebar 'body:not(.sidebar)'. - -@media screen and (min-width: 55em) { - - body:not(.sidebar) { - - #buddypress { - - #item-header, - #item-body { - background: $content-background; - } - - #object-nav { - border-right: 1px solid $border-med; - float: left; - margin-right: -1px; - width: 200px; - - ul { - background: none; - border-bottom: 0; - padding: 0; - - li { - float: none; - overflow: hidden; - - span { - background: $content-background; - border-radius: 10%; - float: right; - margin-right: 2px; - } - } - } - } - - #item-body { - border-left: 1px solid $border-med; - overflow: hidden; - padding: 0 0 0 $spacing-val-md; - width: auto; - - #subnav { - margin: 0 0 0 (-$spacing-val-md); - - ul { - margin-top: 0; - } - } - } - - } // close #buddypress - } // close body:not(.sidebar) -} // close @media - - -// Tabbed Nav styling -// Primarilly used for group create screens & ? directory nav. - -@media screen and (min-width: 46.25em) { - - #main { - - #buddypress { - - #group-create-tabs.item-list-tabs { - - ul:before, - ul:after { - content: " "; - display: table; - } - - ul:after { - clear: both; - } - - ul { - background: none; - border: 0; - border-bottom: 1px solid $border-med; - overflow: visible; - padding: 0; - - li { - float: left; - width: auto; - } - - li.selected, - li.current { - border: 1px solid $border-med; - border-bottom-color: $content-background; - - @include border-top-radius(4px); - margin-bottom: -1px; - - a { - background: none; - color: $body-text; - outline: none; - } - } - } - - } // close .item-list-tabs - - #subnav { - - ul { - border-bottom: 0; - } - - } // close #subnav - } // close #buddypress - } -} // close @media - -/** -*---------------------------------------------------------- -* @section 2.2 - Pagination -*---------------------------------------------------------- -*/ - -#buddypress { - - div.pagination { - box-shadow: none; - - .pag-count { - margin-left: 0; - } - - .pagination-links { - margin-right: 0; - - span, - a { - height: auto; - line-height: 1; - padding: 5px; - } - - .prev, - .next { - background-color: transparent; - color: inherit; - overflow: visible; - width: auto; - - &:before { - display: none; - } - } - - .prev { - left: auto; - position: static; - } - - .next { - position: static; - right: auto; - } - } // close .pagination-links - } // close .pagination -} // close #buddypress - -/** -*------------------------------------------------------------------------------- -* @section 4.0 - BP Lists / Loops Generic -*------------------------------------------------------------------------------- -*/ - -// Adjusts Meta items and various elements to match 2013 font-family -#buddypress { - - .item-list { - - .activity-header, - .activity-meta { - - @include default-font-sans(); - } - } -} - -#buddypress { - - .activity-meta { - - .button { - - &:focus, - &:hover { - background: $background-hover; - color: $cream-background; - } - } - } - - .action { - - .generic-button { - - a { - - &:focus, - &:hover { - background: $background-hover; - color: $cream-background; - } - } - } - } -} // close #buddypress - -// Trying to position the action div absolute has bad consequences where -// aditional items are displayed, floating is an alternative that -// allows natural flow expansion. -// This block: -// * Manages li items, Stacks them small screen, floated left at wider screens. -// * Adjusts display of action buttons at small screen mobile up. -// Adjusts Meta items to match 2013 font-family - -#buddypress { - - ul.item-list { - - li { - overflow: hidden !important; - - // Undo BP floats to center avatars initially mobile up - .item-avatar { - margin-bottom: $spacing-val-sm; - - @media screen and (min-width: 38.75em) { - margin-bottom: 0; - } - - text-align: center; - - a { - border-bottom: 0; - } - - img.avatar { - display: inline-block; - float: none; - - // Quite early on we need to move avatars to the left(right) - @media screen and (min-width: 38.75em) { - display: block; - float: left; - } - } - } - - .item { - overflow: hidden; - - @media screen and (min-width: 46.25em) { - margin-left: 15%; - } - - span.activity { - font-style: italic; - } - - .item-desc { - margin: 0 auto; - width: 100%; - } - - .item-title { - - @include font-size(18); - line-height: 1.2; - margin: 0 auto; - text-align: center; - - @media screen and (min-width: 38.75em) { - text-align: left; - } - - width: 100%; - - .update { - - @include font-size(12); - display: block; - - @media screen and (min-width: 59.6875em) { - - @include font-size(14); - } - - padding: $spacing-val-sm 0; - text-align: left; - } - - } // .item-title - - } - - @media screen and (min-width: 59.6875em) { - - .item-avatar, - .item, - .action { - float: left; - } - - .item { - left: 5%; - margin-left: 0; - position: relative; - width: 55%; - - .item-title { - - @include font-size(22); - } - } - - }// close @media - - div.action { - clear: left; - float: none; - margin-bottom: -$spacing-val-md; - // remove BP margin left - margin-left: 0; - padding: $spacing-val-md 0 $spacing-val-xs; - // push the actions to the right - - @media screen and (min-width: 59.6875em) { - clear: none; - float: right; - margin-bottom: 0; - padding: 0; - } - - position: relative; - text-align: left; - top: 0; - - div { - display: inline-block; - margin: $spacing-val-sm 0; - width: 100%; - - a { - display: block; - width: 100%; - } - // Provisionally lets keep the 'action' div - //position but inline-block the buttons - - @media screen and (min-width: 38.75em) { - // keep buttons to a row small tablet up - margin: 0 $spacing-val-sm $spacing-val-sm 0; - width: auto; - } // close @media - - @media screen and (min-width: 59.6875em) { - // take buttons to block to stack them when floated right - clear: right; - float: right; - margin: 0 0 $spacing-val-sm 0; - } // close @media - - } // close div - - .meta { - font-style: italic; - } - - } // close .action - - } // close li - } // close .item-list -} // close #buddypress - -/** -*---------------------------------------------------------- -* @section 4.1 - Activity -*---------------------------------------------------------- -*/ - -/** -*----------------------------------------------------- -* @section 4.1.1 - Activity Whats New -*----------------------------------------------------- -*/ - -#buddypress { - - form#whats-new-form { - - // Line-height issue inherited from BP rules, override. - p.activity-greeting { - line-height: 1.4; - } - - // corrective measure for clipped elements due to JS inline styling - - @media screen and (max-width: 46.25em) { - - #whats-new-content { - clear: left; - margin: $spacing-val-sm 0 $spacing-val-md; - padding: $spacing-val-sm 0 0; - } - } - - #whats-new-content.active { - - #whats-new-options[style] { - - #whats-new-post-in-box { - border: 1px solid rgba($border-color, 0.5); - float: left; - line-height: 1.5; - margin-top: 12px; - padding-left: 0.2em; - width: 100%; - - select { - background: none; - border: 0; - float: right; - margin: 0; - min-height: 1.5em; - padding-left: 0.4em; - } - } - - @media screen and (min-width: 30em) { - - #whats-new-post-in-box { - width: auto; - } - - #whats-new-submit { - float: right; - } - } - - } // close #whats-new-options - } // close #whats-new-content.active - - } // close #whats-new-form - - // User account form requires matching bp default specificity - #item-body { - - form#whats-new-form { - margin: $spacing-val-lg 0; - } - } -} // close #buddypress - -/** -*----------------------------------------------------- -* @section 4.1.2 - Activity Listing -*----------------------------------------------------- -*/ - -#buddypress { - - #activity-stream { - - // re-size activity avatars and stack small screen - // refactor main elements positioning medium up. - li { - padding: 25px 0 15px; - - .activity-avatar { - float: none; - text-align: center; - - a { - display: inline-block; - - img.avatar { - display: inline; - float: none; - height: 60px; - margin-bottom: $spacing-val-md; - margin-left: 0; - width: 60px; - } - } - } // close .activity-avatar - - .activity-content { - margin-left: 0; - - .activity-header { - - @include font-size(14); - } - } - - @media screen and (min-width: 46.25em) { - - .activity-avatar { - float: left; - margin-right: $spacing-val-sm; - text-align: left; - - a { - border-bottom: 0; - } - } - - .activity-content { - margin: 0; - overflow: hidden; - - .activity-header { - - @include font-size(16); - } - } - - } // close @media - - } // close li - - li.mini { - - .activity-avatar { - - a { - - img.avatar { - height: 30px; - margin-left: 15px; - width: 30px; - } - } - } - - .activity-content { - - .activity-header { - - @include font-size(14); - } - } - } - - .activity-content { - margin-top: -12px; - - .activity-header { - line-height: inherit; - margin-right: 0; - - p { - background-color: $light-background; - border: 1px solid rgba($border-light, 0.6); - color: #727272; - margin-top: 0; - padding: 0 0.2em; - - a.activity-time-since { - color: #727272; - } - } - - img.avatar { - display: inline-block; - margin-bottom: 0 !important; // have to match to BP - } - } // close .activity-header - - .activity-meta { - - a { - display: block; - margin-bottom: $spacing-val-xs; - - @media screen and (min-width: 38.75em) { - display: inline-block; - margin-bottom: 0; - } - } - } - - } // close .activity-content - - .load-more { - background: $light-background; - border: 1px solid transparent; - padding: $spacing-val-sm; - - &:focus, - &:hover { - background: darken($light-background, 1%); - border: 1px solid rgba(#9fd1e2, 0.3); - - a { - font-style: italic; - } - } - - a { - display: block; - } - } - - } // close #activity-stream -} // close #buddypress - -/* Single activity view - activity permalink */ - -.activity-permalink { - - #buddypress { - - #activity-stream { - - li.activity-item { - padding: $spacing-val-md; - } - - li.mini { - - .activity-header { - - @include font-size(16); - - @media screen and (min-width: 46.25em) { - - @include font-size(20); - } - - margin-bottom: $spacing-val-lg; - - p { - padding: $spacing-val-md; - } - } - } - } - } -} - -/** -*----------------------------------------------------- -* @section 4.1.3 - Activity Comments -*----------------------------------------------------- -*/ -#buddypress { - - #activity-stream { - - .activity-comments { - border-left: 1px solid $border-light; - margin-top: 5px; - - ul { - background: rgba($light-background, 0.6); - margin: 15px 0 0 2px; - } - - a { - color: #ac0404; - } - - .acomment-meta { - color: #737373; - } - - .ac-form { - - input[type="submit"], - .ac-reply-cancel { - color: rgba($body-text, 0.8); - display: inline-block; - font-family: inherit; - - @include font-size(12); - font-weight: 400; - line-height: 1.2; - padding: 4px 10px; - text-transform: lowercase; - width: 100px; - } - - .ac-reply-cancel { - border: 1px solid rgba($border-color, 0.7); - text-align: center; - - &:focus, - &:hover { - background: $bp-button-hover; - } - } - - } // close .ac-form - - } // close .activity-comments - } // close .activity - -} // close #buddypress - -/** -*---------------------------------------------------------- -* @section 4.2 - Members Loop -*---------------------------------------------------------- -*/ - -#buddypress { - - #members-list { - - @media screen and (min-width: 59.6875em) { - - li { - - .item-avatar, - .item { - float: left; - } - - .action { - float: right; - } - } - } - - } // close #members-list -} //close #BuddyPress - -/** -*------------------------------------------------------------------------------- -* @section 5.0 - Directories -*------------------------------------------------------------------------------- -*/ - -/** -*----------------------------------------------------------- -* @subsection Registration -*----------------------------------------------------------- -*/ - -#buddypress { - - #signup_form.standard-form { - - #profile-details-section, - #basic-details-section, - #blog-details-section { - float: none; - width: 100%; - - @media screen and (min-width: 38.75em) { - width: 48%; - } - } - - @media screen and (min-width: 38.75em) { - - #profile-details-section { - float: right; - } - - #basic-details-section { - float: left; - } - } - - } -} - -/** -*------------------------------------------------------------------------------- -* @section 6.0 - Single Item screens: User Account & Single Group Screens -*------------------------------------------------------------------------------- -*/ - - -/** -*----------------------------------------------------------- -* @subsection 6.1 - Item Header Global -*----------------------------------------------------------- -*/ - -.bp-user, -.single-item.groups { - - .entry-header { - margin-bottom: 0; - - .entry-title { - color: $light-body; - - @include font-size(32); - margin-bottom: $spacing-val-sm; - text-align: center; - - @media screen and (min-width: 46.25em) { - text-align: left; - } - } - } - - #buddypress { - - #item-header-content { - - #item-meta { - - @include font-size(14); - text-align: left; - - p { - margin-bottom: 0.5em; - } - } - } - } - - @media screen and (max-width: 46.25em) { - - main { - - header.entry-header { - padding-bottom: 1rem; - } - } - } - - @media screen and (max-width: 38.75em) { - - h1, - #item-header-content { - text-align: center; - } - } - - #buddypress { - - @media screen and (max-width: 46.25em) { - - #item-header { - - .generic-button { - float: none; - margin: 1.5em 0 0; - } - } - } - - @media screen and (max-width: 38.75em) { - - h1 { - margin-bottom: 0; - } - - #item-header-avatar { - - img.avatar { - margin-right: 0; - } - } - - #item-header-content { - width: 100%; - } - } - } -} - -/** -*----------------------------------------------------- -* @subsection 6.1.1 - item-header Groups -* -* Group Specific Item Header -*----------------------------------------------------- -*/ - -.single-item.groups { - - #buddypress { - - @media screen and (max-width: 46.25em) { - - #item-header { - - #item-meta { - margin-bottom: $spacing-val-md; - } - } - } - - // Move visual flow of avatar & item-actions at narrow width, - // avatar first after group title - @media screen and (max-width: 38.75em) { - - div#item-header { - display: flex; - flex-direction: column; - - #item-header-avatar { - order: 1; - text-align: center; - - a { - border-bottom: 0; - - img { - display: inline-block; - float: none; - } - } - } - - #item-header-content { - order: 2; - } - - #item-actions { - order: 3; - - h2 { - border-bottom: 1px solid $border-light; - text-align: center; - } - } - } - } // close @media - - div#item-header { - padding-bottom: $spacing-val-lg; - - div#item-actions { - margin: 0; - width: 100%; - - @media screen and (min-width: 38.75em) { - border-left: 1px solid $border-light; - clear: none; - float: right; - padding-left: 0.2em; - width: 30%; - } // close @media - - @media screen and (min-width: 46.25em) { - width: 40%; - } - - ul { - margin-top: 0; - padding-left: 0; - } - - h2 { - - @include font-size(14); - - @media screen and (min-width: 46.25em) { - - @include font-size(16); - } - - padding: 0.2em; - } - } // close item-actions - - @media screen and (min-width: 46.25em) { - - #item-header-avatar, - #item-header-content { - float: left; - } - - #item-header-avatar { - width: 21%; - } - - #item-header-content { - margin-left: 4%; - width: 40%; - } - - div#item-actions { - clear: both; - float: right; - width: 28%; - - h2 { - - @include font-size(14); - } - } - - } // close @media - - #item-header-cover-image { - - #item-actions { - border: 0; - - @media screen and (max-width: 46.25em) { - clear: both !important; - } - - float: none; - width: auto; - } - - @media screen and (min-width: 46.25em) { - - #item-header-content { - padding-left: $spacing-val-sm; - - #item-buttons { - margin-top: 0; - } - } - - #item-actions { - border-left: 1px solid $border-light; - clear: none; - float: right; - margin-top: 230px !important; - padding-top: 0 !important; - width: 20%; - } - } - } - - } // close #item-header - } // close #buddypress -} // close .groups - -/** -*----------------------------------------------------- -* @subsection 6.1.2 - Item Header User Accounts -* -* User Accounts Specific Item Header -*----------------------------------------------------- -*/ - -.bp-user { - - #buddypress { - - #item-header { - padding: $spacing-val-md 0; - - #item-header-avatar { - text-align: center; - width: 100%; - - img.avatar, - a { - border-bottom: 0; - display: inline-block; - float: none; - } - } - - #item-header-content { - - .user-nicename, - span.activity { - display: block; - text-align: center; - } - } - - @media screen and (min-width: 46.25em) { - - #item-header-avatar { - float: left; - width: auto; - - a { - float: left; - } - } - - #item-header-content { - float: none; - overflow: hidden; - - .user-nicename, - span.activity { - text-align: left; - } - - #item-meta { - margin-top: 0; - } - } - - } // close @media - - } // close #item-header - - #item-header-cover-image { - - #item-header-content { - - @media screen and (min-width: 46.25em) { - - .user-nicename { - margin-bottom: $spacing-val-md; - } - - #item-buttons { - margin: 0; - } - } - } - } - - } // close #buddypress -} // close .bp-user - -/** -*----------------------------------------------------------- -* @subsection 6.2 - Item Body: Global -*----------------------------------------------------------- -*/ - -/** -*---------------------------------------------------- -* @subsection 6.2.1 - Item Body Groups -* -* Groups specific item body rules - screens -*---------------------------------------------------- -*/ - -/** -*----------------------------------------- -* @subsection 6.2.1.1 - Group Management -*----------------------------------------- -*/ - -// headings settings screens & general global settings styles -.groups { - - #group-settings-form { - - h3 { - background: $dark-background; - color: $content-background; - padding: 0.2em; - } - } -} - -.groups.edit-details { - - #group-settings-form { - - label { - margin-bottom: 0; - padding: 0.2em; - width: 80%; - } - - textarea + p label { - background: none; - color: inherit; - - @include font-size(14); - width: auto; - } - - textarea { - height: auto; - min-height: 100px; - overflow: auto; - } - } -} // close .groups.edit-details - -.groups.group-settings { - - #group-settings-form { - - div.radio label { - border: 1px solid $border-light; - padding: 0.2em; - - ul { - color: rgba($body-text, 0.6); - - @include font-size(14); - } - } - - } -} // close .groups.group-settings - -.groups.group-avatar { - - form > p { - margin-top: $spacing-val-md; - } - -} - -.groups.manage-members { - - #group-settings-form { - - .item-list { - - li { - border-bottom: 1px solid $border-light; - - img, - h5 { - float: left; - - > a { - border-bottom: 0; - } - } - - span.small { - clear: left; - display: block; - float: none; - margin-top: $spacing-val-sm; - - a { - display: inline-block; - margin: $spacing-val-xs 0; - width: 100%; - - @media screen and (min-width: 38.75em) { - width: auto; - } - } - } - - h5 { - margin: 0; - } - - } - } - } -} // close .groups.manage-members - -/** -*----------------------------------------- -* @subsection 6.2.1.2 - Group members -*----------------------------------------- -*/ - -// Massage the members search for groups nav specifically. -.groups.group-members { - - #subnav { - - li { - - @media screen and (max-width: 38.75em) { - background: $content-background; - padding: $spacing-val-md 0; - } - - width: 100%; - - #search-members-form { - float: right; - - @media screen and (max-width: 38.75em) { - margin: 0; - width: 100%; - - label { - - input[type="text"] { - width: 100%; - } - } - } - - margin: $spacing-val-xs $spacing-val-xs 0 0; - } - } - } -} - -/** -*----------------------------------------- -* @subsection 6.2.1.3 - Group send Invites -*----------------------------------------- -*/ -#buddypress { - - div.invite { - - .left-menu { - float: none; - - @media screen and (min-width: 46.25em) { - float: left; - } - } - - #invite-list { - border: 1px solid $border-light; - height: auto; - min-height: 3.125em; - padding: 0 0.3em 0.5em; - width: auto; - - @media screen and (min-width: 46.25em) { - width: 220px; - } - - ul { - padding-left: 0; - } - } - - .main-column { - margin-left: 0; - - @media screen and (min-width: 46.25em) { - margin-left: 235px; - } - } - - } // close div.invite -} - -/** -*----------------------------------------------------- -* @subsection 6.2.2 - Item Body User Accounts -* -* User Account specific item body rules -*----------------------------------------------------- -*/ - -.bp-user { - - .entry-title { - margin-bottom: 0.5em; - } -} - -/** -*-------------------------------------------- -* @subsection 6.2.2.1 - classes, pag, filters -*-------------------------------------------- -*/ - -.bp-user { - - #buddypress { - - table { - - th { - - @include font-size(14); - } - - td { - - @include font-size(13); - } - - @media screen and (min-width: 46.25em) { - - th { - - @include font-size(16); - } - - td { - - @include font-size(14); - } - } - - @media screen and (min-width: 77.5em) { - - th { - - @include font-size(18); - } - - td { - - @include font-size(16); - } - } - } - - .pag-count { - font-style: italic; - } - - .notifications-options-nav { - border: 1px solid rgba($border-color, 0.5); - float: left; - width: 100%; - - @media screen and (min-width: 38.75em) { - width: 300px; - } - - select, - input { - border: 0; - - @include font-size(14); - outline: 0; - padding: 0; - } - - select { - float: left; - margin-right: 0; - width: 60%; - } - - input { - float: right; - font-family: inherit; - line-height: 20px; - width: 40%; - } - - } // close .notifications-options-nav - } // close #buddypress -} // close .bp-user - -/** - *------------------------------------------- - * @subsection 6.2.2.2 - Extended Profiles - *------------------------------------------- - */ - -.bp-user { - - #buddypress { - - .profile { - - .bp-widget { - - h2 { - background: lighten($dark-background, 10%); - color: #fff; - margin-bottom: 0; - padding: 0.4em; - } - - table { - margin-top: 0; - } - } - - #profile-edit-form { - - .button-nav:before, - .button-nav:after { - content: " "; - display: table; - } - - .button-nav:after { - clear: both; - } - - ul.button-nav { - border-bottom: 1px solid $border-light; - margin-left: 0; - padding: 0; - - li { - float: left; - margin-bottom: 0; - - &.current { - border: 1px solid $border-light; - border-bottom-color: #fff; - margin-bottom: -1px; - } - } // li - - a { - background: none; - border: 0; - - @include font-size(18); - } - } //.button-nav - - .field-visibility-settings-toggle, - .field-visibility-settings { - - @include font-size(14); - } - - .field-visibility-settings-close, - .visibility-toggle-link { - background: $dark-background; - color: #fff; - padding: 0.2em 0.5em; - } - } // close profile form - - .bp-avatar { - - #bp-delete-avatar { - - a { - font-size: inherit; - } - } - } - } // close .profile - } // close #buddyPress -} // close .bp-user - -/** - *------------------------------------------- - * @subsection 6.2.2.3 - Groups - *------------------------------------------- - */ - -.bp-user { - - #buddypress { - - #groups-list { - - li { - - .item { - - @media screen and (min-width: 77.5em) { - left: 5%; - width: 50%; - } - } - } - } - } -} - -/** - *------------------------------------------- - * @subsection 6.2.2.5 - Private Messaging - *------------------------------------------- - */ - -.bp-user { - - #buddypress { - - #message-thread { - //Single message view - a { - border-bottom: 0; - } - - #message-subject { - background: lighten($dark-background, 10%); - color: $content-background; - padding: 0.3em 0 0.3em 0.2em; - } - - #message-recipients { - font-style: italic; - - a.confirm { - border: 1px solid $border-light; - font-style: normal; - } - } - - .message-metadata { - - &:after { - clear: both; - content: ""; - display: table; - } - - img.avatar { - float: none; - } - - @media screen and (min-width: 46.25em) { - - img.avatar { - float: left; - } - } - - .message-star-actions { - float: right; - margin-right: $spacing-val-xs; - position: static; - } - } // close .message-meta - - .message-content { - background: $light-background; - border: 1px solid $border-light; - margin: $spacing-val-sm 0 0 0; - padding: 0.3em; - } - - #send-reply { - - .message-content { - background: $content-background; - border: 0; - } - } - - .alt { - background: $content-background; - } - } // close message-thread Singular view! - - #message-threads { - - thead { - - tr { - background: lighten($dark-background, 10%); - } - } - - tr { - - td { - background: $content-background; - display: inline-block; - float: left; - } - - td.thread-star, - td.thread-options { - border-bottom-color: $medium-background; - border-bottom-width: 2px; - height: 2.4em; - padding-bottom: 0.2em; - padding-top: 0.2em; - - @media screen and (max-width: 46.25em) { - padding-top: 0; - - span.icon:before { - font-size: 14px; - } - } - } - - .thread-checkbox { - padding: 0 0 0 0.3em; - } - - td.bulk-select-check, - td.thread-from { - height: 3em; - - @media screen and (max-width: 38.75em) { - height: 5.2em; - } - } - - td.thread-from, - td.thread-options { - border-left: 0 !important; - - @include calc(width, "100% - 30px"); - margin-left: 0; - } - - td.thread-info { - padding-left: 41px; - width: 100%; - - .thread-excerpt { - - @include font-size(14); - } - } - - td.thread-options { - text-align: right; - - a { - - @include font-size(12); - line-height: 2.2; - } - } - - span.from { - display: none; - } - - span.activity { - display: block; - float: right; - line-height: 2; - - @media screen and (max-width: 38.75em) { - clear: both; - - @include font-size(12); - width: 100%; - } - } - } - - tr.unread { - - td { - background: $unread; - border-color: $border-color; - } - } - - th { - display: none; - } - - th.bulk-select-all { - border-bottom: 0; - display: inline-block; - text-align: left; - } - - th.bulk-select-all, - td.bulk-select-check, - td.thread-star { - border-right: 0; - width: 30px; - } - } - - .acfb-holder { - list-style: none; - margin: 0; - padding: 0; - - li { - margin-left: 0; - } - - li.friend-tab { - background: lighten($notice-info, 20%); - border: inherit; - margin-right: 0; - padding: 0.5em; - - span.p { - // the 'X' close - padding-left: $spacing-val-sm; - - &:focus, - &:hover { - color: $link-action; - cursor: pointer; - } - } - - a { - border-bottom: 0; - text-decoration: none; - - img { - // this is the tiny user avatar - display: inline; - height: 20px; - vertical-align: middle; - width: 20px !important; // override inline style - } - } - } - } - - .sitewide-notices { - - tr { - - td:first-child { - display: none; - } - } - - td { - - strong { - background: lighten($dark-background, 10%); - color: $content-background; - display: block; - padding-left: 0.2em; - } - } - } - } // close #buddypress - - // acfb auto complete name list sits in doc footer before body close - .ac_results { - background: #eee; - padding-left: $spacing-val-sm; - - ul { - list-style: none; - margin: 0; - padding: 0; - } - - li { - margin: $spacing-val-sm 0; - - &:focus, - &:hover { - cursor: pointer; - } - } - } - -} // close .bp-user - -/** - *------------------------------ - * @subsection 6.2.2.6 - Settings - *------------------------------ - */ - -.bp-user { - - #buddypress { - - #settings-form { - padding: 0 $spacing-val-sm; - // 'p' = email notification screen sub heading - > p { - - @include font-size(20); - margin: $spacing-val-md 0 $spacing-val-sm; - } - } - - table.notification-settings { - - td.yes, - td.no { - vertical-align: middle; - } - } - // Profile table td widths - table.profile-settings { - width: 100%; - - th.field-group-name, - td.field-name { - width: 50%; - } - - @media screen and (min-width: 46.25em) { - - th.field-group-name, - td.field-name { - width: 70%; - } - } - - th.title, - td.field-visibility { - width: 30%; - } - - td.field-visibility { - - select { - width: 100%; - } - } - } - - } // close #buddyPress - -} // close .bp-user - -/** -*------------------------------------------------------------------------------- -* @section 7.0 - Forms - General -*------------------------------------------------------------------------------- -*/ -// Attempt to reset form control widths -#main { - - #buddypress { - - .standard-form { - - li { - float: none; - } - - input[type="text"], - input[type="email"], - input[type="password"], - textarea { - width: 100%; - } - } - } -} - - -#buddypress { - - // Match BP form elements to Themes(2013) styling where styles - // are not inherited or being overriden. - div.activity-comments { - - form { - - .ac-textarea { - background: $light-background; - border: 1px solid rgba($border-color, 0.5); - - textarea { - background: none; - border: 0; - } - } - } - } - - .standard-form { - - // Keep BP form element borders to 1px rather than 2013 2px - input[type="text"], - input[type="email"], - input[type="password"], - button, - select, - textarea { - border-color: rgba($border-color, 0.5); - border-width: 1px; - } - - } // close .standard-form - - #signup_form.standard-form { - - div.submit { - float: none; - - input { - margin-right: 0; - } - } - } - -} // close #buddypress - -#buddypress { - - div.dir-search, - div.message-search, - li.groups-members-search { - float: none; - margin: $spacing-val-sm 0; - - // Stylise the seach form elements, in part this deals with padding - // issues on the submit & sizing issues between bp styles & twentythirteen - - form { // *sigh* only to bludgeon over specified rules - border: 1px solid rgba($border-color, 0.6); - overflow: hidden; - - label { - float: left; - width: 60%; - - @media screen and (min-width: 46.25em) { - width: 80%; - } - } - - input[type="text"] { - float: left; - margin: 0; - width: 100%; - } - - input[type="text"], - input[type="submit"] { - - @include font-size(14); - border: 0; - line-height: inherit; - } - - input[type="text"] { - border-right: 1px solid rgba($border-color, 0.6); - padding: 0.2em 0 0.2em 0.2em; - } - - input[type="submit"] { - float: right; - font-weight: 400; - padding: 0.2em 1em; - text-align: center; - text-transform: none; - width: 40%; - - @media screen and (min-width: 46.25em) { - width: 20%; - } - - } - } // close form - - } // close .dir-search, .message-search - - // Shift the search parent to the right and allow to shrinkwrap - @media screen and (min-width: 38.75em) { - - div.dir-search, - div.message-search, - li.groups-members-search { - float: right; - margin-bottom: 5px !important; - - form { - - label, - input[type="text"], - input[type="submit"] { - width: auto; - } - } - } - - } // close @media - - - @media screen and (min-width: 77.5em) { - - .dir-search, - .message-search { - - form { - - input[type="text"] { - - @include font-size(16); - } - - input[type="submit"] { - - @include font-size(16); - } - } - } - } - -} // close #buddypress - -/** -*------------------------------------------------------------------------------- -* @section 8.0 - Tables - General -*------------------------------------------------------------------------------- -*/ - -// Adjust table font sizes, default too large proportionally -// This approach will require refinement and perhaps re-location to -// a more general typography section to manage BP elements grouped under -// breakpoints. Provide top/bottom margins for tables, lacking in BP styles - -#buddypress { - - table { - - @include font-size(14); - margin: $spacing-val-md 0; - - tr th { - background: lighten($dark-background, 10%); - border-color: darken($border-light, 20%); - color: $content-background; - } - - // twentythirteen removes left padding, replace! - th, - td { - padding: 0.3em; - } - - // Reduce the themes inherited paragraph margins in tables - p { - margin-bottom: 0.5em; - } - } - - @media screen and (min-width: 55em) { - - table { - - @include font-size(16); - } - } -} - -/*__ User Account tables __*/ - -#buddypress { - - // Manage some table cells widths that are disproportionate to their content - .notifications, - .messages-notices { - - th { - width: 30%; - - &.bulk-select-all { - text-align: center; - width: 10%; - } - } - - .bulk-select-check, - .thread-star { - text-align: center; - } - - .notification-actions, - td.thread-options { - text-align: center; - - a { - display: inline-block; - margin: 0; - padding: 0; - } - } - - // Notices action buttons, this maybe better moved, temp for now to address - // styling issues - this will need styling ideas - td { - - .button { - border: 0; - display: block; - padding: 0; - text-align: center; - } - } - - } // .notifications, .message-notices - -} // #buddypress - -/** -*------------------------------------------------------------------------------- -* @section 9.0 - Error / Success messages -*------------------------------------------------------------------------------- -*/ - -// message args ($variable-color, text-color) -// Leave text-color undefined to automagically set text color -// to background color darker by 50% - -#buddypress { - - div#message { - - p { - - @include font-size(18); - font-weight: 700; - } - - &.info { - - p { - - @include message-box($notice-info); - } - } - - &.updated { - - p { - - @include message-box($notice-update); - } - } - - } // close #message - -} // close #buddypress - -// Without direct classes on our mesages ( 'warning' ) -// we need to use the body classes -// @todo If this class .warning is included in main BP styles remove from here -.delete-group { - - #buddypress { - - div#message.info { - - p { - - @include message-box($notice-warning); - } - } - } -} - -/** -*------------------------------------------------------------------------------- -* @section 10.0 - Ajax Loading, Widgets, General classes -*------------------------------------------------------------------------------- -*/ diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/063/063.test.js b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/063/063.test.js deleted file mode 100644 index cabaa85c5b90a4..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/063/063.test.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -const stylelint = require( 'stylelint' ), - systemTestUtils = require( '../systemTestUtils.js' ); - -it( '063', () => { - return stylelint.lint({ - files: [systemTestUtils.caseStylesheetGlob( '063' )], - configFile: systemTestUtils.caseConfig( '063' ), - }).then( ({ results }) => { - expect( systemTestUtils.prepResults( results ) ).toMatchSnapshot(); - }); -}); diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/063/__snapshots__/063.test.js.snap b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/063/__snapshots__/063.test.js.snap deleted file mode 100644 index 51dc8341f0f6c4..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/063/__snapshots__/063.test.js.snap +++ /dev/null @@ -1,317 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`063 1`] = ` -Array [ - Object { - "deprecations": Array [], - "errored": true, - "ignored": undefined, - "invalidOptionWarnings": Array [], - "parseErrors": Array [], - "source": "063/stylesheet.scss", - "warnings": Array [ - Object { - "column": 4, - "line": 110, - "rule": "at-rule-empty-line-before", - "severity": "error", - "text": "Expected empty line before at-rule (at-rule-empty-line-before)", - }, - Object { - "column": 1, - "line": 34, - "rule": "at-rule-no-unknown", - "severity": "error", - "text": "Unexpected unknown at-rule \\"@mixin\\" (at-rule-no-unknown)", - }, - Object { - "column": 1, - "line": 47, - "rule": "at-rule-no-unknown", - "severity": "error", - "text": "Unexpected unknown at-rule \\"@mixin\\" (at-rule-no-unknown)", - }, - Object { - "column": 1, - "line": 55, - "rule": "at-rule-no-unknown", - "severity": "error", - "text": "Unexpected unknown at-rule \\"@mixin\\" (at-rule-no-unknown)", - }, - Object { - "column": 1, - "line": 63, - "rule": "at-rule-no-unknown", - "severity": "error", - "text": "Unexpected unknown at-rule \\"@mixin\\" (at-rule-no-unknown)", - }, - Object { - "column": 1, - "line": 71, - "rule": "at-rule-no-unknown", - "severity": "error", - "text": "Unexpected unknown at-rule \\"@mixin\\" (at-rule-no-unknown)", - }, - Object { - "column": 1, - "line": 79, - "rule": "at-rule-no-unknown", - "severity": "error", - "text": "Unexpected unknown at-rule \\"@mixin\\" (at-rule-no-unknown)", - }, - Object { - "column": 1, - "line": 88, - "rule": "at-rule-no-unknown", - "severity": "error", - "text": "Unexpected unknown at-rule \\"@mixin\\" (at-rule-no-unknown)", - }, - Object { - "column": 1, - "line": 95, - "rule": "at-rule-no-unknown", - "severity": "error", - "text": "Unexpected unknown at-rule \\"@mixin\\" (at-rule-no-unknown)", - }, - Object { - "column": 1, - "line": 105, - "rule": "at-rule-no-unknown", - "severity": "error", - "text": "Unexpected unknown at-rule \\"@mixin\\" (at-rule-no-unknown)", - }, - Object { - "column": 2, - "line": 107, - "rule": "at-rule-no-unknown", - "severity": "error", - "text": "Unexpected unknown at-rule \\"@if\\" (at-rule-no-unknown)", - }, - Object { - "column": 4, - "line": 110, - "rule": "at-rule-no-unknown", - "severity": "error", - "text": "Unexpected unknown at-rule \\"@else\\" (at-rule-no-unknown)", - }, - Object { - "column": 1, - "line": 120, - "rule": "at-rule-no-unknown", - "severity": "error", - "text": "Unexpected unknown at-rule \\"@mixin\\" (at-rule-no-unknown)", - }, - Object { - "column": 1, - "line": 145, - "rule": "at-rule-no-unknown", - "severity": "error", - "text": "Unexpected unknown at-rule \\"@mixin\\" (at-rule-no-unknown)", - }, - Object { - "column": 6, - "line": 331, - "rule": "at-rule-no-unknown", - "severity": "error", - "text": "Unexpected unknown at-rule \\"@include\\" (at-rule-no-unknown)", - }, - Object { - "column": 5, - "line": 529, - "rule": "at-rule-no-unknown", - "severity": "error", - "text": "Unexpected unknown at-rule \\"@include\\" (at-rule-no-unknown)", - }, - Object { - "column": 5, - "line": 536, - "rule": "at-rule-no-unknown", - "severity": "error", - "text": "Unexpected unknown at-rule \\"@include\\" (at-rule-no-unknown)", - }, - Object { - "column": 8, - "line": 663, - "rule": "at-rule-no-unknown", - "severity": "error", - "text": "Unexpected unknown at-rule \\"@include\\" (at-rule-no-unknown)", - }, - Object { - "column": 6, - "line": 808, - "rule": "at-rule-no-unknown", - "severity": "error", - "text": "Unexpected unknown at-rule \\"@include\\" (at-rule-no-unknown)", - }, - Object { - "column": 6, - "line": 960, - "rule": "at-rule-no-unknown", - "severity": "error", - "text": "Unexpected unknown at-rule \\"@include\\" (at-rule-no-unknown)", - }, - Object { - "column": 3, - "line": 1005, - "rule": "at-rule-no-unknown", - "severity": "error", - "text": "Unexpected unknown at-rule \\"@include\\" (at-rule-no-unknown)", - }, - Object { - "column": 3, - "line": 1006, - "rule": "at-rule-no-unknown", - "severity": "error", - "text": "Unexpected unknown at-rule \\"@include\\" (at-rule-no-unknown)", - }, - Object { - "column": 4, - "line": 1015, - "rule": "at-rule-no-unknown", - "severity": "error", - "text": "Unexpected unknown at-rule \\"@include\\" (at-rule-no-unknown)", - }, - Object { - "column": 6, - "line": 1112, - "rule": "at-rule-no-unknown", - "severity": "error", - "text": "Unexpected unknown at-rule \\"@include\\" (at-rule-no-unknown)", - }, - Object { - "column": 7, - "line": 1180, - "rule": "at-rule-no-unknown", - "severity": "error", - "text": "Unexpected unknown at-rule \\"@include\\" (at-rule-no-unknown)", - }, - Object { - "column": 4, - "line": 1238, - "rule": "at-rule-no-unknown", - "severity": "error", - "text": "Unexpected unknown at-rule \\"@include\\" (at-rule-no-unknown)", - }, - Object { - "column": 5, - "line": 1379, - "rule": "at-rule-no-unknown", - "severity": "error", - "text": "Unexpected unknown at-rule \\"@include\\" (at-rule-no-unknown)", - }, - Object { - "column": 6, - "line": 1538, - "rule": "at-rule-no-unknown", - "severity": "error", - "text": "Unexpected unknown at-rule \\"@include\\" (at-rule-no-unknown)", - }, - Object { - "column": 5, - "line": 1545, - "rule": "at-rule-no-unknown", - "severity": "error", - "text": "Unexpected unknown at-rule \\"@include\\" (at-rule-no-unknown)", - }, - Object { - "column": 5, - "line": 1585, - "rule": "at-rule-no-unknown", - "severity": "error", - "text": "Unexpected unknown at-rule \\"@include\\" (at-rule-no-unknown)", - }, - Object { - "column": 5, - "line": 1618, - "rule": "at-rule-no-unknown", - "severity": "error", - "text": "Unexpected unknown at-rule \\"@include\\" (at-rule-no-unknown)", - }, - Object { - "column": 6, - "line": 1633, - "rule": "at-rule-no-unknown", - "severity": "error", - "text": "Unexpected unknown at-rule \\"@include\\" (at-rule-no-unknown)", - }, - Object { - "column": 6, - "line": 1650, - "rule": "at-rule-no-unknown", - "severity": "error", - "text": "Unexpected unknown at-rule \\"@include\\" (at-rule-no-unknown)", - }, - Object { - "column": 4, - "line": 1689, - "rule": "at-rule-no-unknown", - "severity": "error", - "text": "Unexpected unknown at-rule \\"@include\\" (at-rule-no-unknown)", - }, - Object { - "column": 5, - "line": 1753, - "rule": "at-rule-no-unknown", - "severity": "error", - "text": "Unexpected unknown at-rule \\"@include\\" (at-rule-no-unknown)", - }, - Object { - "column": 5, - "line": 1754, - "rule": "at-rule-no-unknown", - "severity": "error", - "text": "Unexpected unknown at-rule \\"@include\\" (at-rule-no-unknown)", - }, - Object { - "column": 4, - "line": 1838, - "rule": "at-rule-no-unknown", - "severity": "error", - "text": "Unexpected unknown at-rule \\"@include\\" (at-rule-no-unknown)", - }, - Object { - "column": 5, - "line": 1957, - "rule": "at-rule-no-unknown", - "severity": "error", - "text": "Unexpected unknown at-rule \\"@include\\" (at-rule-no-unknown)", - }, - Object { - "column": 4, - "line": 2049, - "rule": "at-rule-no-unknown", - "severity": "error", - "text": "Unexpected unknown at-rule \\"@include\\" (at-rule-no-unknown)", - }, - Object { - "column": 5, - "line": 2057, - "rule": "at-rule-no-unknown", - "severity": "error", - "text": "Unexpected unknown at-rule \\"@include\\" (at-rule-no-unknown)", - }, - Object { - "column": 5, - "line": 2065, - "rule": "at-rule-no-unknown", - "severity": "error", - "text": "Unexpected unknown at-rule \\"@include\\" (at-rule-no-unknown)", - }, - Object { - "column": 5, - "line": 2084, - "rule": "at-rule-no-unknown", - "severity": "error", - "text": "Unexpected unknown at-rule \\"@include\\" (at-rule-no-unknown)", - }, - Object { - "column": 3, - "line": 110, - "rule": "block-closing-brace-newline-after", - "severity": "error", - "text": "Expected newline after \\"}\\" (block-closing-brace-newline-after)", - }, - ], - }, -] -`; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/063/config.json b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/063/config.json deleted file mode 100644 index a8af7d5dcb61b9..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/063/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../index.js" -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/063/stylesheet.scss b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/063/stylesheet.scss deleted file mode 100644 index c13fff6d1e5cb8..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/063/stylesheet.scss +++ /dev/null @@ -1,2094 +0,0 @@ -// Stylesheet Guidence Notes -// Table of content represents a guide to sections of the sheet. -// Note that not all sections may be described in the body of the -// rulesets only those that require styles for a given theme. -// Sub sections might not exist but can be added as required -// as per BP Lists - 'activity' section. - -// We follow the dictats of the parent theme in respect of media queries, -// font sizing etc. Media queries are used in a modular sense (OOCSS) -// rather than described as blocks to the end of the sheet, this aids ease -// of managing media queries, scalability & flexibility. - -// Twentyfourteen Media Queries / Breakpoints -//@media screen and (max-width: 400px) -//@media screen and (min-width: 401px) -//@media screen and (min-width: 594px) -//@media screen and (min-width: 673px) -//@media screen and (min-width: 783px) -//@media screen and (min-width: 810px) -//@media screen and (min-width: 846px) -//@media screen and (min-width: 1008px) -//@media screen and (min-width: 1040px) -//@media screen and (min-width: 1110px) - -// Mixins and Variables - -// Common margin values -$spacing-val-lg: 40px; -$spacing-val-md: 20px; -$spacing-val-sm: 10px; -$spacing-val-xs: 5px; - -// A simple mixin to handle font-sizing to match 2014 body 100% approach -@mixin font-size($font-size: 16) { - $rem-font-value: ($font-size / 16); - font-size: ($font-size * 1px); - font-size: $rem-font-value + rem; -} - -// To allow mixins to pass VendorPrefix scss-lint tests we disable lint-test -// for specific blocks / rulesets -// until such time as exemption lists can be built for the scss-lint.yml? -// Any vendor prefix properties / mixins need to be in this block -// scss-lint:disable VendorPrefix - -// Border border-radius mixins -@mixin border-radius($radius) { - -webkit-border-radius: $radius; - -moz-border-radius: $radius; - -ms-border-radius: $radius; - border-radius: $radius; - background-clip: padding-box; -} - -@mixin border-top-radius($radius) { - -webkit-border-top-right-radius: $radius; - border-top-right-radius: $radius; - -webkit-border-top-left-radius: $radius; - border-top-left-radius: $radius; - background-clip: padding-box; -} - -@mixin border-right-radius($radius) { - -webkit-border-bottom-right-radius: $radius; - border-bottom-right-radius: $radius; - -webkit-border-top-right-radius: $radius; - border-top-right-radius: $radius; - background-clip: padding-box; -} - -@mixin border-bottom-radius($radius) { - -webkit-border-bottom-right-radius: $radius; - border-bottom-right-radius: $radius; - -webkit-border-bottom-left-radius: $radius; - border-bottom-left-radius: $radius; - background-clip: padding-box; -} - -@mixin border-left-radius($radius) { - -webkit-border-bottom-left-radius: $radius; - border-bottom-left-radius: $radius; - -webkit-border-top-left-radius: $radius; - border-top-left-radius: $radius; - background-clip: padding-box; -} - -// Box sizing -@mixin box-model($box-model: border-box) { - -webkit-box-sizing: $box-model; - -moz-box-sizing: $box-model; - box-sizing: $box-model; -} - -// Calc -@mixin calc($property, $expression) { - #{$property}: -webkit-calc(#{$expression}); - #{$property}: -moz-calc(#{$expression}); - #{$property}: calc(#{$expression}); -} - -// Re-enable the VendorPrefix lint test -// scss-lint:enable VendorPrefix - -// BP message boxes -@mixin message-box($background, $text-color: null) { - - @if $text-color { - // if a param was passed through - $text-color: $text-color; - } @else { - $text-color: darken($background, 50%); - } - - background: lighten($background, 10%); - border: 1px solid darken($background, 10%); - color: $text-color; -} - -// titles dark backgrounds -@mixin title-background-dark() { - background: lighten($dark-background, 30%); - color: $dark-back-text-color; -} - -// Variabals: color definitions -$content-background: #fff; -$dark-back-text-color: #fff; -$light-background: #f7f7f7; -$medium-background: #949494; -$dark-background: #000; -$border-color: #000; // border color can be varied using rgba -$border-med: rgba(#000, 0.2); -$border-light: rgba(#000, 0.1); // BP dividers -$body-text: #2b2b2b; // 2015 body text color -$bp-button-hover: #ededed; // this is the default BP button hover background -$notice-warning: #d05656; -$notice-info: #9fd1e2; -$notice-update: #ced98c; -$stripe-odd: #ebf0ff; -$stripe-even: #dbe5ff; -$unread: #cddaff; -$link-action: #c82b2b; - -// 2014 font family -@mixin default-font() { - font-family: Lato, sans-serif; -} - -/*------------------------------------------------------------------------------ - -This is the BuddyPress companion stylesheet for -the WordPress Twentyfourteen theme. - -This sheet supports the primary BuddyPress styles in buddypress.css - -If you are running as a child theme of twentyfourteen this stylesheet will be -loaded by default. If you want to modify the styles the normal BP Theme Compat -hierarchy works and you can copy the file to buddypress/css/ or community/css/ -in your child themes root & either start over or modify the ruelesets. - -If you do not require the styles you can dequeue them from the themes -functions file. - -Please see this codex article for more information: -http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ - --------------------------------------------------------------------------------- ->>> TABLE OF CONTENTS: --------------------------------------------------------------------------------- -1.0 Theme Structural Elements -2.0 - Navigation - General - 2.1 - Navs - Object Nav / Sub Nav (item-list-tabs) - 2.2 - Pagination -3.0 - Images -4.0 - BP Lists / Loops Generic - 4.1 - Activity Loop - 4.1.1 - Activity Whats new - 4.1.2 - Activity Listing - 4.1.3 - Activity Comments - 4.2 - Members Loop - 4.3 - Groups Loop - 4.4 - Blogs Loop -5.0 - Directories - Members, Groups, Blogs, Forums -6.0 - Single Item screens: User Account & Single Group Screens - 6.1 - Item Headers: Global - 6.1.1 - Item-header: Groups; - 6.1.2 - item-header: User Accounts - 6.2 - Item Body: Global - 6.2.1 - item-body: Groups - 6.2.1.1- Management settings screens - 6.2.1.2 - Group members list - 6.2.1.3 - Group Send Invites - 6.2.2 - item-body: User Accounts - 6.2.2.1 - classes, pag, filters - 6.2.2.2 - Extended Profiles - 6.2.2.3 - Groups - 6.2.2.4 - friends - 6.2.2.5 - Private Messaging Threads - 6.2.2.6 - Settings -7.0 - Forms - General -8.0 - Tables - General -9.0 - Error / Success Messages -10.0 - Ajax Loading -11.0 - Widgets -------------------------------------------------------------------------------*/ - -/** -*------------------------------------------------------------------------------- -* @section - 1.0 - Theme - Structural Elements -*------------------------------------------------------------------------------- -*/ - -// Twentyfourteen adds a generic grouped ruleset of clear:both; -// for all heading h# elements this is problematic where floats are concerned -// We reset this here under our #buddypress namespace -#buddypress { - - h1, - h2, - h3, - h4, - h5, - h6 { - clear: none; - } -} - -// As BP screens have specific content lets adjust the themes primary elements -// to maximise the screen real estate for BP pages. - -.buddypress { - - .site-content { - padding-bottom: $spacing-val-md; - padding-top: 4%; - - @media screen and (min-width: 59.6875em) { - padding-top: 0; - } - - article { - margin: 0 4%; - padding-top: 0; - - .entry-header, - .entry-content { - max-width: 100%; - padding: 0; - } - - #buddypress { - margin-bottom: $spacing-val-lg; - } - - } // .article - } // .content -} // .buddypress ( body class ) - -/** -* ------------------------------------------------------------------------------ -* @section 2.0 - Navigation - General -*------------------------------------------------------------------------------- -*/ - -/** -*---------------------------------------------------------- -* @subsection 2.1 - Object Nav / Subnav (item-list-tabs) -* -* The main navigational elements for all BP screens -*---------------------------------------------------------- -*/ -#buddypress { - - .item-list-tabs { - - ul { - - li { - width: 100%; - } - - @media screen and (min-width: 400px) { - - li { - width: 50%; - } - } - - @media screen and (min-width: 594px) { - - li { - width: auto; - } - } - - a { - color: #1b6e08; - } - } - } -} - -.directory #buddypress { - - .item-list-tabs { - - ul:before, - ul:after { - content: " "; - display: table; - } - - ul:after { - clear: both; - } - - ul { - border-bottom: 1px solid $border-med; - padding-bottom: $spacing-val-sm; - } - - @media screen and (min-width: 783px) { - - ul { - padding-bottom: 0; - - li.selected { - border: 1px solid $border-med; - border-bottom-color: $content-background; - - @include border-top-radius(4px); - margin-bottom: -1px; - - a { - background: none; - outline: none; - } - } - } - } // close @media - } // close .item-list-tabs - - #subnav { - - ul { - border-bottom: 0; - } - - a { - color: #1b6e08; - } - - } // close #subnav -} // close .directory #buddypress - -/* List last filters global */ -#buddypress { - - #subnav { - - li#activity-filter-select.last { - line-height: 2.1; - margin-top: 0; - } - } -} - -// Add a little bottom margin & border seperation to object/subnav -// & keep subnav to horizontal up to vert nav display for user/group screens - -@media screen and (max-width: 783px) { - - #buddypress { - - #object-nav { - - ul { - border-bottom: 1px solid $border-med; - overflow: hidden; - padding-bottom: $spacing-val-sm; - } - } - - div#subnav.item-list-tabs { - margin-bottom: $spacing-val-lg; - - ul { - - li { - width: auto; - } - } - } - } - -} // close @media - -/*__ Vertical Menu User Account Screens __*/ - -// This block contains the rules to re-factor the item-body structural element -// to sit alongside the vert menu & menu item styles. - -// Boders & backgrounds for user/group navs rely on one color -// set this here for convenience of changing and clarity -$nav-background-border: #bebebe; - -@media screen and (min-width: 783px) { - - .bp-user, - .single-item.groups { - - #buddypress { - background: lighten($nav-background-border, 10%); - } - } - - #buddypress { - - #item-header, - #item-body { - background: #fff; - } - - #item-body { - border-left: 1px solid $nav-background-border; - } - - #object-nav { - background: lighten($nav-background-border, 10%); - border-right: 1px solid $nav-background-border; - float: left; - margin-right: -1px; - width: 200px; - - ul { - border-bottom: 0; - border-top: 1px solid $nav-background-border; - padding: 0; - - li { - float: none; - overflow: hidden; - - &:focus, - &:hover { - background: lighten($nav-background-border, 20%); - } - - span { - border-radius: 10%; - float: right; - margin-right: 15px; - } - } - - li.current { - background: lighten($nav-background-border, 20%); - } - } - } - - #item-body { - overflow: hidden; - padding: 0 $spacing-val-md; - width: auto; - - #subnav { - border: 1px solid $nav-background-border; - border-left: 0; - border-right: 0; - margin: 0 (-$spacing-val-md) $spacing-val-md; - - li:focus, - li:hover { - background: lighten($nav-background-border, 20%); - } - - li.current { - background: lighten($nav-background-border, 20%); - } - - li#activity-filter-select { - - &:focus, - &:hover { - background: none; - } - - select { - max-width: 130px; - } - } - - } - } - } // close #buddypress -} // close @media - -/** -*---------------------------------------------------------- -* @subsection 2.2 - Pagination -*---------------------------------------------------------- -*/ - -#buddypress { - - div.pagination { - - .pag-count { - margin-left: 0; - } - } -} - -/** -*------------------------------------------------------------------------------- -* @section 4.0 - BP Lists / Loops Generic -*------------------------------------------------------------------------------- -*/ -#buddypress { - - .item-list { - - .item-title { - - a { - display: block; - - @include font-size(22); - text-decoration: none; - } - - span.update, - span a { - - @include font-size(12); - } - } - } -} - -// This block: -// - Manages li items, Stacks them small screen, floated left at wider screens. -// - Adjusts display of action buttons at small screen - -#buddypress { - - ul.item-list { - - li { - overflow: hidden !important; // buddypress styles over specified - - .item-avatar { - float: none; - margin-bottom: $spacing-val-md; - text-align: center; - - a { - - img.avatar { - float: none; - } - } - } - - div.item-title { - float: none; - width: 100%; - - > a { - text-align: center; - } - } - - .item { - margin-left: 0; - } - - // groups group description - div.item-desc { - margin-left: 0; - width: auto; - } - - div.action { - clear: both; - float: none; - margin: 0; - position: relative; - text-align: left; - - div { - margin: 0 0 $spacing-val-sm; - } - - } // close .action - - // item-list buttons blocked/full width for mobile/small screens - - .activity-meta, - .action { - float: none; - - a, - div { - display: block; - margin: $spacing-val-xs 0; - } - } - - @media screen and (min-width: 594px) { - - .item-avatar { - float: left; - margin-bottom: 0; - } - - div.item-title > a { - text-align: left; - } - - .item { - float: right; - margin-left: 5%; - width: 80%; - } - - .activity-meta { - clear: both; - - a, - div { - display: inline-block; - margin: $spacing-val-xs $spacing-val-xs 0 0; - } - } - - } // close @media - - @media screen and (min-width: 783px) { - - .item { - float: left; - width: 55%; - - div.item-desc { - margin: 0; - width: auto; - } - } - - div.action { - clear: none; - float: right; - top: 0; - width: 25%; - - div { - display: block; - - a { - - @include box-model(border-box); - display: block; - width: 100%; - } - } - - .meta { - text-align: center; - } - } // close .action - - } // close @media - - .meta, - .item-meta .activity { - font-style: italic; - } - - } // close li - } // ul.item-list -} // close #budypress - -/** -*------------------------------------------------------------ -* @section 4.1 - Activity -*------------------------------------------------------------ -*/ - -/** -*------------------------------------------------- -* @subsection 4.1.1 - Activity What's New -*------------------------------------------------- -*/ -#buddypress { - - form#whats-new-form { - margin: $spacing-val-lg 0; - - #whats-new-avatar { - float: none; - margin-bottom: $spacing-val-md; - text-align: center; - } - - #whats-new-content, - p.activity-greeting { - margin-left: 0; - padding-left: 0; - } - - // Line-height issue inherited from BP rules, override. - p.activity-greeting { - clear: left; - line-height: inherit; - margin-bottom: $spacing-val-xs; - } - - #whats-new-content { - - @media screen and (max-width: 594px) { - - #whats-new-options { - display: flex; - flex-direction: column; - - #whats-new-submit { - order: 2; - - input { - width: 100%; - } - } - - #whats-new-post-in-box { - margin-top: $spacing-val-sm; - order: 1; - - select { - margin-top: $spacing-val-xs; - max-width: 100%; - width: 100%; - } - } - } - } - } // close whats-new-content.active - - @media screen and (min-width: 594px) { - - #whats-new-avatar { - float: left; - } - - #whats-new-content, - p.activity-greeting { - clear: none; - overflow: hidden; - padding-left: $spacing-val-md; - } - } - } // close form#whats-new-form - -} // close #buddypress - -/** -*------------------------------------------------- -* @subsection 4.1.2 - Activity Listing -*------------------------------------------------- -*/ - -#buddypress { - - #activity-stream { - margin-top: $spacing-val-lg; - } - - .activity-list { - - li.activity-item:not(.mini) { - - .activity-avatar { - float: none; - margin-bottom: $spacing-val-sm; - text-align: center; - - img.avatar { - display: inline; - float: none; - } - } - } - - li.mini { - - .activity-avatar { - - img.avatar { - margin-left: 0; - } - } - - .activity-meta { - - a { - - @include font-size(12); - } - } - } - - .activity-content { - margin: 0; - - .activity-header { - margin: -0.5em 0 0; - - > p { - line-height: 1.4; - margin-top: -$spacing-val-sm; - } - - // BP adds !important. need to override prop val - img.avatar { - margin-bottom: 0 !important; - vertical-align: middle; - } - } - - .activity-inner { - margin: $spacing-val-sm 0; - } - } - - @media screen and (min-width: 594px) { - - li.activity-item:not(.mini) { - - .activity-avatar { - float: left; - margin: 0 $spacing-val-md 0 0; - - img.avatar { - display: inline; - float: none; - } - } - } - - li.mini { - - .activity-avatar { - margin: 0 $spacing-val-sm 0 5%; - } - } - - .activity-content { - margin-left: 0; - overflow: hidden; - } - } - - } // close .activity-list -} // close #buddypress - -// Activity Single Item 'Permalink' Page -body.activity-permalink { - - #buddypress { - // remove user account faux column background - background: transparent; - - .activity-list { - - li { - - @media screen and (max-width: 760px) { - - .activity-content, - .activity-comments { - margin-left: 0; - } - } - } - } - } -} - -/** -*------------------------------------------------- -* @subsection 4.1.3 - Activity Comments -*------------------------------------------------- -*/ - -#buddypress { - - .activity { - - .activity-comments { - margin-left: 0; - margin-top: 5px; - - @media screen and (min-width: 594px) { - margin-left: 70px; - } - - a { - color: #1b6e08; - } - - ul { - background: rgba($light-background, 0.6); - margin: 30px 0 0 2px; - } - - ul ul { - border-left: 1px solid $border-light; - padding-left: 2%; - } - - .acomment-meta { - color: #737373; - } - - // Display the user avatar stacked up to 594px - // reduce/widen the content margins - @media screen and (max-width: 400px) { - - .acomment-avatar { - display: block; - text-align: center; - - a, - img.avatar { - display: inline; - float: none; - } - } - - .acomment-content, - .acomment-meta, - .acomment-options { - margin: $spacing-val-xs; - } - - .acomment-content { - padding: 0 $spacing-val-sm; - } - } // close @media - - .ac-form { - - input[type="submit"], - .ac-reply-cancel { - color: rgba($body-text, 0.8); - display: inline-block; - font-family: inherit; - - @include font-size(12); - font-weight: 400; - line-height: 1.2; - padding: 4px 10px; - text-transform: lowercase; - width: 100px; - } - - .ac-reply-cancel { - border: 1px solid $border-med; - text-align: center; - - &:focus, - &:hover { - background: $bp-button-hover; - } - } - - } // close .ac-form - - } // close .activity-comments - } // close .activity - -} // close #buddypress - - -/** -*------------------------------------------------------------ -* @section 4.2 - Members Loop -*------------------------------------------------------------ -*/ - - -/* -*------------------------------------------------------------------------------- -* @section 6.0 - Single Item screens -*------------------------------------------------------------------------------- -*/ - -/* groups & user account page entry title */ -.single-item.groups, -.bp-user { - - .entry-title { - - @include title-background-dark(); - @include font-size(22); - margin-bottom: $spacing-val-sm; - padding: 0.2em; - } - - @media screen and (min-width: 673px) { - - .entry-title { - - @include font-size(28); - } - } - -} // close #buddypress - -/** -*------------------------------------------------------------ -* @subsection 6.1 - Item Header: Global -*------------------------------------------------------------ -*/ -// override BP margins - users/groups manage their own styles later on -#buddypress { - - div#item-header { - padding-bottom: $spacing-val-sm; - - img.avatar { - margin: 0 $spacing-val-md $spacing-val-sm 0; - } - - // Prevent messages block abutting bottom of floats, with padding-top - #message { - clear: both; - margin-bottom: $spacing-val-xs; - padding-top: $spacing-val-sm; - - p { - margin-bottom: 0; - } - } - } -} - -/** -*------------------------------------------------- -* @subsection 6.1.1 - item-header: Groups -*------------------------------------------------- -*/ -.single-item.groups { - - #buddypress { - - @media screen and (max-width: 594px) { - - div#item-header { - display: flex; - flex-direction: column; - - #item-header-avatar { - order: 1; - text-align: center; - - a { - border-bottom: 0; - - img { - display: inline-block; - float: none; - } - } - } - - #item-header-content { - order: 2; - } - - #item-actions { - margin-left: 0; - order: 3; - text-align: left; - - ul { - margin-left: 0; - - li { - float: left; - } - } - } // close #item-actions - - #message { - order: 4; - } - - } - } // close @media - - #item-header { - - #item-actions { - float: none; - margin: 0 0 0 $spacing-val-md; - width: auto; - - h2 { - - @include font-size(20); - } - } - - #item-header-avatar { - text-align: center; - } - - #item-header-content { - float: none; - overflow: hidden; - } - - @media screen and (min-width: 594px) { - - #item-actions { - float: right; - } - - #item-header-avatar { - float: left; - } - - #item-header-content { - float: none; - overflow: hidden; - } - }// close @media - - } - } -} // close .single-item.groups - -/** -*------------------------------------------------- -* @subsection 6.1.2 - item-header: User Accounts -*------------------------------------------------- -*/ - -.bp-user #buddypress { - - #item-header { - - #item-header-avatar { - text-align: center; - width: 100%; - - img { - float: none; - } - } - - #latest-update { - margin-bottom: $spacing-val-sm; - } - - @media screen and (max-width: 594px) { - - #item-buttons { - - div.generic-button { - display: inline-block; - float: none; - margin: 0 0 $spacing-val-xs 0; - width: 100%; - - a { - - @include box-model(); - display: block; - width: 100%; - } - } - } - } - - @media screen and (min-width: 673px) { - - #item-header-avatar { - float: left; - overflow: hidden; - text-align: left; - width: 20%; - } - - #item-header-content { - float: right; - width: 78%; - - #latest-update { - margin-bottom: $spacing-val-md; - } - } - } - - } // close #item-header - -} // close .bp-user #buddypress - -/** -*------------------------------------------------------------ -* @subsection 6.2 - Item Body: Global -*------------------------------------------------------------ -*/ - -/** -*------------------------------------------------- -* @subsection 6.2.1 - item-body: Groups -*------------------------------------------------- -*/ - -/** - *------------------------------ - * 6.2.1.1 - Groups Management - *------------------------------ - */ - -/* Settings */ - -#group-settings-form, -#create-group-form { - - .radio { - - strong { - - @include font-size(18); - } - - ul { - color: lighten($body-text, 25%); - } - } - - #group-creation-previous { - margin: $spacing-val-sm 0; - } -} - -/* Manage Members */ -.groups.manage-members { - - #group-settings-form { - - h3 { - margin-top: $spacing-val-lg; - } - - .item-list { - background: $light-background; - border-top: 0; - padding: 0 0.5em; - - li { - border-bottom: 1px solid $border-light; - - &:last-child { - border-bottom: 0; - } - - img, - h5 { - clear: none; - float: left; - - > a { - border-bottom: 0; - color: #22830c; - } - } - - span.small { - display: block; - float: none; - margin-top: $spacing-val-sm; - width: 100%; - - a { - display: inline-block; - margin: $spacing-val-xs 0; - width: 100%; - - @media screen and (min-width: 38.75em) { - width: auto; - } - } - } - - h5 { - margin: 0; - } - - } - } - } -} // close .groups.manage-members - -/** - *------------------------------ - * 6.2.1.2 - Group Members List - *------------------------------ - */ - -#buddypress { - - #members-group-list { - - .item-list { - - h5 { - display: inline-block; - margin: 0; - } - - span.activity { - padding-left: $spacing-val-sm; - } - } - } -} // close #buddypress - -#buddypress { - - #item-body { - - #subnav { - - li.groups-members-search:focus, - li.groups-members-search:hover, - li.last:focus, - li.last:hover { - background: none; - } - } - } -} - -// Need to target groups members via body classes -.groups.group-members { - - #subnav { - - ul:before, - ul:after { - content: " "; - display: table; - } - - ul:after { - clear: both; - } - - ul { - padding: $spacing-val-xs 0; - } - - - li { - - @media screen and (max-width: 400px) { - background: $content-background; - padding: $spacing-val-sm 0; - width: 100% !important; - } - - #search-members-form { - - @include box-model(border-box); - float: left; - - @media screen and (max-width: 400px) { - margin: 0; - width: 100%; - - label { - - input[type="text"] { - width: 100%; - } - } - } - - @media screen and (min-width: 783px) { - margin-left: 3px; - } - } - - } - - } // close #subnav -} // close .groups.group-members - -/** - *------------------------------ - * 6.2.1.3 - Groups Send Invites - *------------------------------ - */ - -.send-invites { - - #buddypress { - - #item-body { - - @media screen and (min-width: 783px) { - border-top: 1px solid $nav-background-border; - } - - @media screen and (max-width: 400px) { - - .left-menu { - float: none; - - #invite-list { - height: auto; - width: auto; - } - } - - .main-column { - margin-left: 0; - } - } - - li { - - img.avatar { - display: block; - float: none; - margin: $spacing-val-sm auto; - } - - .action { - margin-top: $spacing-val-sm; - text-align: left; - width: 100%; - - @media screen and (min-width: 38.75em) { - text-align: right; - } - } - } - - @media screen and (min-width: 594px) { - - #invite-list { - width: 160px; - } - - .main-column { - margin-left: 190px; - } - - li { - - img.avatar { - float: left; - margin: 0 $spacing-val-sm 0 0; - } - } - } - - } - } -} - -/** -*------------------------------------------------- -* @subsection 6.2.2 - item-body: User Accounts -*------------------------------------------------- -*/ - - -/** - *------------------------------ - * 6.2.2.2 - Extended Profiles - *------------------------------ - */ - - -#buddypress { - - .profile { - - .bp-widget { - - h2 { - background: $medium-background; - color: #fff; - padding: 0.4em 0.2em; - } - } - - // Edit profile - - #profile-edit-form { - - .button-nav:before, - .button-nav:after { - content: " "; - display: table; - } - - .button-nav:after { - clear: both; - } - - ul.button-nav { - border-bottom: 1px solid $border-light; - margin-left: 0; - - li { - float: left; - margin-bottom: 0; - - &.current { - border: 1px solid $border-light; - border-bottom-color: #fff; - margin-bottom: -1px; - } - } // li - - a { - background: none; - border: 0; - - @include font-size(18); - } - } //.button-nav - - .field-visibility-settings-toggle, - .field-visibility-settings { - - @include font-size(14); - } - - .field-visibility-settings-close, - .visibility-toggle-link { - background: $dark-background; - color: #fff; - padding: 0.2em 0.5em; - } - } // close profile form - - } // close .profile -} // close #buddypress - user acounts item-body - -/** - *------------------------------ - * @subsection 6.2.2.5 - Messaging - *------------------------------ - */ - -#buddypress { - - table#message-threads { - border-left: 1px solid $border-med; - border-right: 1px solid $border-med; - - tbody > tr:first-child { - - td.bulk-select-check, - td.thread-from { - border-top: 1px solid $border-med; - } - } - - tr { - - td { - background: $content-background; - border-right: 0 !important; - - @include box-model(border-box); - display: inline-block; - float: left; - } - - td.thread-star, - td.thread-options { - border-bottom-color: darken($border-med, 5%); - border-bottom-width: 2px; - border-left: 0; - height: 2.4em; - padding-bottom: 0.2em; - padding-top: 0.2em; - - @media screen and (max-width: 549px) { - padding-top: 0; - } - } - - td.bulk-select-check, - td.thread-from { - border-left: 0; - height: 2.6em; - - @media screen and (max-width: 320px) { - height: 5.2em; - } - } - - td.thread-from, - td.thread-options { - border-left: 0; - - @include calc(width, "100% - 30px"); - margin-left: 0; - } - - td.thread-info { - border-left: 0; - padding-left: 41px; - width: 100%; - } - - td.thread-options { - text-align: right; - - a { - - @include font-size(12); - line-height: 2.2; - } - } - - span.from { - display: none; - } - - span.activity { - display: block; - float: right; - line-height: 2; - - @media screen and (max-width: 320px) { - clear: both; - - @include font-size(11); - width: 100%; - } - } - } - - tr.unread { - - td { - background: lighten($unread, 7%); - border-color: $border-med; - border-top: 0; - border-width: 1px; - } - } - - th { - display: none; - } - - th.bulk-select-all { - border-bottom: 0; - display: inline-block; - text-align: left; - } - - th.bulk-select-all, - td.bulk-select-check, - td.thread-star { - border-right: 0; - width: 30px; - } - - } // close #messages-threads - - #message-thread { - - #message-subject { - - @include title-background-dark(); - padding: 0.5em; - } - - .message-box { - - .message-metadata { - margin-bottom: $spacing-val-sm; - } - - .message-content { - clear: left; - margin-left: 0; - } - } - } - - .acfb-holder { - list-style: none; - margin: 0; - - li { - margin-left: 0; - } - - li.friend-tab { - background: lighten($notice-info, 20%); - border: inherit; - margin-right: 0; - padding: 0.5em; - - span.p { - // the 'X' close - padding-left: $spacing-val-sm; - - &:focus, - &:hover { - color: $link-action; - cursor: pointer; - } - } - - a { - border-bottom: 0; - text-decoration: none; - - img { - // this is the tiny user avatar - display: inline; - height: 20px; - vertical-align: middle; - width: 20px !important; // override inline style - } - } - } - } - - #message-threads.sitewide-notices { - - td { - width: 100%; - - strong { - - @include title-background-dark(); - @include font-size(16); - display: block; - margin-bottom: 0.4em; - padding: 0.2em; - } - - a { - display: inline-block; - line-height: initial; - } - } - - td:first-child { - display: none; - } - - td:first-child + td + td { - // notice date - border-bottom: 0; - - span { - line-height: 1; - } - } - - td:last-child { - // notice actions - border-bottom-color: $border-med; - line-height: 1; - text-align: right; - - a:last-child { - // hide the 'x' text - line-height: 0; - margin-left: 0.7em; - text-indent: -999em; - } - - a:last-child:after { - content: attr(title); - display: block; - line-height: initial; - text-indent: 0; - } - } - } - -} // close #buddypress - user acounts item-body - -.bp-user { - - // acfb auto complete name list sits in doc footer before body close - .ac_results { - background: #eee; - padding-left: $spacing-val-sm; - - ul { - margin: 0; - } - - li { - margin: $spacing-val-sm 0; - - &:focus, - &:hover { - cursor: pointer; - } - } - } - -} - -/** - *------------------------------ - * @subsection 6.2.2.6 - Settings - *------------------------------ - */ - -#buddypress { - - #settings-form { - // 'p' = email notification screen sub heading - > p { - - @include font-size(20); - } - } - - table.notification-settings { - - td.yes, - td.no { - vertical-align: middle; - } - } - // Profile table td widths - table.profile-settings { - width: 100%; - - th.field-group-name, - td.field-name { - width: 50%; - } - - @media screen and (min-width: 401px) { - - th.field-group-name, - td.field-name { - width: 70%; - } - } - - td.field-visibility { - - select { - width: 100%; - } - } - } -} // close #buddypress - user acounts item-body - -/*------------------------------------------------------------------------------ -* @section - 7.0 - Forms - General -*------------------------------------------------------------------------------- -*/ - -// Match BP form elements to Themes(2014) styling where styles -// are not inherited or being overriden. -#buddypress { - - input[type="text"], - input[type="email"], - input[type="password"], - input[type="submit"], - select, - textarea { - border: 1px solid $border-med; - } - - .standard-form { - - input[type="text"], - input[type="email"], - input[type="password"], - input[type="submit"], - textarea { - width: 100%; - } - } - - // BP :( - #send-reply.standard-form textarea { - width: 100%; - } - - div.activity-comments { - - form { - - .ac-textarea { - background: $light-background; - border: 1px solid $border-med; - - textarea { - background: none; - border: 0; - } - } - } - } - -} // close #buddypress - -#buddypress { - - div.dir-search, - div.message-search, - li.groups-members-search { - clear: both; - float: none; - margin: $spacing-val-sm 0; - - // Stylise the seach form elements, in part this deals with padding - // issues on the submit & sizing issues between bp styles & twentyfourteen - form { - border: 1px solid #ccc; - overflow: hidden; - - label { - float: left; - width: 80%; - } - - input[type="text"] { - float: left; - margin: 0; - width: 80%; - } - - input[type="text"], - input[type="submit"] { - border: 0; - - @include font-size(14); - line-height: inherit; - } - - input[type="text"] { - border-right: 1px solid #ccc; - padding: 0.2em 0 0.2em 0.2em; - } - - input[type="submit"] { - float: right; - font-weight: 400; - padding: 0.2em 1em; - text-align: center; - text-transform: none; - width: 20%; - } - - }// close form - - } // close .dir-search, .message-search - - // Shift the search parent to the right and allow to shrinkwrap - @media screen and (min-width: 401px) { - - div.dir-search, - div.message-search { - clear: none; - float: right; - - form { - - label, - input[type="submit"], - input[type="text"] { - width: auto; - } - } - } - - div.message-search { - margin: 3px 0 0; - } - - li.groups-members-search { - - form { - - label, - input[type="submit"], - input[type="text"] { - width: auto; - } - } - } - - } // close @media - -} // close #buddypress - -/** -*------------------------------------------------------------------------------- -* @section 8.0 - Tables General -*------------------------------------------------------------------------------- -*/ -#buddypress { - - table { - border-color: $border-med; - - .alt a { - color: #22820c; - } - } -} - -/*__ User Account tables __*/ - -/** -*------------------------------------------------------------------------------- -* @section 9.0 - Error / Success messages -*------------------------------------------------------------------------------- -*/ -// message args ($variable-color, text-color) -// Leave text-color undefined to automagically set text color -// to background color darker by 50% -#buddypress { - - div#message { - - p { - - @include font-size(18); - font-weight: 700; - } - - &.info { - - p { - - @include message-box($notice-info); - } - } - - &.updated { - - p { - - @include message-box($notice-update); - } - } - - } // close #message - -} // close #buddypress - -// Without direct classes on our messages ( 'warning' ) -// we need to use the body classes -// @todo If this class .warning is included in main BP styles remove from here -.delete-group { - - #buddypress { - - div#message.info { - - p { - - @include message-box($notice-warning); - } - } - } -} - -/** -*------------------------------------------------------------------------------- -* @section 10.0 - Ajax Loading, Widgets, General classes -*------------------------------------------------------------------------------- -*/ diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/064/064.test.js b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/064/064.test.js deleted file mode 100644 index c984f1cb182c23..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/064/064.test.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -const stylelint = require( 'stylelint' ), - systemTestUtils = require( '../systemTestUtils.js' ); - -it( '064', () => { - return stylelint.lint({ - files: [systemTestUtils.caseStylesheetGlob( '064' )], - configFile: systemTestUtils.caseConfig( '064' ), - }).then( ({ results }) => { - expect( systemTestUtils.prepResults( results ) ).toMatchSnapshot(); - }); -}); diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/064/__snapshots__/064.test.js.snap b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/064/__snapshots__/064.test.js.snap deleted file mode 100644 index aa93c09484b6ae..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/064/__snapshots__/064.test.js.snap +++ /dev/null @@ -1,23 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`064 1`] = ` -Array [ - Object { - "deprecations": Array [], - "errored": true, - "ignored": undefined, - "invalidOptionWarnings": Array [], - "parseErrors": Array [], - "source": "064/stylesheet.scss", - "warnings": Array [ - Object { - "column": 41, - "line": 234, - "rule": "block-no-empty", - "severity": "error", - "text": "Unexpected empty block (block-no-empty)", - }, - ], - }, -] -`; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/064/config.json b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/064/config.json deleted file mode 100644 index b3a2db66c84f1a..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/064/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../scss.js" -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/064/stylesheet.scss b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/064/stylesheet.scss deleted file mode 100644 index 93f892c2da1afa..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/064/stylesheet.scss +++ /dev/null @@ -1,2641 +0,0 @@ -// Stylesheet Guidence Notes -// Table of content represents a guide to sections of the sheet. -// Note that not all sections may be described in the body of the -// rulesets only those that require styles for a given theme. -// Sub sections might not exist but can be added as required -// as per BP Lists - 'activity' section. - -// We follow the dictats of the parent theme in respect of media queries, -// font sizing etc. Media queries are used in a modular sense (OOCSS) -// rather than described as blocks to the end of the sheet, this aids ease -// of managing media queries, scalability & flexibility . - -// Twentyfifteen Media Queries / Breakpoints -// @media screen and (max-width: 22em) // Additional for xtra small mobile only -// @media screen and (max-width: 30em) // Additional small only -// @media screen and (min-width: 38.75em) -// @media screen and (min-width: 46.25em) -// @media screen and (min-width: 55em) -// @media screen and (min-width: 59.6875em) -// @media screen and (min-width: 77.5em) -// @media screen and (min-width: 87.6875em) - -// Mixins and Variables - -// Common margin values -$spacing-val-lg: 40px; -$spacing-val-md: 20px; -$spacing-val-sm: 10px; -$spacing-val-xs: 5px; - -// A simple mixin to handle font-sizing to match 2015 62.5% approach -@mixin font-size($font-size: 16) { - $rem-font-value: ($font-size / 10); - font-size: ($font-size * 1px); - font-size: $rem-font-value + rem; -} - -// To allow mixins to pass VendorPrefix scss-lint tests we disable lint-test -// for specific blocks / rulesets -// until such time as exemption lists can be built for the scss-lint.yml? -// Any vendor prefix properties / mixins need to be in this block -// scss-lint:disable VendorPrefix - -// Border border-radius mixins -@mixin border-radius($radius) { - -webkit-border-radius: $radius; - -moz-border-radius: $radius; - -ms-border-radius: $radius; - border-radius: $radius; - background-clip: padding-box; -} - -@mixin border-top-radius($radius) { - -webkit-border-top-right-radius: $radius; - border-top-right-radius: $radius; - -webkit-border-top-left-radius: $radius; - border-top-left-radius: $radius; - background-clip: padding-box; -} - -@mixin border-right-radius($radius) { - -webkit-border-bottom-right-radius: $radius; - border-bottom-right-radius: $radius; - -webkit-border-top-right-radius: $radius; - border-top-right-radius: $radius; - background-clip: padding-box; -} - -@mixin border-bottom-radius($radius) { - -webkit-border-bottom-right-radius: $radius; - border-bottom-right-radius: $radius; - -webkit-border-bottom-left-radius: $radius; - border-bottom-left-radius: $radius; - background-clip: padding-box; -} - -@mixin border-left-radius($radius) { - -webkit-border-bottom-left-radius: $radius; - border-bottom-left-radius: $radius; - -webkit-border-top-left-radius: $radius; - border-top-left-radius: $radius; - background-clip: padding-box; -} - -// Box sizing -@mixin box-model($box-model) { - -webkit-box-sizing: $box-model; - -moz-box-sizing: $box-model; - box-sizing: $box-model; -} - -// Calc -@mixin calc($property, $expression) { - #{$property}: -webkit-calc(#{$expression}); - #{$property}: -moz-calc(#{$expression}); - #{$property}: calc(#{$expression}); -} - -// Re-enable the VendorPrefix lint test -// scss-lint:enable VendorPrefix - -// BP message boxes -@mixin message-box($background, $text-color: null) { - - @if $text-color { - // if a param was passed through - $text-color: $text-color; - } @else { - $text-color: darken($background, 50%); - } - - background: lighten($background, 10%); - border: 1px solid darken($background, 10%); - color: $text-color; -} - -// 2015 font family -@mixin default-font-sans() { - font-family: "Noto Sans", sans-serif; -} - -@mixin default-font-serif() { - font-family: "Noto Serif", serif; -} - -// Variables: color definitions -$content-background: #fff; -$light-background: #f7f7f7; -$medium-background: #ccc; -$dark-background: #555; -$border-color: #999; // border color is varied using rgba -$border-light: #eaeaea; // BP dividers -$border-med: #ddd; -$body-text: #333; // 2015 body text color -$bp-button-hover: #ededed; // this is the default BP button hover background -$notice-error: #c85a6e; -$notice-warning: #d05656; -$notice-info: #9fd1e2; -$notice-update: #ced98c; -$stripe-odd: #ebf0ff; -$stripe-even: #dbe5ff; -$unread: #dce5ff; -$link-action: #c82b2b; - -/*------------------------------------------------------------------------------ - -This is the BuddyPress companion stylesheet for -the WordPress Twentyfifteen theme. - -This sheet supports the primary BuddyPress styles in buddypress.css - -If you are running as a child theme of twentyfifteen this stylesheet will be -loaded by default. If you want to modify the styles the normal BP Theme Compat -hierarchy works and you can copy the file to buddypress/css/ or community/css/ -in your child themes root & either start over or modify the rulesets. - -If you do not require the styles you can dequeue them from the themes -functions file. - -Please see this codex article for more information: -http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ - --------------------------------------------------------------------------------- ->>> TABLE OF CONTENTS: --------------------------------------------------------------------------------- -1.0 Theme Structural Elements & overrides -2.0 - Navigation - General - 2.1 - Navs - Object Nav / Sub Nav (item-list-tabs) - 2.2 - Pagination -3.0 - Images -4.0 - BP Lists / Loops Generic - 4.1 - Activity Loop - 4.1.1 Whats New Activity - 4.1.2 - Activity Listing - 4.1.3 - Activity Comments - 4.2 - Members Loop - 4.3 - Groups Loop - 4.4 - Blogs Loop -5.0 - Directories - Members, Groups, Blogs, Forums -6.0 - Single Item screens: User Account & Single Group Screens - 6.1 - Item Headers: Global - 6.1.1 - item-header: Groups - 6.1.2 - item-header: User Accounts - 6.2 - Item Body: Global - 6.2.1 - item-body: Groups - 6.2.1.1 - Management settings screens - 6.2.1.2 - Group members list - 6.2.1.3 - Group Send Invites - 6.2.2 - item-body: User Accounts - 6.2.2.1 - classes, pag, filters - 6.2.2.2 - Extended Profiles - 6.2.2.3 - Groups - 6.2.2.4 - friends - 6.2.2.5 - Private Messaging Threads - 6.2.2.6 - Settings -7.0 - Forms - General -8.0 - Tables - General -9.0 - Error / Success Messages -10.0 - Ajax Loading, Widgets, General classes -------------------------------------------------------------------------------*/ - -/** -*------------------------------------------------------------------------------- -* @section 1.0 - Theme - Structural Elements & overrides -*------------------------------------------------------------------------------- -*/ - -// Twentyfifteen adds a generic grouped ruleset of clear:both; -// for all heading h# elements this is problematic where floats are concerned -// We reset this here under our #buddypress namespace -#buddypress { - - h1, - h2, - h3, - h4, - h5, - h6 { - clear: none; - } -} - -// As BP screens have specific content lets adjust the themes primary elements -// to maximise the screen real estate for BP pages. - -.buddypress { - - div.clear { - display: none; - } - - .site-content { - - @media screen and (min-width: 77.5em) { - } - } - - main { - padding-top: 4%; - - @media screen and (min-width: 59.6875em) { - padding-top: 0; - } - - article { - margin: 0 4%; - padding-top: 8.3333%; - - @media screen and (min-width: 59.6875em) { - margin: 0 0 0 1px; - } - - @media screen and (min-width: 87.6875em) { - margin: 0 4.3333% 0 8.3333%; - } - - .entry-header, - .entry-content { - padding: 0 3rem 3rem; - } - - #buddypress { - margin-bottom: $spacing-val-lg; - } - } // .article - } // .main - - .site-footer { - margin: 0 4%; - - @media screen and (min-width: 59.6875em) { - margin: 0 0 0 35.2941%; - width: 61.8235%; - } - } -} // .buddypress (body class) - -/** -*------------------------------------------------------------------------------- -* @section 2.0 - Navigation - General -*------------------------------------------------------------------------------- -*/ - -// Remove 2015 border bottom on BP links/spans - -.buddypress #buddypress { - - .item-list-tabs, - .activity-header, - .activity-inner, - .activity-comments, - .item-title, - .load-more, - .field-visibility-settings-toggle, - #latest-update, - table, - .avatar-nav-items { - - a { - border-bottom: 0; - } - } - - .pagination-links { - - a, - span { - border-bottom: 0; - } - } -} // close .buddypress #buddypress - -/** -*---------------------------------------------------------- -* @section 2.1 - Navs Object Nav / Sub Nav (item-list-tabs) -* -* The main navigational elements for all BP screens -*---------------------------------------------------------- -*/ - -// We have a need to override BP specifity -// so some rulesets sets are seemingly over weighted in selectors - -#buddypress { - - // active/current states all navs - div.item-list-tabs { - - ul { - - li.selected { - - a { - background: $dark-background; - color: #fff; - opacity: 1; - } - } - } - } - // Global Nav Styles - div.item-list-tabs { - - ul { - background-color: $light-background; - border-bottom: 1px solid rgba($border-light, 0.9); - border-top: 1px solid rgba($border-light, 0.9); - overflow: hidden; - padding: $spacing-val-xs 0; - - li { - - a { - - span { - border-radius: 25%; - } - } - } - } - } - - /*__ Horizontal menus __*/ - #object-nav { - - ul { - overflow: hidden; - - li { - float: none; - } - - li:not(.selected) { - - a { - opacity: 0.7; - } - } - - @media screen and (min-width: 38.75em) { - - li { - float: left; - } - } - } - } - - div#subnav.item-list-tabs { - margin-top: 0; - - ul { - background-color: $light-background; - border-bottom: 0; - padding: 0; - - li.last { - background: $content-background; - margin-top: 0; - padding: $spacing-val-xs $spacing-val-xs $spacing-val-xs 0; - width: 100%; - - select, - select:focus { - background: transparent; - border: 0; - outline: 0; - } - - select, - label, - option { - - @include font-size(14); - } - - select { - font-style: italic; - } - } - - @media screen and (min-width: 38.75em) { - - li.last { - text-align: right; - } - } - } // close ul - } // close #subnav - - // active/current states all navs - div.item-list-tabs { - - ul { - - li.selected, - li.current { - - a { - background: $dark-background; - color: #fff; - opacity: 1; - } - } - } - } - -} // close #buddypress - -/*__ Vertical menu User Account / Group single screens __*/ - -// This block contains rules to re-factor the item-body structural element -// to sit alongside the vert menu - -@media screen and (min-width: 55em) { - - .bp-user #buddypress, - .single-item.groups #buddypress { - background: $light-background; - } - - #buddypress { - - #item-header, - #item-body { - background: $content-background; - } - - #object-nav { - border-right: 1px solid $border-med; - float: left; - margin-right: -1px; - width: 200px; - - ul { - border-bottom: 0; - padding: 0; - - li { - float: none; - overflow: hidden; - - span { - background: $content-background; - border-radius: 10%; - float: right; - margin-right: 2px; - } - } - } - } - - #item-body { - border-left: 1px solid $border-med; - overflow: hidden; - padding: 0 0 0 $spacing-val-md; - width: auto; - - #subnav { - margin: 0 0 0 (-$spacing-val-md); - } - } - - } // close #buddypress -} // close @media - -/** -*---------------------------------------------------------- -* @section 2.2 - Pagination -*---------------------------------------------------------- -*/ - -#buddypress { - - div.pagination { - box-shadow: none; - - .pag-count { - margin-left: 0; - } - - .pagination-links { - margin-right: 0; - - span, - a { - height: auto; - line-height: 1; - padding: 5px; - } - - .prev, - .next { - background-color: transparent; - color: inherit; - overflow: visible; - width: auto; - - &:before { - display: none; - } - } - - .prev { - left: auto; - position: static; - } - - .next { - position: static; - right: auto; - } - } // close .pagination-links - } // close .pagination -} // close #buddypress - -/** -*------------------------------------------------------------------------------- -* @section 4.0 - BP Lists / Loops Generic -*------------------------------------------------------------------------------- -*/ - -// Adjusts Meta items and various elements to match 2015 font-family -#buddypress { - - .item-list { - - .activity-header, - .activity-meta { - - @include default-font-sans(); - } - - a.activity-time-since { - color: #717171; - } - } -} - -// Trying to position the action div absolute has bad consequences where -// aditional items are displayed, floating is an alternative that -// allows natural flow expansion. -// This block: -// * Manages li items, Stacks them small screen, floated left at wider screens. -// * Adjusts display of action buttons at small screen mobile up. -// Adjusts Meta items to match 2015 font-family - -#buddypress { - - ul.item-list { - - li { - overflow: hidden !important; - - // Undo BP floats to center avatars initially mobile up - .item-avatar { - margin-bottom: $spacing-val-sm; - - @media screen and (min-width: 38.75em) { - margin-bottom: 0; - } - text-align: center; - - a { - border-bottom: 0; - } - - img.avatar { - display: inline-block; - float: none; - // Quite early on we need to move avatars to the left(right) - @media screen and (min-width: 38.75em) { - display: block; - float: left; - } - } - } - - .item { - margin-left: 25%; - - span.activity { - font-style: italic; - } - - .item-desc { - margin-left: 0; - width: 70%; - } - } - - @media screen and (min-width: 59.6875em) { - - .item-avatar, - .item, - .action { - float: left; - } - - .item { - left: 10%; - margin-left: 0; - position: relative; - width: 55%; - } - }// close @media - - div.action { - clear: left; - float: none; - margin-bottom: -$spacing-val-md; - // remove BP margin left - margin-left: 0; - padding: $spacing-val-md 0 $spacing-val-xs; - // push the actions to the right - @media screen and (min-width: 59.6875em) { - clear: none; - float: right; - margin-bottom: 0; - padding: 0; - } - - position: relative; - text-align: left; - top: 0; - - div { - display: inline-block; - margin: $spacing-val-sm 0; - width: 100%; - - a { - display: block; - width: 100%; - } - // Provisionally lets keep the 'action' div - //position but inline-block the buttons - - @media screen and (min-width: 38.75em) { - // keep buttons to a row small tablet up - margin: 0 $spacing-val-sm $spacing-val-sm 0; - width: auto; - } // close @media - - @media screen and (min-width: 59.6875em) { - // take buttons to block to stack them when floated right - clear: right; - float: right; - margin: 0 0 $spacing-val-sm 0; - } // close @media - - } // close div - - .meta { - font-style: italic; - } - - } // close .action - - } // close li - } // close .item-list -} // close #buddypress - -/** -*---------------------------------------------------------- -* @section 4.1 - Activity -*---------------------------------------------------------- -*/ - -/** -*----------------------------------------------------- -* @section 4.1.1 - Activity Whats New -*----------------------------------------------------- -*/ - -#buddypress { - - form#whats-new-form { - - // Line-height issue inherited from BP rules, override. - p.activity-greeting { - line-height: 1.4; - } - - // corrective measure for clipped elements due to JS inline styling - - @media screen and (max-width: 30em) { - - #whats-new-post-in-box { - - select { - - @include font-size(14); - max-width: 120px; - } - } - } - - @media screen and (max-width: 38.75em) { - - #whats-new-content { - clear: left; - margin: $spacing-val-sm 0 $spacing-val-lg; - padding: $spacing-val-sm 0 0; - - #whats-new-submit { - float: none; - - input { - width: 100%; - } - } - } - - #whats-new-options { - display: flex; - flex-direction: column; - - #whats-new-submit { - order: 2; - } - - #whats-new-post-in-box { - order: 1; - } - } - } // close @media - - #whats-new-options[style] { - - #whats-new-post-in-box { - border: 1px solid rgba($border-color, 0.5); - float: left; - line-height: 1.5; - margin-top: 12px; - padding-left: 0.2em; - width: 100%; - - select { - background: none; - border: 0; - float: right; - margin: 0; - min-height: 1.5em; - outline: 0; - padding-left: 0.4em; - } - } - - @media screen and (min-width: 30em) { - - #whats-new-post-in-box { - width: auto; - } - - #whats-new-submit { - float: right; - } - } - - } // close #whats-new-options - - } // close #whats-new-form - - // User account form requires matching bp default specificity - #item-body { - - form#whats-new-form { - margin: $spacing-val-lg 0; - } - } -} // close #buddypress - -/** -*----------------------------------------------------- -* @section 4.1.2 - Activity Listing -*----------------------------------------------------- -*/ - -#buddypress { - - #activity-stream { - - // re-size activity avatars and stack small screen - // refactor main elements positioning medium up. - li { - padding: 25px 0 15px; - - .activity-avatar { - float: none; - text-align: center; - - a { - display: inline-block; - - img.avatar { - display: inline; - float: none; - height: 60px; - margin-bottom: $spacing-val-md; - margin-left: 0; - width: 60px; - } - } - } // close .activity-avatar - - .activity-content { - margin-left: 0; - - .activity-header { - - @include font-size(14); - } - } - - @media screen and (min-width: 46.25em) { - - .activity-avatar { - float: left; - margin-right: $spacing-val-sm; - text-align: left; - - a { - border-bottom: 0; - } - } - - .activity-content { - margin: 0; - overflow: hidden; - - .activity-header { - - @include font-size(16); - } - } - - } // close @media - - } // close li - - li.mini { - - .activity-avatar { - - a { - - img.avatar { - height: 30px; - margin-left: 15px; - width: 30px; - } - } - } - - .activity-content { - - .activity-header { - - @include font-size(13); - } - } - } - - .activity-content { - margin-top: -12px; - - .activity-header { - line-height: inherit; - margin-right: 0; - - p { - background-color: $light-background; - border: 1px solid rgba($border-light, 0.6); - color: #717171; - padding: 0 0.2em; - } - - img.avatar { - display: inline-block; - margin-bottom: 0 !important; // have to match to BP - } - } // close .activity-header - - .activity-meta { - - a { - display: block; - margin: 0 0 $spacing-val-xs; - - @media screen and (min-width: 38.75em) { - display: inline-block; - margin: 0; - } - } - } - - } // close .activity-content - - .load-more { - background: $light-background; - border: 1px solid transparent; - padding: $spacing-val-sm; - - &:focus, - &:hover { - background: darken($light-background, 1%); - border: 1px solid rgba(#9fd1e2, 0.3); - - a { - font-style: italic; - } - } - - a { - display: block; - } - } - - } // close #activity-stream -} // close #buddypress - -/* Single activity view - activity permalink */ - -.activity-permalink { - - #buddypress { - background: none; // counter the .bp-user faux column background - #activity-stream { - - li.activity-item { - padding: $spacing-val-md 0; - } - - li.mini { - - .activity-header { - - @include font-size(16); - - @media screen and (min-width: 46.25em) { - - @include font-size(20); - } - - margin-bottom: $spacing-val-lg; - - p { - padding: $spacing-val-md; - } - } - } - } - } -} - -/** -*----------------------------------------------------- -* @section 4.1.3 - Activity Comments -*----------------------------------------------------- -*/ -#buddypress { - - #activity-stream { - - .activity-comments { - margin: $spacing-val-sm 0 0; - - a { - color: #717171; - } - - &.has-comments { - border-left: 1px solid $border-light; - } - - .ac-form { - padding: $spacing-val-md 0 0; - } - - > ul { - background: rgba($light-background, 0.6); - margin: 15px 0 0 2px; - - @media screen and (min-width: 38.75em) { - margin-left: 70px; - } - - ul { - // all nested ul margins & padding flattened initially - margin-left: 1%; - padding-left: 0; - - @media screen and (min-width: 30em) { - margin-left: 1%; - padding-left: 1em; - } - } - - ul li { - border-left: 1px solid $border-light; - border-top: 0; - padding-left: 0.2em; - } - - .acomment-meta { - border-bottom: 1px solid $border-light; - color: #737373; - font-style: italic; - } - - // Display the user avatar stacked up to 30em - // reduce/widen the content margins - @media screen and (max-width: 38.75em) { - - .acomment-avatar { - display: block; - text-align: center; - - a, - img.avatar { - display: inline; - float: none; - } - } - - .acomment-content, - .acomment-meta, - .acomment-options { - margin: $spacing-val-xs; - } - - .acomment-content { - padding: 0 $spacing-val-sm; - } - } // close @media - - } // close the ul li comments construct - - .ac-reply-avatar { - display: none; - } - - .ac-reply-content { - margin-left: 0; - padding-left: 0; - } - - @media screen and (min-width: 38.75em) { - - .ac-reply-avatar { - display: block; - } - - .ac-reply-content { - overflow: hidden; - } - } - - .ac-form { - - input[type="submit"], - .ac-reply-cancel { - color: rgba($body-text, 0.8); - display: inline-block; - font-family: inherit; - - @include font-size(12); - font-weight: 400; - line-height: 1.2; - padding: 4px 10px; - text-transform: lowercase; - width: 100px; - } - - .ac-reply-cancel { - border: 1px solid rgba($border-color, 0.7); - text-align: center; - - &:focus, - &:hover { - background: $bp-button-hover; - } - } - - } // close .ac-form - - } // close .activity-comments - } // close .activity - -} // close #buddypress - -/** -*---------------------------------------------------------- -* @section 4.2 - Members Loop -*---------------------------------------------------------- -*/ - -#buddypress { - - #members-list { - - @media screen and (min-width: 59.6875em) { - - li { - - .item-avatar, - .item { - float: left; - } - - .action { - float: right; - } - } - } - - } // close #members-list -} //close #BuddyPress - -/** -*------------------------------------------------------------------------------- -* @section 6.0 - Single Item screens: User Account & Single Group Screens -*------------------------------------------------------------------------------- -*/ - - -/** -*----------------------------------------------------------- -* @subsection 6.1 - Item Header Global -*----------------------------------------------------------- -*/ - -.bp-user, -.single-item.groups { - - @media screen and (max-width: 46.25em) { - - main { - - header.entry-header { - padding-bottom: 1rem; - } - } - } - - @media screen and (max-width: 38.75em) { - - h1, - #item-header-content { - text-align: center; - } - } - - #buddypress { - - @media screen and (max-width: 46.25em) { - - #item-header { - - .generic-button { - float: none; - margin: 1.5em 0 0; - } - } - } - - @media screen and (max-width: 38.75em) { - - h1 { - margin-bottom: 0; - } - - #item-header-avatar { - - img.avatar { - margin-right: 0; - } - } - - #item-header-content { - width: 100%; - } - } - } -} - -/** -*----------------------------------------------------- -* @subsection 6.1.1 - item-header Groups -* -* Group Specific Item Header -*----------------------------------------------------- -*/ - -.single-item.groups { - - #buddypress { - - @media screen and (max-width: 46.25em) { - - #item-header { - - #item-meta { - margin-bottom: $spacing-val-md; - } - } - } - - // Move visual flow of avatar & item-actions at narrow width, - // avatar first after group title - @media screen and (max-width: 38.75em) { - - div#item-header { - display: flex; - flex-direction: column; - - #item-header-avatar { - order: 1; - text-align: center; - - a { - border-bottom: 0; - - img { - display: inline-block; - float: none; - } - } - } - - #item-header-content { - order: 2; - } - - #item-actions { - order: 3; - } - } - } // close @media - - div#item-header { - padding-bottom: $spacing-val-lg; - - div#item-actions { - margin: 0; - width: 100%; - - @media screen and (min-width: 38.75em) { - clear: none; - float: right; - width: 50%; - } - - h2 { - background: $dark-background; - color: $content-background; - - @include font-size(14); - - @media screen and (min-width: 46.25em) { - - @include font-size(16); - } - - padding: 0.2em; - } - } // close item-actions - - @media screen and (min-width: 46.25em) { - - #item-header-avatar, - #item-header-content { - float: left; - } - - #item-header-avatar { - width: 21%; - } - - #item-header-content { - margin-left: 4%; - width: 40%; - } - - div#item-actions { - float: right; - width: 28%; - } - - } // close @media - - } // close #item-header - } // close #buddypress -} // close .groups - -/** -*----------------------------------------------------- -* @subsection 6.1.2 - Item Header User Accounts -* -* User Accounts Specific Item Header -*----------------------------------------------------- -*/ - -.bp-user { - - #buddypress { - - #item-header { - padding: $spacing-val-md 0; - - #item-header-avatar { - text-align: center; - width: 100%; - - a { - border-bottom: 0; - display: inline-block; - float: none; - } - } - - @media screen and (min-width: 46.25em) { - - #item-header-avatar { - float: left; - width: 20%; - - img.avatar, - a { - float: left; - } - } - - #item-header-content { - float: right; - margin-right: 5%; - width: 69%; - } - - } // close @media - - } // close #item-header - - } // close #buddypress -} // close .bp-user - -/** -*----------------------------------------------------------- -* @subsection 6.2 - Item Body: Global -*----------------------------------------------------------- -*/ -// Manage the margins inherited from 2015 inside the item-body sections -// generally far too large a top margin for headings in our lists -#item-body { - - h1, - h2, - h3, - h4, - h5, - h6 { - margin: 1em 0; - - a { - border-bottom: 0; - } - } -} - -/** -*---------------------------------------------------- -* @subsection 6.2.1 - Item Body Groups -* -* Groups specific item body rules - screens -*---------------------------------------------------- -*/ - - -/** -*----------------------------------------- -* @subsection 6.2.1.1 - Group Management -*----------------------------------------- -*/ - -// headings settings screens & general global settings styles -.groups { - - #group-settings-form { - - h3 { - background: $dark-background; - color: $content-background; - padding: 0.2em; - } - // remove backgrounds from request list member names. - #request-list { - - h4 { - background: none; - color: inherit; - } - } - } -} - -.groups.edit-details { - - #group-settings-form { - - label { - background: $dark-background; - - @include border-top-radius(4px); - color: $content-background; - display: inline-block; - margin-bottom: 0; - padding: 0.2em; - width: 80%; - - @media screen and (min-width: 38.75em) { - width: 60%; - } - - } - - textarea + p label { - background: none; - color: inherit; - - @include font-size(14); - width: auto; - } - - } -} // close .groups.edit-details - -.groups.group-settings { - - #group-settings-form, - #create-group-form { - - div.radio { - - label { - border: 1px solid $border-light; - padding: 0.2em; - } - - ul { - color: #767676; - - @include font-size(14); - } - } - - } -} // close .groups.group-settings - -.groups.group-avatar { - - form > p { - margin-top: $spacing-val-md; - } - -} - -.groups.manage-members { - - #group-settings-form { - - .item-list { - - li { - border-bottom: 1px solid $border-light; - - img, - h5 { - float: left; - - > a { - border-bottom: 0; - } - } - - span.small { - clear: left; - display: block; - float: none; - margin-top: $spacing-val-sm; - - a { - display: inline-block; - margin: $spacing-val-xs 0; - width: 100%; - - @media screen and (min-width: 38.75em) { - width: auto; - } - } - } - - h5 { - margin: 0; - } - - } - } - } -} // close .groups.manage-members - -/** -*----------------------------------------- -* @subsection 6.2.1.2 - Group members -*----------------------------------------- -*/ - -/* Members loop */ - -.groups.group-members { - - #buddypress { - - #members-group-list { - - li { - - @media screen and (max-width: 30em) { - - > a { - border-bottom: 0; - display: block; - margin-bottom: $spacing-val-sm; - text-align: center; - - img.avatar { - display: inline; - float: none; - } - } - } - - h5 { - display: inline-block; - - @include font-size(14); - - @media screen and (min-width: 59.6875em) { - - @include font-size(16); - } - - margin: 0; - - a { - border-bottom: 0; - } - } // close h5 - - span.activity { - - @include font-size(12); - } - - .action { - top: 0; - } - } // close li - } - } -} - -// Massage the members search for groups nav specifically. -.groups.group-members { - - #subnav { - - li { - - @media screen and (max-width: 38.75em) { - background: $content-background; - padding: $spacing-val-md 0; - } - - width: 100%; - - #search-members-form { - float: right; - - @media screen and (max-width: 38.75em) { - margin: 0; - width: 100%; - - label { - - input[type="text"] { - width: 100%; - } - } - } - - margin: $spacing-val-xs $spacing-val-xs 0 0; - } - } - } -} - -/** -*----------------------------------------- -* @subsection 6.2.1.3 - Group Send Invites -*----------------------------------------- -*/ - -.groups.group-invites { - - #item-body { - - .item-list { - - .action { - margin-bottom: 0; - } - } - } - - @media screen and (min-width: 46.25em) { - - #buddypress { - - #item-body { - - #message { - margin-top: 0; - } - } - } - } - - @media screen and (min-width: 55em) { - - #buddypress { - - #send-invite-form { - margin-top: 0; - } - } - } - - #item-body { - - @media screen and (max-width: 46.25em) { - - .left-menu { - float: none; - margin: $spacing-val-sm 0; - - #invite-list { - height: auto; - width: auto; - } - } - - .main-column { - margin-left: 0; - } - - .submit { - - input { - display: inline-block; - width: 100%; - } - } - - } // close @media - } // close .item-body - -} // close .groups.group-invites - -/** -*----------------------------------------------------- -* @subsection 6.2.2 - Item Body User Accounts -* -* User Account specific item body rules -*----------------------------------------------------- -*/ - -.bp-user { - - .entry-title { - margin-bottom: 0.5em; - } -} - -/** -*-------------------------------------------- -* @subsection 6.2.2.1 - classes, pag, filters -*-------------------------------------------- -*/ - -.bp-user { - - #buddypress { - - table { - - th { - - @include font-size(14); - } - - td { - - @include font-size(12); - } - - @media screen and (min-width: 46.25em) { - - th { - - @include font-size(16); - } - - td { - - @include font-size(14); - } - } - - @media screen and (min-width: 77.5em) { - - th { - - @include font-size(18); - } - - td { - - @include font-size(16); - } - } - } - - .pag-count { - font-style: italic; - } - - .notifications-options-nav, - .messages-options-nav { - float: left; - width: 100%; - - @media screen and (min-width: 30em) { - width: 50%; - } - - select, - input { - - @include font-size(14); - outline: 0; - padding: 0; - } - - select { - float: left; - margin-right: 0; - width: 100%; - - @media screen and (min-width: 30em) { - width: 60%; - } - } - - input { - float: right; - - @include default-font-serif(); - line-height: 1.5; - margin-top: $spacing-val-sm; - width: 100%; - - &[disabled]:hover { - background: none; - } - - @media screen and (min-width: 30em) { - margin-top: 0; - width: 38%; - } - } - - } // close .notifications-options-nav - - } // close #BuddyPress - -} // close .bp-user - -/** - *------------------------------------------- - * @subsection 6.2.2.2 - Extended Profiles - *------------------------------------------- - */ - -.bp-user { - - #buddypress { - - .profile { - - .bp-widget { - - h2 { - background: lighten($dark-background, 10%); - color: #fff; - margin-bottom: 0; - padding: 0.4em; - } - - table { - margin-top: 0; - } - } - } - } -} - -/* Edit Profile */ -.bp-user { - - #buddypress { - - .profile { - - #profile-edit-form { - - .button-nav:before, - .button-nav:after { - content: " "; - display: table; - } - - .button-nav:after { - clear: both; - } - - ul.button-nav { - border-bottom: 1px solid $border-light; - margin-left: 0; - - li { - float: left; - margin-bottom: 0; - - &.current { - border: 1px solid $border-light; - border-bottom-color: #fff; - margin-bottom: -1px; - } - } // li - - a { - background: none; - border: 0; - - @include font-size(18); - } - } //.button-nav - - .field-visibility-settings-toggle, - .field-visibility-settings { - - @include font-size(14); - } - - .field-visibility-settings-close, - .visibility-toggle-link { - background: $dark-background; - color: #fff; - padding: 0.2em 0.5em; - } - } // close profile form - - .bp-avatar { - - #bp-delete-avatar { - - a { - font-size: inherit; - } - } - } - } // close .profile - - } // close #BuddyPress -} // close .bp-user - -/** - *------------------------------------------- - * @subsection 6.2.2.3 - Groups - *------------------------------------------- - */ -.bp-user { - - #buddypress { - - #groups-list { - - li { - - .item { - - @media screen and (min-width: 77.5em) { - left: 5%; - width: 50%; - } - } - } - } - - } // close #BuddyPress - -} // close .bp-user - -/** - *------------------------------------------- - * @subsection 6.2.2.5 - Private Messaging - *------------------------------------------- - */ - -.bp-user { - - #buddypress { - - #message-thread { - //Single message view - a { - border-bottom: 0; - } - - #message-subject { - background: lighten($dark-background, 10%); - color: $content-background; - padding: 0.3em 0 0.3em 0.2em; - } - - #message-recipients { - font-style: italic; - - a.confirm { - border: 1px solid $border-light; - font-style: normal; - } - } - - .message-metadata { - - &:after { - clear: both; - content: ""; - display: table; - } - - img.avatar { - float: none; - } - - @media screen and (min-width: 46.25em) { - - img.avatar { - float: left; - } - } - - .message-star-actions { - float: right; - margin-right: $spacing-val-xs; - position: static; - } - } // close .message-meta - - .message-content { - background: $light-background; - border: 1px solid $border-light; - margin: $spacing-val-sm 0 0 0; - padding: 0.3em; - } - - #send-reply { - - .message-content { - background: $content-background; - border: 0; - } - } - - .alt { - background: $content-background; - } - } // close message-thread Singular view! - - #message-threads { - - thead { - - tr { - background: lighten($dark-background, 10%); - } - } - - tr { - - td { - background: $content-background; - display: inline-block; - float: left; - } - - td.thread-star, - td.thread-options { - border-bottom-color: darken($border-light, 20%); - border-bottom-width: 2px; - height: 2.4em; - padding-bottom: 0.2em; - padding-top: 0.2em; - - @media screen and (max-width: 46.25em) { - padding-top: 0; - } - } - - td.bulk-select-check, - td.thread-from { - height: 2.6em; - - @media screen and (max-width: 38.75em) { - height: 5.2em; - } - } - - td.thread-from, - td.thread-options { - border-left: 0 !important; - - @include calc(width, "100% - 30px"); - margin-left: 0; - } - - td.thread-info { - padding-left: 41px; - width: 100%; - } - - td.thread-options { - text-align: right; - - a { - - @include font-size(12); - line-height: 2.2; - } - } - - span.from { - display: none; - } - - span.activity { - display: block; - float: right; - line-height: 2; - - @media screen and (max-width: 38.75em) { - clear: both; - - @include font-size(11); - width: 100%; - } - } - } - - tr.unread { - - td { - background: $unread; - border-color: darken($border-light, 10%); - border-bottom-color: darken($border-light, 20%); - } - } - - th { - display: none; - } - - th.bulk-select-all { - border-bottom: 0; - display: inline-block; - text-align: left; - } - - th.bulk-select-all, - td.bulk-select-check, - td.thread-star { - border-right: 0; - width: 30px; - } - } - - .acfb-holder { - list-style: none; - - li { - margin-left: 0; - } - - li.friend-tab { - background: lighten($notice-info, 20%); - border: inherit; - margin-right: 0; - padding: 0.5em; - - span.p { - // the 'X' close - padding-left: $spacing-val-sm; - - &:focus, - &:hover { - color: $link-action; - cursor: pointer; - } - } - - a { - border-bottom: 0; - text-decoration: none; - - img { - // this is the tiny user avatar - display: inline; - height: 20px; - vertical-align: middle; - width: 20px !important; // override inline style - } - } - } - } - - #message-threads.sitewide-notices { - - td { - width: 100%; - - strong { - background: lighten($dark-background, 10%); - color: $content-background; - display: block; - margin-bottom: 0.4em; - padding-left: 0.2em; - } - - a { - display: inline-block; - } - } - - td:first-child { - display: none; - } - - td:first-child + td + td { - // notice date - border-bottom: 0; - - span { - line-height: 1; - } - } - - td:last-child { - // notice actions - border-bottom-color: darken($border-light, 20%); - line-height: 1; - text-align: right; - - a:last-child { - // hide the 'x' text - line-height: 0; - margin-left: 0.7em; - text-indent: -999em; - } - - a:last-child:after { - content: attr(title); - display: block; - line-height: initial; - text-indent: 0; - } - } - } - - } // close #BuddyPress - - // acfb auto complete name list sits in doc footer before body close - .ac_results { - background: #eee; - padding-left: $spacing-val-sm; - - ul { - margin: 0; - } - - li { - margin: $spacing-val-sm 0; - - &:focus, - &:hover { - cursor: pointer; - } - } - } - -} // close .bp-user - -/** - *------------------------------ - * @subsection 6.2.2.6 - Settings - *------------------------------ - */ - -.bp-user { - - #buddypress { - - #settings-form { - // 'p' = email notification screen sub heading - > p { - - @include font-size(20); - margin: $spacing-val-md 0 $spacing-val-sm; - } - } - - table.notification-settings { - - th.title { - width: 75%; - } - - td.yes, - td.no { - vertical-align: middle; - } - } - // Profile visibility table td widths - table.profile-settings { - width: 100%; - - th.field-group-name, - td.field-name { - width: 50%; - } - - @media screen and (min-width: 46.25em) { - - th.field-group-name, - td.field-name { - width: 70%; - } - } - - th.title, - td.field-visibility { - width: 30%; - } - - td.field-visibility { - - select { - width: 100%; - } - } - } - - } // close #BuddyPress - -} // close .bp-user - -/** -*------------------------------------------------------------------------------- -* @section 7.0 - Forms - General -*------------------------------------------------------------------------------- -*/ - -#buddypress { - - // Match BP form elements to Themes(2015) styling where styles - // are not inherited or being overriden. - - div.activity-comments { - - form { - - .ac-textarea { - background: $light-background; - border: 1px solid rgba($border-color, 0.3); - - textarea { - background: none; - border: 0; - } - } - } - } - - select { - border: 1px solid rgba($border-color, 0.5); - } - - // Overrides for embedded WP editors. - .wp-editor-wrap { - - a.button, - button, - input[type="submit"], - input[type="button"], - input[type="reset"] { - padding: 0 5px 1px; - } - } - -} // close #buddypress - - -#buddypress { - - // Manage form control widths override BP 75% width. - - .standard-form, - .group-create-form { - - li { - float: none; - list-style: none; - } - - input[type="text"], - textarea { - width: 100%; - } - } - - div.dir-search, - div.message-search, - li.groups-members-search { - float: none; - margin: $spacing-val-sm 0; - - // Stylise the seach form elements, in part this deals with padding - // issues on the submit & sizing issues between bp styles & twentyfifteen - - form { // *sigh* only to bludgeon over specified rules - border: 1px solid rgba($border-color, 0.4); - overflow: hidden; - - label { - float: left; - width: 80%; - } - - input[type="text"] { - float: left; - margin: 0; - width: 80%; - } - - input[type="text"], - input[type="submit"] { - - @include font-size(14); - border: 0; - line-height: inherit; - } - - input[type="text"] { - border-right: 1px solid rgba($border-color, 0.4); - padding: 0.2em 0 0.2em 0.2em; - } - - input[type="submit"] { - float: right; - font-weight: 400; - padding: 0.2em 1em; - text-align: center; - text-transform: none; - width: 20%; - } - }// close form - - } // close .dir-search, .message-search - - // Shift the search parent to the right and allow to shrinkwrap - @media screen and (min-width: 38.75em) { - - div.dir-search, - div.message-search, - li.groups-members-search { - float: right; - margin-bottom: 5px !important; - - form { - - label, - input[type="text"], - input[type="submit"] { - width: auto; - } - } - } - } // close @media - - @media screen and (min-width: 77.5em) { - - .dir-search, - .message-search { - - form { - - input[type="text"] { - - @include font-size(16); - } - - input[type="submit"] { - - @include font-size(16); - } - } - } - } - -} // close #buddypress - -/** -*------------------------------------------------------------------------------- -* @section 8.0 - Tables - General -*------------------------------------------------------------------------------- -*/ - -// Adjust table font sizes, default too large proportionally -// This approach will require refinement and perhaps re-location to -// a more general typography section to manage BP elements grouped under -// breakpoints. Provide top/bottom margins for tables, lacking in BP styles -#buddypress { - - table { - - @include font-size(14); - margin: $spacing-val-md 0; - - tr th { - background: lighten($dark-background, 10%); - border-color: darken($border-light, 20%); - color: $content-background; - } - - // Reduce the themes inherited paragraph margins in tables - p { - margin-bottom: 0.5em; - } - } - - @media screen and (min-width: 55em) { - - table { - - @include font-size(16); - } - } -} - -/*__ User Account tables __*/ - -#buddypress { - - // Manage some table cells widths that are disproportionate to their content - .notifications, - .messages-notices { - - th { - width: 30%; - - &.bulk-select-all { - text-align: center; - width: 10%; - } - } - - .bulk-select-check, - .thread-star { - text-align: center; - } - - .notification-actions, - td.thread-options { - text-align: center; - - a { - display: inline-block; - margin: 0; - padding: 0; - } - } - - // Notices action buttons, this maybe better moved, temp for now to address - // styling issues - this will need styling ideas - td { - - .button { - border: 0; - display: block; - padding: 0; - text-align: center; - } - } - - } // .notifications, .message-notices - -} // #buddypress - -/** -*------------------------------------------------------------------------------- -* @section 9.0 - Error / Success messages -*------------------------------------------------------------------------------- -*/ - -// message args ($variable-color, text-color) -// Leave text-color undefined to automagically set text color -// to background color darker by 50% - -#buddypress { - - #item-body { - - div#message { - margin-top: $spacing-val-md; - - @media screen and (min-width: 55em) { - margin-right: $spacing-val-md; - } - } - } - - div#message { - - p { - - @include font-size(18); - font-weight: 700; - } - - &.info { - - p { - - @include message-box($notice-info); - } - } - - &.updated { - - p { - - @include message-box($notice-update); - } - } - - } // close #message - -} // close #buddypress - -// Without direct classes on our mesages ( 'warning' ) -// we need to use the body classes -.delete-group { - - #buddypress { - - div#message.info { - - p { - - @include message-box($notice-warning); - } - } - } -} - -/** -*------------------------------------------------------------------------------- -* @section 10.0 - Ajax Loading, Widgets, General classes -*------------------------------------------------------------------------------- -*/ diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/065/065.test.js b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/065/065.test.js deleted file mode 100644 index 0b28c25989cead..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/065/065.test.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -const stylelint = require( 'stylelint' ), - systemTestUtils = require( '../systemTestUtils.js' ); - -it( '065', () => { - return stylelint.lint({ - files: [systemTestUtils.caseStylesheetGlob( '065' )], - configFile: systemTestUtils.caseConfig( '065' ), - }).then( ({ results }) => { - expect( systemTestUtils.prepResults( results ) ).toMatchSnapshot(); - }); -}); diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/065/__snapshots__/065.test.js.snap b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/065/__snapshots__/065.test.js.snap deleted file mode 100644 index fcc02b0525a375..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/065/__snapshots__/065.test.js.snap +++ /dev/null @@ -1,15 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`065 1`] = ` -Array [ - Object { - "deprecations": Array [], - "errored": undefined, - "ignored": undefined, - "invalidOptionWarnings": Array [], - "parseErrors": Array [], - "source": "065/stylesheet.scss", - "warnings": Array [], - }, -] -`; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/065/config.json b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/065/config.json deleted file mode 100644 index b3a2db66c84f1a..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/065/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../scss.js" -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/065/stylesheet.scss b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/065/stylesheet.scss deleted file mode 100644 index 9542fe8f075b97..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/065/stylesheet.scss +++ /dev/null @@ -1,2710 +0,0 @@ - -// Stylesheet Guidence Notes -// Table of content represents a guide to sections of the sheet. -// Note that not all sections may be described in the body of the -// rulesets only those that require styles for a given theme. -// Sub sections might not exist but can be added as required -// as per BP Lists - 'activity' section. - -// We follow the dictats of the parent theme in respect of media queries, -// font sizing etc. Media queries are used in a modular sense (OOCSS) -// rather than described as blocks to the end of the sheet, this aids ease -// of managing media queries, scalability & flexibility . - -// 2016 Media Queries / Breakpoints. -// @media screen and (min-width: 44.375em) -// @media screen and (min-width: 61.5625em) -// @media screen and (min-width: 75em) - - -// In addition BP will use the em breakpoints as referenced below to provide -// a series of finer breakpoints, these are be used sparingly though. -// @media screen and (max-width: 22em) // Additional for xtra small mobile only -// @media screen and (max-width: 30em) // Additional small only -// @media screen and (min-width: 38.75em) -// @media screen and (min-width: 46.25em) -// @media screen and (min-width: 55em) -// @media screen and (min-width: 87.6875em) - -// Mixins and Variables - -// simplify remembering/writing media queries -// written as: -// @include medium-up { -// body {property: value;} -// } -// - -@mixin small-up { - - @media screen and (min-width: 44.375em) { - - @content; - } -} - -@mixin medium-up { - - @media screen and (min-width: 61.5625em) { - - @content; - } -} - -@mixin large-up { - - @media screen and (min-width: 75em) { - - @content; - } -} - - -// Common spacing values -$spacing-val-lg: 40px; -$spacing-val-md: 20px; -$spacing-val-sm: 10px; -$spacing-val-xs: 5px; - -// A simple mixin to handle font-sizing -// 2016 uses a basic pixel font size approach, we'll stick with rem/px -@mixin font-size($font-size: 16) { - $rem-font-value: ($font-size / 16); - font-size: ($font-size * 1px); - font-size: $rem-font-value + rem; -} - -// To allow mixins to pass VendorPrefix scss-lint tests we disable lint-test -// for specific blocks / rulesets -// until such time as exemption lists can be built for the scss-lint.yml? -// Any vendor prefix properties / mixins need to be in this block - -// scss-lint:disable VendorPrefix - -// Border border-radius mixins -@mixin border-radius($radius) { - -webkit-border-radius: $radius; - -moz-border-radius: $radius; - -ms-border-radius: $radius; - border-radius: $radius; - background-clip: padding-box; -} - -@mixin border-top-radius($radius) { - -webkit-border-top-right-radius: $radius; - border-top-right-radius: $radius; - -webkit-border-top-left-radius: $radius; - border-top-left-radius: $radius; - background-clip: padding-box; -} - -@mixin border-right-radius($radius) { - -webkit-border-bottom-right-radius: $radius; - border-bottom-right-radius: $radius; - -webkit-border-top-right-radius: $radius; - border-top-right-radius: $radius; - background-clip: padding-box; -} - -@mixin border-bottom-radius($radius) { - -webkit-border-bottom-right-radius: $radius; - border-bottom-right-radius: $radius; - -webkit-border-bottom-left-radius: $radius; - border-bottom-left-radius: $radius; - background-clip: padding-box; -} - -@mixin border-left-radius($radius) { - -webkit-border-bottom-left-radius: $radius; - border-bottom-left-radius: $radius; - -webkit-border-top-left-radius: $radius; - border-top-left-radius: $radius; - background-clip: padding-box; -} - -// Box sizing -@mixin box-model($box-model) { - -webkit-box-sizing: $box-model; - -moz-box-sizing: $box-model; - box-sizing: $box-model; -} - -// Calc -@mixin calc($property, $expression) { - #{$property}: -webkit-calc(#{$expression}); - #{$property}: -moz-calc(#{$expression}); - #{$property}: calc(#{$expression}); -} - -// Re-enable the VendorPrefix lint test -// scss-lint:enable VendorPrefix - -// BP message boxes -@mixin message-box($background, $text-color: null) { - - @if $text-color { - // if a param was passed through - $text-color: $text-color; - } @else { - $text-color: darken($background, 50%); - } - - background: lighten($background, 10%); - border: 1px solid darken($background, 10%); - color: $text-color; -} - -// 2016 font family -@mixin default-font-sans() { - font-family: "Source Sans Pro", Helvetica, sans-serif; -} - -// Variables: color definitions -$body-text: #141412; -$content-background: #fff; -$off-white: lighten(#f9f8ee, 0.7); -$cream-background: #f7f5e7; -$light-background: #f7f7f7; -$medium-background: #ccc; -$dark-background: #555; -$border-color: #d4d0ba; // border color is varied using rgba -$border-light: #eaeaea; // BP dividers -$border-med: #ddd; -$background-hover: #db572f; // 2016 link background hover -$bp-button-hover: #ededed; // this is the default BP button hover background -$notice-error: #c85a6e; -$notice-warning: #d05656; -$notice-info: #9fd1e2; -$notice-update: #ced98c; -$stripe-odd: #ebf0ff; -$stripe-even: #dbe5ff; -$unread: #dce5ff; -$link-action: #c82b2b; - -/*-------------------------------------------------------------- - -This is the BuddyPress companion stylesheet for -the WordPress Twentysixteen theme. - -This sheet supports the primary BuddyPress styles in buddypress.css - -If you are running as a child theme of twentysixteen this stylesheet will be -loaded by default. If you want to modify the styles the normal BP Theme Compat -hierarchy works and you can copy the file to buddypress/css/ or community/css/ -in your child themes root & either start over or modify the rulesets. - -If you do not require the styles you can dequeue them from the themes -functions file. - -Please see this codex article for more information: -http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ - ----------------------------------------------------------------- ->>> TABLE OF CONTENTS: ----------------------------------------------------------------- -1.0 Theme Structural Elements & overrides -2.0 - Navigation - General - 2.1 - Navs - Object Nav / Sub Nav (item-list-tabs) - 2.2 - Pagination -3.0 - Images -4.0 - BP Lists / Loops Generic - 4.1 - Activity Loop - 4.1.1 Whats New Activity - 4.1.2 - Activity Listing - 4.1.3 - Activity Comments - 4.2 - Members Loop - 4.3 - Groups Loop - 4.4 - Blogs Loop -5.0 - Directories - Members, Groups, Blogs, Register, activation -6.0 - Single Item screens: User Account & Single Group Screens - 6.1 - Item Headers: Global - 6.1.1 - item-header: Groups - 6.1.2 - item-header: User Accounts - 6.2 - Item Body: Global - 6.2.1 - item-body: Groups - 6.2.1.1 - Management settings screens - 6.2.1.2 - Group members list - 6.2.2 - item-body: User Accounts - 6.2.2.1 - classes, pag, filters - 6.2.2.2 - Extended Profiles - 6.2.2.3 - Groups - 6.2.2.4 - friends - 6.2.2.5 - Private Messaging Threads - 6.2.2.6 - Settings -7.0 - Forms - General -8.0 - Tables - General -9.0 - Error / Success Messages -10.0 - Ajax Loading, Widgets, General classes ---------------------------------------------------------------*/ - -/** -*------------------------------------------------------------------------------- -* @section 1.0 - Theme - Structural Elements. overrides, Globals -*------------------------------------------------------------------------------- -*/ - -// A conflict between BP's body.no-js being removed only -// when the DOM is fully loaded & Twentysixteens hardcoded -// class on the html el & scripting in head at start of DOM -// causes mobile menu to stay opened too long. -// This ruleset hides menu if html.js (2016 JS has kicked in) but BP still -// rendering body.no-js before it's own JS removal kicks in. -// See trac ticket https://buddypress.trac.wordpress.org/ticket/7314 - -/** -* Corrective measure to deal with 2016 / BP handling of no-js -* classes - hide menu if BP still showing 'no-js'. -*/ - -@media screen and (max-width: 905px) { - - html.js { - - body.no-js { - - .site-header-menu { - display: none; - } - } - } -} - -.buddypress { - // Remove any empty clearing elements, CSS provides clearing. - div.clear { - display: none; - } - - // Ensure no text decoration or box shadow causing underlined effect. - #page a { - box-shadow: none; - text-decoration: none !important; - } - - .entry-title { - text-align: center; - - @include medium-up { - text-align: left; - } - } - - // The breakpoint for main & sidebar could cut in earlier, elements - // wrap to blocks/columns but margins & padding still in effect - // for sidebar style.css L:2781. - - @include small-up { - - #primary { - float: none; - margin: 0; - width: auto; - - .entry-header { - margin: 0; - } - - .entry-content, - .content-bottom-widgets { - margin-left: 7.6923%; - margin-right: 7.6923%; - } - } - - .sidebar { - float: none; - margin-left: 0; - padding: 0 7.6923%; - width: auto; - } - } - - @include medium-up { - - #primary { - float: left; - margin-right: -100%; - width: 70%; - - .entry-content, - .content-bottom-widgets { - margin-left: 0; - margin-right: 0; - } - } - - .sidebar { - float: left; - margin-left: 75%; - padding: 0; - width: 25%; - } - - } - -} // .buddypress (body class) - -// 2016 defines the class 'no-sidebar' if the primary sidebar is empty/inactive -// in terms of widgets; if this is in effect on a site then adjust the BP -// screens for full width. - -.buddypress.no-sidebar { - - #primary { - float: none; - margin: 0; - width: auto; - } - -} - -/** -*------------------------------------------------------------------------------- -* @section 2.0 - Navigation - General -*------------------------------------------------------------------------------- -*/ - - -/** -*---------------------------------------------------------- -* @section 2.1 - Navs Object Nav / Sub Nav (item-list-tabs) -* -* The main navigational elements for all BP screens -*---------------------------------------------------------- -*/ - -// We have a need to override BP specifity -// so some rulesets sets will appear over weighted in selectors - -#buddypress { - - // active/current states all navs - div.item-list-tabs { - - ul { - - li.selected { - - a { - background: inherit; - opacity: 1; - } - } - } - } - // global nav styles - div.item-list-tabs { - - ul { - background-color: $cream-background; - border-bottom: 1px solid rgba($border-light, 0.9); - border-top: 1px solid rgba($border-light, 0.9); - overflow: hidden; - padding: 0; - - li { - - a { - color: #0073c1; - - span { - border-radius: 25%; - } - } - } - } - } // close item-list-tabs - -} // close #buddypress - -// .bp-user #object-nav @ small screen as a dropdown - -.bp-user { - - #buddypress { - - @media screen and (max-width: 38.75em) { - - #object-nav { - background: $cream-background; - border: 1px solid $border-light; - overflow: visible; - padding: $spacing-val-sm; - - ul { - border: 0; - height: 0; - // all latest vendor releases handle transitions, so no prefixes used. - transition: height 0.3s ease-in-out 0.7s; - visibility: hidden; - } - - &:before { - content: "Menu \021E9"; - display: inline; - opacity: 0.7; - } - - &:hover, - &:focus { - - &:before { - content: "Menu \021E7"; - } - - ul { - height: 320px; - opacity: 1; - overflow-y: auto; - visibility: visible; - } - } - } - - #subnav { - clear: both; - } - - } // close @media - } -} - -/*__ Horizontal menus __*/ -#buddypress { - - #object-nav { - - ul { - overflow: hidden; - - li { - float: none; - } - - @media screen and (max-width: 38.75em) { - - li:not(:last-child) { - border-bottom: 1px solid $border-light; - } - } - - li:not(.selected) { - - @media screen and (max-width: 38.75em) { - - &:focus, - &:hover { - background: darken($cream-background, 2%); - } - } - } - - @media screen and (min-width: 38.75em) { - - li { - float: left; - } - } - } - } - - div#subnav.item-list-tabs { - margin-top: 0; - - ul { - background-color: $light-background; - border-bottom: 0; - margin-top: $spacing-val-xs; - padding: 0; - - li.last { - background: $content-background; - margin-top: 0; - padding: $spacing-val-xs $spacing-val-xs $spacing-val-xs 0; - width: 100%; - - select, - select:focus { - background: transparent; - border: 0; - outline: 0; - } - - select, - label, - option { - - @include font-size(14); - } - - select { - font-style: italic; - } - } - - @media screen and (min-width: 38.75em) { - - li.last { - text-align: right; - } - } - } // close ul - } // close #subnav - -} // close #buddypress - - -/*__ Vertical menu User Account / Group single screens __*/ - -// This block contains rules to re-factor the item-body structural element -// to sit alongside the vert menu -// 2016 right sidebar is displayed if the widget sidebar has widgets; -// we'll only display object nav as a vert menu if sidebar not present. - -@media screen and (min-width: 55em) { - - body.no-sidebar { - - #buddypress { - - #item-header, - #item-body { - background: $content-background; - } - - #object-nav { - border-right: 1px solid $border-med; - float: left; - margin-right: -1px; - width: 200px; - - ul { - background: none; - border-bottom: 0; - padding: 0; - - li { - float: none; - overflow: hidden; - - span { - background: $content-background; - border-radius: 10%; - float: right; - margin-right: 2px; - } - } - } - } - - #item-body { - border-left: 1px solid $border-med; - overflow: hidden; - padding: 0 0 0 $spacing-val-md; - width: auto; - - #subnav { - margin: 0 0 0 (-$spacing-val-md); - - ul { - margin-top: 0; - } - } - } - - } // close #buddypress - } // close body:not(.sidebar) -} // close @media - - -// Tabbed Nav styling -// Primarilly used for group create screens & ? directory nav. - -@media screen and (min-width: 46.25em) { - - #main { - - #buddypress { - - #group-create-tabs.item-list-tabs { - - ul:before, - ul:after { - content: " "; - display: table; - } - - ul:after { - clear: both; - } - - ul { - background: none; - border: 0; - border-bottom: 1px solid $border-med; - overflow: visible; - padding-bottom: 0; - - li { - float: left; - width: auto; - } - - li.selected, - li.current { - border: 1px solid $border-med; - border-bottom-color: $content-background; - - @include border-top-radius(4px); - margin-bottom: -1px; - - a { - background: none; - color: $body-text; - outline: none; - } - } - } - - } // close .item-list-tabs - - #subnav { - - ul { - border-bottom: 0; - } - - } // close #subnav - } // close #buddypress - } -} // close @media - -/** -*---------------------------------------------------------- -* @section 2.2 - Pagination -*---------------------------------------------------------- -*/ - -#buddypress { - - div.pagination { - box-shadow: none; - min-height: 0; - - &:before, - &:after { - height: 0; - width: 0; - } - - .pag-count { - margin-left: 0; - } - - .pagination-links { - margin-right: 0; - - span, - a { - height: auto; - line-height: 1; - padding: 5px; - } - - .prev, - .next { - background-color: transparent; - color: inherit; - overflow: visible; - width: auto; - - &:before { - display: none; - } - } - - .prev { - left: auto; - position: static; - } - - .next { - position: static; - right: auto; - } - } // close .pagination-links - } // close .pagination -} // close #buddypress - -/** -*------------------------------------------------------------------------------- -* @section 4.0 - BP Lists / Loops Generic -*------------------------------------------------------------------------------- -*/ - -// Adjusts Meta items and various elements to match 2016 font-family -#buddypress { - - .item-list { - - .activity-header, - .activity-meta { - - @include default-font-sans(); - } - } -} - -#buddypress { - - .activity-meta { - - .button { - - &:focus, - &:hover { - background: inherit; - color: #000; - } - } - } - - .action { - - .generic-button { - - a { - - &:focus, - &:hover { - background: inherit; - color: #000; - } - } - } - } -} // close #buddypress - -// Trying to position the action div absolute has bad consequences where -// aditional items are displayed, floating is an alternative that -// allows natural flow expansion. -// This block: -// * Manages li items, Stacks them small screen, floated left at wider screens. -// * Adjusts display of action buttons at small screen mobile up. -// Adjusts Meta items to match 2016 font-family - -#buddypress { - - ul.item-list { - - li { - overflow: hidden !important; - - // Undo BP floats to center avatars initially mobile up - .item-avatar { - margin-bottom: $spacing-val-sm; - - @media screen and (min-width: 38.75em) { - margin-bottom: 0; - } - - text-align: center; - - a { - border-bottom: 0; - } - - img.avatar { - display: inline-block; - float: none; - margin-bottom: $spacing-val-sm; - - // Quite early on we need to move avatars to the left(right) - @include small-up { - display: block; - float: left; - } - } - } - - .item { - overflow: hidden; - - @media screen and (min-width: 46.25em) { - margin-left: 15%; - } - - span.activity { - font-style: italic; - } - - .item-desc { - margin-left: 0; - width: 94%; - } - - .item-title { - - @include font-size(18); - line-height: 1.2; - text-align: center; - - @include small-up { - text-align: left; - } - - width: 100%; - - .update { - display: block; - - @include font-size(12); - - @include medium-up { - - @include font-size(14); - } - - padding: $spacing-val-sm 0; - text-align: left; - } - } - - } - - @include medium-up { - - .item-avatar, - .item, - .action { - float: left; - } - - .item { - left: 5%; - margin-left: 0; - position: relative; - width: 55%; - - .item-title { - - @include font-size(22); - } - } - - }// close medium-up - - div.action { - clear: left; - float: none; - margin-bottom: -$spacing-val-md; - // remove BP margin left - margin-left: 0; - padding: $spacing-val-md 0 $spacing-val-xs; - // push the actions to the right - - @include medium-up { - clear: none; - float: right; - margin-bottom: 0; - padding: 0; - } - - position: relative; - text-align: left; - top: 0; - - div { - display: inline-block; - margin: $spacing-val-sm 0; - width: 100%; - - a { - display: block; - width: 100%; - } - // Provisionally lets keep the 'action' div - //position but inline-block the buttons - - @media screen and (min-width: 38.75em) { - // keep buttons to a row small tablet up - margin: 0 $spacing-val-sm $spacing-val-sm 0; - width: auto; - } // close @media - - @include medium-up { - // take buttons to block to stack them when floated right - clear: right; - float: right; - margin: 0 0 $spacing-val-sm 0; - } // close @media - - } // close div - - .meta { - font-style: italic; - } - - } // close .action - - } // close li - } // close .item-list -} // close #buddypress - -/** -*---------------------------------------------------------- -* @section 4.1 - Activity -*---------------------------------------------------------- -*/ - -/** -*----------------------------------------------------- -* @section 4.1.1 - Activity Whats New -*----------------------------------------------------- -*/ - -#buddypress { - - form#whats-new-form { - - // Line-height issue inherited from BP rules, override. - p.activity-greeting { - line-height: 1.4; - } - - // corrective measure for clipped elements due to JS inline styling - - @media screen and (max-width: 46.25em) { - - #whats-new-content { - clear: left; - margin: $spacing-val-sm 0 $spacing-val-md; - padding: $spacing-val-sm 0 0; - } - } - - #whats-new-content.active { - - #whats-new-options[style] { - - #whats-new-post-in-box { - border: 1px solid rgba($border-color, 0.5); - float: left; - line-height: 1.5; - margin-top: 12px; - padding-left: 0.2em; - width: 100%; - - select { - background: none; - border: 0; - float: right; - margin: 0; - min-height: 1.5em; - padding-left: 0.4em; - } - } - - @media screen and (min-width: 30em) { - - #whats-new-post-in-box { - width: auto; - } - - #whats-new-submit { - float: right; - } - } - - } // close #whats-new-options - } // close #whats-new-content.active - - } // close #whats-new-form - - // User account form requires matching bp default specificity - #item-body { - - form#whats-new-form { - margin: $spacing-val-lg 0; - } - } -} // close #buddypress - -/** -*----------------------------------------------------- -* @section 4.1.2 - Activity Listing -*----------------------------------------------------- -*/ - -#buddypress { - - #activity-stream { - - // re-size activity avatars and stack small screen - // refactor main elements positioning medium up. - li { - padding: 25px 0 15px; - - .activity-avatar { - float: none; - text-align: center; - - a { - display: inline-block; - - img.avatar { - display: inline; - float: none; - height: 60px; - margin-bottom: $spacing-val-md; - margin-left: 0; - width: 60px; - } - } - } // close .activity-avatar - - .activity-content { - margin-left: 0; - - .activity-header { - - @include font-size(14); - - a { - color: #0075c4; - } - } - } - - @media screen and (min-width: 46.25em) { - - .activity-avatar { - float: left; - margin-right: $spacing-val-sm; - text-align: left; - - a { - border-bottom: 0; - } - } - - .activity-content { - margin: 0; - overflow: hidden; - - .activity-header { - - @include font-size(16); - } - } - - } // close @media - - } // close li - - li.mini { - - .activity-avatar { - - a { - - img.avatar { - height: 30px; - margin-left: 15px; - width: 30px; - } - } - } - - .activity-content { - - .activity-header { - - @include font-size(14); - } - } - } - - .activity-content { - margin-top: -12px; - - .activity-header { - line-height: inherit; - margin-right: 0; - - p { - background-color: $light-background; - border: 1px solid rgba($border-light, 0.6); - color: #727272; - margin-top: 0; - padding: 0 0.2em; - } - - img.avatar { - display: inline-block; - margin-bottom: 0 !important; // have to match to BP - } - } // close .activity-header - - .activity-meta { - - a { - display: block; - margin-bottom: $spacing-val-xs; - - @media screen and (min-width: 38.75em) { - display: inline-block; - margin-bottom: 0; - } - } - } - - } // close .activity-content - - .load-more { - background: $light-background; - border: 1px solid transparent; - padding: $spacing-val-sm; - - &:focus, - &:hover { - background: darken($light-background, 1%); - border: 1px solid rgba(#9fd1e2, 0.3); - - a { - font-style: italic; - } - } - - a { - display: block; - } - } - - } // close #activity-stream -} // close #buddypress - -/* Single activity view - activity permalink */ - -.activity-permalink { - - #buddypress { - - #activity-stream { - - li.activity-item { - padding: $spacing-val-md; - } - - li.mini { - - .activity-header { - - @include font-size(16); - - @media screen and (min-width: 46.25em) { - - @include font-size(20); - } - - margin-bottom: $spacing-val-lg; - - p { - padding: $spacing-val-md; - } - } - } - } - } -} - -/** -*----------------------------------------------------- -* @section 4.1.3 - Activity Comments -*----------------------------------------------------- -*/ -#buddypress { - - #activity-stream { - - .activity-comments { - border-left: 1px solid $border-light; - margin-top: 5px; - - ul { - background: rgba($light-background, 0.6); - color: #737373; - margin: 15px 0 0 2px; - - a { - color: #0077c7; - } - } - - .acomment-meta { - color: #737373; - } - - .ac-form { - - input[type="submit"], - .ac-reply-cancel { - color: rgba($body-text, 0.8); - display: inline-block; - font-family: inherit; - - @include font-size(12); - font-weight: 400; - line-height: 1.2; - padding: 4px 10px; - text-transform: lowercase; - width: 100px; - } - - .ac-reply-cancel { - border: 1px solid rgba($border-color, 0.7); - text-align: center; - - &:focus, - &:hover { - background: $bp-button-hover; - } - } - - } // close .ac-form - - } // close .activity-comments - } // close .activity - -} // close #buddypress - -/** -*---------------------------------------------------------- -* @section 4.2 - Members Loop -*---------------------------------------------------------- -*/ - -#buddypress { - - #members-list { - - @include medium-up { - - li { - - .item-avatar, - .item { - float: left; - } - - .action { - float: right; - } - } - } - - } // close #members-list -} //close #BuddyPress - -/** -*------------------------------------------------------------------------------- -* @section 5.0 - Directories -*------------------------------------------------------------------------------- -*/ - -/** -*----------------------------------------------------------- -* @subsection Registration -*----------------------------------------------------------- -*/ - -#buddypress { - - #signup_form.standard-form { - - #profile-details-section, - #basic-details-section, - #blog-details-section { - float: none; - width: 100%; - - @media screen and (min-width: 38.75em) { - width: 48%; - } - } - - @media screen and (min-width: 38.75em) { - - #profile-details-section { - float: right; - } - - #basic-details-section { - float: left; - } - } - - } -} - -/** -*------------------------------------------------------------------------------- -* @section 6.0 - Single Item screens: User Account & Single Group Screens -*------------------------------------------------------------------------------- -*/ - - -/** -*----------------------------------------------------------- -* @subsection 6.1 - Item Header Global -*----------------------------------------------------------- -*/ - -.bp-user, -.single-item.groups { - - #buddypress { - - #item-header-content { - - #item-meta { - - @include font-size(14); - text-align: left; - - p { - margin-bottom: 0.5em; - } - } - } - } - - @media screen and (max-width: 46.25em) { - - main { - - header.entry-header { - padding-bottom: 1rem; - } - } - } - - @media screen and (max-width: 38.75em) { - - h1, - #item-header-content { - text-align: center; - } - } - - #buddypress { - - @media screen and (max-width: 46.25em) { - - #item-header { - - .generic-button { - float: none; - margin: 1.5em 0 0; - } - } - } - - @media screen and (max-width: 38.75em) { - - h1 { - margin-bottom: 0; - } - - #item-header-avatar { - - img.avatar { - margin-right: 0; - } - } - - #item-header-content { - width: 100%; - } - } - } -} - -/** -*----------------------------------------------------- -* @subsection 6.1.1 - item-header Groups -* -* Group Specific Item Header -*----------------------------------------------------- -*/ - -.single-item.groups { - - #buddypress { - - @media screen and (max-width: 46.25em) { - - #item-header { - - #item-meta { - margin-bottom: $spacing-val-md; - } - } - } - - // Move visual flow of avatar & item-actions at narrow width, - // avatar first after group title - @media screen and (max-width: 38.75em) { - - div#item-header { - display: flex; - flex-direction: column; - - #item-header-avatar { - order: 1; - text-align: center; - - a { - border-bottom: 0; - - img { - display: inline-block; - float: none; - } - } - } - - #item-header-content { - order: 2; - } - - #item-actions { - order: 3; - - h2 { - border-bottom: 1px solid $border-light; - text-align: center; - } - } - } - } // close @media - - div#item-header { - padding-bottom: $spacing-val-lg; - - div#item-actions { - margin: 0; - width: 100%; - - @media screen and (min-width: 38.75em) { - border-left: 1px solid $border-light; - clear: none; - float: right; - padding-left: 0.2em; - width: 30%; - } // close @media - - @media screen and (min-width: 46.25em) { - width: 40%; - } - - ul { - margin-top: 0; - padding-left: 0; - } - - h2 { - - @include font-size(14); - - @media screen and (min-width: 46.25em) { - - @include font-size(16); - } - - padding: 0.2em; - } - } // close item-actions - - @media screen and (min-width: 46.25em) { - - #item-header-avatar, - #item-header-content { - float: left; - } - - #item-header-avatar { - width: 21%; - } - - #item-header-content { - margin-left: 4%; - width: 40%; - } - - div#item-actions { - float: right; - width: 28%; - } - - } // close @media - - } // close #item-header - } // close #buddypress -} // close .groups - -/** -*----------------------------------------------------- -* @subsection 6.1.2 - Item Header User Accounts -* -* User Accounts Specific Item Header -*----------------------------------------------------- -*/ - -.bp-user { - - #buddypress { - - #item-header { - padding: $spacing-val-md 0; - - #item-header-avatar { - text-align: center; - width: 100%; - - img.avatar, - a { - border-bottom: 0; - display: inline-block; - float: none; - } - } - - @media screen and (min-width: 46.25em) { - - #item-header-avatar { - float: left; - width: 20%; - - a { - float: left; - } - } - - #item-header-content { - float: right; - margin-right: 5%; - width: 69%; - } - - } // close @media - - } // close #item-header - - } // close #buddypress -} // close .bp-user - -/** -*----------------------------------------------------------- -* @subsection 6.2 - Item Body: Global -*----------------------------------------------------------- -*/ - -/** -*---------------------------------------------------- -* @subsection 6.2.1 - Item Body Groups -* -* Groups specific item body rules - screens -*---------------------------------------------------- -*/ - -/** -*----------------------------------------- -* @subsection 6.2.1.1 - Group Management -*----------------------------------------- -*/ - -// headings settings screens & general global settings styles -.groups { - - #group-settings-form { - - h3 { - background: $dark-background; - color: $content-background; - padding: 0.2em; - } - } -} - -.groups.edit-details { - - #group-settings-form { - - label { - margin-bottom: 0; - padding: 0.2em; - width: 80%; - } - - textarea + p label { - background: none; - color: inherit; - - @include font-size(14); - width: auto; - } - - textarea { - height: auto; - min-height: 100px; - overflow: auto; - } - } -} // close .groups.edit-details - -.groups.group-settings { - - #group-settings-form { - - div.radio label { - border: 1px solid $border-light; - padding: 0.2em; - - ul { - color: rgba($body-text, 0.6); - - @include font-size(14); - } - } - - } -} // close .groups.group-settings - -.groups.group-avatar { - - form > p { - margin-top: $spacing-val-md; - } - -} - -.groups.manage-members { - - #group-settings-form { - - .item-list { - - li { - border-bottom: 1px solid $border-light; - - img, - h5 { - float: left; - - > a { - border-bottom: 0; - } - } - - span.small { - clear: left; - display: block; - float: none; - margin-top: $spacing-val-sm; - - a { - display: inline-block; - margin: $spacing-val-xs 0; - width: 100%; - - @media screen and (min-width: 38.75em) { - width: auto; - } - } - } - - h5 { - margin: 0; - } - - } - } - } -} // close .groups.manage-members - -/** -*----------------------------------------- -* @subsection 6.2.1.2 - Group members -*----------------------------------------- -*/ - -// Massage the members search for groups nav specifically. -.groups.group-members { - - #subnav { - - li { - - @media screen and (max-width: 38.75em) { - background: $content-background; - padding: $spacing-val-md 0; - } - - width: 100%; - - #search-members-form { - float: right; - - @media screen and (max-width: 38.75em) { - margin: 0; - width: 100%; - - label { - - input[type="text"] { - width: 100%; - } - } - } - - margin: $spacing-val-xs $spacing-val-xs 0 0; - } - } - } -} - -/** -*----------------------------------------------------- -* @subsection 6.2.2 - Item Body User Accounts -* -* User Account specific item body rules -*----------------------------------------------------- -*/ - -.bp-user { - - .entry-title { - margin-bottom: 0.5em; - } -} - -/** -*-------------------------------------------- -* @subsection 6.2.2.1 - classes, pag, filters -*-------------------------------------------- -*/ -.bp-user { - - #buddypress { - - table { - - th { - - @include font-size(14); - } - - td { - - @include font-size(12); - } - - a { - color: #0074c2; - } - - @include medium-up { - - th { - - @include font-size(16); - } - - td { - - @include font-size(14); - } - } - - @include large-up { - - th { - - @include font-size(18); - } - - td { - - @include font-size(16); - } - } - } - - .pag-count { - font-style: italic; - } - - .notifications-options-nav { - border: 1px solid rgba($border-color, 0.5); - float: left; - width: 100%; - - @media screen and (min-width: 38.75em) { - width: 300px; - } - - select, - input { - border: 0; - - @include font-size(14); - outline: 0; - padding: 0; - } - - select { - float: left; - margin-right: 0; - width: 60%; - } - - input { - float: right; - font-family: inherit; - line-height: 20px; - width: 40%; - } - - } // close .notifications-options-nav - - } //close #buddypress -} // close .bp-user - -/** - *------------------------------------------- - * @subsection 6.2.2.2 - Extended Profiles - *------------------------------------------- - */ - -.bp-user { - - #buddypress { - - .profile { - - .bp-widget { - - h2 { - background: lighten($dark-background, 10%); - color: #fff; - margin-bottom: 0; - padding: 0.4em; - } - - table { - margin-top: 0; - } - } - - /* Edit profile */ - - #profile-edit-form { - - .button-nav:before, - .button-nav:after { - content: " "; - display: table; - } - - .button-nav:after { - clear: both; - } - - ul.button-nav { - border-bottom: 1px solid $border-light; - margin-left: 0; - - li { - float: left; - margin-bottom: 0; - - &.current { - border: 1px solid $border-light; - border-bottom-color: #fff; - margin-bottom: -1px; - } - } // li - - a { - background: none; - border: 0; - - @include font-size(18); - } - } //.button-nav - - .field-visibility-settings-toggle, - .field-visibility-settings { - - @include font-size(14); - } - - .field-visibility-settings-close, - .visibility-toggle-link { - background: $dark-background; - color: #fff; - padding: 0.2em 0.5em; - } - } // close profile form - - .bp-avatar { - - #bp-delete-avatar { - - a { - font-size: inherit; - } - } - } - } // close .profile - - } // close #buddypress -} // close .bp-user - -/** - *------------------------------------------- - * @subsection 6.2.2.3 - Groups - *------------------------------------------- - */ - -.bp-user { - - #buddypress { - - #groups-list { - - li { - - .item { - - @media screen and (min-width: 77.5em) { - left: 5%; - width: 50%; - } - } - } - } - - } // close #buddypress -} // close .bp-user - -/** - *------------------------------------------- - * @subsection 6.2.2.5 - Private Messaging - *------------------------------------------- - */ - -.bp-user { - - #buddypress { - - #message-thread { - //Single message view - a { - border-bottom: 0; - } - - #message-subject { - background: lighten($dark-background, 10%); - color: $content-background; - padding: 0.3em 0 0.3em 0.2em; - } - - #message-recipients { - font-style: italic; - - a.confirm { - border: 1px solid $border-light; - font-style: normal; - } - } - - .message-metadata { - - &:after { - clear: both; - content: ""; - display: table; - } - - img.avatar { - float: none; - } - - @media screen and (min-width: 46.25em) { - - img.avatar { - float: left; - } - } - - .message-star-actions { - float: right; - margin-right: $spacing-val-xs; - position: static; - } - } // close .message-meta - - .message-content { - background: $light-background; - border: 1px solid $border-light; - margin: $spacing-val-sm 0 0 0; - padding: 0.3em; - } - - #send-reply { - - .message-content { - background: $content-background; - border: 0; - } - } - - .alt { - background: $content-background; - } - } // close message-thread Singular view! - - #message-threads { - - thead { - - tr { - background: lighten($dark-background, 10%); - } - } - - tr { - - td { - background: $content-background; - display: inline-block; - float: left; - } - - td.thread-star, - td.thread-options { - border-bottom-color: $medium-background; - border-bottom-width: 2px; - height: 2.4em; - padding-bottom: 0.2em; - padding-top: 0.2em; - - @media screen and (max-width: 46.25em) { - padding-top: 0; - } - } - - td.thread-star { - vertical-align: middle; - - .message-action-star { - line-height: 1.2; - } - } - - td.bulk-select-check, - td.thread-from { - height: 3em; - - @media screen and (max-width: 38.75em) { - height: 5.2em; - } - } - - td.thread-from, - td.thread-options { - border-left: 0 !important; - - @include calc(width, "100% - 30px"); - margin-left: 0; - } - - td.thread-info { - padding-left: 41px; - width: 100%; - } - - td.thread-options { - text-align: right; - - a { - - @include font-size(12); - line-height: 2.2; - } - } - - span.from { - display: none; - } - - span.activity { - display: block; - float: right; - line-height: 2; - - @media screen and (max-width: 38.75em) { - clear: both; - - @include font-size(11); - width: 100%; - } - } - } - - tr.unread { - - td { - background: $unread; - border-color: $border-color; - } - } - - th { - display: none; - } - - th.bulk-select-all { - border-bottom: 0; - display: inline-block; - text-align: left; - } - - th.bulk-select-all, - td.bulk-select-check, - td.thread-star { - border-right: 0; - width: 30px; - } - } - - .acfb-holder { - list-style: none; - - li { - margin-left: 0; - } - - li.friend-tab { - background: lighten($notice-info, 20%); - border: inherit; - margin-right: 0; - padding: 0.5em; - - span.p { - // the 'X' close - padding-left: $spacing-val-sm; - - &:focus, - &:hover { - color: $link-action; - cursor: pointer; - } - } - - a { - border-bottom: 0; - text-decoration: none; - - img { - // this is the tiny user avatar - display: inline; - height: 20px; - vertical-align: middle; - width: 20px !important; // override inline style - } - } - } - } - - #message-threads.sitewide-notices { - - td { - width: 100%; - - strong { - background: lighten($dark-background, 10%); - color: $content-background; - display: block; - margin-bottom: 0.4em; - padding-left: 0.2em; - } - - a { - display: inline-block; - } - } - - td:first-child { - display: none; - } - - td:nth-child(2) { - - strong { - margin: -8px -8px 8px; - } - } - - td:first-child + td + td { - // notice date - border-bottom: 0; - - span { - line-height: 1; - } - } - - td:last-child { - // notice actions - border-bottom-color: darken($border-light, 20%); - line-height: 1; - text-align: right; - - a:last-child { - // hide the 'x' text - line-height: 0; - margin-left: 0.7em; - text-indent: -999em; - } - - a:last-child:after { - content: attr(title); - display: block; - line-height: initial; - text-indent: 0; - } - } - } - - } // #buddypress - - // acfb auto complete name list sits in doc footer before body close - .ac_results { - background: #eee; - padding-left: $spacing-val-sm; - - ul { - margin: 0; - } - - li { - margin: $spacing-val-sm 0; - - &:focus, - &:hover { - cursor: pointer; - } - } - } - -} // close .bp-user - -/** - *------------------------------ - * @subsection 6.2.2.6 - Settings - *------------------------------ - */ - -.bp-user { - - #buddypress { - - #settings-form { - // 'p' = email notification screen sub heading - > p { - - @include font-size(20); - margin: $spacing-val-md 0 $spacing-val-sm; - } - } - - table.notification-settings { - - td.yes, - td.no { - vertical-align: middle; - } - } - // Profile table td widths - table.profile-settings { - width: 100%; - - th.field-group-name, - td.field-name { - width: 50%; - } - - @media screen and (min-width: 46.25em) { - - th.field-group-name, - td.field-name { - width: 70%; - } - } - - th.title, - td.field-visibility { - width: 30%; - } - - td.field-visibility { - - select { - width: 100%; - } - } - } - - } // close #buddyPress - -} // close .bp-user - -/** -*------------------------------------------------------------------------------- -* @section 7.0 - Forms - General -*------------------------------------------------------------------------------- -*/ - -// Attempt to reset form control widths -#main { - - #buddypress { - - .standard-form { - - li { - float: none; - } - - input[type="text"], - input[type="email"], - input[type="password"], - textarea { - width: 100%; - } - } - } -} - - -#buddypress { - - // Match BP form elements to Themes(2016) styling where styles - // are not inherited or being overriden. - div.activity-comments { - - form { - - .ac-textarea { - background: $light-background; - border: 1px solid rgba($border-color, 0.5); - - textarea { - background: none; - border: 0; - } - } - } - } - - .standard-form { - - // Keep BP form element borders to 1px rather than 2013 2px - input[type="text"], - input[type="email"], - input[type="password"], - button, - select, - textarea { - border-color: rgba($border-color, 0.5); - border-width: 1px; - } - - select { - color: #737373; - } - - } // close .standard-form - - #signup_form.standard-form { - - div.submit { - float: none; - - input { - margin-right: 0; - } - } - } - -} // close #buddypress - -#buddypress { - - div.dir-search, - div.message-search, - li.groups-members-search { - float: none; - margin: $spacing-val-sm 0; - - // Stylise the seach form elements, in part this deals with padding - // issues on the submit & sizing issues between bp styles & 2016 - - form { // *sigh* only to bludgeon over specified rules - border: 1px solid rgba($border-color, 0.6); - overflow: hidden; - - label { - float: left; - width: 70%; - } - - input[type="text"] { - float: left; - margin: 0; - width: 100%; - } - - input[type="text"], - input[type="submit"] { - - @include font-size(14); - border: 0; - line-height: inherit; - } - - input[type="text"] { - border-right: 1px solid rgba($border-color, 0.6); - padding: 0.2em 0 0.2em 0.2em; - } - - input[type="submit"] { - float: right; - font-weight: 400; - padding: 0.2em 1em; - text-align: center; - text-transform: none; - width: 30%; - } - } // close form - - } // close .dir-search, .message-search - - // Shift the search parent to the right and allow to shrinkwrap - - @media screen and (min-width: 38.75em) { - - div.dir-search, - div.message-search, - li.groups-members-search { - float: right; - margin-bottom: 5px !important; - - form { - - label, - input[type="text"], - input[type="submit"] { - width: auto; - } - } - } - - } // close @media - - - @include large-up { - - .dir-search, - .message-search { - - form { - - input[type="text"] { - - @include font-size(16); - } - - input[type="submit"] { - - @include font-size(16); - } - } - } - } - -} // close #buddypress - -/** -*------------------------------------------------------------------------------- -* @section 8.0 - Tables - General -*------------------------------------------------------------------------------- -*/ - -// Adjust table font sizes, default too large proportionally -// This approach will require refinement and perhaps re-location to -// a more general typography section to manage BP elements grouped under -// breakpoints. Provide top/bottom margins for tables, lacking in BP styles -#buddypress { - - table { - - @include font-size(14); - margin: $spacing-val-md 0; - - tr th { - background: lighten($dark-background, 10%); - border-color: darken($border-light, 20%); - color: $content-background; - } - - // Reduce the themes inherited paragraph margins in tables - p { - margin-bottom: 0.5em; - } - } - - @media screen and (min-width: 55em) { - - table { - - @include font-size(16); - } - } -} - -/*__ User Account tables __*/ - -#buddypress { - - // Manage some table cells widths that are disproportionate to their content - .notifications, - .messages-notices { - - th { - width: 30%; - - &.bulk-select-all { - text-align: center; - width: 10%; - } - } - - .bulk-select-check, - .thread-star { - text-align: center; - } - - .notification-actions, - td.thread-options { - text-align: center; - - a { - display: inline-block; - margin: 0; - padding: 0; - } - } - - // Notices action buttons, this maybe better moved, temp for now to address - // styling issues - this will need styling ideas - td { - - .button { - border: 0; - display: block; - padding: 0; - text-align: center; - } - } - - } // .notifications, .message-notices - -} // #buddypress - -/** -*------------------------------------------------------------------------------- -* @section 9.0 - Error / Success messages -*------------------------------------------------------------------------------- -*/ - -// message args ($variable-color, text-color) -// Leave text-color undefined to automagically set text color -// to background color darker by 50% - -#buddypress { - - div#message { - - p { - - @include font-size(18); - font-weight: 700; - } - - &.info { - - p { - - @include message-box($notice-info); - } - } - - &.updated { - - p { - - @include message-box($notice-update); - } - } - - } // close #message - -} // close #buddypress - -// Without direct classes on our mesages ( 'warning' ) -// we need to use the body classes -// @todo If this class .warning is included in main BP styles remove from here -.delete-group { - - #buddypress { - - div#message.info { - - p { - - @include message-box($notice-warning); - } - } - } -} - -/** -*------------------------------------------------------------------------------- -* @section 10.0 - Ajax Loading, Widgets, General classes -*------------------------------------------------------------------------------- -*/ - -#buddypress { - - .acfb-holder { - - li.friend-tab { - background: $notice-info; - border: inherit; - } - } -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/066/066.test.js b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/066/066.test.js deleted file mode 100644 index 3d46b95ecc1dba..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/066/066.test.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -const stylelint = require( 'stylelint' ), - systemTestUtils = require( '../systemTestUtils.js' ); - -it( '066', () => { - return stylelint.lint({ - files: [systemTestUtils.caseStylesheetGlob( '066' )], - configFile: systemTestUtils.caseConfig( '066' ), - }).then( ({ results }) => { - expect( systemTestUtils.prepResults( results ) ).toMatchSnapshot(); - }); -}); diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/066/__snapshots__/066.test.js.snap b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/066/__snapshots__/066.test.js.snap deleted file mode 100644 index 3a8a30bfd68791..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/066/__snapshots__/066.test.js.snap +++ /dev/null @@ -1,15 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`066 1`] = ` -Array [ - Object { - "deprecations": Array [], - "errored": undefined, - "ignored": undefined, - "invalidOptionWarnings": Array [], - "parseErrors": Array [], - "source": "066/stylesheet.scss", - "warnings": Array [], - }, -] -`; diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/066/config.json b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/066/config.json deleted file mode 100644 index b3a2db66c84f1a..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/066/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../scss.js" -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/066/stylesheet.scss b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/066/stylesheet.scss deleted file mode 100644 index f83f14b3100537..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/066/stylesheet.scss +++ /dev/null @@ -1,3194 +0,0 @@ - -// Stylesheet Guidence Notes -// Table of content represents a guide to sections of the sheet. -// Note that not all sections may be described in the body of the -// rulesets only those that require styles for a given theme. -// Sub sections might not exist but can be added as required -// as per BP Lists - 'activity' section. - -// We follow the dictats of the parent theme in respect of media queries, -// font sizing etc. Media queries are used in a modular sense (OOCSS) -// rather than described as blocks to the end of the sheet, this aids ease -// of managing media queries, scalability & flexibility. - -// 2017 Media Queries / Breakpoints. -$small-up-2017: "min-width: 30em"; -$med-small-up-2017: "min-width: 48em"; -$medium-up-2017: "min-width: 55em"; -$large-up-2017: "min-width: 67em"; -$x-large-up-2017: "min-width: 79em"; - - -// In addition BP will use the em breakpoints as referenced below to provide -// a series of finer breakpoints for max widths, to allow fine adjustments; -// For main structural elements we use the themes values, only using bp -// breakpoints to manage granular elements in loops etc. - -$x-small-only-bp: "max-width: 22em"; // for xtra small mobile only -$small-only-bp: "max-width: 38.75em"; // small only -$small-up-bp: "min-width: 38.75em"; // small only -$med-only-bp: "max-width: 46.25em"; // med small only - -// Mixins and Variables - -// simplify remembering/writing media queries -// written as: -// @include medium-up { -// body {property: value;} -// } -// - -@mixin x-small-only { - - @media screen and ($x-small-only-bp) { - - @content; - } -} - -@mixin small-only { - - @media screen and ($small-only-bp) { - - @content; - } -} - -@mixin medium-only-bp { - - @media screen and ($med-only-bp) { - - @content; - } -} - -@mixin small-up-bp { - - @media screen and ($small-up-bp) { - - @content; - } -} - -@mixin small-up { - - @media screen and ($small-up-2017) { - - @content; - } -} - -@mixin med-small-up { - - @media screen and ($med-small-up-2017) { - - @content; - } -} - -@mixin medium-up { - - @media screen and ($medium-up-2017) { - - @content; - } -} - -@mixin large-up { - - @media screen and ($large-up-2017) { - - @content; - } -} - -@mixin x-large-up { - - @media screen and ($x-large-up-2017) { - - @content; - } -} - -// Common spacing values -$spacing-val-lg: 40px; -$spacing-val-md: 20px; -$spacing-val-sm: 10px; -$spacing-val-xs: 5px; - -// A simple mixin to handle font-sizing -// 2017 uses a basic pixel font size approach, we'll stick with rem/px -@mixin font-size($font-size: 16) { - $rem-font-value: ($font-size / 16); - font-size: ($font-size * 1px); - font-size: $rem-font-value + rem; -} - -// To allow mixins to pass VendorPrefix scss-lint tests we disable lint-test -// for specific blocks / rulesets -// until such time as exemption lists can be built for the scss-lint.yml? -// Any vendor prefix properties / mixins need to be in this block - -// scss-lint:disable VendorPrefix - -// Border border-radius mixins -@mixin border-radius($radius) { - -webkit-border-radius: $radius; - -moz-border-radius: $radius; - -ms-border-radius: $radius; - border-radius: $radius; - background-clip: padding-box; -} - -@mixin border-top-radius($radius) { - -webkit-border-top-right-radius: $radius; - border-top-right-radius: $radius; - -webkit-border-top-left-radius: $radius; - border-top-left-radius: $radius; - background-clip: padding-box; -} - -@mixin border-right-radius($radius) { - -webkit-border-bottom-right-radius: $radius; - border-bottom-right-radius: $radius; - -webkit-border-top-right-radius: $radius; - border-top-right-radius: $radius; - background-clip: padding-box; -} - -@mixin border-bottom-radius($radius) { - -webkit-border-bottom-right-radius: $radius; - border-bottom-right-radius: $radius; - -webkit-border-bottom-left-radius: $radius; - border-bottom-left-radius: $radius; - background-clip: padding-box; -} - -@mixin border-left-radius($radius) { - -webkit-border-bottom-left-radius: $radius; - border-bottom-left-radius: $radius; - -webkit-border-top-left-radius: $radius; - border-top-left-radius: $radius; - background-clip: padding-box; -} - -@mixin border-radius-none() { - -webkit-border-radius: none; - -moz-border-radius: none; - -ms-border-radius: none; - border-radius: none; -} - -// Box sizing -@mixin box-model($box-model) { - -webkit-box-sizing: $box-model; - -moz-box-sizing: $box-model; - box-sizing: $box-model; -} - -// Calc -@mixin calc($property, $expression) { - #{$property}: -webkit-calc(#{$expression}); - #{$property}: -moz-calc(#{$expression}); - #{$property}: calc(#{$expression}); -} - -// Re-enable the VendorPrefix lint test -// scss-lint:enable VendorPrefix - -// BP message boxes -@mixin message-box($background, $text-color: null) { - - @if $text-color { - // if a param was passed through - $text-color: $text-color; - } @else { - $text-color: darken($background, 50%); - } - - background: lighten($background, 10%); - border: 1px solid darken($background, 10%); - color: $text-color; -} - -// 2017 font family -@mixin default-font-sans() { - font-family: "Libre Franklin", "Helvetica Neue", helvetica, arial, sans-serif; -} - -// Variables: color definitions - -$dark-grey: #555; -$medium-grey: #878787; -$light-grey: #dcdcdc; -$x-light-grey: #f7f7f7; -$white: #fff; - -$body-text: #333; -$bp-light-text: $medium-grey; -$bp-xlight-text: #eee; -$content-background: #fff; -$off-white: #fafafa; -$cream-background: #f7f5e7; -$light-background: $x-light-grey; -$medium-background: $medium-grey; -$dark-background: $dark-grey; -$border-color: #bebebe; -$border-light: #eaeaea; // BP dividers -$border-med: #ddd; -$background-hover: #db572f; // 2017 link background hover -$bp-button-hover: #ededed; // this is the default BP button hover background -$notice-error: #c85a6e; -$notice-warning: #d05656; -$notice-info: #7dd4ff; -$notice-update: #ced98c; -$stripe-odd: #ebf0ff; -$stripe-even: #dbe5ff; -$unread: $x-light-grey; -$link-action: #c82b2b; - -/*-------------------------------------------------------------- - -This is the BuddyPress companion stylesheet for -the WordPress twentyseventeen theme. - -This sheet supports the primary BuddyPress styles in buddypress.css - -If you are running as a child theme of twentyseventeen this stylesheet will be -loaded by default. If you want to modify the styles the normal BP Theme Compat -hierarchy works and you can copy the file to buddypress/css/ or community/css/ -in your child themes root & either start over or modify the rulesets. - -If you do not require the styles you can dequeue them from the themes -functions file. - -Please see this codex article for more information: -http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ - ----------------------------------------------------------------- ->>> TABLE OF CONTENTS: ----------------------------------------------------------------- -1.0 Theme Structural Elements & overrides -2.0 - Navigation - General - 2.1 - Navs - Object Nav / Sub Nav (item-list-tabs) - 2.2 - Pagination -3.0 - Images -4.0 - BP Lists / Loops Generic - 4.1 - Activity Loop - 4.1.1 Whats New Activity - 4.1.2 - Activity Listing - 4.1.3 - Activity Comments - 4.2 - Members Loop - 4.3 - Groups Loop - 4.4 - Blogs Loop -5.0 - Directories - Members, Groups, Blogs, Register, activation -6.0 - Single Item screens: User Account & Single Group Screens - 6.1 - Item Headers: Global - 6.1.1 - item-header: Groups - 6.1.2 - item-header: User Accounts - 6.2 - Item Body: Global - 6.2.1 - item-body: Groups - 6.2.1.1 - Management settings screens - 6.2.1.2 - Group members list - 6.2.2 - item-body: User Accounts - 6.2.2.1 - classes, pag, filters - 6.2.2.2 - Extended Profiles - 6.2.2.3 - Groups - 6.2.2.4 - friends - 6.2.2.5 - Private Messaging Threads - 6.2.2.6 - Settings -7.0 - Forms - General -8.0 - Tables - General -9.0 - Error / Success Messages -10.0 - Ajax Loading, Widgets, General classes ---------------------------------------------------------------*/ - -/** -*------------------------------------------------------------------------------- -* @section 1.0 - Theme - Structural Elements. overrides, Globals -*------------------------------------------------------------------------------- -*/ - -.buddypress { - // Remove any empty clearing elements, CSS provides clearing. - div.clear { - display: none; - } - - // deal with global clearing property set on heading elements - // - for the moment we'll just specify this on lists ul only - - ul.item-list { - - h1, - h2, - h3, - h4, - h5, - h6 { - clear: none; - padding: 0; - } - } - - // Ensure no text decoration or box shadow causing underlined effect. - #page a { - box-shadow: none; - text-decoration: none !important; - } - - .entry-title { - text-align: center; - - @include medium-up { - text-align: left; - } - } - -} // close .buddypress - -// reduce the overlarge entry title margins -@include medium-up { - - .buddypress.bp-user.page, - .buddypress.single-item.groups, - .buddypress.groups.group-create, - .directory.buddypress.page-one-column { - - .site-content { - padding-top: $spacing-val-lg; - } - - .entry-header { - margin: $spacing-val-sm 0; - } - } -} - -// Open up the content width areas for BP screens to allow max widths. -// This takes into account the ability to columnize pages in 2017. -// Only effect changes based on breakpoints. - -@include med-small-up { - - body.buddypress.page.page-two-column { - - #primary { - - .entry-header { - width: 30%; - } - - .entry-content { - width: 68%; - } - } - } - - body.buddypress:not(.has-sidebar), - body.buddypress:not(.page-two-column) { - - #primary.content-area { - max-width: 100%; - width: 100%; - - .entry-content, - .content-bottom-widgets { - margin-left: 0; - margin-right: 0; - } - } - - .sidebar { - float: left; - margin-left: 75%; - padding: 0; - width: 25%; - } - - } // body.buddypress -} - -// 2017 allows for selecting two distinct color schemes. -// Our companion styles respect themes colors & inherit or avoid -// setting backgrounds/colors so selecting the dark scheme generally -// allows the theme to reset the BP text/headings etc to white -// In places we do set backgrounds, Navs, search forms etc these -// are added here under the themes body class to enable changing - -// Some element colors are inherited from BP original sheet so need to -// be reset under the dark scheme, where set in this sheet we simply state them -// only for the light scheme, additionally elements such as BP form styles -// need styles removing & are handled later in 'Forms' section -body.colors-dark { - - #buddypress { - - //tabs border bottom color needs to match dark background - #group-create-tabs.item-list-tabs { - - li.selected, - li.current { - border-bottom-color: #222; - - a { - color: inherit; - } - } - } - - div.item-list-tabs { - - ul { - - li.selected, - li.current { - - a { - background: none; - color: inherit; - } - } - } - } - - #object-nav { - - li:not(.current):focus, - li:not(.current):hover { - - a { - color: #555; - } - } - } - - // With the dark scheme the subnav links lose definition as nav menu links, - // add a border top to clarify the li.last element seperated from links. - #subnav.item-list-tabs { - - ul { - border-bottom: 1px solid rgba($border-light, 0.9); - margin-bottom: $spacing-val-md; - - li.last { - border-top: 1px solid rgba($border-light, 0.9); - } - } - - select { - - // we're forced to set a back color as Chrome won't - // accept inherit/none whereas FF does. - option { - background-color: #333; - } - } - } - - // lists text: descr, meta, etc - .item-list { - - div.meta { - color: #ddd; - } - - div.item-desc, - .activity-header p, - .activity-comments ul, - .acomment-meta { - color: $bp-xlight-text; - } - - .activity-meta, - .action { - - a { - background: $off-white; - - &:focus, - &:hover { - background: $white; - } - } - } - } - - #latest-update { - color: $bp-xlight-text; - } - - div.pagination * { - color: #ddd; - } - - #item-header { - - .user-nicename { - color: $bp-xlight-text; - } - } - - #item-body { - - table { - - thead { - - tr, - th { - background: none; - color: $bp-xlight-text; - } - } - - tr.alt { - - td { - background: none; - color: $bp-xlight-text; - } - } - - .field-visibility-settings, - .field-visibility-settings-notoggle { - color: #eee; - } - - } - - fieldset { - background: none; - } - - .checkbox, - .radio { - - label { - color: #eee; - } - } - - div#invite-list { - background: none; - } - } - - } // close #buddypress -} - - -body.colors-dark.group-members { - - #buddypress { - - #subnav { - - li { - background: none; - } - - .groups-members-search { - - form { - margin-bottom: $spacing-val-md; - margin-top: 0; - } - } - } - } -} - -// remove borders for dir component screens. -.directory.colors-dark { - - #buddypress { - - #subnav.item-list-tabs { - - ul { - border-bottom: 0; - border-top: 0; - - li.last.filter { - border-top: 0; - } - } - } - - div.activity { - - ul.item-list { - border-top: 0; - } - } - } -} - -body.colors-light { - - #buddypress { - - div.item-list-tabs { - - ul { - background-color: $off-white; - } - } - - div#subnav.item-list-tabs { - - ul { - background-color: $light-background; - - li.last { - background: $content-background; - } - } - } - - .item-list { - - .activity-header { - - p { - background-color: $light-background; - color: $bp-light-text; - } - } - - .activity-comments { - - .acomment-meta { - color: #737373; - } - } - } - - #item-body { - - .profile { - - h2 { - background: $medium-grey; - color: #fff; - } - } - } - - table { - - tr.alt { - - td { - background: #f5f5f5; - color: $body-text; - } - } - } - - div#invite-list { - background: $off-white; - } - } // close #buddypress -} - -/** -*------------------------------------------------------------------------------- -* @section 2.0 - Navigation - General -*------------------------------------------------------------------------------- -*/ - -/** -*---------------------------------------------------------- -* @section 2.1 - Navs Object Nav / Sub Nav (item-list-tabs) -* -* The main navigational elements for all BP screens -*---------------------------------------------------------- -*/ - -// We have a need to override BP specifity -// so some rulesets sets will appear over weighted in selectors - -#buddypress { - - // active/current states all navs - div.item-list-tabs { - - ul { - - li.selected { - - a { - background: inherit; - opacity: 1; - } - } - } - } - - // global nav styles - div.item-list-tabs { - - ul { - border-bottom: 1px solid rgba($border-light, 0.9); - overflow: hidden; - padding: 0; - - li { - - a { - - span { - border-radius: 25%; - } - } - } - } - } // close item-list-tabs - -} // close #buddypress - - -/*__ Horizontal menus __*/ -#buddypress { - - #object-nav { - - ul { - overflow: hidden; - - li { - float: none; - } - - @include small-only { - - li:not(:last-child) { - border-bottom: 1px solid $border-light; - } - } - - li:not(.selected) { - - @include small-only { - - &:focus, - &:hover { - background: darken($cream-background, 2%); - } - } - } - - @include small-up-bp { - - li { - float: left; - } - } - } - } - - div#subnav.item-list-tabs { - margin-top: 0; - - ul { - border-bottom: 0; - margin-top: $spacing-val-xs; - padding: 0; - - li.last { - margin-top: 0; - padding: $spacing-val-xs $spacing-val-xs $spacing-val-xs 0; - width: 100%; - - select, - select:focus { - background: transparent; - border: 0; - outline: 0; - } - - label { - display: inline; - } - - select, - label, - option { - - @include font-size(14); - } - - select { - font-style: italic; - height: auto; - } - } - - @include small-up-bp { - - li.last { - text-align: right; - } - } - } // close ul - } // close #subnav - -} // close #buddypress - - -/*__ Vertical menu User Account / Group single screens __*/ - -// This block contains rules to re-factor the item-body structural element -// to sit alongside the vert menu -// 2017 right sidebar is displayed if the widget sidebar has widgets; -// we'll only display object nav as a vert menu if not .two-column-page. - -@include medium-up { - - body:not(.page-two-column) { - - #buddypress { - - #object-nav { - border-right: 1px solid $border-med; - float: left; - margin-right: -1px; - width: 200px; - - ul { - background: none; - border-bottom: 0; - padding: 0; - - li { - float: none; - overflow: hidden; - - span { - background: $content-background; - border-radius: 10%; - float: right; - margin-right: 2px; - } - } - } - } - - #item-body { - border-left: 1px solid $border-med; - overflow: hidden; - padding: 0 0 0 $spacing-val-md; - width: auto; - - #subnav { - margin: 0 0 0 (-$spacing-val-md); - - ul { - margin-top: 0; - } - } - } - - } // close #buddypress - } // close body:not(.sidebar) -} // close @media - - -// Tabbed Nav styling -// Primarilly used for group create screens & ? directory nav. - -@include med-small-up { - - #buddypress { - - #group-create-tabs.item-list-tabs { - - ul:before, - ul:after { - content: " "; - display: table; - } - - ul:after { - clear: both; - } - - ul { - background: none; - border: 0; - border-bottom: 1px solid $border-med; - overflow: visible; - padding-bottom: 0; - - li { - float: left; - width: auto; - } - - li.selected, - li.current { - border: 1px solid $border-med; - border-bottom-color: $content-background; - - @include border-top-radius(4px); - margin-bottom: -1px; - - a { - background: none; - color: $body-text; - outline: none; - } - } - } - - } // close .item-list-tabs - - #subnav { - - ul { - border-bottom: 0; - } - - } // close #subnav - } // close #buddypress - -} // close @media - -/** -*---------------------------------------------------------- -* @section 2.2 - Pagination -*---------------------------------------------------------- -*/ - -#buddypress { - - div.pagination { - box-shadow: none; - font-weight: 400; - min-height: 0; - - &:before, - &:after { - height: 0; - width: 0; - } - - .pag-count { - margin-left: 0; - } - - .pagination-links { - margin-right: 0; - - span, - a { - height: auto; - line-height: 1; - padding: 5px; - } - - .prev, - .next { - background-color: transparent; - color: inherit; - overflow: visible; - width: auto; - - &:before { - display: none; - } - } - - .prev { - left: auto; - position: static; - } - - .next { - position: static; - right: auto; - } - } // close .pagination-links - } // close .pagination -} // close #buddypress - -/** -*------------------------------------------------------------------------------- -* @section 4.0 - BP Lists / Loops Generic -*------------------------------------------------------------------------------- -*/ - -// Adjusts Meta items and various elements to match 2017 font-family -#buddypress { - - .item-list { - - .activity-header, - .activity-meta { - - @include default-font-sans(); - } - } -} - -#buddypress { - - .activity-meta { - - .button { - - &:focus, - &:hover { - background: inherit; - color: #000; - } - } - } - - .action { - - .generic-button { - - a { - - &:focus, - &:hover { - background: inherit; - color: #000; - } - } - } - } -} // close #buddypress - -// Trying to position the action div absolute has bad consequences where -// aditional items are displayed, floating is an alternative that -// allows natural flow expansion. -// This block: -// * Manages li items, Stacks them small screen, floated left at wider screens. -// * Adjusts display of action buttons at small screen mobile up. -// Adjusts Meta items to match 2017 font-family - -#buddypress { - - ul.item-list { - - li { - overflow: hidden !important; - - // Undo BP floats to center avatars initially mobile up - .item-avatar { - margin-bottom: $spacing-val-sm; - - @include small-up-bp { - margin-bottom: 0; - } - - text-align: center; - - a { - border-bottom: 0; - } - - img.avatar { - display: inline-block; - float: none; - margin-bottom: $spacing-val-sm; - - // Quite early on we need to move avatars to the left(right) - @include small-up { - display: block; - float: left; - } - } - } - - .item { - overflow: hidden; - - @include med-small-up { - margin-left: 15%; - } - - span.activity { - font-style: italic; - } - - .item-desc { - margin-left: 0; - width: 94%; - } - - .item-title { - - @include font-size(18); - line-height: 1.2; - text-align: center; - - @include small-up { - text-align: left; - } - - width: 100%; - - .update { - display: block; - - @include font-size(13); - - @include medium-up { - - @include font-size(14); - } - - padding: $spacing-val-sm 0; - text-align: left; - } - } - - } - - @include medium-up { - - .item-avatar, - .item, - .action { - float: left; - } - - .item { - left: 5%; - margin-left: 0; - position: relative; - width: 55%; - - .item-title { - - @include font-size(22); - } - } - - }// close medium-up - - div.action { - clear: left; - float: none; - margin-bottom: -$spacing-val-md; - // remove BP margin left - margin-left: 0; - padding: $spacing-val-md 0 $spacing-val-xs; - - // push the actions to the right - @include medium-up { - clear: none; - float: right; - margin-bottom: 0; - padding: 0; - } - - position: relative; - text-align: left; - top: 0; - - div { - display: inline-block; - margin: $spacing-val-sm 0; - width: 100%; - - a { - display: block; - width: 100%; - } - // Provisionally lets keep the 'action' div - // position but inline-block the buttons - - @include small-up { - // keep buttons to a row small tablet up - margin: 0 $spacing-val-sm $spacing-val-sm 0; - width: auto; - } // close @media - - @include medium-up { - // take buttons to block to stack them when floated right - clear: right; - float: right; - margin: 0 0 $spacing-val-sm 0; - } // close @media - - } // close div - - .meta { - font-style: italic; - } - - } // close .action - - } // close li - } // close .item-list -} // close #buddypress - -/** -*---------------------------------------------------------- -* @section 4.1 - Activity -*---------------------------------------------------------- -*/ - -/** -*----------------------------------------------------- -* @section 4.1.1 - Activity Whats New -*----------------------------------------------------- -*/ - -#buddypress { - - form#whats-new-form { - - // Line-height issue inherited from BP rules, override. - p.activity-greeting { - line-height: 1.4; - } - - // corrective measure for clipped elements due to JS inline styling - - @include medium-only-bp { - - #whats-new-content { - clear: left; - margin: $spacing-val-sm 0 $spacing-val-md; - padding: $spacing-val-sm 0 0; - } - } - - #whats-new-content.active { - - #whats-new-options[style] { - - #whats-new-post-in-box { - border: 1px solid rgba($border-color, 0.5); - float: left; - line-height: 1.5; - margin-top: 12px; - padding-left: 0.2em; - width: 100%; - - select { - background: none; - border: 0; - float: right; - margin: 0; - min-height: 1.5em; - padding-left: 0.4em; - } - } - - @include small-up { - - #whats-new-post-in-box { - width: auto; - } - - #whats-new-submit { - float: right; - } - } - - } // close #whats-new-options - } // close #whats-new-content.active - - } // close #whats-new-form - - // User account form requires matching bp default specificity - #item-body { - - form#whats-new-form { - margin: $spacing-val-lg 0; - } - } -} // close #buddypress - -/** -*----------------------------------------------------- -* @section 4.1.2 - Activity Listing -*----------------------------------------------------- -*/ - -#buddypress { - - #activity-stream { - - // re-size activity avatars and stack small screen - // refactor main elements positioning medium up. - li { - padding: 25px 0 15px; - - .activity-avatar { - float: none; - text-align: center; - - a { - display: inline-block; - - img.avatar { - display: inline; - float: none; - height: 60px; - margin-bottom: $spacing-val-md; - margin-left: 0; - width: 60px; - } - } - } // close .activity-avatar - - .activity-content { - margin-left: 0; - - .activity-header { - - @include font-size(14); - - a { - color: #0075c4; - } - } - } - - @include med-small-up { - - .activity-avatar { - float: left; - margin-right: $spacing-val-sm; - text-align: left; - - a { - border-bottom: 0; - } - } - - .activity-content { - margin: 0; - overflow: hidden; - - .activity-header { - - @include font-size(16); - } - } - - } // close @media - - } // close li - - li.mini { - - .activity-avatar { - - a { - - img.avatar { - height: 30px; - margin-left: 15px; - width: 30px; - } - } - } - - .activity-content { - - .activity-header { - - @include font-size(14); - } - } - } - - .activity-content { - margin-top: -12px; - - .activity-header { - margin-right: 0; - - p { - border: 1px solid rgba($border-light, 0.6); - margin-top: 0; - padding: 0 0.2em; - } - - img.avatar { - box-shadow: none; - display: inline-block; - margin: 0 5px !important; // have to match to BP - vertical-align: middle; - } - } // close .activity-header - - .activity-meta { - - a { - display: block; - margin-bottom: $spacing-val-xs; - - @include small-up { - display: inline-block; - margin-bottom: 0; - width: auto; - } - } - } - - } // close .activity-content - - .load-more { - background: $light-background; - border: 1px solid transparent; - padding: $spacing-val-sm; - - &:focus, - &:hover { - background: darken($light-background, 1%); - border: 1px solid rgba(#9fd1e2, 0.3); - - a { - font-style: italic; - } - } - - a { - display: block; - } - } - - } // close #activity-stream -} // close #buddypress - -/* Single activity view - activity permalink */ - -.activity-permalink { - - #buddypress { - - #activity-stream { - - li.activity-item { - padding: $spacing-val-md; - } - - li.mini { - - .activity-header { - - @include font-size(16); - - @include med-small-up { - - @include font-size(20); - } - - margin-bottom: $spacing-val-lg; - - p { - padding: $spacing-val-md; - } - } - } - } - } -} - -/** -*----------------------------------------------------- -* @section 4.1.3 - Activity Comments -*----------------------------------------------------- -*/ -#buddypress { - - #activity-stream { - - .activity-comments { - border-left: 1px solid $border-light; - margin: $spacing-val-md 0 $spacing-val-md; - - @include small-up { - margin-left: $spacing-val-md; - } - - ul { - margin: 15px 0 0 2px; - - li { - border-top: 1px solid $border-color; - } - - a { - color: #0077c7; - } - } - - .acomment-meta { - border-bottom: 1px solid $border-light; - } - - .ac-form { - - input[type="submit"], - .ac-reply-cancel { - color: rgba($body-text, 0.8); - display: inline-block; - font-family: inherit; - - @include font-size(12); - font-weight: 400; - line-height: 1.2; - padding: 4px 10px; - text-transform: lowercase; - width: 100px; - } - - .ac-reply-cancel { - border: 1px solid rgba($border-color, 0.7); - text-align: center; - - &:focus, - &:hover { - background: $bp-button-hover; - } - } - - } // close .ac-form - - } // close .activity-comments - } // close .activity - -} // close #buddypress - -/** -*---------------------------------------------------------- -* @section 4.2 - Members Loop -*---------------------------------------------------------- -*/ - -#buddypress { - - #members-list { - - @include medium-up { - - li { - - .item-avatar, - .item { - float: left; - } - - .action { - float: right; - } - } - - li.is-current-user { - - .item { - float: none; - left: 0; - padding-left: 5%; - width: auto; - } - } - } - - } // close #members-list -} //close #BuddyPress - -/** -*------------------------------------------------------------------------------- -* @section 5.0 - Directories -*------------------------------------------------------------------------------- -*/ - -/** -*----------------------------------------------------------- -* @subsection Registration -*----------------------------------------------------------- -*/ - -#buddypress { - - #signup_form.standard-form { - - #profile-details-section, - #basic-details-section, - #blog-details-section { - float: none; - width: 100%; - - @include small-up-bp { - width: 48%; - } - } - - @include small-up { - - #profile-details-section { - float: right; - } - - #basic-details-section { - float: left; - } - } - - } -} - -/** -*------------------------------------------------------------------------------- -* @section 6.0 - Single Item screens: User Account & Single Group Screens -*------------------------------------------------------------------------------- -*/ - - -/** -*----------------------------------------------------------- -* @subsection 6.1 - Item Header Global -*----------------------------------------------------------- -*/ -@include med-small-up { - - - .bp-user.page-two-column { - - #buddypress { - - #cover-image-container { - - #item-header-cover-image { - - #item-header-content { - margin-left: 140px; - margin-top: -100px; - } - } - } - } - } - - .single-item.groups.page-two-column { - - #buddypress { - - #cover-image-container { - - #item-header-cover-image { - - #item-header-content { - margin-left: 10px; - } - } - } - } - } - -} // close media - -.bp-user, -.single-item.groups { - - #buddypress { - - // we need to remove the cover image dec styles - // & reset them for med up only. - #item-header-cover-image { - - .user-nicename { - color: $body-text; - text-shadow: none; - } - } - - @include med-small-up { - - #item-header-cover-image { - - .user-nicename { - color: $white; - text-shadow: 0 0 3px rgba(0, 0, 0, 0.8); - } - } - } - - #item-header-content { - - #item-meta { - - @include font-size(14); - text-align: left; - - p { - margin-bottom: 0.5em; - } - } - } - } - - @include medium-only-bp { - - main { - - header.entry-header { - padding-bottom: 1rem; - } - } - } - - @include small-only { - - h1, - #item-header-content { - text-align: center; - } - } - - #buddypress { - - @include medium-only-bp { - - #item-header { - - .generic-button { - float: none; - margin: 1.5em 0 0; - } - } - } - - @include small-only { - - h1 { - margin-bottom: 0; - } - - #item-header-avatar { - - img.avatar { - margin-right: 0; - } - } - - #item-header-content { - width: 100%; - } - } - } -} - -/** -*----------------------------------------------------- -* @subsection 6.1.1 - item-header Groups -* -* Group Specific Item Header -*----------------------------------------------------- -*/ - -.single-item.groups { - - #buddypress { - - @include medium-only-bp { - - #item-header { - - #item-meta { - margin-bottom: $spacing-val-md; - } - } - } - - // Move visual flow of avatar & item-actions at narrow width, - // avatar first after group title - @include small-only { - - div#item-header { - display: flex; - flex-direction: column; - - #item-header-avatar { - order: 1; - text-align: center; - - a { - - img { - display: inline-block; - float: none; - } - } - } - - #item-header-content { - order: 2; - } - - #item-actions { - order: 3; - - h2 { - border-bottom: 1px solid $border-light; - text-align: center; - } - } - } - } // close @media - - div#item-header { - padding-bottom: $spacing-val-lg; - - div#item-actions { - margin: 0; - width: 100%; - - @include small-up-bp { - border-left: 1px solid $border-light; - clear: none; - float: right; - padding-left: 0.2em; - width: 30%; - } // close @media - - @include med-small-up { - width: 40%; - } - - ul { - margin-top: 0; - padding-left: 0; - } - - h2 { - - @include font-size(14); - - @include med-small-up { - - @include font-size(16); - } - - padding: 0.2em; - } - } // close item-actions - - @include med-small-up { - - #item-header-avatar, - #item-header-content { - float: left; - } - - #item-header-avatar { - width: 21%; - } - - #item-header-content { - margin-left: 4%; - width: 40%; - } - - div#item-actions { - float: right; - width: 28%; - } - - } // close @media - - } // close #item-header - } // close #buddypress -} // close .groups - -/** -*----------------------------------------------------- -* @subsection 6.1.2 - Item Header User Accounts -* -* User Accounts Specific Item Header -*----------------------------------------------------- -*/ - -.bp-user { - - #buddypress { - - #item-header { - padding: $spacing-val-md 0; - - #item-header-avatar { - text-align: center; - width: 100%; - - img.avatar, - a { - display: inline-block; - float: none; - } - } - - @include med-small-up { - - #item-header-avatar { - float: left; - width: 20%; - - a { - float: left; - } - } - - #item-header-content { - float: right; - margin-right: 5%; - width: 69%; - } - - } // close @media - - } // close #item-header - - } // close #buddypress -} // close .bp-user - -/** -*----------------------------------------------------------- -* @subsection 6.2 - Item Body: Global -*----------------------------------------------------------- -*/ - - -/** -*---------------------------------------------------- -* @subsection 6.2.1 - Item Body Groups -* -* Groups specific item body rules - screens -*---------------------------------------------------- -*/ - -.groups.single-item.members { - - #buddypress { - - #subnav.item-list-tabs { - - ul { - background: none; - border-top: 0; - } - - } - } - -} - -/** -*----------------------------------------- -* @subsection 6.2.1.1 - Group Management -*----------------------------------------- -*/ - -// headings settings screens & general global settings styles -.groups { - - #group-settings-form { - - h3 { - background: $dark-background; - color: $content-background; - padding: 0.2em; - } - } -} - -.groups.edit-details { - - #group-settings-form { - - label { - margin-bottom: 0; - padding: 0.2em; - width: 80%; - } - - textarea + p label { - background: none; - color: inherit; - - @include font-size(14); - width: auto; - } - - textarea { - height: auto; - min-height: 100px; - overflow: auto; - } - } -} // close .groups.edit-details - -.groups.group-settings { - - #group-settings-form { - - div.radio label { - border: 1px solid $border-light; - padding: 0.2em; - - ul { - color: rgba($body-text, 0.6); - - @include font-size(14); - } - } - - } -} // close .groups.group-settings - -.groups.group-avatar { - - form > p { - margin-top: $spacing-val-md; - } - -} - -.groups.manage-members { - - #group-settings-form { - - .item-list { - - li { - border-bottom: 1px solid $border-light; - - img, - h5 { - float: left; - - > a { - border-bottom: 0; - } - } - - span.small { - clear: left; - display: block; - float: none; - margin-top: $spacing-val-sm; - - a { - display: inline-block; - margin: $spacing-val-xs 0; - width: 100%; - - @media screen and (min-width: 38.75em) { - width: auto; - } - } - } - - h5 { - margin: 0; - } - - } - } - } -} // close .groups.manage-members - -/** -*----------------------------------------- -* @subsection 6.2.1.2 - Group members -*----------------------------------------- -*/ - -// Massage the members search for groups nav specifically. -.groups.group-members { - - #subnav { - - li { - - @include small-only { - background: $content-background; - padding: $spacing-val-md 0; - } - - width: 100%; - - #search-members-form { - float: right; - - @include small-only { - margin: 0; - width: 100%; - - label { - - input[type="text"] { - width: 100%; - } - } - } - - margin: $spacing-val-xs 0 0; - } - } - } -} - -/** -*----------------------------------------------------- -* @subsection 6.2.2 - Item Body User Accounts -* -* User Account specific item body rules -*----------------------------------------------------- -*/ - -.bp-user { - - .entry-title { - margin-bottom: 0.5em; - } -} - -/** -*-------------------------------------------- -* @subsection 6.2.2.1 - classes, pag, filters -*-------------------------------------------- -*/ -.bp-user { - - #buddypress { - - table { - - th { - - @include font-size(14); - } - - td { - - @include font-size(12); - } - - a { - color: #0074c2; - } - - @include medium-up { - - th { - - @include font-size(16); - } - - td { - - @include font-size(14); - } - } - - @include large-up { - - th { - - @include font-size(18); - } - - td { - - @include font-size(16); - } - } - } - - .pag-count { - font-style: italic; - } - - .notifications-options-nav, - .messages-options-nav { - - float: left; - width: 100%; - - @include small-up-bp { - width: 300px; - } - - select { - height: auto; - } - - select, - input { - - @include font-size(14); - outline: 0; - padding: 0; - } - - select { - float: left; - margin-right: 1%; - width: 59%; - } - - input { - float: right; - font-family: inherit; - line-height: 20px; - width: 40%; - } - - input[disabled="disabled"]:focus, - input[disabled="disabled"]:hover { - background: none; - } - - - } // close .notifications-options-nav/.messages-options-nav - - } //close #buddypress -} // close .bp-user - -/** - *------------------------------------------- - * @subsection 6.2.2.2 - Extended Profiles - *------------------------------------------- - */ - -.bp-user { - - #buddypress { - - .profile { - - h2 { - margin: $spacing-val-lg 0 $spacing-val-sm; - padding: 0.1em 0 0.1em 0.4em; - } - - table { - margin-top: 0; - } - - .profile-fields { - - tr.alt { - - td { - color: $body-text; - } - } - - tr:last-child { - border-bottom: 0; - } - } - - /* Edit profile */ - - #profile-edit-form { - - .button-nav:before, - .button-nav:after { - content: " "; - display: table; - } - - .button-nav:after { - clear: both; - } - - ul.button-nav { - border-bottom: 1px solid $border-light; - margin-left: 0; - - li { - float: left; - margin-bottom: 0; - - &.current { - border: 1px solid $border-light; - border-bottom-color: #fff; - margin-bottom: -1px; - } - } // li - - a { - background: none; - border: 0; - - @include font-size(18); - } - } //.button-nav - - .field-visibility-settings-toggle, - .field-visibility-settings-notoggle, - .field-visibility-settings { - - @include font-size(14); - margin-top: $spacing-val-sm; - } - - .field-visibility-settings-close, - .visibility-toggle-link { - background: $dark-background; - - @include border-radius(3px); - color: #fff; - padding: 0.2em 0.5em; - } - } // close profile form - - .bp-avatar { - - #bp-delete-avatar { - - a { - font-size: inherit; - } - } - } - } // close .profile - - } // close #buddypress -} // close .bp-user - -/** - *------------------------------------------- - * @subsection 6.2.2.3 - Groups - *------------------------------------------- - */ - -.bp-user { - - #buddypress { - - #groups-list { - - li { - - .item { - - @media screen and (min-width: 77.5em) { - left: 5%; - width: 50%; - } - } - } - } - - } // close #buddypress -} // close .bp-user - -/** - *------------------------------------------- - * @subsection 6.2.2.5 - Private Messaging - *------------------------------------------- - */ - -.bp-user { - - #buddypress { - - #message-thread { - //Single message view - - a { - border-bottom: 0; - } - - #message-subject { - background: lighten($dark-background, 10%); - color: $content-background; - padding: 0.3em 0 0.3em 0.2em; - } - - #message-recipients { - font-style: italic; - - a.confirm { - border: 1px solid $border-light; - font-style: normal; - } - } - - .message-metadata { - - &:after { - clear: both; - content: ""; - display: table; - } - - img.avatar { - float: none; - } - - @include med-small-up { - - img.avatar { - float: left; - } - } - - .message-star-actions { - float: right; - margin-right: $spacing-val-xs; - position: static; - } - } // close .message-meta - - .message-content { - background: $light-background; - border: 1px solid $border-light; - margin: $spacing-val-sm 0 0 0; - padding: 0.3em; - } - - #send-reply { - - .message-content { - background: $content-background; - border: 0; - } - } - - .alt { - background: $content-background; - } - } // close message-thread Singular view! - - #message-threads { - - thead { - - tr { - background: none; - border-bottom: 1px solid $border-color; - - - th { - background: #555; - } - } - } - - tr { - border-bottom: 5px solid $medium-grey; - - td { - display: inline-block; - float: left; - } - - td.thread-star, - td.thread-options { - border-bottom-color: $border-color; - border-bottom-width: 1px; - height: 2.4em; - padding-bottom: 0.2em; - padding-top: 0.2em; - - @media screen and (max-width: 46.25em) { - padding-top: 0; - } - } - - td.bulk-select-check, - td.thread-star, - td.thread-from, - td.thread-info, - td.thread-options { - border-top: 0; - } - - td.thread-star { - vertical-align: middle; - - .message-action-star { - line-height: 1.2; - } - } - - td.bulk-select-check, - td.thread-from { - height: 3em; - - @include small-only { - height: 5.2em; - } - } - - td.thread-from, - td.thread-options { - border-left: 0 !important; - - @include calc(width, "100% - 30px"); - margin-left: 0; - } - - td.thread-info { - padding-left: 41px; - width: 100%; - } - - td.thread-options { - text-align: right; - - a { - - @include font-size(12); - line-height: 2.2; - } - } - - span.from { - display: none; - } - - span.activity { - display: block; - float: right; - line-height: 2; - - @include small-only { - clear: both; - - @include font-size(11); - width: 100%; - } - } - } - - tr.unread { - - td { - background: none; - border-color: $border-color; - } - } - - th { - display: none; - } - - th.bulk-select-all { - border-bottom: 0; - display: inline-block; - text-align: left; - } - - th.bulk-select-all, - td.bulk-select-check, - td.thread-star { - border-right: 0; - width: 30px; - } - } - - .acfb-holder { - list-style: none; - - li { - margin-left: 0; - } - - li.friend-tab { - background: lighten($notice-info, 20%); - border: inherit; - margin-right: 0; - padding: 0.5em; - - span.p { - // the 'X' close - padding-left: $spacing-val-sm; - - &:focus, - &:hover { - color: $link-action; - cursor: pointer; - } - } - - a { - border-bottom: 0; - text-decoration: none; - - img { - // this is the tiny user avatar - display: inline; - height: 20px; - vertical-align: middle; - width: 20px !important; // override inline style - } - } - } - } - - #message-threads.sitewide-notices { - - td { - width: 100%; - - strong { - background: lighten($dark-background, 10%); - color: $content-background; - display: block; - margin-bottom: 0.4em; - padding-left: 0.2em; - } - - a { - display: inline-block; - } - } - - td:first-child { - display: none; - } - - td:nth-child(2) { - - strong { - margin: -8px -8px 8px; - } - } - - td:first-child + td + td { - // notice date - border-bottom: 0; - - span { - line-height: 1; - } - } - - td:last-child { - // notice actions - border-bottom-color: darken($border-light, 20%); - line-height: 1; - text-align: right; - - a:last-child { - // hide the 'x' text - line-height: 0; - margin-left: 0.7em; - text-indent: -999em; - } - - a:last-child:after { - content: attr(title); - display: block; - line-height: initial; - text-indent: 0; - } - } - } - - } // #buddypress - - // acfb auto complete name list sits in doc footer before body close - .ac_results { - background: #eee; - padding-left: $spacing-val-sm; - - ul { - margin: 0; - } - - li { - margin: $spacing-val-sm 0; - - &:focus, - &:hover { - cursor: pointer; - } - } - } - -} // close .bp-user - -/** - *------------------------------ - * @subsection 6.2.2.6 - Settings - *------------------------------ - */ - -.bp-user { - - #buddypress { - - #settings-form { - // 'p' = email notification screen sub heading - > p { - - @include font-size(20); - margin: $spacing-val-md 0 $spacing-val-sm; - } - } - - table.notification-settings { - - td.yes, - td.no { - vertical-align: middle; - } - } - - // Profile table td widths - table.profile-settings { - width: 100%; - - th.field-group-name, - td.field-name { - width: 50%; - } - - @include med-small-up { - - th.field-group-name, - td.field-name { - width: 70%; - } - } - - th.title, - td.field-visibility { - width: 30%; - } - - td.field-visibility { - - select { - width: 100%; - } - } - } - - } // close #buddyPress - -} // close .bp-user - -/** -*------------------------------------------------------------------------------- -* @section 7.0 - Forms - General -*------------------------------------------------------------------------------- -*/ - -// Attempt to reset form control widths -#main { - - #buddypress { - - .standard-form { - - li { - float: none; - } - - input[type="text"], - input[type="email"], - input[type="password"], - textarea { - width: 100%; - } - } - } -} - -#buddypress { - - // Match BP form elements to Themes(2017) styling where styles - // are not inherited or being overriden. - div.activity-comments { - - form { - - .ac-textarea { - background: $light-background; - border: 1px solid rgba($border-color, 0.5); - - textarea { - background: none; - border: 0; - } - } - } - } - - // 2017 sets large height on selects lets try to manage that - select { - height: auto; - } - - .standard-form { - - // Keep BP form element borders to 1px rather than 2013 2px - input[type="text"], - input[type="email"], - input[type="password"], - button, - select, - textarea { - border-color: rgba($border-color, 0.5); - border-width: 1px; - } - - select { - color: #737373; - } - - } // close .standard-form - - #signup_form.standard-form { - - div.submit { - float: none; - - input { - margin-right: 0; - } - } - } - -} // close #buddypress - -#buddypress { - - div.dir-search, - div.message-search, - li.groups-members-search { - float: none; - margin: $spacing-val-sm 0; - - // Stylise the seach form elements, in part this deals with padding - // issues on the submit & sizing issues between bp styles & 2017 - - form { // *sigh* only to bludgeon over specified rules - border: 1px solid rgba($border-color, 0.6); - - @include border-radius(2px); - overflow: hidden; - - label { - float: left; - margin: 0; - width: 70%; - } - - input[type="text"] { - float: left; - margin: 0; - width: 100%; - } - - input[type="text"], - input[type="submit"] { - border: 0; - - @include font-size(14); - line-height: inherit; - } - - input[type="text"] { - border-right: 1px solid rgba($border-color, 0.6); - font-weight: 400; - padding: 0.2em 0 0.2em 0.2em; - } - - input[type="submit"] { - - @include border-radius-none(); - float: right; - font-weight: 400; - padding: 0.2em 1em; - text-align: center; - text-transform: none; - width: 30%; - } - } // close form - - } // close .dir-search, .message-search - - // Dirs & certain components hide search hides labels so can't width the - // label element adjust so that the input takes reduced width. - - div.dir-search { - margin-top: 0; - } - - .dir-search #search-members-form, - #search-groups-form, - #search-message-form { - - input[type="text"] { - float: left; - margin: 0; - width: 70%; - } - } - - // Shift the search parent to the right and allow to shrinkwrap - - @include small-up { - - div.dir-search, - div.message-search, - li.groups-members-search { - float: right; - margin-bottom: 5px !important; - } - - } // close @media - - - @include large-up { - - .dir-search, - .message-search, - li.groups-members-search { - - form { - - input[type="text"] { - - @include font-size(16) ; - } - - input[type="submit"] { - - @include font-size(16) ; - } - } - } - } - -} // close #buddypress - -// Adjustments for form elements colors, backgrounds, borders under -// the dark scheme. -body.colors-dark { - - #page { // for weight - - #buddypress { - - .dir-search, - .groups-members-search, - .message-search { - - form { - background: #333; - border-color: #555; - - @include border-radius(2px); - padding: 1px; - } - - input[type="text"] { - background: none; - } - - input[type="submit"] { - - @include border-radius(2px); - } - } - } - - .message-search { - margin-top: 0; - } - } -} - -/** -*------------------------------------------------------------------------------- -* @section 8.0 - Tables - General -*------------------------------------------------------------------------------- -*/ - -// Adjust table font sizes, default too large proportionally -// This approach will require refinement and perhaps re-location to -// a more general typography section to manage BP elements grouped under -// breakpoints. Provide top/bottom margins for tables, lacking in BP styles - -#buddypress { - - table { - - @include font-size(14); - margin: $spacing-val-md 0; - - tr th { - background: $light-background; - border-color: $border-light; - color: $body-text; - } - - // Reduce the themes inherited paragraph margins in tables - p { - margin-bottom: 0.5em; - } - } - - @include medium-up { - - table { - - @include font-size(16); - } - } -} - -/*__ User Account tables __*/ - -#buddypress { - - // Manage some table cells widths that are disproportionate to their content - .notifications, - .messages-notices { - - th { - width: 30%; - - &.bulk-select-all { - text-align: center; - width: 10%; - } - } - - .bulk-select-check, - .thread-star { - text-align: center; - } - - .notification-actions, - td.thread-options { - text-align: center; - - a { - display: inline-block; - margin: 0; - padding: 0; - } - } - - // Notices action buttons, this maybe better moved, temp for now to address - // styling issues - this will need styling ideas - td { - - .button { - border: 0; - display: block; - padding: 0; - text-align: center; - } - } - - } // .notifications, .message-notices - - .notifications { // table element - - .actions { // th element - text-align: center; - } - } - -} // #buddypress - -/** -*------------------------------------------------------------------------------- -* @section 9.0 - Error / Success messages -*------------------------------------------------------------------------------- -*/ - -// message args ($variable-color, text-color) -// Leave text-color undefined to automagically set text color -// to background color darker by 50% - -#buddypress { - - div#message { - - p { - - @include font-size(18); - font-weight: 700; - } - - &.info { - - p { - - @include message-box($notice-info); - } - } - - &.updated { - - p { - - @include message-box($notice-update); - } - } - - } // close #message - - .bp-avatar-status, - .bp-cover-image-status { - - .warning { - background: #7dd4ff; - border: 1px solid #000; - color: $body-text; - - @include font-size(16); - } - } - -} // close #buddypress - -// Without direct classes on our mesages ( 'warning') -// we need to use the body classes -// @todo If this class .warning is included in main BP styles remove from here - -.delete-group { - - #buddypress { - - div#message.info { - - p { - - @include message-box($notice-warning); - } - } - } -} - -/** -*------------------------------------------------------------------------------- -* @section 10.0 - Ajax Loading, Widgets, General classes -*------------------------------------------------------------------------------- -*/ - -#buddypress { - - .acfb-holder { - - li.friend-tab { - background: $notice-info; - border: inherit; - } - } -} diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/README.md b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/README.md deleted file mode 100644 index e69e5ce8a51559..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/README.md +++ /dev/null @@ -1,18 +0,0 @@ -# Snapshot tests - -The goal of these snapshots tests is to verify that stylelint and styeleint-config-wordpress work as expected. They are another line of defense against regressions, after the unit tests and integration tests. - -Each of these snapshots tests assert that we end up with some expected output, given a configuration and a stylesheet. - -These tests are not meant to be comprehensive and systematic. They are meant to reproduce real use-cases (of which there are an infinite variety) and verify that those use-cases work as expected. The more cases we add, the more effective these tests will be. - -## Jest snapshots - -These tests use Jest snapshots, so we can easily assert against potentially large objects and strings, and so we can easily update expectations as needed. - -## The pattern - -- Add a test-case folder to `__tests__/__snapshot_tests__` incrementing the number from existing test cases. -- Add a configuration file and a stylesheet. -- Setup the test following the format established by existing tests, and using the `systemTestUtils`. -- Take a snapshot of the JSON `results` array. diff --git a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/systemTestUtils.js b/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/systemTestUtils.js deleted file mode 100644 index a1977724be69e2..00000000000000 --- a/packages/stylelint-config-wordpress/__tests__/__snapshot_tests__/systemTestUtils.js +++ /dev/null @@ -1,44 +0,0 @@ -'use strict'; - -const _ = require( 'lodash' ), - path = require( 'path' ), - stripAnsi = require( 'strip-ansi' ); - -function caseFilePath( caseNumber, fileName ) { - return path.join( __dirname, caseNumber, fileName ); -} - -function caseStylesheetGlob( caseNumber ) { - return caseFilePath( caseNumber, 'stylesheet.*' ); -} - -function caseConfig( caseNumber, ext ) { - ext = ext || 'json'; - return caseFilePath( caseNumber, `config.${ext}` ); -} - -function prepResults( results ) { - return results.map( result => { - // The _postcssResult object is not part of our API and is huge - const preppedResult = _.omit( result, '_postcssResult' ); - - // The `source` of each file will not be the same on different machines or platforms - preppedResult.source = path - .relative( __dirname, result.source ) - .replace( new RegExp( `\\${path.sep}`, 'g' ), '/' ); - - return preppedResult; - }); -} - -function stripColors( input ) { - return stripAnsi( input ); -} - -module.exports = { - caseFilePath, - caseStylesheetGlob, - caseConfig, - prepResults, - stripColors, -}; diff --git a/packages/stylelint-config-wordpress/package-lock.json b/packages/stylelint-config-wordpress/package-lock.json index b6f6acf6091821..5cf015befe6658 100644 --- a/packages/stylelint-config-wordpress/package-lock.json +++ b/packages/stylelint-config-wordpress/package-lock.json @@ -2542,14 +2542,6 @@ } } }, - "string_decoder": { - "version": "1.0.1", - "bundled": true, - "dev": true, - "requires": { - "safe-buffer": "5.0.1" - } - }, "string-width": { "version": "1.0.2", "bundled": true, @@ -2560,6 +2552,14 @@ "strip-ansi": "3.0.1" } }, + "string_decoder": { + "version": "1.0.1", + "bundled": true, + "dev": true, + "requires": { + "safe-buffer": "5.0.1" + } + }, "stringstream": { "version": "0.0.5", "bundled": true, @@ -6134,15 +6134,6 @@ "integrity": "sha1-pB6tGm1ggc63n2WwYZAbbY89HQ8=", "dev": true }, - "string_decoder": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.0.3.tgz", - "integrity": "sha512-4AH6Z5fzNNBcH+6XDMfA/BTt87skxqJlO0lAh3Dker5zThcAxG6mKz+iGu308UKoPPQ8Dcqx/4JhujzltRa+hQ==", - "dev": true, - "requires": { - "safe-buffer": "5.1.1" - } - }, "string-length": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/string-length/-/string-length-2.0.0.tgz", @@ -6174,6 +6165,15 @@ "function-bind": "1.1.1" } }, + "string_decoder": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.0.3.tgz", + "integrity": "sha512-4AH6Z5fzNNBcH+6XDMfA/BTt87skxqJlO0lAh3Dker5zThcAxG6mKz+iGu308UKoPPQ8Dcqx/4JhujzltRa+hQ==", + "dev": true, + "requires": { + "safe-buffer": "5.1.1" + } + }, "stringify-entities": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/stringify-entities/-/stringify-entities-1.3.1.tgz", diff --git a/packages/stylelint-config-wordpress/package.json b/packages/stylelint-config-wordpress/package.json index a0aa790bc13910..ad54dcace7c2e6 100644 --- a/packages/stylelint-config-wordpress/package.json +++ b/packages/stylelint-config-wordpress/package.json @@ -40,13 +40,11 @@ "eslint-plugin-jest": "^21.0.0", "eslint-plugin-wordpress": "git://github.com/WordPress-Coding-Standards/eslint-plugin-wordpress.git#b65ae0cea1199c9714641ed3be7ea98fcb27dd6c", "jest": "^21.0.0", - "lodash": "^4.17.4", "npm-run-all": "^4.0.0", "npmpub": "^3.0.3", "remark-cli": "^4.0.0", "remark-preset-lint-consistent": "^2.0.0", "remark-preset-lint-recommended": "^3.0.0", - "strip-ansi": "^4.0.0", "stylelint": "^8.0.0", "stylelint-find-rules": "^1.0.1" }, @@ -71,8 +69,7 @@ ], "testEnvironment": "node", "testMatch": [ - "/__tests__/*.js", - "/__tests__/**/?(*.)test.js" + "/__tests__/*.js" ], "verbose": true },