@arcblock/ux 3.0.12 → 3.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/ActivityIndicator/index.js +16 -16
- package/lib/Alert/index.js +17 -17
- package/lib/AnimationWaiter/index.js +13 -13
- package/lib/Blocklet/blocklet.js +15 -15
- package/lib/Blocklet/utils.d.ts +1 -1
- package/lib/Blocklet/utils.js +5 -6
- package/lib/BlockletNFT/index.js +23 -23
- package/lib/BlockletV2/utils.d.ts +1 -1
- package/lib/BlockletV2/utils.js +6 -7
- package/lib/Center/index.js +6 -7
- package/lib/CodeBlock/LightBox.d.ts +3 -2
- package/lib/CodeBlock/LightBox.js +2 -3
- package/lib/CookieConsent/index.js +1 -1
- package/lib/CountDown/index.js +23 -24
- package/lib/Datatable/CustomToolbar.js +71 -71
- package/lib/Datatable/TableSearch.js +18 -18
- package/lib/Datatable/index.js +77 -77
- package/lib/Earth/index.js +46 -47
- package/lib/Footer/index.js +8 -8
- package/lib/Icon/image.js +16 -17
- package/lib/InfoRow/index.js +11 -11
- package/lib/Layout/dashboard/index.js +18 -20
- package/lib/Layout/dashboard/sidebar.js +12 -12
- package/lib/Layout/dashboard-legacy/index.js +20 -20
- package/lib/Layout/dashboard-legacy/sidebar.js +16 -16
- package/lib/Layout/index.js +29 -29
- package/lib/Metric/index.js +9 -9
- package/lib/NFTDisplay/svg-embedder/inline-svg.js +6 -7
- package/lib/PageScroller/story/FullPage.js +1 -1
- package/lib/PageScroller/story/PageContain.js +1 -1
- package/lib/PageScroller/story/index.css +115 -0
- package/lib/PricingTable/index.js +9 -9
- package/lib/Result/result.js +14 -14
- package/lib/Screenshot/BaseScreenshot/index.js +9 -10
- package/lib/Screenshot/devices.css +1366 -0
- package/lib/Screenshot/index.js +27 -28
- package/lib/Video/index.js +11 -11
- package/lib/Wallet/Action.js +12 -12
- package/lib/Wallet/Download.js +11 -11
- package/lib/WechatPrompt/index.js +1 -1
- package/package.json +7 -7
- package/src/ActivityIndicator/index.jsx +2 -3
- package/src/Address/Address.stories.jsx +1 -2
- package/src/Alert/index.jsx +2 -2
- package/src/AnimationWaiter/index.jsx +2 -2
- package/src/Blocklet/blocklet.jsx +2 -2
- package/src/Blocklet/utils.jsx +1 -2
- package/src/BlockletNFT/index.jsx +2 -2
- package/src/BlockletV2/utils.js +1 -2
- package/src/Center/index.tsx +1 -2
- package/src/CodeBlock/LightBox.tsx +1 -2
- package/src/Colors/Colors.stories.jsx +1 -1
- package/src/CookieConsent/index.tsx +1 -1
- package/src/CountDown/index.tsx +2 -2
- package/src/DID/DID.stories.jsx +1 -2
- package/src/Datatable/CustomToolbar.jsx +2 -3
- package/src/Datatable/TableSearch.jsx +2 -2
- package/src/Datatable/index.jsx +4 -4
- package/src/Earth/index.tsx +2 -3
- package/src/Footer/index.tsx +1 -1
- package/src/Icon/image.tsx +1 -2
- package/src/InfoRow/index.tsx +2 -2
- package/src/Layout/dashboard/index.tsx +1 -3
- package/src/Layout/dashboard/sidebar.tsx +2 -2
- package/src/Layout/dashboard-legacy/index.tsx +1 -1
- package/src/Layout/dashboard-legacy/sidebar.tsx +2 -2
- package/src/Layout/index.tsx +1 -2
- package/src/Metric/index.tsx +2 -2
- package/src/NFTDisplay/svg-embedder/inline-svg.tsx +2 -2
- package/src/PricingTable/index.tsx +2 -2
- package/src/Result/result.tsx +1 -1
- package/src/Screenshot/BaseScreenshot/index.tsx +2 -2
- package/src/Screenshot/index.tsx +3 -3
- package/src/Video/index.tsx +2 -2
- package/src/Wallet/Action.tsx +2 -2
- package/src/Wallet/Download.tsx +2 -2
- package/src/WechatPrompt/index.tsx +1 -1
- package/vite.config.mjs +1 -1
- package/lib/ux.css +0 -1
package/src/InfoRow/index.tsx
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import camelCase from 'lodash/camelCase';
|
2
2
|
import upperFirst from 'lodash/upperFirst';
|
3
|
-
import {
|
3
|
+
import { Typography } from '@mui/material';
|
4
4
|
|
5
5
|
import { styled } from '../Theme';
|
6
6
|
|
@@ -51,7 +51,7 @@ type ContainerProps = {
|
|
51
51
|
width: number;
|
52
52
|
};
|
53
53
|
|
54
|
-
const Container = styled(
|
54
|
+
const Container = styled('div')<ContainerProps>`
|
55
55
|
display: flex;
|
56
56
|
flex-direction: ${(props) => (props.layout === 'vertical' ? 'column' : 'row')};
|
57
57
|
justify-content: flex-start;
|
@@ -177,9 +177,7 @@ function Dashboard({
|
|
177
177
|
|
178
178
|
type WrapperProps = React.HTMLAttributes<HTMLDivElement> & { sidebarWidth: number };
|
179
179
|
|
180
|
-
const Wrapper = styled(Box
|
181
|
-
shouldForwardProp: (prop) => prop !== 'sidebarWidth',
|
182
|
-
})<WrapperProps>`
|
180
|
+
const Wrapper = styled(Box)<WrapperProps>`
|
183
181
|
&.dashboard {
|
184
182
|
display: flex;
|
185
183
|
flex-direction: column;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { Typography } from '@mui/material';
|
2
2
|
import clsx from 'clsx';
|
3
3
|
import { styled } from '../../Theme';
|
4
4
|
import { NavLink } from './external-link';
|
@@ -66,7 +66,7 @@ function Sidebar({ links, addons = undefined, dense = false, ...rest }: SidebarP
|
|
66
66
|
|
67
67
|
const gradient = 'linear-gradient(32deg, rgba(144, 255, 230, 0.1), rgba(144, 255, 230, 0))';
|
68
68
|
|
69
|
-
const Root = styled(
|
69
|
+
const Root = styled('div')`
|
70
70
|
display: flex;
|
71
71
|
flex-direction: column;
|
72
72
|
ul {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { memo } from 'react';
|
2
2
|
import { Link, useLocation } from 'react-router-dom';
|
3
|
-
import { Button, Typography, type SxProps, type ButtonProps
|
3
|
+
import { Button, Typography, type SxProps, type ButtonProps } from '@mui/material';
|
4
4
|
import { teal } from '@mui/material/colors';
|
5
5
|
|
6
6
|
import ImageIcon from '../../Icon/image';
|
@@ -69,7 +69,7 @@ export default function Sidebar({
|
|
69
69
|
);
|
70
70
|
}
|
71
71
|
|
72
|
-
const MenuItems = memo(styled(
|
72
|
+
const MenuItems = memo(styled('div')`
|
73
73
|
flex: 1;
|
74
74
|
display: flex;
|
75
75
|
flex-direction: column;
|
package/src/Layout/index.tsx
CHANGED
@@ -13,7 +13,6 @@ import {
|
|
13
13
|
Typography,
|
14
14
|
type SxProps,
|
15
15
|
ListItemButton,
|
16
|
-
Box,
|
17
16
|
} from '@mui/material';
|
18
17
|
import { Menu as MenuIcon } from '@mui/icons-material';
|
19
18
|
|
@@ -197,7 +196,7 @@ export default function Layout({
|
|
197
196
|
);
|
198
197
|
}
|
199
198
|
|
200
|
-
const Div = styled(
|
199
|
+
const Div = styled('div')`
|
201
200
|
width: 100%;
|
202
201
|
min-height: 100vh;
|
203
202
|
display: flex;
|
package/src/Metric/index.tsx
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/* eslint-disable react/no-danger */
|
2
|
-
import {
|
2
|
+
import { Link } from '@mui/material';
|
3
3
|
|
4
4
|
import ImageIcon from '../Icon/image';
|
5
5
|
import { styled } from '../Theme';
|
@@ -56,7 +56,7 @@ type ContainerProps = {
|
|
56
56
|
size?: 'small' | 'large';
|
57
57
|
};
|
58
58
|
|
59
|
-
const Container = styled(
|
59
|
+
const Container = styled('div')<ContainerProps>`
|
60
60
|
border-left: 1px solid ${(props) => props.theme.palette.divider};
|
61
61
|
padding: 10px 0 10px 16px;
|
62
62
|
@media (max-width: ${(props) => props.theme.breakpoints.values.sm}px) {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import root from 'react-shadow/emotion';
|
2
|
-
import {
|
2
|
+
import { type SxProps } from '@mui/material';
|
3
3
|
|
4
4
|
import { styled } from '../../Theme';
|
5
5
|
|
@@ -23,7 +23,7 @@ const Root = styled(root.span)`
|
|
23
23
|
height: 100%;
|
24
24
|
`;
|
25
25
|
|
26
|
-
const Inner = styled(
|
26
|
+
const Inner = styled('div')`
|
27
27
|
&,
|
28
28
|
& > svg {
|
29
29
|
height: 100%;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { Grid } from '@mui/material';
|
2
2
|
|
3
3
|
import PricingPlan, { type PricingPlanProps } from './PricingPlan';
|
4
4
|
import { styled } from '../Theme';
|
@@ -44,7 +44,7 @@ type DivProps = {
|
|
44
44
|
variant: 'even' | 'odd';
|
45
45
|
};
|
46
46
|
|
47
|
-
const Div = styled(
|
47
|
+
const Div = styled('div')<DivProps>`
|
48
48
|
padding: 100px 0;
|
49
49
|
text-align: center;
|
50
50
|
background-color: ${(props) => (props.variant === 'even' ? '#fbfbfb' : '#ffffff')};
|
package/src/Result/result.tsx
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { type SxProps } from '@mui/material';
|
2
2
|
|
3
3
|
import phone from './shells/Phone';
|
4
4
|
import macbook from './shells/Macbook';
|
@@ -20,7 +20,7 @@ function Screenshot({ width = 0, children, type = 'phone', ...rest }: Screenshot
|
|
20
20
|
|
21
21
|
const { Shell, ratio, screenData, width: defaultWidth } = map[(_type as keyof typeof map) || 'phone'];
|
22
22
|
|
23
|
-
const Root = styled(
|
23
|
+
const Root = styled('div')`
|
24
24
|
position: relative;
|
25
25
|
display: inline-block;
|
26
26
|
width: ${width || `${defaultWidth}px`};
|
package/src/Screenshot/index.tsx
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { createElement, Children, cloneElement, useEffect, useRef, useState } from 'react';
|
2
|
-
import {
|
2
|
+
import { type SxProps } from '@mui/material';
|
3
3
|
import isUndefined from 'lodash/isUndefined';
|
4
4
|
|
5
5
|
import { mergeProps } from '../Util';
|
@@ -195,7 +195,7 @@ type DivProps = {
|
|
195
195
|
contentZIndex: number;
|
196
196
|
};
|
197
197
|
|
198
|
-
const Div = styled(
|
198
|
+
const Div = styled('div')<DivProps>`
|
199
199
|
@media (max-width: ${(props) => types[props.type].width}px) {
|
200
200
|
transform-origin: 0 0;
|
201
201
|
transform: scale(${(props) => types[props.type].scale});
|
@@ -266,7 +266,7 @@ function ScreenFixer({ ...props }: ScreenFixerProps) {
|
|
266
266
|
);
|
267
267
|
}
|
268
268
|
|
269
|
-
const ReScreen = styled(
|
269
|
+
const ReScreen = styled('div')`
|
270
270
|
div[type] {
|
271
271
|
transform: scale(1);
|
272
272
|
transform-origin: 0 0;
|
package/src/Video/index.tsx
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { useState } from 'react';
|
2
2
|
import Player from 'react-player';
|
3
|
-
import {
|
3
|
+
import { CircularProgress } from '@mui/material';
|
4
4
|
import isUndefined from 'lodash/isUndefined';
|
5
5
|
|
6
6
|
import { mergeProps } from '../Util';
|
@@ -54,7 +54,7 @@ export default function Video(rawProps: VideoProps) {
|
|
54
54
|
);
|
55
55
|
}
|
56
56
|
|
57
|
-
const Placeholder = styled(
|
57
|
+
const Placeholder = styled('div')`
|
58
58
|
background-color: #222222;
|
59
59
|
display: flex;
|
60
60
|
justify-content: center;
|
package/src/Wallet/Action.tsx
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { Typography } from '@mui/material';
|
2
2
|
import isUndefined from 'lodash/isUndefined';
|
3
3
|
|
4
4
|
import logo from './images/abtwallet.png';
|
@@ -76,7 +76,7 @@ type ContentProps = {
|
|
76
76
|
color: string;
|
77
77
|
};
|
78
78
|
|
79
|
-
const Content = styled(
|
79
|
+
const Content = styled('div')<ContentProps>`
|
80
80
|
display: flex;
|
81
81
|
justify-content: center;
|
82
82
|
align-items: center;
|
package/src/Wallet/Download.tsx
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import useBrowser from '@arcblock/react-hooks/lib/useBrowser';
|
2
|
-
import {
|
2
|
+
import { Typography, type SxProps } from '@mui/material';
|
3
3
|
import isUndefined from 'lodash/isUndefined';
|
4
4
|
|
5
5
|
import AppStoreIcon from './images/app-store.svg?react';
|
@@ -125,7 +125,7 @@ type ContainerProps = {
|
|
125
125
|
storeLayout?: WalletDownloadProps['storeLayout'];
|
126
126
|
};
|
127
127
|
|
128
|
-
const Container = styled(
|
128
|
+
const Container = styled('div')<ContainerProps>`
|
129
129
|
display: flex;
|
130
130
|
flex-direction: ${(props) => (props.layout === 'vertical' ? 'column' : 'row')};
|
131
131
|
align-items: center;
|
package/vite.config.mjs
CHANGED
package/lib/ux.css
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
/*! Devices.css v0.1.15 | MIT License | github.com/picturepan2/devices.css */.device,.device:before,.device:after,.device *,.device *:before,.device *:after{box-sizing:border-box;display:block}.device{position:relative;transform:scale(1);z-index:1}.device .device-frame{z-index:1}.device .device-content{background-color:#fff;background-position:center center;background-size:cover;object-fit:cover;position:relative}.device-iphone-x{height:694px;width:342px}.device-iphone-x .device-frame{background:#222;border-radius:54px;box-shadow:inset 0 0 2px 2px #c8cacb,inset 0 0 0 6px #e2e3e4;height:694px;padding:22px;width:342px}.device-iphone-x .device-content{border-radius:32px;height:650px;width:300px}.device-iphone-x .device-stripe:after,.device-iphone-x .device-stripe:before{border:solid rgba(51,51,51,.25);border-width:0 6px;content:"";height:5px;left:0;position:absolute;width:100%;z-index:9}.device-iphone-x .device-stripe:after{top:68px}.device-iphone-x .device-stripe:before{bottom:68px}.device-iphone-x .device-header{background:#222;border-bottom-left-radius:16px;border-bottom-right-radius:16px;height:24px;left:50%;margin-left:-82px;position:absolute;top:22px;width:164px}.device-iphone-x .device-header:after,.device-iphone-x .device-header:before{content:"";height:6px;position:absolute;top:0;width:6px}.device-iphone-x .device-header:after{background:radial-gradient(circle at bottom left,transparent 0,transparent 75%,#222 75%,#222 100%);left:-6px}.device-iphone-x .device-header:before{background:radial-gradient(circle at bottom right,transparent 0,transparent 75%,#222 75%,#222 100%);right:-6px}.device-iphone-x .device-sensors:after,.device-iphone-x .device-sensors:before{content:"";position:absolute}.device-iphone-x .device-sensors:after{background:#444;border-radius:2.5px;height:5px;left:50%;margin-left:-20px;top:26px;width:40px}.device-iphone-x .device-sensors:before{background:#444;border-radius:50%;height:11px;left:50%;margin-left:30px;top:23px;width:11px}.device-iphone-x .device-btns{background:#c8cacb;height:26px;left:-2px;position:absolute;top:92px;width:3px}.device-iphone-x .device-btns:after,.device-iphone-x .device-btns:before{background:#c8cacb;content:"";height:50px;left:0;position:absolute;width:3px}.device-iphone-x .device-btns:after{top:48px}.device-iphone-x .device-btns:before{top:112px}.device-iphone-x .device-power{background:#c8cacb;height:80px;position:absolute;right:-2px;top:160px;width:3px}.device-iphone-8{height:698px;width:336px}.device-iphone-8 .device-frame{background:#fff;border-radius:54px;box-shadow:inset 0 0 0 2px #c8cacb,inset 0 0 0 6px #e2e3e4;height:698px;padding:82px 18px;width:336px}.device-iphone-8 .device-content{border:2px solid #222;border-radius:4px;height:534px;width:300px}.device-iphone-8 .device-stripe:after,.device-iphone-8 .device-stripe:before{border:solid rgba(51,51,51,.15);border-width:0 6px;content:"";height:5px;left:0;position:absolute;width:100%;z-index:9}.device-iphone-8 .device-stripe:after{top:55px}.device-iphone-8 .device-stripe:before{bottom:55px}.device-iphone-8 .device-header{border:2px solid #c8cacb;border-radius:50%;bottom:20px;height:46px;left:50%;margin-left:-23px;position:absolute;width:46px}.device-iphone-8 .device-sensors{background:#666;border-radius:2.5px;height:5px;left:50%;margin-left:-30px;position:absolute;top:41.5px;width:60px}.device-iphone-8 .device-sensors:after,.device-iphone-8 .device-sensors:before{background:#666;border-radius:50%;content:"";position:absolute}.device-iphone-8 .device-sensors:after{height:8px;left:50%;margin-left:-4px;top:-20px;width:8px}.device-iphone-8 .device-sensors:before{height:10px;left:-34px;margin-top:-5px;top:50%;width:10px}.device-iphone-8 .device-btns{background:#c8cacb;height:24px;left:-2px;position:absolute;top:82px;width:3px}.device-iphone-8 .device-btns:after,.device-iphone-8 .device-btns:before{background:#c8cacb;content:"";height:45px;left:0;position:absolute;width:3px}.device-iphone-8 .device-btns:after{top:50px}.device-iphone-8 .device-btns:before{top:106px}.device-iphone-8 .device-power{background:#c8cacb;height:80px;position:absolute;right:-2px;top:160px;width:3px}.device-iphone-8.device-gold .device-frame{box-shadow:inset 0 0 0 2px #e4b08a,inset 0 0 0 6px #f7e8dd}.device-iphone-8.device-gold .device-header{border-color:#e4b08a}.device-iphone-8.device-gold .device-btns,.device-iphone-8.device-gold .device-btns:after,.device-iphone-8.device-gold .device-btns:before{background:#e4b08a}.device-iphone-8.device-gold .device-power{background:#e4b08a}.device-iphone-8.device-spacegray .device-frame{background:#222;box-shadow:inset 0 0 0 2px #74747a,inset 0 0 0 6px #9b9ba0}.device-iphone-8.device-spacegray .device-stripe:after,.device-iphone-8.device-spacegray .device-stripe:before{border-color:#cccccc59}.device-iphone-8.device-spacegray .device-btns,.device-iphone-8.device-spacegray .device-btns:after,.device-iphone-8.device-spacegray .device-btns:before{background:#74747a}.device-google-pixel-2-xl{height:744px;width:360px}.device-google-pixel-2-xl .device-frame{background:#121212;border-radius:36px;box-shadow:inset 0 0 0 2px #cfcfcf,inset 0 0 0 6px #9c9c9c;height:740px;padding:50px 20px;width:360px}.device-google-pixel-2-xl .device-content{border-radius:24px;height:640px;width:320px}.device-google-pixel-2-xl .device-header{height:740px;left:50%;margin-left:-135px;position:absolute;top:0;width:270px}.device-google-pixel-2-xl .device-header:after,.device-google-pixel-2-xl .device-header:before{background:#333;border-radius:2.5px;content:"";height:5px;left:50%;margin-left:-65px;margin-top:-2.5px;position:absolute;width:130px}.device-google-pixel-2-xl .device-header:after{top:20px}.device-google-pixel-2-xl .device-header:before{bottom:26px}.device-google-pixel-2-xl .device-sensors{background:#333;border-radius:5px;height:12px;left:45px;margin-top:-6px;position:absolute;top:32px;width:12px}.device-google-pixel-2-xl .device-btns{background:#cfcfcf;height:94px;position:absolute;right:-2px;top:274px;width:3px}.device-google-pixel-2-xl .device-power{background:#cfcfcf;height:48px;position:absolute;right:-2px;top:174px;width:3px}.device-google-pixel{height:744px;width:360px}.device-google-pixel .device-frame{background:#f7f7f8;border-radius:54px;box-shadow:inset 0 0 0 2px #c8cacb,inset 0 0 0 6px #e2e3e4,inset 0 0 0 10px #fff;height:744px;padding:82px 18px 86px;width:360px}.device-google-pixel .device-content{border:2px solid #222;border-radius:2px;height:576px;width:324px}.device-google-pixel .device-stripe{border-top:6px solid rgba(51,51,51,.15);bottom:0;left:254px;position:absolute;top:0;width:8px}.device-google-pixel .device-stripe:after,.device-google-pixel .device-stripe:before{border:solid rgba(51,51,51,.15);border-width:0 6px;content:"";height:10px;left:-254px;position:absolute;width:360px;z-index:9}.device-google-pixel .device-stripe:after{top:60px}.device-google-pixel .device-stripe:before{bottom:46px}.device-google-pixel .device-sensors{background:#ddd;border-radius:2.5px;height:5px;left:50%;margin-left:-39px;margin-top:-2.5px;position:absolute;top:41px;width:78px}.device-google-pixel .device-sensors:after,.device-google-pixel .device-sensors:before{background:#333;border-radius:6px;content:"";position:absolute}.device-google-pixel .device-sensors:after{height:12px;left:50%;margin-left:-14px;top:21.5px;width:28px}.device-google-pixel .device-sensors:before{height:10px;left:-81px;margin-top:-5px;top:50%;width:10px}.device-google-pixel .device-btns{background:#c8cacb;height:102px;position:absolute;right:-2px;top:298px;width:3px}.device-google-pixel .device-power{background:#c8cacb;height:50px;position:absolute;right:-2px;top:184px;width:3px}.device-google-pixel.device-black .device-frame{background:#211d1c;box-shadow:inset 0 0 0 2px #363635,inset 0 0 0 6px #6a6967,inset 0 0 0 10px #3d3533}.device-google-pixel.device-black .device-stripe,.device-google-pixel.device-black .device-stripe:after,.device-google-pixel.device-black .device-stripe:before{border-color:#0d0d0d59}.device-google-pixel.device-black .device-sensors{background:#444}.device-google-pixel.device-black .device-sensors:after{background:#0d0d0d}.device-google-pixel.device-black .device-btns,.device-google-pixel.device-black .device-btns:after,.device-google-pixel.device-black .device-btns:before{background:#363635}.device-google-pixel.device-black .device-power{background:#363635}.device-google-pixel.device-blue .device-frame{box-shadow:inset 0 0 0 2px #2a5aff,inset 0 0 0 6px #7695ff,inset 0 0 0 10px #fff}.device-google-pixel.device-blue .device-btns,.device-google-pixel.device-blue .device-btns:after,.device-google-pixel.device-blue .device-btns:before{background:#2a5aff}.device-google-pixel.device-blue .device-power{background:#2a5aff}.device-galaxy-s8{height:686px;width:316px}.device-galaxy-s8 .device-frame{background:#222;border:solid #cfcfcf;border-radius:46px;border-width:4px 0;box-shadow:inset 0 0 0 2px #9c9c9c;height:686px;padding:40px 8px 34px;width:316px}.device-galaxy-s8 .device-content{border:2px solid #222;border-radius:28px;height:617px;width:300px}.device-galaxy-s8 .device-stripe:after,.device-galaxy-s8 .device-stripe:before{border:solid rgba(51,51,51,.15);border-width:4px 0;content:"";height:686px;position:absolute;top:0;width:5px;z-index:9}.device-galaxy-s8 .device-stripe:after{left:40px}.device-galaxy-s8 .device-stripe:before{right:40px}.device-galaxy-s8 .device-sensors{background:#666;border-radius:2.5px;height:4px;left:50%;margin-left:-20px;margin-top:-2px;position:absolute;top:26px;width:40px}.device-galaxy-s8 .device-sensors:after,.device-galaxy-s8 .device-sensors:before{background:#666;border-radius:50%;content:"";position:absolute;top:50%}.device-galaxy-s8 .device-sensors:after{box-shadow:-160px 0 #333,-145px 0 #333,-200px 0 #333;height:6px;margin-top:-3px;right:-75px;width:6px}.device-galaxy-s8 .device-sensors:before{box-shadow:155px 0 #666;height:10px;left:-75px;margin-top:-5px;width:10px}.device-galaxy-s8 .device-btns{background:#9c9c9c;border-radius:2px 0 0 2px;height:98px;left:-2px;position:absolute;top:120px;width:3px}.device-galaxy-s8 .device-btns:after{background:#9c9c9c;border-radius:2px 0 0 2px;content:"";height:45px;left:0;position:absolute;top:138px;width:3px}.device-galaxy-s8 .device-power{background:#9c9c9c;border-radius:0 2px 2px 0;height:46px;position:absolute;right:-2px;top:218px;width:3px}.device-galaxy-s8.device-blue .device-frame{border-color:#a3c5e8;box-shadow:inset 0 0 0 2px #5192d4}.device-galaxy-s8.device-blue .device-stripe:after,.device-galaxy-s8.device-blue .device-stripe:before{border-color:#ffffff59}.device-galaxy-s8.device-blue .device-btns,.device-galaxy-s8.device-blue .device-btns:after{background:#5192d4}.device-galaxy-s8.device-blue .device-power{background:#5192d4}.device-ipad-pro{height:804px;width:560px}.device-ipad-pro .device-frame{background:#fff;border-radius:38px;box-shadow:inset 0 0 0 2px #c8cacb,inset 0 0 0 6px #e2e3e4;height:804px;padding:62px 25px;width:560px}.device-ipad-pro .device-content{border:2px solid #222;border-radius:2px;height:680px;width:510px}.device-ipad-pro .device-header{border:2px solid #c8cacb;border-radius:50%;bottom:17px;height:34px;left:50%;margin-left:-17px;position:absolute;width:34px}.device-ipad-pro .device-sensors{background:#666;border-radius:50%;height:10px;left:50%;margin-left:-5px;margin-top:-5px;position:absolute;top:34px;width:10px}.device-ipad-pro.device-gold .device-frame{box-shadow:inset 0 0 0 2px #e4b08a,inset 0 0 0 6px #f7e8dd}.device-ipad-pro.device-gold .device-header{border-color:#e4b08a}.device-ipad-pro.device-rosegold .device-frame{box-shadow:inset 0 0 0 2px #f6a69a,inset 0 0 0 6px #facfc9}.device-ipad-pro.device-rosegold .device-header{border-color:#f6a69a}.device-ipad-pro.device-spacegray .device-frame{background:#222;box-shadow:inset 0 0 0 2px #818187,inset 0 0 0 6px #9b9ba0}.device-ipad-pro.device-spacegray .device-header{border-color:#818187}.device-surface-pro{height:394px;width:561px}.device-surface-pro .device-frame{background:#0d0d0d;border-radius:10px;box-shadow:inset 0 0 0 2px #c8c8c8;height:394px;margin:0 auto;padding:26px 24px;width:561px}.device-surface-pro .device-content{border:2px solid #121212;border-radius:2px;height:342px;width:513px}.device-surface-pro .device-btns:after,.device-surface-pro .device-btns:before{background:#c8c8c8;content:"";height:2px;position:absolute;top:-2px}.device-surface-pro .device-btns:after{left:48px;width:26px}.device-surface-pro .device-btns:before{left:94px;width:48px}.device-surface-pro .device-sensors{background:#333;border-radius:50%;height:6px;left:50%;margin-left:-3px;margin-top:-3px;position:absolute;top:14px;width:6px}.device-surface-book{height:424px;width:728px}.device-surface-book .device-frame{background:#0d0d0d;border-radius:12px;box-shadow:inset 0 0 0 2px #c8c8c8;height:408px;margin:0 auto;padding:24px 22px;position:relative;width:584px}.device-surface-book .device-content{border:2px solid #121212;border-radius:2px;height:360px;width:540px}.device-surface-book .device-btns:after,.device-surface-book .device-btns:before{background:#c8c8c8;content:"";height:2px;position:absolute;top:-2px}.device-surface-book .device-btns:after{left:122px;width:20px}.device-surface-book .device-btns:before{left:168px;width:44px}.device-surface-book .device-power{background:linear-gradient(to bottom,#eee,#c8c8c8);border:solid #c8c8c8;border-radius:2px;border-width:0 2px;height:12px;margin-top:4px;position:relative;width:728px}.device-surface-book .device-power:after,.device-surface-book .device-power:before{content:"";position:absolute}.device-surface-book .device-power:after{background:radial-gradient(circle at center,#eee 0 95%,#a2a1a1);border-radius:0 0 6px 6px;height:8px;left:50%;margin-left:-125px;top:0;width:250px;z-index:1}.device-surface-book .device-power:before{background:linear-gradient(to bottom,#eee,#c8c8c8);border-radius:2px 2px 0 0;bottom:12px;height:8px;left:50%;margin-left:-292px;width:584px}.device-macbook-pro{height:444px;width:740px}.device-macbook-pro .device-frame{background:#0d0d0d;border-radius:20px;box-shadow:inset 0 0 0 2px #c8cacb;height:428px;margin:0 auto;padding:29px 19px 39px;position:relative;width:614px}.device-macbook-pro .device-frame:after{background:#272626;border-radius:0 0 20px 20px;bottom:2px;content:"";height:26px;left:2px;position:absolute;width:610px}.device-macbook-pro .device-frame:before{bottom:10px;color:#c8cacb;content:"MacBook Pro";font-size:12px;height:16px;left:50%;line-height:16px;margin-left:-100px;position:absolute;text-align:center;width:200px;z-index:1}.device-macbook-pro .device-content{border:2px solid #121212;border-radius:2px;height:360px;width:576px}.device-macbook-pro .device-power{background:#e2e3e4;border:solid #d5d6d8;border-radius:2px 2px 0 0;border-width:2px 4px 0 4px;height:14px;margin-top:-10px;position:relative;width:740px;z-index:9}.device-macbook-pro .device-power:after,.device-macbook-pro .device-power:before{content:"";position:absolute}.device-macbook-pro .device-power:after{background:#d5d6d8;border-radius:0 0 10px 10px;box-shadow:inset 0 0 4px 2px #babdbf;height:10px;left:50%;margin-left:-60px;top:-2px;width:120px}.device-macbook-pro .device-power:before{background:#a0a3a7;border-radius:0 0 180px 180px/0 0 12px 12px;box-shadow:inset 0 -2px 6px #474a4d;height:12px;left:-4px;margin:0 auto;top:10px;width:740px}.device-macbook-pro.device-spacegray .device-frame{box-shadow:inset 0 0 0 2px #767a7d}.device-macbook-pro.device-spacegray .device-power{background:#909496;border-color:#767a7d}.device-macbook-pro.device-spacegray .device-power:after{background:#83878a;box-shadow:inset 0 0 4px 2px #6a6d70}.device-macbook-pro.device-spacegray .device-power:before{background:#515456;box-shadow:inset 0 -2px 6px #000}.device-macbook{height:432px;width:740px}.device-macbook .device-frame{background:#0d0d0d;border-radius:20px;box-shadow:inset 0 0 0 2px #c8cacb;height:428px;margin:0 auto;padding:29px 19px 39px;position:relative;width:614px}.device-macbook .device-frame:after{background:#272626;border-radius:0 0 20px 20px;bottom:2px;content:"";height:26px;left:2px;position:absolute;width:610px}.device-macbook .device-frame:before{bottom:10px;color:#c8cacb;content:"MacBook";font-size:12px;height:16px;left:50%;line-height:16px;margin-left:-100px;position:absolute;text-align:center;width:200px;z-index:1}.device-macbook .device-content{border:2px solid #121212;border-radius:2px;height:360px;width:576px}.device-macbook .device-power{background:#e2e3e4;border:solid #d5d6d8;border-radius:2px 2px 0 0;border-width:0 4px;height:4px;margin-top:-10px;position:relative;width:740px;z-index:9}.device-macbook .device-power:after,.device-macbook .device-power:before{content:"";position:absolute}.device-macbook .device-power:after{background:radial-gradient(circle at center,#e2e3e4 0 85%,#a0a3a7);border:solid #adb0b3;border-width:0 2px;height:4px;left:50%;margin-left:-60px;width:120px}.device-macbook .device-power:before{background:#a0a3a7;border-radius:0 0 180px 180px/0 0 10px 10px;box-shadow:inset 0 -2px 6px #474a4d;height:10px;left:-4px;margin:0 auto;top:4px;width:740px}.device-macbook.device-gold .device-frame{box-shadow:inset 0 0 0 2px #edccb4}.device-macbook.device-gold .device-power{background:#f7e8dd;border-color:#edccb4}.device-macbook.device-gold .device-power:after{background:radial-gradient(circle at center,#f7e8dd 0 85%,#dfa276);border-color:#e4b08a}.device-macbook.device-gold .device-power:before{background:#edccb4;box-shadow:inset 0 -2px 6px #83491f}.device-macbook.device-rosegold .device-frame{box-shadow:inset 0 0 0 2px #f6a69a}.device-macbook.device-rosegold .device-power{background:#facfc9;border-color:#f6a69a}.device-macbook.device-rosegold .device-power:after{background:radial-gradient(circle at center,#facfc9 0 85%,#ef6754);border-color:#f6a69a}.device-macbook.device-rosegold .device-power:before{background:#f6a69a;box-shadow:inset 0 -2px 6px #851b0c}.device-macbook.device-spacegray .device-frame{box-shadow:inset 0 0 0 2px #767a7d}.device-macbook.device-spacegray .device-power{background:#909496;border-color:#767a7d}.device-macbook.device-spacegray .device-power:after{background:radial-gradient(circle at center,#909496 0 85%,#515456);border-color:#5d6163}.device-macbook.device-spacegray .device-power:before{background:#515456;box-shadow:inset 0 -2px 6px #000}.device-surface-studio{height:506px;width:640px}.device-surface-studio .device-frame{background:#0d0d0d;border-radius:10px;box-shadow:inset 0 0 0 2px #000;height:440px;padding:20px;width:640px}.device-surface-studio .device-content{border:2px solid #121212;border-radius:2px;height:400px;width:600px}.device-surface-studio .device-stripe{background:#444;border-radius:0 0 2px 2px;bottom:0;height:4px;left:50%;margin-left:-117px;position:absolute;width:234px}.device-surface-studio .device-stripe:after,.device-surface-studio .device-stripe:before{content:"";left:50%;position:absolute;top:-75px}.device-surface-studio .device-stripe:after{border:6px solid #d5d6d8;border-radius:0 0 18px 18px;border-top:0;box-shadow:inset 0 0 0 4px #c8cacb;height:60px;margin-left:-140px;width:280px;z-index:-1}.device-surface-studio .device-stripe:before{border:15px solid #e2e3e4;border-radius:0 0 4px 4px;border-top:0;height:70px;margin-left:-150px;width:300px;z-index:-2}.device-surface-studio .device-power{background:#eff0f0;border:solid #e2e3e4;border-radius:0 0 2px 2px;border-width:0 4px 2px 4px;height:32px;margin:30px auto 0;position:relative;width:250px}.device-surface-studio .device-power:after{background:#adb0b3;content:"";height:2px;left:-4px;position:absolute;top:4px;width:250px}.device-imac-pro{height:484px;width:624px}.device-imac-pro .device-frame{background:#0d0d0d;border-radius:18px;box-shadow:inset 0 0 0 2px #080808;height:428px;padding:24px 24px 80px;position:relative;width:624px}.device-imac-pro .device-frame:after{background:#2f2e33;border-radius:0 0 18px 18px;bottom:2px;content:"";height:54px;left:2px;position:absolute;width:620px}.device-imac-pro .device-frame:before{bottom:15px;color:#0d0d0d;content:"";font-size:24px;height:24px;left:50%;line-height:24px;margin-left:-100px;position:absolute;text-align:center;width:200px;z-index:9}.device-imac-pro .device-content{border:2px solid #121212;border-radius:2px;height:324px;width:576px}.device-imac-pro .device-power:after,.device-imac-pro .device-power:before{content:""}.device-imac-pro .device-power:after{background:#222225;border-radius:2px;height:6px;margin:0 auto;position:relative;width:180px}.device-imac-pro .device-power:before{border:solid transparent;border-bottom-color:#333;border-width:0 8px 50px 8px;height:50px;margin:0 auto;position:relative;width:130px}.device-apple-watch{height:234px;width:200px}.device-apple-watch .device-frame{background:#0d0d0d;border-radius:40px;box-shadow:inset 0 0 2px 2px #adb0b3,inset 0 0 0 6px #e2e3e4,inset 0 0 0 8px #e2e3e4;height:234px;padding:32px;position:relative;width:200px}.device-apple-watch .device-frame:after{border-radius:30px;box-shadow:inset 0 0 25px #ffffffbf;content:"";height:216px;left:9px;position:absolute;top:9px;width:182px}.device-apple-watch .device-content{border:2px solid #121212;border-radius:2px;height:170px;width:136px}.device-apple-watch .device-btns{background:#e2e3e4;border-left:2px solid #adb0b3;border-radius:8px 4px 4px 8px/20px 4px 4px 20px;box-shadow:inset 0 0 2px 2px #adb0b3;height:44px;position:absolute;right:-10px;top:52px;width:16px;z-index:9}.device-apple-watch .device-btns:after{background:#e2e3e4;border-radius:4px 2px 2px 4px/10px 2px 2px 10px;box-shadow:inset 0 0 1px 2px #adb0b3;content:"";height:66px;position:absolute;right:6px;top:68px;width:8px}.device-apple-watch .device-btns:before{background:#adb0b3;box-shadow:0 -16px #adb0b3,0 -12px #adb0b3,0 -8px #adb0b3,0 -4px #adb0b3,0 4px #adb0b3,0 8px #adb0b3,0 12px #adb0b3,0 16px #adb0b3;content:"";height:2px;margin-top:-1px;position:absolute;right:0;top:50%;width:6px}html,body{margin:0;height:100%;width:100%;overflow:hidden}.links{display:flex;flex-direction:column;margin-left:50px}.links .link{margin-top:20px}.component{height:100%;width:100%;display:flex}.component.first-component{background-color:gray;position:relative}.first-component--inside-scroller{position:absolute;right:20px;top:100px}.component.second-component{background-color:red}.component.third-component{background-color:#00f}.component.fourth-component{background-color:#ff0}.component.fifth-component{background-color:purple}h2{margin:auto;text-align:center}.pagination-additional-class{margin:0;position:fixed;top:20px;display:flex;justify-content:center;width:100%}.pagination-additional-class>li:not(:last-of-type)>a,.pagination-additional-class>li:not(:last-of-type)>span{margin-right:50px}.demo-page-contain{display:flex;justify-content:center;align-items:center;height:100vh;flex-direction:column}.demo-page-contain__hint{margin-bottom:20px}@media (max-width: 768px){.pagination-additional-class>li:not(:last-of-type)>a,.pagination-additional-class>li:not(:last-of-type)>span{margin-right:5px}}.demo-page-full{position:relative}.progress{position:absolute;left:0;bottom:0;width:0;overflow:hidden;transition:all .2s linear}.progress,.progress:before{height:6px}.progress:before{display:block;width:100%;background-color:#4e6af6;content:"";transform-origin:0 100%;transform:skew(45deg)}.progress[style*="100%"]:before{transform:none}
|