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

Unified Diff: static/css/simple.css

Issue 29329984: Issue 3257 - Create uninstallation page in adblockplus.org (Closed)
Patch Set: Addressed Dave comments Created Nov. 27, 2015, 2:25 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: static/css/simple.css
===================================================================
new file mode 100644
--- /dev/null
+++ b/static/css/simple.css
@@ -0,0 +1,222 @@
+@font-face
+{
+ font-family: "Source Sans Pro";
+ src: url(/fonts/SourceSansPro-Light.woff);
+ /* local("Ø") forces using no local font called Source Sans Pro */
+ src: local("Ø"), url(/fonts/SourceSansPro-Light.woff) format("woff");
+ font-weight: 300;
+ font-style: normal;
+}
+
+@font-face
+{
+ font-family: "Source Sans Pro";
+ src: url(/fonts/SourceSansPro-Regular.woff);
+ /* local("Ø") forces using no local font called Source Sans Pro */
+ src: local("Ø"), url(/fonts/SourceSansPro-Regular.woff) format("woff");
+ font-weight: 400;
+ font-style: normal;
+}
+
+@font-face
+{
+ font-family: "Source Sans Pro";
+ src: url(/fonts/SourceSansPro-Semibold.woff);
+ /* local("Ø") forces using no local font called Source Sans Pro */
+ src: local("Ø"), url(/fonts/SourceSansPro-Semibold.woff) format("woff");
+ font-weight: 600;
+ font-style: normal;
+}
+
+body
+{
+ margin: 0px;
+ font-family: "Source Sans Pro";
Thomas Greiner 2015/11/27 19:10:14 Please specify fallback fonts in case of issues. I
saroyanm 2015/11/30 10:27:07 Done.
+ font-weight: 600;
+ background-image: url(/img/background-dark.png);
+}
+
+header
+{
+ width: 100%;
+}
+
+a,
+a:link,
+a:visited
+{
+ color: #5a84b3;
+ text-decoration: underline;
+}
+
+a:hover
+{
+ text-decoration: none;
+}
+
+header h1
+{
+ -webkit-box-sizing: border-box;
+ -moz-box-sizing: border-box;
+ -ms-box-sizing: border-box;
+ -o-box-sizing: border-box;
Thomas Greiner 2015/11/27 19:10:15 I don't see a reason why any of those vendor prefi
saroyanm 2015/11/30 10:27:07 Fare enough.
Thomas Greiner 2015/11/30 17:09:08 Again: "we no longer support any of the platforms
saroyanm 2015/11/30 18:04:44 Hmm, for some reason I was thinking we should use
+ box-sizing: border-box;
+ border: dashed 1px #898989;
+ border-left: none;
+ border-right: none;
+ padding: 18px;
+ margin: 68px auto 20px auto;
+ max-width: 960px;
+ font-weight: 300;
+ font-size: 24px;
+ color: #7d7d7d;
+ text-align: center;
+}
+
+header:before
Thomas Greiner 2015/11/27 19:10:15 Detail: Same as the comment above. This would only
saroyanm 2015/11/30 10:27:08 Done.
+{
+ content: "";
+ display: block;
+ border-bottom: solid 1px #d0d0d0;
+ height: 92px;
+ background-image: url(/img/background.png);
+}
+
+#logo
+{
+ display: block;
+ position: absolute;
+ top: 42px;
+ left: 0px;
+ right: 0px;
+ margin: 0px auto;
+ margin-bottom: 20px;
+}
+
+#content
+{
+ margin: 0px auto;
+ max-width: 960px;
+}
+
+section
+{
+ padding: 20px 100px;
+ margin-bottom: 30px;
+}
+
+section.highlighted
+{
+ background-image: url(/img/background-blue.png);
+ color: #FFFFFF;
+}
+
+section.highlighted a
+{
+ color: #FFFFFF;
+}
+
+section h1
+{
+ margin: 0px;
+ padding: 20px 0px;
+ text-align: center;
+}
+
+section ul
+{
+ margin: 12px 0px 16px 0px;
+ padding: 0px;
+ list-style: none;
+}
+
+section li
+{
+ margin-bottom: 12px;
+}
+
+section li label
+{
+ -webkit-margin-end: 10px;
+ -moz-margin-end: 10px;
+}
+
+section li input
+{
+ vertical-align: middle;
+ -webkit-margin-end: 10px;
+ -moz-margin-end: 10px;
+}
+
+section li textarea
+{
+ display: block;
+ margin-top: 10px;
+ padding: 5px;
+ width: 250px;
+ height: 50px;
+ vertical-align: middle;
+ font-size: 14px;
+}
+
+section .subheader
+{
+ margin-top: 0px;
+ text-align: center;
+}
+
+section .error-label
+{
+ display: none;
+ color: #ffafaf;
+ margin: 0px 12px;
+}
+
+form button
+{
+ min-width: 138px;
+ height: 42px;
+ background-color: #37506d;
+ border: 0px;
+ cursor: pointer;
+ color: #ffffff;
+}
+
+form.error button
+{
+ border: solid 2px #ffafaf;
+}
+
+form.error .error-label
+{
+ display: inline-block;
+}
+
+form input[type="checkbox"]
+{
+ margin: 0px;
+}
+
+form input[type="checkbox"] + span
Thomas Greiner 2015/11/27 19:10:14 I suppose that's a hack to avoid using `margin-end
saroyanm 2015/11/30 10:27:08 Exactly, but do not have strong opinion, if we wil
Thomas Greiner 2015/11/30 17:09:13 That's what I'd suggest, yes, to try to apply styl
saroyanm 2015/11/30 18:04:44 Just rethought about this question, while this is
Thomas Greiner 2015/12/02 16:41:04 Let's not make our lives more complicated than nec
saroyanm 2015/12/02 18:47:58 Done.
+{
+ margin: 0px 10px;
+}
+
+.disclaimer
+{
+ margin: 14px 0px;
+ font-size: 14px;
+ color: #a9bdd5;
+}
+
+.hidden
+{
+ display: none;
+}
+
+footer
+{
+ margin: 0 auto 30px;
+ max-width: 960px;
+ text-align: center;
+}

Powered by Google App Engine
This is Rietveld