Browse Source

Fix UI styles MVCApp

pull/241/head
Ramón Tomás 7 years ago
parent
commit
e1d8a8e23e
4 changed files with 8 additions and 7 deletions
  1. +1
    -1
      src/Web/WebMVC/Views/Shared/_Header.cshtml
  2. +3
    -3
      src/Web/WebMVC/wwwroot/css/shared/components/identity/identity.css
  3. +1
    -0
      src/Web/WebMVC/wwwroot/css/shared/components/identity/identity.min.css
  4. +3
    -3
      src/Web/WebMVC/wwwroot/css/shared/components/identity/identity.scss

+ 1
- 1
src/Web/WebMVC/Views/Shared/_Header.cshtml View File

@ -5,7 +5,7 @@
<div class="container">
@foreach (var header in @Model)
{
<a class="esh-header-title" asp-area="" asp-controller="@header.Controller" asp-action="Index">@header.Text</a>
<a class="esh-header-back" asp-area="" asp-controller="@header.Controller" asp-action="Index">@header.Text</a>
}
</div>
</div>

+ 3
- 3
src/Web/WebMVC/wwwroot/css/shared/components/identity/identity.css View File

@ -29,8 +29,8 @@
.esh-identity-drop {
background: #FFFFFF;
height: 0;
min-width: 14rem;
height: 10px;
width: 10rem;
overflow: hidden;
padding: .5rem;
position: absolute;
@ -41,7 +41,7 @@
.esh-identity:hover .esh-identity-drop {
border: 1px solid #EEEEEE;
height: 7rem;
height: 10rem;
transition: height 0.35s;
}


+ 1
- 0
src/Web/WebMVC/wwwroot/css/shared/components/identity/identity.min.css View File

@ -0,0 +1 @@
.esh-identity{line-height:3rem;position:relative;text-align:right;}.esh-identity-section{display:inline-block;width:100%;}.esh-identity-name{display:inline-block;}.esh-identity-name--upper{text-transform:uppercase;}@media screen and (max-width:768px){.esh-identity-name{font-size:.85rem;}}.esh-identity-image{display:inline-block;}.esh-identity-drop{background:#fff;height:10px;width:10rem;overflow:hidden;padding:.5rem;position:absolute;right:0;top:2.5rem;transition:height .35s;}.esh-identity:hover .esh-identity-drop{border:1px solid #eee;height:10rem;transition:height .35s;}.esh-identity-item{cursor:pointer;transition:color .35s;}.esh-identity-item:hover{color:#75b918;transition:color .35s;}

+ 3
- 3
src/Web/WebMVC/wwwroot/css/shared/components/identity/identity.scss View File

@ -28,8 +28,8 @@
&-drop {
background: $color-background-brighter;
height: 0;
min-width: 14rem;
height: 10px;
width: 10rem;
overflow: hidden;
padding: .5rem;
position: absolute;
@ -40,7 +40,7 @@
&:hover &-drop {
border: $border-light solid $color-foreground-bright;
height: 7rem;
height: 10rem;
transition: height $animation-speed-default;
}


Loading…
Cancel
Save