IEEE.org     |     IEEE Xplore Digital Library     |     IEEE Standards     |     IEEE Spectrum     |     More Sites

Commit 10a074d2 authored by Amy Rose's avatar Amy Rose
Browse files

add checkbox styling

parent 2efcf2e6
Pipeline #851 passed with stage
in 3 minutes and 24 seconds
......@@ -24,7 +24,32 @@ omitted, since these will vary by usage and be styled accordingly elsewhere.
flex-direction: row;
input {
appearance: none;
outline: none;
box-sizing: border-box;
width: 1.5em;
height: 1.5em;
margin-right: 1em;
border: 1px solid #727578;
border-radius: 3px;
&:checked {
border: none;
background-color: var(--color-rit-orange);
&::after {
content: "";
display: block;
position: absolute;
box-sizing: border-box;
width: 0.6em;
height: 1.0em;
transform: translate(0.45em, 0.15em) rotateZ(40deg);
border: 0.25em solid white;
border-left: none;
border-top: none;
}
}
}
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment