blob: 20717b39de9173aa1c638839eb11e31b2bf2992f [file] [log] [blame]
{"version":3,"sources":["../../lib/css/sidenav.css"],"names":[],"mappings":"AAAA;;;;EAIE,CAMF,+BACE,2CAA4C,CAC5C,mDAGF,CACA,8DAIE,YACF,CACA,cACE,6BAA8B,CAC9B,aAAc,CACd,WAAY,CACZ,cAAe,CACf,uBAAgB,CAAhB,eAAgB,CAChB,wBAAyB,CACzB,gCAAkC,CAClC,SACF,CACA,aACE,cACE,YACF,CACF,CACA,0BACE,6CACF,CACA,yCAEE,SAAU,CACV,SAAW,CACX,WAAY,CACZ,iBAAkB,CAClB,uBACF,CACA,oBACE,kBAAmB,CACnB,mBAAoB,CACpB,YAAa,CACb,eACF,CACA,0BACE,eAAgB,CAChB,kCAAoC,CACpC,oCAAsC,CACtC,oCAAsC,CACtC,UAAW,CACX,aAAc,CACd,QAAS,CACT,iBAAkB,CAClB,aAAe,CACf,WAAa,CACb,OACF,CACA,yBACE,kBAAmB,CACnB,gBAAiB,CACjB,kBAAoB,CACpB,wBAAyB,CACzB,eACF,CACA,yBACE,MAAO,CACP,mBAAoB,CACpB,eAAgB,CAChB,sBAAuB,CACvB,kBACF,CACA,qBACE,uBAAwB,CACxB,oBAAqB,CACrB,eAAgB,CAChB,sBAAuB,CACvB,mCAAqC,CACrC,sBAAwB,CACxB,iBAAkB,CAClB,aACF,CAKA,4BACE,mBACF,CACA,8BACE,mBACF,CACA,yCACE,+BACE,0CAA4C,CAC5C,kDAGF,CACA,eACE,oBAAgB,CAAhB,eAAgB,CAChB,YAAa,CACb,4CACF,CAKA,sCAEE,eAAgB,CAChB,WAAY,CACZ,UACF,CACA,qBACE,kBAAmB,CACnB,iBACF,CACA,QACE,aAAc,CACd,6CAA8C,CAC9C,iBAAkB,CAClB,eAAgB,CAChB,gBAAiB,CACjB,mBAAqB,CACrB,uBAAgB,CAAhB,eAAgB,CAChB,wBACF,CACA,cACE,YACF,CACA,yCAEE,QAAS,CACT,gBACF,CACA,wCACE,mBACF,CACA,qBACE,iBAAmB,CACnB,SACF,CACA,wBACE,iCAAoC,CACpC,iBAAkB,CAClB,wBAAiB,CAAjB,qBAAiB,CAAjB,oBAAiB,CAAjB,gBACF,CACA,4DAEE,SAAU,CACV,yBACF,CACA,qCACE,mBACF,CACA,mCACE,qBACF,CACA,6BACE,mBAAoB,CACpB,eACF,CACA,4DACE,iBAAkB,CAClB,iCAAkC,CAClC,UAAW,CACX,aAAc,CACd,eAAiB,CACjB,aAAe,CACf,iBAAkB,CAClB,YAAc,CACd,cACF,CACA,iDACE,WAAY,CACZ,UACF,CACA,kDACE,uCAAyC,CACzC,kBAAmB,CACnB,kBACF,CACA,8DACE,YACF,CACA,uDACE,0CACF,CACA,mBACE,cAAe,CACf,aACF,CACA,2CAGE,mBAAoB,CACpB,aAAc,CACd,SAAU,CACV,eAAgB,CAChB,oBAAqB,CACrB,sBAAuB,CACvB,kBACF,CACA,8CAEE,mBACF,CACA,0BACE,sCAAwC,CACxC,sCAAwC,CACxC,cAAe,CACf,mCAAqC,CACrC,UAAW,CACX,aAAc,CACd,QAAS,CACT,UAAY,CACZ,iBAAkB,CAClB,WAAa,CACb,+BAAiC,CACjC,OACF,CACA,iCACE,aACF,CAEA,yBACE,UAAW,CACX,aAAc,CACd,WAAY,CACZ,MAAO,CACP,iBAAkB,CAClB,KAAM,CACN,UACF,CAKA,+CACE,cAAe,CACf,YACF,CACA,uCACE,oBACF,CACA,8CACE,uBACF,CACA,2CACE,YACF,CACF,CACA,0CACE,eACE,0CACF,CACF,CACA,0CACE,eACE,0CACF,CACF","file":"sidenav.css","sourcesContent":["/*!\n * Copyright 2020 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/*\n * Styling the sidenav.\n */\n\n.DetailsContent :target::before {\n height: calc(var(--header-height) + 3.75rem);\n margin-top: calc(\n -1 * (var(--header-height) + 3.75rem)\n ); /* Move hidden anchor content for deep linking with a sticky header. */\n}\n.Documentation-nav,\n.Documentation-index,\n.DocNav,\n.DocNav-index {\n display: none;\n}\n.DocNavMobile {\n background-color: var(--white);\n display: block;\n height: 3rem;\n margin: 0 -1rem;\n position: sticky;\n top: var(--header-height);\n transition: box-shadow 0.2s linear;\n z-index: 4;\n}\n@media print {\n .DocNavMobile {\n display: none;\n }\n}\n.DocNavMobile--withShadow {\n box-shadow: 0 0.1875rem 0.1875rem rgba(0, 0, 0, 0.2);\n}\n.DocNavMobile-label,\n.DocNavMobile-select {\n left: 1rem;\n top: 0.5rem;\n height: 2rem;\n position: absolute;\n width: calc(100% - 2rem);\n}\n.DocNavMobile-label {\n align-items: center;\n color: var(--gray-2);\n display: flex;\n padding: 0 0.5rem;\n}\n.DocNavMobile-label::after {\n border-bottom: 0;\n border-left: 0.3em solid transparent;\n border-right: 0.3rem solid transparent;\n border-top: 0.3rem solid var(--gray-4);\n content: '';\n display: block;\n height: 0;\n position: absolute;\n right: 0.625rem;\n top: 0.875rem;\n width: 0;\n}\n.DocNavMobile-selectIcon {\n fill: var(--gray-3);\n height: 1.4375rem;\n margin-right: 0.5rem;\n transform: rotate(180deg);\n width: 1.4375rem;\n}\n.DocNavMobile-selectText {\n flex: 1;\n margin-right: 1.2rem;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.DocNavMobile-select {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n background: transparent;\n border: 0.0625rem solid var(--gray-8);\n border-radius: 0.1875rem;\n color: transparent;\n display: block;\n}\n/**\n * Firefox allows for styling of option and optgroup tags.\n * Ensure they don’t inherit the clear styling of their parent.\n */\n.DocNavMobile-select option {\n color: var(--gray-1);\n}\n.DocNavMobile-select optgroup {\n color: var(--gray-3);\n}\n@media only screen and (min-width: 52rem) {\n .DetailsContent :target::before {\n height: calc(var(--header-height) + 0.75rem);\n margin-top: calc(\n -1 * (var(--header-height) + 0.75rem)\n ); /* Move hidden anchor content for deep linking with a sticky header. */\n }\n .Documentation {\n column-gap: 2rem;\n display: grid;\n grid-template-columns: 17.5rem minmax(0, auto);\n }\n /**\n * Remove once Doc HTML is fully rolled out, as js-* styles should NEVER be\n * styled per https://golang.org/wiki/CSSStyleGuide.\n */\n .js-docContent,\n .Documentation-content {\n max-width: 60rem;\n min-width: 0;\n width: 100%;\n }\n .Documentation-build {\n grid-column: span 2;\n text-align: center;\n }\n .DocNav {\n display: block;\n max-height: calc(100vh - var(--header-height));\n overflow-x: hidden;\n overflow-y: auto;\n padding-top: 1rem;\n padding-left: 0.25rem;\n position: sticky;\n top: var(--header-height);\n }\n .DocNavMobile {\n display: none;\n }\n .DocNav [role='tree'],\n .DocNav [role='group'] {\n margin: 0;\n padding: 0 0 2rem 0;\n }\n .DocNav [role='treeitem'][aria-level='1'] {\n margin-bottom: 0.5rem;\n }\n .DocNav [role='group'] {\n font-size: 0.875rem;\n padding: 0;\n }\n .DocNav [role='treeitem'] {\n padding: 0.125rem 0 0.125rem 1.25rem;\n position: relative;\n user-select: none;\n }\n .DocNav [role='treeitem']:focus,\n .DocNav [role='treeitem']:hover {\n outline: 0;\n text-decoration: underline;\n }\n .DocNav [role='group'] [role='treeitem'] {\n padding-left: 2.5rem;\n }\n .DocNav ul[role='group'] > :last-child {\n margin-bottom: 0.375rem;\n }\n .DocNav [aria-selected='true'] {\n color: var(--gray-1);\n font-weight: 500;\n }\n .DocNav [aria-selected='true']:not(.DocNav-groupLabel)::before {\n border-radius: 50%;\n background-color: var(--turq-dark);\n content: '';\n display: block;\n height: 0.3125rem;\n left: 0.4688rem;\n position: absolute;\n top: 0.6875rem;\n width: 0.3125rem;\n }\n .DocNav [role='group'] [aria-selected='true']::before {\n left: 1.5rem;\n top: 0.75rem;\n }\n .DocNav [role='group'] [role='group'] [role='treeitem'] {\n border-left: 0.125rem solid var(--gray-9);\n margin-left: 2.5rem;\n padding-left: 0.5rem;\n }\n .DocNav [role='group'] [role='group'] [aria-selected='true']::before {\n display: none;\n }\n .DocNav [role='group'] [role='group'] [aria-selected='true'] {\n border-left: 0.125rem solid var(--turq-dark);\n }\n .DocNav-groupLabel {\n cursor: pointer;\n display: block;\n }\n .DocNav a,\n .DocNav a:link,\n .DocNav a:visited {\n color: var(--gray-2);\n display: block;\n opacity: 1;\n overflow: hidden;\n text-decoration: none;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .DocNav a:hover,\n .DocNav a[aria-selected='true'] {\n color: var(--gray-1);\n }\n .DocNav-groupLabel::before {\n border-bottom: 0.25rem solid transparent;\n border-left: 0.25rem solid var(--gray-4);\n border-right: 0;\n border-top: 0.25rem solid transparent;\n content: '';\n display: block;\n height: 0;\n left: 0.5rem;\n position: absolute;\n top: 0.625rem;\n transition: transform 0.1s linear;\n width: 0;\n }\n .DocNav-groupLabel--empty::before {\n content: unset;\n }\n /* Added to increase hit target on triangle above. */\n .DocNav-groupLabel::after {\n content: '';\n display: block;\n height: 2rem;\n left: 0;\n position: absolute;\n top: 0;\n width: 2rem;\n }\n /**\n * Expandable nodes at this level have smaller text and more left padding,\n * so adjust for that.\n */\n .DocNav [role='group'] .DocNav-groupLabel::before {\n left: 1.5625rem;\n top: 0.6875rem;\n }\n .DocNav-groupLabel[aria-expanded='true'] {\n margin-bottom: 0.375em;\n }\n .DocNav-groupLabel[aria-expanded='true']::before {\n transform: rotate(90deg);\n }\n .DocNav [aria-expanded='false'] + [role='group'] {\n display: none;\n }\n}\n@media only screen and (min-width: 100rem) {\n .Documentation {\n grid-template-columns: 22rem minmax(0, auto);\n }\n}\n@media only screen and (min-width: 130rem) {\n .Documentation {\n grid-template-columns: 35rem minmax(0, auto);\n }\n}\n"]}