| @@ -1,218 +1,290 @@ | ||
| 1 | 1 | /* UI Toolbar *************************************************************************************************/ |
| 2 | 2 | /* To Compile file: Alt + F12 and run command: "gulp wpbc" */ |
| 3 | +html { | |
| 4 | + /* 1. Default Button Style ------------------------------------------------------------------------------------------ */ | |
| 5 | + .ui_element .wpbc_ui_button, | |
| 6 | + .ui_element .wpbc_button_as_icon { | |
| 7 | + display: flex; | |
| 8 | + flex-flow: row nowrap; | |
| 9 | + justify-content: flex-start; | |
| 10 | + align-items: center; | |
| 3 | 11 | |
| 4 | -/* 1. Default Button Style ------------------------------------------------------------------------------------------ */ | |
| 5 | -.ui_element .wpbc_ui_button, | |
| 6 | -.ui_element .wpbc_button_as_icon { | |
| 7 | - display: flex; | |
| 8 | - flex-flow: row nowrap; | |
| 9 | - justify-content: flex-start; | |
| 10 | - align-items: center; | |
| 12 | + text-decoration: none; | |
| 13 | + /*font-size: 13px;*/ | |
| 14 | + /*line-height: 2.15384615; !* 28px *!*/ | |
| 15 | + /*min-height: 30px;*/ | |
| 16 | + min-height: 24px; | |
| 17 | + margin: 0; | |
| 18 | + padding: 0 10px 2px; | |
| 19 | + padding-bottom: 1px; | |
| 20 | + cursor: pointer; | |
| 21 | + /*border-width: 1px; - Defined at Several elements in a Group. Point #2. */ | |
| 22 | + border-style: solid; | |
| 23 | + -webkit-appearance: none; | |
| 24 | + /*border-radius: 3px; - Defined at Several elements in a Group. Point #2. */ | |
| 25 | + white-space: nowrap; | |
| 26 | + box-sizing: border-box; | |
| 27 | + } | |
| 28 | + .ui_element .wpbc_button_as_icon { | |
| 29 | + border:none; | |
| 30 | + } | |
| 31 | + .ui_element .wpbc_ui_button, | |
| 32 | + .ui_element .wpbc_ui_button-secondary { | |
| 33 | + color: #555; | |
| 34 | + border-color: #d7d7d7; | |
| 35 | + background: #fdfdfd; | |
| 36 | + vertical-align: top; | |
| 37 | + } | |
| 38 | + /* :hover ---- */ | |
| 39 | + .ui_element .wpbc_ui_button.hover:not(.inactive), | |
| 40 | + .ui_element .wpbc_ui_button:hover:not(.inactive), | |
| 41 | + .ui_element .wpbc_ui_button-secondary:hover:not(.inactive){ | |
| 42 | + background: #fafafa; | |
| 43 | + border-color: #d8d8d8;; | |
| 44 | + color: #23282d; | |
| 45 | + text-decoration: none; | |
| 46 | + } | |
| 47 | + .ui_element .wpbc_ui_button.hover.inactive, | |
| 48 | + .ui_element .wpbc_ui_button.inactive:hover, | |
| 49 | + .ui_element .wpbc_ui_button-secondary.inactive:hover{ | |
| 50 | + cursor: default; | |
| 51 | + } | |
| 52 | + /* :focus ---- */ | |
| 53 | + .ui_element .wpbc_ui_button.focus, | |
| 54 | + .ui_element .wpbc_ui_button:focus, | |
| 55 | + .ui_element .wpbc_ui_button-secondary:focus { | |
| 56 | + background: #fafafa; | |
| 57 | + border-color: #d8d8d8; | |
| 58 | + color: #23282d; | |
| 59 | + /*box-shadow: 0 0 0 1px #4f94d4, 0 0 2px 1px rgba(79, 148, 212, 0.8); This is Default: WordPress */ | |
| 60 | + box-shadow: 0 0 0 0px #4f94d4, 0 0 1px 1px rgba(79, 148, 212, 0.8); | |
| 61 | + box-shadow: 0 0 0 1px #fff,0 0 0 3px var(--wpbc_admin-theme-color, #2271b1); | |
| 62 | + z-index: 1; | |
| 63 | + text-decoration: none; | |
| 11 | 64 | |
| 12 | - text-decoration: none; | |
| 13 | - /*font-size: 13px;*/ | |
| 14 | - /*line-height: 2.15384615; !* 28px *!*/ | |
| 15 | - /*min-height: 30px;*/ | |
| 16 | - min-height: 24px; | |
| 17 | - margin: 0; | |
| 18 | - padding: 0 10px 2px; | |
| 19 | - padding-bottom: 1px; | |
| 20 | - cursor: pointer; | |
| 21 | - /*border-width: 1px; - Defined at Several elements in a Group. Point #2. */ | |
| 22 | - border-style: solid; | |
| 23 | - -webkit-appearance: none; | |
| 24 | - /*border-radius: 3px; - Defined at Several elements in a Group. Point #2. */ | |
| 25 | - white-space: nowrap; | |
| 26 | - box-sizing: border-box; | |
| 27 | -} | |
| 28 | -.ui_element .wpbc_button_as_icon { | |
| 29 | - border:none; | |
| 30 | -} | |
| 31 | -.ui_element .wpbc_ui_button, | |
| 32 | -.ui_element .wpbc_ui_button-secondary { | |
| 33 | - color: #555; | |
| 65 | + /* Only visible in Windows High Contrast mode */ | |
| 66 | + outline: 2px solid transparent; | |
| 67 | + /* Reset inherited offset from Gutenberg */ | |
| 68 | + outline-offset: 0; | |
| 69 | + } | |
| 70 | + /* :active ---- */ | |
| 71 | + .wpbc_ui_dropdown.open > .wpbc_ui_button:not(.inactive), | |
| 72 | + .ui_element .wpbc_ui_button:active:not(.inactive), | |
| 73 | + .ui_element .wpbc_ui_button-secondary:active:not(.inactive) { | |
| 74 | + /*background: #f6f7f7;*/ | |
| 34 | 75 | border-color: #d8d8d8; |
| 35 | - background: #f7f7f7; | |
| 36 | - vertical-align: top; | |
| 37 | -} | |
| 38 | -/* :hover ---- */ | |
| 39 | -.ui_element .wpbc_ui_button.hover:not(.inactive), | |
| 40 | -.ui_element .wpbc_ui_button:hover:not(.inactive), | |
| 41 | -.ui_element .wpbc_ui_button-secondary:hover:not(.inactive){ | |
| 42 | - background: #fafafa; | |
| 43 | - border-color: #d8d8d8;; | |
| 44 | - color: #23282d; | |
| 45 | - text-decoration: none; | |
| 46 | -} | |
| 47 | -.ui_element .wpbc_ui_button.hover.inactive, | |
| 48 | -.ui_element .wpbc_ui_button.inactive:hover, | |
| 49 | -.ui_element .wpbc_ui_button-secondary.inactive:hover{ | |
| 50 | - cursor: default; | |
| 51 | -} | |
| 52 | -/* :focus ---- */ | |
| 53 | -.ui_element .wpbc_ui_button.focus, | |
| 54 | -.ui_element .wpbc_ui_button:focus, | |
| 55 | -.ui_element .wpbc_ui_button-secondary:focus { | |
| 56 | - background: #fafafa; | |
| 57 | - border-color: #d8d8d8; | |
| 58 | - color: #23282d; | |
| 59 | - /*box-shadow: 0 0 0 1px #4f94d4, 0 0 2px 1px rgba(79, 148, 212, 0.8); This is Default: WordPress */ | |
| 60 | - box-shadow: 0 0 0 0px #4f94d4, 0 0 1px 1px rgba(79, 148, 212, 0.8); | |
| 61 | - z-index: 1; | |
| 76 | + /*box-shadow: inset 0 1px 7px -3px rgba(0, 0, 0, .3);*/ | |
| 77 | + /*box-shadow: inset 0 2px 10px -4px rgba(0, 0, 0, 0.1);*/ | |
| 78 | + /*transform: translateY(1px);*/ | |
| 79 | + /*transform: translateY(0px);*/ | |
| 80 | + outline: 0; | |
| 81 | + text-decoration: none; | |
| 82 | + background: #fff; | |
| 83 | + box-shadow: inset 0 5px 20px -3px rgba(0, 0, 0, 0.06); | |
| 84 | + } | |
| 85 | + /* :disabled ---- */ | |
| 86 | + .ui_element .wpbc_ui_button:disabled, | |
| 87 | + .ui_element .wpbc_ui_button[disabled], | |
| 88 | + .ui_element.disabled .wpbc_ui_button, | |
| 89 | + .ui_element .wpbc_ui_button.disabled, | |
| 90 | + .ui_element .wpbc_ui_button-secondary[disabled], | |
| 91 | + .ui_element .wpbc_ui_button-secondary:disabled, | |
| 92 | + .ui_element .wpbc_ui_button-secondary.disabled, | |
| 93 | + .ui_element .wpbc_ui_button-disabled { | |
| 94 | + color: #a7aaad !important; | |
| 95 | + border-color: #dcdcde !important; | |
| 96 | + background: #f6f7f7 !important; | |
| 97 | + box-shadow: none !important; | |
| 98 | + cursor: default; | |
| 99 | + transform: none !important; | |
| 100 | + } | |
| 101 | + /* .active CLASS - pressed button, pressed state e.g. a selected setting */ | |
| 102 | + .ui_element .wpbc_ui_button.active:not(.inactive), | |
| 103 | + .ui_element .wpbc_ui_button.active:hover:not(.inactive) { | |
| 104 | + background: #f6f7f7; | |
| 105 | + border-color: #d8d8d8; | |
| 106 | + box-shadow: inset 0 1px 7px -3px rgba(0, 0, 0, .3); | |
| 107 | + transform: translateY(1px); | |
| 108 | + outline: 0; | |
| 109 | + text-decoration: none; | |
| 110 | + } | |
| 111 | + .ui_element .wpbc_ui_button.active:focus:not(.inactive) { | |
| 112 | + border-color: #3582c4; | |
| 113 | + box-shadow:inset 0 1px 5px -3px #0a4b78, 0 0 1px 1px rgba(79, 148, 212, 0.1); | |
| 114 | + } | |
| 115 | + | |
| 116 | + /* 2. Primary Button Style ----------------------------------------------------------------------------------------- */ | |
| 117 | + .ui_element .wpbc_ui_button_primary { | |
| 118 | + background: var(--wpbc_admin-theme-color, #0085ba); | |
| 119 | + border-color: #0073aa #006799 #006799; | |
| 120 | + border-color: transparent; | |
| 121 | + color: #fff; | |
| 122 | + text-shadow: 0 -1px 1px #006799, 1px 0 1px #006799, 0 1px 1px #006799, -1px 0 1px #006799; | |
| 62 | 123 | text-decoration: none; |
| 124 | + box-shadow: 0 1px 0px #f1f1f1; | |
| 125 | + } | |
| 126 | + /* :hover, :focus ---- */ | |
| 127 | + .ui_element .wpbc_ui_button_primary.hover:not(.inactive), | |
| 128 | + .ui_element .wpbc_ui_button_primary:hover:not(.inactive), | |
| 129 | + .ui_element .wpbc_ui_button_primary.focus:not(.inactive), | |
| 130 | + .ui_element .wpbc_ui_button_primary:focus:not(.inactive) { | |
| 131 | + /*background: #135e96;*/ | |
| 132 | + /*border-color: #135e96;*/ | |
| 133 | + /*color: #fff;*/ | |
| 134 | + background: var(--wpbc_admin-theme-color, #008ec2 ); | |
| 135 | + border-color: #006799; | |
| 136 | + color: #fff; | |
| 137 | + } | |
| 138 | + /* :focus ---- */ | |
| 139 | + .ui_element .wpbc_ui_button_primary.focus:not(.inactive), | |
| 140 | + .ui_element .wpbc_ui_button_primary:focus:not(.inactive) { | |
| 141 | + box-shadow:0 0 0 0px #fff, 0 0 2px 1px #a4d7ff; | |
| 142 | + box-shadow: 0 0 0 1.5px #fff,0 0 0 3px var(--wpbc_admin-theme-color, #2271b1); | |
| 143 | + } | |
| 144 | + /* :active ---- */ | |
| 145 | + .ui_element .wpbc_ui_button_primary.active:not(.inactive), | |
| 146 | + .ui_element .wpbc_ui_button_primary.active:hover:not(.inactive), | |
| 147 | + .ui_element .wpbc_ui_button_primary.active:focus:not(.inactive), | |
| 148 | + .ui_element .wpbc_ui_button_primary:active:not(.inactive) { | |
| 149 | + background: #0c7ca8; | |
| 150 | + border-color: #0b79a4; | |
| 151 | + box-shadow: inset 0 1px 7px -3px rgba(0, 0, 0, .3); | |
| 152 | + color: #fff; | |
| 153 | + } | |
| 154 | + /* :disabled ---- */ | |
| 155 | + .ui_element .wpbc_ui_button_primary[disabled], | |
| 156 | + .ui_element .wpbc_ui_button_primary:disabled, | |
| 157 | + .ui_element .wpbc_ui_button_primary-disabled, | |
| 158 | + .ui_element .wpbc_ui_button_primary.disabled { | |
| 159 | + color: #a7aaad !important; | |
| 160 | + background: #f6f7f7 !important; | |
| 161 | + border-color: #dcdcde !important; | |
| 162 | + box-shadow: none !important; | |
| 163 | + text-shadow: none !important; | |
| 164 | + cursor: default; | |
| 165 | + } | |
| 63 | 166 | |
| 64 | - /* Only visible in Windows High Contrast mode */ | |
| 65 | - outline: 2px solid transparent; | |
| 66 | - /* Reset inherited offset from Gutenberg */ | |
| 67 | - outline-offset: 0; | |
| 68 | -} | |
| 69 | -/* :active ---- */ | |
| 70 | -.wpbc_ui_dropdown.open > .wpbc_ui_button:not(.inactive), | |
| 71 | -.ui_element .wpbc_ui_button:active:not(.inactive), | |
| 72 | -.ui_element .wpbc_ui_button-secondary:active:not(.inactive) { | |
| 73 | - background: #f6f7f7; | |
| 74 | - border-color: #d8d8d8; | |
| 75 | - box-shadow: inset 0 1px 7px -3px rgba(0, 0, 0, .3); | |
| 76 | - transform: translateY(1px); | |
| 77 | - outline: 0; | |
| 167 | + /* 2.1 Danger (Red) Button Style ----------------------------------------------------------------------------------------- */ | |
| 168 | + .ui_element .wpbc_ui_button_danger { | |
| 169 | + background: #de605c; | |
| 170 | + border-color: #c05d5a; | |
| 171 | + color: #f7f7f7; | |
| 172 | + text-shadow: 0 0px #ba5956; | |
| 78 | 173 | text-decoration: none; |
| 79 | -} | |
| 80 | -/* :disabled ---- */ | |
| 81 | -.ui_element .wpbc_ui_button:disabled, | |
| 82 | -.ui_element .wpbc_ui_button[disabled], | |
| 83 | -.ui_element.disabled .wpbc_ui_button, | |
| 84 | -.ui_element .wpbc_ui_button.disabled, | |
| 85 | -.ui_element .wpbc_ui_button-secondary[disabled], | |
| 86 | -.ui_element .wpbc_ui_button-secondary:disabled, | |
| 87 | -.ui_element .wpbc_ui_button-secondary.disabled, | |
| 88 | -.ui_element .wpbc_ui_button-disabled { | |
| 89 | - color: #a7aaad !important; | |
| 90 | - border-color: #dcdcde !important; | |
| 91 | - background: #f6f7f7 !important; | |
| 92 | - box-shadow: none !important; | |
| 93 | - cursor: default; | |
| 94 | - transform: none !important; | |
| 95 | -} | |
| 96 | -/* .active CLASS - pressed button, pressed state e.g. a selected setting */ | |
| 97 | -.ui_element .wpbc_ui_button.active:not(.inactive), | |
| 98 | -.ui_element .wpbc_ui_button.active:hover:not(.inactive) { | |
| 99 | - background: #f6f7f7; | |
| 100 | - border-color: #d8d8d8; | |
| 101 | - box-shadow: inset 0 1px 7px -3px rgba(0, 0, 0, .3); | |
| 102 | - transform: translateY(1px); | |
| 103 | - outline: 0; | |
| 174 | + box-shadow: 0 1px 0px #f1f1f1; | |
| 175 | + } | |
| 176 | + /* :hover, :focus ---- */ | |
| 177 | + .ui_element .wpbc_ui_button_danger.hover:not(.inactive), | |
| 178 | + .ui_element .wpbc_ui_button_danger:hover:not(.inactive), | |
| 179 | + .ui_element .wpbc_ui_button_danger.focus:not(.inactive), | |
| 180 | + .ui_element .wpbc_ui_button_danger:focus:not(.inactive) { | |
| 181 | + background: #e6716f; | |
| 182 | + border-color: #d58582; | |
| 183 | + color: #fdfdfd; | |
| 184 | + text-shadow: none; | |
| 185 | + box-shadow: 0 0 0 1.5px #fff,0 0 0 3px var(--wpbc_admin-theme-color, #2271b1); | |
| 186 | + border-color:transparent; | |
| 187 | + } | |
| 188 | + /* :focus ---- */ | |
| 189 | + .ui_element .wpbc_ui_button_danger.focus:not(.inactive), | |
| 190 | + .ui_element .wpbc_ui_button_danger:focus:not(.inactive) { | |
| 191 | + box-shadow:0 0 0 0px #fff, 0 0 2px 1px #a4d7ff; | |
| 192 | + box-shadow: 0 0 0 1.5px #fff,0 0 0 3px var(--wpbc_admin-theme-color, #2271b1); | |
| 193 | + border-color:transparent; | |
| 194 | + } | |
| 195 | + /* :active ---- */ | |
| 196 | + .ui_element .wpbc_ui_button_danger.active:not(.inactive), | |
| 197 | + .ui_element .wpbc_ui_button_danger.active:hover:not(.inactive), | |
| 198 | + .ui_element .wpbc_ui_button_danger.active:focus:not(.inactive), | |
| 199 | + .ui_element .wpbc_ui_button_danger:active:not(.inactive) { | |
| 200 | + background: #ba4c48; | |
| 201 | + border-color: #c05d5a; | |
| 202 | + box-shadow: inset 0 1px 7px -3px rgba(0, 0, 0, .1); | |
| 203 | + color: #f3f2f2; | |
| 204 | + box-shadow: 0 0 0 1.5px #fff,0 0 0 3px var(--wpbc_admin-theme-color, #2271b1); | |
| 205 | + border-color:transparent; | |
| 206 | + } | |
| 207 | + /* :disabled ---- */ | |
| 208 | + .ui_element .wpbc_ui_button_danger[disabled], | |
| 209 | + .ui_element .wpbc_ui_button_danger:disabled, | |
| 210 | + .ui_element .wpbc_ui_button_danger-disabled, | |
| 211 | + .ui_element .wpbc_ui_button_danger.disabled { | |
| 212 | + color: #a7aaad !important; | |
| 213 | + background: #f6f7f7 !important; | |
| 214 | + border-color: #dcdcde !important; | |
| 215 | + box-shadow: none !important; | |
| 216 | + text-shadow: none !important; | |
| 217 | + cursor: default; | |
| 218 | + } | |
| 219 | + @media (max-width: 782px) { | |
| 220 | + .ui_element .in-button-text { | |
| 221 | + display: none; | |
| 222 | + } | |
| 223 | + } | |
| 224 | + /* 2.2 Green (Green) Button Style ----------------------------------------------------------------------------------------- */ | |
| 225 | + .ui_element .wpbc_ui_button_green { | |
| 226 | + /*background: #fdfdfd;*/ | |
| 227 | + /*border-color: #b8cbb2;*/ | |
| 228 | + /*color: #58734c;*/ | |
| 229 | + text-shadow: 0px 0px 0px #429120; | |
| 104 | 230 | text-decoration: none; |
| 105 | -} | |
| 106 | -.ui_element .wpbc_ui_button.active:focus:not(.inactive) { | |
| 107 | - border-color: #3582c4; | |
| 108 | - box-shadow:inset 0 1px 5px -3px #0a4b78, 0 0 1px 1px rgba(79, 148, 212, 0.1); | |
| 109 | -} | |
| 110 | - | |
| 111 | -/* 2. Primary Button Style ----------------------------------------------------------------------------------------- */ | |
| 112 | -.ui_element .wpbc_ui_button_primary { | |
| 113 | - background: #0085ba; | |
| 114 | - border-color: #0073aa #006799 #006799; | |
| 115 | - color: #fff; | |
| 116 | - text-shadow: 0 -1px 1px #006799, 1px 0 1px #006799, 0 1px 1px #006799, -1px 0 1px #006799; | |
| 117 | - text-decoration: none; | |
| 118 | - box-shadow: 0 1px 0px #f1f1f1; | |
| 119 | - /*background: #2271b1;*/ | |
| 120 | - /*border-color: #2271b1;*/ | |
| 121 | - /*color: #fff;*/ | |
| 122 | - /*text-decoration: none;*/ | |
| 123 | - /*text-shadow: none;*/ | |
| 124 | -} | |
| 125 | -/* :hover, :focus ---- */ | |
| 126 | -.ui_element .wpbc_ui_button_primary.hover:not(.inactive), | |
| 127 | -.ui_element .wpbc_ui_button_primary:hover:not(.inactive), | |
| 128 | -.ui_element .wpbc_ui_button_primary.focus:not(.inactive), | |
| 129 | -.ui_element .wpbc_ui_button_primary:focus:not(.inactive) { | |
| 130 | - /*background: #135e96;*/ | |
| 131 | - /*border-color: #135e96;*/ | |
| 132 | - /*color: #fff;*/ | |
| 133 | - background: #008ec2; | |
| 134 | - border-color: #006799; | |
| 135 | - color: #fff; | |
| 136 | -} | |
| 137 | -/* :focus ---- */ | |
| 138 | -.ui_element .wpbc_ui_button_primary.focus:not(.inactive), | |
| 139 | -.ui_element .wpbc_ui_button_primary:focus:not(.inactive) { | |
| 140 | - box-shadow:0 0 0 0px #fff, 0 0 2px 1px #a4d7ff; | |
| 141 | -} | |
| 142 | -/* :active ---- */ | |
| 143 | -.ui_element .wpbc_ui_button_primary.active:not(.inactive), | |
| 144 | -.ui_element .wpbc_ui_button_primary.active:hover:not(.inactive), | |
| 145 | -.ui_element .wpbc_ui_button_primary.active:focus:not(.inactive), | |
| 146 | -.ui_element .wpbc_ui_button_primary:active:not(.inactive) { | |
| 147 | - background: #0c7ca8; | |
| 148 | - border-color: #0b79a4; | |
| 149 | - box-shadow: inset 0 1px 7px -3px rgba(0, 0, 0, .3); | |
| 150 | - color: #fff; | |
| 151 | -} | |
| 152 | -/* :disabled ---- */ | |
| 153 | -.ui_element .wpbc_ui_button_primary[disabled], | |
| 154 | -.ui_element .wpbc_ui_button_primary:disabled, | |
| 155 | -.ui_element .wpbc_ui_button_primary-disabled, | |
| 156 | -.ui_element .wpbc_ui_button_primary.disabled { | |
| 157 | - color: #a7aaad !important; | |
| 158 | - background: #f6f7f7 !important; | |
| 159 | - border-color: #dcdcde !important; | |
| 160 | - box-shadow: none !important; | |
| 161 | - text-shadow: none !important; | |
| 162 | - cursor: default; | |
| 163 | -} | |
| 164 | - | |
| 165 | -/* 2.1 Danger (Red) Button Style ----------------------------------------------------------------------------------------- */ | |
| 166 | -.ui_element .wpbc_ui_button_danger { | |
| 167 | - background: #de605c; | |
| 168 | - border-color: #c05d5a; | |
| 169 | - color: #f7f7f7; | |
| 170 | - text-shadow: 0 0px #ba5956; | |
| 171 | - text-decoration: none; | |
| 172 | - box-shadow: 0 1px 0px #f1f1f1; | |
| 173 | -} | |
| 174 | -/* :hover, :focus ---- */ | |
| 175 | -.ui_element .wpbc_ui_button_danger.hover:not(.inactive), | |
| 176 | -.ui_element .wpbc_ui_button_danger:hover:not(.inactive), | |
| 177 | -.ui_element .wpbc_ui_button_danger.focus:not(.inactive), | |
| 178 | -.ui_element .wpbc_ui_button_danger:focus:not(.inactive) { | |
| 179 | - background: #e6716f; | |
| 180 | - border-color: #d58582; | |
| 181 | - color: #fdfdfd; | |
| 182 | - text-shadow: none; | |
| 183 | -} | |
| 184 | -/* :focus ---- */ | |
| 185 | -.ui_element .wpbc_ui_button_danger.focus:not(.inactive), | |
| 186 | -.ui_element .wpbc_ui_button_danger:focus:not(.inactive) { | |
| 187 | - box-shadow:0 0 0 0px #fff, 0 0 2px 1px #a4d7ff; | |
| 188 | -} | |
| 189 | -/* :active ---- */ | |
| 190 | -.ui_element .wpbc_ui_button_danger.active:not(.inactive), | |
| 191 | -.ui_element .wpbc_ui_button_danger.active:hover:not(.inactive), | |
| 192 | -.ui_element .wpbc_ui_button_danger.active:focus:not(.inactive), | |
| 193 | -.ui_element .wpbc_ui_button_danger:active:not(.inactive) { | |
| 194 | - background: #ba4c48; | |
| 195 | - border-color: #c05d5a; | |
| 196 | - box-shadow: inset 0 1px 7px -3px rgba(0, 0, 0, .1); | |
| 197 | - color: #f3f2f2; | |
| 198 | -} | |
| 199 | -/* :disabled ---- */ | |
| 200 | -.ui_element .wpbc_ui_button_danger[disabled], | |
| 201 | -.ui_element .wpbc_ui_button_danger:disabled, | |
| 202 | -.ui_element .wpbc_ui_button_danger-disabled, | |
| 203 | -.ui_element .wpbc_ui_button_danger.disabled { | |
| 204 | - color: #a7aaad !important; | |
| 205 | - background: #f6f7f7 !important; | |
| 206 | - border-color: #dcdcde !important; | |
| 207 | - box-shadow: none !important; | |
| 208 | - text-shadow: none !important; | |
| 209 | - cursor: default; | |
| 210 | -} | |
| 211 | -@media (max-width: 782px) { | |
| 212 | - .ui_element .in-button-text { | |
| 213 | - display: none; | |
| 231 | + box-shadow: none; | |
| 232 | + background: #64aa45; | |
| 233 | + color: #fff; | |
| 234 | + border-color: #5b963b; | |
| 214 | 235 | } |
| 236 | + /* :hover, :focus ---- */ | |
| 237 | + .ui_element .wpbc_ui_button_green.hover:not(.inactive), | |
| 238 | + .ui_element .wpbc_ui_button_green:hover:not(.inactive), | |
| 239 | + .ui_element .wpbc_ui_button_green.focus:not(.inactive), | |
| 240 | + .ui_element .wpbc_ui_button_green:focus:not(.inactive) { | |
| 241 | + background: #5b963b; | |
| 242 | + color: #fff; | |
| 243 | + text-shadow: none; | |
| 244 | + box-shadow: 0 0 0 1.5px #fff,0 0 0 2.5px #5b963b; | |
| 245 | + box-shadow: none; | |
| 246 | + border-color:transparent; | |
| 247 | + } | |
| 248 | + .ui_element .wpbc_ui_button_green.hover:not(.inactive) *, | |
| 249 | + .ui_element .wpbc_ui_button_green:hover:not(.inactive) *, | |
| 250 | + .ui_element .wpbc_ui_button_green.focus:not(.inactive) *, | |
| 251 | + .ui_element .wpbc_ui_button_green:focus:not(.inactive) * { | |
| 252 | + color: #fff; | |
| 253 | + } | |
| 254 | + /* :focus ---- */ | |
| 255 | + .ui_element .wpbc_ui_button_green.focus:not(.inactive), | |
| 256 | + .ui_element .wpbc_ui_button_green:focus:not(.inactive) { | |
| 257 | + box-shadow: 0 0 0 1.5px #fff,0 0 0 3px #5e993d; | |
| 258 | + border-color:transparent; | |
| 259 | + } | |
| 260 | + /* :active ---- */ | |
| 261 | + .ui_element .wpbc_ui_button_green.active:not(.inactive), | |
| 262 | + .ui_element .wpbc_ui_button_green.active:hover:not(.inactive), | |
| 263 | + .ui_element .wpbc_ui_button_green.active:focus:not(.inactive), | |
| 264 | + .ui_element .wpbc_ui_button_green:active:not(.inactive) { | |
| 265 | + background: #5b963b; | |
| 266 | + box-shadow: inset 0 1px 7px -3px rgba(0, 0, 0, .1); | |
| 267 | + color: #fff; | |
| 268 | + box-shadow: 0 0 0 1.5px #fff,0 0 0 3px #5b963b; | |
| 269 | + border-color:transparent; | |
| 270 | + } | |
| 271 | + /* :disabled ---- */ | |
| 272 | + .ui_element .wpbc_ui_button_green[disabled], | |
| 273 | + .ui_element .wpbc_ui_button_green:disabled, | |
| 274 | + .ui_element .wpbc_ui_button_green-disabled, | |
| 275 | + .ui_element .wpbc_ui_button_green.disabled, | |
| 276 | + .ui_element .wpbc_ui_button_green[disabled]:hover, | |
| 277 | + .ui_element .wpbc_ui_button_green:disabled:hover, | |
| 278 | + .ui_element .wpbc_ui_button_green-disabled:hover, | |
| 279 | + .ui_element .wpbc_ui_button_green.disabled:hover{ | |
| 280 | + color: #a7aaad !important; | |
| 281 | + background: #f6f7f7 !important; | |
| 282 | + border-color: #dcdcde !important; | |
| 283 | + box-shadow: none !important; | |
| 284 | + text-shadow: none !important; | |
| 285 | + cursor: default; | |
| 286 | + } | |
| 215 | 287 | } |
| 216 | 288 | |
| 217 | 289 | /* 3.1 Text --------------------------------------------------------------------------------------------------------- */ |
| 218 | 290 | .ui_element .wpbc_ui_text { |
| @@ -222,10 +294,10 @@ | ||
| 222 | 294 | /* :focus ---- */ |
| 223 | 295 | .ui_element .wpbc_ui_text.focus, |
| 224 | 296 | .ui_element .wpbc_ui_text:focus { |
| 225 | 297 | |
| 226 | - border-color: #2271b1; | |
| 227 | - box-shadow: 0 0 0 1px #2271b1; | |
| 298 | + border-color: var(--wpbc_admin-theme-color, #2271b1); | |
| 299 | + box-shadow: 0 0 0 1px var(--wpbc_admin-theme-color, #2271b1); | |
| 228 | 300 | |
| 229 | 301 | border-color: #d8d8d8; |
| 230 | 302 | /*box-shadow: 0 0 0 1px #4f94d4, 0 0 2px 1px rgba(79, 148, 212, 0.8); This is Default: WordPress */ |
| 231 | 303 | box-shadow: 0 0 0 0px #4f94d4, 0 0 1px 1px rgba(79, 148, 212, 0.8); |
| @@ -242,10 +314,10 @@ | ||
| 242 | 314 | /* :focus ---- */ |
| 243 | 315 | .ui_element .wpbc_ui_select.focus, |
| 244 | 316 | .ui_element .wpbc_ui_select:focus { |
| 245 | 317 | |
| 246 | - border-color: #2271b1; | |
| 247 | - box-shadow: 0 0 0 1px #2271b1; | |
| 318 | + border-color: var(--wpbc_admin-theme-color, #2271b1); | |
| 319 | + box-shadow: 0 0 0 1px var(--wpbc_admin-theme-color, #2271b1); | |
| 248 | 320 | |
| 249 | 321 | border-color: #d8d8d8; |
| 250 | 322 | /*box-shadow: 0 0 0 1px #4f94d4, 0 0 2px 1px rgba(79, 148, 212, 0.8); This is Default: WordPress */ |
| 251 | 323 | box-shadow: 0 0 0 0px #4f94d4, 0 0 1px 1px rgba(79, 148, 212, 0.8); |
| @@ -284,8 +356,12 @@ | ||
| 284 | 356 | border-radius: 50%; |
| 285 | 357 | margin-right: 0.25rem; |
| 286 | 358 | line-height: 0.71428571; |
| 287 | 359 | } |
| 360 | +input[type="checkbox"].wpbc_ui_checkbox:checked::before, | |
| 361 | +input[type="radio"].wpbc_ui_radio:checked::before { | |
| 362 | + margin: 0.2rem 0.2rem auto; | |
| 363 | +} | |
| 288 | 364 | /* :focus ---- */ |
| 289 | 365 | .ui_element .wpbc_ui_checkbox.focus, |
| 290 | 366 | .ui_element .wpbc_ui_checkbox:focus, |
| 291 | 367 | .ui_element .wpbc_ui_radio.focus, |
| @@ -290,10 +366,10 @@ | ||
| 290 | 366 | .ui_element .wpbc_ui_checkbox:focus, |
| 291 | 367 | .ui_element .wpbc_ui_radio.focus, |
| 292 | 368 | .ui_element .wpbc_ui_radio:focus { |
| 293 | 369 | |
| 294 | - border-color: #2271b1; | |
| 295 | - box-shadow: 0 0 0 1px #2271b1; | |
| 370 | + border-color: var(--wpbc_admin-theme-color, #2271b1); | |
| 371 | + box-shadow: 0 0 0 1px var(--wpbc_admin-theme-color, #2271b1); | |
| 296 | 372 | |
| 297 | 373 | border-color: #d8d8d8; |
| 298 | 374 | /*box-shadow: 0 0 0 1px #4f94d4, 0 0 2px 1px rgba(79, 148, 212, 0.8); This is Default: WordPress */ |
| 299 | 375 | box-shadow: 0 0 0 0px #4f94d4, 0 0 1px 1px rgba(79, 148, 212, 0.8); |
| @@ -319,117 +395,170 @@ | ||
| 319 | 395 | } |
| 320 | 396 | } |
| 321 | 397 | /* 3.3.5 Toggle elements, instead of checkboxes ------------------------------------------------------------------ */ |
| 322 | 398 | .wpbc_ui__toggle { |
| 323 | - align-items:flex-start; | |
| 324 | - display:flex; | |
| 325 | - gap:10px; | |
| 399 | + align-items: flex-start; | |
| 400 | + display: flex; | |
| 401 | + gap: 10px; | |
| 326 | 402 | } |
| 327 | 403 | .wpbc_ui__toggle input[type=checkbox] { |
| 328 | - display:none; | |
| 329 | - height:0; | |
| 330 | - width:0; | |
| 404 | + display: none; | |
| 405 | + height: 0; | |
| 406 | + width: 0; | |
| 331 | 407 | } |
| 332 | -.wpbc_ui__toggle input[type=checkbox]:checked+label.wpbc_ui__toggle_icon { | |
| 333 | - background-color:#036aab; | |
| 408 | +.wpbc_ui__toggle input[type=checkbox]:checked + label.wpbc_ui__toggle_icon { | |
| 409 | + background-color: var( --wpbc_admin-theme-color, #036aab ); | |
| 334 | 410 | } |
| 335 | -.wpbc_ui__toggle input[type=checkbox]:checked+label.wpbc_ui__toggle_icon:after { | |
| 336 | - left:calc( 100% - 13px - 2px); | |
| 411 | +.wpbc_ui__toggle input[type=checkbox]:checked + label.wpbc_ui__toggle_icon:after { | |
| 412 | + left: calc(100% - 13px - 2px); | |
| 337 | 413 | } |
| 338 | 414 | .wpbc_ui__toggle span, |
| 339 | 415 | .wpbc_ui__toggle label { |
| 340 | - align-items:flex-start; | |
| 341 | - display:flex; | |
| 342 | - gap:10px; | |
| 343 | - margin:0; | |
| 344 | - vertical-align:unset; | |
| 416 | + align-items: flex-start; | |
| 417 | + display: flex; | |
| 418 | + gap: 10px; | |
| 419 | + margin: 0; | |
| 420 | + vertical-align: unset; | |
| 345 | 421 | } |
| 346 | 422 | .wpbc_ui__toggle .wpbc_ui__toggle_label:hover { |
| 347 | - cursor:pointer; | |
| 423 | + cursor: pointer; | |
| 348 | 424 | } |
| 349 | 425 | .wpbc_ui__toggle .wpbc_ui__toggle_status { |
| 350 | - color:#86919e; | |
| 351 | - font-size:12px; | |
| 352 | - line-height:14px; | |
| 353 | - margin:2px 5px; | |
| 426 | + color: #86919e; | |
| 427 | + font-size: 12px; | |
| 428 | + line-height: 14px; | |
| 429 | + margin: 2px 5px; | |
| 354 | 430 | } |
| 355 | 431 | .wpbc_ui__toggle .wpbc_ui__toggle_icon { |
| 356 | - background-color:#bbbbbb; | |
| 357 | - border-radius:8.5px; | |
| 358 | - cursor:pointer; | |
| 359 | - display:inline-block; | |
| 360 | - height:17px; | |
| 361 | - margin:0 1px; | |
| 362 | - position:relative; | |
| 363 | - text-indent:-9999px; | |
| 364 | - width:27px; | |
| 365 | - flex:0 0 auto; | |
| 432 | + background-color: #bbbbbb; | |
| 433 | + border-radius: 8.5px; | |
| 434 | + cursor: pointer; | |
| 435 | + display: inline-block; | |
| 436 | + height: 17px; | |
| 437 | + margin: 0 1px; | |
| 438 | + position: relative; | |
| 439 | + text-indent: -9999px; | |
| 440 | + width: 27px; | |
| 441 | + flex: 0 0 auto; | |
| 366 | 442 | } |
| 367 | 443 | .wpbc_ui__toggle .wpbc_ui__toggle_icon:after { |
| 368 | - background:#ffffff; | |
| 369 | - border-radius:50%; | |
| 370 | - content:""; | |
| 371 | - height:13px; | |
| 372 | - left:2px; | |
| 373 | - position:absolute; | |
| 374 | - top:2px; | |
| 375 | - width:13px; | |
| 376 | - transition-property:all; | |
| 377 | - transition-duration:0.25s; | |
| 378 | - transition-timing-function:ease-out; | |
| 444 | + background: #ffffff; | |
| 445 | + border-radius: 50%; | |
| 446 | + content: ""; | |
| 447 | + height: 13px; | |
| 448 | + left: 2px; | |
| 449 | + position: absolute; | |
| 450 | + top: 2px; | |
| 451 | + width: 13px; | |
| 452 | + transition-property: all; | |
| 453 | + transition-duration: 0.25s; | |
| 454 | + transition-timing-function: ease-out; | |
| 379 | 455 | } |
| 380 | 456 | .wpbc_ui__toggle .wpbc-help-tooltip { |
| 381 | - margin:0 !important; | |
| 457 | + margin: 0 !important; | |
| 382 | 458 | } |
| 383 | -.wpbc_ui__toggle:hover input:checked+label.wpbc_ui__toggle_icon { | |
| 384 | - background-color:#215d8f; | |
| 459 | +.wpbc_ui__toggle:hover input:checked + label.wpbc_ui__toggle_icon { | |
| 460 | + background-color: var( --wpbc_admin-theme-color, #215d8f ); | |
| 385 | 461 | } |
| 386 | 462 | .wpbc_ui__toggle:hover .wpbc_ui__toggle_icon { |
| 387 | - background-color:#777777; | |
| 463 | + background-color: #777777; | |
| 388 | 464 | } |
| 389 | 465 | /* Fix compatibility for toggle */ |
| 390 | - .wpbc_ui__toggle:hover input:disabled+label.wpbc_ui__toggle_icon, | |
| 391 | - .wpbc_ui__toggle input[type=checkbox]:disabled+label.wpbc_ui__toggle_icon { | |
| 392 | - background-color:#ddd; | |
| 393 | - cursor:not-allowed; | |
| 394 | - } | |
| 395 | - .wpbc_ui__toggle input[type=checkbox]:checked:disabled+label.wpbc_ui__toggle_icon{ | |
| 396 | - background-color:#c9dbe6 | |
| 397 | - } | |
| 398 | - .ui_element .wpbc_ui__toggle { | |
| 399 | - align-items: center; | |
| 400 | - } | |
| 401 | - .wpbc_ajx_toolbar .ui_container.ui_container_small .ui_group .ui_element .wpbc_ui__toggle > *{ | |
| 402 | - margin:0; | |
| 403 | - } | |
| 466 | +.wpbc_ui__toggle:hover input:disabled + label.wpbc_ui__toggle_icon, | |
| 467 | +.wpbc_ui__toggle input[type=checkbox]:disabled + label.wpbc_ui__toggle_icon { | |
| 468 | + background-color: #ddd; | |
| 469 | + cursor: not-allowed; | |
| 470 | +} | |
| 471 | +.wpbc_ui__toggle input[type=checkbox]:checked:disabled + label.wpbc_ui__toggle_icon { | |
| 472 | + background-color: #c9dbe6 | |
| 473 | +} | |
| 474 | +.ui_element .wpbc_ui__toggle { | |
| 475 | + align-items: center; | |
| 476 | +} | |
| 477 | +.wpbc_ajx_toolbar .ui_container.ui_container_small .ui_group .ui_element .wpbc_ui__toggle > * { | |
| 478 | + margin: 0; | |
| 479 | +} | |
| 404 | 480 | /* Fix compatibility for toggle - Settings Tables */ |
| 405 | - .form-table td fieldset .wpbc_ui__toggle{ | |
| 406 | - margin: 5px 0; | |
| 407 | - display: inline-flex; | |
| 408 | - } | |
| 409 | - .form-table td fieldset .wpbc_ui__toggle input[type=checkbox]+label.wpbc_ui__toggle_icon { | |
| 410 | - margin:3px 0 0.5em !important | |
| 411 | - } | |
| 412 | - .form-table td fieldset .wpbc_ui__toggle label *, | |
| 413 | - .form-table td fieldset .wpbc_ui__toggle label { | |
| 414 | - line-height:1.6; | |
| 415 | - /*display:flex;*/ | |
| 416 | - /*justify-content:center;*/ | |
| 417 | - /*align-items:center;*/ | |
| 418 | - margin:0 1px !important; | |
| 419 | - } | |
| 420 | - .wpbc_ui__toggle input[type=checkbox].wpbc_visible_but_out_screen { | |
| 421 | - display:block; | |
| 422 | - visibility: hidden; | |
| 423 | - position: absolute; | |
| 424 | - } | |
| 425 | - /* Red toggle */ | |
| 426 | - .wpbc_toggle_danger.wpbc_ui__toggle input[type=checkbox]:checked+label.wpbc_ui__toggle_icon { | |
| 427 | - background-color:#d63638; | |
| 428 | - } | |
| 429 | - .wpbc_toggle_danger.wpbc_ui__toggle:hover input:checked+label.wpbc_ui__toggle_icon { | |
| 430 | - background-color:#d63638; | |
| 431 | - } | |
| 481 | +.form-table td fieldset .wpbc_ui__toggle { | |
| 482 | + margin: 5px 0; | |
| 483 | + display: inline-flex; | |
| 484 | +} | |
| 485 | +.form-table td fieldset .wpbc_ui__toggle input[type=checkbox] + label.wpbc_ui__toggle_icon { | |
| 486 | + margin: 3px 0 0.5em !important | |
| 487 | +} | |
| 488 | +.form-table td fieldset .wpbc_ui__toggle label *, | |
| 489 | +.form-table td fieldset .wpbc_ui__toggle label { | |
| 490 | + line-height: 1.6; | |
| 491 | + margin: 0 1px !important; | |
| 492 | +} | |
| 493 | +.wpbc_ui__toggle input[type=checkbox].wpbc_visible_but_out_screen { | |
| 494 | + display: block; | |
| 495 | + visibility: hidden; | |
| 496 | + position: absolute; | |
| 497 | +} | |
| 498 | +/* Red toggle */ | |
| 499 | +.wpbc_toggle_danger.wpbc_ui__toggle input[type=checkbox]:checked + label.wpbc_ui__toggle_icon { | |
| 500 | + background-color: #d63638; | |
| 501 | +} | |
| 502 | +.wpbc_toggle_danger.wpbc_ui__toggle:hover input:checked + label.wpbc_ui__toggle_icon { | |
| 503 | + background-color: #d63638; | |
| 504 | +} | |
| 505 | +/* 3.3.6 Toggle Icon Radio / Icon Checkbox, instead of real checkboxes ------------------------------------------- */ | |
| 506 | +.wpbc_ui__toggle .wpbc_ui__toggle_icon_checkbox, | |
| 507 | +.wpbc_ui__toggle .wpbc_ui__toggle_icon_checkbox:hover, | |
| 508 | +.wpbc_ui__toggle .wpbc_ui__toggle_icon_radio, | |
| 509 | +.wpbc_ui__toggle .wpbc_ui__toggle_icon_radio:hover{ | |
| 510 | + cursor: pointer; | |
| 511 | +} | |
| 512 | +.wpbc_ui__toggle .wpbc_ui__toggle_icon_radio::before, | |
| 513 | +.wpbc_ui__toggle .wpbc_ui__toggle_icon_checkbox::before { | |
| 514 | + font-family: 'wpbc-material-icons'; | |
| 515 | + display: inline-block; | |
| 516 | + font-variant: normal; | |
| 517 | + font-weight: normal; | |
| 518 | + font-style: normal; | |
| 519 | + font-size: 16px; | |
| 520 | + line-height: 1; | |
| 521 | + letter-spacing: normal; | |
| 522 | + text-transform: none; | |
| 523 | + white-space: nowrap; | |
| 524 | + word-wrap: normal; | |
| 525 | + direction: ltr; | |
| 526 | + vertical-align: -.20125em; | |
| 527 | + font-feature-settings: 'liga'; | |
| 528 | + -moz-font-feature-settings: 'liga'; | |
| 529 | + -webkit-font-smoothing: antialiased; | |
| 530 | + text-rendering: optimizeLegibility; | |
| 531 | + -moz-osx-font-smoothing: grayscale; | |
| 532 | + /* My Fix */ | |
| 533 | + font-size: 20px; | |
| 534 | + vertical-align: -.25125em; | |
| 535 | +} | |
| 536 | +/* Checkbox Icon */ | |
| 537 | +.wpbc_ui__toggle .wpbc_ui__toggle_icon_checkbox::before { | |
| 538 | + content: "\e835"; | |
| 539 | +} | |
| 540 | +.wpbc_ui__toggle input:checked ~ label.wpbc_ui__toggle_icon_checkbox::before { | |
| 541 | + content: "\e834"; | |
| 542 | +} | |
| 543 | +/* Radio Icon */ | |
| 544 | +.wpbc_ui__toggle .wpbc_ui__toggle_icon_radio::before { | |
| 545 | + content: "\e836"; | |
| 546 | +} | |
| 547 | +.wpbc_ui__toggle input:checked ~ label.wpbc_ui__toggle_icon_radio::before { | |
| 548 | + content: "\e837"; | |
| 549 | +} | |
| 550 | +/* 3.3.7 Toggle Icon Checkbox, instead of real checkboxes based on BS ------------------------------------------- */ | |
| 551 | +.wpbc_ui__toggle .wpbc_ui__toggle_icon_checkbox::before { | |
| 552 | + font-family: wpbc-bootstrap-icons !important; | |
| 553 | + font-size: 17px; | |
| 554 | +} | |
| 555 | +.wpbc_ui__toggle .wpbc_ui__toggle_icon_checkbox::before { | |
| 556 | + content: "\f584"; | |
| 557 | +} | |
| 558 | +.wpbc_ui__toggle input:checked ~ label.wpbc_ui__toggle_icon_checkbox::before { | |
| 559 | + content: "\f26d"; | |
| 560 | +} | |
| 432 | 561 | /* 3.4. Addon ------------------------------------------------------------------------------------------------------ */ |
| 433 | 562 | .ui_element .wpbc_ui_addon { |
| 434 | 563 | flex: 0 1 auto; |
| 435 | 564 | display: flex; |
| @@ -587,12 +716,12 @@ | ||
| 587 | 716 | left: 0; |
| 588 | 717 | z-index: 1000; |
| 589 | 718 | float: left; |
| 590 | 719 | |
| 591 | - min-width: 160px; | |
| 720 | + min-width: 190px; | |
| 592 | 721 | padding: 5px 0; |
| 593 | 722 | margin: 0; |
| 594 | - | |
| 723 | + | |
| 595 | 724 | list-style: none; |
| 596 | 725 | |
| 597 | 726 | text-align: left; |
| 598 | 727 | |
| @@ -604,8 +733,50 @@ | ||
| 604 | 733 | |
| 605 | 734 | border-radius: 0 0 3px 3px; |
| 606 | 735 | background-clip: padding-box; |
| 607 | 736 | } |
| 737 | +/* ---------------------------- Animation Menu Start --------------------------------------- */ | |
| 738 | +.ui_element .wpbc_ui_dropdown.open .ui_dropdown_menu{ | |
| 739 | + animation: ui_dropdown_menu__anim__grow_down 200ms ease-in-out forwards; | |
| 740 | + transform-origin: top center; | |
| 741 | +} | |
| 742 | +@keyframes ui_dropdown_menu__anim__grow_down { | |
| 743 | + 0% { | |
| 744 | + transform: scaleY(0) | |
| 745 | + } | |
| 746 | + 50% { | |
| 747 | + transform: scaleY(0.8) | |
| 748 | + } | |
| 749 | + 100% { | |
| 750 | + transform: scaleY(1) | |
| 751 | + } | |
| 752 | +} | |
| 753 | +@keyframes ui_dropdown_menu__anim__pop_up_animation { | |
| 754 | + 0% { | |
| 755 | + transform: scale(0); | |
| 756 | + } | |
| 757 | + 50% { | |
| 758 | + transform: scale(1.1); | |
| 759 | + } | |
| 760 | + 100% { | |
| 761 | + transform: scale(1); | |
| 762 | + } | |
| 763 | +} | |
| 764 | +@keyframes ui_dropdown_menu__anim__fade_in{ | |
| 765 | + 0% { | |
| 766 | + opacity:0; | |
| 767 | + } | |
| 768 | + 33% { | |
| 769 | + opacity:0.1; | |
| 770 | + } | |
| 771 | + 66% { | |
| 772 | + opacity:0.2; | |
| 773 | + } | |
| 774 | + 100% { | |
| 775 | + opacity:1; | |
| 776 | + } | |
| 777 | +} | |
| 778 | +/* ---------------------------- Animation End --------------------------------------- */ | |
| 608 | 779 | .ui_element .wpbc_ui_dropdown .ui_dropdown_menu-left { |
| 609 | 780 | } |
| 610 | 781 | .ui_element .wpbc_ui_dropdown .ui_dropdown_menu-right { |
| 611 | 782 | left: auto; |
| @@ -677,8 +848,12 @@ | ||
| 677 | 848 | clear: both; |
| 678 | 849 | |
| 679 | 850 | font-size: 1em; |
| 680 | 851 | line-height: 1.42857143; |
| 852 | + | |
| 853 | + margin: 1px 5px; | |
| 854 | + padding: 8px 15px; | |
| 855 | + border-radius: 2px; | |
| 681 | 856 | } |
| 682 | 857 | /* ---------------------------- A :hover :focus .active -------------------- */ |
| 683 | 858 | .ui_element .wpbc_ui_dropdown .ui_dropdown_menu > li > a:hover, |
| 684 | 859 | .ui_element .wpbc_ui_dropdown .ui_dropdown_menu > li > a:focus, |
| @@ -686,8 +861,9 @@ | ||
| 686 | 861 | .ui_element .wpbc_ui_dropdown .ui_dropdown_menu > .active > a:hover, |
| 687 | 862 | .ui_element .wpbc_ui_dropdown .ui_dropdown_menu > .active > a:focus { |
| 688 | 863 | color: #fff; |
| 689 | 864 | background: #08c; |
| 865 | + background: var(--wpbc_ui_dropdown__active-a-background); | |
| 690 | 866 | text-decoration: none; |
| 691 | 867 | outline: none; |
| 692 | 868 | box-shadow: none; |
| 693 | 869 | } |
| @@ -780,15 +956,16 @@ | ||
| 780 | 956 | display: flex; |
| 781 | 957 | flex-flow: row wrap; |
| 782 | 958 | justify-content: flex-start; |
| 783 | 959 | align-items: stretch; |
| 960 | + gap:20px; | |
| 784 | 961 | |
| 785 | 962 | margin: 0; |
| 786 | 963 | |
| 787 | 964 | box-shadow: none; |
| 788 | - border: 1px solid #ccc; | |
| 965 | + border: 1px solid #dadada; | |
| 789 | 966 | border-top: none; |
| 790 | - background: #f5f5f5; | |
| 967 | + background: #f7f7f7; | |
| 791 | 968 | |
| 792 | 969 | font-size:14px; |
| 793 | 970 | padding: 6px 15px; |
| 794 | 971 | } |
| @@ -794,16 +971,13 @@ | ||
| 794 | 971 | } |
| 795 | 972 | .wpbc_ajx_toolbar .ui_container:last-child{ |
| 796 | 973 | border-radius: 0 0 2px 2px; |
| 797 | 974 | } |
| 798 | -/* Toolbar wthout backgound and borders, for ability to insert elements somewhere in a page ---------------------------- | |
| 799 | - * //FixIn: 9.6.1.5 | |
| 975 | +/* Toolbar without background and borders, for ability to insert elements somewhere in a page ---------------------------- | |
| 976 | + * // FixIn: 9.6.1.5. | |
| 800 | 977 | ?><div class="wpbc_ajx_toolbar wpbc_no_borders"><?php |
| 801 | 978 | ?><div class="ui_container ui_container_small"><?php |
| 802 | - ?><div class="ui_group"><?php | |
| 803 | - ?><div class="ui_element"><?php | |
| 804 | - wpbc_ajx__ui__options_checkbox__send_emails( $escaped_search_request_params, wpbc_ajx_get__request_params__names_default( 'default' ) ); | |
| 805 | - ?></div><?php | |
| 979 | + ?><div class="ui_group"><?php ... | |
| 806 | 980 | ?></div><?php |
| 807 | 981 | ?></div><?php |
| 808 | 982 | ?></div><?php |
| 809 | 983 | */ |
| @@ -814,8 +988,26 @@ | ||
| 814 | 988 | } |
| 815 | 989 | div.wpbc_ajx_toolbar.wpbc_no_borders { |
| 816 | 990 | margin:0; |
| 817 | 991 | } |
| 992 | +/* Toolbar BackGround and Border : Start : 2024-08-13 --------------------------------------------------------------- */ | |
| 993 | +.wpbc_flex_toolbar_container { | |
| 994 | + display: flex; | |
| 995 | + flex-flow: row wrap; | |
| 996 | + justify-content: flex-start; | |
| 997 | + align-items: stretch; | |
| 998 | + | |
| 999 | + background: #f7f7f7; | |
| 1000 | + border: 1px solid #dadada; | |
| 1001 | + box-shadow: none; | |
| 1002 | + border-radius:2px; | |
| 1003 | + | |
| 1004 | + margin: 0 0 10px 0px; | |
| 1005 | + padding: 6px 15px; | |
| 1006 | + | |
| 1007 | + font-size: 14px; | |
| 1008 | +} | |
| 1009 | +/* Toolbar BackGround and Border : End ------------------------------------------------------------------------------ */ | |
| 818 | 1010 | .wpbc_ajx_under_toolbar_row { |
| 819 | 1011 | display:flex; |
| 820 | 1012 | flex-flow: row wrap; |
| 821 | 1013 | justify-content: flex-start; |
| @@ -833,11 +1025,10 @@ | ||
| 833 | 1025 | flex-flow: row wrap; |
| 834 | 1026 | justify-content: flex-start; |
| 835 | 1027 | align-items: stretch; |
| 836 | 1028 | border:none; |
| 837 | - margin: 0 20px 0 0; | |
| 838 | -} | |
| 839 | -.wpbc_ajx_toolbar .ui_container .ui_group:last-child { | |
| 1029 | + gap: 15px; | |
| 1030 | + | |
| 840 | 1031 | margin: 0; |
| 841 | 1032 | } |
| 842 | 1033 | .wpbc_not_toolbar_is_send_emails { |
| 843 | 1034 | border-left: 1px solid #dbdbdb; |
| @@ -850,14 +1041,9 @@ | ||
| 850 | 1041 | justify-content: flex-start; |
| 851 | 1042 | align-items: stretch; |
| 852 | 1043 | flex: 0 1 auto; |
| 853 | 1044 | position: relative; |
| 854 | - | |
| 855 | - margin: 0px 15px 0px 0; | |
| 856 | 1045 | } |
| 857 | -.wpbc_ajx_toolbar .ui_container .ui_group .ui_element:last-child { | |
| 858 | - margin-right: 0; | |
| 859 | -} | |
| 860 | 1046 | .wpbc_ajx_toolbar .ui_container .ui_group .ui_element > * { |
| 861 | 1047 | margin: 5px 0; |
| 862 | 1048 | } |
| 863 | 1049 | |
| @@ -921,9 +1107,9 @@ | ||
| 921 | 1107 | } |
| 922 | 1108 | |
| 923 | 1109 | /* Keyword -------------------------------------------------------------------------------------------------------- */ |
| 924 | 1110 | .wpbc_ajx_toolbar .ui_container .ui_group.ui_group__dates_status { |
| 925 | - margin-right:2.5em; | |
| 1111 | + /*margin-right:2.5em;*/ | |
| 926 | 1112 | } |
| 927 | 1113 | .wpbc_ajx_toolbar .ui_container .ui_group.ui_group__keyword { |
| 928 | 1114 | flex: 1 1 auto; |
| 929 | 1115 | } |
| @@ -1018,14 +1204,14 @@ | ||
| 1018 | 1204 | justify-content: flex-start; |
| 1019 | 1205 | align-items: baseline; |
| 1020 | 1206 | |
| 1021 | 1207 | margin: 3px 7px 3px 0; |
| 1022 | - padding: 4px 7px 4px 8px; | |
| 1208 | + padding: 4px 7px 3px 8px; | |
| 1023 | 1209 | } |
| 1024 | 1210 | .ui_container .ui_group .ui_element .chzn-container.chzn-container-multi ul.chzn-choices li.search-choice span { |
| 1025 | 1211 | word-wrap: break-word; |
| 1026 | 1212 | } |
| 1027 | - .ui_container .ui_group .ui_element .chzn-container.chzn-container-multi ul.chzn-choices li.search-choice a.search-choice-close{ | |
| 1213 | + .ui_container .ui_group .ui_element .chzn-container.chzn-container-multi ul.chzn-choices li.search-choice a.search-choice-close0{ | |
| 1028 | 1214 | font-family: "Glyphicons Halflings"; |
| 1029 | 1215 | font-style: normal; |
| 1030 | 1216 | font-weight: 400; |
| 1031 | 1217 | font-size: 9px; |
| @@ -1048,12 +1234,12 @@ | ||
| 1048 | 1234 | |
| 1049 | 1235 | width: auto; |
| 1050 | 1236 | height: auto; |
| 1051 | 1237 | } |
| 1052 | - .ui_container .ui_group .ui_element .chzn-container.chzn-container-multi ul.chzn-choices li.search-choice a.search-choice-close:before { | |
| 1238 | + .ui_container .ui_group .ui_element .chzn-container.chzn-container-multi ul.chzn-choices li.search-choice a.search-choice-close0:before { | |
| 1053 | 1239 | content: "\e014"; |
| 1054 | 1240 | } |
| 1055 | - .ui_container .ui_group .ui_element .chzn-container.chzn-container-multi ul.chzn-choices li.search-choice a.search-choice-close:hover { | |
| 1241 | + .ui_container .ui_group .ui_element .chzn-container.chzn-container-multi ul.chzn-choices li.search-choice a.search-choice-close0:hover { | |
| 1056 | 1242 | text-decoration: none; |
| 1057 | 1243 | } |
| 1058 | 1244 | |
| 1059 | 1245 | |
| @@ -1154,9 +1340,10 @@ | ||
| 1154 | 1340 | |
| 1155 | 1341 | /**********************************************************************************************************************/ |
| 1156 | 1342 | /* Blur ----------------------------------------------------------------------------------------------------------- */ |
| 1157 | 1343 | .wpbc_blur { |
| 1158 | - filter: blur(0.75px); | |
| 1344 | + /*filter: blur(0.75px);*/ | |
| 1345 | + filter: blur(1px); | |
| 1159 | 1346 | pointer-events: none; |
| 1160 | 1347 | user-select: none |
| 1161 | 1348 | } |
| 1162 | 1349 | |
| @@ -1173,8 +1360,9 @@ | ||
| 1173 | 1360 | width: 100%; |
| 1174 | 1361 | text-align: center; |
| 1175 | 1362 | |
| 1176 | 1363 | line-height: 2em; |
| 1364 | + z-index: 99; | |
| 1177 | 1365 | } |
| 1178 | 1366 | .wpbc_upgrade_note a { |
| 1179 | 1367 | text-decoration: none; |
| 1180 | 1368 | border-bottom: 1px dashed; |