Show HN: XP.css – Windows XP CSS file and framework for building GUIs
botoxparty.github.io
botoxparty.github.io
Annoyingly, certain parts of the Windows UI cannot be recreated with just HTML and CSS. One of these is how focusing works. I don't know what the proper names for it are, but Windows has two kinds of focus:
• Dotted line (or flashing cursor for text boxes). If you press space bar, something will happen with this element.
• Black outline around the outside. If you press Enter, this button's action will be triggered. This is why the OK button in a typical Windows dialogue box looks different to the Cancel button. I don't remember what this looks like in XP but I think it uses a thicker blue border.
However, the browser only really has the former kind of focus — even for HTML buttons in Internet Explorer on Windows 95! So if you want a full Windows-like look and experience, you need some JavaScript to emulate the second. I notice that XP.css lacks this kind of focus, and I think that's why it feels like something is missing from the buttons.
[1] https://docs.microsoft.com/en-us/windows/win32/controls/butt...
Every time I have to use UWP apps I feel really sad and angry about how much Windows Desktop UI has regressed.
We had Windows 7, gnome 2, OSX Lion, all of which had mild drop shadows, 3d depth in icons and window borders, clearly delineated edges between various UI controls, and then it was as if one day some shadow illuminati council of UI design put out a worldwide decree that everything has to be flat and use indecipherable heiroglyphic vector icons made of little dots and lines.
I've been waiting for some kind of aesthetic counter-reaction to take place and it seems like it actually might be starting to happen. 2010-era was the peak of UI design and it's high time we went back, godammit!
It's not just the flatness that irritates me, there is such low information density, so much white space and large text sizes it feels like using a blown up tablet app.
That's because that was precisely what it was intended as --- the idea was to use the same UI on both desktop and mobile, and unfortunately they picked the latter instead of the former to build upon. The former would've resulted in something more similar to WinCE.
[0] article: https://vistaserv.net/blog/90s-fonts-modern-browsers
[1] discussion: https://news.ycombinator.com/item?id=23129434
I still think that in the Windows timeline, original Win95 (with actual toolbar buttons) was the best. It got all "designy" with each official iteration afterwards, but at least the progress of time meant that the weird third party shenanigans died out (like Borlands(?) huge buttons with the cross/checkmark).
Switching back to 9x looks, moving away from Nappa and installing a real file manager was always on top of my list when switching to Windows.
Anyway I am digressing... I came here to say that while the Css is very cool, it seems to introduce strange delays. On my android phone actions on tabs, checkboxes and radio buttons give a result at least one second after i click them.
Meanwhile in OS X land, their 16-year-old search implementation has always been so good that in a lot of cases, the file manager isn’t necessary to find even the most obscure and poorly organized documents.
Company politics interfered with the work on database as file system, one of Longhorn's greater ideas. I can't remember the specifics, it's on Slashdot somewhere, can't find it anymore.
> their 16-year-old search implementation
… is Giampaolo's 22-year-old implementation.
http://enwp.org/Dominic_Giampaolo https://arstechnica.com/information-technology/2018/07/the-b...
Keyboard Launchers like Keypirinha (also used Launchy back in the days) are my current workaround. They can index what the start menu should be indexing and do it right. I also keep my own (synced) folder of shortcuts that I add to the indexing.
Edit: or the embedded blue theme!
Title bars are a bit thick. Take off the min-height, and you're practically there. The title bar gradient seems a bit off, but unless you're looking at an XP VM, no one would know.
Anybody knows of some (preferrably simple, preferrably outside of any UI framework) Windows 10 CSS style, that is free?
Does a pretty good job at mimicking both Windows 10 and Mac OS. If there isn't a CSS framework someone else can link you to then you could either just use react (providing it's a project where that sort of decision doesn't affect anything) or attempt to take the CSS styles from this project.
Nonetheless, props to the author
Can any proffesional designers chip in?
(Win2k was the peak windows, although using win3.1 web emulators to play solitaire is my peak nostalgia)
It's just a function of generational popularity IMHO. Windows XP broke into the mainstream in a way that 98/2000 had not, for a number of reasons. It was literally garish, but between people looking for a "wow" factor after years of grey borders, and the increased amount of total desktop users, more people loved it right there and then than anything that preceded it or followed it. I wouldn't extrapolate any big theory of design from this phenomenon.
As a long-time Windows user at the time, I can say that "the dream" back then was OSX.
I wish the scroll bars worked on mobile but that probably needs JS in addition to the CSS.