Fix margin around form labels on RTL languages

This commit is contained in:
Thomas Hounsell 2017-04-13 09:57:06 +01:00
parent 743f61ad50
commit 8961c60394
3 changed files with 13 additions and 4 deletions

View File

@ -1,2 +1,2 @@
nav#page-navigation #page-navigation-links{text-align:left}nav#page-navigation #page-navigation-links>li>a{text-align:right}.dropdown-parent .dropdown-menu{text-align:right}.form-group label{text-align:left}footer#page-footer .footer-flex .footer-flex-item:last-child{text-align:left}footer#page-footer .footer-flex .footer-flex-item:first-child{text-align:right}@media (max-width:640px){footer#page-footer .footer-flex .footer-flex-item:first-child{text-align:center}footer#page-footer .footer-flex .footer-flex-item:last-child{text-align:center}}
nav#page-navigation #page-navigation-links{text-align:left}nav#page-navigation #page-navigation-links>li>a{text-align:right}.dropdown-parent .dropdown-menu{text-align:right}.form-group label{text-align:left}.form-group>label{margin-right:0;margin-left:1em}footer#page-footer .footer-flex .footer-flex-item:last-child{text-align:left}footer#page-footer .footer-flex .footer-flex-item:first-child{text-align:right}@media (max-width:640px){footer#page-footer .footer-flex .footer-flex-item:first-child{text-align:center}footer#page-footer .footer-flex .footer-flex-item:last-child{text-align:center}}
/*# sourceMappingURL=rtl.css.map */

View File

@ -1 +1 @@
{"version":3,"sources":["rtl.scss"],"names":[],"mappings":"AAAA,2CAEG,WAAA,KAFH,gDAMM,WAAA,MAIN,gCAEG,WAAA,MAGH,kBAEG,WAAA,KAGH,6DAKM,WAAA,KALN,8DAUM,WAAA,MAIN,yBAEG,8DAIM,WAAA,OAJN,6DASM,WAAA","file":"rtl.css","sourcesContent":["nav#page-navigation #page-navigation-links\r\n{\r\n text-align: left;\r\n\r\n > li > a\r\n {\r\n text-align: right;\r\n }\r\n}\r\n\r\n.dropdown-parent .dropdown-menu\r\n{\r\n text-align: right;\r\n}\r\n\r\n.form-group label\r\n{\r\n text-align: left;\r\n}\r\n\r\nfooter#page-footer .footer-flex .footer-flex-item\r\n{\r\n\r\n &:last-child\r\n {\r\n text-align: left;\r\n }\r\n\r\n &:first-child\r\n {\r\n text-align: right;\r\n }\r\n}\r\n\r\n@media (max-width: 640px)\r\n{\r\n footer#page-footer .footer-flex .footer-flex-item\r\n {\r\n &:first-child\r\n {\r\n text-align: center;\r\n }\r\n\r\n &:last-child\r\n {\r\n text-align: center;\r\n }\r\n }\r\n}\r\n"]}
{"version":3,"sources":["rtl.scss"],"names":[],"mappings":"AAAA,2CAEG,WAAA,KAFH,gDAMM,WAAA,MAIN,gCAEG,WAAA,MAGH,kBAIM,WAAA,KAJN,kBASM,aAAA,EACA,YAAA,IAIN,6DAKM,WAAA,KALN,8DAUM,WAAA,MAIN,yBAEG,8DAIM,WAAA,OAJN,6DASM,WAAA","file":"rtl.css","sourcesContent":["nav#page-navigation #page-navigation-links\r\n{\r\n text-align: left;\r\n\r\n > li > a\r\n {\r\n text-align: right;\r\n }\r\n}\r\n\r\n.dropdown-parent .dropdown-menu\r\n{\r\n text-align: right;\r\n}\r\n\r\n.form-group\r\n{\r\n label\r\n {\r\n text-align: left;\r\n }\r\n\r\n > label\r\n {\r\n margin-right: 0;\r\n margin-left: 1em;\r\n }\r\n}\r\n\r\nfooter#page-footer .footer-flex .footer-flex-item\r\n{\r\n\r\n &:last-child\r\n {\r\n text-align: left;\r\n }\r\n\r\n &:first-child\r\n {\r\n text-align: right;\r\n }\r\n}\r\n\r\n@media (max-width: 640px)\r\n{\r\n footer#page-footer .footer-flex .footer-flex-item\r\n {\r\n &:first-child\r\n {\r\n text-align: center;\r\n }\r\n\r\n &:last-child\r\n {\r\n text-align: center;\r\n }\r\n }\r\n}\r\n"]}

View File

@ -13,9 +13,18 @@
text-align: right;
}
.form-group label
.form-group
{
text-align: left;
label
{
text-align: left;
}
> label
{
margin-right: 0;
margin-left: 1em;
}
}
footer#page-footer .footer-flex .footer-flex-item