mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 17:27:19 +00:00
add prep container
This commit is contained in:
parent
e1534ff7eb
commit
a6323568dc
@ -189,5 +189,42 @@ p.note {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.prep-instructions-container {
|
||||||
|
#generic-prep, #fedora-prep, #centos-prep, .prep-instructions {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
label.menu-selector {
|
||||||
|
display: inline-block;
|
||||||
|
text-align: center;
|
||||||
|
padding: 10px;
|
||||||
|
white-space: nowrap;
|
||||||
|
border-bottom: 2px solid $grayLight;
|
||||||
|
transition: border-bottom-color .5s;
|
||||||
|
}
|
||||||
|
|
||||||
|
label.menu-selector + label.menu-selector {
|
||||||
|
margin-left: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#generic-prep:checked ~ .menu-selector.generic,
|
||||||
|
#fedora-prep:checked ~ .menu-selector.fedora,
|
||||||
|
#centos-prep:checked ~ .menu-selector.centos
|
||||||
|
{
|
||||||
|
border-bottom-color: $blue;
|
||||||
|
}
|
||||||
|
|
||||||
|
#generic-prep:checked ~ .prep-instructions.generic,
|
||||||
|
#fedora-prep:checked ~ .prep-instructions.fedora,
|
||||||
|
#centos-prep:checked ~ .prep-instructions.centos
|
||||||
|
{
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prep-instructions {
|
||||||
|
margin-top: 20px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user