Changeset 119773 in spip-zone
- Timestamp:
- Jan 16, 2020, 9:11:55 AM (14 months ago)
- Location:
- _plugins_/adaptive_images/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/adaptive_images/trunk
-
Property
subgit:lock:fd28be8bc032f0ab2fc6a923f04ce8ee2d42f1f9
set to
2020-01-16T10:11:59.757
-
Property
subgit:lock:fd28be8bc032f0ab2fc6a923f04ce8ee2d42f1f9
set to
-
_plugins_/adaptive_images/trunk/lib/AdaptiveImages/AdaptiveImages.php
r118706 r119773 3 3 * AdaptiveImages 4 4 * 5 * @version 2. 0.56 * @copyright 2013-20 195 * @version 2.1.0 6 * @copyright 2013-2020 7 7 * @author Nursit 8 8 * @licence GNU/GPL3 … … 59 59 * @var array 60 60 */ 61 protected $defaultBkpts = array( 160,320,480,640,960,1440);61 protected $defaultBkpts = array(480,960,1440); 62 62 63 63 /** … … 71 71 * @var int 72 72 */ 73 protected $minWidth1x = 320;73 protected $minWidth1x = 480; 74 74 75 75 /** … … 83 83 * @var int 84 84 */ 85 protected $maxWidthMobileVersion = 320;85 protected $maxWidthMobileVersion = 480; 86 86 87 87 /** … … 342 342 $base_style = "<style type='text/css'>" 343 343 ."img.adapt-img,.lazy img.adapt-img{max-width:100%;height:auto;}" 344 .".adapt-img-wrapper {display: inline-block;max-width:100%;position:relative;background-position:center;-webkit-background-size:100% auto;-webkit-background-size:cover;background-size:cover;background-repeat:no-repeat;line-height:1px;overflow:hidden}"344 .".adapt-img-wrapper {display:block;max-width:100%;position:relative;background-position:center;-webkit-background-size:100% auto;-webkit-background-size:cover;background-size:cover;background-repeat:no-repeat;line-height:1px;overflow:hidden}" 345 345 .".adapt-img-wrapper.intrinsic::before{content:'';display:block;height:0;width:100%;}.adapt-img-wrapper.intrinsic img{position:absolute;left:0;top:0;width:100%;height:auto;}" 346 346 ."@media (min-width:{$minwidthdesktop}px){.adapt-img-wrapper.intrinsic-desktop::before{content:'';display:block;height:0;width:100%;}.adapt-img-wrapper.intrinsic-desktop img{position:absolute;left:0;top:0;width:100%;height:auto;}}" … … 361 361 default: 362 362 $base_style = "<style type='text/css'>"."img.adapt-img,.lazy img.adapt-img{max-width:100%;height:auto;}img.adapt-img.blur{filter:blur(5px)}" 363 .".adapt-img-wrapper,.adapt-img-wrapper::after{display: inline-block;max-width:100%;position:relative;-webkit-background-size:100% auto;-webkit-background-size:cover;background-size:cover;background-repeat:no-repeat;line-height:1px;overflow:hidden}"363 .".adapt-img-wrapper,.adapt-img-wrapper::after{display:block;max-width:100%;position:relative;-webkit-background-size:100% auto;-webkit-background-size:cover;background-size:cover;background-repeat:no-repeat;line-height:1px;overflow:hidden}" 364 364 .".adapt-img-background{width:100%;height:0}.adapt-img-background::after{display:none;width:100%;height:0;}" 365 365 ."html body .adapt-img-wrapper.lazy,html.lazy body .adapt-img-wrapper,html body .adapt-img-wrapper.lazy::after,html.lazy body .adapt-img-wrapper::after{background-image:none}" -
_plugins_/adaptive_images/trunk/paquet.xml
r118709 r119773 2 2 prefix="adaptive_images" 3 3 categorie="multimedia" 4 version="1.1 7.1"4 version="1.18.0" 5 5 etat="stable" 6 6 compatibilite="[3.0.0;3.3.*]"
Note: See TracChangeset
for help on using the changeset viewer.