icon.scss 1.41 KB
Newer Older
mntmn's avatar
mntmn committed
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
@import "vars";
@import "mixins";

.number,
.letter {
  height: 60px;
  width: 60px;
  display: inline-block;

  font-family: $main-font;
  font-size: 30px; 
  font-size: 25px; 
  line-height: 60px;
  text-align: center;
  font-style: normal;
  font-weight: bold;
  letter-spacing: -0.04em;

  vertical-align: middle;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  @include transition(all 0s 0s ease-in-out);
  white-space: nowrap;
  span {font-weight: normal; opacity: 0.5;}
  &.number-md {
    font-size: 16px; 
    height: 44px;
    width: 44px;
    line-height: 43px;
  }
}

.btn-md .letter {
  font-size: 16px; 
  height: 44px;
  width: 44px;
  line-height: 43px;
}


.icon {
  position: relative;
  @include icon;
}


.icon-soft {
  opacity: 0.5;
}

.icon-xxs {
  @include icon-xxs;
}

.icon-xs {
  @include icon-xs;
}

.icon-sm {
  @include icon-sm;
}

.icon-md {
  @include icon-md;
}

.icon-xl {
  @include icon-xl;
}

.icon-xxl {
  @include icon-xxl;
}

.rot45 > .icon {
  transform: rotateZ(45deg);
  transition: all 0.1s 0s ease-in-out !important;
}

.rot45 > .icon::before {
  transition: all 0.1s 0s ease-in-out !important;
}

.rot45:hover > .icon {
  transform: rotateZ(45deg) translateX(-8px);
}

88
89
90
91
92
93
94
.icon-svg {
    background-size: 26px;
    background-position: center;
    background-repeat: no-repeat;
}

.icon-sd6 {
Wolfgang Knopki's avatar
Wolfgang Knopki committed
95
    background-image: url("<%= config.endpoint %>/images/sd6-icon-white.svg");
96
}