Changeset 11264
- Timestamp:
- 12/02/2016 10:07:28 AM (8 years ago)
- Location:
- branches/2.7/src/bp-templates/bp-legacy/css
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.7/src/bp-templates/bp-legacy/css/twentysixteen-rtl.css
r11132 r11264 59 59 *------------------------------------------------------------------------------- 60 60 */ 61 /** 62 * Corrective measure to deal with 2016 / BP handling of no-js 63 * classes - hide menu if BP still showing 'no-js'. 64 */ 65 @media screen and (max-width: 905px) { 66 html.js body.no-js .site-header-menu { 67 display: none; 68 } 69 } 70 61 71 .buddypress div.clear { 62 72 display: none; -
branches/2.7/src/bp-templates/bp-legacy/css/twentysixteen.css
r11132 r11264 59 59 *------------------------------------------------------------------------------- 60 60 */ 61 /** 62 * Corrective measure to deal with 2016 / BP handling of no-js 63 * classes - hide menu if BP still showing 'no-js'. 64 */ 65 @media screen and (max-width: 905px) { 66 html.js body.no-js .site-header-menu { 67 display: none; 68 } 69 } 70 61 71 .buddypress div.clear { 62 72 display: none; -
branches/2.7/src/bp-templates/bp-legacy/css/twentysixteen.scss
r11132 r11264 236 236 */ 237 237 238 238 // A conflict between BP's body.no-js being removed only 239 // when the DOM is fully loaded & Twentysixteens hardcoded 240 // class on the html el & scripting in head at start of DOM 241 // causes mobile menu to stay opened too long. 242 // This ruleset hides menu if html.js (2016 JS has kicked in) but BP still 243 // rendering body.no-js before it's own JS removal kicks in. 244 // See trac ticket https://buddypress.trac.wordpress.org/ticket/7314 245 246 /** 247 * Corrective measure to deal with 2016 / BP handling of no-js 248 * classes - hide menu if BP still showing 'no-js'. 249 */ 250 251 @media screen and (max-width: 905px) { 252 253 html.js { 254 255 body.no-js { 256 257 .site-header-menu { 258 display: none; 259 } 260 } 261 } 262 } 239 263 240 264 .buddypress {
Note: See TracChangeset
for help on using the changeset viewer.