Blame view

frontend/web/css/_radio-check.scss 2.5 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
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
  
  .sidebar_checks, .radio_custom {
    width: 100%;
    float: left;
    $LabelWidth: 16;
    $LabelHeight: 16;
    margin-top: 6px;
    label {
      margin-top: 0;
      font-weight: normal;
      font-size: 13px;
  
    }
    input {
      display: none;
  
      + label {
        font-size: 13px;
        color: $link-color;
        position: relative;
        padding-left: 25px;
        cursor: pointer;
        &:before {
          position: absolute;
          content: '';
          width: $LabelWidth + px;
          height: $LabelHeight + px;
          top: 2px;
          left: 0;
          background: #fff;
          border: 1px solid $colorCheckBorder;
          border-bottom: 0 !important;
          border-right:0 !important;
          cursor: pointer;
        }
        a {
          text-decoration: none !important;
          padding-left: 0;
          float: none;
          &:before {
            display: none;
          }
        }
        p {
          color: $color2;
          display: inline-block;
          &.disabled {
            @include Opacity(0.5);
          }
        }
      }
  
      &:checked {
  
        + label {
  
          &:before {
            background: $link-color;
            border: 1px solid $link-color;
            font-family: 'icomoon' !important;
            speak: none;
            font-style: normal;
            font-weight: normal;
            font-variant: normal;
            text-transform: none;
            line-height: 1;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            content: "\e9015";
            color: #fff;
            font-size: 10px;
            text-align: center;
            line-height: $LabelHeight + px;
          }
        }
      }
    }
  
    a {
      font-size: 13px;
      color: #0f6fc7;
      position: relative;
      padding-left: 25px;
      cursor: pointer;
      text-decoration: none !important;
      float: left;
      &:before {
        position: absolute;
        content: '';
        width: 16px;
        height: 16px;
        top: 1px;
        left: 0;
        background: #fff;
        border: 1px solid #dddddd;
        border-bottom: 0 !important;
        border-right: 0 !important;
        cursor: pointer;
      }
      p {
        color: $color2;
        display: inline-block;
        &.disabled {
          @include Opacity(0.5);
        }
      }
    }
  }
  .checked {
      a {
        &:before {
          background: #0f6fc7;
          border: 1px solid #0f6fc7;
          @include svgIcon;
          content: "\e9015";
          color: #fff;
          font-size: 10px;
          text-align: center;
          line-height: 16px;
        }
      }
  }
  @media (max-width: 992px) {
  
  }
  
  @media (max-width: 767px) {
  
  }