You are here

flickrstyle_magnifier.css in Flickr 7

/**
 * The CSS values that are wrapped in '/*variable' comments are intended for use
 * by https://www.drupal.org/project/style_settings. Enable that module to
 * have those CSS variables exposed in the settings UI.
 */

.flickr-wrap a.flickr-img-wrap {
  position: relative;
  display: block;
}

.flickr-wrap a span.hover-icon {
  position: absolute;
  bottom: 50%;
  left: 50%;
  display: block;
  width: /*variable:flickrstyle_magnifier_size*/50px/*variable*/;
  height: /*variable:flickrstyle_magnifier_size*/50px/*variable*/;
  margin-bottom: /*variable:flickrstyle_magnifier_halfsize*/-25px/*variable*/;
  margin-left: /*variable:flickrstyle_magnifier_halfsize*/-25px/*variable*/;
  -webkit-transition-duration: 150ms;
     -moz-transition-duration: 150ms;
      -ms-transition-duration: 150ms;
       -o-transition-duration: 150ms;
          transition-duration: 150ms;
  -webkit-transition-property: all;
     -moz-transition-property: all;
      -ms-transition-property: all;
       -o-transition-property: all;
          transition-property: all;
  -webkit-transform: scale(0.1,0.1);
     -moz-transform: scale(0.1,0.1);
      -ms-transform: scale(0.1,0.1);
       -o-transform: scale(0.1,0.1);
          transform: scale(0.1,0.1);
  -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
  filter: alpha(opacity=0);
  -moz-opacity: 0;
  opacity: 0;
}

.flickr-wrap a:hover span.hover-icon {
  position: absolute;
  -webkit-transform: scale(1,1);
     -moz-transform: scale(1,1);
      -ms-transform: scale(1,1);
       -o-transform: scale(1,1);
          transform: scale(1,1);
  -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=/*variable:flickrstyle_magnifier_opacity*/0.85/*variable*/);
  filter: alpha(opacity=/*variable:flickrstyle_magnifier_opacity*/0.85/*variable*/);
  -moz-opacity: /*variable:flickrstyle_magnifier_opacity*/0.85/*variable*/;
  opacity: /*variable:flickrstyle_magnifier_opacity*/0.85/*variable*/;
}

File

style/css/flickrstyle_magnifier.css
View source
  1. /**
  2. * The CSS values that are wrapped in '/*variable' comments are intended for use
  3. * by https://www.drupal.org/project/style_settings. Enable that module to
  4. * have those CSS variables exposed in the settings UI.
  5. */
  6. .flickr-wrap a.flickr-img-wrap {
  7. position: relative;
  8. display: block;
  9. }
  10. .flickr-wrap a span.hover-icon {
  11. position: absolute;
  12. bottom: 50%;
  13. left: 50%;
  14. display: block;
  15. width: /*variable:flickrstyle_magnifier_size*/50px/*variable*/;
  16. height: /*variable:flickrstyle_magnifier_size*/50px/*variable*/;
  17. margin-bottom: /*variable:flickrstyle_magnifier_halfsize*/-25px/*variable*/;
  18. margin-left: /*variable:flickrstyle_magnifier_halfsize*/-25px/*variable*/;
  19. -webkit-transition-duration: 150ms;
  20. -moz-transition-duration: 150ms;
  21. -ms-transition-duration: 150ms;
  22. -o-transition-duration: 150ms;
  23. transition-duration: 150ms;
  24. -webkit-transition-property: all;
  25. -moz-transition-property: all;
  26. -ms-transition-property: all;
  27. -o-transition-property: all;
  28. transition-property: all;
  29. -webkit-transform: scale(0.1,0.1);
  30. -moz-transform: scale(0.1,0.1);
  31. -ms-transform: scale(0.1,0.1);
  32. -o-transform: scale(0.1,0.1);
  33. transform: scale(0.1,0.1);
  34. -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
  35. filter: alpha(opacity=0);
  36. -moz-opacity: 0;
  37. opacity: 0;
  38. }
  39. .flickr-wrap a:hover span.hover-icon {
  40. position: absolute;
  41. -webkit-transform: scale(1,1);
  42. -moz-transform: scale(1,1);
  43. -ms-transform: scale(1,1);
  44. -o-transform: scale(1,1);
  45. transform: scale(1,1);
  46. -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=/*variable:flickrstyle_magnifier_opacity*/0.85/*variable*/);
  47. filter: alpha(opacity=/*variable:flickrstyle_magnifier_opacity*/0.85/*variable*/);
  48. -moz-opacity: /*variable:flickrstyle_magnifier_opacity*/0.85/*variable*/;
  49. opacity: /*variable:flickrstyle_magnifier_opacity*/0.85/*variable*/;
  50. }