Blame view

node_modules/less/test/less-bom/comments.less 1.75 KB
ce4c83ff   wxy   初始提交
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
102
  /******************\
  *                  *
  *  Comment Header  *
  *                  *
  \******************/
  
  /*
  
      Comment
  
  */
  
  /*
   * Comment Test
   *
   * - cloudhead (http://cloudhead.net)
   *
   */
  
  ////////////////
  @var: "content";
  ////////////////
  
  /* Colors
   * ------
   *   #EDF8FC (background blue)
   *   #166C89 (darkest blue)
   *
   * Text:
   *   #333 (standard text) // A comment within a comment!
   *   #1F9EC9 (standard link)
   *
   */
  
  /* @group Variables
  ------------------- */
  #comments /* boo *//* boo again*/,
  //.commented_out1
  //.commented_out2
  //.commented_out3
  .comments //end of comments1
  //end of comments2
  {
    /**/ // An empty comment
    color: red; /* A C-style comment */  /* A C-style comment */
    background-color: orange; // A little comment
    font-size: 12px;
  
    /* lost comment */ content: @var;
  
    border: 1px solid black;
  
    // padding & margin //
    padding: 0; // }{ '"
    margin: 2em;
  } //
  
  /* commented out
    #more-comments {
      color: grey;
    }
  */
  
  .selector /* .with */, .lots, /* of */ .comments {
    color/* survive */ /* me too */: grey, /* blue */ orange;
    -webkit-border-radius: 2px /* webkit only */;
    -moz-border-radius: (2px * 4) /* moz only with operation */;
  }
  
  .mixin_def_with_colors(@a: white, // in
         @b: 1px //put in @b - causes problems! --->
         ) // the
         when (@a = white) {
      .test {
          color: @b;
      }
  }
  .mixin_def_with_colors();
  
  // .s when
  //R/2
  
  .sr-only-focusable {
    clip: auto;
  }
  
  @-webkit-keyframes /* Safari */ hover /* and Chrome */ {
    0% {
      color: red;
    }
  }
  
  #last { color: blue }
  //
  
  /*  *//* { *//*  *//*  *//*  */#div { color:#A33; }/* } */
  
  // line immediately followed
  /*by block */
  @string_w_comment: ~"/* // Not commented out // */";
  #output-block { comment: @string_w_comment; }
  /*comment on last line*/