mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-05 19:42:38 +02:00
Add Stripe Support
Bootstrap update
This commit is contained in:
parent
fdd368f818
commit
5f6deb2d78
152 changed files with 17300 additions and 4214 deletions
|
@ -1,201 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- release v4.4.4, copyright 2014 - 2017 Kartik Visweswaran -->
|
||||
<!--suppress JSUnresolvedLibraryURL -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8"/>
|
||||
<title>Krajee JQuery Plugins - © Kartik</title>
|
||||
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
|
||||
<link href="../css/fileinput.css" media="all" rel="stylesheet" type="text/css"/>
|
||||
<link href="../themes/explorer/theme.css" media="all" rel="stylesheet" type="text/css"/>
|
||||
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
|
||||
<script src="../js/plugins/sortable.js" type="text/javascript"></script>
|
||||
<script src="../js/fileinput.js" type="text/javascript"></script>
|
||||
<script src="../js/locales/fr.js" type="text/javascript"></script>
|
||||
<script src="../js/locales/es.js" type="text/javascript"></script>
|
||||
<script src="../themes/explorer/theme.js" type="text/javascript"></script>
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" type="text/javascript"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container kv-main">
|
||||
<div class="page-header">
|
||||
<h1>Bootstrap File Input Example
|
||||
<small><a href="https://github.com/kartik-v/bootstrap-fileinput-samples"><i
|
||||
class="glyphicon glyphicon-download"></i> Download Sample Files</a></small>
|
||||
</h1>
|
||||
</div>
|
||||
<form enctype="multipart/form-data">
|
||||
<input id="kv-explorer" type="file" multiple>
|
||||
<br>
|
||||
<input id="file-0a" class="file" type="file" multiple data-min-file-count="1">
|
||||
<br>
|
||||
<button type="submit" class="btn btn-primary">Submit</button>
|
||||
<button type="reset" class="btn btn-default">Reset</button>
|
||||
</form>
|
||||
<hr>
|
||||
<form enctype="multipart/form-data">
|
||||
<label for="file-0b">Test invalid input type</label>
|
||||
<input id="file-0b" name="file-0b" class="file" type="text" multiple data-min-file-count="1">
|
||||
<script>
|
||||
$(document).on('ready', function () {
|
||||
$("#file-0b").fileinput();
|
||||
});
|
||||
</script>
|
||||
</form>
|
||||
<hr>
|
||||
<form enctype="multipart/form-data">
|
||||
<input id="file-0c" class="file" type="file" multiple data-min-file-count="3">
|
||||
<hr>
|
||||
<div class="form-group">
|
||||
<input id="file-0d" class="file" type="file">
|
||||
</div>
|
||||
<hr>
|
||||
<div class="form-group">
|
||||
<input id="file-1" type="file" multiple class="file" data-overwrite-initial="false" data-min-file-count="2">
|
||||
</div>
|
||||
<hr>
|
||||
<div class="form-group">
|
||||
<input id="file-2" type="file" class="file" readonly data-show-upload="false">
|
||||
</div>
|
||||
<hr>
|
||||
<div class="form-group">
|
||||
<label>Preview File Icon</label>
|
||||
<input id="file-3" type="file" multiple>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="form-group">
|
||||
<input id="file-4" type="file" class="file" data-upload-url="#">
|
||||
</div>
|
||||
<hr>
|
||||
<div class="form-group">
|
||||
<button class="btn btn-warning" type="button">Disable Test</button>
|
||||
<button class="btn btn-info" type="reset">Refresh Test</button>
|
||||
<button class="btn btn-primary">Submit</button>
|
||||
<button class="btn btn-default" type="reset">Reset</button>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="form-group">
|
||||
<input type="file" class="file" id="test-upload" multiple>
|
||||
<div id="errorBlock" class="help-block"></div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="form-group">
|
||||
<input id="file-5" class="file" type="file" multiple data-preview-file-type="any" data-upload-url="#">
|
||||
</div>
|
||||
</form>
|
||||
|
||||
|
||||
<hr>
|
||||
<h4>Multi Language Inputs</h4>
|
||||
<form enctype="multipart/form-data">
|
||||
<label>French Input</label>
|
||||
<input id="file-fr" name="file-fr[]" type="file" multiple>
|
||||
<hr style="border: 2px dotted">
|
||||
<label>Spanish Input</label>
|
||||
<input id="file-es" name="file-es[]" type="file" multiple>
|
||||
</form>
|
||||
<hr>
|
||||
<br>
|
||||
</div>
|
||||
</body>
|
||||
<script>
|
||||
$('#file-fr').fileinput({
|
||||
language: 'fr',
|
||||
uploadUrl: '#',
|
||||
allowedFileExtensions: ['jpg', 'png', 'gif']
|
||||
});
|
||||
$('#file-es').fileinput({
|
||||
language: 'es',
|
||||
uploadUrl: '#',
|
||||
allowedFileExtensions: ['jpg', 'png', 'gif']
|
||||
});
|
||||
$("#file-0").fileinput({
|
||||
'allowedFileExtensions': ['jpg', 'png', 'gif']
|
||||
});
|
||||
$("#file-1").fileinput({
|
||||
uploadUrl: '#', // you must set a valid URL here else you will get an error
|
||||
allowedFileExtensions: ['jpg', 'png', 'gif'],
|
||||
overwriteInitial: false,
|
||||
maxFileSize: 1000,
|
||||
maxFilesNum: 10,
|
||||
//allowedFileTypes: ['image', 'video', 'flash'],
|
||||
slugCallback: function (filename) {
|
||||
return filename.replace('(', '_').replace(']', '_');
|
||||
}
|
||||
});
|
||||
/*
|
||||
$(".file").on('fileselect', function(event, n, l) {
|
||||
alert('File Selected. Name: ' + l + ', Num: ' + n);
|
||||
});
|
||||
*/
|
||||
$("#file-3").fileinput({
|
||||
showUpload: false,
|
||||
showCaption: false,
|
||||
browseClass: "btn btn-primary btn-lg",
|
||||
fileType: "any",
|
||||
previewFileIcon: "<i class='glyphicon glyphicon-king'></i>",
|
||||
overwriteInitial: false,
|
||||
initialPreviewAsData: true,
|
||||
initialPreview: [
|
||||
"http://lorempixel.com/1920/1080/transport/1",
|
||||
"http://lorempixel.com/1920/1080/transport/2",
|
||||
"http://lorempixel.com/1920/1080/transport/3"
|
||||
],
|
||||
initialPreviewConfig: [
|
||||
{caption: "transport-1.jpg", size: 329892, width: "120px", url: "{$url}", key: 1},
|
||||
{caption: "transport-2.jpg", size: 872378, width: "120px", url: "{$url}", key: 2},
|
||||
{caption: "transport-3.jpg", size: 632762, width: "120px", url: "{$url}", key: 3}
|
||||
]
|
||||
});
|
||||
$("#file-4").fileinput({
|
||||
uploadExtraData: {kvId: '10'}
|
||||
});
|
||||
$(".btn-warning").on('click', function () {
|
||||
var $el = $("#file-4");
|
||||
if ($el.attr('disabled')) {
|
||||
$el.fileinput('enable');
|
||||
} else {
|
||||
$el.fileinput('disable');
|
||||
}
|
||||
});
|
||||
$(".btn-info").on('click', function () {
|
||||
$("#file-4").fileinput('refresh', {previewClass: 'bg-info'});
|
||||
});
|
||||
/*
|
||||
$('#file-4').on('fileselectnone', function() {
|
||||
alert('Huh! You selected no files.');
|
||||
});
|
||||
$('#file-4').on('filebrowse', function() {
|
||||
alert('File browse clicked for #file-4');
|
||||
});
|
||||
*/
|
||||
$(document).ready(function () {
|
||||
$("#test-upload").fileinput({
|
||||
'showPreview': false,
|
||||
'allowedFileExtensions': ['jpg', 'png', 'gif'],
|
||||
'elErrorContainer': '#errorBlock'
|
||||
});
|
||||
$("#kv-explorer").fileinput({
|
||||
'theme': 'explorer',
|
||||
'uploadUrl': '#',
|
||||
overwriteInitial: false,
|
||||
initialPreviewAsData: true,
|
||||
initialPreview: [
|
||||
"http://lorempixel.com/1920/1080/nature/1",
|
||||
"http://lorempixel.com/1920/1080/nature/2",
|
||||
"http://lorempixel.com/1920/1080/nature/3"
|
||||
],
|
||||
initialPreviewConfig: [
|
||||
{caption: "nature-1.jpg", size: 329892, width: "120px", url: "{$url}", key: 1},
|
||||
{caption: "nature-2.jpg", size: 872378, width: "120px", url: "{$url}", key: 2},
|
||||
{caption: "nature-3.jpg", size: 632762, width: "120px", url: "{$url}", key: 3}
|
||||
]
|
||||
});
|
||||
/*
|
||||
$("#test-upload").on('fileloaded', function(event, file, previewId, index) {
|
||||
alert('i = ' + index + ', id = ' + previewId + ', file = ' + file.name);
|
||||
});
|
||||
*/
|
||||
});
|
||||
</script>
|
||||
</html>
|
|
@ -1,21 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
<package >
|
||||
<metadata>
|
||||
<id>bootstrap-fileinput</id>
|
||||
<title>bootstrap-fileinput</title>
|
||||
<version>4.4.4</version>
|
||||
<authors>Kartik Visweswaran</authors>
|
||||
<owners>Kartik Visweswaran</owners>
|
||||
<licenseUrl>https://github.com/kartik-v/bootstrap-fileinput/blob/master/LICENSE.md</licenseUrl>
|
||||
<projectUrl>https://github.com/kartik-v/bootstrap-fileinput</projectUrl>
|
||||
<iconUrl>http://getbootstrap.com/favicon.ico</iconUrl>
|
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||
<description>An enhanced HTML 5 file input for Bootstrap 3.x with file preview for various files, offers multiple selection, and more.</description>
|
||||
<releaseNotes>https://github.com/kartik-v/bootstrap-fileinput/blob/master/CHANGE.md</releaseNotes>
|
||||
<copyright>Copyright 2014 - 2017</copyright>
|
||||
<tags>bootstrap bootstrap-fileinput</tags>
|
||||
<dependencies>
|
||||
<dependency id="bootstrap" version="3.3.0" />
|
||||
</dependencies>
|
||||
</metadata>
|
||||
</package>
|
|
@ -1,35 +0,0 @@
|
|||
@echo off
|
||||
|
||||
NuGet Update -self
|
||||
REM remove package content folder
|
||||
rmdir /s /q content
|
||||
|
||||
REM create new package content folder
|
||||
mkdir content
|
||||
|
||||
REM create sub folder for js files
|
||||
mkdir content\Scripts
|
||||
|
||||
REM create sub folders for css and img files
|
||||
mkdir content\Content
|
||||
mkdir content\Content\bootstrap-fileinput
|
||||
|
||||
REM delete the previous package versions
|
||||
REM del bootstrap-fileinput.*
|
||||
|
||||
REM copy the content to the destination folders
|
||||
xcopy ..\js content\Scripts /D /E /C /R /I /K /Y
|
||||
xcopy ..\css content\Content\bootstrap-fileinput\css /D /E /C /R /I /K /Y
|
||||
xcopy ..\img content\Content\bootstrap-fileinput\img /D /E /C /R /I /K /Y
|
||||
xcopy ..\themes content\Content\bootstrap-fileinput\themes /D /E /C /R /I /K /Y
|
||||
xcopy ..\sass content\Content\bootstrap-fileinput\sass /D /E /C /R /I /K /Y
|
||||
|
||||
REM create a new package
|
||||
NuGet Pack Package.nuspec -Exclude NuGet.exe;build.bat
|
||||
|
||||
REM Upload the new package
|
||||
REM for %%f in (content\Content\bootstrap-fileinput.*) do (
|
||||
REM NuGet Push %%f
|
||||
REM rmdir /s /q content
|
||||
REM del %%f
|
||||
REM )
|
|
@ -1,647 +0,0 @@
|
|||
/*!
|
||||
* bootstrap-fileinput v4.4.4
|
||||
* http://plugins.krajee.com/file-input
|
||||
*
|
||||
* Krajee default styling for bootstrap-fileinput.
|
||||
*
|
||||
* Author: Kartik Visweswaran
|
||||
* Copyright: 2014 - 2017, Kartik Visweswaran, Krajee.com
|
||||
*
|
||||
* Licensed under the BSD 3-Clause
|
||||
* https://github.com/kartik-v/bootstrap-fileinput/blob/master/LICENSE.md
|
||||
*/
|
||||
|
||||
// Default Variables
|
||||
// --------------------------
|
||||
|
||||
$bootstrap-fileinput-img-path: "../img" !default;
|
||||
|
||||
// COMMON STYLES
|
||||
// --------------------------
|
||||
$color_1: #999;
|
||||
$color_2: #a94442;
|
||||
$color_3: green;
|
||||
$color_4: #428bca;
|
||||
$color_5: #777;
|
||||
$color_6: #000;
|
||||
$color_7: #aaa;
|
||||
$color_8: #1c94c4;
|
||||
$font_family_1: Menlo, Monaco, Consolas, "Courier New", monospace;
|
||||
$background_color_1: #f2dede;
|
||||
$background_color_2: #eeeeee;
|
||||
$background_color_3: #f0f0f0;
|
||||
$background_color_4: #d9edf7;
|
||||
|
||||
.kv-hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
input[type=file].file-loading {
|
||||
width: 0;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
.file-loading {
|
||||
input[type=file] {
|
||||
width: 0;
|
||||
height: 0;
|
||||
}
|
||||
&:before {
|
||||
content: " Loading...";
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
padding-left: 20px;
|
||||
line-height: 16px;
|
||||
font-size: 13px;
|
||||
font-variant: small-caps;
|
||||
color: $color_1;
|
||||
background: transparent url('#{$bootstrap-fileinput-img-path}/loading.gif') top left no-repeat;
|
||||
}
|
||||
}
|
||||
|
||||
.file-loading[dir=rtl] {
|
||||
&:before {
|
||||
background: transparent url('../img/loading.gif') top right no-repeat;
|
||||
padding-left: 0;
|
||||
padding-right: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
.file-object {
|
||||
margin: 0 0 -5px 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.btn-file {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
input[type=file] {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
min-width: 100%;
|
||||
min-height: 100%;
|
||||
text-align: right;
|
||||
opacity: 0;
|
||||
background: none repeat scroll 0 0 transparent;
|
||||
cursor: inherit;
|
||||
display: block;
|
||||
}
|
||||
&::-ms-browse {
|
||||
font-size: 10000px;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.file-preview {
|
||||
.btn-xs {
|
||||
padding: 1px 5px;
|
||||
font-size: 12px;
|
||||
line-height: 1.5;
|
||||
border-radius: 3px;
|
||||
}
|
||||
border-radius: 5px;
|
||||
border: 1px solid #ddd;
|
||||
padding: 5px;
|
||||
width: 100%;
|
||||
margin-bottom: 5px;
|
||||
.clickable {
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
.file-caption-name {
|
||||
display: inline-block;
|
||||
overflow: hidden;
|
||||
height: 20px;
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
.input-group-lg {
|
||||
.file-caption-name {
|
||||
height: 25px;
|
||||
}
|
||||
}
|
||||
|
||||
.file-error-message {
|
||||
color: $color_2;
|
||||
background-color: $background_color_1;
|
||||
margin: 5px;
|
||||
border: 1px solid #ebccd1;
|
||||
border-radius: 4px;
|
||||
padding: 15px;
|
||||
//noinspection CssOverwrittenProperties
|
||||
pre {
|
||||
margin: 0;
|
||||
text-align: left;
|
||||
margin: 5px 0;
|
||||
}
|
||||
ul {
|
||||
margin: 0;
|
||||
text-align: left;
|
||||
}
|
||||
}
|
||||
|
||||
.file-caption-disabled {
|
||||
background-color: $background_color_2;
|
||||
cursor: not-allowed;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.file-preview-image {
|
||||
font: 40px Impact, Charcoal, sans-serif;
|
||||
color: $color_3;
|
||||
}
|
||||
|
||||
.krajee-default.file-preview-frame {
|
||||
position: relative;
|
||||
display: table;
|
||||
margin: 8px;
|
||||
border: 1px solid #ddd;
|
||||
box-shadow: 1px 1px 5px 0 #a2958a;
|
||||
padding: 6px;
|
||||
float: left;
|
||||
text-align: center;
|
||||
&:not(.file-preview-error) {
|
||||
&:hover {
|
||||
box-shadow: 3px 3px 5px 0 #333;
|
||||
}
|
||||
}
|
||||
.kv-file-content {
|
||||
height: 170px;
|
||||
}
|
||||
.file-thumbnail-footer {
|
||||
height: 70px;
|
||||
}
|
||||
}
|
||||
|
||||
.krajee-default {
|
||||
.file-preview-image {
|
||||
vertical-align: middle;
|
||||
}
|
||||
.file-preview-text {
|
||||
display: block;
|
||||
color: $color_4;
|
||||
border: 1px solid #ddd;
|
||||
font-family: $font_family_1;
|
||||
outline: none;
|
||||
padding: 8px;
|
||||
resize: none;
|
||||
}
|
||||
.file-preview-html {
|
||||
border: 1px solid #ddd;
|
||||
padding: 8px;
|
||||
overflow: auto;
|
||||
}
|
||||
.file-preview-audio {
|
||||
audio {
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
.file-preview-other {
|
||||
left: 0;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
margin: auto;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
padding: 10px;
|
||||
&:hover {
|
||||
opacity: 0.8;
|
||||
}
|
||||
}
|
||||
.file-actions {
|
||||
text-align: left;
|
||||
}
|
||||
.file-other-error {
|
||||
text-align: left;
|
||||
}
|
||||
.file-other-icon {
|
||||
font-size: 6em;
|
||||
}
|
||||
.file-footer-buttons {
|
||||
float: right;
|
||||
}
|
||||
.file-footer-caption {
|
||||
display: block;
|
||||
text-align: center;
|
||||
padding-top: 4px;
|
||||
font-size: 11px;
|
||||
color: $color_5;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
.file-preview-error {
|
||||
opacity: 0.65;
|
||||
box-shadow: none;
|
||||
}
|
||||
.file-preview-frame {
|
||||
&:not(.file-preview-error) {
|
||||
.file-footer-caption {
|
||||
&:hover {
|
||||
color: $color_6;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.file-drag-handle {
|
||||
float: left;
|
||||
margin: 5px 0 -5px 0;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
.file-upload-indicator {
|
||||
float: left;
|
||||
margin: 5px 0 -5px 0;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
.file-thumb-progress {
|
||||
height: 11px;
|
||||
position: absolute;
|
||||
top: 37px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
.progress {
|
||||
height: 11px;
|
||||
font-size: 9px;
|
||||
line-height: 10px;
|
||||
}
|
||||
.progress-bar {
|
||||
height: 11px;
|
||||
font-size: 9px;
|
||||
line-height: 10px;
|
||||
}
|
||||
}
|
||||
.file-thumbnail-footer {
|
||||
position: relative;
|
||||
}
|
||||
.file-caption-info {
|
||||
display: block;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
width: 160px;
|
||||
height: 15px;
|
||||
margin: auto;
|
||||
}
|
||||
.file-size-info {
|
||||
display: block;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
width: 160px;
|
||||
height: 15px;
|
||||
margin: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.krajee-default[data-template="audio"] {
|
||||
.file-preview-audio {
|
||||
display: table-cell;
|
||||
vertical-align: middle;
|
||||
height: 170px;
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
.krajee-default.kvsortable-ghost {
|
||||
background: #e1edf7;
|
||||
border: 2px solid #a1abff;
|
||||
}
|
||||
|
||||
.kv-upload-progress {
|
||||
.progress {
|
||||
height: 20px;
|
||||
line-height: 20px;
|
||||
margin: 10px 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
.progress-bar {
|
||||
height: 20px;
|
||||
line-height: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
//noinspection CssOverwrittenProperties
|
||||
.file-zoom-dialog {
|
||||
.file-other-icon {
|
||||
font-size: 22em;
|
||||
font-size: 50vmin;
|
||||
}
|
||||
.modal-dialog {
|
||||
position: relative;
|
||||
width: auto;
|
||||
}
|
||||
.modal-header {
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
-ms-flex-pack: justify;
|
||||
justify-content: space-between;
|
||||
&:before {
|
||||
display: none;
|
||||
}
|
||||
&:after {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
.btn-navigate {
|
||||
position: absolute;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
background: transparent;
|
||||
text-decoration: none;
|
||||
outline: none;
|
||||
opacity: 0.7;
|
||||
top: 45%;
|
||||
font-size: 4em;
|
||||
color: $color_8;
|
||||
&:not([disabled]) {
|
||||
&:hover {
|
||||
outline: none;
|
||||
box-shadow: none;
|
||||
opacity: 0.5;
|
||||
}
|
||||
&:focus {
|
||||
outline: none;
|
||||
box-shadow: none;
|
||||
opacity: 0.5;
|
||||
}
|
||||
}
|
||||
}
|
||||
.floating-buttons {
|
||||
position: absolute;
|
||||
top: 5px;
|
||||
right: 10px;
|
||||
}
|
||||
.kv-zoom-actions {
|
||||
.btn {
|
||||
margin-left: 3px;
|
||||
}
|
||||
}
|
||||
.btn-navigate[disabled] {
|
||||
opacity: 0.3;
|
||||
}
|
||||
.btn-prev {
|
||||
left: 1px;
|
||||
}
|
||||
.btn-next {
|
||||
right: 1px;
|
||||
}
|
||||
.kv-zoom-title {
|
||||
font-weight: 300;
|
||||
color: $color_1;
|
||||
}
|
||||
}
|
||||
|
||||
.file-input-new {
|
||||
.file-preview {
|
||||
display: none;
|
||||
}
|
||||
.close {
|
||||
display: none;
|
||||
}
|
||||
.glyphicon-file {
|
||||
display: none;
|
||||
}
|
||||
.fileinput-remove-button {
|
||||
display: none;
|
||||
}
|
||||
.fileinput-upload-button {
|
||||
display: none;
|
||||
}
|
||||
.no-browse {
|
||||
.input-group-btn {
|
||||
display: none;
|
||||
}
|
||||
.form-control {
|
||||
border-top-right-radius: 4px;
|
||||
border-bottom-right-radius: 4px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.file-input-ajax-new {
|
||||
.fileinput-remove-button {
|
||||
display: none;
|
||||
}
|
||||
.fileinput-upload-button {
|
||||
display: none;
|
||||
}
|
||||
.no-browse {
|
||||
.input-group-btn {
|
||||
display: none;
|
||||
}
|
||||
.form-control {
|
||||
border-top-right-radius: 4px;
|
||||
border-bottom-right-radius: 4px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.file-caption-main {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.file-thumb-loading {
|
||||
background: transparent url('#{$bootstrap-fileinput-img-path}/loading.gif') no-repeat scroll center center content-box !important;
|
||||
}
|
||||
|
||||
.file-sortable {
|
||||
.file-drag-handle {
|
||||
cursor: move;
|
||||
cursor: -webkit-grabbing;
|
||||
opacity: 1;
|
||||
&:hover {
|
||||
opacity: 0.7;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.file-drop-zone {
|
||||
border: 1px dashed #aaa;
|
||||
border-radius: 4px;
|
||||
height: 100%;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
margin: 12px 15px 12px 12px;
|
||||
padding: 5px;
|
||||
.file-preview-thumbnails {
|
||||
cursor: default;
|
||||
}
|
||||
}
|
||||
|
||||
.file-drop-zone-title {
|
||||
color: $color_7;
|
||||
font-size: 1.6em;
|
||||
padding: 85px 10px;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.clickable {
|
||||
.file-drop-zone-title {
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
.file-drop-zone.clickable {
|
||||
&:hover {
|
||||
border: 2px dashed #999;
|
||||
}
|
||||
&:focus {
|
||||
border: 2px solid #5acde2;
|
||||
}
|
||||
}
|
||||
|
||||
.file-highlighted {
|
||||
border: 2px dashed #999 !important;
|
||||
background-color: $background_color_3;
|
||||
}
|
||||
|
||||
.file-uploading {
|
||||
background: url('#{$bootstrap-fileinput-img-path}/loading-sm.gif') no-repeat center bottom 10px;
|
||||
opacity: 0.65;
|
||||
}
|
||||
|
||||
.file-zoom-fullscreen.modal {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.file-zoom-fullscreen {
|
||||
.modal-dialog {
|
||||
position: fixed;
|
||||
margin: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
padding: 0;
|
||||
}
|
||||
.modal-content {
|
||||
border-radius: 0;
|
||||
box-shadow: none;
|
||||
}
|
||||
.modal-body {
|
||||
overflow-y: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.floating-buttons {
|
||||
z-index: 3000;
|
||||
.btn {
|
||||
z-index: 3000;
|
||||
margin-left: 3px;
|
||||
}
|
||||
}
|
||||
|
||||
.file-zoom-content {
|
||||
height: 480px;
|
||||
text-align: center;
|
||||
.file-preview-image {
|
||||
max-height: 100%;
|
||||
}
|
||||
.file-preview-video {
|
||||
max-height: 100%;
|
||||
}
|
||||
> .file-object.type-image {
|
||||
width: auto;
|
||||
height: auto;
|
||||
min-height: inherit;
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
}
|
||||
> .file-object.type-video {
|
||||
width: auto;
|
||||
height: 100%;
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
}
|
||||
> .file-object.type-flash {
|
||||
width: auto;
|
||||
height: 100%;
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
}
|
||||
> .file-object.type-audio {
|
||||
width: auto;
|
||||
height: 30px;
|
||||
}
|
||||
> .file-object.type-pdf {
|
||||
width: 100%;
|
||||
}
|
||||
> .file-object.type-html {
|
||||
width: 100%;
|
||||
}
|
||||
> .file-object.type-text {
|
||||
width: 100%;
|
||||
}
|
||||
> .file-object.type-default {
|
||||
width: 100%;
|
||||
}
|
||||
.is-portrait-gt4 {
|
||||
margin-top: 60px;
|
||||
}
|
||||
}
|
||||
|
||||
.file-preview-initial.sortable-chosen {
|
||||
background-color: $background_color_4;
|
||||
}
|
||||
|
||||
.hide-content {
|
||||
.kv-file-content {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
/* exif orientations */
|
||||
.rotate-2 {
|
||||
transform: rotateY(180deg);
|
||||
}
|
||||
|
||||
.rotate-3 {
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
|
||||
.rotate-4 {
|
||||
transform: rotate(180deg) rotateY(180deg);
|
||||
}
|
||||
|
||||
.rotate-5 {
|
||||
transform: rotate(270deg) rotateY(180deg);
|
||||
}
|
||||
|
||||
.rotate-6 {
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
|
||||
.rotate-7 {
|
||||
transform: rotate(90deg) rotateY(180deg);
|
||||
}
|
||||
|
||||
.rotate-8 {
|
||||
transform: rotate(270deg);
|
||||
}
|
||||
|
||||
@media (min-width: 576px) {
|
||||
.file-zoom-dialog {
|
||||
.modal-dialog {
|
||||
max-width: 500px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 992px) {
|
||||
.file-zoom-dialog {
|
||||
.modal-lg {
|
||||
max-width: 800px;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue