Live data from Hacker News

98.css – design system for building faithful recreations of Windows 98 UIs

jdan.github.io

151–160 of 185 posts

Re: 98.css – design system for building faithful recreations of Windows 98 UIs

#151
post #62

Earlier quoted context omitted.

Just curious but in what ways? Me, I used Windows for years until ~2008. In 2008 I started using both Mac and Windows. In 2010 I started using Linux, Mac, and Windows. I never really found one better than another. Each one had their strengths, none of them had huge UI issue for me at least. For example, one plus I find on Windows vs MacOS is I use Chrome with multiple profiles. Windows is able to display an icon per…

For me the taskbar in W11 is a giant step back, all windows are collapsed into a group. No idea why they removed the ability to keep them expanded other than trying to mimic the look of OSX

That's been the default since Windows 7 though.

Most people have been using the taskbar that way for nearly 15 years, only a minority of people would have switched away from the default.

Re: 98.css – design system for building faithful recreations of Windows 98 UIs

#152

Hey HN - author here. This was my burnout recovery project in April of 2020. Very much a labor of love and a surprising way to realize I still liked programming. I wrote some scattered thoughts here [0] I also "run" this project quite differently than I usually do - when I receive a pull request instead of merging it I do a quick glance through the user's github to make sure they're not a spammer before giving them _…

Sounds like the optimistic merging principle of the late Pieter Hintjens: http://hintjens.com/blog:106

Re: 98.css – design system for building faithful recreations of Windows 98 UIs

#153

Earlier quoted context omitted.

I liked rounded corners on Windows XP. It was the only version of Windows that looked professional and nice at the same time. Windows 10's design is just bland. I don't know why MS went ahead with this soulless design for so many years after Windows 8 came to be. Windows 11 tries to be nicer but really it's just a fancy cover on legacy designs left over from since Windows 3.1.

> I liked rounded corners on Windows XP. It was the only version of Windows that looked professional and nice at the same time. It's interesting you say that, since I remember back at the time XP was released, so many people complained about how Windows XP had a "Fisher Price" UI that was distinctly non-professional. (Personally, I always liked XP's look.)

That’s why I always switched to XP silver instead of the default blue.

Re: 98.css – design system for building faithful recreations of Windows 98 UIs

#154

Earlier quoted context omitted.

I think the thick black border marks the "default dialog button", not focus.

It does both. Black border alone marks the default button in the dialog (unless another button is focused), black border + dotted outline marks focus. I double checked in a VM running Windows 98 earlier today. I suspect some of these 9x recreations are based solely on screenshots, in which details like active and focus states are not obvious.

To put it another way:

* Thick black border indicates which button would be pressed if you hit enter. This is the focused button, or the default button if no button currently has focus.

* Dashed border indicates which button or other control currently has focus; this button is pressed if you hit space (but if another control has focus then space does not press the default button).

Re: 98.css – design system for building faithful recreations of Windows 98 UIs

#155
Just beautiful. Even after all these years Microsoft's UI paradigm is still pretty much what I think a computer should look like.

Sure we have new visual styles and high resolution now, but the core design language is still pretty much the same. It's really hard to improve on it.

Even on mobile it just works.

Most of the attempts at more modern newer things feel unpredictable, or very limited, or they hide everything behind shortcuts and gestures and are near unusable unless you use the program all day every day and know everything.

Android is pretty good, maybe my favorite os to use, but a lot of the best parts are similar to this just adapted for touch.

Re: 98.css – design system for building faithful recreations of Windows 98 UIs

#156

Just beautiful. Even after all these years Microsoft's UI paradigm is still pretty much what I think a computer should look like. Sure we have new visual styles and high resolution now, but the core design language is still pretty much the same. It's really hard to improve on it. Even on mobile it just works. Most of the attempts at more modern newer things feel unpredictable, or very limited, or they hide everything…

Win 98's UI isn't very pretty (IMHO) but at least it's spare and relatively clean. Also it doesn't take a lot of resources to render. Compare with MS's more recent efforts.

Personally I'm clinging to macOS 10.14 for as long as I can. More recent iterations have very much lost their way.

Re: 98.css – design system for building faithful recreations of Windows 98 UIs

#157
Awesome! I like this a lot.

Recently, I've been attempting to create a global user style sheet that applies a reasonable set of nicely accessible rules to every website, essentially forcing buttons to look and behave like buttons, and to have a consistent theme across the internet. I started out by applying Window 95-like styles, and this is how it currently looks: https://waritschlager.de/share/0E7AB89CE86B1319A671D35EA2697... (background not changed to grey for now), not finished yet. Turns out, writing a global stylesheet is really difficult. For example, you cannot just "make all buttons grey":

First of all, there are many different ways to identify a button. This is a subset of my current button matching rule:

    button, input[type=submit], input[type=button], a[class*="btn" i], a[class*="button" i], *[role=button], *[role=tab], *[role=menuitem], *[role=menuitemcheckbox], a:not([role=button] ...etc) > *:not(div ...etc)
with the last one probably being the most important one next to `button`. ...and this still does not catch all, because you wouldn't believe how often web devs just take some div and put an onclick handler on it without making it accessible.

Secondly, as soon as you overwrite the background color of all buttons, you will lose its background images which may be important. This happens way too often, also surrounding elements which actually have nothing to do with button semantics. So you need to apply a partially transparent background color. While it can still look perfect with the right tuning, it will then look horrible on non-white backgrounds.

There are also way too many nested buttons and empty buttons out there, it all needs consideration.

Finally, to detect a "pressed down" state, you'd normally use `aria-selected`, but barely anyone ever uses that, so it's back to matching class names `.active` and `.selected`, but then you also need to exclude `.inactive`, `.interactive`, `.deselected` and so on...

My conclusion so far is that building a global style sheet is definitely possible, but can get ugly sometimes. And instead of hand-crafting my own styles, I can now integrate 98.css's ones, that's great :-)

Also worth mentioning: A near-perfect win95 XFCE theme: https://github.com/grassmunk/Chicago95

Re: 98.css – design system for building faithful recreations of Windows 98 UIs

#158
Beautiful and lovely.

I dread every app update these days. What buttons will lose their edges? Which icons will become indistinguishable vector hieroglyhps? Will the menu bar inexplicably become all-caps? What new upsells and attention-sinks will be forced unturnoffably into my precious screen real-estate?

This, though... you can see what things are. Buttons have edges. It's obvious at a glance what's editable and what's not. This is truly the UI of the future. I feel like, with a UI like this, the user could use the computer, not the other way around. I can't wait for the world to catch up.

Minor bug report: The first row of buttons in the "Button" section make the rest of the page move down when clicked (Firefox/Mac). The other buttons are all fine though.

Re: 98.css – design system for building faithful recreations of Windows 98 UIs

#159

Hey HN - author here. This was my burnout recovery project in April of 2020. Very much a labor of love and a surprising way to realize I still liked programming. I wrote some scattered thoughts here [0] I also "run" this project quite differently than I usually do - when I receive a pull request instead of merging it I do a quick glance through the user's github to make sure they're not a spammer before giving them _…

Were there times you felt like you were wasting your time when doing this project?
Post reply on HN