Browse Source

0.0.1.22.6

pull/1/head
racha.non 9 years ago
parent
commit
e93f6745d0
  1. BIN
      CustomFileInputs.zip
  2. BIN
      CustomFileInputs/CustomFileInputs/.DS_Store
  3. 30
      CustomFileInputs/CustomFileInputs/README.md
  4. 239
      CustomFileInputs/CustomFileInputs/css/component.css
  5. 221
      CustomFileInputs/CustomFileInputs/css/demo.css
  6. 1
      CustomFileInputs/CustomFileInputs/css/normalize.css
  7. BIN
      CustomFileInputs/CustomFileInputs/favicon.ico
  8. BIN
      CustomFileInputs/CustomFileInputs/fonts/.DS_Store
  9. BIN
      CustomFileInputs/CustomFileInputs/fonts/codropsicons/codropsicons.eot
  10. 24
      CustomFileInputs/CustomFileInputs/fonts/codropsicons/codropsicons.svg
  11. BIN
      CustomFileInputs/CustomFileInputs/fonts/codropsicons/codropsicons.ttf
  12. BIN
      CustomFileInputs/CustomFileInputs/fonts/codropsicons/codropsicons.woff
  13. 6
      CustomFileInputs/CustomFileInputs/fonts/codropsicons/license.txt
  14. BIN
      CustomFileInputs/CustomFileInputs/img/.DS_Store
  15. BIN
      CustomFileInputs/CustomFileInputs/img/related/SelectInspiration.png
  16. BIN
      CustomFileInputs/CustomFileInputs/img/related/TextInputEffects.jpg
  17. 90
      CustomFileInputs/CustomFileInputs/index.html
  18. BIN
      CustomFileInputs/CustomFileInputs/js/.DS_Store
  19. 34
      CustomFileInputs/CustomFileInputs/js/custom-file-input.js
  20. 4
      CustomFileInputs/CustomFileInputs/js/jquery-v1.min.js
  21. 36
      CustomFileInputs/CustomFileInputs/js/jquery.custom-file-input.js
  22. BIN
      CustomFileInputs/__MACOSX/._CustomFileInputs
  23. BIN
      CustomFileInputs/__MACOSX/CustomFileInputs/._.DS_Store
  24. BIN
      CustomFileInputs/__MACOSX/CustomFileInputs/._README.md
  25. BIN
      CustomFileInputs/__MACOSX/CustomFileInputs/._css
  26. BIN
      CustomFileInputs/__MACOSX/CustomFileInputs/._favicon.ico
  27. BIN
      CustomFileInputs/__MACOSX/CustomFileInputs/._fonts
  28. BIN
      CustomFileInputs/__MACOSX/CustomFileInputs/._index.html
  29. BIN
      CustomFileInputs/__MACOSX/CustomFileInputs/._js
  30. BIN
      CustomFileInputs/__MACOSX/CustomFileInputs/css/._component.css
  31. BIN
      CustomFileInputs/__MACOSX/CustomFileInputs/css/._demo.css
  32. BIN
      CustomFileInputs/__MACOSX/CustomFileInputs/css/._normalize.css
  33. BIN
      CustomFileInputs/__MACOSX/CustomFileInputs/fonts/._.DS_Store
  34. BIN
      CustomFileInputs/__MACOSX/CustomFileInputs/fonts/._codropsicons
  35. BIN
      CustomFileInputs/__MACOSX/CustomFileInputs/fonts/codropsicons/._codropsicons.eot
  36. BIN
      CustomFileInputs/__MACOSX/CustomFileInputs/fonts/codropsicons/._codropsicons.svg
  37. BIN
      CustomFileInputs/__MACOSX/CustomFileInputs/fonts/codropsicons/._codropsicons.ttf
  38. BIN
      CustomFileInputs/__MACOSX/CustomFileInputs/fonts/codropsicons/._codropsicons.woff
  39. BIN
      CustomFileInputs/__MACOSX/CustomFileInputs/fonts/codropsicons/._license.txt
  40. BIN
      CustomFileInputs/__MACOSX/CustomFileInputs/img/._.DS_Store
  41. BIN
      CustomFileInputs/__MACOSX/CustomFileInputs/js/._.DS_Store
  42. BIN
      CustomFileInputs/__MACOSX/CustomFileInputs/js/._custom-file-input.js
  43. BIN
      CustomFileInputs/__MACOSX/CustomFileInputs/js/._jquery-v1.min.js
  44. BIN
      CustomFileInputs/__MACOSX/CustomFileInputs/js/._jquery.custom-file-input.js
  45. 0
      css/bootstrap-theme.min.css
  46. 0
      css/bootstrap-theme.min.css.map
  47. 0
      css/bootstrap.min.css
  48. 0
      css/bootstrap.min.css.map
  49. 0
      css/materialize.css
  50. 0
      css/materialize.min.css
  51. 0
      css/stdb.css
  52. 0
      css/style.css
  53. 0
      font/material-design-icons/LICENSE.txt
  54. 0
      font/material-design-icons/Material-Design-Icons.eot
  55. 0
      font/material-design-icons/Material-Design-Icons.svg
  56. 0
      font/material-design-icons/Material-Design-Icons.ttf
  57. 0
      font/material-design-icons/Material-Design-Icons.woff
  58. 0
      font/material-design-icons/Material-Design-Icons.woff2
  59. 0
      font/roboto/Roboto-Bold.eot
  60. 0
      font/roboto/Roboto-Bold.ttf
  61. 0
      font/roboto/Roboto-Bold.woff
  62. 0
      font/roboto/Roboto-Bold.woff2
  63. 0
      font/roboto/Roboto-Light.eot
  64. 0
      font/roboto/Roboto-Light.ttf
  65. 0
      font/roboto/Roboto-Light.woff
  66. 0
      font/roboto/Roboto-Light.woff2
  67. 0
      font/roboto/Roboto-Medium.eot
  68. 0
      font/roboto/Roboto-Medium.ttf
  69. 0
      font/roboto/Roboto-Medium.woff
  70. 0
      font/roboto/Roboto-Medium.woff2
  71. 0
      font/roboto/Roboto-Regular.eot
  72. 0
      font/roboto/Roboto-Regular.ttf
  73. 0
      font/roboto/Roboto-Regular.woff
  74. 0
      font/roboto/Roboto-Regular.woff2
  75. 0
      font/roboto/Roboto-Thin.eot
  76. 0
      font/roboto/Roboto-Thin.ttf
  77. 0
      font/roboto/Roboto-Thin.woff
  78. 0
      font/roboto/Roboto-Thin.woff2
  79. 0
      fonts/roboto/Roboto-Bold.eot
  80. 0
      fonts/roboto/Roboto-Bold.ttf
  81. 0
      fonts/roboto/Roboto-Bold.woff
  82. 0
      fonts/roboto/Roboto-Bold.woff2
  83. 0
      fonts/roboto/Roboto-Light.eot
  84. 0
      fonts/roboto/Roboto-Light.ttf
  85. 0
      fonts/roboto/Roboto-Light.woff
  86. 0
      fonts/roboto/Roboto-Light.woff2
  87. 0
      fonts/roboto/Roboto-Medium.eot
  88. 0
      fonts/roboto/Roboto-Medium.ttf
  89. 0
      fonts/roboto/Roboto-Medium.woff
  90. 0
      fonts/roboto/Roboto-Medium.woff2
  91. 0
      fonts/roboto/Roboto-Regular.eot
  92. 0
      fonts/roboto/Roboto-Regular.ttf
  93. 0
      fonts/roboto/Roboto-Regular.woff
  94. 0
      fonts/roboto/Roboto-Regular.woff2
  95. 0
      fonts/roboto/Roboto-Thin.eot
  96. 0
      fonts/roboto/Roboto-Thin.ttf
  97. 0
      fonts/roboto/Roboto-Thin.woff
  98. 0
      fonts/roboto/Roboto-Thin.woff2
  99. 0
      index.html
  100. 0
      js/bootstrap.js
  101. Some files were not shown because too many files have changed in this diff Show More

BIN
CustomFileInputs.zip

Binary file not shown.

BIN
CustomFileInputs/CustomFileInputs/.DS_Store vendored

Binary file not shown.

30
CustomFileInputs/CustomFileInputs/README.md

@ -1,30 +0,0 @@
# Styling & Customizing File Inputs the Smart Way
A tutorial on how to style and customize <input type="file"> in a semantic, accessible way using the <label> element and some JavaScript. By Osvaldas Valutis.
[Article on Codrops](http://tympanus.net/codrops/?p=24831)
[Demo](http://tympanus.net/Tutorials/CustomFileInputs/)
## License
Integrate or build upon it for free in your personal or commercial projects. Don't republish, redistribute or sell "as-is".
Read more here: [License](http://tympanus.net/codrops/licensing/)
## Credits
Icon made by [Daniel Bruce](http://www.danielbruce.se) from [www.flaticon.com](http://www.flaticon.com) is licensed under [CC BY 3.0](http://creativecommons.org/licenses/by/3.0/)
## Misc
Follow Osvaldas: [Twitter](http://twitter.com/osvaldas), [Dribbble](http://dribbble.com/osvaldas), [Google+](https://plus.google.com/107216309002112755043?rel=author)
Follow Codrops: [Twitter](http://www.twitter.com/codrops), [Facebook](http://www.facebook.com/pages/Codrops/159107397912), [Google+](https://plus.google.com/101095823814290637419), [GitHub](https://github.com/codrops), [Pinterest](http://www.pinterest.com/codrops/)
[© Codrops 2015](http://www.codrops.com)

239
CustomFileInputs/CustomFileInputs/css/component.css

@ -1,239 +0,0 @@
.js .inputfile {
width: 0.1px;
height: 0.1px;
opacity: 0;
overflow: hidden;
position: absolute;
z-index: -1;
}
.inputfile + label {
max-width: 80%;
font-size: 1.25rem;
/* 20px */
font-weight: 700;
text-overflow: ellipsis;
white-space: nowrap;
cursor: pointer;
display: inline-block;
overflow: hidden;
padding: 0.625rem 1.25rem;
/* 10px 20px */
}
.no-js .inputfile + label {
display: none;
}
.inputfile:focus + label,
.inputfile.has-focus + label {
outline: 1px dotted #000;
outline: -webkit-focus-ring-color auto 5px;
}
.inputfile + label * {
/* pointer-events: none; */
/* in case of FastClick lib use */
}
.inputfile + label svg {
width: 1em;
height: 1em;
vertical-align: middle;
fill: currentColor;
margin-top: -0.25em;
/* 4px */
margin-right: 0.25em;
/* 4px */
}
/* style 1 */
.inputfile-1 + label {
color: #f1e5e6;
background-color: #d3394c;
}
.inputfile-1:focus + label,
.inputfile-1.has-focus + label,
.inputfile-1 + label:hover {
background-color: #722040;
}
/* style 2 */
.inputfile-2 + label {
color: #d3394c;
border: 2px solid currentColor;
}
.inputfile-2:focus + label,
.inputfile-2.has-focus + label,
.inputfile-2 + label:hover {
color: #722040;
}
/* style 3 */
.inputfile-3 + label {
color: #d3394c;
}
.inputfile-3:focus + label,
.inputfile-3.has-focus + label,
.inputfile-3 + label:hover {
color: #722040;
}
/* style 4 */
.inputfile-4 + label {
color: #d3394c;
}
.inputfile-4:focus + label,
.inputfile-4.has-focus + label,
.inputfile-4 + label:hover {
color: #722040;
}
.inputfile-4 + label figure {
width: 100px;
height: 100px;
border-radius: 50%;
background-color: #d3394c;
display: block;
padding: 20px;
margin: 0 auto 10px;
}
.inputfile-4:focus + label figure,
.inputfile-4.has-focus + label figure,
.inputfile-4 + label:hover figure {
background-color: #722040;
}
.inputfile-4 + label svg {
width: 100%;
height: 100%;
fill: #f1e5e6;
}
/* style 5 */
.inputfile-5 + label {
color: #d3394c;
}
.inputfile-5:focus + label,
.inputfile-5.has-focus + label,
.inputfile-5 + label:hover {
color: #722040;
}
.inputfile-5 + label figure {
width: 100px;
height: 135px;
background-color: #d3394c;
display: block;
position: relative;
padding: 30px;
margin: 0 auto 10px;
}
.inputfile-5:focus + label figure,
.inputfile-5.has-focus + label figure,
.inputfile-5 + label:hover figure {
background-color: #722040;
}
.inputfile-5 + label figure::before,
.inputfile-5 + label figure::after {
width: 0;
height: 0;
content: '';
position: absolute;
top: 0;
right: 0;
}
.inputfile-5 + label figure::before {
border-top: 20px solid #dfc8ca;
border-left: 20px solid transparent;
}
.inputfile-5 + label figure::after {
border-bottom: 20px solid #722040;
border-right: 20px solid transparent;
}
.inputfile-5:focus + label figure::after,
.inputfile-5.has-focus + label figure::after,
.inputfile-5 + label:hover figure::after {
border-bottom-color: #d3394c;
}
.inputfile-5 + label svg {
width: 100%;
height: 100%;
fill: #f1e5e6;
}
/* style 6 */
.inputfile-6 + label {
color: #d3394c;
}
.inputfile-6 + label {
border: 1px solid #d3394c;
background-color: #f1e5e6;
padding: 0;
}
.inputfile-6:focus + label,
.inputfile-6.has-focus + label,
.inputfile-6 + label:hover {
border-color: #722040;
}
.inputfile-6 + label span,
.inputfile-6 + label strong {
padding: 0.625rem 1.25rem;
/* 10px 20px */
}
.inputfile-6 + label span {
width: 200px;
min-height: 2em;
display: inline-block;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
vertical-align: top;
}
.inputfile-6 + label strong {
height: 100%;
color: #f1e5e6;
background-color: #d3394c;
display: inline-block;
}
.inputfile-6:focus + label strong,
.inputfile-6.has-focus + label strong,
.inputfile-6 + label:hover strong {
background-color: #722040;
}
@media screen and (max-width: 50em) {
.inputfile-6 + label strong {
display: block;
}
}

221
CustomFileInputs/CustomFileInputs/css/demo.css

@ -1,221 +0,0 @@
@font-face {
font-weight: normal;
font-style: normal;
font-family: 'codropsicons';
src: url('../fonts/codropsicons/codropsicons.eot');
src: url('../fonts/codropsicons/codropsicons.eot?#iefix') format('embedded-opentype'), url('../fonts/codropsicons/codropsicons.woff') format('woff'), url('../fonts/codropsicons/codropsicons.ttf') format('truetype'), url('../fonts/codropsicons/codropsicons.svg#codropsicons') format('svg');
}
*,
*:after,
*:before {
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.clearfix:before,
.clearfix:after {
display: table;
content: '';
}
.clearfix:after {
clear: both;
}
body {
font-family: Avenir, 'Helvetica Neue', 'Lato', 'Segoe UI', Helvetica, Arial, sans-serif;
color: #4b0f31;
background-color: #f1e5e6;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
a {
outline: none;
color: #d3394c;
text-decoration: none;
}
a:hover,
a:focus {
color: #722040;
}
.hidden {
position: absolute;
overflow: hidden;
width: 0;
height: 0;
pointer-events: none;
}
/* Header */
.codrops-header {
padding: 2em 1em 4em;
text-align: center;
}
.codrops-header h1 {
margin: 0.5em 0 0;
letter-spacing: -1px;
font-size: 3em;
line-height: 1;
}
.codrops-header h1 span {
display: block;
padding: 0.5em 0 1em;
color: #999;
font-weight: normal;
font-size: 0.45em;
}
/* Top Navigation Style */
.codrops-links {
position: relative;
display: inline-block;
text-align: center;
white-space: nowrap;
}
.codrops-links::after {
position: absolute;
top: 0;
left: 50%;
width: 1px;
height: 100%;
background: rgba(0, 0, 0, 0.1);
content: '';
-webkit-transform: rotate3d(0, 0, 1, 22.5deg);
transform: rotate3d(0, 0, 1, 22.5deg);
}
.codrops-icon {
display: inline-block;
margin: 0.5em;
padding: 0em 0;
width: 1.5em;
text-decoration: none;
}
.codrops-icon span {
display: none;
}
.codrops-icon:before {
margin: 0 5px;
text-transform: none;
font-weight: normal;
font-style: normal;
font-variant: normal;
font-family: 'codropsicons';
line-height: 1;
speak: none;
-webkit-font-smoothing: antialiased;
}
.codrops-icon--drop:before {
content: "\e001";
}
.codrops-icon--prev:before {
content: "\e004";
}
/* Demo links */
.codrops-demos {
margin: 2em 0 0;
}
.codrops-demos a {
display: inline-block;
margin: 0 0.5em;
}
.codrops-demos a.current-demo {
color: #333;
}
/* Content */
.content {
width: 100%;
max-width: 800px;
text-align: center;
margin: 0 auto;
padding: 0 0 3em 0;
}
.content footer {
color: #b39295;
margin-top: 40px;
}
.content footer a:hover,
.content footer a:focus {
color: #4b0f31;
}
.box {
background-color: #dfc8ca;
padding: 6.25rem 1.25rem;
}
.box + .box {
margin-top: 2.5rem;
}
/* Related demos */
.content--related {
text-align: center;
font-weight: bold;
padding-top: 4em;
}
.media-item {
display: inline-block;
padding: 1em;
vertical-align: top;
-webkit-transition: color 0.3s;
transition: color 0.3s;
}
.media-item__img {
max-width: 100%;
opacity: 0.6;
-webkit-transition: opacity 0.3s;
transition: opacity 0.3s;
}
.media-item:hover .media-item__img,
.media-item:focus .media-item__img {
opacity: 1;
}
.media-item__title {
margin: 0;
padding: 0.5em;
font-size: 1em;
}
@media screen and (max-width: 50em) {
.codrops-header {
padding: 3em 10% 4em;
}
}
@media screen and (max-width: 40em) {
.codrops-header h1 {
font-size: 2.8em;
}
}

1
CustomFileInputs/CustomFileInputs/css/normalize.css vendored

@ -1 +0,0 @@
article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block;}audio,canvas,video{display:inline-block;}audio:not([controls]){display:none;height:0;}[hidden]{display:none;}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;}body{margin:0;}a:focus{outline:thin dotted;}a:active,a:hover{outline:0;}h1{font-size:2em;margin:0.67em 0;}abbr[title]{border-bottom:1px dotted;}b,strong{font-weight:bold;}dfn{font-style:italic;}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0;}mark{background:#ff0;color:#000;}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em;}pre{white-space:pre-wrap;}q{quotes:"\201C" "\201D" "\2018" "\2019";}small{font-size:80%;}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline;}sup{top:-0.5em;}sub{bottom:-0.25em;}img{border:0;}svg:not(:root){overflow:hidden;}figure{margin:0;}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em;}legend{border:0;padding:0;}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0;}button,input{line-height:normal;}button,select{text-transform:none;}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer;}button[disabled],html input[disabled]{cursor:default;}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0;}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box;}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none;}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0;}textarea{overflow:auto;vertical-align:top;}table{border-collapse:collapse;border-spacing:0;}

BIN
CustomFileInputs/CustomFileInputs/favicon.ico

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

BIN
CustomFileInputs/CustomFileInputs/fonts/.DS_Store vendored

Binary file not shown.

BIN
CustomFileInputs/CustomFileInputs/fonts/codropsicons/codropsicons.eot

Binary file not shown.

24
CustomFileInputs/CustomFileInputs/fonts/codropsicons/codropsicons.svg

@ -1,24 +0,0 @@
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
<svg xmlns="http://www.w3.org/2000/svg">
<metadata>
This is a custom SVG font generated by IcoMoon.
<iconset grid="14"></iconset>
</metadata>
<defs>
<font id="codropsicons" horiz-adv-x="448" >
<font-face units-per-em="448" ascent="384" descent="-64" />
<missing-glyph horiz-adv-x="448" />
<glyph unicode="&#xe001;" d="M 221.657,359.485 ,m0.00,0.00,c 0.00,0.00 -132.984-182.838 -132.205-286.236 0.515-68.522 61.089-123.688 135.314-123.218 74.202,0.479 133.943,56.421 133.428,124.943 C 357.414,178.368 221.657,359.485 221.657,359.485 z" />
<glyph unicode="&#xe004;" d="M 384.00,160.00l0.00-32.00 q0.00-13.25 -8.125-22.625t-21.125-9.375l-176.00,0.00 l 73.25-73.50q 9.50-9.00 9.50-22.50t-9.50-22.50l-18.75-19.00q-9.25-9.25 -22.50-9.25q-13.00,0.00 -22.75,9.25l-162.75,163.00q-9.25,9.25 -9.25,22.50q0.00,13.00 9.25,22.75l 162.75,162.50q 9.50,9.50 22.75,9.50q 13.00,0.00 22.50-9.50l 18.75-18.50q 9.50-9.50 9.50-22.75t-9.50-22.75l-73.25-73.25l 176.00,0.00 q 13.00,0.00 21.125-9.375 t 8.125-22.625z" horiz-adv-x="384" />
<glyph unicode="&#xe002;" d="M 407.273-23.273c0.00,0.00-325.818,0.00-366.545,0.00s-40.727,40.727-40.727,40.727l0.00,142.545 l 101.818,183.273l 244.364,0.00 l 101.818-183.273c0.00,0.00,0.00-101.818,0.00-142.545S 407.273-23.273, 407.273-23.273z M 325.818,302.545L 122.182,302.545
l-71.273-142.545L 142.545,160.00 c0.00,0.00, 40.727,0.00, 40.727-40.727l0.00-20.364 l 81.455,0.00 l0.00,20.364 c0.00,0.00,0.00,40.727, 40.727,40.727l 91.636,0.00 L 325.818,302.545z M 407.273,119.273l-96.911,0.00 C 307.532,113.917, 305.455,107.503, 305.455,98.909c0.00-40.727-40.727-40.727-40.727-40.727L 183.273,58.182 c0.00,0.00-40.727,0.00-40.727,40.727
c0.00,8.593-2.077,15.008-4.908,20.364L 40.727,119.273 l0.00-101.818 l 366.545,0.00 L 407.273,119.273 z M 132.364,221.091l 183.273,0.00 L 325.818,200.727L 122.182,200.727 L 132.364,221.091z M 152.727,261.818l 142.545,0.00 L 305.455,241.455L 142.545,241.455 L 152.727,261.818z" />
<glyph unicode="&#xe000;" d="M 368.00,144.00q0.00-13.50 -9.25-22.75l-162.75-162.75q-9.75-9.25 -22.75-9.25q-12.75,0.00 -22.50,9.25l-18.75,18.75q-9.50,9.50 -9.50,22.75t 9.50,22.75l 73.25,73.25l-176.00,0.00 q-13.00,0.00 -21.125,9.375t-8.125,22.625l0.00,32.00 q0.00,13.25 8.125,22.625t 21.125,9.375l 176.00,0.00 l-73.25,73.50q-9.50,9.00 -9.50,22.50t 9.50,22.50l 18.75,18.75q 9.50,9.50 22.50,9.50q 13.25,0.00 22.75-9.50l 162.75-162.75q 9.25-8.75 9.25-22.50z" horiz-adv-x="384" />
<glyph unicode="&#xe003;" d="M 224.00-64.00C 100.291-64.00,0.00,36.291,0.00,160.00S 100.291,384.00, 224.00,384.00s 224.00-100.291, 224.00-224.00S 347.709-64.00, 224.00-64.00z
M 224.00,343.273c-101.228,0.00-183.273-82.045-183.273-183.273s 82.045-183.273, 183.273-183.273s 183.273,82.045, 183.273,183.273S 325.228,343.273, 224.00,343.273z M 244.364,122.164C 244.364,111.005, 244.364,98.909, 244.364,98.909l-40.727,0.00 c0.00,0.00,0.00,29.466,0.00,40.727
s 9.123,20.364, 20.364,20.364l0.00,0.00c 22.481,0.00, 40.727,18.246, 40.727,40.727s-18.246,40.727-40.727,40.727S 183.273,223.209, 183.273,200.727c0.00-7.453, 2.138-14.356, 5.641-20.364L 145.437,180.364 C 143.727,186.90, 142.545,193.661, 142.545,200.727
c0.00,44.983, 36.471,81.455, 81.455,81.455s 81.455-36.471, 81.455-81.455C 305.455,162.831, 279.45,131.247, 244.364,122.164z M 244.364,37.818l-40.727,0.00 l0.00,40.727 l 40.727,0.00 L 244.364,37.818 z" />
<glyph unicode="&#x20;" horiz-adv-x="224" />
<glyph class="hidden" unicode="&#xf000;" d="M0,384L 448 -64L0 -64 z" horiz-adv-x="0" />
</font></defs></svg>

Before

Width:  |  Height:  |  Size: 3.5 KiB

BIN
CustomFileInputs/CustomFileInputs/fonts/codropsicons/codropsicons.ttf

Binary file not shown.

BIN
CustomFileInputs/CustomFileInputs/fonts/codropsicons/codropsicons.woff

Binary file not shown.

6
CustomFileInputs/CustomFileInputs/fonts/codropsicons/license.txt

@ -1,6 +0,0 @@
Icon Set: Font Awesome -- http://fortawesome.github.com/Font-Awesome/
License: SIL -- http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL
Icon Set: Eco Ico -- http://dribbble.com/shots/665585-Eco-Ico
License: CC0 -- http://creativecommons.org/publicdomain/zero/1.0/

BIN
CustomFileInputs/CustomFileInputs/img/.DS_Store vendored

Binary file not shown.

BIN
CustomFileInputs/CustomFileInputs/img/related/SelectInspiration.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

BIN
CustomFileInputs/CustomFileInputs/img/related/TextInputEffects.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 KiB

90
CustomFileInputs/CustomFileInputs/index.html

@ -1,90 +0,0 @@
<!DOCTYPE html>
<html lang="en" class="no-js">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Custom File Inputs | Codrops</title>
<meta name="description" content="Demo for the tutorial: Styling and Customizing File Inputs the Smart Way" />
<meta name="keywords" content="cutom file input, styling, label, cross-browser, accessible, input type file" />
<meta name="author" content="Osvaldas Valutis for Codrops" />
<link rel="shortcut icon" href="favicon.ico">
<link rel="stylesheet" type="text/css" href="css/normalize.css" />
<link rel="stylesheet" type="text/css" href="css/demo.css" />
<link rel="stylesheet" type="text/css" href="css/component.css" />
<!--[if IE]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!-- remove this if you use Modernizr -->
<script>(function(e,t,n){var r=e.querySelectorAll("html")[0];r.className=r.className.replace(/(^|\s)no-js(\s|$)/,"$1js$2")})(document,window,0);</script>
</head>
<body>
<div class="container">
<header class="codrops-header">
<div class="codrops-links">
<a class="codrops-icon codrops-icon--prev" href="http://tympanus.net/Tutorials/SVGRipples/" title="Previous Demo"><span>Previous Demo</span></a>
<a class="codrops-icon codrops-icon--drop" href="http://tympanus.net/codrops/?p=24831" title="Back to the article"><span>Back to the Codrops article</span></a>
</div>
<h1>Custom File Inputs</h1>
<p>Demo for the tutorial: <strong><a href="http://tympanus.net/codrops/?p=24831">Styling and Customizing File Inputs the Smart Way</a></strong></p>
</header>
<div class="content">
<div class="box">
<input type="file" name="file-2[]" id="file-2" class="inputfile inputfile-2" data-multiple-caption="{count} files selected" multiple />
<label for="file-2"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="17" viewBox="0 0 20 17"><path d="M10 0l-5.2 4.9h3.3v5.1h3.8v-5.1h3.3l-5.2-4.9zm9.3 11.5l-3.2-2.1h-2l3.4 2.6h-3.5c-.1 0-.2.1-.2.1l-.8 2.3h-6l-.8-2.2c-.1-.1-.1-.2-.2-.2h-3.6l3.4-2.6h-2l-3.2 2.1c-.4.3-.7 1-.6 1.5l.6 3.1c.1.5.7.9 1.2.9h16.3c.6 0 1.1-.4 1.3-.9l.6-3.1c.1-.5-.2-1.2-.7-1.5z"/></svg> <span>Choose a file&hellip;</span></label>
</div>
<div class="box">
<input type="file" name="file-3[]" id="file-3" class="inputfile inputfile-3" data-multiple-caption="{count} files selected" multiple />
<label for="file-3"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="17" viewBox="0 0 20 17"><path d="M10 0l-5.2 4.9h3.3v5.1h3.8v-5.1h3.3l-5.2-4.9zm9.3 11.5l-3.2-2.1h-2l3.4 2.6h-3.5c-.1 0-.2.1-.2.1l-.8 2.3h-6l-.8-2.2c-.1-.1-.1-.2-.2-.2h-3.6l3.4-2.6h-2l-3.2 2.1c-.4.3-.7 1-.6 1.5l.6 3.1c.1.5.7.9 1.2.9h16.3c.6 0 1.1-.4 1.3-.9l.6-3.1c.1-.5-.2-1.2-.7-1.5z"/></svg> <span>Choose a file&hellip;</span></label>
</div>
<div class="box">
<input type="file" name="file-4[]" id="file-4" class="inputfile inputfile-3" data-multiple-caption="{count} files selected" multiple />
<label for="file-4"><span>Choose a file&hellip;</span></label>
</div>
<div class="box">
<input type="file" name="file-5[]" id="file-5" class="inputfile inputfile-4" data-multiple-caption="{count} files selected" multiple />
<label for="file-5"><figure><svg xmlns="http://www.w3.org/2000/svg" width="20" height="17" viewBox="0 0 20 17"><path d="M10 0l-5.2 4.9h3.3v5.1h3.8v-5.1h3.3l-5.2-4.9zm9.3 11.5l-3.2-2.1h-2l3.4 2.6h-3.5c-.1 0-.2.1-.2.1l-.8 2.3h-6l-.8-2.2c-.1-.1-.1-.2-.2-.2h-3.6l3.4-2.6h-2l-3.2 2.1c-.4.3-.7 1-.6 1.5l.6 3.1c.1.5.7.9 1.2.9h16.3c.6 0 1.1-.4 1.3-.9l.6-3.1c.1-.5-.2-1.2-.7-1.5z"/></svg></figure> <span>Choose a file&hellip;</span></label>
</div>
<div class="box">
<input type="file" name="file-6[]" id="file-6" class="inputfile inputfile-5" data-multiple-caption="{count} files selected" multiple />
<label for="file-6"><figure><svg xmlns="http://www.w3.org/2000/svg" width="20" height="17" viewBox="0 0 20 17"><path d="M10 0l-5.2 4.9h3.3v5.1h3.8v-5.1h3.3l-5.2-4.9zm9.3 11.5l-3.2-2.1h-2l3.4 2.6h-3.5c-.1 0-.2.1-.2.1l-.8 2.3h-6l-.8-2.2c-.1-.1-.1-.2-.2-.2h-3.6l3.4-2.6h-2l-3.2 2.1c-.4.3-.7 1-.6 1.5l.6 3.1c.1.5.7.9 1.2.9h16.3c.6 0 1.1-.4 1.3-.9l.6-3.1c.1-.5-.2-1.2-.7-1.5z"/></svg></figure> <span></span></label>
</div>
<div class="box">
<input type="file" name="file-7[]" id="file-7" class="inputfile inputfile-6" data-multiple-caption="{count} files selected" multiple />
<label for="file-7"><span></span> <strong><svg xmlns="http://www.w3.org/2000/svg" width="20" height="17" viewBox="0 0 20 17"><path d="M10 0l-5.2 4.9h3.3v5.1h3.8v-5.1h3.3l-5.2-4.9zm9.3 11.5l-3.2-2.1h-2l3.4 2.6h-3.5c-.1 0-.2.1-.2.1l-.8 2.3h-6l-.8-2.2c-.1-.1-.1-.2-.2-.2h-3.6l3.4-2.6h-2l-3.2 2.1c-.4.3-.7 1-.6 1.5l.6 3.1c.1.5.7.9 1.2.9h16.3c.6 0 1.1-.4 1.3-.9l.6-3.1c.1-.5-.2-1.2-.7-1.5z"/></svg> Choose a file&hellip;</strong></label>
</div>
<footer>Upload icon by <a href="http://www.flaticon.com/free-icon/outbox_3686" target="_blank">FlatIcon</a>.</footer>
</div>
<!-- Related demos -->
<section class="content content--related">
<p>If you enjoyed this demo you might also like:</p>
<a class="media-item" href="">
<img class="media-item__img" src="img/related/SelectInspiration.png">
<h3 class="media-item__title">Inspiration for Custom Select Elements</h3>
</a>
<a class="media-item" href="">
<img class="media-item__img" src="img/related/TextInputEffects.jpg">
<h3 class="media-item__title">Inspiration for Text Input Effects</h3>
</a>
</section>
</div><!-- /container -->
<script src="js/custom-file-input.js"></script>
<!-- // If you'd like to use jQuery, check out js/jquery.custom-file-input.js
<script src="js/jquery-v1.min.js"></script>
<script src="js/jquery.custom-file-input.js"></script>
-->
</body>
</html>

BIN
CustomFileInputs/CustomFileInputs/js/.DS_Store vendored

Binary file not shown.

34
CustomFileInputs/CustomFileInputs/js/custom-file-input.js

@ -1,34 +0,0 @@
/*
By Osvaldas Valutis, www.osvaldas.info
Available for use under the MIT License
*/
'use strict';
;( function ( document, window, index )
{
var inputs = document.querySelectorAll( '.inputfile' );
Array.prototype.forEach.call( inputs, function( input )
{
var label = input.nextElementSibling,
labelVal = label.innerHTML;
input.addEventListener( 'change', function( e )
{
var fileName = '';
if( this.files && this.files.length > 1 )
fileName = ( this.getAttribute( 'data-multiple-caption' ) || '' ).replace( '{count}', this.files.length );
else
fileName = e.target.value.split( '\\' ).pop();
if( fileName )
label.querySelector( 'span' ).innerHTML = fileName;
else
label.innerHTML = labelVal;
});
// Firefox bug fix
input.addEventListener( 'focus', function(){ input.classList.add( 'has-focus' ); });
input.addEventListener( 'blur', function(){ input.classList.remove( 'has-focus' ); });
});
}( document, window, 0 ));

4
CustomFileInputs/CustomFileInputs/js/jquery-v1.min.js vendored

File diff suppressed because one or more lines are too long

36
CustomFileInputs/CustomFileInputs/js/jquery.custom-file-input.js

@ -1,36 +0,0 @@
/*
By Osvaldas Valutis, www.osvaldas.info
Available for use under the MIT License
*/
'use strict';
;( function( $, window, document, undefined )
{
$( '.inputfile' ).each( function()
{
var $input = $( this ),
$label = $input.next( 'label' ),
labelVal = $label.html();
$input.on( 'change', function( e )
{
var fileName = '';
if( this.files && this.files.length > 1 )
fileName = ( this.getAttribute( 'data-multiple-caption' ) || '' ).replace( '{count}', this.files.length );
else if( e.target.value )
fileName = e.target.value.split( '\\' ).pop();
if( fileName )
$label.find( 'span' ).html( fileName );
else
$label.html( labelVal );
});
// Firefox bug fix
$input
.on( 'focus', function(){ $input.addClass( 'has-focus' ); })
.on( 'blur', function(){ $input.removeClass( 'has-focus' ); });
});
})( jQuery, window, document );

BIN
CustomFileInputs/__MACOSX/._CustomFileInputs

Binary file not shown.

BIN
CustomFileInputs/__MACOSX/CustomFileInputs/._.DS_Store vendored

Binary file not shown.

BIN
CustomFileInputs/__MACOSX/CustomFileInputs/._README.md

Binary file not shown.

BIN
CustomFileInputs/__MACOSX/CustomFileInputs/._css

Binary file not shown.

BIN
CustomFileInputs/__MACOSX/CustomFileInputs/._favicon.ico

Binary file not shown.

BIN
CustomFileInputs/__MACOSX/CustomFileInputs/._fonts

Binary file not shown.

BIN
CustomFileInputs/__MACOSX/CustomFileInputs/._index.html

Binary file not shown.

BIN
CustomFileInputs/__MACOSX/CustomFileInputs/._js

Binary file not shown.

BIN
CustomFileInputs/__MACOSX/CustomFileInputs/css/._component.css

Binary file not shown.

BIN
CustomFileInputs/__MACOSX/CustomFileInputs/css/._demo.css

Binary file not shown.

BIN
CustomFileInputs/__MACOSX/CustomFileInputs/css/._normalize.css vendored

Binary file not shown.

BIN
CustomFileInputs/__MACOSX/CustomFileInputs/fonts/._.DS_Store vendored

Binary file not shown.

BIN
CustomFileInputs/__MACOSX/CustomFileInputs/fonts/._codropsicons

Binary file not shown.

BIN
CustomFileInputs/__MACOSX/CustomFileInputs/fonts/codropsicons/._codropsicons.eot

Binary file not shown.

BIN
CustomFileInputs/__MACOSX/CustomFileInputs/fonts/codropsicons/._codropsicons.svg

Binary file not shown.

BIN
CustomFileInputs/__MACOSX/CustomFileInputs/fonts/codropsicons/._codropsicons.ttf

Binary file not shown.

BIN
CustomFileInputs/__MACOSX/CustomFileInputs/fonts/codropsicons/._codropsicons.woff

Binary file not shown.

BIN
CustomFileInputs/__MACOSX/CustomFileInputs/fonts/codropsicons/._license.txt

Binary file not shown.

BIN
CustomFileInputs/__MACOSX/CustomFileInputs/img/._.DS_Store vendored

Binary file not shown.

BIN
CustomFileInputs/__MACOSX/CustomFileInputs/js/._.DS_Store vendored

Binary file not shown.

BIN
CustomFileInputs/__MACOSX/CustomFileInputs/js/._custom-file-input.js

Binary file not shown.

BIN
CustomFileInputs/__MACOSX/CustomFileInputs/js/._jquery-v1.min.js vendored

Binary file not shown.

BIN
CustomFileInputs/__MACOSX/CustomFileInputs/js/._jquery.custom-file-input.js

Binary file not shown.

0
web/css/bootstrap-theme.min.css → css/bootstrap-theme.min.css vendored

0
web/css/bootstrap-theme.min.css.map → css/bootstrap-theme.min.css.map

0
web/css/bootstrap.min.css → css/bootstrap.min.css vendored

0
web/css/bootstrap.min.css.map → css/bootstrap.min.css.map

0
web/css/materialize.css → css/materialize.css vendored

0
web/css/materialize.min.css → css/materialize.min.css vendored

0
web/css/stdb.css → css/stdb.css

0
web/css/style.css → css/style.css

0
web/font/material-design-icons/LICENSE.txt → font/material-design-icons/LICENSE.txt

0
web/font/material-design-icons/Material-Design-Icons.eot → font/material-design-icons/Material-Design-Icons.eot

0
web/font/material-design-icons/Material-Design-Icons.svg → font/material-design-icons/Material-Design-Icons.svg

Before

Width:  |  Height:  |  Size: 322 KiB

After

Width:  |  Height:  |  Size: 322 KiB

0
web/font/material-design-icons/Material-Design-Icons.ttf → font/material-design-icons/Material-Design-Icons.ttf

0
web/font/material-design-icons/Material-Design-Icons.woff → font/material-design-icons/Material-Design-Icons.woff

0
web/font/material-design-icons/Material-Design-Icons.woff2 → font/material-design-icons/Material-Design-Icons.woff2

0
web/font/roboto/Roboto-Bold.eot → font/roboto/Roboto-Bold.eot

0
web/font/roboto/Roboto-Bold.ttf → font/roboto/Roboto-Bold.ttf

0
web/font/roboto/Roboto-Bold.woff → font/roboto/Roboto-Bold.woff

0
web/font/roboto/Roboto-Bold.woff2 → font/roboto/Roboto-Bold.woff2

0
web/font/roboto/Roboto-Light.eot → font/roboto/Roboto-Light.eot

0
web/font/roboto/Roboto-Light.ttf → font/roboto/Roboto-Light.ttf

0
web/font/roboto/Roboto-Light.woff → font/roboto/Roboto-Light.woff

0
web/font/roboto/Roboto-Light.woff2 → font/roboto/Roboto-Light.woff2

0
web/font/roboto/Roboto-Medium.eot → font/roboto/Roboto-Medium.eot

0
web/font/roboto/Roboto-Medium.ttf → font/roboto/Roboto-Medium.ttf

0
web/font/roboto/Roboto-Medium.woff → font/roboto/Roboto-Medium.woff

0
web/font/roboto/Roboto-Medium.woff2 → font/roboto/Roboto-Medium.woff2

0
web/font/roboto/Roboto-Regular.eot → font/roboto/Roboto-Regular.eot

0
web/font/roboto/Roboto-Regular.ttf → font/roboto/Roboto-Regular.ttf

0
web/font/roboto/Roboto-Regular.woff → font/roboto/Roboto-Regular.woff

0
web/font/roboto/Roboto-Regular.woff2 → font/roboto/Roboto-Regular.woff2

0
web/font/roboto/Roboto-Thin.eot → font/roboto/Roboto-Thin.eot

0
web/font/roboto/Roboto-Thin.ttf → font/roboto/Roboto-Thin.ttf

0
web/font/roboto/Roboto-Thin.woff → font/roboto/Roboto-Thin.woff

0
web/font/roboto/Roboto-Thin.woff2 → font/roboto/Roboto-Thin.woff2

0
web/fonts/roboto/Roboto-Bold.eot → fonts/roboto/Roboto-Bold.eot

0
web/fonts/roboto/Roboto-Bold.ttf → fonts/roboto/Roboto-Bold.ttf

0
web/fonts/roboto/Roboto-Bold.woff → fonts/roboto/Roboto-Bold.woff

0
web/fonts/roboto/Roboto-Bold.woff2 → fonts/roboto/Roboto-Bold.woff2

0
web/fonts/roboto/Roboto-Light.eot → fonts/roboto/Roboto-Light.eot

0
web/fonts/roboto/Roboto-Light.ttf → fonts/roboto/Roboto-Light.ttf

0
web/fonts/roboto/Roboto-Light.woff → fonts/roboto/Roboto-Light.woff

0
web/fonts/roboto/Roboto-Light.woff2 → fonts/roboto/Roboto-Light.woff2

0
web/fonts/roboto/Roboto-Medium.eot → fonts/roboto/Roboto-Medium.eot

0
web/fonts/roboto/Roboto-Medium.ttf → fonts/roboto/Roboto-Medium.ttf

0
web/fonts/roboto/Roboto-Medium.woff → fonts/roboto/Roboto-Medium.woff

0
web/fonts/roboto/Roboto-Medium.woff2 → fonts/roboto/Roboto-Medium.woff2

0
web/fonts/roboto/Roboto-Regular.eot → fonts/roboto/Roboto-Regular.eot

0
web/fonts/roboto/Roboto-Regular.ttf → fonts/roboto/Roboto-Regular.ttf

0
web/fonts/roboto/Roboto-Regular.woff → fonts/roboto/Roboto-Regular.woff

0
web/fonts/roboto/Roboto-Regular.woff2 → fonts/roboto/Roboto-Regular.woff2

0
web/fonts/roboto/Roboto-Thin.eot → fonts/roboto/Roboto-Thin.eot

0
web/fonts/roboto/Roboto-Thin.ttf → fonts/roboto/Roboto-Thin.ttf

0
web/fonts/roboto/Roboto-Thin.woff → fonts/roboto/Roboto-Thin.woff

0
web/fonts/roboto/Roboto-Thin.woff2 → fonts/roboto/Roboto-Thin.woff2

0
web/index.html → index.html

0
web/js/bootstrap.js → js/bootstrap.js vendored

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save