Skip to content

Commit

Permalink
dev
Browse files Browse the repository at this point in the history
  • Loading branch information
skeeks-semenov committed Oct 7, 2019
1 parent 1439ddf commit 7e047e1
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 5 deletions.
19 changes: 19 additions & 0 deletions src/admin/assets/src/css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -521,4 +521,23 @@ iframe {
{
background-color: #e62154;
border-color: #e62154;
}


.sx-btn-backend-header a:hover{
color: white;
}
.sx-header-user-profile [data-dropdown-target] {
color: #8294b9;
/* opacity: 0.5; */
}
.sx-header-user-profile a .sx-avatar {
opacity: 0.8;
}
.sx-header-user-profile a:hover .sx-avatar {
opacity: 1;
}

.u-header__section--admin-dark [aria-labelledby] a:hover {
color: white;
}
10 changes: 5 additions & 5 deletions src/admin/views/layouts/_header.php
Original file line number Diff line number Diff line change
Expand Up @@ -236,12 +236,12 @@

<!-- Top User -->
<div class="col-auto d-flex g-pt-5 g-pt-0--sm g-pl-10 g-pl-20--sm">
<div class="g-pos-rel g-px-10--lg">
<div class="g-pos-rel g-px-10--lg sx-header-user-profile">
<a id="profileMenuInvoker" class="d-block" href="#!" aria-controls="profileMenu" aria-haspopup="true" aria-expanded="false" data-dropdown-event="click" data-dropdown-target="#profileMenu" data-dropdown-type="css-animation" data-dropdown-duration="300"
data-dropdown-animation-in="fadeIn" data-dropdown-animation-out="fadeOut">
<span class="g-pos-rel">
<span class="u-badge-v2--xs u-badge--top-right g-hidden-sm-up g-bg-secondary g-mr-5"></span>
<img class="g-width-30 g-width-40--md g-height-30 g-height-40--md rounded-circle g-mr-10--sm" src="<?= \Yii::$app->user->identity->avatarSrc ? \Yii::$app->user->identity->avatarSrc : \skeeks\cms\helpers\Image::getCapSrc(); ?>" alt="Image description">
<img class="g-width-30 g-width-40--md g-height-30 g-height-40--md rounded-circle g-mr-10--sm sx-avatar" src="<?= \Yii::$app->user->identity->avatarSrc ? \Yii::$app->user->identity->avatarSrc : \skeeks\cms\helpers\Image::getCapSrc(); ?>" alt="Image description">
</span>
<span class="g-pos-rel g-top-2">
<span class="g-hidden-sm-down"><?= \Yii::$app->user->identity->shortDisplayName; ?></span>
Expand All @@ -253,7 +253,7 @@
<ul id="profileMenu" class="g-pos-abs g-left-0 g-width-100x--lg g-nowrap g-font-size-14 g-py-20 g-mt-17 rounded" aria-labelledby="profileMenuInvoker">

<li class="g-mb-10">
<a class="media g-color-primary--hover g-py-5 g-px-20" href="<?= \yii\helpers\Url::to(['/cms/upa-personal/update']); ?>">
<a class="media g-py-5 g-px-20" href="<?= \yii\helpers\Url::to(['/cms/upa-personal/update']); ?>">
<span class="d-flex align-self-center g-mr-12">
<i class="hs-admin-user"></i>
</span>
Expand All @@ -262,7 +262,7 @@
</li>

<li class="g-mb-10">
<a class="media g-color-primary--hover g-py-5 g-px-20" href="<?= \yii\helpers\Url::to(['/cms/upa-personal/change-password']); ?>">
<a class="media g-py-5 g-px-20" href="<?= \yii\helpers\Url::to(['/cms/upa-personal/change-password']); ?>">
<span class="d-flex align-self-center g-mr-12">
<i class="hs-admin-rocket"></i>
</span>
Expand All @@ -271,7 +271,7 @@
</li>

<li class="mb-0">
<a class="media g-color-primary--hover g-py-5 g-px-20" href="<?= \skeeks\cms\helpers\UrlHelper::construct('cms/auth/logout')->setCurrentRef(); ?>" data-method="post">
<a class="media g-py-5 g-px-20" href="<?= \skeeks\cms\helpers\UrlHelper::construct('cms/auth/logout')->setCurrentRef(); ?>" data-method="post">
<span class="d-flex align-self-center g-mr-12">
<i class="hs-admin-shift-right"></i>
</span>
Expand Down

0 comments on commit 7e047e1

Please sign in to comment.