From 747d741293e064a979d7bf6c143ef969ea6d7629 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Sun, 24 May 2026 20:49:44 +0000
Subject: [PATCH] =GMBReview block minor tweaks. Refactored ReferralManager.php and ReferralRoutes.php to utilize the manager for all logic, and CustomTable for table interactions.
---
src/gmbreviews/style.scss | 100 ++++++++++++++++++++++++++++++++++++++++++-------
1 files changed, 85 insertions(+), 15 deletions(-)
diff --git a/src/gmbreviews/style.scss b/src/gmbreviews/style.scss
index a2edaf3..721a94c 100644
--- a/src/gmbreviews/style.scss
+++ b/src/gmbreviews/style.scss
@@ -1,36 +1,106 @@
.gmb-reviews {
- > .row.btw {
- .button {
- width: 100%;
- height: max-content;
- }
+ max-width: none;
+ > .row.x-mid {
+ max-width:var(--content);
+ margin: 0 auto;
+ --gap: .5rem 6rem;
+
p {
width: fit-content;
}
}
+ .button {
+ width: 66.6%;
+ margin: 0 auto 2rem;
+ display: flex;
+ height: max-content;
+ }
.stars {
- display: inline-block;
- vertical-align: middle;
+ display: inline-flex;
+ align-items: center;
+ justify-content: flex-start;
+ flex-wrap: nowrap;
}
ul {
list-style: none;
margin: 0;
padding: 0;
+ max-width: var(--full);
li {
- margin: 2rem 0;
- position:relative;
+ width: 100%;
+ max-width: none;
+ padding: 4rem 1rem;
&:nth-of-type(odd) {
- left: -2rem;
+ background-color: rgb(var(--base-50));
+ blockquote {
+ --background: rgb(var(--base-50));
+ }
}
&:nth-of-type(even) {
- right: -2rem;
+ background-color: rgb(var(--base-100));
+ blockquote {
+ --background: rgb(var(--base-100));
+ }
}
}
}
+ blockquote {
+ margin: 1rem auto;
+ padding: 1rem 0 0;
+ max-width: var(--content);
+ border-top: 1px solid rgb(var(--base-200));
+
+ .icon-quotes-fi {
+ left: calc(var(--btnbtn) * -1);
+ }
+ .content {
+ border-width: 4px 1px;
+ &::after {
+ border-width: 4px 1px;
+ }
+ &::before {
+ border-width: 8px;
+ bottom: -4px;
+ }
+ }
+ cite {
+ position: relative;
+ margin-top: var(--btn);
+
+ img {
+ width: 4.5rem;
+ position: absolute;
+ left: -8rem;
+ top: 0;
+ }
+
+ p {
+ margin: 0;
+ }
+
+ .wrap {
+ --wrap: wrap;
+
+ p, time {
+ max-width: 49%;
+ }
+
+ .stars {
+ width: 100%;
+ }
+ }
+ }
+ time {
+ white-space: nowrap;
+ }
+ }
+ .stars .icon {
+ background-color: rgb(var(--action-0));
+ }
article {
padding: 1rem;
- border-radius: var(--outerRadius);
- background-color: var(--base);
+ border-radius: var(--radius-outer);
+ background-color: rgb(var(--base));
header {
--align: center;
>img {
@@ -49,10 +119,10 @@
width: max-content;
}
.icon {
- color: var(--action-0);
+ color: rgb(var(--action-0));
}
}
- .footer .button {
+ .btn {
width: 100%;
}
}
--
Gitblit v1.10.0