Uname: Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux
Software: Apache
PHP version: 5.6.40 [ PHP INFO ] PHP os: Linux
Server Ip: 217.160.0.194
Your Ip: 216.73.217.62
User: u72294154 (9179942) | Group: ftpusers (600)
Safe Mode: OFF
Disable Function:
NONE

name : _debug.scss
@if $incluir-debug == true {

    /*------------------------------------*\
        $DEBUG
    \*------------------------------------*/
    /**
     * Activa esta hoja de estilos para detectar visualmente cualquier
     * anidación impropia o marcado potencialmente inválido.
     *
     * Rojo           ==      Definitivamente un error
     * Amarillo       ==      a revisar
     * Ninguno        ==      debería estar bien
     *
     * Este método de validación no es más que una guía, no te bases en el
     * para validar tu marcado
     *
     */


    /**
     * Hay elementos vacíos?
     */
    :empty{
        outline:5px solid yellow;
    }


    /**
     * Las imágenes requieren el atributo ALT, un ALT vacío no es del todo malo
     * pero una imagen sin ALT definitivamente está mal.
     */
    img{
        outline:5px solid red;
    }
    img[alt]{
        outline:none;
    }
    img[alt=""]{
        outline:5px solid yellow;
    }


    /**
     * Los links algunas veces, no siempre, se benefician del atributo "title".
     * Links sin 'title' no son inválidos, pero es buena idea revisar.
     */
    a{
        outline:5px solid yellow;
    }
    a[title]{
        outline:none;
    }


    /**
     * Revisa los "href" con contenido dudoso.
     */
    a[href="#"],
    a[href*="javascript"]{
        outline:5px solid yellow;
    }


    /**
     * El atributo 'target=""' es.... bueno, revisa.
     */
    a[target]{
        outline:5px solid yellow;
    }


    /**
     * Asegúrate que una lista solo anida LI's
     */
    ul,
    ol{
        > *:not(li){
            outline:5px solid red;
        }
    }


    /**
     * Deberíamos asignar un atributo 'scope' a los th
     * http://bit.ly/1aHBDgW
     */
    th{
        outline:5px solid yellow;
    }
    th[scope]{
        outline:none;
    }


    /**
     * los tr hijos de 'table' no son buenos, ¿necesitabas un 'thead' / 'tbody'?
     */
    table > tr{
        outline:5px solid yellow;
    }


    /**
     * `tfoot` debe estar *antes* de `tbody`.
     */
    tbody + tfoot{
        outline:5px solid yellow;
    }


    /**
     * Forms necesitan del atributo `action`
     */
    form{
        outline:5px solid red;
    }
    form[action]{
        outline:none;
    }


    /**
     * Varios elementos de formularios requieren atributos. 'input' necsita de 'type'
     * 'textarea' necesita `rows' y 'cols' y 'submit' necesita del atributo 'value'.
     */
    textarea,
    input{
        outline:5px solid red;
    }
    input[type]{
        outline:none;
    }
    textarea[rows][cols]{
        outline:none;
    }
    input[type=submit]{
        outline:5px solid red;
    }
    input[type=submit][value]{
        outline:none;
    }


    /**
     * Evitamos estilos _inline_ a ser posible.
     */
    [style]{
        outline:5px solid yellow;
    }


    /**
     * Deberías evitar IDs para CSS.
     */
    [id]{
        outline:5px solid yellow;
    }
} // endif
© 2026 GrazzMean