Skip to content

Commit

Permalink
Remove icons
Browse files Browse the repository at this point in the history
Fixed css buttons
  • Loading branch information
markusslima committed Aug 14, 2015
1 parent dc1770c commit 1d679bb
Show file tree
Hide file tree
Showing 9 changed files with 94 additions and 227 deletions.
208 changes: 0 additions & 208 deletions src/css/jquery-filestyle.css

This file was deleted.

Binary file removed src/font/fontello.eot
Binary file not shown.
14 changes: 0 additions & 14 deletions src/font/fontello.svg

This file was deleted.

Binary file removed src/font/fontello.ttf
Binary file not shown.
Binary file removed src/font/fontello.woff
Binary file not shown.
87 changes: 87 additions & 0 deletions src/jquery-filestyle.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
/*
* jquery-filestyle
* http://dev.tudosobreweb.com.br/jquery-filestyle/
*
* Copyright (c) 2015 Markus Vinicius da Silva Lima
* Version 1.5.0
* Licensed under the MIT license.
*/
.jfilestyle {
display: inline-block;
margin: 0px 0px 10px 0px;
padding: 0px;
position: relative;
border-collapse: separate;
}

div.jfilestyle label, div.jfilestyle input {
font-family: sans-serif;
}

div.jfilestyle input {
border: 1px solid #c0c0c0;
background: #d9d9d9;
margin: 0px -5px 0px 0px;
vertical-align: middle;
padding: 0.5em;
font-size: 1em;
height: 16px;
border-radius: 4px;
color: #8d8d8d;
cursor: default;
}

div.jfilestyle label {
display: inline-block;
border: 1px solid #c0c0c0;
background: #ffffff;
padding: 0.5em 0.7em;
color: #0662ba;
vertical-align: middle;
line-height: 15px;
text-align: center;
margin: 0px;
font-size: 1em;
width: auto;
border-radius: 4px;
height: 16px;
}

div.jfilestyle.jfilestyle-corner input:first-child {
border-right: 0;
}

div.jfilestyle.jfilestyle-corner input:last-child {
border-left: 0;
}

div.jfilestyle.jfilestyle-corner input:first-child,
div.jfilestyle.jfilestyle-corner span:first-child>label {
border-radius: 4px 0 0 4px;
}

div.jfilestyle.jfilestyle-corner input:last-child,
div.jfilestyle.jfilestyle-corner span:last-child>label {
border-radius: 0 4px 4px 0;
}

div.jfilestyle label[disabled] {
pointer-events: none;
opacity: 0.6;
filter: alpha(opacity=65);
cursor: not-allowed;
}

div.jfilestyle label:hover {
background: #f4f4f4;
cursor: pointer;
}

div.jfilestyle .count-jfilestyle {
background: #303030;
color: #fff;
border-radius: 50%;
padding: 1px 5px;
font-size: 12px;
vertical-align: middle;
}
12 changes: 7 additions & 5 deletions src/js/jquery-filestyle.js → src/jquery-filestyle.js
Original file line number Diff line number Diff line change
Expand Up @@ -295,12 +295,13 @@
$.fn.jfilestyle.defaults = {
'buttonText': 'Choose file',
'input': true,
'iconName': 'icon-folder-open',
'icon': true,
'disabled': false,
'buttonBefore': false,
'size': '200px',
'iconName': 'icon-folder-open',
'theme': ''
'theme': '',
'placeholder': ''
};

$.fn.jfilestyle.noConflict = function () {
Expand All @@ -314,13 +315,14 @@
var $this = $(this),
options = {
'buttonText': $this.attr('data-buttonText'),
'input': $this.attr('data-input') === 'false' ? false : true,
'iconName': $this.attr('data-iconName'),
'icon': $this.attr('data-icon') === 'false' ? false : true,
'input': $this.attr('data-input') === 'false' ? false : true,
'disabled': $this.attr('data-disabled') === 'true' ? true : false,
'buttonBefore': $this.attr('data-buttonBefore') === 'true' ? true : false,
'size': $this.attr('data-size'),
'iconName': $this.attr('data-iconName'),
'theme': $this.attr('data-theme')
'theme': $this.attr('data-theme'),
'placeholder': $this.attr('data-placeholder')
};

$this.jfilestyle(options);
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 1d679bb

Please sign in to comment.