# Bootstrap Star Inputのデザイン変更について

**URL:** <https://www.nocode-faq.com/t/topic/3747>\
**Category:** bubble\
**Created:** [2023 年 6 月 30 日午前 5:59 UTC](https://www.nocode-faq.com/t/topic/3747 "2023-06-30T05:59:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![yunsu](https://avatars.discourse-cdn.com/v4/letter/y/e47c2d/32.png) [@yunsu](https://www.nocode-faq.com/u/yunsu)\
**Post date:** [2023 年 6 月 30 日午前 5:59 UTC](https://www.nocode-faq.com/t/topic/3747/1 "2023-06-30T05:59:23Z")

</div>

Bubble公式プラグインのBootstrap Star Inputについて質問があります。  
デフォルトでは星の外側のみ枠線を追加できるのですが、こちらを"星のみ"に枠線を入れたいと思っております。  
イメージは添付する画像のようなデザインです。

 ![スクリーンショット 2023-06-30 14.57.44](https://us1.discourse-cdn.com/flex020/uploads/ncc_forum/original/2X/b/bcfc38bd12cecf4a87808f784b73c340ed2340ee.png)

CSSを使ってどうにかできないか考えていましたが、手詰まりでして。  
お助けいただけますと幸いです。  
よろしくお願いいたします。

---

<div class="post-metadata">

**Author:** ![john03tgck01a](https://sea2.discourse-cdn.com/flex020/user_avatar/www.nocode-faq.com/john03tgck01a/32/4558_2.png) [@john03tgck01a](https://www.nocode-faq.com/u/john03tgck01a)\
**Post date:** [2023 年 7 月 4 日午前 2:31 UTC](https://www.nocode-faq.com/t/topic/3747/2 "2023-07-04T02:31:53Z")

</div>

Star Rating Advancedというプラグインを使うと星を色々とかえられるようです。  
実際に入れて試してみたところ、このような動きになりました。

> **[Gyazo](https://gyazo.com/d056326f4954b8d4adcd85ef1a08f867)**
>
> Gyazo is the easiest way to record screenshots & videos you can share instantly. Save time with async visual communication that's effortless and engaging.

プラグインページはこちらです。

> **[\[PLUGIN\] - StarRating Advanced + Customization](https://forum.bubble.io/t/plugin-starrating-advanced-customization/144937)**
>
> Hi all, I’ve released an advanced version of a Star Rating control plugin which I’ve rammed with useful calculations, states, actions, events etc that I could think of. It’s more of a user experience rating control I suppose since you don’t have...

ただ思い通りの実装をする場合は、自作する必要があるかもしれません。

---

<div class="post-metadata">

**Author:** ![yunsu](https://avatars.discourse-cdn.com/v4/letter/y/e47c2d/32.png) [@yunsu](https://www.nocode-faq.com/u/yunsu)\
**Post date:** [2023 年 7 月 4 日午前 4:31 UTC](https://www.nocode-faq.com/t/topic/3747/3 "2023-07-04T04:31:36Z")

</div>

johnさんいつもありがとうございます！  
さっそく触ってみようと思います！

---

<div class="post-metadata">

**Author:** ![john03tgck01a](https://sea2.discourse-cdn.com/flex020/user_avatar/www.nocode-faq.com/john03tgck01a/32/4558_2.png) [@john03tgck01a](https://www.nocode-faq.com/u/john03tgck01a)\
**Post date:** [2023 年 7 月 4 日午前 5:50 UTC](https://www.nocode-faq.com/t/topic/3747/4 "2023-07-04T05:50:45Z")

</div>

思いついたことができたので、共有します。

1. 半分の星をホバーしている時としていない時の2つ用意
2. CustomStateにnumber型作成（評価点数を格納）
3. 星をホバーした時にダミーのGroupを表示（星の下の色付きGroup)
4. Group表示をトリガーに点数を加算（3つ目の左の星なら2.5点）

 ![スクリーンショット 2023-07-04 14.47.26](https://us1.discourse-cdn.com/flex020/uploads/ncc_forum/original/2X/9/9bceee9e9aeb33993c76d3faed8f5c4b4206f2b6.png)

> **[Gyazo Screen Video](https://gyazo.com/96d92c6e99e651a61d86b5dba7e3e383)**
>
> Gyazo is the easiest way to record screenshots & videos you can share instantly. Save time with async visual communication that's effortless and engaging.

---

<div class="post-metadata">

**Author:** ![yunsu](https://avatars.discourse-cdn.com/v4/letter/y/e47c2d/32.png) [@yunsu](https://www.nocode-faq.com/u/yunsu)\
**Post date:** [2023 年 7 月 4 日午前 6:54 UTC](https://www.nocode-faq.com/t/topic/3747/5 "2023-07-04T06:54:44Z")

</div>

共有いただきありがとうございます。  
参考にさせていただきますね！
