Code: Select all
.rtl {
--text-shadow: -1px 1px 0 hsla(0, 0%, 0%, 0.2);
--content-flow-start: right;
--blockquote-icon: '\f10e';
--rtl-scale-x: scaleX(-1);
}
Code: Select all
// This works for focus, but still does not allow default
// .dropdown-trigger spans to open the menu via keyboard!
// They still require an actual click to open the menu.
const spanTriggers = document.querySelectorAll('span.dropdown-trigger');
for (const spanTrigger of spanTriggers) {
spanTrigger.setAttribute('tabindex', '0');
}
Code: Select all
// This gets rid of all default phpBB positive tabindex values!
const tabPositives = document.querySelectorAll("[tabindex]");
for (const tabPositive of tabPositives) {
if (tabPositive.tabIndex > 0) {
tabPositive.setAttribute('tabindex', '0');
}
}
Code: Select all
<!-- IF CAPTCHA_TEMPLATE and S_CONFIRM_CODE -->
<!-- DEFINE $CAPTCHA_TAB_INDEX = 3 -->
<!-- INCLUDE {CAPTCHA_TEMPLATE} -->
<!-- ENDIF -->
Code: Select all
<!-- ELSE IF not S_USER_LOGGED_IN -->
<!-- IF not S_IN_UCP and not S_IN_MEMBERLIST -->
<li class="listlevel1" id="nav_login">
<form action="{S_LOGIN_ACTION}" method="post" id="login_quick" class="login_form">
<fieldset class="fields1 quick_login">
<div class="input-wrapper">
<label for="username">{L_USERNAME}</label>
<input type="text" name="username" id="username" class="inputbox" autocomplete="username">
</div>
<div class="input-wrapper">
<label for="password">{L_PASSWORD}</label>
<input type="password" name="password" id="password" class="inputbox" autocomplete="current-password">
</div>
<a href="{U_SEND_PASSWORD}" class="send_password">
{L_FORGOT_PASS}
</a>
<!-- IF S_AUTOLOGIN_ENABLED -->
<div class="input-wrapper">
<label for="autologin" class="checkbox_label">{L_LOG_ME_IN}</label>
<input type="checkbox" id="autologin" name="autologin">
</div>
<!-- ENDIF -->
{# @Gumbootz: needs language string. #}
<input type="submit" name="login" id="quick_login" value="Log in" class="button login_button">
{S_LOGIN_REDIRECT}
{S_FORM_TOKEN_LOGIN}
</fieldset>
</form>
</li>
<!-- ENDIF -->
<!-- IF S_REGISTER_ENABLED and not (S_SHOW_COPPA or S_REGISTRATION) -->
<li id="nav_register">
<a href="{U_REGISTER}" role="menuitem" class="button register_button">
{# @Gumbootz: needs language string. #}
Register an account
</a>
</li>
<!-- ENDIF -->
<!-- ENDIF -->
Code: Select all
<ul class="topiclist forums">
<li class="header">
<h2>
<a href="./viewforum.php?f=1">Community</a>
</h2>
</li>
<li class="row">
Code: Select all
<div class="forabg">
<div class="inner">
<h2>
<a href="./viewforum.php?f=1">Community</a>
</h2>
<ul class="topiclist forums">
<li class="row">