A set of styles that are applied to Bootcamp Spot as a base for any custom work. Created & maintained by the Trilogy UX Team.
npm install @trilogyeducation/bcs-style-library```
npm install @trilogyeducation/bcs-style-library
A mobile-first approach is applied to all media queries and classes. Styles are initially applied to the smallest screen size described and then overwritten for larger screen sizes.
We use rems and ems often to describe sizes and spaces for consistency throughout various devices and screen sizes.
BCS-Next-Styles provides a clean canvas through a CSS reset and a box-sizing border-box all declaration. All Elements are cleared of default browser styling and then customized to match our style guide.
Common design patterns are initially defined using Sass variables and mixins, and are then applied to utility classes throughout the library.
#### Variables
``
public/scss/variables/
#### Mixins
``
public/scss/mixins/
Grid framework provided by Sass Flexbox Grid.
A grid container element must first be declared with a .row class. Rows' direct descendants must all be columns, meaning container elements with some .col class.
We have customized our grid to use gutters with padding declared in BCS variables.
Optional .col-no-gutter and .col-gutter-lr classes exist for custom padding and nested grids. This is great for inner content spacing.
Here's an example of a responsive grid of card components:
`html`
Lorem Khaled Ipsum is a major key to success. Give thanks to the most high. Let me be clear, you have to make it through the jungle to make it to paradise, that’s the key, Lion!
They don’t want us to win.
I told you all this before, when you have a swimming pool, do not use chlorine, use salt water, the healing, salt water is the healing.
Use visibility classes from Sass Flexbox Grid to hide and show content.
When BCS-Next-Styles is installed, common typographical elements will be styled appropriately when used in markup. Things like font family, font size, line height, etc will automatically match our style guide.
Type can be customized using built-in utility classes or through custom stylesheets.
#### Typography Utility classes
``
public/scss/classes/_typography.scss
Container classes can be used to stlye BCS components, and to apply border styles and background treatments.
You can view all of the container modifyers here:
``
public/scss/classes/_containers.scss
#### Cards
Cards should be used in a grid system. Start with a .row element and nest .col elements inside of it.
Each .card element must be nested inside it's own .col element.
When creating a grid of cards that should all be equal height to their horizontal neighbors, apply an optional .card-group class to the outer .row.
When cards are inside of a .card-group container row, the card should be the only element inside of the .col element because a height: 100%; declaration is applied to all cards in a card group.
Below is an example of several responsive .card elements, some are plain .card containers, others are .card-with-title containers.
.card-with-title containers should each have the following descendants:.card-title
- .card-content
-
.card-title containers can have optional .card-title-month, .card-title-date, and .card-title-time descendants.
And any card can have an optional .card-footer.
Also, notice the derivatives of .card-title: .card-title-icon and .card-title-grade.
` September 20 5:30p - 8:30phtml
Wed
Lorem Khaled Ipsum is a major key to success. Give thanks to the most high. Let me be clear, you have to make it through the jungle to make it to paradise, that’s the key, Lion!
>
They don’t want us to win.
They don’t want us to win.
A+
I told you all this before, when you have a swimming pool, do not use chlorine, use salt water, the healing, salt water is the healing.
Let me be clear, you have to make it through the jungle to make it to paradise.
When you would like to override the default responsive nature of a card you can use the
.card-skinny class on a .card element to keep everything vertically stacked as it would be on xs screens.#### Video in Card
Any