Skip to content

Commit e8fe3fe

Browse files
committed
Fix stylelint auto fix not working changes
1 parent e5dc105 commit e8fe3fe

11 files changed

+74
-72
lines changed

.stylelintrc.json

-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
"stylelint-declaration-strict-value",
88
"stylelint-high-performance-animation",
99
"stylelint-group-selectors",
10-
"stylelint-use-nesting",
1110
"stylelint-no-nested-media",
1211
"stylelint-selector-tag-no-without-class"
1312
],
@@ -27,7 +26,6 @@
2726
],
2827
"plugin/no-low-performance-animation-properties": true,
2928
"plugin/stylelint-group-selectors": true,
30-
"csstools/use-nesting": "always",
3129
"pitcher/no-nested-media": true,
3230
"plugin/selector-tag-no-without-class": ["div", "span"]
3331
}

package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
"start": "cross-env NODE_ENV=development webpack serve --hot",
1010
"start:local": "cross-env NODE_ENV=development LOCAL=true webpack serve --hot",
1111
"start:static": "npm run build && http-server ./dist",
12-
"build": "cross-env NODE_ENV=production webpack --progress --performance",
13-
"build:gh-pages": "cross-env NODE_ENV=production PUBLIC_PATH=bruga-music webpack --progress --performance",
14-
"build:analyzer": "cross-env NODE_ENV=production ANALYZER=true webpack --progress --performance",
12+
"build": "cross-env NODE_ENV=production webpack --progress",
13+
"build:gh-pages": "cross-env NODE_ENV=production PUBLIC_PATH=bruga-music webpack --progress",
14+
"build:analyzer": "cross-env NODE_ENV=production ANALYZER=true webpack --progress",
1515
"lint": "npm run lint:eslint && npm run lint:stylelint",
1616
"lint:eslint": "eslint babel.config.js webpack.config.js src/**/*.{js,vue}",
1717
"lint:eslint:fix": "eslint babel.config.js webpack.config.js src/**/*.{js,vue} --fix",
@@ -28,7 +28,7 @@
2828
"vue-router": "^3.5.2",
2929
"vuex": "^3.6.2",
3030
"vue-async-computed": "^3.9.0",
31-
"nanoid": "^3.1.24",
31+
"nanoid": "^3.1.25",
3232
"format-duration": "^1.4.0",
3333
"@fortawesome/fontawesome-free": "^5.15.4",
3434
"unfetch": "^4.2.0",
@@ -58,6 +58,7 @@
5858
"file-loader": "^6.2.0",
5959
"html-loader": "^2.1.2",
6060
"html-webpack-plugin": "^5.3.2",
61+
"http-server": "^13.0.0",
6162
"less": "^4.1.1",
6263
"less-loader": "^10.0.1",
6364
"mini-css-extract-plugin": "^2.2.0",
@@ -72,7 +73,6 @@
7273
"stylelint-selector-bem-pattern": "^2.1.1",
7374
"stylelint-selector-no-empty": "^1.0.8",
7475
"stylelint-selector-tag-no-without-class": "^2.0.4",
75-
"stylelint-use-nesting": "^3.0.0",
7676
"vue-eslint-parser": "^7.10.0",
7777
"vue-loader": "^15.9.8",
7878
"vue-template-compiler": "^2.6.14",

src/components/artist/Albums.vue

+4-4
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,11 @@ export default {
9595
opacity: 0.5;
9696
transition: all 0.3s ease-in-out;
9797
overflow: hidden;
98+
}
9899
99-
@nest &:hover & {
100-
opacity: 0.75;
101-
transform: scale(1.1);
102-
}
100+
&:hover .see-more-icon {
101+
opacity: 0.75;
102+
transform: scale(1.1);
103103
}
104104
}
105105
</style>

src/components/common/AnimatedEllipsis.vue

+3-3
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ export default {
3737
&.three {
3838
animation-delay: 0.3s;
3939
}
40+
}
4041
41-
@nest &.stop-animation & {
42-
animation: none;
43-
}
42+
&.stop-animation .dot {
43+
animation: none;
4444
}
4545
}
4646

src/components/common/CloseButton.vue

+3-3
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ export default {
4747
color: @color-red;
4848
opacity: 0.35;
4949
transition: all 0.3s ease-in-out;
50+
}
5051
51-
@nest &:hover & {
52-
opacity: 1;
53-
}
52+
&:hover .icon-cancel {
53+
opacity: 1;
5454
}
5555
}
5656
</style>

src/components/player/ProgressBar.vue

+3-3
Original file line numberDiff line numberDiff line change
@@ -196,10 +196,10 @@ export default {
196196
background-color: @color-red;
197197
opacity: 1;
198198
}
199+
}
199200
200-
& + .duration-hover::before {
201-
opacity: 1;
202-
}
201+
& + .duration-progress + .duration-hover::before {
202+
opacity: 1;
203203
}
204204
}
205205
}

src/components/player/SoundControl.vue

+3-3
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,10 @@ export default {
101101
vertical-align: 65%;
102102
opacity: 0;
103103
transition: all 0.3s ease-in-out;
104+
}
104105
105-
@nest &:hover & {
106-
opacity: 1;
107-
}
106+
&:hover .volume-bar-wrapper {
107+
opacity: 1;
108108
}
109109
}
110110
</style>

src/components/player/VolumeBar.vue

+3-3
Original file line numberDiff line numberDiff line change
@@ -179,10 +179,10 @@ export default {
179179
background-color: @color-music;
180180
opacity: 1;
181181
}
182+
}
182183
183-
& + .volume-hover::before {
184-
opacity: 1;
185-
}
184+
& + .volume-progress + .volume-hover::before {
185+
opacity: 1;
186186
}
187187
}
188188
}

src/components/playlist/DeleteButton.vue

+3-3
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ export default {
4646
color: @color-red;
4747
opacity: 0.35;
4848
transition: all 0.3s ease-in-out;
49+
}
4950
50-
@nest &:hover & {
51-
opacity: 1;
52-
}
51+
&:hover .icon-delete {
52+
opacity: 1;
5353
}
5454
}
5555
</style>

src/components/playlist/Song.vue

+3-3
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@ export default {
5858
5959
.track-play {
6060
opacity: 0;
61+
}
6162
62-
@nest &:hover & {
63-
opacity: 0.9;
64-
}
63+
&:hover .track-play {
64+
opacity: 0.9;
6565
}
6666
6767
.track-title {

src/partials/loading.html

+44-40
Original file line numberDiff line numberDiff line change
@@ -19,31 +19,31 @@
1919
z-index: 1;
2020
transition: opacity 0.55s ease-in-out;
2121
opacity: 1;
22+
}
2223

23-
&.pushed {
24-
z-index: -1;
25-
opacity: 0.9;
26-
pointer-events: none;
27-
}
24+
#background.pushed {
25+
z-index: -1;
26+
opacity: 0.9;
27+
pointer-events: none;
2828
}
2929

3030
#app {
3131
z-index: 1;
3232
transition: opacity 0.55s ease-in-out;
3333
opacity: 0;
34+
}
3435

35-
&.visible {
36-
opacity: 1;
37-
}
36+
#app.visible {
37+
opacity: 1;
3838
}
3939

4040
#loader-spinner {
4141
transition: opacity 0.55s ease-in-out;
4242
opacity: 0;
43+
}
4344

44-
&.visible {
45-
opacity: 1;
46-
}
45+
#loader-spinner.visible {
46+
opacity: 1;
4747
}
4848

4949
#svg-gradient {
@@ -114,11 +114,14 @@
114114
font-weight: 600;
115115
letter-spacing: 4px;
116116
text-shadow: 2px 2px 2px #982726; /* IE fix */
117-
&.hidden {
118-
opacity: 0;
119-
}
117+
}
118+
119+
.loader-title.hidden {
120+
opacity: 0;
121+
}
120122

121-
@media (max-width: 720px) {
123+
@media (max-width: 720px) {
124+
.loader-title {
122125
top: 6%;
123126
}
124127
}
@@ -139,20 +142,21 @@
139142
height: 34px;
140143
top: calc(50% - 17px);
141144
left: calc(50% - 88px);
145+
}
142146

143-
& .ball {
144-
display: inline-block;
145-
text-align: center;
146-
width: 32px;
147-
height: 32px;
148-
margin-right: 36px;
149-
border-radius: 50%;
150-
background-color: #be484d; /* IE fix */
151-
box-shadow: 0 0 6px 1px #8c2332; /* IE fix */
152-
&:last-child {
153-
margin-right: 0;
154-
}
155-
}
147+
.bouncing-balls .ball {
148+
display: inline-block;
149+
text-align: center;
150+
width: 32px;
151+
height: 32px;
152+
margin-right: 36px;
153+
border-radius: 50%;
154+
background-color: #be484d; /* IE fix */
155+
box-shadow: 0 0 6px 1px #8c2332; /* IE fix */
156+
}
157+
158+
.bouncing-balls .ball:last-child {
159+
margin-right: 0;
156160
}
157161

158162
@supports (mix-blend-mode: soft-light) { /* Good browsers */
@@ -166,21 +170,21 @@
166170
.bouncing-balls-animation .ball {
167171
-webkit-animation: bouncedelay 1.32s infinite ease-in-out both;
168172
animation: bounceDelay 1.32s infinite ease-in-out both;
173+
}
169174

170-
&:nth-child(1) {
171-
-webkit-animation-delay: -0.32s;
172-
animation-delay: -0.32s;
173-
}
175+
.bouncing-balls-animation .ball:nth-child(1) {
176+
-webkit-animation-delay: -0.32s;
177+
animation-delay: -0.32s;
178+
}
174179

175-
&:nth-child(2) {
176-
-webkit-animation-delay: -0.16s;
177-
animation-delay: -0.16s;
178-
}
180+
.bouncing-balls-animation .ball:nth-child(2) {
181+
-webkit-animation-delay: -0.16s;
182+
animation-delay: -0.16s;
183+
}
179184

180-
&:nth-child(3) {
181-
-webkit-animation-delay: 0;
182-
animation-delay: 0;
183-
}
185+
.bouncing-balls-animation .ball:nth-child(3) {
186+
-webkit-animation-delay: 0;
187+
animation-delay: 0;
184188
}
185189

186190
.bouncing-balls .ball.hidden {

0 commit comments

Comments
 (0)