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

main
Last change on this file since d565449 was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago

Update repo after prototype presentation

  • Property mode set to 100644
File size: 2.5 KB
Line 
1* {
2 margin: 0;
3 padding: 0;
4 -webkit-box-sizing: border-box;
5 box-sizing: border-box;
6 font-family: sans-serif;
7}
8
9.illustration img {
10 max-height: 500px;
11 width: auto;
12}
13
14.wrapper {
15 display: -webkit-box;
16 display: -ms-flexbox;
17 display: flex;
18 height: 100vh;
19 -webkit-box-align: center;
20 -ms-flex-align: center;
21 align-items: center;
22}
23
24.wrapper p {
25 font-size: 0.85rem;
26 margin-top: 1rem;
27}
28
29.form {
30 padding: 1.5rem;
31 -ms-flex-preferred-size: 100vw;
32 flex-basis: 100vw;
33}
34
35.form .heading {
36 font-size: 1.5rem;
37 font-weight: bold;
38 text-align: center;
39}
40
41.or {
42 margin: 1rem 0;
43}
44
45.form label {
46 display: block;
47 margin: 1.25rem 0 1rem 0;
48}
49
50.form input {
51 height: 40px;
52 width: 100%;
53 padding: 15px;
54 background-color: #f1f9ff;
55 border: 2px solid #bce0fd;
56 border-radius: 8px;
57}
58
59.form button {
60 height: 40px;
61 width: 100%;
62 background-color: #258de6;
63 color: white;
64 text-transform: uppercase;
65 letter-spacing: 1px;
66 border: none;
67 display: block;
68 margin: 0 auto;
69 font-weight: bold;
70 margin-top: 1.5rem;
71 border-radius: 8px;
72}
73
74@media (min-width: 542px) {
75 body {
76 display: -webkit-box;
77 display: -ms-flexbox;
78 display: flex;
79 -webkit-box-pack: center;
80 -ms-flex-pack: center;
81 justify-content: center;
82 }
83 .wrapper {
84 display: -webkit-box;
85 display: -ms-flexbox;
86 display: flex;
87 height: 100vh;
88 -webkit-box-align: center;
89 -ms-flex-align: center;
90 align-items: center;
91 -ms-flex-pack: distribute;
92 justify-content: space-around;
93 padding: 1.5rem;
94 max-width: 1100px;
95 }
96 .form {
97 -ms-flex-preferred-size: auto;
98 flex-basis: auto;
99 }
100 .form input {
101 width: 250px;
102 }
103 .illustration img {
104 max-width: 80%;
105 height: auto;
106 }
107}
108
109@media (max-width: 680px) {
110 .illustration {
111 display: none;
112 }
113}
114
115.signUp .illustration {
116 order: 2;
117 justify-self: flex-end;
118 margin-left: 2rem;
119}
120
121button:hover {
122 filter: brightness(95%);
123}
124
125button:active {
126 transform: scale(0.98);
127}
128
129/* Error message style */
130.errorMessage {
131 color: #e74c3c; /* Red color for error */
132 background-color: #fbeaea;
133 padding: 10px;
134 border: 1px solid #e74c3c;
135 border-radius: 5px;
136 margin-top: 1rem;
137 text-align: center;
138 font-size: 0.9rem;
139 font-weight: bold;
140}
141
142/* Success message style */
143.successMessage {
144 color: #2ecc71; /* Green color for success */
145 background-color: #ebf9f1;
146 padding: 10px;
147 border: 1px solid #2ecc71;
148 border-radius: 5px;
149 margin-top: 1rem;
150 text-align: center;
151 font-size: 0.9rem;
152 font-weight: bold;
153}
Note: See TracBrowser for help on using the repository browser.