This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Imports zip.sass, zip.scss, or zip.css *nontransitively* with a "zip" prefix. | |
@use "zip"; | |
// Uses the "foo" mixin from zip. | |
@include zip-foo; | |
// The prefix is now "zap". | |
@use "zip" as zap; | |
// Everything is in the global namespace. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#-s- file: /home/nweiz/src/susy/sass/susy/math/su/_maps.scss, name: nil, line: 1 | |
def _s_import__home_nweiz_src_susy_sass_susy_math_su__maps_scss_5(_s_root, _s_env) | |
_s_importer = @_s_importer_0 | |
# do nothing | |
# do nothing | |
_s_old_env_7 = _s_env | |
_s_env = Sass::Environment.new(_s_env) | |
#-s- type: function, name: _susy-truncate-list, line: 8 | |
@_s_fn__susy_truncate_list_6 = lambda do |_s_var_list_8, _s_var_length_9| |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// Sass (v3.4.7) | |
// Compass (v1.0.1) | |
// ---- | |
a | |
b: 1s + 1ms | |
c: 1deg + 1rad | |
d: 1px + 1pt | |
e: 1kHz + 1Hz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// Sass (v3.4.7) | |
// Compass (v1.0.1) | |
// ---- | |
a | |
s-to-ms: comparable(1s, 1ms) | |
s-to-px: comparable(1s, 1px) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:http/http.dart' as http; | |
import 'package:json_rpc_2/json_rpc_2' as rpc; | |
rpc.Client rpcOverHttp(Uri url) { | |
var client = new http.Client(); | |
// This is untested and is missing some edge-case and error handling, but it | |
// represents the basic idea. | |
var requests = new StreamController(); | |
var responses = new StreamController(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// Sass (v3.4.9) | |
// Compass (v1.0.1) | |
// ---- | |
.foo { | |
&:not(&--active) &__summaries:hover + &__inner { | |
color: blue; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// Sass (v3.4.11) | |
// Compass (v1.0.3) | |
// ---- | |
$defaultcolour: red; | |
@mixin theme-page($theme) { | |
$colour: $defaultcolour; | |
@if $theme == "about" { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// Sass (v3.3.14) | |
// Compass (v1.0.1) | |
// ---- | |
$defaultcolour: red; | |
@mixin theme-page($theme) { | |
@if $theme == "about" { | |
$defaultcolour: blue; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
= spans(!columns) | |
@for !column from 1 through !columns by 2 // through = .., to = ..., by = incrementor | |
+span(!column,!columns) | |
= span(!column, !columns) | |
.span-#{!column} | |
:width= 45px * !column + 15px | |
@if !column != !columns | |
:margin-right 15px | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$.password | |
:blur | |
if @value === "" | |
.hide() | |
// Eventually, indenting beneath something will set it as the context | |
.prev() | |
.show().val(@default_value) | |
.blur() | |