Skip to content

Commit

Permalink
buy ticket page dark mode update
Browse files Browse the repository at this point in the history
  • Loading branch information
saumya yadav authored and saumya yadav committed Nov 1, 2024
1 parent 1daf333 commit c704aff
Showing 1 changed file with 11 additions and 6 deletions.
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

0 comments on commit c704aff

Please sign in to comment.