From 8118806f4ea3a5d7aa831e6b67c5a0afe6a8db02 Mon Sep 17 00:00:00 2001 From: cutls Date: Tue, 8 Sep 2020 23:39:06 +0900 Subject: [PATCH] fix input type color css --- app/css/master.css | 12 ++++++++++++ app/view/make/setting.sample.html | 28 ++++++++++++++-------------- 2 files changed, 26 insertions(+), 14 deletions(-) diff --git a/app/css/master.css b/app/css/master.css index f2704c4d..1b1e9232 100644 --- a/app/css/master.css +++ b/app/css/master.css @@ -340,6 +340,18 @@ blockquote:before, flex-wrap: wrap; flex-direction: column; } +input[type="color"] { + -webkit-appearance: none; + border: none; + width: 32px; + height: 32px; +} +input[type="color"]::-webkit-color-swatch-wrapper { + padding: 0; +} +input[type="color"]::-webkit-color-swatch { + border: none; +} #menu { position: fixed; z-index: 999; diff --git a/app/view/make/setting.sample.html b/app/view/make/setting.sample.html index 6db34c44..55c02bdc 100644 --- a/app/view/make/setting.sample.html +++ b/app/view/make/setting.sample.html @@ -146,7 +146,7 @@ @@use@@
- +
Text
@@text@@
@@ -154,7 +154,7 @@ @@use@@
- +
Subcolor
@@subcolor@@
@@ -162,7 +162,7 @@ @@use@@
- +
Accent
@@accent@@
@@ -170,7 +170,7 @@ @@use@@
- +
@@ -182,7 +182,7 @@ @@copyFrom@@: Background
- +
Modal Footer
@@modalFooter@@
@@ -194,7 +194,7 @@ Background/ Modal
- +
3rd Color
@@thirdColor@@
@@ -205,7 +205,7 @@ @@copyFrom@@: Subcolor
- +
4th Color
@@forthColor@@
@@ -217,7 +217,7 @@ Subcolor/ 3rd Color
- +
Bottom
@@bottom@@
@@ -228,7 +228,7 @@ @@copyFrom@@: Subcolor
- +
2nd Accent
@@emphasized@@
@@ -239,7 +239,7 @@ @@copyFrom@@: Accent
- +
Postbox
@@postbox@@
@@ -250,7 +250,7 @@ @@copyFrom@@: Subcolor
- +
Active
@@active@@
@@ -261,7 +261,7 @@ @@copyFrom@@: Accent
- +
Selected
@@selected@@
@@ -269,7 +269,7 @@ @@use@@
- +
Selected with shared
@@selectedWithShare@@
@@ -277,7 +277,7 @@ @@use@@
- +