427 lines
7.2 KiB
CSS
427 lines
7.2 KiB
CSS
/* cssTemplate für den Wettkampfplaner
|
|
* benötigt die Variablen
|
|
*
|
|
* - --backgroundColor
|
|
* - --highlightColor
|
|
* - --buttonColor
|
|
*
|
|
* für die Farben.
|
|
*/
|
|
/* blau: #291670 */
|
|
/* gelb: #fff500*/
|
|
|
|
|
|
/* Box-Sizing global auf die BorderBox stellen */
|
|
html{
|
|
box-sizing: border-box;
|
|
}
|
|
*, ::before, ::after {
|
|
box-sizing: inherit;
|
|
}
|
|
|
|
|
|
.loginForm{}
|
|
.loginForm div{
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 100%;
|
|
}
|
|
.loginForm input{
|
|
display: block;
|
|
margin: 0;
|
|
width: 100%;
|
|
font-size: 1.5em;
|
|
border: 1px solid #bbb;
|
|
}
|
|
.loginForm button[type=submit]{
|
|
display: block;
|
|
font-size: 1em;
|
|
line-height: 2em;
|
|
color: #333;
|
|
font-weight: bold;
|
|
width: 100%;
|
|
background: #fdfdfd;
|
|
background: linear-gradient(to bottom, #fdfdfd 0%,#bebebe 100%);
|
|
border: 1px solid #bbb;
|
|
}
|
|
|
|
|
|
/**
|
|
* Wettkampfbox
|
|
**/
|
|
|
|
.wkBox{
|
|
border: 1px solid black;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
.wkBox nav{
|
|
/* width: 32%;
|
|
float: left;*/
|
|
}
|
|
.wkBox nav ul li{
|
|
display: list-item;
|
|
}
|
|
.wkBoxWkData{
|
|
border: none;
|
|
}
|
|
@media (min-width: 65em){
|
|
.wkBox{
|
|
flex-direction: row;
|
|
align-items: stretch;
|
|
justify-content: space-around;
|
|
padding: .5em;
|
|
}
|
|
.wkBox *{
|
|
flex-basis: 30%;
|
|
}
|
|
}
|
|
|
|
|
|
/* touchable Links*/
|
|
.touchLink{
|
|
display: inline-block;
|
|
padding: 0.25em 0 0.25em 0;
|
|
margin: 0.25em 0 0.25em 0;
|
|
background-color: var(--highlightColor);
|
|
border-radius: .5em;
|
|
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
|
|
}
|
|
|
|
/* touchable Buttons */
|
|
|
|
.touchButton{
|
|
display: block;
|
|
margin: .5em 0;
|
|
font-size: 1em;
|
|
line-height: 1.5em;
|
|
color: #333;
|
|
font-weight: bold;
|
|
width: 100%;
|
|
background: #fdfdfd;
|
|
background: linear-gradient(to bottom, #fdfdfd 0%,#bebebe 100%);
|
|
border: 1px solid #bbb;
|
|
}
|
|
.touchButton[disabled]{
|
|
color: Grey;
|
|
}
|
|
|
|
|
|
@media (min-width: 65em){
|
|
/* .loginForm div{
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
align-items: flex-end;
|
|
}
|
|
.loginForm div div{
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
width: 30%;
|
|
}
|
|
button{
|
|
}
|
|
*/
|
|
}
|
|
|
|
body{
|
|
background-color: var(--backgroundColor);
|
|
}
|
|
|
|
|
|
nav ul {
|
|
width: 100%;
|
|
list-style: none;
|
|
padding: 0;
|
|
}
|
|
|
|
nav ul li a{
|
|
text-decoration: none;
|
|
color: black;
|
|
}
|
|
|
|
nav ul li a div{
|
|
text-align: center;
|
|
font-size: large;
|
|
font-weight: bolder;
|
|
border: 3px gray outset;
|
|
background: linear-gradient(to bottom, var(--backgroundColor) 0%, var(--highlightColor) 100%);
|
|
padding-top: .25em;
|
|
padding-bottom: .25em;
|
|
}
|
|
|
|
.navLink{
|
|
text-align: center;
|
|
/* font-size: large;*/
|
|
font-weight: bolder;
|
|
border: 3px gray outset;
|
|
background: linear-gradient(to bottom, var(--backgroundColor) 0%, var(--highlightColor) 100%);
|
|
padding-top: .25em;
|
|
padding-bottom: .25em;
|
|
}
|
|
|
|
.navLink div{
|
|
display: inline;
|
|
}
|
|
meldungsBox{
|
|
border: 1px solid black;
|
|
}
|
|
|
|
|
|
@media only screen and (min-device-width: 481px){
|
|
.wkInfo{
|
|
width: 68%;
|
|
float: right;
|
|
}
|
|
|
|
nav ul{
|
|
display: table;
|
|
}
|
|
|
|
nav ul li{
|
|
display: table-cell;
|
|
}
|
|
|
|
nav ul li a div{
|
|
text-align: center;
|
|
}
|
|
|
|
button[type=submit] {
|
|
display: block;
|
|
font-size: 1em;
|
|
line-height: 1.5em;
|
|
color: #333;
|
|
font-weight: bold;
|
|
width: 100%;
|
|
background: #fdfdfd;
|
|
background: linear-gradient(to bottom, #fdfdfd 0%,#bebebe 100%);
|
|
border: 1px solid #bbb;
|
|
}
|
|
button[disabled]{
|
|
color: Grey;
|
|
}
|
|
}
|
|
|
|
@media only screen and (max-device-width: 481px) {
|
|
nav ul li a div{
|
|
text-align: left;
|
|
}
|
|
button[type=submit] {
|
|
display: block;
|
|
font-size: 1em;
|
|
line-height: 1.5em;
|
|
color: #333;
|
|
font-weight: bold;
|
|
width: 100%;
|
|
background: #fdfdfd;
|
|
background: -moz-linear-gradient(top, #fdfdfd 0%, #bebebe 100%);
|
|
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fdfdfd), color-stop(100%,#bebebe));
|
|
background: -webkit-linear-gradient(top, #fdfdfd 0%,#bebebe 100%);
|
|
background: -o-linear-gradient(top, #fdfdfd 0%,#bebebe 100%);
|
|
background: -ms-linear-gradient(top, #fdfdfd 0%,#bebebe 100%);
|
|
background: linear-gradient(to bottom, #fdfdfd 0%,#bebebe 100%);
|
|
border: 1px solid #bbb;
|
|
-webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px;
|
|
}
|
|
button[disabled]{
|
|
color: Grey;
|
|
}
|
|
input[type=text], input[type=url], input[type=email], input[type=password], input[type=tel] {
|
|
-webkit-appearance: none; -moz-appearance: none;
|
|
display: block;
|
|
margin: 0;
|
|
width: 100%;
|
|
/* height: 2em;*/
|
|
/* line-height: 1.6em;*/
|
|
font-size: 1.5em;
|
|
border: 1px solid #bbb;
|
|
}
|
|
#meldungsBox{
|
|
/* font-size: 3em;*/
|
|
border: 1px solid black;
|
|
}
|
|
fieldset div{
|
|
font-size: 1em;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
.wkInfoCard{
|
|
border-left: .5rem solid var(--buttonColor);
|
|
margin: 1rem 0;
|
|
display: flex;
|
|
background-color: var(--backgroundColor);
|
|
border-radius: 2px;
|
|
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.16),
|
|
0 2px 10px 0 rgba(0, 0, 0, 0.12);
|
|
position: relative;
|
|
|
|
a{
|
|
text-decoration: none;
|
|
}
|
|
}
|
|
|
|
.wkInfoCardDate{
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
color: var(--buttonColor);
|
|
padding: 0rem 0.5rem 0rem 0rem;
|
|
width: 6rem;
|
|
}
|
|
@media (min-width: 640px){
|
|
.wkInfoCardDate{
|
|
justify-content: center;
|
|
}
|
|
}
|
|
|
|
.wkInfoCardDateDay{
|
|
font-size: 1.75rem;
|
|
}
|
|
|
|
.wkInfoCardDateWeekday{
|
|
font-size: 1.15rem;
|
|
}
|
|
|
|
.wkInfoCardDateMonth{
|
|
font-size: 1.15rem;
|
|
}
|
|
|
|
.wkInfoCardWkData{
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex-grow: 1;
|
|
background-color: var(--highlightColor);
|
|
}
|
|
@media (min-width: 640px){
|
|
.wkInfoCardWkData{
|
|
flex-direction: row;
|
|
}
|
|
}
|
|
|
|
.wkInfoCardWkInfo{
|
|
padding: 0 1rem;
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.wkInfoCardWkInfo ul{
|
|
padding: 0;
|
|
list-style-type: none;
|
|
}
|
|
|
|
@media (min-width: 640px){
|
|
.wkInfoCardWkInfo ul{
|
|
padding: initial;
|
|
list-style-type: initial;
|
|
}
|
|
}
|
|
|
|
.wkInfoCardButtonBar{
|
|
align-items: center;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
padding: 1rem;
|
|
}
|
|
|
|
.wkInfoCardButton{
|
|
background-color: #fff;
|
|
border-radius: 2px;
|
|
color: #333;
|
|
font-size: .9rem;
|
|
margin: .5rem 0;
|
|
padding: .75rem 1rem;
|
|
text-align: center;
|
|
width: 7rem;
|
|
}
|
|
|
|
.wkInfoCardButtonSuccess {
|
|
background-color: var(--buttonColor);
|
|
color: #eee;
|
|
}
|
|
|
|
.wkInfoCardButtonRaised {
|
|
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.16),
|
|
0 2px 10px 0 rgba(0, 0, 0, 0.12);
|
|
}
|
|
|
|
.fontWeightLighter {
|
|
font-weight: lighter;
|
|
}
|
|
|
|
.flexFlowRow{
|
|
flex-flow: row;
|
|
}
|
|
|
|
.justifyContentFlexStart{
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
|
|
.card__icon {
|
|
align-items: center;
|
|
color: #1ABC9C;
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 1rem 2rem 1rem 0;
|
|
justify-content: center;
|
|
width: 6rem;
|
|
}
|
|
|
|
.event-icon {
|
|
font-size: 36px;
|
|
}
|
|
|
|
.material-icons {
|
|
width: 1rem;
|
|
}
|
|
|
|
/*
|
|
css für Navigationsleiste
|
|
*/
|
|
|
|
|
|
.navBar{
|
|
width: 100%;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.navBar > ul{
|
|
display: flex;
|
|
flex-flow: column;
|
|
text-align: center;
|
|
background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.2) 25%, rgba(255, 255, 255, 0.2) 75%, rgba(255, 255, 255, 0) 100%);
|
|
box-shadow: 0 0 .5em rgba(0, 0, 0, 0.1), inset 0 0 1px rgba(255, 255, 255, 0.6);
|
|
}
|
|
|
|
.navBar ul > li > a {
|
|
height: 100%;
|
|
padding: .25em;
|
|
text-transform:uppercase;
|
|
color: rgba(0, 35, 122, 0.5);
|
|
font-size: Large;
|
|
text-decoration: none;
|
|
display: block;
|
|
}
|
|
|
|
.navBar > ul > li > a:hover {
|
|
box-shadow: 0 0 .2em rgba(0, 0, 0, 0.1), inset 0 0 1px rgba(255, 255, 255, 0.6);
|
|
background: rgba(255, 255, 255, 0.1);
|
|
color: rgba(0, 35, 122, 0.7);
|
|
}
|
|
|
|
|
|
@media (min-width: 640px){
|
|
.navBar > ul{
|
|
flex-flow: row;
|
|
justify-content: space-between;
|
|
align-items: stretch;
|
|
}
|
|
.navBar > ul > li {
|
|
align-items: center;
|
|
flex-grow: 1;
|
|
flex-basis: 100%;
|
|
}
|
|
}
|