Skip to content

Commit

Permalink
Merge pull request #172 from lightspeeddevelopment/bugherd-fixes
Browse files Browse the repository at this point in the history
- Styling Bugherd Fixes
  • Loading branch information
krugazul authored Jan 15, 2021
2 parents 72cf691 + 5d70e70 commit 7d75676
Show file tree
Hide file tree
Showing 7 changed files with 2,031 additions and 765 deletions.
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"compile-hero.disable-compile-files-on-did-save-code": false
}
21 changes: 21 additions & 0 deletions assets/css/scss/layout/_contact.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,17 @@
padding-top: $lsx-to-gap-half / 2;
}
}

.lsx-to-contact-info {
h4 {
a {
color: #fff
}
}
}
}


.lsx-to-contact {
@include media('>=phone') { flex: 2; }

Expand Down Expand Up @@ -99,3 +108,15 @@ h4.lsx-to-contact-name {
padding: 0 5px;
}
}

.lsx-to-archive-container {
.lsx-to-contact-widget {
.lsx-to-contact-info {
h4 {
a {
color:#fff!important
}
}
}
}
}
4 changes: 2 additions & 2 deletions assets/css/scss/layout/_meta-data.scss
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
.lsx-to-meta-data-key { font-weight: bold; }

.lsx-to-archive-template-list &:not(.lsx-to-meta-data-duration):not(.lsx-to-meta-data-price) {
.lsx-to-meta-data-key { display: block; }
.lsx-to-meta-data-key { display: inline-block; }
}

&.lsx-to-meta-data-big {
Expand Down Expand Up @@ -178,7 +178,7 @@
&.lsx-to-meta-data-pin:before { content: '\f041'; }
&.lsx-to-meta-data-price:before { content: '\f0d6'; }
&.lsx-to-meta-data-rating:before { content: '\f006'; }
&.lsx-to-meta-data-role:before { content: '\f0c0'; }
&.lsx-to-meta-data-role:before { content: '\f0c0'; }
&.lsx-to-meta-data-rooms:before { content: '\f236'; }
&.lsx-to-meta-data-skype:before { content: '\f17e'; }
&.lsx-to-meta-data-special:before { content: '\f069'; }
Expand Down
40 changes: 39 additions & 1 deletion assets/css/scss/layout/_single-sections.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,12 @@
.archive & {
&#destination-map {
margin-top: $lsx-to-gap-large;
width: auto;
.lsx-map-preview {
text-align: center;
}
.lsx-map-placeholder {
width: initial;
}
}
}

Expand Down Expand Up @@ -562,3 +567,36 @@ body.single-tour-operator {
}
}
}

.single-lsx-to-review {
#tours {
#collapse-tours {
.lsx-to-widget-item-wrap {
max-width: 33%;
margin: auto;
margin-top:45px;
}
}
}
}
.single-lsx-to-review {
#tours {
#collapse-tours {
.slider-container {
.lsx-to-widget-item-wrap {
max-width: initial;
margin: initial;
margin-top:45px;
}
}
}
}
}

.single-lsx-to-destination .wp-block-media-text .wp-block-media-text__content {
padding:0 15px;
}

.single-lsx-to-team #team-map {
padding: 8.5rem 0;
}
2,724 changes: 1,964 additions & 760 deletions assets/css/style.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion includes/classes/legacy/class-frontend.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public function __construct() {
add_filter( 'post_class', array( $this, 'replace_class' ), 10, 1 );
add_filter( 'body_class', array( $this, 'replace_class' ), 10, 1 );

add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_stylescripts' ), 10 );
add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_stylescripts' ), 1 );
add_action( 'wp_head', array( $this, 'wp_head' ), 10 );
add_filter( 'body_class', array( $this, 'body_class' ), 15, 1 );

Expand Down
2 changes: 1 addition & 1 deletion includes/classes/legacy/class-maps.php
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ public function map_output( $post_id = false, $args = array() ) {

$map .= '>';

$map .= '<div class="lsx-map-preview" style="width:' . $args['width'] . ';height:' . $args['height'] . ';background-color: #D8D8D8;">';
$map .= '<div class="lsx-map-preview" style="width:' . $args['width'] . ';height:' . $args['height'] . ';background-color: #d5e0e6;">';
if ( true === $this->placeholder_enabled ) {
$map .= $this->get_map_preview_html( $args['width'], $args['height'] );
}
Expand Down

0 comments on commit 7d75676

Please sign in to comment.