Skip to content

Commit

Permalink
enhance(frontend): WidgetInstanceInfo.vue と WidgetProfile.vue のスタイル調整 (
Browse files Browse the repository at this point in the history
…#14028)

* 🎨 WidgetInstanceInfo.vue and WidgetProfile.vue

* 🎨 WidgetInstanceInfo.vue and WidgetProfile.vue

* 🎨 WidgetInstanceInfo.vue and WidgetProfile.vue

* 🎨 WidgetInstanceInfo.vue and WidgetProfile.vue

* 🎨 home.vue
  • Loading branch information
ぬるきゃっと authored Jun 22, 2024
1 parent 3254f7c commit ef205fb
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
5 changes: 3 additions & 2 deletions packages/frontend/src/pages/user/home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -392,11 +392,12 @@ onUnmounted(() => {

> .name {
display: block;
margin: 0;
margin: -10px;
padding: 10px;
line-height: 32px;
font-weight: bold;
font-size: 1.8em;
text-shadow: 0 0 8px #000;
filter: drop-shadow(0 0 4px #000);
}

> .bottom {
Expand Down
7 changes: 5 additions & 2 deletions packages/frontend/src/widgets/WidgetInstanceInfo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -81,16 +81,19 @@ defineExpose<WidgetComponentExpose>({
.body {
text-overflow: ellipsis;
overflow: clip;
margin-left: -10px;
padding: 10px;
}

.name {
color: #fff;
filter: drop-shadow(0 0 4px #000);
filter: drop-shadow(0 0 4px #000) drop-shadow(0 0 0.1px rgba(0, 0, 0, 0.5));
font-weight: bold;
}

.host {
color: #fff;
filter: drop-shadow(0 0 4px #000);
filter: drop-shadow(0 0 4px #000) drop-shadow(0 0 0.1px rgba(0, 0, 0, 0.5));

}
</style>
7 changes: 5 additions & 2 deletions packages/frontend/src/widgets/WidgetProfile.vue
Original file line number Diff line number Diff line change
Expand Up @@ -82,16 +82,19 @@ defineExpose<WidgetComponentExpose>({
.body {
text-overflow: ellipsis;
overflow: clip;
margin-left: -10px;
padding: 10px;
}

.name {
color: #fff;
filter: drop-shadow(0 0 4px #000);
filter: drop-shadow(0 0 4px #000) drop-shadow(0 0 0.1px rgba(0, 0, 0, 0.5));
font-weight: bold;
}

.username {
color: #fff;
filter: drop-shadow(0 0 4px #000);
filter: drop-shadow(0 0 4px #000) drop-shadow(0 0 0.1px rgba(0, 0, 0, 0.5));
font-weight: normal;
}
</style>

0 comments on commit ef205fb

Please sign in to comment.