LT-253: Creating radio group component
This commit is contained in:
1 parent
cb875b1913
commit
9d31b49997
19 files changed
+180
-88
No files matched your search
@@ -0,0 +1,36 @@
|
||||
@import "{design}/app"
|
||||
|
||||
.group-radio
|
||||
label
|
||||
cursor: pointer
|
||||
input
|
||||
height: 0
|
||||
width: 0
|
||||
span
|
||||
padding-left: 23px
|
||||
position: relative
|
||||
&:before
|
||||
background: white
|
||||
border-radius: 8px
|
||||
content: ''
|
||||
display: block
|
||||
height: 16px
|
||||
left: 0
|
||||
position: absolute
|
||||
top: 50%
|
||||
transform(translateY(-50%))
|
||||
width: 16px
|
||||
input:focus + span:before
|
||||
// TODO: [design] define a outline for the design
|
||||
outline: none
|
||||
box-shadow: 0 0 2px 2px $textSecondaryColor
|
||||
input:checked + span:after
|
||||
background: $uiBorderColorDark
|
||||
border-radius: 5px
|
||||
content: ''
|
||||
height: 10px
|
||||
left: 3px
|
||||
position: absolute
|
||||
top: 50%
|
||||
transform(translateY(-50%))
|
||||
width: 10px
|
||||
Reference in new issue
Block a user