Files
cannaiq/wordpress-plugin/assets/css/crawlsy-menus.css
Kelly 511629b4e6 Rename WordPress plugin from Dutchie Menus to Crawlsy Menus v1.3.0
- Renamed plugin to avoid WordPress.org naming conflict causing false update notifications
- Added /downloads static route to serve plugin zip file
- Updated all CSS classes from dutchie- to crawlsy- prefix
- Added plugin zip to backend/public/downloads for hosting
- Plugin available at: https://dispos.crawlsy.com/downloads/crawlsy-menus-1.3.0.zip

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-01 16:29:21 -07:00

303 lines
5.3 KiB
CSS

/**
* Crawlsy Menus - WordPress Plugin Styles
*/
/* Product Grid */
.crawlsy-product-grid {
display: grid;
gap: 24px;
margin: 20px 0;
}
.crawlsy-grid-cols-2 {
grid-template-columns: repeat(2, 1fr);
}
.crawlsy-grid-cols-3 {
grid-template-columns: repeat(3, 1fr);
}
.crawlsy-grid-cols-4 {
grid-template-columns: repeat(4, 1fr);
}
.crawlsy-grid-cols-6 {
grid-template-columns: repeat(6, 1fr);
}
@media (max-width: 1024px) {
.crawlsy-grid-cols-4,
.crawlsy-grid-cols-6 {
grid-template-columns: repeat(3, 1fr);
}
}
@media (max-width: 768px) {
.crawlsy-grid-cols-3,
.crawlsy-grid-cols-4,
.crawlsy-grid-cols-6 {
grid-template-columns: repeat(2, 1fr);
}
}
@media (max-width: 480px) {
.crawlsy-product-grid {
grid-template-columns: 1fr;
}
}
/* Product Card */
.crawlsy-product-card {
background: #fff;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
transition: transform 0.2s, box-shadow 0.2s;
display: flex;
flex-direction: column;
}
.crawlsy-product-card:hover {
transform: translateY(-4px);
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.crawlsy-product-image {
width: 100%;
aspect-ratio: 1;
overflow: hidden;
background: #f5f5f5;
}
.crawlsy-product-image img {
width: 100%;
height: 100%;
object-fit: cover;
}
.crawlsy-product-content {
padding: 16px;
flex: 1;
display: flex;
flex-direction: column;
}
.crawlsy-product-title {
font-size: 18px;
font-weight: 600;
margin: 0 0 8px 0;
color: #333;
line-height: 1.4;
}
.crawlsy-product-brand {
font-size: 14px;
color: #666;
margin-bottom: 8px;
}
.crawlsy-product-description {
font-size: 14px;
color: #666;
line-height: 1.6;
margin: 0 0 12px 0;
}
.crawlsy-product-meta {
display: flex;
flex-wrap: wrap;
gap: 12px;
margin: 12px 0;
}
.crawlsy-meta-item {
font-size: 13px;
padding: 4px 10px;
border-radius: 4px;
background: #f0f0f0;
}
.crawlsy-meta-item strong {
color: #333;
}
.crawlsy-thc {
background: #e8f5e9;
color: #2e7d32;
}
.crawlsy-cbd {
background: #e3f2fd;
color: #1565c0;
}
.crawlsy-product-price {
font-size: 20px;
font-weight: 700;
color: #2e7d32;
margin-top: auto;
padding-top: 12px;
}
.crawlsy-out-of-stock {
display: inline-block;
padding: 6px 12px;
background: #ffebee;
color: #c62828;
font-size: 13px;
font-weight: 600;
border-radius: 4px;
margin-top: 8px;
}
/* Single Product */
.crawlsy-single-product {
background: #fff;
border-radius: 8px;
padding: 24px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
margin: 20px 0;
}
.crawlsy-layout-horizontal {
display: grid;
grid-template-columns: 400px 1fr;
gap: 32px;
}
.crawlsy-layout-vertical {
display: flex;
flex-direction: column;
gap: 24px;
}
@media (max-width: 768px) {
.crawlsy-layout-horizontal {
grid-template-columns: 1fr;
}
}
.crawlsy-single-product-image {
width: 100%;
aspect-ratio: 1;
overflow: hidden;
border-radius: 8px;
background: #f5f5f5;
}
.crawlsy-single-product-image img {
width: 100%;
height: 100%;
object-fit: cover;
}
.crawlsy-single-product-details {
display: flex;
flex-direction: column;
gap: 16px;
}
.crawlsy-single-product-title {
font-size: 28px;
font-weight: 700;
margin: 0;
color: #333;
line-height: 1.3;
}
.crawlsy-single-product-brand {
font-size: 16px;
color: #666;
}
.crawlsy-single-product-brand strong {
color: #333;
}
.crawlsy-single-product-description {
font-size: 16px;
line-height: 1.6;
color: #555;
}
.crawlsy-single-product-info {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 16px;
padding: 16px;
background: #f8f8f8;
border-radius: 8px;
}
.crawlsy-info-item {
display: flex;
flex-direction: column;
gap: 4px;
}
.crawlsy-info-item strong {
font-size: 14px;
color: #333;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.crawlsy-info-item span {
font-size: 16px;
color: #555;
}
.crawlsy-info-item.crawlsy-terpenes span,
.crawlsy-info-item.crawlsy-effects span,
.crawlsy-info-item.crawlsy-flavors span {
font-size: 14px;
}
.crawlsy-single-product-price {
font-size: 32px;
font-weight: 700;
color: #2e7d32;
}
/* Loading State */
.crawlsy-loading {
text-align: center;
padding: 40px;
color: #666;
}
.crawlsy-loading:after {
content: "...";
animation: dots 1.5s steps(4, end) infinite;
}
@keyframes dots {
0%, 20% {
color: rgba(0, 0, 0, 0);
text-shadow: 0.25em 0 0 rgba(0, 0, 0, 0),
0.5em 0 0 rgba(0, 0, 0, 0);
}
40% {
color: #666;
text-shadow: 0.25em 0 0 rgba(0, 0, 0, 0),
0.5em 0 0 rgba(0, 0, 0, 0);
}
60% {
text-shadow: 0.25em 0 0 #666,
0.5em 0 0 rgba(0, 0, 0, 0);
}
80%, 100% {
text-shadow: 0.25em 0 0 #666,
0.5em 0 0 #666;
}
}
/* Error State */
.crawlsy-error {
padding: 16px;
background: #ffebee;
color: #c62828;
border-radius: 4px;
border-left: 4px solid #c62828;
}