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. 23, 2017, 5:28 p.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
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,53 @@
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
ire 2017/08/24 09:17:47 Should there be the default padding-left on this e
saroyanm 2017/08/24 13:22:28 I think no, but this will be fixed with the sectio
ire 2017/08/25 08:52:49 Acknowledged.
{
- counter-increment: section;
- content: counter(section) ". ";
+ list-style: none;
}
-#content-help a
+#social ul li
ire 2017/08/24 09:17:47 The spacing between each list item is off/inexiste
saroyanm 2017/08/24 13:22:28 Same here, I'm planing to touch this styles when s
ire 2017/08/25 08:52:50 Acknowledged.
{
- 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
ire 2017/08/24 09:17:47 The text isn't centered below the icon. Adding `te
ire 2017/08/24 09:17:48 I'm not sure that the styling of these links will
saroyanm 2017/08/24 13:22:28 I don't have strong opinion, as this styles are mi
saroyanm 2017/08/24 13:22:28 I'll update.
ire 2017/08/25 08:52:50 Acknowledged.
{
- -moz-margin-end: 6px;
- -webkit-margin-end: 6px;
+ display: block;
}
-#share-general:lang(zh),
-#share-chinese:not(zh)
+#social ul li a::before
{
- display: none;
+ display: block;
+ margin: 0em auto;
+ width: 50px;
ire 2017/08/24 09:17:47 Should this size be an em size instead? Feels like
saroyanm 2017/08/24 13:22:28 Yes, it should I'll update this.
saroyanm 2017/08/24 18:19:42 done. Root item font-size = 20px;
ire 2017/08/25 08:52:50 Acknowledged.
+ height: 50px;
+ content: "";
+ background-color: #099DD1;
+}
+
+#twitter::before
+{
+ -webkit-mask: url(social/twitter.svg);
+ mask: url(social/twitter.svg);
ire 2017/08/24 09:17:47 Would using a plain background-image (or better ye
ire 2017/08/24 09:17:47 NIT: quotes (") around the url
saroyanm 2017/08/24 13:22:28 Yes, I did it this way as the images are missing c
saroyanm 2017/08/24 13:22:28 Well spotted I'll change.
saroyanm 2017/08/24 18:19:42 Done.
ire 2017/08/25 08:52:50 Acknowledged.
+}
+
+#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);
}
/*
« new-options.html ('K') | « new-options.js ('k') | skin/options-sprite.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld