Update results.html
Browse files- results.html +85 -18
results.html
CHANGED
|
@@ -35,37 +35,46 @@
|
|
| 35 |
}
|
| 36 |
.orb-1 { top: -10%; left: -10%; width: 50vw; height: 50vw; background: var(--accent); }
|
| 37 |
.orb-2 { bottom: -10%; right: -10%; width: 40vw; height: 40vw; background: var(--accent-2); }
|
|
|
|
| 38 |
.navbar {
|
| 39 |
position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
|
| 40 |
-
width: 95%; max-width: 1300px; height: 72px;
|
| 41 |
background: var(--bg-nav); backdrop-filter: blur(24px);
|
| 42 |
border: 1px solid var(--border); border-radius: 20px;
|
| 43 |
-
display: flex; align-items: center; justify-content: space-between;
|
| 44 |
-
padding:
|
|
|
|
| 45 |
}
|
| 46 |
.brand { font-weight: 700; font-size: 22px; text-decoration: none; color: var(--text-main); display: flex; align-items: center; gap: 10px; }
|
| 47 |
-
.brand-icon { width: 38px; height: 38px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); border-radius: 11px; display: flex; align-items: center; justify-content: center; color: #fff; }
|
| 48 |
-
.search-container { flex: 1; max-width: 600px; margin: 0
|
| 49 |
.search-bar {
|
| 50 |
display: flex; align-items: center; background: #f1f5f9;
|
| 51 |
border: 1px solid var(--border); border-radius: 100px; padding: 4px; transition: var(--transition);
|
|
|
|
| 52 |
}
|
| 53 |
.search-bar:focus-within { border-color: var(--accent); background: #ffffff; box-shadow: 0 0 15px rgba(99,102,241,0.1); }
|
| 54 |
-
.search-bar input { flex: 1; background: transparent; border: none; padding: 10px 18px; color: var(--text-main); font-size: 15px; }
|
| 55 |
.search-bar input::placeholder { color: var(--text-sub); }
|
|
|
|
| 56 |
.tabs-bar {
|
| 57 |
position: fixed; top: 105px; left: 50%; transform: translateX(-50%);
|
| 58 |
width: 95%; max-width: 1300px; display: flex; gap: 8px; z-index: 999;
|
|
|
|
| 59 |
}
|
|
|
|
|
|
|
| 60 |
.tab-pill {
|
| 61 |
-
padding: 8px
|
| 62 |
border: 1px solid var(--border); color: var(--text-sub); font-size: 13px;
|
| 63 |
-
cursor: pointer; transition: 0.3s; display: flex; align-items: center; gap:
|
| 64 |
-
box-shadow: 0 2px 10px rgba(0,0,0,0.02);
|
| 65 |
}
|
| 66 |
.tab-pill.active { background: var(--accent); color: #fff; border-color: var(--accent); }
|
| 67 |
-
|
| 68 |
-
.
|
|
|
|
|
|
|
| 69 |
/* =========================================
|
| 70 |
2. إخفاء آثار GOOGLE CSE بشكل جذري
|
| 71 |
========================================= */
|
|
@@ -73,12 +82,18 @@
|
|
| 73 |
|
| 74 |
.gsc-result {
|
| 75 |
background: var(--bg-card) !important; border: 1px solid var(--border) !important;
|
| 76 |
-
border-radius: 16px !important; padding:
|
| 77 |
transition: var(--transition) !important; box-shadow: 0 4px 20px rgba(0,0,0,0.02) !important;
|
| 78 |
}
|
|
|
|
|
|
|
|
|
|
| 79 |
.gsc-result:hover { border-color: var(--accent) !important; transform: translateX(-5px) !important; background: #f8fafc !important; box-shadow: 0 8px 30px rgba(99,102,241,0.08) !important; }
|
| 80 |
-
.gs-title, .gs-title * { color: var(--accent) !important; text-decoration: none !important; font-size:
|
| 81 |
-
|
|
|
|
|
|
|
|
|
|
| 82 |
|
| 83 |
/* الخيار النووي: إخفاء كل ما يمت لجوجل بصلة بما في ذلك تابات (الكل / صور) */
|
| 84 |
.gsc-adBlock,
|
|
@@ -110,10 +125,40 @@
|
|
| 110 |
pointer-events: none !important;
|
| 111 |
}
|
| 112 |
.gsc-above-wrapper-area { border: none !important; padding: 0 !important; margin: 0 !important; height: 0 !important; }
|
| 113 |
-
|
|
|
|
|
|
|
|
|
|
| 114 |
.ai-avatar { width: 60px; height: 60px; border-radius: 50%; background: var(--bg-base); border: 2px solid var(--accent); padding: 5px; margin-bottom: 15px; }
|
| 115 |
.btn-ai { display: block; margin-top: 15px; padding: 12px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; border-radius: 12px; text-decoration: none; font-weight: 600; font-size: 14px; }
|
| 116 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 117 |
</style>
|
| 118 |
</head>
|
| 119 |
<body>
|
|
@@ -132,7 +177,7 @@
|
|
| 132 |
</button>
|
| 133 |
</form>
|
| 134 |
</div>
|
| 135 |
-
<div style="width: 40px;"></div>
|
| 136 |
</nav>
|
| 137 |
<div class="tabs-bar">
|
| 138 |
<button class="tab-pill active" data-tab="all"><i class="fa-solid fa-globe"></i> الويب</button>
|
|
@@ -142,10 +187,14 @@
|
|
| 142 |
</div>
|
| 143 |
<div class="page-wrapper">
|
| 144 |
<main class="results-area">
|
| 145 |
-
<div id="loading-text" style="color:var(--text-sub); margin-bottom:20px;">جاري استدعاء البيانات من SurfGO...</div>
|
| 146 |
<div id="results-container"></div>
|
| 147 |
</main>
|
| 148 |
<aside class="sidebar">
|
|
|
|
|
|
|
|
|
|
|
|
|
| 149 |
<div class="widget">
|
| 150 |
<div class="brand-icon" style="margin: 0 auto 15px auto;"><i class="fa-solid fa-server"></i></div>
|
| 151 |
<h3 style="font-size: 16px; margin-bottom: 15px;">المحركات النشطة</h3>
|
|
@@ -181,6 +230,7 @@
|
|
| 181 |
</div>
|
| 182 |
<p style="font-size: 11px; color: var(--text-sub); margin-top: 15px;">مدعوم بواسطة AnesNT Core</p>
|
| 183 |
</div>
|
|
|
|
| 184 |
</aside>
|
| 185 |
</div>
|
| 186 |
<script>
|
|
@@ -196,6 +246,23 @@
|
|
| 196 |
const inputField = document.getElementById('main-input');
|
| 197 |
const resultsContainer = document.getElementById('results-container');
|
| 198 |
const loadingText = document.getElementById('loading-text');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 199 |
|
| 200 |
// Initial set active tab based on URL
|
| 201 |
document.querySelectorAll('.tab-pill').forEach(btn => {
|
|
|
|
| 35 |
}
|
| 36 |
.orb-1 { top: -10%; left: -10%; width: 50vw; height: 50vw; background: var(--accent); }
|
| 37 |
.orb-2 { bottom: -10%; right: -10%; width: 40vw; height: 40vw; background: var(--accent-2); }
|
| 38 |
+
|
| 39 |
.navbar {
|
| 40 |
position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
|
| 41 |
+
width: 95%; max-width: 1300px; height: auto; min-height: 72px;
|
| 42 |
background: var(--bg-nav); backdrop-filter: blur(24px);
|
| 43 |
border: 1px solid var(--border); border-radius: 20px;
|
| 44 |
+
display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
|
| 45 |
+
padding: 10px 20px; z-index: 1000; box-shadow: 0 10px 30px rgba(0,0,0,0.05);
|
| 46 |
+
gap: 15px;
|
| 47 |
}
|
| 48 |
.brand { font-weight: 700; font-size: 22px; text-decoration: none; color: var(--text-main); display: flex; align-items: center; gap: 10px; }
|
| 49 |
+
.brand-icon { width: 38px; height: 38px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); border-radius: 11px; display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; }
|
| 50 |
+
.search-container { flex: 1; max-width: 600px; width: 100%; margin: 0; }
|
| 51 |
.search-bar {
|
| 52 |
display: flex; align-items: center; background: #f1f5f9;
|
| 53 |
border: 1px solid var(--border); border-radius: 100px; padding: 4px; transition: var(--transition);
|
| 54 |
+
width: 100%;
|
| 55 |
}
|
| 56 |
.search-bar:focus-within { border-color: var(--accent); background: #ffffff; box-shadow: 0 0 15px rgba(99,102,241,0.1); }
|
| 57 |
+
.search-bar input { flex: 1; background: transparent; border: none; padding: 10px 18px; color: var(--text-main); font-size: 15px; width: 100%; }
|
| 58 |
.search-bar input::placeholder { color: var(--text-sub); }
|
| 59 |
+
|
| 60 |
.tabs-bar {
|
| 61 |
position: fixed; top: 105px; left: 50%; transform: translateX(-50%);
|
| 62 |
width: 95%; max-width: 1300px; display: flex; gap: 8px; z-index: 999;
|
| 63 |
+
overflow-x: auto; padding-bottom: 5px; scrollbar-width: none; /* Firefox */
|
| 64 |
}
|
| 65 |
+
.tabs-bar::-webkit-scrollbar { display: none; /* Safari and Chrome */ }
|
| 66 |
+
|
| 67 |
.tab-pill {
|
| 68 |
+
padding: 8px 16px; border-radius: 100px; background: var(--bg-card);
|
| 69 |
border: 1px solid var(--border); color: var(--text-sub); font-size: 13px;
|
| 70 |
+
cursor: pointer; transition: 0.3s; display: flex; align-items: center; gap: 6px;
|
| 71 |
+
box-shadow: 0 2px 10px rgba(0,0,0,0.02); white-space: nowrap;
|
| 72 |
}
|
| 73 |
.tab-pill.active { background: var(--accent); color: #fff; border-color: var(--accent); }
|
| 74 |
+
|
| 75 |
+
.page-wrapper { max-width: 1300px; margin: 180px auto 50px; padding: 0 16px; display: flex; flex-direction: column; gap: 30px; }
|
| 76 |
+
.results-area { min-width: 0; width: 100%; }
|
| 77 |
+
|
| 78 |
/* =========================================
|
| 79 |
2. إخفاء آثار GOOGLE CSE بشكل جذري
|
| 80 |
========================================= */
|
|
|
|
| 82 |
|
| 83 |
.gsc-result {
|
| 84 |
background: var(--bg-card) !important; border: 1px solid var(--border) !important;
|
| 85 |
+
border-radius: 16px !important; padding: 16px !important; margin-bottom: 15px !important;
|
| 86 |
transition: var(--transition) !important; box-shadow: 0 4px 20px rgba(0,0,0,0.02) !important;
|
| 87 |
}
|
| 88 |
+
@media (min-width: 768px) {
|
| 89 |
+
.gsc-result { padding: 22px !important; }
|
| 90 |
+
}
|
| 91 |
.gsc-result:hover { border-color: var(--accent) !important; transform: translateX(-5px) !important; background: #f8fafc !important; box-shadow: 0 8px 30px rgba(99,102,241,0.08) !important; }
|
| 92 |
+
.gs-title, .gs-title * { color: var(--accent) !important; text-decoration: none !important; font-size: 16px !important; }
|
| 93 |
+
@media (min-width: 768px) {
|
| 94 |
+
.gs-title, .gs-title * { font-size: 18px !important; }
|
| 95 |
+
}
|
| 96 |
+
.gs-snippet { color: var(--text-sub) !important; line-height: 1.6 !important; font-size: 14px !important; }
|
| 97 |
|
| 98 |
/* الخيار النووي: إخفاء كل ما يمت لجوجل بصلة بما في ذلك تابات (الكل / صور) */
|
| 99 |
.gsc-adBlock,
|
|
|
|
| 125 |
pointer-events: none !important;
|
| 126 |
}
|
| 127 |
.gsc-above-wrapper-area { border: none !important; padding: 0 !important; margin: 0 !important; height: 0 !important; }
|
| 128 |
+
|
| 129 |
+
.sidebar { width: 100%; order: 2; margin-top: 20px; }
|
| 130 |
+
|
| 131 |
+
.widget { background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px; padding: 20px; text-align: center; box-shadow: 0 4px 20px rgba(0,0,0,0.03); }
|
| 132 |
.ai-avatar { width: 60px; height: 60px; border-radius: 50%; background: var(--bg-base); border: 2px solid var(--accent); padding: 5px; margin-bottom: 15px; }
|
| 133 |
.btn-ai { display: block; margin-top: 15px; padding: 12px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; border-radius: 12px; text-decoration: none; font-weight: 600; font-size: 14px; }
|
| 134 |
+
|
| 135 |
+
/* Tablet & Desktop Layout Adjustments */
|
| 136 |
+
@media (min-width: 768px) {
|
| 137 |
+
.navbar { flex-wrap: nowrap; padding: 0 20px; height: 72px; gap: 0; }
|
| 138 |
+
.search-container { margin: 0 24px; }
|
| 139 |
+
.tabs-bar { top: 105px; overflow-x: visible; padding-bottom: 0; justify-content: flex-start; }
|
| 140 |
+
.tab-pill { padding: 8px 20px; font-size: 13px; gap: 8px; }
|
| 141 |
+
.page-wrapper { margin: 180px auto 50px; grid-template-columns: 1fr 300px; display: grid; }
|
| 142 |
+
.sidebar { order: unset; margin-top: 0; }
|
| 143 |
+
}
|
| 144 |
+
|
| 145 |
+
@media (max-width: 767px) {
|
| 146 |
+
.navbar { top: 10px; border-radius: 16px; padding: 12px 16px; }
|
| 147 |
+
.brand { font-size: 18px; }
|
| 148 |
+
.brand-icon { width: 32px; height: 32px; border-radius: 8px; font-size: 14px; }
|
| 149 |
+
.tabs-bar { top: 135px; } /* Adjust based on new navbar height */
|
| 150 |
+
.page-wrapper { margin-top: 190px; }
|
| 151 |
+
}
|
| 152 |
+
|
| 153 |
+
/* Collapsible Sidebar on Mobile */
|
| 154 |
+
.sidebar-toggle { display: none; width: 100%; background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 15px; text-align: center; font-weight: 600; color: var(--text-main); cursor: pointer; margin-bottom: 15px; box-shadow: 0 2px 10px rgba(0,0,0,0.02); }
|
| 155 |
+
.sidebar-content { display: block; }
|
| 156 |
+
|
| 157 |
+
@media (max-width: 767px) {
|
| 158 |
+
.sidebar-toggle { display: block; }
|
| 159 |
+
.sidebar-content { display: none; }
|
| 160 |
+
.sidebar-content.active { display: block; }
|
| 161 |
+
}
|
| 162 |
</style>
|
| 163 |
</head>
|
| 164 |
<body>
|
|
|
|
| 177 |
</button>
|
| 178 |
</form>
|
| 179 |
</div>
|
| 180 |
+
<div class="hidden md:block" style="width: 40px;"></div>
|
| 181 |
</nav>
|
| 182 |
<div class="tabs-bar">
|
| 183 |
<button class="tab-pill active" data-tab="all"><i class="fa-solid fa-globe"></i> الويب</button>
|
|
|
|
| 187 |
</div>
|
| 188 |
<div class="page-wrapper">
|
| 189 |
<main class="results-area">
|
| 190 |
+
<div id="loading-text" style="color:var(--text-sub); margin-bottom:20px; font-size: 14px;">جاري استدعاء البيانات من SurfGO...</div>
|
| 191 |
<div id="results-container"></div>
|
| 192 |
</main>
|
| 193 |
<aside class="sidebar">
|
| 194 |
+
<button class="sidebar-toggle" id="sidebarToggle">
|
| 195 |
+
<i class="fa-solid fa-server" style="margin-left: 8px; color: var(--accent);"></i> المحركات النشطة <i class="fa-solid fa-chevron-down" style="margin-right: 8px; font-size: 12px;"></i>
|
| 196 |
+
</button>
|
| 197 |
+
<div class="sidebar-content" id="sidebarContent">
|
| 198 |
<div class="widget">
|
| 199 |
<div class="brand-icon" style="margin: 0 auto 15px auto;"><i class="fa-solid fa-server"></i></div>
|
| 200 |
<h3 style="font-size: 16px; margin-bottom: 15px;">المحركات النشطة</h3>
|
|
|
|
| 230 |
</div>
|
| 231 |
<p style="font-size: 11px; color: var(--text-sub); margin-top: 15px;">مدعوم بواسطة AnesNT Core</p>
|
| 232 |
</div>
|
| 233 |
+
</div>
|
| 234 |
</aside>
|
| 235 |
</div>
|
| 236 |
<script>
|
|
|
|
| 246 |
const inputField = document.getElementById('main-input');
|
| 247 |
const resultsContainer = document.getElementById('results-container');
|
| 248 |
const loadingText = document.getElementById('loading-text');
|
| 249 |
+
const sidebarToggle = document.getElementById('sidebarToggle');
|
| 250 |
+
const sidebarContent = document.getElementById('sidebarContent');
|
| 251 |
+
|
| 252 |
+
// Sidebar Toggle for Mobile
|
| 253 |
+
if(sidebarToggle) {
|
| 254 |
+
sidebarToggle.addEventListener('click', () => {
|
| 255 |
+
sidebarContent.classList.toggle('active');
|
| 256 |
+
const icon = sidebarToggle.querySelector('.fa-chevron-down, .fa-chevron-up');
|
| 257 |
+
if(sidebarContent.classList.contains('active')) {
|
| 258 |
+
icon.classList.remove('fa-chevron-down');
|
| 259 |
+
icon.classList.add('fa-chevron-up');
|
| 260 |
+
} else {
|
| 261 |
+
icon.classList.remove('fa-chevron-up');
|
| 262 |
+
icon.classList.add('fa-chevron-down');
|
| 263 |
+
}
|
| 264 |
+
});
|
| 265 |
+
}
|
| 266 |
|
| 267 |
// Initial set active tab based on URL
|
| 268 |
document.querySelectorAll('.tab-pill').forEach(btn => {
|