User:DEmersonJMFM/globalnav.css

/***************************************************************************************/ /********************* Fixes For A Clumsy Global Navigation Bar ************************/ /*** Author(s): DEmersonJMFM (heavily modified from original code by JayJayJohnson) ****/ /* Original Version: 20:01, 2 December 2014 - Latest Update: 16:23, 28 Sepetember 2016 */ /****** ATTRIBUTION OF FOLLOWING CODE REQUIRED UNDER CC-BY-SA LICENSE IF COPIED ********/ /*                                                                                    */ /************ To Use Code, Copy/Paste Import at the Top of Your Global.css *************/ /* @import "http://community.wikia.com/index.php?title=User:DEmersonJMFM/globalnav.css&action=raw&ctype=text/css&smaxage=86400&templates=expand"; */ /*                                                                                    */ /******************************* Additional Information ********************************/ /** Code in Use: http://community.wikia.com/wiki/File:Global_Header_DEmersonJMFM.png ***/ /**** Moves/History: User:JayJayJohnson/common.css -> User:DEmersonJMFM/common.css *****/ /******** -> User:DEmersonJMFM/global.css -> User:DEmersonJMFM/globalnav.css ***********/ /***************************************************************************************/

/* Reduces Size and Removed Top Border */ .wds-global-navigation { height: 38px; border-top: none; } .wds-global-navigation__logo, .wds-global-navigation__link, .wds-global-navigation__search, .wds-global-navigation__account-menu, .wds-global-navigation__user-menu, .wds-global-navigation__notifications-menu { height: 38px; }

/* Prevent Bar From Disappearing When Scrolling */ /* .wds-global-navigation.headroom--unpinned { transform: none; box-shadow: 0 1px 0 0 #ccc; } */

/* Remove Top Ad Thus Reducing Space Under Bar */ .WikiaTopAds { display: none; }

/* Remove Completely */ .wds-global-navigation__logo-wikia-caption, /* The Home Of Fandom Logo */ .wds-global-navigation__link, /* Hub Cells */ .wds-global-navigation__wikis-menu.wds-dropdown, /* Wiki Dropdown */ .wds-global-navigation__start-a-wiki.wds-user-is-logged-in, /* Start a Wikia Button */ button.wds-button.wds-global-navigation__search-submit { display: none; } /* Search Button */

/* Changes to Wikia Positioning */ .wds-global-navigation__logo-wikia-icon { padding-bottom: 0; }

/* Search Bar Restyling */ .wds-global-navigation #searchInput::-webkit-input-placeholder { color: #767C83; } /* Chrome */ .wds-global-navigation__search-close-icon { height: 12px; width: 12px; min-width: 12px; padding-top: 5px; }

/* Restore Square Avatar & Position */ .wds-avatar.wds-is-circle { border-radius: 0; } .wds-avatar { height: 22px; width: 22px; min-width: 22px; border: solid 1px #656e78; }

/* Avatar Dropdown Improvements - Restore Hover Behavior */ /* Use w:c:dev:ExpandGlobalNavDropdownsOnHover/code.js For Drop On Hover */ .wds-list { padding: 0; } .wds-list.wds-is-linked>li>a { padding: 11px 15px; } .wds-global-navigation__dropdown-link:hover { background-color: rgba(164,182,191,0.2); }

/* Notification Improvements .global-navigation #GlobalNavigationWallNotifications { width: 300px; top: 4px; } .notifications-container .notifications-entry-point { height: 17px; width: 55px; margin-bottom: 6px; } .notifications-container .notifications-entry-point:after { margin-left: 43px; margin-top: 8px; } .notifications-container .bubbles { background-color: red; } .notifications-container .bubbles-count { color: red; }
 * 1) GlobalNavigationWallNotifications .notification { line-height: 15px; padding: 10px 0; }
 * 2) GlobalNavigationWallNotifications .notification .avatars .avatar { width: 22px; height: 22px; border-radius: 0%; }

Highlighted Notification Improvements
 * 1) GlobalNavigationWallNotifications .notification.admin-notification { padding: 10px 5px 10px 0; } */