fipps/contao-bootstrapcustomizer-bundle
Composer 安装命令:
composer require fipps/contao-bootstrapcustomizer-bundle
包简介
Contao 4 Bootstrap Customizer Bundle
README 文档
README
This extension allows you to create Bootstrap CSS Themes, which are easy to integrate into your layout.
SCSSPHP does not implenent postprocessors, which are needed to add vendor prefixes. Therefore, we recommend using agoat/autoprefixer.
agoat/autoprefixer works with nodejs only. If you do not have access to nodejs, you can use --prefix-free, which is a requirement in this package.
We also recommend installing contao-bootstrap/bundle.
If you also install fipps/contao-parallax-bundle you'll get an awesome parallax effect for background images based on boostraps animation.
Advantages
Colorsystem
You can add as many colors to your color system as you want.
Vertical Navigation with Responsive Side Menu
We have also added vertical navigation and a side menu, which integrates seamless in you navigation bar.
Only components you want to use are compiled into a css file.
Change colors, margins, borders or breakpoints within your contao backend.
New rudimentary CSS Grid Classes
We'va added some css classes to implement css grid system next to bootstraps flexbox:
grid-[1..12]for a grid system with 1 to 12 columns.
You can use the bootstrap breakpoints like grid-sm-6 for six columns at breakpoint sm and above.grid-squarewithstyle='aspect-ratio: cols/rows'for a square gridsystem. The aspect ration defines how many cols amd rows the element should take.
Example:<div class="grid-4 grid-square"> <div style="aspect-ratio: 1/2" <div>This element is 1 col width and 2 rows high</div> </div> <div style="aspect-ratio: 2/1" <div>This element is 2 col width and 1 rows high</div> </div> <div style="aspect-ratio: 2/2" <div>This element is 2 col width and 2 rows high</div> </div> </div>grid-flow-[c|r|d|cd|rd]to control the flow behaviour (you can use breakpoints likegrid-md-flow-c):- c: column
- r: row
- d: dense
- cd: column dense
- rd: row dense
Now create your own Bootstrap theme and select the theme within your layout.
Check either autoprefix or prefixfree.
Spacing
We changed the spacing: 5: 2 x $spacer (in Boostrap 3 x $spacer) 6: 3 x $spacer (new)
ToDo
We've changed to Bootstrap 4.3 with some new components (toasts and spinners).
This ist still a work in progress.
Define spacing
Have fun!!
https://github.com/agoat/contao-autoprefixer http://leaverou.github.io/prefixfree/
fipps/contao-bootstrapcustomizer-bundle 适用场景与选型建议
fipps/contao-bootstrapcustomizer-bundle 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 64 次下载、GitHub Stars 达 0, 最近一次更新时间为 2022 年 01 月 04 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「css」 「theme」 「bootstrap」 「grid」 「contao」 「customize」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 fipps/contao-bootstrapcustomizer-bundle 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 fipps/contao-bootstrapcustomizer-bundle 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 fipps/contao-bootstrapcustomizer-bundle 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
A Twig extension to insert css as inline styles with a tag
Caching and compression for Twig assets (JavaScript and CSS).
Views for the package MedicOneSystems Livewire Datatables with Bootstrap 4
A Bootstrap 4.x base theme for SilverStripe
Lucency Theme
Define your own css rule-sets for the TYPO3 CMS backend.
统计信息
- 总下载量: 64
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 6
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: LGPL-3.0-or-later
- 更新时间: 2022-01-04