mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-02-21 06:20:59 +08:00
Compare commits
13 Commits
codex/impr
...
feature/av
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
425fc7d2b1 | ||
|
|
2b5f6f2208 | ||
|
|
bda377336d | ||
|
|
77507f7b18 | ||
|
|
a39f2f7c00 | ||
|
|
612881f1b1 | ||
|
|
05c7bc18d7 | ||
|
|
c68c5985f6 | ||
|
|
7d44791011 | ||
|
|
15b992b949 | ||
|
|
4b8229b0a1 | ||
|
|
dc13b2941f | ||
|
|
13c250d392 |
@@ -108,7 +108,6 @@ body {
|
||||
|
||||
.vditor-toolbar--pin {
|
||||
top: calc(var(--header-height) + 1px) !important;
|
||||
z-index: 20;
|
||||
}
|
||||
|
||||
.vditor-panel {
|
||||
@@ -134,26 +133,6 @@ body {
|
||||
animation: spin 1s linear infinite;
|
||||
}
|
||||
|
||||
/* .vditor {
|
||||
--textarea-background-color: transparent;
|
||||
border: none !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
.vditor-reset {
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
.vditor-toolbar {
|
||||
background: transparent !important;
|
||||
border: none !important;
|
||||
box-shadow: none !important;
|
||||
} */
|
||||
|
||||
/* .vditor-toolbar {
|
||||
position: relative !important;
|
||||
} */
|
||||
|
||||
/*************************
|
||||
* Markdown 渲染样式
|
||||
*************************/
|
||||
@@ -333,10 +312,6 @@ body {
|
||||
min-height: 100px;
|
||||
}
|
||||
|
||||
.vditor-toolbar {
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
.about-content h1,
|
||||
.info-content-text h1 {
|
||||
font-size: 20px;
|
||||
@@ -354,8 +329,8 @@ body {
|
||||
margin-bottom: 3px;
|
||||
}
|
||||
|
||||
.vditor-toolbar--pin {
|
||||
top: 0 !important;
|
||||
.vditor-panel {
|
||||
min-width: 330px;
|
||||
}
|
||||
|
||||
.about-content li,
|
||||
@@ -367,11 +342,6 @@ body {
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.vditor-panel {
|
||||
position: relative;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.d2h-file-name {
|
||||
font-size: 14px !important;
|
||||
}
|
||||
|
||||
@@ -97,33 +97,24 @@ function onError() {
|
||||
|
||||
<style scoped>
|
||||
.base-user-avatar {
|
||||
--base-avatar-ring-width: var(--avatar-ring-width, 1.5px);
|
||||
--base-avatar-ring: var(--avatar-ring, linear-gradient(135deg, #6366f1, #ec4899));
|
||||
--base-avatar-surface: var(
|
||||
--avatar-surface,
|
||||
var(--avatar-placeholder-color, rgba(255, 255, 255, 0.88))
|
||||
);
|
||||
--base-avatar-shadow: var(--avatar-shadow, 0 12px 30px -18px rgba(15, 23, 42, 0.55));
|
||||
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
background-color: var(--avatar-placeholder-color, #f0f0f0);
|
||||
/* 先用box-sizing: border-box,保证加border后宽高不变,圆形不变形 */
|
||||
box-sizing: border-box;
|
||||
color: inherit;
|
||||
border-radius: 50%;
|
||||
border: var(--base-avatar-ring-width) solid transparent;
|
||||
background:
|
||||
var(--base-avatar-surface) padding-box,
|
||||
var(--base-avatar-ring) border-box;
|
||||
background-clip: padding-box, border-box;
|
||||
background-origin: border-box;
|
||||
box-shadow: var(--base-avatar-shadow);
|
||||
transition:
|
||||
transform 0.25s ease,
|
||||
box-shadow 0.25s ease,
|
||||
filter 0.25s ease;
|
||||
border: 1.5px solid var(--normal-border-color);
|
||||
transition: all 0.6s ease;
|
||||
}
|
||||
|
||||
.base-user-avatar:hover {
|
||||
box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
|
||||
transform: scale(1.05);
|
||||
}
|
||||
|
||||
.base-user-avatar:active {
|
||||
box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.base-user-avatar.is-rounded {
|
||||
@@ -131,7 +122,7 @@ function onError() {
|
||||
}
|
||||
|
||||
.base-user-avatar:not(.is-rounded) {
|
||||
border-radius: var(--avatar-square-radius, 0);
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.base-user-avatar-img {
|
||||
@@ -139,51 +130,5 @@ function onError() {
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
display: block;
|
||||
border-radius: inherit;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
transition:
|
||||
transform 0.25s ease,
|
||||
filter 0.25s ease;
|
||||
backface-visibility: hidden;
|
||||
}
|
||||
|
||||
.base-user-avatar:hover,
|
||||
.base-user-avatar:focus-visible {
|
||||
transform: translateY(-1px) scale(1.02);
|
||||
box-shadow: 0 18px 35px -20px rgba(15, 23, 42, 0.65);
|
||||
}
|
||||
|
||||
.base-user-avatar:focus-visible {
|
||||
outline: 2px solid rgba(96, 165, 250, 0.6);
|
||||
outline-offset: 3px;
|
||||
}
|
||||
|
||||
.base-user-avatar:active {
|
||||
transform: translateY(0) scale(0.99);
|
||||
}
|
||||
|
||||
.base-user-avatar:hover .base-user-avatar-img,
|
||||
.base-user-avatar:focus-visible .base-user-avatar-img {
|
||||
transform: scale(1.03);
|
||||
filter: saturate(1.08);
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.base-user-avatar,
|
||||
.base-user-avatar-img {
|
||||
transition: none;
|
||||
}
|
||||
|
||||
.base-user-avatar:hover,
|
||||
.base-user-avatar:focus-visible,
|
||||
.base-user-avatar:active {
|
||||
transform: none;
|
||||
}
|
||||
|
||||
.base-user-avatar:hover .base-user-avatar-img,
|
||||
.base-user-avatar:focus-visible .base-user-avatar-img {
|
||||
transform: none;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -159,12 +159,6 @@ export default {
|
||||
border: 1px solid var(--border-color);
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.vditor {
|
||||
min-height: 50px;
|
||||
max-height: 150px;
|
||||
}
|
||||
|
||||
.message-bottom-container {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
|
||||
@@ -85,7 +85,7 @@
|
||||
</div>
|
||||
|
||||
<div class="article-member-avatars-container">
|
||||
<div v-for="member in article.members">
|
||||
<div v-for="member in article.members" class="article-member-avatar-item">
|
||||
<BaseUserAvatar
|
||||
class="article-member-avatar-item-img"
|
||||
:src="member.avatar"
|
||||
|
||||
Reference in New Issue
Block a user