if (_didInit === false) this.setup();
var listItem = elCreate('li');
+ button.classList.add('button');
+ button.classList.add('buttonPrimary');
listItem.appendChild(button);
elAttr(listItem, 'aria-hidden', (buttonName === 'toTop' ? 'true' : 'false'));
elData(listItem, 'name', buttonName);
button.className = 'jsTooltip';
button.href = '#';
elAttr(button, 'title', Language.get('wcf.global.scrollUp'));
- button.innerHTML = '<span class="icon icon16 fa-arrow-up"></span>';
+ button.innerHTML = '<span class="icon icon32 fa-angle-up"></span>';
button.addEventListener(WCF_CLICK_EVENT, this._jump.bind(this));
position: relative;
text-align: left;
text-overflow: ellipsis;
+ text-transform: initial;
white-space: nowrap;
&::after {
cursor: pointer;
display: inline-block;
outline: none;
- padding: 6px 12px;
+ padding: 8px 18px;
text-decoration: none;
// input elements do not inherit font family, size and line-height from body
}
&.small {
- padding: 4px 7px;
+ padding: 6px 8px;
+ text-transform: initial;
@include wcfFontSmall;
}
+
+ &:not(.inputPrefix) {
+ text-transform: uppercase;
+ }
}
button.buttonPrimary,
@include inlineList;
&.smallButtons .button {
- padding: 5px 7px;
+ padding: 6px 8px;
+ text-transform: initial;
@include wcfFontSmall;
}
}
.pageAction {
- bottom: 20px;
+ bottom: 10px;
position: fixed;
- right: 20px;
+ right: 10px;
z-index: 400;
@include inlineList;
visibility: hidden;
}
- > a {
- background-color: rgba(0, 0, 0, .7);
- border-radius: 2px;
- color: rgba(224, 224, 224, 1);
- padding: 5px 10px;
-
- > .icon {
- color: inherit;
- }
- }
-
- > a:hover,
- &.dropdownOpen > a {
- background-color: rgba(0, 0, 0, 1);
- color: rgba(255, 255, 255, 1);
+ &.toTop > a {
+ padding: 2px;
}
}
}