source: imaps-frontend/src/pages/Draw/Draw.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: 3.6 KB
Line 
1html,
2body {
3 margin: 0;
4 padding: 0;
5 height: 100%;
6 overflow: hidden;
7 background-color: #141414;
8}
9
10.logo {
11 width: 100px;
12 margin: 10px;
13 align-self: center;
14}
15
16.title {
17 margin-top: 20px;
18 color: #804047;
19 font-size: 120%;
20}
21
22.paragraph {
23 color: #cccccc;
24}
25.guideWrapper {
26 display: flex;
27 justify-content: center;
28 align-items: center;
29 margin: 0;
30}
31
32.wrapper {
33 display: flex;
34 height: 100vh;
35 background-color: #141414;
36 overflow: hidden;
37}
38
39.cont {
40 flex-grow: 1;
41 width: 85vw;
42 height: 90vh;
43 background-color: #161616;
44 border: 1px solid gray;
45 margin: 50px;
46}
47
48.panel {
49 width: 10vw;
50 height: 100vh;
51 display: flex;
52 flex-direction: column;
53 padding: 20px;
54 background-color: #1c1c1c;
55 color: #ffffff;
56 overflow-y: auto;
57 box-sizing: border-box;
58 margin-right: 10px;
59 border-radius: 20px;
60}
61
62.buttonContainer {
63 display: flex;
64 justify-content: space-between;
65 align-items: center;
66 margin-top: 2rem;
67 gap: 10px;
68}
69
70/* .hide {
71 visibility: hidden;
72} */
73
74.renderButton {
75 width: 100%;
76 height: 50px;
77 background-color: #e67e22;
78 color: #ffffff;
79 border: none;
80 border-radius: 8px;
81 font-size: 20px;
82 font-weight: bold;
83 cursor: pointer;
84 display: flex;
85 justify-content: center;
86 align-items: center;
87 box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
88 transition: background-color 0.3s, transform 0.2s, box-shadow 0.3s;
89}
90
91.renderButton:hover {
92 background-color: #d2691e;
93 transform: scale(1.05);
94 box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
95}
96
97.renderButton:active {
98 background-color: #b35418;
99 transform: scale(0.98);
100 box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
101}
102
103.shapeOptions {
104 list-style: none;
105 padding: 0;
106 margin: 0 0;
107 display: flex;
108 flex-direction: column;
109 gap: 15px;
110 align-items: center;
111}
112
113.shapeOption {
114 width: 4vw;
115 height: 4vw;
116 border: 2px solid #804047;
117 border-radius: 5px;
118 background-color: #362929;
119 color: white;
120 font-size: 12px;
121 font-weight: bold;
122 background-size: contain;
123 background-repeat: no-repeat;
124 background-position: center;
125 cursor: pointer;
126 transition: background-color 0.3s, border-color 0.3s;
127}
128
129.templateCont {
130 display: flex;
131 flex-direction: column;
132}
133
134.shapeOption:hover {
135 background-color: #94183b;
136 border-color: #94183b;
137}
138
139.fpscounter {
140 border: 1px solid #00b822;
141 margin: 20px 0;
142}
143
144.fpscounter p {
145 color: #00740c;
146 font-weight: bold;
147 text-align: center;
148 margin: 0;
149 padding: 5px 0;
150}
151
152.floorSelector {
153 margin-bottom: 20px;
154 display: flex;
155 flex-direction: column;
156 gap: 8px;
157 color: #ffffff;
158}
159
160.floorSelector label {
161 font-size: 14px;
162}
163
164.floorDropdown {
165 padding: 8px;
166 font-size: 14px;
167 border-radius: 5px;
168 border: 1px solid #ccc;
169 background-color: #3a3a3a;
170 color: #ffffff;
171 cursor: pointer;
172 width: 100%;
173 transition: border-color 0.3s;
174}
175
176.floorDropdown:focus {
177 outline: none;
178 border-color: #1e90ff;
179}
180
181.popup {
182 position: fixed;
183 top: 40%;
184 left: 50%;
185 transform: translate(-50%, -50%);
186 background-color: rgba(73, 73, 73, 0.8);
187 color: white;
188 padding: 20px;
189 border-radius: 8px;
190 z-index: 1000;
191 width: 300px;
192 text-align: center;
193 box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
194 opacity: 0;
195 animation: fadeInOut 3s ease-in-out forwards;
196}
197
198@keyframes fadeInOut {
199 0%,
200 100% {
201 opacity: 0;
202 transform: translate(-50%, -40%);
203 }
204 10%,
205 90% {
206 opacity: 1;
207 transform: translate(-50%, -50%);
208 }
209}
210
211.popupContent {
212 display: flex;
213 flex-direction: column;
214 gap: 10px;
215}
216
217.entrance {
218 background-image: url("./shapeImages/entrance_icon.png");
219}
220
221.wall {
222 background-image: url("./shapeImages/wall_icon.png");
223}
224
225.room {
226 background-image: url("./shapeImages/room_icon.png");
227}
Note: See TracBrowser for help on using the repository browser.