From 93accf2487e1e10eda24ec2ca7aeb0c47682554b Mon Sep 17 00:00:00 2001 From: yukseltron Date: Tue, 1 Nov 2022 14:50:07 -0400 Subject: [PATCH] Update btn-default.svg, add example in docs --- docs/index.html.ejs | 5 ++++- icon/button-default.svg | 4 ++-- style.css | 14 +++++++++----- 3 files changed, 15 insertions(+), 8 deletions(-) diff --git a/docs/index.html.ejs b/docs/index.html.ejs index dd45139..0e85264 100644 --- a/docs/index.html.ejs +++ b/docs/index.html.ejs @@ -97,8 +97,11 @@ `)%> +

Or even have a default choice.

+ <%- example(` - + + `)%> diff --git a/icon/button-default.svg b/icon/button-default.svg index d5aaad6..819fa89 100644 --- a/icon/button-default.svg +++ b/icon/button-default.svg @@ -1,3 +1,3 @@ - - + + diff --git a/style.css b/style.css index 626e558..5fee0ae 100644 --- a/style.css +++ b/style.css @@ -391,11 +391,6 @@ h2 { cursor: pointer; } -.btn-default { - border-image: url("./icon/button-default.svg") 60 stretch; - border-width: 0.7em; -} - .btn:active { background: var(--secondary); border-radius:6px; @@ -418,6 +413,15 @@ h2 { font-family: Chicago_12; } +.btn-default { + border-image: url("./icon/button-default.svg") 60 stretch; + border-width: 0.5em; +} + +.btn-default:active { + border-radius: 12px; +} + /* text input */ input { border: 1.5px solid var(--secondary);