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.
*/

#event_overview dt {
    width: 200px;
}

#event_overview dd {
    margin-left: 220px;
}

#event_overview ul {
    margin-bottom: 0;
    padding-left: 0;
    list-style-type: none;
}

.event-date-picker-start, .event-date-picker-end {
}

#event-date-pickers div {
    margin-bottom: 6px;
}
#event-date-pickers .close {
    float: none;
}
#event-date-pickers .form-control {
    display: inline-block;
    max-width: 200px;
}

#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 {
    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;
}

.event-preview a:hover {
    text-decoration: none;
    color: #DE6207;
    transition: all 0.5s;
}

.event-preview a.btn-success:hover {
    text-decoration: none;
    color: #fff;
    transition: all 0.5s;
}

.event-preview a.btn-danger:hover {
    text-decoration: none;
    color: #fff;
    transition: all 0.5s;
}

.event-preview a.btn-default:hover {
    text-decoration: none;
    color: #000;
    transition: all 0.5s;
}

.front-section:nth-child(even) .event-preview {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
.event-list .event-preview:last-of-type {
    border-bottom: none;
}
.event-preview h3 {
    margin-top: 0;
}
.event-preview p {
    overflow: hidden;
}
.event-date {
    text-align: center;
    line-height: 3em;
}
.event-list .event-date {
    margin-right: 15px;
    float: left;
}
.event-date > span {
    display: block;
}
.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: '.';
    }
    .event-year {
    }
    .event-date > span {
        margin-left: 5px;
        font-weight: 100;
        display: inline-block;
        vertical-align: middle;
        font-size: 1.5em;
    }
}

#wsp-event-show-banner {
    width: 100%;
    height: 150px;
    margin-bottom: 15px;
}

.text-success{
    color: #009600;
}

#event-date-pickers a.close {
    color: #000;
}