承接 clarkwinkelmann/flarum-ext-colorful-borders 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

clarkwinkelmann/flarum-ext-colorful-borders

最新稳定版本:1.0.0

Composer 安装命令:

composer require clarkwinkelmann/flarum-ext-colorful-borders

包简介

Mess up with each individual post styling

关键字:

README 文档

README

Mess up with each individual post styling.

This is this year's April Fools extension from Clark. It's not supposed to be useful, but you can use it to let moderators customize their or other's posts. Or go big, and let anyone customize anything for a while.

Style editor and preview

Settings modal

Available permissions:

  • Edit own post styling
  • Edit any post styling

Available settings:

  • Customizable border color
  • Customizable background color
  • Customizable text color
  • Customizable border width
  • Customizable border radius

For each color setting, you can choose between an included small palette of colors, any color via the browser color picker, or a list of admin-provided colors inputted as hexadecimal or RGB values.

For each range setting, you can choose the minimum and maximum value allowed. The values are in pixels.

For each option, the editor allows selecting "Default". This will use the inherited value (i.e., not apply any direct styling). Those default values are:

  • Border color: transparent (set by this extension)
  • Background color: none (Flarum's page background is visible through, changes depending on the theme)
  • Text color: Flarum's text color (changes depending on the theme)
  • Border width: 5px (set by this extension)
  • Border radius: Flarum's default border radius (set by Flarum even though it's generally not visible)

You can customize those default styles via the custom CSS field of Flarum.

If you want to reset all posts to the default style, you can run the following commands to remove the colorful_borders_style column from the database and re-add it:

php flarum migrate:reset --extension=clarkwinkelmann-colorful-borders
php flarum migrate

Installation

This extension requires MySQL 5.7.8+ or MariaDB 10.2.7+ due to the use of the JSON data type!

composer require clarkwinkelmann/flarum-ext-colorful-borders

Support

This extension is provided as a technical demonstration and is not intended to be used in production.

There is no support and no guarantee of any future bugfix or compatibility update.

Links

统计信息

  • 总下载量: 1.32k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: TypeScript

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-04-01

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固