From 01f19eeff00c492182a4b15fd65c64e6c951a4c3 Mon Sep 17 00:00:00 2001 From: Thomas Smith <49042513+tsmitty11@users.noreply.github.com> Date: Thu, 22 Sep 2022 16:09:52 -0400 Subject: [PATCH] Dedicated CSS file for buttons --- src/layouts/page/style-guide.html | 3 ++ src/layouts/partials/full-width-cta.html | 51 ------------------------ src/layouts/partials/head.html | 1 + src/static/css/buttons.css | 49 +++++++++++++++++++++++ 4 files changed, 53 insertions(+), 51 deletions(-) create mode 100644 src/static/css/buttons.css diff --git a/src/layouts/page/style-guide.html b/src/layouts/page/style-guide.html index 842dd7f..54afbb3 100644 --- a/src/layouts/page/style-guide.html +++ b/src/layouts/page/style-guide.html @@ -13,6 +13,9 @@ +
+ {{- partial "full-width-cta.html" . -}} +
-
Authenticate with tea devs authenticated diff --git a/src/layouts/partials/head.html b/src/layouts/partials/head.html index 7865c15..2b23269 100644 --- a/src/layouts/partials/head.html +++ b/src/layouts/partials/head.html @@ -54,6 +54,7 @@ + diff --git a/src/static/css/buttons.css b/src/static/css/buttons.css new file mode 100644 index 0000000..d38dc08 --- /dev/null +++ b/src/static/css/buttons.css @@ -0,0 +1,49 @@ +/* Full-Width CTA */ + +.btn-primary{ + padding: 2.455vw 4.185vw; + border-radius: 0px !important; + font-family: "pp-neue-machina", sans-serif; + text-transform: uppercase; + font-size: 2vw; + border-left: 2px solid #949494 !important; + border-right: 2px solid #949494 !important; + background-color: #1a1a1a !important; + outline: none !important; + box-shadow: none !important; + text-align: left; + border-top-color:#1a1a1a; + border-bottom-color: #1a1a1a; + transition: 0.2s linear; +} + +.btn-primary:hover{ + background-color: #00ffd0 !important; + color: #1a1a1a; + border-top-color:#00ffd0; + border-bottom-color:#00ffd0; + border-left-color:#00ffd0; + border-right-color:#00ffd0; + box-shadow: inset 0vw 0vw 0vw 0.558vw #1a1a1a !important; + padding: 2.455vw 5.580vw; + border-top-color:#1a1a1a; + border-bottom-color: #1a1a1a; +} + +.button-container{ + padding: 0vw 8.929vw; +} + +/* Icon Styling */ + +.btn-primary .icon-enter-arrow{ + display: inline-block; + position: relaitve; + margin-right: 0.558vw; + transition: 0.2s linear; +} + +.btn-primary:hover .icon-enter-arrow{ + display: inline-block; + transform: rotate(-45deg) !important; +}