First, is your file getting recognized? Do you see that z-index: 9050 coming up in the browser? If it was already there before, change it to something distinctive like 9049.
First you need to check that your custom file is being loaded, then you can improve your style selector and CSS properties.
Cool, I’m glad you got it working. I edited my post above to use the correct path, I had forgotten the sub-theme subdirectory, as you discovered.
Note that SCSS variables ($main-alternate-bg) won’t do any good when included at this stage. But you can just leave out the properties that you don’t need to redefine.
The yui-ac-content takes the 45% or 90% width of its parent yui-ac-container which in turn inherits 100% based on responsive.
Another approach is inside the detail view of AOS_Invoice set the css using jquery we can set the parent width like below.
$(‘.yui-ac-container’).css(‘width’,‘150px’);
This will help your list to width to be larger than the default. If you are using different screen i would suggest to use calc field in the width.
Hope this helps