Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

buy ticket page dark mode update #883

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
17 changes: 11 additions & 6 deletions buy.html
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,11 @@
font-family: Arial, sans-serif;
}

/* dark mode */
.dark-mode .textLeft {
color: #040404;
}

</style>
</head>

Expand All @@ -364,24 +369,24 @@
<h2>Book Your Ticket</h2>
<form id="ticketForm">
<div class="form-group">
<label for="name">Name</label>
<label for="name" class="textLeft">Name</label>
<input type="text" id="name" name="name" placeholder="Enter your name" required>
</div>
<div class="form-group">
<label for="ticketType">Select ticket type</label>
<label for="ticketType" class="textLeft">Select ticket type</label>
<select id="ticketType" name="ticketType" required>
<option value="">Select Ticket Type</option>
<option value="Bus">Bus ticket</option>
<option value="Train">Train ticket</option>
</select>
</div>
<div class="form-group">
<label for="journeyDate">Date of Journey</label>
<label for="journeyDate" class="textLeft">Date of Journey</label>
<input type="date" id="journeyDate" name="journeyDate" required max="9999-12-31">
</div>

<div class="form-group">
<label for="timeSlot">Time Slot:</label>
<label for="timeSlot" class="textLeft">Time Slot:</label>
<select id="timeSlot" name="timeSlot" required>
<option value="" disabled selected>Select a time slot</option>
<option value="morning">Morning</option>
Expand All @@ -391,11 +396,11 @@ <h2>Book Your Ticket</h2>
</div>

<div class="form-group">
<label for="departure">Departure</label>
<label for="departure" class="textLeft">Departure</label>
<input type="text" id="departure" name="departure" placeholder="From" required>
</div>
<div class="form-group">
<label for="destination">Destination</label>
<label for="destination" class="textLeft">Destination</label>
<input type="text" id="destination" name="destination" placeholder="To" required>
</div>
<a href="check_availability.html" class="remove_underline">
Expand Down
Loading