-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathchange_password.css
More file actions
203 lines (180 loc) · 4.77 KB
/
Copy pathchange_password.css
File metadata and controls
203 lines (180 loc) · 4.77 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
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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
/* change_password.css */
body.dashboard-body {
background-color: #0b0e11; /* Noir corbeau */
background-image: linear-gradient(rgba(11, 14, 17, 0.9), rgba(11, 14, 17, 0.9)), url('img/Fibre.jpg');
background-size: cover;
background-attachment: fixed;
color: #e0e0e0;
display: flex;
align-items: center;
justify-content: center;
min-height: 100vh;
margin: 0;
}
.container-change-password {
width: 95%;
max-width: 500px; /* Réduit de 600px */
padding: 0;
background-color: #1a1f26; /* Raven Black */
border-radius: 12px; /* Réduit de 15px */
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
border: 1px solid #4a4a4a; /* Bordure grise */
backdrop-filter: blur(10px);
display: flex;
flex-direction: column;
align-items: center;
overflow: hidden; /* Pour que le header ne dépasse pas les coins arrondis */
}
.unified-header {
display: flex;
align-items: center;
justify-content: center; /* Centrer le contenu de l'en-tête */
width: 100%;
padding: 10px 15px; /* Réduit de 15px 20px */
background-color: #2c3e50; /* Couleur de fond pour l'en-tête */
border-bottom: 1px solid #4a4a4a;
box-sizing: border-box; /* S'assurer que le padding ne dépasse pas la largeur */
}
.unified-header .logo {
height: 35px; /* Réduit de 40px */
margin-right: 12px; /* Réduit de 15px */
background-color: white; /* Fond blanc pour le logo s'il est transparent */
padding: 4px; /* Réduit de 5px */
border-radius: 6px; /* Réduit de 8px */
}
.unified-header .title-text {
font-size: 1.1em; /* Réduit de 1.2em */
font-weight: 600;
color: #ecf0f1;
}
h1 {
color: #0077b3;
margin-top: 15px; /* Réduit de 25px */
margin-bottom: 15px; /* Réduit de 25px */
text-align: center;
font-size: 1.4em; /* Réduit de 1.8em */
font-weight: 700;
border-bottom: 1px solid #4a4a4a;
padding-bottom: 10px; /* Réduit de 15px */
width: 90%;
letter-spacing: normal;
text-transform: none;
}
.form-actions {
display: flex;
justify-content: center;
gap: 15px;
margin-top: 15px;
margin-bottom: 70px; /* Espace ajouté pour le footer */
}
#change-password-form-container {
width: 100%;
padding: 0 20px 20px 20px; /* Réduit de 30px */
box-sizing: border-box;
}
.form-group {
margin-bottom: 12px; /* Réduit de 20px */
width: 100%;
}
.form-group label {
display: block;
margin-bottom: 5px; /* Réduit de 8px */
color: #b0b0b0;
font-weight: 500;
font-size: 0.9em;
}
.password-wrapper {
position: relative;
display: flex;
align-items: center;
width: 100%;
}
.input-icon {
position: absolute;
left: 15px;
color: #95a5a6;
pointer-events: none; /* Pour que le clic passe à travers l'icône */
z-index: 2;
}
.form-group input {
width: 100%;
padding: 12px 15px;
padding-left: 45px; /* Espace pour l'icône à gauche */
padding-right: 45px; /* Espace pour l'œil à droite */
background-color: #2c3e50 !important; /* Même fond que l'index */
border: 1px solid #4a4a4a;
color: #e0e0e0 !important;
border-radius: 8px;
font-size: 1em;
transition: all 0.3s ease;
box-sizing: border-box;
}
.toggle-password {
position: absolute;
right: 15px;
cursor: pointer;
color: #95a5a6;
z-index: 2;
}
.form-group input:focus {
border-color: #0077b3;
box-shadow: 0 0 8px rgba(0, 119, 179, 0.3);
outline: none;
transform: none;
}
.btn-ok, .btn-cancel {
padding: 10px 25px;
border: none;
border-radius: 8px;
color: white;
font-weight: bold;
cursor: pointer;
transition: all 0.3s ease;
font-size: 1em;
}
.btn-ok {
background-color: #2ecc71 !important;
box-shadow: 0 4px 10px rgba(46, 204, 113, 0.2);
}
.btn-ok:hover {
background-color: #27ae60 !important;
transform: translateY(-2px);
box-shadow: 0 6px 15px rgba(46, 204, 113, 0.3);
}
.btn-cancel {
background-color: #e74c3c !important;
box-shadow: 0 4px 10px rgba(231, 76, 60, 0.2);
}
.btn-cancel:hover {
background-color: #c0392b !important;
transform: translateY(-2px);
box-shadow: 0 6px 15px rgba(231, 76, 60, 0.3);
}
.back-btn {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 10px 20px;
background-color: #0077b3 !important; /* Uniformiser avec l'accent blue */
color: white !important;
border-radius: 8px;
text-decoration: none;
font-weight: 600;
transition: all 0.3s ease;
border: 1px solid #4a4a4a;
}
.main-footer {
position: fixed;
bottom: 0;
width: 100%;
text-align: center;
padding: 15px;
color: #666;
background-color: rgba(11, 14, 17, 0.8);
border-top: 1px solid #4a4a4a;
z-index: 1;
}
.main-footer p {
color: #666;
margin: 0;
}