LukaVidakovic commited on
Commit
5ba04eb
·
verified ·
1 Parent(s): e9b05d6

Update src/static/css/style.css

Browse files
Files changed (1) hide show
  1. src/static/css/style.css +72 -203
src/static/css/style.css CHANGED
@@ -1,258 +1,127 @@
1
  body {
2
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
3
- background-color: #f0f2f5;
4
- color: #333;
5
- line-height: 1.6;
6
- padding: 20px;
7
  margin: 0;
 
8
  display: flex;
9
  flex-direction: column;
10
  align-items: center;
11
  }
12
 
13
  h1 {
14
- color: #0056b3;
15
- margin: 20px 0;
16
- }
17
-
18
- .button-container {
19
- display: flex;
20
- gap: 10px;
21
- flex-wrap: wrap;
22
- justify-content: center;
23
  }
24
 
25
- .button1,
26
- #copyButton,
27
- #deleteButton,
28
- #revertButton,
29
- #forwardButton,
30
- #sendMailButton {
31
- background-color: #007bff;
32
- color: white;
33
- border: none;
34
- padding: 10px 20px;
35
- border-radius: 5px;
36
- cursor: pointer;
37
- font-size: 16px;
38
- transition: background-color 0.3s ease, transform 0.3s ease;
39
- box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
40
- }
41
-
42
- .button1:hover,
43
- #copyButton:hover,
44
- #deleteButton:hover,
45
- #revertButton:hover,
46
- #forwardButton:hover,
47
- #sendMailButton:hover {
48
- background-color: #0056b3;
49
- transform: scale(1.05);
50
- box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
51
  }
52
 
53
- .textarea-container {
54
- position: relative;
55
- width: 100%;
56
- max-width: 800px; /* Ograničava maksimalnu širinu za bolje čitanje na velikim ekranima */
57
- margin: 15px 0;
58
  }
59
 
60
- #podaciPacijentaBox,
61
- #epikrizaBox {
62
  width: 100%;
63
- height: 250px;
64
  padding: 15px;
65
- border-radius: 8px;
66
- border: 1px solid #ccc;
67
- font-size: 16px;
68
- box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
69
- resize: none;
 
 
 
70
  }
71
 
72
- #copyMessage {
73
- position: fixed;
74
- top: 20px;
75
- left: 50%;
76
- transform: translateX(-50%) scale(0);
77
- background-color: #0056b3;
78
- color: white;
79
- padding: 10px 20px;
80
- border-radius: 5px;
81
- z-index: 1000;
82
- transition: transform 0.5s ease, opacity 0.5s ease;
83
- opacity: 0;
84
  }
85
 
86
- .powered-by {
87
  display: flex;
 
88
  justify-content: center;
89
- align-items: center;
90
- margin-top: 10px;
91
- font-size: 0.9em;
92
  }
93
 
94
- .labsoft-link {
 
 
 
 
 
 
 
 
 
95
  display: inline-flex;
96
  align-items: center;
97
- color: #0056b3; /* Pretpostavljamo da želite da očuvate ovu boju */
98
- text-decoration: none;
99
  }
100
 
101
- .logo-img-pb {
102
- width: 100px; /* Prilagodite veličinu prema potrebi */
103
- height: auto;
104
- margin-left: 10px;
105
  }
106
 
107
- .modal {
108
- display: none; /* Sakriven po defaultu */
109
- position: fixed;
110
- z-index: 10; /* Osigurava da je iznad ostalih elemenata */
111
- left: 0;
112
- top: 0;
113
- width: 100%;
114
- height: 100%;
115
- overflow: auto; /* Omogućava skrolovanje ako je sadržaj veći od ekrana */
116
- background-color: rgba(0, 0, 0, 0.5); /* Poluprozirna crna pozadina */
117
  }
118
 
119
- .modal-content {
120
- background-color: #f0f2f5;
121
- margin: 15% auto; /* Centriranje sadržaja moda */
122
- padding: 20px;
123
- border: 1px solid #ccc;
124
- border-radius: 5px; /* Zaobljeni uglovi */
125
- width: 80%; /* Širina sadržaja moda */
126
- box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Lagana senka za dubinu */
127
- max-width: 500px; /* Maksimalna širina za veće ekrane */
128
  }
129
 
130
- .close {
131
- color: #aaa;
132
- float: right;
133
- font-size: 28px;
134
- font-weight: bold;
 
135
  }
136
 
137
- .close:hover,
138
- .close:focus {
139
- color: #333;
 
140
  text-decoration: none;
141
- cursor: pointer;
142
  }
143
 
144
- .modal button {
145
- background-color: #007bff;
146
- color: white;
147
- border: none;
148
- padding: 10px 20px;
149
- border-radius: 5px;
150
- cursor: pointer;
151
- font-size: 16px;
152
- transition: background-color 0.3s ease, transform 0.3s ease;
153
- }
154
-
155
- .modal button:hover {
156
- background-color: #0056b3;
157
  }
158
 
159
- #emailInput {
160
- width: calc(100% - 24px); /* Širina inputa uzimajući u obzir padding */
161
- padding: 10px;
162
- margin-top: 8px;
163
- margin-bottom: 16px;
164
- border-radius: 5px;
165
- border: 1px solid #ccc;
166
- font-size: 16px;
167
  }
168
 
169
- .invalid-input {
170
- border: 2px solid red;
171
- }
172
- /* Animacija za poruku kopiranja */
173
- @keyframes slideFadeIn {
174
- from {
175
- transform: translateX(-50%) scale(0);
176
- opacity: 0;
177
- }
178
- to {
179
- transform: translateX(-50%) scale(1);
180
- opacity: 1;
181
- }
182
- }
183
-
184
- /* JavaScript može dodati ovu klasu za pokretanje animacije */
185
- .copyMessage-visible {
186
- animation: slideFadeIn 0.5s forwards;
187
  }
188
 
189
  @media (max-width: 768px) {
190
- .button1,
191
- #copyButton,
192
- #deleteButton,
193
- #revertButton,
194
- #forwardButton {
195
- padding: 8px 16px;
196
- font-size: 14px;
197
  }
198
 
199
  .button-container {
200
- gap: 8px;
201
- }
202
-
203
- #transcriptBox {
204
- height: 200px;
205
- font-size: 14px;
206
- }
207
-
208
- h1 {
209
- font-size: 24px;
210
- }
211
- .logo-img-pb {
212
- width: 80px; /* Manja veličina loga za tablete */
213
- }
214
- }
215
-
216
- /* Telefoni */
217
- @media (max-width: 480px) {
218
- .button-container {
219
- flex-direction: column;
220
- }
221
-
222
- .button1,
223
- #copyButton,
224
- #deleteButton,
225
- #revertButton,
226
- #forwardButton {
227
- width: 100%; /* Dugmad se šire da popune dostupnu širinu */
228
- margin-bottom: 10px; /* Dodaje razmak između dugmadi */
229
- }
230
-
231
- #transcriptBox {
232
- height: 150px;
233
- font-size: 14px;
234
- }
235
-
236
- h1 {
237
- font-size: 20px;
238
- }
239
-
240
- .textarea-container {
241
- width: 90%; /* Smanjuje širinu textarea kontejnera za bolje uklapanje */
242
- }
243
-
244
- .powered-by {
245
  flex-direction: column;
246
- text-align: center;
247
- }
248
-
249
- .logo-img-pb {
250
- margin: 10px 0; /* Dodaje vertikalni razmak na malim ekranima */
251
- width: 60px; /* Još manja veličina loga za telefone */
252
  }
253
 
254
- .labsoft-link {
255
- flex-direction: column;
256
- align-items: center;
257
  }
258
  }
 
1
  body {
2
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
3
+ background-color: #f7f8fa;
4
+ color: #007bff; /* Unified text color */
 
 
5
  margin: 0;
6
+ padding: 20px;
7
  display: flex;
8
  flex-direction: column;
9
  align-items: center;
10
  }
11
 
12
  h1 {
13
+ color: #007bff;
14
+ margin: 0 0 20px 0;
 
 
 
 
 
 
 
15
  }
16
 
17
+ .form-group {
18
+ margin-bottom: 20px;
19
+ width: 100%;
20
+ max-width: 800px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
  }
22
 
23
+ .form-group label {
24
+ display: block;
25
+ margin-bottom: 8px;
26
+ font-weight: 600;
27
+ color: #007bff;
28
  }
29
 
30
+ textarea {
 
31
  width: 100%;
 
32
  padding: 15px;
33
+ border: 2px solid #ced4da; /* Fuller borders */
34
+ border-radius: 12px; /* More pronounced rounded corners */
35
+ font-size: 16px; /* Larger font size for readability */
36
+ height: 200px;
37
+ resize: vertical;
38
+ background-color: #fff;
39
+ transition: transform 0.3s ease, box-shadow 0.3s ease;
40
+ box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05); /* Subtle shadow */
41
  }
42
 
43
+ textarea:focus {
44
+ transform: translateY(-3px); /* Smoother levitation effect */
45
+ box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
 
 
 
 
 
 
 
 
 
46
  }
47
 
48
+ .button-container {
49
  display: flex;
50
+ gap: 12px;
51
  justify-content: center;
52
+ margin-bottom: 20px;
 
 
53
  }
54
 
55
+ .btn {
56
+ padding: 10px 20px; /* Fuller buttons */
57
+ font-size: 18px; /* Larger font size for buttons */
58
+ border-radius: 8px; /* Rounded edges for buttons */
59
+ border: none;
60
+ cursor: pointer;
61
+ color: #fff;
62
+ background-color: #007bff;
63
+ transition: transform 0.3s ease, box-shadow 0.3s ease;
64
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Subtle shadow */
65
  display: inline-flex;
66
  align-items: center;
67
+ justify-content: center;
 
68
  }
69
 
70
+ .btn:hover {
71
+ transform: translateY(-3px); /* Smooth hover effect */
72
+ box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
 
73
  }
74
 
75
+ .icon-btn {
76
+ gap: 5px; /* Space between icon and text if needed */
 
 
 
 
 
 
 
 
77
  }
78
 
79
+ #copyMessage {
80
+ display: none; /* Placeholder for JavaScript functionality */
 
 
 
 
 
 
 
81
  }
82
 
83
+ .powered-by {
84
+ display: flex;
85
+ justify-content: center;
86
+ align-items: center;
87
+ margin-top: 20px;
88
+ font-size: 14px;
89
  }
90
 
91
+ .labsoft-link {
92
+ display: flex;
93
+ align-items: center;
94
+ color: #007bff;
95
  text-decoration: none;
 
96
  }
97
 
98
+ .logo-img-pb {
99
+ width: 100px;
100
+ height: auto;
101
+ transition: transform 0.5s ease; /* Smooth transition for logo hover */
 
 
 
 
 
 
 
 
 
102
  }
103
 
104
+ .logo-img-pb:hover {
105
+ transform: scale(1.2); /* Slight scale-up on hover */
 
 
 
 
 
 
106
  }
107
 
108
+ /* Adjust the position of the "Powered by" text to align with the logo's mid-section */
109
+ .powered-by {
110
+ position: relative;
111
+ top: -20px; /* Adjust based on your specific layout */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
112
  }
113
 
114
  @media (max-width: 768px) {
115
+ .form-group {
116
+ width: 90%;
 
 
 
 
 
117
  }
118
 
119
  .button-container {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
120
  flex-direction: column;
 
 
 
 
 
 
121
  }
122
 
123
+ .btn {
124
+ width: 100%;
125
+ margin-bottom: 10px;
126
  }
127
  }