mirror of
https://github.com/penpot/penpot.git
synced 2025-08-04 00:49:02 +02:00
🎉 Add terms check to register
This commit is contained in:
parent
93311b8b98
commit
6c47df20af
8 changed files with 152 additions and 83 deletions
|
@ -561,27 +561,28 @@ input.element-name {
|
|||
.input-radio,
|
||||
.input-checkbox {
|
||||
align-items: center;
|
||||
color: $color-gray-40;
|
||||
display: flex;
|
||||
margin-bottom: 10px;
|
||||
margin-top: 10px;
|
||||
padding-left: 0px;
|
||||
|
||||
label{
|
||||
align-items: center;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
margin-right: 15px;
|
||||
font-size: $fs13;
|
||||
font-size: $fs12;
|
||||
|
||||
&:before{
|
||||
content:"";
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
margin-right: 10px;
|
||||
background-color: $color-gray-50;
|
||||
border: 1px solid $color-gray-60;
|
||||
box-shadow: inset 0 0 0 0 $color-primary ;
|
||||
background-color: $color-gray-10;
|
||||
border: 1px solid $color-gray-30;
|
||||
box-shadow: inset 0 0 0 0 $color-primary;
|
||||
box-sizing: border-box;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -676,7 +677,6 @@ input[type=radio]:checked + label:before{
|
|||
|
||||
label {
|
||||
transition: border 0.2s linear 0s, color 0.2s linear 0s;
|
||||
white-space: nowrap;
|
||||
position: relative;
|
||||
|
||||
&:before {
|
||||
|
@ -687,11 +687,11 @@ input[type=radio]:checked + label:before{
|
|||
|
||||
&::after {
|
||||
display: inline-block;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
position: absolute;
|
||||
left: 3.2px;
|
||||
top: 0px;
|
||||
top: 0;
|
||||
font-size: $fs11;
|
||||
transition: border 0.2s linear 0s, color 0.2s linear 0s;
|
||||
}
|
||||
|
@ -732,7 +732,7 @@ input[type=radio]:checked + label:before{
|
|||
|
||||
&::after {
|
||||
content:"✓";
|
||||
color: #000000;
|
||||
color: #ffffff;
|
||||
font-size: $fs16;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue