PHP Classes

File: htdocs/themes/xbootstrap/css/headhesive.css

Recommend this page to a friend!
  Classes of Michael Beck   Xoops 2.5   htdocs/themes/xbootstrap/css/headhesive.css   Download  
File: htdocs/themes/xbootstrap/css/headhesive.css
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Xoops 2.5
Modular content management publication system
Author: By
Last change:
Date: 7 years ago
Size: 1,494 bytes
 

Contents

Class file image Download
/*----------------------------------------------------------------------------*\ Headhesive Specific Styles /*----------------------------------------------------------------------------*/ /** * Headhesive element clone * > `clone` class for the cloned element: * | var options = { | classes { | clone: 'adhesiveHeader--clone'; | } | } * */ .adhesiveHeader--clone { /* Required styles */ position: fixed; top: 0; left: 0; right: 0px; z-index: 999; /* Additional styles */ /*background: #c95a5d;*/ /* Translate -100% to move off screen */ -webkit-transform: translateY(-100%); -ms-transform: translateY(-100%); transform: translateY(-100%); /* Animations */ -webkit-transition: all 300ms ease-in-out; -moz-transition: all 300ms ease-in-out; transition: all 300ms ease-in-out; } /** * Headhesive stick * > `stick` class for the cloned element: * | var options = { | classes { | stick: 'adhesiveHeader--stick'; | } | } * */ .adhesiveHeader--stick { /* Translate back to 0%; */ -webkit-transform: translateY(0%); -ms-transform: translateY(0%); transform: translateY(0%); } /** * Headhesive unstick * > `unstick` class for the cloned element: * | var options = { | classes { | unstick: 'adhesiveHeader--unstick'; | } | } * */ .adhesiveHeader--unstick { /* Not required to use, but could be useful to have */ }