Blame view

frontend/web/css/_buttons.scss 1.24 KB
8f340aa7   Anastasia   - main 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
  .btn_ {
    display: block;
    float: left;
    height: 42px;
    line-height: 42px;
    color: #fff !important;
    text-align: center;
    text-transform: uppercase;
    border: 1px solid $blue-color;
    background: $blue-color;
    padding: 0 11px 0 11px;
    text-decoration: none !important;
    position: relative;
    border-radius: 2px;
    width: 172px;
    max-width: 100%;
    font-weight: 700;
    @include Transition(0.2);
    &:hover {
      background: $blue-color-hover;
      border: 1px solid $blue-color-hover;
    }
    &:active {
      background: $blue-color-active;
      border: 1px solid $blue-color-active;
    }
  
    &.add-book {
      background: $green-color;
      border: 1px solid $green-color;
      span {
        position: relative;
        padding-left: 35px;
  
        &:before {
          width: 20px;
          height: 24px;
          background: url("../images/ico/icon_book_01.svg");
          background-size: 20px 24px;
          background-repeat: no-repeat;
          position: absolute;
          left: 0;
          top: 50%;
          margin-top: -12px;
          content: '';
        }
      }
      &:hover {
        background: $green-color-hover;
        border: 1px solid $green-color-hover;
      }
      &:active {
        background: $green-color-active;
        border: 1px solid $green-color-active;
      }
    }
  }