Files
djangocms/static/admin/assets/pug/pages/theme/layout-rtl.pug
T
2024-12-13 08:31:39 +07:00

97 lines
4.4 KiB
Plaintext

- var prism = true;
- var clipboard = true;
- var customcard = true;
- var theme_customizer = true;
- var tooltip = true;
- var sidebar = true;
- var slick = true;
- var header_slider = true;
- var animate = true;
- var scrollbar = true;
doctype html
html(lang='en', dir='rtl')
include ../../components/header-files
body.rtl
include ../../components/taptop
// page-wrapper Start
#pageWrapper.page-wrapper.compact-wrapper
include ../../components/header
// Page Body Start
.page-body-wrapper
include ../../components/sidebar
.page-body
.container-fluid
.page-title
.row
.col-6
h3
| RTL Layout
.col-6
ol.breadcrumb
li.breadcrumb-item
a(href='index.html')
svg.stroke-icon
use(href='../assets/svg/icon-sprite.svg#stroke-home')
li.breadcrumb-item Page Layout
li.breadcrumb-item.active RTL Layout
// Container-fluid starts
.container-fluid
.row
.col-sm-12
.card.alert.alert-primary(role='alert')
h5 Tip!
p Add the dir="rtl" to the html tag to get this layout.
.col-sm-12
.card
.card-header
h5 How to use it?
.card-header-right
ul.list-unstyled.card-option
li
i.fa.fa-spin.fa-cog
li
i.view-html.fa.fa-code
li
i.icofont.icofont-maximize.full-card
li
i.icofont.icofont-minus.minimize-card
li
i.icofont.icofont-refresh.reload-card
li
i.icofont.icofont-error.close-card
.card-body
h5 Step 1
p On this layout, First of all you have to add the class rtl attribute in body tag
h5 Step 2
p Contents are change right to left from left to right respectively
h5 Step 3
p
| when you want to change spacing left to right at that right left spacing you have to unset css and apply right spacing in css
h5 Step 4
p
| Sometimes js are not change directly with text-align css,so that time you have to copy js and change the class as rtl="true".
.code-box-copy
button.code-box-copy__btn.btn-clipboard(data-clipboard-target='#example-head', title='Copy')
i.icofont.icofont-copy-alt
pre
code.language-html#example-head
| <!-- Cod Box Copy begin -->
| <div class="card-body">
| <h5>Step 1</h5>
| <p>On this layout, First of all you have to add the class rtl in body tag</p>
| <h5>Step 2</h5>
| <p>Contents are change right to left from left to right respectively</p>
| <h5>Step 3</h5>
| <p>when you want to change spacing left to right at that right left spacing you have to unset css and apply right spacing in css</p>
| <h5>Step 4</h5>
| <p>Sometimes js are not change directly with text-align css,so that time you have to copy js and change the class as rtl="true".</p>
| </div>
| <!-- Cod Box Copy end -->
.card-footer
h6.mb-0 Card Footer
// Container-fluid Ends
include ../../components/footer
include ../../components/footer-files