[www-doc] [PATCH] Restore RTL in main menu

Jean-Baptiste Kempf jb at videolan.org
Thu Jan 14 14:12:56 CET 2016


Looks good, please apply.

On 14 Jan, Christoph Miebach wrote :
> ---
>  www.videolan.org/style/style.scss | 45 +++++++++++++++++++++++++--------------
>  1 file changed, 29 insertions(+), 16 deletions(-)
> 
> diff --git a/www.videolan.org/style/style.scss b/www.videolan.org/style/style.scss
> index c91c2cd..41a97f5 100644
> --- a/www.videolan.org/style/style.scss
> +++ b/www.videolan.org/style/style.scss
> @@ -595,16 +595,6 @@ html[dir="rtl"] .projectLeft {
>  
>  /* LTR vs. RTL */
>  
> -.ltrFloatLeft
> -{
> -    float: left;
> -}
> -
> -html[dir="rtl"] .ltrFloatLeft
> -{
> -    float: right;
> -}
> -
>  .ltrFloatRight
>  {
>      float: right;
> @@ -684,12 +674,6 @@ html[dir="rtl"] #nav .link:hover ul li a
>      float: left;
>  }
>  
> -html[dir="rtl"] #nav ul li a
> -{
> -    padding-left:   0px;
> -    padding-right: 10px;
> -}
> -
>  html[dir="rtl"] #bodyInner
>  {
>      text-align: right;
> @@ -776,6 +760,35 @@ html[dir="rtl"] a.extraInfoLink[style]
>      float: right;
>  }
>  
> +
> +/* Fixing RTL in the menu for the new design */
> +html[dir="rtl"] #nav .navbar-header
> +{
> +    float: right;
> +}
> +
> +html[dir="rtl"] #nav ul
> +{
> +    float: right;
> +
> +    left: inherit;
> +    right: 0;
> +}
> +
> +html[dir="rtl"] #nav ul.pull-right
> +{
> +    float: left!important;
> +}
> +
> +/*
> +Sorting the li items RTL
> +*/
> +html[dir="rtl"] #main-navbar li
> +{
> +    float: right;
> +}
> +
> +
>  /* ========================== Bootstrap backward compatibility ========================= */
>  img, .normalButton {
>    -webkit-box-sizing: content-box;
> -- 
> 1.9.1
> 
> _______________________________________________
> www-doc mailing list
> www-doc at videolan.org
> https://mailman.videolan.org/listinfo/www-doc

-- 
With my kindest regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device



More information about the www-doc mailing list