@faststore/core 2.0.168-alpha.0 → 2.0.172-alpha.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/.turbo/turbo-build.log +2 -3
- package/CHANGELOG.md +12 -0
- package/next.config.js +3 -0
- package/package.json +3 -3
- package/src/components/cart/CartSidebar/section.module.scss +0 -3
- package/src/components/common/Alert/section.module.scss +0 -3
- package/src/components/common/Toast/section.module.scss +0 -3
- package/src/components/region/RegionModal/section.module.scss +0 -3
- package/src/components/search/Filter/section.module.scss +0 -3
- package/src/components/sections/BannerNewsletter/section.module.scss +0 -3
- package/src/components/sections/BannerText/section.module.scss +0 -3
- package/src/components/sections/Breadcrumb/section.module.scss +0 -3
- package/src/components/sections/EmptyState/section.module.scss +0 -3
- package/src/components/sections/Footer/section.module.scss +0 -3
- package/src/components/sections/Hero/section.module.scss +0 -3
- package/src/components/sections/Incentives/section.module.scss +0 -3
- package/src/components/sections/Navbar/section.module.scss +0 -3
- package/src/components/sections/Newsletter/section.module.scss +0 -3
- package/src/components/sections/ProductDetails/section.module.scss +0 -3
- package/src/components/sections/ProductGallery/section.module.scss +0 -3
- package/src/components/sections/ProductShelf/section.module.scss +0 -3
- package/src/components/sections/ProductTiles/section.module.scss +0 -3
- package/src/components/sections/RegionBar/section.module.scss +0 -3
- package/src/components/sections/ScrollToTopButton/section.module.scss +0 -3
- package/src/components/sections/Section/section.scss +0 -2
- package/src/customizations/GlobalOverrides.tsx +11 -0
- package/src/customizations/components/overrides/WebFonts.tsx +9 -0
- package/src/customizations/fonts/WebFonts.tsx +7 -0
- package/src/pages/_document.tsx +1 -1
- package/src/styles/themes/custom-theme.scss +0 -2
- package/src/styles/themes/midnight.scss +0 -2
- package/src/styles/themes/soft-blue.scss +0 -2
- package/stylelint.config.js +1 -1
- package/src/styles/global/utilities.scss +0 -76
- package/src/styles/scaffold.scss +0 -7
- package/src/styles/vendors/include-media.scss +0 -4
- package/src/styles/vendors/include-media_overwrite.scss +0 -9
- package/src/styles/vendors/modern-normalize.css +0 -270
package/.turbo/turbo-build.log
CHANGED
|
@@ -16,7 +16,6 @@ info - Collecting page data...
|
|
|
16
16
|
info - Generating static pages (0/7)
|
|
17
17
|
info - Generating static pages (1/7)
|
|
18
18
|
info - Generating static pages (3/7)
|
|
19
|
-
warn - IncentivesHeader not found. Add a new component for this section or remove it from the CMS
|
|
20
19
|
info - Generating static pages (5/7)
|
|
21
20
|
info - Generating static pages (7/7)
|
|
22
21
|
info - Finalizing page optimization...
|
|
@@ -41,8 +40,8 @@ Route (pages) Size First Load JS
|
|
|
41
40
|
├ chunks/framework-dfd14d7ce6600b03.js 45.3 kB
|
|
42
41
|
├ chunks/main-fd466221927468fd.js 23.9 kB
|
|
43
42
|
├ chunks/pages/_app-79d333aa6001a806.js 6.38 kB
|
|
44
|
-
├ chunks/webpack-
|
|
45
|
-
└ css/
|
|
43
|
+
├ chunks/webpack-d62f6560695a4b1b.js 2.21 kB
|
|
44
|
+
└ css/e2dad288b79896b9.css 2.78 kB
|
|
46
45
|
|
|
47
46
|
λ (Server) server-side renders at runtime (uses getInitialProps or getServerSideProps)
|
|
48
47
|
○ (Static) automatically rendered as static HTML (uses no initial props)
|
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,18 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [2.0.172-alpha.0](https://github.com/vtex/faststore/compare/v2.0.171-alpha.0...v2.0.172-alpha.0) (2023-05-31)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- Override `WebFonts` ([#1799](https://github.com/vtex/faststore/issues/1799)) ([5fa4b9a](https://github.com/vtex/faststore/commit/5fa4b9ada4affcf508f05a95acabd542536ceacf))
|
|
11
|
+
|
|
12
|
+
## [2.0.169-alpha.0](https://github.com/vtex/faststore/compare/v2.0.168-alpha.0...v2.0.169-alpha.0) (2023-05-29)
|
|
13
|
+
|
|
14
|
+
### Chores
|
|
15
|
+
|
|
16
|
+
- Removes imports utilities styles from core package + enable system fonts ([#1792](https://github.com/vtex/faststore/issues/1792)) ([19de095](https://github.com/vtex/faststore/commit/19de095e0e47548386afb06ef057798ca54f6294))
|
|
17
|
+
|
|
6
18
|
## [2.0.168-alpha.0](https://github.com/vtex/faststore/compare/v2.0.167-alpha.0...v2.0.168-alpha.0) (2023-05-29)
|
|
7
19
|
|
|
8
20
|
### Features
|
package/next.config.js
CHANGED
|
@@ -15,6 +15,9 @@ const nextConfig = {
|
|
|
15
15
|
locales: ['en-US'],
|
|
16
16
|
defaultLocale: 'en-US',
|
|
17
17
|
},
|
|
18
|
+
sassOptions: {
|
|
19
|
+
additionalData: `@import "@faststore/ui/src/styles/base/utilities.scss";`,
|
|
20
|
+
},
|
|
18
21
|
webpack: (config, { isServer, dev }) => {
|
|
19
22
|
// https://github.com/vercel/next.js/discussions/11267#discussioncomment-2479112
|
|
20
23
|
// camel-case style names from css modules
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@faststore/core",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.172-alpha.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"browserslist": "supports es6-module and not dead",
|
|
6
6
|
"scripts": {
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"@faststore/components": "^2.0.168-alpha.0",
|
|
34
34
|
"@faststore/graphql-utils": "^2.0.3-alpha.0",
|
|
35
35
|
"@faststore/sdk": "^2.0.162-alpha.0",
|
|
36
|
-
"@faststore/ui": "^2.0.
|
|
36
|
+
"@faststore/ui": "^2.0.169-alpha.0",
|
|
37
37
|
"@types/react": "^18.0.14",
|
|
38
38
|
"@vtex/client-cms": "^0.2.12",
|
|
39
39
|
"autoprefixer": "^10.4.0",
|
|
@@ -108,5 +108,5 @@
|
|
|
108
108
|
"msw": {
|
|
109
109
|
"workerDirectory": "public"
|
|
110
110
|
},
|
|
111
|
-
"gitHead": "
|
|
111
|
+
"gitHead": "4154be1b6bc5024ac1684563f7b8c436a75ac605"
|
|
112
112
|
}
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
/* stylelint-disable no-invalid-position-at-import-rule */
|
|
2
|
-
@import "@faststore/ui/src/styles/base/utilities.scss";
|
|
3
|
-
|
|
4
1
|
.section {
|
|
5
2
|
@import "@faststore/ui/src/components/atoms/Button/styles.scss";
|
|
6
3
|
@import "@faststore/ui/src/components/molecules/LinkButton/styles.scss";
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
/* stylelint-disable no-invalid-position-at-import-rule */
|
|
2
|
-
@import "@faststore/ui/src/styles/base/utilities.scss";
|
|
3
|
-
|
|
4
1
|
.section {
|
|
5
2
|
@import "@faststore/ui/src/components/organisms/Hero/styles.scss";
|
|
6
3
|
@import "@faststore/ui/src/components/molecules/LinkButton/styles.scss";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import WebFontsOverrides from 'src/customizations/components/overrides/WebFonts'
|
|
2
|
+
import { default as CoreWebFonts } from 'src/fonts/WebFonts'
|
|
3
|
+
|
|
4
|
+
const Components = {
|
|
5
|
+
WebFonts: CoreWebFonts,
|
|
6
|
+
...WebFontsOverrides.components,
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export const WebFonts = Components.WebFonts
|
|
10
|
+
|
|
11
|
+
export default Components
|
package/src/pages/_document.tsx
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Head, Html, Main, NextScript } from 'next/document'
|
|
2
2
|
|
|
3
|
-
import WebFonts from 'src/fonts/WebFonts'
|
|
4
3
|
import ThirdPartyScripts from 'src/components/ThirdPartyScripts'
|
|
4
|
+
import { WebFonts } from 'src/customizations/GlobalOverrides'
|
|
5
5
|
|
|
6
6
|
function Document() {
|
|
7
7
|
return (
|
package/stylelint.config.js
CHANGED
|
@@ -29,7 +29,7 @@ module.exports = {
|
|
|
29
29
|
'selector-pseudo-element-no-unknown': true,
|
|
30
30
|
'comment-no-empty': true,
|
|
31
31
|
'no-descending-specificity': null,
|
|
32
|
-
'no-invalid-position-at-import-rule':
|
|
32
|
+
'no-invalid-position-at-import-rule': null,
|
|
33
33
|
'no-duplicate-at-import-rules': true,
|
|
34
34
|
'no-extra-semicolons': true,
|
|
35
35
|
'no-invalid-double-slash-comments': true,
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
/* SQ-DISABLE */
|
|
2
|
-
@use "sass:math";
|
|
3
|
-
|
|
4
|
-
/* SQ-ENABLE */
|
|
5
|
-
/* stylelint-disable-next-line no-invalid-position-at-import-rule */
|
|
6
|
-
@import "~include-media/dist/include-media";
|
|
7
|
-
|
|
8
|
-
// Include Media Overwrites //////////////////////////
|
|
9
|
-
|
|
10
|
-
$breakpoints: (
|
|
11
|
-
"phone": 320px,
|
|
12
|
-
"phonemid": 375px,
|
|
13
|
-
"tablet": 768px,
|
|
14
|
-
"notebook": 1280px,
|
|
15
|
-
"desktop": 1440px,
|
|
16
|
-
);
|
|
17
|
-
|
|
18
|
-
// Px to rem.
|
|
19
|
-
$base: 16px !default;
|
|
20
|
-
|
|
21
|
-
@function rem($size) {
|
|
22
|
-
$rem: math.div($size, $base);
|
|
23
|
-
|
|
24
|
-
@return #{$rem}rem;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
@mixin input-focus-ring($outline: #{var(--fs-color-focus-ring)}, $border: #{var(--fs-border-color-active)}) {
|
|
28
|
-
@media not all and (min-resolution: .001dpcm) { // Target only Safari browsers
|
|
29
|
-
@supports (-webkit-appearance:none) { // Use `focus` instead of `focus-visible`
|
|
30
|
-
&:hover:focus, // due to Safari's lack of support
|
|
31
|
-
&:focus {
|
|
32
|
-
border-color: $border;
|
|
33
|
-
outline: none;
|
|
34
|
-
box-shadow:
|
|
35
|
-
0 0 0 1px var(--fs-color-body-bkg),
|
|
36
|
-
0 0 0 var(--fs-border-width-thickest) $outline,
|
|
37
|
-
inset 0 0 0 var(--fs-border-width) $border;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
&:focus-visible,
|
|
43
|
-
&:hover:focus-visible {
|
|
44
|
-
border-color: $border;
|
|
45
|
-
outline: none;
|
|
46
|
-
box-shadow:
|
|
47
|
-
0 0 0 1px var(--fs-color-body-bkg),
|
|
48
|
-
0 0 0 var(--fs-border-width-thickest) $outline,
|
|
49
|
-
inset 0 0 0 var(--fs-border-width) $border;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
@mixin focus-ring {
|
|
54
|
-
outline: none;
|
|
55
|
-
box-shadow: 0 0 0 1px var(--fs-color-body-bkg), 0 0 0 var(--fs-border-width-thickest) var(--fs-color-focus-ring);
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
@mixin focus-ring-visible {
|
|
59
|
-
@media not all and (min-resolution: .001dpcm) { // Target only Safari browsers
|
|
60
|
-
@supports (-webkit-appearance:none) { // Use `focus` instead of `focus-visible`
|
|
61
|
-
&:focus { @include focus-ring; } // due to Safari's lack of support
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
&:focus-visible { @include focus-ring; }
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
@mixin truncate-title($max-lines: var(--fs-text-max-lines)) {
|
|
68
|
-
display: -webkit-box;
|
|
69
|
-
overflow: hidden;
|
|
70
|
-
-webkit-box-orient: vertical;
|
|
71
|
-
-moz-box-orient: vertical;
|
|
72
|
-
-webkit-line-clamp: $max-lines;
|
|
73
|
-
line-clamp: $max-lines;
|
|
74
|
-
text-overflow: -o-ellipsis-lastline;
|
|
75
|
-
text-overflow: ellipsis;
|
|
76
|
-
}
|
package/src/styles/scaffold.scss
DELETED
|
@@ -1,270 +0,0 @@
|
|
|
1
|
-
/*! modern-normalize v1.1.0 | MIT License | https://github.com/sindresorhus/modern-normalize */
|
|
2
|
-
|
|
3
|
-
/*
|
|
4
|
-
Document
|
|
5
|
-
========
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
Use a better box model (opinionated).
|
|
10
|
-
*/
|
|
11
|
-
|
|
12
|
-
*,
|
|
13
|
-
::before,
|
|
14
|
-
::after {
|
|
15
|
-
box-sizing: border-box;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
1. Correct the line height in all browsers.
|
|
20
|
-
2. Prevent adjustments of font size after orientation changes in iOS.
|
|
21
|
-
3. Use a more readable tab size (opinionated).
|
|
22
|
-
*/
|
|
23
|
-
|
|
24
|
-
html {
|
|
25
|
-
line-height: 1.15; /* 1 */
|
|
26
|
-
-webkit-text-size-adjust: 100%; /* 2 */
|
|
27
|
-
-moz-tab-size: 4; /* 3 */
|
|
28
|
-
tab-size: 4; /* 3 */
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
/*
|
|
32
|
-
Sections
|
|
33
|
-
========
|
|
34
|
-
*/
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
1. Remove the margin in all browsers.
|
|
38
|
-
2. Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)
|
|
39
|
-
*/
|
|
40
|
-
|
|
41
|
-
body {
|
|
42
|
-
margin: 0; /* 1 */
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
/*
|
|
46
|
-
Grouping content
|
|
47
|
-
================
|
|
48
|
-
*/
|
|
49
|
-
|
|
50
|
-
/**
|
|
51
|
-
1. Add the correct height in Firefox.
|
|
52
|
-
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
|
|
53
|
-
*/
|
|
54
|
-
|
|
55
|
-
hr {
|
|
56
|
-
height: 0; /* 1 */
|
|
57
|
-
color: inherit; /* 2 */
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
/*
|
|
61
|
-
Text-level semantics
|
|
62
|
-
====================
|
|
63
|
-
*/
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
Add the correct text decoration in Chrome, Edge, and Safari.
|
|
67
|
-
*/
|
|
68
|
-
|
|
69
|
-
abbr[title] {
|
|
70
|
-
text-decoration: underline dotted;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
/**
|
|
74
|
-
Add the correct font weight in Edge and Safari.
|
|
75
|
-
*/
|
|
76
|
-
|
|
77
|
-
b,
|
|
78
|
-
strong {
|
|
79
|
-
font-weight: bolder;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
/**
|
|
83
|
-
1. Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)
|
|
84
|
-
2. Correct the odd 'em' font sizing in all browsers.
|
|
85
|
-
*/
|
|
86
|
-
|
|
87
|
-
code,
|
|
88
|
-
kbd,
|
|
89
|
-
samp,
|
|
90
|
-
pre {
|
|
91
|
-
font-family: ui-monospace, SFMono-Regular, Consolas, 'Liberation Mono', Menlo,
|
|
92
|
-
monospace; /* 1 */
|
|
93
|
-
font-size: 1em; /* 2 */
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
/**
|
|
97
|
-
Add the correct font size in all browsers.
|
|
98
|
-
*/
|
|
99
|
-
|
|
100
|
-
small {
|
|
101
|
-
font-size: 80%;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
/**
|
|
105
|
-
Prevent 'sub' and 'sup' elements from affecting the line height in all browsers.
|
|
106
|
-
*/
|
|
107
|
-
|
|
108
|
-
sub,
|
|
109
|
-
sup {
|
|
110
|
-
font-size: 75%;
|
|
111
|
-
line-height: 0;
|
|
112
|
-
position: relative;
|
|
113
|
-
vertical-align: baseline;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
sub {
|
|
117
|
-
bottom: -0.25em;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
sup {
|
|
121
|
-
top: -0.5em;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
/*
|
|
125
|
-
Tabular data
|
|
126
|
-
============
|
|
127
|
-
*/
|
|
128
|
-
|
|
129
|
-
/**
|
|
130
|
-
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
|
|
131
|
-
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
|
|
132
|
-
*/
|
|
133
|
-
|
|
134
|
-
table {
|
|
135
|
-
text-indent: 0; /* 1 */
|
|
136
|
-
border-color: inherit; /* 2 */
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
/*
|
|
140
|
-
Forms
|
|
141
|
-
=====
|
|
142
|
-
*/
|
|
143
|
-
|
|
144
|
-
/**
|
|
145
|
-
1. Change the font styles in all browsers.
|
|
146
|
-
2. Remove the margin in Firefox and Safari.
|
|
147
|
-
*/
|
|
148
|
-
|
|
149
|
-
button,
|
|
150
|
-
input,
|
|
151
|
-
optgroup,
|
|
152
|
-
select,
|
|
153
|
-
textarea {
|
|
154
|
-
font-family: inherit; /* 1 */
|
|
155
|
-
font-size: 100%; /* 1 */
|
|
156
|
-
line-height: 1.15; /* 1 */
|
|
157
|
-
margin: 0; /* 2 */
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
/**
|
|
161
|
-
Remove the inheritance of text transform in Edge and Firefox.
|
|
162
|
-
*/
|
|
163
|
-
|
|
164
|
-
button,
|
|
165
|
-
select {
|
|
166
|
-
text-transform: none;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
/**
|
|
170
|
-
Correct the inability to style clickable types in iOS and Safari.
|
|
171
|
-
*/
|
|
172
|
-
|
|
173
|
-
button,
|
|
174
|
-
[type='button'],
|
|
175
|
-
[type='reset'],
|
|
176
|
-
[type='submit'] {
|
|
177
|
-
-webkit-appearance: button;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
/**
|
|
181
|
-
Remove the inner border and padding in Firefox.
|
|
182
|
-
*/
|
|
183
|
-
|
|
184
|
-
::-moz-focus-inner {
|
|
185
|
-
border-style: none;
|
|
186
|
-
padding: 0;
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
/**
|
|
190
|
-
Restore the focus styles unset by the previous rule.
|
|
191
|
-
*/
|
|
192
|
-
|
|
193
|
-
:-moz-focusring {
|
|
194
|
-
outline: 1px dotted ButtonText;
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
/**
|
|
198
|
-
Remove the additional ':invalid' styles in Firefox.
|
|
199
|
-
See: https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737
|
|
200
|
-
*/
|
|
201
|
-
|
|
202
|
-
:-moz-ui-invalid {
|
|
203
|
-
box-shadow: none;
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
/**
|
|
207
|
-
Remove the padding so developers are not caught out when they zero out 'fieldset' elements in all browsers.
|
|
208
|
-
*/
|
|
209
|
-
|
|
210
|
-
legend {
|
|
211
|
-
padding: 0;
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
/**
|
|
215
|
-
Add the correct vertical alignment in Chrome and Firefox.
|
|
216
|
-
*/
|
|
217
|
-
|
|
218
|
-
progress {
|
|
219
|
-
vertical-align: baseline;
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
/**
|
|
223
|
-
Correct the cursor style of increment and decrement buttons in Safari.
|
|
224
|
-
*/
|
|
225
|
-
|
|
226
|
-
::-webkit-inner-spin-button,
|
|
227
|
-
::-webkit-outer-spin-button {
|
|
228
|
-
height: auto;
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
/**
|
|
232
|
-
1. Correct the odd appearance in Chrome and Safari.
|
|
233
|
-
2. Correct the outline style in Safari.
|
|
234
|
-
*/
|
|
235
|
-
|
|
236
|
-
[type='search'] {
|
|
237
|
-
-webkit-appearance: textfield; /* 1 */
|
|
238
|
-
outline-offset: -2px; /* 2 */
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
/**
|
|
242
|
-
Remove the inner padding in Chrome and Safari on macOS.
|
|
243
|
-
*/
|
|
244
|
-
|
|
245
|
-
::-webkit-search-decoration {
|
|
246
|
-
-webkit-appearance: none;
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
/**
|
|
250
|
-
1. Correct the inability to style clickable types in iOS and Safari.
|
|
251
|
-
2. Change font properties to 'inherit' in Safari.
|
|
252
|
-
*/
|
|
253
|
-
|
|
254
|
-
::-webkit-file-upload-button {
|
|
255
|
-
-webkit-appearance: button; /* 1 */
|
|
256
|
-
font: inherit; /* 2 */
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
/*
|
|
260
|
-
Interactive
|
|
261
|
-
===========
|
|
262
|
-
*/
|
|
263
|
-
|
|
264
|
-
/*
|
|
265
|
-
Add the correct display in Chrome and Safari.
|
|
266
|
-
*/
|
|
267
|
-
|
|
268
|
-
summary {
|
|
269
|
-
display: list-item;
|
|
270
|
-
}
|