@woosmap/ui 3.29.0 → 3.33.0
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/.storybook/preview.js +2 -2
- package/package.json +2 -2
- package/src/components/Dropdown/Dropdown.js +1 -1
- package/src/components/Icon/Icon.js +6 -0
- package/src/icons/care.svg +1 -0
- package/src/icons/elephant.svg +1 -0
- package/src/icons/speed.svg +1 -0
- package/src/styles/console/variables.styl +12 -54
- package/src/styles/style-console.styl +7 -6
- package/src/styles/style-website.styl +13 -9
- package/src/styles/website/MerchantDemo.styl +73 -54
- package/src/styles/website/button.styl +390 -140
- package/src/styles/website/card.styl +302 -0
- package/src/styles/website/colors.styl +279 -46
- package/src/styles/website/dropdown.styl +123 -0
- package/src/styles/website/fonts.styl +1 -1
- package/src/styles/website/input.styl +7 -7
- package/src/styles/website/mixins.styl +192 -4
- package/src/styles/website/popover.styl +8 -0
- package/src/styles/website/select.styl +47 -25
- package/src/styles/website/skeletondemo.styl +246 -521
- package/src/styles/website/tab.styl +5 -2
- package/src/styles/website/variables.styl +111 -28
- package/src/styles/next-website/MerchantDemo.styl +0 -222
- package/src/styles/next-website/button.styl +0 -416
- package/src/styles/next-website/colors.styl +0 -287
- package/src/styles/next-website/demo.styl +0 -264
- package/src/styles/next-website/dropdown.styl +0 -82
- package/src/styles/next-website/font.styl +0 -1
- package/src/styles/next-website/input.styl +0 -138
- package/src/styles/next-website/mixins.styl +0 -128
- package/src/styles/next-website/select.styl +0 -113
- package/src/styles/next-website/tab.styl +0 -41
- package/src/styles/next-website/variables.styl +0 -120
- package/src/styles/style-next-website.styl +0 -26
- package/src/styles/website/style.styl +0 -2
package/.storybook/preview.js
CHANGED
|
@@ -36,12 +36,12 @@ let isConsoleStyle = false;
|
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
if (mode === 'prod') {
|
|
39
|
-
import('../src/styles/style-
|
|
39
|
+
import('../src/styles/style-website.styl');
|
|
40
40
|
import('../src/styles/style-stories.styl');
|
|
41
41
|
} else {
|
|
42
42
|
import('../src/styles/style-stories.styl').then((storiesStyl) => {
|
|
43
43
|
import('../src/styles/style-console.styl').then((consoleStylLoaded) => {
|
|
44
|
-
import('../src/styles/style-
|
|
44
|
+
import('../src/styles/style-website.styl').then((websiteStylLoaded) => {
|
|
45
45
|
const storeGlobals = sessionStorage.getItem('@storybook/preview/store');
|
|
46
46
|
const globalTheme = storeGlobals ? JSON.parse(storeGlobals).globals.theme : null;
|
|
47
47
|
const defaultStyle = urlParams.get('theme')|| globalTheme || "Website theme";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@woosmap/ui",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.33.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/WebGeoServices/ui.git"
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"scripts": {
|
|
29
29
|
"start": "yarn storybook:dev",
|
|
30
30
|
"build": "rimraf dist && NODE_ENV=production babel src --out-dir dist --copy-files --no-copy-ignored --ignore '**/*.stories.js,**/*.test.js,**/*.styl' && yarn build-css",
|
|
31
|
-
"build-css": "stylus ./src/styles/style-
|
|
31
|
+
"build-css": "stylus ./src/styles/style-website.styl -o dist && stylus ./src/styles/style-console.styl -o dist && stylus ./src/styles/style-stories.styl -o dist",
|
|
32
32
|
"test": "react-scripts test",
|
|
33
33
|
"test:generate-output": "react-scripts test --json --outputFile=./.storybook/jest-test-results.json --silent",
|
|
34
34
|
"prestorybook:dev": "clear && echo \"DOING FIRST TEST RUN\" && CI=true npm run test:generate-output",
|
|
@@ -131,7 +131,7 @@ DropdownMenuSection.defaultProps = {
|
|
|
131
131
|
|
|
132
132
|
DropdownMenuSection.propTypes = {
|
|
133
133
|
children: PropTypes.node.isRequired,
|
|
134
|
-
title: PropTypes.string,
|
|
134
|
+
title: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
|
|
135
135
|
closeCb: PropTypes.func,
|
|
136
136
|
};
|
|
137
137
|
|
|
@@ -4,7 +4,9 @@ import PropTypes from 'prop-types';
|
|
|
4
4
|
import { ReactComponent as Autocomplete } from '../../icons/autocomplete.svg';
|
|
5
5
|
import { ReactComponent as Buildings } from '../../icons/buildings.svg';
|
|
6
6
|
import { ReactComponent as Battery } from '../../icons/battery.svg';
|
|
7
|
+
import { ReactComponent as Care } from '../../icons/care.svg';
|
|
7
8
|
import { ReactComponent as Cars } from '../../icons/cars.svg';
|
|
9
|
+
import { ReactComponent as Elephant } from '../../icons/elephant.svg';
|
|
8
10
|
import { ReactComponent as Github } from '../../icons/github.svg';
|
|
9
11
|
import { ReactComponent as Green } from '../../icons/green.svg';
|
|
10
12
|
import { ReactComponent as Integrations } from '../../icons/integrations.svg';
|
|
@@ -18,6 +20,7 @@ import { ReactComponent as PuzzleStar } from '../../icons/puzzle-star.svg';
|
|
|
18
20
|
import { ReactComponent as SaveMoney } from '../../icons/save-money.svg';
|
|
19
21
|
import { ReactComponent as Schedule } from '../../icons/schedule.svg';
|
|
20
22
|
import { ReactComponent as Security } from '../../icons/security.svg';
|
|
23
|
+
import { ReactComponent as Speed } from '../../icons/speed.svg';
|
|
21
24
|
import { ReactComponent as World } from '../../icons/world.svg';
|
|
22
25
|
import { ReactComponent as Zoom } from '../../icons/zoom.svg';
|
|
23
26
|
|
|
@@ -151,6 +154,8 @@ const Icons = {
|
|
|
151
154
|
battery: Battery,
|
|
152
155
|
buildings: Buildings,
|
|
153
156
|
cars: Cars,
|
|
157
|
+
care: Care,
|
|
158
|
+
elephant: Elephant,
|
|
154
159
|
github: Github,
|
|
155
160
|
green: Green,
|
|
156
161
|
integrations: Integrations,
|
|
@@ -164,6 +169,7 @@ const Icons = {
|
|
|
164
169
|
'save-money': SaveMoney,
|
|
165
170
|
schedule: Schedule,
|
|
166
171
|
security: Security,
|
|
172
|
+
speed: Speed,
|
|
167
173
|
world: World,
|
|
168
174
|
zoom: Zoom,
|
|
169
175
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M50 6.565A43.435 43.435 0 1 0 93.435 50 43.484 43.484 0 0 0 50 6.565ZM69.719 59.7a21.92 21.92 0 0 0 0-19.4l16.556-8.14a40.333 40.333 0 0 1 0 35.68Zm-38.7-9.7A18.981 18.981 0 1 1 50 68.981 19 19 0 0 1 31.019 50ZM69.8 14.763l-9.039 16.081a21.906 21.906 0 0 0-21.523 0L30.2 14.763a40.294 40.294 0 0 1 39.592 0ZM13.725 32.16l16.556 8.14a21.92 21.92 0 0 0 0 19.4l-16.556 8.14a40.333 40.333 0 0 1 0-35.68ZM30.2 85.237l9.035-16.082a21.9 21.9 0 0 0 21.524 0L69.8 85.237a40.3 40.3 0 0 1-39.594 0Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="m95.025 68.21-2.86-16.245a30.086 30.086 0 0 0-29.322-29.9 17.218 17.218 0 0 0-21.149-4.613 21.861 21.861 0 0 0-21.348 21.824v20.262a14.162 14.162 0 0 1-3.162-1.96 1.5 1.5 0 1 0-1.908 2.315 17.148 17.148 0 0 0 5.07 2.9v6.3a2.086 2.086 0 1 1-4.171 0 1.5 1.5 0 0 0-1.732-1.482L6.219 68.9c-.011 0-.022.006-.033.008a1.429 1.429 0 0 0-.159.042c-.043.013-.087.023-.129.04s-.092.044-.137.067-.084.042-.123.067a1.426 1.426 0 0 0-.116.089 1.349 1.349 0 0 0-.11.09c-.035.034-.065.073-.1.11s-.062.069-.089.107-.051.085-.076.129a1.3 1.3 0 0 0-.066.122 1.357 1.357 0 0 0-.048.135 1.5 1.5 0 0 0-.045.144c-.01.043-.013.089-.019.134a1.265 1.265 0 0 0-.017.164v.033A12.844 12.844 0 0 0 17.8 83.2a14.776 14.776 0 0 0 14.54-14.721v-5.85a16.935 16.935 0 0 0 4.02-2.229v22.48a1.5 1.5 0 0 0 1.5 1.5h13.152a1.5 1.5 0 0 0 1.464-1.18h3.917a1.5 1.5 0 0 0 1.5-1.5v-9.764a25.678 25.678 0 0 0 6.49-.07V81.7a1.5 1.5 0 0 0 1.5 1.5h3.3a1.5 1.5 0 0 0 1.463 1.177h14.522a1.5 1.5 0 0 0 1.477-1.236l4.01-22.456 1.416 8.043a1.5 1.5 0 0 0 1.475 1.24 1.567 1.567 0 0 0 .263-.023 1.5 1.5 0 0 0 1.216-1.735Zm-65.69.272A11.76 11.76 0 0 1 17.777 80.2a9.834 9.834 0 0 1-9.734-8.557l5.427-.843a5.086 5.086 0 0 0 9.876-1.708v-5.52a17.018 17.018 0 0 0 5.989-.077ZM39.36 80.321h10.152v1.059H39.36Zm15.533-.121h-2.381v-9.469c.783.272 1.579.491 2.381.683Zm12.49-8.929c.591-.156 1.18-.323 1.759-.522V80.2h-1.759Zm4.759 10.109v-1.059H84.1l-.189 1.059Zm12.49-4.026a1.531 1.531 0 0 0-.313-.033H72.142V68.55a1.5 1.5 0 0 0-2.113-1.369 22.57 22.57 0 0 1-17.43.384l-1.035-.409a1.5 1.5 0 0 0-2.052 1.394v8.771H39.36V56.969a1.5 1.5 0 0 0-2.617-1l-.123.136a14.036 14.036 0 0 1-13.274 4.415V39.276A18.87 18.87 0 0 1 36.69 21.258a17.33 17.33 0 0 0-3.271 5.288 1.5 1.5 0 0 0 2.793 1.095 14.147 14.147 0 0 1 6.361-7.262 1.492 1.492 0 0 0 .586-.31 14.21 14.21 0 1 1 6.282 26.959 1.5 1.5 0 0 0 0 3 17.167 17.167 0 0 0 15.39-24.849 27.092 27.092 0 0 1 24.331 26.8Z"/><path d="M31.875 42.808a3 3 0 1 0 3 3 3 3 0 0 0-3-3Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M63.031 16.37A33.518 33.518 0 0 0 34.7 31.87a1.5 1.5 0 0 0 2.526 1.619 30.63 30.63 0 1 1 .4 33.636 1.5 1.5 0 1 0-2.48 1.675 33.632 33.632 0 1 0 27.885-52.43ZM26.686 31.182h-7a1.5 1.5 0 0 0 0 3h7a1.5 1.5 0 0 0 0-3ZM12.26 42.841h9.477a1.5 1.5 0 1 0 0-3H12.26a1.5 1.5 0 1 0 0 3ZM19.526 50a1.5 1.5 0 0 0-1.5-1.5H4.838a1.5 1.5 0 0 0 0 3h13.188a1.5 1.5 0 0 0 1.5-1.5Zm3.711 8.659a1.5 1.5 0 0 0-1.5-1.5H12.26a1.5 1.5 0 1 0 0 3h9.477a1.5 1.5 0 0 0 1.5-1.5Zm3.449 7.159h-7a1.5 1.5 0 0 0 0 3h7a1.5 1.5 0 0 0 0-3Z"/><path d="M65.194 60.851a1.5 1.5 0 0 0 2.121 2.121l11.912-11.911a1.5 1.5 0 0 0 0-2.122L67.315 37.028a1.5 1.5 0 0 0-2.121 2.121l9.351 9.351H30.9a1.5 1.5 0 1 0 0 3h43.645Z"/></svg>
|
|
@@ -1,66 +1,24 @@
|
|
|
1
|
-
$fontFamily = "
|
|
2
|
-
$fontSize = 1.
|
|
3
|
-
$lineHeight = $fontSize * 2 - .8
|
|
1
|
+
$fontFamily = "Lato", arial, sans-serif
|
|
2
|
+
$fontSize = 1.4rem
|
|
4
3
|
$fontSizeSmall = $fontSize - .2
|
|
5
4
|
$fontSizeMini = $fontSize - .4
|
|
6
|
-
$fontSizeNano = $fontSize - .6
|
|
7
5
|
$fontWeight = 400
|
|
8
|
-
$fontSizeHeader = 1.3rem
|
|
9
|
-
$fontSizeFooter = 1.6rem
|
|
10
6
|
|
|
11
7
|
|
|
12
|
-
$title =
|
|
13
|
-
$title2 =
|
|
14
|
-
$title3 = 3
|
|
15
|
-
$title4 =
|
|
16
|
-
$title5 =
|
|
17
|
-
$title6 =
|
|
8
|
+
$title = $fontSize + .6
|
|
9
|
+
$title2 = $fontSize + .4
|
|
10
|
+
$title3 = $fontSize + .3
|
|
11
|
+
$title4 = $fontSize + .2
|
|
12
|
+
$title5 = $fontSize + .1
|
|
13
|
+
$title6 = $fontSize
|
|
18
14
|
|
|
19
15
|
$borderRadius = .6rem
|
|
20
16
|
|
|
21
|
-
|
|
22
|
-
// Layout
|
|
23
|
-
$wrapperWidth = 125rem
|
|
24
|
-
$wrapperReducedWidth = 96rem
|
|
25
|
-
$headerHeight = 6.7rem
|
|
26
|
-
$headerBannerHeight = 5.2rem
|
|
27
|
-
$sectionPadding = 18.5rem
|
|
28
|
-
$topRainbowHeight = 3.8rem
|
|
29
|
-
$gutter2c = 3rem
|
|
30
|
-
$quoteIcon = 44rem
|
|
31
|
-
$quoteIconPosition = ( - $quoteIcon / 2 - $sectionPadding + 1 )
|
|
32
|
-
|
|
33
|
-
$col2 = 58rem
|
|
34
|
-
$col3 = 31.5rem
|
|
35
|
-
$col4 = 22rem
|
|
36
|
-
|
|
37
|
-
// card articles
|
|
38
|
-
$cardHeaderHeight = 21rem
|
|
39
|
-
$cardFontSize = 1.6rem
|
|
40
|
-
$cardTitle = 1.8rem
|
|
41
|
-
$cardTitleLineHeight = 2.6rem
|
|
42
|
-
$cardLineHeight = $cardFontSize * 2 - 1
|
|
43
|
-
$cardPadding = 2rem
|
|
44
|
-
|
|
45
|
-
// card pricing
|
|
46
|
-
$pricingCardWidth = 30.2rem
|
|
47
|
-
$pricingCardpadding = 3.4rem
|
|
48
|
-
$pricingCardHeaderHeight = 6.2rem
|
|
49
|
-
$pricingCardCtaHeight = 5.2rem
|
|
50
|
-
$pricingCardTitleSize = $title6
|
|
51
|
-
$pricingCardAmountSize = $title2 * 2
|
|
52
|
-
$pricingCardUnitSize = $title6
|
|
53
|
-
$pricingCardPeriodSize = $fontSizeSmall
|
|
54
|
-
$pricingCardPriceSize = $title2
|
|
55
|
-
$pricingCardPriceUnitSize = $fontSizeSmall
|
|
56
|
-
|
|
57
17
|
// Buttons & Inputs
|
|
58
18
|
|
|
59
|
-
$padding = 2rem
|
|
19
|
+
$padding = 1.2rem
|
|
60
20
|
$contentPadding = 2.8rem
|
|
61
21
|
|
|
62
|
-
|
|
63
|
-
|
|
64
22
|
$sidebarButtonSize = 5rem
|
|
65
23
|
|
|
66
24
|
$buttonHeight = 3.8rem
|
|
@@ -83,9 +41,9 @@ $buttonPaddingNano = 0 $padding - .4 0 $padding - .4
|
|
|
83
41
|
$buttonFontSizeNano = $fontSize - .3
|
|
84
42
|
$buttonLineHeightNano = $buttonFontSizeNano * 2
|
|
85
43
|
|
|
86
|
-
$buttonHeightLarge = $buttonHeight +
|
|
87
|
-
$buttonPaddingLarge = 0 $padding + .
|
|
88
|
-
$buttonFontSizeLarge = $fontSize
|
|
44
|
+
$buttonHeightLarge = $buttonHeight + .8
|
|
45
|
+
$buttonPaddingLarge = 0 $padding + .4 0 $padding + .4
|
|
46
|
+
$buttonFontSizeLarge = $fontSize + .1
|
|
89
47
|
$buttonLineHeightLarge = $buttonFontSizeLarge * 2
|
|
90
48
|
|
|
91
49
|
|
|
@@ -9,12 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
@import "./commons/__all.styl"
|
|
11
11
|
@import "./commons/flags.styl"
|
|
12
|
-
|
|
13
12
|
@import "./console/icon.styl"
|
|
14
|
-
@import "./console/button.styl"
|
|
15
|
-
@import "./console/input.styl"
|
|
16
|
-
@import "./console/select.styl"
|
|
17
|
-
@import "./console/tab.styl"
|
|
18
13
|
|
|
19
14
|
//demos
|
|
20
15
|
@import "./console/MerchantDemo.styl"
|
|
@@ -22,4 +17,10 @@
|
|
|
22
17
|
|
|
23
18
|
|
|
24
19
|
// Style of all components
|
|
25
|
-
@import "../components/**/*.styl"
|
|
20
|
+
@import "../components/**/*.styl"
|
|
21
|
+
|
|
22
|
+
// Console override
|
|
23
|
+
@import "./console/button.styl"
|
|
24
|
+
@import "./console/input.styl"
|
|
25
|
+
@import "./console/select.styl"
|
|
26
|
+
@import "./console/tab.styl"
|
|
@@ -10,16 +10,20 @@
|
|
|
10
10
|
@import "./commons/__all.styl"
|
|
11
11
|
@import "./commons/flags.styl"
|
|
12
12
|
|
|
13
|
+
|
|
14
|
+
// Style of all components
|
|
15
|
+
@import "../components/**/*.styl"
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
//Website style override
|
|
19
|
+
|
|
20
|
+
@import "./website/skeletonDemo.styl"
|
|
21
|
+
@import "./website/MerchantDemo.styl"
|
|
22
|
+
|
|
13
23
|
@import "./website/button.styl"
|
|
14
24
|
@import "./website/input.styl"
|
|
15
25
|
@import "./website/select.styl"
|
|
16
26
|
@import "./website/tab.styl"
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
@import "./website/
|
|
20
|
-
@import "./website/skeletonDemo.styl"
|
|
21
|
-
|
|
22
|
-
@import "./website/style.styl"
|
|
23
|
-
|
|
24
|
-
// Style of all components
|
|
25
|
-
@import "../components/**/*.styl"
|
|
27
|
+
@import "./website/dropdown.styl"
|
|
28
|
+
@import "./website/popover.styl"
|
|
29
|
+
@import "./website/card.styl"
|
|
@@ -1,25 +1,35 @@
|
|
|
1
1
|
.merchant
|
|
2
|
+
&__wrapper
|
|
3
|
+
trans()
|
|
4
|
+
display flex
|
|
5
|
+
justify-content center
|
|
6
|
+
align-items center
|
|
7
|
+
height 100%
|
|
8
|
+
width 100%
|
|
9
|
+
zoom .9
|
|
10
|
+
padding 2rem
|
|
11
|
+
background-color #d5eaff
|
|
2
12
|
&__mobilewrapper
|
|
13
|
+
trans()
|
|
3
14
|
position relative
|
|
4
|
-
|
|
5
|
-
overflow hidden
|
|
6
|
-
flex-grow 1
|
|
15
|
+
margin 3rem
|
|
7
16
|
&__mobilecontainer
|
|
8
17
|
position relative
|
|
9
|
-
height
|
|
18
|
+
height 51.9rem
|
|
10
19
|
width 28rem
|
|
11
20
|
margin auto
|
|
21
|
+
box-shadow 0 0 .4rem .1rem rgba($secondary, .1)
|
|
22
|
+
br(1)
|
|
12
23
|
&__title
|
|
13
24
|
text-align center
|
|
14
|
-
|
|
15
|
-
font-size 1.7rem
|
|
25
|
+
font-size 1.2rem
|
|
16
26
|
font-weight 600
|
|
17
|
-
margin
|
|
27
|
+
margin 0 0 1rem 0
|
|
18
28
|
&__mobile
|
|
29
|
+
br(1)
|
|
30
|
+
font-size 1.3rem
|
|
19
31
|
width 100%
|
|
20
|
-
height 52.9rem
|
|
21
32
|
background-color $light
|
|
22
|
-
br(2)
|
|
23
33
|
overflow hidden
|
|
24
34
|
&--dirty
|
|
25
35
|
&--details--dirty
|
|
@@ -30,63 +40,69 @@
|
|
|
30
40
|
.merchant__mobile__header
|
|
31
41
|
background #4F70FF
|
|
32
42
|
&--details
|
|
33
|
-
|
|
43
|
+
position relative
|
|
34
44
|
&__header
|
|
35
|
-
padding 1.
|
|
45
|
+
padding 1.1rem
|
|
36
46
|
color #fff
|
|
37
47
|
text-transform uppercase
|
|
38
|
-
font-size 1.7rem
|
|
39
48
|
font-weight 600
|
|
40
49
|
&__nav
|
|
41
50
|
&__icons
|
|
42
51
|
flexSpread()
|
|
43
52
|
&__icons
|
|
44
53
|
img
|
|
45
|
-
max-height
|
|
54
|
+
max-height .8rem
|
|
46
55
|
&__nav
|
|
47
|
-
|
|
56
|
+
font-weight 700
|
|
57
|
+
margin-top 1.4rem
|
|
48
58
|
position relative
|
|
49
59
|
.merchant__mobile--details &
|
|
50
60
|
.merchant__mobile--details--dirty &
|
|
51
61
|
flexAxis()
|
|
52
62
|
&__avatar
|
|
53
|
-
max-width
|
|
63
|
+
max-width 2.4rem
|
|
54
64
|
&__back
|
|
55
|
-
max-width
|
|
65
|
+
max-width 1rem
|
|
56
66
|
opacity 0
|
|
57
67
|
.merchant__mobile--details &
|
|
58
68
|
.merchant__mobile--details--dirty &
|
|
59
69
|
opacity 1
|
|
60
70
|
&__button
|
|
71
|
+
sq(3)
|
|
61
72
|
position absolute
|
|
62
73
|
background-color transparent
|
|
63
|
-
left
|
|
74
|
+
left -.6rem
|
|
75
|
+
padding 0
|
|
76
|
+
display flex
|
|
77
|
+
align-items center
|
|
78
|
+
justify-content center
|
|
79
|
+
flex-shrink 0
|
|
64
80
|
&:hover
|
|
65
81
|
background-color $dark30
|
|
66
82
|
|
|
67
83
|
&__section
|
|
68
|
-
font-size 1.5rem
|
|
69
84
|
padding 1.4rem 2rem
|
|
70
|
-
|
|
71
|
-
|
|
85
|
+
background-color #f5f5f5
|
|
86
|
+
border-radius 0 0 1rem 1rem
|
|
87
|
+
height 45rem
|
|
88
|
+
.merchant__mobile--clean &
|
|
89
|
+
background-color #f3f7ff
|
|
72
90
|
.merchant__mobile--details &
|
|
91
|
+
background-color $light
|
|
73
92
|
padding 0
|
|
74
93
|
.merchant__mobile--details--dirty &
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
margin 2rem
|
|
78
|
-
br(1)
|
|
79
|
-
height auto
|
|
80
|
-
overflow hidden
|
|
94
|
+
background-color $light
|
|
95
|
+
padding 2rem
|
|
81
96
|
&__map
|
|
82
97
|
overflow hidden
|
|
83
98
|
height 20rem
|
|
84
99
|
&__no-map
|
|
85
100
|
height 6rem
|
|
86
101
|
&__date
|
|
87
|
-
color #
|
|
88
|
-
|
|
89
|
-
|
|
102
|
+
color #b7b7b7
|
|
103
|
+
margin-bottom .6rem
|
|
104
|
+
.merchant__mobile--clean &
|
|
105
|
+
color #8697b1
|
|
90
106
|
.merchant__mobile--details &
|
|
91
107
|
.merchant__mobile--details--dirty &
|
|
92
108
|
text-align center
|
|
@@ -95,16 +111,19 @@
|
|
|
95
111
|
margin 0 0 2rem 0
|
|
96
112
|
&__transaction
|
|
97
113
|
flexSpread()
|
|
98
|
-
br(
|
|
114
|
+
br(.6)
|
|
99
115
|
trans()
|
|
116
|
+
background-color $light
|
|
117
|
+
font-size 1.3rem
|
|
100
118
|
cursor pointer
|
|
101
|
-
height
|
|
102
|
-
padding .8rem
|
|
103
|
-
box-shadow 0 0 1rem $dark10
|
|
119
|
+
height 4.8rem
|
|
120
|
+
padding 0 .8rem
|
|
121
|
+
box-shadow 0 0 .3rem .1rem $dark10
|
|
104
122
|
width 100%
|
|
105
|
-
margin-bottom
|
|
123
|
+
margin-bottom .8rem
|
|
106
124
|
&:hover
|
|
107
125
|
background-color #666767
|
|
126
|
+
transform translateX(.5rem)
|
|
108
127
|
.merchant__mobile--clean &
|
|
109
128
|
background-color #4F70FF
|
|
110
129
|
.merchant__mobile__section__transaction
|
|
@@ -135,7 +154,7 @@
|
|
|
135
154
|
color#999
|
|
136
155
|
text-align center
|
|
137
156
|
&__logo
|
|
138
|
-
sq(
|
|
157
|
+
sq(3)
|
|
139
158
|
br(50)
|
|
140
159
|
position relative
|
|
141
160
|
margin-right 1.2rem
|
|
@@ -146,7 +165,7 @@
|
|
|
146
165
|
img
|
|
147
166
|
ellipsis()
|
|
148
167
|
br(50)
|
|
149
|
-
sq(
|
|
168
|
+
sq(3)
|
|
150
169
|
background #fff
|
|
151
170
|
border .1rem solid #f1f1f1
|
|
152
171
|
box-shadow 0 0 .6rem $dark10
|
|
@@ -161,15 +180,19 @@
|
|
|
161
180
|
&__name
|
|
162
181
|
ellipsis()
|
|
163
182
|
font-weight 500
|
|
183
|
+
line-height 1.6rem
|
|
184
|
+
margin-bottom .3rem
|
|
164
185
|
.merchant__mobile--details &
|
|
165
186
|
.merchant__mobile--details--dirty &
|
|
166
187
|
text-align center
|
|
167
188
|
font-size 2rem
|
|
168
189
|
&__date
|
|
169
|
-
color #
|
|
190
|
+
color #a1a1a1
|
|
170
191
|
font-size 1.2rem
|
|
192
|
+
line-height 1.4rem
|
|
171
193
|
&__price
|
|
172
|
-
font-weight
|
|
194
|
+
font-weight 700
|
|
195
|
+
font-size 1.5rem
|
|
173
196
|
.merchant__mobile--details &
|
|
174
197
|
.merchant__mobile--details--dirty &
|
|
175
198
|
margin-top 1rem
|
|
@@ -180,24 +203,20 @@
|
|
|
180
203
|
.merchant__mobile--details--dirty &
|
|
181
204
|
font-size 3.5rem
|
|
182
205
|
|
|
183
|
-
@media screen and (max-width
|
|
206
|
+
@media screen and (max-width 760px)
|
|
184
207
|
.merchant
|
|
185
208
|
&__mobilewrapper
|
|
186
|
-
margin
|
|
187
|
-
@media screen and (max-width
|
|
209
|
+
margin 0 1rem
|
|
210
|
+
@media screen and (max-width 660px)
|
|
188
211
|
.merchant
|
|
189
|
-
&
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
font-size 85%
|
|
197
|
-
@media screen and (max-width 350px)
|
|
212
|
+
&__wrapper
|
|
213
|
+
zoom .7
|
|
214
|
+
@media screen and (max-width 469px)
|
|
215
|
+
.merchant
|
|
216
|
+
&__wrapper
|
|
217
|
+
zoom .6
|
|
218
|
+
@media screen and (max-width 400px)
|
|
198
219
|
.merchant
|
|
199
|
-
&
|
|
200
|
-
|
|
201
|
-
sq(3.6)
|
|
202
|
-
|
|
220
|
+
&__wrapper
|
|
221
|
+
zoom .45
|
|
203
222
|
|