Skip to content

Commit

Permalink
Merge pull request #306 from cloudscribe/dev
Browse files Browse the repository at this point in the history
merge changes from dev
  • Loading branch information
joeaudette committed Jul 22, 2018
2 parents 9d41fd7 + 4ccfd97 commit 07de07f
Show file tree
Hide file tree
Showing 8 changed files with 38 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,3 @@
{
<script type='text/javascript' src='https://www.bing.com/api/maps/mapcontrol?callback=loadMapScenario&key=@Model.ApiKey' async defer></script>
}

Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,16 @@
<div class="row gallery-block cards-gallery simple-gallery">
@for (int i = 0; i < Model.Items.Count; i++)
{
<div class="col-md-6 col-lg-4">
<div class="col-md-6 col-lg-4 gallery-item">
<div class="card border-0 transform-on-hover">
<a class="lightbox" href="@Model.Items[i].ResizedUrl">
<img src="@Model.Items[i].ResizedUrl" alt="@Model.Items[i].Description" class="card-img-top">
</a>
<div class="card-body">
<h6><a href="#">@Model.Items[i].Title</a></h6>
@if (!string.IsNullOrWhiteSpace(@Model.Items[i].Title))
{
<h6>@Model.Items[i].Title</h6>
}
<p class="text-muted card-text">@Model.Items[i].Description</p>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,4 +151,8 @@ opacity: 1;
width: 690px;
}
}
/* IE 11 fixes */
body.IE .cards-gallery .lightbox {
flex: 0 0 auto;
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,16 @@ var ieBodyClass = isIE ? "IE" : "";
@RenderSection("Meta", required: false)
<environment names="Development">
<link rel="stylesheet" href="~/css/style.css" cs-resolve-theme-resource="true" cs-tenant="@Tenant" />

</environment>
<environment names="Staging,Production">
<link rel="stylesheet" href="~/css/style.min.css" cs-resolve-theme-resource="true" cs-tenant="@Tenant" />

</environment>
@RenderSection("Styles", required: false)
@if (isIE)
{
<link rel="stylesheet" href="~/css/ie11.css" />
}
<google-analytics profile-id="@Tenant.GoogleAnalyticsProfileId" user-id="@User.GetUserId()"></google-analytics>
<base href="@Context.Request.Path" />
</head>
Expand All @@ -58,7 +61,7 @@ var ieBodyClass = isIE ? "IE" : "";
</header>
<div id="wrapper" class="container-fluid cs-container flex-fill">
@await Component.InvokeAsync("Navigation", new { viewName = "Bootstrap4Breadcrumbs", filterName = NamedNavigationFilters.Breadcrumbs, startingNodeKey = "" })
<div class="row">
<div class="row mainrow">
<main id="content" role="main" class="col order-3">
@await Html.PartialAsync("AlertsPartial")
@RenderBody()
Expand Down
17 changes: 17 additions & 0 deletions src/sourceDev.WebApp/wwwroot/css/ie11.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/*body {
flex: 0 0 auto;
}*/
body {

}

header, footer {

}

.cards-gallery .lightbox {
flex: 0 0 auto;
}
#wrapper {

}
4 changes: 4 additions & 0 deletions src/sourceDev.WebApp/wwwroot/css/simple-gallery.css
Original file line number Diff line number Diff line change
Expand Up @@ -151,4 +151,8 @@ opacity: 1;
width: 690px;
}
}
/* IE 11 fixes */
body.IE .cards-gallery .lightbox {
flex: 0 0 auto;
}

2 changes: 1 addition & 1 deletion src/sourceDev.WebApp/wwwroot/css/simple-gallery.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 07de07f

Please sign in to comment.