Home | History | Annotate | Download | only in local_ntp

Lines Matching refs:styles

95  * @param {Object} params URL parameters containing styles for the link.
106 var styles = getMostVisitedStyles(params, !!text);
108 link.style.color = styles.color;
109 link.style.fontSize = styles.fontSize + 'px';
110 if (styles.fontFamily)
111 link.style.fontFamily = styles.fontFamily;
112 if (styles.textAlign)
113 link.style.textAlign = styles.textAlign;
114 if (styles.textFadePos) {
118 styles.textFadePos + 'px, rgba(0,0,0,0))';
215 * Decodes most visited styles from URL parameters.
223 * @return {Object} Styles suitable for CSS interpolation.
226 var styles = {
232 styles.fontFamily = params.f;
234 styles.fontSize = parseInt(params.fs, 10);
236 styles.textAlign = params.ta;
240 styles.textFadePos = tf;
242 return styles;
248 * @param {function(Object, Object)} fill A function called with styles and