Commit d7e374dfdd86b68ba0ce860a4ffee5bf4019c712
1 parent
8d21b980eb
Exists in
master
and in
1 other branch
Agregado estilo para scroll bar.
Showing
1 changed file
with
40 additions
and
5 deletions
Show diff stats
src/styles.scss
| 1 | -@import './assets/scss/animation.scss'; | |
| 1 | +@import "./assets/scss/animation.scss"; | |
| 2 | + | |
| 3 | +html, body { | |
| 4 | + background-color: rgb(245, 245, 245); | |
| 5 | + overflow: hidden; | |
| 6 | +} | |
| 2 | 7 | |
| 3 | 8 | .blur { |
| 4 | 9 | filter: blur(10px); |
| ... | ... | @@ -12,21 +17,51 @@ |
| 12 | 17 | user-select: none; |
| 13 | 18 | } |
| 14 | 19 | |
| 15 | -.blue-gradient{ | |
| 16 | - background: linear-gradient(0deg, rgb(20,56,68),rgb(252, 252, 252)); | |
| 20 | +.blue-gradient { | |
| 21 | + background: linear-gradient(0deg, rgb(20, 56, 68), rgb(252, 252, 252)); | |
| 17 | 22 | } |
| 18 | 23 | |
| 19 | 24 | .rounded { |
| 20 | 25 | border-radius: 1.5rem !important; |
| 21 | 26 | } |
| 22 | 27 | |
| 28 | +.rounded-sm { | |
| 29 | + border-radius: 0.75rem !important; | |
| 30 | +} | |
| 31 | + | |
| 23 | 32 | .card-effect { |
| 24 | - &:active{ | |
| 33 | + &:active, | |
| 34 | + img { | |
| 25 | 35 | background-color: #c9c9c9b3 !important; |
| 26 | 36 | transition: background-color 0.5s; |
| 27 | 37 | } |
| 28 | - &:focus{ | |
| 38 | + &:focus, | |
| 39 | + img { | |
| 29 | 40 | background-color: #c9c9c9b3 !important; |
| 30 | 41 | transition: background-color 0.5s; |
| 31 | 42 | } |
| 32 | 43 | } |
| 44 | + | |
| 45 | +.overflow-scroll { | |
| 46 | + overflow-y: scroll !important; | |
| 47 | + overflow-x: hidden !important; | |
| 48 | + &::-webkit-scrollbar { | |
| 49 | + width: 0.5em; | |
| 50 | + } | |
| 51 | + &::-webkit-scrollbar-track { | |
| 52 | + border-radius: 10px; | |
| 53 | + -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.4); | |
| 54 | + } | |
| 55 | + &::-webkit-scrollbar-thumb { | |
| 56 | + -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.7); | |
| 57 | + outline: 1px solid slategrey; | |
| 58 | + border-radius: 10px; | |
| 59 | + height: 12px; | |
| 60 | + &:active{ | |
| 61 | + -webkit-box-shadow: inset 0 0 8px rgba(255, 0, 0, 0.9); | |
| 62 | + } | |
| 63 | + } | |
| 64 | + &::-webkit-scrollbar-corner { | |
| 65 | + border-radius: 10px; | |
| 66 | + } | |
| 67 | +} | |
| 33 | 68 | \ No newline at end of file |