PluginProbe ʕ •ᴥ•ʔ
SiteOrigin CSS / 1.5.4
SiteOrigin CSS v1.5.4
1.2.1 1.2.10 1.2.11 1.2.12 1.2.13 1.2.14 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3.0 1.3.1 1.3.2 1.4.0 1.4.1 1.4.2 1.4.3 1.5.0 1.5.1 1.5.10 1.5.11 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 1.5.7 1.5.8 1.5.9 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 1.6.6 trunk 1.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.1 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.2.0
so-css / lib / codemirror / mode / css / gss.html
so-css / lib / codemirror / mode / css Last commit date
css.js 9 years ago css.min.js 6 years ago gss.html 10 years ago gss_test.js 10 years ago gss_test.min.js 8 years ago index.html 9 years ago less.html 11 years ago less_test.js 9 years ago less_test.min.js 6 years ago scss.html 11 years ago scss_test.js 9 years ago scss_test.min.js 6 years ago test.js 10 years ago test.min.js 6 years ago
gss.html
104 lines
1 <!doctype html>
2
3 <title>CodeMirror: Closure Stylesheets (GSS) mode</title>
4 <meta charset="utf-8"/>
5 <link rel=stylesheet href="../../doc/docs.css">
6
7 <link rel="stylesheet" href="../../lib/codemirror.css">
8 <link rel="stylesheet" href="../../addon/hint/show-hint.css">
9 <script src="../../lib/codemirror.js"></script>
10 <script src="css.js"></script>
11 <script src="../../addon/hint/show-hint.js"></script>
12 <script src="../../addon/hint/css-hint.js"></script>
13 <style>.CodeMirror {background: #f8f8f8;}</style>
14 <div id=nav>
15 <a href="http://codemirror.net"><h1>CodeMirror</h1><img id=logo src="../../doc/logo.png"></a>
16
17 <ul>
18 <li><a href="../../index.html">Home</a>
19 <li><a href="../../doc/manual.html">Manual</a>
20 <li><a href="https://github.com/codemirror/codemirror">Code</a>
21 </ul>
22 <ul>
23 <li><a href="../index.html">Language modes</a>
24 <li><a class=active href="#">Closure Stylesheets (GSS)</a>
25 </ul>
26 </div>
27
28 <article>
29 <h2>Closure Stylesheets (GSS) mode</h2>
30 <form><textarea id="code" name="code">
31 /* Some example Closure Stylesheets */
32
33 @provide 'some.styles';
34
35 @require 'other.styles';
36
37 @component {
38
39 @def FONT_FAMILY "Times New Roman", Georgia, Serif;
40 @def FONT_SIZE_NORMAL 15px;
41 @def FONT_NORMAL normal FONT_SIZE_NORMAL FONT_FAMILY;
42
43 @def BG_COLOR rgb(235, 239, 249);
44
45 @def DIALOG_BORDER_COLOR rgb(107, 144, 218);
46 @def DIALOG_BG_COLOR BG_COLOR;
47
48 @def LEFT_HAND_NAV_WIDTH 180px;
49 @def LEFT_HAND_NAV_PADDING 3px;
50
51 @defmixin size(WIDTH, HEIGHT) {
52 width: WIDTH;
53 height: HEIGHT;
54 }
55
56 body {
57 background-color: BG_COLOR;
58 margin: 0;
59 padding: 3em 6em;
60 font: FONT_NORMAL;
61 color: #000;
62 }
63
64 #navigation a {
65 font-weight: bold;
66 text-decoration: none !important;
67 }
68
69 .dialog {
70 background-color: DIALOG_BG_COLOR;
71 border: 1px solid DIALOG_BORDER_COLOR;
72 }
73
74 .content {
75 position: absolute;
76 margin-left: add(LEFT_HAND_NAV_PADDING, /* padding left */
77 LEFT_HAND_NAV_WIDTH,
78 LEFT_HAND_NAV_PADDING); /* padding right */
79
80 }
81
82 .logo {
83 @mixin size(150px, 55px);
84 background-image: url('http://www.google.com/images/logo_sm.gif');
85 }
86
87 }
88 </textarea></form>
89 <script>
90 var editor = CodeMirror.fromTextArea(document.getElementById("code"), {
91 extraKeys: {"Ctrl-Space": "autocomplete"},
92 lineNumbers: true,
93 matchBrackets: "text/x-less",
94 mode: "text/x-gss"
95 });
96 </script>
97
98 <p>A mode for <a href="https://github.com/google/closure-stylesheets">Closure Stylesheets</a> (GSS).</p>
99 <p><strong>MIME type defined:</strong> <code>text/x-gss</code>.</p>
100
101 <p><strong>Parsing/Highlighting Tests:</strong> <a href="../../test/index.html#gss_*">normal</a>, <a href="../../test/index.html#verbose,gss_*">verbose</a>.</p>
102
103 </article>
104