lujanfernaud/prevy

View on GitHub
app/assets/stylesheets/sections/_events.scss

Summary

Maintainability
Test Coverage

Selector event-box-big__text should be written in lowercase with hyphens
Open

.event-box-big__text,

Shorthand form for property padding should be written more concisely as 1rem .33rem .9rem instead of 1rem .33rem .9rem .33rem
Open

    padding: 1rem .33rem .9rem .33rem;

Avoid using id selectors
Open

#map {

Properties should be ordered border-bottom, padding-bottom
Open

  padding-bottom: .62rem;

0.75 should be written without a leading zero as .75
Open

  padding: 0.375rem 1.5rem 0.375rem 0.75rem;

Properties should be ordered border-bottom, border-top, height, margin-bottom
Open

  margin-bottom: -2px; // To hide the footer's border top.

Shorthand form for property padding should be written more concisely as 1rem 1rem .9rem instead of 1rem 1rem .9rem 1rem
Open

  padding: 1rem 1rem .9rem 1rem;

0.38 should be written without a leading zero as .38
Open

  margin-top: 0.38rem;

Selector event-box__date should be written in lowercase with hyphens
Open

.event-box__date {

Selector event-box-big__img should be written in lowercase with hyphens
Open

.event-box-big__img {

0.375 should be written without a leading zero as .375
Open

  padding: 0.375rem 1.5rem 0.375rem 0.75rem;

Color literals like #fff should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

  background: #fff url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23333' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E") no-repeat right 0.75rem center;

Color literals like #b389f9 should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

  border-color: #b389f9;

Properties should be ordered border-top, font-size, padding
Open

  padding: 1.4rem 1.2rem;

Properties should be ordered margin-bottom, margin-top, width
Open

  margin-top: .6rem;

Properties should be ordered -moz-appearance, -webkit-appearance, appearance, background, background-size, border, border-radius, color, display, height, line-height, max-width, padding, vertical-align
Open

  display: inline-block;

Shorthand form for property padding should be written more concisely as .5rem .33rem .6rem instead of .5rem .33rem .6rem .33rem
Open

    padding: .5rem .33rem .6rem .33rem;

Properties should be ordered font-size, margin-bottom
Open

  margin-bottom: 0.5rem;

Selector event-box-big__website should be written in lowercase with hyphens
Open

.event-box-big__website {

0.375 should be written without a leading zero as .375
Open

  padding: 0.375rem 1.5rem 0.375rem 0.75rem;

Selector event-box__address should be written in lowercase with hyphens
Open

.event-box__address {

Selector event-box__event-title should be written in lowercase with hyphens
Open

.event-box__event-title {

Line should be indented 2 spaces, but was indented 6 spaces
Open

      background-size: auto auto;

Properties should be ordered border-bottom, right
Open

  right: 15px;

Color literals like #6610f2 should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

  border-bottom: 3px solid #6610f2;

Property background-size already defined on line 156
Open

  background-size: 8px 10px;

Color literals like #495057 should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

  color: #495057;

!important should not be used
Open

  border-bottom: 3px solid $indigo !important;

0.5 should be written without a leading zero as .5
Open

  margin-bottom: 0.5rem;

Selector event-box__attending should be written in lowercase with hyphens
Open

.event-box__attending {

Selector event-box-big__data should be written in lowercase with hyphens
Open

.event-box-big__data {

0.15 should be written without a leading zero as .15
Open

  border: 1px solid rgba(0, 0, 0, 0.15);

Shorthand form for property padding should be written more concisely as .9rem .2rem .8rem instead of .9rem .2rem .8rem .2rem
Open

    padding: .9rem .2rem .8rem .2rem;

Selector event-box__short-description should be written in lowercase with hyphens
Open

.event-box__short-description {

0.75 should be written without a leading zero as .75
Open

  background: #fff url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23333' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E") no-repeat right 0.75rem center;

Color literals like rgba(0, 0, 0, 0.15) should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

  border: 1px solid rgba(0, 0, 0, 0.15);

Shorthand form for property padding should be written more concisely as .65rem .7rem .5rem instead of .65rem .7rem .5rem .7rem
Open

  padding: .65rem .7rem .5rem .7rem;

There are no issues that match your filters.

Category
Status