-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
77 lines (70 loc) · 1.94 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
/* Style container for the form */
form#scf_contact_form,
form#simple_login_form {
max-width: 400px;
margin: 0 auto;
padding: 20px;
border: 1px solid #ddd;
border-radius: 5px;
background-color: #f9f9f9;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
/* Label styling */
form#scf_contact_form label,
form#simple_login_form label {
font-weight: bold;
color: #333;
display: block;
margin-bottom: 5px;
}
/* Input and textarea styling */
form#scf_contact_form input[type="text"],
form#scf_contact_form input[type="email"],
form#scf_contact_form input[type="password"],
form#scf_contact_form textarea,
form#simple_login_form input[type="text"],
form#simple_login_form input[type="password"] {
width: 100%;
padding: 10px;
margin-bottom: 15px;
border: 1px solid #ccc;
border-radius: 4px;
font-size: 16px;
transition: border-color 0.3s ease;
}
form#scf_contact_form input[type="text"]:focus,
form#scf_contact_form input[type="email"]:focus,
form#scf_contact_form input[type="password"]:focus,
form#scf_contact_form textarea:focus,
form#simple_login_form input[type="text"]:focus,
form#simple_login_form input[type="password"]:focus {
border-color: #0073aa;
}
/* Submit button styling */
form#scf_contact_form input[type="submit"],
form#simple_login_form input[type="submit"] {
background-color: #0073aa;
color: #fff;
padding: 10px 15px;
font-size: 16px;
border: none;
border-radius: 4px;
cursor: pointer;
transition: background-color 0.3s ease;
}
form#scf_contact_form input[type="submit"]:hover,
form#simple_login_form input[type="submit"]:hover {
background-color: #005d8f;
}
/* Error message styling */
form#scf_contact_form .scf-success,
form#simple_login_form .scf-success {
color: green;
margin-bottom: 15px;
}
form#scf_contact_form p[style="color:red;"],
form#simple_login_form p[style="color:red;"] {
color: red;
font-weight: bold;
margin-bottom: 15px;
}