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

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: 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..57eca0fe7464c0e975618559ead4a7cd66cae7f0 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;
+}
+
h2.timeframe {
font-size: 1.5em;
}
@@ -150,6 +155,12 @@ h2.timeframe {
display: none;
}
+
+html[dir='rtl'] .number-visits {
+ direction: rtl;
+ unicode-bidi: embed;
+}
+
.number-visits {
color: rgb(151, 156, 160);
}
@@ -178,7 +189,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 +261,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 +276,14 @@ html[dir='rtl'] .entry .title {
-webkit-transform: rotate(90deg);
}
+html[dir='rtl'] .site-domain-arrow {
+ -webkit-transform: scaleX(-1);
+}
+
+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