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

Unified Diff: anwiki/_override-static/global/global/css/index.css

Issue 10295007: Added "learn more" toggle and area for platform-specific content (Closed)
Patch Set: Hide "learn more" button if JavaScript disabled Created April 23, 2013, 9:15 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 | « no previous file | anwiki/_override-static/global/global/css/index-desktop.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: anwiki/_override-static/global/global/css/index.css
===================================================================
--- a/anwiki/_override-static/global/global/css/index.css
+++ b/anwiki/_override-static/global/global/css/index.css
@@ -21,7 +21,7 @@
box-shadow: 1px 1px 0 0 #dbdbdb;
}
-#summary h1, h2
+#summary h1, #summary h2
{
font-weight: normal;
margin: 0;
@@ -353,3 +353,91 @@
{
font-size: 14px;
}
+
+#more-container
+{
+ position: relative;
+ margin-top: 40px;
+}
+
+#more, #less
+{
+ padding: 10px 0px;
+ border: 0px;
+ background-color: #dbd4c7;
+}
+
+#sidebar
+{
+ display: inline-block;
+}
+
+#more-tabs #sidebar button
+{
+ margin: 5px;
+ padding: 4px 7px;
+ font-size: 18px;
+ border: 0px;
+ border-radius: 4px;
+ background-color: #eee8df;
+}
+
+.more-tab
+{
+ vertical-align: top;
+}
+
+#content .more-tab h2
+{
+ margin: 10px 0px;
+ font-size: 30px;
+ font-weight: normal;
+}
+
+.more-tab li
+{
+ margin-bottom: 10px;
+}
+
+.more-tab blockquote
+{
+ margin: 0px;
+ font-style: italic;
+}
+
+#more, .more-tab
+{
+ display: none;
+}
+
+#less, #more-tabs
+{
+ display: inline-block;
+}
+
+#more-container.hidden #more
+{
+ display: inline-block;
+}
+
+#more-container.hidden #less,
+#more-container.hidden #more-tabs
+{
+ display: none;
+}
+
+#more-container.firefox #tab-firefox,
+#more-container.chrome #tab-chrome,
+#more-container.opera #tab-opera,
+#more-container.android #tab-android
+{
+ display: inline-block;
+}
+
+#more-container.firefox #more-firefox,
+#more-container.chrome #more-chrome,
+#more-container.opera #more-opera,
+#more-container.android #more-android
+{
+ background-color: #dbd4c7;
+}
« no previous file with comments | « no previous file | anwiki/_override-static/global/global/css/index-desktop.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld