source: imaps-frontend/src/pages/Signup/Signup.module.css@ 79a0317

main
Last change on this file since 79a0317 was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 3 days ago

F4 Finalna Verzija

  • Property mode set to 100644
File size: 2.6 KB
Line 
1.wrapper {
2 display: flex;
3 align-items: center; /* Vertically center content */
4 justify-content: center; /* Horizontally center content */
5 height: 100vh; /* Full viewport height */
6 background-color: #ffffff; /* Light background */
7 padding: 1rem;
8 gap: 2rem; /* Space between form and image */
9}
10
11.form {
12 padding: 2rem;
13 background-color: white;
14 box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
15 border-radius: 10px;
16 flex-basis: 100%;
17 max-width: 400px; /* Restrict form width */
18 text-align: center; /* Center text inside the form */
19}
20
21.form .heading {
22 font-size: 1.8rem;
23 font-weight: bold;
24 color: #258de6;
25 margin-bottom: 1rem;
26}
27
28.form label {
29 display: block;
30 margin: 1.25rem 0 0.5rem 0;
31 font-size: 0.9rem;
32 font-weight: bold;
33 color: #555;
34}
35
36.form input {
37 height: 40px;
38 width: 100%;
39 padding: 10px 15px;
40 background-color: #f1f9ff;
41 border: 2px solid #bce0fd;
42 border-radius: 8px;
43 font-size: 1rem;
44}
45
46.form input:focus {
47 outline: none;
48 border-color: #258de6;
49 background-color: #e6f4ff;
50}
51
52.form button {
53 height: 45px;
54 width: 100%;
55 background-color: #258de6;
56 color: white;
57 text-transform: uppercase;
58 letter-spacing: 1px;
59 border: none;
60 margin-top: 1.5rem;
61 font-weight: bold;
62 border-radius: 8px;
63 cursor: pointer;
64 transition: all 0.2s ease;
65}
66
67.form button:hover {
68 filter: brightness(90%);
69}
70
71.form button:active {
72 transform: scale(0.96);
73}
74
75.form p {
76 text-align: center;
77 margin-top: 1rem;
78 font-size: 0.9rem;
79}
80
81.form p a {
82 color: #258de6;
83 text-decoration: none;
84 font-weight: bold;
85}
86
87.form p a:hover {
88 text-decoration: underline;
89}
90
91.illustration {
92 text-align: center; /* Center image container */
93}
94
95.illustration img {
96 max-width: 100%;
97 height: auto;
98 border-radius: 10px;
99 display: block;
100 margin: 0 auto; /* Center the image */
101}
102
103@media (min-width: 768px) {
104 .wrapper {
105 flex-direction: row;
106 gap: 4rem; /* Space between form and image */
107 }
108
109 .form {
110 flex-basis: 50%;
111 }
112
113 .illustration {
114 flex-basis: 50%;
115 }
116
117 .illustration img {
118 max-height: 600px;
119 width: auto;
120 }
121}
122
123@media (max-width: 768px) {
124 .wrapper {
125 flex-direction: column;
126 text-align: center; /* Center all content in column layout */
127 }
128
129 .illustration {
130 margin-bottom: 2rem; /* Space between image and form */
131 }
132}
133
134.errorMessage,
135.successMessage {
136 font-size: 0.9rem;
137 font-weight: bold;
138 text-align: center;
139 margin-top: 1rem;
140 padding: 10px;
141 border-radius: 8px;
142}
143
144.errorMessage {
145 color: #e74c3c;
146 background-color: #fbeaea;
147 border: 1px solid #e74c3c;
148}
149
150.successMessage {
151 color: #2ecc71;
152 background-color: #ebf9f1;
153 border: 1px solid #2ecc71;
154}
Note: See TracBrowser for help on using the repository browser.