Skip to content

Instantly share code, notes, and snippets.

@Ratko-Solaja
Created November 8, 2016 11:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Ratko-Solaja/de46f37139ebfb8a9924e0518cc350be to your computer and use it in GitHub Desktop.
Save Ratko-Solaja/de46f37139ebfb8a9924e0518cc350be to your computer and use it in GitHub Desktop.
Notification
/**
* Notification
*/
.toptal-save-notification {
display: block;
position: fixed;
left: 0;
right: 0;
bottom: 0;
z-index: 99999;
background-color: #f6f7f9;
border-top: 1px solid #dddfe2;
font-size: 0;
line-height: 0;
padding: 10px;
-webkit-transform: translateY(100%);
-moz-transform: translateY(100%);
-ms-transform: translateY(100%);
-o-transform: translateY(100%);
transform: translateY(100%);
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-ms-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
transition: all 0.3s ease-in-out;
}
.toptal-save-notification.active {
-webkit-transform: translateY(0);
-moz-transform: translateY(0);
-ms-transform: translateY(0);
-o-transform: translateY(0);
transform: translateY(0);
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-ms-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
transition: all 0.3s ease-in-out;
}
.toptal-save-notification span,
.toptal-save-notification a {
display: inline-block;
vertical-align: middle;
}
.toptal-save-notification span.notification-icon {
width: 13px;
height: 16px;
background-image: url("../img/saved-icon.png");
background-repeat: no-repeat;
background-position: center;
background-size: 13px 16px;
margin-right: 10px;
}
.toptal-save-notification a.notification-link {
font-size: 14px;
line-height: 16px;
margin-left: 10px;
color: #4080FF;
box-shadow: none !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment