Initial Commit
This commit is contained in:
216
resources/views/teamstore-sublayouts/product-details.blade.php
Normal file
216
resources/views/teamstore-sublayouts/product-details.blade.php
Normal file
@@ -0,0 +1,216 @@
|
||||
@extends('teamstore-layout.main')
|
||||
@section('content')
|
||||
<style>
|
||||
|
||||
p{
|
||||
font-size: 12px;
|
||||
margin-top: 5px;
|
||||
}
|
||||
.price{
|
||||
font-size: 25px;
|
||||
margin: 0 auto;
|
||||
color: #333;
|
||||
}
|
||||
.right{
|
||||
float:right;
|
||||
border-bottom: 2px solid #4B8E4B;
|
||||
}
|
||||
.thumbnail{
|
||||
/* opacity:0.70; */
|
||||
-webkit-transition: all 0.5s;
|
||||
transition: all 0.5s;
|
||||
}
|
||||
/* .thumbnail:hover{
|
||||
opacity:1.00;
|
||||
box-shadow: 0px 0px 10px #4bc6ff;
|
||||
} */
|
||||
.line{
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
@media screen and (max-width: 770px) {
|
||||
.right{
|
||||
float:left;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.product-thumbnails {
|
||||
height: 100px;
|
||||
width: 100px;
|
||||
position: relative;
|
||||
border : 1px solid #999;
|
||||
margin: 0 auto;
|
||||
}
|
||||
.product-thumbnails > img {
|
||||
max-height: 100%;
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
width: auto;
|
||||
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
|
||||
/* one by one slider */
|
||||
|
||||
.multi-item-carousel .carousel-inner>.item,
|
||||
.multi-item-carousel-clipart .carousel-inner>.item {
|
||||
-webkit-transition: 200ms ease-in-out left;
|
||||
transition: 200ms ease-in-out left;
|
||||
}
|
||||
|
||||
.multi-item-carousel .carousel-inner .active.left {
|
||||
left: -25%;
|
||||
}
|
||||
|
||||
.multi-item-carousel .carousel-inner .active.right,
|
||||
.multi-item-carousel-clipart .carousel-inner .active.right {
|
||||
left: 25%;
|
||||
}
|
||||
|
||||
.multi-item-carousel .carousel-inner .next,
|
||||
.multi-item-carousel-clipart .carousel-inner .next {
|
||||
left: 25%;
|
||||
}
|
||||
|
||||
.multi-item-carousel .carousel-inner .prev,
|
||||
.multi-item-carousel-clipart .carousel-inner .prev {
|
||||
left: -25%;
|
||||
}
|
||||
|
||||
@media all and (transform-3d),
|
||||
(-webkit-transform-3d) {
|
||||
.multi-item-carousel .carousel-inner>.item {
|
||||
-webkit-transition: 200ms ease-in-out all;
|
||||
transition: 200ms ease-in-out all;
|
||||
-webkit-backface-visibility: visible;
|
||||
backface-visibility: visible;
|
||||
-webkit-transform: none!important;
|
||||
transform: none!important;
|
||||
}
|
||||
}
|
||||
|
||||
.multi-item-carousel .carouse-control.left,
|
||||
.multi-item-carousel .carouse-control.right {
|
||||
background-image: none;
|
||||
}
|
||||
|
||||
.carousel-inner>.item>a>img,
|
||||
.carousel-inner>.item>img,
|
||||
.img-responsive,
|
||||
.thumbnail a>img,
|
||||
.thumbnail>img {
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
.carousel-control.left,
|
||||
.carousel-control.right {
|
||||
background: none;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.carousel-control.left {
|
||||
margin-left: -35px;
|
||||
margin-top: 7px;
|
||||
}
|
||||
|
||||
.carousel-control.right {
|
||||
margin-right: -35px;
|
||||
margin-top: 7px;
|
||||
}
|
||||
|
||||
.carousel-control {
|
||||
width: 0%;
|
||||
}
|
||||
|
||||
.custom-chevron-left,
|
||||
.custom-chevron-right {
|
||||
color: grey;
|
||||
}
|
||||
/* end single carousel*/
|
||||
|
||||
.hide-bullets {
|
||||
list-style:none;
|
||||
margin-left: -40px;
|
||||
margin-top:20px;
|
||||
}
|
||||
.spacer-top{
|
||||
margin-top: 40px;
|
||||
}
|
||||
.roster-input{
|
||||
border-radius: 0px;
|
||||
border-right: none;
|
||||
border-top: none;
|
||||
}
|
||||
.table-bordered>thead>tr>td, .table-bordered>thead>tr>th{
|
||||
border-bottom-width: 0px;
|
||||
}
|
||||
.btn-roster-action{
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
border-radius: 10px;
|
||||
}
|
||||
.btn-group-sm>.btn, .btn-roster-action {
|
||||
padding: 0px 0px;
|
||||
}
|
||||
.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th{
|
||||
vertical-align: unset;
|
||||
}
|
||||
|
||||
.table>thead>tr>th{
|
||||
border-bottom:none;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<nav aria-label="breadcrumb">
|
||||
<ol class="breadcrumb">
|
||||
<li class="breadcrumb-item"><a href="{{ url('teamstore') }}/{{ $store_array[0]->StoreUrl }}">Home</a></li>
|
||||
<li class="breadcrumb-item active" aria-current="page">{{ $product_array[0]->ProductName }}</li>
|
||||
</ol>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<!-- BEGIN PRODUCTS -->
|
||||
|
||||
<div class="col-md-5 col-sm-5">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
@foreach($thumbnails_array as $thumbnail)
|
||||
@if($thumbnail->ImageClass == 'active')
|
||||
<img id="main-thumbnail" class="img img-responsive product-center" style="height:287px;" src="http://{{ config('site_config.prod_private_server_ip') }}/images/{{ $thumbnail->Image }}"/>
|
||||
@endif
|
||||
@endforeach
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<hr class="line">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<ul class="hide-bullets">
|
||||
@foreach($thumbnails_array as $thumbnail)
|
||||
<li class="col-sm-3 col-xs-3">
|
||||
<a class="thumbnail a_thumbnail {{ $thumbnail->ImageClass }}">
|
||||
<img class="img img-responsive product-center image-thumbnails" style="height: 59.45px;" src="http://{{ config('site_config.prod_private_server_ip') }}/images/{{ $thumbnail->Image }}"/>
|
||||
</a>
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-7 col-sm-7">
|
||||
@include('teamstore-sublayouts.forms.'.$product_array[0]->ProductForm)
|
||||
</div>
|
||||
<!-- END PRODUCTS -->
|
||||
</div> <!-- container -->
|
||||
</div>
|
||||
@endsection
|
||||
Reference in New Issue
Block a user