Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2563)

Unified Diff: chrome/browser/resources/history/history.css

Issue 12039045: History: Fix RTL layout in grouped history and some other minor fixes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More fixes Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/history/history.css
diff --git a/chrome/browser/resources/history/history.css b/chrome/browser/resources/history/history.css
index 74d2e3de979955bd78f771d45512ccbae51c1a85..971dcd7442d1d67fc82dd0fc57cbf3a8de9d9c8f 100644
--- a/chrome/browser/resources/history/history.css
+++ b/chrome/browser/resources/history/history.css
@@ -101,7 +101,8 @@ body:not(.uber-frame) {
cursor: pointer;
}
-html[dir=rtl] .entry-box {
+html[dir=rtl] .entry-box,
+html[dir=rtl] .site-domain-wrapper {
float: right; /* To make the box shrink to fit its content. */
}
@@ -123,6 +124,10 @@ html[dir=rtl] .entry-box {
padding: 0;
}
+html[dir='rtl'] .site-results {
+ clear: right;
Patrick Dubroy 2013/01/30 19:23:04 Perhaps just use "clear: both" for simplicity?
Sergiu 2013/02/05 18:21:23 Done.
+}
+
h2.timeframe {
font-size: 1.5em;
}
@@ -150,7 +155,15 @@ h2.timeframe {
display: none;
}
+
+html[dir='rtl'] .number-visits {
+ direction: rtl;
+ unicode-bidi: embed;
+}
+
.number-visits {
+ /* TODO(sergiu): make sure this works on rtl properly */
Patrick Dubroy 2013/01/30 19:23:04 You should remove this TODO before landing...you a
Sergiu 2013/01/30 21:12:43 Well, it works in the current version, but I'm not
Patrick Dubroy 2013/02/02 00:36:24 I think arabic numerals are understood in most loc
Sergiu 2013/02/05 18:21:23 I've tested it in Arabic now as well and there's a
+ -webkit-margin-start: 0.3em;
color: rgb(151, 156, 160);
}
@@ -178,7 +191,8 @@ h2.timeframe {
border-color: rgb(48, 57, 66);
}
-html[dir='rtl'] .entry .title {
+html[dir='rtl'] .entry .title,
+html[dir='rtl'] .site-domain {
/* Put the favicon on the right. */
background-position-x: right;
}
@@ -249,7 +263,7 @@ html[dir='rtl'] .entry .title {
.site-domain-arrow {
-webkit-transition: -webkit-transform 300ms linear;
- color: #8F8F8F;
+ color: rgb(143, 143, 143);
height: 21px;
margin-right: 2px;
text-align: center;
@@ -264,6 +278,14 @@ html[dir='rtl'] .entry .title {
-webkit-transform: rotate(90deg);
}
+html[dir='rtl'] .site-domain-arrow {
+ -webkit-transform: scaleX(-1);
Patrick Dubroy 2013/01/30 19:23:04 Maybe just do this with rotate() too? Might be a b
Sergiu 2013/02/05 18:21:23 Done.
+}
+
+html[dir='rtl'] .site-domain-arrow.expand {
+ -webkit-transform: scaleX(-1) rotate(90deg);
+}
+
.entry .starred {
-webkit-margin-start: 4px;
background: url('../../../../ui/webui/resources/images/star_small.png') no-repeat;
« no previous file with comments | « no previous file | chrome/browser/resources/history/history.js » ('j') | chrome/browser/resources/history/history.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698