.user-dashboard-layout { .topBG { height: 200px; background: $theme; position: relative; .user-name { position: absolute; bottom: 5px; right: 18px; a { display: inline-block; max-width: 250px; position: relative; padding-right: 35px; &:hover { background: rgba(0, 0, 0, 0); } &.active { background: rgba(0, 0, 0, 0); } a, span, i { font-size: 18px; color: #fff; } i { position: absolute; top: 50%; right: 10px; @include transform(translateY(-50%)); } span { font-family: 'iranYekanB', sans-serif; font-weight: bold; } } } @media (max-width: 992px) { height: 60px; .user-name { display: none; } } } .page { min-height: calc(100vh - 235px); @media (max-width: 992px) { min-height: calc(100vh - 150px); } } .user-aside { @media (max-width: 992px) { background: #fff; } ul { display: inline-block; min-height: 600px; padding-right: 5px; padding-top: 5px; li { @extend %defaultTransition; border-top-left-radius: 25px; border-bottom-left-radius: 25px; cursor: pointer; margin-bottom: 2px; &:hover { background: rgba(0, 0, 0, 0.1); } &.username { display: none; a { display: block; position: relative; padding-right: 30px; i { position: absolute; top: 50%; right: 10px; @include transform(translateY(-50%)); } } span { font-family: 'iranYekanB', sans-serif; font-weight: bold; } } &.active { background: rgba(0, 0, 0, 0.1); } a { padding: 10px; width: 100%; } a, span, i { display: inline-block; color: #000; font-weight: bold; font-size: 14px; } span { margin-right: 3px; } .badge { display: inline-block; $size: 20px; width: $size; height: $size; text-align: center; font-family: 'sans-serif'; line-height: $size; font-size: 12px; color: #fff; background: red; @include borderRadius(50%); } } @media (max-width: 992px) { min-height: auto; max-width: 100%; display: flex; justify-content: flex-start; align-items: center; flex-wrap: wrap; padding: 3px !important; li { margin: 0 10px !important; padding: 0 !important; a { span, i { color: #000 !important; font-size: 16px !important; } } @include borderRadius(5px); &.username { display: block; } &:hover { background: rgba(0, 0, 0, 0.1) !important; } &.active { background: rgba(0, 0, 0, 0.1) !important; } } } } .seprator { display: flex; justify-content: flex-start; align-items: center; @extend %userSelect; .line { flex-grow: 1; height: 1px; background: $darkGray; opacity: 0.3; margin-right: 5px; @include borderRadius(4px); } .txt { span { font-size: 12px; } } @media (max-width: 992px) { display: block; width: 100%; margin-top: 5px; margin-bottom: 10px; .line { margin-right: 0; margin-top: 2px; opacity: 0.15; } } } } }