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

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

Issue 15969014: History: Update managed user history page (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Minor fixes Created 7 years, 6 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 695a957ae9ff52f2edbb7dde4d28e1f6a15abff6..a47a70e4a6f5f8971cfcd3354b4be2a148e01ee0 100644
--- a/chrome/browser/resources/history/history.css
+++ b/chrome/browser/resources/history/history.css
@@ -6,6 +6,10 @@ html[dir='rtl'] body.uber-frame > .page {
-webkit-margin-end: 0;
}
+body.uber-frame > .page.big-topbar-page {
+ padding-top: 78px;
+}
+
#top-container {
margin-top: 16px;
overflow: auto;
@@ -51,6 +55,8 @@ html[dir='rtl'] #notification-bar.alone {
}
#filter-controls {
+ margin-bottom: 4px;
+ margin-top: 4px;
overflow: auto;
}
@@ -74,7 +80,7 @@ html[dir='rtl'] #editing-controls {
html[dir='rtl'] #range-today,
html[dir='rtl'] #range-previous,
html[dir='rtl'] #range-next {
- float: left;
+ float: right;
}
#range-next img,
@@ -88,18 +94,123 @@ html[dir='rtl'] #range-next {
opacity: 0.4;
}
+html[dir='rtl'] #range-next img,
+#range-previous img {
+ -webkit-transform: scalex(-1);
+}
+
+html[dir='rtl'] #range-previous img {
+ -webkit-transform: scaleX(1);
+}
+
+#range-today {
+ -webkit-margin-end: 10px;
+}
+
+#range-today,
+#range-previous,
+#range-next {
+ float: left;
+ padding-bottom: 4px;
+ padding-top: 4px;
+}
+
+html[dir='rtl'] #range-previous {
+ border-radius: 0 2px 2px 0;
+}
+
+html[dir='rtl'] #range-next {
+ border-left: 1px solid rgba(80, 80, 80, 0.20);
+ border-radius: 2px 0 0 2px;
+}
+
+html[dir='rtl'] #range-next:disabled {
+ border-right: 1px solid rgba(0, 0, 0, 0.25);
+}
+
+#range-next {
+ -webkit-border-start: 1px solid rgba(0, 0, 0, 0.25);
+ -webkit-margin-start: -1px;
+ border-bottom-left-radius: 0;
+ border-top-left-radius: 0;
+}
+
+#range-previous {
+ -webkit-margin-end: 0;
+ border-bottom-right-radius: 0;
+ border-top-right-radius: 0;
+}
+
#display-filter-controls {
float: right;
}
-#display-filter-controls > * {
- -webkit-margin-start: 8px;
+html[dir='rtl'] #display-filter-controls {
+ float: left;
}
-#display-filter-controls > *:not(:last-child) {
- -webkit-border-end: 1px solid rgb(151, 156, 160);
- -webkit-margin-start: 0;
- padding: 0 6px 0 6px;
+.display-filter-button {
+ float: left;
+}
+
+html[dir='rtl'] .display-filter-button {
+ float: right;
+}
+
+#display-filter-controls label input[type='radio'] {
+ display: none;
+}
+
+#display-filter-controls label span {
+ -webkit-align-items: flex-start;
+ -webkit-appearance: none;
+ -webkit-user-select: none;
+ background-color: buttonface;
+ background-image: -webkit-linear-gradient(rgb(237, 237, 237),
+ rgb(237, 237, 237) 38%,
+ rgb(222, 222, 222));
+ border: 1px solid rgba(0, 0, 0, 0.25);
+ border-radius: 0;
+ box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08),
+ inset 0 1px 2px rgba(255, 255, 255, 0.75);
+ box-sizing: border-box;
+ color: rgb(68, 68, 68);
+ cursor: default;
+ display: inline-block;
+ letter-spacing: normal;
+ line-height: 2em;
+ margin-left: -1px;
+ margin-right: -1px;
+ min-height: 2em;
+ min-width: 4em;
+ text-align: center;
+ text-indent: 0;
+ text-shadow: 0 1px 0 rgb(240, 240, 240);
+ text-transform: none;
+ vertical-align: middle;
+ word-spacing: normal;
+}
+
+html[dir='rtl'] #display-filter-controls label span.last-button-component,
+#display-filter-controls label span.first-button-component {
+ border-bottom-left-radius: 2px;
+ border-top-left-radius: 2px;
+ margin-left: 0;
+}
+
+html[dir='rtl'] #display-filter-controls label span.first-button-component,
+#display-filter-controls label span.last-button-component {
+ border-bottom-right-radius: 2px;
+ border-top-right-radius: 2px;
+ margin-right: 0;
+}
+
+#display-filter-controls input:checked ~ span {
+ background-image: -webkit-linear-gradient(rgb(185, 185, 185),
+ rgb(216, 216, 216) 38%,
+ rgb(167, 167, 167));
+ border-left-color: rgb(173, 173, 173);
+ border-right-color: rgb(173, 173, 173);
}
#results-display {
@@ -134,6 +245,10 @@ html[dir='rtl'] #range-next {
width: 45px;
}
+.no-checkboxes .gap {
+ width: 25px;
+}
+
.entry-box,
.site-domain-wrapper {
-webkit-align-items: center;
@@ -205,7 +320,6 @@ h2.timeframe {
display: none;
}
-
html[dir='rtl'] .number-visits {
/* This element contains parentheses, which without the unicode-bidi: embed
* directive would show up incorrectly (e.g. '(www.google.com (5'). Using
@@ -232,6 +346,10 @@ html[dir='rtl'] .site-domain {
background-position-x: right;
}
+.no-checkboxes .entry .time {
+ min-width: 68px;
+}
+
.entry .time {
color: rgb(151, 156, 160);
min-width: 55px;
@@ -250,6 +368,11 @@ html[dir='rtl'] .entry .time {
min-width: 85px;
}
+.no-checkboxes.search-results .time,
+.no-checkboxes.month-results .time {
+ min-width: 90px;
+}
+
.entry input[type='checkbox'] {
-webkit-margin-end: 6px;
-webkit-margin-start: 4px;
@@ -279,9 +402,7 @@ html[dir='rtl'] .entry .time {
}
.filter-status {
- display: -webkit-flex;
- -webkit-flex: 1 0 auto;
- -webkit-justify-content: flex-end;
+ -webkit-margin-start: 10px;
}
.filter-status > div {
@@ -313,8 +434,8 @@ html[dir='rtl'] .entry .time {
}
.filter-blocked {
- border: 1px solid rgb(211, 0, 0);
- background-color: rgb(255, 147, 105);
+ border: 1px solid rgb(207, 207, 207);
+ background-color: rgb(231, 231, 231);
color: rgb(54, 54, 54);
}
@@ -336,10 +457,6 @@ html[dir='rtl'] .entry .time {
}
</if>
-#range-previous img {
- -webkit-transform: scaleX(-1);
-}
-
.entry-box {
background-color: none;
}
@@ -354,7 +471,7 @@ html[dir='rtl'] .entry .time {
display: -webkit-flex;
}
-.entry .title-and-domain {
+.entry .visit-entry {
display: -webkit-flex;
min-width: 0;
}
@@ -366,7 +483,7 @@ html[dir='rtl'] .entry .time {
white-space: nowrap;
}
-.entry .title-and-domain,
+.entry .visit-entry,
.site-domain {
/* Make room for the favicon. */
-webkit-padding-start: 20px;
@@ -377,7 +494,7 @@ html[dir='rtl'] .entry .time {
background-size: 16px;
}
-html[dir='rtl'] .entry .title-and-domain,
+html[dir='rtl'] .entry .visit-entry,
html[dir='rtl'] .site-domain {
background-position-x: right;
}
@@ -467,7 +584,6 @@ body:not(.has-results) #results-pagination {
float: right;
}
-
html[dir='rtl'] #older-button {
float: left;
}

Powered by Google App Engine
This is Rietveld 408576698