@winner-fed/wui-theme-redness
Version:
Wui component redness theme.
68 lines (56 loc) • 1.16 kB
text/less
@import './variables';
.win-agree {
display: flex;
align-items: center;
&.disabled {
opacity: @agree-disabled-opacity;
.win-agree__icon-container .win-icon {
cursor: default;
}
}
&__icon {
display: flex;
justify-content: center;
align-items: center;
align-self: flex-start;
flex-shrink: 0;
position: relative;
color: @agree-fill;
width: 50px;
height: 50px;
&-container {
position: relative;
.win-icon {
display: flex;
width: auto;
height: auto;
font-size: 20px;
line-height: 1;
cursor: pointer;
will-change: auto;
&.win-icon-checked {
position: absolute;
top: 0;
left: 0;
color: transparent;
transition: all 0.3s ease-in-out-quint;
}
&.win-icon-check {
color: @agree-fill;
}
}
}
&.checked .win-agree__icon-container {
.win-icon-checked {
color: @agree-fill;
}
.win-icon-check {
opacity: 0.8;
}
}
}
&__content {
flex: 1 1 0%;
line-height: 1.5;
}
}