Browse Source

added slick carousel

master
Pascal Gloor 5 years ago
parent
commit
fc4bf5670d
4 changed files with 135 additions and 1 deletions
  1. BIN
      src/slick-1.8.1.zip
  2. 119
    0
      www/css/slick.css
  3. 15
    1
      www/index.html
  4. 1
    0
      www/js/slick.min.js

BIN
src/slick-1.8.1.zip View File


+ 119
- 0
www/css/slick.css View File

/* Slider */
.slick-slider
{
position: relative;

display: block;
box-sizing: border-box;

-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;

-webkit-touch-callout: none;
-khtml-user-select: none;
-ms-touch-action: pan-y;
touch-action: pan-y;
-webkit-tap-highlight-color: transparent;
}

.slick-list
{
position: relative;

display: block;
overflow: hidden;

margin: 0;
padding: 0;
}
.slick-list:focus
{
outline: none;
}
.slick-list.dragging
{
cursor: pointer;
cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list
{
-webkit-transform: translate3d(0, 0, 0);
-moz-transform: translate3d(0, 0, 0);
-ms-transform: translate3d(0, 0, 0);
-o-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}

.slick-track
{
position: relative;
top: 0;
left: 0;

display: block;
margin-left: auto;
margin-right: auto;
}
.slick-track:before,
.slick-track:after
{
display: table;

content: '';
}
.slick-track:after
{
clear: both;
}
.slick-loading .slick-track
{
visibility: hidden;
}

.slick-slide
{
display: none;
float: left;

height: 100%;
min-height: 1px;
}
[dir='rtl'] .slick-slide
{
float: right;
}
.slick-slide img
{
display: block;
}
.slick-slide.slick-loading img
{
display: none;
}
.slick-slide.dragging img
{
pointer-events: none;
}
.slick-initialized .slick-slide
{
display: block;
}
.slick-loading .slick-slide
{
visibility: hidden;
}
.slick-vertical .slick-slide
{
display: block;

height: auto;

border: 1px solid transparent;
}
.slick-arrow.slick-hidden {
display: none;
}

+ 15
- 1
www/index.html View File

<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" /> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<link rel="stylesheet" href="css/bootstrap.min.css" /> <link rel="stylesheet" href="css/bootstrap.min.css" />
<link rel="stylesheet" href="css/autodoc.css" /> <link rel="stylesheet" href="css/autodoc.css" />
<link rel="stylesheet" href="css/slick.css" />
<script defer src="js/fontawesome-all.min.js"></script> <script defer src="js/fontawesome-all.min.js"></script>
<title>AutoDoc</title> <title>AutoDoc</title>
</head> </head>


<!-- Document --> <!-- Document -->
<div class="container d-none" id="autodoc_tab_document"> <div class="container d-none" id="autodoc_tab_document">
<span class="lead">Document are shown here. Go to 'home' and select a document.</span>
<div class="autodoc_document_empty">
<span class="lead">Document are shown here. Go to 'home' and select a document.</span>
</div>
<div class="autodoc_document_body">
<div class="row">
<div class="col">
<span class="lead">Document</span>
</div>
</div>
<div class="row">

</div>
</div>
</div> </div>
<script src="js/tooltip.min.js"></script> <script src="js/tooltip.min.js"></script>
<script src="js/bootstrap.min.js"></script> <script src="js/bootstrap.min.js"></script>
<script src="js/bs-custom-file-input.min.js"></script> <script src="js/bs-custom-file-input.min.js"></script>
<script src="js/slick.min.js"></script>
<script src="js/autodoc.js"></script> <script src="js/autodoc.js"></script>
</body> </body>



+ 1
- 0
www/js/slick.min.js
File diff suppressed because it is too large
View File


Loading…
Cancel
Save