mirror of
https://github.com/dzeiocom/components.git
synced 2025-06-16 04:29:20 +00:00
19
src/Fieldset/Fieldset.module.styl
Normal file
19
src/Fieldset/Fieldset.module.styl
Normal file
@ -0,0 +1,19 @@
|
||||
@import '../config.styl'
|
||||
|
||||
.fieldset
|
||||
border-radius 4px
|
||||
border 2px solid $grayDark
|
||||
transition all $transition
|
||||
margin 0
|
||||
|
||||
> legend
|
||||
font-weight 600
|
||||
transition all $transition
|
||||
padding 0 4px
|
||||
@media (prefers-color-scheme dark)
|
||||
color white
|
||||
&:hover
|
||||
border-color black
|
||||
|
||||
@media (prefers-color-scheme dark)
|
||||
border-color white
|
Reference in New Issue
Block a user