061534ff by Jeremy Groot

Merge branch 'master' of git.gotenzing.com:msf/msf-climate-hub

2 parents 0dff92f0 d4fbe8b5
Showing 40 changed files with 751 additions and 31 deletions
1 /* This is based on jQuery UI */
2 #regenerate-thumbnails-app .ui-progressbar {
3 height: 2em;
4 text-align: center;
5 overflow: hidden;
6 }
7 #regenerate-thumbnails-app .ui-progressbar .ui-progressbar-value {
8 margin: -1px;
9 height: 100%;
10 transition-duration: 0.5s;
11 }
12 #regenerate-thumbnails-app .ui-widget.ui-widget-content {
13 border: 1px solid #c5dbec;
14 }
15 #regenerate-thumbnails-app .ui-widget-content {
16 border: 1px solid #a6c9e2;
17 background: #fcfdfd url("images/ui-bg_inset-hard_100_fcfdfd_1x100.png") 50% bottom repeat-x;
18 color: #222222;
19 }
20 #regenerate-thumbnails-app .ui-widget-header {
21 border: 1px solid #4297d7;
22 background: #5c9ccc url("images/ui-bg_gloss-wave_55_5c9ccc_500x100.png") 50% 50% repeat-x;
23 color: #ffffff;
24 font-weight: bold;
25 }
26 #regenerate-thumbnails-app .ui-corner-all {
27 border-radius: 5px;
28 }
29 #regenerate-thumbnails-app .ui-corner-left {
30 border-top-left-radius: 5px;
31 border-bottom-left-radius: 5px;
32 }
This diff could not be displayed because it is too large.
1 /*!
2 * Vue.js v2.6.11
3 * (c) 2014-2019 Evan You
4 * Released under the MIT License.
5 */
1 <?php
2 /**
3 * Regenerate Thumbnails: REST API controller class
4 *
5 * @package RegenerateThumbnails
6 * @since 3.0.0
7 */
8
9 /**
10 * Registers new REST API endpoints.
11 *
12 * @since 3.0.0
13 */
14 class RegenerateThumbnails_REST_Controller extends WP_REST_Controller {
15 /**
16 * The namespace for the REST API routes.
17 *
18 * @since 3.0.0
19 *
20 * @var string
21 */
22 public $namespace = 'regenerate-thumbnails/v1';
23
24 /**
25 * Register the new routes and endpoints.
26 *
27 * @since 3.0.0
28 */
29 public function register_routes() {
30 register_rest_route( $this->namespace, '/regenerate/(?P<id>[\d]+)', array(
31 array(
32 'methods' => WP_REST_Server::ALLMETHODS,
33 'callback' => array( $this, 'regenerate_item' ),
34 'permission_callback' => array( $this, 'permissions_check' ),
35 'args' => array(
36 'only_regenerate_missing_thumbnails' => array(
37 'description' => __( "Whether to only regenerate missing thumbnails. It's faster with this enabled.", 'regenerate-thumbnails' ),
38 'type' => 'boolean',
39 'default' => true,
40 ),
41 'delete_unregistered_thumbnail_files' => array(
42 'description' => __( 'Whether to delete any old, now unregistered thumbnail files.', 'regenerate-thumbnails' ),
43 'type' => 'boolean',
44 'default' => false,
45 ),
46 'update_usages_in_posts' => array(
47 'description' => __( 'Whether to update the image tags in any posts that make use of this attachment.', 'regenerate-thumbnails' ),
48 'type' => 'boolean',
49 'default' => true,
50 ),
51 'update_usages_in_posts_post_type' => array(
52 'description' => __( 'The types of posts to update. Defaults to all public post types.', 'regenerate-thumbnails' ),
53 'type' => 'array',
54 'default' => array(),
55 'validate_callback' => array( $this, 'is_array' ),
56 ),
57 'update_usages_in_posts_post_ids' => array(
58 'description' => __( 'Specific post IDs to update rather than any posts that use this attachment.', 'regenerate-thumbnails' ),
59 'type' => 'array',
60 'default' => array(),
61 'validate_callback' => array( $this, 'is_array' ),
62 ),
63 'update_usages_in_posts_posts_per_loop' => array(
64 'description' => __( "Posts to process per loop. This is to control memory usage and you likely don't need to adjust this.", 'regenerate-thumbnails' ),
65 'type' => 'integer',
66 'default' => 10,
67 'sanitize_callback' => 'absint',
68 ),
69 ),
70 ),
71 ) );
72
73 register_rest_route( $this->namespace, '/attachmentinfo/(?P<id>[\d]+)', array(
74 array(
75 'methods' => WP_REST_Server::READABLE,
76 'callback' => array( $this, 'attachment_info' ),
77 'permission_callback' => array( $this, 'permissions_check' ),
78 ),
79 ) );
80
81 register_rest_route( $this->namespace, '/featuredimages', array(
82 array(
83 'methods' => WP_REST_Server::READABLE,
84 'callback' => array( $this, 'featured_images' ),
85 'permission_callback' => array( $this, 'permissions_check' ),
86 'args' => $this->get_paging_collection_params(),
87 ),
88 ) );
89 }
90
91 /**
92 * Register a filter to allow excluding site icons via a query parameter.
93 *
94 * @since 3.0.0
95 */
96 public function register_filters() {
97 add_filter( 'rest_attachment_query', array( $this, 'maybe_filter_out_site_icons' ), 10, 2 );
98 add_filter( 'rest_attachment_query', array( $this, 'maybe_filter_mimes_types' ), 10, 2 );
99 }
100
101 /**
102 * If the exclude_site_icons parameter is set on a media (attachment) request,
103 * filter out any attachments that are or were being used as a site icon.
104 *
105 * @param array $args Key value array of query var to query value.
106 * @param WP_REST_Request $request The request used.
107 *
108 * @return array Key value array of query var to query value.
109 */
110 public function maybe_filter_out_site_icons( $args, $request ) {
111 if ( empty( $request['exclude_site_icons'] ) ) {
112 return $args;
113 }
114
115 if ( ! isset( $args['meta_query'] ) ) {
116 $args['meta_query'] = array();
117 }
118
119 $args['meta_query'][] = array(
120 'key' => '_wp_attachment_context',
121 'value' => 'site-icon',
122 'compare' => 'NOT EXISTS',
123 );
124
125 return $args;
126 }
127
128 /**
129 * If the is_regeneratable parameter is set on a media (attachment) request,
130 * filter results to only include images and PDFs.
131 *
132 * @param array $args Key value array of query var to query value.
133 * @param WP_REST_Request $request The request used.
134 *
135 * @return array Key value array of query var to query value.
136 */
137 public function maybe_filter_mimes_types( $args, $request ) {
138 if ( empty( $request['is_regeneratable'] ) ) {
139 return $args;
140 }
141
142 $args['post_mime_type'] = array();
143 foreach ( get_allowed_mime_types() as $mime_type ) {
144 if ( 'image/svg+xml' === $mime_type ) {
145 continue;
146 }
147
148 if ( 'application/pdf' == $mime_type || 'image/' == substr( $mime_type, 0, 6 ) ) {
149 $args['post_mime_type'][] = $mime_type;
150 }
151 }
152
153 return $args;
154 }
155
156 /**
157 * Retrieves the paging query params for the collections.
158 *
159 * @since 3.0.0
160 *
161 * @return array Query parameters for the collection.
162 */
163 public function get_paging_collection_params() {
164 return array_intersect_key(
165 parent::get_collection_params(),
166 array_flip( array( 'page', 'per_page' ) )
167 );
168 }
169
170 /**
171 * Regenerate the thumbnails for a specific media item.
172 *
173 * @since 3.0.0
174 *
175 * @param WP_REST_Request $request Full data about the request.
176 *
177 * @return true|WP_Error True on success, otherwise a WP_Error object.
178 */
179 public function regenerate_item( $request ) {
180 $regenerator = RegenerateThumbnails_Regenerator::get_instance( $request->get_param( 'id' ) );
181
182 if ( is_wp_error( $regenerator ) ) {
183 return $regenerator;
184 }
185
186 $result = $regenerator->regenerate( array(
187 'only_regenerate_missing_thumbnails' => $request->get_param( 'only_regenerate_missing_thumbnails' ),
188 'delete_unregistered_thumbnail_files' => $request->get_param( 'delete_unregistered_thumbnail_files' ),
189 ) );
190
191 if ( is_wp_error( $result ) ) {
192 return $result;
193 }
194
195 if ( $request->get_param( 'update_usages_in_posts' ) ) {
196 $posts_updated = $regenerator->update_usages_in_posts( array(
197 'post_type' => $request->get_param( 'update_usages_in_posts_post_type' ),
198 'post_ids' => $request->get_param( 'update_usages_in_posts_post_ids' ),
199 'posts_per_loop' => $request->get_param( 'update_usages_in_posts_posts_per_loop' ),
200 ) );
201
202 // If wp_update_post() failed for any posts, return that error.
203 foreach ( $posts_updated as $post_updated_result ) {
204 if ( is_wp_error( $post_updated_result ) ) {
205 return $post_updated_result;
206 }
207 }
208 }
209
210 return $this->attachment_info( $request );
211 }
212
213 /**
214 * Return a bunch of information about the current attachment for use in the UI
215 * including details about the thumbnails.
216 *
217 * @since 3.0.0
218 *
219 * @param WP_REST_Request $request Full data about the request.
220 *
221 * @return array|WP_Error The data array or a WP_Error object on error.
222 */
223 public function attachment_info( $request ) {
224 $regenerator = RegenerateThumbnails_Regenerator::get_instance( $request->get_param( 'id' ) );
225
226 if ( is_wp_error( $regenerator ) ) {
227 return $regenerator;
228 }
229
230 return $regenerator->get_attachment_info();
231 }
232
233 /**
234 * Return attachment IDs that are being used as featured images.
235 *
236 * @since 3.0.0
237 *
238 * @param WP_REST_Request $request Full data about the request.
239 *
240 * @return WP_REST_Response|WP_Error Response object on success, or WP_Error object on failure.
241 */
242 public function featured_images( $request ) {
243 global $wpdb;
244
245 $page = $request->get_param( 'page' );
246 $per_page = $request->get_param( 'per_page' );
247
248 if ( 0 == $per_page ) {
249 $per_page = 10;
250 }
251
252 $featured_image_ids = $wpdb->get_results( $wpdb->prepare(
253 "SELECT SQL_CALC_FOUND_ROWS meta_value AS id FROM {$wpdb->postmeta} WHERE meta_key = '_thumbnail_id' GROUP BY meta_value ORDER BY MIN(meta_id) LIMIT %d OFFSET %d",
254 $per_page,
255 ( $per_page * $page ) - $per_page
256 ) );
257
258 $total = $wpdb->get_var( "SELECT FOUND_ROWS()" );
259 $max_pages = ceil( $total / $per_page );
260
261 if ( $page > $max_pages && $total > 0 ) {
262 return new WP_Error( 'rest_post_invalid_page_number', __( 'The page number requested is larger than the number of pages available.' ), array( 'status' => 400 ) );
263 }
264
265 $response = rest_ensure_response( $featured_image_ids );
266
267 $response->header( 'X-WP-Total', (int) $total );
268 $response->header( 'X-WP-TotalPages', (int) $max_pages );
269
270 $request_params = $request->get_query_params();
271 $base = add_query_arg( $request_params, rest_url( $this->namespace . '/featuredimages' ) );
272
273 if ( $page > 1 ) {
274 $prev_page = $page - 1;
275
276 if ( $prev_page > $max_pages ) {
277 $prev_page = $max_pages;
278 }
279
280 $prev_link = add_query_arg( 'page', $prev_page, $base );
281 $response->link_header( 'prev', $prev_link );
282 }
283
284 if ( $max_pages > $page ) {
285 $next_page = $page + 1;
286 $next_link = add_query_arg( 'page', $next_page, $base );
287
288 $response->link_header( 'next', $next_link );
289 }
290
291 return $response;
292 }
293
294 /**
295 * Check to see if the current user is allowed to use this endpoint.
296 *
297 * @since 3.0.0
298 *
299 * @param WP_REST_Request $request Full data about the request.
300 *
301 * @return bool Whether the current user has permission to regenerate thumbnails.
302 */
303 public function permissions_check( $request ) {
304 return current_user_can( RegenerateThumbnails()->capability );
305 }
306
307 /**
308 * Returns whether a variable is an array or not. This is needed because 3 arguments are
309 * passed to validation callbacks but is_array() only accepts one argument.
310 *
311 * @since 3.0.0
312 *
313 * @see https://core.trac.wordpress.org/ticket/34659
314 *
315 * @param mixed $param The parameter value to validate.
316 * @param WP_REST_Request $request The REST request.
317 * @param string $key The parameter name.
318 *
319 * @return bool Whether the parameter is an array or not.
320 */
321 public function is_array( $param, $request, $key ) {
322 return is_array( $param );
323 }
324 }
1 !function(a){function b(a){return a=b.buildAjaxOptions(a),b.transport(a)}var c=window.wpApiSettings;b.buildAjaxOptions=function(b){var d,e,f,g,h,i=b.url,j=b.path;if("string"==typeof b.namespace&&"string"==typeof b.endpoint&&(d=b.namespace.replace(/^\/|\/$/g,""),e=b.endpoint.replace(/^\//,""),j=e?d+"/"+e:d),"string"==typeof j&&(i=c.root+j.replace(/^\//,"")),g=!(b.data&&b.data._wpnonce),f=b.headers||{},g)for(h in f)if(f.hasOwnProperty(h)&&"x-wp-nonce"===h.toLowerCase()){g=!1;break}return g&&(f=a.extend({"X-WP-Nonce":c.nonce},f)),b=a.extend({},b,{headers:f,url:i}),delete b.path,delete b.namespace,delete b.endpoint,b},b.transport=a.ajax,window.wp=window.wp||{},window.wp.apiRequest=b}(jQuery);
...\ No newline at end of file ...\ No newline at end of file
1 === Regenerate Thumbnails ===
2 Contributors: Viper007Bond
3 Tags: thumbnail, thumbnails, post thumbnail, post thumbnails
4 Requires at least: 4.7
5 Tested up to: 6.3
6 Requires PHP: 5.2.4
7 Stable tag: 3.1.6
8 License: GPLv2 or later
9 License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
11 Regenerate the thumbnails for one or more of your image uploads. Useful when changing their sizes or your theme.
12
13 == Description ==
14
15 Regenerate Thumbnails allows you to regenerate all thumbnail sizes for one or more images that have been uploaded to your Media Library.
16
17 This is useful for situations such as:
18
19 * A new thumbnail size has been added and you want past uploads to have a thumbnail in that size.
20 * You've changed the dimensions of an existing thumbnail size, for example via Settings → Media.
21 * You've switched to a new WordPress theme that uses featured images of a different size.
22
23 It also offers the ability to delete old, unused thumbnails in order to free up server space.
24
25 = In Memory of Alex Mills =
26
27 In February 2019 Alex Mills, the author of this plugin, [passed away](https://alex.blog/2019/02/27/from-alexs-family/). He leaves behind a number of plugins which will be maintained by Automattic and members of the WordPress community. If this plugin is useful to you please consider donating to the Oregon Health and Science University. You can find more information [here](https://alex.blog/2019/03/13/in-memory-of-alex-donation-link-update/).
28
29 = Alternatives =
30
31 **WP-CLI**
32
33 If you have command line access to your server, I highly recommend using [WP-CLI](https://wp-cli.org/) instead of this plugin as it's faster (no HTTP requests overhead) and can be run inside of a `screen` for those with many thumbnails. For details, see the documentation of its [`media regenerate` command](https://developer.wordpress.org/cli/commands/media/regenerate/).
34
35 **Jetpack's Photon Module**
36
37 [Jetpack](https://jetpack.com/) is a plugin by Automattic, makers of WordPress.com. It gives your self-hosted WordPress site some of the functionality that is available to WordPress.com-hosted sites.
38
39 [The Photon module](https://jetpack.com/support/photon/) makes the images on your site be served from WordPress.com's global content delivery network (CDN) which should speed up the loading of images. Importantly though it can create thumbnails on the fly which means you'll never need to use this plugin.
40
41 I personally use Photon on my own website.
42
43 *Disclaimer: I work for Automattic but I would recommend Photon even if I didn't.*
44
45 = Need Help? Found A Bug? Want To Contribute Code? =
46
47 Support for this plugin is provided via the [WordPress.org forums](https://wordpress.org/support/plugin/regenerate-thumbnails).
48
49 The source code for this plugin is available on [GitHub](https://github.com/automattic/regenerate-thumbnails).
50
51 == Installation ==
52
53 1. Go to your admin area and select Plugins → Add New from the menu.
54 2. Search for "Regenerate Thumbnails".
55 3. Click install.
56 4. Click activate.
57 5. Navigate to Tools → Regenerate Thumbnails.
58
59 == Frequently Asked Questions ==
60
61 = Is this plugin [GDPR](https://en.wikipedia.org/wiki/General_Data_Protection_Regulation) compliant? =
62
63 This plugin does not log nor transmit any user data. Infact it doesn't even do anything on the user-facing part of your website, only in the admin area. This means it should be compliant but I'm not a lawyer.
64
65 == Screenshots ==
66
67 1. The main plugin interface.
68 2. Regenerating in progress.
69 3. Interface for regenerating a single attachment.
70 4. Individual images can be regenerated from the media library in list view.
71 5. They can also be regenerated from the edit attachment screen.
72
73 == ChangeLog ==
74
75 = Version 3.1.6 =
76
77 * Fix: Respect "Skip regenerating existing correctly sized thumbnails" setting.
78 * Fix: Don't delete all thumbnails when deleting old unregistered thumbnails size.
79
80 = Version 3.1.5 =
81
82 * Fix: Don't overwrite 'All X Attachment' button label with featured images count.
83 * Tested successfully with PHP 8.1.
84 * Tested successfully with PHP 8.2.
85
86 = Version 3.1.4 =
87
88 * Fix: Don't attempt to regenerate SVG's.
89 * Bump tested version.
90 * Update dependencies.
91
92 = Version 3.1.3 =
93
94 * Update plugin dependencies to the latest version.
95
96 = Version 3.1.2 =
97 * Use wp_get_original_image_path() in WordPress 5.3
98
99 = Version 3.1.1 =
100
101 * Minor fix to avoid a divide by zero error when displaying thumbnail filenames.
102
103 = Version 3.1.0 =
104
105 * Bring back the ability to delete old, unregistered thumbnail sizes. Support for updating post contents is still disabled (too buggy).
106 * Various code improvements including string localization disambiguation.
107
108 = Version 3.0.2 =
109
110 * Fix slowdown in certain cases in the media library.
111 * Fix not being able to regenerate existing thumbnails for single images. Props @idofri.
112 * Fix JavaScript error that could occur if the REST API response was unexpected (empty or PHP error).
113 * Fix bug related to multibyte filenames.
114 * If an image is used as the featured image on multiple posts, only regenerate it once instead of once per post.
115
116 = Version 3.0.1 =
117
118 * Temporarily disable the update post functionality. I tested it a lot but it seems there's still some bugs.
119 * Temporarily disable the delete old thumbnails functionality. It seems to work fine but without the update post functionality, it's not as useful.
120 * Try to more gracefully handle cases where there's missing metadata for attachments.
121 * Wait until `init` to initialize the plugin so themes can filter the plugin's capability. `plugins_loaded` is too early.
122 * Fix a JavaScript error that would cause the whole regeneration process to stop if an individual image returned non-JSON, such as a 500 error code.
123 * Accept GET requests for the regenerate REST API endpoint instead of just POSTs. For some reasons some people's sites are using GET despite the code saying use POST.
124 * Make the attachment ID clickable in error messages.
125 * Fetch 25 attachments at a time instead of 5. I was using 5 for testing.
126 * PHP notice fixes.
127
128 = Version 3.0.0 =
129
130 * Complete rewrite from scratch using Vue.js and the WordPress REST API.
131
132 = Version 2.2.4 =
133
134 * Better AJAX response error handling in the JavaScript. This should fix a long-standing bug in this plugin. Props Hew Sutton.
135
136 = Version 2.2.3 =
137
138 * Make the capability required to use this plugin filterable so themes and other plugins can change it. Props [Jackson Whelan](http://jacksonwhelan.com/).
139
140 = Version 2.2.2 =
141
142 * Don't check the nonce until we're sure that the action called was for this plugin. Fixes lots of "Are you sure you want to do this?" error messages.
143
144 = Version 2.2.1 =
145
146 * Fix the bottom bulk action dropdown. Thanks Stefan for pointing out the issue!
147
148 = Version 2.2.0 =
149
150 * Changes to the Bulk Action functionality were made shortly before the release of WordPress 3.1 which broke the way I implemented the specific multiple image regeneration feature. This version adds to the Bulk Action menu using Javascript as that's the only way to do it currently.
151
152 = Version 2.1.3 =
153
154 * Move the `error_reporting()` call in the AJAX handler to the beginning so that we're more sure that no PHP errors are outputted. Some hosts disable usage of `set_time_limit()` and calling it was causing a PHP warning to be outputted.
155
156 = Version 2.1.2 =
157
158 * When regenerating all images, newest images are done first rather than the oldest.
159 * Fixed a bug with regeneration error reporting in some browsers. Thanks to pete-sch for reporting the error.
160 * Supress PHP errors in the AJAX handler to avoid sending an invalid JSON response. Thanks to pete-sch for reporting the error.
161 * Better and more detailed error reporting for when `wp_generate_attachment_metadata()` fails.
162
163 = Version 2.1.1 =
164
165 * Clean up the wording a bit to better match the new features and just be easier to understand.
166 * Updated screenshots.
167
168 = Version 2.1.0 =
169
170 Lots of new features!
171
172 * Thanks to a lot of jQuery help from [Boris Schapira](http://borisschapira.com/), a failed image regeneration will no longer stop the whole process.
173 * The results of each image regeneration is now outputted. You can easily see which images were successfully regenerated and which failed. Was inspired by a concept by Boris.
174 * There is now a button on the regeneration page that will allow you to abort resizing images for any reason. Based on code by Boris.
175 * You can now regenerate single images from the Media page. The link to do so will show up in the actions list when you hover over the row.
176 * You can now bulk regenerate multiple from the Media page. Check the boxes and then select "Regenerate Thumbnails" form the "Bulk Actions" dropdown. WordPress 3.1+ only.
177 * The total time that the regeneration process took is now displayed in the final status message.
178 * jQuery UI Progressbar version upgraded.
179
180 = Version 2.0.3 =
181
182 * Switch out deprecated function call.
183
184 = Version 2.0.2 =
185
186 * Directly query the database to only fetch what the plugin needs (the attachment ID). This will reduce the memory required as it's not storing the whole row for each attachment.
187
188 = Version 2.0.1 =
189
190 * I accidentally left a `check_admin_referer()` (nonce check) commented out.
191
192 = Version 2.0.0 =
193
194 * Recoded from scratch. Now uses an AJAX request per attachment to do the resizing. No more PHP maximum execution time errors or anything like that. Also features a pretty progress bar to let the user know how it's going.
195
196 = Version 1.1.0 =
197
198 * WordPress 2.7 updates -- code + UI. Thanks to jdub and Patrick F.
199
200 = Version 1.0.0 =
201
202 * Initial release.
203
204 = Upgrade Notice =
205 Support for WordPress 5.3
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
...@@ -109,13 +109,24 @@ function megamenu_override_default_theme($value) { ...@@ -109,13 +109,24 @@ function megamenu_override_default_theme($value) {
109 109
110 function fixUlisting() { 110 function fixUlisting() {
111 $the_theme = wp_get_theme(); 111 $the_theme = wp_get_theme();
112 wp_deregister_script( 'megamenu' ); 112 // wp_deregister_script( 'megamenu' );
113 wp_dequeue_script( 'megamenu' ); 113 // wp_dequeue_script( 'megamenu' );
114 // wp_enqueue_script( 'megamenu', get_stylesheet_directory_uri().'/js/maxmegamenu.js', array(), $the_theme->get( 'Version' ), true );
114 115
115 wp_enqueue_script( 'megamenu', get_stylesheet_directory_uri().'/js/maxmegamenu.js', array(), $the_theme->get( 'Version' ), true ); 116 wp_deregister_script( 'search-filter-plugin-build' );
117 wp_dequeue_script( 'search-filter-plugin-build' );
116 118
119 wp_register_script( 'search-filter-plugin-build', get_stylesheet_directory_uri().'/js/search-filter-build.js', array('jquery'), $the_theme->get( 'Version' ), true );
120
121 $js_data = array(
122 'ajax_url' => admin_url( 'admin-ajax.php' ),
123 'home_url' => home_url( '/' ),
124 'extensions' => apply_filters( 'search_filter_extensions', array() ),
125 );
126 wp_localize_script( 'search-filter-plugin-build', 'SF_LDATA', $js_data );
127 wp_enqueue_script('search-filter-plugin-build');
117 } 128 }
118 //add_action( 'wp_enqueue_scripts', 'fixUlisting', 100 ); 129 add_action( 'wp_enqueue_scripts', 'fixUlisting', 100 );
119 130
120 131
121 // add_filter( 'get_custom_logo_image_attributes', function( 132 // add_filter( 'get_custom_logo_image_attributes', function(
...@@ -142,3 +153,4 @@ function getName() { ...@@ -142,3 +153,4 @@ function getName() {
142 153
143 return $randomString; 154 return $randomString;
144 } 155 }
156
......
...@@ -8,7 +8,9 @@ ...@@ -8,7 +8,9 @@
8 8
9 function get_breadcrumb() { 9 function get_breadcrumb() {
10 global $post; 10 global $post;
11 echo '<a href="'.home_url().'" rel="nofollow">Home</a>'; 11 echo '<a href="'.home_url().'" rel="nofollow">';
12 _e('Home','msf');
13 echo '</a>';
12 echo '<span> / </span>'; 14 echo '<span> / </span>';
13 if (is_category() || is_single()) { 15 if (is_category() || is_single()) {
14 the_category(' / '); 16 the_category(' / ');
......
...@@ -104,7 +104,7 @@ function delete_exclude_from_search() ...@@ -104,7 +104,7 @@ function delete_exclude_from_search()
104 foreach ( $pages as $page ){ 104 foreach ( $pages as $page ){
105 $exclude_from_search = get_post_meta($page->ID, 'exclude_from_search', true); 105 $exclude_from_search = get_post_meta($page->ID, 'exclude_from_search', true);
106 if($exclude_from_search == '0'){ 106 if($exclude_from_search == '0'){
107 wp_delete_attachment( $page->ID, true ); 107 wp_update_post(get_post( $page->ID) );
108 //error_log($page->ID); 108 //error_log($page->ID);
109 } 109 }
110 } 110 }
......
...@@ -20690,11 +20690,18 @@ ...@@ -20690,11 +20690,18 @@
20690 $(document).on("click", ".search-filter-reset-custom", function (e) { 20690 $(document).on("click", ".search-filter-reset-custom", function (e) {
20691 e.preventDefault(); 20691 e.preventDefault();
20692 $(this).closest('.searchandfilter')[0].reset(); 20692 $(this).closest('.searchandfilter')[0].reset();
20693 $('#top-search').val();
20693 return false; 20694 return false;
20694 }); 20695 });
20696
20697 //$('.search-filter-reset').unbind('click');
20698
20695 $(document).on("click", ".search-filter-reset", function (e) { 20699 $(document).on("click", ".search-filter-reset", function (e) {
20696 e.preventDefault(); 20700 e.preventDefault();
20697 $('.searchandfilter')[0].reset(); 20701 console.log('reset');
20702 const search = new URLSearchParams();
20703 search.set('_sf_s', $('#top-search').val());
20704 location.search = search.toString();
20698 return false; 20705 return false;
20699 }); 20706 });
20700 $(document).on("click", ".top-go", function (e) { 20707 $(document).on("click", ".top-go", function (e) {
...@@ -21001,7 +21008,7 @@ ...@@ -21001,7 +21008,7 @@
21001 if (img_width != '0') { 21008 if (img_width != '0') {
21002 var _bottom = jQuery(this).find('figcaption').innerHeight(); 21009 var _bottom = jQuery(this).find('figcaption').innerHeight();
21003 jQuery(this).find('figcaption').css('bottom', -_bottom); 21010 jQuery(this).find('figcaption').css('bottom', -_bottom);
21004 if ($('.post-template-default.single').length == 0) { 21011 if ($('.post-template-default.page').length == 0) {
21005 jQuery(this).find('.cap-wrapper').css('width', img_width); 21012 jQuery(this).find('.cap-wrapper').css('width', img_width);
21006 } 21013 }
21007 jQuery(this).addClass('captionized'); 21014 jQuery(this).addClass('captionized');
......
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
...@@ -89,6 +89,6 @@ if ($thumbnail_image && isset($thumbnail_image[0])) { ...@@ -89,6 +89,6 @@ if ($thumbnail_image && isset($thumbnail_image[0])) {
89 </div><!-- #content --> 89 </div><!-- #content -->
90 90
91 </div><!-- #full-width-page-wrapper --> 91 </div><!-- #full-width-page-wrapper -->
92 92 <?php the_field('pre_footer', 'option'); ?>
93 <?php 93 <?php
94 get_footer(); 94 get_footer();
......
...@@ -8,7 +8,7 @@ jQuery(function($) { ...@@ -8,7 +8,7 @@ jQuery(function($) {
8 if(img_width != '0') { 8 if(img_width != '0') {
9 var _bottom = jQuery(this).find('figcaption').innerHeight(); 9 var _bottom = jQuery(this).find('figcaption').innerHeight();
10 jQuery(this).find('figcaption').css('bottom', -_bottom); 10 jQuery(this).find('figcaption').css('bottom', -_bottom);
11 if($('.post-template-default.single').length == 0) { 11 if($('.post-template-default.page').length == 0) {
12 jQuery(this).find('.cap-wrapper').css('width', img_width); 12 jQuery(this).find('.cap-wrapper').css('width', img_width);
13 } 13 }
14 jQuery(this).addClass('captionized'); 14 jQuery(this).addClass('captionized');
......
...@@ -39,12 +39,18 @@ var Search = (function($) { ...@@ -39,12 +39,18 @@ var Search = (function($) {
39 $(document).on("click", ".search-filter-reset-custom", function(e){ 39 $(document).on("click", ".search-filter-reset-custom", function(e){
40 e.preventDefault(); 40 e.preventDefault();
41 $(this).closest('.searchandfilter')[0].reset(); 41 $(this).closest('.searchandfilter')[0].reset();
42 $('#top-search').val();
42 return false; 43 return false;
43 }); 44 });
44 45
46 //$('.search-filter-reset').unbind('click');
47
45 $(document).on("click", ".search-filter-reset", function(e){ 48 $(document).on("click", ".search-filter-reset", function(e){
46 e.preventDefault(); 49 e.preventDefault();
47 $('.searchandfilter')[0].reset(); 50 console.log('reset');
51 const search = new URLSearchParams();
52 search.set('_sf_s', $('#top-search').val());
53 location.search = search.toString();
48 return false; 54 return false;
49 }); 55 });
50 56
......
...@@ -34,6 +34,7 @@ window.tz_checkVisible = function(elm, evalType , offset, heightBuffer) { ...@@ -34,6 +34,7 @@ window.tz_checkVisible = function(elm, evalType , offset, heightBuffer) {
34 if (evalType === "above") return ((y < (vpH + st))); 34 if (evalType === "above") return ((y < (vpH + st)));
35 }; 35 };
36 36
37
37 jQuery(document).ready(function($) { 38 jQuery(document).ready(function($) {
38 39
39 40
...@@ -162,5 +163,7 @@ function onClassChange(element, callback) { ...@@ -162,5 +163,7 @@ function onClassChange(element, callback) {
162 // } 163 // }
163 // }); 164 // });
164 165
166
167
165 }); 168 });
166 }(jQuery)); 169 }(jQuery));
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
20 h2{ 20 h2{
21 padding-top: 32px; 21 padding-top: 32px;
22 color: #fff; 22 color: #fff;
23 font-family: "PT Sans",sans-serif;
24 font-weight: 700;
23 @media screen and (max-width: 48rem) { 25 @media screen and (max-width: 48rem) {
24 font-size: 22px; 26 font-size: 22px;
25 line-height: 25px; 27 line-height: 25px;
......
...@@ -12,7 +12,7 @@ body{ ...@@ -12,7 +12,7 @@ body{
12 // margin: 0.625rem 1.875rem 0 1.875rem; 12 // margin: 0.625rem 1.875rem 0 1.875rem;
13 } 13 }
14 14
15 @import "mega_menu"; 15 //@import "mega_menu";
16 @import "menu"; 16 @import "menu";
17 @import "header"; 17 @import "header";
18 @import "custom_select"; 18 @import "custom_select";
......
...@@ -47,6 +47,7 @@ h2{ ...@@ -47,6 +47,7 @@ h2{
47 font-size: 28px; 47 font-size: 28px;
48 line-height: 35px; 48 line-height: 35px;
49 color:#000; 49 color:#000;
50 margin-top: 32px;
50 @media only screen and (max-width: 48.875rem) { 51 @media only screen and (max-width: 48.875rem) {
51 font-size: 29px; 52 font-size: 29px;
52 line-height: 36px; 53 line-height: 36px;
...@@ -91,7 +92,13 @@ p{ ...@@ -91,7 +92,13 @@ p{
91 ul:not(.side-menu):not(.children){ 92 ul:not(.side-menu):not(.children){
92 padding-left: 2rem; 93 padding-left: 2rem;
93 li{ 94 li{
94 95 a{
96 text-decoration: none !important;
97 font-weight: bold !important;
98 }
99 a:hover{
100 text-decoration: underline !important;
101 }
95 margin-top: 0.313rem; 102 margin-top: 0.313rem;
96 ul:not(.side-menu):not(.children){ 103 ul:not(.side-menu):not(.children){
97 list-style: none; 104 list-style: none;
...@@ -104,6 +111,15 @@ ul:not(.side-menu):not(.children){ ...@@ -104,6 +111,15 @@ ul:not(.side-menu):not(.children){
104 width: 1.5em; 111 width: 1.5em;
105 margin-left: -1.5em; 112 margin-left: -1.5em;
106 } 113 }
114 li{
115 a{
116 text-decoration: none !important;
117 font-weight: bold !important;
118 }
119 a:hover{
120 text-decoration: underline !important;
121 }
122 }
107 } 123 }
108 } 124 }
109 } 125 }
...@@ -379,3 +395,21 @@ table:not(.ui-datepicker-calendar):not(#relevant-resources) { ...@@ -379,3 +395,21 @@ table:not(.ui-datepicker-calendar):not(#relevant-resources) {
379 395
380 396
381 } 397 }
398
399 a[target=_blank]{
400 &:after {
401 content: "";
402 width: 12px;
403 height: 12px;
404 background-repeat: no-repeat;
405 background-size: contain;
406 background-image: url('data:image/svg+xml,<svg id="Group_1310" data-name="Group 1310" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="17.758" height="17.741" viewBox="0 0 17.758 17.741"><defs><clipPath id="clip-path"><rect id="Rectangle_151" data-name="Rectangle 151" width="17.758" height="17.741"/></clipPath></defs><path id="Path_1277" data-name="Path 1277" d="M0,0V17.741H17.757V8.281H15.586v7.3H2.189V2.135H9.3V0Z" transform="translate(0 0)"/><g id="Group_1023" data-name="Group 1023" transform="translate(0 0)"><g id="Group_1022" data-name="Group 1022" clip-path="url(%23clip-path)"><path id="Path_1278" data-name="Path 1278" d="M17.986,11.548,16.363,9.931l7.791-7.756H21.989V.016h5.864V5.867H25.7V3.8l-7.717,7.748" transform="translate(-10.096 -0.01)"/></g></g></svg>');
407 display: inline-block;
408 position: relative;
409 top: 0.1rem;
410 right: -0.3rem;
411 margin-right: 0.3125rem;
412 }
413
414
415 }
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -47,10 +47,11 @@ ...@@ -47,10 +47,11 @@
47 font-size: 16px; 47 font-size: 16px;
48 line-height:12px; 48 line-height:12px;
49 font-weight: 400; 49 font-weight: 400;
50 text-decoration: underline; 50
51 text-decoration: none; 51 text-decoration: none;
52 &:hover{ 52 &:hover{
53 color: #000; 53 color: #000;
54 text-decoration: underline;
54 55
55 } 56 }
56 } 57 }
......
...@@ -195,7 +195,7 @@ ...@@ -195,7 +195,7 @@
195 width: calc(100vw + 50px); 195 width: calc(100vw + 50px);
196 } 196 }
197 .wp-block-columns{ 197 .wp-block-columns{
198 gap: 0em; 198 gap: 25px;
199 } 199 }
200 h2{ 200 h2{
201 color:#fff; 201 color:#fff;
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
5 @media only screen and (max-width: 48.875rem) { 5 @media only screen and (max-width: 48.875rem) {
6 position: absolute; 6 position: absolute;
7 right: 0px; 7 right: 0px;
8 top:-12px; 8 top:-10px;
9 } 9 }
10 a{ 10 a{
11 color: #EE0000; 11 color: #EE0000;
...@@ -24,4 +24,7 @@ ...@@ -24,4 +24,7 @@
24 24
25 .admin-bar .wpml-ls-statics-shortcode_actions.wpml-ls.wpml-ls-legacy-list-horizontal{ 25 .admin-bar .wpml-ls-statics-shortcode_actions.wpml-ls.wpml-ls-legacy-list-horizontal{
26 margin-top: -10px; 26 margin-top: -10px;
27 @media only screen and (max-width: 48.875rem) {
28 margin-top: -7px;
29 }
27 } 30 }
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -74,13 +74,22 @@ ...@@ -74,13 +74,22 @@
74 width: 80% !important; 74 width: 80% !important;
75 75
76 } 76 }
77 #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu:nth-child(4) > ul.mega-sub-menu{ 77 .mega-sub-menu:has(.mega-menu-columns-6-of-12){
78 width: 53% !important;
79
80 }
81 #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu:nth-child(2) > ul.mega-sub-menu{
82
83 }
84 #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu:nth-child(3) > ul.mega-sub-menu{
78 left: unset !important; 85 left: unset !important;
79 right: 0rem !important; 86 }
87 #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu:nth-child(4) > ul.mega-sub-menu{
88 // left: unset !important;
89 //right: 0rem !important;
80 } 90 }
81 91
82 #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu:nth-child(5) > ul.mega-sub-menu{ 92 #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu:nth-child(5) > ul.mega-sub-menu{
83 width: 80% !important;
84 left: unset !important; 93 left: unset !important;
85 right: 0rem !important; 94 right: 0rem !important;
86 } 95 }
...@@ -102,23 +111,39 @@ ...@@ -102,23 +111,39 @@
102 color:#000; 111 color:#000;
103 text-decoration: none; 112 text-decoration: none;
104 white-space: break-spaces; 113 white-space: break-spaces;
105 font-size: 18px; 114 font-size: 18px !important;
115 line-height: 24px !important;
106 font-weight: 400; 116 font-weight: 400;
107 font-family: "PT Sans",sans-serif; 117 font-family: "PT Sans",sans-serif;
108 font-weight:bold 118 font-weight:bold
109 } 119 }
120 #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu .mega-description-group .mega-menu-description{
121 margin-top: 3px !important;
122 }
123 #mega-menu-wrap-primary #mega-menu-primary a.mega-menu-link .mega-description-group .mega-menu-title,
124 #mega-menu-wrap-primary #mega-menu-primary a.mega-menu-link .mega-description-group .mega-menu-title,
125 #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link .mega-menu-title {
126 font-size: 18px !important;
127 line-height: 24px !important;
128
129 }
110 #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link:hover .mega-menu-title { 130 #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link:hover .mega-menu-title {
111 text-decoration: underline; 131 text-decoration: underline;
112 font-weight:bold; 132 font-weight:bold;
113 color:#000; 133 color:#000;
134 font-size: 18px !important;
135 line-height: 24px !important;
114 } 136 }
115 #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link:hover .mega-menu-description { 137 #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link:hover .mega-menu-description {
116 color:#000; 138 color:#000;
139 margin-top: 3px;
117 } 140 }
118 141
119 #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item.break-here > a.mega-menu-link { 142 #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item.break-here > a.mega-menu-link {
120 font-size:18px; 143 font-size:18px;
144 line-height: 21px;
121 font-family: "PT Sans",sans-serif; 145 font-family: "PT Sans",sans-serif;
146 text-transform: uppercase;
122 } 147 }
123 148
124 #mega-menu-wrap-primary #mega-menu-primary a.mega-menu-link .mega-description-group .mega-menu-description{ 149 #mega-menu-wrap-primary #mega-menu-primary a.mega-menu-link .mega-description-group .mega-menu-description{
...@@ -275,9 +300,14 @@ ...@@ -275,9 +300,14 @@
275 right: 0rem; 300 right: 0rem;
276 position:absolute; 301 position:absolute;
277 background: transparent; 302 background: transparent;
303
278 } 304 }
279 #mega-menu-wrap-primary .mega-menu-toggle{ 305 #mega-menu-wrap-primary .mega-menu-toggle{
280 background: transparent; 306 background: transparent;
307
308 }#mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-blocks-right{
309 z-index: 9999;
310 position: relative;
281 } 311 }
282 #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-blocks-right .mega-toggle-block:only-child{ 312 #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-blocks-right .mega-toggle-block:only-child{
283 background-color: #EE0000; 313 background-color: #EE0000;
...@@ -389,7 +419,7 @@ ...@@ -389,7 +419,7 @@
389 font-size: 1.8rem; 419 font-size: 1.8rem;
390 font-weight: 700; 420 font-weight: 700;
391 color: #fff; 421 color: #fff;
392 margin: 0 0 0 0.6rem; 422 margin: 0 0 0 0.58rem;
393 line-height: 1.3625rem; 423 line-height: 1.3625rem;
394 } 424 }
395 #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-3:after { 425 #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-3:after {
...@@ -421,8 +451,20 @@ ...@@ -421,8 +451,20 @@
421 .break-here{ 451 .break-here{
422 .mega-menu-title{ 452 .mega-menu-title{
423 font-size: 20px !important; 453 font-size: 20px !important;
454 text-transform: uppercase;
424 } 455 }
425 } 456 }
457 #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row .mega-menu-column > ul.mega-sub-menu > li.mega-menu-item{
458 padding: 0px 15px;
459 }
460 }
461
462 @media only screen and (max-width: 1000px){
463 #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item.mega-toggle-on > ul.mega-sub-menu, #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu.mega-menu-item.mega-toggle-on ul.mega-sub-menu {
464 display: block;
465 margin-bottom: 10px !important;
466 padding-top: 0px !important;
467 }
426 } 468 }
427 .admin-bar{ 469 .admin-bar{
428 .back-one-level{ 470 .back-one-level{
......
...@@ -58,6 +58,8 @@ ...@@ -58,6 +58,8 @@
58 } 58 }
59 } 59 }
60 } 60 }
61
62
61 .search-box:hover, 63 .search-box:hover,
62 .search-box:focus-within{ 64 .search-box:focus-within{
63 width: 100%; 65 width: 100%;
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
27 list-style: none; 27 list-style: none;
28 padding:0; 28 padding:0;
29 margin:0; 29 margin:0;
30 gap: 12px; 30 gap: 24px;
31 @media only screen and (max-width: 67.063rem) { 31 @media only screen and (max-width: 67.063rem) {
32 flex-direction: row; 32 flex-direction: row;
33 padding-left: 0px !important; 33 padding-left: 0px !important;
...@@ -65,11 +65,19 @@ ...@@ -65,11 +65,19 @@
65 max-height: 291px; 65 max-height: 291px;
66 overflow: hidden; 66 overflow: hidden;
67 position: relative; 67 position: relative;
68 display: flex;
69 justify-content: center;
70 align-items: center;
71 overflow: hidden
68 } 72 }
69 img { 73 img {
70 height: 100%; 74 object-fit: contain;
71 width: 100%; 75 min-width: 100%;
72 object-fit: cover; 76 min-height: 100%;
77 width: auto;
78 height: auto;
79 max-width: 100%;
80 max-height: 100%;
73 transition: all 0.5s ease-in-out; 81 transition: all 0.5s ease-in-out;
74 } 82 }
75 a { 83 a {
...@@ -119,10 +127,10 @@ ...@@ -119,10 +127,10 @@
119 127
120 128
121 .article-card { 129 .article-card {
122 max-width: 31rem; 130 //max-width: 31rem;
123 min-width: 31rem; 131 // min-width: 31rem;
124 min-height: 8.438rem; 132 min-height: 8.438rem;
125 margin-right: 12px; 133 margin-right: 24px;
126 a { 134 a {
127 color:white; 135 color:white;
128 gap: 1.625rem; 136 gap: 1.625rem;
...@@ -170,7 +178,7 @@ ...@@ -170,7 +178,7 @@
170 font-weight: bold; 178 font-weight: bold;
171 margin:0; 179 margin:0;
172 font-size: 22px; 180 font-size: 22px;
173 margin-bottom:10px; 181 margin-bottom:0px;
174 line-height: 28px !important; 182 line-height: 28px !important;
175 max-height: 5rem; 183 max-height: 5rem;
176 overflow: hidden; 184 overflow: hidden;
......
...@@ -161,6 +161,9 @@ ...@@ -161,6 +161,9 @@
161 } 161 }
162 } 162 }
163 } 163 }
164 a[target=_blank]:after{
165 display: none;
166 }
164 } 167 }
165 168
166 .photo{ 169 .photo{
......
...@@ -167,6 +167,8 @@ ...@@ -167,6 +167,8 @@
167 .select2-selection__rendered{ 167 .select2-selection__rendered{
168 background-color: #fff; 168 background-color: #fff;
169 border: 1px solid #fff; 169 border: 1px solid #fff;
170 padding: 0px 0px 0px 0px;
171 margin: 0px;
170 } 172 }
171 173
172 .select2-container--default.select2-container--focus .select2-selection--multiple{ 174 .select2-container--default.select2-container--focus .select2-selection--multiple{
...@@ -190,6 +192,7 @@ ...@@ -190,6 +192,7 @@
190 .select2-selection__rendered{ 192 .select2-selection__rendered{
191 margin-right: 0px; 193 margin-right: 0px;
192 padding-right: 0px; 194 padding-right: 0px;
195
193 } 196 }
194 197
195 .select2-container--default .select2-search--inline .select2-search__field{ 198 .select2-container--default .select2-search--inline .select2-search__field{
...@@ -515,6 +518,7 @@ ul.sf_date_field { ...@@ -515,6 +518,7 @@ ul.sf_date_field {
515 .select2-selection__rendered{ 518 .select2-selection__rendered{
516 margin-right: 0px; 519 margin-right: 0px;
517 padding-right: 0px; 520 padding-right: 0px;
521 padding-left: 0px;
518 } 522 }
519 .select2-container--default .select2-selection--multiple, 523 .select2-container--default .select2-selection--multiple,
520 .select2-selection__rendered{ 524 .select2-selection__rendered{
...@@ -528,10 +532,13 @@ ul.sf_date_field { ...@@ -528,10 +532,13 @@ ul.sf_date_field {
528 } 532 }
529 .select2-search.select2-search--inline, 533 .select2-search.select2-search--inline,
530 .select2-container{ 534 .select2-container{
531 width: 100% !important; 535 width: 101% !important;
532 margin-top: 0px; 536 margin-top: 0px;
533 padding-top: 0px; 537 padding-top: 0px;
534 padding-bottom: 0px; 538 padding-bottom: 0px;
539 @media screen and (max-width: 56.25rem) {
540 width: 100% !important;
541 }
535 } 542 }
536 .select2-selection__choice{ 543 .select2-selection__choice{
537 width: auto !important; 544 width: auto !important;
...@@ -1064,3 +1071,18 @@ ul.sf_date_field { ...@@ -1064,3 +1071,18 @@ ul.sf_date_field {
1064 .otgs-development-site-front-end{ 1071 .otgs-development-site-front-end{
1065 display: none !important; 1072 display: none !important;
1066 } 1073 }
1074
1075 #search-wrapper{
1076 .container{
1077 @media screen and (max-width: 1067px) {
1078 margin: 0rem 1.875rem 0 1.875rem;
1079 }
1080 @media screen and (max-width:48.875rem) {
1081 margin: 0rem;
1082 }
1083 }
1084 }
1085
1086 .admin-bar .select2-container--open .select2-dropdown{
1087 top:32px;
1088 }
...\ No newline at end of file ...\ No newline at end of file
......
1 .news-search{ 1 .news-search{
2 margin-top: 0px !important; 2 margin-top: 0px !important;
3 @media only screen and (max-width: 48.875rem) {
4 margin-top: 20px !important;
5 }
3 6
4 7
5 h1{ 8 h1{
......
...@@ -84,6 +84,9 @@ ...@@ -84,6 +84,9 @@
84 } 84 }
85 } 85 }
86 } 86 }
87 a[target=_blank]:after{
88 display: none;
89 }
87 90
88 h2.PDF{ 91 h2.PDF{
89 &:before { 92 &:before {
......
...@@ -2,5 +2,5 @@ ...@@ -2,5 +2,5 @@
2 Theme Name: MSF CA Child 2 Theme Name: MSF CA Child
3 Author: Tenzing Communications 3 Author: Tenzing Communications
4 Template: msf-ca 4 Template: msf-ca
5 Version: 1.0.5307 5 Version: 1.0.5
6 */ 6 */
...\ No newline at end of file ...\ No newline at end of file
......