backup de julho
[h2N7SspZmY.git] / lib / plugins / clock / style.css
blob860c1d722ed4df08b0227f3a02948feccf3cec73
1 /**
2 * @file clock/style.css
3 * @brief Default styles for the "clock" plugin
4 * @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
5 * @author Luis Machuca B. <luis.machuca@gulix.cl>
6 * @version 1.4
7 */
9 /**
10 * This file sets the default style for the "clock" plugin.
11 * The CSS style applied to the clock is organized as follows:
13 * div#clock_object.classname - the container box.
14 * This is the virtual container. Most probably you don't want to
15 * put anyting in here, except margin/padding specifications.
16 * 'classname' is the class name associated with the style. You must
17 * copy and replace this parameter accordingly to create new styles.
19 * .face - the clock face
20 * face properties, such as font-size and color, should be set here.
21 * .info - the infopage wikilink
22 * this should be left empty unless you want to re-theme the link
23 * different from your wiki template
24 * .info > a:??? - the link
25 * put here CSS for effects on hover, visited, etc.
29 #dw_clock_object {
30 min-width: 6em;
31 padding: 0 2px;
34 /**
35 * ---------------------------------------------------------------------
36 * Style #0 : plain
37 * Description : pretty plain
38 * Features :
39 * With this style the face itself is not stulized, only some layout
40 * attributes are given as well as default style for the helpbar.
43 #dw_clock_object .face.plain {
44 position: relative;
45 margin: 0 2em;
49 /**
50 * ---------------------------------------------------------------------
51 * Style #1 : default
52 * Description : a light-coloured wall-like clock
53 * Features : monospaced font, wide margin and dark borders,
54 * with the face colour following the template theme
57 #dw_clock_object .face.default {
58 position: relative;
59 /*width: 120px;*/
61 margin: auto 6px;
66 #dw_clock_object .face.default {
67 display: block;
68 font-family: monospace;
69 font-size: 1.5em;
70 text-align: center;
71 color: __text__;
73 border: 4px inset __text_alt__;
75 background-color: __background_alt__;
81 /**
82 * ---------------------------------------------------------------------
83 * Style #2 : aradio
84 * Description : some description
85 * Features : a clock using a digital clock font in yellow face in a
86 * black background and minor shadow.
88 * ---Warning---
89 * In order to achieve the desired effect, this style makes use of
90 * the "font-face" aspect of CSS specification, which may or may not be
91 * supported by your browser as of the time of release of this plugin.
92 * **Check the plugin page for support and indications**
94 * For full experience, it is _recommended_ that you make available the
95 * font to your public via a download link, as well as sourcing the
96 * font file from this stylesheet (see "path/to/your/").
98 * Take into consideration the license of the font file. If the font is
99 * not available as Freeware or Free Software, consider using another
100 * typography.
102 * ---End Warning---
106 @font-face {
107 font-family: 'Atomic Clock Radio';
108 src: local('Atomic Clock Radio');
109 /* src: url(path/to/your/copy/of/atomicclockradio.ttf) format('truetype'); */
113 #dw_clock_object .face.aradio {
114 padding: 4px;
115 padding-right: 1em;
117 background-color: #c4c8ee;
118 border: 2px solid #b6b6d8;
120 font-family: "Atomic Clock Radio", fantasy;
121 font-size: 14pt;
123 text-align: right;
124 letter-spacing: 0.6pt;
125 text-shadow: -2px 1px #884446;
127 color: #848861;
130 #dw_clock_object .face.aradio span.sep {
131 color: #808080;
132 font-weight: bold;
137 * ---------------------------------------------------------------------
138 * Style #3 : tv24
139 * Description : "24"-like digital clock
140 * Features : a clock using a digital clock font with yellow face in a
141 * black background and a shadow; in absence of such
142 * font style the display downgrades to the
143 * defined-to-exist monospaced font.
145 * ---Warning---
146 * In order to achieve the desired effect, this style makes use of
147 * the "font-face" aspect of CSS specification, which may or may not be
148 * supported by your browser as of the time of release of this plugin.
149 * **Check the plugin page for support and indications**
151 * For full experience, it is _recommended_ that you make available the
152 * font to your public via a download link, as well as sourcing the
153 * font file from this stylesheet (see "path/to/your/").
155 * Take into consideration the license of the font file. If the font is
156 * not available as Freeware or Free Software, consider using another
157 * typography.
159 * ---End Warning---
165 * Warning: the following style uses an online,
166 * free-for-noncommercial-use, Truetype font, from URW Software.
168 @font-face {
169 font-family: 'lcdd';
170 src: local('LCDd');
171 /* src: url(path/to/your/copy/of/lcd.ttf) format('truetype'); */
176 * Warning: the following style uses an online,
177 * freeware, Truetype font.
179 @font-face {
180 font-family: 'Digital Readout';
181 src: local('Digital Readout');
182 /* src: url(path/to/your/copy/of/digitalreadout.ttf) format('truetype'); */
187 #dw_clock_object .face.tv24 {
188 width: 75%;
189 min-width: 6em;
191 background-color: black;
192 border: 2px solid navy;
194 line-height: 20pt;
195 text-align: center;
196 font-family: "Digital Readout", "lcdd", monospace;
197 font-size: 14pt;
199 text-shadow: 2px 2px #404020;
200 letter-spacing: 0.2em;
202 color: yellow;
205 #dw_clock_object .face.tv24 .info {
206 position: absolute;
207 right: 0;
208 bottom: 0;
209 border: 2px solid black;
212 #dw_clock_object .face.tv24 .info:hover {
213 border: 2px solid __existing__;
217 * ---------------------------------------------------------------------
218 * Style #4 : bluebox
219 * Description : "24"-like digital clock
220 * Features : a blue box with a white typeface, shadows.
222 * ---Warning---
223 * In order to achieve the desired effect, this style makes use of
224 * the "font-face" aspect of CSS specification, which may or may not be
225 * supported by your browser as of the time of release of this plugin.
226 * **Check the plugin page for support and indications**
228 * For full experience, it is _recommended_ that you make available the
229 * font to your public via a download link, as well as sourcing the
230 * font file from this stylesheet (see "path/to/your/").
232 * Take into consideration the license of the font file. If the font is
233 * not available as Freeware or Free Software, consider using another
234 * typography.
236 * ---End Warning---
239 #dw_clock_object .face.bluebox {
240 width: 75%;
241 max-width: 8em;
243 background-color: #2222aa;
244 border: 4px solid navy;
245 border-radius: 6px; -moz-border-radius: 6px; -webkit-border-radius: 6px; -o-border-radius: 6px;
247 line-height: 20pt;
248 text-align: center;
249 font-family: "Liberation", "Helvetica", cursive;
250 font-size: 14pt;
252 text-shadow: -1px 2px #80c080;
253 text-shadow: 2px -1px #882222;
255 letter-spacing: 0.2em;
257 color: #e0f0e0;
262 * ---------------------------------------------------------------------
263 * Helpbar styling
265 #dw_clock_object p.helpbar {
266 margin: 0 2em;
267 padding: 0 0.5em;
268 background-color: __background_alt__;
269 border: 1px solid __existing__;
270 border-radius: 6px;
271 -moz-border-radius: 6px; -webkit-border-radius: 6px; -o-border-radius: 6px;
272 font-size: 90%;