gz_ui_css-v1

个人自用样式

Dette scriptet burde ikke installeres direkte. Det er et bibliotek for andre script å inkludere med det nye metadirektivet // @require https://update.greasyfork.org/scripts/517928/1514836/gz_ui_css-v1.js

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Forfatter
hgztask
Versjon
0.5
Lagd
18.11.2024
Oppdatert
04.01.2025
Size
3,5 kB
Lisens
Apache-2.0

gz_ui_css

个人自用的css样式,参考element-ui的样式。

功能

  1. 目前主要针对于button标签美化

使用

  1. 在button标签属性中添加gz_type 属性,可选值有:primary、success、warning、info、danger,默认为primary。
  2. 在button标签属性中添加border,效果为圆角

/**
 * 添加样式
 * 该方法会默认调用一次,插入位置如下所示
 * 参数一:该元素下是否已经插入过样式
 * 参数二:要插入的位置
 */
gz_ui_css.addStyle(document, document.head)


默认美化

  1. 美化input标签
  2. 美化select标签
  3. 基本美化button标签
  4. button标签聚焦时,高亮边框

问题反馈

  1. 如有问题,加群反馈: 点击加入群聊
  2. 作者b站:访问作者b站主页(uid:473239155)