2 Commits

Author SHA1 Message Date
8112f5a114 Updated for Transfer.sh v1.4.0 2022-07-08 16:39:14 +02:00
e072470ccf Updated for Transfer.sh v1.3.0 2021-11-18 21:39:00 +01:00
38 changed files with 2174 additions and 1238 deletions

View File

@@ -242,8 +242,15 @@ module.exports = function (grunt) {
} }
}, },
'npm-command': { 'npm-command': {
'videojs-update': {
options: {
cmd: 'update',
cwd: '<%= yeoman.app %>/bower_components/videojs/'
}
},
'videojs-install': { 'videojs-install': {
options: { options: {
cmd: 'install',
cwd: '<%= yeoman.app %>/bower_components/videojs/' cwd: '<%= yeoman.app %>/bower_components/videojs/'
} }
}, },

View File

@@ -2,6 +2,7 @@
This repository contains the web frontend for [transfer.sh](https://github.com/dutchcoders/transfer.sh/) modified by Brammp. This repository contains the web frontend for [transfer.sh](https://github.com/dutchcoders/transfer.sh/) modified by Brammp.
For Transfer.sh v1.3.0 (fork of transfer.sh-web commit: b55eddc4e6574ae9dd406b2c9024fd7a2be47eac)
## Atatch to transfer.sh ## Atatch to transfer.sh
### Pre-build ### Pre-build
@@ -13,7 +14,7 @@ docker run -d -v /folder:/uploads -v /root/<extactionfolder>:/webapp --publish 5
``` ```
Go Prebuild Sample : Go Prebuild Sample :
``` ```
./transfersh-v1.1.7-linux-amd64 --provider=local --listener :8080 --temp-path=/tmp/ --basedir=/tmp/ --web-path /root/<extactionfolder> ./transfersh-<version>-linux-amd64 --provider=local --listener :8080 --temp-path=/tmp/ --basedir=/tmp/ --web-path /root/<extactionfolder>
``` ```
### Manual build ### Manual build
@@ -35,6 +36,14 @@ Go Prebuild Sample :
* Bower * Bower
* Go & go-bindata (go get -u github.com/shuLhan/go-bindata/...) * Go & go-bindata (go get -u github.com/shuLhan/go-bindata/...)
### Setup enviroment on debian
```
apt install -y git curl nodejs npm golang
npm install -g npm-run-all grunt bower
go get -u github.com/shuLhan/go-bindata/...
export PATH=$PATH:$(go env GOPATH)/bin
```
### Initialization ### Initialization
``` ```

File diff suppressed because one or more lines are too long

View File

@@ -13,7 +13,7 @@
"tests" "tests"
], ],
"dependencies": { "dependencies": {
"videojs": "~7.4.2", "videojs": "~7.13.3",
"bootstrap": "~3.0.0", "bootstrap": "~3.0.0",
"modernizr": "~2.6.2", "modernizr": "~2.6.2",
"uri.js": "~1.14.1", "uri.js": "~1.14.1",

5
go.mod Normal file
View File

@@ -0,0 +1,5 @@
module github.com/dutchcoders/transfer.sh-web
go 1.15
require github.com/shuLhan/go-bindata v4.0.0+incompatible // indirect

2
go.sum Normal file
View File

@@ -0,0 +1,2 @@
github.com/shuLhan/go-bindata v4.0.0+incompatible h1:xD8LkuVZLV5OOn/IEuFdt6EEAW7deWiqgwaaSGhjAJc=
github.com/shuLhan/go-bindata v4.0.0+incompatible/go.mod h1:pkcPAATLBDD2+SpAPnX5vEM90F7fcwHCvvLCMXcmw3g=

2522
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -5,12 +5,12 @@
"wiredep": "^4.0.0" "wiredep": "^4.0.0"
}, },
"devDependencies": { "devDependencies": {
"grunt": "^1.0.4", "grunt": ">=1.0.0",
"grunt-concurrent": "~1.0.0", "grunt-concurrent": "~1.0.0",
"grunt-contrib-clean": "~0.6.0", "grunt-contrib-clean": "^2.0.0",
"grunt-contrib-concat": "~0.5.0", "grunt-contrib-concat": "~0.5.0",
"grunt-contrib-connect": "^2.0.0", "grunt-contrib-connect": "^2.0.0",
"grunt-contrib-copy": "~0.6.0", "grunt-contrib-copy": "^1.0.0",
"grunt-contrib-cssmin": "^3.0.0", "grunt-contrib-cssmin": "^3.0.0",
"grunt-contrib-htmlmin": "^3.0.0", "grunt-contrib-htmlmin": "^3.0.0",
"grunt-contrib-imagemin": "^3.1.0", "grunt-contrib-imagemin": "^3.1.0",
@@ -18,8 +18,8 @@
"grunt-contrib-less": "^2.0.0", "grunt-contrib-less": "^2.0.0",
"grunt-contrib-uglify": "^4.0.1", "grunt-contrib-uglify": "^4.0.1",
"grunt-contrib-watch": "^1.1.0", "grunt-contrib-watch": "^1.1.0",
"grunt-include-replace": "^2.0.0", "grunt-include-replace": "^5.0.0",
"grunt-includes": "^0.4.5", "grunt-includes": "^1.1.0",
"grunt-npm-command": "^0.1.2", "grunt-npm-command": "^0.1.2",
"grunt-rev": "~0.1.0", "grunt-rev": "~0.1.0",
"grunt-svgmin": "^6.0.0", "grunt-svgmin": "^6.0.0",
@@ -30,6 +30,6 @@
"time-grunt": "~1.0.0" "time-grunt": "~1.0.0"
}, },
"engines": { "engines": {
"node": ">=0.8.0" "node": "^10.22.1"
} }
} }

View File

@@ -147,10 +147,6 @@
<li>a mistyped address</li> <li>a mistyped address</li>
<li>an out-of-date link</li> <li>an out-of-date link</li>
</ul> </ul>
<script>
var GOOG_FIXURL_LANG = (navigator.language || '').slice(0,2),GOOG_FIXURL_SITE = location.host;
</script>
<script src="http://linkhelp.clients.google.com/tbproxy/lh/wm/fixurl.js"></script>
</div> </div>
</body> </body>
</html> </html>

View File

@@ -20,6 +20,7 @@ include "includes/download-navigation.html"
include "includes/download-top.html" include "includes/download-top.html"
<br>
<div class="row animated fadeInDown"> <div class="row animated fadeInDown">
<div id="from-terminal" class=" box col-md-8 col-md-offset-2 col-xs-12"> <div id="from-terminal" class=" box col-md-8 col-md-offset-2 col-xs-12">
<div class="terminal-top"> <div class="terminal-top">
@@ -31,12 +32,16 @@ include "includes/download-navigation.html"
controls controls
preload="auto" preload="auto"
data-setup='{}'> data-setup='{}'>
<source src="{{.Url}}" type="{{.ContentType}}"></source> <source src="{{.URL}}" type="{{.ContentType}}"></source>
</audio> </audio>
</div> </div>
</div> </div>
</div> </div>
<br/> <br/>
include "includes/download-delete.html"
<br/>
</div> </div>
</section> </section>

View File

@@ -17,6 +17,10 @@ include "includes/download-navigation.html"
<div class="wrapper"> <div class="wrapper">
include "includes/download-top.html" include "includes/download-top.html"
<br/>
include "includes/download-delete.html"
<br/>
</div> </div>
</section> </section>

View File

@@ -17,19 +17,23 @@ include "includes/download-navigation.html"
include "includes/download-top.html" include "includes/download-top.html"
<br>
<div class="row animated fadeInDown"> <div class="row animated fadeInDown">
<div id="from-terminal" class=" box col-md-8 col-md-offset-2 col-xs-12"> <div id="from-terminal" class=" box col-md-8 col-md-offset-2 col-xs-12">
<div class="terminal-top"> <div class="terminal-top">
</div> </div>
<div id="terminal" class="terminal preview-image"> <div id="terminal" class="terminal preview-image">
<img src="{{.Url}}" alt=""> <img src="{{.URL}}" alt="">
</div> </div>
</div> </div>
</div> </div>
<br/> <br/>
<div>
<div> include "includes/download-delete.html"
<br/>
</div>
</section> </section>
include "includes/download-footer.html" include "includes/download-footer.html"

View File

@@ -17,6 +17,7 @@ include "includes/download-navigation.html"
include "includes/download-top.html" include "includes/download-top.html"
<br>
<div class="row animated fadeInDown"> <div class="row animated fadeInDown">
<div id="from-terminal" class=" box col-md-8 col-md-offset-2 col-xs-12"> <div id="from-terminal" class=" box col-md-8 col-md-offset-2 col-xs-12">
<div class="terminal-top"> <div class="terminal-top">
@@ -28,6 +29,10 @@ include "includes/download-navigation.html"
</div> </div>
<br/> <br/>
include "includes/download-delete.html"
<br/>
</div>
</section> </section>

View File

@@ -19,6 +19,10 @@ include "includes/download-navigation.html"
<br/> <br/>
include "includes/download-delete.html"
<br/>
</div>
</section> </section>

View File

@@ -18,6 +18,7 @@ include "includes/download-navigation.html"
include "includes/download-top.html" include "includes/download-top.html"
<br>
<div class="row animated fadeInDown"> <div class="row animated fadeInDown">
<div id="from-terminal" class=" box col-md-8 col-md-offset-2 col-xs-12"> <div id="from-terminal" class=" box col-md-8 col-md-offset-2 col-xs-12">
<div class="terminal-top"> <div class="terminal-top">
@@ -29,12 +30,16 @@ include "includes/download-navigation.html"
controls controls
preload="auto" preload="auto"
data-setup='{}'> data-setup='{}'>
<source src="{{.Url}}" type="{{.ContentType}}"></source> <source src="{{.URL}}" type="{{.ContentType}}"></source>
</video> </video>
</div> </div>
</div> </div>
</div> </div>
<br/> <br/>
include "includes/download-delete.html"
<br/>
</div> </div>
</section> </section>

View File

@@ -0,0 +1,14 @@
<a href="{{.URL}}" id="fire-delete" class="btn-cta btn"> delete</i> </a> <br/><br/>
<div class="delete-modal row animated fadeInDown">
<div id="from-terminal" class=" box col-md-8 col-md-offset-2 col-xs-12">
<div class="terminal-top">
</div>
<div class="terminal">
<div id="web">
<input type="text" id="deletion-token" value="" placeholder="Please enter the deletion token">
<a href="#" id="confirm-delete" class="btn-cta btn"> confirm</i> </a> <br/><br/>
</div>
<div id="error"></div>
</div>
</div>
</div>

View File

@@ -1,15 +1,13 @@
<footer> <footer>
<div class="wrapper"> <div class="wrapper">
<br/> <img src="../images/Logo-orange.png" alt="Founded in Holland">
<img src="../images/Logo-orange.png" alt="Founded in Holland"> <p>A instance of transfer.sh<br>
<p>A instance of transfer.sh<br> Made with <i class="icon-heart"></i> by <a href="http://blog.dutchcoders.io/" title="Dutch Coders">Dutch Coders</a>
Made with <i class="icon-heart"></i> by <a href="http://blog.dutchcoders.io/" title="Dutch Coders">Dutch Coders</a> </p>
</p> </div>
</div>
</footer> </footer>
<!--[if lt IE 7]> <!--[if lt IE 7]>
<p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p> <p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
<![endif]--> <![endif]-->

View File

@@ -1,8 +1,8 @@
<div id="navigation"> <div id="navigation">
<div class="wrapper"> <div class="wrapper">
<a href="{{.WebAddress}}"> <a href="{{.WebAddress}}">
<img class="navimg" src="../images/HeadImg.png" alt="Brammp's Transfer.sh service"> <img class="navimg" src="/images/HeadImg.png" alt="Transfer.sh service">
<h1>{{.Hostname}}</h1> <h1>transfer.sh@{{.Hostname}}</h1>
</a> </a>
</div> </div>
</div> </div>

View File

@@ -3,8 +3,7 @@
<h4>type: <b>{{.ContentType}}</b></h4> <h4>type: <b>{{.ContentType}}</b></h4>
<h4>size: <b>{{.ContentLength | format "#,###."}}</b> bytes</h4> <h4>size: <b>{{.ContentLength | format "#,###."}}</b> bytes</h4>
<a href="{{.UrlGet}}" class="btn-cta btn download-btn"> Download</i> </a> <br/><br/> <a href="{{.URLGet}}" class="btn-cta btn"> download</i> </a> <br/><br/>
<div class="qrcode"> <div class="qrcode">
<img src="data:image/png;base64,{{.QRCode}}"/> <img src="data:image/png;base64,{{.QRCode}}"/>
</div> </div>
<br>

View File

@@ -1,18 +1,13 @@
<footer> <footer>
<div class="wrapper">
<br/>
<img src="images/Logo-orange.png" alt="Founded in Holland"> <img src="images/Logo-orange.png" alt="Founded in Holland">
<p>A instance of transfer.sh<br> <p>A instance of transfer.sh<br>
Made with <i class="icon-heart"></i> by <a href="http://blog.dutchcoders.io/" title="Dutch Coders">Dutch Coders</a> Made with <i class="icon-heart"></i> by <a href="http://blog.dutchcoders.io/" title="Dutch Coders">Dutch Coders</a>
</p> </p>
</div> </div>
</footer> </footer>
<!--[if lt IE 7]> <!--[if lt IE 7]>
<p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p> <p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
<![endif]--> <![endif]-->

View File

@@ -1,18 +0,0 @@
<script>
var gaKey = "{{.GAKey}}";
if (gaKey != "") {
(function(i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r;
i[r] = i[r] || function() {
(i[r].q = i[r].q || []).push(arguments)
}, i[r].l = 1 * new Date();
a = s.createElement(o),
m = s.getElementsByTagName(o)[0];
a.async = 1;
a.src = g;
m.parentNode.insertBefore(a, m)
})(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
ga('create', gaKey, 'transfer.sh');
ga('send', 'pageview');
}
</script>

View File

@@ -1,8 +1,8 @@
<div id="navigation"> <div id="navigation">
<div class="wrapper"> <div class="wrapper">
<a href="{{.WebAddress}}"> <a href="{{.WebAddress}}">
<img class="navimg" src="./images/HeadImg.png" alt="Brammp's Transfer.sh service"> <img class="navimg" src="/images/HeadImg.png" alt="Transfer.sh service">
<h1>transfer.sh@{{.Hostname}}</h1> <h1>transfer.sh@{{.Hostname}}</h1>
</a> </a>
</div> </div>
</div> </div>

View File

@@ -24,11 +24,13 @@ include "includes/navigation.html"
</div> </div>
<div id="terminal" class="terminal"> <div id="terminal" class="terminal">
<code class="code-wrapper"><span class="code-title"># Upload using cURL</span> <code class="code-wrapper"><span class="code-title"># Upload using cURL</span>
$ curl --upload-file ./hello.txt {{.WebAddress}}hello.txt {{.WebAddress}}66nb8/hello.txt $ curl --upload-file ./hello.txt {{.WebAddress}}hello.txt
{{.WebAddress}}{{.SampleToken}}/hello.txt
<span class="code-title"># Using the shell function</span> <span class="code-title"># Using the shell function</span>
$ transfer hello.txt $ transfer hello.txt
##################################################### 100.0% {{.WebAddress}}eibhM/hello.txt ##################################################### 100.0%
{{.WebAddress}}{{.SampleToken2}}/hello.txt
</code> </code>
</div> </div>
<div id="web"> <div id="web">
@@ -54,7 +56,7 @@ include "includes/navigation.html"
</div> </div>
<div> <div>
<a href="#features" class="btn-cta btn-home">Learn more</i> </a> <a href="#features" class="btn-cta btn-home">learn more</i> </a>
</div> </div>
</div> </div>
</section> </section>
@@ -72,6 +74,24 @@ include "includes/navigation.html"
<i class="icon-link"></i> <i class="icon-link"></i>
<h3>Share files with a URL</h3> <h3>Share files with a URL</h3>
</div> </div>
<div class="col-md-3 col-xs-6">
<i class="icon-database"></i>
{{ if .MaxUploadSize }}
<h3>Upload up to {{ .MaxUploadSize }}</h3>
{{ else }}
<h3>Unlimited upload</h3>
{{ end }}
</div>
<div class="col-md-3 col-xs-6">
<i class="icon-clock"></i>
{{ if .PurgeTime }}
<h3>Files stored for {{ .PurgeTime }}</h3>
{{ else }}
<h3>Files stored forever</h3>
{{ end }}
</div>
</div>
<div class="row animated fadeInDown">
<div class="col-md-3 col-xs-6"> <div class="col-md-3 col-xs-6">
<i class="icon-lock"></i> <i class="icon-lock"></i>
<h3>Encrypt your files</h3> <h3>Encrypt your files</h3>
@@ -105,13 +125,13 @@ include "includes/navigation.html"
<div class="terminal"> <div class="terminal">
<code class="code-wrapper"><span class="code-title"># Uploading is easy using curl</span> <code class="code-wrapper"><span class="code-title"># Uploading is easy using curl</span>
$ curl --upload-file ./hello.txt {{.WebAddress}}hello.txt $ curl --upload-file ./hello.txt {{.WebAddress}}hello.txt
{{.WebAddress}}66nb8/hello.txt {{.WebAddress}}{{.SampleToken}}/hello.txt
$ curl -H "Max-Downloads: 1" -H "Max-Days: 5" --upload-file ./hello.txt {{.WebAddress}}hello.txt $ curl -H "Max-Downloads: 1" -H "Max-Days: 5" --upload-file ./hello.txt {{.WebAddress}}hello.txt
{{.WebAddress}}66nb8/hello.txt {{.WebAddress}}{{.SampleToken}}/hello.txt
<span class="code-title"># Download the file</span> <span class="code-title"># Download the file</span>
$ curl {{.WebAddress}}66nb8/hello.txt -o hello.txt $ curl {{.WebAddress}}{{.SampleToken}}/hello.txt -o hello.txt
</code> </code>
</div> </div>
</div> </div>
@@ -144,15 +164,15 @@ include "includes/navigation.html"
$ curl -i -F filedata=@/tmp/hello.txt -F filedata=@/tmp/hello2.txt {{.WebAddress}} $ curl -i -F filedata=@/tmp/hello.txt -F filedata=@/tmp/hello2.txt {{.WebAddress}}
<span class="code-title"># Combining downloads as zip or tar archive</span> <span class="code-title"># Combining downloads as zip or tar archive</span>
$ curl {{.WebAddress}}(15HKz/hello.txt,15HKz/hello.txt).tar.gz $ curl {{.WebAddress}}({{.SampleToken}}/hello.txt,{{.SampleToken2}}/world.txt).tar.gz
$ curl {{.WebAddress}}(15HKz/hello.txt,15HKz/hello.txt).zip $ curl {{.WebAddress}}({{.SampleToken}}/hello.txt,{{.SampleToken2}}/world.txt).zip
</code> </code>
</div> </div>
</div> </div>
<div class="col-md-6 "> <div class="col-md-6 ">
<h3>Encrypt your files before the transfer</h3> <h3>Encrypt your files with gpg before the transfer</h3>
<div class="terminal-top"> <div class="terminal-top">
</div> </div>
<div class="terminal"> <div class="terminal">
@@ -160,7 +180,7 @@ include "includes/navigation.html"
$ cat /tmp/hello.txt|gpg -ac -o-|curl -X PUT --upload-file "-" {{.WebAddress}}test.txt $ cat /tmp/hello.txt|gpg -ac -o-|curl -X PUT --upload-file "-" {{.WebAddress}}test.txt
<span class="code-title"># Download and decrypt</span> <span class="code-title"># Download and decrypt</span>
$ curl {{.WebAddress}}1lDau/test.txt|gpg -o- > /tmp/hello.txt $ curl {{.WebAddress}}{{.SampleToken}}/test.txt|gpg -o- > /tmp/hello.txt
</code> </code>
</div> </div>
</div> </div>
@@ -212,7 +232,7 @@ include "includes/navigation.html"
<span class="code-title"># Encrypt for recipient(s)</span> <span class="code-title"># Encrypt for recipient(s)</span>
$ cat somebackupfile.tar.gz | keybase encrypt [them] | curl --upload-file '-' {{.WebAddress}}test.txt $ cat somebackupfile.tar.gz | keybase encrypt [them] | curl --upload-file '-' {{.WebAddress}}test.txt
<span class="code-title"># Decrypt</span> <span class="code-title"># Decrypt</span>
$ curl {{.WebAddress}}sqUFi/test.md |keybase decrypt $ curl {{.WebAddress}}{{.SampleToken}}/test.md |keybase decrypt
</code> </code>
</div> </div>
</div> </div>
@@ -262,6 +282,81 @@ include "includes/navigation.html"
</div> </div>
</div> </div>
</div> </div>
<div class="row">
<div class="col-md-6">
<h3>Upload a file using Unofficially client in Python</h3>
<div class="terminal-top">
</div>
<div class="terminal">
<code class="code-wrapper">
<span class="code-title"># transfersh-cli (https://github.com/tanrax/transfersh-cli)</span>
$ transfersh photos.zip
<span class="code-title"># Uploading file</span>
<span class="code-title"># Download from here: {{.WebAddress}}{{.SampleToken}}/photos.zip</span>
<span class="code-title"># It has also been copied to the clipboard!</span>
</code>
</div>
</div>
<div class="col-md-6">
<h3>Encrypt your files with openssl before the transfer</h3>
<div class="terminal-top">
</div>
<div class="terminal">
<code class="code-wrapper"><span class="code-title"># Encrypt files with password using openssl</span>
$ cat /tmp/hello.txt|openssl aes-256-cbc -pbkdf2 -e|curl -X PUT --upload-file "-" {{.WebAddress}}test.txt
<span class="code-title"># Download and decrypt</span>
$ curl {{.WebAddress}}{{.SampleToken}}/test.txt|openssl aes-256-cbc -pbkdf2 -d > /tmp/hello.txt
</code>
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<h3>Upload a file or directory in Windows</h3>
<div class="terminal-top">
</div>
<div class="terminal">
<code class="code-wrapper"><span class="code-title">#Save this as transfer.cmd in Windows 10 (which has curl.exe)</span>
@echo off
setlocal EnableDelayedExpansion EnableExtensions
goto main
:usage
echo No arguments specified. &gt;&amp;2
echo Usage: &gt;&amp;2
echo transfer ^&lt;file^|directory^&gt; &gt;&amp;2
echo ... ^| transfer ^&lt;file_name^&gt; &gt;&amp;2
exit /b 1
:main
if "%~1" == "" goto usage
timeout.exe /t 0 &gt;nul 2&gt;nul || goto not_tty
set "file=%~1"
for %%A in ("%file%") do set "file_name=%%~nxA"
if exist "%file_name%" goto file_exists
echo %file%: No such file or directory &gt;&amp;2
exit /b 1
:file_exists
if not exist "%file%\" goto not_a_directory
set "file_name=%file_name%.zip"
pushd "%file%" || exit /b 1
set "full_name=%temp%\%file_name%"
powershell.exe -Command "Get-ChildItem -Path . -Recurse | Compress-Archive -DestinationPath ""%full_name%"""
curl.exe --progress-bar --upload-file "%full_name%" "{{.WebAddress}}%file_name%"
popd
goto :eof
:not_a_directory
curl.exe --progress-bar --upload-file "%file%" "{{.WebAddress}}%file_name%"
goto :eof
:not_tty
set "file_name=%~1"
curl.exe --progress-bar --upload-file - "{{.WebAddress}}%file_name%"
goto :eof
</code>
</div>
</div>
</div>
</div> </div>
</div> </div>
</section> </section>

View File

@@ -5,11 +5,17 @@ made with <3 by DutchCoders
Upload: Upload:
$ curl --upload-file ./hello.txt {{.WebAddress}}hello.txt $ curl --upload-file ./hello.txt {{.WebAddress}}hello.txt
Encrypt & upload: Encrypt with gpg & upload:
$ cat /tmp/hello.txt|gpg -ac -o-|curl -X PUT --upload-file "-" {{.WebAddress}}test.txt $ cat /tmp/hello.txt|gpg -ac -o-|curl -X PUT --upload-file "-" {{.WebAddress}}test.txt
Download & decrypt: Download & decrypt with gpg:
$ curl {{.WebAddress}}1lDau/test.txt|gpg -o- > /tmp/hello.txt $ curl {{.WebAddress}}{{.SampleToken}}/test.txt|gpg -o- > /tmp/hello.txt
Encrypt with openssl & upload:
$ cat /tmp/hello.txt|openssl aes-256-cbc -pbkdf2 -e|curl -X PUT --upload-file "-" {{.WebAddress}}test.txt
Download & decrypt with openssl:
$ curl {{.WebAddress}}{{.SampleToken}}/test.txt|openssl aes-256-cbc -pbkdf2 -d > /tmp/hello.txt
Grep pound from syslog and transfer Grep pound from syslog and transfer
cat /var/log/syslog|grep pound|curl --upload-file - {{.WebAddress}}pound.log cat /var/log/syslog|grep pound|curl --upload-file - {{.WebAddress}}pound.log
@@ -22,7 +28,7 @@ $ keybase track [them]
$ cat somebackupfile.tar.gz | keybase encrypt [them] | curl --upload-file '-' {{.WebAddress}}test.txt $ cat somebackupfile.tar.gz | keybase encrypt [them] | curl --upload-file '-' {{.WebAddress}}test.txt
# decrypt # decrypt
$ curl {{.WebAddress}}sqUFi/test.md |keybase decrypt $ curl {{.WebAddress}}{{.SampleToken}}/test.md |keybase decrypt
Upload to Virustotal: Upload to Virustotal:
$ curl -X PUT --upload-file nhgbhhj {{.WebAddress}}test.txt/virustotal $ curl -X PUT --upload-file nhgbhhj {{.WebAddress}}test.txt/virustotal

View File

@@ -30,10 +30,46 @@ $(document).ready(function() {
return 'There are still ' + queue.length + ' files being uploaded.'; return 'There are still ' + queue.length + ' files being uploaded.';
}); });
function deleteFile(baseURL) {
var deleteModal = $('.delete-modal');
if (deleteModal.hasClass('show')) {
deleteModal.removeClass('show');
} else {
deleteModal.addClass('show');
}
deleteModal.find('input[placeholder]').each(function () {
$(this).attr('size', $(this).attr('placeholder').length);
});
$('#confirm-delete').on('click', function (event) {
event.stopPropagation();
event.preventDefault();
var deletionToken = $('#deletion-token').val();
if (deletionToken.length > 0) {
var xhr = new XMLHttpRequest();
xhr.onreadystatechange = function() {
if (xhr.readyState === 4) {
if (xhr.status === 200) {
deleteModal.find('#web').html('<span style="clear:both">File deleted</span>');
deleteModal.find('#error').html('')
} else {
deleteModal.find('#error').html('<span>Error (' + xhr.status + ') during deletion of file</span>');
}
}
};
// start deletion
xhr.open('DELETE', baseURL + '/' + deletionToken, true);
xhr.send();
}
});
}
function upload(file) { function upload(file) {
$('.browse').addClass('uploading'); $('.browse').addClass('uploading');
var li = $('<li style="clear:both;"/>'); var li = $('<li style="clear:both;"/><br/><br/>');
li.append($('<div><div class="upload-progress"><span></span><div class="bar" style="width:0%;">####################################################</div></div><p>Uploading... ' + file.name + '</p></div>')); li.append($('<div><div class="upload-progress"><span></span><div class="bar" style="width:0%;">####################################################</div></div><p>Uploading... ' + file.name + '</p></div>'));
$(li).appendTo($('.queue')); $(li).appendTo($('.queue'));
@@ -44,19 +80,20 @@ $(document).ready(function() {
var pc = parseInt((e.loaded / e.total * 100)); var pc = parseInt((e.loaded / e.total * 100));
$('.upload-progress', $(li)).show(); $('.upload-progress', $(li)).show();
$('.upload-progress .bar', $(li)).css('width', pc + '%'); $('.upload-progress .bar', $(li)).css('width', pc + '%');
$('.upload-progress span ', $(li)).empty().append(pc + '%'); $('.upload-progress span', $(li)).empty().append(pc + '%');
}, false); }, false);
xhr.onreadystatechange = function() { xhr.onreadystatechange = function() {
if (xhr.readyState === 4) { if (xhr.readyState === 4) {
/* $('.upload-progress', $(li)).hide();*/
$('#web').addClass('uploading'); $('#web').addClass('uploading');
// progress.className = (xhr.status == 200 ? "success" : "failure");
if (xhr.status === 200) { if (xhr.status === 200) {
$(li).html('<a target="_blank" href="' + xhr.responseText + '">' + xhr.responseText + '</a>'); var deletionToken = xhr.getResponseHeader('X-Url-Delete').split('/').pop();
var url = $('<p></p>').text(xhr.responseText).html();
$(li).html('<a target="_blank" href="' + url + '">' + url + '</a><br/><br/>' +
'<span class="code-title"># Deletion token</span><br/>' + deletionToken + '<hr/>');
} else { } else {
$(li).html('<span>Error (' + xhr.status + ') during upload of file ' + file.name + '</span>'); $(li).html('<span>Error (' + xhr.status + ') during upload of file ' + file.name + '</span><hr/>');
} }
// file uploaded successfully, remove from queue // file uploaded successfully, remove from queue
@@ -65,7 +102,7 @@ $(document).ready(function() {
queue.splice(index, 1); queue.splice(index, 1);
} }
files.push(URI(xhr.responseText.replace('\n', '')).path()); files.push(URI($('<p></p>').text(xhr.responseText.replace('\n', '')).html()).path());
$('.download-zip').attr('href', URI('(' + files.join(',') + ').zip').absoluteTo(location.href).toString()); $('.download-zip').attr('href', URI('(' + files.join(',') + ').zip').absoluteTo(location.href).toString());
$('.download-tar').attr('href', URI('(' + files.join(',') + ').tar.gz').absoluteTo(location.href).toString()); $('.download-tar').attr('href', URI('(' + files.join(',') + ').tar.gz').absoluteTo(location.href).toString());
@@ -87,8 +124,11 @@ $(document).ready(function() {
}).bind('dragover', function(event) { }).bind('dragover', function(event) {
event.preventDefault(); event.preventDefault();
// show drop indicator // show drop indicator
$('#terminal').addClass('dragged');
$('#web').addClass('dragged');
}).bind('dragleave', function() { }).bind('dragleave', function() {
$('#terminal').removeClass('dragged');
$('#web').removeClass('dragged');
}).bind('drop dragdrop', function(event) { }).bind('drop dragdrop', function(event) {
var files = event.originalEvent.target.files || event.originalEvent.dataTransfer.files; var files = event.originalEvent.target.files || event.originalEvent.dataTransfer.files;
@@ -115,6 +155,12 @@ $(document).ready(function() {
}); });
}); });
$('a#fire-delete').on('click', function(event) {
event.stopPropagation();
event.preventDefault();
deleteFile($(this).attr('href'));
});
// clipboard // clipboard
if (window.location.href.indexOf('download') > -1 ) { if (window.location.href.indexOf('download') > -1 ) {

View File

@@ -2,7 +2,7 @@ $(document).ready(function () {
// Terminal typing animation // Terminal typing animation
$("#from-terminal p").typed({ $("#from-terminal p").typed({
strings: ["curl --upload-file ./hello.txt {{.WebAddress}}hello.txt\n{{.WebAddress}}66nb8/hello.txt \n "], strings: ["curl --upload-file ./hello.txt {{.WebAddress}}hello.txt\n{{.WebAddress}}{{.SampleToken}}/hello.txt \n "],
typeSpeed: 0, typeSpeed: 0,
loop: true, loop: true,
}); });

View File

@@ -1,22 +1,20 @@
// Colors // Colors
@blue: #1e70bf;
@light-gray:#4c505c; @light-gray:#4c505c;
@light-blue: #86acd1; @light-blue: #86acd1;
@dark-blue: #fff;
@term: #000;
@red: #e96e57; @red: #e96e57;
@dark-gray: #3b3b3b; @dark-gray: #3b3b3b;
@dark-blue: #1e70bf;
@white: #fff; @white: #fff;
@term: #000; @term: #000;
@navbar-default-bg: #fff; @navbar-default-bg:#383c49;
@page-default-bg:#383c49;
@text-color: @light-blue;
@text-color: @light-blue; @link-color: @blue;
@link-color: @dark-blue; @progress-bg: @light-gray;
@progress-bg: @light-gray;
// Typography // Typography
@font-family-base: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif; @font-family-base: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;

13
src/styles/custom.less Normal file
View File

@@ -0,0 +1,13 @@
.DeleteTerm {
margin: auto !important;
padding-left: 15% !important;
border: 3px;
}
input#deletion-token::placeholder {
color: white !important;
}
input#deletion-token {
background: black !important;
color: white !important;
}

View File

@@ -2,14 +2,14 @@
text-align: center; text-align: center;
i { i {
font-size: 160px; font-size: 160px;
color: @light-gray; color: @blue;
} }
padding: 100px 0; padding: 100px 0;
} }
#share { #share {
text-align:center; text-align:center;
background: @dark-blue; background: @blue;
color: #fff; color: #fff;
i { i {
font-size: 50px; font-size: 50px;
@@ -28,11 +28,10 @@
footer { footer {
text-align: center; text-align: center;
background: @light-blue; background: @dark-blue;
padding: 30px 0; padding: 30px 0;
p { p {
margin: 0; margin: 0;
color: @white;
} }
i { i {
color: @red; color: @red;
@@ -46,7 +45,7 @@ footer {
background: @dark-gray; background: @dark-gray;
text-align: center; text-align: center;
i { i {
color: @light-gray; color: @blue;
font-size: 160px; font-size: 160px;
} }
padding: 40px 0; padding: 40px 0;
@@ -59,7 +58,7 @@ footer {
code { code {
display:block; display:block;
padding: 20px; padding: 20px;
background: @dark-gray; background: @light-gray;
font-family: @font-family-mono; font-family: @font-family-mono;
} }
} }

View File

@@ -1,7 +1,7 @@
body { body {
max-width: 100%; max-width: 100%;
margin: 0 auto; margin: 0 auto;
background-color: #383c49; background-color: @page-default-bg;
} }
.browsehappy { .browsehappy {
@@ -16,7 +16,7 @@ body {
ul { ul {
list-style: none; list-style: none;
max-width: 400px; max-width: 400px;
// marghomein: 0 auto; marghomein: 0 auto;
} }
li { li {
display: inline-block; display: inline-block;
@@ -26,13 +26,13 @@ body {
text-align: center; text-align: center;
font-family: @font-family-mono; font-family: @font-family-mono;
margin-bottom: 15px; margin-bottom: 15px;
color: @light-blue; color: @dark-blue;
font-size: 35px; font-size: 35px;
} }
a { a {
text-decoration: none; text-decoration: none;
font-size: 15px; font-size: 15px;
color: @dark-blue; color: @dark-gray;
} }
} }
@@ -48,9 +48,9 @@ body {
.btn-cta { .btn-cta {
.transition(all @animation-duration); .transition(all @animation-duration);
padding: 10px 50px; padding: 10px 50px;
border: 2px solid @light-blue; border: 2px solid @red;
font-size: 20px; font-size: 20px;
color: @light-blue; color: @red;
border-radius: 10px; border-radius: 10px;
display: inline-block; display: inline-block;
text-decoration: none; text-decoration: none;
@@ -59,16 +59,6 @@ body {
border-color: @dark-blue; border-color: @dark-blue;
color: @dark-blue; color: @dark-blue;
} }
&:focus {
text-decoration: none;
border-color: @dark-blue;
color: @dark-blue;
}
}
.download-btn {
color: @red;
border-color: @red;
} }
.wrapper { .wrapper {
@@ -77,6 +67,10 @@ body {
.container; .container;
} }
section {
// padding: 50px 0
}
img { img {
max-width: 100%; max-width: 100%;
margin: 0 auto; margin: 0 auto;
@@ -84,7 +78,7 @@ img {
a { a {
text-decoration: underline; text-decoration: underline;
color: @light-blue; color: @dark-blue;
&:hover { &:hover {
text-decoration: none; text-decoration: none;
color: inherit; color: inherit;

View File

@@ -14,6 +14,14 @@
.btn-home { .btn-home {
margin: 50px 0 25px 0; margin: 50px 0 25px 0;
} }
hr {
margin-top: 20px;
margin-bottom: 20px;
margin-right: 20px;
border: 0;
border-top: 1px solid #eeeeee;
height: 0;
}
} }
@@ -65,6 +73,9 @@
} }
.border-bottom-radius (5px); .border-bottom-radius (5px);
}
.dragged {
background: lighten(@term, 40%)!important;
} }
.terminal { .terminal {
@@ -76,8 +87,7 @@
.border-bottom-radius (5px); .border-bottom-radius (5px);
background: @term; background: @term;
// background: url(../images/terminal.svg); backbground-repeat: no-repeat;
// backbground-repeat: no-repeat;
background-size: cover; background-size: cover;
} }
@@ -133,8 +143,8 @@
h3 {color: #fff; h3 {color: #fff;
font-size: 25px; font-size: 25px;
} }
background: @light-gray; background: @blue;
.btn-cta { .btn-cta {
border-color: @light-blue; border-color: @dark-blue;
} }
} }

View File

@@ -11,7 +11,7 @@
font-size: 18px font-size: 18px
} }
i { i {
color: @dark-blue; color: @blue;
font-size: 100px; font-size: 100px;
} }
padding:100px 0; padding:100px 0;
@@ -39,7 +39,7 @@
#share { #share {
text-align:center; text-align:center;
background: @dark-blue; background: @blue;
color: #fff; color: #fff;
i { i {
font-size: 50px; font-size: 50px;
@@ -74,7 +74,7 @@
margin: 0 auto; margin: 0 auto;
margin-bottom: 10px; margin-bottom: 10px;
} }
background: @dark-gray; background: @light-gray;
padding: 50px 0; padding: 50px 0;
a { a {
font-size: 20px; font-size: 20px;
@@ -107,7 +107,7 @@ footer {
text-align: center; text-align: center;
i { i {
font-size: 160px; font-size: 160px;
color: @light-gray; color: @blue;
} }
padding:100px 0; padding:100px 0;
@media (min-width: @screen-sm-min) { @media (min-width: @screen-sm-min) {

View File

@@ -1,3 +1,12 @@
.delete-modal {
display: none;
}
.delete-modal .show {
display: block;
}
.preview-wrapper { .preview-wrapper {
padding-bottom: 30px; padding-bottom: 30px;
} }
@@ -62,7 +71,7 @@ padding: 0px;
width: 50%; width: 50%;
max-width: 500px; max-width: 500px;
min-width: 300px; min-width: 300px;
background-color: @light-gray; background-color: @blue;
border-radius: 2px; border-radius: 2px;
transform: translateX(-50%) translateY(-50%); transform: translateX(-50%) translateY(-50%);
opacity: 0; opacity: 0;
@@ -82,7 +91,7 @@ padding: 0px;
color: #fff; color: #fff;
} }
input { input {
background-color: @dark-gray; background-color: @light-gray;
color: @text-color; color: @text-color;
border: 0; border: 0;
font-size: 1em; font-size: 1em;

View File

@@ -1,5 +1,5 @@
#reviews { #reviews {
background: @dark-gray; background: @light-gray;
padding: 130px 0; padding: 130px 0;
.twitter-profile { .twitter-profile {
float: left; float: left;

View File

@@ -23,10 +23,10 @@
// The default color of control backgrounds is mostly black but with a little // The default color of control backgrounds is mostly black but with a little
// bit of blue so it can still be seen on all-black video frames, which are common. // bit of blue so it can still be seen on all-black video frames, which are common.
// Try changing to #900 // Try changing to #900
@primary-background-color: @light-gray; // #2B333F default @primary-background-color: @blue; // #2B333F default
@red-primary-background-color: red(@primary-background-color); @red-primary-background-color: red(@primary-background-color);
@green-primary-background-color: green(@primary-background-color); @green-primary-background-color: green(@primary-background-color);
@light-gray-primary-background-color: blue(@primary-background-color); @blue-primary-background-color: blue(@primary-background-color);
// Try changing to true // Try changing to true
@center-big-play-button: true; // true default @center-big-play-button: true; // true default
@@ -91,20 +91,20 @@
/* IE8 - has no alpha support */ /* IE8 - has no alpha support */
background-color: @primary-background-color; background-color: @primary-background-color;
/* Opacity: 1.0 = 100%, 0.0 = 0% */ /* Opacity: 1.0 = 100%, 0.0 = 0% */
background-color: rgba(@red-primary-background-color, @green-primary-background-color, @light-gray-primary-background-color, 0.7); background-color: rgba(@red-primary-background-color, @green-primary-background-color, @blue-primary-background-color, 0.7);
} }
// Make a slightly lighter version of the main background // Make a slightly lighter version of the main background
// for the slider background. // for the slider background.
@slider-bg-color: lighten(rgb(@red-primary-background-color, @green-primary-background-color, @light-gray-primary-background-color), 33%); @slider-bg-color: lighten(rgb(@red-primary-background-color, @green-primary-background-color, @blue-primary-background-color), 33%);
@red-slider-bg-color: red(@slider-bg-color); @red-slider-bg-color: red(@slider-bg-color);
@green-slider-bg-color: green(@slider-bg-color); @green-slider-bg-color: green(@slider-bg-color);
@light-gray-slider-bg-color: blue(@slider-bg-color); @blue-slider-bg-color: blue(@slider-bg-color);
/* Slider - used for Volume bar and Progress bar */ /* Slider - used for Volume bar and Progress bar */
.video-js .vjs-slider { .video-js .vjs-slider {
background-color: @slider-bg-color; background-color: @slider-bg-color;
background-color: rgba(@red-slider-bg-color, @green-slider-bg-color, @light-gray-slider-bg-color, 0.5); background-color: rgba(@red-slider-bg-color, @green-slider-bg-color, @blue-slider-bg-color, 0.5);
} }
/* The slider bar color is used for the progress bar and the volume bar /* The slider bar color is used for the progress bar and the volume bar
@@ -118,18 +118,18 @@
/* The main progress bar also has a bar that shows how much has been loaded. */ /* The main progress bar also has a bar that shows how much has been loaded. */
.video-js .vjs-load-progress { .video-js .vjs-load-progress {
/* For IE8 we'll lighten the color */ /* For IE8 we'll lighten the color */
background: lighten(rgb(@red-slider-bg-color, @green-slider-bg-color, @light-gray-slider-bg-color), 25%); background: lighten(rgb(@red-slider-bg-color, @green-slider-bg-color, @blue-slider-bg-color), 25%);
/* Otherwise we'll rely on stacked opacities */ /* Otherwise we'll rely on stacked opacities */
background: rgba(@red-slider-bg-color, @green-slider-bg-color, @light-gray-slider-bg-color, 0.5); background: rgba(@red-slider-bg-color, @green-slider-bg-color, @blue-slider-bg-color, 0.5);
} }
/* The load progress bar also has internal divs that represent /* The load progress bar also has internal divs that represent
smaller disconnected loaded time ranges */ smaller disconnected loaded time ranges */
.video-js .vjs-load-progress div { .video-js .vjs-load-progress div {
/* For IE8 we'll lighten the color */ /* For IE8 we'll lighten the color */
background: lighten(rgb(@red-slider-bg-color, @green-slider-bg-color, @light-gray-slider-bg-color), 50%); background: lighten(rgb(@red-slider-bg-color, @green-slider-bg-color, @blue-slider-bg-color), 50%);
/* Otherwise we'll rely on stacked opacities */ /* Otherwise we'll rely on stacked opacities */
background: rgba(@red-slider-bg-color, @green-slider-bg-color, @light-gray-slider-bg-color, 0.75); background: rgba(@red-slider-bg-color, @green-slider-bg-color, @blue-slider-bg-color, 0.75);
} }

View File

@@ -1,6 +1,6 @@
@charset "UTF-8"; @charset "UTF-8";
/*! normalize.css v2.1.3 | MIT License | git.io/normalize */ /*! normalize.css v2.1.3 | MIT License | git.io/normalize */
@import "../bower_components/videojs/dist/video-js.min.css"; @import "../bower_components/videojs/dist/video-js.css";
article, article,
aside, aside,
details, details,
@@ -5949,7 +5949,6 @@ body {
animation-name: wobble; animation-name: wobble;
} }
body { body {
max-width: 100%;
margin: 0 auto; margin: 0 auto;
background-color: #383c49; background-color: #383c49;
} }
@@ -5965,6 +5964,7 @@ body {
#navigation ul { #navigation ul {
list-style: none; list-style: none;
max-width: 400px; max-width: 400px;
marghomein: 0 auto;
} }
#navigation li { #navigation li {
display: inline-block; display: inline-block;
@@ -5974,13 +5974,13 @@ body {
text-align: center; text-align: center;
font-family: "Droid Sans Mono", monospace; font-family: "Droid Sans Mono", monospace;
margin-bottom: 15px; margin-bottom: 15px;
color: #86acd1; color: #fff;
font-size: 35px; font-size: 35px;
} }
#navigation a { #navigation a {
text-decoration: none; text-decoration: none;
font-size: 15px; font-size: 15px;
color: #1e70bf; color: #3b3b3b;
} }
.page-title { .page-title {
text-align: center; text-align: center;
@@ -5995,26 +5995,17 @@ body {
-webkit-transition: all 0.3s; -webkit-transition: all 0.3s;
transition: all 0.3s; transition: all 0.3s;
padding: 10px 50px; padding: 10px 50px;
border: 2px solid #86acd1; border: 2px solid #e96e57;
font-size: 20px; font-size: 20px;
color: #86acd1; color: #e96e57;
border-radius: 10px; border-radius: 10px;
display: inline-block; display: inline-block;
text-decoration: none; text-decoration: none;
} }
.btn-cta:hover { .btn-cta:hover {
text-decoration: none; text-decoration: none;
border-color: #1e70bf; border-color: #fff;
color: #1e70bf; color: #fff;
}
.btn-cta:focus {
text-decoration: none;
border-color: #1e70bf;
color: #1e70bf;
}
.download-btn {
color: #e96e57;
border-color: #e96e57;
} }
.wrapper { .wrapper {
margin: 0 auto; margin: 0 auto;
@@ -6061,7 +6052,7 @@ img {
} }
a { a {
text-decoration: underline; text-decoration: underline;
color: #86acd1; color: #fff;
} }
a:hover { a:hover {
text-decoration: none; text-decoration: none;
@@ -6096,6 +6087,14 @@ img.navimg {
#home .btn-home { #home .btn-home {
margin: 50px 0 25px 0; margin: 50px 0 25px 0;
} }
#home hr {
margin-top: 20px;
margin-bottom: 20px;
margin-right: 20px;
border: 0;
border-top: 1px solid #eeeeee;
height: 0;
}
#web, #web,
.terminal { .terminal {
word-wrap: break-word; word-wrap: break-word;
@@ -6151,12 +6150,16 @@ img.navimg {
#web a { #web a {
color: #fff; color: #fff;
} }
.dragged {
background: #666666 !important;
}
.terminal { .terminal {
border-top-right-radius: 0; border-top-right-radius: 0;
border-top-left-radius: 0; border-top-left-radius: 0;
border-bottom-right-radius: 5px; border-bottom-right-radius: 5px;
border-bottom-left-radius: 5px; border-bottom-left-radius: 5px;
background: #000; background: #000;
backbground-repeat: no-repeat;
background-size: cover; background-size: cover;
} }
.terminal a { .terminal a {
@@ -6191,7 +6194,7 @@ img.navimg {
color: #fff; color: #fff;
text-align: center; text-align: center;
padding: 40px 0; padding: 40px 0;
background: #4c505c; background: #1e70bf;
} }
#thank-you .col-md-4 { #thank-you .col-md-4 {
text-align: center; text-align: center;
@@ -6213,7 +6216,7 @@ img.navimg {
font-size: 25px; font-size: 25px;
} }
#thank-you .btn-cta { #thank-you .btn-cta {
border-color: #86acd1; border-color: #fff;
} }
#features { #features {
background: #3b3b3b; background: #3b3b3b;
@@ -6279,7 +6282,7 @@ img.navimg {
} }
#tor { #tor {
text-align: center; text-align: center;
background: #3b3b3b; background: #4c505c;
padding: 50px 0; padding: 50px 0;
} }
#tor img { #tor img {
@@ -6316,7 +6319,7 @@ footer img {
} }
#contact i { #contact i {
font-size: 160px; font-size: 160px;
color: #4c505c; color: #1e70bf;
} }
@media (min-width: 768px) { @media (min-width: 768px) {
#contact i { #contact i {
@@ -6328,7 +6331,7 @@ footer img {
margin-bottom: 40px; margin-bottom: 40px;
} }
#reviews { #reviews {
background: #3b3b3b; background: #4c505c;
padding: 130px 0; padding: 130px 0;
} }
#reviews .twitter-profile { #reviews .twitter-profile {
@@ -6439,14 +6442,14 @@ blockquote.tweet-xl a {
.video-js .vjs-big-play-button, .video-js .vjs-big-play-button,
.video-js .vjs-menu-button .vjs-menu-content { .video-js .vjs-menu-button .vjs-menu-content {
/* IE8 - has no alpha support */ /* IE8 - has no alpha support */
background-color: #4c505c; background-color: #1e70bf;
/* Opacity: 1.0 = 100%, 0.0 = 0% */ /* Opacity: 1.0 = 100%, 0.0 = 0% */
background-color: rgba(76, 80, 92, 0.7); background-color: rgba(30, 112, 191, 0.7);
} }
/* Slider - used for Volume bar and Progress bar */ /* Slider - used for Volume bar and Progress bar */
.video-js .vjs-slider { .video-js .vjs-slider {
background-color: #a0a4b0; background-color: #97c3ef;
background-color: rgba(160, 164, 176, 0.5); background-color: rgba(151, 195, 239, 0.5);
} }
/* The slider bar color is used for the progress bar and the volume bar /* The slider bar color is used for the progress bar and the volume bar
(the first two can be removed after a fix that's coming) */ (the first two can be removed after a fix that's coming) */
@@ -6458,9 +6461,9 @@ blockquote.tweet-xl a {
/* The main progress bar also has a bar that shows how much has been loaded. */ /* The main progress bar also has a bar that shows how much has been loaded. */
.video-js .vjs-load-progress { .video-js .vjs-load-progress {
/* For IE8 we'll lighten the color */ /* For IE8 we'll lighten the color */
background: #e6e7ea; background: #ffffff;
/* Otherwise we'll rely on stacked opacities */ /* Otherwise we'll rely on stacked opacities */
background: rgba(160, 164, 176, 0.5); background: rgba(151, 195, 239, 0.5);
} }
/* The load progress bar also has internal divs that represent /* The load progress bar also has internal divs that represent
smaller disconnected loaded time ranges */ smaller disconnected loaded time ranges */
@@ -6468,7 +6471,7 @@ blockquote.tweet-xl a {
/* For IE8 we'll lighten the color */ /* For IE8 we'll lighten the color */
background: #ffffff; background: #ffffff;
/* Otherwise we'll rely on stacked opacities */ /* Otherwise we'll rely on stacked opacities */
background: rgba(160, 164, 176, 0.75); background: rgba(151, 195, 239, 0.75);
} }
:not(.vjs-has-started) .vjs-control-bar { :not(.vjs-has-started) .vjs-control-bar {
display: flex; display: flex;
@@ -6555,6 +6558,12 @@ blockquote.tweet-xl a {
.icon-gplus:before { .icon-gplus:before {
content: "p"; content: "p";
} }
.delete-modal {
display: none;
}
.delete-modal .show {
display: block;
}
.preview-wrapper { .preview-wrapper {
padding-bottom: 30px; padding-bottom: 30px;
} }
@@ -6612,7 +6621,7 @@ html {
width: 50%; width: 50%;
max-width: 500px; max-width: 500px;
min-width: 300px; min-width: 300px;
background-color: #4c505c; background-color: #1e70bf;
border-radius: 2px; border-radius: 2px;
transform: translateX(-50%) translateY(-50%); transform: translateX(-50%) translateY(-50%);
transition: opacity 0.2s ease; transition: opacity 0.2s ease;
@@ -6632,7 +6641,7 @@ html {
color: #fff; color: #fff;
} }
.copy-link-wrapper input { .copy-link-wrapper input {
background-color: #3b3b3b; background-color: #4c505c;
color: #86acd1; color: #86acd1;
border: 0; border: 0;
font-size: 1em; font-size: 1em;

File diff suppressed because one or more lines are too long

View File

@@ -8,9 +8,8 @@
@import "includes/home"; @import "includes/home";
@import "includes/pages"; @import "includes/pages";
@import "includes/reviews"; @import "includes/reviews";
@import "../bower_components/videojs/dist/video-js.min.css"; @import "../bower_components/videojs/dist/video-js.css";
@import "includes/video-js"; @import "includes/video-js";
@import "includes/transfersh-icons"; @import "includes/transfersh-icons";
@import "includes/preview"; @import "includes/preview";
@import "custom";