hueman/assets/front/css/_parts/9_0_footer.css
nikeo deb3af13cd improved : sanitize_hex_color
improved js front ui
added : new option color mobile menu
added : new mobile sticky option
v3.3.8 prod
2017-04-05 11:09:42 +02:00

81 lines
No EOL
3.5 KiB
CSS

/* ------------------------------------------------------------------------- *
* Section: Footer
/* ------------------------------------------------------------------------- */
#footer { background: #fff; color: #777; width: 100%; }
#footer a { color: #777; }
#footer a:hover { color: #ccc; }
#footer .pad { padding-bottom: 30px; }
#footer-full-width-widget { text-align: center; padding: 10px 0; border-bottom: 1px solid #eee; }
/*#footer #footer-full-width-widget .widget { padding-bottom: 0; font-size: 0; line-height: 0; }
#footer-full-width-widget h3 { display: none; }*/
#footer-widgets{
padding-top: 20px;
}
[class*=footer-widget-] {
min-height: 1px;
}
#footer-bottom { background: #33363b; }
#footer-bottom .pad { padding-top: 30px; }
#footer-bottom a { color: #fff; color: rgba(255,255,255,0.7); }
#footer-bottom a:hover { color: #fff; }
#footer-bottom #footer-logo { display: block; margin-bottom: 20px; max-height: 50px; -webkit-border-radius: 0; border-radius: 0; }
#footer-bottom #copyright,
#footer-bottom #credit { color: #fff; color: rgba(255,255,255,0.5); font-size: 0.9375em; line-height: 1.5em; }
#footer-bottom #back-to-top { background: #eaeaea; color: #777; overflow: hidden; text-align: center; width: 60px; height: 30px; display: block; margin: 0 auto; margin: 0 auto -30px;
-webkit-border-radius: 0 0 3px 3px; border-radius: 0 0 3px 3px;
-webkit-box-shadow: inset 0 1px 0 rgba(0,0,0,0.05);
box-shadow: inset 0 1px 0 rgba(0,0,0,0.05); }
#footer-bottom #back-to-top i { font-size: 2.375em; position: relative; top: -7px; }
#footer-bottom #back-to-top:hover { color: #444; }
#footer-bottom .social-links { padding-top: 10px; }
#footer-bottom .social-links a { color: rgba(255,255,255,0.6); }
#footer-bottom .social-links a:hover { color: #fff; }
#footer-bottom .social-links .social-tooltip { font-size: 1.75rem; }
/* footer : nav
/* ------------------------------------ */
#nav-footer.nav-container { background: #fff; border-top: 1px solid #eee; }
#nav-footer .nav-toggle { background: transparent; color: #444; border-left: 1px solid #eee; }
@media only screen and (min-width: 720px) {
/* common */
#nav-footer .nav { text-align: center; }
#nav-footer .nav li a { color: #33363b; }
/* level 1 */
#nav-footer .nav > li > a { padding: 12px 18px; }
#nav-footer .nav > li { border-right: 0; }
#nav-footer .nav > li:first-child { border-left: 0; }
#nav-footer .nav > li > a:hover,
#nav-footer .nav > li:hover > a { background: #f0f0f0; }
#nav-footer .nav li > a:hover,
#nav-footer .nav li:hover > a,
#nav-footer .nav li.current_page_item > a,
#nav-footer .nav li.current-menu-item > a,
#nav-footer .nav li.current-menu-ancestor > a,
#nav-footer .nav li.current-post-parent > a { color: #666; }
/* level 2 & 3 */
#nav-footer .nav ul { background: #f0f0f0; bottom: 44px; top: auto; text-align: left;
-webkit-box-shadow: 0 -2px 2px rgba(0,0,0,0.05);
box-shadow: 0 -2px 2px rgba(0,0,0,0.05); }
#nav-footer .nav ul li { border-bottom: 1px solid #e4e4e4; }
#nav-footer .nav ul ul { top: -10px; }
/* level 3 */
#nav-footer .nav ul ul { position: absolute; top: auto; bottom: -10px; }
}
@media only screen and (max-width: 719px) {
/* common */
#nav-footer .nav li a { color: #999; color: rgba(0,0,0,0.8); border-top: 1px solid #f2f2f2; }
/* level 1 */
#nav-footer .nav li > a:hover { background: #f2f2f2; color: #444; }
#nav-footer .nav li.current_page_item > a,
#nav-footer .nav li.current-menu-item > a,
#nav-footer .nav li.current-post-parent > a { background: #f2f2f2; color: #444; }
}