diff --git a/frontend/drabinka/css/collapsible.css b/frontend/drabinka/css/collapsible.css
new file mode 100644
index 0000000..a50a176
--- /dev/null
+++ b/frontend/drabinka/css/collapsible.css
@@ -0,0 +1,42 @@
+/*COLLAPSIBLE*/
+
+/*Wersja zwinięta*/
+.collapsible {
+ background-color: #777;
+ color: white;
+ cursor: pointer;
+ padding: 18px;
+ /*szerokość zwiniętego boxa*/
+ width: 100%;
+ border: none;
+ text-align: left;
+ outline: none;
+ font-size: 15px;
+}
+
+.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*/
+.content {
+ padding: 0 18px;
+ max-height: 0;
+ /*szerokość drabinki*/
+ width: 75%;
+ overflow: hidden;
+ transition: max-height 0.2s ease-out;
+ background-color: #f1f1f1;
+}
\ No newline at end of file
diff --git a/frontend/drabinka/css/li.css b/frontend/drabinka/css/li.css
new file mode 100644
index 0000000..d0aeae4
--- /dev/null
+++ b/frontend/drabinka/css/li.css
@@ -0,0 +1,36 @@
+li.game {
+ padding-left: 20px;
+}
+
+li.game.winner {
+ font-weight: bold;
+}
+
+/*Tekst wewnątrz boxa*/
+li.game span {
+ float: right;
+ margin-right: 10px;
+}
+
+/*Górna linia drabinki*/
+li.game-top {
+ border-bottom: 1px solid #aaa;
+}
+
+/*Róznica wysokości między rundami*/
+li.game-spacer {
+ border-right: 1px solid #aaa;
+ min-height: 40px;
+}
+
+/*Dolna linia drabinki*/
+li.game-bottom {
+ border-top: 1px solid #aaa;
+}
+
+/*Box drużyny*/
+li.teambox {
+ border-radius: 25px;
+ background-color: #FFFFFF;
+ padding: 10px;
+}
\ No newline at end of file
diff --git a/frontend/drabinka/css/round.css b/frontend/drabinka/css/round.css
new file mode 100644
index 0000000..1ccb313
--- /dev/null
+++ b/frontend/drabinka/css/round.css
@@ -0,0 +1,22 @@
+
+.round {
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ width: 200px;
+ list-style: none;
+ padding: 0;
+}
+
+.round .spacer {
+ flex-grow: 1;
+}
+
+.round .spacer:first-child,
+.round .spacer:last-child {
+ flex-grow: .5;
+}
+
+.round .game-spacer {
+ flex-grow: 1;
+}
diff --git a/frontend/drabinka/style.css b/frontend/drabinka/css/style.css
similarity index 58%
rename from frontend/drabinka/style.css
rename to frontend/drabinka/css/style.css
index d78e3bf..fd611eb 100644
--- a/frontend/drabinka/style.css
+++ b/frontend/drabinka/css/style.css
@@ -1,7 +1,19 @@
+@import "li.css";
+@import "collapsible.css";
+@import "round.css";
+
+
/*
* Flex Layout Specifics
*/
+body {
+ background-color: #C0C0C0;
+ font-family: sans-serif;
+ font-size: small;
+ padding: 10px;
+ line-height: 1.4em;
+}
img {
width: 150px;
@@ -43,7 +55,7 @@ header {
flex-flow: row wrap;
align-items: center;
justify-content: space-between;
- background-color: #0f64f2;
+ background-color: #065FD4;
margin: auto;
padding-top: 10px;
padding-bottom: 10px;
@@ -52,8 +64,6 @@ header {
}
-
-
header>p {
text-align: center;
line-height: 0;
@@ -78,28 +88,6 @@ header>p {
align-items: center;
}
-.round {
- display: flex;
- flex-direction: column;
- justify-content: center;
- width: 200px;
- list-style: none;
- padding: 0;
-}
-
-.round .spacer {
- flex-grow: 1;
-}
-
-.round .spacer:first-child,
-.round .spacer:last-child {
- flex-grow: .5;
-}
-
-.round .game-spacer {
- flex-grow: 1;
-}
-
/*
* Flex Layout Specifics
*/
@@ -108,60 +96,3 @@ main {
flex-direction: row;
}
-.round {
- display: flex;
- flex-direction: column;
- justify-content: center;
- width: 200px;
- list-style: none;
- padding: 0;
-}
-
-.round .spacer {
- flex-grow: 1;
-}
-
-.round .spacer:first-child,
-.round .spacer:last-child {
- flex-grow: .5;
-}
-
-.round .game-spacer {
- flex-grow: 1;
-}
-
-/*
- * General Styles
-*/
-body {
- font-family: sans-serif;
- font-size: small;
- padding: 10px;
- line-height: 1.4em;
-}
-
-li.game {
- padding-left: 20px;
-}
-
-li.game.winner {
- font-weight: bold;
-}
-
-li.game span {
- float: right;
- margin-right: 5px;
-}
-
-li.game-top {
- border-bottom: 1px solid #aaa;
-}
-
-li.game-spacer {
- border-right: 1px solid #aaa;
- min-height: 40px;
-}
-
-li.game-bottom {
- border-top: 1px solid #aaa;
-}
\ No newline at end of file
diff --git a/frontend/drabinka/index.html b/frontend/drabinka/index.html
index 833f13a..268a863 100644
--- a/frontend/drabinka/index.html
+++ b/frontend/drabinka/index.html
@@ -5,14 +5,17 @@
-
Document
-
-
+ Padel Tournaments System
+
+
+
+
+
Padel tournament
-
-
- -
- - Jan 79
- -
- - Piotrek 48
+
+
-
+
+