X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fmodules%2Fcontrib%2Fslick%2Fsrc%2FSlickSkin.php;fp=web%2Fmodules%2Fcontrib%2Fslick%2Fsrc%2FSlickSkin.php;h=2918ffe194cc37b7620c2f21d6fb23dc2b2922bb;hb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;hp=0000000000000000000000000000000000000000;hpb=57c063afa3f66b07c4bbddc2d6129a96d90f0aad;p=yaffs-website diff --git a/web/modules/contrib/slick/src/SlickSkin.php b/web/modules/contrib/slick/src/SlickSkin.php new file mode 100644 index 000000000..2918ffe19 --- /dev/null +++ b/web/modules/contrib/slick/src/SlickSkin.php @@ -0,0 +1,93 @@ + [ + 'name' => 'Default', + 'css' => [ + 'theme' => [ + 'css/theme/slick.theme--default.css' => [], + ], + ], + ], + 'asnavfor' => [ + 'name' => 'Thumbnail: asNavFor', + 'css' => [ + 'theme' => [ + 'css/theme/slick.theme--asnavfor.css' => [], + ], + ], + 'description' => $this->t('Affected thumbnail navigation only.'), + ], + 'classic' => [ + 'name' => 'Classic', + 'description' => $this->t('Adds dark background color over white caption, only good for slider (single slide visible), not carousel (multiple slides visible), where small captions are placed over images.'), + 'css' => [ + 'theme' => [ + 'css/theme/slick.theme--classic.css' => [], + ], + ], + ], + 'fullscreen' => [ + 'name' => 'Full screen', + 'description' => $this->t('Adds full screen display, works best with 1 slidesToShow.'), + 'css' => [ + 'theme' => [ + 'css/theme/slick.theme--full.css' => [], + 'css/theme/slick.theme--fullscreen.css' => [], + ], + ], + ], + 'fullwidth' => [ + 'name' => 'Full width', + 'description' => $this->t('Adds .slide__constrained wrapper to hold caption overlay within the max-container.'), + 'css' => [ + 'theme' => [ + 'css/theme/slick.theme--full.css' => [], + 'css/theme/slick.theme--fullwidth.css' => [], + ], + ], + ], + 'grid' => [ + 'name' => 'Grid Foundation', + 'description' => $this->t('Use slidesToShow > 1 to have more grid combination, only if you have considerable amount of grids, otherwise 1.'), + 'css' => [ + 'theme' => [ + 'css/theme/slick.theme--grid.css' => [], + ], + ], + ], + 'split' => [ + 'name' => 'Split', + 'description' => $this->t('Puts image and caption side by side, requires any split layout option.'), + 'css' => [ + 'theme' => [ + 'css/theme/slick.theme--split.css' => [], + ], + ], + ], + ]; + + foreach ($skins as $key => $skin) { + $skins[$key]['group'] = $key == 'asnavfor' ? 'thumbnail' : 'main'; + $skins[$key]['provider'] = 'slick'; + } + + return $skins; + } + +}