mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-30 12:13:48 +02:00
use tailwind token for border radius instead of hardcoding values
This commit is contained in:
@@ -1708,7 +1708,7 @@
|
||||
}
|
||||
|
||||
.group-item {
|
||||
border-radius: 8px;
|
||||
border-radius: var(--radius-lg);
|
||||
border: 1px solid var(--border);
|
||||
padding: 8px;
|
||||
cursor: pointer;
|
||||
@@ -1913,7 +1913,7 @@
|
||||
align-items: center;
|
||||
box-sizing: border-box;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: calc(8px * var(--favorites-card-scale, 1));
|
||||
border-radius: calc(var(--radius-lg) * var(--favorites-card-scale, 1));
|
||||
padding: var(--favorites-card-padding-y, 8px) var(--favorites-card-padding-x, 10px);
|
||||
cursor: pointer;
|
||||
transition: background-color 0.15s ease;
|
||||
@@ -1940,7 +1940,7 @@
|
||||
:deep(.favorites-search-card__avatar) {
|
||||
width: calc(48px * var(--favorites-card-scale, 1));
|
||||
height: calc(48px * var(--favorites-card-scale, 1));
|
||||
border-radius: calc(6px * var(--favorites-card-scale, 1));
|
||||
border-radius: calc(var(--radius-lg) * var(--favorites-card-scale, 1));
|
||||
overflow: hidden;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
@@ -1348,7 +1348,7 @@
|
||||
}
|
||||
|
||||
.group-item {
|
||||
border-radius: 8px;
|
||||
border-radius: var(--radius-lg);
|
||||
border: 1px solid var(--border);
|
||||
padding: 8px;
|
||||
cursor: pointer;
|
||||
@@ -1540,7 +1540,7 @@
|
||||
align-items: center;
|
||||
box-sizing: border-box;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: calc(8px * var(--favorites-card-scale, 1));
|
||||
border-radius: calc(var(--radius-lg) * var(--favorites-card-scale, 1));
|
||||
padding: var(--favorites-card-padding-y, 8px) var(--favorites-card-padding-x, 10px);
|
||||
cursor: pointer;
|
||||
transition: background-color 0.15s ease;
|
||||
@@ -1570,7 +1570,7 @@
|
||||
:deep(.favorites-search-card__avatar) {
|
||||
width: calc(48px * var(--favorites-card-scale, 1));
|
||||
height: calc(48px * var(--favorites-card-scale, 1));
|
||||
border-radius: calc(6px * var(--favorites-card-scale, 1));
|
||||
border-radius: calc(var(--radius-lg) * var(--favorites-card-scale, 1));
|
||||
overflow: hidden;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
@@ -1579,7 +1579,7 @@
|
||||
}
|
||||
|
||||
.group-item {
|
||||
border-radius: 8px;
|
||||
border-radius: var(--radius-lg);
|
||||
border: 1px solid var(--border);
|
||||
padding: 8px;
|
||||
cursor: pointer;
|
||||
@@ -1829,7 +1829,7 @@
|
||||
align-items: center;
|
||||
box-sizing: border-box;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: calc(8px * var(--favorites-card-scale, 1));
|
||||
border-radius: calc(var(--radius-lg) * var(--favorites-card-scale, 1));
|
||||
padding: var(--favorites-card-padding-y, 8px) var(--favorites-card-padding-x, 10px);
|
||||
cursor: pointer;
|
||||
transition: background-color 0.15s ease;
|
||||
@@ -1859,7 +1859,7 @@
|
||||
:deep(.favorites-search-card__avatar) {
|
||||
width: calc(48px * var(--favorites-card-scale, 1));
|
||||
height: calc(48px * var(--favorites-card-scale, 1));
|
||||
border-radius: calc(6px * var(--favorites-card-scale, 1));
|
||||
border-radius: calc(var(--radius-lg) * var(--favorites-card-scale, 1));
|
||||
overflow: hidden;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
@@ -240,7 +240,7 @@
|
||||
position: relative;
|
||||
display: grid;
|
||||
gap: calc(14px * var(--card-scale) * var(--card-spacing));
|
||||
border-radius: 8px;
|
||||
border-radius: var(--radius-lg);
|
||||
transition: background-color 0.15s ease;
|
||||
width: 100%;
|
||||
max-width: var(--friend-card-target-width, 220px);
|
||||
@@ -355,7 +355,7 @@
|
||||
justify-content: center;
|
||||
min-height: calc(40px * var(--card-scale));
|
||||
padding: calc(6px * var(--card-scale)) calc(10px * var(--card-scale));
|
||||
border-radius: calc(10px * var(--card-scale));
|
||||
border-radius: calc(var(--radius-lg) * var(--card-scale));
|
||||
font-size: calc(12px * var(--card-scale));
|
||||
line-height: 1.3;
|
||||
box-sizing: border-box;
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
<img
|
||||
:src="currentInstanceWorld.ref.thumbnailImageUrl"
|
||||
class="cursor-pointer"
|
||||
style="flex: none; width: 160px; height: 120px; border-radius: 4px"
|
||||
style="flex: none; width: 160px; height: 120px; border-radius: var(--radius-md)"
|
||||
@click="showFullscreenImageDialog(currentInstanceWorld.ref.imageUrl)"
|
||||
loading="lazy" />
|
||||
<div style="margin-left: 10px; display: flex; flex-direction: column; min-width: 320px; width: 100%">
|
||||
|
||||
@@ -501,7 +501,7 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 8px 12px;
|
||||
border-radius: 6px;
|
||||
border-radius: var(--radius-lg);
|
||||
margin-bottom: 12px;
|
||||
transition: all 0.2s ease;
|
||||
|
||||
@@ -533,7 +533,7 @@
|
||||
transition: background-color 0.15s ease;
|
||||
position: relative;
|
||||
overflow: visible;
|
||||
border-radius: 8px;
|
||||
border-radius: var(--radius-lg);
|
||||
cursor: pointer;
|
||||
width: 100%;
|
||||
|
||||
@@ -555,7 +555,7 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 12px;
|
||||
border-radius: var(--radius-xl);
|
||||
margin-right: 20px;
|
||||
|
||||
i {
|
||||
|
||||
@@ -258,7 +258,7 @@
|
||||
transition: background-color 0.15s ease;
|
||||
position: relative;
|
||||
overflow: visible;
|
||||
border-radius: 8px;
|
||||
border-radius: var(--radius-lg);
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
@@ -287,7 +287,7 @@
|
||||
cursor: pointer;
|
||||
width: 100%;
|
||||
object-fit: cover;
|
||||
border-radius: 8px 8px 0 0;
|
||||
border-radius: var(--radius-lg) var(--radius-lg) 0 0;
|
||||
}
|
||||
|
||||
.timeline-view .event-card .banner {
|
||||
|
||||
@@ -178,7 +178,7 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 10px;
|
||||
border-radius: var(--radius-lg);
|
||||
font-size: 18px;
|
||||
position: relative;
|
||||
}
|
||||
@@ -189,7 +189,7 @@
|
||||
right: -4px;
|
||||
min-width: 14px;
|
||||
height: 16px;
|
||||
border-radius: 9px;
|
||||
border-radius: var(--radius-lg);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
@@ -500,7 +500,7 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 8px;
|
||||
border-radius: var(--radius-xl);
|
||||
font-size: 18px;
|
||||
position: relative;
|
||||
|
||||
@@ -513,7 +513,7 @@
|
||||
right: 2px;
|
||||
min-width: 16px;
|
||||
height: 16px;
|
||||
border-radius: 8px;
|
||||
border-radius: var(--radius-xl);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
@@ -591,7 +591,7 @@
|
||||
font-weight: bold;
|
||||
padding: 4px 12px 10px 12px;
|
||||
cursor: pointer;
|
||||
border-radius: 4px;
|
||||
border-radius: var(--radius-md);
|
||||
margin: 0 -12px 10px -12px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
Reference in New Issue
Block a user