Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: skin/new-options.css

Issue 29519636: Issue 5538 - Implement "Help" tab for new options page (Closed)
Patch Set: Created Aug. 25, 2017, 10:54 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « new-options.js ('k') | skin/social/facebook.svg » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skin/new-options.css
===================================================================
--- a/skin/new-options.css
+++ b/skin/new-options.css
@@ -425,7 +425,6 @@
button[role="checkbox"],
#dialog-body .table button[role="checkbox"],
.table button.delete,
-#content-help a::before,
#dialog-close::before,
#all-filter-lists-table .arrow,
.context-menu .content a::before
@@ -466,7 +465,7 @@
width: 12px;
}
-#content-help a::before
+#dialog-body button::before
{
background-position: 0px -42px;
content: "";
@@ -898,37 +897,54 @@
Help tab content
*/
-#content-help
+html:not([lang="zh"]) #social-chinese,
+html[lang="zh"] #social-general
{
- counter-reset: section;
+ display: none;
}
-#content-help h1::before
+#social ul
{
- counter-increment: section;
- content: counter(section) ". ";
+ list-style: none;
}
-#content-help a
+#social ul li
{
- color: #3A7BA6;
display: inline-block;
- text-decoration: none;
- -moz-margin-end: 16px;
- -webkit-margin-end: 16px;
- vertical-align: top;
}
-#content-help a::before
+#social ul li a
{
- -moz-margin-end: 6px;
- -webkit-margin-end: 6px;
+ display: block;
+ text-align: center;
}
-#share-general:lang(zh),
-#share-chinese:not(zh)
+#social ul li a::before
{
- display: none;
+ display: block;
+ margin: 0em auto;
+ width: 2.5rem;
+ height: 2.5rem;
+ content: "";
+ background-color: #099DD1;
+}
+
+#twitter::before
+{
+ -webkit-mask: url("social/twitter.svg");
+ mask: url("social/twitter.svg");
+}
+
+#facebook::before
+{
+ -webkit-mask: url("social/facebook.svg");
+ mask: url("social/facebook.svg");
+}
+
+#google-plus::before
+{
+ -webkit-mask: url("social/googleplus.svg");
+ mask: url("social/googleplus.svg");
}
/*
« no previous file with comments | « new-options.js ('k') | skin/social/facebook.svg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld