{ | |
"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.UnitHeader-overflowContainer {\n display: none;\n height: 1.5rem;\n position: absolute;\n right: 0;\n width: 1.5rem;\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.UnitHeader-overflowImage {\n fill: var(--gray-3);\n height: 100%;\n left: 0;\n position: absolute;\n top: 0;\n width: 100%;\n}\n.UnitHeader-overflowSelect {\n -webkit-appearance: none;\n -moz-appearance: none;\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.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.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}\n.UnitHeader-backLink img {\n vertical-align: middle;\n}\n\n.DetailsHeader-badge--notAtLatest a {\n display: none;\n}\n.DetailsHeader-badge--notAtLatest span.DetailsHeader-span--latest {\n display: none;\n}\n.DetailsHeader-badge--notAtLatest .UnitMetaDetails-icon {\n z-index: 1;\n}\n.DetailsHeader-badge--notAtLatest .UnitMetaDetails-toggletipBubble {\n color: var(--black);\n text-transform: none;\n}\n.DetailsHeader-span--notAtLatest .UnitMetaDetails-toggletip {\n height: 0;\n}\n.DetailsHeader-span--notAtLatest .UnitMetaDetails-toggletip button {\n height: 0.8125rem;\n line-height: 0;\n}\n.DetailsHeader-span--notAtLatest .UnitMetaDetails-toggletip img {\n vertical-align: middle;\n}\n\n.DetailsHeader-badge--goToLatest span {\n display: none;\n}\n.DetailsHeader-badge--goToLatest span.DetailsHeader-span--goToLatest {\n display: initial;\n}\n.DetailsHeader-badge--unknown a {\n display: none;\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.DetailsHeader-badge--goToLatest a:hover {\n text-decoration: none;\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-areas:\n 'banner'\n 'header'\n 'aside'\n 'nav'\n 'article'\n 'footer';\n grid-template-columns: 100%;\n grid-template-rows: repeat(6, min-content);\n min-height: 32rem;\n}\n\n.go-Main-banner {\n grid-area: banner;\n padding: 1rem var(--gutter) 0 var(--gutter);\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.go-Main-header[data-fixed] {\n border-bottom: none;\n position: sticky;\n top: var(--js-unit-header-top, 0);\n}\n.go-Main-header[data-raised] {\n border-bottom: var(--border);\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.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.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.go-Main-aside--empty {\n border-bottom: none;\n padding: 0;\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.go-Main-headerContent {\n margin-bottom: 1rem;\n position: sticky;\n top: 0;\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.go-Main-headerTitle .go-Clipboard {\n display: none;\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.go-Main-headerLogo img {\n height: var(--logo-height);\n margin: -1rem 0;\n width: var(--logo-width);\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-direction: row;\n flex-wrap: wrap;\n gap: 0 1rem;\n white-space: nowrap;\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.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.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.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.go-Main-navMobile {\n display: flex;\n margin: 0.5rem 0;\n}\n.go-Main-navMobile .go-Label {\n flex-grow: 1;\n position: relative;\n}\n.go-Main-navMobile .go-Select {\n padding-left: 1.75rem;\n width: 100%;\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 -webkit-appearance: none;\n appearance: none;\n }\n }\n}\n\n@media screen and (min-width: 80rem) {\n :root[data-layout='responsive'] .go-Main {\n grid-template-areas:\n 'banner banner'\n 'header header'\n 'aside aside'\n 'nav article'\n 'footer footer';\n grid-template-columns: 21.5% minmax(0, auto);\n grid-template-rows: repeat(5, min-content);\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 :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 :root[data-layout='responsive'] .go-Main-aside {\n border-bottom: var(--border);\n }\n :root[data-layout='responsive'] .go-Main-nav--sticky {\n position: initial;\n }\n :root[data-layout='responsive'] .go-Main-nav--fixed {\n box-shadow: none;\n }\n :root[data-layout='responsive'] .go-Main-navDesktop {\n display: block;\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-areas:\n 'banner banner banner'\n 'header header header'\n 'nav article aside'\n 'footer footer footer';\n grid-template-columns: minmax(17.5%, 1fr) minmax(0, 4fr) minmax(17.5%, 1fr);\n grid-template-rows: repeat(4, min-content);\n }\n :root[data-layout='responsive'] .go-Main-article {\n margin: var(--gap) var(--gap) 5rem;\n padding: 0;\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-areas:\n 'banner banner'\n 'header .'\n 'header nav'\n 'aside aside'\n 'article article'\n 'footer footer';\n grid-template-columns: 1fr auto;\n grid-template-rows: repeat(6, min-content);\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 :root[data-layout='compact'] .go-Main-header[data-fixed] {\n box-shadow: none;\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 :root[data-layout='compact'] .go-Main-nav--fixed {\n box-shadow: none;\n }\n :root[data-layout='compact'] .go-Main-navDesktop {\n display: none;\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,mBAEF,8BACE,aACA,cACA,kBACA,QACA,aAEF,0DACE,cAEF,qCACE,0DACE,cAGJ,0BACE,mBACA,YACA,OACA,kBACA,MACA,WAEF,2BACE,wBACA,qBACA,gBACA,uBACA,SACA,kBACA,eACA,eACA,YACA,OACA,kBACA,MACA,WAEF,kCACE,wBAGF,8CAEE,oBACA,iCACA,gBACA,mBA1DF,gDA6DE,yBACA,cAEF,gEAEE,aAGF,sBACE,wBACA,cACA,eAEF,yBACE,sBAGF,sGACE,aAKF,wDACE,UAEF,mEACE,mBACA,oBAEF,4DACE,SAEF,mEACE,gBACA,cAEF,gEACE,sBAGF,sCACE,aAEF,qEACE,gBAEF,mEACE,aAMF,qBAnHA,mBAqHE,qBACA,iBAtHF,sBAwHE,kBACA,aAGF,+BACE,aAEF,yCACE,qBAEF,kEACE,aAGF,gGAGE,mBCjIF,SACE,yCACA,wBACA,aACA,YACA,uEAOA,2BACA,yCACA,iBAGF,gBACE,iBACA,2CAEF,gBACE,yCACA,4BACA,kBACA,iBACA,wCACA,wBACA,kCACA,WAEF,4BACE,mBACA,gBACA,iCAEF,6BACE,4BAEF,aACE,yCACA,4BACA,kBACA,cACA,wBAEF,iBACE,yCACA,kBACA,2BACA,iBACA,wBAEF,eACE,kDACA,4BACA,kBACA,gBACA,2BAEF,sBACE,mBArEF,UAwEA,gBACE,yCACA,iBACA,wBAGF,iBACE,YA/EF,mBAoFA,0BACE,gBAEF,uBACE,mBACA,gBACA,MAEF,mCACE,mBACA,aACA,gBACA,aAEF,qCACE,mCACE,+BAIJ,qBACE,mBACA,aACA,UACA,cACA,eACA,qBAEF,qCACE,iCACE,eAGJ,mCACE,aAEF,+CACE,gBAGF,oBACE,uBACA,+CAEA,mBACA,aACA,oBACA,UACA,wDACA,kBACA,QAEF,wBACE,0BAzIF,eA2IE,wBAEF,gCACE,eACA,UACA,mBACA,wBAGF,uBACE,aACA,mBACA,eACA,WACA,mBAEF,mCACE,aAEF,qCACE,sEACE,cAGJ,0BACE,+BACA,eACA,kBACA,eACA,oBAEF,mDACE,YACA,kBAGF,qBACE,gBACA,2CACA,kCACA,UAEF,oBACE,mBAGF,oBACE,aACA,sBACA,gBA5LF,eA8LE,gBACA,wDAEF,mBACE,aAlMF,eAqMA,6BACE,YACA,kBAEF,8BACE,qBACA,WAEF,oCACE,0DACA,4BACA,wBACA,YACA,eACA,WACA,kBACA,kBACA,YACA,cAIF,8CACE,qCACE,8BACE,wBACA,kBAKN,qCACE,uCACE,yGAMA,2CACA,yCAEF,2CACE,mBACA,gBACA,4BAEF,+CACE,mBACA,gBACA,oCACA,4BAEF,6CACE,4BAEF,mDACE,iBAEF,kDACE,gBAEF,kDACE,cAEF,iDACE,cAIJ,sCACE,uCACE,mHAKA,wEACA,yCAEF,+CACE,kCAtRJ,UAyRE,6CACE,yCACA,mBACA,wBACA,6BAIJ,qCACE,oCACE,kHAOA,+BACA,yCAEF,wCACE,mBACA,4BACA,aACA,0FAEF,uDACE,gBAEF,gDACE,8CACA,gBACA,MAEF,+CACE,gBAEF,+CACE,aAEF,8CACE,cAIJ,aACE,qGAIE", | |
"names": [] | |
} |