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

Unified Diff: chrome/common/extensions/docs/examples/api/extension/isAllowedAccess/sample.css

Issue 6677108: `extension.isAllowed???Access` samples (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Rebasing, regenerating documentation again. Created 9 years, 9 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/examples/api/extension/isAllowedAccess/sample.css
diff --git a/chrome/common/extensions/docs/examples/api/extension/isAllowedAccess/sample.css b/chrome/common/extensions/docs/examples/api/extension/isAllowedAccess/sample.css
new file mode 100644
index 0000000000000000000000000000000000000000..2f35d4ac5a8d892735f6fb1ac35f79bfc4114983
--- /dev/null
+++ b/chrome/common/extensions/docs/examples/api/extension/isAllowedAccess/sample.css
@@ -0,0 +1,61 @@
+body {
+ margin: 5px 10px 10px;
+}
+
+h1 {
+ color: #53637D;
+ font: 26px/1.2 Helvetica, sans-serif;
+ font-size: 200%;
+ margin: 0;
+ padding-bottom: 4px;
+ text-shadow: white 0 1px 2px;
+}
+
+body > section {
+ border-radius: 5px;
+ background: -webkit-linear-gradient(rgba(234, 238, 243, 0.2), #EAEEF3),
+ -webkit-linear-gradient(left, #EAEEF3, #EAEEF3 97%, #D3D7DB);
+ font: 14px/1 Arial,Sans Serif;
+ padding: 10px;
+ width: 563px;
+ max-height: 400px;
+ overflow-y: auto;
+ box-shadow: inset 0px 2px 5px rgba(0,0,0,0.5);
+}
+
+body > section > ol {
+ padding: 0;
+ margin: 0;
+ list-style: none inside;
+}
+
+body > section > ol > li {
+ position: relative;
+ margin: 0.5em 0 0.5em 40px;
+}
+
+code {
+ word-wrap: break-word;
+ background: rgba(255,255,0, 0.5);
+}
+ code.true {
+ background: rgba(0, 255, 0, 0.5);
+ }
+ code.false {
+ background: rgba(255, 0, 0, 0.5);
+ }
+
+li > p > span:first-child {
+ position: absolute;
+ top: 0px;
+ left: -40px;
+ width: 30px;
+ text-align: right;
+ font: 30px/1 Helvetica, sans-serif;
+ font-weight: 700;
+}
+
+p {
+ min-height: 30px;
+ line-height: 1.2;
+}

Powered by Google App Engine
This is Rietveld 408576698