1
0
قرینه از https://github.com/matomo-org/matomo.git synced 2025-08-22 06:57:53 +00:00
Files
matomo/plugins/Marketplace/stylesheets/rich-menu-button.less
Michal Kleiner da0f628681 [DEV-17234] Add more visually striking marketplace menu item in sidebar (#21456)
* Fix CS

* Fix typo in UI demo example

* Add styling and UI demo example for outline button (with reverse bg on hover)

* Remove premium features widget

* Allow category to have a custom widget for the reporting menu

* Implement marketplace rich menu button

* Remove surplus category config

* Build vue files

* Update unit tests with an empty category widget prop

* Update system test expected files

* Add type hints

* Update UI test screenshots

* Update expected API response xml

* Partially revert "Remove premium features widget"

This reverts commit 5f37b028cf.
We are not reverting the removal of the subcategory.

* built vue files

* Restore Paid Plugins widget in system test expected files

Partially reverts commit c351ec94e8.

* Update expected test files

* Use data attribute instead of CSS class

* Add tabindex

* Build vue files

* built vue files

* Let category load when there's exactly one subcategory or multiple subcategories and an override widget

* Add support for keyboard submit

* Build vue files

* Update quick access search UI test screenshot

PM is ok with the menu items being removed from the quick access menu. Keyboard access to the new rich menu button works.

* Update built vue files

---------

Co-authored-by: michalkleiner <michalkleiner@users.noreply.github.com>
2023-11-10 10:21:24 +13:00

30 خطوط
505 B
Plaintext

.richMarketplaceMenuButton {
padding: 0 21px 5px 19px;
hr {
border-top: 2px dotted #ccc;
margin-bottom: 30px;
}
.intro {
font-size: 12px;
line-height: 1.5;
}
.cta .btn {
margin-top: 16px;
padding: 0 1rem;
width: 100%;
}
}
.sidenav--reporting-menu-mobile {
display: flex;
flex-direction: column;
padding-bottom: 20px;
li[data-category-id="Marketplace_Marketplace"] {
margin-top: auto;
}
}