@woosmap/ui 3.32.0 → 3.36.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/{styles/next-website → components/Demo}/MerchantDemo.styl +0 -0
- package/src/{styles/next-website/demo.styl → components/Demo/skeletondemo.styl} +12 -35
- package/src/styles/console/button.styl +5 -13
- package/src/styles/console/colors.styl +44 -43
- package/src/styles/console/fonts.styl +1 -1
- package/src/styles/console/mixins.styl +3 -0
- package/src/styles/console/tab.styl +51 -1
- package/src/styles/console/variables.styl +12 -0
- package/src/styles/style-console.styl +7 -10
- package/src/styles/style-website.styl +8 -9
- package/src/styles/website/button.styl +416 -128
- 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/tab.styl +5 -4
- package/src/styles/website/variables.styl +111 -28
- package/src/styles/console/skeletondemo.styl +0 -588
- package/src/styles/next-website/button.styl +0 -416
- package/src/styles/next-website/colors.styl +0 -287
- 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/MerchantDemo.styl +0 -203
- package/src/styles/website/skeletondemo.styl +0 -540
- package/src/styles/website/style.styl +0 -2
|
@@ -1,51 +1,134 @@
|
|
|
1
|
-
//
|
|
2
|
-
$
|
|
3
|
-
$
|
|
1
|
+
// Layout
|
|
2
|
+
$wrapperWidth = 125rem
|
|
3
|
+
$wrapperReducedWidth = 96rem
|
|
4
|
+
$headerHeight = 6.7rem
|
|
5
|
+
$headerBannerHeight = 5.2rem
|
|
6
|
+
$sectionPadding = 18.5rem
|
|
7
|
+
$topRainbowHeight = 3.8rem
|
|
8
|
+
$gutter2c = 3rem
|
|
9
|
+
$quoteIcon = 44rem
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
$fontFamily = "Poppins", arial, sans-serif
|
|
13
|
+
$fontFamily2 = 'Roboto Mono', monospace
|
|
14
|
+
$fontSize = 1.8rem
|
|
15
|
+
$lineHeight = $fontSize * 2 - .8
|
|
16
|
+
$fontSizeSmall = $fontSize - .2
|
|
17
|
+
$fontSizeMini = $fontSize - .4
|
|
18
|
+
$fontSizeNano = $fontSize - .6
|
|
4
19
|
$fontWeight = 400
|
|
20
|
+
$fontSizeHeader = 1.3rem
|
|
21
|
+
$fontSizeFooter = 1.6rem
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
$title = 4.6rem
|
|
25
|
+
$title2 = 4rem
|
|
26
|
+
$title3 = 3.6rem
|
|
27
|
+
$title4 = 3rem
|
|
28
|
+
$title5 = 2.6rem
|
|
29
|
+
$title6 = 2rem
|
|
30
|
+
|
|
31
|
+
$borderRadius = .6rem
|
|
32
|
+
|
|
33
|
+
//new version of demos
|
|
34
|
+
$demofilterWidth = 27.4rem
|
|
35
|
+
$fontSizeDemo = 1.3rem
|
|
36
|
+
$demoPadding = 1.6rem
|
|
37
|
+
$demoBr = .3rem
|
|
38
|
+
$inputFontSizeDemo = 1.1rem
|
|
39
|
+
$inputDemoHeight = 3rem
|
|
40
|
+
$footerDemoHeight = 4rem
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
$col2 = 58rem
|
|
45
|
+
$col3 = 31.5rem
|
|
46
|
+
$col4 = 22rem
|
|
47
|
+
|
|
48
|
+
// card articles
|
|
49
|
+
$cardHeaderHeight = 21rem
|
|
50
|
+
$cardFontSize = 1.6rem
|
|
51
|
+
$cardTitle = 1.8rem
|
|
52
|
+
$cardTitleLineHeight = 2.6rem
|
|
53
|
+
$cardLineHeight = $cardFontSize * 2 - 1
|
|
54
|
+
$cardPadding = 2rem
|
|
55
|
+
|
|
56
|
+
// card pricing
|
|
57
|
+
$pricingCardWidth = 30.2rem
|
|
58
|
+
$pricingCardpadding = 3.4rem
|
|
59
|
+
$pricingCardHeaderHeight = 6.2rem
|
|
60
|
+
$pricingCardCtaHeight = 5.2rem
|
|
61
|
+
$pricingCardTitleSize = $title6
|
|
62
|
+
$pricingCardAmountSize = $title2 * 2
|
|
63
|
+
$pricingCardUnitSize = $title6
|
|
64
|
+
$pricingCardPeriodSize = $fontSizeSmall
|
|
65
|
+
$pricingCardPriceSize = $title2
|
|
66
|
+
$pricingCardPriceUnitSize = $fontSizeSmall
|
|
5
67
|
|
|
6
|
-
// Title size
|
|
7
|
-
$title = 4.8rem
|
|
8
|
-
$title2 = 3.4rem
|
|
9
|
-
$title3 = 1.8rem
|
|
10
|
-
|
|
11
|
-
$padding = 1.4rem
|
|
12
68
|
// Buttons & Inputs
|
|
13
69
|
|
|
14
|
-
$
|
|
70
|
+
$padding = 2rem
|
|
71
|
+
$contentPadding = 2.8rem
|
|
72
|
+
|
|
73
|
+
|
|
15
74
|
|
|
16
|
-
$
|
|
75
|
+
$sidebarButtonSize = 5rem
|
|
76
|
+
|
|
77
|
+
$buttonHeight = 3.8rem
|
|
78
|
+
$buttonPadding = 0 $padding 0 $padding
|
|
17
79
|
$buttonFontSize = $fontSize
|
|
80
|
+
$buttonLineHeight = $fontSize * 2
|
|
18
81
|
|
|
19
|
-
$buttonHeightSmall = $buttonHeight - .
|
|
20
|
-
$
|
|
82
|
+
$buttonHeightSmall = $buttonHeight - .6
|
|
83
|
+
$buttonPaddingSmall = 0 $padding - .1 0 $padding - .1
|
|
84
|
+
$buttonFontSizeSmall = $fontSize - .1
|
|
85
|
+
$buttonLineHeightSmall = $buttonFontSizeSmall * 2
|
|
21
86
|
|
|
22
87
|
$buttonHeightMini = $buttonHeight - 1
|
|
23
|
-
$
|
|
88
|
+
$buttonPaddingMini = 0 $padding - .4 0 $padding - .4
|
|
89
|
+
$buttonFontSizeMini = $fontSizeSmall
|
|
90
|
+
$buttonLineHeightMini = $buttonFontSizeMini * 2
|
|
24
91
|
|
|
25
|
-
$buttonHeightNano = $buttonHeight - 1.
|
|
26
|
-
$
|
|
92
|
+
$buttonHeightNano = $buttonHeight - 1.4
|
|
93
|
+
$buttonPaddingNano = 0 $padding - .4 0 $padding - .4
|
|
94
|
+
$buttonFontSizeNano = $fontSize - .3
|
|
95
|
+
$buttonLineHeightNano = $buttonFontSizeNano * 2
|
|
27
96
|
|
|
28
|
-
$buttonHeightLarge = $
|
|
29
|
-
$
|
|
97
|
+
$buttonHeightLarge = $buttonHeight + 1.2
|
|
98
|
+
$buttonPaddingLarge = 0 $padding + .6 0 $padding + .6
|
|
99
|
+
$buttonFontSizeLarge = $fontSize - .2
|
|
100
|
+
$buttonLineHeightLarge = $buttonFontSizeLarge * 2
|
|
30
101
|
|
|
31
102
|
|
|
103
|
+
$inputMinWidth = 16rem
|
|
32
104
|
|
|
33
105
|
$inputHeight = $buttonHeight
|
|
34
|
-
$
|
|
106
|
+
$inputPadding = 0 1rem .2rem 1rem
|
|
107
|
+
$inputFontSize = $fontSize
|
|
108
|
+
$inputLineHeight = $buttonLineHeight
|
|
35
109
|
|
|
36
110
|
$inputHeightSmall = $buttonHeightSmall
|
|
111
|
+
$inputPaddingSmall = 0 $padding - .1 .2rem $padding - .1
|
|
37
112
|
$inputFontSizeSmall = $buttonFontSizeSmall
|
|
38
|
-
|
|
39
|
-
$inputHeightMini = $buttonHeightMini
|
|
40
|
-
$inputFontSizeMini = $buttonFontSizeMini
|
|
41
|
-
|
|
42
|
-
$inputHeightNano = $buttonHeightNano
|
|
43
|
-
$inputFontSizeNano = $buttonFontSizeNano
|
|
113
|
+
$inputLineHeightSmall = $buttonLineHeightSmall
|
|
44
114
|
|
|
45
115
|
$inputHeightLarge = $buttonHeightLarge
|
|
116
|
+
$inputPaddingLarge = 0 $padding + .4 .2rem $padding + .4
|
|
46
117
|
$inputFontSizeLarge = $buttonFontSizeLarge
|
|
118
|
+
$inputLineHeightLarge = $buttonLineHeightLarge
|
|
119
|
+
|
|
120
|
+
// tabs
|
|
121
|
+
|
|
122
|
+
$tabBtnHeight = $buttonHeight
|
|
123
|
+
$tabBtnPillHeight = $buttonHeight
|
|
124
|
+
|
|
47
125
|
|
|
48
|
-
|
|
49
|
-
$
|
|
126
|
+
// panel
|
|
127
|
+
$panelWidth = 36rem
|
|
128
|
+
$panelpadding = 2.4rem
|
|
129
|
+
$contentHeaderHeight = 7.8rem
|
|
130
|
+
$panelHeaderHeight = $contentHeaderHeight
|
|
50
131
|
|
|
51
|
-
|
|
132
|
+
// modal
|
|
133
|
+
$modalWidth = 70rem
|
|
134
|
+
$modalPadding = 2.4rem
|