BerniWittmann/spielplanismaning

View on GitHub
src/public/stylesheets/style.css

Summary

Maintainability
Test Coverage
@font-face {
    font-family: "DIGITAL";
    /*noinspection CssUnknownTarget,CssUnknownTarget,CssUnknownTarget*/
    src: url("/stylesheets/fonts/digital.ttf?#iefix");
}

@font-face {
    font-family: "Roboto";
    /*noinspection CssUnknownTarget,CssUnknownTarget,CssUnknownTarget*/
    src: url("/stylesheets/fonts/Roboto-Thin.ttf?#iefix");
}

ul {
    list-style-type: none;
    -webkit-margin-before: 0;
    -moz-padding-start: 0;
    -webkit-padding-start: 0;
}

noscript div {
    padding: 1em;
    background-color: white;
    margin: 5em;
    text-align: center;
}

a:hover {
    text-decoration: none;
}

.padding-left-15 {
    padding-left: 15px;
}

.padding-right-15 {
    padding-right: 15px;
}

.padding-left-5 {
    padding-left: 5px;
}

.margin-top-25 {
    margin-top: 25px;
}

.padding-bottom-15 {
    padding-bottom: 15px;
}

.main-loader {
    margin-top: 3em;
    margin-bottom: 3em;
}

.icon-hover {
    color: grey;
}

.icon-hover:hover {
    color: black;
}

.text-bold {
    font-weight: 600;
}

.special-padding {
    padding-right: 24px;
    padding-left: 24px;
}

.width-60 {
    width: 60px;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
}

input[type=number] {
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
}

.jugend-label {
    vertical-align: middle;
    font-size: 90%;
}

.jugend-label a:hover {
    color: gray;
}

.jugend-label a {
    overflow: hidden;
}

#spielplan > tbody > .last-platz-spiel > td {
    border-bottom: 2px solid #ddd;
}

#spielplan > tbody > tr.invalid-spielplan-row, #spielplan > tbody > tr.invalid-spielplan-row > td {
    background-color: rgba(255, 0, 0, 0.3);
}

.spielplannumberinput {
    max-width: 25px;
    text-align: center;
}

.score {
    margin-left: 8%;
}

.score-normal {
    font-size: 300%;
    font-family: DIGITAL, Helvetica, Arial, sans-serif;
}

.flip-clock-label {
    display: none;
}

@media all and (max-width: 1300px) {
    .score {
        zoom: 1;
        -ms-transform: scale(1);
        -o-transform: scale(1);
        -moz-transform: scale(1);
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@media all and (max-width: 1100px) {
    .score {
        zoom: 0.8;
        -ms-transform: scale(0.8);
        -o-transform: scale(0.8);
        -moz-transform: scale(0.8);
        -webkit-transform: scale(0.8);
        transform: scale(0.8);
    }
}

@media all and (max-width: 900px) {
    .score {
        zoom: 0.7;
        -ms-transform: scale(0.7);
        -o-transform: scale(0.7);
        -moz-transform: scale(0.7);
        -webkit-transform: scale(0.7);
        transform: scale(0.7);
    }
}

@media all and (max-width: 800px) {
    .score {
        zoom: 0.6;
        -ms-transform: scale(0.6);
        -o-transform: scale(0.6);
        -moz-transform: scale(0.6);
        -webkit-transform: scale(0.6);
        transform: scale(0.6);
    }
}

.highlightTeam {
    background-color: #E8E8E8 !important;
}

.highlightTeamName {
    font-weight: 500;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 40px;
    padding: 10px 20px;
    text-align: center;
    color: white;
    font-family: 'Roboto', sans-serif;
    font-weight: 100;
    font-size: larger;
}

.footer a, .footer a:focus, .footer a:visited {
    color: white;
}

.footer a:hover {
    color: white;
    text-shadow: 3px 3px 9px rgba(0, 0, 0, 0.8);
}

body {
    min-height: 100%;
    position: relative;
    /*noinspection CssUnknownTarget*/
    background-image: url("/assets/img/background.jpg");
    background-repeat: no-repeat;
    background-position: left top;
    background-attachment: fixed;
    background-size: cover;
    padding-bottom: 15px;
}

#page {
    width: 90%;
    margin: 0 auto;
    background-color: white;
    -webkit-box-shadow: 10px 10px 25px 0 rgba(71, 71, 71, 0.83);
    -moz-box-shadow: 10px 10px 25px 0 rgba(71, 71, 71, 0.83);
    box-shadow: 10px 10px 25px 0 rgba(71, 71, 71, 0.83);
    border-radius: 4px;
    margin-bottom: 40px;
}

.fadein {
    opacity: 0;
    -moz-transition: opacity 0.5s;
    -webkit-transition: opacity 0.5s;
    -o-transition: opacity 0.5s;
    transition: opacity 0.5s;
    margin-top: 70px;
}

.fadein.loaded {
    opacity: 1;
    margin-top: 0;
}

.navbar-spi .navbar-header > .navbar-brand > .brand-image {
    margin-top: -6px;
}

.navbar-spi .navbar-header > .navbar-brand > .brand-image > .brand-image-normal {
    display: block;
}

.valign, table tr > td.valign, table tr > th.valign {
    vertical-align: middle;
}

.width-100 {
    width: 100%;
}

.page-break {
    display: none;
}

.page-header {
    margin-top: 0;
}

a {
    cursor: pointer;
}

textarea {
    max-width: 100%;
}

td .form-group {
    margin-bottom: 0;
}

.table-body-spiele-by-date::after {
    content: '';
    display: block;
    height: 35px;
}

.table-clickable tbody tr, .table-clickable tbody tr td {
    cursor:pointer
}

spi-panel-titel {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
spi-panel-title spi-jugend-label {
    display: flex;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.spielHZInput {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: x-large;
    text-align: center;
    margin-bottom: 30px;
}
.spielnumberinput {
    width: 50px;
    height: 50px;
    margin: 5px;
    text-align: center;
}

.color-red {
    color: red;
}

.spiel-click-icon {
    margin-right: 5px;
    font-size: 16px;
}

.spiel-click-icon-single {
    margin-right: 22px;
}

.veranstaltungen {
    display: flex;
    margin-top: 30px;
    padding-left: 2em;
    padding-right: 2em;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.veranstaltung {
    width: 300px;
    margin: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.veranstaltung-image-overlay-wrap {
    position: relative;
    top: -210px;
    left: -100px;
}

.veranstaltung-image-overlay {
    opacity: 0;
    background-color: #3a3a3a;
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    -webkit-transition: opacity 0.5s; /* Safari */
    transition: opacity 0.5s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.veranstaltung-image-overlay:hover {
    opacity: 0.8;
}

.veranstaltung-image-overlay-text {
    color: white;
    border: 2px solid white;
    border-radius: 3px;
    font-size: 14px;
    text-align: center;
    padding: 10px;
    margin-top: 10px;
    cursor: pointer;
}

.veranstaltung-image-overlay-text:hover {
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.3);
}

.veranstaltung-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.veranstaltung-text {
    text-transform: uppercase;
}

.veranstaltung-image-table {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.pointer {
    cursor: pointer;
}

.spiel-nummer-input {
    width: 30px;
    text-align: center;
    margin-right: 5px;
}

.gruppe-container-wrap {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.gruppe-container-panel {
    margin-bottom: 10px;
    margin-right: 10px;
    min-width: 144px;
}
.gruppe-container {
    width: 100%;
    min-height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gruppe-add {
    width: 130px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    margin-bottom: 30px;
    margin-right: 10px;
    padding: 10px 5px 5px;
    background-color: lightgray;
    border-radius: 5px;
    color: grey;
    text-align: center;
    cursor: pointer;
}

.gruppe-container-panel-name {
    border: none;
    background-color: transparent;
    width: 120px;
}

.turnier-import-team {
    margin-bottom: 10px;
    margin-right: 10px;
    border-radius: 4px;
    width: 100px;
    height: 30px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: nowrap;
    text-align: center;
    padding: 0 5px 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    background-color: #fff;
    border: 1px solid #ddd;
    cursor: move;
    font-size: 10px;
    -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
    box-shadow: 0 1px 1px rgba(0,0,0,.05);
}

.gruppe-container-wrap-special .gruppe-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
}

.gruppe-container-panel-large {
    min-width: 240px;
}

.gruppe-container-panel-large .gruppe-container-panel-name {
    width: 190px;
}

.cursor-copy {
    cursor: context-menu;
}

.additional-info-spielplan {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 20px;
}
.qr-code {
    width: 50px;
    height: 50px;
    margin-left: 10px;
}

.ergebnis {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-direction: row;
    -webkit-flex-direction: row;
    flex-direction: column;

    margin-top: -5px;
    margin-bottom: -5px;
}

.ergebnis .ergebnis-points {
    font-weight: bold;
    font-size: 14px;
}

.ergebnis .ergebnis-tore {
    font-size: 11px;
}