From a089e9456486f4969734d1b35c7c62fcef10bdbc Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Thu, 21 Feb 2019 17:54:52 +0800 Subject: [PATCH] Update snapshots --- .../__snapshots__/storyshots.test.js.snap | 38 - .../tabs/__snapshots__/tabs.stories.storyshot | 980 +++++++++--------- .../__snapshots__/panel.stories.storyshot | 19 - .../__snapshots__/preview.stories.storyshot | 38 - .../__snapshots__/about.stories.storyshot | 57 - 5 files changed, 490 insertions(+), 642 deletions(-) diff --git a/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap b/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap index 3cdd355530e..5a3abad4b5d 100644 --- a/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap +++ b/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap @@ -3353,30 +3353,11 @@ exports[`Storyshots UI|Settings/ShortcutsScreen default shortcuts 1`] = ` background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); } -.emotion-8:hover { - -webkit-scrollbar-width: none; - -moz-scrollbar-width: none; - -ms-scrollbar-width: none; - scrollbar-width: none; - -webkit-scrollbar-width: 0; - -moz-scrollbar-width: 0; - -ms-scrollbar-width: 0; - scrollbar-width: 0; -} - .emotion-8::-webkit-scrollbar { height: 3px; width: 3px; background: transparent; box-shadow: none; - display: none; -} - -.emotion-8:hover::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - display: block; } .emotion-8::-webkit-scrollbar-track { @@ -3884,30 +3865,11 @@ exports[`Storyshots UI|Settings/ShortcutsScreen default shortcuts 1`] = ` background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); } -.emotion-8:hover { - -webkit-scrollbar-width: none; - -moz-scrollbar-width: none; - -ms-scrollbar-width: none; - scrollbar-width: none; - -webkit-scrollbar-width: 0; - -moz-scrollbar-width: 0; - -ms-scrollbar-width: 0; - scrollbar-width: 0; -} - .emotion-8::-webkit-scrollbar { height: 3px; width: 3px; background: transparent; box-shadow: none; - display: none; -} - -.emotion-8:hover::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - display: block; } .emotion-8::-webkit-scrollbar-track { diff --git a/lib/components/src/tabs/__snapshots__/tabs.stories.storyshot b/lib/components/src/tabs/__snapshots__/tabs.stories.storyshot index ec79f2959e4..ab62c31c611 100644 --- a/lib/components/src/tabs/__snapshots__/tabs.stories.storyshot +++ b/lib/components/src/tabs/__snapshots__/tabs.stories.storyshot @@ -1,76 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`Storyshots Basics|Tabs stateful - dynamic 1`] = ` -.emotion-9 { - color: #999999; - height: 40px; - overflow: auto; - overflow-x: auto; - overflow-y: hidden; - -webkit-scrollbar-width: slim; - -moz-scrollbar-width: slim; - -ms-scrollbar-width: slim; - scrollbar-width: slim; - -webkit-scrollbar-width: 3px; - -moz-scrollbar-width: 3px; - -ms-scrollbar-width: 3px; - scrollbar-width: 3px; - -webkit-scrollbar-color: transparent transparent; - -moz-scrollbar-color: transparent transparent; - -ms-scrollbar-color: transparent transparent; - scrollbar-color: transparent transparent; - background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); -} - -.emotion-9:hover { - -webkit-scrollbar-width: none; - -moz-scrollbar-width: none; - -ms-scrollbar-width: none; - scrollbar-width: none; - -webkit-scrollbar-width: 0; - -moz-scrollbar-width: 0; - -ms-scrollbar-width: 0; - scrollbar-width: 0; -} - -.emotion-9::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - box-shadow: none; - display: none; -} - -.emotion-9:hover::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - display: block; -} - -.emotion-9::-webkit-scrollbar-track { - border-radius: 0; - background: transparent; - opacity: 0; - border: 0 none; - box-shadow: none; - height: 0; - width: 0; -} - -.emotion-9::-webkit-scrollbar-thumb { - border-radius: 0; - background: rgba(0,0,0,.1); - box-shadow: none; -} - -.emotion-9::-webkit-scrollbar-track-piece { - display: none; - border: 0 none; - opacity: 0; - visibility: hidden; -} - .emotion-8 { display: -webkit-box; display: -webkit-flex; @@ -204,6 +134,76 @@ exports[`Storyshots Basics|Tabs stateful - dynamic 1`] = ` display: block; } +.emotion-9 { + color: #999999; + height: 40px; + overflow: auto; + overflow-x: auto; + overflow-y: hidden; + -webkit-scrollbar-width: slim; + -moz-scrollbar-width: slim; + -ms-scrollbar-width: slim; + scrollbar-width: slim; + -webkit-scrollbar-width: 3px; + -moz-scrollbar-width: 3px; + -ms-scrollbar-width: 3px; + scrollbar-width: 3px; + -webkit-scrollbar-color: transparent transparent; + -moz-scrollbar-color: transparent transparent; + -ms-scrollbar-color: transparent transparent; + scrollbar-color: transparent transparent; + background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); +} + +.emotion-9:hover { + -webkit-scrollbar-width: none; + -moz-scrollbar-width: none; + -ms-scrollbar-width: none; + scrollbar-width: none; + -webkit-scrollbar-width: 0; + -moz-scrollbar-width: 0; + -ms-scrollbar-width: 0; + scrollbar-width: 0; +} + +.emotion-9::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + box-shadow: none; + display: none; +} + +.emotion-9:hover::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + display: block; +} + +.emotion-9::-webkit-scrollbar-track { + border-radius: 0; + background: transparent; + opacity: 0; + border: 0 none; + box-shadow: none; + height: 0; + width: 0; +} + +.emotion-9::-webkit-scrollbar-thumb { + border-radius: 0; + background: rgba(0,0,0,.1); + box-shadow: none; +} + +.emotion-9::-webkit-scrollbar-track-piece { + display: none; + border: 0 none; + opacity: 0; + visibility: hidden; +} + .emotion-11 { display: block; position: relative; @@ -353,76 +353,6 @@ exports[`Storyshots Basics|Tabs stateful - dynamic 1`] = ` `; exports[`Storyshots Basics|Tabs stateful - no initial 1`] = ` -.emotion-9 { - color: #999999; - height: 40px; - overflow: auto; - overflow-x: auto; - overflow-y: hidden; - -webkit-scrollbar-width: slim; - -moz-scrollbar-width: slim; - -ms-scrollbar-width: slim; - scrollbar-width: slim; - -webkit-scrollbar-width: 3px; - -moz-scrollbar-width: 3px; - -ms-scrollbar-width: 3px; - scrollbar-width: 3px; - -webkit-scrollbar-color: transparent transparent; - -moz-scrollbar-color: transparent transparent; - -ms-scrollbar-color: transparent transparent; - scrollbar-color: transparent transparent; - background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); -} - -.emotion-9:hover { - -webkit-scrollbar-width: none; - -moz-scrollbar-width: none; - -ms-scrollbar-width: none; - scrollbar-width: none; - -webkit-scrollbar-width: 0; - -moz-scrollbar-width: 0; - -ms-scrollbar-width: 0; - scrollbar-width: 0; -} - -.emotion-9::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - box-shadow: none; - display: none; -} - -.emotion-9:hover::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - display: block; -} - -.emotion-9::-webkit-scrollbar-track { - border-radius: 0; - background: transparent; - opacity: 0; - border: 0 none; - box-shadow: none; - height: 0; - width: 0; -} - -.emotion-9::-webkit-scrollbar-thumb { - border-radius: 0; - background: rgba(0,0,0,.1); - box-shadow: none; -} - -.emotion-9::-webkit-scrollbar-track-piece { - display: none; - border: 0 none; - opacity: 0; - visibility: hidden; -} - .emotion-8 { display: -webkit-box; display: -webkit-flex; @@ -556,6 +486,76 @@ exports[`Storyshots Basics|Tabs stateful - no initial 1`] = ` display: block; } +.emotion-9 { + color: #999999; + height: 40px; + overflow: auto; + overflow-x: auto; + overflow-y: hidden; + -webkit-scrollbar-width: slim; + -moz-scrollbar-width: slim; + -ms-scrollbar-width: slim; + scrollbar-width: slim; + -webkit-scrollbar-width: 3px; + -moz-scrollbar-width: 3px; + -ms-scrollbar-width: 3px; + scrollbar-width: 3px; + -webkit-scrollbar-color: transparent transparent; + -moz-scrollbar-color: transparent transparent; + -ms-scrollbar-color: transparent transparent; + scrollbar-color: transparent transparent; + background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); +} + +.emotion-9:hover { + -webkit-scrollbar-width: none; + -moz-scrollbar-width: none; + -ms-scrollbar-width: none; + scrollbar-width: none; + -webkit-scrollbar-width: 0; + -moz-scrollbar-width: 0; + -ms-scrollbar-width: 0; + scrollbar-width: 0; +} + +.emotion-9::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + box-shadow: none; + display: none; +} + +.emotion-9:hover::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + display: block; +} + +.emotion-9::-webkit-scrollbar-track { + border-radius: 0; + background: transparent; + opacity: 0; + border: 0 none; + box-shadow: none; + height: 0; + width: 0; +} + +.emotion-9::-webkit-scrollbar-thumb { + border-radius: 0; + background: rgba(0,0,0,.1); + box-shadow: none; +} + +.emotion-9::-webkit-scrollbar-track-piece { + display: none; + border: 0 none; + opacity: 0; + visibility: hidden; +} + .emotion-11 { display: block; position: relative; @@ -661,76 +661,6 @@ exports[`Storyshots Basics|Tabs stateful - no initial 1`] = ` `; exports[`Storyshots Basics|Tabs stateful - static 1`] = ` -.emotion-5 { - color: #999999; - height: 40px; - overflow: auto; - overflow-x: auto; - overflow-y: hidden; - -webkit-scrollbar-width: slim; - -moz-scrollbar-width: slim; - -ms-scrollbar-width: slim; - scrollbar-width: slim; - -webkit-scrollbar-width: 3px; - -moz-scrollbar-width: 3px; - -ms-scrollbar-width: 3px; - scrollbar-width: 3px; - -webkit-scrollbar-color: transparent transparent; - -moz-scrollbar-color: transparent transparent; - -ms-scrollbar-color: transparent transparent; - scrollbar-color: transparent transparent; - background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); -} - -.emotion-5:hover { - -webkit-scrollbar-width: none; - -moz-scrollbar-width: none; - -ms-scrollbar-width: none; - scrollbar-width: none; - -webkit-scrollbar-width: 0; - -moz-scrollbar-width: 0; - -ms-scrollbar-width: 0; - scrollbar-width: 0; -} - -.emotion-5::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - box-shadow: none; - display: none; -} - -.emotion-5:hover::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - display: block; -} - -.emotion-5::-webkit-scrollbar-track { - border-radius: 0; - background: transparent; - opacity: 0; - border: 0 none; - box-shadow: none; - height: 0; - width: 0; -} - -.emotion-5::-webkit-scrollbar-thumb { - border-radius: 0; - background: rgba(0,0,0,.1); - box-shadow: none; -} - -.emotion-5::-webkit-scrollbar-track-piece { - display: none; - border: 0 none; - opacity: 0; - visibility: hidden; -} - .emotion-4 { display: -webkit-box; display: -webkit-flex; @@ -864,6 +794,76 @@ exports[`Storyshots Basics|Tabs stateful - static 1`] = ` display: block; } +.emotion-5 { + color: #999999; + height: 40px; + overflow: auto; + overflow-x: auto; + overflow-y: hidden; + -webkit-scrollbar-width: slim; + -moz-scrollbar-width: slim; + -ms-scrollbar-width: slim; + scrollbar-width: slim; + -webkit-scrollbar-width: 3px; + -moz-scrollbar-width: 3px; + -ms-scrollbar-width: 3px; + scrollbar-width: 3px; + -webkit-scrollbar-color: transparent transparent; + -moz-scrollbar-color: transparent transparent; + -ms-scrollbar-color: transparent transparent; + scrollbar-color: transparent transparent; + background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); +} + +.emotion-5:hover { + -webkit-scrollbar-width: none; + -moz-scrollbar-width: none; + -ms-scrollbar-width: none; + scrollbar-width: none; + -webkit-scrollbar-width: 0; + -moz-scrollbar-width: 0; + -ms-scrollbar-width: 0; + scrollbar-width: 0; +} + +.emotion-5::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + box-shadow: none; + display: none; +} + +.emotion-5:hover::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + display: block; +} + +.emotion-5::-webkit-scrollbar-track { + border-radius: 0; + background: transparent; + opacity: 0; + border: 0 none; + box-shadow: none; + height: 0; + width: 0; +} + +.emotion-5::-webkit-scrollbar-thumb { + border-radius: 0; + background: rgba(0,0,0,.1); + box-shadow: none; +} + +.emotion-5::-webkit-scrollbar-track-piece { + display: none; + border: 0 none; + opacity: 0; + visibility: hidden; +} + .emotion-7 { display: block; position: relative; @@ -927,76 +927,6 @@ exports[`Storyshots Basics|Tabs stateful - static 1`] = ` `; exports[`Storyshots Basics|Tabs stateless - absolute 1`] = ` -.emotion-9 { - color: #999999; - height: 40px; - overflow: auto; - overflow-x: auto; - overflow-y: hidden; - -webkit-scrollbar-width: slim; - -moz-scrollbar-width: slim; - -ms-scrollbar-width: slim; - scrollbar-width: slim; - -webkit-scrollbar-width: 3px; - -moz-scrollbar-width: 3px; - -ms-scrollbar-width: 3px; - scrollbar-width: 3px; - -webkit-scrollbar-color: transparent transparent; - -moz-scrollbar-color: transparent transparent; - -ms-scrollbar-color: transparent transparent; - scrollbar-color: transparent transparent; - background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); -} - -.emotion-9:hover { - -webkit-scrollbar-width: none; - -moz-scrollbar-width: none; - -ms-scrollbar-width: none; - scrollbar-width: none; - -webkit-scrollbar-width: 0; - -moz-scrollbar-width: 0; - -ms-scrollbar-width: 0; - scrollbar-width: 0; -} - -.emotion-9::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - box-shadow: none; - display: none; -} - -.emotion-9:hover::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - display: block; -} - -.emotion-9::-webkit-scrollbar-track { - border-radius: 0; - background: transparent; - opacity: 0; - border: 0 none; - box-shadow: none; - height: 0; - width: 0; -} - -.emotion-9::-webkit-scrollbar-thumb { - border-radius: 0; - background: rgba(0,0,0,.1); - box-shadow: none; -} - -.emotion-9::-webkit-scrollbar-track-piece { - display: none; - border: 0 none; - opacity: 0; - visibility: hidden; -} - .emotion-8 { display: -webkit-box; display: -webkit-flex; @@ -1138,6 +1068,76 @@ exports[`Storyshots Basics|Tabs stateless - absolute 1`] = ` width: 100%; } +.emotion-9 { + color: #999999; + height: 40px; + overflow: auto; + overflow-x: auto; + overflow-y: hidden; + -webkit-scrollbar-width: slim; + -moz-scrollbar-width: slim; + -ms-scrollbar-width: slim; + scrollbar-width: slim; + -webkit-scrollbar-width: 3px; + -moz-scrollbar-width: 3px; + -ms-scrollbar-width: 3px; + scrollbar-width: 3px; + -webkit-scrollbar-color: transparent transparent; + -moz-scrollbar-color: transparent transparent; + -ms-scrollbar-color: transparent transparent; + scrollbar-color: transparent transparent; + background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); +} + +.emotion-9:hover { + -webkit-scrollbar-width: none; + -moz-scrollbar-width: none; + -ms-scrollbar-width: none; + scrollbar-width: none; + -webkit-scrollbar-width: 0; + -moz-scrollbar-width: 0; + -ms-scrollbar-width: 0; + scrollbar-width: 0; +} + +.emotion-9::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + box-shadow: none; + display: none; +} + +.emotion-9:hover::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + display: block; +} + +.emotion-9::-webkit-scrollbar-track { + border-radius: 0; + background: transparent; + opacity: 0; + border: 0 none; + box-shadow: none; + height: 0; + width: 0; +} + +.emotion-9::-webkit-scrollbar-thumb { + border-radius: 0; + background: rgba(0,0,0,.1); + box-shadow: none; +} + +.emotion-9::-webkit-scrollbar-track-piece { + display: none; + border: 0 none; + opacity: 0; + visibility: hidden; +} + .emotion-10 { display: none; } @@ -1296,76 +1296,6 @@ exports[`Storyshots Basics|Tabs stateless - absolute 1`] = ` `; exports[`Storyshots Basics|Tabs stateless - bordered 1`] = ` -.emotion-9 { - color: #999999; - height: 40px; - overflow: auto; - overflow-x: auto; - overflow-y: hidden; - -webkit-scrollbar-width: slim; - -moz-scrollbar-width: slim; - -ms-scrollbar-width: slim; - scrollbar-width: slim; - -webkit-scrollbar-width: 3px; - -moz-scrollbar-width: 3px; - -ms-scrollbar-width: 3px; - scrollbar-width: 3px; - -webkit-scrollbar-color: transparent transparent; - -moz-scrollbar-color: transparent transparent; - -ms-scrollbar-color: transparent transparent; - scrollbar-color: transparent transparent; - background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); -} - -.emotion-9:hover { - -webkit-scrollbar-width: none; - -moz-scrollbar-width: none; - -ms-scrollbar-width: none; - scrollbar-width: none; - -webkit-scrollbar-width: 0; - -moz-scrollbar-width: 0; - -ms-scrollbar-width: 0; - scrollbar-width: 0; -} - -.emotion-9::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - box-shadow: none; - display: none; -} - -.emotion-9:hover::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - display: block; -} - -.emotion-9::-webkit-scrollbar-track { - border-radius: 0; - background: transparent; - opacity: 0; - border: 0 none; - box-shadow: none; - height: 0; - width: 0; -} - -.emotion-9::-webkit-scrollbar-thumb { - border-radius: 0; - background: rgba(0,0,0,.1); - box-shadow: none; -} - -.emotion-9::-webkit-scrollbar-track-piece { - display: none; - border: 0 none; - opacity: 0; - visibility: hidden; -} - .emotion-8 { display: -webkit-box; display: -webkit-flex; @@ -1495,6 +1425,76 @@ exports[`Storyshots Basics|Tabs stateless - bordered 1`] = ` border-bottom-color: #1EA7FD; } +.emotion-9 { + color: #999999; + height: 40px; + overflow: auto; + overflow-x: auto; + overflow-y: hidden; + -webkit-scrollbar-width: slim; + -moz-scrollbar-width: slim; + -ms-scrollbar-width: slim; + scrollbar-width: slim; + -webkit-scrollbar-width: 3px; + -moz-scrollbar-width: 3px; + -ms-scrollbar-width: 3px; + scrollbar-width: 3px; + -webkit-scrollbar-color: transparent transparent; + -moz-scrollbar-color: transparent transparent; + -ms-scrollbar-color: transparent transparent; + scrollbar-color: transparent transparent; + background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); +} + +.emotion-9:hover { + -webkit-scrollbar-width: none; + -moz-scrollbar-width: none; + -ms-scrollbar-width: none; + scrollbar-width: none; + -webkit-scrollbar-width: 0; + -moz-scrollbar-width: 0; + -ms-scrollbar-width: 0; + scrollbar-width: 0; +} + +.emotion-9::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + box-shadow: none; + display: none; +} + +.emotion-9:hover::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + display: block; +} + +.emotion-9::-webkit-scrollbar-track { + border-radius: 0; + background: transparent; + opacity: 0; + border: 0 none; + box-shadow: none; + height: 0; + width: 0; +} + +.emotion-9::-webkit-scrollbar-thumb { + border-radius: 0; + background: rgba(0,0,0,.1); + box-shadow: none; +} + +.emotion-9::-webkit-scrollbar-track-piece { + display: none; + border: 0 none; + opacity: 0; + visibility: hidden; +} + .emotion-11 { display: block; position: relative; @@ -1677,76 +1677,6 @@ exports[`Storyshots Basics|Tabs stateless - empty 1`] = ` `; exports[`Storyshots Basics|Tabs stateless - no scrolling 1`] = ` -.emotion-9 { - color: #999999; - height: 40px; - overflow: auto; - overflow-x: auto; - overflow-y: hidden; - -webkit-scrollbar-width: slim; - -moz-scrollbar-width: slim; - -ms-scrollbar-width: slim; - scrollbar-width: slim; - -webkit-scrollbar-width: 3px; - -moz-scrollbar-width: 3px; - -ms-scrollbar-width: 3px; - scrollbar-width: 3px; - -webkit-scrollbar-color: transparent transparent; - -moz-scrollbar-color: transparent transparent; - -ms-scrollbar-color: transparent transparent; - scrollbar-color: transparent transparent; - background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); -} - -.emotion-9:hover { - -webkit-scrollbar-width: none; - -moz-scrollbar-width: none; - -ms-scrollbar-width: none; - scrollbar-width: none; - -webkit-scrollbar-width: 0; - -moz-scrollbar-width: 0; - -ms-scrollbar-width: 0; - scrollbar-width: 0; -} - -.emotion-9::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - box-shadow: none; - display: none; -} - -.emotion-9:hover::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - display: block; -} - -.emotion-9::-webkit-scrollbar-track { - border-radius: 0; - background: transparent; - opacity: 0; - border: 0 none; - box-shadow: none; - height: 0; - width: 0; -} - -.emotion-9::-webkit-scrollbar-thumb { - border-radius: 0; - background: rgba(0,0,0,.1); - box-shadow: none; -} - -.emotion-9::-webkit-scrollbar-track-piece { - display: none; - border: 0 none; - opacity: 0; - visibility: hidden; -} - .emotion-8 { display: -webkit-box; display: -webkit-flex; @@ -1876,6 +1806,76 @@ exports[`Storyshots Basics|Tabs stateless - no scrolling 1`] = ` border-bottom-color: #1EA7FD; } +.emotion-9 { + color: #999999; + height: 40px; + overflow: auto; + overflow-x: auto; + overflow-y: hidden; + -webkit-scrollbar-width: slim; + -moz-scrollbar-width: slim; + -ms-scrollbar-width: slim; + scrollbar-width: slim; + -webkit-scrollbar-width: 3px; + -moz-scrollbar-width: 3px; + -ms-scrollbar-width: 3px; + scrollbar-width: 3px; + -webkit-scrollbar-color: transparent transparent; + -moz-scrollbar-color: transparent transparent; + -ms-scrollbar-color: transparent transparent; + scrollbar-color: transparent transparent; + background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); +} + +.emotion-9:hover { + -webkit-scrollbar-width: none; + -moz-scrollbar-width: none; + -ms-scrollbar-width: none; + scrollbar-width: none; + -webkit-scrollbar-width: 0; + -moz-scrollbar-width: 0; + -ms-scrollbar-width: 0; + scrollbar-width: 0; +} + +.emotion-9::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + box-shadow: none; + display: none; +} + +.emotion-9:hover::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + display: block; +} + +.emotion-9::-webkit-scrollbar-track { + border-radius: 0; + background: transparent; + opacity: 0; + border: 0 none; + box-shadow: none; + height: 0; + width: 0; +} + +.emotion-9::-webkit-scrollbar-thumb { + border-radius: 0; + background: rgba(0,0,0,.1); + box-shadow: none; +} + +.emotion-9::-webkit-scrollbar-track-piece { + display: none; + border: 0 none; + opacity: 0; + visibility: hidden; +} + .emotion-11 { display: block; position: relative; @@ -2031,76 +2031,6 @@ exports[`Storyshots Basics|Tabs stateless - no scrolling 1`] = ` `; exports[`Storyshots Basics|Tabs stateless - with tools 1`] = ` -.emotion-10 { - color: #999999; - height: 40px; - overflow: auto; - overflow-x: auto; - overflow-y: hidden; - -webkit-scrollbar-width: slim; - -moz-scrollbar-width: slim; - -ms-scrollbar-width: slim; - scrollbar-width: slim; - -webkit-scrollbar-width: 3px; - -moz-scrollbar-width: 3px; - -ms-scrollbar-width: 3px; - scrollbar-width: 3px; - -webkit-scrollbar-color: transparent transparent; - -moz-scrollbar-color: transparent transparent; - -ms-scrollbar-color: transparent transparent; - scrollbar-color: transparent transparent; - background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); -} - -.emotion-10:hover { - -webkit-scrollbar-width: none; - -moz-scrollbar-width: none; - -ms-scrollbar-width: none; - scrollbar-width: none; - -webkit-scrollbar-width: 0; - -moz-scrollbar-width: 0; - -ms-scrollbar-width: 0; - scrollbar-width: 0; -} - -.emotion-10::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - box-shadow: none; - display: none; -} - -.emotion-10:hover::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - display: block; -} - -.emotion-10::-webkit-scrollbar-track { - border-radius: 0; - background: transparent; - opacity: 0; - border: 0 none; - box-shadow: none; - height: 0; - width: 0; -} - -.emotion-10::-webkit-scrollbar-thumb { - border-radius: 0; - background: rgba(0,0,0,.1); - box-shadow: none; -} - -.emotion-10::-webkit-scrollbar-track-piece { - display: none; - border: 0 none; - opacity: 0; - visibility: hidden; -} - .emotion-9 { display: -webkit-box; display: -webkit-flex; @@ -2252,6 +2182,76 @@ exports[`Storyshots Basics|Tabs stateless - with tools 1`] = ` display: block; } +.emotion-10 { + color: #999999; + height: 40px; + overflow: auto; + overflow-x: auto; + overflow-y: hidden; + -webkit-scrollbar-width: slim; + -moz-scrollbar-width: slim; + -ms-scrollbar-width: slim; + scrollbar-width: slim; + -webkit-scrollbar-width: 3px; + -moz-scrollbar-width: 3px; + -ms-scrollbar-width: 3px; + scrollbar-width: 3px; + -webkit-scrollbar-color: transparent transparent; + -moz-scrollbar-color: transparent transparent; + -ms-scrollbar-color: transparent transparent; + scrollbar-color: transparent transparent; + background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); +} + +.emotion-10:hover { + -webkit-scrollbar-width: none; + -moz-scrollbar-width: none; + -ms-scrollbar-width: none; + scrollbar-width: none; + -webkit-scrollbar-width: 0; + -moz-scrollbar-width: 0; + -ms-scrollbar-width: 0; + scrollbar-width: 0; +} + +.emotion-10::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + box-shadow: none; + display: none; +} + +.emotion-10:hover::-webkit-scrollbar { + height: 3px; + width: 3px; + background: transparent; + display: block; +} + +.emotion-10::-webkit-scrollbar-track { + border-radius: 0; + background: transparent; + opacity: 0; + border: 0 none; + box-shadow: none; + height: 0; + width: 0; +} + +.emotion-10::-webkit-scrollbar-thumb { + border-radius: 0; + background: rgba(0,0,0,.1); + box-shadow: none; +} + +.emotion-10::-webkit-scrollbar-track-piece { + display: none; + border: 0 none; + opacity: 0; + visibility: hidden; +} + .emotion-12 { display: block; position: relative; diff --git a/lib/ui/src/components/panel/__snapshots__/panel.stories.storyshot b/lib/ui/src/components/panel/__snapshots__/panel.stories.storyshot index 64a6e9de740..9b47032ffb7 100644 --- a/lib/ui/src/components/panel/__snapshots__/panel.stories.storyshot +++ b/lib/ui/src/components/panel/__snapshots__/panel.stories.storyshot @@ -35,30 +35,11 @@ exports[`Storyshots UI|Panel default 1`] = ` background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); } -.emotion-12:hover { - -webkit-scrollbar-width: none; - -moz-scrollbar-width: none; - -ms-scrollbar-width: none; - scrollbar-width: none; - -webkit-scrollbar-width: 0; - -moz-scrollbar-width: 0; - -ms-scrollbar-width: 0; - scrollbar-width: 0; -} - .emotion-12::-webkit-scrollbar { height: 3px; width: 3px; background: transparent; box-shadow: none; - display: none; -} - -.emotion-12:hover::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - display: block; } .emotion-12::-webkit-scrollbar-track { diff --git a/lib/ui/src/components/preview/__snapshots__/preview.stories.storyshot b/lib/ui/src/components/preview/__snapshots__/preview.stories.storyshot index 58d47410daa..81a329b8faa 100644 --- a/lib/ui/src/components/preview/__snapshots__/preview.stories.storyshot +++ b/lib/ui/src/components/preview/__snapshots__/preview.stories.storyshot @@ -116,30 +116,11 @@ Array [ tranform: translateY(0px); } -.emotion-23:hover { - -webkit-scrollbar-width: none; - -moz-scrollbar-width: none; - -ms-scrollbar-width: none; - scrollbar-width: none; - -webkit-scrollbar-width: 0; - -moz-scrollbar-width: 0; - -ms-scrollbar-width: 0; - scrollbar-width: 0; -} - .emotion-23::-webkit-scrollbar { height: 3px; width: 3px; background: transparent; box-shadow: none; - display: none; -} - -.emotion-23:hover::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - display: block; } .emotion-23::-webkit-scrollbar-track { @@ -579,30 +560,11 @@ Array [ tranform: translateY(0px); } -.emotion-29:hover { - -webkit-scrollbar-width: none; - -moz-scrollbar-width: none; - -ms-scrollbar-width: none; - scrollbar-width: none; - -webkit-scrollbar-width: 0; - -moz-scrollbar-width: 0; - -ms-scrollbar-width: 0; - scrollbar-width: 0; -} - .emotion-29::-webkit-scrollbar { height: 3px; width: 3px; background: transparent; box-shadow: none; - display: none; -} - -.emotion-29:hover::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - display: block; } .emotion-29::-webkit-scrollbar-track { diff --git a/lib/ui/src/settings/__snapshots__/about.stories.storyshot b/lib/ui/src/settings/__snapshots__/about.stories.storyshot index 3078db25378..175c108e01f 100644 --- a/lib/ui/src/settings/__snapshots__/about.stories.storyshot +++ b/lib/ui/src/settings/__snapshots__/about.stories.storyshot @@ -35,30 +35,11 @@ exports[`Storyshots UI|Settings/AboutScreen failed to fetch new version 1`] = ` background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); } -.emotion-8:hover { - -webkit-scrollbar-width: none; - -moz-scrollbar-width: none; - -ms-scrollbar-width: none; - scrollbar-width: none; - -webkit-scrollbar-width: 0; - -moz-scrollbar-width: 0; - -ms-scrollbar-width: 0; - scrollbar-width: 0; -} - .emotion-8::-webkit-scrollbar { height: 3px; width: 3px; background: transparent; box-shadow: none; - display: none; -} - -.emotion-8:hover::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - display: block; } .emotion-8::-webkit-scrollbar-track { @@ -604,30 +585,11 @@ exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = ` background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); } -.emotion-8:hover { - -webkit-scrollbar-width: none; - -moz-scrollbar-width: none; - -ms-scrollbar-width: none; - scrollbar-width: none; - -webkit-scrollbar-width: 0; - -moz-scrollbar-width: 0; - -ms-scrollbar-width: 0; - scrollbar-width: 0; -} - .emotion-8::-webkit-scrollbar { height: 3px; width: 3px; background: transparent; box-shadow: none; - display: none; -} - -.emotion-8:hover::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - display: block; } .emotion-8::-webkit-scrollbar-track { @@ -1992,30 +1954,11 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` background: #FFFFFF linear-gradient(to bottom,transparent calc(100% - 1px),rgba(0,0,0,.1) calc(100% - 1px)); } -.emotion-8:hover { - -webkit-scrollbar-width: none; - -moz-scrollbar-width: none; - -ms-scrollbar-width: none; - scrollbar-width: none; - -webkit-scrollbar-width: 0; - -moz-scrollbar-width: 0; - -ms-scrollbar-width: 0; - scrollbar-width: 0; -} - .emotion-8::-webkit-scrollbar { height: 3px; width: 3px; background: transparent; box-shadow: none; - display: none; -} - -.emotion-8:hover::-webkit-scrollbar { - height: 3px; - width: 3px; - background: transparent; - display: block; } .emotion-8::-webkit-scrollbar-track {