Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions assets/core/scss/components/_star-rating.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@

.tutor-star-rating-container {
@include tutor-flex(row, center, space-between);

button.tutor-star-rating-icon-btn {
@include tutor-button-reset();
min-height: unset;
}

&.is-emoji-view {
@include tutor-flex-column;
gap: $tutor-spacing-7;
Expand Down
56 changes: 25 additions & 31 deletions assets/src/scss/front/course/_social-share.scss
Original file line number Diff line number Diff line change
@@ -1,33 +1,27 @@
.tutor-social-share-wrap {
button {
margin-right: 16px;
border: none;
padding: 8px 15px;
border-radius: 6px;
color: white;
cursor: pointer;
display: inline-flex;
align-items: center;
@include breakpoint-max(mobile) {
width: 150px;
justify-content: center;
&:not(:first-child) {
margin-top: 10px;
}
}
span {
font-style: normal;
font-weight: 500;
font-size: 15px;
color: #ffffff;
position: relative;
top: 1px;
left: 2px;
}
}
.tutor_share {
&.s_linkedin i {
margin-top: -2px;
}
}
display: flex;
gap: 16px;
button {
border: none;
padding: 8px 15px;
border-radius: 6px;
color: white;
cursor: pointer;
display: inline-flex;
align-items: center;
span {
font-style: normal;
font-weight: 500;
font-size: 15px;
color: #ffffff;
position: relative;
top: 1px;
left: 2px;
}
}
.tutor_share {
&.s_linkedin i {
margin-top: -2px;
}
}
}
13 changes: 9 additions & 4 deletions assets/src/scss/frontend/dashboard/layout/_nav-mobile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@
margin: 0;
padding: 0;

>li {
> li {
@include tutor-flex(column, center);
min-width: 44px;
margin: 0;
padding: 0;

>a,
>button {
> a,
> button {
@include tutor-button-reset();
@include tutor-typography(tiny, medium);
@include tutor-flex(column, center);
Expand All @@ -40,6 +40,11 @@
&.active span {
color: $tutor-text-brand;
}
&:hover,
&:focus {
background-color: transparent;
color: $tutor-text-brand;
}
}

img {
Expand Down Expand Up @@ -82,4 +87,4 @@
}
}
}
}
}
2 changes: 1 addition & 1 deletion components/StarRatingInput.php
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ class="tutor-star-rating-emoji-btn <?php echo esc_attr( $rating_classes[ $i ] );
<?php for ( $i = 1; $i <= 5; $i++ ) : ?>
<button
type="button"
class="tutor-btn tutor-p-none tutor-min-h-0 tutor-bg-transparent"
class="tutor-star-rating-icon-btn tutor-btn tutor-p-none tutor-min-h-0 tutor-bg-transparent"
@click="setRating(<?php echo esc_attr( $i ); ?>, (rating) => setValue('<?php echo esc_attr( $this->field_name ); ?>', rating))"
@mouseenter="hoverRating = <?php echo esc_attr( $i ); ?>"
>
Expand Down
4 changes: 2 additions & 2 deletions templates/dashboard/account/reviews/review-card.php
Original file line number Diff line number Diff line change
Expand Up @@ -241,8 +241,8 @@ class="tutor-review-form-fields"
->render();
?>
</form>
<div class="tutor-flex tutor-justify-between tutor-gap-3">
<div class="tutor-flex tutor-gap-3 tutor-tiny tutor-text-subdued tutor-items-center">
<div class="tutor-flex tutor-justify-between tutor-sm-justify-end tutor-gap-3">
<div class="tutor-flex tutor-gap-3 tutor-tiny tutor-text-subdued tutor-items-center tutor-sm-hidden">
<span>
<?php SvgIcon::make()->name( Icon::COMMAND )->size( 12 )->render(); ?>
</span>
Expand Down
4 changes: 2 additions & 2 deletions templates/learning-area/subpages/reviews/review-card.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ class="tutor-flex tutor-flex-column tutor-gap-6"
->render();
?>
</form>
<div class="tutor-flex tutor-justify-between tutor-gap-3">
<div class="tutor-flex tutor-gap-3 tutor-tiny tutor-text-subdued tutor-items-center tutor-flex-wrap">
<div class="tutor-flex tutor-justify-between tutor-gap-3 tutor-sm-justify-end">
<div class="tutor-flex tutor-gap-3 tutor-tiny tutor-text-subdued tutor-items-center tutor-flex-wrap tutor-sm-hidden">
<span>
<?php tutor_utils()->render_svg_icon( Icon::COMMAND, 12, 12 ); ?>
</span>
Expand Down
Loading