🏨 Hotel Booking Enhancements: - Implemented Eagle Booking Advanced Pricing add-on - Added Booking.com-style rate management system - Created professional calendar interface for pricing - Integrated deals and discounts functionality 💰 Advanced Pricing Features: - Dynamic pricing models (per room, per person, per adult) - Base rates, adult rates, and child rates management - Length of stay discounts and early bird deals - Mobile rates and secret deals implementation - Seasonal promotions and flash sales 📅 Availability Management: - Real-time availability tracking - Stop sell and restriction controls - Closed to arrival/departure functionality - Minimum/maximum stay requirements - Automatic sold-out management 💳 Payment Integration: - Maintained Redsys payment gateway integration - Seamless integration with existing Eagle Booking - No modifications to core Eagle Booking plugin 🛠️ Technical Implementation: - Custom database tables for advanced pricing - WordPress hooks and filters integration - AJAX-powered admin interface - Data migration from existing Eagle Booking - Professional calendar view for revenue management 📊 Admin Interface: - Booking.com-style management dashboard - Visual rate and availability calendar - Bulk operations for date ranges - Statistics and analytics dashboard - Modal dialogs for quick editing 🔧 Code Quality: - WordPress coding standards compliance - Secure database operations with prepared statements - Proper input validation and sanitization - Error handling and logging - Responsive admin interface 🤖 Generated with Claude Code (https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
157 lines
2.6 KiB
CSS
157 lines
2.6 KiB
CSS
#TB_overlay {
|
|
background: #000;
|
|
opacity: 0.7;
|
|
filter: alpha(opacity=70);
|
|
position: fixed;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
z-index: 100050; /* Above DFW. */
|
|
}
|
|
|
|
#TB_window {
|
|
position: fixed;
|
|
background-color: #fff;
|
|
z-index: 100050; /* Above DFW. */
|
|
visibility: hidden;
|
|
text-align: left;
|
|
top: 50%;
|
|
left: 50%;
|
|
-webkit-box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 );
|
|
box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 );
|
|
}
|
|
|
|
#TB_window img#TB_Image {
|
|
display: block;
|
|
margin: 15px 0 0 15px;
|
|
border-right: 1px solid #ccc;
|
|
border-bottom: 1px solid #ccc;
|
|
border-top: 1px solid #666;
|
|
border-left: 1px solid #666;
|
|
}
|
|
|
|
#TB_caption{
|
|
height: 25px;
|
|
padding: 7px 30px 10px 25px;
|
|
float: left;
|
|
}
|
|
|
|
#TB_closeWindow {
|
|
height: 25px;
|
|
padding: 11px 25px 10px 0;
|
|
float: right;
|
|
}
|
|
|
|
#TB_closeWindowButton {
|
|
position: absolute;
|
|
left: auto;
|
|
right: 0;
|
|
width: 29px;
|
|
height: 29px;
|
|
border: 0;
|
|
padding: 0;
|
|
background: none;
|
|
cursor: pointer;
|
|
outline: none;
|
|
-webkit-transition: color .1s ease-in-out, background .1s ease-in-out;
|
|
transition: color .1s ease-in-out, background .1s ease-in-out;
|
|
}
|
|
|
|
#TB_ajaxWindowTitle {
|
|
float: left;
|
|
font-weight: 600;
|
|
line-height: 29px;
|
|
overflow: hidden;
|
|
padding: 0 29px 0 10px;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
width: calc( 100% - 39px );
|
|
}
|
|
|
|
#TB_title {
|
|
background: #fcfcfc;
|
|
border-bottom: 1px solid #ddd;
|
|
height: 29px;
|
|
}
|
|
|
|
#TB_ajaxContent {
|
|
clear: both;
|
|
padding: 2px 15px 15px 15px;
|
|
overflow: auto;
|
|
text-align: left;
|
|
line-height: 1.4em;
|
|
}
|
|
|
|
#TB_ajaxContent.TB_modal {
|
|
padding: 15px;
|
|
}
|
|
|
|
#TB_ajaxContent p {
|
|
padding: 5px 0px 5px 0px;
|
|
}
|
|
|
|
#TB_load {
|
|
position: fixed;
|
|
display: none;
|
|
z-index: 100050;
|
|
top: 50%;
|
|
left: 50%;
|
|
background-color: #E8E8E8;
|
|
border: 1px solid #555;
|
|
margin: -45px 0 0 -125px;
|
|
padding: 40px 15px 15px;
|
|
}
|
|
|
|
#TB_HideSelect {
|
|
z-index: 99;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
background-color: #fff;
|
|
border: none;
|
|
filter: alpha(opacity=0);
|
|
opacity: 0;
|
|
height: 100%;
|
|
width: 100%;
|
|
}
|
|
|
|
#TB_iframeContent {
|
|
clear: both;
|
|
border: none;
|
|
}
|
|
|
|
.tb-close-icon {
|
|
display: block;
|
|
color: #666;
|
|
text-align: center;
|
|
line-height: 29px;
|
|
width: 29px;
|
|
height: 29px;
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
}
|
|
|
|
.tb-close-icon:before {
|
|
content: "\f158";
|
|
font: normal 20px/29px dashicons;
|
|
speak: never;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
}
|
|
|
|
#TB_closeWindowButton:hover .tb-close-icon,
|
|
#TB_closeWindowButton:focus .tb-close-icon {
|
|
color: #006799;
|
|
}
|
|
|
|
#TB_closeWindowButton:focus .tb-close-icon {
|
|
-webkit-box-shadow:
|
|
0 0 0 1px #5b9dd9,
|
|
0 0 2px 1px rgba(30, 140, 190, .8);
|
|
box-shadow:
|
|
0 0 0 1px #5b9dd9,
|
|
0 0 2px 1px rgba(30, 140, 190, .8);
|
|
}
|