Blame view

frontend/web/css/_buttons.scss 1.13 KB
e97db116   Timur Kastemirov   index page
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
  .btn_ {
    display: block;
    float: left;
    height: 34px;
    line-height: 32px;
    color: #fff;
    text-align: center;
    background: $link-color;
    border: 1px solid $link-color;
    padding: 0 11px 0 11px;
    text-decoration: none;
    position:relative;
    @include Transition(0.2);
    &:hover {
      text-decoration: none;
      background: #fff;
      color: $link-color;
    }
    &:active {
      color: #fff;
      background: $link-active;
      border: 1px solid $link-active;
    }
  
  
    &.btn_buy_basket {
      padding-right: 40px;
      float: right;
      overflow: hidden;
      text-transform: uppercase;
      font-size: 11px;
      span {
        position: absolute;
        height: 100%;
        top: 0;
        right: 10px;
        width: 16px;
        @include svgIcon;
        @include Transition(0.2);
        &:before {
          @include Transition(0.2);
          font-size: 16px;
          content: "\e9002";
          color:#fff;
          line-height: 32px;
        }
      }
      &:hover {
        span {
          @include Scale(1.35);
          &:before {
            color:$link-color;
          }
        }
      }
      &:active {
        span {
          &:before {
            color:#fff;
          }
        }
      }
    }
  }