created modal component, energy icon component; also included additional BS add-ons and vendor logos (for buttons)

This commit is contained in:
zach
2026-02-19 13:46:42 -05:00
parent df3f68a9b2
commit 493d0a72fa
22 changed files with 430 additions and 40 deletions

View File

@@ -23,16 +23,16 @@
// @import 'bootstrap/scss/badge';
// @import 'bootstrap/scss/breadcrumb';
// @import 'bootstrap/scss/button-group';
// @import 'bootstrap/scss/buttons';
// @import 'bootstrap/scss/card';
@import 'bootstrap/scss/buttons';
@import 'bootstrap/scss/card';
// @import 'bootstrap/scss/carousel';
// @import 'bootstrap/scss/close';
@import 'bootstrap/scss/close';
// @import 'bootstrap/scss/dropdown';
// @import 'bootstrap/scss/forms';
@import 'bootstrap/scss/grid';
// @import 'bootstrap/scss/list-group';
@import 'bootstrap/scss/modal';
// @import 'bootstrap/scss/navbar';
@import 'bootstrap/scss/navbar';
// @import 'bootstrap/scss/offcanvas';
// @import 'bootstrap/scss/pagination';
// @import 'bootstrap/scss/placeholders';
@@ -42,7 +42,7 @@
// @import 'bootstrap/scss/tables';
// @import 'bootstrap/scss/toasts';
// @import 'bootstrap/scss/tooltip';
// @import 'bootstrap/scss/transitions';
@import 'bootstrap/scss/transitions';
// Optional helpers
// @import 'bootstrap/scss/helpers';

View File

@@ -30,6 +30,107 @@
// ----------------------
// Card
// ----------------------
.tcg-card {
cursor: pointer;
}
.modal-xl {
@media (min-width: 768px) {
max-width: 90vw;
}
@media (min-width: 1200px) {
max-width: 85vw;
}
@media (min-width: 1400px) {
max-width: 75vw;
}
}
.card-modal {
background-color: rgba(1, 11, 18, .8);
cursor: default;
}
.nav-link:hover, .nav-link:focus {
color: rgba(255, 255, 255, 0.87);
}
.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link {
color: rgba(0, 0, 0, .94);
}
.nav-tabs .nav-link:hover, .nav-tabs .nav-link:focus {
border-color: rgba(0, 0, 0, .0);
}
.nav-link {
font-weight: 600;
color: rgba(255,255,255,67);
transition: margin-top 0.2s cubic-bezier(0.5, 0, 0.3, 1),
padding-top 0.2s cubic-bezier(0.5, 0, 0.3, 1),
padding-bottom 0.2s cubic-bezier(0.5, 0, 0.3, 1);
}
.nav-link:hover, .nav-link:focus {
color: rgba(0, 0, 0, 0.87);
}
.nav-link.nm, .nav-link.nm:hover, .nav-link.nm:focus {
border-bottom: 3px solid rgba(156, 204, 102, 1);
}
.nav-link.nm:hover, .nav-link.nm:focus {
background-color: rgba(156, 204, 102, .67);
}
.nav-link.nm.active {
background-color: rgba(156, 204, 102, 1);
border-bottom: 3px solid rgba(156, 204, 102, 1);
}
.nav-link.lp, .nav-link.lp:hover, .nav-link.lp:focus {
border-bottom: 3px solid rgba(211, 225, 86, 1);
}
.nav-link.lp:hover, .nav-link.lp:focus {
background-color: rgba(211, 225, 86, .67);
}
.nav-link.lp.active {
background-color: rgba(211, 225, 86, 1);
border-bottom: 3px solid rgba(211, 225, 86, 1);
}
.nav-link.mp, .nav-link.mp:hover, .nav-link.mp:focus {
border-bottom: 3px solid rgba(255, 238, 87, 1);
}
.nav-link.mp:hover, .nav-link.mp:focus {
background-color: rgba(255, 238, 87, .67);
}
.nav-link.mp.active {
background-color: rgba(255, 238, 87, 1);
border-bottom: 3px solid rgba(255, 238, 87, 1);
}
.nav-link.hp, .nav-link.hp:hover, .nav-link.hp:focus {
border-bottom: 3px solid rgba(255, 201, 41, 1);
}
.nav-link.hp:hover, .nav-link.hp:focus {
background-color: rgba(255, 201, 41, .67);
}
.nav-link.hp.active {
background-color: rgba(255, 201, 41, 1);
border-bottom: 3px solid rgba(255, 201, 41, 1);
}
.nav-link.dmg, .nav-link.dmg:hover, .nav-link.dmg:focus {
border-bottom: 3px solid rgba(255, 167, 36, 1);
}
.nav-link.dmg:hover, .nav-link.dmg:focus {
background-color: rgba(255, 167, 36, .67);
}
.nav-link.dmg.active {
background-color: rgba(255, 167, 36, 1);
border-bottom: 3px solid rgba(255, 167, 36, 1);
}
.dark-callout {
@media (min-width: 768px) {
background-color: rgba(44, 48, 59, 1);
}
}
.card-image {
aspect-ratio: 23/32;
object-fit: cover;
@@ -42,6 +143,12 @@
margin-top: -0.25rem;
}
.energy-icon svg {
width: 100%;
max-height: 16px;
margin-top: -0.25rem;
}
// ----------------------
// Pricing
// ----------------------
@@ -117,7 +224,7 @@
// Sticky Bar
// ----------------------
.sticky {
background-color: hsl(195, 4%, 22%);
background-color: hsl(205, 89%, 4%);
position: fixed;
bottom: 0;
width: 100%;