File tree Expand file tree Collapse file tree 15 files changed +882
-1039
lines changed Expand file tree Collapse file tree 15 files changed +882
-1039
lines changed Original file line number Diff line number Diff line change 1- <ul class =" docs-list-reset docs- mb-6" >
1+ <ul class =" docs-mb-6" >
22 {{ #each-in toggles as |key toggle |}}
33 {{ #if (not-eq toggle undefined )}}
44 <li class =" docs-inline docs-ml-4" >
Original file line number Diff line number Diff line change 11<div class =" docs-relative docs-text-grey-darkest" data-search-box>
2- {{ svg-jar " search" width =12 height =12 class =" docs-absolute docs-pin-t docs-h-full docs-ml-1" }}
2+ {{ svg-jar " search" width =12 height =12 class =" docs-absolute docs-top-0 docs-h-full docs-ml-1" }}
33
44 {{!--
55 This is a dumb input - so why not use the {{input}} helper? Because apparently
Original file line number Diff line number Diff line change 77 targetAttachment =" bottom left"
88 constraints = (array (hash to =" window" attachment =" together" pin =true ))}}
99
10- <ul class =" docs-w-76 docs-bg-white docs-shadow-md docs-list-reset " data-test-search-result-list>
10+ <ul class =" docs-w-76 docs-bg-white docs-shadow-md" data-test-search-result-list>
1111 {{ #each (take 5 searchResults ) as |result index |}}
1212 <li >
1313 {{ docs-header/search-result
Original file line number Diff line number Diff line change 44 clickOutsideToClose =true
55 onClose = (action on-close )
66 targetAttachment =" bottom right" }}
7- <ul class =" docs-list-reset docs- mt-2 docs-bg-white docs-shadow-md docs-text-xs docs-rounded docs-z-10" >
7+ <ul class =" docs-mt-2 docs-bg-white docs-shadow-md docs-text-xs docs-rounded docs-z-10" >
88 {{ #each sortedVersions as |version |}}
99 <li data-test-id =" version" >
1010 <a {{ action " changeVersion" version }} href =" #"
Original file line number Diff line number Diff line change 1919 clipboardText =snippetText
2020 title =" copy to clipboard"
2121 class ="
22- docs-absolute docs-pin-t docs-pin-r docs-bg-transparent hover:docs-bg-transparent
22+ docs-absolute docs-top-0 docs-right-0 docs-bg-transparent hover:docs-bg-transparent
2323 docs-border-none docs-opacity-50 hover:docs-opacity-100 docs-p-3 docs-text-white
2424 "
2525 }}
Original file line number Diff line number Diff line change 11<nav class =" AddonDocs-DocsViewer-CurrentPageIndex docs-hidden xl:docs-block docs-flex-no-shrink docs-mr-auto" data-test-current-page-index>
2- <div class =" docs-sticky docs-pin-t docs-pt-4 docs-pb-8 docs-pr-8 docs-max-h-screen docs-overflow-y-scroll" >
3- <ul class =" docs-list-reset docs- border-l docs-border-grey-lighter docs-pl-6 docs-leading-normal" >
2+ <div class =" docs-sticky docs-top-0 docs-pt-4 docs-pb-8 docs-pr-8 docs-max-h-screen docs-overflow-y-scroll" >
3+ <ul class =" docs-border-l docs-border-grey-lighter docs-pl-6 docs-leading-normal" >
44 {{ #if pageIndex.length }}
55 <li class =" docs-mt-12 docs-text-grey docs-font-bold docs-tracking-wide docs-uppercase docs-text-xxs" >
66 On This Page
Original file line number Diff line number Diff line change 1- import { hbs } from 'ember-cli-htmlbars' ;
21import Component from '@ember/component' ;
2+ import { hbs } from 'ember-cli-htmlbars' ;
33
44export default Component . extend ( {
55 tagName : 'ul' ,
66
7- classNames : [ 'docs-list-reset' ] ,
8-
97 layout : hbs `
108 {{yield (hash
119 item=(component 'docs-viewer/x-nav-item')
Original file line number Diff line number Diff line change 1010<div class =" AddonDocs-DocsViewer-Nav docs-bg-grey-lightest docs-border-r docs-flex-no-shrink" >
1111 <nav onclick ={{ action (mut isShowingMenu ) false }}
1212 class ="
13- docs-absolute docs-pin-r md:docs-relative docs-shadow-lg md:docs-shadow-none docs-mr-2 md:docs-mr-0 md:docs-pl-2
14- docs-max-w-xs docs-w-90% md:docs-w-72 docs-z-10 docs-transition md:docs-sticky md:docs-pin-t
13+ docs-absolute docs-right-0 md:docs-relative docs-shadow-lg md:docs-shadow-none docs-mr-2 md:docs-mr-0 md:docs-pl-2
14+ docs-max-w-xs docs-w-90% md:docs-w-72 docs-z-10 docs-transition md:docs-sticky md:docs-top-0
1515 {{ if media.isMobile
1616 (if isShowingMenu " docs-opacity-100 docs-bg-white" " docs-opacity-0 docs-pointer-events-none" )
1717 }}
Original file line number Diff line number Diff line change 11// Global settings
22$site-container : 1400px ;
33
4- @tailwind preflight ;
4+ @tailwind base ;
55@tailwind components;
66@tailwind utilities;
77
Original file line number Diff line number Diff line change 11.docs-container {
22 @apply docs-px-4 docs-max-w-site-container docs-mx-auto ;
33}
4- @media (min-width : config (' screens.md' )) {
4+ @media (min-width : theme (' screens.md' )) {
55 .docs-container {
66 @apply docs-px- 6;
77 }
You can’t perform that action at this time.
0 commit comments