Skip to content

Commit

Permalink
preparing next version update
Browse files Browse the repository at this point in the history
  • Loading branch information
vapvarun committed Aug 2, 2024
1 parent e2a3487 commit 8643a14
Show file tree
Hide file tree
Showing 18 changed files with 292 additions and 52 deletions.
33 changes: 33 additions & 0 deletions assets/css/_blocks-style.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,37 @@
.wp-block-image.is-style-buddyx-border img {
border: 2px solid var(--color-theme-primary); /* Adjust the border properties as needed */
border-radius: 5px; /* Optional: Add border-radius for rounded corners */
}

/* Buttons */
.wp-element-button,
.wp-block-button__link {
font-family: inherit;
font-size: inherit;
color: var(--button-text-color);
background-color: var(--button-background-color);
border-radius: var(--button-border-radius);
padding: 10px 20px;
font-weight: 500;
font-style: normal;
text-decoration: none;
text-align: center;
cursor: pointer;
display: inline-block;
line-height: 1.3;
border: 1px solid var(--button-border-color);
outline: 0;
vertical-align: middle;
-webkit-appearance: none;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-transition: all linear .2s;
transition: all linear .2s;
}

.wp-element-button:hover,
.wp-block-button__link:hover {
color: var(--button-text-hover-color);
background-color: var(--button-background-hover-color);
border: 1px solid var(--button-border-hover-color);
}
11 changes: 9 additions & 2 deletions assets/css/buddypress.css
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,8 @@ button.group-button,
.buddypress .buddypress-wrap button.gamipress-achievement-unlock-with-points-button,
button.gamipress-achievement-unlock-with-points-button,
.buddypress .buddypress-wrap button.ges-change,
.buddypress .buddypress-wrap button.group-email-tooltip__close {
.buddypress .buddypress-wrap button.group-email-tooltip__close,
.bp-member-blog-post-form button.button {
font-family: inherit;
font-size: initial;
color: var(--button-text-color);
Expand Down Expand Up @@ -263,7 +264,9 @@ button.group-button:hover,
.buddypress .buddypress-wrap button.gamipress-achievement-unlock-with-points-button:hover,
button.gamipress-achievement-unlock-with-points-button:hover,
.buddypress .buddypress-wrap button.ges-change:hover,
.buddypress .buddypress-wrap button.group-email-tooltip__close:hover {
.buddypress .buddypress-wrap button.group-email-tooltip__close:hover,
.bp-member-blog-post-form button.button:hover,
.bp-member-blog-post-form button.button:focus {
background-color: var(--button-background-hover-color);
border: 1px solid var(--button-border-hover-color);
color: var(--button-text-hover-color);
Expand Down Expand Up @@ -397,6 +400,10 @@ body:not(.round-avatars) .grid .member-status {
}
}

.buddypress-wrap .bp-navs li {
margin-bottom: 0;
}

.buddypress-wrap .bp-navs li:not(.current) a:focus,
.buddypress-wrap .bp-navs li:not(.current) a:hover,
.buddypress-wrap .bp-navs li:not(.selected) a:focus,
Expand Down
2 changes: 1 addition & 1 deletion assets/css/buddypress.min.css

Large diffs are not rendered by default.

42 changes: 42 additions & 0 deletions assets/css/content.css
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,20 @@
max-width: var(--content-width);
}

.entry-content .wp-audio-shortcode,
.entry-content .wp-embedded-audio,
.entry-content .wp-embedded-video,
.entry-content .wp-video,
.entry-content p {
margin: 0;
margin-bottom: 1.5em;
}

.entry-content ul li,
.entry-content ol li {
margin-bottom: 10px;
}

article .entry-header {
max-width: max-content;
}
Expand All @@ -205,6 +219,7 @@ article .entry-header {
}

@media (--content-query) {

.page-content>*,
.entry-content>*,
.entry-summary>*,
Expand All @@ -217,6 +232,10 @@ article .entry-header {
padding-left: 0;
padding-right: 0;
}

.entry-content>*.wp-block-code {
padding: .8em 1em;
}
}

.single-post .entry-content ul:not(.blocks-gallery-grid),
Expand Down Expand Up @@ -651,14 +670,17 @@ article .entry-header {
.buddyx-article-list-inner {
flex-flow: wrap;
}

.buddyx-article-list-thumbnail {
flex: 0 0 100%;
margin-right: 0;
margin-bottom: 15px;
}

.buddyx-article--list .format-gallery .buddyx-article-list-thumbnail {
max-width: 100%;
}

.buddyx-article--list.thumb-right .buddyx-article-list-thumbnail {
margin-left: auto;
}
Expand Down Expand Up @@ -905,13 +927,15 @@ article .entry-header {
}

@media (max-width: 992px) {

.buddyx-masonry-3 .buddyx-grid-sizer,
.buddyx-masonry-3 .buddyx-article-col {
width: 50%;
}
}

@media (max-width: 768px) {

.buddyx-masonry-2 .buddyx-grid-sizer,
.buddyx-masonry-2 .buddyx-article-col,
.buddyx-masonry-3 .buddyx-grid-sizer,
Expand Down Expand Up @@ -1200,13 +1224,15 @@ article .entry-header {
.buddyx-content--small {
max-width: var(--container-md);
}

.single-post .site-wrapper,
.buddyx-post-section:not(.has-featured-image) {
margin-top: calc(var(--el-spacing) * 2);
}
}

@media (min-width: 992px) {

.single-post .site-wrapper,
.buddyx-post-section:not(.has-featured-image) {
margin-top: calc(var(--el-spacing) * 3);
Expand All @@ -1225,6 +1251,7 @@ article .entry-header {
overflow: hidden;
padding-top: 100%;
}

.buddyx-post-section.buddyx-section-title-over .post-thumbnail>img {
object-fit: cover;
object-position: 50% 50%;
Expand All @@ -1234,6 +1261,7 @@ article .entry-header {
top: 0;
left: 0;
}

.buddyx-post-section .post-thumbnail {
position: relative;
z-index: 0;
Expand All @@ -1244,6 +1272,7 @@ article .entry-header {
overflow: hidden;
padding-top: 52.56%;
}

.buddyx-post-section .post-thumbnail>img {
object-fit: cover;
object-position: 50% 50%;
Expand Down Expand Up @@ -1323,12 +1352,14 @@ article .entry-header {
}

@media (min-width: 768px) {

.buddyx-section-title-over:not(.has-featured-image) .buddyx-quote-block,
.buddyx-section-title-over:not(.has-featured-image) .buddyx-video-block,
.buddyx-section-title-over:not(.has-featured-image) .buddyx-audio-block,
.buddyx-section-title-over:not(.has-featured-image) .buddyx-gallery-block {
margin-bottom: calc(var(--el-spacing) * 2);
}

.single-format-quote .buddyx-section-title-over.has-featured-image .entry-header--default,
.single-format-video .buddyx-section-title-over.has-featured-image .entry-header--default,
.single-format-audio .buddyx-section-title-over.has-featured-image .entry-header--default,
Expand All @@ -1338,12 +1369,14 @@ article .entry-header {
}

@media (min-width: 992px) {

.buddyx-section-title-over:not(.has-featured-image) .buddyx-quote-block,
.buddyx-section-title-over:not(.has-featured-image) .buddyx-video-block,
.buddyx-section-title-over:not(.has-featured-image) .buddyx-audio-block,
.buddyx-section-title-over:not(.has-featured-image) .buddyx-gallery-block {
margin-bottom: calc(var(--el-spacing) * 3);
}

.single-format-quote .buddyx-section-title-over.has-featured-image .entry-header--default,
.single-format-video .buddyx-section-title-over.has-featured-image .entry-header--default,
.single-format-audio .buddyx-section-title-over.has-featured-image .entry-header--default,
Expand Down Expand Up @@ -1379,6 +1412,7 @@ article .entry-header {
.buddyx-section-half:not(.has-featured-image) .buddyx-post-thumbnail:not(.buddyx-link-block) {
margin-bottom: calc(var(--el-spacing) * 3);
}

.buddyx-section-half.has-featured-image {
display: flex;
flex-direction: row-reverse;
Expand All @@ -1388,13 +1422,15 @@ article .entry-header {
max-width: 1600px;
background: #f5f5f5;
}

.single-post-main-wrapper .buddyx-section-half.has-featured-image .entry-media-image {
width: 50%;
margin: 0;
left: auto;
-ms-transform: none;
transform: none;
}

.buddyx-section-half.has-featured-image .entry-header--default {
width: 50%;
bottom: calc(var(--el-spacing) * 3);
Expand All @@ -1403,6 +1439,7 @@ article .entry-header {
align-self: flex-end;
margin-top: 0;
}

.buddyx-section-half.has-featured-image .post-thumbnail {
position: relative;
z-index: 0;
Expand All @@ -1413,6 +1450,7 @@ article .entry-header {
overflow: hidden;
padding-bottom: 100%;
}

.buddyx-section-half.has-featured-image .post-thumbnail>img {
object-fit: cover;
object-position: 50% 50%;
Expand All @@ -1422,12 +1460,14 @@ article .entry-header {
top: 0;
left: 0;
}

.buddyx-section-half.has-featured-image .buddyx-quote-block {
height: 500px;
}
}

@media (max-width: 992px) {

.buddyx-section-half.has-featured-image .post-thumbnail,
.single-format-link .buddyx-section-half .buddyx-link-block,
.single-format-quote .buddyx-section-half .buddyx-quote-block,
Expand Down Expand Up @@ -1463,6 +1503,7 @@ article .entry-header {
margin-top: calc(var(--el-spacing) * 2);
margin-bottom: calc(var(--el-spacing) * 2);
}

.single-format-link .buddyx-section-title-above:not(.has-featured-image) .entry-header--default,
.single-format-quote .buddyx-section-title-above:not(.has-featured-image) .entry-header--default,
.single-format-video .buddyx-section-title-above:not(.has-featured-image) .entry-header--default,
Expand All @@ -1477,6 +1518,7 @@ article .entry-header {
margin-top: calc(var(--el-spacing) * 3);
margin-bottom: calc(var(--el-spacing) * 3);
}

.single-format-link .buddyx-section-title-above:not(.has-featured-image) .entry-header--default,
.single-format-quote .buddyx-section-title-above:not(.has-featured-image) .entry-header--default,
.single-format-video .buddyx-section-title-above:not(.has-featured-image) .entry-header--default,
Expand Down
2 changes: 1 addition & 1 deletion assets/css/content.min.css

Large diffs are not rendered by default.

Loading

0 comments on commit 8643a14

Please sign in to comment.