Basic UI Elements
Color Palette
Colors
Primary Colors
-
$kkg-kappa-blue
-
$kkg-gamma-blue
Secondary Colors
-
$kkg-key-gold
-
$kkg-bright-blue
-
$kkg-light-blue
-
$kkg-silver
-
$kkg-dark-silver
Status Colors
These colors are not brand colors and should only be used to convey status messages, e.g. success and failure.
-
$kkg-green
-
$kkg-red
GrayScale
-
$kkg-gray-lightest
-
$kkg-lighter
-
$kkg-gray-light
-
$kkg-gray
-
$kkg-gray-medium
-
$kkg-gray-dark
-
$kkg-gray-darker
-
$kkg-gray-darkest
-
$kkg-black
Text Colors
Blue Text
<span class="text-blue">Blue Text</span>
Gold Text
<span class="text-gold">Gold Text</span>
Dark Blue Text
<span class="text-navy">Dark Blue Text</span>
Light Text
<span class="text-light">Light Text</span>
Dark Text
<span class="text-dark">Dark Text</span>
Red Text
<span class="text-red">Red Text</span>
Gray Lightest Text
<span class="text-gray-lightest">Gray Lightest Text</span>
Gray Lighter Text
<span class="text-gray-lighter">Gray Lighter Text</span>
Gray Light Text
<span class="text-gray-light">Gray Light Text</span>
Gray Text
<span class="text-gray">Gray Text</span>
Gray Medium Text
<span class="text-gray-medium">Gray Medium Text</span>
Gray Dark Text
<span class="text-gray-dark">Gray Dark Text</span>
Gray Darker Text
<span class="text-gray-darker">Gray Darker Text</span>
Gray Darkest Text
<span class="text-gray-darkest">Gray Darkest Text</span>
Black Text
<span class="text-black">Black Text</span>
Background Colors
<div class="bg-kappa-blue">Kappa Blue Background</div>
<div class="bg-gamma-blue">Gamma Blue Background</div>
<div class="bg-bright-blue">Bright Blue Background</div>
<div class="bg-light-blue">Light Blue Background</div>
<div class="bg-silver">Silver Background</div>
<div class="bg-dark-silver">Dark Silver Background</div>
<div class="bg-gray-lightest">Lightest Gray Background</div>
<div class="bg-gray-lighter">Lighter Gray Background</div>
<div class="bg-gray-light">Light Gray Background</div>
<div class="bg-gray">Gray Background</div>
<div class="bg-gray-medium">Medium Background</div>
<div class="bg-gray-dark">Dark Gray Background</div>
<div class="bg-gray-darker">Darker Gray Background</div>
<div class="bg-gray-darkest">Darkest Gray Background</div>
<div class="bg-black">Black Background</div>
Overlays
Icons
Brand Specific
-
.icon-pay-dues
-
.icon-donate
-
.icon-shop
-
.icon-login
General Use Icons
-
.icon-image
-
.icon-check-circle
-
.icon-caret-up
-
.icon-caret-down
-
.icon-users
-
.icon-user
-
.icon-calendar
-
.icon-newspaper-o
-
.icon-chevron-right
-
.icon-chevron-left
-
.icon-chevron-circle-up
-
.icon-chevron-circle-down
-
.icon-search
-
.icon-edit
-
.icon-times
Social Icons
-
.icon-facebook
-
.icon-twitter
-
.icon-instagram
-
.icon-linkedin
-
.icon-pinterest
-
.icon-youtube
Buttons & Links
Buttons Styles
Primary
<a href="#" class="btn btn-primary">Learn More</a>
Primary Outline
<a href="#" class="btn btn-primary-outline">Learn More</a>
Secondary
<a href="#" class="btn btn-secondary">Learn More</a>
Gray
<a href="#" class="btn btn-gray">Learn More</a>
Gray Outline
<a href="#" class="btn btn-gray-outline">Learn More</a>
Buttons Sizes
Small
<a href="#" class="btn btn-sm btn-primary">Learn More</a>
Default
<a href="#" class="btn btn-primary">Learn More</a>
Large
<a href="#" class="btn btn-lg btn-primary">Learn More</a>
Buttons Variants
Wide Version
<a href="#" class="btn btn-primary btn--wide">Learn More</a>
Disabled Version
<a href="#" class="btn btn-primary disabled">Learn More</a>
Form Buttons
<button class="btn btn-primary">Submit Form</button>
<button class="btn btn-gray">Cancel</button>
Pagination
Pagination controls are built using Bootstrap 4 and with the UX of assistive technologies in mind. For more information, please see https://getbootstrap.com/docs/4.5/components/pagination/
Tables
Striped Table
Chapter | School | Contact | District | Status |
---|---|---|---|---|
Beta Eta Deuteron | Stanford | kkgbetaeta@gmail.com | Pi | Active |
Beta Eta Deuteron | Stanford | kkgbetaeta@gmail.com | Pi | Active |
Beta Eta Deuteron | Stanford | kkgbetaeta@gmail.com | Pi | Active |
Beta Eta Deuteron | Stanford | kkgbetaeta@gmail.com | Pi | Active |
Beta Eta Deuteron | Stanford | kkgbetaeta@gmail.com | Pi | Active |
<div class="table-wrap">
<table class="table table-striped">
<thead>
<tr>
<th>Chapter</th>
<th>School</th>
<th>Contact</th>
<th>District <i class="icon-chevron-circle-up"></i></th>
<th>Status <i class="icon-chevron-circle-down"></i></th>
</tr>
</thead>
<tbody>
<tr>
<td>Beta Eta Deuteron</td>
<td>Stanford</td>
<td>kkgbetaeta@gmail.com</td>
<td>Pi</td>
<td>Active</td>
</tr>...
</tbody>
</table>
</div>
Standard Table
Chapter | School | Contact | District | Status |
---|---|---|---|---|
Beta Eta Deuteron | Stanford | kkgbetaeta@gmail.com | Pi | Active |
Beta Eta Deuteron | Stanford | kkgbetaeta@gmail.com | Pi | Active |
Beta Eta Deuteron | Stanford | kkgbetaeta@gmail.com | Pi | Active |
Beta Eta Deuteron | Stanford | kkgbetaeta@gmail.com | Pi | Active |
Beta Eta Deuteron | Stanford | kkgbetaeta@gmail.com | Pi | Active |
<div class="table-wrap">
<table class="table">
<thead>
<tr>
<th>Chapter</th>
<th>School</th>
<th>Contact</th>
<th>District</th>
<th>Status</th>
</tr>
</thead>
<tbody>
<tr>
<td>Beta Eta Deuteron</td>
<td>Stanford</td>
<td>kkgbetaeta@gmail.com</td>
<td>Pi</td>
<td>Active</td>
</tr>...
</tbody>
</table>
</div>
Lists
Standard List
- Sample List Item
- Sample List Item 2
- Sample List Item 3
- sample List Item 4
- Sample List Item 5
- Sample List Item 6
- Sample List Item 7
<ul>
<li>Sample List Item</li>
<li>Sample List Item 2</li>
<li>Sample List Item 3</li>
<li>sample List Item 4</li>
<li>Sample List Item 5</li>
<li>Sample List Item 6</li>
<li>Sample List Item 7</li>
</ul>
Padding and Margin Helper Classes
Padding and margin on standard elements is achieved by using the bootstrap 4 helper classes. To understand how to use the pattern and margin classes please see https://getbootstrap.com/docs/4.5/utilities/spacing/
Padding Examples
Margin Examples
Full Width Breakout Class
If you find that your code is showing within a container on the site, at any time if you want to break out of that container to go full width with your content you can add a class of .full-width
to any div. This will not work however if your are inside a bootstrap column element unless it is a .col-12 element
Below is an example. the divs have an outline around them to show you how it is working. The container div has an orange outline and the full-width element has a green outline
Horizontal Rule Divider
<hr>
Panels / Cards
Sample Card Heading
With supporting text below as a natural lead-in to additional content.
Go somewhereTabs
Uses bootstrap 4 built in tabs. Please see documentation here for more details: https://getbootstrap.com/docs/4.5/components/navs/
<ul class="nav nav-tabs" id="myTab" role="tablist">
<li class="nav-item">
<a class="nav-link active" id="prospect-tab" data-toggle="tab" href="#prospect" role="tab" aria-controls="prospect" aria-selected="true">Prospect</a>
</li>
<li class="nav-item">
<a class="nav-link" id="details-tab" data-toggle="tab" href="#details" role="tab" aria-controls="details" aria-selected="false">Details</a>
</li>
<li class="nav-item">
<a class="nav-link" id="buyer-tab" data-toggle="tab" href="#buyer" role="tab" aria-controls="buyer" aria-selected="false">Buyer</a>
</li>
<li class="nav-item">
<a class="nav-link" id="ap-tab" data-toggle="tab" href="#ap" role="tab" aria-controls="ap" aria-selected="false">A / P</a>
</li>
<li class="nav-item">
<a class="nav-link" id="notes-tab" data-toggle="tab" href="#notes" role="tab" aria-controls="notes" aria-selected="false">Notes</a>
</li>
</ul>
<div class="tab-content" id="myTabContent">
<div class="tab-pane fade show active" id="prospect" role="tabpanel" aria-labelledby="prospect-tab"><div class="py-4">This is the Prospect Tabs Content</div></div>
<div class="tab-pane fade" id="details" role="tabpanel" aria-labelledby="details-tab"><div class="py-4">This is the Details Tab Content</div></div>
<div class="tab-pane fade" id="buyer" role="tabpanel" aria-labelledby="buyer-tab"><div class="py-4">This is the Buyer Tab Content</div></div>
<div class="tab-pane fade" id="ap" role="tabpanel" aria-labelledby="ap-tab"><div class="py-4">This is the AP Tab Content</div></div>
<div class="tab-pane fade" id="notes" role="tabpanel" aria-labelledby="notes-tab"><div class="py-4">This is the Notes Tab Content</div></div>
</div>
Modals
Modals including the Kappa Card and Connection Card use the standard Bootstrap 4 modal: https://getbootstrap.com/docs/4.5/components/modal/