From 4711c8147d4b2ff903f352520e92d139470163c8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Arma=C4=9Fan=20=C3=9Cnl=C3=BC?=
<36102404+armgnunlu@users.noreply.github.com>
Date: Thu, 17 Jun 2021 23:33:16 +0300
Subject: [PATCH] part 2
---
.../Pages/Index.cshtml | 6 +-
.../wwwroot/assets/eventhub-logo.svg | 16 ++++++
.../Themes/EventHub/Layouts/Account.cshtml | 2 +-
.../wwwroot/themes/eventhub/style.css | 55 +++++++++++++------
src/EventHub.Web/Pages/Events/New.cshtml | 4 +-
5 files changed, 59 insertions(+), 24 deletions(-)
create mode 100644 src/EventHub.IdentityServer/wwwroot/assets/eventhub-logo.svg
diff --git a/src/EventHub.IdentityServer/Pages/Index.cshtml b/src/EventHub.IdentityServer/Pages/Index.cshtml
index d9ea157..4ff6cb0 100644
--- a/src/EventHub.IdentityServer/Pages/Index.cshtml
+++ b/src/EventHub.IdentityServer/Pages/Index.cshtml
@@ -20,10 +20,8 @@
@CurrentUser.UserName
@CurrentUser.Email
- Roles: @CurrentUser.Roles.JoinAsString(", ")
-
- Claims:
- @Html.Raw(CurrentUser.GetAllClaims().Select(c => $"{c.Type}={c.Value}").JoinAsString("
"))
+
Roles
@CurrentUser.Roles.JoinAsString(", ")
+ Claims
@Html.Raw(CurrentUser.GetAllClaims().Select(c => $"{c.Type}={c.Value}").JoinAsString("
"))
diff --git a/src/EventHub.IdentityServer/wwwroot/assets/eventhub-logo.svg b/src/EventHub.IdentityServer/wwwroot/assets/eventhub-logo.svg
new file mode 100644
index 0000000..eebde5b
--- /dev/null
+++ b/src/EventHub.IdentityServer/wwwroot/assets/eventhub-logo.svg
@@ -0,0 +1,16 @@
+
diff --git a/src/EventHub.Web.Theme/Themes/EventHub/Layouts/Account.cshtml b/src/EventHub.Web.Theme/Themes/EventHub/Layouts/Account.cshtml
index 16e762a..58f8d23 100644
--- a/src/EventHub.Web.Theme/Themes/EventHub/Layouts/Account.cshtml
+++ b/src/EventHub.Web.Theme/Themes/EventHub/Layouts/Account.cshtml
@@ -53,7 +53,7 @@
@(await Component.InvokeAsync())
-
+
@if (MultiTenancyOptions.Value.IsEnabled &&
diff --git a/src/EventHub.Web.Theme/wwwroot/themes/eventhub/style.css b/src/EventHub.Web.Theme/wwwroot/themes/eventhub/style.css
index 4580953..cd97dcb 100644
--- a/src/EventHub.Web.Theme/wwwroot/themes/eventhub/style.css
+++ b/src/EventHub.Web.Theme/wwwroot/themes/eventhub/style.css
@@ -157,7 +157,7 @@ p {
@media (min-width: 1200px){
.container, .container-lg, .container-md, .container-sm, .container-xl {
- max-width: 996px;
+ max-width: 1080px;
}
.navbar .container {
max-width: 1200px;
@@ -192,7 +192,7 @@ p {
}
.event-info small {
- font-size: 10px;
+ font-size: 12px;
font-weight: 500;
color: #6F32E2;
margin-bottom: 15px;
@@ -215,13 +215,13 @@ p {
}
.event-date small{
color: #E8345D;
- font-size: 10px;
+ font-size: 12px;
font-weight: 500;
display: block;
}
.event-date span{
color: #00044A;
- font-size: 22px;
+ font-size: 24px;
font-weight: 700;
display: block;
line-height: 1.2;
@@ -246,10 +246,13 @@ p {
border-radius: 10px;
}
-.search-event .form-control, .search-event .form-select {
+.search-event .form-control, .search-event .form-select {
color: #ffffff;
- background-color: rgba(255,255,255,.2);
- border: 1px solid rgba(255,255,255,.4);
+ background-color: rgba(255,255,255,.2);
+ border: 1px solid rgba(255,255,255,.4);
+}
+.search-event .form-label-group {
+ margin-bottom: 0;
}
.search-event .btn-group-lg > .search-event .btn, .search-event .btn-lg {
height: 52px;
@@ -744,7 +747,7 @@ div.checkbox.switcher label, div.radio.switcher label {
padding: 1em;
position: relative;
border-radius: 10px;
- min-height: 160px;
+ min-height: 200px;
text-align: center;
margin-bottom: 30px;
}
@@ -851,22 +854,40 @@ div.checkbox.switcher label, div.radio.switcher label {
}
.event .card {
- max-width: 300px;
+ max-width: 330px;
margin: 0 auto 34px;
}
.logo {
- height: 32px;
+ height: 28px;
+}
+
+.text-danger.field-validation-error {
+ background: #ffe4ea;
+ font-size: 12px;
+ padding: 2px 8px;
+ border-radius: 6px;
+ margin-top: 4px;
+ display: inline-block;
}
-
-
-
-
-
-
-
+.input-validation-error {
+ border-color: #ffd5df !important;
+}
+.navbar-light .navbar-toggler, .navbar-light .navbar-toggler:focus {
+ border: 0;
+ outline: none;
+}
+@media screen and (max-width: 991px) {
+ .navbar-collapse {
+ padding: 2em;
+ text-align: center;
+ }
+ .navbar-collapse .nav-item {
+ margin: 8px 0;
+ }
+}
diff --git a/src/EventHub.Web/Pages/Events/New.cshtml b/src/EventHub.Web/Pages/Events/New.cshtml
index 03636a5..3565eea 100644
--- a/src/EventHub.Web/Pages/Events/New.cshtml
+++ b/src/EventHub.Web/Pages/Events/New.cshtml
@@ -66,10 +66,10 @@ else