Commit 1fd41d81de0bc3bc581f3985eb598245517b3461
1 parent
9419b59347
Exists in
master
and in
1 other branch
cambio background de sass login
Showing
2 changed files
with
5 additions
and
5 deletions
Show diff stats
src/sass/_animations.scss
| 1 | .focus-in, | 1 | .modal-content, |
| 2 | .modal-content { | 2 | .focus-in { |
| 3 | animation: focus-in 0.5s cubic-bezier(0.550, 0.085, 0.680, 0.530) both; | 3 | animation: focus-in 0.3s cubic-bezier(0.550, 0.085, 0.680, 0.530) both; |
| 4 | } | 4 | } |
| 5 | 5 | ||
| 6 | @keyframes focus-in { | 6 | @keyframes focus-in { |
| 7 | 0% { | 7 | 0% { |
| 8 | filter: blur(12px); | 8 | filter: blur(12px); |
| 9 | opacity: 0; | 9 | opacity: 0; |
| 10 | } | 10 | } |
| 11 | 100% { | 11 | 100% { |
| 12 | filter: blur(0px); | 12 | filter: blur(0px); |
| 13 | opacity: 1; | 13 | opacity: 1; |
| 14 | } | 14 | } |
| 15 | } | 15 | } |
| 16 | 16 |
src/sass/_login.scss
| 1 | .login { | 1 | .login { |
| 2 | background-color: #bdbdbd; | 2 | background: linear-gradient(0 ,#ffffff, #e6e6e6); |
| 3 | border: 1px solid #000000; | 3 | border: 1px solid #000000; |
| 4 | border-radius: 3px; | 4 | border-radius: 3px; |
| 5 | height: calc(193px + 1em); | 5 | height: calc(280px + 1em); |
| 6 | left: calc(50% - 130px); | 6 | left: calc(50% - 130px); |
| 7 | opacity: 0.7; | 7 | opacity: 0.7; |
| 8 | position: absolute; | 8 | position: absolute; |
| 9 | text-align: center; | 9 | text-align: center; |
| 10 | top: 190px; | 10 | top: 190px; |
| 11 | width: 260px; | 11 | width: 260px; |
| 12 | &-titulo { | 12 | &-titulo { |
| 13 | border-bottom: 1px solid #ffffff; | 13 | border-bottom: 1px solid #ffffff; |
| 14 | padding: 5px 0; | 14 | padding: 5px 0; |
| 15 | } | 15 | } |
| 16 | &-campo { | 16 | &-campo { |
| 17 | label { | 17 | label { |
| 18 | display: block; | 18 | display: block; |
| 19 | font-size: 12px; | 19 | font-size: 12px; |
| 20 | margin: 5px 0 0; | 20 | margin: 5px 0 0; |
| 21 | } | 21 | } |
| 22 | input { | 22 | input { |
| 23 | -moz-border-radius: 10px; | 23 | -moz-border-radius: 10px; |
| 24 | -khtml-border-radius: 10px; | 24 | -khtml-border-radius: 10px; |
| 25 | -webkit-border-radius: 10px; | 25 | -webkit-border-radius: 10px; |
| 26 | -webkit-appearance: none; | 26 | -webkit-appearance: none; |
| 27 | padding-right: 5%; | 27 | padding-right: 5%; |
| 28 | padding-left: 5%; | 28 | padding-left: 5%; |
| 29 | border-radius: 10px; | 29 | border-radius: 10px; |
| 30 | outline: 0; | 30 | outline: 0; |
| 31 | border-color: transparent; | 31 | border-color: transparent; |
| 32 | &:focus { | 32 | &:focus { |
| 33 | border-color: #ff9900; | 33 | border-color: #ff9900; |
| 34 | } | 34 | } |
| 35 | } | 35 | } |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | &-button { | 38 | &-button { |
| 39 | width: 80%; | 39 | width: 80%; |
| 40 | background-color: #cd9035; | 40 | background-color: #cd9035; |
| 41 | color: white; | 41 | color: white; |
| 42 | &:hover{ | 42 | &:hover{ |
| 43 | background-color: #a7743d; | 43 | background-color: #a7743d; |
| 44 | color: white | 44 | color: white |
| 45 | } | 45 | } |
| 46 | &:focus{ | 46 | &:focus{ |
| 47 | color: white; | 47 | color: white; |
| 48 | } | 48 | } |
| 49 | } | 49 | } |
| 50 | 50 | ||
| 51 | &-alerta-error { | 51 | &-alerta-error { |
| 52 | width: 260px; | 52 | width: 260px; |
| 53 | left: calc(50% - 130px); | 53 | left: calc(50% - 130px); |
| 54 | top: calc(383px + 1.5em); | 54 | top: calc(383px + 1.5em); |
| 55 | } | 55 | } |
| 56 | } | 56 | } |
| 57 | 57 |