From 4e443c6463515c583560e92c24c70308fd76f014 Mon Sep 17 00:00:00 2001 From: Lewy Date: Thu, 2 Jun 2022 00:48:18 +0200 Subject: [PATCH] =?UTF-8?q?refactor:=20Dodano=20folder=20main=5Fpage=20sty?= =?UTF-8?q?le:=20Dodano=20szablon=20strony=20g=C5=82=C3=B3wnej=20z=20przyk?= =?UTF-8?q?=C5=82adow=C4=85=20zawarto=C5=9Bci=C4=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/_global/header.css | 8 ++ frontend/{ => _main page}/cup.svg | 0 frontend/_main page/search.svg | 4 + frontend/_main page/settings.css | 35 +++++++++ frontend/_main page/single_tournament.css | 71 ++++++++++++++++++ frontend/_main page/style.css | 53 +++++++++++++ frontend/dodawanie turnieju/index.html | 2 +- frontend/dodawanie turnieju/logo_padel.jpeg | Bin 14423 -> 0 bytes frontend/drabinka/index.html | 2 +- frontend/event.css | 43 ----------- frontend/index.html | 61 ++++++++------- frontend/panel_organizatora/index.html | 2 +- frontend/single_tournament.css | 79 -------------------- frontend/style.css | 14 ---- frontend/zalogowany_organizator/index.html | 2 +- frontend/zalogowany_organizator/scheme.css | 0 16 files changed, 210 insertions(+), 166 deletions(-) rename frontend/{ => _main page}/cup.svg (100%) create mode 100644 frontend/_main page/search.svg create mode 100644 frontend/_main page/settings.css create mode 100644 frontend/_main page/single_tournament.css create mode 100644 frontend/_main page/style.css delete mode 100644 frontend/dodawanie turnieju/logo_padel.jpeg delete mode 100644 frontend/event.css delete mode 100644 frontend/single_tournament.css delete mode 100644 frontend/style.css create mode 100644 frontend/zalogowany_organizator/scheme.css diff --git a/frontend/_global/header.css b/frontend/_global/header.css index 0a002b1..357d29f 100644 --- a/frontend/_global/header.css +++ b/frontend/_global/header.css @@ -3,6 +3,7 @@ header { /*Box alignment*/ display: flex; margin: auto auto 1%; + /*height: 8vh;*/ /*Content alignment*/ flex-flow: row wrap; @@ -66,4 +67,11 @@ header { color: #ffffff; font-family: Montserrat, serif; font-size: 18px; + text-decoration: none; } + +/*Link underline fix*/ +a:link { text-decoration: none; } +a:visited { text-decoration: none; } +a:hover { text-decoration: none; } +a:active { text-decoration: none; } \ No newline at end of file diff --git a/frontend/cup.svg b/frontend/_main page/cup.svg similarity index 100% rename from frontend/cup.svg rename to frontend/_main page/cup.svg diff --git a/frontend/_main page/search.svg b/frontend/_main page/search.svg new file mode 100644 index 0000000..6bfcbd2 --- /dev/null +++ b/frontend/_main page/search.svg @@ -0,0 +1,4 @@ + + + + diff --git a/frontend/_main page/settings.css b/frontend/_main page/settings.css new file mode 100644 index 0000000..0cea65a --- /dev/null +++ b/frontend/_main page/settings.css @@ -0,0 +1,35 @@ +.settingsWszystkie { + height: 100%; + width: 10%; + float: left; + + text-align: center; + border: 1px #AFAFAF solid; +} + +.settingsMoje { + height: 100%; + width: 10%; + float: left; + + text-align: center; + border: 1px #AFAFAF solid; +} + +.settingsKafle { + height: 100%; + width: 10%; + float: right; + + text-align: center; + border: 1px #AFAFAF solid; +} + +.settingsLista { + height: 100%; + width: 10%; + float: right; + + text-align: center; + border: 1px #AFAFAF solid; +} \ No newline at end of file diff --git a/frontend/_main page/single_tournament.css b/frontend/_main page/single_tournament.css new file mode 100644 index 0000000..6ba692a --- /dev/null +++ b/frontend/_main page/single_tournament.css @@ -0,0 +1,71 @@ +.tournamentBox { + /*Box align*/ + flex-direction: column; + flex-wrap: nowrap; + + /*Visual*/ + background-color: #ffffff; + color: white; + border: 1px #AFAFAF solid; + + height: 15vh; + width: 100%; +} + +/**/ +.tournamentIconBox { + width: 10%; + height: 100%; + float: left; + /*padding: 25px;*/ + top: 50%; + left: 50%; +} + +.tournamentIcon { + margin: 0; + position: relative; + top: 50%; + left: 50%; + -ms-transform: translate(-50%, -50%); + transform: translate(-50%, -50%); +} + +/**/ +.tournamentDataBox { + width: 90%; + height: 100%; + float: right; +} + +.tournamentData { + margin-top: 1%; + text-align: left; + /*padding-left: 10%;*/ + color: #282828E5; +} + +.tournamentOpen { + + /* Auto layout */ + + display: flex; + flex-direction: row; + justify-content: center; + align-items: center; + padding: 6px 15px; + gap: 10px; + + /*position: absolute;*/ + width: 73px; + height: 29px; + + /* PFP GREEN */ + + background: #007C36; + border-radius: 15px; + border: 1px solid; + + font-family: Montserrat, serif; + color: white; +} \ No newline at end of file diff --git a/frontend/_main page/style.css b/frontend/_main page/style.css new file mode 100644 index 0000000..01b0d4f --- /dev/null +++ b/frontend/_main page/style.css @@ -0,0 +1,53 @@ +@import "../_global/header.css"; +@import "single_tournament.css"; +@import "settings.css"; + +/*main*/ +body { + margin: 0; +} + +.container { + height: 100%; + width: 100%; + display: flex; + justify-content: flex-end; +} + +/*2'nd layer*/ +.searchBox { + height: 100vh; + width: 5vh; + float: left; + + padding: 1%; + border: 1px #AFAFAF solid; +} + +.contentBox { + height: 100%; + width: 95%; + float: right; + position: relative; +} + +/*3'rd layer*/ +.filterBox { + height: 10vh; + width: 100%; + background-color: #C0C0C0; +} + +.settingsBox { + height: 5vh; + width: 100%; + + border: 1px #AFAFAF solid; +} + +/*items*/ +.search { + display: block; + margin-left: auto; + margin-right: auto; +} diff --git a/frontend/dodawanie turnieju/index.html b/frontend/dodawanie turnieju/index.html index 23c4a97..0f11dd8 100644 --- a/frontend/dodawanie turnieju/index.html +++ b/frontend/dodawanie turnieju/index.html @@ -12,7 +12,7 @@
- +
- - - - + + +
-
-
- + + + + +
+
+
-
-
- Tu jest text +
+
WSZYSTKIE
+
MOJE
+
LISTA
+
Kafle
+
+ +
+
+
-
+
+
+

Turniej majowy 2022

+ Propadel, Warszawa
+ 13/05/2022 do 15/05/2022 + +
+
+ +
-
-
Nadchodzące turnieje
-
Turniej majowy 2022 -

Propadel|Warszawa

-

13/05/2022 do 15/05/2022

- -
-
Trójmiasto Cup 2022 -

Padbox | Gdańsk

-

03/06/2022 do 05/06/2022

- -
-
-
+ + diff --git a/frontend/panel_organizatora/index.html b/frontend/panel_organizatora/index.html index d151cf2..b72fc72 100644 --- a/frontend/panel_organizatora/index.html +++ b/frontend/panel_organizatora/index.html @@ -9,7 +9,7 @@
- +