aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/ng2/components/ui/form-components/radio-buttons/radio-button.component.less
blob: b929486b10b210e511faf8bd78c2305cf4f81985 (plain)
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
@import './../../../../../../assets/styles/variables.less';
.radio-buttons-container{
  display: flex;
  &.vertical{
    flex-direction: column;
  }
  &.horizontal{
    flex-direction: row;
  }
}
.radio-button {
  margin: 0 10px 10px 0;
  display: flex;
}

input[type=radio] {
  width:0;
  height:0;
  display:none;
  &[disabled] ~ .radio-button {

  }
}

.shown-radio-button{
  border: @main_color_n solid 1px;
  height: 14px;
  width: 14px;
  border-radius: 50%;
  padding: 1px;
  margin: auto 5px;
  .selected{
    background-color: @main_color_a;
    height: 100%;
    width: 100%;
    border-radius: 50%;
  }
}
span{
  margin: auto 0;
  color: @func_color_s;
}