File: script.sass

package info (click to toggle)
ruby-sass 3.7.4-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,396 kB
  • sloc: ruby: 32,443; sh: 26; makefile: 25
file content (101 lines) | stat: -rw-r--r-- 1,622 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
$width: 10em + 20
$color: #00ff98
$main_text: #ffa
$num: 10
$dec: 10.2
$dec_0: 99.0
$neg: -10
$esc: 10\+12
$str: Hello\!
$qstr: "Quo\"ted\"!"
$hstr: Hyph-en\!
$space: #{5 + 4} hi there
$percent: 11%
$complex: 1px/1em

#main
  content: $str
  qstr: $qstr
  hstr: $hstr
  width: $width
  background-color: #000
  color: $main_text
  short-color: #123
  named-color: olive
  con: "foo" bar ($space "boom")
  con2: "noquo" quo
  #sidebar
    background-color: $color
    num:
      normal: $num
      dec: $dec
      dec0: $dec_0
      neg: $neg
    esc: $esc
    many: 1 + 2 + 3
    order: 1 + 2 * 3
    complex: ((1 + 2) + 15)+#3a8b9f + (hi+(1 +1+ 2)*   4)

#plus
  num:
    num: 5+2
    num-un: 10em + 15em
    num-un2: 10 + 13em
    num-neg: 10 + -.13
    str: 100 * 1px
    col: 13 + #aaa
    perc: $percent + 20%
  str:
    str: "hi" + "\ there"
    str2: "hi" + " there"
    col: "14em solid " + #123
    num: "times: " + 13
  col:
    num: #f02 + 123.5
    col: #12A + #405162

#minus
  num:
    num: 912 - 12
  col:
    num: #fffffa - 5.2
    col: #abcdef - #fedcba
  unary:
    num: -1
    const: -$neg
    paren: -(5 + 6)
    two: --12
    many: --------12
    crazy: -----(5 + ---$neg)

#times
  num:
    num: 2 * 3.5
    col: 2 * #3a4b5c
  col:
    num: #12468a * 0.5
    col: #121212 * #020304
    
#div
  num:
    num: (10 / 3.0)
    num2: (10 / 3)
  col:
    num: #12468a / 2
    col: #abcdef / #0f0f0f
  comp:  $complex * 1em

#mod
  num:
    num: 17 % 3
  col:
    col: #5f6e7d % #10200a
    num: #aaabac % 3

#const
  escaped:
    quote: \$foo \!bar
  default: $str !important

#regression
  a: (3 + 2) - 1