Padel-Tournaments-System/frontend/_main page/pojedynczy_turniej/drabinka/css/collapsible.css

51 lines
831 B
CSS
Raw Normal View History

/*COLLAPSIBLE*/
/*Wersja zwinięta*/
.collapsible {
/*Box alignment*/
margin-left: 5%;
margin-right: 5%;
width: 80%;
/*Content alignment*/
padding: 1%;
text-align: left;
/*Visual*/
background-color: #007C36;
color: white;
cursor: pointer;
font-size: 15px;
/*Others*/
border: none;
outline: none;
}
.active, .collapsible:hover {
background-color: #555;
}
.collapsible:after {
content: '\002B';
color: white;
font-weight: bold;
float: right;
margin-left: 5px;
}
.active:after {
content: "\2212";
}
/*Wersja rozwinięta*/
.collapsibleContent {
padding: 0 18px;
max-height: 0;
/*szerokość drabinki*/
width: 75%;
overflow: hidden;
transition: max-height 0.2s ease-out;
background-color: #f1f1f1;
}