-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmodern.css
112 lines (99 loc) · 1.8 KB
/
modern.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
/* General Styles */
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background: linear-gradient(to bottom, #f0f4ff, #e2e9ff);
color: #333;
overflow: visible;
}
ons-row {
display: flex;
justify-content: center;
align-items: center;
margin: 10px auto;
}
ons-input[type="text"] {
margin: 8px auto;
padding: 10px;
border: 1px solid #ccc;
border-radius: 8px;
font-size: 16px;
width: 80%;
}
.CalculateButton ons-button {
background-color: #4a90e2;
color: white;
border-radius: 10px;
font-size: 16px;
padding: 10px 20px;
margin: 20px auto;
}
.CalculateButton ons-button:hover {
background-color: #357abd;
transition: background-color 0.3s ease;
}
ons-col {
width: 100%;
}
#outer-div {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.inner-div {
width: 80%;
max-width: 800px;
padding: 20px;
border-radius: 12px;
background-color: white;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.UserInput {
margin-bottom: 15px;
}
.text {
text-align: center;
font-size: 18px;
margin: 15px auto;
color: #555;
}
#confirm {
display: none;
background-color: #4e7eec;
border: none;
border-radius: 10px;
position: fixed;
width: 240px;
left: 50%;
transform: translate(-50%, -50%);
padding: 20px;
color: white;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
text-align: center;
}
#confirm button {
background-color: #48e5da;
border: none;
border-radius: 5px;
padding: 10px 20px;
color: white;
font-size: 14px;
cursor: pointer;
margin: 10px 5px;
transition: background-color 0.3s ease;
}
#confirm button:hover {
background-color: #36bdb7;
}
#overlay {
position: fixed;
display: none;
width: 100%;
height: 100%;
top: 0;
left: 0;
background-color: rgba(0, 0, 0, 0.6);
z-index: 10;
}