Blame view

babylon-vue-4.0.0/src/assets/sass/layout/_mixins.scss 1.63 KB
0f94839d   함상기   babylon client fo...
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
  @mixin clearfix {
      &:after {
          content: "";
          display: table;
          clear: both;
      }
  }
  
  @mixin opacity($opacity) {
      opacity: $opacity;
      $opacity-ie: $opacity * 100;
      filter: alpha(opacity=$opacity-ie);
  }
  
  @mixin border-radius-bottom($val) {
      border-bottom-left-radius: $val;
      border-bottom-right-radius: $val;
  }
  
  @mixin border-radius-right($val) {
      border-top-right-radius: $val;
      border-bottom-right-radius: $val;
  }
  
  @mixin border-radius-left($val) {
      border-top-left-radius: $val;
      border-bottom-left-radius: $val;
  }
  
  @mixin transition($transition...) {
      -moz-transition:    $transition;
      -o-transition:      $transition;
      -webkit-transition: $transition;
      transition:         $transition;
  }
  
  @mixin border-radius($val) {
      -moz-border-radius: $val;
      -webkit-border-radius: $val;
      border-radius: $val;
  }
  
  @mixin border-radius-top($val) {
      -moz-border-radius-topleft: $val;
      -webkit-border-top-left-radius: $val;
      border-top-left-radius: $val;
      -moz-border-radius-topright: $val;
      -webkit-border-top-right-radius: $val;
      border-top-right-radius: $val;
  }
  
  @mixin shadow($value) {
      -webkit-box-shadow: $value;
      -moz-box-shadow: $value;
      box-shadow: $value;
  }
  
  @mixin flex() {
      display: -ms-flexbox;
      display: flex;
  }
  
  @mixin flex-justify-between() {
      -ms-flex-pack: justify;
      justify-content: space-between;
  }
  
  @mixin flex-align-center() {
      -ms-flex-align: center;
      align-items: center;
  }
  
  @mixin flex-wrap($value) {
      -ms-flex-wrap: $value;
      flex-wrap: $value;
  }
  
  @mixin flex-justify-center() {
      -ms-flex-pack: center;
      justify-content: center; 
  }