-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
130 lines (112 loc) · 3.22 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background: linear-gradient(135deg, #a2c2e3, #d4a9f3); /* Soft gradient from blue to purple */
background-size: 200% 200%; /* Large size for smooth animation */
animation: gradientAnimation 5s ease infinite; /* Animation for background */
font-family: 'Poppins', sans-serif; /* Modern Google Font */
position: relative; /* Needed for positioning of the icon */
}
@keyframes gradientAnimation {
0% {
background-position: 0% 0%;
}
50% {
background-position: 100% 100%;
}
100% {
background-position: 0% 0%;
}
}
.container {
background: rgba(255, 255, 255, 0.8); /* Semi-transparent white */
padding: 2rem;
border-radius: 1rem;
min-height: 45vh;
width: 50vh; /* Increased container width */
backdrop-filter: blur(10px); /* Frosted glass effect */
}
form {
margin: 2rem 0 1rem 0;
}
form select, button, input {
width: 100%;
border: none;
outline: none;
border-radius: 0.75rem;
background-color: #f0f8ff; /* Very light blue for inputs */
box-shadow: inset 4px 4px 8px rgba(0, 0, 0, 0.1), inset -4px -4px 8px rgba(255, 255, 255, 0.9); /* Neumorphic inset shadow */
font-family: 'Poppins', sans-serif; /* Modern Google Font */
}
form input {
border: 1px solid #d1e0e0; /* Light bluish-gray border */
font-size: 1rem;
height: 3rem;
padding-left: 0.5rem;
}
.dropdown {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 2rem;
}
.dropdown i {
font-size: 1.5rem;
margin-top: 1rem;
}
.select-container img {
max-width: 2rem;
}
.select-container {
display: flex;
justify-content: center;
align-items: center;
width: 6rem;
border-radius: 0.5rem;
border: 1px solid #d1e0e0; /* Light bluish-gray border */
background-color: #f0f8ff; /* Very light blue for select container */
}
.select-container select {
font-size: 1rem;
width: auto;
}
.msg {
margin: 2rem 0 2rem 0;
}
form button {
height: 3rem;
background-color: #6a5acd; /* Medium Slate Blue */
color: #fff;
font-size: 1.15rem;
cursor: pointer;
}
.currency-icon {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 5rem; /* Adjust size as needed */
color: #6a5acd; /* Match with button color */
z-index: 1; /* Ensure it is above other content */
pointer-events: none; /* Ensure it does not interfere with other elements */
content: "\f155"; /* Example Unicode for a currency icon (FontAwesome dollar sign) */
font-family: 'FontAwesome'; /* FontAwesome or another icon font */
}
form button {
height: 3rem;
background-color: #6a5acd; /* Medium Slate Blue */
color: #fff;
font-size: 1.15rem;
cursor: pointer;
transition: transform 0.2s ease-in-out; /* Smooth transition for the animation */
}
form button:active {
transform: scale(0.95); /* Shrinks the button slightly when clicked */
}