Spaces:
Sleeping
Sleeping
Update static/style.css
Browse files- static/style.css +109 -120
static/style.css
CHANGED
|
@@ -1,153 +1,142 @@
|
|
| 1 |
-
|
| 2 |
-
* {
|
| 3 |
-
box-sizing: border-box;
|
| 4 |
-
margin: 0;
|
| 5 |
-
padding: 0;
|
| 6 |
-
}
|
| 7 |
|
| 8 |
html, body {
|
| 9 |
height: 100%;
|
| 10 |
overflow: hidden;
|
| 11 |
-
background-color: #
|
| 12 |
-
font-family: -apple-system,
|
| 13 |
}
|
| 14 |
|
| 15 |
.app-container {
|
| 16 |
-
height: 100vh;
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
padding: 16px;
|
| 20 |
-
display: flex;
|
| 21 |
-
flex-direction: column;
|
| 22 |
-
gap: 12px;
|
| 23 |
}
|
| 24 |
|
| 25 |
-
/*
|
| 26 |
-
.
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
border-radius: 12px;
|
| 34 |
-
font-size: 1rem;
|
| 35 |
-
font-weight: 600;
|
| 36 |
-
cursor: pointer;
|
| 37 |
-
box-shadow: 0 4px 12px rgba(74, 144, 226, 0.25);
|
| 38 |
-
transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
|
| 39 |
}
|
| 40 |
|
| 41 |
-
.
|
| 42 |
-
|
|
|
|
|
|
|
| 43 |
}
|
| 44 |
|
| 45 |
-
.btn-
|
| 46 |
-
|
| 47 |
-
|
|
|
|
| 48 |
}
|
| 49 |
-
|
| 50 |
-
.btn-
|
| 51 |
-
|
| 52 |
-
cursor: not-allowed;
|
| 53 |
-
transform: none;
|
| 54 |
}
|
| 55 |
|
| 56 |
-
/*
|
| 57 |
-
.
|
| 58 |
-
|
| 59 |
-
border-radius: 18px;
|
| 60 |
-
flex: 1;
|
| 61 |
-
padding: 12px;
|
| 62 |
-
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
|
| 63 |
-
display: flex;
|
| 64 |
-
flex-direction: column;
|
| 65 |
-
overflow: hidden;
|
| 66 |
position: relative;
|
|
|
|
|
|
|
|
|
|
| 67 |
}
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
display: flex;
|
| 72 |
-
flex-direction: column;
|
| 73 |
-
align-items: center;
|
| 74 |
-
justify-content: center;
|
| 75 |
-
gap: 10px;
|
| 76 |
-
margin: auto;
|
| 77 |
-
width: 80%;
|
| 78 |
}
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
height: 6px;
|
| 83 |
-
background: #f0f0f0;
|
| 84 |
-
border-radius: 10px;
|
| 85 |
-
overflow: hidden;
|
| 86 |
-
}
|
| 87 |
-
|
| 88 |
-
.progress-bar {
|
| 89 |
-
width: 0%;
|
| 90 |
-
height: 100%;
|
| 91 |
-
background: linear-gradient(90deg, #4a90e2, #00f0ff);
|
| 92 |
-
border-radius: 10px;
|
| 93 |
-
transition: width 0.1s ease;
|
| 94 |
}
|
| 95 |
-
|
| 96 |
-
|
| 97 |
-
font-size: 0.85rem;
|
| 98 |
-
color: #777777;
|
| 99 |
}
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
.table-responsive {
|
| 103 |
-
flex: 1;
|
| 104 |
-
overflow-y: auto;
|
| 105 |
-
overflow-x: auto;
|
| 106 |
-
border-radius: 10px;
|
| 107 |
}
|
| 108 |
|
| 109 |
-
|
| 110 |
-
|
| 111 |
-
|
| 112 |
-
border-
|
| 113 |
-
font-size:
|
| 114 |
-
|
| 115 |
}
|
|
|
|
|
|
|
| 116 |
|
| 117 |
-
|
| 118 |
-
|
| 119 |
-
|
| 120 |
-
padding: 12px
|
| 121 |
-
|
| 122 |
-
background: #ffffff;
|
| 123 |
-
position: sticky;
|
| 124 |
-
top: 0;
|
| 125 |
-
z-index: 2;
|
| 126 |
}
|
| 127 |
|
| 128 |
-
|
| 129 |
-
|
| 130 |
-
padding: 10px 8px;
|
| 131 |
-
border-bottom: 1px solid #fcfcfc;
|
| 132 |
}
|
| 133 |
-
|
| 134 |
-
|
| 135 |
-
|
| 136 |
-
animation: fadeInRow 0.3s ease-in forwards;
|
| 137 |
}
|
| 138 |
-
|
| 139 |
-
|
| 140 |
-
from { opacity: 0; }
|
| 141 |
-
to { opacity: 1; }
|
| 142 |
}
|
| 143 |
-
|
| 144 |
-
|
| 145 |
-
|
| 146 |
-
text-align: center;
|
| 147 |
-
color: #aaaaaa;
|
| 148 |
-
font-size: 0.88rem;
|
| 149 |
-
padding: 30px;
|
| 150 |
-
line-height: 1.5;
|
| 151 |
}
|
|
|
|
|
|
|
| 152 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 153 |
.hidden { display: none !important; }
|
|
|
|
| 1 |
+
* { box-sizing: border-box; margin: 0; padding: 0; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
html, body {
|
| 4 |
height: 100%;
|
| 5 |
overflow: hidden;
|
| 6 |
+
background-color: #0d1117; /* Tema dark modern */
|
| 7 |
+
font-family: -apple-system, "Segoe UI", Roboto, sans-serif;
|
| 8 |
}
|
| 9 |
|
| 10 |
.app-container {
|
| 11 |
+
height: 100vh; max-width: 600px;
|
| 12 |
+
margin: 0 auto; padding: 16px;
|
| 13 |
+
display: flex; flex-direction: column; gap: 12px;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
}
|
| 15 |
|
| 16 |
+
/* Header & Typography Glow */
|
| 17 |
+
.app-bar {
|
| 18 |
+
background: rgba(255,255,255,0.05);
|
| 19 |
+
backdrop-filter: blur(10px);
|
| 20 |
+
border: 1px solid rgba(255,255,255,0.1);
|
| 21 |
+
padding: 14px 20px;
|
| 22 |
+
border-radius: 14px;
|
| 23 |
+
display: flex; justify-content: space-between; align-items: center;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
}
|
| 25 |
|
| 26 |
+
.text-glow {
|
| 27 |
+
color: #fff;
|
| 28 |
+
font-size: 1.25rem; font-weight: 600;
|
| 29 |
+
text-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
|
| 30 |
}
|
| 31 |
|
| 32 |
+
.btn-icon {
|
| 33 |
+
background: transparent; border: none;
|
| 34 |
+
color: #00f0ff; cursor: pointer;
|
| 35 |
+
transition: 0.3s;
|
| 36 |
}
|
| 37 |
+
.btn-icon:disabled { color: #444; cursor: not-allowed; }
|
| 38 |
+
.btn-icon:not(:disabled):hover {
|
| 39 |
+
color: #ff003c; filter: drop-shadow(0 0 8px rgba(255, 0, 60, 0.6));
|
|
|
|
|
|
|
| 40 |
}
|
| 41 |
|
| 42 |
+
/* Input Row */
|
| 43 |
+
.input-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
|
| 44 |
+
.field-box {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 45 |
position: relative;
|
| 46 |
+
background: rgba(255,255,255,0.03);
|
| 47 |
+
border: 1px solid rgba(255,255,255,0.1);
|
| 48 |
+
border-radius: 12px; transition: 0.3s;
|
| 49 |
}
|
| 50 |
+
.field-box:focus-within {
|
| 51 |
+
border-color: #00f0ff;
|
| 52 |
+
box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 53 |
}
|
| 54 |
+
.field-box input {
|
| 55 |
+
width: 100%; background: transparent; border: none; outline: none;
|
| 56 |
+
padding: 20px 10px 8px; color: #fff; text-align: center; font-weight: 500;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 57 |
}
|
| 58 |
+
.field-box label {
|
| 59 |
+
position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
|
| 60 |
+
color: #888; font-size: 0.85rem; transition: 0.3s; pointer-events: none;
|
|
|
|
| 61 |
}
|
| 62 |
+
.field-box input:focus + label, .field-box input:not(:placeholder-shown) + label {
|
| 63 |
+
top: 12px; font-size: 0.7rem; color: #00f0ff;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 64 |
}
|
| 65 |
|
| 66 |
+
/* Button Generate */
|
| 67 |
+
.btn-action {
|
| 68 |
+
width: 100%; background: linear-gradient(90deg, #00f0ff, #0066ff);
|
| 69 |
+
color: white; border: none; padding: 14px; border-radius: 12px;
|
| 70 |
+
font-size: 1rem; font-weight: 600; cursor: pointer;
|
| 71 |
+
box-shadow: 0 4px 15px rgba(0, 240, 255, 0.3); transition: 0.2s;
|
| 72 |
}
|
| 73 |
+
.btn-action:disabled { opacity: 0.5; cursor: not-allowed; }
|
| 74 |
+
.btn-action:not(:disabled):hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0, 240, 255, 0.5); }
|
| 75 |
|
| 76 |
+
/* Display Box & Loader */
|
| 77 |
+
.display-box {
|
| 78 |
+
background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05);
|
| 79 |
+
border-radius: 18px; flex: 1; padding: 12px;
|
| 80 |
+
display: flex; flex-direction: column; overflow: hidden; position: relative;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 81 |
}
|
| 82 |
|
| 83 |
+
.progress-wrapper {
|
| 84 |
+
display: flex; flex-direction: column; align-items: center; gap: 15px; margin: auto; width: 80%;
|
|
|
|
|
|
|
| 85 |
}
|
| 86 |
+
.progress-track {
|
| 87 |
+
width: 100%; height: 8px; background: rgba(255,255,255,0.05);
|
| 88 |
+
border-radius: 10px; overflow: hidden; border: 1px solid rgba(255,255,255,0.1);
|
|
|
|
| 89 |
}
|
| 90 |
+
.progress-bar {
|
| 91 |
+
width: 0%; height: 100%; border-radius: 10px; transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
|
|
|
|
|
| 92 |
}
|
| 93 |
+
.glow-bar {
|
| 94 |
+
background: linear-gradient(90deg, #ff003c, #00f0ff);
|
| 95 |
+
box-shadow: 0 0 15px rgba(0, 240, 255, 0.5);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 96 |
}
|
| 97 |
+
.neon-text { color: #00f0ff; font-size: 0.85rem; letter-spacing: 0.5px; animation: pulseText 1.5s infinite; }
|
| 98 |
+
@keyframes pulseText { 0%, 100% { opacity: 0.7; } 50% { opacity: 1; text-shadow: 0 0 8px #00f0ff; } }
|
| 99 |
|
| 100 |
+
/* Table */
|
| 101 |
+
.table-responsive { flex: 1; overflow: auto; border-radius: 10px; }
|
| 102 |
+
table { width: 100%; border-collapse: collapse; font-size: 0.85rem; text-align: center; }
|
| 103 |
+
table th {
|
| 104 |
+
color: #00f0ff; font-weight: 600; padding: 12px 10px;
|
| 105 |
+
border-bottom: 2px solid rgba(255,255,255,0.1);
|
| 106 |
+
background: #0d1117; position: sticky; top: 0; z-index: 2;
|
| 107 |
+
}
|
| 108 |
+
table td { color: #ccc; padding: 10px 8px; border-bottom: 1px solid rgba(255,255,255,0.05); }
|
| 109 |
+
table tbody tr { animation: fadeInRow 0.4s ease-out forwards; }
|
| 110 |
+
table tbody tr:hover td { background-color: rgba(255,255,255,0.05); color: #fff; }
|
| 111 |
+
@keyframes fadeInRow { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
|
| 112 |
+
|
| 113 |
+
/* Glass Modal Popup */
|
| 114 |
+
.modal-overlay {
|
| 115 |
+
position: fixed; top: 0; left: 0; width: 100%; height: 100%;
|
| 116 |
+
background: rgba(0,0,0,0.6); backdrop-filter: blur(5px);
|
| 117 |
+
display: flex; align-items: center; justify-content: center; z-index: 100;
|
| 118 |
+
opacity: 0; pointer-events: none; transition: 0.3s ease;
|
| 119 |
+
}
|
| 120 |
+
.modal-overlay.active { opacity: 1; pointer-events: auto; }
|
| 121 |
+
.glass-panel {
|
| 122 |
+
background: rgba(13, 17, 23, 0.7); backdrop-filter: blur(20px);
|
| 123 |
+
border: 1px solid rgba(0, 240, 255, 0.2);
|
| 124 |
+
box-shadow: 0 0 25px rgba(255, 0, 60, 0.15), inset 0 0 15px rgba(0, 240, 255, 0.1);
|
| 125 |
+
padding: 30px; border-radius: 20px; width: 90%; max-width: 400px;
|
| 126 |
+
text-align: center; transform: scale(0.9); transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
| 127 |
+
}
|
| 128 |
+
.modal-overlay.active .glass-panel { transform: scale(1); }
|
| 129 |
+
|
| 130 |
+
.neon-text-blue { color: #fff; margin-bottom: 10px; text-shadow: 0 0 10px #00f0ff; }
|
| 131 |
+
.modal-desc { color: #aaa; font-size: 0.9rem; margin-bottom: 25px; line-height: 1.5; }
|
| 132 |
+
.modal-actions { display: flex; gap: 15px; margin-bottom: 20px; }
|
| 133 |
+
.btn-modal { flex: 1; padding: 12px; border-radius: 10px; font-weight: 600; cursor: pointer; transition: 0.2s; }
|
| 134 |
+
.btn-outline-pink { background: transparent; color: #ff003c; border: 1px solid #ff003c; }
|
| 135 |
+
.btn-outline-pink:hover { background: #ff003c; color: #fff; box-shadow: 0 0 15px rgba(255, 0, 60, 0.4); }
|
| 136 |
+
.btn-glow-blue { background: #00f0ff; color: #000; border: none; }
|
| 137 |
+
.btn-glow-blue:hover { background: #fff; box-shadow: 0 0 15px rgba(0, 240, 255, 0.6); }
|
| 138 |
+
.btn-close-modal { background: transparent; border: none; color: #666; font-size: 0.9rem; cursor: pointer; }
|
| 139 |
+
.btn-close-modal:hover { color: #fff; }
|
| 140 |
+
|
| 141 |
+
.empty-state { margin: auto; text-align: center; color: #666; font-size: 0.9rem; padding: 30px; line-height: 1.6; }
|
| 142 |
.hidden { display: none !important; }
|