perf?(client): remove needless scoped annotation for style

This commit is contained in:
syuilo 2022-12-27 18:01:06 +09:00
parent 10a659eb99
commit ada04c1932
263 changed files with 407 additions and 343 deletions

View File

@ -63,7 +63,7 @@ function resolve() {
}
</script>
<style lang="scss" scoped>
<style lang="scss">
.bcekxzvu {
display: flex;

View File

@ -58,7 +58,7 @@ function send() {
}
</script>
<style lang="scss" scoped>
<style lang="scss">
.dpvffvvy {
--root-margin: 16px;
}

View File

@ -205,7 +205,7 @@ onBeforeUnmount(() => {
});
</script>
<style lang="scss" scoped>
<style lang="scss">
.mbcofsoe {
display: block;

View File

@ -376,7 +376,7 @@ onBeforeUnmount(() => {
});
</script>
<style lang="scss" scoped>
<style lang="scss">
.swhvrteh {
position: fixed;
max-width: 100%;

View File

@ -98,7 +98,7 @@ function onMousedown(evt: MouseEvent): void {
}
</script>
<style lang="scss" scoped>
<style lang="scss">
.bghgjjyj {
position: relative;
z-index: 1; // box-shadow

View File

@ -57,7 +57,7 @@ async function onClick() {
}
</script>
<style lang="scss" scoped>
<style lang="scss">
.hdcaacmi {
position: relative;
display: inline-block;

View File

@ -50,7 +50,7 @@ const bannerStyle = computed(() => {
});
</script>
<style lang="scss" scoped>
<style lang="scss">
.eftoefju {
display: block;
overflow: hidden;

View File

@ -838,7 +838,7 @@ onMounted(() => {
/* eslint-enable id-denylist */
</script>
<style lang="scss" scoped>
<style lang="scss">
.cbbedffa {
position: relative;

View File

@ -33,7 +33,7 @@ const emit = defineEmits<{
}>();
</script>
<style lang="scss" scoped>
<style lang="scss">
.qpcyisrl {
> .title {
margin-bottom: 4px;

View File

@ -140,7 +140,9 @@ export default defineComponent({
.container-toggle-leave-to {
opacity: 0;
}
</style>
<style lang="scss">
.ukygtjoj {
position: relative;
overflow: clip;

View File

@ -69,10 +69,6 @@ function onMousedown(evt: Event) {
</script>
<style lang="scss" scoped>
.nvlagfpb {
position: absolute;
}
.fade-enter-active, .fade-leave-active {
transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
transform-origin: left top;
@ -83,3 +79,9 @@ function onMousedown(evt: Event) {
transform: scale(0.9);
}
</style>
<style lang="scss">
.nvlagfpb {
position: absolute;
}
</style>

View File

@ -133,7 +133,9 @@ onMounted(() => {
.fade-leave-to {
opacity: 0;
}
</style>
<style lang="scss">
.mk-cropper-dialog {
display: flex;
flex-direction: column;

View File

@ -34,7 +34,7 @@ const toggle = () => {
};
</script>
<style lang="scss" scoped>
<style lang="scss">
.nrvgflfu {
display: inline-block;
padding: 4px 8px;

View File

@ -143,7 +143,7 @@ onBeforeUnmount(() => {
});
</script>
<style lang="scss" scoped>
<style lang="scss">
.mk-dialog {
position: relative;
padding: 32px;

View File

@ -62,7 +62,7 @@ onUnmounted(() => {
});
</script>
<style lang="scss" scoped>
<style lang="scss">
.zjobosdg {
> .colon {
opacity: 0;

View File

@ -176,7 +176,7 @@ async function deleteFile() {
}
</script>
<style lang="scss" scoped>
<style lang="scss">
.ncvczrfv {
position: relative;
padding: 8px 0 0 0;

View File

@ -264,7 +264,7 @@ function onContextmenu(ev: MouseEvent) {
}
</script>
<style lang="scss" scoped>
<style lang="scss">
.rghtznwe {
position: relative;
padding: 8px;

View File

@ -1,5 +1,6 @@
<template>
<div class="drylbebk"
<div
class="drylbebk"
:class="{ draghover }"
@click="onClick"
@dragover.prevent.stop="onDragover"
@ -130,7 +131,7 @@ function onDrop(ev: DragEvent) {
}
</script>
<style lang="scss" scoped>
<style lang="scss">
.drylbebk {
> * {
pointer-events: none;

View File

@ -655,7 +655,7 @@ onBeforeUnmount(() => {
});
</script>
<style lang="scss" scoped>
<style lang="scss">
.yfudmmck {
display: flex;
flex-direction: column;

View File

@ -53,7 +53,7 @@ const isThumbnailAvailable = computed(() => {
});
</script>
<style lang="scss" scoped>
<style lang="scss">
.zdjebgpv {
position: relative;
display: flex;

View File

@ -32,5 +32,5 @@ const emit = defineEmits<{
const shown = ref(!!props.initialShown);
</script>
<style lang="scss" scoped>
<style lang="scss">
</style>

View File

@ -354,7 +354,7 @@ defineExpose({
});
</script>
<style lang="scss" scoped>
<style lang="scss">
.omfetrab {
$pad: 8px;

View File

@ -62,7 +62,7 @@ function opening() {
}
</script>
<style lang="scss" scoped>
<style lang="scss">
.ryghynhb {
&.drawer {
border-radius: 24px;

View File

@ -1,5 +1,6 @@
<template>
<MkWindow ref="window"
<MkWindow
ref="window"
:initial-width="null"
:initial-height="null"
:can-resize="false"
@ -34,7 +35,7 @@ function chosen(emoji: any) {
}
</script>
<style lang="scss" scoped>
<style lang="scss">
.omfetrab {
$pad: 8px;
--eachSize: 40px;

View File

@ -14,7 +14,7 @@ os.api('meta', { detail: true }).then(gotMeta => {
});
</script>
<style lang="scss" scoped>
<style lang="scss">
.xfbouadm {
background-position: center;
background-size: cover;

View File

@ -51,7 +51,9 @@ const props = defineProps<{
0% { opacity: 1; }
50% { opacity: 0; }
}
</style>
<style lang="scss">
.urempief {
margin-top: var(--margin);

View File

@ -107,7 +107,9 @@ export default defineComponent({
.folder-toggle-leave-to {
opacity: 0;
}
</style>
<style lang="scss">
.ssazuxis {
position: relative;
@ -156,4 +158,14 @@ export default defineComponent({
}
}
}
@container (max-width: 500px) {
.ssazuxis {
> header {
> .title {
padding: 8px 10px 8px 0;
}
}
}
}
</style>

View File

@ -109,7 +109,7 @@ onBeforeUnmount(() => {
});
</script>
<style lang="scss" scoped>
<style lang="scss">
.kpoogebi {
position: relative;
display: inline-block;

View File

@ -1,5 +1,6 @@
<template>
<XModalWindow ref="dialog"
<XModalWindow
ref="dialog"
:width="370"
:height="400"
@close="dialog.close()"
@ -62,7 +63,7 @@ async function onSubmit() {
}
</script>
<style lang="scss" scoped>
<style lang="scss">
.bafeceda {
> .main {
padding: 24px;

View File

@ -120,7 +120,7 @@ export default defineComponent({
});
</script>
<style lang="scss" scoped>
<style lang="scss">
.xkpnjxcv {
}

View File

@ -25,7 +25,7 @@ const props = defineProps<{
}>();
</script>
<style lang="scss" scoped>
<style lang="scss">
.ttasepnz {
display: block;
position: relative;

View File

@ -19,7 +19,7 @@ const search = () => {
};
</script>
<style lang="scss" scoped>
<style lang="scss">
.mk-google {
display: flex;
margin: 8px 0;

View File

@ -31,7 +31,7 @@ const emit = defineEmits<{
const modal = $ref<InstanceType<typeof MkModal>>();
</script>
<style lang="scss" scoped>
<style lang="scss">
.xubzgfga {
display: flex;
flex-direction: column;

View File

@ -45,7 +45,7 @@ onMounted(() => {
});
</script>
<style lang="scss" scoped>
<style lang="scss">
.xubzgfgb {
position: relative;
width: 100%;

View File

@ -14,7 +14,7 @@ const props = defineProps<{
}>();
</script>
<style lang="scss" scoped>
<style lang="scss">
.fpezltsf {
padding: 12px 14px;
font-size: 90%;

View File

@ -30,7 +30,7 @@ const copy_ = () => {
};
</script>
<style lang="scss" scoped>
<style lang="scss">
.alqyeyti {
> .key {
font-size: 0.85em;

View File

@ -62,7 +62,7 @@ function close() {
}
</script>
<style lang="scss" scoped>
<style lang="scss">
.szkkfdyq {
max-height: 100%;
width: min(460px, 100vw);

View File

@ -35,7 +35,7 @@ useTooltip($$(el), (showing) => {
});
</script>
<style lang="scss" scoped>
<style lang="scss">
.xlcxczvw {
word-break: break-all;

View File

@ -50,7 +50,7 @@ onMounted(() => {
});
</script>
<style lang="scss" scoped>
<style lang="scss">
.mk-media-banner {
width: 100%;
border-radius: 4px;

View File

@ -49,7 +49,7 @@ watch(() => props.image, () => {
});
</script>
<style lang="scss" scoped>
<style lang="scss">
.qjewsnkg {
position: relative;

View File

@ -101,7 +101,7 @@ const previewable = (file: misskey.entities.DriveFile): boolean => {
};
</script>
<style lang="scss" scoped>
<style lang="scss">
.hoawjimk {
> .gird-container {
position: relative;

View File

@ -35,7 +35,7 @@ const props = defineProps<{
const hide = ref((defaultStore.state.nsfw === 'force') ? true : props.video.isSensitive && (defaultStore.state.nsfw !== 'ignore'));
</script>
<style lang="scss" scoped>
<style lang="scss">
.kkjnbbplepmiyuadieoenjgutgcmtsvu {
position: relative;

View File

@ -39,7 +39,7 @@ bg.setAlpha(0.1);
const bgCss = bg.toRgbString();
</script>
<style lang="scss" scoped>
<style lang="scss">
.akbvjaqn {
display: inline-block;
padding: 4px 8px 4px 4px;

View File

@ -58,7 +58,7 @@ defineExpose({
});
</script>
<style lang="scss" scoped>
<style lang="scss">
.sfhdhdhr {
position: absolute;
}

View File

@ -186,7 +186,7 @@ onBeforeUnmount(() => {
});
</script>
<style lang="scss" scoped>
<style lang="scss">
.rrevdjwt {
padding: 8px 0;
box-sizing: border-box;

View File

@ -328,7 +328,9 @@ defineExpose({
transform: translateY(100%);
}
}
</style>
<style lang="scss">
.qzhlnise {
> .bg {
&.transparent {

View File

@ -115,7 +115,7 @@ function onContextmenu(ev: MouseEvent) {
}
</script>
<style lang="scss" scoped>
<style lang="scss">
.hrmcaedk {
overflow: hidden;
display: flex;

View File

@ -83,7 +83,7 @@ defineExpose({
});
</script>
<style lang="scss" scoped>
<style lang="scss">
.ebkgoccj {
overflow: hidden;
display: flex;

View File

@ -90,7 +90,7 @@
</div>
</article>
</div>
<div v-else class="muted" @click="muted = false">
<div v-else class="tkcbzcuz-muted" @click="muted = false">
<I18n :src="i18n.ts.userSaysSomething" tag="small">
<template #name>
<MkA v-user-preview="appearNote.userId" class="name" :to="userPage(appearNote.user)">
@ -292,7 +292,7 @@ function readPromo() {
}
</script>
<style lang="scss" scoped>
<style lang="scss">
.tkcbzcuz {
position: relative;
transition: box-shadow 0.1s ease;
@ -650,7 +650,7 @@ function readPromo() {
}
}
.muted {
.tkcbzcuz-muted {
padding: 8px;
text-align: center;
opacity: 0.7;

View File

@ -101,7 +101,7 @@
</article>
<MkNoteSub v-for="note in replies" :key="note.id" :note="note" class="reply" :detail="true"/>
</div>
<div v-else class="_panel muted" @click="muted = false">
<div v-else class="_panel lxwezrsl-muted" @click="muted = false">
<I18n :src="i18n.ts.userSaysSomething" tag="small">
<template #name>
<MkA v-user-preview="appearNote.userId" class="name" :to="userPage(appearNote.user)">
@ -295,7 +295,7 @@ if (appearNote.replyId) {
}
</script>
<style lang="scss" scoped>
<style lang="scss">
.lxwezrsl {
position: relative;
transition: box-shadow 0.1s ease;
@ -669,7 +669,7 @@ if (appearNote.replyId) {
}
}
.muted {
.lxwezrsl-muted {
padding: 8px;
text-align: center;
opacity: 0.7;

View File

@ -27,7 +27,7 @@ defineProps<{
}>();
</script>
<style lang="scss" scoped>
<style lang="scss">
.kkwtjztg {
display: flex;
align-items: baseline;

View File

@ -22,7 +22,7 @@ const props = defineProps<{
}>();
</script>
<style lang="scss" scoped>
<style lang="scss">
.fefdfafb {
display: flex;
margin: 0;

View File

@ -31,7 +31,7 @@ const props = defineProps<{
const showContent = $ref(false);
</script>
<style lang="scss" scoped>
<style lang="scss">
.yohlumlk {
display: flex;
margin: 0;

View File

@ -57,7 +57,7 @@ if (props.detail) {
}
</script>
<style lang="scss" scoped>
<style lang="scss">
.wrpstxzv {
padding: 16px 32px;
font-size: 0.9em;

View File

@ -36,7 +36,7 @@ defineExpose({
});
</script>
<style lang="scss" scoped>
<style lang="scss">
.giivymft {
&.noGap {
> .notes {

View File

@ -160,7 +160,7 @@ useTooltip(reactionRef, (showing) => {
});
</script>
<style lang="scss" scoped>
<style lang="scss">
.qglefbjs {
position: relative;
box-sizing: border-box;

View File

@ -37,7 +37,9 @@ onMounted(() => {
opacity: 0;
transform: translateX(-250px);
}
</style>
<style lang="scss">
.mk-notification-toast {
position: fixed;
left: 0;

View File

@ -97,7 +97,7 @@ onUnmounted(() => {
});
</script>
<style lang="scss" scoped>
<style lang="scss">
.elsfgstc {
background: var(--panel);
}

View File

@ -30,7 +30,7 @@ export default defineComponent({
});
</script>
<style lang="scss" scoped>
<style lang="scss">
.ceaaebcd {
&.isPlus {
color: var(--success);

View File

@ -78,7 +78,7 @@ export default defineComponent({
});
</script>
<style lang="scss" scoped>
<style lang="scss">
.igpposuu {
display: inline;

View File

@ -13,7 +13,7 @@ const props = defineProps<{
}>();
</script>
<style lang="scss" scoped>
<style lang="scss">
.zhyxdalp {
}

View File

@ -32,7 +32,7 @@ export default defineComponent({
});
</script>
<style lang="scss" scoped>
<style lang="scss">
.vhpxefrj {
display: block;

View File

@ -132,7 +132,7 @@ defineExpose({
});
</script>
<style lang="scss" scoped>
<style lang="scss">
.yrolvcoq {
min-height: 100%;
background: var(--bg);

View File

@ -307,7 +307,9 @@ defineExpose({
.fade-leave-to {
opacity: 0;
}
</style>
<style lang="scss">
.cxiknjgy {
> .button {
margin-left: auto;

View File

@ -86,7 +86,7 @@ const vote = async (id) => {
};
</script>
<style lang="scss" scoped>
<style lang="scss">
.tivcixzd {
> ul {
display: block;

View File

@ -142,7 +142,7 @@ watch([choices, multiple, expiration, atDate, atTime, after, unit], () => emit('
});
</script>
<style lang="scss" scoped>
<style lang="scss">
.zmdxowus {
padding: 8px 16px;

View File

@ -25,7 +25,7 @@ const emit = defineEmits<{
let modal = $ref<InstanceType<typeof MkModal>>();
</script>
<style lang="scss" scoped>
<style lang="scss">
.sfhdhdhq {
&.drawer {
border-radius: 24px;

View File

@ -715,7 +715,7 @@ onMounted(() => {
});
</script>
<style lang="scss" scoped>
<style lang="scss">
.gafaadew {
position: relative;

View File

@ -109,7 +109,7 @@ function showFileMenu(file, ev: MouseEvent) {
}
</script>
<style lang="scss" scoped>
<style lang="scss">
.skeikyzd {
padding: 8px 16px;
position: relative;

View File

@ -24,7 +24,7 @@ const emit = defineEmits<{
}>();
</script>
<style lang="scss" scoped>
<style lang="scss">
.beeadbfb {
text-align: center;

View File

@ -44,7 +44,7 @@ function getReactionName(reaction: string): string {
}
</script>
<style lang="scss" scoped>
<style lang="scss">
.bqxuuuey {
display: flex;

View File

@ -90,7 +90,7 @@ useTooltip(buttonRef, async (showing) => {
}, 100);
</script>
<style lang="scss" scoped>
<style lang="scss">
.hkzvhatu {
display: inline-block;
height: 32px;

View File

@ -19,7 +19,7 @@ const initialReactions = new Set(Object.keys(props.note.reactions));
const isMe = computed(() => $i && $i.id === props.note.userId);
</script>
<style lang="scss" scoped>
<style lang="scss">
.tdflqwzn {
margin: 4px -2px 0 -2px;

View File

@ -10,7 +10,7 @@ defineProps<{
}>();
</script>
<style lang="scss" scoped>
<style lang="scss">
.jmgmzlwq {
font-size: 0.8em;
padding: 16px;

View File

@ -74,7 +74,7 @@ const renote = (viaKeyboard = false) => {
};
</script>
<style lang="scss" scoped>
<style lang="scss">
.eddddedb {
display: inline-block;
height: 32px;

View File

@ -100,7 +100,7 @@ onMounted(() => {
});
</script>
<style lang="scss" scoped>
<style lang="scss">
.vswabwbm {
pointer-events: none;
position: fixed;

View File

@ -242,7 +242,7 @@ function resetPassword() {
}
</script>
<style lang="scss" scoped>
<style lang="scss">
.eppvobhk {
> .auth {
> .avatar {

View File

@ -237,7 +237,7 @@ function onSubmit(): void {
}
</script>
<style lang="scss" scoped>
<style lang="scss">
.qlvuhzng {
.captcha {
margin: 16px 0;

View File

@ -111,7 +111,7 @@ onUnmounted(() => {
});
</script>
<style lang="scss" scoped>
<style lang="scss">
.mk-sparkle {
position: relative;
display: inline-block;

View File

@ -39,7 +39,7 @@ const collapsed = $ref(
));
</script>
<style lang="scss" scoped>
<style lang="scss">
.wrmlmaau {
overflow-wrap: break-word;

View File

@ -41,7 +41,7 @@ export default defineComponent({
});
</script>
<style lang="scss" scoped>
<style lang="scss">
.rrevdjwu {
> .group {
& + .group {

View File

@ -70,7 +70,7 @@ defineExpose({
});
</script>
<style lang="scss" scoped>
<style lang="scss">
.meijqfqm {
position: relative;
overflow: clip;

View File

@ -40,7 +40,9 @@ onMounted(() => {
opacity: 0;
transform: translateY(-100%);
}
</style>
<style lang="scss">
.mk-toast {
> .body {
position: fixed;

View File

@ -86,7 +86,9 @@ onUnmounted(() => {
opacity: 0;
transform: scale(0.75);
}
</style>
<style lang="scss">
.buebdbiu {
position: absolute;
font-size: 0.8em;

View File

@ -25,7 +25,7 @@ const whatIsNew = () => {
};
</script>
<style lang="scss" scoped>
<style lang="scss">
.ewlycnyt {
position: relative;
padding: 32px;

View File

@ -1,5 +1,5 @@
<template>
<div v-if="playerEnabled" class="player" :style="`padding: ${(player.height || 0) / (player.width || 1) * 100}% 0 0`">
<div v-if="playerEnabled" class="mk-url-preview-player" :style="`padding: ${(player.height || 0) / (player.width || 1) * 100}% 0 0`">
<button class="disablePlayer" :title="i18n.ts.disablePlayer" @click="playerEnabled = false"><i class="ti ti-x"></i></button>
<iframe :src="player.url + (player.url.match(/\?/) ? '&autoplay=1&auto_play=1' : '?autoplay=1&auto_play=1')" :width="player.width || '100%'" :heigth="player.height || 250" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen/>
</div>
@ -121,8 +121,8 @@ onUnmounted(() => {
});
</script>
<style lang="scss" scoped>
.player {
<style lang="scss">
.mk-url-preview-player {
position: relative;
width: 100%;

View File

@ -35,7 +35,7 @@ onMounted(() => {
});
</script>
<style lang="scss" scoped>
<style lang="scss">
.fgmtyycl {
position: absolute;
width: 500px;

View File

@ -39,7 +39,7 @@ defineProps<{
}>();
</script>
<style lang="scss" scoped>
<style lang="scss">
.vjnjpkug {
position: relative;

View File

@ -30,7 +30,7 @@ const props = defineProps<{
const pagingComponent = ref<InstanceType<typeof MkPagination>>();
</script>
<style lang="scss" scoped>
<style lang="scss">
.efvhhmdq {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));

View File

@ -21,7 +21,7 @@ const text = $computed(() => {
});
</script>
<style lang="scss" scoped>
<style lang="scss">
.fzgwjkgc {
box-shadow: 0 0 0 3px var(--panel);
border-radius: 120%; // Blink100%

View File

@ -89,7 +89,9 @@ onMounted(() => {
opacity: 0;
transform: scale(0.9);
}
</style>
<style lang="scss">
.fxxzrfni {
position: absolute;
width: 300px;

View File

@ -115,7 +115,7 @@ onMounted(() => {
});
</script>
<style lang="scss" scoped>
<style lang="scss">
.tbhwbxda {
> .form {
padding: 0 var(--root-margin);

View File

@ -26,7 +26,7 @@ const emit = defineEmits<{
}>();
</script>
<style lang="scss" scoped>
<style lang="scss">
.beaffaef {
font-size: 0.9em;
text-align: left;

View File

@ -79,7 +79,7 @@ function choose(visibility: typeof misskey.noteVisibilities[number]): void {
}
</script>
<style lang="scss" scoped>
<style lang="scss">
.gqyayizv {
width: 240px;
padding: 8px 0;

View File

@ -35,7 +35,7 @@ watch(() => props.showing, () => {
});
</script>
<style lang="scss" scoped>
<style lang="scss">
.iuyakobc {
position: relative;
padding: 32px;

View File

@ -416,7 +416,9 @@ defineExpose({
opacity: 0;
transform: scale(0.9);
}
</style>
<style lang="scss">
.ebkgocck {
position: fixed;
top: 0;

View File

@ -50,7 +50,7 @@ const toggle = () => {
};
</script>
<style lang="scss" scoped>
<style lang="scss">
.ziffeoms {
position: relative;
display: flex;

View File

@ -37,7 +37,7 @@ const toggle = () => {
};
</script>
<style lang="scss" scoped>
<style lang="scss">
.dwzlatin {
display: block;

View File

@ -149,7 +149,7 @@ onMounted(() => {
});
</script>
<style lang="scss" scoped>
<style lang="scss">
.matxzzsk {
> .label {
font-size: 0.85em;

View File

@ -31,7 +31,7 @@ const props = defineProps<{
}>();
</script>
<style lang="scss" scoped>
<style lang="scss">
.ffcbddfc {
display: block;

Some files were not shown because too many files have changed in this diff Show More