From b12d988206b44e770b8a3261e06653efadf0fee8 Mon Sep 17 00:00:00 2001 From: Muammer Top Date: Thu, 1 Oct 2020 10:51:26 +0300 Subject: [PATCH] =?UTF-8?q?user=20profile=20design=20pyro'ya=20aktar=C4=B1?= =?UTF-8?q?lmas=C4=B1=20edited?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/assets/css/profile.scss | 85 +++++++++++-------- .../resources/views/profile/detail.twig | 20 ++--- 2 files changed, 59 insertions(+), 46 deletions(-) diff --git a/addons/default/visiosoft/profile-module/resources/assets/css/profile.scss b/addons/default/visiosoft/profile-module/resources/assets/css/profile.scss index 909e740a6..ea9072a56 100644 --- a/addons/default/visiosoft/profile-module/resources/assets/css/profile.scss +++ b/addons/default/visiosoft/profile-module/resources/assets/css/profile.scss @@ -3,6 +3,7 @@ border-bottom: 1px solid #dee2e6; padding-bottom: 10px; } + .nav-link { border: none; border-radius: 0; @@ -10,61 +11,90 @@ color: #BCBDC3; padding: 0; margin-bottom: 5px; + margin-top: 15px; + outline: none; + + &.active { + font-size: 17px; + font-weight: bold; + color: #505050; + background-color: transparent; + + svg path { + fill: rgba(#000, 1); + } + } + &:not(:last-child) { border-right: 1px solid #dee2e6; } - img { - opacity: .5; + + svg { + margin-right: 5px; width: 15px; - } - } - .nav-link.active { - font-size: 17px; - font-weight: bold; - color: #505050; - img { - opacity: 1; + + path { + fill: rgba(#000, .4); + } } } } + .tab-content { color: #707070; + #nav-profile { .username { font-size: 19px; font-weight: 600; + @media (max-width: 992px) { + justify-content: center; + } } + .last-login { font-weight: 400; + @media (max-width: 992px) { + justify-content: center; + } } + img { width: 165px; height: 130px; object-fit: cover; border-radius: 20px; + @media (max-width: 992px) { + display: flex; + justify-content: center; + } } + .profile--form--area { display: flex; justify-content: space-between; + @media (max-width: 992px) { + display: block; + } + .form-group { width: 100%; + &:not(:last-child) { margin-right: 10px; } + input { border-radius: 4px; font-size: 13px; border: 1px solid #E5E5E5; - } - } - @media (max-width: 992px) { - display: block; - & input { - width: 100%; - + @media (max-width: 992px) { + width: 100%; + } } } } + .account--disable--content { width: 80%; height: 58px; @@ -77,28 +107,11 @@ width: 100%; height: auto; } - button { + + button { font-size: 14px; height: 34px; } } - @media (max-width: 992px) { - .profile--desc { - flex-direction: column; - text-align: center; - - & > div { - margin-left: 0 !important; - } - } - img { - height: auto; - margin: auto; - } - - button { - width: 100%; - } - } } } \ No newline at end of file diff --git a/addons/default/visiosoft/profile-module/resources/views/profile/detail.twig b/addons/default/visiosoft/profile-module/resources/views/profile/detail.twig index f4bb0de77..23b393e5a 100644 --- a/addons/default/visiosoft/profile-module/resources/views/profile/detail.twig +++ b/addons/default/visiosoft/profile-module/resources/views/profile/detail.twig @@ -22,22 +22,22 @@