Update src/static/css/style.css
Browse files- 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: #
|
| 4 |
-
color: #
|
| 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: #
|
| 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 |
-
.
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 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 |
-
.
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
}
|
| 59 |
|
| 60 |
-
|
| 61 |
-
#epikrizaBox {
|
| 62 |
width: 100%;
|
| 63 |
-
height: 250px;
|
| 64 |
padding: 15px;
|
| 65 |
-
border
|
| 66 |
-
border:
|
| 67 |
-
font-size: 16px;
|
| 68 |
-
|
| 69 |
-
resize:
|
|
|
|
|
|
|
|
|
|
| 70 |
}
|
| 71 |
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 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 |
-
.
|
| 87 |
display: flex;
|
|
|
|
| 88 |
justify-content: center;
|
| 89 |
-
|
| 90 |
-
margin-top: 10px;
|
| 91 |
-
font-size: 0.9em;
|
| 92 |
}
|
| 93 |
|
| 94 |
-
.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 95 |
display: inline-flex;
|
| 96 |
align-items: center;
|
| 97 |
-
|
| 98 |
-
text-decoration: none;
|
| 99 |
}
|
| 100 |
|
| 101 |
-
.
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
margin-left: 10px;
|
| 105 |
}
|
| 106 |
|
| 107 |
-
.
|
| 108 |
-
|
| 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 |
-
|
| 120 |
-
|
| 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 |
-
.
|
| 131 |
-
|
| 132 |
-
|
| 133 |
-
|
| 134 |
-
|
|
|
|
| 135 |
}
|
| 136 |
|
| 137 |
-
.
|
| 138 |
-
|
| 139 |
-
|
|
|
|
| 140 |
text-decoration: none;
|
| 141 |
-
cursor: pointer;
|
| 142 |
}
|
| 143 |
|
| 144 |
-
.
|
| 145 |
-
|
| 146 |
-
|
| 147 |
-
|
| 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 |
-
|
| 160 |
-
|
| 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 |
-
|
| 170 |
-
|
| 171 |
-
|
| 172 |
-
/*
|
| 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 |
-
.
|
| 191 |
-
|
| 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 |
-
.
|
| 255 |
-
|
| 256 |
-
|
| 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 |
}
|