summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/new_new_tab.css
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/resources/new_new_tab.css')
-rw-r--r--chrome/browser/resources/new_new_tab.css31
1 files changed, 29 insertions, 2 deletions
diff --git a/chrome/browser/resources/new_new_tab.css b/chrome/browser/resources/new_new_tab.css
index 6ef25c5..2630d79 100644
--- a/chrome/browser/resources/new_new_tab.css
+++ b/chrome/browser/resources/new_new_tab.css
@@ -261,7 +261,23 @@ html[dir=rtl] #option-menu > [command=hide]:before {
}
#attribution {
- margin: 10px 0;
+ position: fixed;
+ right: 5px;
+ bottom: 5px;
+ text-align: end;
+}
+
+html[dir=rtl] #attribution {
+ left: 5px;
+ right: auto;
+}
+
+#attribution.obscured {
+ opacity: 0.3;
+}
+
+html[hasattribution=false] #attribution > div {
+ display: none;
}
.sync-button {
@@ -303,6 +319,12 @@ html[dir=rtl] #option-menu > [command=hide]:before {
top: 4px;
}
+html[dir=rtl] .section > h2 > .disclosure {
+ left: auto;
+ right: -15px;
+ -webkit-transform: rotate(180deg);
+}
+
.section:not(.hidden) > h2 > .disclosure {
-webkit-transform:rotate(90deg);
}
@@ -317,7 +339,7 @@ html[dir=rtl] #option-menu > [command=hide]:before {
}
.section > h2 span {
- padding-right: 5px;
+ -webkit-padding-end: 5px;
position: relative;
z-index: 2;
}
@@ -331,6 +353,11 @@ html[dir=rtl] #option-menu > [command=hide]:before {
z-index: 3;
}
+html[dir=rtl] .section > h2 .settings-wrapper {
+ left: 0;
+ right: auto;
+}
+
.section > h2 .settings {
position: absolute;
left: 5px;