2021-11-08 10:16:18 +01:00
|
|
|
label{
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
margin-right: 13px;
|
|
|
|
font-size: 16px;
|
2021-11-10 14:29:49 +01:00
|
|
|
|
|
|
|
&[disabled] {
|
|
|
|
color: $very-dark-gray;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
2021-11-08 10:16:18 +01:00
|
|
|
}
|
|
|
|
|
2021-11-05 16:43:46 +01:00
|
|
|
input {
|
|
|
|
|
2021-11-08 10:16:18 +01:00
|
|
|
&[type="text"] {
|
2021-11-09 14:26:47 +01:00
|
|
|
border: 1px solid $dark-gray;
|
2021-11-05 16:43:46 +01:00
|
|
|
box-sizing: border-box;
|
|
|
|
border-radius: 2px;
|
|
|
|
width: 245px;
|
2021-11-09 14:26:47 +01:00
|
|
|
margin-top: 4px;
|
|
|
|
|
|
|
|
font-family: $font_family;
|
2021-11-05 16:43:46 +01:00
|
|
|
|
|
|
|
&.large {
|
|
|
|
height: 40px;
|
2021-11-09 14:26:47 +01:00
|
|
|
font-size: 16px;
|
|
|
|
padding: 9px 7px;
|
2021-11-05 16:43:46 +01:00
|
|
|
}
|
|
|
|
&.medium {
|
|
|
|
height: 32px;
|
2021-11-09 14:26:47 +01:00
|
|
|
font-size: 14px;
|
|
|
|
padding: 6px 7px;
|
2021-11-05 16:43:46 +01:00
|
|
|
}
|
|
|
|
&.small {
|
|
|
|
height: 26px;
|
2021-11-09 14:26:47 +01:00
|
|
|
font-size: 14px;
|
|
|
|
padding: 3px 7px;
|
2021-11-05 16:43:46 +01:00
|
|
|
}
|
2021-11-08 12:26:21 +01:00
|
|
|
|
|
|
|
&:focus {
|
|
|
|
outline-style: none;
|
|
|
|
box-shadow: none;
|
|
|
|
border-color: transparent;
|
2021-11-09 14:26:47 +01:00
|
|
|
border-color: $blue;
|
2021-11-08 12:26:21 +01:00
|
|
|
}
|
2021-11-08 10:16:18 +01:00
|
|
|
}
|
2021-11-05 16:43:46 +01:00
|
|
|
|
2021-11-08 10:16:18 +01:00
|
|
|
|
|
|
|
// Radio button and checkbox
|
|
|
|
&[type=radio],
|
|
|
|
&[type=checkbox]{
|
|
|
|
border: 0;
|
|
|
|
clip: rect(0 0 0 0);
|
|
|
|
height: 1px;
|
|
|
|
margin: -1px;
|
|
|
|
overflow: hidden;
|
|
|
|
padding: 0;
|
|
|
|
position: absolute;
|
|
|
|
width: 1px;
|
2021-11-05 16:43:46 +01:00
|
|
|
}
|
2021-11-08 10:16:18 +01:00
|
|
|
&[type=radio] + label:before,
|
|
|
|
&[type=checkbox] + label:before {
|
|
|
|
cursor: pointer;
|
|
|
|
font-family: $fontawesome;
|
2021-11-05 16:43:46 +01:00
|
|
|
|
2021-11-08 10:16:18 +01:00
|
|
|
display: inline-block;
|
|
|
|
|
|
|
|
color: $dark-gray;
|
|
|
|
letter-spacing: 8px;
|
|
|
|
font-size: 18px;
|
|
|
|
vertical-align: -1px;
|
|
|
|
}
|
|
|
|
&[type=radio]:checked + label:before,
|
|
|
|
&[type=checkbox]:checked + label:before {
|
|
|
|
color: $blue;
|
2021-11-05 16:43:46 +01:00
|
|
|
}
|
|
|
|
|
2021-11-08 10:16:18 +01:00
|
|
|
&[type=checkbox] + label:before {
|
|
|
|
content: "\f0c8";
|
|
|
|
}
|
|
|
|
&[type=checkbox]:checked + label:before {
|
|
|
|
content: "\f14a";
|
|
|
|
font-weight: bold;
|
2021-11-05 16:43:46 +01:00
|
|
|
}
|
|
|
|
|
2021-11-08 10:16:18 +01:00
|
|
|
&[type=radio] + label:before {
|
|
|
|
content: "\f111";
|
|
|
|
}
|
|
|
|
&[type=radio]:checked + label:before {
|
|
|
|
content: "\f192";
|
|
|
|
}
|
2021-11-10 13:21:41 +01:00
|
|
|
|
2021-11-10 14:29:49 +01:00
|
|
|
|
|
|
|
&[type=radio][disabled] + label:before{
|
|
|
|
color: $very-dark-gray;
|
|
|
|
}
|
|
|
|
|
|
|
|
&[type=checkbox][disabled] + label:before{
|
|
|
|
color: $very-dark-gray;
|
|
|
|
}
|
|
|
|
|
2021-11-10 13:21:41 +01:00
|
|
|
//Disabled polja
|
2021-11-10 14:29:49 +01:00
|
|
|
|
|
|
|
&[type=checkbox][disabled] + label:before {
|
|
|
|
color: $very-dark-gray;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&[type=radio][disabled] + label:before {
|
|
|
|
color: $very-dark-gray;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
2021-11-10 13:21:41 +01:00
|
|
|
&.disabled {
|
|
|
|
border-color: $dark-gray;
|
|
|
|
background-color: $gray;
|
|
|
|
color: $very-dark-gray;
|
|
|
|
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
2021-11-08 10:16:18 +01:00
|
|
|
}
|
2021-11-10 14:29:49 +01:00
|
|
|
|