User tests: Successful: Unsuccessful:
Pull Request for Issue #31376 .
Horizontal tabs inside vertical tabs incorrectly inherit vertical CSS style.
Display horizontal tabs inside vertical tabs.
The code:
<?= HTMLHelper::_('uitab.startTabset', 'tabs1', ['active' => 'tabA']) ?>
<?= HTMLHelper::_('uitab.addTab', 'tabs1', 'tabs11', 'tabs11') ?>
Horizontal tab 1
<?= HTMLHelper::_('uitab.startTabset', 'tabs2', ['active' => 'tabA', 'orientation' => 'vertical']) ?>
<?= HTMLHelper::_('uitab.addTab', 'tabs2', 'tabs21', 'tabs21') ?>
Horizontal > Vertical tab 1
<?= HTMLHelper::_('uitab.startTabset', 'tabs3', ['active' => 'tabA', 'orientation' => 'horizontal']) ?>
<?= HTMLHelper::_('uitab.addTab', 'tabs3', 'tabs31', 'tabs31') ?>
Horizontal > Vertical > Horizontal tab 1
<?= HTMLHelper::_('uitab.endTab') ?>
<?= HTMLHelper::_('uitab.addTab', 'tabs3', 'tabs32', 'tabs32') ?>
Horizontal > Vertical > Horizontal tab 2
<?= HTMLHelper::_('uitab.endTab') ?>
<?= HTMLHelper::_('uitab.endTabset') ?>
<?= HTMLHelper::_('uitab.endTab') ?>
<?= HTMLHelper::_('uitab.addTab', 'tabs2', 'tabs22', 'tabs22') ?>
Horizontal > Vertical tab 2
<?= HTMLHelper::_('uitab.endTab') ?>
<?= HTMLHelper::_('uitab.endTabset') ?>
<?= HTMLHelper::_('uitab.endTab') ?>
<?= HTMLHelper::_('uitab.addTab', 'tabs1', 'tabs12', 'tabs12') ?>
Horizontal tab 2
<?= HTMLHelper::_('uitab.endTab') ?>
<?= HTMLHelper::_('uitab.endTabset') ?>
See the invalid style of horizontal tabs.
Valid horizontal tabs style.
No.
Status | New | ⇒ | Pending |
Category | ⇒ | Administration Templates (admin) NPM Change |
Before:
After:
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
RTC
@Denitz Could you fix the SCSS code style errors reported here by Drone? https://ci.joomla.org/joomla/joomla-cms/37650/1/20 . It might be necessary that you change some SCSS in line 152 and after of file administrator/templates/atum/scss/vendor/joomla-custom-elements/joomla-tab.scss
so you have a nesting depth of not more than 4 levels.
Status | Ready to Commit | ⇒ | Pending |
Back to pending since it fails SCSS code style tests in Drone.
Labels |
Added:
?
|
@richard67 SCSS changed.
Restarted drone
Labels |
Added:
NPM Resource Changed
|
Labels |
Added:
?
Conflicting Files
Removed: ? |
Labels |
Added:
?
Removed: ? |
Category | Administration Templates (admin) NPM Change | ⇒ | Repository NPM Change |
Labels |
Removed:
Conflicting Files
|
Title |
|
This pull request has automatically rebased to 4.2-dev.
This pull requests has been automatically converted to the PSR-12 coding standard.
Labels |
Added:
?
?
Removed: ? |
I have tested this item
Not sure about this. I get a different vertical tab style from @obuisard but the same as I got last time. This is on a new install of
4.3.0-rc2-dev with test sample data. I would prefer the style shown by @obuisard.
@ceford Do not look so much at the style because it may differ depending on the template you are using.
The importance is to get a horizontal thick border on the selected tab when the tabulation is horizontal and a vertical thick border on the selected tab when the tabulation is vertical.
I have tested this item
I put the test code in a front end form and there the appearance is as depicted by @obuisard - so it is OK. I guess the backend appearance is a separate issue.
Status | Pending | ⇒ | Ready to Commit |
RTC
Labels |
Added:
?
|
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2022-10-19 20:04:04 |
Closed_By | ⇒ | roland-d |
Thank you
I have tested this item✅ successfully on 88e33ce
I put the test code from #31376 at the bottom of the banners list to test. Needs npm run build:css
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/31419.