From d694e2e9e538e667c5b335bc12fbf343cb519424 Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Fri, 20 Jan 2017 14:21:01 +0100 Subject: [PATCH] display --- .../Shared/DisplayTemplates/BookQuery.cshtml | 12 ++++---- .../Shared/DisplayTemplates/Circle.cshtml | 16 ++++++++++ Yavsc/wwwroot/css/site.css | 29 +++++++++++++++---- 3 files changed, 45 insertions(+), 12 deletions(-) create mode 100644 Yavsc/Views/Shared/DisplayTemplates/Circle.cshtml diff --git a/Yavsc/Views/Shared/DisplayTemplates/BookQuery.cshtml b/Yavsc/Views/Shared/DisplayTemplates/BookQuery.cshtml index 5eda4d76..b04f4496 100644 --- a/Yavsc/Views/Shared/DisplayTemplates/BookQuery.cshtml +++ b/Yavsc/Views/Shared/DisplayTemplates/BookQuery.cshtml @@ -3,39 +3,39 @@
- @Html.DisplayNameFor(model => model.EventDate) + @SR["EventDate"]
@Html.DisplayFor(model => model.EventDate)
- @Html.DisplayNameFor(model => model.Client) + @SR["Client"]
@Html.DisplayFor(model => model.Client.UserName)
- @Html.DisplayNameFor(model => model.Location.Address) + @SR["Address"]
@Html.DisplayFor(model => model.Location.Address)
- @Html.DisplayNameFor(model => model.PerformerProfile) + @SR["Provider"]
@Html.DisplayFor(model => model.PerformerProfile.Performer.UserName)
- @Html.DisplayNameFor(model => model.ValidationDate) + @SR["ValidationDate"]
@if (Model.ValidationDate==null) { - @SR["NotValidated"] + @SR["NonValidee"] } else { @Html.DisplayFor(model => model.ValidationDate) diff --git a/Yavsc/Views/Shared/DisplayTemplates/Circle.cshtml b/Yavsc/Views/Shared/DisplayTemplates/Circle.cshtml new file mode 100644 index 00000000..00ed2148 --- /dev/null +++ b/Yavsc/Views/Shared/DisplayTemplates/Circle.cshtml @@ -0,0 +1,16 @@ +@model Circle + +
+
+ @Html.DisplayNameFor(model => model.Name) +
+
+ @Html.DisplayFor(model => model.Name) +
+
+ @Html.DisplayNameFor(model => model.Owner) +
+
+ @Html.DisplayFor(model => model.Owner) +
+
\ No newline at end of file diff --git a/Yavsc/wwwroot/css/site.css b/Yavsc/wwwroot/css/site.css index 3cf6c427..795fafc1 100755 --- a/Yavsc/wwwroot/css/site.css +++ b/Yavsc/wwwroot/css/site.css @@ -10,7 +10,7 @@ input, select, textarea { - max-width: 280px; + max-width: 90%; } /* Set widths on image and video, since otherwise they use their native resolution */ @@ -19,28 +19,44 @@ textarea { /* Carousel */ .carousel, .carousel img { - min-height: 15em; + height: 15em; } + .carousel-caption p { font-family: "jubilat"; font-weight: 600; font-size: large; line-height: 1.1; - text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); + text-decoration: overline; + text-decoration-line: overline; + text-shadow: 3px 3px 7px rgba(0, 0, 0, 0.8); -webkit-text-shadow: inset 0 3px 5px rgb(0, 0, 0); - color: white; - background-color: rgba(0,0,0,.5); + color: aliceblue; margin:0; padding:.5em; + animation: mymove 3s infinite; +} +@-webkit-keyframes mymove { + from {text-decoration-color: red;} + 50% {text-decoration-color: blue;} + to {text-decoration-color: red;} } +/* Standard syntax */ +@keyframes mymove { + from {text-decoration-color: red;} + 50% {text-decoration-color: blue;} + to {text-decoration-color: red;} +} ul.actiongroup li { display:inline; } + ul.actiongroup li a:hover { background-color: rgba(128,128,128,.2); color: red; } + input, select, textarea { max-width: 100%; } @@ -49,6 +65,7 @@ footer { vertical-align: bottom; padding: 1.5em; } + .display-field { font-kerning: none; display: inline-flex; @@ -60,12 +77,12 @@ footer { display: inline-flex; color: rgb(127,127,127); background-color: rgba(200,256,200,.4); - } nav { background: url('/images/booking/musique-2.jpg') 0% 50%; } + footer { color:rgb(128,128,128); font-weight: bolder;