Page 1 of 1

Supporting RTL

Posted: 12 Aug 2018, 05:40
by tooot
Hi,

Is there any plan to support RTL ?
And regarding horizontal menu, Is there any way to switch menu starting from right side not from left ?

Re: Supporting RTL

Posted: 28 Aug 2018, 20:46
by cagatay.civici
We'll start RTL work this week actually, until then following can give an idea.

Code: Select all

.layout-wrapper.layout-menu-horizontal .layout-sidebar .layout-menu > li {
   float: right;
}

.layout-wrapper.layout-menu-horizontal .layout-sidebar .layout-menu > li > ul {
    top: 40px;
    right: 0;
    min-width: 250px;
    position: absolute;
    padding: 10px;
    margin: 0;
    overflow: auto;
    max-height: 450px;
    -webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
    -moz-border-radius-bottomleft: 3px;
    -webkit-border-bottom-left-radius: 3px;
    border-bottom-left-radius: 3px;
    -moz-border-radius-bottomright: 3px;
    -webkit-border-bottom-right-radius: 3px;
    border-bottom-right-radius: 3px;
  }
  
  .layout-wrapper.layout-menu-horizontal .layout-sidebar .layout-menu > li > ul li a {
    padding: 10px 20px;
    text-align: right;
}
Image