Skip to content
This repository has been archived by the owner on Oct 15, 2019. It is now read-only.

Commit

Permalink
new version of Waves
Browse files Browse the repository at this point in the history
  • Loading branch information
kkortes committed Dec 29, 2014
1 parent 10e95b1 commit dd9b4c3
Show file tree
Hide file tree
Showing 27 changed files with 363 additions and 484 deletions.
Binary file removed fonts/.DS_Store
Binary file not shown.
Binary file removed js/.DS_Store
Binary file not shown.
5 changes: 4 additions & 1 deletion js/libs/Waves-master/.gitignore 100755 → 100644
Expand Up @@ -29,4 +29,7 @@ node_modules
*.png

# Situs compiled dir
situs
situs

# Apple stuff
.DS_Store
27 changes: 15 additions & 12 deletions js/libs/Waves-master/Gruntfile.js 100755 → 100644
@@ -1,10 +1,19 @@
module.exports = function(grunt) {
grunt.initConfig({

cssmin: {
minify: {
less: {
build: {
options: {},
files: {
'dist/waves.min.css': ['src/css/waves.css']
'dist/waves.css': 'src/less/waves.less'
}
},
minified: {
options: {
cleancss:true
},
files: {
'dist/waves.min.css': 'src/less/waves.less'
}
}
},
Expand Down Expand Up @@ -45,12 +54,6 @@ module.exports = function(grunt) {
src: 'waves.js',
dest: 'dist/'
},
css: {
expand: true,
cwd: 'src/css',
src: 'waves.css',
dest: 'dist/'
},
docs: {
expand: true,
cwd: 'dist',
Expand All @@ -66,7 +69,7 @@ module.exports = function(grunt) {
event: ['added', 'deleted', 'changed']
},
files: ['src/**/*'],
tasks: ['cssmin', 'jshint', 'uglify', 'copy']
tasks: ['less', 'jshint', 'uglify', 'copy']
},
grunt: {
files: ['Gruntfile.js']
Expand All @@ -76,13 +79,13 @@ module.exports = function(grunt) {

// Load module
grunt.loadNpmTasks('grunt-contrib-concat');
grunt.loadNpmTasks('grunt-contrib-cssmin');
grunt.loadNpmTasks('grunt-contrib-less');
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-contrib-copy');
grunt.loadNpmTasks('grunt-contrib-watch');

// Create grunt task
grunt.registerTask('build', ['cssmin', 'jshint', 'uglify', 'copy']);
grunt.registerTask('build', ['less', 'jshint', 'uglify', 'copy']);
grunt.registerTask('default', ['watch']);
};
39 changes: 17 additions & 22 deletions js/libs/Waves-master/LICENSE 100755 → 100644
@@ -1,26 +1,21 @@
Copyright (c) 2014, Publicis Metro Indonesia, PT. All rights reserved.
The MIT License (MIT)

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
Copyright (c) 2014 Alfiana E. Sibuea

* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

* Neither the name of Publicis Metro Indonesia, PT. nor the names of Waves
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
12 changes: 8 additions & 4 deletions js/libs/Waves-master/README.md 100755 → 100644
@@ -1,7 +1,7 @@
# Waves

Click effect inspired by Google's Material Design
http://publicis-indonesia.github.io/Waves/
http://fian.my.id/Waves/

## Documentation

Expand All @@ -10,12 +10,16 @@ Here is some steps to run documentation locally on your computer,

1. Make sure Node.js and npm installed in your computer. If it's not installed yet, just get the installer [here](http://nodejs.org/).
2. Install Situs globally via npm (`npm install situs -g`).
3. Clone Waves's Github repository, if you haven't one (`git clone https://github.com/publicis-indonesia/Waves.git`).
3. Clone Waves's Github repository, if you haven't one (`git clone https://github.com/fians/Waves.git`).
4. Go to Waves directory and just start Situs server (`situs server`).
5. Then visit [http://localhost:4000/](http://localhost:4000/) on your browser.

## Notes

Thanks for [BrowserStack](http://www.browserstack.com/) by providing a great testing tools for this projects.


## License
Waves created by [Alfiana Sibuea](http://fian.my.id), and released under [BSD license](https://github.com/publicis-indonesia/Waves/blob/master/LICENSE).
Waves created by [Alfiana Sibuea](http://fian.my.id), and released under [MIT license](https://github.com/fians/Waves/blob/master/LICENSE).

Copyright 2014 Publicis Metro Indonesia, PT. All rights reserved.
Copyright © 2014 Alfiana E. Sibuea. All rights reserved.
9 changes: 6 additions & 3 deletions js/libs/Waves-master/bower.json 100755 → 100644
@@ -1,7 +1,7 @@
{
"name": "Waves",
"version": "0.5.1",
"homepage": "http://publicis-indonesia.github.io/Waves",
"version": "0.5.5",
"homepage": "http://fian.my.id/Waves",
"authors": [
"Alfiana E. Sibuea <alfian.sibuea@gmail.com>"
],
Expand All @@ -11,7 +11,7 @@
"click",
"material-design"
],
"license": "BSD",
"license": "MIT",
"ignore": [
"**/.*",
"node_modules",
Expand All @@ -24,3 +24,6 @@
"README.md"
]
}



190 changes: 91 additions & 99 deletions js/libs/Waves-master/dist/waves.css 100755 → 100644
@@ -1,134 +1,126 @@

/*!
* Waves v0.5.1
* https://publicis-indonesia.github.io/Waves
*
* Copyright 2014 Publicis Metro Indonesia, PT. and other contributors
* Released under the BSD license
* https://github.com/publicis-indonesia/Waves/blob/master/LICENSE
* Waves v0.5.5
* http://fian.my.id/Waves
*
* Copyright 2014 Alfiana E. Sibuea and other contributors
* Released under the MIT license
* https://github.com/fians/Waves/blob/master/LICENSE
*/

.waves-effect {
position: relative;
cursor: pointer;
display: inline-block;
overflow: hidden;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-tap-highlight-color: transparent;
-webkit-transition: all .3s ease-out;
-moz-transition: all .3s ease-out;
-o-transition: all .3s ease-out;
transition: all .3s ease-out;
}

position: relative;
cursor: pointer;
display: inline-block;
overflow: hidden;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-tap-highlight-color: transparent;
-webkit-transition: all 0.3s ease-out;
-moz-transition: all 0.3s ease-out;
-o-transition: all 0.3s ease-out;
transition: all 0.3s ease-out;
}
.waves-effect .waves-ripple {
position: absolute;
border-radius: 50%;
width:100px;
height:100px;
opacity:0;
background-color: rgba(0, 0, 0, 0.2);
-webkit-transition: all 0.5s ease-out;
-moz-transition: all 0.5s ease-out;
-o-transition: all 0.5s ease-out;
transition: all 0.5s ease-out;
-webkit-transform: scale(0);
-moz-transform: scale(0);
-ms-transform: scale(0);
-o-transform: scale(0);
transform: scale(0);
}


position: absolute;
border-radius: 50%;
width: 100px;
height: 100px;
margin-top: -50px;
margin-left: -50px;
opacity: 0;
background-color: rgba(0, 0, 0, 0.2);
-webkit-transition: all 0.5s ease-out;
-moz-transition: all 0.5s ease-out;
-o-transition: all 0.5s ease-out;
transition: all 0.5s ease-out;
-webkit-transition-property: -webkit-transform, opacity;
-moz-transition-property: -moz-transform, opacity;
-o-transition-property: -o-transform, opacity;
transition-property: transform, opacity;
-webkit-transform: scale(0);
-moz-transform: scale(0);
-ms-transform: scale(0);
-o-transform: scale(0);
transform: scale(0);
pointer-events: none;
}
.waves-effect.waves-light .waves-ripple {
background-color: rgba(255, 255, 255, 0.4);
background-color: rgba(255, 255, 255, 0.4);
}

.waves-notransition {
-webkit-transition: none !important;
transition: none !important;
-webkit-transition: none !important;
-moz-transition: none !important;
-o-transition: none !important;
transition: none !important;
}

.button.waves-effect,
.waves-button,
.waves-button,
.waves-circle {
-webkit-mask-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAA5JREFUeNpiYGBgAAgwAAAEAAGbA+oJAAAAAElFTkSuQmCC);
-webkit-transform: translateZ(0);
-moz-transform: translateZ(0);
-ms-transform: translateZ(0);
-o-transform: translateZ(0);
transform: translateZ(0);
-webkit-mask-image: -webkit-radial-gradient(circle, #ffffff 100%, #000000 100%);
}

.button,
.waves-button,
.waves-button:hover,
.waves-button:visited,
.waves-button:link,
.waves-button-input {
white-space: nowrap;
/*vertical-align: middle;*/
cursor: pointer;
border:none;
outline:none;
/*background:transparent;*/
color: inherit;
/*font-size:14px;*/
text-align: center;
text-decoration:none;
/*z-index:1;*/
}


.button,
white-space: nowrap;
vertical-align: middle;
cursor: pointer;
border: none;
outline: none;
color: inherit;
background-color: rgba(0, 0, 0, 0);
font-size: 14px;
text-align: center;
text-decoration: none;
z-index: 1;
}
.waves-button {
/* padding:10px 15px;*/
border-radius:2px;
padding: 10px 15px;
border-radius: 2px;
}

.waves-button-input {
margin:0;
padding:10px 15px;
margin: 0;
padding: 10px 15px;
}

.waves-input-wrapper {
border-radius:2px;
vertical-align: bottom;
border-radius: 2px;
vertical-align: bottom;
}

.waves-input-wrapper.waves-button {
padding:0;
padding: 0;
}

.waves-input-wrapper .waves-button-input {
position: absolute;
top: 0;
left: 0;
z-index: 1;
position: relative;
top: 0;
left: 0;
z-index: 1;
}

.waves-circle {
text-align:center;
width:2.5em;
height:2.5em;
line-height:2.5em;
border-radius:50%;
text-align: center;
width: 2.5em;
height: 2.5em;
line-height: 2.5em;
border-radius: 50%;
}

.waves-float {
-webkit-mask-image:none;
-webkit-box-shadow: 0px 1px 1.5px 1px rgba(0, 0, 0, 0.12);
box-shadow: 0px 1px 1.5px 1px rgba(0, 0, 0, 0.12);
-webkit-mask-image: none;
-webkit-box-shadow: 0px 1px 1.5px 1px rgba(0, 0, 0, 0.12);
box-shadow: 0px 1px 1.5px 1px rgba(0, 0, 0, 0.12);
}

.waves-float:active {
-webkit-box-shadow: 0px 8px 20px 1px rgba(0, 0, 0, 0.30);
box-shadow: 0px 8px 20px 1px rgba(0, 0, 0, 0.30);
-webkit-box-shadow: 0px 8px 20px 1px rgba(0, 0, 0, 0.3);
box-shadow: 0px 8px 20px 1px rgba(0, 0, 0, 0.3);
}

.waves-block {
display:block;
display: block;
}

/* Firefox Bug: link not triggered */
a.waves-effect .waves-ripple {
z-index:-1;
}
z-index: -1;
}

0 comments on commit dd9b4c3

Please sign in to comment.