Comments (5)
Hmm, looks like you're probably right. I never bothered much with USo advanced settings. I wrote the CSS, but as credited in the description, a friend implemented advanced settings. Perhaps they need adjusting.
Otherwise, it LGTM. I'll mention this archive in the Stylus repo/Discord to see if it can't get some more testing and feedback.
from data.
Oh, settings conversion should work, problem is style settings object is null for some reason, ill look into that tomorrow 🥴
Convertion seems to be working https://pastebin.com/raw/HFYR1Qqk#.user.css
from data.
Should be working now
from data.
Nice. Best I've seen it working so far. In the case of the test style I mentioned, the first option is to specify compact columns, and the second "for yes" option is to specify how many columns, and adjust the layout/zebra-striping accordingly.
When the first option is "no", by default, the default for "for yes" is correctly ignored. Problem I see, is that changing the second "for yes" option, while the first option is still "no", incorrectly applies the CSS when any setting in the second option should be ignored unless the first option is "yes".
Most of the compact layout code is contained in the first option, but when that option is disabled, if you select anything besides the default 3 columns, you'll see the code from that "for yes" block being applied, even when the first option is set to "no". The zebra-striping makes it pretty obvious.
from data.
If I understood correctly, problem is the style itself and /*[[ColumnNumber]]*/
should be moved inside CompactMode code block for "Yes"
from data.
Related Issues (20)
- [Feature Request] "Install style as userscript" HOT 1
- Dark mode styles for RFC readers HOT 1
- Incorrect license on imported styles HOT 21
- Zero-pad months/days in @version to avoid ambiguity HOT 4
- Submit styles direct to this repository? HOT 6
- More search/filtering functionality
- New Styles HOT 1
- Remove my styles
- How to add new styles to this repo? HOT 1
- Request : Add RSS support? HOT 1
- Theme Upload Section? HOT 1
- meta-data update HOT 19
- Updater enchancements
- Fix broken screenshots
- Append/modify meta-data if metablock is present
- Proposition - css modifications for screenshots elements
- Add the original userstyle CSS (without convert it) to its archive, so it can be installed with Stylish too HOT 2
- Ignore outdated cached data HOT 7
- Styles not updating HOT 17
- Updater broken due to userstyles.org update HOT 58
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from data.