semantic-org / semantic-ui-ar Goto Github PK
View Code? Open in Web Editor NEWسيمانتك يو آي تزيد فاعلية العمل بين المصممين و المطورين من خلال مفردات ذات دلالة لفظية مشتركة لبناء واجهة المستخدم
License: MIT License
سيمانتك يو آي تزيد فاعلية العمل بين المصممين و المطورين من خلال مفردات ذات دلالة لفظية مشتركة لبناء واجهة المستخدم
License: MIT License
(original post by MohammadYounes)
Semantic-Org/Semantic-UI#442
When I viewed the feed example page in RTL, I noticed wrong alignment for some elements,
Sample:
I was able to fix this:
The fix that I applied requires the following:
body{direction:rtl}
.rtl
in case the user need to present RTL content inside a LTR view. in this case the test function could be:is: {
rtl: function () {
return $(document.body).css('direction') == 'rtl' || $module.hasClass("rtl");
}
}
The RTL build is totally dependent on CSSJanus, which is good but not enough. as in some cases, RTL handling need to be done in java script too, for example sidebar get.direction
method:
get: {
direction: function() {
if($module.hasClass(className.top)) {
return className.top;
}
else if($module.hasClass(className.right)) {
//reverse direction if RTL
return module.is.rtl() ? className.left : className.right;
}
else if($module.hasClass(className.bottom)) {
return className.bottom;
}else {
//reverse direction if RTL
return module.is.rtl() ? className.right : className.left;
}
},
Before committing any of my changes regarding RTL handling, I'd like to know your thoughts on this so I can be aligned with your library guidelines.
Could you plz recompile semantic-ui-ar for semantic-ui 1.7.3?
The inputs shadow is generated in the build left aligned (the packaged one)
here how it shows when used
unlike documentation http://semantic-ui.me/collections/form.html where its right aligned
Hi
Thanks for your great job, is there any RTL verion of SUI v1.0 available ?
What is the progress of this project?
thanks
aren't you continue to support Arabic version? the latest release of arabic version related to Jul 4, 2014 when its update for original version on August 10, 2015.
To start off, thank you for the great css component framework. We shifted our open source software from bootstrap to semantic ui about a year ago. Demo here:
Could you please share the documentation or first step guide to setup RTL support in Semantic UI? The official semantic ui page looks a little incomplete to me:
Help.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.