This should work:
.toolbar-tray .toolbar-icon.toolbar-icon-entity-commerce-order-collection::before {
mask-image: var(--commerce-icon--clipboard-check-fill);
background-color: #787878;
mask-repeat: no-repeat;
mask-position: center;
}
And then for active just change the background color.
It would be great if we had a class for all commerce toolbar items.
The existing icon should also be moved to a variable at some point.
I was not able to use mask to set the color because that requires an actual dom element to function properly and modifying the structure of the toolbar isn't really a good idea if it's even possible.
@rhovland I prefer we use a mask image. Can you explain how this is not functioning properly?
majmunbog → made their first commit to this issue’s fork.
Here's a patch that adds the missing dependency to the copy link library.
I think we can remove that whole preprocess function. The active trail class should work without it and we don't even use it in the theme CSS. With the :has() CSS selectors there's no real need to complicate and add a class to
majmunbog → made their first commit to this issue’s fork.
@tBKoT I think we should not reference variation in CSS, libraries, or data attributes. That way we can reuse this link and styles elsewhere.
majmunbog → made their first commit to this issue’s fork.
Patch #2 is fine for now.
We should consider changing the markup in a major release and start using CSS grid and variables here.
majmunbog → made their first commit to this issue’s fork.
The third menu level has significant usability issues and is not 100% supported. It should be handled with care.
majmunbog → made their first commit to this issue’s fork.
Thanks @alicacwb for providing the correct method to incorporate new fonts into the theme settings. This issue could be a good reference, and the process should be added to the documentation.
Sure @alicacwb, you can manually make those changes.
You can also clone the fork git clone git@git.drupal.org:issue/belgrade-3424189.git
and then checkout the branch git checkout 3424189-subtheme-error-region
.
majmunbog → created an issue.
majmunbog → created an issue.
Thanks @djween for bringing up this issue.
I don't think that Popper.js was ever included in core. The Belgrade CSS is responsible for displaying the dropdowns on hover.
I agree that the dropdowns should be opening on click. However, according to the Belgrade design, the main menu is intended to open on hover.
I'm currently considering two options:
- Specifying hover-based dropdown CSS exclusively for this menu.
- Implementing theme settings to toggle the global dropdown behavior between hover and click.
Thanks @alicacwb for opening up this issue. The issue should be fixed in my MR, can you please review it?
majmunbog → made their first commit to this issue’s fork.
This works great, thanks.
The template suggestions need to be better ordered but that's another issue.
majmunbog → created an issue.
I'm just a bit late to respond to this one, but thanks a bunch @webengr for the positive feedback! If you have any feedback or suggestions for improvements, please feel free to share them in the issue queue.
This code is not present in the 2.0.x version of Belgrade.
Can you update the issue metadata with the version you are using?
Icon added, sprite generated and styles updated.
Results:
majmunbog → created an issue.
The wrong patch, this one is much better.
Here's a quick patch to fix the white text on the white background issue in CKEditor.
majmunbog → made their first commit to this issue’s fork.
Here's a patch.
majmunbog → created an issue.
Here's the patch that fixes the styles for both themes.
majmunbog → created an issue.
majmunbog → created an issue.
Here's a patch with all CSS violations fixed.
majmunbog → created an issue.
@djween This version of Belgrade is based on the
Commerce Bootstrap base theme →
, so both need to be compatible.
There is an open issue
here
📌
Automated Drupal 10 compatibility fixes
Needs review
.
Not the best approach, but what you can do is copy the base themes as you would a starter kit and make the adjustments.
Update the core_version_requirement in both themes *.info.yml
file to core_version_requirement: ^8 || ^9 || ^10
Hi and welcome!
Unfortunately, the issue is quite complex and will require significant work (site building, theming, backend) to address properly.
You are better off asking for help on Drupal Slack. Good luck!
Try installing commerce kickstart
composer create-project -s dev centarro/commerce-kickstart-project kickstart
cd kickstart
composer require drupal/commerce_demo:^3.0
Make sure you check all options during the last install step.
You should have everything that's in the demo.
I don't like the approach in the solution.
Can you give me more information when is this issue happening? I'm guessing you have no logo added to the theme.
Read this → documentation on how to add regions.
Are you using Belgrade as a starterkit or you created a subtheme?
That variable is required.
Thank you all.
Sure! Please go ahead and create a patch. I would be more than happy to test it. Thanks.
Hello, I need more information to address this issue.
Could you specify which version of Kickstart are you using?
And are you using the commerce_cart_flyout
module for the cart block?
The homepage is not coming from the theme. The frontpage and the products are provided by the Commerce Demo module.
Works great. Thanks @khiminrm.
This is just a matter of a missing class form-item
. Added the class to both checkbox and radio element.
majmunbog → created an issue.
The issue has been tested and confirmed to be working. This is probably outdated or not an issue with Belgrade.
Information is in the README file.
Logo is now an inline SVG. Site name and site slogan are removed in configuration. This is outdated.
This is outdated. Theme will not break if the catalog menu is not present.
The scope changed, this is outdated.
Here's the README/documenation update patch.