mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-07 14:56:06 +02:00
use tailwind tokens for border-radius values
This commit is contained in:
@@ -1717,9 +1717,7 @@
|
|||||||
|
|
||||||
.group-item:hover {
|
.group-item:hover {
|
||||||
background-color: var(--accent);
|
background-color: var(--accent);
|
||||||
box-shadow:
|
box-shadow: var(--shadow-sm);
|
||||||
0 4px 6px -1px rgb(0 0 0 / 0.1),
|
|
||||||
0 2px 4px -2px rgb(0 0 0 / 0.1);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.group-item__top {
|
.group-item__top {
|
||||||
@@ -1924,9 +1922,7 @@
|
|||||||
|
|
||||||
:deep(.favorites-search-card:hover) {
|
:deep(.favorites-search-card:hover) {
|
||||||
background-color: var(--accent);
|
background-color: var(--accent);
|
||||||
box-shadow:
|
box-shadow: var(--shadow-sm);
|
||||||
0 4px 6px -1px rgb(0 0 0 / 0.1),
|
|
||||||
0 2px 4px -2px rgb(0 0 0 / 0.1);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
:deep(.favorites-search-card__content) {
|
:deep(.favorites-search-card__content) {
|
||||||
|
|||||||
@@ -1357,9 +1357,7 @@
|
|||||||
|
|
||||||
.group-item:hover {
|
.group-item:hover {
|
||||||
background-color: var(--accent);
|
background-color: var(--accent);
|
||||||
box-shadow:
|
box-shadow: var(--shadow-sm);
|
||||||
0 4px 6px -1px rgb(0 0 0 / 0.1),
|
|
||||||
0 2px 4px -2px rgb(0 0 0 / 0.1);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.group-item__top {
|
.group-item__top {
|
||||||
@@ -1551,9 +1549,7 @@
|
|||||||
|
|
||||||
:deep(.favorites-search-card:hover) {
|
:deep(.favorites-search-card:hover) {
|
||||||
background-color: var(--accent);
|
background-color: var(--accent);
|
||||||
box-shadow:
|
box-shadow: var(--shadow-sm);
|
||||||
0 4px 6px -1px rgb(0 0 0 / 0.1),
|
|
||||||
0 2px 4px -2px rgb(0 0 0 / 0.1);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
:deep(.favorites-search-card.is-selected) {
|
:deep(.favorites-search-card.is-selected) {
|
||||||
|
|||||||
@@ -1588,9 +1588,7 @@
|
|||||||
|
|
||||||
.group-item:hover {
|
.group-item:hover {
|
||||||
background-color: var(--accent);
|
background-color: var(--accent);
|
||||||
box-shadow:
|
box-shadow: var(--shadow-sm);
|
||||||
0 4px 6px -1px rgb(0 0 0 / 0.1),
|
|
||||||
0 2px 4px -2px rgb(0 0 0 / 0.1);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.group-item__top {
|
.group-item__top {
|
||||||
@@ -1840,9 +1838,7 @@
|
|||||||
|
|
||||||
:deep(.favorites-search-card:hover) {
|
:deep(.favorites-search-card:hover) {
|
||||||
background-color: var(--accent);
|
background-color: var(--accent);
|
||||||
box-shadow:
|
box-shadow: var(--shadow-sm);
|
||||||
0 4px 6px -1px rgb(0 0 0 / 0.1),
|
|
||||||
0 2px 4px -2px rgb(0 0 0 / 0.1);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
:deep(.favorites-search-card.is-selected) {
|
:deep(.favorites-search-card.is-selected) {
|
||||||
|
|||||||
@@ -249,9 +249,7 @@
|
|||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: var(--accent);
|
background-color: var(--accent);
|
||||||
box-shadow:
|
box-shadow: var(--shadow-sm);
|
||||||
0 4px 6px -1px rgb(0 0 0 / 0.1),
|
|
||||||
0 2px 4px -2px rgb(0 0 0 / 0.1);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -424,18 +424,30 @@
|
|||||||
isAutoChangeStatusDialogVisible.value = true;
|
isAutoChangeStatusDialogVisible.value = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
function showExportDiscordNamesDialog() {
|
function showExportDiscordNamesDialog() {
|
||||||
isExportDiscordNamesDialogVisible.value = true;
|
isExportDiscordNamesDialogVisible.value = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
function showExportFriendsListDialog() {
|
function showExportFriendsListDialog() {
|
||||||
isExportFriendsListDialogVisible.value = true;
|
isExportFriendsListDialogVisible.value = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
function showExportAvatarsListDialog() {
|
function showExportAvatarsListDialog() {
|
||||||
isExportAvatarsListDialogVisible.value = true;
|
isExportAvatarsListDialogVisible.value = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
function openVrcPhotosFolder() {
|
function openVrcPhotosFolder() {
|
||||||
AppApi.OpenVrcPhotosFolder().then((result) => {
|
AppApi.OpenVrcPhotosFolder().then((result) => {
|
||||||
if (result) {
|
if (result) {
|
||||||
@@ -446,6 +458,9 @@
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
function openVrcScreenshotsFolder() {
|
function openVrcScreenshotsFolder() {
|
||||||
AppApi.OpenVrcScreenshotsFolder().then((result) => {
|
AppApi.OpenVrcScreenshotsFolder().then((result) => {
|
||||||
if (result) {
|
if (result) {
|
||||||
@@ -456,6 +471,9 @@
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
function openVrcxAppDataFolder() {
|
function openVrcxAppDataFolder() {
|
||||||
AppApi.OpenVrcxAppDataFolder().then((result) => {
|
AppApi.OpenVrcxAppDataFolder().then((result) => {
|
||||||
if (result) {
|
if (result) {
|
||||||
@@ -466,6 +484,9 @@
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
function openVrcAppDataFolder() {
|
function openVrcAppDataFolder() {
|
||||||
AppApi.OpenVrcAppDataFolder().then((result) => {
|
AppApi.OpenVrcAppDataFolder().then((result) => {
|
||||||
if (result) {
|
if (result) {
|
||||||
@@ -476,6 +497,9 @@
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
function openCrashVrcCrashDumps() {
|
function openCrashVrcCrashDumps() {
|
||||||
AppApi.OpenCrashVrcCrashDumps().then((result) => {
|
AppApi.OpenCrashVrcCrashDumps().then((result) => {
|
||||||
if (result) {
|
if (result) {
|
||||||
@@ -539,9 +563,7 @@
|
|||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: var(--accent);
|
background-color: var(--accent);
|
||||||
box-shadow:
|
box-shadow: var(--shadow-sm);
|
||||||
0 4px 6px -1px rgb(0 0 0 / 0.1),
|
|
||||||
0 2px 4px -2px rgb(0 0 0 / 0.1);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.tool-content {
|
.tool-content {
|
||||||
|
|||||||
@@ -175,12 +175,20 @@
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @param event
|
||||||
|
*/
|
||||||
async function openCalendarEvent(event) {
|
async function openCalendarEvent(event) {
|
||||||
const content = await getCalendarIcs(event);
|
const content = await getCalendarIcs(event);
|
||||||
if (!content) return;
|
if (!content) return;
|
||||||
await AppApi.OpenCalendarFile(content);
|
await AppApi.OpenCalendarFile(content);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @param event
|
||||||
|
*/
|
||||||
async function getCalendarIcs(event) {
|
async function getCalendarIcs(event) {
|
||||||
const url = `${AppDebug.endpointDomain}/calendar/${event.ownerId}/${event.id}.ics`;
|
const url = `${AppDebug.endpointDomain}/calendar/${event.ownerId}/${event.id}.ics`;
|
||||||
try {
|
try {
|
||||||
@@ -198,6 +206,10 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @param event
|
||||||
|
*/
|
||||||
async function downloadEventIcs(event) {
|
async function downloadEventIcs(event) {
|
||||||
const content = await getCalendarIcs(event);
|
const content = await getCalendarIcs(event);
|
||||||
if (!content) return;
|
if (!content) return;
|
||||||
@@ -211,6 +223,10 @@
|
|||||||
URL.revokeObjectURL(link.href);
|
URL.revokeObjectURL(link.href);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @param event
|
||||||
|
*/
|
||||||
async function toggleEventFollow(event) {
|
async function toggleEventFollow(event) {
|
||||||
const args = await groupRequest.followGroupEvent({
|
const args = await groupRequest.followGroupEvent({
|
||||||
groupId: event.ownerId,
|
groupId: event.ownerId,
|
||||||
@@ -220,6 +236,10 @@
|
|||||||
emit('update-following-calendar-data', args.json);
|
emit('update-following-calendar-data', args.json);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @param event
|
||||||
|
*/
|
||||||
function copyEventLink(event) {
|
function copyEventLink(event) {
|
||||||
const eventLink = `https://vrchat.com/home/group/${event.ownerId}/calendar/${event.id}`;
|
const eventLink = `https://vrchat.com/home/group/${event.ownerId}/calendar/${event.id}`;
|
||||||
navigator.clipboard.writeText(eventLink);
|
navigator.clipboard.writeText(eventLink);
|
||||||
@@ -264,9 +284,7 @@
|
|||||||
|
|
||||||
.event-card:hover {
|
.event-card:hover {
|
||||||
background-color: var(--accent);
|
background-color: var(--accent);
|
||||||
box-shadow:
|
box-shadow: var(--shadow-sm);
|
||||||
0 4px 6px -1px rgb(0 0 0 / 0.1),
|
|
||||||
0 2px 4px -2px rgb(0 0 0 / 0.1);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.event-card.grouped-card {
|
.event-card.grouped-card {
|
||||||
|
|||||||
Reference in New Issue
Block a user