Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3600)

Unified Diff: chrome/common/extensions/docs/css/samples.css

Issue 2957009: Change the existing extension samples page to an automatically-generated searchable directory. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Make changes suggested by Antony Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/docs/css/samples.css
diff --git a/chrome/common/extensions/docs/css/samples.css b/chrome/common/extensions/docs/css/samples.css
new file mode 100644
index 0000000000000000000000000000000000000000..c4ab486fd28dc58c583a17b01087c72f3eee1ca1
--- /dev/null
+++ b/chrome/common/extensions/docs/css/samples.css
@@ -0,0 +1,99 @@
+a img {
+ border:0;
+}
+h2.name {
+ margin: 0 !important;
+ padding: 0 !important;
+ background: #fff !important;
+ border: 0 !important;
+ font-size: 17px;
+}
+h2.name a {
+ text-decoration: none;
+ color: #000 !important;
+}
+h2.name a:hover {
+ text-decoration: underline;
+}
+code a {
+ color: #007000 !important;
+ text-decoration: none;
+}
+code a:hover {
+ text-decoration: underline;
+}
+.apicalls {
+ margin: 10px 0 0 0;
+}
+.apicalls li {
+ margin: 0 0 0 20px;
+ padding: 0;
+}
+.apicalls ul {
+ margin: 5px 0 0 10px;
+ padding: 0;
+}
+.sourcefiles code a {
+ color: #0000cc !important;
+}
+.apicalls, .sourcefiles {
+ margin: 5px 0;
+ padding: 0;
+}
+p {
+ margin: 10px 0;
+}
+.features {
+ font-size: 11px;
+ margin: 0 0 10px 0;
+ padding: 0;
+}
+.sample {
+ padding: 20px 0 15px 74px;
+ margin: 0;
+ border-bottom: 1px solid #ddd;
+ min-height: 74px;
+ position: relative;
+}
+.selected {
+ color: #000 !important;
+ text-decoration: none !important;
+ cursor: text !important;
+ font-weight: bold !important;
+}
+img.icon {
+ position: absolute;
+ width: 64px;
+ height: 64px;
+ left: 0;
+ top: 10px;
+}
+#controls {
+ margin: 10px 0;
+ background: #eee;
+ padding: 10px;
+ -webkit-border-radius: 10px;
+ -moz-border-radius: 10px;
+ border-radius: 10px;
+}
+.controlbox {
+ padding-left: 12em;
+ position: relative;
+}
+.controlbox strong {
+ position: absolute;
+ left: -10px;
+ top: 2px;
+ text-align: right;
+ width: 12em;
+}
+.controlbox input {
+ width: 30em;
+ margin-bottom: 4px;
+}
+#noresults {
+ text-align: center;
+ padding: 50px 0;
+ font-size: 17px;
+ font-weight: bold;
+}

Powered by Google App Engine
This is Rietveld 408576698