diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 784217b1c..f6d95ccbe 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -158,16 +158,32 @@ Please ensure your NPM registry is set correctly and that you are on the package Please follow the steps below to publish skin to NPM: -1. Build files must be stamped with the new version number. Increment the version number in package.json by hand (e.g. do **not** use `npm version` because this will create a git tag while the build files are still stamped with the *old* version number!) -1. Run `npm run build`. This will update the top comment section of build files with the new version number. This is needed for legal. -1. Revert the version number update you made to package.json in step 1. -1. Commit the modified build files -1. Merge the milestone branch into master branch in GitHub -1. Switch to your local master branch and pull the changes -1. Run `npm version` patch, minor or version. This will again update the version number in package.json but will also commit change and create a Git tag at the same time -1. Push commit to origin -1. Push the git tag to origin, e.g. `git push origin v3.1.0` -1. Run `npm publish` to publish the package to NPM +1. Build files must be stamped with the new version number. Increment the version number in `package.json` by hand (e.g. do **not** use `npm version` because this will create a git tag while the build files are still stamped with the *old* version number!) +1. Run `yarn build`. This will update the top comment section of build files with the new version number. This is needed for legal. +1. Revert the version number update you made to `package.json` in step 1. +1. Update any documentation references to reflect the new CDN url. +1. Commit the modified build files with message "Stamped files with vX.x.x" and push to origin. + +Next, move on to pre-release or final release instructions below. + +### Pre-Release + +Pre-releases are made directly from a milestone branch. Patch releases do not need a pre-release (proceed directly to final release section below). + +1. Run `npm version pre-minor` or `npm version pre-major`. This command will update the version number in `package.json`, commit the change locally, and create a Git tag at the same time. +1. Push commit to origin. +1. Run `npm publish --tags beta` to publish the package to NPM. + +### Final Release + +Final releases are always made from the master branch. Minor and major version releases **must** be preceded by a pre-release (see above). + +1. Merge the milestone branch into master branch in GitHub (via a pull request). +1. Switch to your local master branch and pull the changes from origin. +1. Run `npm version patch`, `npm version minor` or `npm version major`. This command will update the version number in `package.json`, commit the change locally and create a Git tag at the same time. +1. Push commit to origin. +1. Push the git tag to origin, e.g. `git push origin v3.1.0`. +1. Run `npm publish` to publish the package to NPM. **TIP:** If you need to do an update or hotfix to an older minor release, please see the Hotfix Release section further below. diff --git a/dist/button/ds6/button.css b/dist/button/ds6/button.css index cf38df62e..7276624da 100644 --- a/dist/button/ds6/button.css +++ b/dist/button/ds6/button.css @@ -17,15 +17,8 @@ a.cta-btn { display: inline-block; text-decoration: none; } -button.expand-btn[aria-expanded="true"] .expand-btn__icon { - -webkit-transform: rotate(180deg); - transform: rotate(180deg); -} -button.expand-btn[disabled] span.expand-btn__icon { - background-image: url('data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%278%27%20height%3D%275%27%3E%3Cpath%20fill%3D%22%23c7c7c7%22%20d%3D%22M0.758714126%2C0.14644663%20C0.585147774%2C-0.048815516%200.303741117%2C-0.0488155166%200.130174765%2C0.146446629%20C-0.0433915877%2C0.341708774%20-0.0433915882%2C0.658291264%200.130174763%2C0.85355341%20L3.68573029%2C4.85355339%20C3.85929664%2C5.04881554%204.1407033%2C5.04881554%204.31426965%2C4.85355339%20L7.86982523%2C0.853553392%20C8.04339159%2C0.658291247%208.04339159%2C0.341708758%207.86982524%2C0.146446611%20C7.69625889%2C-0.0488155358%207.41485223%2C-0.0488155372%207.24128588%2C0.146446608%20L3.99999997%2C3.79289322%20L0.758714126%2C0.14644663%20Z%22%3E%3C/path%3E%3C/svg%3E'); -} a.cta-btn { - background-color: #f5f5f5; + background-color: #ffffff; border-style: solid; border-width: 1px; color: #10299c; @@ -34,7 +27,7 @@ a.cta-btn:focus, a.cta-btn:hover { background-color: #10299c; border-color: #10299c; - color: #f5f5f5; + color: #ffffff; } a.cta-btn:focus { outline: 0 none; @@ -91,15 +84,6 @@ button.expand-btn, a.fake-btn--secondary { background-color: white; border: 1px solid #c7c7c7; - color: #006efc; -} -button.btn--secondary:focus, -button.expand-btn:focus, -a.fake-btn--secondary:focus, -button.btn--secondary:hover, -button.expand-btn:hover, -a.fake-btn--secondary:hover { - border-color: #4295ff; } button.btn--secondary:active, button.expand-btn:active, @@ -107,6 +91,26 @@ a.fake-btn--secondary:active { border-color: #10299c; color: #10299c; } +button.btn-secondary, +a.fake-btn--secondary { + color: #006efc; +} +button.btn-secondary:focus, +a.fake-btn--secondary:focus, +button.btn-secondary:hover, +a.fake-btn--secondary:hover { + border-color: #4295ff; +} +button.expand-btn { + color: #111820; +} +button.expand-btn[aria-expanded="true"] .expand-btn__icon { + -webkit-transform: rotate(180deg); + transform: rotate(180deg); +} +button.expand-btn[disabled] span.expand-btn__icon { + background-image: url('data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%278%27%20height%3D%275%27%3E%3Cpath%20fill%3D%22%23c7c7c7%22%20d%3D%22M0.758714126%2C0.14644663%20C0.585147774%2C-0.048815516%200.303741117%2C-0.0488155166%200.130174765%2C0.146446629%20C-0.0433915877%2C0.341708774%20-0.0433915882%2C0.658291264%200.130174763%2C0.85355341%20L3.68573029%2C4.85355339%20C3.85929664%2C5.04881554%204.1407033%2C5.04881554%204.31426965%2C4.85355339%20L7.86982523%2C0.853553392%20C8.04339159%2C0.658291247%208.04339159%2C0.341708758%207.86982524%2C0.146446611%20C7.69625889%2C-0.0488155358%207.41485223%2C-0.0488155372%207.24128588%2C0.146446608%20L3.99999997%2C3.79289322%20L0.758714126%2C0.14644663%20Z%22%3E%3C/path%3E%3C/svg%3E'); +} button.btn--secondary[disabled], button.expand-btn[disabled], button.btn--secondary[aria-disabled="true"], @@ -251,7 +255,7 @@ svg.cta-btn__icon { margin-left: 8px; } span.expand-btn__icon { - background-image: url('data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%278%27%20height%3D%275%27%3E%3Cpath%20fill%3D%22%230654ba%22%20d%3D%22M0.758714126%2C0.14644663%20C0.585147774%2C-0.048815516%200.303741117%2C-0.0488155166%200.130174765%2C0.146446629%20C-0.0433915877%2C0.341708774%20-0.0433915882%2C0.658291264%200.130174763%2C0.85355341%20L3.68573029%2C4.85355339%20C3.85929664%2C5.04881554%204.1407033%2C5.04881554%204.31426965%2C4.85355339%20L7.86982523%2C0.853553392%20C8.04339159%2C0.658291247%208.04339159%2C0.341708758%207.86982524%2C0.146446611%20C7.69625889%2C-0.0488155358%207.41485223%2C-0.0488155372%207.24128588%2C0.146446608%20L3.99999997%2C3.79289322%20L0.758714126%2C0.14644663%20Z%22%3E%3C/path%3E%3C/svg%3E'); + background-image: url('data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%278%27%20height%3D%275%27%3E%3Cpath%20fill%3D%22%2311820%22%20d%3D%22M0.758714126%2C0.14644663%20C0.585147774%2C-0.048815516%200.303741117%2C-0.0488155166%200.130174765%2C0.146446629%20C-0.0433915877%2C0.341708774%20-0.0433915882%2C0.658291264%200.130174763%2C0.85355341%20L3.68573029%2C4.85355339%20C3.85929664%2C5.04881554%204.1407033%2C5.04881554%204.31426965%2C4.85355339%20L7.86982523%2C0.853553392%20C8.04339159%2C0.658291247%208.04339159%2C0.341708758%207.86982524%2C0.146446611%20C7.69625889%2C-0.0488155358%207.41485223%2C-0.0488155372%207.24128588%2C0.146446608%20L3.99999997%2C3.79289322%20L0.758714126%2C0.14644663%20Z%22%3E%3C/path%3E%3C/svg%3E'); background-repeat: no-repeat; background-position-y: center; -ms-flex-negative: 0; diff --git a/dist/dropdown/ds6/dropdown.css b/dist/dropdown/ds6/dropdown.css index 6bae612e1..532839e96 100644 --- a/dist/dropdown/ds6/dropdown.css +++ b/dist/dropdown/ds6/dropdown.css @@ -9,6 +9,16 @@ span.fake-menu, span.listbox { display: inline-block; } +.menu button.expand-btn--borderless, +.fake-menu button.expand-btn--borderless { + border: 0; + padding-left: 0; + vertical-align: initial; +} +.menu button.expand-btn--borderless[aria-expanded="true"] ~ .menu__items[role="menu"], +.fake-menu button.expand-btn--borderless[aria-expanded="true"] ~ .menu__items[role="menu"] { + top: 41px; +} .menu .expand-btn[aria-expanded="true"], .fake-menu .expand-btn[aria-expanded="true"], .listbox .expand-btn[aria-expanded="true"] { @@ -48,6 +58,7 @@ div.listbox__option[role^="option"], a.fake-menu__item, button.fake-menu__item { background-color: #ffffff; + border: 1px solid #ffffff; box-sizing: border-box; cursor: pointer; display: -webkit-inline-box; @@ -74,21 +85,18 @@ button.fake-menu__item span:not([class*="listbox__status"]) { white-space: nowrap; text-overflow: ellipsis; } -div.menu__item[role^="menuitem"]:focus, -div.listbox__option[role^="option"]:focus, -a.fake-menu__item:focus, -button.fake-menu__item:focus, div.menu__item[role^="menuitem"]:hover, div.listbox__option[role^="option"]:hover, a.fake-menu__item:hover, button.fake-menu__item:hover { - background-color: #f5f5f5; + background-color: #e5e5e5; } div.menu__item[role^="menuitem"]:focus, div.listbox__option[role^="option"]:focus, a.fake-menu__item:focus, button.fake-menu__item:focus { - outline: 1px solid #c7c7c7; + background-color: #e5e5e5; + outline: none; } div.menu__item[role^="menuitem"]:active, div.listbox__option[role^="option"]:active, @@ -116,6 +124,10 @@ a.fake-menu__item:not(:last-child), button.fake-menu__item:not(:last-child) { margin-bottom: 1px; } +div.menu__item[role^="menuitem"][aria-checked="true"], +div.listbox__option[role^="option"][aria-selected="true"] { + font-weight: bold; +} div.menu__item[role^="menuitem"][aria-checked="true"] .menu__status, div.listbox__option[role^="option"][aria-selected="true"] .menu__status, div.menu__item[role^="menuitem"][aria-checked="true"] .listbox__status, @@ -184,9 +196,6 @@ span.fake-menu__status { box-sizing: border-box; width: 100%; } -.listbox:hover > .listbox__control > input { - border-color: #4295ff; -} .listbox__control > input { background-color: #ffffff; border: 1px solid #c7c7c7; @@ -197,7 +206,7 @@ span.fake-menu__status { font-size: 16px; height: 40px; padding: 0 16px; - text-shadow: 0 0 0 #006efc; + text-shadow: 0 0 0 #111820; vertical-align: middle; width: 100%; } @@ -229,7 +238,7 @@ span.fake-menu__status { display: block; } span.listbox__arrow { - background-image: url('data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%278%27%20height%3D%275%27%3E%3Cpath%20fill%3D%22%230654ba%22%20d%3D%22M0.758714126%2C0.14644663%20C0.585147774%2C-0.048815516%200.303741117%2C-0.0488155166%200.130174765%2C0.146446629%20C-0.0433915877%2C0.341708774%20-0.0433915882%2C0.658291264%200.130174763%2C0.85355341%20L3.68573029%2C4.85355339%20C3.85929664%2C5.04881554%204.1407033%2C5.04881554%204.31426965%2C4.85355339%20L7.86982523%2C0.853553392%20C8.04339159%2C0.658291247%208.04339159%2C0.341708758%207.86982524%2C0.146446611%20C7.69625889%2C-0.0488155358%207.41485223%2C-0.0488155372%207.24128588%2C0.146446608%20L3.99999997%2C3.79289322%20L0.758714126%2C0.14644663%20Z%22%3E%3C/path%3E%3C/svg%3E'); + background-image: url('data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%278%27%20height%3D%275%27%3E%3Cpath%20fill%3D%22%2311820%22%20d%3D%22M0.758714126%2C0.14644663%20C0.585147774%2C-0.048815516%200.303741117%2C-0.0488155166%200.130174765%2C0.146446629%20C-0.0433915877%2C0.341708774%20-0.0433915882%2C0.658291264%200.130174763%2C0.85355341%20L3.68573029%2C4.85355339%20C3.85929664%2C5.04881554%204.1407033%2C5.04881554%204.31426965%2C4.85355339%20L7.86982523%2C0.853553392%20C8.04339159%2C0.658291247%208.04339159%2C0.341708758%207.86982524%2C0.146446611%20C7.69625889%2C-0.0488155358%207.41485223%2C-0.0488155372%207.24128588%2C0.146446608%20L3.99999997%2C3.79289322%20L0.758714126%2C0.14644663%20Z%22%3E%3C/path%3E%3C/svg%3E'); background-repeat: no-repeat; background-position: right center; content: ""; diff --git a/dist/global/ds6/global.css b/dist/global/ds6/global.css index eb5591866..a6faf53b3 100644 --- a/dist/global/ds6/global.css +++ b/dist/global/ds6/global.css @@ -1,5 +1,5 @@ body { - background-color: #f5f5f5; + background-color: #ffffff; color: #111820; font-family: "Helvetica Neue", Helvetica, Arial, Roboto, sans-serif; font-size: 0.875rem; diff --git a/dist/grid/ds4/grid-full.css b/dist/grid/ds4/grid-full.css index ab17757ec..c8226e8f8 100644 --- a/dist/grid/ds4/grid-full.css +++ b/dist/grid/ds4/grid-full.css @@ -1,5 +1,5 @@ /*! -Skin v3.3.2 +Skin v3.4.0 Copyright 2017 eBay! Inc. All rights reserved. Licensed under the BSD License. https://github.com/eBay/skin/blob/master/LICENSE.txt" diff --git a/dist/less/ds6/variables.less b/dist/less/ds6/variables.less index 5818ce5e0..d79f9562a 100644 --- a/dist/less/ds6/variables.less +++ b/dist/less/ds6/variables.less @@ -34,7 +34,7 @@ @ds6-color-confirmation-background: @ds6-color-p032-green; @ds6-color-critical-text: @ds6-color-p013-red; @ds6-color-critical-background: @ds6-color-p011-red; -@ds6-color-background-default: @ds6-color-g202-gray; +@ds6-color-background-default: @ds6-color-g201-gray; @ds6-color-item-tile-background-visited: @ds6-color-g202-gray; @ds6-color-button-disabled-background: @ds6-color-g204-gray; @ds6-color-disabled: @ds6-color-g204-gray; diff --git a/dist/less/mixins-common.less b/dist/less/mixins-common.less index d976d8904..045394fcf 100644 --- a/dist/less/mixins-common.less +++ b/dist/less/mixins-common.less @@ -6,8 +6,6 @@ .clipped() { border: 0; clip: rect(1px, 1px, 1px, 1px); - -webkit-clip-path: inset(50%); - clip-path: inset(50%); height: 1px; overflow: hidden; padding: 0; @@ -18,8 +16,6 @@ .unclipped() { clip: auto; - -webkit-clip-path: none; - clip-path: none; height: auto; overflow: visible; white-space: normal; diff --git a/dist/listbox/ds6/listbox.css b/dist/listbox/ds6/listbox.css index 662355bcf..5620480cb 100644 --- a/dist/listbox/ds6/listbox.css +++ b/dist/listbox/ds6/listbox.css @@ -3,9 +3,6 @@ box-sizing: border-box; width: 100%; } -.listbox:hover > .listbox__control > input { - border-color: #4295ff; -} .listbox__control > input { background-color: #ffffff; border: 1px solid #c7c7c7; @@ -16,7 +13,7 @@ font-size: 16px; height: 40px; padding: 0 16px; - text-shadow: 0 0 0 #006efc; + text-shadow: 0 0 0 #111820; vertical-align: middle; width: 100%; } @@ -48,7 +45,7 @@ display: block; } span.listbox__arrow { - background-image: url('data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%278%27%20height%3D%275%27%3E%3Cpath%20fill%3D%22%230654ba%22%20d%3D%22M0.758714126%2C0.14644663%20C0.585147774%2C-0.048815516%200.303741117%2C-0.0488155166%200.130174765%2C0.146446629%20C-0.0433915877%2C0.341708774%20-0.0433915882%2C0.658291264%200.130174763%2C0.85355341%20L3.68573029%2C4.85355339%20C3.85929664%2C5.04881554%204.1407033%2C5.04881554%204.31426965%2C4.85355339%20L7.86982523%2C0.853553392%20C8.04339159%2C0.658291247%208.04339159%2C0.341708758%207.86982524%2C0.146446611%20C7.69625889%2C-0.0488155358%207.41485223%2C-0.0488155372%207.24128588%2C0.146446608%20L3.99999997%2C3.79289322%20L0.758714126%2C0.14644663%20Z%22%3E%3C/path%3E%3C/svg%3E'); + background-image: url('data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%278%27%20height%3D%275%27%3E%3Cpath%20fill%3D%22%2311820%22%20d%3D%22M0.758714126%2C0.14644663%20C0.585147774%2C-0.048815516%200.303741117%2C-0.0488155166%200.130174765%2C0.146446629%20C-0.0433915877%2C0.341708774%20-0.0433915882%2C0.658291264%200.130174763%2C0.85355341%20L3.68573029%2C4.85355339%20C3.85929664%2C5.04881554%204.1407033%2C5.04881554%204.31426965%2C4.85355339%20L7.86982523%2C0.853553392%20C8.04339159%2C0.658291247%208.04339159%2C0.341708758%207.86982524%2C0.146446611%20C7.69625889%2C-0.0488155358%207.41485223%2C-0.0488155372%207.24128588%2C0.146446608%20L3.99999997%2C3.79289322%20L0.758714126%2C0.14644663%20Z%22%3E%3C/path%3E%3C/svg%3E'); background-repeat: no-repeat; background-position: right center; content: ""; diff --git a/dist/notice/ds4/notice-large.css b/dist/notice/ds4/notice-large.css index 0eedd9a49..8cc053a5c 100644 --- a/dist/notice/ds4/notice-large.css +++ b/dist/notice/ds4/notice-large.css @@ -16,6 +16,9 @@ section.page-notice { .page-notice__status svg { margin-left: 16px; } +.page-notice__status span { + margin-left: 16px; +} .page-notice__cta, .flyout-notice__cta { margin-left: 16px; diff --git a/dist/notice/ds4/notice.css b/dist/notice/ds4/notice.css index 49bb4f174..e78d219e9 100644 --- a/dist/notice/ds4/notice.css +++ b/dist/notice/ds4/notice.css @@ -77,6 +77,27 @@ button.page-notice { a.page-notice--priority { color: #dd1e31; } +.page-notice__status span { + background-repeat: no-repeat; + background-size: contain; + display: inline-block; + height: 24px; + margin-left: 8px; + margin-top: 4px; + width: 24px; +} +.page-notice--priority .page-notice__status span, +.inline-notice--priority .inline-notice__status span { + background-image: url('data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2732%27%20height%3D%2732%27%3E%3Cpath%20fill%3D%22%23dd1e31%22%20d%3D%22M15.991%2018.996c0%200%200%200%200%200-0.625%200-1.132-0.507-1.132-1.132%200%200%200%200%200%200v-8.737c-0.006-0.043-0.009-0.094-0.009-0.145%200-0.625%200.507-1.132%201.132-1.132s1.132%200.507%201.132%201.132c0%200.051-0.003%200.101-0.010%200.15l0.001%208.732c0%200%200%200%200%200%200%200.618-0.496%201.121-1.112%201.131z%22%3E%3C/path%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20fill%3D%22%23dd1e31%22%20d%3D%22M17.401%2022.855c0%200.748-0.606%201.354-1.354%201.354s-1.354-0.606-1.354-1.354c0-0.748%200.606-1.354%201.354-1.354s1.354%200.606%201.354%201.354z%22%3E%3C/path%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20fill%3D%22%23dd1e31%22%20d%3D%22M15.991%2032c-8.842%200-16.009-7.168-16.009-16.009s7.168-16.009%2016.009-16.009c8.842%200%2016.009%207.168%2016.009%2016.009%200%200.007%200%200.013%200%200.020-0.011%208.833-7.174%2015.99-16.009%2015.99%200%200%200%200%200%200zM15.991%202.319c0%200%200%200%200%200-7.561%200-13.69%206.129-13.69%2013.69s6.129%2013.69%2013.69%2013.69c7.561%200%2013.69-6.129%2013.69-13.69s-6.129-13.69-13.69-13.69z%22%3E%3C/path%3E%3C/svg%3E'); +} +.page-notice--confirmation .page-notice__status span, +.inline-notice--confirmation .inline-notice__status span { + background-image: url('data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2732%27%20height%3D%2732%27%3E%3Cpath%20fill%3D%22%235ba71b%22%20d%3D%22M16.009%2032c-8.842%200-16.009-7.168-16.009-16.009s7.168-16.009%2016.009-16.009c8.842%200%2016.009%207.168%2016.009%2016.009%200%200.007%200%200.013%200%200.020-0.011%208.833-7.174%2015.99-16.009%2015.99%200%200%200%200%200%200zM16.009%202.319c0%200%200%200%200%200-7.561%200-13.69%206.129-13.69%2013.69s6.129%2013.69%2013.69%2013.69c7.561%200%2013.69-6.129%2013.69-13.69s-6.129-13.69-13.69-13.69z%22%3E%3C/path%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20fill%3D%22%235ba71b%22%20d%3D%22M14.841%2023.448c-0.001%200-0.003%200-0.004%200-0.247%200-0.473-0.091-0.646-0.242l-6.232-5.305c-0.213-0.182-0.347-0.451-0.347-0.751%200-0.545%200.442-0.987%200.987-0.987%200.245%200%200.469%200.089%200.641%200.237l5.434%204.637%208.181-10.741c0.183-0.238%200.468-0.39%200.788-0.39%200.548%200%200.992%200.444%200.992%200.992%200%200.228-0.077%200.438-0.206%200.605l-8.81%2011.573c-0.137%200.199-0.39%200.358-0.682%200.389l-0.116%200z%22%3E%3C/path%3E%3C/svg%3E'); +} +.page-notice--information .page-notice__status span, +.inline-notice--information .inline-notice__status span { + background-image: url('data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2732%27%20height%3D%2732%27%3E%3Cpath%20fill%3D%22%230654ba%22%20d%3D%22M15.991%2012.986c0%200%200%200%200%200-0.625%200-1.132%200.507-1.132%201.132%200%200%200%200%200%200v8.737c0.074%200.56%200.548%200.987%201.122%200.987s1.048-0.427%201.122-0.981l0.001-8.743c0-0%200-0%200-0%200-0.618-0.496-1.121-1.112-1.131z%22%3E%3C/path%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20fill%3D%22%230654ba%22%20d%3D%22M17.401%209.146c0%200.748-0.606%201.354-1.354%201.354s-1.354-0.606-1.354-1.354c0-0.748%200.606-1.354%201.354-1.354s1.354%200.606%201.354%201.354z%22%3E%3C/path%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20fill%3D%22%230654ba%22%20d%3D%22M15.991%2032c-8.842%200-16.009-7.168-16.009-16.009s7.168-16.009%2016.009-16.009c8.842%200%2016.009%207.168%2016.009%2016.009%200%200.007%200%200.013%200%200.020-0.011%208.833-7.174%2015.99-16.009%2015.99%200%200%200%200%200%200zM15.991%202.319c0%200%200%200%200%200-7.561%200-13.69%206.129-13.69%2013.69s6.129%2013.69%2013.69%2013.69c7.561%200%2013.69-6.129%2013.69-13.69s-6.129-13.69-13.69-13.69z%22%3E%3C/path%3E%3C/svg%3E'); +} .flyout-notice--information .flyout-notice__status, .page-notice--information .page-notice__status { color: #0654ba; @@ -146,6 +167,15 @@ a.page-notice--priority { min-width: 16px; width: 16px; } +.inline-notice__status span { + background-repeat: no-repeat; + background-size: contain; + display: inline-block; + height: 16px; + min-height: 16px; + min-width: 16px; + width: 16px; +} .page-notice__status { margin: 0; } @@ -192,6 +222,12 @@ button.flyout-notice__close:hover, button.page-notice__close:hover { color: rgba(153, 153, 153, 0.9); } +button.flyout-notice__close:focus span, +button.page-notice__close:focus span, +button.flyout-notice__close:hover span, +button.page-notice__close:hover span { + background-image: url('data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2732%27%20height%3D%2732%27%3E%3Cpath%20fill%3D%22%23999999%22%20d%3D%22M31.427%202.846l-2.387-2.387-13.084%2013.082-13.082-13.082-2.386%202.387%2013.082%2013.082-13.082%2013.084%202.386%202.386%2013.082-13.082%2013.084%2013.082%202.386-2.386-13.084-13.084z%22%3E%3C/path%3E%3C/svg%3E'); +} button.flyout-notice__close:active, button.page-notice__close:active { color: #333333; @@ -205,6 +241,15 @@ button.page-notice__close svg { height: 12px; width: 12px; } +button.flyout-notice__close span, +button.page-notice__close span { + background-repeat: no-repeat; + background-size: contain; + display: inline-block; + height: 12px; + width: 12px; + background-image: url('data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2732%27%20height%3D%2732%27%3E%3Cpath%20fill%3D%22%23555555%22%20d%3D%22M31.427%202.846l-2.387-2.387-13.084%2013.082-13.082-13.082-2.386%202.387%2013.082%2013.082-13.082%2013.084%202.386%202.386%2013.082-13.082%2013.084%2013.082%202.386-2.386-13.084-13.084z%22%3E%3C/path%3E%3C/svg%3E'); +} .flyout-notice__close { margin-top: 1px; } diff --git a/dist/notice/ds6/notice.css b/dist/notice/ds6/notice.css index e69de29bb..c6ec045f0 100644 --- a/dist/notice/ds6/notice.css +++ b/dist/notice/ds6/notice.css @@ -0,0 +1,168 @@ +.page-notice { + background-color: #ffffff; + border-style: solid; + border-width: 4px; + font-size: 0.875rem; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + margin: 8px 0; +} +div[role="region"].page-notice, +section.page-notice { + display: -webkit-box; + display: -ms-flexbox; + display: flex; +} +span[role="region"].page-notice { + display: -webkit-inline-box; + display: -ms-inline-flexbox; + display: inline-flex; +} +.page-notice--confirmation { + border-color: #71c63e; +} +.page-notice--confirmation .page-notice__status { + background-color: #71c63e; +} +.page-notice--priority { + border-color: #ff5151; +} +.page-notice--priority .page-notice__status { + background-color: #ff5151; +} +.page-notice--information { + border-color: #4295ff; +} +.page-notice--information .page-notice__status { + background-color: #4295ff; +} +.page-notice__status { + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + color: white; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + margin: 0; + padding: 12px 16px 12px 12px; +} +.page-notice__content p, +.page-notice__cell p { + margin: 16px; +} +.inline-notice { + margin: 8px 0; +} +.inline-notice p { + margin: 4px 0; +} +.inline-notice p:first-of-type { + font-weight: bold; +} +div.inline-notice { + display: -webkit-box; + display: -ms-flexbox; + display: flex; +} +span.inline-notice { + display: -webkit-inline-box; + display: -ms-inline-flexbox; + display: inline-flex; +} +.page-notice__status span, +.inline-notice__status span { + background-repeat: no-repeat; + background-size: contain; + display: inline-block; +} +.page-notice__status span { + height: 28px; + margin: 0; + width: 28px; +} +.inline-notice__status span { + height: 24px; + margin: 1px 8px 0 0; + width: 24px; +} +.page-notice--confirmation .page-notice__status span { + background-image: url('data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2729%27%20height%3D%2729%27%3E%3Ccircle%20cx%3D%2214.5%22%20cy%3D%2214.5%22%20r%3D%2214.5%22%20fill%3D%22%23ffffff%22%3E%3C/circle%3E%0A%3Cpath%20fill%3D%22%23ffffff%22%20stroke%3D%22%2371c63e%22%20stroke-width%3D%222%22%20d%3D%22M5.548%2015.01l5.773%206.286L21.522%209.824%22%3E%3C/path%3E%3C/svg%3E'); +} +.inline-notice--confirmation .inline-notice__status span { + background-image: url('data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2729%27%20height%3D%2729%27%3E%3Ccircle%20cx%3D%2214.5%22%20cy%3D%2214.5%22%20r%3D%2214.5%22%20fill%3D%22%2371c63e%22%3E%3C/circle%3E%0A%3Cpath%20fill%3D%22%2371c63e%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%222%22%20d%3D%22M5.548%2015.01l5.773%206.286L21.522%209.824%22%3E%3C/path%3E%3C/svg%3E'); +} +.page-notice--priority .page-notice__status span { + background-image: url('data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2729%27%20height%3D%2729%27%3E%3Ccircle%20fill%3D%22%23ffffff%22%20cx%3D%2214.5%22%20cy%3D%2214.5%22%20r%3D%2214.5%22%3E%3C/circle%3E%0A%3Cpath%20fill%3D%22%23ff5151%22%20d%3D%22M14.5%2C18h0A1.5%2C1.5%2C0%2C0%2C1%2C13%2C16.5v-9A1.5%2C1.5%2C0%2C0%2C1%2C14.5%2C6h0A1.5%2C1.5%2C0%2C0%2C1%2C16%2C7.5v9A1.5%2C1.5%2C0%2C0%2C1%2C14.5%2C18Z%22%3E%3C/path%3E%0A%3Cpath%20fill%3D%22%23ff5151%22%20d%3D%22M14.5%2C23h0A1.5%2C1.5%2C0%2C0%2C1%2C13%2C21.5h0A1.5%2C1.5%2C0%2C0%2C1%2C14.5%2C20h0A1.5%2C1.5%2C0%2C0%2C1%2C16%2C21.5h0A1.5%2C1.5%2C0%2C0%2C1%2C14.5%2C23Z%22%3E%3C/path%3E%3C/svg%3E'); +} +.inline-notice--priority .inline-notice__status span { + background-image: url('data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2729%27%20height%3D%2729%27%3E%3Ccircle%20fill%3D%22%23ff5151%22%20cx%3D%2214.5%22%20cy%3D%2214.5%22%20r%3D%2214.5%22%3E%3C/circle%3E%0A%3Cpath%20fill%3D%22%23ffffff%22%20d%3D%22M14.5%2C18h0A1.5%2C1.5%2C0%2C0%2C1%2C13%2C16.5v-9A1.5%2C1.5%2C0%2C0%2C1%2C14.5%2C6h0A1.5%2C1.5%2C0%2C0%2C1%2C16%2C7.5v9A1.5%2C1.5%2C0%2C0%2C1%2C14.5%2C18Z%22%3E%3C/path%3E%0A%3Cpath%20fill%3D%22%23ffffff%22%20d%3D%22M14.5%2C23h0A1.5%2C1.5%2C0%2C0%2C1%2C13%2C21.5h0A1.5%2C1.5%2C0%2C0%2C1%2C14.5%2C20h0A1.5%2C1.5%2C0%2C0%2C1%2C16%2C21.5h0A1.5%2C1.5%2C0%2C0%2C1%2C14.5%2C23Z%22%3E%3C/path%3E%3C/svg%3E'); +} +.page-notice--information .page-notice__status span { + background-image: url('data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2729%27%20height%3D%2729%27%3E%3Ccircle%20cx%3D%2214.5%22%20cy%3D%2214.5%22%20r%3D%2214.5%22%20fill%3D%22%23ffffff%22%3E%3C/circle%3E%3Crect%20width%3D%223%22%20height%3D%2212%22%20x%3D%2213%22%20y%3D%2211%22%20fill%3D%22%234295ff%22%20rx%3D%221.5%22%3E%3C/rect%3E%3Crect%20width%3D%223%22%20height%3D%223%22%20x%3D%2213%22%20y%3D%226%22%20fill%3D%22%234295ff%22%20rx%3D%221.5%22%3E%3C/rect%3E%3C/svg%3E'); +} +.inline-notice--information .inline-notice__status span { + background-image: url('data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2729%27%20height%3D%2729%27%3E%3Ccircle%20cx%3D%2214.5%22%20cy%3D%2214.5%22%20r%3D%2214.5%22%20fill%3D%22%234295ff%22%3E%3C/circle%3E%3Crect%20width%3D%223%22%20height%3D%2212%22%20x%3D%2213%22%20y%3D%2211%22%20fill%3D%22%23ffffff%22%20rx%3D%221.5%22%3E%3C/rect%3E%3Crect%20width%3D%223%22%20height%3D%223%22%20x%3D%2213%22%20y%3D%226%22%20fill%3D%22%23ffffff%22%20rx%3D%221.5%22%3E%3C/rect%3E%3C/svg%3E'); +} +/* +.flyout-notice { + background-color: #006efc; + color: white; + padding: 8px; + position: absolute; + word-wrap: break-word; + + a { + color: white; + } +} + +.flyout-notice__pointer-top { + border-bottom-style: solid; + border-bottom-width: 12px; + border-left: 12px solid transparent; + border-right: 12px solid transparent; + bottom: 100%; + color: #006efc; + left: calc(50% - 8px); + position: absolute; +} + +.flyout-notice__pointer-bottom { + border-top-style: solid; + border-top-width: 12px; + border-left: 12px solid transparent; + border-right: 12px solid transparent; + top: 100%; + color: #006efc; + left: calc(50% - 8px); + position: absolute; +} + +.flyout-notice__pointer-right { + border-left-style: solid; + border-left-width: 12px; + border-bottom: 12px solid transparent; + border-top: 12px solid transparent; + left: 100%; + color: #006efc; + top: calc(50% - 8px); + position: absolute; +} + +.flyout-notice__pointer-left { + border-right-style: solid; + border-right-width: 12px; + border-bottom: 12px solid transparent; + border-top: 12px solid transparent; + right: 100%; + color: #006efc; + top: calc(50% - 8px); + position: absolute; +} + +.flyout-notice a { + outline-color: white; +} +*/ diff --git a/dist/utility/ds4/utility.css b/dist/utility/ds4/utility.css index 469ccbc34..aa6bb7a50 100644 --- a/dist/utility/ds4/utility.css +++ b/dist/utility/ds4/utility.css @@ -10,8 +10,6 @@ .clipped { border: 0; clip: rect(1px, 1px, 1px, 1px); - -webkit-clip-path: inset(50%); - clip-path: inset(50%); height: 1px; overflow: hidden; padding: 0; @@ -21,8 +19,6 @@ } .clipped--stealth:focus { clip: auto; - -webkit-clip-path: none; - clip-path: none; height: auto; overflow: visible; white-space: normal; diff --git a/dist/utility/ds6/utility.css b/dist/utility/ds6/utility.css index 632212e50..064454ff8 100644 --- a/dist/utility/ds6/utility.css +++ b/dist/utility/ds6/utility.css @@ -10,8 +10,6 @@ .clipped { border: 0; clip: rect(1px, 1px, 1px, 1px); - -webkit-clip-path: inset(50%); - clip-path: inset(50%); height: 1px; overflow: hidden; padding: 0; @@ -21,8 +19,6 @@ } .clipped--stealth:focus { clip: auto; - -webkit-clip-path: none; - clip-path: none; height: auto; overflow: visible; white-space: normal; diff --git a/docs/_includes/cdn.html b/docs/_includes/cdn.html index 5c670ac9e..de51fb4f3 100644 --- a/docs/_includes/cdn.html +++ b/docs/_includes/cdn.html @@ -1,10 +1,10 @@
A CSS file containing the full collection of modules (except grid) for small screens is available via the following url:
-https://ir.ebaystatic.com/cr/v/c1/skin/v3.3.2/ds4/skin.min.css
+https://ir.ebaystatic.com/cr/v/c1/skin/v3.4.0/ds4/skin.min.css
A small CSS file containing only the additional rules for large screens, for an adaptive approach, is also available:
-https://ir.ebaystatic.com/cr/v/c1/skin/v3.3.2/ds4/skin-large.min.css
+https://ir.ebaystatic.com/cr/v/c1/skin/v3.4.0/ds4/skin-large.min.css
Finally, a CSS file containing all rules (with the large rules contained in a media query) is available at:
-https://ir.ebaystatic.com/cr/v/c1/skin/v3.3.2/ds4/skin-full.min.css
+https://ir.ebaystatic.com/cr/v/c1/skin/v3.4.0/ds4/skin-full.min.css
Using this "full" file effectively means that your site is opting into a responsive approach rather than adaptive.