Skip to content

Commit 8062a78

Browse files
committed
fix(lint): fix stylelint errors
1 parent 1dae813 commit 8062a78

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

src/components/base/layout/Modal.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,8 @@ function onRouterAfterEach() {
140140
position: absolute;
141141
top: calc(30 / 375 * 100vw);
142142
right: calc(15 / 375 * 100vw);
143-
display: block;
144143
float: left;
144+
display: block;
145145
padding: 0;
146146
appearance: none;
147147
cursor: pointer;
@@ -174,9 +174,9 @@ function onRouterAfterEach() {
174174
.modal-toggle-enter,
175175
.modal-toggle-leave-to {
176176
opacity: 0;
177+
transform: scale(0.6);
177178
transition:
178179
transform 0.15s ease-in,
179180
opacity 0.15s linear;
180-
transform: scale(0.6);
181181
}
182182
</style>

src/components/fragment/LanguageSwitch.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ const languages = computed(() => {
5959
6060
& a {
6161
color: var(--color-black);
62-
text-decoration: none;
6362
text-transform: uppercase;
63+
text-decoration: none;
6464
opacity: 0.6;
6565
6666
&.router-link-exact-active {

src/components/page/Header.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ const styleClasses = computed(() => {
7272
font-weight: bold;
7373
text-align: center;
7474
background: rgb(255 255 255 / 50%);
75-
backdrop-filter: blur(4px);
7675
box-shadow: 0 0 10px rgb(0 0 0 / 30%);
76+
backdrop-filter: blur(4px);
7777
7878
& a {
7979
color: var(--color-black);

src/components/page/MenuButton.vue

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,12 @@ function onClickMenu() {
5454
appearance: none;
5555
cursor: pointer;
5656
user-select: none;
57+
outline: none;
5758
background: rgb(255 255 255 / 60%);
58-
backdrop-filter: blur(2px);
5959
border: none;
6060
border-radius: 50%;
61-
outline: none;
6261
box-shadow: 0 0 10px rgb(0 0 0 / 30%);
62+
backdrop-filter: blur(2px);
6363
-webkit-tap-highlight-color: transparent;
6464
6565
@media (--xs) {
@@ -93,17 +93,17 @@ function onClickMenu() {
9393
}
9494
9595
& svg g {
96+
transform-origin: center center;
9697
transition:
9798
transform 0.3s linear,
9899
opacity 0.3s linear;
99-
transform-origin: center center;
100100
101101
&:last-child {
102102
opacity: 0;
103+
transform: scale(0.4);
103104
transition:
104105
transform 0.15s linear,
105106
opacity 0.15s linear;
106-
transform: scale(0.4);
107107
}
108108
}
109109
@@ -116,10 +116,10 @@ function onClickMenu() {
116116
& g {
117117
&:first-child {
118118
opacity: 0;
119+
transform: scale(0.4);
119120
transition:
120121
transform 0.15s linear,
121122
opacity 0.15s linear;
122-
transform: scale(0.4);
123123
}
124124
125125
&:last-child {
@@ -141,9 +141,9 @@ function onClickMenu() {
141141
.button-toggle-enter,
142142
.button-toggle-leave-to {
143143
opacity: 0;
144+
transform: scale(0.4);
144145
transition:
145146
transform 0.15s linear,
146147
opacity 0.15s linear;
147-
transform: scale(0.4);
148148
}
149149
</style>

0 commit comments

Comments
 (0)