Commit 3fe6935f2e429d07571b053b937896bb515561d5
1 parent
d4fabac8a5
Exists in
master
Cambiado color del scroll bar personalizado.
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
src/styles.scss
1 | @import "./assets/scss/animation.scss"; | 1 | @import "./assets/scss/animation.scss"; |
2 | @import "./assets/scss/bootstrap-override.scss"; | 2 | @import "./assets/scss/bootstrap-override.scss"; |
3 | @import "../node_modules/bootstrap/scss/_variables.scss"; | 3 | @import "../node_modules/bootstrap/scss/_variables.scss"; |
4 | 4 | ||
5 | html, | 5 | html, |
6 | body { | 6 | body { |
7 | background-color: #f0f0f0; | 7 | background-color: #f0f0f0; |
8 | font-family: bahnschrift; | 8 | font-family: bahnschrift; |
9 | } | 9 | } |
10 | 10 | ||
11 | .blur { | 11 | .blur { |
12 | filter: blur(10px); | 12 | filter: blur(10px); |
13 | -webkit-filter: blur(10px); | 13 | -webkit-filter: blur(10px); |
14 | } | 14 | } |
15 | 15 | ||
16 | .disable-user-select { | 16 | .disable-user-select { |
17 | -webkit-user-select: none; | 17 | -webkit-user-select: none; |
18 | -moz-user-select: none; | 18 | -moz-user-select: none; |
19 | -ms-user-select: none; | 19 | -ms-user-select: none; |
20 | user-select: none; | 20 | user-select: none; |
21 | } | 21 | } |
22 | 22 | ||
23 | .blue-gradient { | 23 | .blue-gradient { |
24 | background: linear-gradient(0deg, #ffffff00, $white); | 24 | background: linear-gradient(0deg, #ffffff00, $white); |
25 | } | 25 | } |
26 | 26 | ||
27 | .rounded { | 27 | .rounded { |
28 | border-radius: 1.5rem !important; | 28 | border-radius: 1.5rem !important; |
29 | } | 29 | } |
30 | 30 | ||
31 | .rounded-top-sm { | 31 | .rounded-top-sm { |
32 | border-top-left-radius: 0.75rem !important; | 32 | border-top-left-radius: 0.75rem !important; |
33 | border-top-right-radius: 0.75rem !important; | 33 | border-top-right-radius: 0.75rem !important; |
34 | } | 34 | } |
35 | 35 | ||
36 | .rounded-sm { | 36 | .rounded-sm { |
37 | border-radius: 0.75rem !important; | 37 | border-radius: 0.75rem !important; |
38 | } | 38 | } |
39 | 39 | ||
40 | .card-effect { | 40 | .card-effect { |
41 | &:active { | 41 | &:active { |
42 | background-color: #c9c9c9b3 !important; | 42 | background-color: #c9c9c9b3 !important; |
43 | transition: background-color 0.5s; | 43 | transition: background-color 0.5s; |
44 | } | 44 | } |
45 | &:focus { | 45 | &:focus { |
46 | background-color: #c9c9c9b3 !important; | 46 | background-color: #c9c9c9b3 !important; |
47 | transition: background-color 0.5s; | 47 | transition: background-color 0.5s; |
48 | } | 48 | } |
49 | } | 49 | } |
50 | 50 | ||
51 | .overflow-scroll { | 51 | .overflow-scroll { |
52 | overflow-y: auto !important; | 52 | overflow-y: auto !important; |
53 | overflow-x: hidden !important; | 53 | overflow-x: hidden !important; |
54 | &::-webkit-scrollbar { | 54 | &::-webkit-scrollbar { |
55 | width: 0.5em; | 55 | width: 0.5em; |
56 | } | 56 | } |
57 | &::-webkit-scrollbar-track { | 57 | &::-webkit-scrollbar-track { |
58 | border-radius: 10px; | 58 | border-radius: 10px; |
59 | box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.4); | 59 | box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.4); |
60 | -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.4); | 60 | -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.4); |
61 | background-color: $white; | 61 | background-color: $white; |
62 | } | 62 | } |
63 | &::-webkit-scrollbar-thumb { | 63 | &::-webkit-scrollbar-thumb { |
64 | box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.7); | 64 | box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.7); |
65 | -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.7); | 65 | -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.7); |
66 | outline: 1px solid slategrey; | 66 | outline: 1px solid slategrey; |
67 | border-radius: 10px; | 67 | border-radius: 10px; |
68 | height: 12px; | 68 | height: 12px; |
69 | &:active { | 69 | &:active { |
70 | box-shadow: inset 0 0 8px rgba(255, 0, 0, 0.9); | 70 | box-shadow: inset 0 0 8px $primary; |
71 | -webkit-box-shadow: inset 0 0 8px rgba(255, 0, 0, 0.9); | 71 | -webkit-box-shadow: inset 0 0 8px $primary; |
72 | } | 72 | } |
73 | } | 73 | } |
74 | &::-webkit-scrollbar-corner { | 74 | &::-webkit-scrollbar-corner { |
75 | border-radius: 10px; | 75 | border-radius: 10px; |
76 | } | 76 | } |
77 | } | 77 | } |
78 | 78 | ||
79 | .bg-gray { | 79 | .bg-gray { |
80 | background-color: #e6e6e6; | 80 | background-color: #e6e6e6; |
81 | } | 81 | } |
82 | 82 | ||
83 | .bg-primary-gradient { | 83 | .bg-primary-gradient { |
84 | background: linear-gradient(135deg, rgba(40, 112, 175, 1) 0%, rgba(0, 32, 66, 1) 100%); | 84 | background: linear-gradient(135deg, rgba(40, 112, 175, 1) 0%, rgba(0, 32, 66, 1) 100%); |
85 | } | 85 | } |
86 | 86 | ||
87 | .bg-primary-gradient-horizontal { | 87 | .bg-primary-gradient-horizontal { |
88 | background: linear-gradient(90deg, rgba(40, 112, 175, 1) 0%, rgba(0, 32, 66, 1) 100%); | 88 | background: linear-gradient(90deg, rgba(40, 112, 175, 1) 0%, rgba(0, 32, 66, 1) 100%); |
89 | } | 89 | } |
90 | 90 | ||
91 | .icon-dim { | 91 | .icon-dim { |
92 | height: 40px !important; | 92 | height: 40px !important; |
93 | width: auto !important; | 93 | width: auto !important; |
94 | background-color: white !important; | 94 | background-color: white !important; |
95 | } | 95 | } |
96 | 96 | ||
97 | .text-purple { | 97 | .text-purple { |
98 | color: $purple; | 98 | color: $purple; |
99 | } | 99 | } |
100 | 100 | ||
101 | .vh-70 { | 101 | .vh-70 { |
102 | min-height: auto !important; | 102 | min-height: auto !important; |
103 | max-height: 70vh !important; | 103 | max-height: 70vh !important; |
104 | } | 104 | } |
105 | 105 | ||
106 | .vh-60 { | 106 | .vh-60 { |
107 | min-height: auto !important; | 107 | min-height: auto !important; |
108 | max-height: 60vh !important; | 108 | max-height: 60vh !important; |
109 | } | 109 | } |
110 | 110 | ||
111 | .spinner-lg { | 111 | .spinner-lg { |
112 | width: 3rem !important; | 112 | width: 3rem !important; |
113 | height: 3rem !important; | 113 | height: 3rem !important; |
114 | } | 114 | } |
115 | 115 | ||
116 | .sidebar { | 116 | .sidebar { |
117 | right: 0; | 117 | right: 0; |
118 | } | 118 | } |
119 | 119 |