Commit d7e374dfdd86b68ba0ce860a4ffee5bf4019c712
1 parent
8d21b980eb
Exists in
master
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 | .blur { | 8 | .blur { |
4 | filter: blur(10px); | 9 | filter: blur(10px); |
5 | -webkit-filter: blur(10px); | 10 | -webkit-filter: blur(10px); |
6 | } | 11 | } |
7 | 12 | ||
8 | .disable-user-select { | 13 | .disable-user-select { |
9 | -webkit-user-select: none; | 14 | -webkit-user-select: none; |
10 | -moz-user-select: none; | 15 | -moz-user-select: none; |
11 | -ms-user-select: none; | 16 | -ms-user-select: none; |
12 | user-select: none; | 17 | user-select: none; |
13 | } | 18 | } |
14 | 19 | ||
15 | .blue-gradient{ | 20 | .blue-gradient { |
16 | background: linear-gradient(0deg, rgb(20,56,68),rgb(252, 252, 252)); | 21 | background: linear-gradient(0deg, rgb(20, 56, 68), rgb(252, 252, 252)); |
17 | } | 22 | } |
18 | 23 | ||
19 | .rounded { | 24 | .rounded { |
20 | border-radius: 1.5rem !important; | 25 | border-radius: 1.5rem !important; |
21 | } | 26 | } |
22 | 27 | ||
28 | .rounded-sm { | ||
29 | border-radius: 0.75rem !important; | ||
30 | } | ||
31 | |||
23 | .card-effect { | 32 | .card-effect { |
24 | &:active{ | 33 | &:active, |
34 | img { | ||
25 | background-color: #c9c9c9b3 !important; | 35 | background-color: #c9c9c9b3 !important; |
26 | transition: background-color 0.5s; | 36 | transition: background-color 0.5s; |
27 | } | 37 | } |
28 | &:focus{ | 38 | &:focus, |
39 | img { | ||
29 | background-color: #c9c9c9b3 !important; | 40 | background-color: #c9c9c9b3 !important; |
30 | transition: background-color 0.5s; | 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 | } |