Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: static/scss/base/_utilities.scss

Issue 29596555: Noissue - Format CSS comments and implement new wd classes (Closed) Base URL: https://hg.adblockplus.org/help.eyeo.com
Patch Set: Created Nov. 3, 2017, 8:46 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: static/scss/base/_utilities.scss
===================================================================
--- a/static/scss/base/_utilities.scss
+++ b/static/scss/base/_utilities.scss
@@ -9,37 +9,22 @@
// help.eyeo.com is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with help.eyeo.com. If not, see <http://www.gnu.org/licenses/>.
-// Screen reader ///////////////////////////////////////////////////////////////
-
-// Use this class to add screen reader / web crawler only content
-//
-// EG:
-// - An h1 for SEO that is not visible
-// - A skip-to link for screen readers
+/*******************************************************************************
+ * Utilities
+ ******************************************************************************/
-.sr-only
-{
- position: absolute;
- overflow: hidden;
- clip: rect(0, 0, 0, 0);
- width: 1px;
- height: 1px;
- margin: -1px;
- padding: 0;
- border: 0;
-}
-
-// Responsive ///////////////////////////////////////////////////////////////
+/* Responsive
+ ******************************************************************************/
.mobile-only
{
@media (min-width: $phablet-breakpoint)
{
display: none;
}
}
@@ -63,51 +48,47 @@
.desktop-only
{
@media (max-width: $desktop-breakpoint - 1px)
{
display: none;
}
}
-// Unstyled ///////////////////////////////////////////////////////////////
+/* Unstyled
+ ******************************************************************************/
.unstyled,
.content .unstyled
{
margin: 0;
padding: 0;
border: 0;
background: none;
}
ul.unstyled
{
list-style: none;
}
-// Typography ///////////////////////////////////////////////////////////////
-
-.ta-center
-{
- text-align: center;
-}
-
-// Font Colours ////////////////////////////////////////////////////////////
+/* Font colours
+ ******************************************************************************/
.muted
{
color: $gray-medium;
}
a.muted,
.muted a
{
color: $gray-medium !important;
text-decoration: underline;
}
-// Underlined ///////////////////////////////////////////////////////////////
+/* Underlined
+ ******************************************************************************/
.underlined
{
border-bottom: 1px dotted $gray;
}

Powered by Google App Engine
This is Rietveld