forked from openkylin/platform_build
Merge "Remove nav toggle and up-nav for desktop size screens and remove breadcrumbs for the Studio docs, because these are not needed when there\'s only one level of "tabs"" into mnc-mr-docs am: 848295a
am: 7013662
* commit '70136620b6db6b6e6ad69a3eb9b3ad65e3a2edc2':
Remove nav toggle and up-nav for desktop size screens and remove breadcrumbs for the Studio docs, because these are not needed when there's only one level of "tabs"
Change-Id: I4753951b152e35703c01c8cb06373b63ac55b3dd
This commit is contained in:
commit
f11a8493fd
|
@ -6632,15 +6632,18 @@ div.jd-descr > .resource-widget[data-section=distribute\/tools]
|
|||
transition: opacity 200ms linear 200ms;
|
||||
}
|
||||
|
||||
@media (min-width: 720px) and (max-width: 979px) {
|
||||
@media (min-width: 720px) {
|
||||
.dac-header-tabs {
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 980px) {
|
||||
.dac-header-tabs {
|
||||
display: inline-block;
|
||||
/* Do not show nav toggle and up-nav button for left nav
|
||||
in Studio docs, when header tabs are visible */
|
||||
body.studio .dac-nav-back-button {
|
||||
display:none;
|
||||
}
|
||||
body.studio .dac-nav-sub {
|
||||
top: 0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -6754,6 +6757,10 @@ div.jd-descr > .resource-widget[data-section=distribute\/tools]
|
|||
display: inline-block;
|
||||
}
|
||||
|
||||
body.studio .dac-header-crumbs {
|
||||
display:none;
|
||||
}
|
||||
|
||||
.dac-header-crumbs.dac-has-content {
|
||||
opacity: 1;
|
||||
}
|
||||
|
@ -7398,6 +7405,21 @@ div.jd-descr > .resource-widget[data-section=distribute\/tools]
|
|||
.dac-nav-open #body-content {
|
||||
padding-left: 250px;
|
||||
}
|
||||
|
||||
/* Do not show nav toggle for Studio on large screens */
|
||||
body.studio .dac-nav-toggle {
|
||||
display:none;
|
||||
}
|
||||
body.studio .dac-header-logo {
|
||||
padding-left:20px;
|
||||
}
|
||||
/* And if the page has no subcomponent, don't show left nav at all */
|
||||
body.studio.None .dac-nav {
|
||||
display: none;
|
||||
}
|
||||
body.studio.None #body-content {
|
||||
padding-left:0;
|
||||
}
|
||||
}
|
||||
|
||||
.dac-nav-open {
|
||||
|
|
Loading…
Reference in New Issue