blob: 7ded9dcec282354612ea62848227088004766c51 [file] [log] [blame]
{
"version": 3,
"sources": ["_header.css", "unit.css"],
"sourcesContent": ["/*!\n * Copyright 2020-2021 The Go Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style\n * license that can be found in the LICENSE file.\n */\n\n.UnitHeader-titleHeading {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.UnitHeader-overflowContainer {\n display: none;\n height: 1.5rem;\n position: absolute;\n right: 0;\n width: 1.5rem;\n}\n\n.go-Main-header[data-fixed] .UnitHeader-overflowContainer {\n display: block;\n}\n@media screen and (min-width: 80rem) {\n .go-Main-header[data-fixed] .UnitHeader-overflowContainer {\n display: none;\n }\n}\n\n.UnitHeader-overflowImage {\n fill: var(--gray-3);\n height: 100%;\n left: 0;\n position: absolute;\n top: 0;\n width: 100%;\n}\n\n.UnitHeader-overflowSelect {\n appearance: none;\n background: transparent;\n border: 0;\n color: transparent;\n cursor: pointer;\n font-size: 1rem;\n height: 100%;\n left: 0;\n position: absolute;\n top: 0;\n width: 100%;\n}\n\n.UnitHeader-overflowSelect option {\n color: var(--color-text);\n}\n\n.UnitHeader-versionBadge,\n.DetailsHeader-badge {\n border-radius: unset;\n color: var(--color-text-inverted);\n font-size: 0.7rem;\n line-height: 0.85rem;\n margin: -1rem 0 -1rem 0.5rem;\n padding: 0.25rem 0.5rem;\n text-transform: uppercase;\n top: -0.0625rem;\n}\n\n.UnitHeader-versionBadge--unknown,\n.DetailsHeader-badge--unknown {\n display: none;\n}\n\na.UnitHeader-backLink {\n color: var(--color-text);\n display: block;\n font-size: 1rem;\n position: absolute;\n right: 0.625rem;\n top: 1.25rem;\n}\n\n.UnitHeader-backLink img {\n vertical-align: middle;\n}\n\n.DetailsHeader-badge--notAtLatest a {\n display: none;\n}\n\n.DetailsHeader-badge--notAtLatest span.DetailsHeader-span--latest {\n display: none;\n}\n\n.DetailsHeader-badge--notAtLatest .UnitMetaDetails-icon {\n z-index: 1;\n}\n\n.DetailsHeader-badge--notAtLatest .UnitMetaDetails-toggletipBubble {\n color: var(--black);\n text-transform: none;\n}\n\n.DetailsHeader-span--notAtLatest .UnitMetaDetails-toggletip {\n height: 0;\n}\n\n.DetailsHeader-span--notAtLatest .UnitMetaDetails-toggletip button {\n height: 0.8125rem;\n line-height: 0;\n}\n\n.DetailsHeader-span--notAtLatest .UnitMetaDetails-toggletip img {\n vertical-align: middle;\n}\n\n.DetailsHeader-badge--goToLatest span {\n display: none;\n}\n\n.DetailsHeader-badge--goToLatest span.DetailsHeader-span--goToLatest {\n display: initial;\n}\n\n.DetailsHeader-badge--unknown a {\n display: none;\n}\n\n.DetailsHeader-badge--unknown span {\n display: none;\n}\n\n.DetailsHeader-badge {\n border-radius: 1rem;\n display: inline-block;\n font-size: 0.75rem;\n padding: 0.25rem 0.75rem;\n position: relative;\n top: -0.125rem;\n}\n\n.DetailsHeader-badge--latest a {\n display: none;\n}\n\n.DetailsHeader-badge--goToLatest a:hover {\n text-decoration: none;\n}\n\n.DetailsHeader-badge--latest span.DetailsHeader-span--notAtLatest {\n display: none;\n}\n\n.DetailsHeader-badge--goToLatest,\n.DetailsHeader-badge--latest,\n.DetailsHeader-badge--notAtLatest {\n margin-left: 0.25rem;\n}\n", "/*!\n * Copyright 2021 The Go Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style\n * license that can be found in the LICENSE file.\n */\n\n@import url('./_header.css');\n\n.go-Main {\n background-color: var(--color-background);\n color: var(--color-text);\n display: grid;\n flex-grow: 1;\n grid-template: repeat(6, min-content) / 100%;\n grid-template-areas:\n 'banner'\n 'header'\n 'aside'\n 'nav'\n 'article'\n 'footer';\n min-height: 32rem;\n}\n\n.go-Main-banner {\n grid-area: banner;\n padding: 1rem var(--gutter) 0 var(--gutter);\n}\n\n.go-Main-header {\n background-color: var(--color-background);\n border-bottom: var(--border);\n font-size: 0.875rem;\n grid-area: header;\n min-height: var(--js-unit-header-height);\n padding: 0 var(--gutter);\n transition: box-shadow 0.25s linear;\n z-index: 10;\n}\n\n.go-Main-header[data-fixed] {\n border-bottom: none;\n position: sticky;\n top: var(--js-unit-header-top, 0);\n}\n\n.go-Main-header[data-raised] {\n border-bottom: var(--border);\n}\n\n.go-Main-nav {\n background-color: var(--color-background);\n border-bottom: var(--border);\n font-size: 0.875rem;\n grid-area: nav;\n padding: 0 var(--gutter);\n}\n\n.go-Main-article {\n background-color: var(--color-background);\n grid-area: article;\n margin: var(--gap) 0 5rem 0;\n min-height: 32rem;\n padding: 0 var(--gutter);\n}\n\n.go-Main-aside {\n background-color: var(--color-background-accented);\n border-bottom: var(--border);\n font-size: 0.875rem;\n grid-area: aside;\n padding: 1rem var(--gutter);\n}\n\n.go-Main-aside--empty {\n border-bottom: none;\n padding: 0;\n}\n\n.go-Main-footer {\n background-color: var(--color-background);\n grid-area: footer;\n padding: 0 var(--gutter);\n}\n\n.go-Main > *:empty {\n border: none;\n margin: 0;\n padding: 0;\n}\n\n.go-Main-headerBreadcrumb {\n margin-top: 1rem;\n}\n\n.go-Main-headerContent {\n margin-bottom: 1rem;\n position: sticky;\n top: 0;\n}\n\n.go-Main-headerContent[data-fixed] {\n align-items: center;\n display: flex;\n margin-bottom: 0;\n min-height: 0;\n}\n@media screen and (min-width: 80rem) {\n .go-Main-headerContent[data-fixed] {\n justify-content: space-between;\n }\n}\n\n.go-Main-headerTitle {\n align-items: center;\n display: flex;\n gap: 0.5rem;\n height: 3.5rem;\n max-width: 100%;\n padding-right: 1.5rem;\n}\n@media screen and (min-width: 80rem) {\n .go-Main-headerTitle[data-fixed] {\n max-width: 40%;\n }\n}\n\n.go-Main-headerTitle .go-Clipboard {\n display: none;\n}\n\n.go-Main-headerTitle[data-fixed] .go-Clipboard {\n display: initial;\n}\n\n.go-Main-headerLogo {\n --logo-height: 1.75rem;\n --logo-width: calc(var(--logo-height) / 0.3768);\n\n align-items: center;\n display: flex;\n margin-right: -0.5rem;\n opacity: 0;\n transition: opacity 0.25s ease-in-out, width 0.25s ease-out;\n visibility: hidden;\n width: 0;\n}\n\n.go-Main-headerLogo img {\n height: var(--logo-height);\n margin: -1rem 0;\n width: var(--logo-width);\n}\n\n.go-Main-headerLogo[data-fixed] {\n margin-right: 0;\n opacity: 1;\n visibility: visible;\n width: var(--logo-width);\n}\n\n.go-Main-headerDetails {\n display: flex;\n flex-flow: row wrap;\n gap: 0 1rem;\n white-space: nowrap;\n}\n\n.go-Main-headerDetails[data-fixed] {\n display: none;\n}\n@media screen and (min-width: 80rem) {\n :root:not([data-layout='compact']) .go-Main-headerDetails[data-fixed] {\n display: flex;\n }\n}\n\n.go-Main-headerDetailItem {\n color: var(--color-text-subtle);\n display: inline;\n font-size: 0.875rem;\n height: 1.75rem;\n line-height: 1.75rem;\n}\n\n.go-Main-headerDetailItem:not(:last-of-type)::after {\n content: '|';\n padding-left: 1rem;\n}\n\n.go-Main-nav--sticky {\n position: sticky;\n top: var(--js-sticky-header-height, 3.5rem);\n transition: box-shadow 0.25s linear;\n z-index: 1;\n}\n\n.go-Main-nav--fixed {\n border-top: initial;\n}\n\n.go-Main-navDesktop {\n display: none;\n margin-top: var(--gap);\n overflow-y: auto;\n padding: 0.25rem;\n position: sticky;\n top: calc(var(--js-sticky-header-height, 3.5rem) + 1rem);\n}\n\n.go-Main-navMobile {\n display: flex;\n margin: 0.5rem 0;\n}\n\n.go-Main-navMobile .go-Label {\n flex-grow: 1;\n position: relative;\n}\n\n.go-Main-navMobile .go-Select {\n padding-left: 1.75rem;\n width: 100%;\n}\n\n.go-Main-navMobile .go-Label::before {\n background: url('/static/shared/icon/list_gm_grey_24dp.svg');\n background-repeat: no-repeat;\n background-size: contain;\n content: ' ';\n height: 1.25rem;\n left: 0.5rem;\n padding-left: 1rem;\n position: absolute;\n top: 0.375rem;\n width: 1.25rem;\n}\n\n/* Safari only */\n@media not all and (min-resolution: 0.001dpcm) {\n @supports (-webkit-appearance: none) {\n .go-Main-navMobile .go-Select {\n appearance: none;\n }\n }\n}\n\n@media screen and (min-width: 80rem) {\n :root[data-layout='responsive'] .go-Main {\n grid-template: repeat(5, min-content) / 21.5% minmax(0, auto);\n grid-template-areas:\n 'banner banner'\n 'header header'\n 'aside aside'\n 'nav article'\n 'footer footer';\n }\n\n :root[data-layout='responsive'] .go-Main-nav {\n border-bottom: none;\n border-top: none;\n padding: 0 0 0 var(--gutter);\n }\n\n :root[data-layout='responsive'] .go-Main-article {\n border-bottom: none;\n border-top: none;\n margin: var(--gap) 0 5rem var(--gap);\n padding: 0 var(--gutter) 0 0;\n }\n\n :root[data-layout='responsive'] .go-Main-aside {\n border-bottom: var(--border);\n }\n\n :root[data-layout='responsive'] .go-Main-nav--sticky {\n position: initial;\n }\n\n :root[data-layout='responsive'] .go-Main-nav--fixed {\n box-shadow: none;\n }\n\n :root[data-layout='responsive'] .go-Main-navDesktop {\n display: block;\n }\n\n :root[data-layout='responsive'] .go-Main-navMobile {\n display: none;\n }\n}\n\n@media screen and (min-width: 112rem) {\n :root[data-layout='responsive'] .go-Main {\n grid-template: repeat(4, min-content) / minmax(17.5%, 1fr) minmax(0, 4fr) minmax(17.5%, 1fr);\n grid-template-areas:\n 'banner banner banner'\n 'header header header'\n 'nav article aside'\n 'footer footer footer';\n }\n\n :root[data-layout='responsive'] .go-Main-article {\n margin: var(--gap) var(--gap) 5rem;\n padding: 0;\n }\n\n :root[data-layout='responsive'] .go-Main-aside {\n background-color: var(--color-background);\n border-bottom: none;\n margin: var(--gap) 0 0 0;\n padding: 0 var(--gutter) 0 0;\n }\n}\n\n@media screen and (min-width: 80rem) {\n :root[data-layout='compact'] .go-Main {\n grid-template: repeat(6, min-content) / 1fr auto;\n grid-template-areas:\n 'banner banner'\n 'header .'\n 'header nav'\n 'aside aside'\n 'article article'\n 'footer footer';\n }\n\n :root[data-layout='compact'] .go-Main-nav {\n align-items: center;\n border-bottom: var(--border);\n display: flex;\n top: calc((var(--js-main-header-height, 0) - var(--js-sticky-header-height, 3.5rem)) * -1);\n }\n\n :root[data-layout='compact'] .go-Main-header[data-fixed] {\n box-shadow: none;\n }\n\n :root[data-layout='compact'] .go-Main-nav--sticky {\n height: var(--js-sticky-header-height, 3.5rem);\n position: sticky;\n top: 0;\n }\n\n :root[data-layout='compact'] .go-Main-nav--fixed {\n box-shadow: none;\n }\n\n :root[data-layout='compact'] .go-Main-navDesktop {\n display: none;\n }\n\n :root[data-layout='compact'] .go-Main-navMobile {\n display: flex;\n }\n}\n\n@media print {\n .go-Main-header--sticky,\n .go-Main-header--sticky > :last-child,\n .go-Main-nav--sticky,\n .go-Main-navDesktop {\n position: initial;\n }\n}\n"],
"mappings": ";;;;;AAMA,yBACE,gBACA,uBACA,mBAGF,8BACE,aACA,cACA,kBACA,QACA,aAGF,0DACE,cAEF,qCACE,0DACE,cAIJ,0BACE,mBACA,YACA,OACA,kBACA,MACA,WAGF,2BACE,gBACA,uBACA,SACA,kBACA,eACA,eACA,YACA,OACA,kBACA,MACA,WAGF,kCACE,wBAGF,8CAEE,oBACA,iCACA,gBACA,mBA7DF,gDAgEE,yBACA,cAGF,gEAEE,aAGF,sBACE,wBACA,cACA,eACA,kBACA,cACA,YAGF,yBACE,sBAGF,sGACE,aAOF,wDACE,UAGF,mEACE,mBACA,oBAGF,4DACE,SAGF,mEACE,gBACA,cAGF,gEACE,sBAGF,sCACE,aAGF,qEACE,gBAGF,mEACE,aAOF,qBApIA,mBAsIE,qBACA,iBAvIF,sBAyIE,kBACA,aAGF,+BACE,aAGF,yCACE,qBAGF,kEACE,aAGF,gGAGE,mBCpJF,SACE,yCACA,wBACA,aACA,YACA,2CACA,uEAOA,iBAGF,gBACE,iBACA,2CAGF,gBACE,yCACA,4BACA,kBACA,iBACA,wCACA,wBACA,kCACA,WAGF,4BACE,mBACA,gBACA,iCAGF,6BACE,4BAGF,aACE,yCACA,4BACA,kBACA,cACA,wBAGF,iBACE,yCACA,kBACA,2BACA,iBACA,wBAGF,eACE,kDACA,4BACA,kBACA,gBACA,2BAGF,sBACE,mBA3EF,UA+EA,gBACE,yCACA,iBACA,wBAGF,iBACE,YAtFF,mBA2FA,0BACE,gBAGF,uBACE,mBACA,gBACA,MAGF,mCACE,mBACA,aACA,gBACA,aAEF,qCACE,mCACE,+BAIJ,qBACE,mBACA,aACA,UACA,cACA,eACA,qBAEF,qCACE,iCACE,eAIJ,mCACE,aAGF,+CACE,gBAGF,oBACE,uBACA,+CAEA,mBACA,aACA,oBACA,UACA,wDACA,kBACA,QAGF,wBACE,0BArJF,eAuJE,wBAGF,gCACE,eACA,UACA,mBACA,wBAGF,uBACE,aACA,mBACA,WACA,mBAGF,mCACE,aAEF,qCACE,sEACE,cAIJ,0BACE,+BACA,eACA,kBACA,eACA,oBAGF,mDACE,YACA,kBAGF,qBACE,gBACA,2CACA,kCACA,UAGF,oBACE,mBAGF,oBACE,aACA,sBACA,gBA5MF,eA8ME,gBACA,wDAGF,mBACE,aAnNF,eAuNA,6BACE,YACA,kBAGF,8BACE,qBACA,WAGF,oCACE,0DACA,4BACA,wBACA,YACA,eACA,WACA,kBACA,kBACA,YACA,cAIF,8CACE,qCACE,8BACE,kBAKN,qCACE,uCACE,2DACA,yGAQF,2CACE,mBACA,gBACA,4BAGF,+CACE,mBACA,gBACA,oCACA,4BAGF,6CACE,4BAGF,mDACE,iBAGF,kDACE,gBAGF,kDACE,cAGF,iDACE,cAIJ,sCACE,uCACE,wFACA,mHAOF,+CACE,kCA/SJ,UAmTE,6CACE,yCACA,mBACA,wBACA,6BAIJ,qCACE,oCACE,+CACA,kHASF,wCACE,mBACA,4BACA,aACA,0FAGF,uDACE,gBAGF,gDACE,8CACA,gBACA,MAGF,+CACE,gBAGF,+CACE,aAGF,8CACE,cAIJ,aACE,qGAIE",
"names": []
}