mirror of https://github.com/zulip/zulip.git
css: Use SCSS nesting for `.contributors` in portico.scss.
This commit is contained in:
parent
9e4e608460
commit
3f6ce5ffb1
|
@ -828,25 +828,8 @@ a.bottom-signup-button {
|
|||
|
||||
.contributors {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Activated .contributors */
|
||||
input#total:checked ~ #tab-total,
|
||||
input#server:checked ~ #tab-server,
|
||||
input#desktop:checked ~ #tab-desktop,
|
||||
input#mobile:checked ~ #tab-mobile,
|
||||
input#python-zulip-api:checked ~ #tab-python-zulip-api,
|
||||
input#zulip-js:checked ~ #tab-zulip-js,
|
||||
input#zulipbot:checked ~ #tab-zulipbot,
|
||||
input#terminal:checked ~ #tab-terminal {
|
||||
border-top: 1px solid hsl(0, 0%, 93%);
|
||||
padding-top: 20px;
|
||||
display: grid;
|
||||
grid-gap: 5px;
|
||||
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
||||
}
|
||||
|
||||
.contributors .person {
|
||||
.person {
|
||||
box-sizing: border-box;
|
||||
padding: 10px;
|
||||
border: 1px solid hsl(0, 0%, 93%);
|
||||
|
@ -876,6 +859,23 @@ input#terminal:checked ~ #tab-terminal {
|
|||
margin-left: 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Activated .contributors */
|
||||
input#total:checked ~ #tab-total,
|
||||
input#server:checked ~ #tab-server,
|
||||
input#desktop:checked ~ #tab-desktop,
|
||||
input#mobile:checked ~ #tab-mobile,
|
||||
input#python-zulip-api:checked ~ #tab-python-zulip-api,
|
||||
input#zulip-js:checked ~ #tab-zulip-js,
|
||||
input#zulipbot:checked ~ #tab-zulipbot,
|
||||
input#terminal:checked ~ #tab-terminal {
|
||||
border-top: 1px solid hsl(0, 0%, 93%);
|
||||
padding-top: 20px;
|
||||
display: grid;
|
||||
grid-gap: 5px;
|
||||
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
||||
}
|
||||
|
||||
.avatar_img {
|
||||
width: auto;
|
||||
|
|
Loading…
Reference in New Issue