From 1c34478624e664918c8848ab1573cb44ada7da66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=83=86=E3=82=AF=E3=83=8B=E3=82=AB=E3=83=AB=E8=AB=8F?= =?UTF-8?q?=E8=A8=AA=E5=AD=90?= Date: Sun, 19 Dec 2021 23:33:48 +0900 Subject: [PATCH] =?UTF-8?q?=E3=82=A8=E3=83=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/helpers.php | 8 +++++ public/css/peertube/myaccount.css | 30 +++++++------------ .../peertube/a/channels/avatar.blade.php | 2 +- .../component/peertube/a/info.blade.php | 4 +-- .../component/peertube/a/links.blade.php | 4 +-- .../component/peertube/c/head/info.blade.php | 4 +-- .../component/peertube/c/head/owner.blade.php | 12 ++++---- .../component/peertube/c/links.blade.php | 4 +-- .../component/peertube/c/playlists.blade.php | 2 +- .../peertube/common/videominature.blade.php | 2 +- .../peertube/menu/top/loggedin.blade.php | 6 ++-- .../notifications/account.blade.php | 2 +- .../notifications/actorfollow.blade.php | 8 ++--- .../notifications/comment.blade.php | 8 ++--- .../my-account/notifications/video.blade.php | 2 +- .../peertube/videos/channels.blade.php | 4 +-- .../peertube/w/info/channel.blade.php | 14 ++++----- .../peertube/w/info/comments.blade.php | 6 ++-- .../peertube/w/videorecommend.blade.php | 4 +-- 19 files changed, 63 insertions(+), 63 deletions(-) diff --git a/app/helpers.php b/app/helpers.php index a54eb36..78e4e0a 100644 --- a/app/helpers.php +++ b/app/helpers.php @@ -41,6 +41,14 @@ function checkLegit ($t) { return $check->id; } +function ptFullHandle ($v) { + return $v->name.($v->host != env('PEER_URI') ? '@'.$v->host : ''); +} + +function ptAvatar ($avatar) { + return isset($avatar) && !is_null($avatar) ? env('PEER_URI').$avatar->path : '/img/noicon.jpg'; +} + function userDetail ($id, $kero=null) { if ($kero || $id) { $log_username = null; diff --git a/public/css/peertube/myaccount.css b/public/css/peertube/myaccount.css index 3a7b4ae..887dbe9 100644 --- a/public/css/peertube/myaccount.css +++ b/public/css/peertube/myaccount.css @@ -200,6 +200,17 @@ color: var(--whiteColor); } +svg { + overflow: hidden; + vertical-align: middle; +} + +.notification my-global-icon { + margin-inline-start: 3px; + margin-inline-end: 11px; + width: 24px; +} + .header-filter a my-global-icon .feather, .header-filter a my-global-icon .material, .header-filter a my-global-icon .misc { color: var(--greyForegroundColor); } @@ -457,11 +468,6 @@ my-user-notifications { background-color: var(--menuAndHeaderBackgroundColor); } -#custom-css .notification { - background-color: var(--mainBackgroundColor); - color: var(--mainForegroundColor); -} - .notification.unread { background-color: #0000000d; } @@ -503,18 +509,4 @@ img { color: var(--greyForegroundColor); min-width: 70px; text-align: end; -} - -#custom-css .notification { - background-color: var(--mainBackgroundColor); - color: var(--mainForegroundColor); -} - -.notification { - display: flex; - align-items: center; - font-size: inherit; - padding: 15px 5px 15px 10px; - border-bottom: 1px solid rgba(0,0,0,.1); - word-break: break-word; } \ No newline at end of file diff --git a/resources/views/theme/techsuwa/component/peertube/a/channels/avatar.blade.php b/resources/views/theme/techsuwa/component/peertube/a/channels/avatar.blade.php index c9a41bd..8ec0488 100644 --- a/resources/views/theme/techsuwa/component/peertube/a/channels/avatar.blade.php +++ b/resources/views/theme/techsuwa/component/peertube/a/channels/avatar.blade.php @@ -1,7 +1,7 @@
- チャンネルのアバター + チャンネルのアバター

diff --git a/resources/views/theme/techsuwa/component/peertube/a/info.blade.php b/resources/views/theme/techsuwa/component/peertube/a/info.blade.php index 44da229..f943b57 100644 --- a/resources/views/theme/techsuwa/component/peertube/a/info.blade.php +++ b/resources/views/theme/techsuwa/component/peertube/a/info.blade.php @@ -1,7 +1,7 @@