Lines Matching refs:style

55                     if (item.element.style.position != 'fixed') {
57 site.style.paddingTop = ((parseInt(site.style.paddingTop) || 0) + item.element.offsetHeight) + 'px';
59 item.element.style.position = 'fixed';
60 item.element.style.top = self.stickyOffset + 'px';
61 item.element.style.zIndex = self.stickyIndex;
67 if (item.element.style.position == 'fixed') {
69 site.style.paddingTop = ((parseInt(site.style.paddingTop) || 0) - item.element.offsetHeight) + 'px';
73 item.element.style.position = 'relative';
74 item.element.style.top = null;
75 item.element.style.zIndex = null;
129 var style = window.getComputedStyle(elem);
131 if (style.display != 'none') {
137 elem.style.opacity = 0;
138 parentElem.style.position = 'relative';
141 spanElem.style.left = Math.floor(fileRect.left - parentRect.left) + 'px';
142 spanElem.style.width = Math.floor(fileRect.right - fileRect.left) + 'px';
170 sibling.style.display = 'none';
180 sibling.style.display = 'none';
182 sibling.style.display = 'block';
240 elem.style.fontSize = '80%';
257 if (mutation.type === 'attributes' && mutation.attributeName == 'style' && mutation.target && mutation.target.style.height) {
258 mutation.target.style.height = '';
507 objCollapse.style.overflow = 'hidden';
508 objCollapse.style.height = 0;
509 objCollapse.style.paddingTop = 0;
510 objCollapse.style.paddingBottom = 0;
511 objCollapse.style.marginTop = 0;
512 objCollapse.style.marginBottom = 0;
514 objCollapse.style.boxSizing = 'border-box';
515 objCollapse.style.transitionProperty = "height, margin, padding";
516 objCollapse.style.transitionDuration = '500ms';
517 objCollapse.style.height = height + 'px';
518 objCollapse.style.removeProperty('padding-top');
519 objCollapse.style.removeProperty('padding-bottom');
520 objCollapse.style.removeProperty('margin-top');
521 objCollapse.style.removeProperty('margin-bottom');
523 objCollapse.style.removeProperty('height');
524 objCollapse.style.removeProperty('overflow');
525 objCollapse.style.removeProperty('transition-duration');
526 objCollapse.style.removeProperty('transition-property');
527 objCollapse.style.removeProperty('box-sizing');
530 objCollapse.style.transitionProperty = 'height, margin, padding';
531 objCollapse.style.transitionDuration = '500ms';
532 objCollapse.style.boxSizing = 'border-box';
533 objCollapse.style.height = objCollapse.offsetHeight + 'px';
535 objCollapse.style.overflow = 'hidden';
536 objCollapse.style.height = 0;
537 objCollapse.style.paddingTop = 0;
538 objCollapse.style.paddingBottom = 0;
539 objCollapse.style.marginTop = 0;
540 objCollapse.style.marginBottom = 0;
544 objCollapse.style.removeProperty('height');
545 objCollapse.style.removeProperty('padding-top');
546 objCollapse.style.removeProperty('padding-bottom');
547 objCollapse.style.removeProperty('margin-top');
548 objCollapse.style.removeProperty('margin-bottom');
549 objCollapse.style.removeProperty('overflow');
550 objCollapse.style.removeProperty('transition-duration');
551 objCollapse.style.removeProperty('transition-property');
552 objCollapse.style.removeProperty('box-sizing');
583 elem.style.backgroundImage = 'url(\'' + str + '\')';
588 elem.insertAdjacentHTML('afterend', '<div class="mikio-hero-image mikio-hero-image-resize" style="background-image:url(\'' + str + '\');"></div>');
597 elem.style.backgroundColor = colors[0];
602 elem.style.color = colors[1];
608 elem.style.color = colors[2];
615 elem.style.color = colors[3];
619 elem.style.color = colors[3];
620 elem.onmouseover = function () { this.style.color = (colors.length > 4 ? colors[4] : 'initial'); };
621 elem.onmouseout = function () { this.style.color = colors[3]; };
652 elem.style.display = 'none';
662 prev.style.opacity = 1;
673 prev.style.opacity = 1;
683 prev.style.opacity = '';