Code Monkey home page Code Monkey logo

ripple's People

Contributors

holloway avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ripple's Issues

Some elements doesn't have hover effects.

This elements have:

<header>
...
...
	<a
		class="main_title"
		onclick="go_after_timeout(this, event, '{{ link___main_page }}')"
	>
		{% if DEFAULT_LANG == "ru"  %}Добро пожаловать на личную страницу vlad1777d
		{% else %}Welcome to vlad1777d personal page
		{% endif %}
	</a>
...
...
</header

and such does not:

<header>
...
...
<div class="language_switcher">
	<a class="language_button russian_button button_ripple" onclick="go_after_timeout(this, event, '{{ link___main_page___russian }}')"></a>
	<div class="language_button_separator"></div>
	<a class="language_button english_button button_ripple" onclick="go_after_timeout(this, event, '{{ link___main_page___english }}')"></a>
</div>
...
...
</header>

their css:

.language_switcher {
	display: block;
	position: absolute;
	/*top: 3vmin;
	right: 1vmin;*/
	top: 0vmin;
	right: 0vmin;
	padding-top: 3vmin;
	padding-right: 1vmin;
	padding-left: 12vmin;
	height: 12vmin;
	z-index: 1;
}
.language_button {
	display: block;
	width: 32pt;
	height: 18pt;

	background-size: 100% 100%;
	box-shadow: 0 0 3pt 0px hsla(0, 0%, 0%, 0.8), inset 0 0 16pt 0px hsla(0, 0%, 0%, 0.8);

	transition-duration: 0.6s;
}



.main_title {
	/* Заглавие "Добро пожаловать" со ссылкой на главную страницу. */
	display: flex;
	justify-content: flex-start;
	align-items: center;
	
	width: calc(100% - (8.33vw + 2.08vw + 16.66vw)); /* accounting padding */
	height: 16.66vh;
	margin: 0;
	padding-left: calc(8.33vw + 2.08vw);
	padding-right: 16.66vw;

	font-size: 18pt;

	background-color: hsla(0, 0%, 50%, 0.0);

	transition-duration: 0.5s;
}

I'm trying to add it to this website (vlad1777d only page), it's full css:
https://github.com/vlad1777d/vlad1777d.github.io/blob/master/theme/css/block___header.css
it's html:
https://github.com/vlad1777d/vlad1777d.github.io/blob/master/index.html

Update: commented background-color here: https://github.com/vlad1777d/vlad1777d.github.io/blob/master/theme/css/block___header.css#L163
and ripple effect appeared on this submenu items (submenu > a).

Update: my website with partially implemented adding ripple.js:
vlad1777d.github.io___bug_ripple.js.zip
(it depends on current location, so it could be build with script "compile___vlad1777d___local.py" using pelican and python
(python3 and pelican static website generator must be installed)

Not working in IE11

Let me start by thanking you for your work.

As the title mentions it doesn't work in IE11

It works in Chrome, Firefox, Safari and Opera.

Bad display effect on firefox

MacOS10.10 + Firefox33: ripple base button center position not base click position

Windows7x64 + Firefox32: ripple strange

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.