diff --git a/profiles/wcm_base/modules/custom/ocio_image_styles/ocio_image_styles.features.inc b/profiles/wcm_base/modules/custom/ocio_image_styles/ocio_image_styles.features.inc index b5d47a905b17fe2c4be3aea21acaa4c546addde0..d631ac8736f66af7f8fb705c0abf85ca5d9ad711 100644 --- a/profiles/wcm_base/modules/custom/ocio_image_styles/ocio_image_styles.features.inc +++ b/profiles/wcm_base/modules/custom/ocio_image_styles/ocio_image_styles.features.inc @@ -60,6 +60,21 @@ function ocio_image_styles_image_default_styles() { ), ); + // Exported image style: image_style_tiny. + $styles['image_style_tiny'] = array( + 'label' => 'Tiny (50x50)', + 'effects' => array( + 1 => array( + 'name' => 'image_scale_and_crop', + 'data' => array( + 'width' => 50, + 'height' => 50, + ), + 'weight' => 1, + ), + ), + ); + // Exported image style: teaser_image. $styles['teaser_image'] = array( 'label' => 'Teaser Image', @@ -75,6 +90,5 @@ function ocio_image_styles_image_default_styles() { ), ), ); - return $styles; } diff --git a/profiles/wcm_base/modules/custom/ocio_image_styles/ocio_image_styles.info b/profiles/wcm_base/modules/custom/ocio_image_styles/ocio_image_styles.info index cbcd89a9256ad07ef37536390a30d864b7416e94..6c9770549d1e3e8d6145a602949aea851d02a406 100644 --- a/profiles/wcm_base/modules/custom/ocio_image_styles/ocio_image_styles.info +++ b/profiles/wcm_base/modules/custom/ocio_image_styles/ocio_image_styles.info @@ -18,4 +18,5 @@ features[features_api][] = api:2 features[image][] = image_style_full features[image][] = image_style_large features[image][] = image_style_small +features[image][] = image_style_tiny features[image][] = teaser_image diff --git a/profiles/wcm_base/modules/custom/wcm_user_leadership/wcm_user_leadership.views_default.inc b/profiles/wcm_base/modules/custom/wcm_user_leadership/wcm_user_leadership.views_default.inc index 1e878c4e9b577db45f7499ef3f5937b6d6943ce8..fa26c50293a043560c454729af099868288706e5 100644 --- a/profiles/wcm_base/modules/custom/wcm_user_leadership/wcm_user_leadership.views_default.inc +++ b/profiles/wcm_base/modules/custom/wcm_user_leadership/wcm_user_leadership.views_default.inc @@ -169,7 +169,7 @@ function wcm_user_leadership_views_default_views() { $handler->display->display_options['fields']['field_user_photo']['element_label_colon'] = FALSE; $handler->display->display_options['fields']['field_user_photo']['click_sort_column'] = 'fid'; $handler->display->display_options['fields']['field_user_photo']['settings'] = array( - 'image_style' => 'bitsy', + 'image_style' => 'image_style_tiny', 'image_link' => 'content', ); /* Field: Realname: Real name */ diff --git a/profiles/wcm_base/themes/ocio_omega_base/css/layouts/ocio-default/ocio-default.layout.css b/profiles/wcm_base/themes/ocio_omega_base/css/layouts/ocio-default/ocio-default.layout.css index 21f60aae38b5849a0c5c8a96e595156f10503b69..5f8aa5b675ebcf26a41c754df45912e8f9c6770d 100644 --- a/profiles/wcm_base/themes/ocio_omega_base/css/layouts/ocio-default/ocio-default.layout.css +++ b/profiles/wcm_base/themes/ocio_omega_base/css/layouts/ocio-default/ocio-default.layout.css @@ -776,7 +776,7 @@ p { h1, .alpha { font-size: 40px; font-size: 4rem; - margin: .8em 0 0 0.4em; + margin: .8em 0 0.2em 0; color: #b00; } @@ -1092,7 +1092,7 @@ p { h1, .alpha { font-size: 40px; font-size: 4rem; - margin: .8em 0 0 0.4em; + margin: .8em 0 0.2em 0; color: #b00; } diff --git a/profiles/wcm_base/themes/ocio_omega_base/css/layouts/ocio-default/ocio-default.layout.no-query.css b/profiles/wcm_base/themes/ocio_omega_base/css/layouts/ocio-default/ocio-default.layout.no-query.css index 9e47d82f9b84d956a4f0986b8cd64c433e9b0c41..ebb55c4f0b7160ad0f09456226a8ce498a41f343 100644 --- a/profiles/wcm_base/themes/ocio_omega_base/css/layouts/ocio-default/ocio-default.layout.no-query.css +++ b/profiles/wcm_base/themes/ocio_omega_base/css/layouts/ocio-default/ocio-default.layout.no-query.css @@ -776,7 +776,7 @@ p { h1, .alpha { font-size: 40px; font-size: 4rem; - margin: .8em 0 0 0.4em; + margin: .8em 0 0.2em 0; color: #b00; } @@ -1088,7 +1088,7 @@ p { h1, .alpha { font-size: 40px; font-size: 4rem; - margin: .8em 0 0 0.4em; + margin: .8em 0 0.2em 0; color: #b00; } diff --git a/profiles/wcm_base/themes/ocio_omega_base/css/ocio-omega-base.no-query.css b/profiles/wcm_base/themes/ocio_omega_base/css/ocio-omega-base.no-query.css index cb700c5758089b47dee3f36cdc7a13294a2533c4..6da2fe04ca0cbae4bb41f69048c1c10ab66764b4 100644 --- a/profiles/wcm_base/themes/ocio_omega_base/css/ocio-omega-base.no-query.css +++ b/profiles/wcm_base/themes/ocio_omega_base/css/ocio-omega-base.no-query.css @@ -772,7 +772,7 @@ p { h1, .alpha { font-size: 40px; font-size: 4rem; - margin: .8em 0 0 0.4em; + margin: .8em 0 0.2em 0; color: #b00; } @@ -1085,7 +1085,7 @@ p { h1, .alpha { font-size: 40px; font-size: 4rem; - margin: .8em 0 0 0.4em; + margin: .8em 0 0.2em 0; color: #b00; } diff --git a/profiles/wcm_base/themes/ocio_omega_base/css/ocio-omega-base.styles.css b/profiles/wcm_base/themes/ocio_omega_base/css/ocio-omega-base.styles.css index 64972db41be9b6f4aea951f17665c6dd88cc8992..aff767082ff8fecc23adad8e3720d9844c5ebfe1 100644 --- a/profiles/wcm_base/themes/ocio_omega_base/css/ocio-omega-base.styles.css +++ b/profiles/wcm_base/themes/ocio_omega_base/css/ocio-omega-base.styles.css @@ -772,7 +772,7 @@ p { h1, .alpha { font-size: 40px; font-size: 4rem; - margin: .8em 0 0 0.4em; + margin: .8em 0 0.2em 0; color: #b00; } @@ -1089,7 +1089,7 @@ p { h1, .alpha { font-size: 40px; font-size: 4rem; - margin: .8em 0 0 0.4em; + margin: .8em 0 0.2em 0; color: #b00; } diff --git a/profiles/wcm_base/themes/ocio_omega_base/sass/base/_typography.scss b/profiles/wcm_base/themes/ocio_omega_base/sass/base/_typography.scss index c3db5737087bc0143b93e5503c57a8f484dfcdd9..02f302446c79fbb88a18eedb7bdd2aaa5dd163bb 100644 --- a/profiles/wcm_base/themes/ocio_omega_base/sass/base/_typography.scss +++ b/profiles/wcm_base/themes/ocio_omega_base/sass/base/_typography.scss @@ -18,7 +18,7 @@ p { //heading sizes h1, .alpha { @include font-size(4); - margin: .8em 0 0 0.4em; + margin: .8em 0 0.2em 0; color: $red; }