From 4b440960a23b65ce7181e4118f68bdc8587e884b Mon Sep 17 00:00:00 2001 From: Tony Li Date: Fri, 3 Jan 2020 12:38:13 -0800 Subject: [PATCH] styles for code in button-primary --- preview-site-src/index.adoc | 2 +- src/css/components/button.css | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/preview-site-src/index.adoc b/preview-site-src/index.adoc index 3c91def25..47c174835 100644 --- a/preview-site-src/index.adoc +++ b/preview-site-src/index.adoc @@ -5,7 +5,7 @@ The *Anypoint Connector DevKit*, or simply *DevKit*, enables the development of link:#[Anypoint Connectors]. An *Anypoint Connector* is an extension module to the MuleSoft Anypoint Platform that facilitates communication between third-party systems/APIs and Mule applications. -https://asciidoctor.org/docs/asciidoc-writers-guide/[*Primary button*^,role=button-primary] +https://asciidoctor.org/docs/asciidoc-writers-guide/[*Open `hello-world.raml`*^,role=button-primary] [NOTE] ==== diff --git a/src/css/components/button.css b/src/css/components/button.css index 1117eb2d4..0e60a8f38 100644 --- a/src/css/components/button.css +++ b/src/css/components/button.css @@ -54,3 +54,12 @@ outline: 0; } } + +/* overrides when button is in a doc */ +.doc .button-primary code { + background: none; + border: 0; + font-weight: var(--weight-normal); + padding: 0; + top: 0; /* reset */ +}