Skip to content

Commit

Permalink
Changes after QA
Browse files Browse the repository at this point in the history
  • Loading branch information
bozatko committed Nov 7, 2024
1 parent 4b00294 commit 2fd2476
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 9 deletions.
16 changes: 10 additions & 6 deletions src/bundle/Resources/public/scss/_preview-header.scss
Original file line number Diff line number Diff line change
@@ -1,40 +1,44 @@
.ibexa-preview-header {
display: grid;
grid-template-areas: 'siteaccess actions back';
grid-template-columns: auto 1fr 1fr;
grid-template-columns: auto 1fr auto;
border-bottom: calculateRem(1px) solid $ibexa-color-dark-400;
background-color: $ibexa-color-dark;

&__item {
padding: calculateRem(10px);

&--back {
grid-area: back;
padding: calculateRem(10px);
justify-items: flex-end;
}

&--siteaccess {
grid-area: siteaccess;
padding: calculateRem(10px);
display: flex;
align-items: center;
margin-left: calculateRem(16px);

.ibexa-dropdown {
--ibexa-dropdown-primary-color: $ibexa-color-white;
--ibexa-text-color: $ibexa-color-white;
--ibexa-dropdown-primary-color: #{$ibexa-color-white};
--ibexa-text-color: #{$ibexa-color-white};
}

.ibexa-dropdown__selection-info {
margin-bottom: 0;
border: none;
}
}

&--actions {
grid-area: actions;
padding: calculateRem(10px);
display: flex;
align-items: center;
}

&--separation-line {
border-right: calculateRem(1px) solid $ibexa-color-dark-400;
}
}

&__link {
Expand Down
1 change: 0 additions & 1 deletion src/bundle/Resources/public/scss/_preview.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
margin: 0 auto;
transition: all $ibexa-admin-transition-duration $ibexa-admin-transition;
background: $ibexa-color-white;
border-radius: $ibexa-border-radius;
}

&--desktop {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@

{% block header_row %}
<div class="ibexa-preview-header">
<div class="ibexa-preview-header__item ibexa-preview-header__item--siteaccess">
{{ form(site_access_form) }}
<div class="ibexa-preview-header__item">
<div class="ibexa-preview-header__item--siteaccess ibexa-preview-header__item--separation-line">
{{ form(site_access_form) }}
</div>
</div>
<div class="ibexa-preview-header__item ibexa-preview-header__item--actions">
<button data-preview-mode="desktop" class="btn ibexa-btn ibexa-btn--no-text ibexa-btn--dark-selector ibexa-btn--selected ibexa-preview-header__action">
Expand Down

0 comments on commit 2fd2476

Please sign in to comment.