Skip to content

Commit cb1196a

Browse files
1 parent 7e8dd80 commit cb1196a

File tree

48 files changed

+90
-90
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+90
-90
lines changed

apps/zero-runtime-next-app/src/components/Slider/ZeroSlider.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ const SliderThumb = styled('span', {
327327
transition: theme.transitions.create(['box-shadow', 'left', 'bottom'], {
328328
duration: theme.transitions.duration.shortest,
329329
}),
330-
'&:before': {
330+
'&::before': {
331331
position: 'absolute',
332332
content: '""',
333333
borderRadius: 'inherit',
@@ -388,7 +388,7 @@ const SliderThumb = styled('span', {
388388
style: {
389389
width: 12,
390390
height: 12,
391-
'&:before': {
391+
'&::before': {
392392
boxShadow: 'none',
393393
},
394394
},
@@ -454,7 +454,7 @@ const StyledSliderValueLabel = styled(SliderValueLabel, {
454454
top: '-10px',
455455
transformOrigin: 'bottom center',
456456
transform: 'translateY(-100%) scale(0)',
457-
'&:before': {
457+
'&::before': {
458458
position: 'absolute',
459459
content: '""',
460460
width: 8,
@@ -478,7 +478,7 @@ const StyledSliderValueLabel = styled(SliderValueLabel, {
478478
right: '30px',
479479
transform: 'translateY(-50%) scale(0)',
480480
transformOrigin: 'right center',
481-
'&:before': {
481+
'&::before': {
482482
position: 'absolute',
483483
content: '""',
484484
width: 8,

apps/zero-runtime-vite-app/src/Slider/ZeroSlider.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ const SliderThumb = styled('span', {
325325
transition: theme.transitions.create(['box-shadow', 'left', 'bottom'], {
326326
duration: theme.transitions.duration.shortest,
327327
}),
328-
'&:before': {
328+
'&::before': {
329329
position: 'absolute',
330330
content: '""',
331331
borderRadius: 'inherit',
@@ -386,7 +386,7 @@ const SliderThumb = styled('span', {
386386
style: {
387387
width: 12,
388388
height: 12,
389-
'&:before': {
389+
'&::before': {
390390
boxShadow: 'none',
391391
},
392392
},
@@ -452,7 +452,7 @@ const StyledSliderValueLabel = styled(SliderValueLabel, {
452452
top: '-10px',
453453
transformOrigin: 'bottom center',
454454
transform: 'translateY(-100%) scale(0)',
455-
'&:before': {
455+
'&::before': {
456456
position: 'absolute',
457457
content: '""',
458458
width: 8,
@@ -476,7 +476,7 @@ const StyledSliderValueLabel = styled(SliderValueLabel, {
476476
right: '30px',
477477
transform: 'translateY(-50%) scale(0)',
478478
transformOrigin: 'right center',
479-
'&:before': {
479+
'&::before': {
480480
position: 'absolute',
481481
content: '""',
482482
width: 8,

docs/data/base/components/select/UseSelect.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ const Option = styled('li')(
138138
outline: 3px solid ${theme.palette.mode === 'dark' ? blue[600] : blue[200]};
139139
}
140140
141-
&:before {
141+
&::before {
142142
content: '';
143143
width: 1ex;
144144
height: 1ex;

docs/data/base/components/select/UseSelect.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ const Option = styled('li')(
141141
outline: 3px solid ${theme.palette.mode === 'dark' ? blue[600] : blue[200]};
142142
}
143143
144-
&:before {
144+
&::before {
145145
content: '';
146146
width: 1ex;
147147
height: 1ex;

docs/data/joy/components/card/InstagramPost.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export default function InstagramPost() {
3030
<Box
3131
sx={{
3232
position: 'relative',
33-
'&:before': {
33+
'&::before': {
3434
content: '""',
3535
position: 'absolute',
3636
top: 0,

docs/data/joy/components/card/InstagramPost.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export default function InstagramPost() {
3030
<Box
3131
sx={{
3232
position: 'relative',
33-
'&:before': {
33+
'&::before': {
3434
content: '""',
3535
position: 'absolute',
3636
top: 0,

docs/data/joy/getting-started/templates/team/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ export default function TeamExample() {
422422
<ListItem key={companyIndex} sx={{ alignItems: 'flex-start' }}>
423423
<ListItemDecorator
424424
sx={{
425-
'&:before': {
425+
'&::before': {
426426
content: '""',
427427
position: 'absolute',
428428
height: '100%',

docs/data/material/components/accordion/CustomizedAccordions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const Accordion = styled((props) => (
1313
'&:not(:last-child)': {
1414
borderBottom: 0,
1515
},
16-
'&:before': {
16+
'&::before': {
1717
display: 'none',
1818
},
1919
}));

docs/data/material/components/accordion/CustomizedAccordions.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const Accordion = styled((props: AccordionProps) => (
1515
'&:not(:last-child)': {
1616
borderBottom: 0,
1717
},
18-
'&:before': {
18+
'&::before': {
1919
display: 'none',
2020
},
2121
}));

docs/data/material/components/checkboxes/CustomizedCheckbox.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const BpIcon = styled('span')(({ theme }) => ({
3232
const BpCheckedIcon = styled(BpIcon)({
3333
backgroundColor: '#137cbd',
3434
backgroundImage: 'linear-gradient(180deg,hsla(0,0%,100%,.1),hsla(0,0%,100%,0))',
35-
'&:before': {
35+
'&::before': {
3636
display: 'block',
3737
width: 16,
3838
height: 16,

0 commit comments

Comments
 (0)