File tree Expand file tree Collapse file tree 6 files changed +12
-7
lines changed Expand file tree Collapse file tree 6 files changed +12
-7
lines changed Original file line number Diff line number Diff line change 5
5
font-size : 16px ;
6
6
}
7
7
8
+ button , input {
9
+ & :focus {
10
+ @apply outline-none ;
11
+ }
12
+ }
13
+
8
14
svg {
9
15
@apply fill-current ;
10
16
}
23
29
@apply w-page px-0 mx-auto ;
24
30
}
25
31
}
26
-
27
32
/* ! purgecss end ignore */
28
33
29
34
@tailwind utilities;
Original file line number Diff line number Diff line change 1
1
<template >
2
2
<div class =" h-full relative" :data-prevent-clickaway =" visible" >
3
- <button class =" h-full w-header -mr-offset relative z-10 focus:outline-none flex" @click =" visible = !visible" >
3
+ <button class =" h-full w-header -mr-offset relative z-10 flex" @click =" visible = !visible" >
4
4
<svg xmlns =" http://www.w3.org/2000/svg" viewBox =" 0 0 24 24" class =" m-auto w-6 h-6" >
5
5
<transition
6
6
enter-class =" translate-y-full"
Original file line number Diff line number Diff line change 3
3
<header class =" border-b border-gray-300 bg-gray-100 md:rounded-t-md flex flex-col" >
4
4
<div class =" px-page xl:px-5 flex items-center" >
5
5
<h2 class =" py-3 xl:py-4 text-cool-gray-700 text-lg xl:text-xl font-medium uppercase tracking-wide" >{{ t('nyaa.player_advancements.section_title') }}</h2 >
6
- <button class =" ml-auto p-1 -mr-1 focus:outline-none flex" @click =" showConfig = !showConfig" >
6
+ <button class =" ml-auto p-1 -mr-1 flex" @click =" showConfig = !showConfig" >
7
7
<svg xmlns =" http://www.w3.org/2000/svg" viewBox =" 0 0 24 24" :class =" ['w-6 h-6', showConfig ? 'fill-black' : 'fill-gray-500']" >
8
8
<path d =" M8 7a5 5 0 1 0 0 10h8a5 5 0 0 0 0-10H8zm0-2h8a7 7 0 0 1 0 14H8A7 7 0 0 1 8 5zm0 10a3 3 0 1 1 0-6 3 3 0 0 1 0 6z" />
9
9
</svg >
Original file line number Diff line number Diff line change 28
28
</li >
29
29
</ul >
30
30
<div class =" -mx-3" >
31
- <button v-show =" restCount > 0" class =" flex w-full h-14 px-3 py-2 hover:bg-cool-gray-100 focus:outline-none rounded-md text-gray-600 text-left transition duration-100 ease-linear" @click =" cursor += 50" >
31
+ <button v-show =" restCount > 0" class =" flex w-full h-14 px-3 py-2 hover:bg-cool-gray-100 rounded-md text-gray-600 text-left transition duration-100 ease-linear" @click =" cursor += 50" >
32
32
<span class =" ml-14" >{{ t('nyaa.player_list.load_more_button_label') }}</span >
33
33
</button >
34
34
</div >
Original file line number Diff line number Diff line change 3
3
<header class =" border-b border-gray-300 bg-gray-100 md:rounded-t-md flex flex-col" >
4
4
<div class =" px-page xl:px-5 flex items-center" >
5
5
<h2 class =" py-3 xl:py-4 text-cool-gray-700 text-lg xl:text-xl font-medium uppercase tracking-wide" >{{ t('nyaa.player_statistics.section_title') }}</h2 >
6
- <button class =" ml-auto p-1 -mr-1 focus:outline-none flex" @click =" showConfig = !showConfig" >
6
+ <button class =" ml-auto p-1 -mr-1 flex" @click =" showConfig = !showConfig" >
7
7
<svg xmlns =" http://www.w3.org/2000/svg" viewBox =" 0 0 24 24" :class =" ['w-6 h-6', showConfig ? 'fill-black' : 'fill-gray-500']" >
8
8
<path d =" M8 7a5 5 0 1 0 0 10h8a5 5 0 0 0 0-10H8zm0-2h8a7 7 0 0 1 0 14H8A7 7 0 0 1 8 5zm0 10a3 3 0 1 1 0-6 3 3 0 0 1 0 6z" />
9
9
</svg >
Original file line number Diff line number Diff line change 9
9
@click =" isFocused = true"
10
10
>
11
11
<div class =" xl:w-page xl:mx-auto flex" >
12
- <button ref =" button" class =" flex-none focus:outline-none flex items-center" @click =" () => {keyword && setKeyword(''); $refs.input.focus()}" >
12
+ <button ref =" button" class =" flex-none flex items-center" @click =" () => {keyword && setKeyword(''); $refs.input.focus()}" >
13
13
<svg xmlns =" http://www.w3.org/2000/svg" viewBox =" 0 0 24 24" class =" h-6 fill-current" >
14
14
<path v-if =" !keyword" d =" M18.031 16.617l4.283 4.282-1.415 1.415-4.282-4.283A8.96 8.96 0 0 1 11 20c-4.968 0-9-4.032-9-9s4.032-9 9-9 9 4.032 9 9a8.96 8.96 0 0 1-1.969 5.617zm-2.006-.742A6.977 6.977 0 0 0 18 11c0-3.868-3.133-7-7-7-3.868 0-7 3.132-7 7 0 3.867 3.132 7 7 7a6.977 6.977 0 0 0 4.875-1.975l.15-.15z" />
15
15
<path v-else d =" M12 10.586l4.95-4.95 1.414 1.414-4.95 4.95 4.95 4.95-1.414 1.414-4.95-4.95-4.95 4.95-1.414-1.414 4.95-4.95-4.95-4.95L7.05 5.636z" />
20
20
:value =" keyword"
21
21
type =" text"
22
22
:placeholder =" t('nyaa.general.search_placeholder')"
23
- class =" flex-1 pl-2 pr-5 py-3 bg-transparent placeholder-gray-600 focus:outline-none cursor-pointer focus:cursor-text"
23
+ class =" flex-1 pl-2 pr-5 py-3 bg-transparent placeholder-gray-600 cursor-pointer focus:cursor-text"
24
24
@blur =" $event.relatedTarget !== $refs.button && (isFocused = false)"
25
25
@input =" setKeyword($event.target.value)"
26
26
>
You can’t perform that action at this time.
0 commit comments