Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
407 changes: 407 additions & 0 deletions content/body/autocomplete.php

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions content/head/autocomplete.php
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<link id="enable-autocomplete" rel="stylesheet" type="text/css" href="css/autocomplete.css" >
120 changes: 120 additions & 0 deletions css/autocomplete.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
.form--autocomplete {
max-width: 600px;
margin: auto;
padding: 40px;
background-color: #f8f9fa;
border-radius: 5px;
}
.form__fieldset {
border: none;
padding: 0;
margin: 0;
}
.form__legend {
font-size: 24px;
font-weight: bold;
margin-bottom: 20px;
}
.form__header {
text-align: center;
margin-bottom: 20px;
}
.form__title {
font-size: 24px;
font-weight: bold;
}
.form__subtitle {
color: #495057;
/* Updated color for better contrast */
}
.form__body {
display: flex;
flex-direction: column;
}
.form__group {
margin-bottom: 20px;
}
.form__group-legend {
font-size: 18px;
font-weight: bold;
margin-bottom: 10px;
}
.form__row {
display: flex;
flex-direction: column;
margin-bottom: 20px;
}
.form__row--two-cols {
flex-direction: row;
justify-content: space-between;
}
.form__row--two-cols .form__field {
width: 48%;
}
.form__row--three-cols {
flex-direction: row;
justify-content: space-between;
}
.form__row--three-cols .form__field {
width: 30%;
}
.form__label {
font-size: 14px;
font-weight: 500;
margin-bottom: 5px;
}
.form__input-container {
position: relative;
}
.form__input {
height: 40px;
padding: 10px;
padding-left: 40px;
width: 100%;
border: 1px solid #ced4da;
border-radius: 5px;
font-size: 14px;
background-color: #fff;
}
.form__input:focus {
outline: none;
border-color: #80bdff;
box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.form__input:disabled {
background-color: #e9ecef;
cursor: not-allowed;
}
.form__input-icon {
position: absolute;
top: 50%;
left: 10px;
transform: translateY(-50%);
pointer-events: none;
}
.form__input-icon .form__icon {
width: 20px;
height: 20px;
color: #6c757d;
}
.form__button {
width: 100%;
padding: 10px;
background-color: #0056b3;
/* Updated color for better contrast */
color: #fff;
font-size: 14px;
font-weight: 500;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.2s;
}
.form__button:hover {
background-color: #004085;
/* Updated color for better contrast */
}
.form__button:disabled {
background-color: #6c757d;
cursor: not-allowed;
}
Binary file added images/autocomplete.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/main-menu/autocomplete.webp
Binary file not shown.
Binary file added images/posters/autocomplete.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading