1 <script class="brush: sass;" type="syntaxhighlighter">
2 @mixin round_corners_custom($top, $right, $bottom, $left) {
3 -moz-border-radius: $top $right $bottom $left !important;
4 -webkit-border-radius: $top $right $bottom $left !important;
7 @mixin round_corners($radius) {
8 @include round_corners_custom($radius, $radius, $radius, $radius);
22 @include round_corners(0);
24 background: none !important;
26 bottom: auto !important;
27 float: none !important;
28 height: auto !important;
29 left: auto !important;
30 line-height: 1.1em !important;
32 outline: 0 !important;
33 overflow: visible !important;
34 padding: 0 !important;
35 position: static !important;
36 right: auto !important;
37 text-align: left !important;
39 vertical-align: baseline !important;
40 width: auto !important;
42 family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important;
43 weight: normal !important;
44 style: normal !important;
48 // For IE8, FF & WebKit
49 height: inherit !important;
51 height: auto !important;
57 width: 100% !important;
58 margin: 1em 0 1em 0 !important;
60 position: relative !important;
61 overflow: auto !important;
62 font-size: 1em !important;
64 &.source { overflow: hidden !important; }
66 // set up bold and italic
67 .bold { font-weight: bold !important; }
68 .italic { font-style: italic !important; }
70 .line { white-space: pre !important; }
72 // main table and columns
74 width: 100% !important;
76 text-align: left !important;
77 padding: .5em 0 0.5em 1em !important;
81 width: 100% !important;
84 position: relative !important;
87 position: absolute !important;
90 width: 100% !important;
91 height: 120% !important;
92 border: none !important;
93 background: white !important;
94 padding-left: 1em !important;
95 overflow: hidden !important;
96 white-space: pre !important;
101 // middle spacing between line numbers and lines
103 text-align: right !important;
104 padding: 0 0.5em 0 1em !important;
108 padding: 0 1em !important;
114 .container textarea, .line { padding-left: 0em !important; }
118 &.show { display: block !important; }
120 // Adjust some properties when collapsed
122 table { display: none !important; }
125 padding: 0.1em 0.8em 0em 0.8em !important;
126 font-size: 1em !important;
127 position: static !important;
128 width: auto !important;
129 height: auto !important;
132 display: inline !important;
133 margin-right: 1em !important;
136 padding: 0 !important;
137 display: none !important;
138 &.expandSource, &.help { display: inline !important; }
144 // Styles for the toolbar
146 position: absolute !important;
147 right: 1px !important;
149 width: 11px !important;
150 height: 11px !important;
151 font-size: 10px !important;
152 z-index: 10 !important;
154 span.title { display: inline !important; }
157 display: block !important;
158 text-align: center !important;
159 text-decoration: none !important;
160 padding-top: 1px !important;
162 &.expandSource { display: none !important; }
167 // Colors are based on the default theme without background.
171 .line.highlighted .number,
172 .line.highlighted.alt1 .content,
173 .line.highlighted.alt2 .content { background: none !important; }
175 // Gutter line numbers
177 .number { color: #bbbbbb !important; }
178 // Add border to the lines
179 .content { color: black !important; }
182 // Toolbar when visible
183 .toolbar { display: none !important; }
184 a { text-decoration: none !important; }
185 .plain, .plain a { color: black !important; }
186 .comments, .comments a { color: #008200 !important; }
187 .string, .string a { color: blue !important; }
189 color: #006699 !important;
190 font-weight: bold !important;
192 .preprocessor { color: gray !important; }
193 .variable { color: #aa7700 !important; }
194 .value { color: #009900 !important; }
195 .functions { color: #ff1493 !important; }
196 .constants { color: #0066cc !important; }
197 .script { font-weight: bold !important; }
198 .color1, .color1 a { color: gray !important; }
199 .color2, .color2 a { color: #ff1493 !important; }
200 .color3, .color3 a { color: red !important; }
201 .break, .break a { color: black !important; }