Website generation with Couscous

This commit is contained in:
Milos Stojanovic
2022-01-30 09:43:22 +01:00
parent fd5ad45244
commit 2af0a528bc

View File

@@ -156,6 +156,8 @@
<li><code>swedish</code></li>
<li><code>japanese</code></li>
<li><code>slovenian</code></li>
<li><code>hebrew</code></li>
<li><code>romanian</code></li>
</ul>
<p>Please help us translating FileGator to your language by submitting a Pull Request on GitHub.</p>
<h2 id="how-to-translate">How to translate</h2>
@@ -240,6 +242,65 @@
export default data
</code></pre>
<h2 id="rtl-support">RTL support</h2>
<p>Thanks to @yaniv1983 who provided these RTL tweaks for hebrew language in <a href="https://github.com/filegator/filegator/issues/301">#301</a>.</p>
<p>To enable RTL support, simply add tihs to your configuration.php 'add_to_head' section:</p>
<pre><code>&lt;style&gt;
body {
direction: rtl;
color: #000000;
}
.search-btn[data-v-081c0a81] {
margin-left: 10px;
margin-right: unset;
}
#multi-actions a[data-v-081c0a81] {
margin: 0 0 15px 15px;
}
.dropdown .dropdown-menu .has-link a, a.dropdown-item, button.dropdown-item {
padding-left: 3rem;
padding-right: unset;
text-align: right;
}
table td:not([align]), table th:not([align]) {
text-align: right;
}
.b-table .table th .th-wrap .icon {
margin-left: 0;
margin-right: .5rem;
font-size: 1rem;
}
.b-table .table th .th-wrap.is-numeric {
flex-direction: unset;
text-align: right;
}
.progress-icon[data-v-07f55d0a] {
margin-right: 15px;
margin-left: unset;
}
.progress-items[data-v-07f55d0a] {
overflow-y: hidden;
margin-left: -100px;
padding-left: 100px;
max-height: 300px;
margin-right: unset;
padding-right: unset;
}
.navbar-burger {
margin-left: unset;
margin-right: auto;
}
@media screen and (min-width: 1024px) {
.navbar-end {
justify-content: flex-end;
margin-right: auto;
margin-left: unset;
}}
@media (min-width: 1088px) {
.logo img[data-v-cd57c856] {
max-height: 3.5rem !important;
}}
&lt;/style&gt;</code></pre>
</section>
</div>