| @@ -1,139 +1,4 @@ | ||
| 1 | -.chat-notification-badge { | |
| 2 | - animation: notification-pulse 2s infinite; | |
| 3 | - box-shadow: 0 0 0 rgba(255, 68, 68, 0.4); | |
| 4 | - transition: all 0.3s ease; | |
| 5 | -} | |
| 6 | - | |
| 7 | -@keyframes notification-pulse { | |
| 8 | - 0% { | |
| 9 | - transform: scale(1); | |
| 10 | - box-shadow: 0 0 0 0 rgba(255, 68, 68, 0.4); | |
| 11 | - } | |
| 12 | - 70% { | |
| 13 | - transform: scale(1.1); | |
| 14 | - box-shadow: 0 0 0 10px rgba(255, 68, 68, 0); | |
| 15 | - } | |
| 16 | - 100% { | |
| 17 | - transform: scale(1); | |
| 18 | - box-shadow: 0 0 0 0 rgba(255, 68, 68, 0); | |
| 19 | - } | |
| 20 | -} | |
| 21 | - | |
| 22 | - | |
| 23 | - | |
| 24 | - | |
| 25 | -/* Email Blocker Styles */ | |
| 26 | -.email-blocker { | |
| 27 | - display: flex; | |
| 28 | - flex-direction: column; | |
| 29 | - align-items: center; | |
| 30 | - justify-content: center; | |
| 31 | - border-radius: 12px; | |
| 32 | - padding: 30px 20px; | |
| 33 | - max-width: 100%; | |
| 34 | - margin: auto; | |
| 35 | - text-align: center; | |
| 36 | - animation: fadeIn 0.5s ease-in-out; | |
| 37 | -} | |
| 38 | - | |
| 39 | -.email-blocker-header { | |
| 40 | - margin-bottom: 20px; | |
| 41 | -} | |
| 42 | - | |
| 43 | -.email-blocker-logo { | |
| 44 | - max-width: 80px; | |
| 45 | - margin-bottom: 10px; | |
| 46 | -} | |
| 47 | - | |
| 48 | -.email-blocker h2 { | |
| 49 | - font-size: 24px; | |
| 50 | - font-weight: bold; | |
| 51 | - color: #333333; | |
| 52 | - margin-bottom: 10px; | |
| 53 | -} | |
| 54 | - | |
| 55 | -.email-blocker p { | |
| 56 | - font-size: 16px; | |
| 57 | - color: #555555; | |
| 58 | - margin-bottom: 20px; | |
| 59 | -} | |
| 60 | - | |
| 61 | -.email-blocker input[type="email"] { | |
| 62 | - width: 100%; | |
| 63 | - padding: 12px; | |
| 64 | - margin-bottom: 15px; | |
| 65 | - border: 1px solid #ddd; | |
| 66 | - border-radius: 8px; | |
| 67 | - font-size: 16px; | |
| 68 | - color: #333333; | |
| 69 | - box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); | |
| 70 | - transition: border-color 0.3s, box-shadow 0.3s; | |
| 71 | -} | |
| 72 | - | |
| 73 | -.email-blocker input[type="email"]:focus { | |
| 74 | - border-color: #0073aa; | |
| 75 | - box-shadow: 0 0 8px rgba(0, 115, 170, 0.3); | |
| 76 | - outline: none; | |
| 77 | -} | |
| 78 | - | |
| 79 | -.email-blocker button { | |
| 80 | - background-color: #0073aa; | |
| 81 | - color: #ffffff; | |
| 82 | - padding: 12px 20px; | |
| 83 | - border: none; | |
| 84 | - border-radius: 8px; | |
| 85 | - font-size: 16px; | |
| 86 | - font-weight: bold; | |
| 87 | - cursor: pointer; | |
| 88 | - width: 100%; | |
| 89 | - transition: background-color 0.3s, transform 0.2s; | |
| 90 | -} | |
| 91 | - | |
| 92 | -.email-blocker button:hover { | |
| 93 | - background-color: #005177; | |
| 94 | - transform: translateY(-2px); | |
| 95 | -} | |
| 96 | - | |
| 97 | -.email-blocker-footer { | |
| 98 | - margin-top: 20px; | |
| 99 | - font-size: 12px; | |
| 100 | - color: #888888; | |
| 101 | -} | |
| 102 | - | |
| 103 | -/* Accessibility: Hidden screen-reader label */ | |
| 104 | -.sr-only { | |
| 105 | - position: absolute; | |
| 106 | - width: 1px; | |
| 107 | - height: 1px; | |
| 108 | - padding: 0; | |
| 109 | - margin: -1px; | |
| 110 | - overflow: hidden; | |
| 111 | - clip: rect(0, 0, 0, 0); | |
| 112 | - white-space: nowrap; | |
| 113 | - border: 0; | |
| 114 | -} | |
| 115 | - | |
| 116 | -/* Animation */ | |
| 117 | -@keyframes fadeIn { | |
| 118 | - from { | |
| 119 | - opacity: 0; | |
| 120 | - transform: translateY(-10px); | |
| 121 | - } | |
| 122 | - to { | |
| 123 | - opacity: 1; | |
| 124 | - transform: translateY(0); | |
| 125 | - } | |
| 126 | -} | |
| 127 | - | |
| 128 | -/* Hide chatbot until email is provided */ | |
| 129 | -#mxchat-chatbot-wrapper { | |
| 130 | - display: none; | |
| 131 | -} | |
| 132 | - | |
| 133 | - | |
| 134 | - | |
| 135 | - | |
| 136 | 1 | .chatbot-title-icon { |
| 137 | 2 | width: 24px; |
| 138 | 3 | height: 24px; |
| 139 | 4 | object-fit: contain; |
| @@ -138,8 +3,9 @@ | ||
| 138 | 3 | height: 24px; |
| 139 | 4 | object-fit: contain; |
| 140 | 5 | } |
| 141 | 6 | |
| 7 | + | |
| 142 | 8 | .wp-admin .mxchat-search-results, |
| 143 | 9 | .wp-content .mxchat-search-results, |
| 144 | 10 | .site-content .mxchat-search-results, |
| 145 | 11 | .mxchat-search-results { |
| @@ -300,10 +166,10 @@ | ||
| 300 | 166 | background: none; |
| 301 | 167 | border: none; |
| 302 | 168 | padding: 0px; |
| 303 | 169 | cursor: pointer; |
| 304 | - width: 16px; | |
| 305 | - height: 16px; | |
| 170 | + width: 20px; | |
| 171 | + height: 20px; | |
| 306 | 172 | display: flex; |
| 307 | 173 | align-items: center; |
| 308 | 174 | justify-content: center; |
| 309 | 175 | opacity: 0.6; |
| @@ -993,9 +859,8 @@ | ||
| 993 | 859 | #mxchat-chatbot-wrapper .chatbot-top-bar button.exit-chat { |
| 994 | 860 | background: 0 0; |
| 995 | 861 | border: none; |
| 996 | 862 | opacity: .8; |
| 997 | - padding: 0px; | |
| 998 | 863 | } |
| 999 | 864 | |
| 1000 | 865 | .exit-chat { |
| 1001 | 866 | border: none; |
| @@ -1109,10 +974,9 @@ | ||
| 1109 | 974 | align-items: center; |
| 1110 | 975 | justify-content: center; |
| 1111 | 976 | padding: 0; |
| 1112 | 977 | line-height: 1; |
| 1113 | - display: flex; | |
| 1114 | - min-height: 20px; | |
| 978 | + display: flex; /* Show the close button on hover */ | |
| 1115 | 979 | } |
| 1116 | 980 | |
| 1117 | 981 | |
| 1118 | 982 | |
| @@ -1149,18 +1013,5 @@ | ||
| 1149 | 1013 | #mxchat-chatbot-wrapper .chatbot-top-bar { |
| 1150 | 1014 | border-top-left-radius: 0; |
| 1151 | 1015 | border-top-right-radius: 0; |
| 1152 | 1016 | } |
| 1153 | -} | |
| 1154 | - | |
| 1155 | - | |
| 1156 | -.bot-message p { | |
| 1157 | - margin: 0 0 1em 0; | |
| 1158 | -} | |
| 1159 | - | |
| 1160 | -.bot-message p:last-child { | |
| 1161 | - margin-bottom: 0; | |
| 1162 | -} | |
| 1163 | - | |
| 1164 | -.bot-message { | |
| 1165 | - white-space: pre-line; | |
| 1166 | 1017 | } |