hpi-schuelerklub/workshop-portal

View on GitHub
app/assets/stylesheets/events.css

Summary

Maintainability
Test Coverage
/*
Place all the styles related to the matching controller here.
They will automatically be included in application.css.
*/
 
Don't use IDs in selectors.
#event_overview dt {
width: 200px;
}
 
Don't use IDs in selectors.
#event_overview dd {
margin-left: 220px;
}
 
Don't use IDs in selectors.
Rule doesn't have all its properties in alphabetical order.
#event_overview ul {
margin-bottom: 0;
padding-left: 0;
list-style-type: none;
}
 
Rule is empty.
.event-date-picker-start, .event-date-picker-end {
}
 
Don't use IDs in selectors.
#event-date-pickers div {
margin-bottom: 6px;
}
Don't use IDs in selectors.
#event-date-pickers .close {
float: none;
}
Don't use IDs in selectors.
#event-date-pickers .form-control {
display: inline-block;
max-width: 200px;
}
 
Don't use IDs in selectors.
#applicants_overview {
margin-bottom: 20px;
}
 
.tooltip-wrapper {
display: inline-block;
}
.tooltip .btn[disabled] {
pointer-events: none;
}
 
/* styles for the event preview (every item in an event list) */
.event-preview {
Fallback border-bottom (hex or RGB) should precede RGBA border-bottom.
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
margin: 15px 0;
padding-bottom: 15px;
}
 
.event-preview a{
color: #000;
transition: all 0.5s;
}
 
.event-preview a.btn-success{
color: #fff;
transition: all 0.5s;
}
 
.event-preview a.btn-danger{
color: #fff;
transition: all 0.5s;
}
 
.event-preview a.btn-default{
color: #000;
transition: all 0.5s;
}
 
Rule doesn't have all its properties in alphabetical order.
.event-preview a:hover {
text-decoration: none;
color: #DE6207;
transition: all 0.5s;
}
 
Rule doesn't have all its properties in alphabetical order.
.event-preview a.btn-success:hover {
text-decoration: none;
color: #fff;
transition: all 0.5s;
}
 
Rule doesn't have all its properties in alphabetical order.
.event-preview a.btn-danger:hover {
text-decoration: none;
color: #fff;
transition: all 0.5s;
}
 
Rule doesn't have all its properties in alphabetical order.
.event-preview a.btn-default:hover {
text-decoration: none;
color: #000;
transition: all 0.5s;
}
 
.front-section:nth-child(even) .event-preview {
Fallback border-bottom (hex or RGB) should precede RGBA border-bottom.
border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
.event-list .event-preview:last-of-type {
border-bottom: none;
}
Heading (h3) should not be qualified.
.event-preview h3 {
margin-top: 0;
}
.event-preview p {
overflow: hidden;
}
Rule doesn't have all its properties in alphabetical order.
.event-date {
text-align: center;
line-height: 3em;
}
Rule doesn't have all its properties in alphabetical order.
.event-list .event-date {
margin-right: 15px;
float: left;
}
.event-date > span {
display: block;
}
Rule doesn't have all its properties in alphabetical order.
.event-day {
font-weight: 800;
font-size: 4em;
}
.event-month {
font-size: 2em;
font-weight: 100;
}
.event-year {
margin: -1.2em 0;
}
@media (max-width: 768px) {
.event-list .event-date {
float: none;
margin-bottom: 15px;
}
.event-day:after {
content: '.';
}
Rule is empty.
.event-year {
}
Rule doesn't have all its properties in alphabetical order.
.event-date > span {
margin-left: 5px;
font-weight: 100;
display: inline-block;
vertical-align: middle;
font-size: 1.5em;
}
}
 
Don't use IDs in selectors.
Rule doesn't have all its properties in alphabetical order.
#wsp-event-show-banner {
width: 100%;
height: 150px;
margin-bottom: 15px;
}
 
.text-success{
color: #009600;
}
 
Don't use IDs in selectors.
#event-date-pickers a.close {
color: #000;
}