diff --git a/assets/styles/coming-soon.css b/assets/styles/coming-soon.css index b9b961959..69d0a3d3a 100644 --- a/assets/styles/coming-soon.css +++ b/assets/styles/coming-soon.css @@ -1,314 +1,314 @@ body { - background-color: #fff; - background-image: url('../images/cs-bluehost-bg.jpg'); - background-position: top right; - background-repeat: no-repeat; - font-family: "Open Sans", sans-serif; - overflow-x: hidden; - display: flex; - flex-direction: column; - min-height: 100vh; + background-color: #fff; + background-image: url(../images/cs-bluehost-bg.jpg); + background-position: top right; + background-repeat: no-repeat; + font-family: "Open Sans", sans-serif; + overflow-x: hidden; + display: flex; + flex-direction: column; + min-height: 100vh; } * { - box-sizing: border-box; - -moz-box-sizing: border-box; - -webkit-box-sizing: border-box; + box-sizing: border-box; + -moz-box-sizing: border-box; + -webkit-box-sizing: border-box; } input { - font-family: "Open Sans", sans-serif; + font-family: "Open Sans", sans-serif; } ::-webkit-input-placeholder { - color: #9DAFBD; + color: #9dafbd; } ::-moz-placeholder { - color: #9DAFBD; + color: #9dafbd; } :-ms-input-placeholder { - color: #9DAFBD; + color: #9dafbd; } :-moz-placeholder { - color: #9DAFBD; + color: #9dafbd; } #wrap { - max-width: 560px; - width: 100%; - margin: 320px auto auto; - color: #444; - text-align: center; - min-height: auto !important; + max-width: 560px; + width: 100%; + margin: 320px auto auto; + color: #444; + text-align: center; + min-height: auto !important; } #wrap .content { - background: rgba(215, 223, 236, .5); - padding-bottom: 2rem; - border-radius: 4px; + background: rgba(215, 223, 236, 0.5); + padding-bottom: 2rem; + border-radius: 4px; } #wrap h1 { - color: #111; - font-weight: 300; - font-size: 28px; + color: #111; + font-weight: 300; + font-size: 28px; } #wrap h2 { - color: #111; - font-weight: 300; - font-size: 38px; + color: #111; + font-weight: 300; + font-size: 38px; } #wrap p { - color: #111; - line-height: 1.5; + color: #111; + line-height: 1.5; } footer { - background-color: #fff; - width: 100%; - color: #666; - position:initial; + background-color: #fff; + width: 100%; + color: #666; + position: initial; } footer p { - font-size: 14px; - line-height: 22px; - color: #333; - padding: 8px; - text-align: center; + font-size: 14px; + line-height: 22px; + color: #333; + padding: 8px; + text-align: center; } footer p a { - color: #1555b3; - text-decoration: underline; + color: #1555b3; + text-decoration: underline; } footer p a:hover { - text-decoration: underline; + text-decoration: underline; } .btn { - display: inline-block; - font-weight: 400; - text-align: center; - vertical-align: middle; - -ms-touch-action: manipulation; - touch-action: manipulation; - cursor: pointer; - background-image: none; - border: 1px solid transparent; - white-space: nowrap; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - padding: 8px 16px; - font-size: 14px; - line-height: 1.5; - border: 1px solid #2e66ba; - background: #1555b3; - color: #fff; - box-shadow: none; - border-radius: 3px; - text-decoration: none; - margin-top: 25px; + display: inline-block; + font-weight: 400; + text-align: center; + vertical-align: middle; + -ms-touch-action: manipulation; + touch-action: manipulation; + cursor: pointer; + background-image: none; + white-space: nowrap; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + padding: 8px 16px; + font-size: 14px; + line-height: 1.5; + border: 1px solid #2e66ba; + background-color: #1555b3; + color: #fff; + box-shadow: none; + border-radius: 3px; + text-decoration: none; + margin-top: 25px; } .btn:hover { - border: 1px solid #2e66ba; - background-color: #fff; - color: #2e66ba; + border: 1px solid #2e66ba; + background-color: #fff; + color: #2e66ba; } -.subscription_widget { +.comingsoon_links { + font-size: 13px; +} + +.comingsoon_links a { + text-decoration: none; + line-height: 18px; + color: #1555b3; } .subscription_widget h2 { - color: #5B5B5B; - font-size: 38px; - letter-spacing: -1px; - line-height: 54px; - margin-bottom: 10px; + color: #5b5b5b; + font-size: 38px; + letter-spacing: -1px; + line-height: 54px; + margin-bottom: 10px; } .subscription_widget #subscribe-text p { - color: #5B5B5B; - font-size: 16px; - letter-spacing: 0; - line-height: 24px; - margin-bottom: 25px; + color: #5b5b5b; + font-size: 16px; + letter-spacing: 0; + line-height: 24px; + margin-bottom: 25px; } .subscription_widget #success, .subscription_widget #error { - border-radius: 4px; - font-size: 14px; - line-height: 24px; - color: #5B5B5B; - margin-bottom: 25px; - display: none; - padding: 8px 40px; + border-radius: 4px; + font-size: 14px; + line-height: 24px; + color: #5b5b5b; + margin-bottom: 25px; + display: none; + padding: 8px 40px; } .subscription_widget #success { - background: #CCE9D0; - border: 1px solid #009013; + background: #cce9d0; + border: 1px solid #009013; } .subscription_widget #error { - background: #FFEAE9; - border: 1px solid #F72F26; + background: #ffeae9; + border: 1px solid #f72f26; } .subscription_widget form .inputs { - display: inline-block; - position: relative; - vertical-align: middle; - margin-bottom: 10px; - -webkit-transition: all 0.1s ease-in-out; - -moz-transition: all 0.1s ease-in-out; - -o-transition: all 0.1s ease-in-out; - transition: all 0.1s ease-in-out; + display: inline-block; + position: relative; + vertical-align: middle; + margin-bottom: 10px; + -webkit-transition: all 0.1s ease-in-out; + -moz-transition: all 0.1s ease-in-out; + -o-transition: all 0.1s ease-in-out; + transition: all 0.1s ease-in-out; } .subscription_widget form .inputs.active { - -webkit-transition: all 0.1s ease-in-out; - -moz-transition: all 0.1s ease-in-out; - -o-transition: all 0.1s ease-in-out; - transition: all 0.1s ease-in-out; + -webkit-transition: all 0.1s ease-in-out; + -moz-transition: all 0.1s ease-in-out; + -o-transition: all 0.1s ease-in-out; + transition: all 0.1s ease-in-out; } .subscription_widget form .inputs.email.active #subscribe-label { - color: #5B5B5B; - clip: auto !important; - height: auto !important; - position: absolute !important; - overflow: visible !important; - width: auto !important; - left: 16px; - font-size: 11px; - top: 2px; + color: #5b5b5b; + clip: auto !important; + height: auto !important; + position: absolute !important; + overflow: visible !important; + width: auto !important; + left: 16px; + font-size: 11px; + top: 2px; } .subscription_widget form .inputs.email input[type="email"] { - background-color: #fff; - background-image: url('images/icon-email.svg'); - background-position: 10px center; - background-repeat: no-repeat; - border: 1px solid #5B5B5B; - border-radius: 3px; - color: #5B5B5B; - font-size: 13.5px; - margin-top: 5px; - margin-right: 6px; - min-width: 300px; - padding: 14px 15px 14px 45px; - max-height: 45px; - -webkit-transition: all 0.05s ease-in-out; - -moz-transition: all 0.05s ease-in-out; - -o-transition: all 0.05s ease-in-out; - transition: all 0.05s ease-in-out; + background-color: #fff; + background-image: url(images/icon-email.svg); + background-position: 10px center; + background-repeat: no-repeat; + border: 1px solid #5b5b5b; + border-radius: 3px; + color: #5b5b5b; + font-size: 13.5px; + margin-top: 5px; + margin-right: 6px; + min-width: 300px; + padding: 14px 15px 14px 45px; + max-height: 45px; + -webkit-transition: all 0.05s ease-in-out; + -moz-transition: all 0.05s ease-in-out; + -o-transition: all 0.05s ease-in-out; + transition: all 0.05s ease-in-out; } .subscription_widget form .inputs.email.active input[type="email"] { - background-image: none; - font-size: 14px; - padding: 16px 15px 12px 15px; - max-height: 45px; + background-image: none; + font-size: 14px; + padding: 16px 15px 12px 15px; + max-height: 45px; } .subscription_widget form .inputs.submit input[type="submit"] { - background-color: #3575D3; - border: none; - border-radius: 4px; - color: #fff; - font-size: 14px; - font-weight: 600; - line-height: 13px; - margin: 0; - padding: 15px 30px; - border: 1px solid #3575D3; - -webkit-transition: all 0.1s ease-in-out; - -moz-transition: all 0.1s ease-in-out; - -o-transition: all 0.1s ease-in-out; - transition: all 0.1s ease-in-out; + background-color: #3575d3; + border-radius: 4px; + color: #fff; + font-size: 14px; + font-weight: 600; + line-height: 13px; + margin: 0; + padding: 15px 30px; + border: 1px solid #3575d3; + -webkit-transition: all 0.1s ease-in-out; + -moz-transition: all 0.1s ease-in-out; + -o-transition: all 0.1s ease-in-out; + transition: all 0.1s ease-in-out; } .subscription_widget form .inputs.submit input[type="submit"]:hover { - background-color: #5B5B5B; - border-color: #5B5B5B; - -webkit-transition: all 0.1s ease-in-out; - -moz-transition: all 0.1s ease-in-out; - -o-transition: all 0.1s ease-in-out; - transition: all 0.1s ease-in-out; + background-color: #5b5b5b; + border-color: #5b5b5b; + -webkit-transition: all 0.1s ease-in-out; + -moz-transition: all 0.1s ease-in-out; + -o-transition: all 0.1s ease-in-out; + transition: all 0.1s ease-in-out; } @media (min-width: 1920px) { - body { - background-position-x: center; - } + + body { + background-position-x: center; + } } @media (max-width: 1024px) { - #wrap { - margin: 240px auto auto; - } + + #wrap { + margin: 240px auto auto; + } } @media (max-width: 960px) { - #wrap { - margin: 120px auto auto; - } + + #wrap { + margin: 120px auto auto; + } } @media (max-width: 640px) { - #wrap { - margin: 60px auto auto; - max-width: 100%; - color: #444; - padding: 0 20px; - } - .content { - padding: 20px; - } + #wrap { + margin: 60px auto auto; + max-width: 100%; + color: #444; + padding: 0 20px; + } + + .content { + padding: 20px; + } - .btn { - margin-top: 10px; - } + .btn { + margin-top: 10px; + } - .subscription_widget form .inputs, - .subscription_widget form .inputs.email input[type="email"], - .subscription_widget form .inputs.submit input[type="submit"] { - width: 100%; - } + .subscription_widget form .inputs, + .subscription_widget form .inputs.email input[type="email"], + .subscription_widget form .inputs.submit input[type="submit"] { + width: 100%; + } - .subscription_widget form .inputs.email input[type="email"] { - min-width: 0; - } + .subscription_widget form .inputs.email input[type="email"] { + min-width: 0; + } } @media (max-width: 360px) { - #wrap h1 { - font-size: 26px; - } - .btn { - margin-top: 40px; - } -} + #wrap h1 { + font-size: 26px; + } -.comingsoon_links { - font-size:13px; - } - -.comingsoon_links a { - text-decoration: none; - line-height: 18px; - color: #1555b3; -} \ No newline at end of file + .btn { + margin-top: 40px; + } +} diff --git a/composer.json b/composer.json index 392e60f2f..c57928a64 100644 --- a/composer.json +++ b/composer.json @@ -66,7 +66,7 @@ "wp-phpunit/wp-phpunit": "^6.4.2" }, "require": { - "newfold-labs/wp-module-coming-soon": "^1.2.2", + "newfold-labs/wp-module-coming-soon": "^1.2.3", "newfold-labs/wp-module-context": "^1.0.0", "newfold-labs/wp-module-data": "^2.4.18", "newfold-labs/wp-module-deactivation": "^1.0.5", diff --git a/inc/Admin.php b/inc/Admin.php index 14b4fb797..264e80231 100644 --- a/inc/Admin.php +++ b/inc/Admin.php @@ -25,7 +25,10 @@ public function __construct() { /* Load i18 files */ \add_action( 'init', array( __CLASS__, 'load_text_domain' ), 100 ); /* Add Links to WordPress Plugins list item. */ - \add_filter( 'plugin_action_links_wp-plugin-bluehost/wp-plugin-bluehost.php', array( __CLASS__, 'actions' ) ); + $plugin_basename = defined( 'BLUEHOST_PLUGIN_FILE' ) + ? plugin_basename( constant( 'BLUEHOST_PLUGIN_FILE' ) ) + : 'bluehost-wordpress-plugin/bluehost-wordpress-plugin.php'; + \add_filter( "plugin_action_links_{$plugin_basename}", array( __CLASS__, 'actions' ) ); /* Add inline style to hide subnav link */ \add_action( 'admin_head', array( __CLASS__, 'admin_nav_style' ) ); diff --git a/package.json b/package.json index a3eac23b3..db799d59b 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,18 @@ { + "name": "bluehost-wordpress-plugin", + "version": "3.9.0", "description": "WordPress plugin that integrates your WordPress site with the Bluehost control panel, including performance, security, and update features.", + "author": { + "name": "Bluehost", + "homepage": "https://bluehost.com" + }, "license": "GPL-2.0-or-later", - "version": "3.9.0", "private": true, + "keywords": [ + "wordpress", + "plugin" + ], + "homepage": "https://github.com/bluehost/bluehost-wordpress-plugin#readme", "repository": { "type": "git", "url": "git+https://github.com/bluehost/bluehost-wordpress-plugin.git" @@ -10,7 +20,6 @@ "bugs": { "url": "https://github.com/bluehost/bluehost-wordpress-plugin/issues" }, - "homepage": "https://github.com/bluehost/bluehost-wordpress-plugin#readme", "contributors": [ "Abdulrahman Al Ani (https://alani.dev/)", "Evan Mullins (https://evanmullins.com)", diff --git a/src/app/components/app-nav/index.js b/src/app/components/app-nav/index.js index 45f844b08..95a7bba73 100644 --- a/src/app/components/app-nav/index.js +++ b/src/app/components/app-nav/index.js @@ -21,19 +21,20 @@ export const SideNavMenu = () => { const primaryMenu = () => { return (