UX: Незначительные изменения

См. https://libarea.ru/post/1047/net-vozmozhnosti-vybora-eskiza-pri-sozdanii-temy
This commit is contained in:
Evg 2022-10-03 07:49:26 +03:00
parent 3fd8f9fb09
commit b00d1c2a3f
5 changed files with 13 additions and 15 deletions

File diff suppressed because one or more lines are too long

View file

@ -81,16 +81,14 @@
</div>
<?php endif; ?>
<?php if ($post['post_url_domain']) : ?>
<h4 class="uppercase-box"><?= __('app.source'); ?></h4>
<div class="italic p5 mb15 text-sm bg-lightgray table gray">
<div>
<div class="italic mb15 text-sm table gray">
<?= __('app.source'); ?>:
<svg class="icons">
<use xlink:href="/assets/svg/icons.svg#link"></use>
</svg>
<a class="gray" href="<?= url('domain', ['domain' => $post['post_url_domain']]); ?>">
<?= $post['post_url_domain']; ?>
</a>
</div>
</div>
<?php endif; ?>
</div>

View file

@ -144,6 +144,7 @@ img {
.bg-beige { background-color: #fff4e8; }
.black-hover:hover { color: var(--black); }
.active { color: var(--red); }
/*
* Other

View file

@ -94,6 +94,7 @@
.breadcrumbs li:not(:last-child):after { content: " / "; }
/* Navigation */
ul.nav {
list-style: none;
align-items: center;
@ -120,3 +121,4 @@ ul.nav > li.active a:hover { color: #432f2f; }
/* If it's tabs */
.content-tabs { display: none; }
.content-tabs.active { display: block; }
.content-tabs.active { color: #432f2f; }

View file

@ -70,16 +70,13 @@
</div>
<?php endif; ?>
<?php if ($post['post_url_domain']) : ?>
<h4 class="uppercase-box"><?= __('app.source'); ?></h4>
<div class="italic p5 mb15 text-sm bg-lightgray table gray">
<div>
<svg class="icons">
<use xlink:href="/assets/svg/icons.svg#link"></use>
</svg>
<a class="gray" href="<?= url('domain', ['domain' => $post['post_url_domain']]); ?>">
<?= $post['post_url_domain']; ?>
</a>
</div>
<?= __('app.source'); ?>:
<svg class="icons">
<use xlink:href="/assets/svg/icons.svg#link"></use>
</svg>
<a class="gray" href="<?= url('domain', ['domain' => $post['post_url_domain']]); ?>">
<?= $post['post_url_domain']; ?>
</a>
</div>
<?php endif; ?>
<?= insert('/_block/related-posts', ['related_posts' => $data['related_posts']]); ?>