app/assets/stylesheets/sections/_events.scss
Selector event-box-big__text
should be written in lowercase with hyphens Open
Open
.event-box-big__text,
- Exclude checks
Shorthand form for property padding
should be written more concisely as 1rem .33rem .9rem
instead of 1rem .33rem .9rem .33rem
Open
Open
padding: 1rem .33rem .9rem .33rem;
- Exclude checks
Avoid using id selectors Open
Open
#map {
- Exclude checks
Properties should be ordered border-bottom, padding-bottom Open
Open
padding-bottom: .62rem;
- Exclude checks
0.75
should be written without a leading zero as .75
Open
Open
padding: 0.375rem 1.5rem 0.375rem 0.75rem;
- Exclude checks
Properties should be ordered border-bottom, border-top, height, margin-bottom Open
Open
margin-bottom: -2px; // To hide the footer's border top.
- Exclude checks
Shorthand form for property padding
should be written more concisely as 1rem 1rem .9rem
instead of 1rem 1rem .9rem 1rem
Open
Open
padding: 1rem 1rem .9rem 1rem;
- Exclude checks
0.38
should be written without a leading zero as .38
Open
Open
margin-top: 0.38rem;
- Exclude checks
Selector event-box__date
should be written in lowercase with hyphens Open
Open
.event-box__date {
- Exclude checks
Selector event-box-big__img
should be written in lowercase with hyphens Open
Open
.event-box-big__img {
- Exclude checks
0.375
should be written without a leading zero as .375
Open
Open
padding: 0.375rem 1.5rem 0.375rem 0.75rem;
- Exclude checks
Color literals like #fff
should only be used in variable declarations; they should be referred to via variable everywhere else. Open
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;
- Exclude checks
Color literals like #b389f9
should only be used in variable declarations; they should be referred to via variable everywhere else. Open
Open
border-color: #b389f9;
- Exclude checks
Properties should be ordered border-top, font-size, padding Open
Open
padding: 1.4rem 1.2rem;
- Exclude checks
Properties should be ordered margin-bottom, margin-top, width Open
Open
margin-top: .6rem;
- Exclude checks
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
Open
display: inline-block;
- Exclude checks
Shorthand form for property padding
should be written more concisely as .5rem .33rem .6rem
instead of .5rem .33rem .6rem .33rem
Open
Open
padding: .5rem .33rem .6rem .33rem;
- Exclude checks
Properties should be ordered font-size, margin-bottom Open
Open
margin-bottom: 0.5rem;
- Exclude checks
Selector event-box-big__website
should be written in lowercase with hyphens Open
Open
.event-box-big__website {
- Exclude checks
0.375
should be written without a leading zero as .375
Open
Open
padding: 0.375rem 1.5rem 0.375rem 0.75rem;
- Exclude checks
Selector event-box__address
should be written in lowercase with hyphens Open
Open
.event-box__address {
- Exclude checks
Selector event-box__event-title
should be written in lowercase with hyphens Open
Open
.event-box__event-title {
- Exclude checks
Line should be indented 2 spaces, but was indented 6 spaces Open
Open
background-size: auto auto;
- Exclude checks
Properties should be ordered border-bottom, right Open
Open
right: 15px;
- Exclude checks
Color literals like #6610f2
should only be used in variable declarations; they should be referred to via variable everywhere else. Open
Open
border-bottom: 3px solid #6610f2;
- Exclude checks
Property background-size
already defined on line 156 Open
Open
background-size: 8px 10px;
- Exclude checks
Color literals like #495057
should only be used in variable declarations; they should be referred to via variable everywhere else. Open
Open
color: #495057;
- Exclude checks
!important should not be used Open
Open
border-bottom: 3px solid $indigo !important;
- Exclude checks
0.5
should be written without a leading zero as .5
Open
Open
margin-bottom: 0.5rem;
- Exclude checks
Selector event-box__attending
should be written in lowercase with hyphens Open
Open
.event-box__attending {
- Exclude checks
Selector event-box-big__data
should be written in lowercase with hyphens Open
Open
.event-box-big__data {
- Exclude checks
0.15
should be written without a leading zero as .15
Open
Open
border: 1px solid rgba(0, 0, 0, 0.15);
- Exclude checks
Shorthand form for property padding
should be written more concisely as .9rem .2rem .8rem
instead of .9rem .2rem .8rem .2rem
Open
Open
padding: .9rem .2rem .8rem .2rem;
- Exclude checks
Selector event-box__short-description
should be written in lowercase with hyphens Open
Open
.event-box__short-description {
- Exclude checks
0.75
should be written without a leading zero as .75
Open
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;
- Exclude checks
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
Open
border: 1px solid rgba(0, 0, 0, 0.15);
- Exclude checks
Shorthand form for property padding
should be written more concisely as .65rem .7rem .5rem
instead of .65rem .7rem .5rem .7rem
Open
Open
padding: .65rem .7rem .5rem .7rem;
- Exclude checks