-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle.css
More file actions
74 lines (66 loc) · 1.39 KB
/
Copy pathstyle.css
File metadata and controls
74 lines (66 loc) · 1.39 KB
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
body {
font-family: 'Arial', sans-serif;
background-color: #f4f4f4;
padding: 10px;
display: flex;
flex-direction: column;
align-items: center;
width: 310px;
}
h1 {
color: #333;
margin-bottom: 20px;
}
form {
background-color: #fff;
padding: 20px;
border-radius: 8px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
width: 100%;
max-width: 280px;
}
.input-wrapper {
position: relative;
width: 100%;
margin-bottom: 15px;
background-color: #fff;
border: 1px solid #ccc;
border-radius: 4px;
}
.prefix-text {
position: absolute;
color: #666;
font-size: 13px;
padding: 9px 16px 11px 15px;
background-color: #f4f4f4;
border-radius: 4px;
border-right: 1px solid #ccc;
}
input[type="text"] {
width: 75%;
position: relative;
padding: 10px 10px 10px 60px;
border: none;
font-size: 14px;
background: transparent;
}
input[type="submit"] {
background-color: #007BFF;
color: #fff;
border: none;
border-radius: 4px;
cursor: pointer;
padding: 10px 15px;
font-size: 14px;
width: 100%;
box-sizing: border-box;
transition: background-color 0.3s ease;
}
input[type="text"]:focus {
outline: none;
box-shadow: 0 0 3px rgba(0, 120, 255, 0.5);
/* Optional: Add a subtle glow for a hint of focus */
}
input[type="submit"]:hover {
background-color: #0056b3;
}