first commit
This commit is contained in:
+166
@@ -0,0 +1,166 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="cs">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Hledám to pro vás...</title>
|
||||
<style>
|
||||
/* Styl specifický pro čisté rozhraní vyhledávače */
|
||||
body {
|
||||
font-family: Arial, sans-serif;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
height: 100vh;
|
||||
background-color: #fff;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.header {
|
||||
width: 100%;
|
||||
height: 60px;
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
padding: 10px 20px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.mockup-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
margin-top: 10vh;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.logo {
|
||||
width: 300px;
|
||||
height: auto;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.search-wrapper {
|
||||
position: relative;
|
||||
width: 90%;
|
||||
max-width: 584px;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.search-input {
|
||||
width: 100%;
|
||||
height: 46px;
|
||||
border: 1px solid #dfe1e5;
|
||||
border-radius: 24px;
|
||||
padding: 0 45px 0 20px;
|
||||
font-size: 16px;
|
||||
outline: none;
|
||||
box-shadow: none;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.search-input:hover {
|
||||
box-shadow: 0 1px 6px rgba(32, 33, 36, .28);
|
||||
border-color: rgba(223, 225, 229, 0);
|
||||
}
|
||||
|
||||
.search-icon {
|
||||
position: absolute;
|
||||
right: 15px;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
color: #4285f4;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.buttons {
|
||||
display: flex;
|
||||
gap: 15px;
|
||||
}
|
||||
|
||||
.btn-search {
|
||||
background-color: #f8f9fa;
|
||||
border: 1px solid #f8f9fa;
|
||||
border-radius: 4px;
|
||||
color: #3c4043;
|
||||
font-size: 14px;
|
||||
margin: 11px 4px;
|
||||
padding: 0 16px;
|
||||
line-height: 27px;
|
||||
height: 36px;
|
||||
min-width: 54px;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.btn-search:hover,
|
||||
.btn-search.active {
|
||||
box-shadow: 0 1px 1px rgba(0, 0, 0, .1);
|
||||
background-color: #f8f9fa;
|
||||
border: 1px solid #dadce0;
|
||||
color: #202124;
|
||||
}
|
||||
|
||||
/* Fake Cursor */
|
||||
#fake-cursor {
|
||||
position: fixed;
|
||||
width: 24px;
|
||||
height: 36px;
|
||||
top: 80vh;
|
||||
left: 80vw;
|
||||
pointer-events: none;
|
||||
z-index: 9999;
|
||||
/* Transition pro plynulý pohyb */
|
||||
transition: all 1s ease-in-out;
|
||||
background-image: url('cursor.svg');
|
||||
background-size: contain;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
/* Užitečné zprávy pro uživatele */
|
||||
#status-msg {
|
||||
position: fixed;
|
||||
bottom: 20px;
|
||||
font-size: 14px;
|
||||
color: #888;
|
||||
background: #fff;
|
||||
padding: 5px 10px;
|
||||
border-radius: 4px;
|
||||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="mockup-container">
|
||||
<!-- Zde si můžete později změnit logo.svg za vlastní logo.png -->
|
||||
<img src="logo.svg" alt="Hledání" class="logo" id="logo">
|
||||
|
||||
<div class="search-wrapper">
|
||||
<input type="text" id="fake-input" class="search-input" readonly>
|
||||
<svg class="search-icon" focusable="false" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="20"
|
||||
height="20">
|
||||
<path fill="#4285f4"
|
||||
d="M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z">
|
||||
</path>
|
||||
</svg>
|
||||
</div>
|
||||
|
||||
<div class="buttons">
|
||||
<div class="btn-search" id="btn-submit">Search by Google</div>
|
||||
<div class="btn-search">I'm Feeling Lucky</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="fake-cursor"></div>
|
||||
|
||||
<div id="status-msg">Preparing search...</div>
|
||||
|
||||
<script src="search.js"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user