As many of you may already know, I'm writing a purple skin for SWC, I'm using SWC's CSS editor (finally got around to figuring it out), but I've run into an issue...
I'm attempting to modify the buttons with the selector "input":
Here is the (pink skin) stylesheet of the aforementioned elements:
As you can see, all I did was change the colors, nothing else, as you can see, the modification was successful:
But it also messed up my ETA timers, as shown here:
Recall that the only thing I changed was the colors, no other part was changed.
Is there a way I can add a style specifically for the ETA timers so that they aren't effected by the "input" selector? Or perhaps make the ETA timers exempt from the "input" selector?
It worked, it didn't change the ETA timers, but it also didn't change other things like some text fields. I fixed this by also adding another attribute selector "input[type=text]", this fixed the problem but also messed up the ETA timers again. What I need is a way to exempt the ETA timers only, and nothing else.
Edited By: Phillip Bromley on Year 10 Day 126 14:35
This is the first time I've ever tried to style input elements (in fact that input[type=submit] thing that Khan suggested is totally new to me), but based on the same principle the following might work. Use the CSS you quoted in your first post:
Then, try making a selector that will style only the input elements with the name "Clock". So something like this:
“
input[name=Clock] {
Style the ETA timer here} ”
If I'm right then you should be able to style the ETA timers the way you want to without affecting anything else and you can style the rest of the input fields without affecting the timer.