Skip to content

Commit

Permalink
docs(Brand): remove Brand warnings by either commenting referenced bl…
Browse files Browse the repository at this point in the history
…ocks or just leaving them as-is
  • Loading branch information
ffoodd committed May 5, 2020
1 parent 10dccbb commit 80569cb
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 58 deletions.
19 changes: 0 additions & 19 deletions site/docs/4.4/assets/scss/_boosted-docs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -61,25 +61,6 @@
margin-bottom: 0;
}

// brand-warning
#text,
#placement,
#collapsible-content,
#text-alignment,
#responsive-font-sizes {
display: flex;

&::before {
display: inline-block;
height: auto;
padding-right: .375rem;
margin: 0;
font-family: icon-orange, sans-serif;
color: theme-color("danger");
content: "\e936";
}
}

// boostwatch

#docsNavbarContent {
Expand Down
31 changes: 1 addition & 30 deletions site/docs/4.4/components/card.md
Original file line number Diff line number Diff line change
Expand Up @@ -265,36 +265,7 @@ Use custom CSS in your stylesheets or as inline styles to set a width.
{% endcapture %}
{% include example.html content=example %}

## Text alignment

You can quickly change the text alignment of any card—in its entirety or specific parts—with our [text align classes]({{ site.baseurl }}/docs/{{ site.docs_version }}/utilities/text/#text-alignment).

{% capture example %}
<div class="card" style="width: 18rem;">
<div class="card-body">
<h5 class="card-title">Special title treatment</h5>
<p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div>

<div class="card text-center" style="width: 18rem;">
<div class="card-body">
<h5 class="card-title">Special title treatment</h5>
<p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div>

<div class="card text-right" style="width: 18rem;">
<div class="card-body">
<h5 class="card-title">Special title treatment</h5>
<p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div>
{% endcapture %}
{% include example.html content=example %}
[comment]: # Boosted mod: prevent using text-alignment helpers

## Navigation

Expand Down
6 changes: 1 addition & 5 deletions site/docs/4.4/content/typography.md
Original file line number Diff line number Diff line change
Expand Up @@ -446,11 +446,7 @@ You may add `o-square-list` class to the root element of a list (`<ul>`) to get
</ul>
{% endcapture %} {% include example.html content=example %}

## Responsive font sizes

Boosted v4.3 ships with the option to enable responsive font sizes, allowing text to scale more naturally across device and viewport sizes. <abbr title="Responsive font sizes">RFS</abbr> can be enabled by changing the `$enable-responsive-font-sizes` Sass variable to `true` and recompiling Boosted.

To support <abbr title="Responsive font sizes">RFS</abbr>, we use a Sass mixin to replace our normal `font-size` properties. Responsive font sizes will be compiled into `calc()` functions with a mix of `rem` and viewport units to enable the responsive scaling behavior. More about <abbr title="Responsive font sizes">RFS</abbr> and its configuration can be found on its [GitHub repository](https://github.com/twbs/rfs/tree/v8.0.4).
[comment]: # Boosted mod: no RFS

## Links

Expand Down
4 changes: 0 additions & 4 deletions site/docs/4.4/getting-started/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ redirect_from:
toc: true
---

## About Orange Brand

All Boosted components are compliant with Orange Brand Guidelines. Some Boosted features may not support the brand guidelines, partially or entirely. They are tagged in this documentation with the following <span class="sr-only">warning, not brand compliant</span><span class="icon-anti-spam" style="color: #dc3c14; font-size: 2rem" aria-hidden="true"></span>, use them at your own risks. Please note the entire Boosted doc is preserved and enhancend when necessary with orange brand specifics, i.e. [navbar](../../components/navbar/) page contains unsupported features, check out [navbar orange](../../components/navbar-orange/) page to find out what to use.

## Quick start

Looking to quickly add Boosted to your project? Use BootstrapCDN, provided for free by the folks at StackPath. Using a package manager or need to download the source files? [Head to the downloads page]({{ site.baseurl }}/docs/{{ site.docs_version }}/getting-started/download/).
Expand Down

0 comments on commit 80569cb

Please sign in to comment.