/* Styling of sections and toggling moved from beta_common.css in Change-Id: I683d029d09340a460b02016c5c4fbd6ada5a9b35 */ @import "../mf-mixins.less"; .section_heading button { display: none; /* for non-js browsers */ overflow: hidden; width: 27px; border: none; text-indent: -999px; float: right; opacity: 0.5; cursor: pointer; } .page-loading .section { opacity: 0.2; } .page-loading.togglingEnabled .section { opacity: 1; } .page-loading.togglingEnabled .section_heading button { display: none; } .togglingEnabled .section_heading { &#section_0 { button { background-position: right bottom; } } button { display: inline-block; background: none; background-repeat: no-repeat; background-position: right center; -webkit-background-size: auto 9px; background-size: auto 9px; } } .togglingEnabled .section_heading.openSection button { background-image: url(images/hide.png); } .togglingEnabled .section_heading button { background-image: url(images/show.png); } .openSection button { opacity: 1; } .content_block { width: 100%; // bug 41401 - without this content doesn't always take up whole width } .togglingEnabled .content_block { position: relative; overflow: hidden; -webkit-tap-highlight-color: rgba(0,0,0,0); /* fix for Bug 36196 */ } .togglingEnabled #footer .content_block, .togglingEnabled .content_block:last-child { border-bottom: none; } .togglingEnabled { a.section_anchors { display: none; &.openSection { display: block; } margin-bottom: 5px; margin-top: 7px; color: blue; } } .togglingEnabled .openSection.content_block { -webkit-tap-highlight-color: normal; /* fix for Bug 36196 */ &.loading, &.ajaxError { .box-sizing( border-box ); padding-top: 48px; line-height: 2em; background-position: left top; button { display: block; } } &.ajaxError { background-image: url(images/warning.png); } } .page-loading .section_anchors, .page-loading .content_block, .togglingEnabled .content_block { display: none; &.openSection { display: block; } } .togglingEnabled .openSection.content_block { display: block; } #content_wrapper .section { clear: both; border-bottom: solid 1px #E2E3E4; }