Browse Source

Remove unused css files for monolithic app

pull/73/head
dsanz 8 years ago
parent
commit
54636b7cbd
4 changed files with 4 additions and 50 deletions
  1. +1
    -1
      src/Web/WebMonolithic/eShopWeb/Views/Catalog/Index.cshtml
  2. +3
    -11
      src/Web/WebMonolithic/eShopWeb/Views/Shared/_Layout.cshtml
  3. +0
    -37
      src/Web/WebMonolithic/eShopWeb/wwwroot/css/site.css
  4. +0
    -1
      src/Web/WebMonolithic/eShopWeb/wwwroot/css/site.min.css

+ 1
- 1
src/Web/WebMonolithic/eShopWeb/Views/Catalog/Index.cshtml View File

@ -24,7 +24,7 @@
<div class="container">
@if (Model.CatalogItems.Count() > 0)
@if (Model.CatalogItems.Any())
{
@Html.Partial("_pagination", Model.PaginationInfo)


+ 3
- 11
src/Web/WebMonolithic/eShopWeb/Views/Shared/_Layout.cshtml View File

@ -7,17 +7,9 @@
<environment names="Development">
<link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.css" />
<link rel="stylesheet" href="~/css/app.css" />
<link rel="stylesheet" href="~/css/app.component.css" />
<link rel="stylesheet" href="~/css/shared/components/header/header.css" />
<link rel="stylesheet" href="~/css/shared/components/identity/identity.css" />
<link rel="stylesheet" href="~/css/shared/components/pager/pager.css" />
<link rel="stylesheet" href="~/css/basket/basket.component.css" />
<link rel="stylesheet" href="~/css/basket/basket-status/basket-status.component.css" />
<link rel="stylesheet" href="~/css/catalog/catalog.component.css" />
<link rel="stylesheet" href="~/css/orders/orders.component.css" />
<link rel="stylesheet" href="~/css/orders/orders-detail/orders-detail.component.css" />
<link rel="stylesheet" href="~/css/orders/orders-new/orders-new.component.css" />
<link rel="stylesheet" href="~/css/app.css" />
<link rel="stylesheet" href="~/css/catalog/pager.css" />
<link rel="stylesheet" href="~/css/catalog/catalog.component.css" />
</environment>
<environment names="Staging,Production">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.0.0-alpha.5/css/bootstrap.min.css"


+ 0
- 37
src/Web/WebMonolithic/eShopWeb/wwwroot/css/site.css View File

@ -1,37 +0,0 @@
body {
padding-top: 50px;
padding-bottom: 20px;
}
/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
padding-left: 15px;
padding-right: 15px;
}
/* Set widths on the form inputs since otherwise they're 100% wide */
input,
select,
textarea {
max-width: 280px;
}
/* Carousel */
.carousel-caption p {
font-size: 20px;
line-height: 1.4;
}
/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$=".svg"] {
width: 100%;
}
/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {
/* Hide captions */
.carousel-caption {
display: none;
}
}

+ 0
- 1
src/Web/WebMonolithic/eShopWeb/wwwroot/css/site.min.css View File

@ -1 +0,0 @@
body{padding-top:50px;padding-bottom:20px}.body-content{padding-left:15px;padding-right:15px}input,select,textarea{max-width:280px}.carousel-caption p{font-size:20px;line-height:1.4}.carousel-inner .item img[src$=".svg"]{width:100%}@media screen and (max-width:767px){.carousel-caption{display:none}}

Loading…
Cancel
Save