Initial import of the bdmurphy Bookshelf work: the bd-bookshelf theme, bd-bookshelf-plugin, bd-bookshelfhelper and bd-simpleemail plugins, plus the specification documents, mockups and release archives.
153 lines
2.5 KiB
CSS
153 lines
2.5 KiB
CSS
/**
|
|
* BD Bookshelf - Public Styles
|
|
*
|
|
* @package BD_Bookshelf
|
|
*/
|
|
|
|
/* Sell Grid */
|
|
.bd-bookshelf-sell-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
|
|
gap: 15px;
|
|
margin: 20px 0;
|
|
}
|
|
|
|
.bd-bookshelf-sell-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
padding: 15px;
|
|
border: 1px solid #ddd;
|
|
border-radius: 8px;
|
|
text-decoration: none;
|
|
color: #333;
|
|
transition: all 0.3s ease;
|
|
background: #fff;
|
|
}
|
|
|
|
.bd-bookshelf-sell-item:hover {
|
|
border-color: #0073aa;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.bd-bookshelf-site-icon {
|
|
width: 40px;
|
|
height: 40px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.bd-bookshelf-site-icon img {
|
|
max-width: 100%;
|
|
max-height: 100%;
|
|
}
|
|
|
|
.bd-bookshelf-icon-simple {
|
|
background: #0073aa;
|
|
color: #fff;
|
|
border-radius: 50%;
|
|
font-weight: bold;
|
|
font-size: 18px;
|
|
}
|
|
|
|
.bd-bookshelf-site-name {
|
|
font-size: 14px;
|
|
text-align: center;
|
|
}
|
|
|
|
/* Rating */
|
|
.bd-bookshelf-rating {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.bd-bookshelf-stars {
|
|
display: inline-flex;
|
|
gap: 2px;
|
|
}
|
|
|
|
.bd-bookshelf-star {
|
|
font-size: 18px;
|
|
}
|
|
|
|
.bd-bookshelf-star.full {
|
|
color: #f4b400;
|
|
}
|
|
|
|
.bd-bookshelf-star.half {
|
|
color: #f4b400;
|
|
position: relative;
|
|
}
|
|
|
|
.bd-bookshelf-star.empty {
|
|
color: #ccc;
|
|
}
|
|
|
|
.bd-bookshelf-rating-number {
|
|
font-size: 14px;
|
|
color: #666;
|
|
}
|
|
|
|
/* GDPR Banner */
|
|
.bd-bookshelf-gdpr-banner {
|
|
position: fixed;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
background: #333;
|
|
color: #fff;
|
|
padding: 20px;
|
|
z-index: 9999;
|
|
box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.bd-bookshelf-gdpr-content {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 20px;
|
|
}
|
|
|
|
.bd-bookshelf-gdpr-content p {
|
|
margin: 0;
|
|
flex: 1;
|
|
}
|
|
|
|
.bd-bookshelf-gdpr-content a {
|
|
color: #fff;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.bd-bookshelf-gdpr-accept {
|
|
background: #0073aa;
|
|
color: #fff;
|
|
border: none;
|
|
padding: 10px 25px;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-size: 14px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.bd-bookshelf-gdpr-accept:hover {
|
|
background: #005a87;
|
|
}
|
|
|
|
/* Responsive */
|
|
@media (max-width: 768px) {
|
|
.bd-bookshelf-sell-grid {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
|
|
.bd-bookshelf-gdpr-content {
|
|
flex-direction: column;
|
|
text-align: center;
|
|
}
|
|
}
|