source: imaps-frontend/src/components/DrawGuide/DrawGuide.module.css@ 79a0317

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

F4 Finalna Verzija

  • Property mode set to 100644
File size: 2.4 KB
Line 
1/* Modal.module.css */
2
3.activeModal {
4 overflow-y: hidden; /* Disable scrolling */
5}
6
7.modal,
8.overlay {
9 position: fixed;
10 top: 0;
11 left: 0;
12 width: 100vw;
13 height: 100vh;
14}
15
16.overlay {
17 background: rgba(0, 0, 0, 0.7); /* Darken the background */
18 backdrop-filter: blur(5px); /* Optional blur effect */
19 z-index: 999;
20
21}
22
23.title{
24 color: white;
25}
26
27.paragraph{
28 color: #ababab;
29}
30
31.modalContent {
32 position: absolute;
33 top: 50%;
34 left: 50%;
35 transform: translate(-50%, -50%);
36 background-color: #2c2f33;
37 color: #ffffff; /* White text for contrast */
38 padding: 20px;
39 border-radius: 8px;
40 max-width: 600px;
41 width: 100%;
42 box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
43 z-index: 1000;
44}
45
46/*h2 {*/
47/* margin-bottom: 15px;*/
48/* color: #ffffff; !* White text for the heading *!*/
49/*}*/
50
51.btnModal {
52 width: 70px;
53 height: 70px;
54 background-color: transparent;
55 border: none;
56 border-radius: 50%;
57 cursor: pointer;
58 margin: 0px;
59 display: flex;
60 justify-content: center;
61 align-items: center;
62 background-image: url("../../assets/help_icon.png");
63 background-size: 60%;
64 background-position: center;
65 background-repeat: no-repeat;
66 transition: transform 0.2s;
67}
68
69.btnModal:hover {
70 transform: scale(1.1);
71 background-color: rgba(255, 255, 255, 0.1);
72}
73
74.btnModal:active {
75 transform: scale(0.95);
76}
77
78.iconImage {
79 width: 100%;
80 height: 100%;
81}
82
83.closeModal {
84 position: absolute;
85 top: 10px;
86 right: 10px;
87 padding: 5px 10px;
88 background-color: #dc3545;
89 color: white;
90 border: none;
91 border-radius: 5px;
92 cursor: pointer;
93}
94
95.closeModal:hover {
96 background-color: #c82333;
97}
98
99.form {
100 display: flex;
101 flex-direction: column;
102}
103
104.formGroup {
105 margin-bottom: 15px;
106}
107
108.formGroup label {
109 display: block;
110 margin-bottom: 5px;
111 color: #ffffff; /* White text for labels */
112}
113
114.formGroup input,
115.formGroup select,
116.formGroup textarea {
117 width: 100%;
118 padding: 8px;
119 border-radius: 4px;
120 border: 1px solid #ccc;
121 background-color: #23272a; /* Darker input background */
122 color: #ffffff; /* White text inside the input fields */
123}
124
125.formGroup input::placeholder,
126.formGroup textarea::placeholder {
127 color: #888888; /* Slightly lighter color for placeholder text */
128}
129
130.formGroup input[type="checkbox"] {
131 width: auto;
132 margin-right: 10px;
133}
134
135.submitButton {
136 background-color: #28a745;
137 color: white;
138 padding: 10px 20px;
139 border: none;
140 border-radius: 5px;
141 cursor: pointer;
142}
143
144.submitButton:hover {
145 background-color: #218838;
146}
Note: See TracBrowser for help on using the repository browser.