Skip to content

Commit

Permalink
Replace image paths with encoded images to avoid issues in some speci…
Browse files Browse the repository at this point in the history
…al cases

* Update bower and package main files to also have css.
  • Loading branch information
ziaulrehman40 committed Feb 6, 2017
1 parent 7b398bd commit 680aefd
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions angular-datepicker-light.js
Original file line number Diff line number Diff line change
Expand Up @@ -1375,3 +1375,4 @@

}));


2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "angular-datepicker-light",
"version": "1.2.1",
"description": "AngularJS datepicker plugin",
"main": "angular-datepicker-light.js",
"main": ["angular-datepicker-light.js", "./stylesheets/angular-datepicker-light.css"],
"homepage": "http://www.vickram.me/angular-datepicker-light-plugin/",
"authors": [
"Vickram Ravichandran (http://vickram.me)"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "angular-datepicker-light",
"version": "1.2.1",
"description": "AngularJS datepicker plugin",
"main": "angular-datepicker-light.js",
"main": ["angular-datepicker-light.js", "./stylesheets/angular-datepicker-light.css"],
"homepage": "http://www.vickram.me/angular-datepicker-light-plugin/",
"author": "Vickram Ravichandran (http://vickram.me)",
"license": "MIT",
Expand Down
4 changes: 2 additions & 2 deletions stylesheets/angular-datepicker-light.css
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@ div.datepicker-container > div.top-panel {
}

div.datepicker-container > div.top-panel a.prev {
background-image: image-url("angular-datepicker-light/stylesheets/images/chevron-left.png");
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAQCAYAAAAiYZ4HAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAFJJREFUKJHlzbERQEAQQNE3GhDQCTO0fh0IUQkVnOhk5xBIbLj73yzXUyNgLHRnPCFiR383jpjR/DaucofSPPqSQ8tb1H6C1qdoQ1cCCQUMaXEAyUEw5kLhpCcAAAAASUVORK5CYII=);
}

div.datepicker-container > div.top-panel a.next {
margin-left: 15px;
background-image: image-url("angular-datepicker-light/stylesheets/images/chevron-right.png");
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAQCAYAAAAiYZ4HAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAFBJREFUKJHt0LsNgEAMBNEH1ManKISgNCgKyCA44pOds5KzGWu1lGxYBbPg+S4k9Th/qSK1FamJfIYBV7RSCh4z8JSF7ygMcwbucCgT7hHhBW/dMgUFnWL2AAAAAElFTkSuQmCC);
}

div.datepicker-container > div.top-panel select {
Expand Down
Binary file removed stylesheets/images/chevron-left.png
Binary file not shown.
Binary file removed stylesheets/images/chevron-right.png
Binary file not shown.

0 comments on commit 680aefd

Please sign in to comment.