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

2.0.0 #464

Merged
merged 90 commits into from
Dec 20, 2024
Merged

2.0.0 #464

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
90 commits
Select commit Hold shift + click to select a range
fa77e62
Updating the version number
krugazul Dec 4, 2024
ff3a4eb
Adding in the sale price field and the body CSS class.
krugazul Dec 4, 2024
8089894
Adding in the sale price icon #377
krugazul Dec 4, 2024
c51fbbd
Adding in the disable option for the currency code, #449
krugazul Dec 4, 2024
c8dc50c
Fixing the currency selector #377
krugazul Dec 4, 2024
4bb968b
Adding in the sale price that replaces the accommodation price.
krugazul Dec 4, 2024
12e17fb
Adding in the onsale query checkbox
krugazul Dec 4, 2024
f9e7883
Fixing the saving of the slider and onsale values #377
krugazul Dec 5, 2024
24d69ed
Adding in the jsEditor params to allow embedding of images in the plu…
krugazul Dec 5, 2024
b661a36
Finally added in the query vars to execute the "onsale" arguments. #377
krugazul Dec 5, 2024
69531aa
Updating the PHP tag and Tested up to. #406
krugazul Dec 5, 2024
151b0f5
Removing old files and fixing up the welcom page.
krugazul Dec 5, 2024
2a32cc3
Adding in some notes.
krugazul Dec 5, 2024
513fc33
Merge pull request #452 from lightspeedwp/2.0-beta-3-enhancements-1
krugazul Dec 5, 2024
646caf4
Fixing the settings.
krugazul Dec 5, 2024
eb6a701
Removing the php templates.
krugazul Dec 5, 2024
e0a6fc9
Commit of LightBox fixes
Justinabes007 Dec 6, 2024
5b9410d
Merge pull request #453 from lightspeedwp/lightbox-fixes
krugazul Dec 10, 2024
70275d9
Price updates
krugazul Dec 10, 2024
4263bc4
Merge branch '2.0-beta-3' of https://github.com/lightspeedwp/tour-ope…
krugazul Dec 10, 2024
c748263
Updating the block conditionals
krugazul Dec 10, 2024
c6fabdb
Updating the image attributes
krugazul Dec 10, 2024
d60a963
Adding in the travel styles and gallery placeholders.
krugazul Dec 10, 2024
9bc2ca3
Adding in the custom category icon #401
krugazul Dec 10, 2024
9863825
Updating the room and the itinerary cards
krugazul Dec 10, 2024
1646ac1
Adding in the tour and accommodation cards.
krugazul Dec 10, 2024
95095de
Collapsible Sections
Justinabes007 Dec 10, 2024
7c7bbd7
Merge pull request #454 from lightspeedwp/beta-3-block-pattern-updates
krugazul Dec 11, 2024
0351ad9
Adding in the missing slider code.
krugazul Dec 11, 2024
899f944
Removing the destinations uneeded functions.
krugazul Dec 11, 2024
6bf43de
Removing the uneeded general functions
krugazul Dec 11, 2024
2c447b8
Removing the uneeded function
krugazul Dec 11, 2024
54aea35
Removing the uneeded code.
krugazul Dec 11, 2024
15f831a
Fixing the code errors and removing functions.
krugazul Dec 11, 2024
5b25d2e
Fixing the PHPcs errors
krugazul Dec 11, 2024
736f34a
Fixing the fail nonce verification warning
krugazul Dec 11, 2024
b19e63e
Merge pull request #456 from lightspeedwp/2.0-code-cleanup
Justinabes007 Dec 11, 2024
3fe9116
TO - Additional Info Read More JS
Justinabes007 Dec 12, 2024
7fa4557
Adding in the files needed for the scss
krugazul Dec 12, 2024
ccabb3a
Updates to SCSS file
Justinabes007 Dec 12, 2024
14d62aa
Updating the SASS files
krugazul Dec 12, 2024
70abbf3
Merge pull request #457 from lightspeedwp/additional-info-read-more
krugazul Dec 12, 2024
96d78ba
Adding in the fixes for the facilities, gallery and unit sections.
krugazul Dec 12, 2024
e93103c
Merge branch 'collapsible-sections' into 2.0-beta-3
krugazul Dec 12, 2024
e018fe7
Travel Information Slider
Justinabes007 Dec 13, 2024
ebc5c22
Adding in the units Icon
krugazul Dec 17, 2024
35f2511
Dashicons - Custom Icons for Custom Blocks
Justinabes007 Dec 17, 2024
0406cff
Updating the slider js and CSS.
krugazul Dec 17, 2024
f384375
Icon URL fixes
Justinabes007 Dec 17, 2024
d4abc48
Update to Custom Icons for Custom Blocks
Justinabes007 Dec 17, 2024
f273705
Updating the plugin header #369
krugazul Dec 17, 2024
8250fb9
Slider updates
krugazul Dec 17, 2024
3deaa0b
Fixing the travel info read more
krugazul Dec 17, 2024
dc325c5
Added in the travel info pattern
krugazul Dec 17, 2024
19ae5d5
Merge pull request #458 from lightspeedwp/Travel-Information
krugazul Dec 17, 2024
ba541e1
Update accommodation.js
Justinabes007 Dec 18, 2024
4f690fa
Adding in the post connections facet filter.
krugazul Dec 18, 2024
1300da9
Adding in the destination facet filters.
krugazul Dec 18, 2024
adad50d
Restricting the facets
krugazul Dec 18, 2024
5708d70
Upping the display
krugazul Dec 18, 2024
0ac589f
Styling adjustments
Justinabes007 Dec 19, 2024
8a0b3a3
Updating the phpdoc tags
krugazul Dec 19, 2024
e07f729
Adding in a permalink button.
krugazul Dec 19, 2024
7d00899
Merge pull request #460 from lightspeedwp/Dashicons
krugazul Dec 19, 2024
3687e89
Merge pull request #461 from lightspeedwp/collapsible-sections
krugazul Dec 19, 2024
426fc4b
Update _icons.scss
Justinabes007 Dec 19, 2024
3208de2
Fixing the phpcs errors.
krugazul Dec 19, 2024
9b5b379
Fixing the phpcs errors and warnings
krugazul Dec 19, 2024
1ce94f3
last of the phpcs fixes
krugazul Dec 19, 2024
674b653
Fixing the missing collapsable styles.
krugazul Dec 19, 2024
3c75d4a
Updating the collapsable sections
krugazul Dec 19, 2024
a9062b1
Updating the collapsable sections
krugazul Dec 19, 2024
9ef9a2a
Query loop collapsable sections.
krugazul Dec 19, 2024
5fc203b
Adding in the last of the collapsable section tags.
krugazul Dec 19, 2024
266c72d
Merge pull request #462 from lightspeedwp/collapsible-sections
krugazul Dec 19, 2024
c7df951
Adding in the cover block collapse.
krugazul Dec 19, 2024
e58dec1
Bug & Styling fixes
Justinabes007 Dec 20, 2024
d282fa5
Slider Styling & JS for Tablet slide
Justinabes007 Dec 20, 2024
8028632
Template updates for Tour Operator Plugin
Justinabes007 Dec 20, 2024
63ec61e
PHPCS fixes
krugazul Dec 20, 2024
e43cb46
Merge branch '2.0-bugfixes' into 2.0-beta-3
krugazul Dec 20, 2024
7591f22
Adding in the accommodation and review archive.
krugazul Dec 20, 2024
e9f9864
fixing the block refs
krugazul Dec 20, 2024
409cfd3
Removing the uneeded templates
krugazul Dec 20, 2024
e02c5fe
Removing the patterns
krugazul Dec 20, 2024
c5479a6
Fixing the tour
krugazul Dec 20, 2024
d8c387a
Fixing the image urls.
krugazul Dec 20, 2024
4950859
Updating the templates and patterns
krugazul Dec 20, 2024
e8eacd5
Merge pull request #463 from lightspeedwp/template-updates
krugazul Dec 20, 2024
476a33b
fixing the contributors
krugazul Dec 20, 2024
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
Binary file modified .DS_Store
Binary file not shown.
261 changes: 261 additions & 0 deletions assets/css/scss/_additional.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,261 @@
/* Additional information specific styles */
/* Fast Facts Wrapper */
.fast-facts-wrapper > .wp-block-group .wp-block-group:first-child {
display: flex;
align-items: flex-start;
/* Align content in this group to the top */
gap: 5px;
/* Space between icon and text */
flex-shrink: 0;
/* Prevent group from shrinking */
}
/* Style the image icon */
.fast-facts-wrapper > .wp-block-group .wp-block-image img {
width: 20px;
/* Fixed width */
height: 20px;
/* Fixed height */
display: flex;
object-fit: contain;
/* Ensure image doesn't stretch or distort */
}
/* Styling for the label (e.g., "Special Interests:") */
.fast-facts-wrapper > .wp-block-group .wp-block-group:first-child p {
margin: 0;
white-space: nowrap;
/* Prevent wrapping for label */
vertical-align: middle;
/* Align text with the middle of the icon */
line-height: 1.2;
/* Improve readability */
display: inline-block;
/* Keep text inline */
}
/* Styling for the flowing text */
.fast-facts-wrapper > .wp-block-group .wp-block-group:last-child {
display: flex;
flex-wrap: nowrap;
/* Keep the text flowing inline */
white-space: normal;
/* Allow wrapping for text if it overflows */
overflow-wrap: break-word;
/* Ensure long words wrap correctly */
word-break: break-word;
/* Break long words when needed */
flex: 1;
/* Allow the container to use available space */
align-items: flex-start;
/* Ensure text starts at the top */
}
/* Specific styling for the text content */
.fast-facts-wrapper > .wp-block-group .wp-block-group:last-child p {
white-space: normal;
/* Allow wrapping for long text */
overflow-wrap: break-word;
/* Break words when needed */
word-break: break-word;
/* Break words on legacy browsers */
line-height: 1.4;
/* Improve readability */
text-transform: capitalize;
/* Capitalize text */
padding: 0;
/* Ensure no unnecessary padding */
margin: 0;
/* Remove extra margins */
display: inline;
/* Ensure the text flows inline with the label */
}
/* Facilities List */
.facilities-list li::marker {
display: none;
}
.facilities-list {
padding-left: 0 !important;
}
.facilities-list li {
margin-left: 10px;
list-style: none;
/* Remove default list marker */
position: relative;
/* Position for pseudo-element */
}
.facilities-list li::before {
content: '';
position: absolute;
left: 0;
top: 50%;
transform: translateY(-50%);
/* Center the icon vertically */
width: 20px;
/* Adjust the size of the tick icon */
height: 20px;
background-image: url('../img/tick.svg');
/* Replace with the path to your tick.svg */
background-size: contain;
background-repeat: no-repeat;
left: -28px;
}
/* Additional Info */
.additional-info .wp-block-group.content .read-more-btn,.additional-info .wp-block-group.content .read-less-btn {
color: #0073aa;
cursor: pointer;
font-weight: bold;
}
.additional-info .wp-block-group.content .read-more-btn:hover {
text-decoration: underline;
}
.additional-info .wp-block-group.content .read-less-btn {
display: none;
}
/* FacetWP --------------------------------------------- */
.facetwp-facet input.facetwp-search{
border: 1px solid #757575;
padding: 8px 14px 10px;
font-size: 18px;
min-width: 85%;
}
.facetwp-icon{
background:#a29f9f;
padding:0 4px;
}
.facetwp-icon:hover{
background-color: #4F4F4F;
}
.facetwp-facet select{
-webkit-appearance: none;
-moz-appearance: none;
background: transparent;
background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
background-repeat: no-repeat;
background-position-x: 100%;
background-position-y: 5px;
border-radius: 4px;
color: var(--wp--preset--color--contrast);
font-family: var(--wp--preset--font-family--primary);
font-size: var(--wp--preset--font-size--x-small);
font-weight: var(--wp--custom--font-weight--regular);
padding: 12px 22px 12px 12px;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
position: relative;
background-color: #fff;
border: 1px solid #757575!important;
cursor: default;
}
body .fs-label-wrap .fs-label{
padding: 12px 22px 12px 12px!important;
}
body .fs-arrow{
right:12px!important;
}
.archive .fs-label-wrap{
border: 1px solid #757575!important;
border-radius: 4px;
}
.fs-wrap .fs-search input::placeholder {
font-size: var(--wp--preset--font-size--x-small);
}
.facetwp-selections{
max-width:27%;
}
.facet-row .wp-block-group{
width:100%;
}
button.facetwp-reset{
background-color: var(--wp--preset--color--primary);
border-width: 0;
color: var(--wp--preset--color--base);
font-family: inherit;
font-size: var(--wp--preset--font-size--x-small);
font-weight: 500;
line-height: inherit;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
margin-left: 0px;
padding-top: 9px;
padding-right: 8px;
padding-bottom: 10px;
padding-left: 8px;
text-decoration: none;
width:150px;
border-radius: 4px;
}
@media only screen and (min-width:1240px){
body .facetwp-facet .facetwp-dropdown,body .facetwp-facet .facetwp-checkboxes,body .facetwp-facet .facetwp-range,body .facetwp-facet .facetwp-radio {
min-width: 220px;
/* Adjust this value as needed */
}
.archive .facetwp-facet{
margin-top:4px!important;
}
.archive .facetwp-type-reset{
margin-top:-2px!important;
}
.archive .fs-wrap {
width: 292px;
}
}
@media only screen and (min-width:768px) and (max-width:1199px){
.archive .fs-wrap {
width: auto!important;
}
body .facetwp-facet .facetwp-dropdown,body .facetwp-facet .facetwp-checkboxes,body .facetwp-facet .facetwp-range,body .facetwp-facet .facetwp-radio {
min-width: 220px;
/* Adjust this value as needed */
}
}
@media only screen and (max-width:480px){
.facet-row .wp-block-group{
flex-wrap: wrap!important;
}
.facet-row .wp-block-group p{
width:100%!important;
}
.facet-row .wp-block-group .facetwp-facet{
width:100%!important;
}
body .facetwp-facet .facetwp-dropdown,body .facetwp-facet .facetwp-checkboxes,body .facetwp-facet .facetwp-range,body .facetwp-facet .facetwp-radio {
min-width: 100%!important;
/* Adjust this value as needed */
}
.facet-row{
flex-wrap: wrap!important;
margin-left: -20px !important;
margin-right: -20px !important;
}
.facetwp-selections{
max-width:100%!important;
}
.facetwp-input-wrap,.fs-wrap{
width:100%!important;
}
.facetwp-facet input.facetwp-search{
min-width: 88%!important;
}
.facetwp-selections ul li{
margin-left:0!important;
}
button.facetwp-reset{
background-color: var(--wp--preset--color--primary);
border-width: 0;
color: var(--wp--preset--color--base);
font-family: inherit;
font-size: var(--wp--preset--font-size--x-small);
font-weight: 500;
line-height: inherit;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
margin-left: 0px;
padding-top: 7px;
padding-right: 8px;
padding-bottom: 7px;
padding-left: 8px;
text-decoration: none;
width:100%;
border-radius: 4px;
}
}
48 changes: 48 additions & 0 deletions assets/css/scss/_collapse.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
@media (min-width: 800px) {
.single-tour-operator .toggle-button {display:none;}
}

/* Optional: Responsive adjustments for smaller screens */
@media (max-width: 768px) {

.single-tour-operator {
/* Styling for the toggle button */
.toggle-button {
display: inline-flex;
align-items: center;
padding: 5px;
background: none;
border: none;
cursor: pointer;
font-size: 14px;
color: var(--wp--preset--color--contrast);
}

/* Styling for the SVG icons */
.toggle-icon {
width: 16px;
height: 16px;
fill: var(--wp--preset--color--contrast);
margin-left: 5px;
}

/* Collapsed state for the second wp-block-group */
section {
&.wp-block-group,
&.wp-block-cover {
.wp-block-group.collapsed {
display: none; /* Hide the content */
}
}
}
}

.fast-facts-wrapper > .wp-block-group {
flex-wrap: wrap; /* Allow wrapping for better readability */
gap: 5px;
}

.fast-facts-wrapper > .wp-block-group .wp-block-group.is-layout-flex:last-child {
flex-wrap: wrap; /* Allow text to wrap on smaller screens */
}
}
9 changes: 5 additions & 4 deletions assets/css/scss/_icons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -119,15 +119,16 @@
.lsx-price-wrapper,
.lsx-single-supplement-wrapper,
.unit-price-wrapper {
/*&:before {
background-image: url( ../img/icons/price-icon.png );
}*/

& .amount {
@extend %currency-icons;

.strike {
text-decoration: line-through;
}

.currency-icon {
&:after { margin-right: 0px; }
&:after { margin-right: 0px;margin-left: 0px; }
}
}
}
Loading
Loading