PluginProbe ʕ •ᴥ•ʔ
SiteOrigin CSS / 1.2.5
SiteOrigin CSS v1.2.5
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 / scss.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
scss.html
158 lines
1 <!doctype html>
2
3 <title>CodeMirror: SCSS 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 <script src="../../lib/codemirror.js"></script>
9 <script src="css.js"></script>
10 <style>.CodeMirror {background: #f8f8f8;}</style>
11 <div id=nav>
12 <a href="http://codemirror.net"><h1>CodeMirror</h1><img id=logo src="../../doc/logo.png"></a>
13
14 <ul>
15 <li><a href="../../index.html">Home</a>
16 <li><a href="../../doc/manual.html">Manual</a>
17 <li><a href="https://github.com/codemirror/codemirror">Code</a>
18 </ul>
19 <ul>
20 <li><a href="../index.html">Language modes</a>
21 <li><a class=active href="#">SCSS</a>
22 </ul>
23 </div>
24
25 <article>
26 <h2>SCSS mode</h2>
27 <form><textarea id="code" name="code">
28 /* Some example SCSS */
29
30 @import "compass/css3";
31 $variable: #333;
32
33 $blue: #3bbfce;
34 $margin: 16px;
35
36 .content-navigation {
37 #nested {
38 background-color: black;
39 }
40 border-color: $blue;
41 color:
42 darken($blue, 9%);
43 }
44
45 .border {
46 padding: $margin / 2;
47 margin: $margin / 2;
48 border-color: $blue;
49 }
50
51 @mixin table-base {
52 th {
53 text-align: center;
54 font-weight: bold;
55 }
56 td, th {padding: 2px}
57 }
58
59 table.hl {
60 margin: 2em 0;
61 td.ln {
62 text-align: right;
63 }
64 }
65
66 li {
67 font: {
68 family: serif;
69 weight: bold;
70 size: 1.2em;
71 }
72 }
73
74 @mixin left($dist) {
75 float: left;
76 margin-left: $dist;
77 }
78
79 #data {
80 @include left(10px);
81 @include table-base;
82 }
83
84 .source {
85 @include flow-into(target);
86 border: 10px solid green;
87 margin: 20px;
88 width: 200px; }
89
90 .new-container {
91 @include flow-from(target);
92 border: 10px solid red;
93 margin: 20px;
94 width: 200px; }
95
96 body {
97 margin: 0;
98 padding: 3em 6em;
99 font-family: tahoma, arial, sans-serif;
100 color: #000;
101 }
102
103 @mixin yellow() {
104 background: yellow;
105 }
106
107 .big {
108 font-size: 14px;
109 }
110
111 .nested {
112 @include border-radius(3px);
113 @extend .big;
114 p {
115 background: whitesmoke;
116 a {
117 color: red;
118 }
119 }
120 }
121
122 #navigation a {
123 font-weight: bold;
124 text-decoration: none !important;
125 }
126
127 h1 {
128 font-size: 2.5em;
129 }
130
131 h2 {
132 font-size: 1.7em;
133 }
134
135 h1:before, h2:before {
136 content: "::";
137 }
138
139 code {
140 font-family: courier, monospace;
141 font-size: 80%;
142 color: #418A8A;
143 }
144 </textarea></form>
145 <script>
146 var editor = CodeMirror.fromTextArea(document.getElementById("code"), {
147 lineNumbers: true,
148 matchBrackets: true,
149 mode: "text/x-scss"
150 });
151 </script>
152
153 <p>The SCSS mode is a sub-mode of the <a href="index.html">CSS mode</a> (defined in <code>css.js</code>).</p>
154
155 <p><strong>Parsing/Highlighting Tests:</strong> <a href="../../test/index.html#scss_*">normal</a>, <a href="../../test/index.html#verbose,scss_*">verbose</a>.</p>
156
157 </article>
158