Skip to content

Commit

Permalink
Merge pull request #3 from tohaaa/master
Browse files Browse the repository at this point in the history
Small css fix
  • Loading branch information
thallysondias authored Jun 26, 2024
2 parents 0aeb62f + 67a96e1 commit c716ab3
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 5 deletions.
2 changes: 1 addition & 1 deletion admin/customize-be.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function be_opt()
$versao = $_POST['versao'];
$affiliate = $_POST['omnibees_affiliate'];
$custom_url = $_POST['omnibees_url'];
$balao = $_POST['omnibees_balao'];
$balao = $_POST['balao'];

global $chk;

Expand Down
2 changes: 1 addition & 1 deletion booking-engine.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Plugin name: Booking Engine
Plugin uri: widgets.omnibees.com/manual
Description: Easy Booking Engine Omnibees for Wordpress
Version: 5.1
Version: 5.1.1
Author: Omnibees
Author uri: www.omnibees.com
License: GPlv2 or Later
Expand Down
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Requires at least: 6.0
Tested up to: 6.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Version: 5.1
Version: 5.1.1


== Description ==
Expand Down
20 changes: 19 additions & 1 deletion views/fixed/booking-widget.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,27 @@
}

.motor-reserva .ativa {
display: <?php echo get_option('omnibees_balao');?> !important;
display: none !important;
}

<?php

$balao_style = get_option('omnibees_balao');

if ($balao_style == "block") {
?>
.motor-reserva .ativa {
display: block !important;
}
<?php
} else {
?>
.motor-reserva .ativa {
display: none !important;
}
<?php
}
?>

.booknow button {
background:
Expand Down
1 change: 0 additions & 1 deletion views/fixed/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,6 @@ body {
.motor-reserva .ativa {
opacity: 1 !important;
background: blue;
/* display: block !important; */
bottom: 80px !important;
transition: all ease-in 3s !important;
}
Expand Down

0 comments on commit c716ab3

Please sign in to comment.