I actually DO reference tt-sidebar-clocks-digital as a target for customization when using the “TiddlyTools (Dark)” palette, which is configured by the TiddlyTools Background Manager.
The purpose of the Background Manager is to enable different background images and CSS styles to be applied to specific page elements, based on the currently selected palette.
To see this configuration in action:
- Go to TiddlyTools/Palettes/Backgrounds
- In the droplist below “Select an element:”, choose “Sidebar Clocks Digital”. If you click on the “edit” button next to the droplist, a popup will show that this element name is associated with the
.tt-sidebar-clocks-digital CSS class.
- Note that the “Sidebar Clocks Digital” element does NOT have any background image (the main image display area shows “select an image or color”).
- However, it DOES have some custom CSS styles associated with it, as indicated by the bold “styles” button along the bottom of the Background Manager. Click that “styles” button to see the “extra styles” definition, which contains:
border:1px solid #999; border-radius:1em; padding:0.125em 1em; background-color:#00000099;
The effect of this setting is that, in the sidebar, the digital clock is surrounded by a semi-opaque “bubble” to provide contrast against the “fishtank” page background that is used with “TiddlyTools (Dark)”.
Note that if you switch to a different palette such as “Vanilla” (use the “palette” button in the top toolbar) and then return to the Background Manager and click on the “styles” button, you will see that it doesn’t have any associated CSS customizations, and the digital clock in the sidebar no longer has any surrounding “bubble”.
Also note that the current palette selection ($:/palette) is saved as a cookie (using TiddlyTools/Cookies/Manager), so that when you re-visit TiddlyTools.com, that palette is automatically re-applied. By using cookies to store the palette selection it allows TiddlyTools to provide a personally customized appearance, while stil delivering the default appearance to other visitors.
To revert to the default “TiddlyTools (Dark)” palette, you can either manually switch back to that palette, or use the Cookie Manager to delete the $:/palette and $:/config/TiddlyTools/Background cookies and then reload the page.
-e