Skip to content

Commit

Permalink
Fix Bug 1118368 - Adjust the style of the Thunderbird start page to a…
Browse files Browse the repository at this point in the history
…ccommodate various locales
  • Loading branch information
kyoshino committed Jan 12, 2015
1 parent 83f97c8 commit 9caf848
Showing 1 changed file with 23 additions and 4 deletions.
27 changes: 23 additions & 4 deletions media/css/thunderbird/start.less
Expand Up @@ -70,12 +70,23 @@ section h2.iconic {
} }
} }


footer a {
display: inline-block;
-moz-padding-start: 25px;
padding-start: 25px;

&:before {
-moz-margin-start: -25px;
margin-start: -25px;
}
}

footer a, footer a,
section a.iconic { section a.iconic {
&:before { &:before {
display: inline-block; display: inline-block;
-moz-margin-end: .5ex; -moz-margin-end: 5px;
margin-end: .5ex; margin-end: 5px;
width: 20px; width: 20px;
height: 20px; height: 20px;
background-image: url('/media/img/thunderbird/start/sprite.png'); background-image: url('/media/img/thunderbird/start/sprite.png');
Expand Down Expand Up @@ -210,9 +221,13 @@ footer {


@media (min-width: 1024px) { @media (min-width: 1024px) {
footer li { footer li {
width: 33%; width: 50%;
min-width: 10em; min-width: 10em;
} }

[lang|="en"] footer li {
width: 33%;
}
} }


@media (min-width: 800px) and (max-width: 1023px) { @media (min-width: 800px) and (max-width: 1023px) {
Expand Down Expand Up @@ -280,10 +295,14 @@ footer {


@media (min-width: 480px) and (max-width: 639px) { @media (min-width: 480px) and (max-width: 639px) {
footer li { footer li {
width: 33%; width: 50%;
min-width: 10em; min-width: 10em;
} }


[lang|="en"] footer li {
width: 33%;
}

[dir="ltr"] footer li { [dir="ltr"] footer li {
float: left; float: left;
} }
Expand Down

0 comments on commit 9caf848

Please sign in to comment.