Making WordPress.org


Ignore:
Timestamp:
05/31/2018 12:51:13 PM (7 years ago)
Author:
netweb
Message:

Support Theme: Update CSS to meet WordPress CSS Coding Standards

See https://make.wordpress.org/core/handbook/best-practices/coding-standards/css/

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/sass/forms/_buttons.scss

    r4886 r7256  
    11@import "../variables-site/variables-site";
    22
    3 // /* ----------------------------------------------------------------------------
     3// /* --------------------------------------------------------------------------
    44//
    55// NOTE: If you edit this file, you should make sure that the CSS rules for
     
    1212// =======================
    1313// Create a button by adding the `.button` class to an element. For backwards
    14 // compatibility, we support several other classes (such as `.button-secondary`),
     14// compatibility, we support several other classes,such as `.button-secondary`),
    1515// but these will *not* work with the stackable classes described below.
    1616//
    1717// Button Styles
    1818// -------------
    19 // To display a primary button style, add the `.button-primary` class to a button.
     19// To display a primary button style,
     20// add the `.button-primary` class to a button.
    2021//
    2122// Button Sizes
    2223// ------------
    23 // Adjust a button's size by adding the `.button-large` or `.button-small` class.
     24// Adjust a button's size by adding the `.button-large`
     25// or `.button-small` class.
    2426//
    2527// Button States
     
    3739// 5.0 - Responsive Button Styles
    3840//
    39 //---------------------------------------------------------------------------- */
     41//--------------------------------------------------------------------------- */
    4042
    4143/* ----------------------------------------------------------------------------
     
    131133.button-secondary {
    132134    background: #f7f7f7;
    133     border-color: #cccccc;
    134     box-shadow: 0 1px 0 #cccccc;
     135    border-color: #ccc;
     136    box-shadow: 0 1px 0 #ccc;
    135137    color: #555;
    136138    vertical-align: top;
     
    191193}
    192194
    193 /* Buttons that look like links, for a cross of good semantics with the visual */
     195/* Buttons that look like links,
     196for a cross of good semantics with the visual */
    194197.button-link {
    195198    background: none;
     
    285288
    286289
    287 
    288290/* ----------------------------------------------------------------------------
    289291  4.0 - Button Groups
Note: See TracChangeset for help on using the changeset viewer.